@gobolt/genesis 0.0.10 → 0.0.11

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 (415) hide show
  1. package/README.md +2 -2
  2. package/dist/AntdIcon-nCNB0J1E.js +192 -0
  3. package/dist/CheckCircleFilled-BKgizvyl.js +13 -0
  4. package/dist/{CheckOutlined-CeTKr6II.js → CheckOutlined-cEBrx_Ag.js} +2 -2
  5. package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
  6. package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
  7. package/dist/{Compact-CGY560JF.js → Compact-DBh6nSYB.js} +42 -45
  8. package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-CwuJooYf.js} +2 -2
  9. package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-5-15jS0h.js} +42 -40
  10. package/dist/{index-C8haFnXI.js → EllipsisOutlined-CJ2pgE2d.js} +153 -150
  11. package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
  12. package/dist/Keyframes-sPZXYuXt.js +17 -0
  13. package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
  14. package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
  15. package/dist/{Overflow-PBZD-PFm.js → Overflow-DdNKJLQh.js} +67 -66
  16. package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
  17. package/dist/Skeleton-B3vg9CbL.js +560 -0
  18. package/dist/{TextArea-DKwCct3i.js → TextArea-CKWbFr0u.js} +26 -18
  19. package/dist/Typography-DqI7RslA.js +705 -0
  20. package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
  21. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  22. package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
  23. package/dist/{button-CDQgO1OK.js → button-B2Rgggx2.js} +127 -116
  24. package/dist/clsx-OuTLNxxd.js +16 -0
  25. package/dist/components/Avatar/Avatar.d.ts +12 -0
  26. package/dist/components/Avatar/Avatar.js +61 -0
  27. package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
  28. package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
  29. package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
  30. package/dist/components/Avatar/index.d.ts +2 -0
  31. package/dist/components/Avatar/index.js +4 -0
  32. package/dist/components/Avatar/styles.d.ts +18 -0
  33. package/dist/components/Avatar/styles.js +326 -0
  34. package/dist/components/Badge/Badge.d.ts +5 -3
  35. package/dist/components/Badge/Badge.js +67 -100
  36. package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
  37. package/dist/components/Badge/__tests__/Badge.test.js +9 -10
  38. package/dist/components/Badge/styles.d.ts +12 -3
  39. package/dist/components/Badge/styles.js +30 -27
  40. package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
  41. package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
  42. package/dist/components/Breadcrumb/styles.js +239 -2260
  43. package/dist/components/Button/Button.d.ts +4 -3
  44. package/dist/components/Button/Button.js +10 -6
  45. package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
  46. package/dist/components/Button/__tests__/Button.test.js +1 -1
  47. package/dist/components/Button/styles.d.ts +2 -2
  48. package/dist/components/Button/styles.js +20 -17
  49. package/dist/components/Card/Card.d.ts +9 -0
  50. package/dist/components/Card/Card.js +16 -0
  51. package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
  52. package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
  53. package/dist/components/Card/__tests__/Card.test.js +16 -0
  54. package/dist/components/Card/index.d.ts +2 -0
  55. package/dist/components/Card/index.js +4 -0
  56. package/dist/components/Card/styles.d.ts +16 -0
  57. package/dist/components/Card/styles.js +12 -0
  58. package/dist/components/Checkbox/Checkbox.d.ts +1 -2
  59. package/dist/components/Checkbox/Checkbox.js +28 -16
  60. package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
  61. package/dist/components/Checkbox/styles.js +22 -457
  62. package/dist/components/Dashboard/Dashboard.d.ts +5 -0
  63. package/dist/components/Dashboard/Dashboard.js +5 -0
  64. package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
  65. package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
  66. package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
  67. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
  68. package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
  69. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
  70. package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
  71. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
  72. package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
  73. package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
  74. package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
  75. package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
  76. package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
  77. package/dist/components/Dashboard/index.d.ts +2 -0
  78. package/dist/components/Dashboard/index.js +4 -0
  79. package/dist/components/Dashboard/styles.d.ts +14 -0
  80. package/dist/components/Dashboard/styles.js +11 -0
  81. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
  82. package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
  83. package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
  84. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
  85. package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
  86. package/dist/components/ErrorBoundary/index.d.ts +2 -0
  87. package/dist/components/ErrorBoundary/index.js +4 -0
  88. package/dist/components/ErrorBoundary/styles.d.ts +14 -0
  89. package/dist/components/ErrorBoundary/styles.js +11 -0
  90. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
  91. package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
  92. package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
  93. package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
  94. package/dist/components/Form/Form.js +3 -3
  95. package/dist/components/Form/__stories__/FormStory.js +127 -50
  96. package/dist/components/Form/__tests__/form.test.js +2 -2
  97. package/dist/components/Form/index.js +1 -1
  98. package/dist/components/Form/styles.js +1 -1
  99. package/dist/components/Glyph/Glyph.d.ts +4 -0
  100. package/dist/components/Glyph/Glyph.js +9 -0
  101. package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
  102. package/dist/components/Glyph/index.d.ts +2 -0
  103. package/dist/components/Glyph/index.js +4 -0
  104. package/dist/components/Glyph/styles.d.ts +14 -0
  105. package/dist/components/Glyph/styles.js +11 -0
  106. package/dist/components/Input/Input.d.ts +1 -2
  107. package/dist/components/Input/Input.js +14 -10
  108. package/dist/components/Input/__tests__/Input.test.js +1 -1
  109. package/dist/components/Input/styles.js +58 -466
  110. package/dist/components/Layout/Content/Content.d.ts +11 -0
  111. package/dist/components/Layout/Content/Content.js +32 -0
  112. package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
  113. package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
  114. package/dist/components/Layout/Content/index.d.ts +2 -0
  115. package/dist/components/Layout/Content/index.js +4 -0
  116. package/dist/components/Layout/Content/styles.d.ts +11 -0
  117. package/dist/components/Layout/Content/styles.js +16 -0
  118. package/dist/components/Layout/Layout.d.ts +8 -0
  119. package/dist/components/Layout/Layout.js +6 -0
  120. package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
  121. package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
  122. package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
  123. package/dist/components/Layout/MainLayout/index.d.ts +2 -0
  124. package/dist/components/Layout/MainLayout/index.js +4 -0
  125. package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
  126. package/dist/components/Layout/MainLayout/styles.js +69 -0
  127. package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
  128. package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
  129. package/dist/components/Layout/__tests__/Layout.test.js +14 -0
  130. package/dist/components/Layout/index.d.ts +2 -0
  131. package/dist/components/Layout/index.js +4 -0
  132. package/dist/components/Message/Message.d.ts +6 -4
  133. package/dist/components/Message/Message.js +70 -43
  134. package/dist/components/Message/__tests__/Message.test.js +1 -1
  135. package/dist/components/Message/styles.d.ts +1 -0
  136. package/dist/components/Message/styles.js +15 -11
  137. package/dist/components/Notification/Notification.js +145 -120
  138. package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
  139. package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
  140. package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
  141. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
  142. package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
  143. package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
  144. package/dist/components/Notification/NotificationBadge/index.js +4 -0
  145. package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
  146. package/dist/components/Notification/NotificationBadge/styles.js +34 -0
  147. package/dist/components/Notification/__tests__/Notification.test.js +1 -1
  148. package/dist/components/Notification/styles.d.ts +1 -1
  149. package/dist/components/Notification/styles.js +1 -1
  150. package/dist/components/Popover/Popover.d.ts +10 -0
  151. package/dist/components/Popover/Popover.js +21 -0
  152. package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
  153. package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
  154. package/dist/components/Popover/__tests__/Popover.test.js +40 -0
  155. package/dist/components/Popover/index.d.ts +2 -0
  156. package/dist/components/Popover/index.js +4 -0
  157. package/dist/components/Popover/styles.d.ts +15 -0
  158. package/dist/components/Popover/styles.js +6 -0
  159. package/dist/components/Progress/Progress.d.ts +18 -0
  160. package/dist/components/Progress/Progress.js +91 -0
  161. package/dist/components/Progress/Progress.util.d.ts +4 -0
  162. package/dist/components/Progress/Progress.util.js +62 -0
  163. package/dist/components/Progress/ProgressText.d.ts +11 -0
  164. package/dist/components/Progress/ProgressText.js +67 -0
  165. package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
  166. package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
  167. package/dist/components/Progress/__tests__/Progress.test.js +21 -0
  168. package/dist/components/Progress/index.d.ts +2 -0
  169. package/dist/components/Progress/index.js +4 -0
  170. package/dist/components/Progress/styles.d.ts +17 -0
  171. package/dist/components/Progress/styles.js +793 -0
  172. package/dist/components/Radio/Radio.js +22 -6
  173. package/dist/components/Radio/RadioGroup.js +1 -1
  174. package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
  175. package/dist/components/Radio/index.d.ts +1 -0
  176. package/dist/components/Row/Row.d.ts +14 -0
  177. package/dist/components/Row/Row.js +38 -0
  178. package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
  179. package/dist/components/Row/RowActions/RowActions.js +59 -0
  180. package/dist/components/Row/RowActions/styles.d.ts +2 -0
  181. package/dist/components/Row/RowActions/styles.js +32 -0
  182. package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
  183. package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
  184. package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
  185. package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
  186. package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
  187. package/dist/components/Row/RowLabelValue/styles.js +25 -0
  188. package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
  189. package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
  190. package/dist/components/Row/__tests__/Row.test.js +16 -0
  191. package/dist/components/Row/index.d.ts +2 -0
  192. package/dist/components/Row/index.js +4 -0
  193. package/dist/components/Row/styles.d.ts +15 -0
  194. package/dist/components/Row/styles.js +15 -0
  195. package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
  196. package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
  197. package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
  198. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
  199. package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
  200. package/dist/components/SegmentedControls/index.d.ts +2 -0
  201. package/dist/components/SegmentedControls/index.js +4 -0
  202. package/dist/components/SegmentedControls/styles.d.ts +12 -0
  203. package/dist/components/SegmentedControls/styles.js +511 -0
  204. package/dist/components/Select/Select.d.ts +2 -4
  205. package/dist/components/Select/Select.js +12 -11
  206. package/dist/components/Select/__tests__/Select.test.js +1 -1
  207. package/dist/components/Select/styles.js +39 -3654
  208. package/dist/components/Shapes/Shapes.d.ts +6 -0
  209. package/dist/components/Shapes/Shapes.js +8 -0
  210. package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
  211. package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
  212. package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
  213. package/dist/components/Shapes/index.d.ts +2 -0
  214. package/dist/components/Shapes/index.js +4 -0
  215. package/dist/components/Shapes/variants/Circle.d.ts +5 -0
  216. package/dist/components/Shapes/variants/Circle.js +23 -0
  217. package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
  218. package/dist/components/Shapes/variants/Rectangle.js +23 -0
  219. package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
  220. package/dist/components/Shapes/variants/Triangle.js +23 -0
  221. package/dist/components/Switch/Switch.d.ts +9 -0
  222. package/dist/components/Switch/Switch.js +22 -0
  223. package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
  224. package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
  225. package/dist/components/Switch/__tests__/Switch.test.js +25 -0
  226. package/dist/components/Switch/index.d.ts +2 -0
  227. package/dist/components/Switch/index.js +4 -0
  228. package/dist/components/Switch/styles.d.ts +9 -0
  229. package/dist/components/Switch/styles.js +456 -0
  230. package/dist/components/Table/Table.d.ts +15 -0
  231. package/dist/components/Table/Table.js +23 -0
  232. package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
  233. package/dist/components/Table/__mocks__/table-mocks.js +321 -0
  234. package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
  235. package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
  236. package/dist/components/Table/__tests__/Table.test.js +34 -0
  237. package/dist/components/Table/index.d.ts +2 -0
  238. package/dist/components/Table/index.js +4 -0
  239. package/dist/components/Table/styles.d.ts +8 -0
  240. package/dist/components/Table/styles.js +6 -0
  241. package/dist/components/Tabs/Tabs.d.ts +10 -0
  242. package/dist/components/Tabs/Tabs.js +23 -0
  243. package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
  244. package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
  245. package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
  246. package/dist/components/Tabs/index.d.ts +2 -0
  247. package/dist/components/Tabs/index.js +4 -0
  248. package/dist/components/Tabs/styles.d.ts +12 -0
  249. package/dist/components/Tabs/styles.js +102 -0
  250. package/dist/components/Tile/Tile.d.ts +10 -0
  251. package/dist/components/Tile/Tile.js +21 -0
  252. package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
  253. package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
  254. package/dist/components/Tile/__tests__/Tile.test.js +21 -0
  255. package/dist/components/Tile/index.d.ts +2 -0
  256. package/dist/components/Tile/index.js +4 -0
  257. package/dist/components/Tile/styles.d.ts +11 -0
  258. package/dist/components/Tile/styles.js +12 -0
  259. package/dist/components/Toast/Toast.js +23 -6
  260. package/dist/components/Toast/__tests__/Toast.test.js +2 -2
  261. package/dist/components/Toast/index.js +1 -1
  262. package/dist/components/Toast/styles.d.ts +0 -1
  263. package/dist/components/Toast/styles.js +14 -23
  264. package/dist/components/Tooltip/Tooltip.d.ts +7 -0
  265. package/dist/components/Tooltip/Tooltip.js +50 -0
  266. package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
  267. package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
  268. package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
  269. package/dist/components/Tooltip/index.d.ts +2 -0
  270. package/dist/components/Tooltip/index.js +4 -0
  271. package/dist/components/Tooltip/styles.d.ts +20 -0
  272. package/dist/components/Tooltip/styles.js +11 -0
  273. package/dist/components/Typography/Typography.d.ts +5 -1
  274. package/dist/components/Typography/Typography.js +2 -2
  275. package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
  276. package/dist/components/Typography/__tests__/Typography.test.js +2 -2
  277. package/dist/components/Typography/index.js +1 -1
  278. package/dist/components/Typography/styles.d.ts +1 -0
  279. package/dist/components/Typography/styles.js +53 -17
  280. package/dist/components/index.d.ts +31 -1
  281. package/dist/components/index.js +54 -24
  282. package/dist/constants/index.d.ts +4 -0
  283. package/dist/constants/index.js +4 -2
  284. package/dist/{context-BMW3aJEf.js → context-Cx7GtZpz.js} +281 -284
  285. package/dist/dropdown-zGGFIyJ_.js +2044 -0
  286. package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
  287. package/dist/genesis/GenesisThemeBreakdown.js +38 -22
  288. package/dist/genesis/styles.js +7 -2923
  289. package/dist/iconBase-LROS5hdG.js +112 -0
  290. package/dist/index-BRUI9igj.js +11 -0
  291. package/dist/index-BTGF--50.js +1845 -0
  292. package/dist/index-BW_7pvTr.js +538 -0
  293. package/dist/{index-oK7z6jnz.js → index-ByspLxrB.js} +8640 -8798
  294. package/dist/{index-bKlRxQp4.js → index-CRotrkWm.js} +7 -7
  295. package/dist/{index-C0SmxWLS.js → index-CSPlXIlA.js} +136 -143
  296. package/dist/index-CdiHBmVe.js +445 -0
  297. package/dist/index-CodMmNWv.js +102 -0
  298. package/dist/{index-DPW8XdWj.js → index-CqqwGTME.js} +34 -30
  299. package/dist/index-D0P16DlX.js +286 -0
  300. package/dist/index-DLdU7Tpd.js +183 -0
  301. package/dist/index-DWUXwgXK.js +809 -0
  302. package/dist/index-DmZOkMjs.js +3628 -0
  303. package/dist/{index-1CBpubM3.js → index-Dyl-ddV6.js} +47 -44
  304. package/dist/index-hoPiccJv.js +415 -0
  305. package/dist/index.js +61 -31
  306. package/dist/interface/address.d.ts +10 -0
  307. package/dist/interface/address.js +1 -0
  308. package/dist/interface/appointment.d.ts +57 -0
  309. package/dist/interface/appointment.js +5 -0
  310. package/dist/interface/appointmentV2.d.ts +65 -0
  311. package/dist/interface/appointmentV2.js +1 -0
  312. package/dist/interface/appointmentsState.d.ts +21 -0
  313. package/dist/interface/appointmentsState.js +1 -0
  314. package/dist/interface/common.d.ts +2 -0
  315. package/dist/interface/common.js +1 -0
  316. package/dist/interface/completionData.d.ts +18 -0
  317. package/dist/interface/completionData.js +1 -0
  318. package/dist/interface/deliveryPartner.d.ts +25 -0
  319. package/dist/interface/deliveryPartner.js +1 -0
  320. package/dist/interface/organization.d.ts +9 -0
  321. package/dist/interface/organization.js +1 -0
  322. package/dist/interface/pagination.d.ts +8 -0
  323. package/dist/interface/pagination.js +1 -0
  324. package/dist/interface/roles.d.ts +9 -0
  325. package/dist/interface/roles.js +1 -0
  326. package/dist/interface/route.d.ts +73 -0
  327. package/dist/interface/route.js +1 -0
  328. package/dist/interface/routeAnalysis.d.ts +108 -0
  329. package/dist/interface/routeAnalysis.js +1 -0
  330. package/dist/interface/routeAutomationJob.d.ts +95 -0
  331. package/dist/interface/routeAutomationJob.js +10 -0
  332. package/dist/interface/routeAutomationLog.d.ts +10 -0
  333. package/dist/interface/routeAutomationLog.js +1 -0
  334. package/dist/interface/routeEvent.d.ts +55 -0
  335. package/dist/interface/routeEvent.js +5 -0
  336. package/dist/interface/serviceArea.d.ts +18 -0
  337. package/dist/interface/serviceArea.js +1 -0
  338. package/dist/interface/util.d.ts +3 -0
  339. package/dist/interface/util.js +1 -0
  340. package/dist/interface/vehicle.d.ts +120 -0
  341. package/dist/interface/vehicle.js +1 -0
  342. package/dist/interface/workOrder.d.ts +22 -0
  343. package/dist/interface/workOrder.js +1 -0
  344. package/dist/isVisible-D3-B85BJ.js +22 -0
  345. package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
  346. package/dist/omit-B_u6A-HL.js +9 -0
  347. package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
  348. package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
  349. package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
  350. package/dist/providers/BreakpointThemeProvider.js +21 -0
  351. package/dist/providers/GenesisProvider.js +3 -3
  352. package/dist/providers/ToastProvider.js +22 -6
  353. package/dist/providers/index.js +1 -1
  354. package/dist/providers/useGenesis.js +2 -2
  355. package/dist/responsiveObserver-O1kw80RG.js +73 -0
  356. package/dist/setup-CKu7-AfI.js +24706 -0
  357. package/dist/setup.types-dBtAXXGp.js +8824 -0
  358. package/dist/shadow-BoMGMNn3.js +13 -0
  359. package/dist/styleChecker-Cotu61d0.js +21 -0
  360. package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +28 -12
  361. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
  362. package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
  363. package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
  364. package/dist/styles/theme/genesis-theme.js +468 -263
  365. package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
  366. package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
  367. package/dist/styles/theme/theme-tree/ThemeTree.js +1651 -0
  368. package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
  369. package/dist/{styles-CT_fyXBd.js → styles-BDbHpHsc.js} +587 -643
  370. package/dist/styles-BSD221S5.js +289 -0
  371. package/dist/styles-D9iYILpv.js +9195 -0
  372. package/dist/test/setup.d.ts +2 -3
  373. package/dist/test/setup.js +87 -4
  374. package/dist/test/setup.types.d.ts +7 -0
  375. package/dist/test/setup.types.js +1 -0
  376. package/dist/toArray-DGvPoJP_.js +11 -0
  377. package/dist/useBreakpoint-CAMzKscx.js +22 -0
  378. package/dist/useCSSVarCls-C-MlZC6a.js +11 -0
  379. package/dist/useId-D2tzlufo.js +26 -0
  380. package/dist/useLocale-DWRfeMSS.js +16 -0
  381. package/dist/useMergedState-BoELfaU9.js +23 -0
  382. package/dist/useSize-CPo2bUE3.js +9 -0
  383. package/dist/{useVariants-DvhXfgJY.js → useVariants-Cin23jEC.js} +3 -3
  384. package/dist/useZIndex-D81lkWy4.js +44 -0
  385. package/dist/utils/icon-util.d.ts +2 -0
  386. package/dist/utils/icon-util.js +95 -0
  387. package/package.json +26 -15
  388. package/dist/AntdIcon-BoLh1dP8.js +0 -202
  389. package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
  390. package/dist/Typography-aGoDUl4R.js +0 -710
  391. package/dist/index-BZAhCB_K.js +0 -97
  392. package/dist/index-CfDY25LP.js +0 -873
  393. package/dist/isVisible-A-IfeFoT.js +0 -367
  394. package/dist/providers/ThemeProvider.d.ts +0 -9
  395. package/dist/providers/ThemeProvider.js +0 -21
  396. package/dist/setup-BvfREoHl.js +0 -33891
  397. package/dist/useLocale-DT-z_vQ6.js +0 -16
  398. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
  399. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
  400. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
  401. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
  402. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
  403. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
  404. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
  405. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
  406. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
  407. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
  408. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
  409. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
  410. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
  411. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
  412. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
  413. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
  414. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
  415. /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
