@gobolt/genesis 0.0.10 → 0.0.11

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 (415) hide show
  1. package/README.md +2 -2
  2. package/dist/AntdIcon-nCNB0J1E.js +192 -0
  3. package/dist/CheckCircleFilled-BKgizvyl.js +13 -0
  4. package/dist/{CheckOutlined-CeTKr6II.js → CheckOutlined-cEBrx_Ag.js} +2 -2
  5. package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
  6. package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
  7. package/dist/{Compact-CGY560JF.js → Compact-DBh6nSYB.js} +42 -45
  8. package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-CwuJooYf.js} +2 -2
  9. package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-5-15jS0h.js} +42 -40
  10. package/dist/{index-C8haFnXI.js → EllipsisOutlined-CJ2pgE2d.js} +153 -150
  11. package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
  12. package/dist/Keyframes-sPZXYuXt.js +17 -0
  13. package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
  14. package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
  15. package/dist/{Overflow-PBZD-PFm.js → Overflow-DdNKJLQh.js} +67 -66
  16. package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
  17. package/dist/Skeleton-B3vg9CbL.js +560 -0
  18. package/dist/{TextArea-DKwCct3i.js → TextArea-CKWbFr0u.js} +26 -18
  19. package/dist/Typography-DqI7RslA.js +705 -0
  20. package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
  21. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  22. package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
  23. package/dist/{button-CDQgO1OK.js → button-B2Rgggx2.js} +127 -116
  24. package/dist/clsx-OuTLNxxd.js +16 -0
  25. package/dist/components/Avatar/Avatar.d.ts +12 -0
  26. package/dist/components/Avatar/Avatar.js +61 -0
  27. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
  28. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  29. package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
  30. package/dist/components/Avatar/index.d.ts +2 -0
  31. package/dist/components/Avatar/index.js +4 -0
  32. package/dist/components/Avatar/styles.d.ts +18 -0
  33. package/dist/components/Avatar/styles.js +326 -0
  34. package/dist/components/Badge/Badge.d.ts +5 -3
  35. package/dist/components/Badge/Badge.js +67 -100
  36. package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
  37. package/dist/components/Badge/__tests__/Badge.test.js +9 -10
  38. package/dist/components/Badge/styles.d.ts +12 -3
  39. package/dist/components/Badge/styles.js +30 -27
  40. package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
  41. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  42. package/dist/components/Breadcrumb/styles.js +239 -2260
  43. package/dist/components/Button/Button.d.ts +4 -3
  44. package/dist/components/Button/Button.js +10 -6
  45. package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
  46. package/dist/components/Button/__tests__/Button.test.js +1 -1
  47. package/dist/components/Button/styles.d.ts +2 -2
  48. package/dist/components/Button/styles.js +20 -17
  49. package/dist/components/Card/Card.d.ts +9 -0
  50. package/dist/components/Card/Card.js +16 -0
  51. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  52. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  53. package/dist/components/Card/__tests__/Card.test.js +16 -0
  54. package/dist/components/Card/index.d.ts +2 -0
  55. package/dist/components/Card/index.js +4 -0
  56. package/dist/components/Card/styles.d.ts +16 -0
  57. package/dist/components/Card/styles.js +12 -0
  58. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  59. package/dist/components/Checkbox/Checkbox.js +28 -16
  60. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  61. package/dist/components/Checkbox/styles.js +22 -457
  62. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  63. package/dist/components/Dashboard/Dashboard.js +5 -0
  64. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
  65. package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
  66. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
  67. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  68. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
  69. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  70. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
  71. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
  72. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
  73. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  74. package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
  75. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  76. package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
  77. package/dist/components/Dashboard/index.d.ts +2 -0
  78. package/dist/components/Dashboard/index.js +4 -0
  79. package/dist/components/Dashboard/styles.d.ts +14 -0
  80. package/dist/components/Dashboard/styles.js +11 -0
  81. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
  82. package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
  83. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
  84. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  85. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
  86. package/dist/components/ErrorBoundary/index.d.ts +2 -0
  87. package/dist/components/ErrorBoundary/index.js +4 -0
  88. package/dist/components/ErrorBoundary/styles.d.ts +14 -0
  89. package/dist/components/ErrorBoundary/styles.js +11 -0
  90. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
  91. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
  92. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
  93. package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
  94. package/dist/components/Form/Form.js +3 -3
  95. package/dist/components/Form/__stories__/FormStory.js +127 -50
  96. package/dist/components/Form/__tests__/form.test.js +2 -2
  97. package/dist/components/Form/index.js +1 -1
  98. package/dist/components/Form/styles.js +1 -1
  99. package/dist/components/Glyph/Glyph.d.ts +4 -0
  100. package/dist/components/Glyph/Glyph.js +9 -0
  101. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
  102. package/dist/components/Glyph/index.d.ts +2 -0
  103. package/dist/components/Glyph/index.js +4 -0
  104. package/dist/components/Glyph/styles.d.ts +14 -0
  105. package/dist/components/Glyph/styles.js +11 -0
  106. package/dist/components/Input/Input.d.ts +1 -2
  107. package/dist/components/Input/Input.js +14 -10
  108. package/dist/components/Input/__tests__/Input.test.js +1 -1
  109. package/dist/components/Input/styles.js +58 -466
  110. package/dist/components/Layout/Content/Content.d.ts +11 -0
  111. package/dist/components/Layout/Content/Content.js +32 -0
  112. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  113. package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
  114. package/dist/components/Layout/Content/index.d.ts +2 -0
  115. package/dist/components/Layout/Content/index.js +4 -0
  116. package/dist/components/Layout/Content/styles.d.ts +11 -0
  117. package/dist/components/Layout/Content/styles.js +16 -0
  118. package/dist/components/Layout/Layout.d.ts +8 -0
  119. package/dist/components/Layout/Layout.js +6 -0
  120. package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
  121. package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
  122. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
  123. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  124. package/dist/components/Layout/MainLayout/index.js +4 -0
  125. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  126. package/dist/components/Layout/MainLayout/styles.js +69 -0
  127. package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
  128. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  129. package/dist/components/Layout/__tests__/Layout.test.js +14 -0
  130. package/dist/components/Layout/index.d.ts +2 -0
  131. package/dist/components/Layout/index.js +4 -0
  132. package/dist/components/Message/Message.d.ts +6 -4
  133. package/dist/components/Message/Message.js +70 -43
  134. package/dist/components/Message/__tests__/Message.test.js +1 -1
  135. package/dist/components/Message/styles.d.ts +1 -0
  136. package/dist/components/Message/styles.js +15 -11
  137. package/dist/components/Notification/Notification.js +145 -120
  138. package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
  139. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
  140. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
  141. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  142. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
  143. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  144. package/dist/components/Notification/NotificationBadge/index.js +4 -0
  145. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
  146. package/dist/components/Notification/NotificationBadge/styles.js +34 -0
  147. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  148. package/dist/components/Notification/styles.d.ts +1 -1
  149. package/dist/components/Notification/styles.js +1 -1
  150. package/dist/components/Popover/Popover.d.ts +10 -0
  151. package/dist/components/Popover/Popover.js +21 -0
  152. package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
  153. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  154. package/dist/components/Popover/__tests__/Popover.test.js +40 -0
  155. package/dist/components/Popover/index.d.ts +2 -0
  156. package/dist/components/Popover/index.js +4 -0
  157. package/dist/components/Popover/styles.d.ts +15 -0
  158. package/dist/components/Popover/styles.js +6 -0
  159. package/dist/components/Progress/Progress.d.ts +18 -0
  160. package/dist/components/Progress/Progress.js +91 -0
  161. package/dist/components/Progress/Progress.util.d.ts +4 -0
  162. package/dist/components/Progress/Progress.util.js +62 -0
  163. package/dist/components/Progress/ProgressText.d.ts +11 -0
  164. package/dist/components/Progress/ProgressText.js +67 -0
  165. package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
  166. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  167. package/dist/components/Progress/__tests__/Progress.test.js +21 -0
  168. package/dist/components/Progress/index.d.ts +2 -0
  169. package/dist/components/Progress/index.js +4 -0
  170. package/dist/components/Progress/styles.d.ts +17 -0
  171. package/dist/components/Progress/styles.js +793 -0
  172. package/dist/components/Radio/Radio.js +22 -6
  173. package/dist/components/Radio/RadioGroup.js +1 -1
  174. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  175. package/dist/components/Radio/index.d.ts +1 -0
  176. package/dist/components/Row/Row.d.ts +14 -0
  177. package/dist/components/Row/Row.js +38 -0
  178. package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
  179. package/dist/components/Row/RowActions/RowActions.js +59 -0
  180. package/dist/components/Row/RowActions/styles.d.ts +2 -0
  181. package/dist/components/Row/RowActions/styles.js +32 -0
  182. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
  183. package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
  184. package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
  185. package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
  186. package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
  187. package/dist/components/Row/RowLabelValue/styles.js +25 -0
  188. package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
  189. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  190. package/dist/components/Row/__tests__/Row.test.js +16 -0
  191. package/dist/components/Row/index.d.ts +2 -0
  192. package/dist/components/Row/index.js +4 -0
  193. package/dist/components/Row/styles.d.ts +15 -0
  194. package/dist/components/Row/styles.js +15 -0
  195. package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
  196. package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
  197. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
  198. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  199. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
  200. package/dist/components/SegmentedControls/index.d.ts +2 -0
  201. package/dist/components/SegmentedControls/index.js +4 -0
  202. package/dist/components/SegmentedControls/styles.d.ts +12 -0
  203. package/dist/components/SegmentedControls/styles.js +511 -0
  204. package/dist/components/Select/Select.d.ts +2 -4
  205. package/dist/components/Select/Select.js +12 -11
  206. package/dist/components/Select/__tests__/Select.test.js +1 -1
  207. package/dist/components/Select/styles.js +39 -3654
  208. package/dist/components/Shapes/Shapes.d.ts +6 -0
  209. package/dist/components/Shapes/Shapes.js +8 -0
  210. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
  211. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  212. package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
  213. package/dist/components/Shapes/index.d.ts +2 -0
  214. package/dist/components/Shapes/index.js +4 -0
  215. package/dist/components/Shapes/variants/Circle.d.ts +5 -0
  216. package/dist/components/Shapes/variants/Circle.js +23 -0
  217. package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
  218. package/dist/components/Shapes/variants/Rectangle.js +23 -0
  219. package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
  220. package/dist/components/Shapes/variants/Triangle.js +23 -0
  221. package/dist/components/Switch/Switch.d.ts +9 -0
  222. package/dist/components/Switch/Switch.js +22 -0
  223. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  224. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  225. package/dist/components/Switch/__tests__/Switch.test.js +25 -0
  226. package/dist/components/Switch/index.d.ts +2 -0
  227. package/dist/components/Switch/index.js +4 -0
  228. package/dist/components/Switch/styles.d.ts +9 -0
  229. package/dist/components/Switch/styles.js +456 -0
  230. package/dist/components/Table/Table.d.ts +15 -0
  231. package/dist/components/Table/Table.js +23 -0
  232. package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
  233. package/dist/components/Table/__mocks__/table-mocks.js +321 -0
  234. package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
  235. package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
  236. package/dist/components/Table/__tests__/Table.test.js +34 -0
  237. package/dist/components/Table/index.d.ts +2 -0
  238. package/dist/components/Table/index.js +4 -0
  239. package/dist/components/Table/styles.d.ts +8 -0
  240. package/dist/components/Table/styles.js +6 -0
  241. package/dist/components/Tabs/Tabs.d.ts +10 -0
  242. package/dist/components/Tabs/Tabs.js +23 -0
  243. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
  244. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  245. package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
  246. package/dist/components/Tabs/index.d.ts +2 -0
  247. package/dist/components/Tabs/index.js +4 -0
  248. package/dist/components/Tabs/styles.d.ts +12 -0
  249. package/dist/components/Tabs/styles.js +102 -0
  250. package/dist/components/Tile/Tile.d.ts +10 -0
  251. package/dist/components/Tile/Tile.js +21 -0
  252. package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
  253. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  254. package/dist/components/Tile/__tests__/Tile.test.js +21 -0
  255. package/dist/components/Tile/index.d.ts +2 -0
  256. package/dist/components/Tile/index.js +4 -0
  257. package/dist/components/Tile/styles.d.ts +11 -0
  258. package/dist/components/Tile/styles.js +12 -0
  259. package/dist/components/Toast/Toast.js +23 -6
  260. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  261. package/dist/components/Toast/index.js +1 -1
  262. package/dist/components/Toast/styles.d.ts +0 -1
  263. package/dist/components/Toast/styles.js +14 -23
  264. package/dist/components/Tooltip/Tooltip.d.ts +7 -0
  265. package/dist/components/Tooltip/Tooltip.js +50 -0
  266. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
  267. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  268. package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
  269. package/dist/components/Tooltip/index.d.ts +2 -0
  270. package/dist/components/Tooltip/index.js +4 -0
  271. package/dist/components/Tooltip/styles.d.ts +20 -0
  272. package/dist/components/Tooltip/styles.js +11 -0
  273. package/dist/components/Typography/Typography.d.ts +5 -1
  274. package/dist/components/Typography/Typography.js +2 -2
  275. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  276. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  277. package/dist/components/Typography/index.js +1 -1
  278. package/dist/components/Typography/styles.d.ts +1 -0
  279. package/dist/components/Typography/styles.js +53 -17
  280. package/dist/components/index.d.ts +31 -1
  281. package/dist/components/index.js +54 -24
  282. package/dist/constants/index.d.ts +4 -0
  283. package/dist/constants/index.js +4 -2
  284. package/dist/{context-BMW3aJEf.js → context-Cx7GtZpz.js} +281 -284
  285. package/dist/dropdown-zGGFIyJ_.js +2044 -0
  286. package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
  287. package/dist/genesis/GenesisThemeBreakdown.js +38 -22
  288. package/dist/genesis/styles.js +7 -2923
  289. package/dist/iconBase-LROS5hdG.js +112 -0
  290. package/dist/index-BRUI9igj.js +11 -0
  291. package/dist/index-BTGF--50.js +1845 -0
  292. package/dist/index-BW_7pvTr.js +538 -0
  293. package/dist/{index-oK7z6jnz.js → index-ByspLxrB.js} +8640 -8798
  294. package/dist/{index-bKlRxQp4.js → index-CRotrkWm.js} +7 -7
  295. package/dist/{index-C0SmxWLS.js → index-CSPlXIlA.js} +136 -143
  296. package/dist/index-CdiHBmVe.js +445 -0
  297. package/dist/index-CodMmNWv.js +102 -0
  298. package/dist/{index-DPW8XdWj.js → index-CqqwGTME.js} +34 -30
  299. package/dist/index-D0P16DlX.js +286 -0
  300. package/dist/index-DLdU7Tpd.js +183 -0
  301. package/dist/index-DWUXwgXK.js +809 -0
  302. package/dist/index-DmZOkMjs.js +3628 -0
  303. package/dist/{index-1CBpubM3.js → index-Dyl-ddV6.js} +47 -44
  304. package/dist/index-hoPiccJv.js +415 -0
  305. package/dist/index.js +61 -31
  306. package/dist/interface/address.d.ts +10 -0
  307. package/dist/interface/address.js +1 -0
  308. package/dist/interface/appointment.d.ts +57 -0
  309. package/dist/interface/appointment.js +5 -0
  310. package/dist/interface/appointmentV2.d.ts +65 -0
  311. package/dist/interface/appointmentV2.js +1 -0
  312. package/dist/interface/appointmentsState.d.ts +21 -0
  313. package/dist/interface/appointmentsState.js +1 -0
  314. package/dist/interface/common.d.ts +2 -0
  315. package/dist/interface/common.js +1 -0
  316. package/dist/interface/completionData.d.ts +18 -0
  317. package/dist/interface/completionData.js +1 -0
  318. package/dist/interface/deliveryPartner.d.ts +25 -0
  319. package/dist/interface/deliveryPartner.js +1 -0
  320. package/dist/interface/organization.d.ts +9 -0
  321. package/dist/interface/organization.js +1 -0
  322. package/dist/interface/pagination.d.ts +8 -0
  323. package/dist/interface/pagination.js +1 -0
  324. package/dist/interface/roles.d.ts +9 -0
  325. package/dist/interface/roles.js +1 -0
  326. package/dist/interface/route.d.ts +73 -0
  327. package/dist/interface/route.js +1 -0
  328. package/dist/interface/routeAnalysis.d.ts +108 -0
  329. package/dist/interface/routeAnalysis.js +1 -0
  330. package/dist/interface/routeAutomationJob.d.ts +95 -0
  331. package/dist/interface/routeAutomationJob.js +10 -0
  332. package/dist/interface/routeAutomationLog.d.ts +10 -0
  333. package/dist/interface/routeAutomationLog.js +1 -0
  334. package/dist/interface/routeEvent.d.ts +55 -0
  335. package/dist/interface/routeEvent.js +5 -0
  336. package/dist/interface/serviceArea.d.ts +18 -0
  337. package/dist/interface/serviceArea.js +1 -0
  338. package/dist/interface/util.d.ts +3 -0
  339. package/dist/interface/util.js +1 -0
  340. package/dist/interface/vehicle.d.ts +120 -0
  341. package/dist/interface/vehicle.js +1 -0
  342. package/dist/interface/workOrder.d.ts +22 -0
  343. package/dist/interface/workOrder.js +1 -0
  344. package/dist/isVisible-D3-B85BJ.js +22 -0
  345. package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
  346. package/dist/omit-B_u6A-HL.js +9 -0
  347. package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
  348. package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
  349. package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
  350. package/dist/providers/BreakpointThemeProvider.js +21 -0
  351. package/dist/providers/GenesisProvider.js +3 -3
  352. package/dist/providers/ToastProvider.js +22 -6
  353. package/dist/providers/index.js +1 -1
  354. package/dist/providers/useGenesis.js +2 -2
  355. package/dist/responsiveObserver-O1kw80RG.js +73 -0
  356. package/dist/setup-CKu7-AfI.js +24706 -0
  357. package/dist/setup.types-dBtAXXGp.js +8824 -0
  358. package/dist/shadow-BoMGMNn3.js +13 -0
  359. package/dist/styleChecker-Cotu61d0.js +21 -0
  360. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +28 -12
  361. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
  362. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
  363. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  364. package/dist/styles/theme/genesis-theme.js +468 -263
  365. package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
  366. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  367. package/dist/styles/theme/theme-tree/ThemeTree.js +1651 -0
  368. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
  369. package/dist/{styles-CT_fyXBd.js → styles-BDbHpHsc.js} +587 -643
  370. package/dist/styles-BSD221S5.js +289 -0
  371. package/dist/styles-D9iYILpv.js +9195 -0
  372. package/dist/test/setup.d.ts +2 -3
  373. package/dist/test/setup.js +87 -4
  374. package/dist/test/setup.types.d.ts +7 -0
  375. package/dist/test/setup.types.js +1 -0
  376. package/dist/toArray-DGvPoJP_.js +11 -0
  377. package/dist/useBreakpoint-CAMzKscx.js +22 -0
  378. package/dist/useCSSVarCls-C-MlZC6a.js +11 -0
  379. package/dist/useId-D2tzlufo.js +26 -0
  380. package/dist/useLocale-DWRfeMSS.js +16 -0
  381. package/dist/useMergedState-BoELfaU9.js +23 -0
  382. package/dist/useSize-CPo2bUE3.js +9 -0
  383. package/dist/{useVariants-DvhXfgJY.js → useVariants-Cin23jEC.js} +3 -3
  384. package/dist/useZIndex-D81lkWy4.js +44 -0
  385. package/dist/utils/icon-util.d.ts +2 -0
  386. package/dist/utils/icon-util.js +95 -0
  387. package/package.json +26 -15
  388. package/dist/AntdIcon-BoLh1dP8.js +0 -202
  389. package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
  390. package/dist/Typography-aGoDUl4R.js +0 -710
  391. package/dist/index-BZAhCB_K.js +0 -97
  392. package/dist/index-CfDY25LP.js +0 -873
  393. package/dist/isVisible-A-IfeFoT.js +0 -367
  394. package/dist/providers/ThemeProvider.d.ts +0 -9
  395. package/dist/providers/ThemeProvider.js +0 -21
  396. package/dist/setup-BvfREoHl.js +0 -33891
  397. package/dist/useLocale-DT-z_vQ6.js +0 -16
  398. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
  399. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
  400. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
  401. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
  402. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
  403. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
  404. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
  405. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
  406. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
  407. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
  408. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
  409. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
  410. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
  411. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
  412. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
  413. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
  414. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
  415. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
