@gobolt/genesis 0.1.2 → 0.1.3

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 (348) hide show
  1. package/README.md +7 -7
  2. package/dist/{AntdIcon-nCNB0J1E.js → AntdIcon-DP6hPDqu.js} +40 -39
  3. package/dist/CSSMotionList-DB0khM6h.js +22193 -0
  4. package/dist/{CheckCircleFilled-BKgizvyl.js → CheckCircleFilled-B-wrMduA.js} +2 -2
  5. package/dist/{CheckOutlined-cEBrx_Ag.js → CheckOutlined-DTEHi_xG.js} +2 -2
  6. package/dist/{ClockCircleOutlined-BaXQuLIn.js → ClockCircleOutlined-DGGcYjVd.js} +2 -2
  7. package/dist/{CloseCircleFilled-B9e7yFwo.js → CloseCircleFilled-WEQ0SaSW.js} +2 -2
  8. package/dist/{CloseOutlined-ogxnm7Oy.js → CloseOutlined-DzgBOns1.js} +2 -2
  9. package/dist/{Compact-Du9689ax.js → Compact-DFcWZrNo.js} +49 -49
  10. package/dist/Context-2_suFYDs.js +5 -0
  11. package/dist/{ContextIsolator-BmfhJgG0.js → ContextIsolator-CUJnq-4F.js} +2 -2
  12. package/dist/{DownOutlined-Dcq69ZKM.js → DownOutlined-Bv7ua5i8.js} +23 -22
  13. package/dist/EllipsisOutlined-BodkguEc.js +1118 -0
  14. package/dist/{ExclamationCircleFilled-BHELVsTg.js → ExclamationCircleFilled-x8Sr29BN.js} +2 -2
  15. package/dist/Input--qsU-6vp.js +424 -0
  16. package/dist/KeyCode-B3vHb2gY.js +155 -0
  17. package/dist/{Keyframes-C9_aCDvn.js → Keyframes-CyO2Aeq-.js} +7 -7
  18. package/dist/{LoadingOutlined-C1qu6ymP.js → LoadingOutlined-DOi5EGOl.js} +2 -2
  19. package/dist/{MinusCircleOutlined-Shz0RRQV.js → MinusCircleOutlined-BcKxYRyN.js} +2 -2
  20. package/dist/{Overflow-DWf4XIal.js → Overflow-CVbsx7Gn.js} +95 -95
  21. package/dist/{SearchOutlined-DNj-7b_h.js → SearchOutlined-DJ3uHFwq.js} +2 -2
  22. package/dist/{Skeleton-BVN4pcVe.js → Skeleton-CudViN0a.js} +166 -163
  23. package/dist/TextArea-CHo3cxKw.js +404 -0
  24. package/dist/{Typography-CoZ5qD-t.js → Typography-B2J8CPnt.js} +263 -247
  25. package/dist/_baseIsEqual-VdxFOa4v.js +1084 -0
  26. package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-B4e78b8K.js} +1 -1
  27. package/dist/{asyncToGenerator-CKP9bEZn.js → asyncToGenerator-CVBdSr4C.js} +27 -27
  28. package/dist/button-CYVlK7G0.js +1430 -0
  29. package/dist/components/Avatar/Avatar.js +8 -7
  30. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +0 -1
  31. package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
  32. package/dist/components/Avatar/styles.d.ts +1 -2
  33. package/dist/components/Avatar/styles.js +161 -159
  34. package/dist/components/Badge/Badge.js +8 -7
  35. package/dist/components/Badge/__stories__/Badge.stories.d.ts +0 -1
  36. package/dist/components/Badge/__tests__/Badge.test.js +1 -1
  37. package/dist/components/Badge/styles.d.ts +0 -1
  38. package/dist/components/Badge/styles.js +1 -1
  39. package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -1
  40. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  41. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -1
  42. package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +0 -1
  43. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +3 -3
  44. package/dist/components/Breadcrumb/styles.d.ts +0 -1
  45. package/dist/components/Breadcrumb/styles.js +58 -58
  46. package/dist/components/Button/Button.d.ts +0 -1
  47. package/dist/components/Button/__stories__/Button.stories.d.ts +0 -1
  48. package/dist/components/Button/__tests__/Button.test.js +5 -4
  49. package/dist/components/Button/styles.d.ts +0 -1
  50. package/dist/components/Button/styles.js +2 -2
  51. package/dist/components/Card/__stories__/Card.stories.d.ts +0 -1
  52. package/dist/components/Card/__tests__/Card.test.js +1 -1
  53. package/dist/components/Card/styles.d.ts +0 -1
  54. package/dist/components/Card/styles.js +2 -2
  55. package/dist/components/Checkbox/Checkbox.d.ts +0 -1
  56. package/dist/components/Checkbox/Checkbox.js +11 -11
  57. package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +0 -1
  58. package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -15
  59. package/dist/components/Checkbox/styles.d.ts +3 -4
  60. package/dist/components/Checkbox/styles.js +2 -2
  61. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +0 -1
  62. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +0 -1
  63. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +222 -223
  64. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +13 -12
  65. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +0 -1
  66. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +10 -9
  67. package/dist/components/Dashboard/__stories__/charts/LineChart.js +72 -74
  68. package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
  69. package/dist/components/Dashboard/styles.d.ts +0 -1
  70. package/dist/components/Dashboard/styles.js +1 -1
  71. package/dist/components/DatePicker/DatePicker.d.ts +0 -1
  72. package/dist/components/DatePicker/DatePicker.js +1 -1
  73. package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +0 -1
  74. package/dist/components/DatePicker/__tests__/DatePicker.test.js +2 -2
  75. package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -1
  76. package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
  77. package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +0 -1
  78. package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +2 -2
  79. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -2
  80. package/dist/components/ErrorBoundary/ErrorBoundary.js +8 -7
  81. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +0 -1
  82. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -20
  83. package/dist/components/ErrorBoundary/styles.d.ts +0 -1
  84. package/dist/components/ErrorBoundary/styles.js +1 -1
  85. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +16 -15
  86. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -1
  87. package/dist/components/ErrorBoundaryFallback/styles.js +13 -13
  88. package/dist/components/Form/Form.d.ts +0 -1
  89. package/dist/components/Form/Form.js +2 -2
  90. package/dist/components/Form/__stories__/Form.stories.d.ts +0 -1
  91. package/dist/components/Form/__stories__/FormStory.js +11 -10
  92. package/dist/components/Form/__tests__/form.test.js +7 -6
  93. package/dist/components/Form/index.js +1 -1
  94. package/dist/components/Form/styles.d.ts +0 -1
  95. package/dist/components/Form/styles.js +10 -2
  96. package/dist/components/FormBrandon/Form.d.ts +25 -0
  97. package/dist/components/FormBrandon/Form.js +18 -0
  98. package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +6 -0
  99. package/dist/components/FormBrandon/__stories__/FormStory.d.ts +1 -0
  100. package/dist/components/FormBrandon/__stories__/FormStory.js +172 -0
  101. package/dist/components/FormBrandon/__tests__/form.test.js +19 -0
  102. package/dist/components/FormBrandon/index.d.ts +2 -0
  103. package/dist/components/FormBrandon/index.js +4 -0
  104. package/dist/components/FormBrandon/styles.d.ts +2 -0
  105. package/dist/components/FormBrandon/styles.js +13 -0
  106. package/dist/components/Glyph/Glyph.js +2 -2
  107. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +0 -1
  108. package/dist/components/Glyph/styles.d.ts +0 -1
  109. package/dist/components/Glyph/styles.js +1 -1
  110. package/dist/components/Input/Input.d.ts +0 -1
  111. package/dist/components/Input/Input.js +9 -10
  112. package/dist/components/Input/__stories__/Input.stories.d.ts +0 -1
  113. package/dist/components/Input/__tests__/Input.test.js +21 -20
  114. package/dist/components/Input/styles.d.ts +5 -6
  115. package/dist/components/Input/styles.js +4 -119
  116. package/dist/components/Layout/Content/Content.d.ts +0 -1
  117. package/dist/components/Layout/Content/ResponsiveContent.js +14 -13
  118. package/dist/components/Layout/Content/styles.d.ts +0 -1
  119. package/dist/components/Layout/Content/styles.js +1 -1
  120. package/dist/components/Layout/MainLayout/MainLayout.d.ts +0 -1
  121. package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
  122. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +0 -1
  123. package/dist/components/Layout/MainLayout/styles.js +1 -1
  124. package/dist/components/Layout/__stories__/Layout.stories.d.ts +0 -1
  125. package/dist/components/Layout/__tests__/Layout.test.js +1 -1
  126. package/dist/components/Message/Message.d.ts +0 -1
  127. package/dist/components/Message/Message.js +13 -12
  128. package/dist/components/Message/__stories__/Message.stories.d.ts +0 -1
  129. package/dist/components/Message/__tests__/Message.test.js +6 -5
  130. package/dist/components/Message/styles.js +1 -1
  131. package/dist/components/Notification/Notification.js +122 -55
  132. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +2 -2
  133. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +0 -1
  134. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +4 -4
  135. package/dist/components/Notification/NotificationBadge/styles.js +1 -1
  136. package/dist/components/Notification/__stories__/Notification.stories.d.ts +0 -1
  137. package/dist/components/Notification/__tests__/Notification.test.js +3 -3
  138. package/dist/components/Notification/styles.js +1 -1
  139. package/dist/components/Popover/Popover.d.ts +1 -1
  140. package/dist/components/Popover/Popover.js +14 -11
  141. package/dist/components/Popover/__stories__/Popover.stories.d.ts +0 -1
  142. package/dist/components/Popover/__tests__/Popover.test.js +19 -26
  143. package/dist/components/Popover/styles.d.ts +0 -1
  144. package/dist/components/Popover/styles.js +2 -2
  145. package/dist/components/Progress/Progress.js +29 -27
  146. package/dist/components/Progress/Progress.util.d.ts +0 -1
  147. package/dist/components/Progress/Progress.util.js +8 -7
  148. package/dist/components/Progress/ProgressText.d.ts +0 -1
  149. package/dist/components/Progress/ProgressText.js +8 -7
  150. package/dist/components/Progress/__stories__/Progress.stories.d.ts +0 -1
  151. package/dist/components/Progress/__tests__/Progress.test.js +4 -4
  152. package/dist/components/Progress/styles.d.ts +0 -1
  153. package/dist/components/Progress/styles.js +217 -214
  154. package/dist/components/Radio/Radio.d.ts +0 -1
  155. package/dist/components/Radio/Radio.js +9 -8
  156. package/dist/components/Radio/RadioGroup.js +1 -1
  157. package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +0 -1
  158. package/dist/components/Radio/__tests__/RadioGroup.test.js +8 -7
  159. package/dist/components/Row/Row.d.ts +0 -1
  160. package/dist/components/Row/Row.js +29 -26
  161. package/dist/components/Row/RowActions/RowActions.js +8 -7
  162. package/dist/components/Row/RowActions/styles.js +1 -1
  163. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +0 -1
  164. package/dist/components/Row/RowLabelValue/RowLabelValue.js +7 -6
  165. package/dist/components/Row/RowLabelValue/styles.js +2 -2
  166. package/dist/components/Row/__stories__/Row.stories.d.ts +0 -1
  167. package/dist/components/Row/__tests__/Row.test.js +3 -3
  168. package/dist/components/Row/styles.d.ts +0 -1
  169. package/dist/components/Row/styles.js +1 -1
  170. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +0 -1
  171. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
  172. package/dist/components/SegmentedControls/styles.d.ts +1 -2
  173. package/dist/components/SegmentedControls/styles.js +214 -203
  174. package/dist/components/Select/Select.d.ts +0 -1
  175. package/dist/components/Select/Select.js +10 -11
  176. package/dist/components/Select/__stories__/Select.stories.d.ts +0 -1
  177. package/dist/components/Select/__tests__/Select.test.js +49 -10754
  178. package/dist/components/Select/styles.d.ts +0 -1
  179. package/dist/components/Select/styles.js +2 -2
  180. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +0 -1
  181. package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
  182. package/dist/components/Switch/__stories__/Switch.stories.d.ts +0 -1
  183. package/dist/components/Switch/__tests__/Switch.test.js +3 -3
  184. package/dist/components/Switch/styles.d.ts +0 -1
  185. package/dist/components/Switch/styles.js +74 -74
  186. package/dist/components/Table/Table.js +1 -1
  187. package/dist/components/Table/__mocks__/table-mocks.d.ts +0 -1
  188. package/dist/components/Table/__mocks__/table-mocks.js +10 -9
  189. package/dist/components/Table/__stories__/Table.stories.d.ts +0 -1
  190. package/dist/components/Table/__tests__/Table.test.js +1 -1
  191. package/dist/components/Table/styles.d.ts +0 -1
  192. package/dist/components/Table/styles.js +2 -2
  193. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +0 -1
  194. package/dist/components/Tabs/__tests__/Tabs.test.js +3 -3
  195. package/dist/components/Tabs/styles.d.ts +0 -1
  196. package/dist/components/Tabs/styles.js +2 -2
  197. package/dist/components/Tile/__stories__/Tile.stories.d.ts +0 -1
  198. package/dist/components/Tile/__tests__/Tile.test.js +1 -1
  199. package/dist/components/Tile/styles.d.ts +0 -1
  200. package/dist/components/Tile/styles.js +1 -1
  201. package/dist/components/Toast/Toast.d.ts +0 -1
  202. package/dist/components/Toast/Toast.js +9 -8
  203. package/dist/components/Toast/__stories__/Toast.stories.d.ts +0 -1
  204. package/dist/components/Toast/__tests__/Toast.test.js +6 -5
  205. package/dist/components/Toast/index.js +1 -1
  206. package/dist/components/Toast/styles.js +1 -1
  207. package/dist/components/Tooltip/Tooltip.js +8 -7
  208. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +0 -1
  209. package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
  210. package/dist/components/Tooltip/styles.d.ts +0 -1
  211. package/dist/components/Tooltip/styles.js +2 -2
  212. package/dist/components/Typography/Typography.d.ts +0 -1
  213. package/dist/components/Typography/Typography.js +1 -1
  214. package/dist/components/Typography/__stories__/Typography.stories.d.ts +0 -1
  215. package/dist/components/Typography/__tests__/Typography.test.js +14 -13
  216. package/dist/components/Typography/index.js +1 -1
  217. package/dist/components/Typography/styles.d.ts +0 -1
  218. package/dist/components/Typography/styles.js +2 -2
  219. package/dist/components/index.d.ts +0 -2
  220. package/dist/components/index.js +46 -48
  221. package/dist/{context-DIFtNa4d.js → context-CQfFkrkv.js} +285 -278
  222. package/dist/{dropdown-Dp_PTQ2u.js → dropdown-BlRB2LxQ.js} +492 -491
  223. package/dist/{generateCategoricalChart-7ceYaiZ2.js → generateCategoricalChart-CqByWmje.js} +7189 -6383
  224. package/dist/genesis/GenesisThemeBreakdown.d.ts +0 -1
  225. package/dist/genesis/GenesisThemeBreakdown.js +9 -8
  226. package/dist/genesis/GenesisThemeDemo.d.ts +0 -1
  227. package/dist/genesis/GenesisThemeDemo.stories.d.ts +0 -1
  228. package/dist/genesis/{labs/Lab.stories.d.ts → Lab.stories.d.ts} +0 -1
  229. package/dist/genesis/styles.d.ts +0 -1
  230. package/dist/genesis/styles.js +3 -3
  231. package/dist/{iconBase-LROS5hdG.js → iconBase-DSKTHwal.js} +9 -9
  232. package/dist/index-B7FXyiY_.js +104 -0
  233. package/dist/{index-B_1Ge8na.js → index-BHCqeC4j.js} +190 -183
  234. package/dist/index-BZ050Dyl.js +292 -0
  235. package/dist/{index-BpZSuIUV.js → index-Br3D3cFM.js} +23 -23
  236. package/dist/{index-DOsPeIWJ.js → index-Bxbr727t.js} +260 -265
  237. package/dist/index-C2K1BzmJ.js +3400 -0
  238. package/dist/{styles-D1vKDy9V.js → index-CupwdUIJ.js} +596 -603
  239. package/dist/{index-BQM5OniU.js → index-CzMIlMTV.js} +111 -111
  240. package/dist/index-DCopujxC.js +772 -0
  241. package/dist/index-DRGbc-fW.js +780 -0
  242. package/dist/index-DavB5GQ3.js +5221 -0
  243. package/dist/index-RAH9f-qb.js +540 -0
  244. package/dist/{index-BPVue1Yd.js → index-RtWhGOwR.js} +152 -150
  245. package/dist/index-Y0KgiFZb.js +909 -0
  246. package/dist/{index-DRGX1Wem.js → index-sX7KZ-nU.js} +414 -402
  247. package/dist/index.js +53 -55
  248. package/dist/interface/appointment.d.ts +0 -1
  249. package/dist/interface/appointmentV2.d.ts +0 -1
  250. package/dist/interface/appointmentsState.d.ts +0 -1
  251. package/dist/interface/deliveryPartner.d.ts +0 -1
  252. package/dist/interface/route.d.ts +0 -1
  253. package/dist/interface/routeAnalysis.d.ts +0 -1
  254. package/dist/interface/routeAutomationJob.d.ts +0 -1
  255. package/dist/interface/routeAutomationLog.d.ts +0 -1
  256. package/dist/interface/serviceArea.d.ts +0 -1
  257. package/dist/interface/vehicle.d.ts +0 -1
  258. package/dist/{magic-string.es-BKBb7z-1.js → magic-string.es-D4UQQyt0.js} +265 -264
  259. package/dist/{motion-CUN72xsH.js → motion-C-XpKcZG.js} +6 -5
  260. package/dist/{pickAttrs-CleuMJFR.js → pickAttrs-yFE4_vFd.js} +1 -1
  261. package/dist/{presets-Djh_L_6R.js → presets-CSXMiWyc.js} +176 -176
  262. package/dist/providers/BreakpointThemeProvider.d.ts +0 -1
  263. package/dist/providers/BreakpointThemeProvider.js +5 -5
  264. package/dist/providers/GenesisProvider.d.ts +0 -1
  265. package/dist/providers/GenesisProvider.js +1 -1
  266. package/dist/providers/ToastProvider.d.ts +0 -1
  267. package/dist/providers/ToastProvider.js +10 -9
  268. package/dist/providers/__stories__/GenesisProvider.stories.d.ts +0 -1
  269. package/dist/providers/index.js +1 -1
  270. package/dist/providers/useGenesis.d.ts +0 -1
  271. package/dist/providers/useGenesis.js +2 -2
  272. package/dist/{roundedArrow-DI_Q-xdU.js → roundedArrow-BxPlu4Hq.js} +2 -2
  273. package/dist/setup-aZdxWCJq.js +13976 -0
  274. package/dist/setup.types-CgFq66QX.js +9261 -0
  275. package/dist/shadow-9lsz-71t.js +13 -0
  276. package/dist/statusUtils-Kj9kMuVg.js +15 -0
  277. package/dist/{styleChecker-Cotu61d0.js → styleChecker-CSH9LQtm.js} +3 -3
  278. package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-C47QHsU4.js} +371 -304
  279. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +11 -10
  280. package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +0 -1
  281. package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +0 -1
  282. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +9 -8
  283. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  284. package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +0 -1
  285. package/dist/styles/global-styles.d.ts +0 -1
  286. package/dist/styles/global-styles.js +1 -1
  287. package/dist/styles/theme/genesis-theme.d.ts +0 -1
  288. package/dist/styles/theme/genesis-theme.js +285 -337
  289. package/dist/styles/theme/genesis-theme.test.d.ts +1 -0
  290. package/dist/styles/theme/genesis-theme.test.js +69 -0
  291. package/dist/styles/theme/theme-tree/ThemeTree.js +488 -488
  292. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +0 -1
  293. package/dist/styles-DNay6iFa.js +292 -0
  294. package/dist/styles-Wpm1RiGr.js +9212 -0
  295. package/dist/styles-XuoEGUZZ.js +549 -0
  296. package/dist/test/setup.d.ts +0 -1
  297. package/dist/test/setup.js +35 -35
  298. package/dist/test/setup.types.d.ts +0 -1
  299. package/dist/test/setup.types.js +1 -1
  300. package/dist/{toArray-U3Az44CO.js → toArray-D5kvYi_U.js} +1 -1
  301. package/dist/useBreakpoint-ByLol0R9.js +88 -0
  302. package/dist/useCSSVarCls-YfJY1twF.js +10 -0
  303. package/dist/{useIcons-Ck4JP1m9.js → useIcons-CoxuumP_.js} +16 -16
  304. package/dist/{useId-D2tzlufo.js → useId-DLf1xVuv.js} +3 -3
  305. package/dist/useLocale-BQ3mKRyJ.js +16 -0
  306. package/dist/{useMergedState-D6toxSxh.js → useMergedState-D1-TbeEv.js} +2 -2
  307. package/dist/useSize-Ct1guc-z.js +9 -0
  308. package/dist/useVariants-C6UAAu9f.js +19 -0
  309. package/dist/{useZIndex-DhyHuZTN.js → useZIndex-tgX56o1r.js} +7 -6
  310. package/dist/utils/icon-util.js +48 -44
  311. package/dist/vi.B5EKKJdE-BsDIxc7v.js +14087 -0
  312. package/package.json +33 -24
  313. package/dist/EllipsisOutlined-DGMph0Bj.js +0 -1115
  314. package/dist/KeyCode-DM2sFh3-.js +0 -517
  315. package/dist/TextArea-Bkf9hh7l.js +0 -708
  316. package/dist/_baseIsEqual-L0-w1QRI.js +0 -598
  317. package/dist/button-BwqpCxVM.js +0 -1406
  318. package/dist/clsx-OuTLNxxd.js +0 -16
  319. package/dist/index-BRUI9igj.js +0 -11
  320. package/dist/index-BbTV2Cw5.js +0 -22638
  321. package/dist/index-BeGv28kJ.js +0 -5173
  322. package/dist/index-BvOLXELm.js +0 -102
  323. package/dist/index-CLSrpQRW.js +0 -416
  324. package/dist/index-CbVOl2U6.js +0 -288
  325. package/dist/index-D0U6r5O7.js +0 -780
  326. package/dist/index-DEu2PVzQ.js +0 -538
  327. package/dist/index-DLdU7Tpd.js +0 -183
  328. package/dist/index-DNQ-jnBx.js +0 -3321
  329. package/dist/index-DWjq9XYj.js +0 -899
  330. package/dist/responsiveObserver-dCkpy7Cb.js +0 -73
  331. package/dist/setup-DwHFLWUb.js +0 -24713
  332. package/dist/setup.types-dBtAXXGp.js +0 -8824
  333. package/dist/shadow-BoMGMNn3.js +0 -13
  334. package/dist/styles-CWdUpZom.js +0 -289
  335. package/dist/styles-qerRs7Rn.js +0 -9196
  336. package/dist/useBreakpoint-TkMv121M.js +0 -22
  337. package/dist/useCSSVarCls-Dau77fzS.js +0 -11
  338. package/dist/useLocale-CTfNpakL.js +0 -16
  339. package/dist/useSize-DSq4r6zy.js +0 -9
  340. package/dist/useVariants-DrLzUVLU.js +0 -30
  341. package/dist/utils/getAppointmentColor.d.ts +0 -4
  342. package/dist/utils/getAppointmentColor.js +0 -91
  343. package/dist/utils/isAllEnglishString.d.ts +0 -1
  344. package/dist/utils/isAllEnglishString.js +0 -8
  345. package/dist/utils/isAllEnglishString.test.js +0 -8
  346. package/dist/utils/parseAddress.d.ts +0 -3
  347. package/dist/utils/parseAddress.js +0 -19
  348. /package/dist/{utils/isAllEnglishString.test.d.ts → components/FormBrandon/__tests__/form.test.d.ts} +0 -0
