@gobolt/genesis 0.0.9 → 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 +33 -14
  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
package/README.md CHANGED
@@ -22,11 +22,11 @@ pnpm install
22
22
  pnpm start
23
23
  ```
24
24
 
25
- To scaffold a new component, run `pnpm generate --path` and add the component name in PascalCase
25
+ To scaffold a new component, run `pnpm generate --name` and add the component name in PascalCase
26
26
 
27
27
  example:
28
28
  ```
29
- pnpm generate --path RadioGroup
29
+ pnpm generate --name RadioGroup
30
30
  ```
31
31
 
32
32
 
@@ -0,0 +1,192 @@
1
+ import { w as D, f as b, _ as l, h as L, I, u as U, g as N, a as S, i as W, e as q, b as x, d as F } from "./presets-Djh_L_6R.js";
2
+ import * as u from "react";
3
+ import h, { useContext as G, useEffect as H } from "react";
4
+ import { g as J } from "./shadow-BoMGMNn3.js";
5
+ function K(n) {
6
+ return n.replace(/-(.)/g, function(e, o) {
7
+ return o.toUpperCase();
8
+ });
9
+ }
10
+ function M(n, e) {
11
+ D(n, "[@ant-design/icons] ".concat(e));
12
+ }
13
+ function _(n) {
14
+ return b(n) === "object" && typeof n.name == "string" && typeof n.theme == "string" && (b(n.icon) === "object" || typeof n.icon == "function");
15
+ }
16
+ function k() {
17
+ var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
18
+ return Object.keys(n).reduce(function(e, o) {
19
+ var r = n[o];
20
+ switch (o) {
21
+ case "class":
22
+ e.className = r, delete e.class;
23
+ break;
24
+ default:
25
+ delete e[o], e[K(o)] = r;
26
+ }
27
+ return e;
28
+ }, {});
29
+ }
30
+ function T(n, e, o) {
31
+ return o ? /* @__PURE__ */ h.createElement(n.tag, l(l({
32
+ key: e
33
+ }, k(n.attrs)), o), (n.children || []).map(function(r, a) {
34
+ return T(r, "".concat(e, "-").concat(n.tag, "-").concat(a));
35
+ })) : /* @__PURE__ */ h.createElement(n.tag, l({
36
+ key: e
37
+ }, k(n.attrs)), (n.children || []).map(function(r, a) {
38
+ return T(r, "".concat(e, "-").concat(n.tag, "-").concat(a));
39
+ }));
40
+ }
41
+ function R(n) {
42
+ return L(n)[0];
43
+ }
44
+ function z(n) {
45
+ return n ? Array.isArray(n) ? n : [n] : [];
46
+ }
47
+ var Q = `
48
+ .anticon {
49
+ display: inline-flex;
50
+ align-items: center;
51
+ color: inherit;
52
+ font-style: normal;
53
+ line-height: 0;
54
+ text-align: center;
55
+ text-transform: none;
56
+ vertical-align: -0.125em;
57
+ text-rendering: optimizeLegibility;
58
+ -webkit-font-smoothing: antialiased;
59
+ -moz-osx-font-smoothing: grayscale;
60
+ }
61
+
62
+ .anticon > * {
63
+ line-height: 1;
64
+ }
65
+
66
+ .anticon svg {
67
+ display: inline-block;
68
+ }
69
+
70
+ .anticon::before {
71
+ display: none;
72
+ }
73
+
74
+ .anticon .anticon-icon {
75
+ display: block;
76
+ }
77
+
78
+ .anticon[tabindex] {
79
+ cursor: pointer;
80
+ }
81
+
82
+ .anticon-spin::before,
83
+ .anticon-spin {
84
+ display: inline-block;
85
+ -webkit-animation: loadingCircle 1s infinite linear;
86
+ animation: loadingCircle 1s infinite linear;
87
+ }
88
+
89
+ @-webkit-keyframes loadingCircle {
90
+ 100% {
91
+ -webkit-transform: rotate(360deg);
92
+ transform: rotate(360deg);
93
+ }
94
+ }
95
+
96
+ @keyframes loadingCircle {
97
+ 100% {
98
+ -webkit-transform: rotate(360deg);
99
+ transform: rotate(360deg);
100
+ }
101
+ }
102
+ `, V = function(e) {
103
+ var o = G(I), r = o.csp, a = o.prefixCls, c = o.layer, t = Q;
104
+ a && (t = t.replace(/anticon/g, a)), c && (t = "@layer ".concat(c, ` {
105
+ `).concat(t, `
106
+ }`)), H(function() {
107
+ var s = e.current, d = J(s);
108
+ U(t, "@ant-design-icons", {
109
+ prepend: !0,
110
+ csp: r,
111
+ attachTo: d
112
+ });
113
+ }, []);
114
+ }, X = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], C = {
115
+ primaryColor: "#333",
116
+ secondaryColor: "#E6E6E6",
117
+ calculated: !1
118
+ };
119
+ function Y(n) {
120
+ var e = n.primaryColor, o = n.secondaryColor;
121
+ C.primaryColor = e, C.secondaryColor = o || R(e), C.calculated = !!o;
122
+ }
123
+ function Z() {
124
+ return l({}, C);
125
+ }
126
+ var f = function(e) {
127
+ var o = e.icon, r = e.className, a = e.onClick, c = e.style, t = e.primaryColor, s = e.secondaryColor, d = N(e, X), y = u.useRef(), m = C;
128
+ if (t && (m = {
129
+ primaryColor: t,
130
+ secondaryColor: s || R(t)
131
+ }), V(y), M(_(o), "icon should be icon definiton, but got ".concat(o)), !_(o))
132
+ return null;
133
+ var i = o;
134
+ return i && typeof i.icon == "function" && (i = l(l({}, i), {}, {
135
+ icon: i.icon(m.primaryColor, m.secondaryColor)
136
+ })), T(i.icon, "svg-".concat(i.name), l(l({
137
+ className: r,
138
+ onClick: a,
139
+ style: c,
140
+ "data-icon": i.name,
141
+ width: "1em",
142
+ height: "1em",
143
+ fill: "currentColor",
144
+ "aria-hidden": "true"
145
+ }, d), {}, {
146
+ ref: y
147
+ }));
148
+ };
149
+ f.displayName = "IconReact";
150
+ f.getTwoToneColors = Z;
151
+ f.setTwoToneColors = Y;
152
+ function E(n) {
153
+ var e = z(n), o = S(e, 2), r = o[0], a = o[1];
154
+ return f.setTwoToneColors({
155
+ primaryColor: r,
156
+ secondaryColor: a
157
+ });
158
+ }
159
+ function nn() {
160
+ var n = f.getTwoToneColors();
161
+ return n.calculated ? [n.primaryColor, n.secondaryColor] : n.primaryColor;
162
+ }
163
+ var en = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
164
+ E(W.primary);
165
+ var v = /* @__PURE__ */ u.forwardRef(function(n, e) {
166
+ var o = n.className, r = n.icon, a = n.spin, c = n.rotate, t = n.tabIndex, s = n.onClick, d = n.twoToneColor, y = N(n, en), m = u.useContext(I), i = m.prefixCls, g = i === void 0 ? "anticon" : i, j = m.rootClassName, A = q(j, g, x(x({}, "".concat(g, "-").concat(r.name), !!r.name), "".concat(g, "-spin"), !!a || r.name === "loading"), o), p = t;
167
+ p === void 0 && s && (p = -1);
168
+ var $ = c ? {
169
+ msTransform: "rotate(".concat(c, "deg)"),
170
+ transform: "rotate(".concat(c, "deg)")
171
+ } : void 0, P = z(d), w = S(P, 2), B = w[0], O = w[1];
172
+ return /* @__PURE__ */ u.createElement("span", F({
173
+ role: "img",
174
+ "aria-label": r.name
175
+ }, y, {
176
+ ref: e,
177
+ tabIndex: p,
178
+ onClick: s,
179
+ className: A
180
+ }), /* @__PURE__ */ u.createElement(f, {
181
+ icon: r,
182
+ primaryColor: B,
183
+ secondaryColor: O,
184
+ style: $
185
+ }));
186
+ });
187
+ v.displayName = "AntdIcon";
188
+ v.getTwoToneColor = nn;
189
+ v.setTwoToneColor = E;
190
+ export {
191
+ v as I
192
+ };
@@ -0,0 +1,13 @@
1
+ import { d as l } from "./presets-Djh_L_6R.js";
2
+ import * as e from "react";
3
+ import { I as a } from "./AntdIcon-nCNB0J1E.js";
4
+ var i = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, name: "check-circle", theme: "filled" }, t = function(c, r) {
5
+ return /* @__PURE__ */ e.createElement(a, l({}, c, {
6
+ ref: r,
7
+ icon: i
8
+ }));
9
+ }, o = /* @__PURE__ */ e.forwardRef(t);
10
+ process.env.NODE_ENV !== "production" && (o.displayName = "CheckCircleFilled");
11
+ export {
12
+ o as R
13
+ };
@@ -1,6 +1,6 @@
1
- import { a as c } from "./warning-C63HNL9U.js";
1
+ import { d as c } from "./presets-Djh_L_6R.js";
2
2
  import * as e from "react";
3
- import { I as r } from "./AntdIcon-BoLh1dP8.js";
3
+ import { I as r } from "./AntdIcon-nCNB0J1E.js";
4
4
  var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" }, n = function(t, a) {
5
5
  return /* @__PURE__ */ e.createElement(r, c({}, t, {
6
6
  ref: a,
@@ -1,6 +1,6 @@
1
- import { a as c } from "./warning-C63HNL9U.js";
1
+ import { d as c } from "./presets-Djh_L_6R.js";
2
2
  import * as e from "react";
3
- import { I as r } from "./AntdIcon-BoLh1dP8.js";
3
+ import { I as r } from "./AntdIcon-nCNB0J1E.js";
4
4
  var o = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" }, i = function(l, a) {
5
5
  return /* @__PURE__ */ e.createElement(r, c({}, l, {
6
6
  ref: a,
@@ -1,6 +1,6 @@
1
- import { a as l } from "./warning-C63HNL9U.js";
1
+ import { d as l } from "./presets-Djh_L_6R.js";
2
2
  import * as e from "react";
3
- import { I as o } from "./AntdIcon-BoLh1dP8.js";
3
+ import { I as o } from "./AntdIcon-nCNB0J1E.js";
4
4
  var t = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" }, r = function(a, c) {
5
5
  return /* @__PURE__ */ e.createElement(o, l({}, a, {
6
6
  ref: c,
@@ -1,12 +1,10 @@
1
- import * as r from "react";
2
- import g from "react";
3
- import { c as S } from "./warning-C63HNL9U.js";
4
- import { t as w } from "./isVisible-A-IfeFoT.js";
5
- import { S as O, g as N, m as P, C as D } from "./index-oK7z6jnz.js";
6
- const L = (e) => {
7
- const t = g.useContext(O);
8
- return g.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
9
- }, M = (e) => {
1
+ import * as o from "react";
2
+ import { e as g } from "./presets-Djh_L_6R.js";
3
+ import { t as h } from "./toArray-DGvPoJP_.js";
4
+ import { g as w, m as O, C as N } from "./index-ByspLxrB.js";
5
+ import { u as P } from "./useSize-CPo2bUE3.js";
6
+ import "./index-DLdU7Tpd.js";
7
+ const D = (e) => {
10
8
  const {
11
9
  componentCls: t
12
10
  } = e;
@@ -21,7 +19,7 @@ const L = (e) => {
21
19
  }
22
20
  }
23
21
  };
24
- }, _ = (e) => {
22
+ }, L = (e) => {
25
23
  const {
26
24
  componentCls: t,
27
25
  antCls: n
@@ -59,7 +57,7 @@ const L = (e) => {
59
57
  }
60
58
  }
61
59
  };
62
- }, j = (e) => {
60
+ }, M = (e) => {
63
61
  const {
64
62
  componentCls: t
65
63
  } = e;
@@ -85,27 +83,27 @@ const L = (e) => {
85
83
  }
86
84
  }
87
85
  };
88
- }, E = N("Space", (e) => {
89
- const t = P(e, {
86
+ }, j = w("Space", (e) => {
87
+ const t = O(e, {
90
88
  spaceGapSmallSize: e.paddingXS,
91
89
  spaceGapMiddleSize: e.padding,
92
90
  spaceGapLargeSize: e.paddingLG
93
91
  });
94
- return [_(t), j(t), M(t)];
92
+ return [L(t), M(t), D(t)];
95
93
  }, () => ({}), {
96
94
  // Space component don't apply extra font style
97
95
  // https://github.com/ant-design/ant-design/issues/40315
98
96
  resetStyle: !1
99
97
  });
100
- var C = function(e, t) {
98
+ var S = function(e, t) {
101
99
  var n = {};
102
100
  for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
103
101
  if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var c = 0, a = Object.getOwnPropertySymbols(e); c < a.length; c++)
104
102
  t.indexOf(a[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[c]) && (n[a[c]] = e[a[c]]);
105
103
  return n;
106
104
  };
107
- const p = /* @__PURE__ */ r.createContext(null), T = (e, t) => {
108
- const n = r.useContext(p), a = r.useMemo(() => {
105
+ const p = /* @__PURE__ */ o.createContext(null), R = (e, t) => {
106
+ const n = o.useContext(p), a = o.useMemo(() => {
109
107
  if (!n)
110
108
  return "";
111
109
  const {
@@ -113,7 +111,7 @@ const p = /* @__PURE__ */ r.createContext(null), T = (e, t) => {
113
111
  isFirstItem: d,
114
112
  isLastItem: u
115
113
  } = n, l = c === "vertical" ? "-vertical-" : "-";
116
- return S(`${e}-compact${l}item`, {
114
+ return g(`${e}-compact${l}item`, {
117
115
  [`${e}-compact${l}first-item`]: d,
118
116
  [`${e}-compact${l}last-item`]: u,
119
117
  [`${e}-compact${l}item-rtl`]: t === "rtl"
@@ -124,54 +122,53 @@ const p = /* @__PURE__ */ r.createContext(null), T = (e, t) => {
124
122
  compactDirection: n == null ? void 0 : n.compactDirection,
125
123
  compactItemClassnames: a
126
124
  };
127
- }, V = (e) => {
125
+ }, T = (e) => {
128
126
  const {
129
127
  children: t
130
128
  } = e;
131
- return /* @__PURE__ */ r.createElement(p.Provider, {
129
+ return /* @__PURE__ */ o.createElement(p.Provider, {
132
130
  value: null
133
131
  }, t);
134
- }, F = (e) => {
132
+ }, E = (e) => {
135
133
  const {
136
134
  children: t
137
- } = e, n = C(e, ["children"]);
138
- return /* @__PURE__ */ r.createElement(p.Provider, {
139
- value: r.useMemo(() => n, [n])
135
+ } = e, n = S(e, ["children"]);
136
+ return /* @__PURE__ */ o.createElement(p.Provider, {
137
+ value: o.useMemo(() => n, [n])
140
138
  }, t);
141
- }, X = (e) => {
139
+ }, V = (e) => {
142
140
  const {
143
141
  getPrefixCls: t,
144
142
  direction: n
145
- } = r.useContext(D), {
143
+ } = o.useContext(N), {
146
144
  size: a,
147
145
  direction: c,
148
146
  block: d,
149
147
  prefixCls: u,
150
148
  className: l,
151
- rootClassName: y,
152
- children: x
153
- } = e, I = C(e, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]), b = L((i) => a ?? i), s = t("space-compact", u), [G, $] = E(s), v = S(s, $, {
149
+ rootClassName: C,
150
+ children: y
151
+ } = e, x = S(e, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]), I = P((i) => a ?? i), s = t("space-compact", u), [z, G] = j(s), b = g(s, G, {
154
152
  [`${s}-rtl`]: n === "rtl",
155
153
  [`${s}-block`]: d,
156
154
  [`${s}-vertical`]: c === "vertical"
157
- }, l, y), o = r.useContext(p), m = w(x), z = r.useMemo(() => m.map((i, f) => {
158
- const h = (i == null ? void 0 : i.key) || `${s}-item-${f}`;
159
- return /* @__PURE__ */ r.createElement(F, {
160
- key: h,
161
- compactSize: b,
155
+ }, l, C), r = o.useContext(p), m = h(y), $ = o.useMemo(() => m.map((i, f) => {
156
+ const v = (i == null ? void 0 : i.key) || `${s}-item-${f}`;
157
+ return /* @__PURE__ */ o.createElement(E, {
158
+ key: v,
159
+ compactSize: I,
162
160
  compactDirection: c,
163
- isFirstItem: f === 0 && (!o || (o == null ? void 0 : o.isFirstItem)),
164
- isLastItem: f === m.length - 1 && (!o || (o == null ? void 0 : o.isLastItem))
161
+ isFirstItem: f === 0 && (!r || (r == null ? void 0 : r.isFirstItem)),
162
+ isLastItem: f === m.length - 1 && (!r || (r == null ? void 0 : r.isLastItem))
165
163
  }, i);
166
- }), [a, m, o]);
167
- return m.length === 0 ? null : G(/* @__PURE__ */ r.createElement("div", Object.assign({
168
- className: v
169
- }, I), z));
164
+ }), [a, m, r]);
165
+ return m.length === 0 ? null : z(/* @__PURE__ */ o.createElement("div", Object.assign({
166
+ className: b
167
+ }, x), $));
170
168
  };
171
169
  export {
172
- X as C,
173
- V as N,
174
- L as a,
175
- T as b,
176
- E as u
170
+ V as C,
171
+ T as N,
172
+ j as a,
173
+ R as u
177
174
  };
@@ -1,6 +1,6 @@
1
1
  import r from "react";
2
- import { N as a } from "./context-BMW3aJEf.js";
3
- import { N as m } from "./Compact-CGY560JF.js";
2
+ import { N as a } from "./context-Cx7GtZpz.js";
3
+ import { N as m } from "./Compact-DBh6nSYB.js";
4
4
  const i = (o) => {
5
5
  const {
6
6
  space: l,
@@ -1,17 +1,11 @@
1
- import { a as K } from "./warning-C63HNL9U.js";
1
+ import { n as K, C as x } from "./index-ByspLxrB.js";
2
2
  import * as t from "react";
3
- import { I as x } from "./AntdIcon-BoLh1dP8.js";
4
- import { a as E, C as j } from "./index-oK7z6jnz.js";
5
- import { K as r, i as D } from "./index-CfDY25LP.js";
6
- import { u as $ } from "./isVisible-A-IfeFoT.js";
7
- var z = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" }, L = function(n, s) {
8
- return /* @__PURE__ */ t.createElement(x, K({}, n, {
9
- ref: s,
10
- icon: z
11
- }));
12
- }, S = /* @__PURE__ */ t.forwardRef(L);
13
- process.env.NODE_ENV !== "production" && (S.displayName = "DownOutlined");
14
- const U = new r("antMoveDownIn", {
3
+ import { d as E } from "./presets-Djh_L_6R.js";
4
+ import { K as r } from "./Keyframes-sPZXYuXt.js";
5
+ import { i as j } from "./index-DWUXwgXK.js";
6
+ import { u as D } from "./useMergedState-BoELfaU9.js";
7
+ import { I as $ } from "./AntdIcon-nCNB0J1E.js";
8
+ const z = new r("antMoveDownIn", {
15
9
  "0%": {
16
10
  transform: "translate3d(0, 100%, 0)",
17
11
  transformOrigin: "0 0",
@@ -22,7 +16,7 @@ const U = new r("antMoveDownIn", {
22
16
  transformOrigin: "0 0",
23
17
  opacity: 1
24
18
  }
25
- }), W = new r("antMoveDownOut", {
19
+ }), L = new r("antMoveDownOut", {
26
20
  "0%": {
27
21
  transform: "translate3d(0, 0, 0)",
28
22
  transformOrigin: "0 0",
@@ -33,7 +27,7 @@ const U = new r("antMoveDownIn", {
33
27
  transformOrigin: "0 0",
34
28
  opacity: 0
35
29
  }
36
- }), B = new r("antMoveLeftIn", {
30
+ }), S = new r("antMoveLeftIn", {
37
31
  "0%": {
38
32
  transform: "translate3d(-100%, 0, 0)",
39
33
  transformOrigin: "0 0",
@@ -44,7 +38,7 @@ const U = new r("antMoveDownIn", {
44
38
  transformOrigin: "0 0",
45
39
  opacity: 1
46
40
  }
47
- }), H = new r("antMoveLeftOut", {
41
+ }), U = new r("antMoveLeftOut", {
48
42
  "0%": {
49
43
  transform: "translate3d(0, 0, 0)",
50
44
  transformOrigin: "0 0",
@@ -55,7 +49,7 @@ const U = new r("antMoveDownIn", {
55
49
  transformOrigin: "0 0",
56
50
  opacity: 0
57
51
  }
58
- }), T = new r("antMoveRightIn", {
52
+ }), W = new r("antMoveRightIn", {
59
53
  "0%": {
60
54
  transform: "translate3d(100%, 0, 0)",
61
55
  transformOrigin: "0 0",
@@ -66,7 +60,7 @@ const U = new r("antMoveDownIn", {
66
60
  transformOrigin: "0 0",
67
61
  opacity: 1
68
62
  }
69
- }), _ = new r("antMoveRightOut", {
63
+ }), B = new r("antMoveRightOut", {
70
64
  "0%": {
71
65
  transform: "translate3d(0, 0, 0)",
72
66
  transformOrigin: "0 0",
@@ -77,7 +71,7 @@ const U = new r("antMoveDownIn", {
77
71
  transformOrigin: "0 0",
78
72
  opacity: 0
79
73
  }
80
- }), F = new r("antMoveUpIn", {
74
+ }), H = new r("antMoveUpIn", {
81
75
  "0%": {
82
76
  transform: "translate3d(0, -100%, 0)",
83
77
  transformOrigin: "0 0",
@@ -88,7 +82,7 @@ const U = new r("antMoveDownIn", {
88
82
  transformOrigin: "0 0",
89
83
  opacity: 1
90
84
  }
91
- }), q = new r("antMoveUpOut", {
85
+ }), T = new r("antMoveUpOut", {
92
86
  "0%": {
93
87
  transform: "translate3d(0, 0, 0)",
94
88
  transformOrigin: "0 0",
@@ -99,31 +93,31 @@ const U = new r("antMoveDownIn", {
99
93
  transformOrigin: "0 0",
100
94
  opacity: 0
101
95
  }
102
- }), N = {
96
+ }), _ = {
103
97
  "move-up": {
104
- inKeyframes: F,
105
- outKeyframes: q
98
+ inKeyframes: H,
99
+ outKeyframes: T
106
100
  },
107
101
  "move-down": {
108
- inKeyframes: U,
109
- outKeyframes: W
102
+ inKeyframes: z,
103
+ outKeyframes: L
110
104
  },
111
105
  "move-left": {
112
- inKeyframes: B,
113
- outKeyframes: H
106
+ inKeyframes: S,
107
+ outKeyframes: U
114
108
  },
115
109
  "move-right": {
116
- inKeyframes: T,
117
- outKeyframes: _
110
+ inKeyframes: W,
111
+ outKeyframes: B
118
112
  }
119
- }, Q = (e, n) => {
113
+ }, Z = (e, n) => {
120
114
  const {
121
115
  antCls: s
122
116
  } = e, o = `${s}-${n}`, {
123
117
  inKeyframes: i,
124
118
  outKeyframes: l
125
- } = N[n];
126
- return [D(o, i, l, e.motionDurationMid), {
119
+ } = _[n];
120
+ return [j(o, i, l, e.motionDurationMid), {
127
121
  [`
