@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
@@ -0,0 +1,88 @@
1
+ import * as d from "react";
2
+ import l, { useRef as h } from "react";
3
+ import { c as m, h as f } from "./CSSMotionList-DB0khM6h.js";
4
+ import "./presets-CSXMiWyc.js";
5
+ const x = ["xxl", "xl", "lg", "md", "sm", "xs"], $ = (n) => ({
6
+ xs: `(max-width: ${n.screenXSMax}px)`,
7
+ sm: `(min-width: ${n.screenSM}px)`,
8
+ md: `(min-width: ${n.screenMD}px)`,
9
+ lg: `(min-width: ${n.screenLG}px)`,
10
+ xl: `(min-width: ${n.screenXL}px)`,
11
+ xxl: `(min-width: ${n.screenXXL}px)`
12
+ }), b = (n) => {
13
+ const e = n, t = [].concat(x).reverse();
14
+ return t.forEach((o, c) => {
15
+ const s = o.toUpperCase(), i = `screen${s}Min`, r = `screen${s}`;
16
+ if (!(e[i] <= e[r]))
17
+ throw new Error(`${i}<=${r} fails : !(${e[i]}<=${e[r]})`);
18
+ if (c < t.length - 1) {
19
+ const a = `screen${s}Max`;
20
+ if (!(e[r] <= e[a]))
21
+ throw new Error(`${r}<=${a} fails : !(${e[r]}<=${e[a]})`);
22
+ const u = `screen${t[c + 1].toUpperCase()}Min`;
23
+ if (!(e[a] <= e[u]))
24
+ throw new Error(`${a}<=${u} fails : !(${e[a]}<=${e[u]})`);
25
+ }
26
+ }), n;
27
+ };
28
+ function g() {
29
+ const [, n] = m(), e = $(b(n));
30
+ return l.useMemo(() => {
31
+ const t = /* @__PURE__ */ new Map();
32
+ let o = -1, c = {};
33
+ return {
34
+ matchHandlers: {},
35
+ dispatch(s) {
36
+ return c = s, t.forEach((i) => i(c)), t.size >= 1;
37
+ },
38
+ subscribe(s) {
39
+ return t.size || this.register(), o += 1, t.set(o, s), s(c), o;
40
+ },
41
+ unsubscribe(s) {
42
+ t.delete(s), t.size || this.unregister();
43
+ },
44
+ unregister() {
45
+ Object.keys(e).forEach((s) => {
46
+ const i = e[s], r = this.matchHandlers[i];
47
+ r == null || r.mql.removeListener(r == null ? void 0 : r.listener);
48
+ }), t.clear();
49
+ },
50
+ register() {
51
+ Object.keys(e).forEach((s) => {
52
+ const i = e[s], r = (p) => {
53
+ let {
54
+ matches: u
55
+ } = p;
56
+ this.dispatch(Object.assign(Object.assign({}, c), {
57
+ [s]: u
58
+ }));
59
+ }, a = window.matchMedia(i);
60
+ a.addListener(r), this.matchHandlers[i] = {
61
+ mql: a,
62
+ listener: r
63
+ }, r(a);
64
+ });
65
+ },
66
+ responsiveMap: e
67
+ };
68
+ }, [n]);
69
+ }
70
+ function M() {
71
+ const [, n] = d.useReducer((e) => e + 1, 0);
72
+ return n;
73
+ }
74
+ function E() {
75
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0, e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
76
+ const t = h(e), o = M(), c = g();
77
+ return f(() => {
78
+ const s = c.subscribe((i) => {
79
+ t.current = i, n && o();
80
+ });
81
+ return () => c.unsubscribe(s);
82
+ }, []), t.current;
83
+ }
84
+ export {
85
+ M as a,
86
+ x as r,
87
+ E as u
88
+ };
@@ -0,0 +1,10 @@
1
+ import { c as o } from "./CSSMotionList-DB0khM6h.js";
2
+ import "react";
3
+ import "./presets-CSXMiWyc.js";
4
+ const e = (s) => {
5
+ const [, , , , r] = o();
6
+ return r ? `${s}-css-var` : "";
7
+ };
8
+ export {
9
+ e as u
10
+ };
@@ -1,13 +1,13 @@
1
- import { m as $, r as E, f as c, g as y } from "./index-BbTV2Cw5.js";
1
+ import { r as E, f as c, m as $ } from "./CSSMotionList-DB0khM6h.js";
2
2
  import * as a from "react";
