@gobolt/genesis 0.0.10 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (438) hide show
  1. package/README.md +8 -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/ClockCircleOutlined-BaXQuLIn.js +13 -0
  6. package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
  7. package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
  8. package/dist/{Compact-CGY560JF.js → Compact-Du9689ax.js} +41 -44
  9. package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-BmfhJgG0.js} +2 -2
  10. package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-Dcq69ZKM.js} +42 -40
  11. package/dist/{index-C8haFnXI.js → EllipsisOutlined-DGMph0Bj.js} +138 -135
  12. package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
  13. package/dist/Keyframes-C9_aCDvn.js +17 -0
  14. package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
  15. package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
  16. package/dist/{Overflow-PBZD-PFm.js → Overflow-DWf4XIal.js} +62 -61
  17. package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
  18. package/dist/Skeleton-BVN4pcVe.js +560 -0
  19. package/dist/TextArea-Bkf9hh7l.js +708 -0
  20. package/dist/Typography-CoZ5qD-t.js +705 -0
  21. package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
  22. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  23. package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
  24. package/dist/{button-CDQgO1OK.js → button-BwqpCxVM.js} +127 -116
  25. package/dist/clsx-OuTLNxxd.js +16 -0
  26. package/dist/components/Avatar/Avatar.d.ts +12 -0
  27. package/dist/components/Avatar/Avatar.js +61 -0
  28. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
  29. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  30. package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
  31. package/dist/components/Avatar/index.d.ts +2 -0
  32. package/dist/components/Avatar/index.js +4 -0
  33. package/dist/components/Avatar/styles.d.ts +18 -0
  34. package/dist/components/Avatar/styles.js +326 -0
  35. package/dist/components/Badge/Badge.d.ts +5 -3
  36. package/dist/components/Badge/Badge.js +67 -100
  37. package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
  38. package/dist/components/Badge/__tests__/Badge.test.js +9 -10
  39. package/dist/components/Badge/styles.d.ts +12 -3
  40. package/dist/components/Badge/styles.js +30 -27
  41. package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
  42. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  43. package/dist/components/Breadcrumb/styles.js +239 -2260
  44. package/dist/components/Button/Button.d.ts +4 -3
  45. package/dist/components/Button/Button.js +10 -6
  46. package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
  47. package/dist/components/Button/__tests__/Button.test.js +1 -1
  48. package/dist/components/Button/styles.d.ts +2 -2
  49. package/dist/components/Button/styles.js +20 -17
  50. package/dist/components/Card/Card.d.ts +9 -0
  51. package/dist/components/Card/Card.js +16 -0
  52. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  53. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  54. package/dist/components/Card/__tests__/Card.test.js +16 -0
  55. package/dist/components/Card/index.d.ts +2 -0
  56. package/dist/components/Card/index.js +4 -0
  57. package/dist/components/Card/styles.d.ts +16 -0
  58. package/dist/components/Card/styles.js +12 -0
  59. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  60. package/dist/components/Checkbox/Checkbox.js +28 -16
  61. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  62. package/dist/components/Checkbox/styles.js +22 -457
  63. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  64. package/dist/components/Dashboard/Dashboard.js +5 -0
  65. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
  66. package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
  67. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
  68. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  69. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
  70. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  71. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
  72. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
  73. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
  74. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  75. package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
  76. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  77. package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
  78. package/dist/components/Dashboard/index.d.ts +2 -0
  79. package/dist/components/Dashboard/index.js +4 -0
  80. package/dist/components/Dashboard/styles.d.ts +14 -0
  81. package/dist/components/Dashboard/styles.js +11 -0
  82. package/dist/components/DatePicker/DatePicker.d.ts +6 -0
  83. package/dist/components/DatePicker/DatePicker.js +5 -0
  84. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
  85. package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
  86. package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
  87. package/dist/components/DatePicker/index.d.ts +2 -0
  88. package/dist/components/DatePicker/index.js +4 -0
  89. package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
  90. package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
  91. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
  92. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
  93. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
  94. package/dist/components/DateRangePicker/index.d.ts +2 -0
  95. package/dist/components/DateRangePicker/index.js +4 -0
  96. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
  97. package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
  98. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
  99. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  100. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
  101. package/dist/components/ErrorBoundary/index.d.ts +2 -0
  102. package/dist/components/ErrorBoundary/index.js +4 -0
  103. package/dist/components/ErrorBoundary/styles.d.ts +14 -0
  104. package/dist/components/ErrorBoundary/styles.js +11 -0
  105. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
  106. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
  107. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
  108. package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
  109. package/dist/components/Form/Form.js +3 -3
  110. package/dist/components/Form/__stories__/FormStory.js +127 -50
  111. package/dist/components/Form/__tests__/form.test.js +2 -2
  112. package/dist/components/Form/index.js +1 -1
  113. package/dist/components/Form/styles.js +1 -1
  114. package/dist/components/Glyph/Glyph.d.ts +4 -0
  115. package/dist/components/Glyph/Glyph.js +9 -0
  116. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
  117. package/dist/components/Glyph/index.d.ts +2 -0
  118. package/dist/components/Glyph/index.js +4 -0
  119. package/dist/components/Glyph/styles.d.ts +14 -0
  120. package/dist/components/Glyph/styles.js +11 -0
  121. package/dist/components/Input/Input.d.ts +1 -2
  122. package/dist/components/Input/Input.js +14 -10
  123. package/dist/components/Input/__tests__/Input.test.js +1 -1
  124. package/dist/components/Input/styles.js +58 -466
  125. package/dist/components/Layout/Content/Content.d.ts +11 -0
  126. package/dist/components/Layout/Content/Content.js +32 -0
  127. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  128. package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
  129. package/dist/components/Layout/Content/index.d.ts +2 -0
  130. package/dist/components/Layout/Content/index.js +4 -0
  131. package/dist/components/Layout/Content/styles.d.ts +11 -0
  132. package/dist/components/Layout/Content/styles.js +16 -0
  133. package/dist/components/Layout/Layout.d.ts +8 -0
  134. package/dist/components/Layout/Layout.js +6 -0
  135. package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
  136. package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
  137. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
  138. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  139. package/dist/components/Layout/MainLayout/index.js +4 -0
  140. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  141. package/dist/components/Layout/MainLayout/styles.js +69 -0
  142. package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
  143. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  144. package/dist/components/Layout/__tests__/Layout.test.js +14 -0
  145. package/dist/components/Layout/index.d.ts +2 -0
  146. package/dist/components/Layout/index.js +4 -0
  147. package/dist/components/Message/Message.d.ts +6 -4
  148. package/dist/components/Message/Message.js +70 -43
  149. package/dist/components/Message/__tests__/Message.test.js +1 -1
  150. package/dist/components/Message/styles.d.ts +1 -0
  151. package/dist/components/Message/styles.js +15 -11
  152. package/dist/components/Notification/Notification.js +145 -120
  153. package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
  154. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
  155. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
  156. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  157. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
  158. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  159. package/dist/components/Notification/NotificationBadge/index.js +4 -0
  160. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
  161. package/dist/components/Notification/NotificationBadge/styles.js +34 -0
  162. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  163. package/dist/components/Notification/styles.d.ts +1 -1
  164. package/dist/components/Notification/styles.js +1 -1
  165. package/dist/components/Popover/Popover.d.ts +10 -0
  166. package/dist/components/Popover/Popover.js +21 -0
  167. package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
  168. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  169. package/dist/components/Popover/__tests__/Popover.test.js +40 -0
  170. package/dist/components/Popover/index.d.ts +2 -0
  171. package/dist/components/Popover/index.js +4 -0
  172. package/dist/components/Popover/styles.d.ts +15 -0
  173. package/dist/components/Popover/styles.js +6 -0
  174. package/dist/components/Progress/Progress.d.ts +18 -0
  175. package/dist/components/Progress/Progress.js +91 -0
  176. package/dist/components/Progress/Progress.util.d.ts +4 -0
  177. package/dist/components/Progress/Progress.util.js +62 -0
  178. package/dist/components/Progress/ProgressText.d.ts +11 -0
  179. package/dist/components/Progress/ProgressText.js +67 -0
  180. package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
  181. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  182. package/dist/components/Progress/__tests__/Progress.test.js +21 -0
  183. package/dist/components/Progress/index.d.ts +2 -0
  184. package/dist/components/Progress/index.js +4 -0
  185. package/dist/components/Progress/styles.d.ts +17 -0
  186. package/dist/components/Progress/styles.js +793 -0
  187. package/dist/components/Radio/Radio.js +22 -6
  188. package/dist/components/Radio/RadioGroup.js +1 -1
  189. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  190. package/dist/components/Radio/index.d.ts +1 -0
  191. package/dist/components/Row/Row.d.ts +14 -0
  192. package/dist/components/Row/Row.js +38 -0
  193. package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
  194. package/dist/components/Row/RowActions/RowActions.js +59 -0
  195. package/dist/components/Row/RowActions/styles.d.ts +2 -0
  196. package/dist/components/Row/RowActions/styles.js +32 -0
  197. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
  198. package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
  199. package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
  200. package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
  201. package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
  202. package/dist/components/Row/RowLabelValue/styles.js +25 -0
  203. package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
  204. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  205. package/dist/components/Row/__tests__/Row.test.js +16 -0
  206. package/dist/components/Row/index.d.ts +2 -0
  207. package/dist/components/Row/index.js +4 -0
  208. package/dist/components/Row/styles.d.ts +15 -0
  209. package/dist/components/Row/styles.js +15 -0
  210. package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
  211. package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
  212. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
  213. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  214. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
  215. package/dist/components/SegmentedControls/index.d.ts +2 -0
  216. package/dist/components/SegmentedControls/index.js +4 -0
  217. package/dist/components/SegmentedControls/styles.d.ts +12 -0
  218. package/dist/components/SegmentedControls/styles.js +511 -0
  219. package/dist/components/Select/Select.d.ts +2 -4
  220. package/dist/components/Select/Select.js +12 -11
  221. package/dist/components/Select/__tests__/Select.test.js +1 -1
  222. package/dist/components/Select/styles.js +39 -3654
  223. package/dist/components/Shapes/Shapes.d.ts +6 -0
  224. package/dist/components/Shapes/Shapes.js +8 -0
  225. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
  226. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  227. package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
  228. package/dist/components/Shapes/index.d.ts +2 -0
  229. package/dist/components/Shapes/index.js +4 -0
  230. package/dist/components/Shapes/variants/Circle.d.ts +5 -0
  231. package/dist/components/Shapes/variants/Circle.js +23 -0
  232. package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
  233. package/dist/components/Shapes/variants/Rectangle.js +23 -0
  234. package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
  235. package/dist/components/Shapes/variants/Triangle.js +23 -0
  236. package/dist/components/Switch/Switch.d.ts +9 -0
  237. package/dist/components/Switch/Switch.js +22 -0
  238. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  239. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  240. package/dist/components/Switch/__tests__/Switch.test.js +25 -0
  241. package/dist/components/Switch/index.d.ts +2 -0
  242. package/dist/components/Switch/index.js +4 -0
  243. package/dist/components/Switch/styles.d.ts +9 -0
  244. package/dist/components/Switch/styles.js +456 -0
  245. package/dist/components/Table/Table.d.ts +15 -0
  246. package/dist/components/Table/Table.js +23 -0
  247. package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
  248. package/dist/components/Table/__mocks__/table-mocks.js +321 -0
  249. package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
  250. package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
  251. package/dist/components/Table/__tests__/Table.test.js +34 -0
  252. package/dist/components/Table/index.d.ts +2 -0
  253. package/dist/components/Table/index.js +4 -0
  254. package/dist/components/Table/styles.d.ts +8 -0
  255. package/dist/components/Table/styles.js +6 -0
  256. package/dist/components/Tabs/Tabs.d.ts +10 -0
  257. package/dist/components/Tabs/Tabs.js +23 -0
  258. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
  259. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  260. package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
  261. package/dist/components/Tabs/index.d.ts +2 -0
  262. package/dist/components/Tabs/index.js +4 -0
  263. package/dist/components/Tabs/styles.d.ts +12 -0
  264. package/dist/components/Tabs/styles.js +102 -0
  265. package/dist/components/Tile/Tile.d.ts +10 -0
  266. package/dist/components/Tile/Tile.js +21 -0
  267. package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
  268. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  269. package/dist/components/Tile/__tests__/Tile.test.js +21 -0
  270. package/dist/components/Tile/index.d.ts +2 -0
  271. package/dist/components/Tile/index.js +4 -0
  272. package/dist/components/Tile/styles.d.ts +11 -0
  273. package/dist/components/Tile/styles.js +12 -0
  274. package/dist/components/Toast/Toast.js +23 -6
  275. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  276. package/dist/components/Toast/index.js +1 -1
  277. package/dist/components/Toast/styles.d.ts +0 -1
  278. package/dist/components/Toast/styles.js +14 -23
  279. package/dist/components/Tooltip/Tooltip.d.ts +7 -0
  280. package/dist/components/Tooltip/Tooltip.js +50 -0
  281. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
  282. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  283. package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
  284. package/dist/components/Tooltip/index.d.ts +2 -0
  285. package/dist/components/Tooltip/index.js +4 -0
  286. package/dist/components/Tooltip/styles.d.ts +20 -0
  287. package/dist/components/Tooltip/styles.js +11 -0
  288. package/dist/components/Typography/Typography.d.ts +5 -1
  289. package/dist/components/Typography/Typography.js +2 -2
  290. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  291. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  292. package/dist/components/Typography/index.js +1 -1
  293. package/dist/components/Typography/styles.d.ts +1 -0
  294. package/dist/components/Typography/styles.js +53 -17
  295. package/dist/components/index.d.ts +35 -1
  296. package/dist/components/index.js +58 -24
  297. package/dist/constants/index.d.ts +4 -0
  298. package/dist/constants/index.js +4 -2
  299. package/dist/{context-BMW3aJEf.js → context-DIFtNa4d.js} +230 -233
  300. package/dist/dropdown-Dp_PTQ2u.js +2045 -0
  301. package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
  302. package/dist/genesis/GenesisThemeBreakdown.js +101 -43
  303. package/dist/genesis/labs/Lab.stories.d.ts +6 -0
  304. package/dist/genesis/styles.js +7 -2923
  305. package/dist/iconBase-LROS5hdG.js +112 -0
  306. package/dist/index-BPVue1Yd.js +445 -0
  307. package/dist/{index-bKlRxQp4.js → index-BQM5OniU.js} +12 -12
  308. package/dist/index-BRUI9igj.js +11 -0
  309. package/dist/index-B_1Ge8na.js +1846 -0
  310. package/dist/{index-oK7z6jnz.js → index-BbTV2Cw5.js} +8641 -8798
  311. package/dist/index-BeGv28kJ.js +5173 -0
  312. package/dist/{index-1CBpubM3.js → index-BpZSuIUV.js} +45 -42
  313. package/dist/index-BvOLXELm.js +102 -0
  314. package/dist/index-CLSrpQRW.js +416 -0
  315. package/dist/index-CbVOl2U6.js +288 -0
  316. package/dist/index-D0U6r5O7.js +780 -0
  317. package/dist/index-DEu2PVzQ.js +538 -0
  318. package/dist/index-DLdU7Tpd.js +183 -0
  319. package/dist/index-DNQ-jnBx.js +3321 -0
  320. package/dist/index-DOsPeIWJ.js +1000 -0
  321. package/dist/{index-C0SmxWLS.js → index-DRGX1Wem.js} +136 -143
  322. package/dist/index-DWjq9XYj.js +899 -0
  323. package/dist/index.js +65 -31
  324. package/dist/interface/address.d.ts +10 -0
  325. package/dist/interface/address.js +1 -0
  326. package/dist/interface/appointment.d.ts +57 -0
  327. package/dist/interface/appointment.js +5 -0
  328. package/dist/interface/appointmentV2.d.ts +65 -0
  329. package/dist/interface/appointmentV2.js +1 -0
  330. package/dist/interface/appointmentsState.d.ts +21 -0
  331. package/dist/interface/appointmentsState.js +1 -0
  332. package/dist/interface/common.d.ts +2 -0
  333. package/dist/interface/common.js +1 -0
  334. package/dist/interface/completionData.d.ts +18 -0
  335. package/dist/interface/completionData.js +1 -0
  336. package/dist/interface/deliveryPartner.d.ts +25 -0
  337. package/dist/interface/deliveryPartner.js +1 -0
  338. package/dist/interface/organization.d.ts +9 -0
  339. package/dist/interface/organization.js +1 -0
  340. package/dist/interface/pagination.d.ts +8 -0
  341. package/dist/interface/pagination.js +1 -0
  342. package/dist/interface/roles.d.ts +9 -0
  343. package/dist/interface/roles.js +1 -0
  344. package/dist/interface/route.d.ts +73 -0
  345. package/dist/interface/route.js +1 -0
  346. package/dist/interface/routeAnalysis.d.ts +108 -0
  347. package/dist/interface/routeAnalysis.js +1 -0
  348. package/dist/interface/routeAutomationJob.d.ts +95 -0
  349. package/dist/interface/routeAutomationJob.js +10 -0
  350. package/dist/interface/routeAutomationLog.d.ts +10 -0
  351. package/dist/interface/routeAutomationLog.js +1 -0
  352. package/dist/interface/routeEvent.d.ts +55 -0
  353. package/dist/interface/routeEvent.js +5 -0
  354. package/dist/interface/serviceArea.d.ts +18 -0
  355. package/dist/interface/serviceArea.js +1 -0
  356. package/dist/interface/util.d.ts +3 -0
  357. package/dist/interface/util.js +1 -0
  358. package/dist/interface/vehicle.d.ts +120 -0
  359. package/dist/interface/vehicle.js +1 -0
  360. package/dist/interface/workOrder.d.ts +22 -0
  361. package/dist/interface/workOrder.js +1 -0
  362. package/dist/isVisible-D3-B85BJ.js +22 -0
  363. package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
  364. package/dist/motion-CUN72xsH.js +33 -0
  365. package/dist/omit-B_u6A-HL.js +9 -0
  366. package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
  367. package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
  368. package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
  369. package/dist/providers/BreakpointThemeProvider.js +21 -0
  370. package/dist/providers/GenesisProvider.js +3 -3
  371. package/dist/providers/ToastProvider.js +22 -6
  372. package/dist/providers/index.js +1 -1
  373. package/dist/providers/useGenesis.js +2 -2
  374. package/dist/responsiveObserver-dCkpy7Cb.js +73 -0
  375. package/dist/roundedArrow-DI_Q-xdU.js +65 -0
  376. package/dist/setup-CUbCc8fQ.js +24706 -0
  377. package/dist/setup.types-dBtAXXGp.js +8824 -0
  378. package/dist/shadow-BoMGMNn3.js +13 -0
  379. package/dist/styleChecker-Cotu61d0.js +21 -0
  380. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +29 -13
  381. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
  382. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
  383. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  384. package/dist/styles/theme/genesis-theme.js +398 -331
  385. package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
  386. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  387. package/dist/styles/theme/theme-tree/ThemeTree.js +1652 -0
  388. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
  389. package/dist/styles-CWdUpZom.js +289 -0
  390. package/dist/{styles-CT_fyXBd.js → styles-D1vKDy9V.js} +587 -643
  391. package/dist/styles-qerRs7Rn.js +9196 -0
  392. package/dist/test/setup.d.ts +2 -3
  393. package/dist/test/setup.js +87 -4
  394. package/dist/test/setup.types.d.ts +7 -0
  395. package/dist/test/setup.types.js +1 -0
  396. package/dist/toArray-U3Az44CO.js +11 -0
  397. package/dist/useBreakpoint-TkMv121M.js +22 -0
  398. package/dist/useCSSVarCls-Dau77fzS.js +11 -0
  399. package/dist/useIcons-Ck4JP1m9.js +321 -0
  400. package/dist/useId-D2tzlufo.js +26 -0
  401. package/dist/useLocale-CTfNpakL.js +16 -0
  402. package/dist/useMergedState-D6toxSxh.js +23 -0
  403. package/dist/useSize-DSq4r6zy.js +9 -0
  404. package/dist/{useVariants-DvhXfgJY.js → useVariants-DrLzUVLU.js} +3 -3
  405. package/dist/useZIndex-DhyHuZTN.js +44 -0
  406. package/dist/utils/icon-util.d.ts +2 -0
  407. package/dist/utils/icon-util.js +89 -0
  408. package/package.json +27 -15
  409. package/dist/AntdIcon-BoLh1dP8.js +0 -202
  410. package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
  411. package/dist/TextArea-DKwCct3i.js +0 -1690
  412. package/dist/Typography-aGoDUl4R.js +0 -710
  413. package/dist/index-BZAhCB_K.js +0 -97
  414. package/dist/index-CfDY25LP.js +0 -873
  415. package/dist/index-DPW8XdWj.js +0 -952
  416. package/dist/isVisible-A-IfeFoT.js +0 -367
  417. package/dist/providers/ThemeProvider.d.ts +0 -9
  418. package/dist/providers/ThemeProvider.js +0 -21
  419. package/dist/setup-BvfREoHl.js +0 -33891
  420. package/dist/useLocale-DT-z_vQ6.js +0 -16
  421. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
  422. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
  423. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
  424. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
  425. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
  426. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
  427. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
  428. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
  429. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
  430. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
  431. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
  432. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
  433. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
  434. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
  435. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
  436. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
  437. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
  438. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