128
122
  ${o}-enter,
129
123
  ${o}-appear
@@ -136,8 +130,8 @@ const U = new r("antMoveDownIn", {
136
130
  }
137
131
  }];
138
132
  };
139
- function V(e) {
140
- return (n) => /* @__PURE__ */ t.createElement(E, {
133
+ function F(e) {
134
+ return (n) => /* @__PURE__ */ t.createElement(K, {
141
135
  theme: {
142
136
  token: {
143
137
  motion: !1,
@@ -146,15 +140,15 @@ function V(e) {
146
140
  }
147
141
  }, /* @__PURE__ */ t.createElement(e, Object.assign({}, n)));
148
142
  }
149
- const Z = (e, n, s, o, i) => V((f) => {
143
+ const k = (e, n, s, o, i) => F((f) => {
150
144
  const {
151
145
  prefixCls: y,
152
146
  style: w
153
- } = f, c = t.useRef(null), [h, I] = t.useState(0), [M, P] = t.useState(0), [u, C] = $(!1, {
147
+ } = f, c = t.useRef(null), [h, I] = t.useState(0), [M, P] = t.useState(0), [u, C] = D(!1, {
154
148
  value: f.open
155
149
  }), {
156
150
  getPrefixCls: b
157
- } = t.useContext(j), p = b(o || "select", y);
151
+ } = t.useContext(x), p = b(o || "select", y);
158
152
  t.useEffect(() => {
159
153
  if (C(!0), typeof ResizeObserver < "u") {
160
154
  const g = new ResizeObserver((a) => {
@@ -196,8 +190,16 @@ const Z = (e, n, s, o, i) => V((f) => {
196
190
  style: R
197
191
  }, /* @__PURE__ */ t.createElement(e, Object.assign({}, d)));
198
192
  });
193
+ var q = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" }, N = function(n, s) {
194
+ return /* @__PURE__ */ t.createElement($, E({}, n, {
195
+ ref: s,
196
+ icon: q
197
+ }));
198
+ }, V = /* @__PURE__ */ t.forwardRef(N);
199
+ process.env.NODE_ENV !== "production" && (V.displayName = "DownOutlined");
199
200
  export {
200
- S as R,
201
- Z as g,
202
- Q as i
201
+ V as R,
202
+ k as g,
203
+ Z as i,
204
+ F as w
203
205
  };