@@ -1,13 +1,16 @@
1
- import * as q from "react";
1
+ import * as X from "react";
2
2
  import s, { forwardRef as oe, useState as xe, useRef as j, useEffect as k, useMemo as ee, useContext as he, Children as vr } from "react";
3
- import { c as N, e as Ue, _ as w, F as Je, d as yr, f as Y, h as $e, a as be } from "./warning-C63HNL9U.js";
4
- import { u as Sr, o as xr } from "./isVisible-A-IfeFoT.js";
5
- import { C as Qe, E as $r, v as Ze, x as Er, B as Br, _ as Hr, d as Or, e as Ke, f as ke, b as er, m as ne, G as pe, g as Rr, q as te, H as Nr, I as Pr, J as jr, D as Ir, j as wr } from "./index-oK7z6jnz.js";
6
- import { W as Dr } from "./index-1CBpubM3.js";
7
- import { b as Tr, a as Lr } from "./Compact-CGY560JF.js";
8
- import { c as zr, i as Ar } from "./reactNode-sKPeiqPL.js";
3
+ import { e as N, g as Ue, _ as I, F as Je, f as yr, a as Y, b as $e, d as pe } from "./presets-Djh_L_6R.js";
4
+ import { o as Sr } from "./omit-B_u6A-HL.js";
5
+ import { C as Qe, c as xr, e as Ze, h as $r, o as Er, v as Br, w as Hr, d as Ke, _ as ke, a as er, m as ne, K as be, g as Or, j as te, M as Rr, k as Nr, N as Pr, D as jr, z as wr } from "./index-ByspLxrB.js";
6
+ import { W as Ir } from "./index-Dyl-ddV6.js";
7
+ import { u as Dr } from "./useSize-CPo2bUE3.js";
8
+ import { u as Lr } from "./Compact-DBh6nSYB.js";
9
+ import "./index-DLdU7Tpd.js";
10
+ import { c as Tr, i as zr } from "./reactNode-sKPeiqPL.js";
9
11
  import { P as rr } from "./presetColors-Cl8UP3Nw.js";