@@ -1,5 +1,4 @@
1
1
  import { RenderResult } from '@testing-library/react';
2
- import { ReactElement } from 'react';
3
2
 
4
- declare const customRender: (ui: ReactElement) => RenderResult;
5
- export { customRender };
3
+ export declare const customRender: (ui: React.ReactElement) => RenderResult;
4
+ export * from '@testing-library/react';
@@ -1,8 +1,91 @@
1
1
  import "react/jsx-runtime";
2
- import { a as e } from "../setup-BvfREoHl.js";
2
+ import { j as i, q as B, c as u, k as o, t as n, a as T, u as d, x as g, y as A, z as x, A as f, B as q, C as p, D as m, E as c, F as b, G as R, H as h, I as D, J as E, K as Q, L as I, f as w, M as F, N as L, O as P, P as V, Q as k, R as S, S as v, T as M, U as z, V as H, W as N, X as O, Y as W, Z as j, _ as C, $ as G, m as J, a0 as K, a1 as U, a2 as X, a3 as Y, a4 as Z, a5 as _, a6 as $, a7 as ee, a8 as ae, a9 as le, aa as se, ab as te, ac as ye, ad as re, o as ie, ae as Be, af as ue, ag as oe, ah as ne, ai as Te, aj as de, ak as ge, al as Ae, am as xe, an as fe, ao as qe, ap as pe, aq as me, ar as ce, as as be, at as Re, au as he, av as De, aw as Ee, ax as Qe, r as Ie, n as we, s as Fe, w as Le, ay as Pe, a4 as Ve, az as ke, aA as Se } from "../setup-CUbCc8fQ.js";
3
3
  import "../providers/GenesisProvider.js";
