@gobolt/genesis 0.1.2 → 0.1.5

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 +45 -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
@@ -2,33 +2,34 @@ import { jsx as t } from "react/jsx-runtime";
2
2
  import { Avatar as a } from "./styles.js";
3
3
  import "../Badge/styles.js";
4
4
  import "../../providers/BreakpointThemeProvider.js";
5
- import { a as e } from "../../Typography-CoZ5qD-t.js";
5
+ import { a as e } from "../../Typography-B2J8CPnt.js";
6
6
  import "../Breadcrumb/styles.js";
7
7
  import "../Button/styles.js";
8
8
  import "../Card/styles.js";
9
9
  import "../Checkbox/styles.js";
10
+ import "../DateRangePicker/DateRangePicker.js";
10
11
  import "react";
11
12
  import "../ErrorBoundaryFallback/styles.js";
12
- import "../Input/styles.js";
13
+ import "../../styles-XuoEGUZZ.js";
13
14
  import "../Layout/Content/styles.js";
14
15
  import "../Message/styles.js";
15
16
  import "../Notification/NotificationBadge/styles.js";
16
17
  import "../Notification/styles.js";
17
- import "../../styles-CWdUpZom.js";
18
+ import "../../styles-DNay6iFa.js";
18
19
  import "../Progress/styles.js";
19
- import "../../styles/global-styles.js";
20
20
  import "../Row/styles.js";
21
+ import "../../styles/global-styles.js";
21
22
  import "../Row/RowLabelValue/styles.js";
22
23
  import "../Row/RowActions/styles.js";
23
24
  import "../SegmentedControls/styles.js";
24
25
  import "../Select/styles.js";
25
26
  import "../Switch/styles.js";
26
- import "../../styles-qerRs7Rn.js";
27
+ import "../../styles-Wpm1RiGr.js";
27
28
  import "../Tabs/styles.js";
28
29
  import "../Tile/styles.js";
29
30
  import "../Toast/styles.js";
30
31
  import "../Tooltip/styles.js";