@@ -1,5 +1,43 @@
1
- import { createContext as it } from "react";
2
- var At = /* @__PURE__ */ it({});
1
+ import { g as it } from "./_commonjsHelpers-BkfeUUK-.js";
2
+ import { createContext as st } from "react";
3
+ var J = { exports: {} };
4
+ /*!
5
+ Copyright (c) 2018 Jed Watson.
6
+ Licensed under the MIT License (MIT), see
7
+ http://jedwatson.github.io/classnames
8
+ */
9
+ (function(n) {
10
+ (function() {
11
+ var t = {}.hasOwnProperty;
12
+ function e() {
13
+ for (var s = "", a = 0; a < arguments.length; a++) {
14
+ var f = arguments[a];
15
+ f && (s = i(s, r(f)));
16
+ }
17
+ return s;
18
+ }
19
+ function r(s) {
20
+ if (typeof s == "string" || typeof s == "number")
21
+ return s;
22
+ if (typeof s != "object")
23
+ return "";
24
+ if (Array.isArray(s))
25
+ return e.apply(null, s);
26
+ if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
27
+ return s.toString();
28
+ var a = "";
29
+ for (var f in s)
30
+ t.call(s, f) && s[f] && (a = i(a, f));
31
+ return a;
32
+ }
33
+ function i(s, a) {
34
+ return a ? s ? s + " " + a : s + a : s;
35
+ }
36
+ n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
37
+ })();
38
+ })(J);
39
+ var at = J.exports;
40
+ const Ct = /* @__PURE__ */ it(at);
3
41
  function $() {
4
42
  return $ = Object.assign ? Object.assign.bind() : function(n) {
5
43
  for (var t = 1; t < arguments.length; t++) {
@@ -9,10 +47,107 @@ function $() {
9
47
  return n;
10
48
  }, $.apply(null, arguments);
11
49
  }
12
- function st(n) {
50
+ function p(n) {
51
+ "@babel/helpers - typeof";
52
+ return p = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
53
+ return typeof t;
54
+ } : function(t) {
55
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
56
+ }, p(n);
57
+ }
58
+ var S = {}, R = [], ot = function(t) {
59
+ R.push(t);
60
+ };
61
+ function ft(n, t) {
62
+ if (process.env.NODE_ENV !== "production" && !n && console !== void 0) {
63
+ var e = R.reduce(function(r, i) {
64
+ return i(r ?? "", "warning");
65
+ }, t);
66
+ e && console.error("Warning: ".concat(e));
67
+ }
68
+ }
69
+ function ut(n, t) {
70
+ if (process.env.NODE_ENV !== "production" && !n && console !== void 0) {
71
+ var e = R.reduce(function(r, i) {
72
+ return i(r ?? "", "note");
73
+ }, t);
74
+ e && console.warn("Note: ".concat(e));
75
+ }
76
+ }
77
+ function ht() {
78
+ S = {};
79
+ }
80
+ function z(n, t, e) {
81
+ !t && !S[e] && (n(!1, e), S[e] = !0);
82
+ }
83
+ function F(n, t) {
84
+ z(ft, n, t);
85
+ }
86
+ function ct(n, t) {
87
+ z(ut, n, t);
88
+ }
89
+ F.preMessage = ot;
90
+ F.resetWarned = ht;
91
+ F.noteOnce = ct;
92
+ function lt(n, t) {
93
+ if (p(n) != "object" || !n) return n;
94
+ var e = n[Symbol.toPrimitive];
95
+ if (e !== void 0) {
96
+ var r = e.call(n, t || "default");
97
+ if (p(r) != "object") return r;
98
+ throw new TypeError("@@toPrimitive must return a primitive value.");
99
+ }
100
+ return (t === "string" ? String : Number)(n);
101
+ }
102
+ function dt(n) {
103
+ var t = lt(n, "string");
104
+ return p(t) == "symbol" ? t : t + "";
105
+ }
106
+ function d(n, t, e) {
107
+ return (t = dt(t)) in n ? Object.defineProperty(n, t, {
108
+ value: e,
109
+ enumerable: !0,
110
+ configurable: !0,
111
+ writable: !0
112
+ }) : n[t] = e, n;
113
+ }
114
+ function B(n, t) {
115
+ var e = Object.keys(n);
116
+ if (Object.getOwnPropertySymbols) {
117
+ var r = Object.getOwnPropertySymbols(n);
118
+ t && (r = r.filter(function(i) {
119
+ return Object.getOwnPropertyDescriptor(n, i).enumerable;
120
+ })), e.push.apply(e, r);
121
+ }
122
+ return e;
123
+ }
124
+ function I(n) {
125
+ for (var t = 1; t < arguments.length; t++) {
126
+ var e = arguments[t] != null ? arguments[t] : {};
127
+ t % 2 ? B(Object(e), !0).forEach(function(r) {
128
+ d(n, r, e[r]);
129
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : B(Object(e)).forEach(function(r) {
130
+ Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(e, r));
131
+ });
132
+ }
133
+ return n;
134
+ }
135
+ function W(n, t) {
136
+ (t == null || t > n.length) && (t = n.length);
137
+ for (var e = 0, r = Array(t); e < t; e++) r[e] = n[e];
138
+ return r;
139
+ }
140
+ function gt(n, t) {
141
+ if (n) {
142
+ if (typeof n == "string") return W(n, t);
143
+ var e = {}.toString.call(n).slice(8, -1);
144
+ return e === "Object" && n.constructor && (e = n.constructor.name), e === "Map" || e === "Set" ? Array.from(n) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? W(n, t) : void 0;
145
+ }
146
+ }
147
+ function bt(n) {
13
148
  if (Array.isArray(n)) return n;
14
149
  }
15
- function at(n, t) {
150
+ function mt(n, t) {
16
151
  var e = n == null ? null : typeof Symbol < "u" && n[Symbol.iterator] || n["@@iterator"];
17
152
  if (e != null) {
18
153
  var r, i, s, a, f = [], o = !0, u = !1;
@@ -21,8 +156,8 @@ function at(n, t) {
21
156
  if (Object(e) !== e) return;
22
157
  o = !1;
23
158
  } else for (; !(o = (r = s.call(e)).done) && (f.push(r.value), f.length !== t); o = !0) ;
24
- } catch (c) {
25
- u = !0, i = c;
159
+ } catch (h) {
160
+ u = !0, i = h;
26
161
  } finally {
27
162
  try {
28
163
  if (!o && e.return != null && (a = e.return(), Object(a) !== a)) return;
@@ -33,56 +168,108 @@ function at(n, t) {
33
168
  return f;
34
169
  }
35
170
  }
36
- function B(n, t) {
37
- (t == null || t > n.length) && (t = n.length);
38
- for (var e = 0, r = Array(t); e < t; e++) r[e] = n[e];
39
- return r;
171
+ function pt() {
172
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
173
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
40
174
  }
41
- function ot(n, t) {
42
- if (n) {
43
- if (typeof n == "string") return B(n, t);
44
- var e = {}.toString.call(n).slice(8, -1);
45
- return e === "Object" && n.constructor && (e = n.constructor.name), e === "Map" || e === "Set" ? Array.from(n) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? B(n, t) : void 0;
175
+ function Et(n, t) {
176
+ return bt(n) || mt(n, t) || gt(n, t) || pt();
177
+ }
178
+ function vt() {
179
+ return !!(typeof window < "u" && window.document && window.document.createElement);
180
+ }
181
+ function yt(n, t) {
182
+ if (!n)
183
+ return !1;
184
+ if (n.contains)
185
+ return n.contains(t);
186
+ for (var e = t; e; ) {
187
+ if (e === n)
188
+ return !0;
189
+ e = e.parentNode;
46
190
  }
191
+ return !1;
47
192
  }
48
- function ft() {
49
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
50
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
193
+ var V = "data-rc-order", q = "data-rc-priority", _t = "rc-util-key", x = /* @__PURE__ */ new Map();
194
+ function X() {
195
+ var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = n.mark;
196
+ return t ? t.startsWith("data-") ? t : "data-".concat(t) : _t;
197
+ }
198
+ function y(n) {
199
+ if (n.attachTo)
200
+ return n.attachTo;
201
+ var t = document.querySelector("head");
202
+ return t || document.body;
51
203
  }
52
- function Ct(n, t) {
53
- return st(n) || at(n, t) || ot(n, t) || ft();
204
+ function St(n) {
205
+ return n === "queue" ? "prependQueue" : n ? "prepend" : "append";
54
206
  }
55
- function p(n) {
56
- "@babel/helpers - typeof";
57
- return p = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
58
- return typeof t;
59
- } : function(t) {
60
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
61
- }, p(n);
207
+ function T(n) {
208
+ return Array.from((x.get(n) || n).children).filter(function(t) {
209
+ return t.tagName === "STYLE";
210
+ });
62
211
  }
63
- function ut(n, t) {
64
- if (p(n) != "object" || !n) return n;
65
- var e = n[Symbol.toPrimitive];
66
- if (e !== void 0) {
67
- var r = e.call(n, t || "default");
68
- if (p(r) != "object") return r;
69
- throw new TypeError("@@toPrimitive must return a primitive value.");
212
+ function Z(n) {
213
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
214
+ if (!vt())
215
+ return null;
216
+ var e = t.csp, r = t.prepend, i = t.priority, s = i === void 0 ? 0 : i, a = St(r), f = a === "prependQueue", o = document.createElement("style");
217
+ o.setAttribute(V, a), f && s && o.setAttribute(q, "".concat(s)), e != null && e.nonce && (o.nonce = e == null ? void 0 : e.nonce), o.innerHTML = n;
218
+ var u = y(t), h = u.firstChild;
219
+ if (r) {
220
+ if (f) {
221
+ var l = (t.styles || T(u)).filter(function(g) {
222
+ if (!["prepend", "prependQueue"].includes(g.getAttribute(V)))
223
+ return !1;
224
+ var nt = Number(g.getAttribute(q) || 0);
225
+ return s >= nt;
226
+ });
227
+ if (l.length)
228
+ return u.insertBefore(o, l[l.length - 1].nextSibling), o;
229
+ }
230
+ u.insertBefore(o, h);
231
+ } else
232
+ u.appendChild(o);
233
+ return o;
234
+ }
235
+ function tt(n) {
236
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = y(t);
237
+ return (t.styles || T(e)).find(function(r) {
238
+ return r.getAttribute(X(t)) === n;
239
+ });
240
+ }
241
+ function Nt(n) {
242
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = tt(n, t);
243
+ if (e) {
244
+ var r = y(t);
245
+ r.removeChild(e);
70
246
  }
71
- return (t === "string" ? String : Number)(n);
72
247
  }
73
- function ct(n) {
74
- var t = ut(n, "string");
75
- return p(t) == "symbol" ? t : t + "";
248
+ function xt(n, t) {
249
+ var e = x.get(n);
250
+ if (!e || !yt(document, e)) {
251
+ var r = Z("", t), i = r.parentNode;
252
+ x.set(n, i), n.removeChild(r);
253
+ }
76
254
  }
77
- function d(n, t, e) {
78
- return (t = ct(t)) in n ? Object.defineProperty(n, t, {
79
- value: e,
80
- enumerable: !0,
81
- configurable: !0,
82
- writable: !0
83
- }) : n[t] = e, n;
255
+ function kt(n, t) {
256
+ var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = y(e), i = T(r), s = I(I({}, e), {}, {
257
+ styles: i
258
+ });
259
+ xt(r, s);
260
+ var a = tt(t, s);
261
+ if (a) {
262
+ var f, o;
263
+ if ((f = s.csp) !== null && f !== void 0 && f.nonce && a.nonce !== ((o = s.csp) === null || o === void 0 ? void 0 : o.nonce)) {
264
+ var u;
265
+ a.nonce = (u = s.csp) === null || u === void 0 ? void 0 : u.nonce;
266
+ }
267
+ return a.innerHTML !== n && (a.innerHTML = n), a;
268
+ }
269
+ var h = Z(n, s);
270
+ return h.setAttribute(X(s), t), h;
84
271
  }
85
- function ht(n, t) {
272
+ function wt(n, t) {
86
273
  if (n == null) return {};
87
274
  var e = {};
88
275
  for (var r in n) if ({}.hasOwnProperty.call(n, r)) {
@@ -91,83 +278,24 @@ function ht(n, t) {
91
278
  }
92
279
  return e;
93
280
  }
94
- function Et(n, t) {
281
+ function Dt(n, t) {
95
282
  if (n == null) return {};
96
- var e, r, i = ht(n, t);
283
+ var e, r, i = wt(n, t);
97
284
  if (Object.getOwnPropertySymbols) {
98
285
  var s = Object.getOwnPropertySymbols(n);
99
286
  for (r = 0; r < s.length; r++) e = s[r], t.indexOf(e) === -1 && {}.propertyIsEnumerable.call(n, e) && (i[e] = n[e]);
100
287
  }
101
288
  return i;
102
289
  }
103
- var Nt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
104
- function lt(n) {
105
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
106
- }
107
- function Dt(n) {
108
- if (n.__esModule) return n;
109
- var t = n.default;
110
- if (typeof t == "function") {
111
- var e = function r() {
112
- return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
113
- };
114
- e.prototype = t.prototype;
115
- } else e = {};
116
- return Object.defineProperty(e, "__esModule", { value: !0 }), Object.keys(n).forEach(function(r) {
117
- var i = Object.getOwnPropertyDescriptor(n, r);
118
- Object.defineProperty(e, r, i.get ? i : {
119
- enumerable: !0,
120
- get: function() {
121
- return n[r];
122
- }
123
- });
124
- }), e;
125
- }
126
- var z = { exports: {} };
127
- /*!
128
- Copyright (c) 2018 Jed Watson.
129
- Licensed under the MIT License (MIT), see
130
- http://jedwatson.github.io/classnames
131
- */
132
- (function(n) {
133
- (function() {
134
- var t = {}.hasOwnProperty;
135
- function e() {
136
- for (var s = "", a = 0; a < arguments.length; a++) {
137
- var f = arguments[a];
138
- f && (s = i(s, r(f)));
139
- }
140
- return s;
141
- }
142
- function r(s) {
143
- if (typeof s == "string" || typeof s == "number")
144
- return s;
145
- if (typeof s != "object")
146
- return "";
147
- if (Array.isArray(s))
148
- return e.apply(null, s);
149
- if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
150
- return s.toString();
151
- var a = "";
152
- for (var f in s)
153
- t.call(s, f) && s[f] && (a = i(a, f));
154
- return a;
155
- }
156
- function i(s, a) {
157
- return a ? s ? s + " " + a : s + a : s;
158
- }
159
- n.exports ? (e.default = e, n.exports = e) : window.classNames = e;
160
- })();
161
- })(z);
162
- var dt = z.exports;
163
- const Rt = /* @__PURE__ */ lt(dt), h = Math.round;
290
+ var Lt = /* @__PURE__ */ st({});
291
+ const c = Math.round;
164
292
  function _(n, t) {
165
293
  const e = n.replace(/^[^(]*\((.*)/, "$1").replace(/\).*/, "").match(/\d*\.?\d+%?/g) || [], r = e.map((i) => parseFloat(i));
166
294
  for (let i = 0; i < 3; i += 1)
167
295
  r[i] = t(r[i] || 0, e[i] || "", i);
168
296
  return e[3] ? r[3] = e[3].includes("%") ? r[3] / 100 : r[3] : r[3] = 1, r;
169
297
  }
170
- const I = (n, t, e) => e === 0 ? n : n / 100;
298
+ const K = (n, t, e) => e === 0 ? n : n / 100;
171
299
  function m(n, t) {
172
300
  const e = t || 255;
173
301
  return n > e ? e : n < 0 ? 0 : n;
@@ -228,7 +356,7 @@ class b {
228
356
  getHue() {
229
357
  if (typeof this._h > "u") {
230
358
  const t = this.getMax() - this.getMin();
231
- t === 0 ? this._h = 0 : this._h = h(60 * (this.r === this.getMax() ? (this.g - this.b) / t + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / t + 2 : (this.r - this.g) / t + 4));
359
+ t === 0 ? this._h = 0 : this._h = c(60 * (this.r === this.getMax() ? (this.g - this.b) / t + (this.g < this.b ? 6 : 0) : this.g === this.getMax() ? (this.b - this.r) / t + 2 : (this.r - this.g) / t + 4));
232
360
  }
233
361
  return this._h;
234
362
  }
@@ -280,10 +408,10 @@ class b {
280
408
  */
281
409
  mix(t, e = 50) {
282
410
  const r = this._c(t), i = e / 100, s = (f) => (r[f] - this[f]) * i + this[f], a = {
283
- r: h(s("r")),
284
- g: h(s("g")),
285
- b: h(s("b")),
286
- a: h(s("a") * 100) / 100
411
+ r: c(s("r")),
412
+ g: c(s("g")),
413
+ b: c(s("b")),
414
+ a: c(s("a") * 100) / 100
287
415
  };
288
416
  return this._c(a);
289
417
  }
@@ -312,7 +440,7 @@ class b {
312
440
  }, t);
313
441
  }
314
442
  onBackground(t) {
315
- const e = this._c(t), r = this.a + e.a * (1 - this.a), i = (s) => h((this[s] * this.a + e[s] * e.a * (1 - this.a)) / r);
443
+ const e = this._c(t), r = this.a + e.a * (1 - this.a), i = (s) => c((this[s] * this.a + e[s] * e.a * (1 - this.a)) / r);
316
444
  return this._c({
317
445
  r: i("r"),
318
446
  g: i("g"),
@@ -343,7 +471,7 @@ class b {
343
471
  t += r.length === 2 ? r : "0" + r;
344
472
  const i = (this.b || 0).toString(16);
345
473
  if (t += i.length === 2 ? i : "0" + i, typeof this.a == "number" && this.a >= 0 && this.a < 1) {
346
- const s = h(this.a * 255).toString(16);
474
+ const s = c(this.a * 255).toString(16);
347
475
  t += s.length === 2 ? s : "0" + s;
348
476
  }
349
477
  return t;
@@ -359,7 +487,7 @@ class b {
359
487
  }
360
488
  /** CSS support color pattern */
361
489
  toHslString() {
362
- const t = this.getHue(), e = h(this.getSaturation() * 100), r = h(this.getLightness() * 100);
490
+ const t = this.getHue(), e = c(this.getSaturation() * 100), r = c(this.getLightness() * 100);
363
491
  return this.a !== 1 ? `hsla(${t},${e}%,${r}%,${this.a})` : `hsl(${t},${e}%,${r}%)`;
364
492
  }
365
493
  /** Same as toHsb */
@@ -414,14 +542,14 @@ class b {
414
542
  a: i
415
543
  }) {
416
544
  if (this._h = t % 360, this._s = e, this._l = r, this.a = typeof i == "number" ? i : 1, e <= 0) {
417
- const g = h(r * 255);
545
+ const g = c(r * 255);
418
546
  this.r = g, this.g = g, this.b = g;
419
547
  }
420
548
  let s = 0, a = 0, f = 0;
421
- const o = t / 60, u = (1 - Math.abs(2 * r - 1)) * e, c = u * (1 - Math.abs(o % 2 - 1));
422
- o >= 0 && o < 1 ? (s = u, a = c) : o >= 1 && o < 2 ? (s = c, a = u) : o >= 2 && o < 3 ? (a = u, f = c) : o >= 3 && o < 4 ? (a = c, f = u) : o >= 4 && o < 5 ? (s = c, f = u) : o >= 5 && o < 6 && (s = u, f = c);
549
+ const o = t / 60, u = (1 - Math.abs(2 * r - 1)) * e, h = u * (1 - Math.abs(o % 2 - 1));
550
+ o >= 0 && o < 1 ? (s = u, a = h) : o >= 1 && o < 2 ? (s = h, a = u) : o >= 2 && o < 3 ? (a = u, f = h) : o >= 3 && o < 4 ? (a = h, f = u) : o >= 4 && o < 5 ? (s = h, f = u) : o >= 5 && o < 6 && (s = u, f = h);
423
551
  const l = r - u / 2;
424
- this.r = h((s + l) * 255), this.g = h((a + l) * 255), this.b = h((f + l) * 255);
552
+ this.r = c((s + l) * 255), this.g = c((a + l) * 255), this.b = c((f + l) * 255);
425
553
  }
426
554
  fromHsv({
427
555
  h: t,
@@ -430,34 +558,34 @@ class b {
430
558
  a: i
431
559
  }) {
432
560
  this._h = t % 360, this._s = e, this._v = r, this.a = typeof i == "number" ? i : 1;
433
- const s = h(r * 255);
561
+ const s = c(r * 255);
434
562
  if (this.r = s, this.g = s, this.b = s, e <= 0)
435
563
  return;
436
- const a = t / 60, f = Math.floor(a), o = a - f, u = h(r * (1 - e) * 255), c = h(r * (1 - e * o) * 255), l = h(r * (1 - e * (1 - o)) * 255);
564
+ const a = t / 60, f = Math.floor(a), o = a - f, u = c(r * (1 - e) * 255), h = c(r * (1 - e * o) * 255), l = c(r * (1 - e * (1 - o)) * 255);
437
565
  switch (f) {
438
566
  case 0:
439
567
  this.g = l, this.b = u;
440
568
  break;
441
569
  case 1:
442
- this.r = c, this.b = u;
570
+ this.r = h, this.b = u;
443
571
  break;
444
572
  case 2:
445
573
  this.r = u, this.b = l;
446
574
  break;
447
575
  case 3:
448
- this.r = u, this.g = c;
576
+ this.r = u, this.g = h;
449
577
  break;
450
578
  case 4:
451
579
  this.r = l, this.g = u;
452
580
  break;
453
581
  case 5:
454
582
  default:
455
- this.g = u, this.b = c;
583
+ this.g = u, this.b = h;
456
584
  break;
457
585
  }
458
586
  }
459
587
  fromHsvString(t) {
460
- const e = _(t, I);
588
+ const e = _(t, K);
461
589
  this.fromHsv({
462
590
  h: e[0],
463
591
  s: e[1],
@@ -466,7 +594,7 @@ class b {
466
594
  });
467
595
  }
468
596
  fromHslString(t) {
469
- const e = _(t, I);
597
+ const e = _(t, K);
470
598
  this.fromHsl({
471
599
  h: e[0],
472
600
  s: e[1],
@@ -477,12 +605,12 @@ class b {
477
605
  fromRgbString(t) {
478
606
  const e = _(t, (r, i) => (
479
607
  // Convert percentage to number. e.g. 50% -> 128
480
- i.includes("%") ? h(r / 100 * 255) : r
608
+ i.includes("%") ? c(r / 100 * 255) : r
481
609
  ));
482
610
  this.r = e[0], this.g = e[1], this.b = e[2], this.a = e[3];
483
611
  }
484
612
  }
485
- var v = 2, W = 0.16, gt = 0.05, bt = 0.05, mt = 0.15, J = 5, X = 4, pt = [{
613
+ var v = 2, Q = 0.16, Ot = 0.05, Mt = 0.05, Ht = 0.15, et = 5, rt = 4, Pt = [{
486
614
  index: 7,
487
615
  amount: 15
488
616
  }, {
@@ -513,46 +641,46 @@ var v = 2, W = 0.16, gt = 0.05, bt = 0.05, mt = 0.15, J = 5, X = 4, pt = [{
513
641
  index: 1,
514
642
  amount: 98
515
643
  }];
516
- function V(n, t, e) {
644
+ function G(n, t, e) {
517
645
  var r;
518
646
  return Math.round(n.h) >= 60 && Math.round(n.h) <= 240 ? r = e ? Math.round(n.h) - v * t : Math.round(n.h) + v * t : r = e ? Math.round(n.h) + v * t : Math.round(n.h) - v * t, r < 0 ? r += 360 : r >= 360 && (r -= 360), r;
519
647
  }
520
- function q(n, t, e) {
648
+ function Y(n, t, e) {
521
649
  if (n.h === 0 && n.s === 0)
522
650
  return n.s;
523
651
  var r;
524
- return e ? r = n.s - W * t : t === X ? r = n.s + W : r = n.s + gt * t, r > 1 && (r = 1), e && t === J && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Math.round(r * 100) / 100;
652
+ return e ? r = n.s - Q * t : t === rt ? r = n.s + Q : r = n.s + Ot * t, r > 1 && (r = 1), e && t === et && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Math.round(r * 100) / 100;
525
653
  }
526
- function G(n, t, e) {
654
+ function U(n, t, e) {
527
655
  var r;
528
- return e ? r = n.v + bt * t : r = n.v - mt * t, r = Math.max(0, Math.min(1, r)), Math.round(r * 100) / 100;
656
+ return e ? r = n.v + Mt * t : r = n.v - Ht * t, r = Math.max(0, Math.min(1, r)), Math.round(r * 100) / 100;
529
657
  }
530
- function kt(n) {
531
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = [], r = new b(n), i = r.toHsv(), s = J; s > 0; s -= 1) {
658
+ function Rt(n) {
659
+ for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = [], r = new b(n), i = r.toHsv(), s = et; s > 0; s -= 1) {
532
660
  var a = new b({
533
- h: V(i, s, !0),
534
- s: q(i, s, !0),
535
- v: G(i, s, !0)
661
+ h: G(i, s, !0),
662
+ s: Y(i, s, !0),
663
+ v: U(i, s, !0)
536
664
  });
537
665
  e.push(a);
538
666
  }
539
667
  e.push(r);
540
- for (var f = 1; f <= X; f += 1) {
668
+ for (var f = 1; f <= rt; f += 1) {
541
669
  var o = new b({
542
- h: V(i, f),
543
- s: q(i, f),
544
- v: G(i, f)
670
+ h: G(i, f),
671
+ s: Y(i, f),
672
+ v: U(i, f)
545
673
  });
546
674
  e.push(o);
547
675
  }
548
- return t.theme === "dark" ? pt.map(function(u) {
549
- var c = u.index, l = u.amount;
550
- return new b(t.backgroundColor || "#141414").mix(e[c], l).toHexString();
676
+ return t.theme === "dark" ? Pt.map(function(u) {
677
+ var h = u.index, l = u.amount;
678
+ return new b(t.backgroundColor || "#141414").mix(e[h], l).toHexString();
551
679
  }) : e.map(function(u) {
552
680
  return u.toHexString();
553
681
  });
554
682
  }
555
- var Lt = {
683
+ var Ft = {
556
684
  red: "#F5222D",
557
685
  volcano: "#FA541C",
558
686
  orange: "#FA8C16",
@@ -566,224 +694,73 @@ var Lt = {
566
694
  purple: "#722ED1",
567
695
  magenta: "#EB2F96",
568
696
  grey: "#666666"
569
- }, S = ["#fff1f0", "#ffccc7", "#ffa39e", "#ff7875", "#ff4d4f", "#f5222d", "#cf1322", "#a8071a", "#820014", "#5c0011"];
570
- S.primary = S[5];
571
- var x = ["#fff2e8", "#ffd8bf", "#ffbb96", "#ff9c6e", "#ff7a45", "#fa541c", "#d4380d", "#ad2102", "#871400", "#610b00"];
572
- x.primary = x[5];
573
- var w = ["#fff7e6", "#ffe7ba", "#ffd591", "#ffc069", "#ffa940", "#fa8c16", "#d46b08", "#ad4e00", "#873800", "#612500"];
697
+ }, w = ["#fff1f0", "#ffccc7", "#ffa39e", "#ff7875", "#ff4d4f", "#f5222d", "#cf1322", "#a8071a", "#820014", "#5c0011"];
574
698
  w.primary = w[5];
575
- var O = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"];
699
+ var O = ["#fff2e8", "#ffd8bf", "#ffbb96", "#ff9c6e", "#ff7a45", "#fa541c", "#d4380d", "#ad2102", "#871400", "#610b00"];
576
700
  O.primary = O[5];
577
- var M = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"];
701
+ var M = ["#fff7e6", "#ffe7ba", "#ffd591", "#ffc069", "#ffa940", "#fa8c16", "#d46b08", "#ad4e00", "#873800", "#612500"];
578
702
  M.primary = M[5];
579
- var H = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"];
703
+ var H = ["#fffbe6", "#fff1b8", "#ffe58f", "#ffd666", "#ffc53d", "#faad14", "#d48806", "#ad6800", "#874d00", "#613400"];
580
704
  H.primary = H[5];
581
- var j = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"];
582
- j.primary = j[5];
583
- var P = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"];
705
+ var P = ["#feffe6", "#ffffb8", "#fffb8f", "#fff566", "#ffec3d", "#fadb14", "#d4b106", "#ad8b00", "#876800", "#614700"];
584
706
  P.primary = P[5];
585
- var A = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
707
+ var j = ["#fcffe6", "#f4ffb8", "#eaff8f", "#d3f261", "#bae637", "#a0d911", "#7cb305", "#5b8c00", "#3f6600", "#254000"];
708
+ j.primary = j[5];
709
+ var A = ["#f6ffed", "#d9f7be", "#b7eb8f", "#95de64", "#73d13d", "#52c41a", "#389e0d", "#237804", "#135200", "#092b00"];
586
710
  A.primary = A[5];
587
- var C = ["#f0f5ff", "#d6e4ff", "#adc6ff", "#85a5ff", "#597ef7", "#2f54eb", "#1d39c4", "#10239e", "#061178", "#030852"];
711
+ var C = ["#e6fffb", "#b5f5ec", "#87e8de", "#5cdbd3", "#36cfc9", "#13c2c2", "#08979c", "#006d75", "#00474f", "#002329"];
588
712
  C.primary = C[5];
589
- var E = ["#f9f0ff", "#efdbff", "#d3adf7", "#b37feb", "#9254de", "#722ed1", "#531dab", "#391085", "#22075e", "#120338"];
713
+ var E = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
590
714
  E.primary = E[5];
591
- var N = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96", "#c41d7f", "#9e1068", "#780650", "#520339"];
715
+ var N = ["#f0f5ff", "#d6e4ff", "#adc6ff", "#85a5ff", "#597ef7", "#2f54eb", "#1d39c4", "#10239e", "#061178", "#030852"];
592
716
  N.primary = N[5];
593
- var D = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"];
717
+ var k = ["#f9f0ff", "#efdbff", "#d3adf7", "#b37feb", "#9254de", "#722ed1", "#531dab", "#391085", "#22075e", "#120338"];
718
+ k.primary = k[5];
719
+ var D = ["#fff0f6", "#ffd6e7", "#ffadd2", "#ff85c0", "#f759ab", "#eb2f96", "#c41d7f", "#9e1068", "#780650", "#520339"];
594
720
  D.primary = D[5];
595
- var Ft = {
596
- red: S,
597
- volcano: x,
598
- orange: w,
599
- gold: O,
600
- yellow: M,
601
- lime: H,
602
- green: j,
603
- cyan: P,
604
- blue: A,
605
- geekblue: C,
606
- purple: E,
607
- magenta: N,
608
- grey: D
721
+ var L = ["#a6a6a6", "#999999", "#8c8c8c", "#808080", "#737373", "#666666", "#404040", "#1a1a1a", "#000000", "#000000"];
722
+ L.primary = L[5];
723
+ var Tt = {
724
+ red: w,
725
+ volcano: O,
726
+ orange: M,
727
+ gold: H,
728
+ yellow: P,
729
+ lime: j,
730
+ green: A,
731
+ cyan: C,
732
+ blue: E,
733
+ geekblue: N,
734
+ purple: k,
735
+ magenta: D,
736
+ grey: L
609
737
  };
610
- function K(n, t) {
611
- var e = Object.keys(n);
612
- if (Object.getOwnPropertySymbols) {
613
- var r = Object.getOwnPropertySymbols(n);
614
- t && (r = r.filter(function(i) {
615
- return Object.getOwnPropertyDescriptor(n, i).enumerable;
616
- })), e.push.apply(e, r);
617
- }
618
- return e;
619
- }
620
- function Q(n) {
621
- for (var t = 1; t < arguments.length; t++) {
622
- var e = arguments[t] != null ? arguments[t] : {};
623
- t % 2 ? K(Object(e), !0).forEach(function(r) {
624
- d(n, r, e[r]);
625
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : K(Object(e)).forEach(function(r) {
626
- Object.defineProperty(n, r, Object.getOwnPropertyDescriptor(e, r));
627
- });
628
- }
629
- return n;
630
- }
631
- function vt() {
632
- return !!(typeof window < "u" && window.document && window.document.createElement);
633
- }
634
- function yt(n, t) {
635
- if (!n)
636
- return !1;
637
- if (n.contains)
638
- return n.contains(t);
639
- for (var e = t; e; ) {
640
- if (e === n)
641
- return !0;
642
- e = e.parentNode;
643
- }
644
- return !1;
645
- }
646
- var Y = "data-rc-order", U = "data-rc-priority", _t = "rc-util-key", R = /* @__PURE__ */ new Map();
647
- function Z() {
648
- var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = n.mark;
649
- return t ? t.startsWith("data-") ? t : "data-".concat(t) : _t;
650
- }
651
- function y(n) {
652
- if (n.attachTo)
653
- return n.attachTo;
654
- var t = document.querySelector("head");
655
- return t || document.body;
656
- }
657
- function St(n) {
658
- return n === "queue" ? "prependQueue" : n ? "prepend" : "append";
659
- }
660
- function L(n) {
661
- return Array.from((R.get(n) || n).children).filter(function(t) {
662
- return t.tagName === "STYLE";
663
- });
664
- }
665
- function tt(n) {
666
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
667
- if (!vt())
668
- return null;
669
- var e = t.csp, r = t.prepend, i = t.priority, s = i === void 0 ? 0 : i, a = St(r), f = a === "prependQueue", o = document.createElement("style");
670
- o.setAttribute(Y, a), f && s && o.setAttribute(U, "".concat(s)), e != null && e.nonce && (o.nonce = e == null ? void 0 : e.nonce), o.innerHTML = n;
671
- var u = y(t), c = u.firstChild;
672
- if (r) {
673
- if (f) {
674
- var l = (t.styles || L(u)).filter(function(g) {
675
- if (!["prepend", "prependQueue"].includes(g.getAttribute(Y)))
676
- return !1;
677
- var nt = Number(g.getAttribute(U) || 0);
678
- return s >= nt;
679
- });
680
- if (l.length)
681
- return u.insertBefore(o, l[l.length - 1].nextSibling), o;
682
- }
683
- u.insertBefore(o, c);
684
- } else
685
- u.appendChild(o);
686
- return o;
687
- }
688
- function et(n) {
689
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = y(t);
690
- return (t.styles || L(e)).find(function(r) {
691
- return r.getAttribute(Z(t)) === n;
692
- });
693
- }
694
- function Tt(n) {
695
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, e = et(n, t);
696
- if (e) {
697
- var r = y(t);
698
- r.removeChild(e);
699
- }
700
- }
701
- function xt(n, t) {
702
- var e = R.get(n);
703
- if (!e || !yt(document, e)) {
704
- var r = tt("", t), i = r.parentNode;
705
- R.set(n, i), n.removeChild(r);
706
- }
707
- }
708
- function $t(n, t) {
709
- var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = y(e), i = L(r), s = Q(Q({}, e), {}, {
710
- styles: i
711
- });
712
- xt(r, s);
713
- var a = et(t, s);
714
- if (a) {
715
- var f, o;
716
- if ((f = s.csp) !== null && f !== void 0 && f.nonce && a.nonce !== ((o = s.csp) === null || o === void 0 ? void 0 : o.nonce)) {
717
- var u;
718
- a.nonce = (u = s.csp) === null || u === void 0 ? void 0 : u.nonce;
719
- }
720
- return a.innerHTML !== n && (a.innerHTML = n), a;
721
- }
722
- var c = tt(n, s);
723
- return c.setAttribute(Z(s), t), c;
724
- }
725
- var k = {}, F = [], wt = function(t) {
726
- F.push(t);
727
- };
728
- function Ot(n, t) {
729
- if (process.env.NODE_ENV !== "production" && !n && console !== void 0) {
730
- var e = F.reduce(function(r, i) {
731
- return i(r ?? "", "warning");
732
- }, t);
733
- e && console.error("Warning: ".concat(e));
734
- }
735
- }
736
- function Mt(n, t) {
737
- if (process.env.NODE_ENV !== "production" && !n && console !== void 0) {
738
- var e = F.reduce(function(r, i) {
739
- return i(r ?? "", "note");
740
- }, t);
741
- e && console.warn("Note: ".concat(e));
742
- }
743
- }
744
- function Ht() {
745
- k = {};
746
- }
747
- function rt(n, t, e) {
748
- !t && !k[e] && (n(!1, e), k[e] = !0);
749
- }
750
- function T(n, t) {
751
- rt(Ot, n, t);
752
- }
753
- function jt(n, t) {
754
- rt(Mt, n, t);
755
- }
756
- T.preMessage = wt;
757
- T.resetWarned = Ht;
758
- T.noteOnce = jt;
759
738
  export {
760
739
  b as F,
761
- At as I,
762
- Q as _,
763
- $ as a,
764
- Nt as b,
765
- Rt as c,
766
- p as d,
767
- Et as e,
768
- Ct as f,
769
- kt as g,
770
- d as h,
771
- A as i,
772
- Ot as j,
773
- vt as k,
774
- O as l,
775
- lt as m,
776
- jt as n,
777
- B as o,
778
- ot as p,
779
- st as q,
780
- Tt as r,
781
- ft as s,
782
- ct as t,
783
- $t as u,
784
- Ht as v,
785
- T as w,
786
- Lt as x,
787
- Ft as y,
788
- Dt as z
740
+ Lt as I,
741
+ I as _,
742
+ Et as a,
743
+ d as b,
744
+ vt as c,
745
+ $ as d,
746
+ Ct as e,
747
+ p as f,
748
+ Dt as g,
749
+ Rt as h,
750
+ E as i,
751
+ ft as j,
752
+ H as k,
753
+ yt as l,
754
+ W as m,
755
+ ct as n,
756
+ gt as o,
757
+ Ft as p,
758
+ bt as q,
759
+ Nt as r,
760
+ pt as s,
761
+ dt as t,
762
+ kt as u,
763
+ ht as v,
764
+ F as w,
765
+ Tt as x
789
766
  };