10
- import { R as _r } from "./LoadingOutlined-8EnJdZ7I.js";
12
+ import { R as Ar } from "./LoadingOutlined-C1qu6ymP.js";
13
+ import { u as _r } from "./useMergedState-BoELfaU9.js";
11
14
  import { g as Mr } from "./compact-item-DH13cl8A.js";
12
15
  var Gr = function(e, r) {
13
16
  var t = {};
@@ -16,15 +19,15 @@ var Gr = function(e, r) {
16
19
  r.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (t[o[n]] = e[o[n]]);
17
20
  return t;
18
21
  };
19
- const tr = /* @__PURE__ */ q.createContext(void 0), Fr = (e) => {
22
+ const tr = /* @__PURE__ */ X.createContext(void 0), Fr = (e) => {
20
23
  const {
21
24
  getPrefixCls: r,
22
25
  direction: t
23
- } = q.useContext(Qe), {
26
+ } = X.useContext(Qe), {
24
27
  prefixCls: o,
25
28
  size: n,
26
29
  className: a
27
- } = e, l = Gr(e, ["prefixCls", "size", "className"]), i = r("btn-group", o), [, , c] = $r(), u = q.useMemo(() => {
30
+ } = e, l = Gr(e, ["prefixCls", "size", "className"]), i = r("btn-group", o), [, , c] = xr(), u = X.useMemo(() => {
28
31
  switch (n) {
29
32
  case "large":
30
33
  return "lg";
@@ -42,13 +45,20 @@ const tr = /* @__PURE__ */ q.createContext(void 0), Fr = (e) => {
42
45
  [`${i}-${u}`]: u,
43
46
  [`${i}-rtl`]: t === "rtl"
44
47
  }, a, c);
45
- return /* @__PURE__ */ q.createElement(tr.Provider, {
48
+ return /* @__PURE__ */ X.createElement(tr.Provider, {
46
49
  value: n
47
- }, /* @__PURE__ */ q.createElement("div", Object.assign({}, l, {
50
+ }, /* @__PURE__ */ X.createElement("div", Object.assign({}, l, {
48
51
  className: d
49
52
  })));
50
53
  }, We = /^[\u4E00-\u9FA5]{2}$/, Ee = We.test.bind(We);
51
- function qe(e) {
54
+ function Qt(e) {
55
+ return e === "danger" ? {
56
+ danger: !0
57
+ } : {
58
+ type: e
59
+ };
60
+ }
61
+ function Xe(e) {
52
62
  return typeof e == "string";
53
63
  }
54
64
  function re(e) {
@@ -58,9 +68,9 @@ function Vr(e, r) {
58
68
  if (e == null)
59
69
  return;
60
70
  const t = r ? " " : "";
61
- return typeof e != "string" && typeof e != "number" && qe(e.type) && Ee(e.props.children) ? zr(e, {
71
+ return typeof e != "string" && typeof e != "number" && Xe(e.type) && Ee(e.props.children) ? Tr(e, {
62
72
  children: e.props.children.split("").join(t)
63
- }) : qe(e) ? Ee(e) ? /* @__PURE__ */ s.createElement("span", null, e.split("").join(t)) : /* @__PURE__ */ s.createElement("span", null, e) : Ar(e) ? /* @__PURE__ */ s.createElement("span", null, e) : e;
73
+ }) : Xe(e) ? Ee(e) ? /* @__PURE__ */ s.createElement("span", null, e.split("").join(t)) : /* @__PURE__ */ s.createElement("span", null, e) : zr(e) ? /* @__PURE__ */ s.createElement("span", null, e) : e;
64
74
  }
65
75
  function Wr(e, r) {
66
76
  let t = !1;
@@ -75,7 +85,7 @@ function Wr(e, r) {
75
85
  t = l;
76
86
  }), s.Children.map(o, (n) => Vr(n, r));
77
87
  }
78
- ["default", "primary", "danger"].concat(Er(rr));
88
+ ["default", "primary", "danger"].concat($r(rr));
79
89
  const Be = /* @__PURE__ */ oe((e, r) => {
80
90
  const {
81
91
  className: t,
@@ -88,7 +98,7 @@ const Be = /* @__PURE__ */ oe((e, r) => {
88
98
  className: l,
89
99
  style: o
90
100
  }, n);
91
- }), Xe = /* @__PURE__ */ oe((e, r) => {
101
+ }), qe = /* @__PURE__ */ oe((e, r) => {
92
102
  const {
93
103
  prefixCls: t,
94
104
  className: o,
@@ -100,7 +110,7 @@ const Be = /* @__PURE__ */ oe((e, r) => {
100
110
  className: l,
101
111
  style: n,
102
112
  ref: r
103
- }, /* @__PURE__ */ s.createElement(_r, {
113
+ }, /* @__PURE__ */ s.createElement(Ar, {
104
114
  className: a
105
115
  }));
106
116
  }), ve = () => ({
@@ -111,7 +121,7 @@ const Be = /* @__PURE__ */ oe((e, r) => {
111
121
  width: e.scrollWidth,
112
122
  opacity: 1,
113
123
  transform: "scale(1)"
114
- }), qr = (e) => {
124
+ }), Xr = (e) => {
115
125
  const {
116
126
  prefixCls: r,
117
127
  loading: t,
@@ -120,11 +130,11 @@ const Be = /* @__PURE__ */ oe((e, r) => {
120
130
  style: a,
121
131
  mount: l
122
132
  } = e, i = !!t;
123
- return o ? /* @__PURE__ */ s.createElement(Xe, {
133
+ return o ? /* @__PURE__ */ s.createElement(qe, {
124
134
  prefixCls: r,
125
135
  className: n,
126
136
  style: a
127
- }) : /* @__PURE__ */ s.createElement(Br, {
137
+ }) : /* @__PURE__ */ s.createElement(Er, {
128
138
  visible: i,
129
139
  // Used for minus flex gap style only
130
140
  motionName: `${r}-loading-icon-motion`,
@@ -143,11 +153,11 @@ const Be = /* @__PURE__ */ oe((e, r) => {
143
153
  className: d,
144
154
  style: g
145
155
  } = c;
146
- const b = Object.assign(Object.assign({}, a), g);
147
- return /* @__PURE__ */ s.createElement(Xe, {
156
+ const p = Object.assign(Object.assign({}, a), g);
157
+ return /* @__PURE__ */ s.createElement(qe, {
148
158
  prefixCls: r,
149
159
  className: N(n, d),
150
- style: b,
160
+ style: p,
151
161
  ref: u
152
162
  });
153
163
  });
@@ -169,7 +179,7 @@ const Be = /* @__PURE__ */ oe((e, r) => {
169
179
  }
170
180
  }
171
181
  }
172
- }), Xr = (e) => {
182
+ }), qr = (e) => {
173
183
  const {
174
184
  componentCls: r,
175
185
  fontSize: t,
@@ -225,14 +235,14 @@ var Yr = ["b"], Ur = ["v"], Se = function(r) {
225
235
  return r;
226
236
  if (r && yr(r) === "object" && "h" in r && "b" in r) {
227
237
  var t = r, o = t.b, n = Ue(t, Yr);
228
- return w(w({}, n), {}, {
238
+ return I(I({}, n), {}, {
229
239
  v: o
230
240
  });
231
241
  }
232
242
  return typeof r == "string" && /hsb/.test(r) ? r.replace(/hsb/, "hsv") : r;
233
243
  }, D = /* @__PURE__ */ function(e) {
234
- Hr(t, e);
235
- var r = Or(t);
244
+ Br(t, e);
245
+ var r = Hr(t);
236
246
  function t(o) {
237
247
  return Ke(this, t), r.call(this, Jr(o));
238
248
  }
@@ -246,28 +256,28 @@ var Yr = ["b"], Ur = ["v"], Se = function(r) {
246
256
  key: "toHsb",
247
257
  value: function() {
248
258
  var n = this.toHsv(), a = n.v, l = Ue(n, Ur);
249
- return w(w({}, l), {}, {
259
+ return I(I({}, l), {}, {
250
260
  b: a,
251
261
  a: this.a
252
262
  });
253
263
  }
254
264
  }]), t;
255
- }(Je), Qr = "rc-color-picker", X = function(r) {
265
+ }(Je), Qr = "rc-color-picker", q = function(r) {
256
266
  return r instanceof D ? r : new D(r);
257
- }, Zr = X("#1677ff"), or = function(r) {
258
- var t = r.offset, o = r.targetRef, n = r.containerRef, a = r.color, l = r.type, i = n.current.getBoundingClientRect(), c = i.width, u = i.height, d = o.current.getBoundingClientRect(), g = d.width, b = d.height, m = g / 2, C = b / 2, y = (t.x + m) / c, E = 1 - (t.y + C) / u, H = a.toHsb(), B = y, S = (t.x + m) / c * 360;
267
+ }, Zr = q("#1677ff"), or = function(r) {
268
+ var t = r.offset, o = r.targetRef, n = r.containerRef, a = r.color, l = r.type, i = n.current.getBoundingClientRect(), c = i.width, u = i.height, d = o.current.getBoundingClientRect(), g = d.width, p = d.height, m = g / 2, C = p / 2, y = (t.x + m) / c, E = 1 - (t.y + C) / u, H = a.toHsb(), B = y, S = (t.x + m) / c * 360;
259
269
  if (l)
260
270
  switch (l) {
261
271
  case "hue":
262
- return X(w(w({}, H), {}, {
272
+ return q(I(I({}, H), {}, {
263
273
  h: S <= 0 ? 0 : S
264
274
  }));
265
275
  case "alpha":
266
- return X(w(w({}, H), {}, {
276
+ return q(I(I({}, H), {}, {
267
277
  a: B <= 0 ? 0 : B
268
278
  }));
269
279
  }
270
- return X({
280
+ return q({
271
281
  h: H.h,
272
282
  s: y <= 0 ? 0 : y,
273
283
  b: E >= 1 ? 1 : E,
@@ -316,18 +326,18 @@ function ar(e) {
316
326
  var r = e.targetRef, t = e.containerRef, o = e.direction, n = e.onDragChange, a = e.onDragChangeComplete, l = e.calculate, i = e.color, c = e.disabledDrag, u = xe({
317
327
  x: 0,
318
328
  y: 0
319
- }), d = Y(u, 2), g = d[0], b = d[1], m = j(null), C = j(null);
329
+ }), d = Y(u, 2), g = d[0], p = d[1], m = j(null), C = j(null);
320
330
  k(function() {
321
- b(l());
331
+ p(l());
322
332
  }, [i]), k(function() {
323
333
  return function() {
324
334
  document.removeEventListener("mousemove", m.current), document.removeEventListener("mouseup", C.current), document.removeEventListener("touchmove", m.current), document.removeEventListener("touchend", C.current), m.current = null, C.current = null;
325
335
  };
326
336
  }, []);
327
337
  var y = function(f) {
328
- var h = kr(f), U = h.pageX, J = h.pageY, O = t.current.getBoundingClientRect(), G = O.x, T = O.y, Q = O.width, F = O.height, L = r.current.getBoundingClientRect(), z = L.width, R = L.height, V = z / 2, M = R / 2, P = Math.max(0, Math.min(U - G, Q)) - V, p = Math.max(0, Math.min(J - T, F)) - M, x = {
338
+ var h = kr(f), U = h.pageX, J = h.pageY, O = t.current.getBoundingClientRect(), G = O.x, L = O.y, Q = O.width, F = O.height, T = r.current.getBoundingClientRect(), z = T.width, R = T.height, V = z / 2, M = R / 2, P = Math.max(0, Math.min(U - G, Q)) - V, b = Math.max(0, Math.min(J - L, F)) - M, x = {
329
339
  x: P,
330
- y: o === "x" ? g.y : p
340
+ y: o === "x" ? g.y : b
331
341
  };
332
342
  if (z === 0 && R === 0 || z !== R)
333
343
  return !1;
@@ -353,7 +363,7 @@ var lr = function(r) {
353
363
  var t = r.children, o = r.style, n = r.prefixCls;
354
364
  return /* @__PURE__ */ s.createElement("div", {
355
365
  className: "".concat(n, "-palette"),
356
- style: w({
366
+ style: I({
357
367
  position: "relative"
358
368
  }, o)
359
369
  }, t);
@@ -390,7 +400,7 @@ var lr = function(r) {
390
400
  return a == null ? void 0 : a(u.current);
391
401
  },
392
402
  disabledDrag: l
393
- }), b = Y(g, 2), m = b[0], C = b[1];
403
+ }), p = Y(g, 2), m = p[0], C = p[1];
394
404
  return /* @__PURE__ */ s.createElement("div", {
395
405
  ref: i,
396
406
  className: "".concat(n, "-select"),
@@ -413,16 +423,16 @@ var lr = function(r) {
413
423
  }
414
424
  })));
415
425
  }, rt = function(r, t) {
416
- var o = Sr(r, {
426
+ var o = _r(r, {
417
427
  value: t
418
428
  }), n = Y(o, 2), a = n[0], l = n[1], i = ee(function() {
419
- return X(a);
429
+ return q(a);
420
430
  }, [a]);
421
431
  return [i, l];
422
432
  }, tt = function(r) {
423
433
  var t = r.colors, o = r.children, n = r.direction, a = n === void 0 ? "to right" : n, l = r.type, i = r.prefixCls, c = ee(function() {
424
434
  return t.map(function(u, d) {
425
- var g = X(u);
435
+ var g = q(u);
426
436
  return l === "alpha" && d === t.length - 1 && (g = new D(g.setA(1))), g.toRgbString();
427
437
  }).join(",");
428
438
  }, [t, l]);
@@ -435,7 +445,7 @@ var lr = function(r) {
435
445
  }
436
446
  }, o);
437
447
  }, ot = function(r) {
438
- var t = r.prefixCls, o = r.colors, n = r.disabled, a = r.onChange, l = r.onChangeComplete, i = r.color, c = r.type, u = j(), d = j(), g = j(i), b = function(h) {
448
+ var t = r.prefixCls, o = r.colors, n = r.disabled, a = r.onChange, l = r.onChangeComplete, i = r.color, c = r.type, u = j(), d = j(), g = j(i), p = function(h) {
439
449
  return c === "hue" ? h.getHue() : h.a * 100;
440
450
  }, m = er(function(f) {
441
451
  var h = or({
@@ -445,7 +455,7 @@ var lr = function(r) {
445
455
  color: i,
446
456
  type: c
447
457
  });
448
- g.current = h, a(b(h));
458
+ g.current = h, a(p(h));
449
459
  }), C = ar({
450
460
  color: i,
451
461
  targetRef: d,
@@ -455,7 +465,7 @@ var lr = function(r) {
455
465
  },
456
466
  onDragChange: m,
457
467
  onDragChangeComplete: function() {
458
- l(b(g.current));
468
+ l(p(g.current));
459
469
  },
460
470
  direction: "x",
461
471
  disabledDrag: n
@@ -494,7 +504,7 @@ var lr = function(r) {
494
504
  })));
495
505
  };
496
506
  function nt(e) {
497
- return q.useMemo(function() {
507
+ return X.useMemo(function() {
498
508
  var r = e || {}, t = r.slider;
499
509
  return [t || ot];
500
510
  }, [e]);
@@ -521,49 +531,49 @@ var at = [{
521
531
  color: "rgb(255, 0, 0)",
522
532
  percent: 100
523
533
  }], lt = /* @__PURE__ */ oe(function(e, r) {
524
- var t = e.value, o = e.defaultValue, n = e.prefixCls, a = n === void 0 ? Qr : n, l = e.onChange, i = e.onChangeComplete, c = e.className, u = e.style, d = e.panelRender, g = e.disabledAlpha, b = g === void 0 ? !1 : g, m = e.disabled, C = m === void 0 ? !1 : m, y = e.components, E = nt(y), H = Y(E, 1), B = H[0], S = rt(o || Zr, t), f = Y(S, 2), h = f[0], U = f[1], J = ee(function() {
534
+ var t = e.value, o = e.defaultValue, n = e.prefixCls, a = n === void 0 ? Qr : n, l = e.onChange, i = e.onChangeComplete, c = e.className, u = e.style, d = e.panelRender, g = e.disabledAlpha, p = g === void 0 ? !1 : g, m = e.disabled, C = m === void 0 ? !1 : m, y = e.components, E = nt(y), H = Y(E, 1), B = H[0], S = rt(o || Zr, t), f = Y(S, 2), h = f[0], U = f[1], J = ee(function() {
525
535
  return h.setA(1).toRgbString();
526
- }, [h]), O = function(p, x) {
527
- t || U(p), l == null || l(p, x);
528
- }, G = function(p) {
529
- return new D(h.setHue(p));
530
- }, T = function(p) {
531
- return new D(h.setA(p / 100));
532
- }, Q = function(p) {
533
- O(G(p), {
536
+ }, [h]), O = function(b, x) {
537
+ t || U(b), l == null || l(b, x);
538
+ }, G = function(b) {
539
+ return new D(h.setHue(b));
540
+ }, L = function(b) {
541
+ return new D(h.setA(b / 100));
542
+ }, Q = function(b) {
543
+ O(G(b), {
534
544
  type: "hue",
535
- value: p
545
+ value: b
536
546
  });
537
- }, F = function(p) {
538
- O(T(p), {
547
+ }, F = function(b) {
548
+ O(L(b), {
539
549
  type: "alpha",
540
- value: p
550
+ value: b
541
551
  });
542
- }, L = function(p) {
543
- i && i(G(p));
544
- }, z = function(p) {
545
- i && i(T(p));
552
+ }, T = function(b) {
553
+ i && i(G(b));
554
+ }, z = function(b) {
555
+ i && i(L(b));
546
556
  }, R = N("".concat(a, "-panel"), c, $e({}, "".concat(a, "-panel-disabled"), C)), V = {
547
557
  prefixCls: a,
548
558
  disabled: C,
549
559
  color: h
550
- }, M = /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(et, be({
560
+ }, M = /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement(et, pe({
551
561
  onChange: O
552
562
  }, V, {
553
563
  onChangeComplete: i
554
564
  })), /* @__PURE__ */ s.createElement("div", {
555
565
  className: "".concat(a, "-slider-container")
556
566
  }, /* @__PURE__ */ s.createElement("div", {
557
- className: N("".concat(a, "-slider-group"), $e({}, "".concat(a, "-slider-group-disabled-alpha"), b))
558
- }, /* @__PURE__ */ s.createElement(B, be({}, V, {
567
+ className: N("".concat(a, "-slider-group"), $e({}, "".concat(a, "-slider-group-disabled-alpha"), p))
568
+ }, /* @__PURE__ */ s.createElement(B, pe({}, V, {
559
569
  type: "hue",
560
570
  colors: at,
561
571
  min: 0,
562
572
  max: 359,
563
573
  value: h.getHue(),
564
574
  onChange: Q,
565
- onChangeComplete: L
566
- })), !b && /* @__PURE__ */ s.createElement(B, be({}, V, {
575
+ onChangeComplete: T
576
+ })), !p && /* @__PURE__ */ s.createElement(B, pe({}, V, {
567
577
  type: "alpha",
568
578
  colors: [{
569
579
  percent: 0,
@@ -693,7 +703,7 @@ const ut = (e, r) => {
693
703
  });
694
704
  }, ur = (e) => {
695
705
  var r, t, o, n, a, l;
696
- const i = (r = e.contentFontSize) !== null && r !== void 0 ? r : e.fontSize, c = (t = e.contentFontSizeSM) !== null && t !== void 0 ? t : e.fontSize, u = (o = e.contentFontSizeLG) !== null && o !== void 0 ? o : e.fontSizeLG, d = (n = e.contentLineHeight) !== null && n !== void 0 ? n : pe(i), g = (a = e.contentLineHeightSM) !== null && a !== void 0 ? a : pe(c), b = (l = e.contentLineHeightLG) !== null && l !== void 0 ? l : pe(u), m = ut(new st(e.colorBgSolid), "#fff") ? "#000" : "#fff";
706
+ const i = (r = e.contentFontSize) !== null && r !== void 0 ? r : e.fontSize, c = (t = e.contentFontSizeSM) !== null && t !== void 0 ? t : e.fontSize, u = (o = e.contentFontSizeLG) !== null && o !== void 0 ? o : e.fontSizeLG, d = (n = e.contentLineHeight) !== null && n !== void 0 ? n : be(i), g = (a = e.contentLineHeightSM) !== null && a !== void 0 ? a : be(c), p = (l = e.contentLineHeightLG) !== null && l !== void 0 ? l : be(u), m = ut(new st(e.colorBgSolid), "#fff") ? "#000" : "#fff";
697
707
  return {
698
708
  fontWeight: 400,
699
709
  defaultShadow: `0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,
@@ -733,10 +743,10 @@ const ut = (e, r) => {
733
743
  contentFontSizeLG: u,
734
744
  contentLineHeight: d,
735
745
  contentLineHeightSM: g,
736
- contentLineHeightLG: b,
746
+ contentLineHeightLG: p,
737
747
  paddingBlock: Math.max((e.controlHeight - i * d) / 2 - e.lineWidth, 0),
738
748
  paddingBlockSM: Math.max((e.controlHeightSM - c * g) / 2 - e.lineWidth, 0),
739
- paddingBlockLG: Math.max((e.controlHeightLG - u * b) / 2 - e.lineWidth, 0)
749
+ paddingBlockLG: Math.max((e.controlHeightLG - u * p) / 2 - e.lineWidth, 0)
740
750
  };
741
751
  }, dt = (e) => {
742
752
  const {
@@ -772,11 +782,11 @@ const ut = (e, r) => {
772
782
  pointerEvents: "none"
773
783
  },
774
784
  // https://github.com/ant-design/ant-design/issues/51380
775
- [`${r}-icon > svg`]: Nr(),
785
+ [`${r}-icon > svg`]: Rr(),
776
786
  "> a": {
777
787
  color: "currentColor"
778
788
  },
779
- "&:not(:disabled)": Pr(e),
789
+ "&:not(:disabled)": Nr(e),
780
790
  [`&${r}-two-chinese-chars::first-letter`]: {
781
791
  letterSpacing: "0.34em"
782
792
  },
@@ -909,7 +919,7 @@ const ut = (e, r) => {
909
919
  color: r,
910
920
  boxShadow: "none"
911
921
  }, ae(e, o, n, t))
912
- }), bt = (e) => {
922
+ }), pt = (e) => {
913
923
  const {
914
924
  componentCls: r
915
925
  } = e;
@@ -948,7 +958,7 @@ const ut = (e, r) => {
948
958
  }))
949
959
  });
950
960
  }, {});
951
- }, pt = (e) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
961
+ }, bt = (e) => Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
952
962
  color: e.defaultColor,
953
963
  boxShadow: e.defaultShadow
954
964
  }, le(e, e.solidTextColor, e.colorBgSolid, {
@@ -1031,10 +1041,10 @@ const ut = (e, r) => {
1031
1041
  componentCls: r
1032
1042
  } = e;
1033
1043
  return Object.assign({
1034
- [`${r}-color-default`]: pt(e),
1044
+ [`${r}-color-default`]: bt(e),
1035
1045
  [`${r}-color-primary`]: vt(e),
1036
1046
  [`${r}-color-dangerous`]: yt(e)
1037
- }, bt(e));
1047
+ }, pt(e));
1038
1048
  }, xt = (e) => Object.assign(Object.assign(Object.assign(Object.assign({}, ie(e, e.defaultBorderColor, e.defaultBg, {
1039
1049
  color: e.defaultHoverColor,
1040
1050
  borderColor: e.defaultHoverBorderColor,
@@ -1132,7 +1142,7 @@ const ut = (e, r) => {
1132
1142
  }
1133
1143
  }
1134
1144
  };
1135
- }, Ot = Rr("Button", (e) => {
1145
+ }, Ot = Or("Button", (e) => {
1136
1146
  const r = sr(e);
1137
1147
  return [
1138
1148
  // Shared
@@ -1148,7 +1158,7 @@ const ut = (e, r) => {
1148
1158
  // https://github.com/ant-design/ant-design/issues/50969
1149
1159
  xt(r),
1150
1160
  // Button Group
1151
- Xr(r)
1161
+ qr(r)
1152
1162
  ];
1153
1163
  }, ur, {
1154
1164
  unitless: {
@@ -1220,7 +1230,7 @@ const jt = (e) => {
1220
1230
  };
1221
1231
  };
1222
1232
  return Object.assign(Object.assign({}, l()), l(!0));
1223
- }, It = jr(["Button", "compact"], (e) => {
1233
+ }, wt = Pr(["Button", "compact"], (e) => {
1224
1234
  const r = sr(e);
1225
1235
  return [
1226
1236
  // Space Compact
@@ -1229,7 +1239,7 @@ const jt = (e) => {
1229
1239
  jt(r)
1230
1240
  ];
1231
1241
  }, ur);
1232
- var wt = function(e, r) {
1242
+ var It = function(e, r) {
1233
1243
  var t = {};
1234
1244
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && r.indexOf(o) < 0 && (t[o] = e[o]);
1235
1245
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, o = Object.getOwnPropertySymbols(e); n < o.length; n++)
@@ -1249,13 +1259,13 @@ function Dt(e) {
1249
1259
  delay: 0
1250
1260
  };
1251
1261
  }
1252
- const Tt = {
1262
+ const Lt = {
1253
1263
  default: ["default", "outlined"],
1254
1264
  primary: ["primary", "solid"],
1255
1265
  dashed: ["default", "dashed"],
1256
1266
  link: ["primary", "link"],
1257
1267
  text: ["default", "text"]
1258
- }, Lt = /* @__PURE__ */ s.forwardRef((e, r) => {
1268
+ }, Tt = /* @__PURE__ */ s.forwardRef((e, r) => {
1259
1269
  var t, o, n, a;
1260
1270
  const {
1261
1271
  loading: l = !1,
@@ -1264,7 +1274,7 @@ const Tt = {
1264
1274
  variant: u,
1265
1275
  type: d,
1266
1276
  danger: g = !1,
1267
- shape: b = "default",
1277
+ shape: p = "default",
1268
1278
  size: m,
1269
1279
  styles: C,
1270
1280
  disabled: y,
@@ -1279,18 +1289,18 @@ const Tt = {
1279
1289
  htmlType: J = "button",
1280
1290
  classNames: O,
1281
1291
  style: G = {},
1282
- autoInsertSpace: T,
1292
+ autoInsertSpace: L,
1283
1293
  autoFocus: Q
1284
- } = e, F = wt(e, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]), L = d || "default", [z, R] = ee(() => {
1294
+ } = e, F = It(e, ["loading", "prefixCls", "color", "variant", "type", "danger", "shape", "size", "styles", "disabled", "className", "rootClassName", "children", "icon", "iconPosition", "ghost", "block", "htmlType", "classNames", "style", "autoInsertSpace", "autoFocus"]), T = d || "default", [z, R] = ee(() => {
1285
1295
  if (c && u)
1286
1296
  return [c, u];
1287
- const $ = Tt[L] || [];
1297
+ const $ = Lt[T] || [];
1288
1298
  return g ? ["danger", $[1]] : $;
1289
1299
  }, [d, c, u, g]), M = z === "danger" ? "dangerous" : z, {
1290
1300
  getPrefixCls: P,
1291
- direction: p,
1301
+ direction: b,
1292
1302
  button: x
1293
- } = he(Qe), ue = (t = T ?? (x == null ? void 0 : x.autoInsertSpace)) !== null && t !== void 0 ? t : !0, v = P("btn", i), [Ne, gr, fr] = Ot(v), mr = he(Ir), W = y ?? mr, Cr = he(tr), Z = ee(() => Dt(l), [l]), [A, Pe] = xe(Z.loading), [de, je] = xe(!1), K = j(null), Ie = wr(r, K), we = vr.count(B) === 1 && !S && !re(R), ge = j(!0);
1303
+ } = he(Qe), ue = (t = L ?? (x == null ? void 0 : x.autoInsertSpace)) !== null && t !== void 0 ? t : !0, v = P("btn", i), [Ne, gr, fr] = Ot(v), mr = he(jr), W = y ?? mr, Cr = he(tr), Z = ee(() => Dt(l), [l]), [A, Pe] = xe(Z.loading), [de, je] = xe(!1), K = j(null), we = wr(r, K), Ie = vr.count(B) === 1 && !S && !re(R), ge = j(!0);
1294
1304
  s.useEffect(() => (ge.current = !1, () => {
1295
1305
  ge.current = !0;
1296
1306
  }), []), k(() => {
@@ -1298,25 +1308,25 @@ const Tt = {
1298
1308
  Z.delay > 0 ? $ = setTimeout(() => {
1299
1309
  $ = null, Pe(!0);
1300
1310
  }, Z.delay) : Pe(Z.loading);
1301
- function I() {
1311
+ function w() {
1302
1312
  $ && (clearTimeout($), $ = null);
1303
1313
  }
1304
- return I;
1314
+ return w;
1305
1315
  }, [Z]), k(() => {
1306
1316
  if (!K.current || !ue)
1307
1317
  return;
1308
1318
  const $ = K.current.textContent || "";
1309
- we && Ee($) ? de || je(!0) : de && je(!1);
1319
+ Ie && Ee($) ? de || je(!0) : de && je(!1);
1310
1320
  }), k(() => {
1311
1321
  Q && K.current && K.current.focus();
1312
1322
  }, []);
1313
1323
  const De = s.useCallback(($) => {
1314
- var I;
1324
+ var w;
1315
1325
  if (A || W) {
1316
1326
  $.preventDefault();
1317
1327
  return;
1318
1328
  }
1319
- (I = e.onClick) === null || I === void 0 || I.call(e, $);
1329
+ (w = e.onClick) === null || w === void 0 || w.call(e, $);
1320
1330
  }, [e.onClick, A, W]);
1321
1331
  if (process.env.NODE_ENV !== "production") {
1322
1332
  const $ = Ze("Button");
@@ -1324,30 +1334,30 @@ const Tt = {
1324
1334
  }
1325
1335
  const {
1326
1336
  compactSize: hr,
1327
- compactItemClassnames: Te
1328
- } = Tr(v, p), br = {
1337
+ compactItemClassnames: Le
1338
+ } = Lr(v, b), pr = {
1329
1339
  large: "lg",
1330
1340
  small: "sm",
1331
1341
  middle: void 0
1332
- }, Le = Lr(($) => {
1333
- var I, Ce;
1334
- return (Ce = (I = m ?? hr) !== null && I !== void 0 ? I : Cr) !== null && Ce !== void 0 ? Ce : $;
1335
- }), ze = Le && (o = br[Le]) !== null && o !== void 0 ? o : "", pr = A ? "loading" : S, fe = xr(F, ["navigate"]), Ae = N(v, gr, fr, {
1336
- [`${v}-${b}`]: b !== "default" && b,
1342
+ }, Te = Dr(($) => {
1343
+ var w, Ce;
1344
+ return (Ce = (w = m ?? hr) !== null && w !== void 0 ? w : Cr) !== null && Ce !== void 0 ? Ce : $;
1345
+ }), ze = Te && (o = pr[Te]) !== null && o !== void 0 ? o : "", br = A ? "loading" : S, fe = Sr(F, ["navigate"]), Ae = N(v, gr, fr, {
1346
+ [`${v}-${p}`]: p !== "default" && p,
1337
1347
  // line(253 - 254): Compatible with versions earlier than 5.21.0
1338
- [`${v}-${L}`]: L,
1348
+ [`${v}-${T}`]: T,
1339
1349
  [`${v}-dangerous`]: g,
1340
1350
  [`${v}-color-${M}`]: M,
1341
1351
  [`${v}-variant-${R}`]: R,
1342
1352
  [`${v}-${ze}`]: ze,
1343
- [`${v}-icon-only`]: !B && B !== 0 && !!pr,
1353
+ [`${v}-icon-only`]: !B && B !== 0 && !!br,
1344
1354
  [`${v}-background-ghost`]: h && !re(R),
1345
1355
  [`${v}-loading`]: A,
1346
1356
  [`${v}-two-chinese-chars`]: de && ue && !A,
1347
1357
  [`${v}-block`]: U,
1348
- [`${v}-rtl`]: p === "rtl",
1358
+ [`${v}-rtl`]: b === "rtl",
1349
1359
  [`${v}-icon-end`]: f === "end"
1350
- }, Te, E, H, x == null ? void 0 : x.className), _e = Object.assign(Object.assign({}, x == null ? void 0 : x.style), G), Me = N(O == null ? void 0 : O.icon, (n = x == null ? void 0 : x.classNames) === null || n === void 0 ? void 0 : n.icon), Ge = Object.assign(Object.assign({}, (C == null ? void 0 : C.icon) || {}), ((a = x == null ? void 0 : x.styles) === null || a === void 0 ? void 0 : a.icon) || {}), Fe = S && !A ? /* @__PURE__ */ s.createElement(Be, {
1360
+ }, Le, E, H, x == null ? void 0 : x.className), _e = Object.assign(Object.assign({}, x == null ? void 0 : x.style), G), Me = N(O == null ? void 0 : O.icon, (n = x == null ? void 0 : x.classNames) === null || n === void 0 ? void 0 : n.icon), Ge = Object.assign(Object.assign({}, (C == null ? void 0 : C.icon) || {}), ((a = x == null ? void 0 : x.styles) === null || a === void 0 ? void 0 : a.icon) || {}), Fe = S && !A ? /* @__PURE__ */ s.createElement(Be, {
1351
1361
  prefixCls: v,
1352
1362
  className: Me,
1353
1363
  style: Ge
@@ -1355,12 +1365,12 @@ const Tt = {
1355
1365
  prefixCls: v,
1356
1366
  className: Me,
1357
1367
  style: Ge
1358
- }, l.icon) : /* @__PURE__ */ s.createElement(qr, {
1368
+ }, l.icon) : /* @__PURE__ */ s.createElement(Xr, {
1359
1369
  existIcon: !!S,
1360
1370
  prefixCls: v,
1361
1371
  loading: A,
1362
1372
  mount: ge.current
1363
- }), Ve = B || B === 0 ? Wr(B, we && ue) : null;
1373
+ }), Ve = B || B === 0 ? Wr(B, Ie && ue) : null;
1364
1374
  if (fe.href !== void 0)
1365
1375
  return Ne(/* @__PURE__ */ s.createElement("a", Object.assign({}, fe, {
1366
1376
  className: N(Ae, {
@@ -1369,7 +1379,7 @@ const Tt = {
1369
1379
  href: W ? void 0 : fe.href,
1370
1380
  style: _e,
1371
1381
  onClick: De,
1372
- ref: Ie,
1382
+ ref: we,
1373
1383
  tabIndex: W ? -1 : 0
1374
1384
  }), Fe, Ve));
1375
1385
  let me = /* @__PURE__ */ s.createElement("button", Object.assign({}, F, {
@@ -1378,18 +1388,19 @@ const Tt = {
1378
1388
  style: _e,
1379
1389
  onClick: De,
1380
1390
  disabled: W,
1381
- ref: Ie
1382
- }), Fe, Ve, Te && /* @__PURE__ */ s.createElement(It, {
1391
+ ref: we
1392
+ }), Fe, Ve, Le && /* @__PURE__ */ s.createElement(wt, {
1383
1393
  prefixCls: v
1384
1394
  }));
1385
- return re(R) || (me = /* @__PURE__ */ s.createElement(Dr, {
1395
+ return re(R) || (me = /* @__PURE__ */ s.createElement(Ir, {
1386
1396
  component: "Button",
1387
1397
  disabled: A
1388
1398
  }, me)), Ne(me);
1389
- }), Re = Lt;
1399
+ }), Re = Tt;
1390
1400
  Re.Group = Fr;
1391
1401
  Re.__ANT_BUTTON = !0;
1392
1402
  process.env.NODE_ENV !== "production" && (Re.displayName = "Button");
1393
1403
  export {
1394
- Re as B
1404
+ Re as B,
1405
+ Qt as c
1395
1406
  };
@@ -0,0 +1,16 @@
1
+ function a(r) {
2
+ var f, n, t = "";
3
+ if (typeof r == "string" || typeof r == "number") t += r;
4
+ else if (typeof r == "object") if (Array.isArray(r)) {
5
+ var o = r.length;
6
+ for (f = 0; f < o; f++) r[f] && (n = a(r[f])) && (t && (t += " "), t += n);
7
+ } else for (n in r) r[n] && (t && (t += " "), t += n);
8
+ return t;
9
+ }
10
+ function i() {
11
+ for (var r, f, n = 0, t = "", o = arguments.length; n < o; n++) (r = arguments[n]) && (f = a(r)) && (t && (t += " "), t += f);
12
+ return t;
13
+ }
14
+ export {
15
+ i as c
16
+ };
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ export interface AvatarProps {
3
+ size?: number;
4
+ icon?: React.ReactNode;
5
+ shape?: "circle" | "square";
6
+ imageUrl?: string;
7
+ altText?: string;
8
+ children?: string;
9
+ backgroundColor?: string;
10
+ }
11
+ declare const Avatar: ({ size, shape, imageUrl, altText, children, backgroundColor, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default Avatar;