31
- const M = ({
32
+ const N = ({
32
33
  size: r = 64,
33
34
  shape: o = "circle",
34
35
  imageUrl: i,
@@ -57,5 +58,5 @@ const M = ({
57
58
  }
58
59
  );
59
60
  export {
60
- M as default
61
+ N as default
61
62
  };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { default as Avatar } from '../Avatar';
3
-
4
3
  declare const meta: Meta<typeof Avatar>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof Avatar>;
@@ -1,5 +1,5 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { a as s } from "../../../setup-DwHFLWUb.js";
2
+ import { a as s } from "../../../setup-aZdxWCJq.js";
3
3
  import i from "../Avatar.js";
4
4
  describe("<Avatar />", () => {
5
5
  let t;
@@ -1,5 +1,4 @@
1
1
  import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
2
-
3
2
  interface StyledAvatarProps {
4
3
  theme?: GenesisTheme;
5
4
  type?: "primary" | "secondary";
@@ -13,6 +12,6 @@ export declare const getGenesisClass: ({ colors, borderRadius, sizing }: {
13
12
  export declare const Avatar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd').AvatarProps & import('react').RefAttributes<HTMLSpanElement>, "ref"> & {
14
13
  ref?: import('react').Ref<HTMLSpanElement>;
15
14
  }, StyledAvatarProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').AvatarProps & import('react').RefAttributes<HTMLSpanElement>> & {
16
- Group: import('react').FC<import('antd/es/avatar').GroupProps>;
15
+ Group: import('react').FC<import('antd/es/avatar/AvatarGroup').AvatarGroupProps>;
17
16
  }, keyof import('react').Component<any, {}, any>>;
18
17
  export {};
@@ -1,50 +1,49 @@
1
- import { d as re } from "../../styled-components.browser.esm-CZ1XM4o4.js";
2
- import * as n from "react";
3
- import { e as T } from "../../presets-Djh_L_6R.js";
4
- import { R as oe } from "../../index-BQM5OniU.js";
5
- import { j as se, m as ae, k as ie, f as ce, t as le, C as D, g as X } from "../../index-BbTV2Cw5.js";
6
- import { r as de } from "../../responsiveObserver-dCkpy7Cb.js";
7
- import { u as q } from "../../useCSSVarCls-Dau77fzS.js";
8
- import { u as ue } from "../../useSize-DSq4r6zy.js";
9
- import { u as fe } from "../../useBreakpoint-TkMv121M.js";
10
- import "../../index-DLdU7Tpd.js";
11
- import { t as me } from "../../toArray-U3Az44CO.js";
12
- import { c as pe } from "../../reactNode-sKPeiqPL.js";
13
- import { a as ge } from "../../index-CbVOl2U6.js";
14
- const B = /* @__PURE__ */ n.createContext({}), ve = (e) => {
1
+ import { d as re } from "../../styled-components.browser.esm-C47QHsU4.js";
2
+ import * as o from "react";
3
+ import { c as M } from "../../presets-CSXMiWyc.js";
4
+ import { R as ne } from "../../index-CzMIlMTV.js";
5
+ import { g as se, m as ae, j as ie, f as ce, q as le, C as D } from "../../CSSMotionList-DB0khM6h.js";
6
+ import { u as de, r as me } from "../../useBreakpoint-ByLol0R9.js";
7
+ import { d as X } from "../../index-DCopujxC.js";
8
+ import { u as q } from "../../useCSSVarCls-YfJY1twF.js";
9
+ import { u as pe } from "../../useSize-Ct1guc-z.js";
10
+ import { t as ge } from "../../toArray-D5kvYi_U.js";
11
+ import { c as ue } from "../../reactNode-sKPeiqPL.js";
12
+ import { a as ve } from "../../index-BZ050Dyl.js";
13
+ const B = /* @__PURE__ */ o.createContext({}), fe = (e) => {
15
14
  const {
16
15
  antCls: r,
17
- componentCls: o,
16
+ componentCls: n,
18
17
  iconCls: t,
19
- avatarBg: i,
18
+ avatarBg: a,
20
19
  avatarColor: z,
21
20
  containerSize: h,
22
21
  containerSizeLG: y,
23
- containerSizeSM: v,
24
- textFontSize: g,
22
+ containerSizeSM: f,
23
+ textFontSize: u,
25
24
  textFontSizeLG: x,
26
- textFontSizeSM: N,
27
- borderRadius: u,
28
- borderRadiusLG: f,
25
+ textFontSizeSM: w,
26
+ borderRadius: v,
27
+ borderRadiusLG: m,
29
28
  borderRadiusSM: O,
30
- lineWidth: j,
31
- lineType: R
32
- } = e, E = (s, m, P) => ({
29
+ lineWidth: k,
30
+ lineType: A
31
+ } = e, E = (s, p, P) => ({
33
32
  width: s,
34
33
  height: s,
35
34
  borderRadius: "50%",
36
- [`&${o}-square`]: {
35
+ [`&${n}-square`]: {
37
36
  borderRadius: P
38
37
  },
39
- [`&${o}-icon`]: {
40
- fontSize: m,
38
+ [`&${n}-icon`]: {
39
+ fontSize: p,
41
40
  [`> ${t}`]: {
42
41
  margin: 0
43
42
  }
44
43
  }
45
44
  });
46
45
  return {
47
- [o]: Object.assign(Object.assign(Object.assign(Object.assign({}, ie(e)), {
46
+ [n]: Object.assign(Object.assign(Object.assign(Object.assign({}, ie(e)), {
48
47
  position: "relative",
49
48
  display: "inline-flex",
50
49
  justifyContent: "center",
@@ -54,17 +53,17 @@ const B = /* @__PURE__ */ n.createContext({}), ve = (e) => {
54
53
  whiteSpace: "nowrap",
55
54
  textAlign: "center",
56
55
  verticalAlign: "middle",
57
- background: i,
58
- border: `${ce(j)} ${R} transparent`,
56
+ background: a,
57
+ border: `${ce(k)} ${A} transparent`,
59
58
  "&-image": {
60
59
  background: "transparent"
61
60
  },
62
61
  [`${r}-image-img`]: {
63
62
  display: "block"
64
63
  }
65
- }), E(h, g, u)), {
66
- "&-lg": Object.assign({}, E(y, x, f)),
67
- "&-sm": Object.assign({}, E(v, N, O)),
64
+ }), E(h, u, v)), {
65
+ "&-lg": Object.assign({}, E(y, x, m)),
66
+ "&-sm": Object.assign({}, E(f, w, O)),
68
67
  "> img": {
69
68
  display: "block",
70
69
  width: "100%",
@@ -76,15 +75,15 @@ const B = /* @__PURE__ */ n.createContext({}), ve = (e) => {
76
75
  }, Se = (e) => {
77
76
  const {
78
77
  componentCls: r,
79
- groupBorderColor: o,
78
+ groupBorderColor: n,
80
79
  groupOverlapping: t,
81
- groupSpace: i
80
+ groupSpace: a
82
81
  } = e;
83
82
  return {
84
83
  [`${r}-group`]: {
85
84
  display: "inline-flex",
86
85
  [r]: {
87
- borderColor: o
86
+ borderColor: n
88
87
  },
89
88
  "> *:not(:first-child)": {
90
89
  marginInlineStart: t
@@ -92,235 +91,238 @@ const B = /* @__PURE__ */ n.createContext({}), ve = (e) => {
92
91
  },
93
92
  [`${r}-group-popover`]: {
94
93
  [`${r} + ${r}`]: {
95
- marginInlineStart: i
94
+ marginInlineStart: a
96
95
  }
97
96
  }
98
97
  };
99
98
  }, he = (e) => {
100
99
  const {
101
100
  controlHeight: r,
102
- controlHeightLG: o,
101
+ controlHeightLG: n,
103
102
  controlHeightSM: t,
104
- fontSize: i,
103
+ fontSize: a,
105
104
  fontSizeLG: z,
106
105
  fontSizeXL: h,
107
106
  fontSizeHeading3: y,
108
- marginXS: v,
109
- marginXXS: g,
107
+ marginXS: f,
108
+ marginXXS: u,
110
109
  colorBorderBg: x
111
110
  } = e;
112
111
  return {
113
112
  containerSize: r,
114
- containerSizeLG: o,
113
+ containerSizeLG: n,
115
114
  containerSizeSM: t,
116
115
  textFontSize: Math.round((z + h) / 2),
117
116
  textFontSizeLG: y,
118
- textFontSizeSM: i,
119
- groupSpace: g,
120
- groupOverlapping: -v,
117
+ textFontSizeSM: a,
118
+ groupSpace: u,
119
+ groupOverlapping: -f,
121
120
  groupBorderColor: x
122
121
  };
123
122
  }, U = se("Avatar", (e) => {
124
123
  const {
125
124
  colorTextLightSolid: r,
126
- colorTextPlaceholder: o
125
+ colorTextPlaceholder: n
127
126
  } = e, t = ae(e, {
128
- avatarBg: o,
127
+ avatarBg: n,
129
128
  avatarColor: r
130
129
  });
131
- return [ve(t), Se(t)];
130
+ return [fe(t), Se(t)];
132
131
  }, he);
133
132
  var ye = function(e, r) {
134
- var o = {};
135
- for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (o[t] = e[t]);
136
- if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, t = Object.getOwnPropertySymbols(e); i < t.length; i++)
137
- r.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[i]) && (o[t[i]] = e[t[i]]);
138
- return o;
133
+ var n = {};
134
+ for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (n[t] = e[t]);
135
+ if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, t = Object.getOwnPropertySymbols(e); a < t.length; a++)
136
+ r.indexOf(t[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[a]) && (n[t[a]] = e[t[a]]);
137
+ return n;
139
138
  };
140
139
  const xe = (e, r) => {
141
- const [o, t] = n.useState(1), [i, z] = n.useState(!1), [h, y] = n.useState(!0), v = n.useRef(null), g = n.useRef(null), x = le(r, v), {
142
- getPrefixCls: N,
143
- avatar: u
144
- } = n.useContext(D), f = n.useContext(B), O = () => {
145
- if (!g.current || !v.current)
140
+ const [n, t] = o.useState(1), [a, z] = o.useState(!1), [h, y] = o.useState(!0), f = o.useRef(null), u = o.useRef(null), x = le(r, f), {
141
+ getPrefixCls: w,
142
+ avatar: v
143
+ } = o.useContext(D), m = o.useContext(B), O = () => {
144
+ if (!u.current || !f.current)
146
145
  return;
147
- const c = g.current.offsetWidth, l = v.current.offsetWidth;
148
- if (c !== 0 && l !== 0) {
146
+ const i = u.current.offsetWidth, l = f.current.offsetWidth;
147
+ if (i !== 0 && l !== 0) {
149
148
  const {
150
149
  gap: S = 4
151
150
  } = e;
152
- S * 2 < l && t(l - S * 2 < c ? (l - S * 2) / c : 1);
151
+ S * 2 < l && t(l - S * 2 < i ? (l - S * 2) / i : 1);
153
152
  }
154
153
  };
155
- n.useEffect(() => {
154
+ o.useEffect(() => {
156
155
  z(!0);
157
- }, []), n.useEffect(() => {
156
+ }, []), o.useEffect(() => {
158
157
  y(!0), t(1);
159
- }, [e.src]), n.useEffect(O, [e.gap]);
160
- const j = () => {
158
+ }, [e.src]), o.useEffect(O, [e.gap]);
159
+ const k = () => {
161
160
  const {
162
- onError: c
161
+ onError: i
163
162
  } = e;
164
- (c == null ? void 0 : c()) !== !1 && y(!1);
163
+ (i == null ? void 0 : i()) !== !1 && y(!1);
165
164
  }, {
166
- prefixCls: R,
165
+ prefixCls: A,
167
166
  shape: E,
168
167
  size: s,
169
- src: m,
168
+ src: p,
170
169
  srcSet: P,
171
- icon: p,
172
- className: A,
173
- rootClassName: M,
174
- alt: V,
175
- draggable: _,
170
+ icon: g,
171
+ className: G,
172
+ rootClassName: V,
173
+ alt: L,
174
+ draggable: I,
176
175
  children: C,
177
- crossOrigin: $
178
- } = e, b = ye(e, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "alt", "draggable", "children", "crossOrigin"]), a = ue((c) => {
176
+ crossOrigin: N
177
+ } = e, b = ye(e, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "alt", "draggable", "children", "crossOrigin"]), c = pe((i) => {
179
178
  var l, S;
180
- return (S = (l = s ?? (f == null ? void 0 : f.size)) !== null && l !== void 0 ? l : c) !== null && S !== void 0 ? S : "default";
181
- }), w = Object.keys(typeof a == "object" ? a || {} : {}).some((c) => ["xs", "sm", "md", "lg", "xl", "xxl"].includes(c)), G = fe(w), L = n.useMemo(() => {
182
- if (typeof a != "object")
179
+ return (S = (l = s ?? (m == null ? void 0 : m.size)) !== null && l !== void 0 ? l : i) !== null && S !== void 0 ? S : "default";
180
+ }), $ = Object.keys(typeof c == "object" ? c || {} : {}).some((i) => ["xs", "sm", "md", "lg", "xl", "xxl"].includes(i)), j = de($), _ = o.useMemo(() => {
181
+ if (typeof c != "object")
183
182
  return {};
184
- const c = de.find((S) => G[S]), l = a[c];
183
+ const i = me.find((S) => j[S]), l = c[i];
185
184
  return l ? {
186
185
  width: l,
187
186
  height: l,
188
- fontSize: l && (p || C) ? l / 2 : 18
187
+ fontSize: l && (g || C) ? l / 2 : 18
189
188
  } : {};
190
- }, [G, a]);
189
+ }, [j, c]);
191
190
  if (process.env.NODE_ENV !== "production") {
192
- const c = X("Avatar");
193
- process.env.NODE_ENV !== "production" && c(!(typeof p == "string" && p.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${p}\` at https://ant.design/components/icon`);
191
+ const i = X("Avatar");
192
+ process.env.NODE_ENV !== "production" && i(!(typeof g == "string" && g.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${g}\` at https://ant.design/components/icon`);
194
193
  }
195
- const d = N("avatar", R), I = q(d), [K, Q, Y] = U(d, I), Z = T({
196
- [`${d}-lg`]: a === "large",
197
- [`${d}-sm`]: a === "small"
198
- }), W = /* @__PURE__ */ n.isValidElement(m), ee = E || (f == null ? void 0 : f.shape) || "circle", te = T(d, Z, u == null ? void 0 : u.className, `${d}-${ee}`, {
199
- [`${d}-image`]: W || m && h,
200
- [`${d}-icon`]: !!p
201
- }, Y, I, A, M, Q), ne = typeof a == "number" ? {
202
- width: a,
203
- height: a,
204
- fontSize: p ? a / 2 : 18
194
+ const d = w("avatar", A), T = q(d), [K, Q, Y] = U(d, T), Z = M({
195
+ [`${d}-lg`]: c === "large",
196
+ [`${d}-sm`]: c === "small"
197
+ }), W = /* @__PURE__ */ o.isValidElement(p), ee = E || (m == null ? void 0 : m.shape) || "circle", te = M(d, Z, v == null ? void 0 : v.className, `${d}-${ee}`, {
198
+ [`${d}-image`]: W || p && h,
199
+ [`${d}-icon`]: !!g
200
+ }, Y, T, G, V, Q), oe = typeof c == "number" ? {
201
+ width: c,
202
+ height: c,
203
+ fontSize: g ? c / 2 : 18
205
204
  } : {};
206
- let k;
207
- if (typeof m == "string" && h)
208
- k = /* @__PURE__ */ n.createElement("img", {
209
- src: m,
210
- draggable: _,
205
+ let R;
206
+ if (typeof p == "string" && h)
207
+ R = /* @__PURE__ */ o.createElement("img", {
208
+ src: p,
209
+ draggable: I,
211
210
  srcSet: P,
212
- onError: j,
213
- alt: V,
214
- crossOrigin: $
211
+ onError: k,
212
+ alt: L,
213
+ crossOrigin: N
215
214
  });
216
215
  else if (W)
217
- k = m;
218
- else if (p)
219
- k = p;
220
- else if (i || o !== 1) {
221
- const c = `scale(${o})`, l = {
222
- msTransform: c,
223
- WebkitTransform: c,
224
- transform: c
216
+ R = p;
217
+ else if (g)
218
+ R = g;
219
+ else if (a || n !== 1) {
220
+ const i = `scale(${n})`, l = {
221
+ msTransform: i,
222
+ WebkitTransform: i,
223
+ transform: i
225
224
  };
226
- k = /* @__PURE__ */ n.createElement(oe, {
225
+ R = /* @__PURE__ */ o.createElement(ne, {
227
226
  onResize: O
228
- }, /* @__PURE__ */ n.createElement("span", {
227
+ }, /* @__PURE__ */ o.createElement("span", {
229
228
  className: `${d}-string`,
230
- ref: g,
229
+ ref: u,
231
230
  style: Object.assign({}, l)
232
231
  }, C));
233
232
  } else
234
- k = /* @__PURE__ */ n.createElement("span", {
233
+ R = /* @__PURE__ */ o.createElement("span", {
235
234
  className: `${d}-string`,
236
235
  style: {
237
236
  opacity: 0
238
237
  },
239
- ref: g
238
+ ref: u
240
239
  }, C);
241
- return delete b.onError, delete b.gap, K(/* @__PURE__ */ n.createElement("span", Object.assign({}, b, {
242
- style: Object.assign(Object.assign(Object.assign(Object.assign({}, ne), L), u == null ? void 0 : u.style), b.style),
240
+ return delete b.onError, delete b.gap, K(/* @__PURE__ */ o.createElement("span", Object.assign({}, b, {
241
+ style: Object.assign(Object.assign(Object.assign(Object.assign({}, oe), _), v == null ? void 0 : v.style), b.style),
243
242
  className: te,
244
243
  ref: x
245
- }), k));
246
- }, F = /* @__PURE__ */ n.forwardRef(xe);
244
+ }), R));
245
+ }, F = /* @__PURE__ */ o.forwardRef(xe);
247
246
  process.env.NODE_ENV !== "production" && (F.displayName = "Avatar");
248
247
  const H = (e) => {
249
248
  const {
250
249
  size: r,
251
- shape: o
252
- } = n.useContext(B), t = n.useMemo(() => ({
250
+ shape: n
251
+ } = o.useContext(B), t = o.useMemo(() => ({
253
252
  size: e.size || r,
254
- shape: e.shape || o
255
- }), [e.size, e.shape, r, o]);
256
- return /* @__PURE__ */ n.createElement(B.Provider, {
253
+ shape: e.shape || n
254
+ }), [e.size, e.shape, r, n]);
255
+ return /* @__PURE__ */ o.createElement(B.Provider, {
257
256
  value: t
258
257
  }, e.children);
259
258
  }, Ce = (e) => {
260
- var r, o, t, i;
259
+ var r, n, t, a;
261
260
  const {
262
261
  getPrefixCls: z,
263
262
  direction: h
264
- } = n.useContext(D), {
263
+ } = o.useContext(D), {
265
264
  prefixCls: y,
266
- className: v,
267
- rootClassName: g,
265
+ className: f,
266
+ rootClassName: u,
268
267
  style: x,
269
- maxCount: N,
270
- maxStyle: u,
271
- size: f,
268
+ maxCount: w,
269
+ maxStyle: v,
270
+ size: m,
272
271
  shape: O,
273
- maxPopoverPlacement: j,
274
- maxPopoverTrigger: R,
272
+ maxPopoverPlacement: k,
273
+ maxPopoverTrigger: A,
275
274
  children: E,
276
275
  max: s
277
276
  } = e;
278
277
  if (process.env.NODE_ENV !== "production") {
279
- const a = X("Avatar.Group");
280
- a.deprecated(!N, "maxCount", "max={{ count: number }}"), a.deprecated(!u, "maxStyle", "max={{ style: CSSProperties }}"), a.deprecated(!j, "maxPopoverPlacement", "max={{ popover: PopoverProps }}"), a.deprecated(!R, "maxPopoverTrigger", "max={{ popover: PopoverProps }}");
278
+ const c = X("Avatar.Group");
279
+ [["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach(($) => {
280
+ let [j, _] = $;
281
+ c.deprecated(!(j in e), j, _);
282
+ });
281
283
  }
282
- const m = z("avatar", y), P = `${m}-group`, p = q(m), [A, M, V] = U(m, p), _ = T(P, {
284
+ const p = z("avatar", y), P = `${p}-group`, g = q(p), [G, V, L] = U(p, g), I = M(P, {
283
285
  [`${P}-rtl`]: h === "rtl"
284
- }, V, p, v, g, M), C = me(E).map((a, w) => pe(a, {
286
+ }, L, g, f, u, V), C = ge(E).map((c, $) => ue(c, {
285
287
  // eslint-disable-next-line react/no-array-index-key
286
- key: `avatar-key-${w}`
287
- })), $ = (s == null ? void 0 : s.count) || N, b = C.length;
288
- if ($ && $ < b) {
289
- const a = C.slice(0, $), w = C.slice($, b), G = (s == null ? void 0 : s.style) || u, L = ((r = s == null ? void 0 : s.popover) === null || r === void 0 ? void 0 : r.trigger) || R || "hover", d = ((o = s == null ? void 0 : s.popover) === null || o === void 0 ? void 0 : o.placement) || j || "top", I = Object.assign(Object.assign({
290
- content: w
288
+ key: `avatar-key-${$}`
289
+ })), N = (s == null ? void 0 : s.count) || w, b = C.length;
290
+ if (N && N < b) {
291
+ const c = C.slice(0, N), $ = C.slice(N, b), j = (s == null ? void 0 : s.style) || v, _ = ((r = s == null ? void 0 : s.popover) === null || r === void 0 ? void 0 : r.trigger) || A || "hover", d = ((n = s == null ? void 0 : s.popover) === null || n === void 0 ? void 0 : n.placement) || k || "top", T = Object.assign(Object.assign({
292
+ content: $
291
293
  }, s == null ? void 0 : s.popover), {
292
294
  classNames: {
293
- root: T(`${P}-popover`, (i = (t = s == null ? void 0 : s.popover) === null || t === void 0 ? void 0 : t.classNames) === null || i === void 0 ? void 0 : i.root)
295
+ root: M(`${P}-popover`, (a = (t = s == null ? void 0 : s.popover) === null || t === void 0 ? void 0 : t.classNames) === null || a === void 0 ? void 0 : a.root)
294
296
  },
295
297
  placement: d,
296
- trigger: L
298
+ trigger: _
297
299
  });
298
- return a.push(/* @__PURE__ */ n.createElement(ge, Object.assign({
300
+ return c.push(/* @__PURE__ */ o.createElement(ve, Object.assign({
299
301
  key: "avatar-popover-key",
300
302
  destroyTooltipOnHide: !0
301
- }, I), /* @__PURE__ */ n.createElement(F, {
302
- style: G
303
- }, `+${b - $}`))), A(/* @__PURE__ */ n.createElement(H, {
303
+ }, T), /* @__PURE__ */ o.createElement(F, {
304
+ style: j
305
+ }, `+${b - N}`))), G(/* @__PURE__ */ o.createElement(H, {
304
306
  shape: O,
305
- size: f
306
- }, /* @__PURE__ */ n.createElement("div", {
307
- className: _,
307
+ size: m
308
+ }, /* @__PURE__ */ o.createElement("div", {
309
+ className: I,
308
310
  style: x
309
- }, a)));
311
+ }, c)));
310
312
  }
311
- return A(/* @__PURE__ */ n.createElement(H, {
313
+ return G(/* @__PURE__ */ o.createElement(H, {
312
314
  shape: O,
313
- size: f
314
- }, /* @__PURE__ */ n.createElement("div", {
315
- className: _,
315
+ size: m
316
+ }, /* @__PURE__ */ o.createElement("div", {
317
+ className: I,
316
318
  style: x
317
319
  }, C)));
318
320
  }, J = F;
319
321
  J.Group = Ce;
320
- const be = ({ colors: e, borderRadius: r, sizing: o }, t = "primary", i = "active") => "", Ge = re(J)`
321
- ${({ theme: e, type: r, state: o }) => be(e, r, o)}
322
+ const be = ({ colors: e, borderRadius: r, sizing: n }, t = "primary", a = "active") => "", _e = re(J)`
323
+ ${({ theme: e, type: r, state: n }) => be(e, r, n)}
322
324
  `;
323
325
  export {
324
- Ge as Avatar,
326
+ _e as Avatar,
325
327
  be as getGenesisClass
326
328
  };
@@ -3,33 +3,34 @@ import { Badge as e } from "./styles.js";
3
3
  import "../Avatar/styles.js";
4
4
  import "../Breadcrumb/styles.js";
5
5
  import "../../providers/BreakpointThemeProvider.js";
6
- import { u as a, a as d } from "../../Typography-CoZ5qD-t.js";
6
+ import { u as a, a as d } from "../../Typography-B2J8CPnt.js";
7
7
  import "../Button/styles.js";
8
8
  import "../Card/styles.js";
9
9
  import "../Checkbox/styles.js";
10
+ import "../DateRangePicker/DateRangePicker.js";
10
11
  import "react";
11
12
  import "../ErrorBoundaryFallback/styles.js";
12
- import "../Input/styles.js";
13
+ import "../../styles-XuoEGUZZ.js";
13
14
  import "../Layout/Content/styles.js";
14
15
  import "../Message/styles.js";
15
16
  import "../Notification/NotificationBadge/styles.js";
16
17
  import { getBadgeStateIcon as s } from "../../utils/icon-util.js";
17
18
  import "../Notification/styles.js";
18
- import "../../styles-CWdUpZom.js";
19
+ import "../../styles-DNay6iFa.js";
19
20
  import "../Progress/styles.js";
20
- import "../../styles/global-styles.js";
21
21
  import "../Row/styles.js";
22
+ import "../../styles/global-styles.js";
22
23
  import "../Row/RowLabelValue/styles.js";
23
24
  import "../Row/RowActions/styles.js";
24
25
  import "../SegmentedControls/styles.js";
25
26
  import "../Select/styles.js";
26
27
  import "../Switch/styles.js";
27
- import "../../styles-qerRs7Rn.js";
28
+ import "../../styles-Wpm1RiGr.js";
28
29
  import "../Tabs/styles.js";
29
30
  import "../Tile/styles.js";
30
31
  import "../Toast/styles.js";
31
32
  import "../Tooltip/styles.js";
32
- const n = !1, O = ({ label: r, state: o = "info", isDisabled: t, ...p }) => {
33
+ const n = !1, P = ({ label: r, state: o = "info", isDisabled: t, ...p }) => {
33
34
  const { theme: i } = a();
34
35
  return r ? /* @__PURE__ */ m(
35
36
  e,
@@ -66,5 +67,5 @@ const n = !1, O = ({ label: r, state: o = "info", isDisabled: t, ...p }) => {
66
67
  );
67
68
  };
68
69
  export {
69
- O as default
70
+ P as default
70
71
  };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
2
  import { default as Badge } from '../Badge';
3
-
4
3
  declare const meta: Meta<typeof Badge>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof Badge>;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { s as n, a as s } from "../../../setup-DwHFLWUb.js";
2
+ import { s as n, a as s } from "../../../setup-aZdxWCJq.js";
3
3
  import a from "../Badge.js";
4
4
  describe("<Badge />", () => {
5
5
  let e;
@@ -1,6 +1,5 @@
1
1
  import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
2
2
  import { State } from './Badge';
3
-
4
3
  interface StyledBadgeProps {
5
4
  theme?: GenesisTheme;
6
5
  state?: State;
@@ -1,4 +1,4 @@
1
- import { d as n } from "../../styled-components.browser.esm-CZ1XM4o4.js";
1
+ import { d as n } from "../../styled-components.browser.esm-C47QHsU4.js";
2
2
  const a = (o, r) => r === "hollow" ? o.colors.inputs.surface.border : o.colors.status[r].surface, t = (o, r, d, s) => `
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,5 +1,4 @@
1
1
  import { BreadcrumbItem } from './Breadcrumb.types';
2
-
3
2
  export interface BreadcrumbProps {
4
3
  items: BreadcrumbItem[];
5
4
  isDisabled?: boolean;