4
- import "../providers/ThemeProvider.js";
5
- import "../Typography-aGoDUl4R.js";
4
+ import "../providers/BreakpointThemeProvider.js";
5
+ import "../Typography-CoZ5qD-t.js";
6
+ import "../setup.types-dBtAXXGp.js";
6
7
  export {
7
- e as customRender
8
+ i as act,
9
+ B as buildQueries,
10
+ u as cleanup,
11
+ o as configure,
12
+ n as createEvent,
13
+ T as customRender,
14
+ d as findAllByAltText,
15
+ g as findAllByDisplayValue,
16
+ A as findAllByLabelText,
17
+ x as findAllByPlaceholderText,
18
+ f as findAllByRole,
19
+ q as findAllByTestId,
20
+ p as findAllByText,
21
+ m as findAllByTitle,
22
+ c as findByAltText,
23
+ b as findByDisplayValue,
24
+ R as findByLabelText,
25
+ h as findByPlaceholderText,
26
+ D as findByRole,
27
+ E as findByTestId,
28
+ Q as findByText,
29
+ I as findByTitle,
30
+ w as fireEvent,
31
+ F as getAllByAltText,
32
+ L as getAllByDisplayValue,
33
+ P as getAllByLabelText,
34
+ V as getAllByPlaceholderText,
35
+ k as getAllByRole,
36
+ S as getAllByTestId,
37
+ v as getAllByText,
38
+ M as getAllByTitle,
39
+ z as getByAltText,
40
+ H as getByDisplayValue,
41
+ N as getByLabelText,
42
+ O as getByPlaceholderText,
43
+ W as getByRole,
44
+ j as getByTestId,
45
+ C as getByText,
46
+ G as getByTitle,
47
+ J as getConfig,
48
+ K as getDefaultNormalizer,
49
+ U as getElementError,
50
+ X as getMultipleElementsFoundError,
51
+ Y as getNodeText,
52
+ Z as getQueriesForElement,
53
+ _ as getRoles,
54
+ $ as getSuggestedQuery,
55
+ ee as isInaccessible,
56
+ ae as logDOM,
57
+ le as logRoles,
58
+ se as makeFindQuery,
59
+ te as makeGetAllQuery,
60
+ ye as makeSingleQuery,
61
+ re as prettyDOM,
62
+ ie as prettyFormat,
63
+ Be as queries,
64
+ ue as queryAllByAltText,
65
+ oe as queryAllByAttribute,
66
+ ne as queryAllByDisplayValue,
67
+ Te as queryAllByLabelText,
68
+ de as queryAllByPlaceholderText,
69
+ ge as queryAllByRole,
70
+ Ae as queryAllByTestId,
71
+ xe as queryAllByText,
72
+ fe as queryAllByTitle,
73
+ qe as queryByAltText,
74
+ pe as queryByAttribute,
75
+ me as queryByDisplayValue,
76
+ ce as queryByLabelText,
77
+ be as queryByPlaceholderText,
78
+ Re as queryByRole,
79
+ he as queryByTestId,
80
+ De as queryByText,
81
+ Ee as queryByTitle,
82
+ Qe as queryHelpers,
83
+ Ie as render,
84
+ we as renderHook,
85
+ Fe as screen,
86
+ Le as waitFor,
87
+ Pe as waitForElementToBeRemoved,
88
+ Ve as within,
89
+ ke as wrapAllByQueryWithSuggestion,
90
+ Se as wrapSingleQueryWithSuggestion
8
91
  };
