@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
@@ -0,0 +1,1000 @@
1
+ import { m as g, f as a, j as T, k as m, n as z } from "./index-BbTV2Cw5.js";
2
+ import "react";
3
+ import "./presets-Djh_L_6R.js";
4
+ import { g as G } from "./compact-item-DH13cl8A.js";
5
+ import "./index-DLdU7Tpd.js";
6
+ function M(r) {
7
+ return g(r, {
8
+ inputAffixPadding: r.paddingXXS
9
+ });
10
+ }
11
+ const A = (r) => {
12
+ const {
13
+ controlHeight: o,
14
+ fontSize: i,
15
+ lineHeight: e,
16
+ lineWidth: t,
17
+ controlHeightSM: n,
18
+ controlHeightLG: l,
19
+ fontSizeLG: d,
20
+ lineHeightLG: s,
21
+ paddingSM: c,
22
+ controlPaddingHorizontalSM: B,
23
+ controlPaddingHorizontal: y,
24
+ colorFillAlter: I,
25
+ colorPrimaryHover: R,
26
+ colorPrimary: O,
27
+ controlOutlineWidth: u,
28
+ controlOutline: j,
29
+ colorErrorOutline: W,
30
+ colorWarningOutline: H,
31
+ colorBgContainer: b
32
+ } = r;
33
+ return {
34
+ paddingBlock: Math.max(Math.round((o - i * e) / 2 * 10) / 10 - t, 0),
35
+ paddingBlockSM: Math.max(Math.round((n - i * e) / 2 * 10) / 10 - t, 0),
36
+ paddingBlockLG: Math.ceil((l - d * s) / 2 * 10) / 10 - t,
37
+ paddingInline: c - t,
38
+ paddingInlineSM: B - t,
39
+ paddingInlineLG: y - t,
40
+ addonBg: I,
41
+ activeBorderColor: O,
42
+ hoverBorderColor: R,
43
+ activeShadow: `0 0 0 ${u}px ${j}`,
44
+ errorActiveShadow: `0 0 0 ${u}px ${W}`,
45
+ warningActiveShadow: `0 0 0 ${u}px ${H}`,
46
+ hoverBg: b,
47
+ activeBg: b,
48
+ inputFontSize: i,
49
+ inputFontSizeLG: d,
50
+ inputFontSizeSM: i
51
+ };
52
+ }, F = (r) => ({
53
+ borderColor: r.hoverBorderColor,
54
+ backgroundColor: r.hoverBg
55
+ }), p = (r) => ({
56
+ color: r.colorTextDisabled,
57
+ backgroundColor: r.colorBgContainerDisabled,
58
+ borderColor: r.colorBorder,
59
+ boxShadow: "none",
60
+ cursor: "not-allowed",
61
+ opacity: 1,
62
+ "input[disabled], textarea[disabled]": {
63
+ cursor: "not-allowed"
64
+ },
65
+ "&:hover:not([disabled])": Object.assign({}, F(g(r, {
66
+ hoverBorderColor: r.colorBorder,
67
+ hoverBg: r.colorBgContainerDisabled
68
+ })))
69
+ }), x = (r, o) => ({
70
+ background: r.colorBgContainer,
71
+ borderWidth: r.lineWidth,
72
+ borderStyle: r.lineType,
73
+ borderColor: o.borderColor,
74
+ "&:hover": {
75
+ borderColor: o.hoverBorderColor,
76
+ backgroundColor: r.hoverBg
77
+ },
78
+ "&:focus, &:focus-within": {
79
+ borderColor: o.activeBorderColor,
80
+ boxShadow: o.activeShadow,
81
+ outline: 0,
82
+ backgroundColor: r.activeBg
83
+ }
84
+ }), $ = (r, o) => ({
85
+ [`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, x(r, o)), {
86
+ [`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
87
+ color: o.affixColor
88
+ }
89
+ }),
90
+ [`&${r.componentCls}-status-${o.status}${r.componentCls}-disabled`]: {
91
+ borderColor: o.borderColor
92
+ }
93
+ }), L = (r, o) => ({
94
+ "&-outlined": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, x(r, {
95
+ borderColor: r.colorBorder,
96
+ hoverBorderColor: r.hoverBorderColor,
97
+ activeBorderColor: r.activeBorderColor,
98
+ activeShadow: r.activeShadow
99
+ })), {
100
+ [`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, p(r))
101
+ }), $(r, {
102
+ status: "error",
103
+ borderColor: r.colorError,
104
+ hoverBorderColor: r.colorErrorBorderHover,
105
+ activeBorderColor: r.colorError,
106
+ activeShadow: r.errorActiveShadow,
107
+ affixColor: r.colorError
108
+ })), $(r, {
109
+ status: "warning",
110
+ borderColor: r.colorWarning,
111
+ hoverBorderColor: r.colorWarningBorderHover,
112
+ activeBorderColor: r.colorWarning,
113
+ activeShadow: r.warningActiveShadow,
114
+ affixColor: r.colorWarning
115
+ })), o)
116
+ }), h = (r, o) => ({
117
+ [`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
118
+ [`${r.componentCls}-group-addon`]: {
119
+ borderColor: o.addonBorderColor,
120
+ color: o.addonColor
121
+ }
122
+ }
123
+ }), D = (r) => ({
124
+ "&-outlined": Object.assign(Object.assign(Object.assign({
125
+ [`${r.componentCls}-group`]: {
126
+ "&-addon": {
127
+ background: r.addonBg,
128
+ border: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
129
+ },
130
+ "&-addon:first-child": {
131
+ borderInlineEnd: 0
132
+ },
133
+ "&-addon:last-child": {
134
+ borderInlineStart: 0
135
+ }
136
+ }
137
+ }, h(r, {
138
+ status: "error",
139
+ addonBorderColor: r.colorError,
140
+ addonColor: r.colorErrorText
141
+ })), h(r, {
142
+ status: "warning",
143
+ addonBorderColor: r.colorWarning,
144
+ addonColor: r.colorWarningText
145
+ })), {
146
+ [`&${r.componentCls}-group-wrapper-disabled`]: {
147
+ [`${r.componentCls}-group-addon`]: Object.assign({}, p(r))
148
+ }
149
+ })
150
+ }), P = (r, o) => {
151
+ const {
152
+ componentCls: i
153
+ } = r;
154
+ return {
155
+ "&-borderless": Object.assign({
156
+ background: "transparent",
157
+ border: "none",
158
+ "&:focus, &:focus-within": {
159
+ outline: "none"
160
+ },
161
+ // >>>>> Disabled
162
+ [`&${i}-disabled, &[disabled]`]: {
163
+ color: r.colorTextDisabled,
164
+ cursor: "not-allowed"
165
+ },
166
+ // >>>>> Status
167
+ [`&${i}-status-error`]: {
168
+ "&, & input, & textarea": {
169
+ color: r.colorError
170
+ }
171
+ },
172
+ [`&${i}-status-warning`]: {
173
+ "&, & input, & textarea": {
174
+ color: r.colorWarning
175
+ }
176
+ }
177
+ }, o)
178
+ };
179
+ }, C = (r, o) => ({
180
+ background: o.bg,
181
+ borderWidth: r.lineWidth,
182
+ borderStyle: r.lineType,
183
+ borderColor: "transparent",
184
+ "input&, & input, textarea&, & textarea": {
185
+ color: o == null ? void 0 : o.inputColor
186
+ },
187
+ "&:hover": {
188
+ background: o.hoverBg
189
+ },
190
+ "&:focus, &:focus-within": {
191
+ outline: 0,
192
+ borderColor: o.activeBorderColor,
193
+ backgroundColor: r.activeBg
194
+ }
195
+ }), f = (r, o) => ({
196
+ [`&${r.componentCls}-status-${o.status}:not(${r.componentCls}-disabled)`]: Object.assign(Object.assign({}, C(r, o)), {
197
+ [`${r.componentCls}-prefix, ${r.componentCls}-suffix`]: {
198
+ color: o.affixColor
199
+ }
200
+ })
201
+ }), q = (r, o) => ({
202
+ "&-filled": Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, C(r, {
203
+ bg: r.colorFillTertiary,
204
+ hoverBg: r.colorFillSecondary,
205
+ activeBorderColor: r.activeBorderColor
206
+ })), {
207
+ [`&${r.componentCls}-disabled, &[disabled]`]: Object.assign({}, p(r))
208
+ }), f(r, {
209
+ status: "error",
210
+ bg: r.colorErrorBg,
211
+ hoverBg: r.colorErrorBgHover,
212
+ activeBorderColor: r.colorError,
213
+ inputColor: r.colorErrorText,
214
+ affixColor: r.colorError
215
+ })), f(r, {
216
+ status: "warning",
217
+ bg: r.colorWarningBg,
218
+ hoverBg: r.colorWarningBgHover,
219
+ activeBorderColor: r.colorWarning,
220
+ inputColor: r.colorWarningText,
221
+ affixColor: r.colorWarning
222
+ })), o)
223
+ }), S = (r, o) => ({
224
+ [`&${r.componentCls}-group-wrapper-status-${o.status}`]: {
225
+ [`${r.componentCls}-group-addon`]: {
226
+ background: o.addonBg,
227
+ color: o.addonColor
228
+ }
229
+ }
230
+ }), X = (r) => ({
231
+ "&-filled": Object.assign(Object.assign(Object.assign({
232
+ [`${r.componentCls}-group`]: {
233
+ "&-addon": {
234
+ background: r.colorFillTertiary
235
+ },
236
+ [`${r.componentCls}-filled:not(:focus):not(:focus-within)`]: {
237
+ "&:not(:first-child)": {
238
+ borderInlineStart: `${a(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
239
+ },
240
+ "&:not(:last-child)": {
241
+ borderInlineEnd: `${a(r.lineWidth)} ${r.lineType} ${r.colorSplit}`
242
+ }
243
+ }
244
+ }
245
+ }, S(r, {
246
+ status: "error",
247
+ addonBg: r.colorErrorBg,
248
+ addonColor: r.colorErrorText
249
+ })), S(r, {
250
+ status: "warning",
251
+ addonBg: r.colorWarningBg,
252
+ addonColor: r.colorWarningText
253
+ })), {
254
+ [`&${r.componentCls}-group-wrapper-disabled`]: {
255
+ [`${r.componentCls}-group`]: {
256
+ "&-addon": {
257
+ background: r.colorFillTertiary,
258
+ color: r.colorTextDisabled
259
+ },
260
+ "&-addon:first-child": {
261
+ borderInlineStart: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
262
+ borderTop: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
263
+ borderBottom: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
264
+ },
265
+ "&-addon:last-child": {
266
+ borderInlineEnd: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
267
+ borderTop: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`,
268
+ borderBottom: `${a(r.lineWidth)} ${r.lineType} ${r.colorBorder}`
269
+ }
270
+ }
271
+ }
272
+ })
273
+ }), _ = (r) => ({
274
+ // Firefox
275
+ "&::-moz-placeholder": {
276
+ opacity: 1
277
+ },
278
+ "&::placeholder": {
279
+ color: r,
280
+ userSelect: "none"
281
+ // https://github.com/ant-design/ant-design/pull/32639
282
+ },
283
+ "&:placeholder-shown": {
284
+ textOverflow: "ellipsis"
285
+ }
286
+ }), w = (r) => {
287
+ const {
288
+ paddingBlockLG: o,
289
+ lineHeightLG: i,
290
+ borderRadiusLG: e,
291
+ paddingInlineLG: t
292
+ } = r;
293
+ return {
294
+ padding: `${a(o)} ${a(t)}`,
295
+ fontSize: r.inputFontSizeLG,
296
+ lineHeight: i,
297
+ borderRadius: e
298
+ };
299
+ }, v = (r) => ({
300
+ padding: `${a(r.paddingBlockSM)} ${a(r.paddingInlineSM)}`,
301
+ fontSize: r.inputFontSizeSM,
302
+ borderRadius: r.borderRadiusSM
303
+ }), E = (r) => Object.assign(Object.assign({
304
+ position: "relative",
305
+ display: "inline-block",
306
+ width: "100%",
307
+ minWidth: 0,
308
+ padding: `${a(r.paddingBlock)} ${a(r.paddingInline)}`,
309
+ color: r.colorText,
310
+ fontSize: r.inputFontSize,
311
+ lineHeight: r.lineHeight,
312
+ borderRadius: r.borderRadius,
313
+ transition: `all ${r.motionDurationMid}`
314
+ }, _(r.colorTextPlaceholder)), {
315
+ // Reset height for `textarea`s
316
+ "textarea&": {
317
+ maxWidth: "100%",
318
+ // prevent textarea resize from coming out of its container
319
+ height: "auto",
320
+ minHeight: r.controlHeight,
321
+ lineHeight: r.lineHeight,
322
+ verticalAlign: "bottom",
323
+ transition: `all ${r.motionDurationSlow}, height 0s`,
324
+ resize: "vertical"
325
+ },
326
+ // Size
327
+ "&-lg": Object.assign({}, w(r)),
328
+ "&-sm": Object.assign({}, v(r)),
329
+ // RTL
330
+ "&-rtl, &-textarea-rtl": {
331
+ direction: "rtl"
332
+ }
333
+ }), Q = (r) => {
334
+ const {
335
+ componentCls: o,
336
+ antCls: i
337
+ } = r;
338
+ return {
339
+ position: "relative",
340
+ display: "table",
341
+ width: "100%",
342
+ borderCollapse: "separate",
343
+ borderSpacing: 0,
344
+ // Undo padding and float of grid classes
345
+ "&[class*='col-']": {
346
+ paddingInlineEnd: r.paddingXS,
347
+ "&:last-child": {
348
+ paddingInlineEnd: 0
349
+ }
350
+ },
351
+ // Sizing options
352
+ [`&-lg ${o}, &-lg > ${o}-group-addon`]: Object.assign({}, w(r)),
353
+ [`&-sm ${o}, &-sm > ${o}-group-addon`]: Object.assign({}, v(r)),
354
+ // Fix https://github.com/ant-design/ant-design/issues/5754
355
+ [`&-lg ${i}-select-single ${i}-select-selector`]: {
356
+ height: r.controlHeightLG
357
+ },
358
+ [`&-sm ${i}-select-single ${i}-select-selector`]: {
359
+ height: r.controlHeightSM
360
+ },
361
+ [`> ${o}`]: {
362
+ display: "table-cell",
363
+ "&:not(:first-child):not(:last-child)": {
364
+ borderRadius: 0
365
+ }
366
+ },
367
+ [`${o}-group`]: {
368
+ "&-addon, &-wrap": {
369
+ display: "table-cell",
370
+ width: 1,
371
+ whiteSpace: "nowrap",
372
+ verticalAlign: "middle",
373
+ "&:not(:first-child):not(:last-child)": {
374
+ borderRadius: 0
375
+ }
376
+ },
377
+ "&-wrap > *": {
378
+ display: "block !important"
379
+ },
380
+ "&-addon": {
381
+ position: "relative",
382
+ padding: `0 ${a(r.paddingInline)}`,
383
+ color: r.colorText,
384
+ fontWeight: "normal",
385
+ fontSize: r.inputFontSize,
386
+ textAlign: "center",
387
+ borderRadius: r.borderRadius,
388
+ transition: `all ${r.motionDurationSlow}`,
389
+ lineHeight: 1,
390
+ // Reset Select's style in addon
391
+ [`${i}-select`]: {
392
+ margin: `${a(r.calc(r.paddingBlock).add(1).mul(-1).equal())} ${a(r.calc(r.paddingInline).mul(-1).equal())}`,
393
+ [`&${i}-select-single:not(${i}-select-customize-input):not(${i}-pagination-size-changer)`]: {
394
+ [`${i}-select-selector`]: {
395
+ backgroundColor: "inherit",
396
+ border: `${a(r.lineWidth)} ${r.lineType} transparent`,
397
+ boxShadow: "none"
398
+ }
399
+ }
400
+ },
401
+ // https://github.com/ant-design/ant-design/issues/31333
402
+ [`${i}-cascader-picker`]: {
403
+ margin: `-9px ${a(r.calc(r.paddingInline).mul(-1).equal())}`,
404
+ backgroundColor: "transparent",
405
+ [`${i}-cascader-input`]: {
406
+ textAlign: "start",
407
+ border: 0,
408
+ boxShadow: "none"
409
+ }
410
+ }
411
+ }
412
+ },
413
+ [o]: {
414
+ width: "100%",
415
+ marginBottom: 0,
416
+ textAlign: "inherit",
417
+ "&:focus": {
418
+ zIndex: 1,
419
+ // Fix https://gw.alipayobjects.com/zos/rmsportal/DHNpoqfMXSfrSnlZvhsJ.png
420
+ borderInlineEndWidth: 1
421
+ },
422
+ "&:hover": {
423
+ zIndex: 1,
424
+ borderInlineEndWidth: 1,
425
+ [`${o}-search-with-button &`]: {
426
+ zIndex: 0
427
+ }
428
+ }
429
+ },
430
+ // Reset rounded corners
431
+ [`> ${o}:first-child, ${o}-group-addon:first-child`]: {
432
+ borderStartEndRadius: 0,
433
+ borderEndEndRadius: 0,
434
+ // Reset Select's style in addon
435
+ [`${i}-select ${i}-select-selector`]: {
436
+ borderStartEndRadius: 0,
437
+ borderEndEndRadius: 0
438
+ }
439
+ },
440
+ [`> ${o}-affix-wrapper`]: {
441
+ [`&:not(:first-child) ${o}`]: {
442
+ borderStartStartRadius: 0,
443
+ borderEndStartRadius: 0
444
+ },
445
+ [`&:not(:last-child) ${o}`]: {
446
+ borderStartEndRadius: 0,
447
+ borderEndEndRadius: 0
448
+ }
449
+ },
450
+ [`> ${o}:last-child, ${o}-group-addon:last-child`]: {
451
+ borderStartStartRadius: 0,
452
+ borderEndStartRadius: 0,
453
+ // Reset Select's style in addon
454
+ [`${i}-select ${i}-select-selector`]: {
455
+ borderStartStartRadius: 0,
456
+ borderEndStartRadius: 0
457
+ }
458
+ },
459
+ [`${o}-affix-wrapper`]: {
460
+ "&:not(:last-child)": {
461
+ borderStartEndRadius: 0,
462
+ borderEndEndRadius: 0,
463
+ [`${o}-search &`]: {
464
+ borderStartStartRadius: r.borderRadius,
465
+ borderEndStartRadius: r.borderRadius
466
+ }
467
+ },
468
+ [`&:not(:first-child), ${o}-search &:not(:first-child)`]: {
469
+ borderStartStartRadius: 0,
470
+ borderEndStartRadius: 0
471
+ }
472
+ },
473
+ [`&${o}-group-compact`]: Object.assign(Object.assign({
474
+ display: "block"
475
+ }, z()), {
476
+ [`${o}-group-addon, ${o}-group-wrap, > ${o}`]: {
477
+ "&:not(:first-child):not(:last-child)": {
478
+ borderInlineEndWidth: r.lineWidth,
479
+ "&:hover, &:focus": {
480
+ zIndex: 1
481
+ }
482
+ }
483
+ },
484
+ "& > *": {
485
+ display: "inline-flex",
486
+ float: "none",
487
+ verticalAlign: "top",
488
+ // https://github.com/ant-design/ant-design-pro/issues/139
489
+ borderRadius: 0
490
+ },
491
+ [`
492
+ & > ${o}-affix-wrapper,
493
+ & > ${o}-number-affix-wrapper,
494
+ & > ${i}-picker-range
495
+ `]: {
496
+ display: "inline-flex"
497
+ },
498
+ "& > *:not(:last-child)": {
499
+ marginInlineEnd: r.calc(r.lineWidth).mul(-1).equal(),
500
+ borderInlineEndWidth: r.lineWidth
501
+ },
502
+ // Undo float for .ant-input-group .ant-input
503
+ [o]: {
504
+ float: "none"
505
+ },
506
+ // reset border for Select, DatePicker, AutoComplete, Cascader, Mention, TimePicker, Input
507
+ [`& > ${i}-select > ${i}-select-selector,
508
+ & > ${i}-select-auto-complete ${o},
509
+ & > ${i}-cascader-picker ${o},
510
+ & > ${o}-group-wrapper ${o}`]: {
511
+ borderInlineEndWidth: r.lineWidth,
512
+ borderRadius: 0,
513
+ "&:hover, &:focus": {
514
+ zIndex: 1
515
+ }
516
+ },
517
+ [`& > ${i}-select-focused`]: {
518
+ zIndex: 1
519
+ },
520
+ // update z-index for arrow icon
521
+ [`& > ${i}-select > ${i}-select-arrow`]: {
522
+ zIndex: 1
523
+ // https://github.com/ant-design/ant-design/issues/20371
524
+ },
525
+ [`& > *:first-child,
526
+ & > ${i}-select:first-child > ${i}-select-selector,
527
+ & > ${i}-select-auto-complete:first-child ${o},
528
+ & > ${i}-cascader-picker:first-child ${o}`]: {
529
+ borderStartStartRadius: r.borderRadius,
530
+ borderEndStartRadius: r.borderRadius
531
+ },
532
+ [`& > *:last-child,
533
+ & > ${i}-select:last-child > ${i}-select-selector,
534
+ & > ${i}-cascader-picker:last-child ${o},
535
+ & > ${i}-cascader-picker-focused:last-child ${o}`]: {
536
+ borderInlineEndWidth: r.lineWidth,
537
+ borderStartEndRadius: r.borderRadius,
538
+ borderEndEndRadius: r.borderRadius
539
+ },
540
+ // https://github.com/ant-design/ant-design/issues/12493
541
+ [`& > ${i}-select-auto-complete ${o}`]: {
542
+ verticalAlign: "top"
543
+ },
544
+ [`${o}-group-wrapper + ${o}-group-wrapper`]: {
545
+ marginInlineStart: r.calc(r.lineWidth).mul(-1).equal(),
546
+ [`${o}-affix-wrapper`]: {
547
+ borderRadius: 0
548
+ }
549
+ },
550
+ [`${o}-group-wrapper:not(:last-child)`]: {
551
+ [`&${o}-search > ${o}-group`]: {
552
+ [`& > ${o}-group-addon > ${o}-search-button`]: {
553
+ borderRadius: 0
554
+ },
555
+ [`& > ${o}`]: {
556
+ borderStartStartRadius: r.borderRadius,
557
+ borderStartEndRadius: 0,
558
+ borderEndEndRadius: 0,
559
+ borderEndStartRadius: r.borderRadius
560
+ }
561
+ }
562
+ }
563
+ })
564
+ };
565
+ }, J = (r) => {
566
+ const {
567
+ componentCls: o,
568
+ controlHeightSM: i,
569
+ lineWidth: e,
570
+ calc: t
571
+ } = r, l = t(i).sub(t(e).mul(2)).sub(16).div(2).equal();
572
+ return {
573
+ [o]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, m(r)), E(r)), L(r)), q(r)), P(r)), {
574
+ '&[type="color"]': {
575
+ height: r.controlHeight,
576
+ [`&${o}-lg`]: {
577
+ height: r.controlHeightLG
578
+ },
579
+ [`&${o}-sm`]: {
580
+ height: i,
581
+ paddingTop: l,
582
+ paddingBottom: l
583
+ }
584
+ },
585
+ '&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration': {
586
+ "-webkit-appearance": "none"
587
+ }
588
+ })
589
+ };
590
+ }, K = (r) => {
591
+ const {
592
+ componentCls: o
593
+ } = r;
594
+ return {
595
+ // ========================= Input =========================
596
+ [`${o}-clear-icon`]: {
597
+ margin: 0,
598
+ padding: 0,
599
+ lineHeight: 0,
600
+ color: r.colorTextQuaternary,
601
+ fontSize: r.fontSizeIcon,
602
+ verticalAlign: -1,
603
+ // https://github.com/ant-design/ant-design/pull/18151
604
+ // https://codesandbox.io/s/wizardly-sun-u10br
605
+ cursor: "pointer",
606
+ transition: `color ${r.motionDurationSlow}`,
607
+ border: "none",
608
+ outline: "none",
609
+ backgroundColor: "transparent",
610
+ "&:hover": {
611
+ color: r.colorTextTertiary
612
+ },
613
+ "&:active": {
614
+ color: r.colorText
615
+ },
616
+ "&-hidden": {
617
+ visibility: "hidden"
618
+ },
619
+ "&-has-suffix": {
620
+ margin: `0 ${a(r.inputAffixPadding)}`
621
+ }
622
+ }
623
+ };
624
+ }, N = (r) => {
625
+ const {
626
+ componentCls: o,
627
+ inputAffixPadding: i,
628
+ colorTextDescription: e,
629
+ motionDurationSlow: t,
630
+ colorIcon: n,
631
+ colorIconHover: l,
632
+ iconCls: d
633
+ } = r, s = `${o}-affix-wrapper`, c = `${o}-affix-wrapper-disabled`;
634
+ return {
635
+ [s]: Object.assign(Object.assign(Object.assign(Object.assign({}, E(r)), {
636
+ display: "inline-flex",
637
+ [`&:not(${o}-disabled):hover`]: {
638
+ zIndex: 1,
639
+ [`${o}-search-with-button &`]: {
640
+ zIndex: 0
641
+ }
642
+ },
643
+ "&-focused, &:focus": {
644
+ zIndex: 1
645
+ },
646
+ [`> input${o}`]: {
647
+ padding: 0
648
+ },
649
+ [`> input${o}, > textarea${o}`]: {
650
+ fontSize: "inherit",
651
+ border: "none",
652
+ borderRadius: 0,
653
+ outline: "none",
654
+ background: "transparent",
655
+ color: "inherit",
656
+ "&::-ms-reveal": {
657
+ display: "none"
658
+ },
659
+ "&:focus": {
660
+ boxShadow: "none !important"
661
+ }
662
+ },
663
+ "&::before": {
664
+ display: "inline-block",
665
+ width: 0,
666
+ visibility: "hidden",
667
+ content: '"\\a0"'
668
+ },
669
+ [o]: {
670
+ "&-prefix, &-suffix": {
671
+ display: "flex",
672
+ flex: "none",
673
+ alignItems: "center",
674
+ "> *:not(:last-child)": {
675
+ marginInlineEnd: r.paddingXS
676
+ }
677
+ },
678
+ "&-show-count-suffix": {
679
+ color: e
680
+ },
681
+ "&-show-count-has-suffix": {
682
+ marginInlineEnd: r.paddingXXS
683
+ },
684
+ "&-prefix": {
685
+ marginInlineEnd: i
686
+ },
687
+ "&-suffix": {
688
+ marginInlineStart: i
689
+ }
690
+ }
691
+ }), K(r)), {
692
+ // password
693
+ [`${d}${o}-password-icon`]: {
694
+ color: n,
695
+ cursor: "pointer",
696
+ transition: `all ${t}`,
697
+ "&:hover": {
698
+ color: l
699
+ }
700
+ }
701
+ }),
702
+ [c]: {
703
+ // password disabled
704
+ [`${d}${o}-password-icon`]: {
705
+ color: n,
706
+ cursor: "not-allowed",
707
+ "&:hover": {
708
+ color: n
709
+ }
710
+ }
711
+ }
712
+ };
713
+ }, U = (r) => {
714
+ const {
715
+ componentCls: o,
716
+ borderRadiusLG: i,
717
+ borderRadiusSM: e
718
+ } = r;
719
+ return {
720
+ [`${o}-group`]: Object.assign(Object.assign(Object.assign({}, m(r)), Q(r)), {
721
+ "&-rtl": {
722
+ direction: "rtl"
723
+ },
724
+ "&-wrapper": Object.assign(Object.assign(Object.assign({
725
+ display: "inline-block",
726
+ width: "100%",
727
+ textAlign: "start",
728
+ verticalAlign: "top",
729
+ "&-rtl": {
730
+ direction: "rtl"
731
+ },
732
+ // Size
733
+ "&-lg": {
734
+ [`${o}-group-addon`]: {
735
+ borderRadius: i,
736
+ fontSize: r.inputFontSizeLG
737
+ }
738
+ },
739
+ "&-sm": {
740
+ [`${o}-group-addon`]: {
741
+ borderRadius: e
742
+ }
743
+ }
744
+ }, D(r)), X(r)), {
745
+ // '&-disabled': {
746
+ // [`${componentCls}-group-addon`]: {
747
+ // ...genDisabledStyle(token),
748
+ // },
749
+ // },
750
+ // Fix the issue of using icons in Space Compact mode
751
+ // https://github.com/ant-design/ant-design/issues/42122
752
+ [`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]: {
753
+ [`${o}, ${o}-group-addon`]: {
754
+ borderRadius: 0
755
+ }
756
+ },
757
+ [`&:not(${o}-compact-last-item)${o}-compact-first-item`]: {
758
+ [`${o}, ${o}-group-addon`]: {
759
+ borderStartEndRadius: 0,
760
+ borderEndEndRadius: 0
761
+ }
762
+ },
763
+ [`&:not(${o}-compact-first-item)${o}-compact-last-item`]: {
764
+ [`${o}, ${o}-group-addon`]: {
765
+ borderStartStartRadius: 0,
766
+ borderEndStartRadius: 0
767
+ }
768
+ },
769
+ // Fix the issue of input use show-count param in space compact mode
770
+ // https://github.com/ant-design/ant-design/issues/46872
771
+ [`&:not(${o}-compact-last-item)${o}-compact-item`]: {
772
+ [`${o}-affix-wrapper`]: {
773
+ borderStartEndRadius: 0,
774
+ borderEndEndRadius: 0
775
+ }
776
+ },
777
+ // Fix the issue of input use `addonAfter` param in space compact mode
778
+ // https://github.com/ant-design/ant-design/issues/52483
779
+ [`&:not(${o}-compact-first-item)${o}-compact-item`]: {
780
+ [`${o}-affix-wrapper`]: {
781
+ borderStartStartRadius: 0,
782
+ borderEndStartRadius: 0
783
+ }
784
+ }
785
+ })
786
+ })
787
+ };
788
+ }, V = (r) => {
789
+ const {
790
+ componentCls: o,
791
+ antCls: i
792
+ } = r, e = `${o}-search`;
793
+ return {
794
+ [e]: {
795
+ [o]: {
796
+ "&:hover, &:focus": {
797
+ [`+ ${o}-group-addon ${e}-button:not(${i}-btn-primary)`]: {
798
+ borderInlineStartColor: r.colorPrimaryHover
799
+ }
800
+ }
801
+ },
802
+ [`${o}-affix-wrapper`]: {
803
+ height: r.controlHeight,
804
+ borderRadius: 0
805
+ },
806
+ // fix slight height diff in Firefox:
807
+ // https://ant.design/components/auto-complete-cn/#auto-complete-demo-certain-category
808
+ [`${o}-lg`]: {
809
+ lineHeight: r.calc(r.lineHeightLG).sub(2e-4).equal()
810
+ },
811
+ [`> ${o}-group`]: {
812
+ [`> ${o}-group-addon:last-child`]: {
813
+ insetInlineStart: -1,
814
+ padding: 0,
815
+ border: 0,
816
+ [`${e}-button`]: {
817
+ // Fix https://github.com/ant-design/ant-design/issues/47150
818
+ marginInlineEnd: -1,
819
+ borderStartStartRadius: 0,
820
+ borderEndStartRadius: 0,
821
+ boxShadow: "none"
822
+ },
823
+ [`${e}-button:not(${i}-btn-primary)`]: {
824
+ color: r.colorTextDescription,
825
+ "&:hover": {
826
+ color: r.colorPrimaryHover
827
+ },
828
+ "&:active": {
829
+ color: r.colorPrimaryActive
830
+ },
831
+ [`&${i}-btn-loading::before`]: {
832
+ insetInlineStart: 0,
833
+ insetInlineEnd: 0,
834
+ insetBlockStart: 0,
835
+ insetBlockEnd: 0
836
+ }
837
+ }
838
+ }
839
+ },
840
+ [`${e}-button`]: {
841
+ height: r.controlHeight,
842
+ "&:hover, &:focus": {
843
+ zIndex: 1
844
+ }
845
+ },
846
+ "&-large": {
847
+ [`${o}-affix-wrapper, ${e}-button`]: {
848
+ height: r.controlHeightLG
849
+ }
850
+ },
851
+ "&-small": {
852
+ [`${o}-affix-wrapper, ${e}-button`]: {
853
+ height: r.controlHeightSM
854
+ }
855
+ },
856
+ "&-rtl": {
857
+ direction: "rtl"
858
+ },
859
+ // ===================== Compact Item Customized Styles =====================
860
+ [`&${o}-compact-item`]: {
861
+ [`&:not(${o}-compact-last-item)`]: {
862
+ [`${o}-group-addon`]: {
863
+ [`${o}-search-button`]: {
864
+ marginInlineEnd: r.calc(r.lineWidth).mul(-1).equal(),
865
+ borderRadius: 0
866
+ }
867
+ }
868
+ },
869
+ [`&:not(${o}-compact-first-item)`]: {
870
+ [`${o},${o}-affix-wrapper`]: {
871
+ borderRadius: 0
872
+ }
873
+ },
874
+ [`> ${o}-group-addon ${o}-search-button,
875
+ > ${o},
876
+ ${o}-affix-wrapper`]: {
877
+ "&:hover, &:focus, &:active": {
878
+ zIndex: 2
879
+ }
880
+ },
881
+ [`> ${o}-affix-wrapper-focused`]: {
882
+ zIndex: 2
883
+ }
884
+ }
885
+ }
886
+ };
887
+ }, Y = (r) => {
888
+ const {
889
+ componentCls: o,
890
+ paddingLG: i
891
+ } = r, e = `${o}-textarea`;
892
+ return {
893
+ [e]: {
894
+ position: "relative",
895
+ "&-show-count": {
896
+ // https://github.com/ant-design/ant-design/issues/33049
897
+ [`> ${o}`]: {
898
+ height: "100%"
899
+ },
900
+ [`${o}-data-count`]: {
901
+ position: "absolute",
902
+ bottom: r.calc(r.fontSize).mul(r.lineHeight).mul(-1).equal(),
903
+ insetInlineEnd: 0,
904
+ color: r.colorTextDescription,
905
+ whiteSpace: "nowrap",
906
+ pointerEvents: "none"
907
+ }
908
+ },
909
+ [`
910
+ &-allow-clear > ${o},
911
+ &-affix-wrapper${e}-has-feedback ${o}
912
+ `]: {
913
+ paddingInlineEnd: i
914
+ },
915
+ [`&-affix-wrapper${o}-affix-wrapper`]: {
916
+ padding: 0,
917
+ [`> textarea${o}`]: {
918
+ fontSize: "inherit",
919
+ border: "none",
920
+ outline: "none",
921
+ background: "transparent",
922
+ "&:focus": {
923
+ boxShadow: "none !important"
924
+ }
925
+ },
926
+ [`${o}-suffix`]: {
927
+ margin: 0,
928
+ "> *:not(:last-child)": {
929
+ marginInline: 0
930
+ },
931
+ // Clear Icon
932
+ [`${o}-clear-icon`]: {
933
+ position: "absolute",
934
+ insetInlineEnd: r.paddingInline,
935
+ insetBlockStart: r.paddingXS
936
+ },
937
+ // Feedback Icon
938
+ [`${e}-suffix`]: {
939
+ position: "absolute",
940
+ top: 0,
941
+ insetInlineEnd: r.paddingInline,
942
+ bottom: 0,
943
+ zIndex: 1,
944
+ display: "inline-flex",
945
+ alignItems: "center",
946
+ margin: "auto",
947
+ pointerEvents: "none"
948
+ }
949
+ }
950
+ },
951
+ [`&-affix-wrapper${o}-affix-wrapper-sm`]: {
952
+ [`${o}-suffix`]: {
953
+ [`${o}-clear-icon`]: {
954
+ insetInlineEnd: r.paddingInlineSM
955
+ }
956
+ }
957
+ }
958
+ }
959
+ };
960
+ }, Z = (r) => {
961
+ const {
962
+ componentCls: o
963
+ } = r;
964
+ return {
965
+ [`${o}-out-of-range`]: {
966
+ [`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]: {
967
+ color: r.colorError
968
+ }
969
+ }
970
+ };
971
+ }, ar = T("Input", (r) => {
972
+ const o = g(r, M(r));
973
+ return [
974
+ J(o),
975
+ Y(o),
976
+ N(o),
977
+ U(o),
978
+ V(o),
979
+ Z(o),
980
+ // =====================================================
981
+ // == Space Compact ==
982
+ // =====================================================
983
+ G(o)
984
+ ];
985
+ }, A, {
986
+ resetFont: !1
987
+ });
988
+ export {
989
+ A as a,
990
+ q as b,
991
+ P as c,
992
+ _ as d,
993
+ v as e,
994
+ E as f,
995
+ L as g,
996
+ x as h,
997
+ M as i,
998
+ p as j,
999
+ ar as u
1000
+ };