3
- import "./presets-Djh_L_6R.js";
4
- import "./index-DLdU7Tpd.js";
5
- import { R as C } from "./CheckOutlined-cEBrx_Ag.js";
6
- import { R as z } from "./CloseCircleFilled-B9e7yFwo.js";
7
- import { R as N } from "./CloseOutlined-ogxnm7Oy.js";
8
- import { R as M } from "./DownOutlined-Dcq69ZKM.js";
9
- import { R as P } from "./LoadingOutlined-C1qu6ymP.js";
10
- import { R as D } from "./SearchOutlined-DNj-7b_h.js";
3
+ import "./presets-CSXMiWyc.js";
4
+ import { R as y } from "./CheckOutlined-DTEHi_xG.js";
5
+ import { R as C } from "./CloseCircleFilled-WEQ0SaSW.js";
6
+ import { R as z } from "./CloseOutlined-DzgBOns1.js";
7
+ import { R as N } from "./DownOutlined-Bv7ua5i8.js";
8
+ import { R as M } from "./LoadingOutlined-DOi5EGOl.js";
9
+ import { R as P } from "./SearchOutlined-DJ3uHFwq.js";
10
+ import { d as D } from "./index-DCopujxC.js";
11
11
  const q = (e) => {
12
12
  const {
13
13
  multipleSelectItemHeight: l,
@@ -280,13 +280,13 @@ function Y(e) {
280
280
  showArrow: b,
281
281
  componentName: x
282
282
  } = e;
283
- process.env.NODE_ENV !== "production" && y(x).deprecated(!i, "clearIcon", "allowClear={{ clearIcon: React.ReactNode }}");
284
- const R = i ?? /* @__PURE__ */ a.createElement(z, null), g = (m) => l === null && !d && !b ? null : /* @__PURE__ */ a.createElement(a.Fragment, null, I !== !1 && m, d && u);
283
+ process.env.NODE_ENV !== "production" && D(x).deprecated(!i, "clearIcon", "allowClear={{ clearIcon: React.ReactNode }}");
284
+ const R = i ?? /* @__PURE__ */ a.createElement(C, null), g = (m) => l === null && !d && !b ? null : /* @__PURE__ */ a.createElement(a.Fragment, null, I !== !1 && m, d && u);
285
285
  let f = null;
286
286
  if (l !== void 0)
287
287
  f = g(l);
288
288
  else if (r)
289
- f = g(/* @__PURE__ */ a.createElement(P, {
289
+ f = g(/* @__PURE__ */ a.createElement(M, {
290
290
  spin: !0
291
291
  }));
292
292
  else {
@@ -296,17 +296,17 @@ function Y(e) {
296
296
  open: H,
297
297
  showSearch: v
298
298
  } = w;
299
- return g(H && v ? /* @__PURE__ */ a.createElement(D, {
299
+ return g(H && v ? /* @__PURE__ */ a.createElement(P, {
300
300
  className: m
301
- }) : /* @__PURE__ */ a.createElement(M, {
301
+ }) : /* @__PURE__ */ a.createElement(N, {
302
302
  className: m
303
303
  }));
304
304
  };
305
305
  }
306
306
  let p = null;
307
- t !== void 0 ? p = t : s ? p = /* @__PURE__ */ a.createElement(C, null) : p = null;
307
+ t !== void 0 ? p = t : s ? p = /* @__PURE__ */ a.createElement(y, null) : p = null;
308
308
  let h = null;
309
- return n !== void 0 ? h = n : h = /* @__PURE__ */ a.createElement(N, null), {
309
+ return n !== void 0 ? h = n : h = /* @__PURE__ */ a.createElement(z, null), {
310
310
  clearIcon: R,
311
311
  suffixIcon: f,
312
312
  itemIcon: p,
@@ -1,7 +1,7 @@
1
- import { _ as d, a as f } from "./presets-Djh_L_6R.js";
1
+ import { a as d, _ as f } from "./presets-CSXMiWyc.js";
2
2
  import * as n from "react";
3
3
  function I() {
4
- var t = d({}, n);
4
+ var t = f({}, n);
5
5
  return t.useId;
6
6
  }
7
7
  var u = 0, a = I();
@@ -14,7 +14,7 @@ const v = a ? (
14
14
  ) : (
15
15
  // Use compatible of `useId`
16
16
  function(e) {
17
- var r = n.useState("ssr-id"), s = f(r, 2), c = s[0], i = s[1];
17
+ var r = n.useState("ssr-id"), s = d(r, 2), c = s[0], i = s[1];
18
18
  return n.useEffect(function() {
19
19
  var o = u;
20
20
  u += 1, i("rc_unique_".concat(o));
@@ -0,0 +1,16 @@
1
+ import * as s from "react";
2
+ import { L as i, l as n } from "./index-DCopujxC.js";
3
+ const v = (l, c) => {
4
+ const o = s.useContext(i), a = s.useMemo(() => {
5
+ var e;
6
+ const t = c || n[l], u = (e = o == null ? void 0 : o[l]) !== null && e !== void 0 ? e : {};
7
+ return Object.assign(Object.assign({}, typeof t == "function" ? t() : t), u || {});
8
+ }, [l, c, o]), r = s.useMemo(() => {
9
+ const e = o == null ? void 0 : o.locale;
10
+ return o != null && o.exist && !e ? n.locale : e;
11
+ }, [o]);
12
+ return [a, r];
13
+ };
14
+ export {
15
+ v as u
16
+ };
@@ -1,5 +1,5 @@
1
- import { a as d } from "./presets-Djh_L_6R.js";
2
- import { u as g, a as S, b as V } from "./index-BbTV2Cw5.js";
1
+ import { a as d } from "./presets-CSXMiWyc.js";
2
+ import { u as g, a as S, b as V } from "./CSSMotionList-DB0khM6h.js";
3
3
  function o(a) {
4
4
  return a !== void 0;
5
5
  }
@@ -0,0 +1,9 @@
1
+ import n from "react";
2
+ import { S as t } from "./CSSMotionList-DB0khM6h.js";
3
+ const a = (e) => {
4
+ const r = n.useContext(t);
5
+ return n.useMemo(() => e ? typeof e == "string" ? e ?? r : e instanceof Function ? e(r) : r : r, [e, r]);
6
+ };
7
+ export {
8
+ a as u
9
+ };
@@ -0,0 +1,19 @@
1
+ import * as r from "react";
2
+ import { V as c } from "./context-CQfFkrkv.js";
3
+ import "./index-DCopujxC.js";
4
+ import { C as m, V as g } from "./CSSMotionList-DB0khM6h.js";
5
+ const v = function(s, i) {
6
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
7
+ var e, t;
8
+ const {
9
+ variant: u,
10
+ [s]: o
11
+ } = r.useContext(m), a = r.useContext(c), d = o == null ? void 0 : o.variant;
12
+ let n;
13
+ typeof i < "u" ? n = i : l === !1 ? n = "borderless" : n = (t = (e = a ?? d) !== null && e !== void 0 ? e : u) !== null && t !== void 0 ? t : "outlined";
14
+ const f = g.includes(n);
15
+ return [n, f];
16
+ };
17
+ export {
18
+ v as u
19
+ };
@@ -1,8 +1,9 @@
1
1
  import d from "react";
2
- import { c as I, g as N } from "./index-BbTV2Cw5.js";
2
+ import { c as I } from "./CSSMotionList-DB0khM6h.js";
3
+ import { d as N } from "./index-DCopujxC.js";
3
4
  const a = /* @__PURE__ */ d.createContext(void 0);
4
5
  process.env.NODE_ENV !== "production" && (a.displayName = "zIndexContext");
5
- const e = 100, x = 10, E = e * x, _ = E + e, u = {
6
+ const e = 100, x = 10, E = e * x, _ = E + e, c = {
6
7
  Modal: e,
7
8
  Drawer: e,
8
9
  Popover: e,
@@ -18,18 +19,18 @@ const e = 100, x = 10, E = e * x, _ = E + e, u = {
18
19
  ImagePreview: 1
19
20
  };
20
21
  function l(n) {
21
- return n in u;
22
+ return n in c;
22
23
  }
23
24
  const F = (n, t) => {
24
- const [, i] = I(), s = d.useContext(a), c = l(n);
25
+ const [, i] = I(), s = d.useContext(a), u = l(n);
25
26
  let r;
26
27
  if (t !== void 0)
27
28
  r = [t, t];
28
29
  else {
29
30
  let o = s ?? 0;
30
- c ? o += // Use preset token zIndex by default but not stack when has parent container
31
+ u ? o += // Use preset token zIndex by default but not stack when has parent container
31
32
  (s ? 0 : i.zIndexPopupBase) + // Container offset
32
- u[n] : o += O[n], r = [s === void 0 ? t : o, o];
33
+ c[n] : o += O[n], r = [s === void 0 ? t : o, o];
33
34
  }
34
35
  if (process.env.NODE_ENV !== "production") {
35
36
  const o = N(n), f = i.zIndexPopupBase + _, p = r[0] || 0;
@@ -1,36 +1,38 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as n } from "react/jsx-runtime";
2
2
  import { STATE as r } from "../constants/index.js";
3
- import { G as i } from "../iconBase-LROS5hdG.js";
4
- import { a as d } from "../index-BRUI9igj.js";
5
- import { R as m, a as p, b as v, c as g } from "../MinusCircleOutlined-Shz0RRQV.js";
6
- import { R as z } from "../ClockCircleOutlined-BaXQuLIn.js";
7
- import { d as l } from "../presets-Djh_L_6R.js";
8
- import * as n from "react";
9
- import { I as o } from "../AntdIcon-nCNB0J1E.js";
10
- import { R as C } from "../CloseCircleFilled-B9e7yFwo.js";
11
- import { R as S } from "../ExclamationCircleFilled-BHELVsTg.js";
12
- var h = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" } }] }, name: "clock-circle", theme: "filled" }, R = function(e, a) {
13
- return /* @__PURE__ */ n.createElement(o, l({}, e, {
14
- ref: a,
3
+ import { G as i } from "../iconBase-DSKTHwal.js";
4
+ import { R as d, a as m, b as p, c as v } from "../MinusCircleOutlined-BcKxYRyN.js";
5
+ import { R as z } from "../ClockCircleOutlined-DGGcYjVd.js";
6
+ import { e as o } from "../presets-CSXMiWyc.js";
7
+ import * as a from "react";
8
+ import { I as l } from "../AntdIcon-DP6hPDqu.js";
9
+ import { R as C } from "../CloseCircleFilled-WEQ0SaSW.js";
10
+ import { R as g } from "../ExclamationCircleFilled-x8Sr29BN.js";
11
+ var h = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" } }] }, name: "clock-circle", theme: "filled" }, S = function(e, c) {
12
+ return /* @__PURE__ */ a.createElement(l, o({}, e, {
13
+ ref: c,
15
14
  icon: h
16
15
  }));
17
- }, f = /* @__PURE__ */ n.forwardRef(R);
16
+ }, f = /* @__PURE__ */ a.forwardRef(S);
18
17
  process.env.NODE_ENV !== "production" && (f.displayName = "ClockCircleFilled");
19
- var I = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" } }] }, name: "minus-circle", theme: "filled" }, y = function(e, a) {
20
- return /* @__PURE__ */ n.createElement(o, l({}, e, {
21
- ref: a,
22
- icon: I
18
+ var R = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" } }] }, name: "minus-circle", theme: "filled" }, I = function(e, c) {
19
+ return /* @__PURE__ */ a.createElement(l, o({}, e, {
20
+ ref: c,
21
+ icon: R
23
22
  }));
24
- }, u = /* @__PURE__ */ n.forwardRef(y);
23
+ }, u = /* @__PURE__ */ a.forwardRef(I);
25
24
  process.env.NODE_ENV !== "production" && (u.displayName = "MinusCircleFilled");
26
- function w(c) {
27
- return i({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
25
+ function w(t) {
26
+ return i({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(t);
28
27
  }
29
- function F(c) {
30
- return i({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm0 9h-1l-.117 .007a1 1 0 0 0 0 1.986l.117 .007v3l.007 .117a1 1 0 0 0 .876 .876l.117 .007h1l.117 -.007a1 1 0 0 0 .876 -.876l.007 -.117l-.007 -.117a1 1 0 0 0 -.764 -.857l-.112 -.02l-.117 -.006v-3l-.007 -.117a1 1 0 0 0 -.876 -.876l-.117 -.007zm.01 -3l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z" }, child: [] }] })(c);
28
+ function y(t) {
29
+ return i({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "2", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" }, child: [] }] })(t);
31
30
  }
32
- const s = 14, T = (c, e) => {
33
- switch (c) {
31
+ function k(t) {
32
+ return i({ attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm0 9h-1l-.117 .007a1 1 0 0 0 0 1.986l.117 .007v3l.007 .117a1 1 0 0 0 .876 .876l.117 .007h1l.117 -.007a1 1 0 0 0 .876 -.876l.007 -.117l-.007 -.117a1 1 0 0 0 -.764 -.857l-.112 -.02l-.117 -.006v-3l-.007 -.117a1 1 0 0 0 -.876 -.876l-.117 -.007zm.01 -3l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z" }, child: [] }] })(t);
33
+ }
34
+ const s = 14, O = (t, e) => {
35
+ switch (t) {
34
36
  case r.error:
35
37
  return e.colors.status.error.onsurface;
36
38
  case r.success:
@@ -45,45 +47,47 @@ const s = 14, T = (c, e) => {
45
47
  default:
46
48
  return e.colors.status.info.onsurface;
47
49
  }
48
- }, V = (c, e, a = !0) => {
49
- if (!a)
50
- switch (c) {
50
+ }, T = (t, e, c = !0) => {
51
+ if (!c)
52
+ switch (t) {
53
+ // isFilled is false
51
54
  case r.warning:
52
- return /* @__PURE__ */ t(
53
- g,
55
+ return /* @__PURE__ */ n(
56
+ v,
54
57
  {
55
58
  style: { color: e, fontSize: s }
56
59
  }
57
60
  );
58
61
  case r.error:
59
- return /* @__PURE__ */ t(v, { style: { color: e, fontSize: s } });
62
+ return /* @__PURE__ */ n(p, { style: { color: e, fontSize: s } });
60
63
  case r.success:
61
- return /* @__PURE__ */ t(d, { style: { color: e, fontSize: s } });
64
+ return /* @__PURE__ */ n(y, { style: { color: e, fontSize: s } });
62
65
  case r.progress:
63
- return /* @__PURE__ */ t(z, { style: { color: e, fontSize: s } });
66
+ return /* @__PURE__ */ n(z, { style: { color: e, fontSize: s } });
64
67
  case r.removed:
65
- return /* @__PURE__ */ t(p, { style: { color: e, fontSize: s } });
68
+ return /* @__PURE__ */ n(m, { style: { color: e, fontSize: s } });
66
69
  case r.info:
67
70
  default:
68
- return /* @__PURE__ */ t(m, { style: { color: e, fontSize: s } });
71
+ return /* @__PURE__ */ n(d, { style: { color: e, fontSize: s } });
69
72
  }
70
- switch (c) {
73
+ switch (t) {
74
+ // isFilled is true
71
75
  case r.warning:
72
- return /* @__PURE__ */ t(S, { style: { color: e, fontSize: s } });
76
+ return /* @__PURE__ */ n(g, { style: { color: e, fontSize: s } });
73
77
  case r.error:
74
- return /* @__PURE__ */ t(C, { style: { color: e, fontSize: s } });
78
+ return /* @__PURE__ */ n(C, { style: { color: e, fontSize: s } });
75
79
  case r.success:
76
- return /* @__PURE__ */ t(w, { style: { color: e, fontSize: s } });
80
+ return /* @__PURE__ */ n(w, { style: { color: e, fontSize: s } });
77
81
  case r.progress:
78
- return /* @__PURE__ */ t(f, { style: { color: e, fontSize: s } });
82
+ return /* @__PURE__ */ n(f, { style: { color: e, fontSize: s } });
79
83
  case r.removed:
80
- return /* @__PURE__ */ t(u, { style: { color: e, fontSize: s } });
84
+ return /* @__PURE__ */ n(u, { style: { color: e, fontSize: s } });
81
85
  case r.info:
82
86
  default:
83
- return /* @__PURE__ */ t(F, { style: { color: e, fontSize: s + 8 } });
87
+ return /* @__PURE__ */ n(k, { style: { color: e, fontSize: s + 8 } });
84
88
  }
85
89
  };
86
90
  export {
87
- V as getBadgeStateIcon,
88
- T as getIconColor
91
+ T as getBadgeStateIcon,
92
+ O as getIconColor
89
93
  };