@@ -0,0 +1,7 @@
1
+
2
+ declare global {
3
+ namespace Vi {
4
+ interface JestAssertion<T = any> extends jest.Matchers<void, T>, jest.Matchers<void, T>, jest.JestMatchers<T> {
5
+ }
6
+ }
7
+ }
@@ -0,0 +1 @@
1
+ import "../setup.types-dBtAXXGp.js";
@@ -0,0 +1,11 @@
1
+ import { i as o } from "./index-BbTV2Cw5.js";
2
+ import s from "react";
3
+ function t(a) {
4
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = [];
5
+ return s.Children.forEach(a, function(r) {
6
+ r == null && !n.keepEmpty || (Array.isArray(r) ? e = e.concat(t(r)) : o(r) && r.props ? e = e.concat(t(r.props.children, n)) : e.push(r));
7
+ }), e;
8
+ }
9
+ export {
10
+ t
11
+ };
@@ -0,0 +1,22 @@
1
+ import * as o from "react";
2
+ import { useRef as c } from "react";
3
+ import { h as a } from "./index-BbTV2Cw5.js";
4
+ import { u as f } from "./responsiveObserver-dCkpy7Cb.js";
5
+ function i() {
6
+ const [, r] = o.useReducer((e) => e + 1, 0);
7
+ return r;
8
+ }
9
+ function d() {
10
+ let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
11
+ const e = c({}), t = i(), s = f();
12
+ return a(() => {
13
+ const n = s.subscribe((u) => {
14
+ e.current = u, r && t();
15
+ });
16
+ return () => s.unsubscribe(n);
17
+ }, []), e.current;
18
+ }
19
+ export {
20
+ i as a,
21
+ d as u
22
+ };
@@ -0,0 +1,11 @@
1
+ import { c as o } from "./index-BbTV2Cw5.js";
2
+ import "react";
3
+ import "./presets-Djh_L_6R.js";
4
+ import "./index-DLdU7Tpd.js";
5
+ const m = (r) => {
6
+ const [, , , , s] = o();
7
+ return s ? `${r}-css-var` : "";
8
+ };
9
+ export {
10
+ m as u
11
+ };
@@ -0,0 +1,321 @@
1
+ import { m as $, r as E, f as c, g as y } from "./index-BbTV2Cw5.js";
2
+ import * as a from "react";
3
+ import "./presets-Djh_L_6R.js";
4
+ import "./index-DLdU7Tpd.js";
5
+ import { R as C } from "./CheckOutlined-cEBrx_Ag.js";
6
+ import { R as z } from "./CloseCircleFilled-B9e7yFwo.js";
7
+ import { R as N } from "./CloseOutlined-ogxnm7Oy.js";
8
+ import { R as M } from "./DownOutlined-Dcq69ZKM.js";
9
+ import { R as P } from "./LoadingOutlined-C1qu6ymP.js";
10
+ import { R as D } from "./SearchOutlined-DNj-7b_h.js";
11
+ const q = (e) => {
12
+ const {
13
+ multipleSelectItemHeight: l,
14
+ paddingXXS: i,
15
+ lineWidth: t,
16
+ INTERNAL_FIXED_ITEM_MARGIN: n
17
+ } = e, r = e.max(e.calc(i).sub(t).equal(), 0), s = e.max(e.calc(r).sub(n).equal(), 0);
18
+ return {
19
+ basePadding: r,
20
+ containerPadding: s,
21
+ itemHeight: c(l),
22
+ itemLineHeight: c(e.calc(l).sub(e.calc(e.lineWidth).mul(2)).equal())
23
+ };
24
+ }, W = (e) => {
25
+ const {
26
+ multipleSelectItemHeight: l,
27
+ selectHeight: i,
28
+ lineWidth: t
29
+ } = e;
30
+ return e.calc(i).sub(l).div(2).sub(t).equal();
31
+ }, B = (e) => {
32
+ const {
33
+ componentCls: l,
34
+ iconCls: i,
35
+ borderRadiusSM: t,
36
+ motionDurationSlow: n,
37
+ paddingXS: r,
38
+ multipleItemColorDisabled: s,
39
+ multipleItemBorderColorDisabled: d,
40
+ colorIcon: o,
41
+ colorIconHover: I,
42
+ INTERNAL_FIXED_ITEM_MARGIN: u
43
+ } = e;
44
+ return {
45
+ /**
46
+ * Do not merge `height` & `line-height` under style with `selection` & `search`, since chrome
47
+ * may update to redesign with its align logic.
48
+ */
49
+ // =========================== Overflow ===========================
50
+ [`${l}-selection-overflow`]: {
51
+ position: "relative",
52
+ display: "flex",
53
+ flex: "auto",
54
+ flexWrap: "wrap",
55
+ maxWidth: "100%",
56
+ "&-item": {
57
+ flex: "none",
58
+ alignSelf: "center",
59
+ maxWidth: "100%",
60
+ display: "inline-flex"
61
+ },
62
+ // ======================== Selections ==========================
63
+ [`${l}-selection-item`]: {
64
+ display: "flex",
65
+ alignSelf: "center",
66
+ flex: "none",
67
+ boxSizing: "border-box",
68
+ maxWidth: "100%",
69
+ marginBlock: u,
70
+ borderRadius: t,
71
+ cursor: "default",
72
+ transition: `font-size ${n}, line-height ${n}, height ${n}`,
73
+ marginInlineEnd: e.calc(u).mul(2).equal(),
74
+ paddingInlineStart: r,
75
+ paddingInlineEnd: e.calc(r).div(2).equal(),
76
+ [`${l}-disabled&`]: {
77
+ color: s,
78
+ borderColor: d,
79
+ cursor: "not-allowed"
80
+ },
81
+ // It's ok not to do this, but 24px makes bottom narrow in view should adjust
82
+ "&-content": {
83
+ display: "inline-block",
84
+ marginInlineEnd: e.calc(r).div(2).equal(),
85
+ overflow: "hidden",
86
+ whiteSpace: "pre",
87
+ // fix whitespace wrapping. custom tags display all whitespace within.
88
+ textOverflow: "ellipsis"
89
+ },
90
+ "&-remove": Object.assign(Object.assign({}, E()), {
91
+ display: "inline-flex",
92
+ alignItems: "center",
93
+ color: o,
94
+ fontWeight: "bold",
95
+ fontSize: 10,
96
+ lineHeight: "inherit",
97
+ cursor: "pointer",
98
+ [`> ${i}`]: {
99
+ verticalAlign: "-0.2em"
100
+ },
101
+ "&:hover": {
102
+ color: I
103
+ }
104
+ })
105
+ }
106
+ }
107
+ };
108
+ }, O = (e, l) => {
109
+ const {
110
+ componentCls: i,
111
+ INTERNAL_FIXED_ITEM_MARGIN: t
112
+ } = e, n = `${i}-selection-overflow`, r = e.multipleSelectItemHeight, s = W(e), d = l ? `${i}-${l}` : "", o = q(e);
113
+ return {
114
+ [`${i}-multiple${d}`]: Object.assign(Object.assign({}, B(e)), {
115
+ // ========================= Selector =========================
116
+ [`${i}-selector`]: {
117
+ display: "flex",
118
+ alignItems: "center",
119
+ width: "100%",
120
+ height: "100%",
121
+ // Multiple is little different that horizontal is follow the vertical
122
+ paddingInline: o.basePadding,
123
+ paddingBlock: o.containerPadding,
124
+ borderRadius: e.borderRadius,
125
+ [`${i}-disabled&`]: {
126
+ background: e.multipleSelectorBgDisabled,
127
+ cursor: "not-allowed"
128
+ },
129
+ "&:after": {
130
+ display: "inline-block",
131
+ width: 0,
132
+ margin: `${c(t)} 0`,
133
+ lineHeight: c(r),
134
+ visibility: "hidden",
135
+ content: '"\\a0"'
136
+ }
137
+ },
138
+ // ======================== Selections ========================
139
+ [`${i}-selection-item`]: {
140
+ height: o.itemHeight,
141
+ lineHeight: c(o.itemLineHeight)
142
+ },
143
+ // ========================== Wrap ===========================
144
+ [`${i}-selection-wrap`]: {
145
+ alignSelf: "flex-start",
146
+ "&:after": {
147
+ lineHeight: c(r),
148
+ marginBlock: t
149
+ }
150
+ },
151
+ // ========================== Input ==========================
152
+ [`${i}-prefix`]: {
153
+ marginInlineStart: e.calc(e.inputPaddingHorizontalBase).sub(o.basePadding).equal()
154
+ },
155
+ [`${n}-item + ${n}-item,
156
+ ${i}-prefix + ${i}-selection-wrap
157
+ `]: {
158
+ [`${i}-selection-search`]: {
159
+ marginInlineStart: 0
160
+ },
161
+ [`${i}-selection-placeholder`]: {
162
+ insetInlineStart: 0
163
+ }
164
+ },
165
+ // https://github.com/ant-design/ant-design/issues/44754
166
+ // Same as `wrap:after`
167
+ [`${n}-item-suffix`]: {
168
+ minHeight: o.itemHeight,
169
+ marginBlock: t
170
+ },
171
+ [`${i}-selection-search`]: {
172
+ display: "inline-flex",
173
+ position: "relative",
174
+ maxWidth: "100%",
175
+ marginInlineStart: e.calc(e.inputPaddingHorizontalBase).sub(s).equal(),
176
+ "\n &-input,\n &-mirror\n ": {
177
+ height: r,
178
+ fontFamily: e.fontFamily,
179
+ lineHeight: c(r),
180
+ transition: `all ${e.motionDurationSlow}`
181
+ },
182
+ "&-input": {
183
+ width: "100%",
184
+ minWidth: 4.1
185
+ // fix search cursor missing
186
+ },
187
+ "&-mirror": {
188
+ position: "absolute",
189
+ top: 0,
190
+ insetInlineStart: 0,
191
+ insetInlineEnd: "auto",
192
+ zIndex: 999,
193
+ whiteSpace: "pre",
194
+ // fix whitespace wrapping caused width calculation bug
195
+ visibility: "hidden"
196
+ }
197
+ },
198
+ // ======================= Placeholder =======================
199
+ [`${i}-selection-placeholder`]: {
200
+ position: "absolute",
201
+ top: "50%",
202
+ insetInlineStart: e.calc(e.inputPaddingHorizontalBase).sub(o.basePadding).equal(),
203
+ insetInlineEnd: e.inputPaddingHorizontalBase,
204
+ transform: "translateY(-50%)",
205
+ transition: `all ${e.motionDurationSlow}`
206
+ }
207
+ })
208
+ };
209
+ };
210
+ function S(e, l) {
211
+ const {
212
+ componentCls: i
213
+ } = e, t = l ? `${i}-${l}` : "", n = {
214
+ [`${i}-multiple${t}`]: {
215
+ fontSize: e.fontSize,
216
+ // ========================= Selector =========================
217
+ [`${i}-selector`]: {
218
+ [`${i}-show-search&`]: {
219
+ cursor: "text"
220
+ }
221
+ },
222
+ [`
223
+ &${i}-show-arrow ${i}-selector,
224
+ &${i}-allow-clear ${i}-selector
225
+ `]: {
226
+ paddingInlineEnd: e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()
227
+ }
228
+ }
229
+ };
230
+ return [O(e, l), n];
231
+ }
232
+ const V = (e) => {
233
+ const {
234
+ componentCls: l
235
+ } = e, i = $(e, {
236
+ selectHeight: e.controlHeightSM,
237
+ multipleSelectItemHeight: e.multipleItemHeightSM,
238
+ borderRadius: e.borderRadiusSM,
239
+ borderRadiusSM: e.borderRadiusXS
240
+ }), t = $(e, {
241
+ fontSize: e.fontSizeLG,
242
+ selectHeight: e.controlHeightLG,
243
+ multipleSelectItemHeight: e.multipleItemHeightLG,
244
+ borderRadius: e.borderRadiusLG,
245
+ borderRadiusSM: e.borderRadius
246
+ });
247
+ return [
248
+ S(e),
249
+ // ======================== Small ========================
250
+ S(i, "sm"),
251
+ // Padding
252
+ {
253
+ [`${l}-multiple${l}-sm`]: {
254
+ [`${l}-selection-placeholder`]: {
255
+ insetInline: e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()
256
+ },
257
+ // https://github.com/ant-design/ant-design/issues/29559
258
+ [`${l}-selection-search`]: {
259
+ marginInlineStart: 2
260
+ // Magic Number
261
+ }
262
+ }
263
+ },
264
+ // ======================== Large ========================
265
+ S(t, "lg")
266
+ ];
267
+ };
268
+ function Y(e) {
269
+ let {
270
+ suffixIcon: l,
271
+ clearIcon: i,
272
+ menuItemSelectedIcon: t,
273
+ removeIcon: n,
274
+ loading: r,
275
+ multiple: s,
276
+ hasFeedback: d,
277
+ prefixCls: o,
278
+ showSuffixIcon: I,
279
+ feedbackIcon: u,
280
+ showArrow: b,
281
+ componentName: x
282
+ } = e;
283
+ process.env.NODE_ENV !== "production" && y(x).deprecated(!i, "clearIcon", "allowClear={{ clearIcon: React.ReactNode }}");
284
+ const R = i ?? /* @__PURE__ */ a.createElement(z, null), g = (m) => l === null && !d && !b ? null : /* @__PURE__ */ a.createElement(a.Fragment, null, I !== !1 && m, d && u);
285
+ let f = null;
286
+ if (l !== void 0)
287
+ f = g(l);
288
+ else if (r)
289
+ f = g(/* @__PURE__ */ a.createElement(P, {
290
+ spin: !0
291
+ }));
292
+ else {
293
+ const m = `${o}-suffix`;
294
+ f = (w) => {
295
+ let {
296
+ open: H,
297
+ showSearch: v
298
+ } = w;
299
+ return g(H && v ? /* @__PURE__ */ a.createElement(D, {
300
+ className: m
301
+ }) : /* @__PURE__ */ a.createElement(M, {
302
+ className: m
303
+ }));
304
+ };
305
+ }
306
+ let p = null;
307
+ t !== void 0 ? p = t : s ? p = /* @__PURE__ */ a.createElement(C, null) : p = null;
308
+ let h = null;
309
+ return n !== void 0 ? h = n : h = /* @__PURE__ */ a.createElement(N, null), {
310
+ clearIcon: R,
311
+ suffixIcon: f,
312
+ itemIcon: p,
313
+ removeIcon: h
314
+ };
315
+ }
316
+ export {
317
+ B as a,
318
+ q as b,
319
+ V as g,
320
+ Y as u
321
+ };
@@ -0,0 +1,26 @@
1
+ import { _ as d, a as f } from "./presets-Djh_L_6R.js";
2
+ import * as n from "react";
3
+ function I() {
4
+ var t = d({}, n);
5
+ return t.useId;
6
+ }
7
+ var u = 0, a = I();
8
+ const v = a ? (
9
+ // Use React `useId`
10
+ function(e) {
11
+ var r = a();
12
+ return e || (process.env.NODE_ENV === "test" ? "test-id" : r);
13
+ }
14
+ ) : (
15
+ // Use compatible of `useId`
16
+ function(e) {
17
+ var r = n.useState("ssr-id"), s = f(r, 2), c = s[0], i = s[1];
18
+ return n.useEffect(function() {
19
+ var o = u;
20
+ u += 1, i("rc_unique_".concat(o));
21
+ }, []), e || (process.env.NODE_ENV === "test" ? "test-id" : c);
22
+ }
23
+ );
24
+ export {
25
+ v as u
26
+ };
@@ -0,0 +1,16 @@
1
+ import * as t from "react";
2
+ import { L as r, l as s } from "./index-BbTV2Cw5.js";
3
+ const f = (o, u) => {
4
+ const e = t.useContext(r), c = t.useMemo(() => {
5
+ var n;
6
+ const l = u || s[o], d = (n = e == null ? void 0 : e[o]) !== null && n !== void 0 ? n : {};
7
+ return Object.assign(Object.assign({}, typeof l == "function" ? l() : l), d || {});
8
+ }, [o, u, e]), a = t.useMemo(() => {
9
+ const n = e == null ? void 0 : e.locale;
10
+ return e != null && e.exist && !n ? s.locale : n;
11
+ }, [e]);
12
+ return [c, a];
13
+ };
14
+ export {
15
+ f as u
16
+ };
@@ -0,0 +1,23 @@
1
+ import { a as d } from "./presets-Djh_L_6R.js";
2
+ import { u as g, a as S, b as V } from "./index-BbTV2Cw5.js";
3
+ function o(a) {
4
+ return a !== void 0;
5
+ }
6
+ function F(a, _) {
7
+ var t = _ || {}, n = t.defaultValue, e = t.value, h = t.onChange, s = t.postState, m = g(function() {
8
+ return o(e) ? e : o(n) ? typeof n == "function" ? n() : n : typeof a == "function" ? a() : a;
9
+ }), i = d(m, 2), f = i[0], v = i[1], u = e !== void 0 ? e : f, C = s ? s(u) : u, y = S(h), E = g([u]), l = d(E, 2), p = l[0], M = l[1];
10
+ V(function() {
11
+ var r = p[0];
12
+ f !== r && y(f, r);
13
+ }, [p]), V(function() {
14
+ o(e) || v(e);
15
+ }, [e]);
16
+ var b = S(function(r, c) {
17
+ v(r, c), M([u], c);
18
+ });
19
+ return [C, b];
20
+ }
21
+ export {
22
+ F as u
23
+ };
@@ -0,0 +1,9 @@
1
+ import r from "react";
2
+ import { S as t } from "./index-BbTV2Cw5.js";
3
+ const u = (e) => {
4
+ const n = r.useContext(t);
5
+ return r.useMemo(() => e ? typeof e == "string" ? e ?? n : e instanceof Function ? e(n) : n : n, [e, n]);
6
+ };
7
+ export {
8
+ u
9
+ };
@@ -1,7 +1,7 @@
1
- import { c as f } from "./warning-C63HNL9U.js";
1
+ import { e as f } from "./presets-Djh_L_6R.js";
2
2
  import * as u from "react";