@@ -1,538 +0,0 @@
1
- import * as o from "react";
2
- import { e as b } from "./presets-Djh_L_6R.js";
3
- import { o as be } from "./omit-B_u6A-HL.js";
4
- import { C as B, j as me, m as fe, k as pe, f as i, n as w, v as D, g as ye } from "./index-BbTV2Cw5.js";
5
- import { u as he } from "./useSize-DSq4r6zy.js";
6
- import { S as $e } from "./Skeleton-BVN4pcVe.js";
7
- import { T as Se } from "./index-B_1Ge8na.js";
8
- import "./index-DLdU7Tpd.js";
9
- var ve = function(e, a) {
10
- var r = {};
11
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
12
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, t = Object.getOwnPropertySymbols(e); n < t.length; n++)
13
- a.indexOf(t[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[n]) && (r[t[n]] = e[t[n]]);
14
- return r;
15
- };
16
- const _ = (e) => {
17
- var {
18
- prefixCls: a,
19
- className: r,
20
- hoverable: t = !0
21
- } = e, n = ve(e, ["prefixCls", "className", "hoverable"]);
22
- const {
23
- getPrefixCls: l
24
- } = o.useContext(B), g = l("card", a), m = b(`${g}-grid`, r, {
25
- [`${g}-grid-hoverable`]: t
26
- });
27
- return /* @__PURE__ */ o.createElement("div", Object.assign({}, n, {
28
- className: m
29
- }));
30
- }, Ce = (e) => {
31
- const {
32
- antCls: a,
33
- componentCls: r,
34
- headerHeight: t,
35
- headerPadding: n,
36
- tabsMarginBottom: l
37
- } = e;
38
- return Object.assign(Object.assign({
39
- display: "flex",
40
- justifyContent: "center",
41
- flexDirection: "column",
42
- minHeight: t,
43
- marginBottom: -1,
44
- padding: `0 ${i(n)}`,
45
- color: e.colorTextHeading,
46
- fontWeight: e.fontWeightStrong,
47
- fontSize: e.headerFontSize,
48
- background: e.headerBg,
49
- borderBottom: `${i(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,
50
- borderRadius: `${i(e.borderRadiusLG)} ${i(e.borderRadiusLG)} 0 0`
51
- }, w()), {
52
- "&-wrapper": {
53
- width: "100%",
54
- display: "flex",
55
- alignItems: "center"
56
- },
57
- "&-title": Object.assign(Object.assign({
58
- display: "inline-block",
59
- flex: 1
60
- }, D), {
61
- [`
62
- > ${r}-typography,
63
- > ${r}-typography-edit-content
64
- `]: {
65
- insetInlineStart: 0,
66
- marginTop: 0,
67
- marginBottom: 0
68
- }
69
- }),
70
- [`${a}-tabs-top`]: {
71
- clear: "both",
72
- marginBottom: l,
73
- color: e.colorText,
74
- fontWeight: "normal",
75
- fontSize: e.fontSize,
76
- "&-bar": {
77
- borderBottom: `${i(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`
78
- }
79
- }
80
- });
81
- }, xe = (e) => {
82
- const {
83
- cardPaddingBase: a,
84
- colorBorderSecondary: r,
85
- cardShadow: t,
86
- lineWidth: n
87
- } = e;
88
- return {
89
- width: "33.33%",
90
- padding: a,
91
- border: 0,
92
- borderRadius: 0,
93
- boxShadow: `
94
- ${i(n)} 0 0 0 ${r},
95
- 0 ${i(n)} 0 0 ${r},
96
- ${i(n)} ${i(n)} 0 0 ${r},
97
- ${i(n)} 0 0 0 ${r} inset,
98
- 0 ${i(n)} 0 0 ${r} inset;
99
- `,
100
- transition: `all ${e.motionDurationMid}`,
101
- "&-hoverable:hover": {
102
- position: "relative",
103
- zIndex: 1,
104
- boxShadow: t
105
- }
106
- };
107
- }, Oe = (e) => {
108
- const {
109
- componentCls: a,
110
- iconCls: r,
111
- actionsLiMargin: t,
112
- cardActionsIconSize: n,
113
- colorBorderSecondary: l,
114
- actionsBg: g
115
- } = e;
116
- return Object.assign(Object.assign({
117
- margin: 0,
118
- padding: 0,
119
- listStyle: "none",
120
- background: g,
121
- borderTop: `${i(e.lineWidth)} ${e.lineType} ${l}`,
122
- display: "flex",
123
- borderRadius: `0 0 ${i(e.borderRadiusLG)} ${i(e.borderRadiusLG)}`
124
- }, w()), {
125
- "& > li": {
126
- margin: t,
127
- color: e.colorTextDescription,
128
- textAlign: "center",
129
- "> span": {
130
- position: "relative",
131
- display: "block",
132
- minWidth: e.calc(e.cardActionsIconSize).mul(2).equal(),
133
- fontSize: e.fontSize,
134
- lineHeight: e.lineHeight,
135
- cursor: "pointer",
136
- "&:hover": {
137
- color: e.colorPrimary,
138
- transition: `color ${e.motionDurationMid}`
139
- },
140
- [`a:not(${a}-btn), > ${r}`]: {
141
- display: "inline-block",
142
- width: "100%",
143
- color: e.colorTextDescription,
144
- lineHeight: i(e.fontHeight),
145
- transition: `color ${e.motionDurationMid}`,
146
- "&:hover": {
147
- color: e.colorPrimary
148
- }
149
- },
150
- [`> ${r}`]: {
151
- fontSize: n,
152
- lineHeight: i(e.calc(n).mul(e.lineHeight).equal())
153
- }
154
- },
155
- "&:not(:last-child)": {
156
- borderInlineEnd: `${i(e.lineWidth)} ${e.lineType} ${l}`
157
- }
158
- }
159
- });
160
- }, je = (e) => Object.assign(Object.assign({
161
- margin: `${i(e.calc(e.marginXXS).mul(-1).equal())} 0`,
162
- display: "flex"
163
- }, w()), {
164
- "&-avatar": {
165
- paddingInlineEnd: e.padding
166
- },
167
- "&-detail": {
168
- overflow: "hidden",
169
- flex: 1,
170
- "> div:not(:last-child)": {
171
- marginBottom: e.marginXS
172
- }
173
- },
174
- "&-title": Object.assign({
175
- color: e.colorTextHeading,
176
- fontWeight: e.fontWeightStrong,
177
- fontSize: e.fontSizeLG
178
- }, D),
179
- "&-description": {
180
- color: e.colorTextDescription
181
- }
182
- }), ze = (e) => {
183
- const {
184
- componentCls: a,
185
- colorFillAlter: r,
186
- headerPadding: t,
187
- bodyPadding: n
188
- } = e;
189
- return {
190
- [`${a}-head`]: {
191
- padding: `0 ${i(t)}`,
192
- background: r,
193
- "&-title": {
194
- fontSize: e.fontSize
195
- }
196
- },
197
- [`${a}-body`]: {
198
- padding: `${i(e.padding)} ${i(n)}`
199
- }
200
- };
201
- }, Pe = (e) => {
202
- const {
203
- componentCls: a
204
- } = e;
205
- return {
206
- overflow: "hidden",
207
- [`${a}-body`]: {
208
- userSelect: "none"
209
- }
210
- };
211
- }, we = (e) => {
212
- const {
213
- componentCls: a,
214
- cardShadow: r,
215
- cardHeadPadding: t,
216
- colorBorderSecondary: n,
217
- boxShadowTertiary: l,
218
- bodyPadding: g,
219
- extraColor: m
220
- } = e;
221
- return {
222
- [a]: Object.assign(Object.assign({}, pe(e)), {
223
- position: "relative",
224
- background: e.colorBgContainer,
225
- borderRadius: e.borderRadiusLG,
226
- [`&:not(${a}-bordered)`]: {
227
- boxShadow: l
228
- },
229
- [`${a}-head`]: Ce(e),
230
- [`${a}-extra`]: {
231
- // https://stackoverflow.com/a/22429853/3040605
232
- marginInlineStart: "auto",
233
- color: m,
234
- fontWeight: "normal",
235
- fontSize: e.fontSize
236
- },
237
- [`${a}-body`]: Object.assign({
238
- padding: g,
239
- borderRadius: `0 0 ${i(e.borderRadiusLG)} ${i(e.borderRadiusLG)}`
240
- }, w()),
241
- [`${a}-grid`]: xe(e),
242
- [`${a}-cover`]: {
243
- "> *": {
244
- display: "block",
245
- width: "100%",
246
- borderRadius: `${i(e.borderRadiusLG)} ${i(e.borderRadiusLG)} 0 0`
247
- }
248
- },
249
- [`${a}-actions`]: Oe(e),
250
- [`${a}-meta`]: je(e)
251
- }),
252
- [`${a}-bordered`]: {
253
- border: `${i(e.lineWidth)} ${e.lineType} ${n}`,
254
- [`${a}-cover`]: {
255
- marginTop: -1,
256
- marginInlineStart: -1,
257
- marginInlineEnd: -1
258
- }
259
- },
260
- [`${a}-hoverable`]: {
261
- cursor: "pointer",
262
- transition: `box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,
263
- "&:hover": {
264
- borderColor: "transparent",
265
- boxShadow: r
266
- }
267
- },
268
- [`${a}-contain-grid`]: {
269
- borderRadius: `${i(e.borderRadiusLG)} ${i(e.borderRadiusLG)} 0 0 `,
270
- [`${a}-body`]: {
271
- display: "flex",
272
- flexWrap: "wrap"
273
- },
274
- [`&:not(${a}-loading) ${a}-body`]: {
275
- marginBlockStart: e.calc(e.lineWidth).mul(-1).equal(),
276
- marginInlineStart: e.calc(e.lineWidth).mul(-1).equal(),
277
- padding: 0
278
- }
279
- },
280
- [`${a}-contain-tabs`]: {
281
- [`> div${a}-head`]: {
282
- minHeight: 0,
283
- [`${a}-head-title, ${a}-extra`]: {
284
- paddingTop: t
285
- }
286
- }
287
- },
288
- [`${a}-type-inner`]: ze(e),
289
- [`${a}-loading`]: Pe(e),
290
- [`${a}-rtl`]: {
291
- direction: "rtl"
292
- }
293
- };
294
- }, Ne = (e) => {
295
- const {
296
- componentCls: a,
297
- bodyPaddingSM: r,
298
- headerPaddingSM: t,
299
- headerHeightSM: n,
300
- headerFontSizeSM: l
301
- } = e;
302
- return {
303
- [`${a}-small`]: {
304
- [`> ${a}-head`]: {
305
- minHeight: n,
306
- padding: `0 ${i(t)}`,
307
- fontSize: l,
308
- [`> ${a}-head-wrapper`]: {
309
- [`> ${a}-extra`]: {
310
- fontSize: e.fontSize
311
- }
312
- }
313
- },
314
- [`> ${a}-body`]: {
315
- padding: r
316
- }
317
- },
318
- [`${a}-small${a}-contain-tabs`]: {
319
- [`> ${a}-head`]: {
320
- [`${a}-head-title, ${a}-extra`]: {
321
- paddingTop: 0,
322
- display: "flex",
323
- alignItems: "center"
324
- }
325
- }
326
- }
327
- };
328
- }, Ee = (e) => {
329
- var a, r;
330
- return {
331
- headerBg: "transparent",
332
- headerFontSize: e.fontSizeLG,
333
- headerFontSizeSM: e.fontSize,
334
- headerHeight: e.fontSizeLG * e.lineHeightLG + e.padding * 2,
335
- headerHeightSM: e.fontSize * e.lineHeight + e.paddingXS * 2,
336
- actionsBg: e.colorBgContainer,
337
- actionsLiMargin: `${e.paddingSM}px 0`,
338
- tabsMarginBottom: -e.padding - e.lineWidth,
339
- extraColor: e.colorText,
340
- bodyPaddingSM: 12,
341
- // Fixed padding.
342
- headerPaddingSM: 12,
343
- bodyPadding: (a = e.bodyPadding) !== null && a !== void 0 ? a : e.paddingLG,
344
- headerPadding: (r = e.headerPadding) !== null && r !== void 0 ? r : e.paddingLG
345
- };
346
- }, Te = me("Card", (e) => {
347
- const a = fe(e, {
348
- cardShadow: e.boxShadowCard,
349
- cardHeadPadding: e.padding,
350
- cardPaddingBase: e.paddingLG,
351
- cardActionsIconSize: e.fontSize
352
- });
353
- return [
354
- // Style
355
- we(a),
356
- // Size
357
- Ne(a)
358
- ];
359
- }, Ee);
360
- var W = function(e, a) {
361
- var r = {};
362
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
363
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, t = Object.getOwnPropertySymbols(e); n < t.length; n++)
364
- a.indexOf(t[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[n]) && (r[t[n]] = e[t[n]]);
365
- return r;
366
- };
367
- const Be = (e) => {
368
- const {
369
- actionClasses: a,
370
- actions: r = [],
371
- actionStyle: t
372
- } = e;
373
- return /* @__PURE__ */ o.createElement("ul", {
374
- className: a,
375
- style: t
376
- }, r.map((n, l) => {
377
- const g = `action-${l}`;
378
- return /* @__PURE__ */ o.createElement("li", {
379
- style: {
380
- width: `${100 / r.length}%`
381
- },
382
- key: g
383
- }, /* @__PURE__ */ o.createElement("span", null, n));
384
- }));
385
- }, Ge = /* @__PURE__ */ o.forwardRef((e, a) => {
386
- const {
387
- prefixCls: r,
388
- className: t,
389
- rootClassName: n,
390
- style: l,
391
- extra: g,
392
- headStyle: m = {},
393
- bodyStyle: f = {},
394
- title: $,
395
- loading: C,
396
- bordered: x = !0,
397
- size: O,
398
- type: j,
399
- cover: L,
400
- actions: z,
401
- tabList: S,
402
- children: P,
403
- activeTabKey: M,
404
- defaultActiveTabKey: A,
405
- tabBarExtraContent: K,
406
- hoverable: F,
407
- tabProps: q = {},
408
- classNames: N,
409
- styles: E
410
- } = e, V = W(e, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps", "classNames", "styles"]), {
411
- getPrefixCls: X,
412
- direction: U,
413
- card: u
414
- } = o.useContext(B);
415
- if (process.env.NODE_ENV !== "production") {
416
- const c = ye("Card");
417
- [["headStyle", "styles.header"], ["bodyStyle", "styles.body"]].forEach((d) => {
418
- let [h, T] = d;
419
- c.deprecated(!(h in e), h, T);
420
- });
421
- }
422
- const J = (c) => {
423
- var d;
424
- (d = e.onTabChange) === null || d === void 0 || d.call(e, c);
425
- }, p = (c) => {
426
- var d;
427
- return b((d = u == null ? void 0 : u.classNames) === null || d === void 0 ? void 0 : d[c], N == null ? void 0 : N[c]);
428
- }, y = (c) => {
429
- var d;
430
- return Object.assign(Object.assign({}, (d = u == null ? void 0 : u.styles) === null || d === void 0 ? void 0 : d[c]), E == null ? void 0 : E[c]);
431
- }, Q = o.useMemo(() => {
432
- let c = !1;
433
- return o.Children.forEach(P, (d) => {
434
- (d == null ? void 0 : d.type) === _ && (c = !0);
435
- }), c;
436
- }, [P]), s = X("card", r), [Y, Z, k] = Te(s), ee = /* @__PURE__ */ o.createElement($e, {
437
- loading: !0,
438
- active: !0,
439
- paragraph: {
440
- rows: 4
441
- },
442
- title: !1
443
- }, P), H = M !== void 0, ae = Object.assign(Object.assign({}, q), {
444
- [H ? "activeKey" : "defaultActiveKey"]: H ? M : A,
445
- tabBarExtraContent: K
446
- });
447
- let R;
448
- const v = he(O), te = !v || v === "default" ? "large" : v, I = S ? /* @__PURE__ */ o.createElement(Se, Object.assign({
449
- size: te
450
- }, ae, {
451
- className: `${s}-head-tabs`,
452
- onChange: J,
453
- items: S.map((c) => {
454
- var {
455
- tab: d
456
- } = c, h = W(c, ["tab"]);
457
- return Object.assign({
458
- label: d
459
- }, h);
460
- })
461
- })) : null;
462
- if ($ || g || I) {
463
- const c = b(`${s}-head`, p("header")), d = b(`${s}-head-title`, p("title")), h = b(`${s}-extra`, p("extra")), T = Object.assign(Object.assign({}, m), y("header"));
464
- R = /* @__PURE__ */ o.createElement("div", {
465
- className: c,
466
- style: T
467
- }, /* @__PURE__ */ o.createElement("div", {
468
- className: `${s}-head-wrapper`
469
- }, $ && /* @__PURE__ */ o.createElement("div", {
470
- className: d,
471
- style: y("title")
472
- }, $), g && /* @__PURE__ */ o.createElement("div", {
473
- className: h,
474
- style: y("extra")
475
- }, g)), I);
476
- }
477
- const ne = b(`${s}-cover`, p("cover")), re = L ? /* @__PURE__ */ o.createElement("div", {
478
- className: ne,
479
- style: y("cover")
480
- }, L) : null, ie = b(`${s}-body`, p("body")), oe = Object.assign(Object.assign({}, f), y("body")), de = /* @__PURE__ */ o.createElement("div", {
481
- className: ie,
482
- style: oe
483
- }, C ? ee : P), se = b(`${s}-actions`, p("actions")), le = z != null && z.length ? /* @__PURE__ */ o.createElement(Be, {
484
- actionClasses: se,
485
- actionStyle: y("actions"),
486
- actions: z
487
- }) : null, ce = be(V, ["onTabChange"]), ge = b(s, u == null ? void 0 : u.className, {
488
- [`${s}-loading`]: C,
489
- [`${s}-bordered`]: x,
490
- [`${s}-hoverable`]: F,
491
- [`${s}-contain-grid`]: Q,
492
- [`${s}-contain-tabs`]: S == null ? void 0 : S.length,
493
- [`${s}-${v}`]: v,
494
- [`${s}-type-${j}`]: !!j,
495
- [`${s}-rtl`]: U === "rtl"
496
- }, t, n, Z, k), ue = Object.assign(Object.assign({}, u == null ? void 0 : u.style), l);
497
- return Y(/* @__PURE__ */ o.createElement("div", Object.assign({
498
- ref: a
499
- }, ce, {
500
- className: ge,
501
- style: ue
502
- }), R, re, de, le));
503
- });
504
- var Le = function(e, a) {
505
- var r = {};
506
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
507
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, t = Object.getOwnPropertySymbols(e); n < t.length; n++)
508
- a.indexOf(t[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[n]) && (r[t[n]] = e[t[n]]);
509
- return r;
510
- };
511
- const Me = (e) => {
512
- const {
513
- prefixCls: a,
514
- className: r,
515
- avatar: t,
516
- title: n,
517
- description: l
518
- } = e, g = Le(e, ["prefixCls", "className", "avatar", "title", "description"]), {
519
- getPrefixCls: m
520
- } = o.useContext(B), f = m("card", a), $ = b(`${f}-meta`, r), C = t ? /* @__PURE__ */ o.createElement("div", {
521
- className: `${f}-meta-avatar`
522
- }, t) : null, x = n ? /* @__PURE__ */ o.createElement("div", {
523
- className: `${f}-meta-title`
524
- }, n) : null, O = l ? /* @__PURE__ */ o.createElement("div", {
525
- className: `${f}-meta-description`
526
- }, l) : null, j = x || O ? /* @__PURE__ */ o.createElement("div", {
527
- className: `${f}-meta-detail`
528
- }, x, O) : null;
529
- return /* @__PURE__ */ o.createElement("div", Object.assign({}, g, {
530
- className: $
531
- }), C, j);
532
- }, G = Ge;
533
- G.Grid = _;
534
- G.Meta = Me;
535
- process.env.NODE_ENV !== "production" && (G.displayName = "Card");
536
- export {
537
- G as C
538
- };