3
- import { V as g } from "./context-BMW3aJEf.js";
4
- import { C as m, V } from "./index-oK7z6jnz.js";
3
+ import { V as g } from "./context-DIFtNa4d.js";
4
+ import { C as m, V } from "./index-BbTV2Cw5.js";
5
5
  function p(n, e, a) {
6
6
  return f({
7
7
  [`${n}-status-success`]: e === "success",
@@ -0,0 +1,44 @@
1
+ import d from "react";
2
+ import { c as I, g as N } from "./index-BbTV2Cw5.js";
3
+ const a = /* @__PURE__ */ d.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (a.displayName = "zIndexContext");
5
+ const e = 100, x = 10, E = e * x, _ = E + e, u = {
6
+ Modal: e,
7
+ Drawer: e,
8
+ Popover: e,
9
+ Popconfirm: e,
10
+ Tooltip: e,
11
+ Tour: e,
12
+ FloatButton: e
13
+ }, O = {
14
+ SelectLike: 50,
15
+ Dropdown: 50,
16
+ DatePicker: 50,
17
+ Menu: 50,
18
+ ImagePreview: 1
19
+ };
20
+ function l(n) {
21
+ return n in u;
22
+ }
23
+ const F = (n, t) => {
24
+ const [, i] = I(), s = d.useContext(a), c = l(n);
25
+ let r;
26
+ if (t !== void 0)
27
+ r = [t, t];
28
+ else {
29
+ let o = s ?? 0;
30
+ c ? o += // Use preset token zIndex by default but not stack when has parent container
31
+ (s ? 0 : i.zIndexPopupBase) + // Container offset
32
+ u[n] : o += O[n], r = [s === void 0 ? t : o, o];
33
+ }
34
+ if (process.env.NODE_ENV !== "production") {
35
+ const o = N(n), f = i.zIndexPopupBase + _, p = r[0] || 0;
36
+ process.env.NODE_ENV !== "production" && o(t !== void 0 || p <= f, "usage", "`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");
37
+ }
38
+ return r;
39
+ };
40
+ export {
41
+ E as C,
42
+ F as u,
43
+ a as z
44
+ };
@@ -0,0 +1,2 @@
1
+ export declare const getIconColor: (state: any, theme: any) => any;
2
+ export declare const getBadgeStateIcon: (state: any, color: any, isFilled?: boolean) => import("react/jsx-runtime").JSX.Element;