@juspay/blend-design-system 0.0.37-beta.7 → 0.0.37

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 (290) hide show
  1. package/dist/{node-C_DmV86X.js → breadcrumbV2.tokens-CovJEwot.js} +16 -0
  2. package/dist/components/Accordion/index.d.ts +2 -0
  3. package/dist/components/AccordionV2/accordionV2.animations.d.ts +1 -1
  4. package/dist/components/Alert/index.d.ts +1 -0
  5. package/dist/components/Avatar/index.d.ts +1 -0
  6. package/dist/components/Breadcrumb/index.d.ts +1 -0
  7. package/dist/components/Button/index.d.ts +1 -0
  8. package/dist/components/ButtonGroup/index.d.ts +1 -0
  9. package/dist/components/Card/index.d.ts +1 -0
  10. package/dist/components/CardV2/CardV2.d.ts +45 -0
  11. package/dist/components/CardV2/CardV2.utils.d.ts +14 -0
  12. package/dist/components/CardV2/CardV2Components.d.ts +8 -0
  13. package/dist/components/CardV2/CardV2Context.d.ts +14 -0
  14. package/dist/components/CardV2/CardV2Skeleton.d.ts +6 -0
  15. package/dist/components/CardV2/accessibility/CardV2AccessibilityReport.d.ts +2 -0
  16. package/dist/components/CardV2/accessibility/index.d.ts +1 -0
  17. package/dist/components/CardV2/cardV2.dark.tokens.d.ts +3 -0
  18. package/dist/components/CardV2/cardV2.light.tokens.d.ts +3 -0
  19. package/dist/components/CardV2/cardV2.tokens.d.ts +5 -0
  20. package/dist/components/CardV2/cardV2.tokens.types.d.ts +92 -0
  21. package/dist/components/CardV2/cardV2.types.d.ts +106 -0
  22. package/dist/components/CardV2/index.d.ts +5 -0
  23. package/dist/components/Charts/index.d.ts +10 -0
  24. package/dist/components/Charts/types.d.ts +2 -0
  25. package/dist/components/ChatInput/index.d.ts +1 -0
  26. package/dist/components/Checkbox/index.d.ts +1 -0
  27. package/dist/components/CodeEditor/index.d.ts +1 -0
  28. package/dist/components/CodeEditor/types.d.ts +22 -2
  29. package/dist/components/CodeEditorV2/CodeEditorV2.d.ts +1 -1
  30. package/dist/components/CodeEditorV2/codeEditorV2.types.d.ts +23 -2
  31. package/dist/components/DataTable/PivotTableModal/pivotModal.styled.d.ts +184 -0
  32. package/dist/components/DataTable/TableBody/types.d.ts +3 -1
  33. package/dist/components/DataTable/hooks/index.d.ts +2 -0
  34. package/dist/components/DataTable/hooks/useReducedMotion.d.ts +1 -0
  35. package/dist/components/DataTable/hooks/useRowFlip.d.ts +6 -0
  36. package/dist/components/DataTable/types.d.ts +26 -0
  37. package/dist/components/DateRangePicker/CalendarGrid.d.ts +5 -2
  38. package/dist/components/DateRangePicker/types.d.ts +3 -1
  39. package/dist/components/DateRangePicker/utils.d.ts +5 -5
  40. package/dist/components/Directory/Directory.d.ts +1 -1
  41. package/dist/components/Directory/NavItem.d.ts +1 -1
  42. package/dist/components/Directory/Section.d.ts +1 -1
  43. package/dist/components/Directory/VirtualizedDirectory.d.ts +3 -0
  44. package/dist/components/Directory/directory.tokens.d.ts +7 -0
  45. package/dist/components/Directory/types.d.ts +38 -1
  46. package/dist/components/Directory/utils.d.ts +3 -1
  47. package/dist/components/Drawer/index.d.ts +1 -0
  48. package/dist/components/Inputs/MultiValueInput/index.d.ts +1 -0
  49. package/dist/components/Inputs/NumberInput/index.d.ts +1 -0
  50. package/dist/components/Inputs/OTPInput/index.d.ts +1 -0
  51. package/dist/components/Inputs/SearchInput/index.d.ts +1 -0
  52. package/dist/components/Inputs/TextArea/index.d.ts +1 -0
  53. package/dist/components/Inputs/TextInput/index.d.ts +1 -0
  54. package/dist/components/InputsV2/TextAreaV2/utils.d.ts +2 -1
  55. package/dist/components/InputsV2/TextInputV2/utils.d.ts +2 -1
  56. package/dist/components/InputsV2/UploadV2/UploadContainerV2.d.ts +24 -0
  57. package/dist/components/InputsV2/UploadV2/UploadV2.d.ts +31 -0
  58. package/dist/components/InputsV2/UploadV2/UploadV2.dark.tokens.d.ts +3 -0
  59. package/dist/components/InputsV2/UploadV2/UploadV2.light.tokens.d.ts +3 -0
  60. package/dist/components/InputsV2/UploadV2/UploadV2.tokens.d.ts +5 -0
  61. package/dist/components/InputsV2/UploadV2/UploadV2.tokens.types.d.ts +115 -0
  62. package/dist/components/InputsV2/UploadV2/UploadV2.types.d.ts +56 -0
  63. package/dist/components/InputsV2/UploadV2/index.d.ts +3 -0
  64. package/dist/components/InputsV2/UploadV2/utils.d.ts +32 -0
  65. package/dist/components/KeyValuePair/index.d.ts +1 -0
  66. package/dist/components/Menu/Menu.d.ts +1 -1
  67. package/dist/components/Menu/index.d.ts +1 -0
  68. package/dist/components/Menu/types.d.ts +7 -0
  69. package/dist/components/Menu/utils.d.ts +10 -2
  70. package/dist/components/MenuV2/MenuV2Content.d.ts +1 -0
  71. package/dist/components/MenuV2/menuV2.types.d.ts +5 -0
  72. package/dist/components/MenuV2/menuV2.utils.d.ts +10 -2
  73. package/dist/components/Modal/index.d.ts +1 -0
  74. package/dist/components/ModalV2/ModalV2.d.ts +22 -0
  75. package/dist/components/ModalV2/ModalV2Footer.d.ts +10 -0
  76. package/dist/components/ModalV2/ModalV2Header.d.ts +15 -0
  77. package/dist/components/ModalV2/ModalV2Skeleton.d.ts +4 -0
  78. package/dist/components/ModalV2/index.d.ts +4 -0
  79. package/dist/components/ModalV2/mobileModalV2.d.ts +23 -0
  80. package/dist/components/ModalV2/modalAnimationV2.d.ts +3 -0
  81. package/dist/components/ModalV2/modalV2.dark.tokens.d.ts +3 -0
  82. package/dist/components/ModalV2/modalV2.light.tokens.d.ts +3 -0
  83. package/dist/components/ModalV2/modalV2.tokens.d.ts +5 -0
  84. package/dist/components/ModalV2/modalV2.tokens.types.d.ts +91 -0
  85. package/dist/components/ModalV2/modalV2.types.d.ts +66 -0
  86. package/dist/components/MultiSelect/MultiSelect.d.ts +1 -1
  87. package/dist/components/MultiSelect/MultiSelectMenu.d.ts +1 -1
  88. package/dist/components/MultiSelect/index.d.ts +2 -0
  89. package/dist/components/MultiSelect/types.d.ts +2 -0
  90. package/dist/components/MultiSelectV2/MultiSelectV2.d.ts +1 -1
  91. package/dist/components/MultiSelectV2/MultiSelectV2Menu.d.ts +1 -1
  92. package/dist/components/MultiSelectV2/multiSelectV2.types.d.ts +2 -0
  93. package/dist/components/Popover/index.d.ts +1 -0
  94. package/dist/components/Primitives/Block/Block.d.ts +1 -1
  95. package/dist/components/ProgressBar/index.d.ts +1 -0
  96. package/dist/components/Radio/index.d.ts +2 -0
  97. package/dist/components/Sidebar/SidebarContent.d.ts +9 -1
  98. package/dist/components/Sidebar/index.d.ts +1 -0
  99. package/dist/components/Sidebar/types.d.ts +9 -1
  100. package/dist/components/SidebarV2/SidebarV2Panel.d.ts +10 -2
  101. package/dist/components/SidebarV2/types.d.ts +9 -1
  102. package/dist/components/SingleSelect/SingleSelect.d.ts +1 -1
  103. package/dist/components/SingleSelect/SingleSelectMenu.d.ts +2 -1
  104. package/dist/components/SingleSelect/index.d.ts +1 -0
  105. package/dist/components/SingleSelect/types.d.ts +1 -0
  106. package/dist/components/SingleSelectV2/SingleSelectV2.d.ts +1 -1
  107. package/dist/components/SingleSelectV2/SingleSelectV2Menu.d.ts +1 -1
  108. package/dist/components/SingleSelectV2/singleSelectV2.tokens.types.d.ts +8 -0
  109. package/dist/components/SingleSelectV2/singleSelectV2.types.d.ts +2 -0
  110. package/dist/components/Skeleton/SkeletonCompound.d.ts +24 -33
  111. package/dist/components/Snackbar/Snackbar.d.ts +1 -1
  112. package/dist/components/Snackbar/index.d.ts +2 -0
  113. package/dist/components/Snackbar/snackbar.tokens.d.ts +1 -0
  114. package/dist/components/Snackbar/types.d.ts +2 -0
  115. package/dist/components/StatCard/index.d.ts +1 -0
  116. package/dist/components/Stepper/index.d.ts +1 -0
  117. package/dist/components/Switch/index.d.ts +2 -0
  118. package/dist/components/Tabs/index.d.ts +1 -0
  119. package/dist/components/Tags/index.d.ts +1 -0
  120. package/dist/components/Timeline/Timeline.d.ts +13 -37
  121. package/dist/components/Tooltip/index.d.ts +1 -0
  122. package/dist/components/Topbar/index.d.ts +1 -0
  123. package/dist/components/Upload/index.d.ts +1 -0
  124. package/dist/context/ThemeContext.d.ts +6 -0
  125. package/dist/context/useComponentToken.d.ts +4 -1
  126. package/dist/main.d.ts +6 -0
  127. package/dist/main.js +45436 -42186
  128. package/dist/node-B3rrXW84.js +1023 -0
  129. package/dist/node.d.ts +2 -0
  130. package/dist/node.js +21 -18
  131. package/dist/{tokens.js → token-engine.js} +1 -1
  132. package/lib/components/Accordion/AccordionItem.tsx +2 -6
  133. package/lib/components/Accordion/index.ts +2 -0
  134. package/lib/components/AccordionV2/AccordionV2Item.tsx +1 -1
  135. package/lib/components/AccordionV2/accordionV2.animations.ts +1 -5
  136. package/lib/components/Alert/index.ts +1 -0
  137. package/lib/components/Avatar/index.ts +1 -0
  138. package/lib/components/Breadcrumb/index.ts +1 -0
  139. package/lib/components/Button/index.ts +1 -0
  140. package/lib/components/ButtonGroup/index.ts +1 -0
  141. package/lib/components/Card/index.ts +1 -0
  142. package/lib/components/CardV2/CardV2.tsx +327 -0
  143. package/lib/components/CardV2/CardV2.utils.tsx +77 -0
  144. package/lib/components/CardV2/CardV2Components.tsx +297 -0
  145. package/lib/components/CardV2/CardV2Context.tsx +18 -0
  146. package/lib/components/CardV2/CardV2Skeleton.tsx +40 -0
  147. package/lib/components/CardV2/accessibility/CardV2AccessibilityReport.ts +284 -0
  148. package/lib/components/CardV2/accessibility/index.ts +1 -0
  149. package/lib/components/CardV2/cardV2.dark.tokens.ts +177 -0
  150. package/lib/components/CardV2/cardV2.light.tokens.ts +177 -0
  151. package/lib/components/CardV2/cardV2.tokens.ts +21 -0
  152. package/lib/components/CardV2/cardV2.tokens.types.ts +94 -0
  153. package/lib/components/CardV2/cardV2.types.ts +131 -0
  154. package/lib/components/CardV2/index.ts +13 -0
  155. package/lib/components/Charts/ChartLegend.tsx +25 -5
  156. package/lib/components/Charts/Charts.tsx +10 -0
  157. package/lib/components/Charts/index.ts +10 -0
  158. package/lib/components/Charts/types.tsx +2 -0
  159. package/lib/components/ChatInput/index.tsx +1 -0
  160. package/lib/components/Checkbox/index.ts +1 -0
  161. package/lib/components/CodeEditor/MonacoEditorWrapper.tsx +6 -2
  162. package/lib/components/CodeEditor/index.ts +1 -0
  163. package/lib/components/CodeEditor/types.ts +52 -2
  164. package/lib/components/CodeEditorV2/MonacoEditor/MonacoEditorWrapper.tsx +6 -2
  165. package/lib/components/CodeEditorV2/codeEditorV2.types.ts +44 -5
  166. package/lib/components/DataTable/DataTable.tsx +8 -0
  167. package/lib/components/DataTable/TableBody/index.tsx +47 -11
  168. package/lib/components/DataTable/TableBody/types.ts +7 -1
  169. package/lib/components/DataTable/TableCell/index.tsx +1 -1
  170. package/lib/components/DataTable/hooks/index.ts +2 -0
  171. package/lib/components/DataTable/hooks/useReducedMotion.ts +19 -0
  172. package/lib/components/DataTable/hooks/useRowFlip.ts +170 -0
  173. package/lib/components/DataTable/types.ts +32 -0
  174. package/lib/components/DateRangePicker/CalendarGrid.tsx +39 -6
  175. package/lib/components/DateRangePicker/DateRangePicker.tsx +27 -4
  176. package/lib/components/DateRangePicker/types.ts +6 -1
  177. package/lib/components/DateRangePicker/utils.ts +123 -12
  178. package/lib/components/Directory/Directory.tsx +31 -0
  179. package/lib/components/Directory/NavItem.tsx +177 -86
  180. package/lib/components/Directory/Section.tsx +9 -0
  181. package/lib/components/Directory/VirtualizedDirectory.tsx +670 -0
  182. package/lib/components/Directory/directory.tokens.ts +21 -0
  183. package/lib/components/Directory/types.ts +43 -1
  184. package/lib/components/Directory/utils.ts +81 -1
  185. package/lib/components/Drawer/index.ts +1 -0
  186. package/lib/components/Inputs/DropdownInput/DropdownInput.tsx +6 -2
  187. package/lib/components/Inputs/MultiValueInput/index.ts +1 -0
  188. package/lib/components/Inputs/NumberInput/NumberInput.tsx +6 -2
  189. package/lib/components/Inputs/NumberInput/index.ts +1 -0
  190. package/lib/components/Inputs/OTPInput/index.ts +1 -0
  191. package/lib/components/Inputs/SearchInput/index.ts +1 -0
  192. package/lib/components/Inputs/TextArea/TextArea.tsx +4 -2
  193. package/lib/components/Inputs/TextArea/index.ts +1 -0
  194. package/lib/components/Inputs/TextInput/TextInput.tsx +6 -2
  195. package/lib/components/Inputs/TextInput/index.ts +1 -0
  196. package/lib/components/Inputs/UnitInput/UnitInput.tsx +6 -2
  197. package/lib/components/InputsV2/NumberInputV2/NumberInputV2.tsx +6 -2
  198. package/lib/components/InputsV2/TextAreaV2/TextAreaV2.tsx +2 -1
  199. package/lib/components/InputsV2/TextAreaV2/utils.ts +3 -1
  200. package/lib/components/InputsV2/TextInputV2/TextInputV2.tsx +1 -0
  201. package/lib/components/InputsV2/TextInputV2/utils.ts +6 -8
  202. package/lib/components/InputsV2/UploadV2/UploadContainerV2.tsx +470 -0
  203. package/lib/components/InputsV2/UploadV2/UploadV2.dark.tokens.ts +348 -0
  204. package/lib/components/InputsV2/UploadV2/UploadV2.light.tokens.ts +348 -0
  205. package/lib/components/InputsV2/UploadV2/UploadV2.tokens.ts +20 -0
  206. package/lib/components/InputsV2/UploadV2/UploadV2.tokens.types.ts +117 -0
  207. package/lib/components/InputsV2/UploadV2/UploadV2.tsx +336 -0
  208. package/lib/components/InputsV2/UploadV2/UploadV2.types.ts +67 -0
  209. package/lib/components/InputsV2/UploadV2/index.ts +3 -0
  210. package/lib/components/InputsV2/UploadV2/utils.ts +170 -0
  211. package/lib/components/KeyValuePair/index.ts +1 -0
  212. package/lib/components/Menu/Menu.tsx +18 -2
  213. package/lib/components/Menu/SubMenu.tsx +25 -3
  214. package/lib/components/Menu/index.ts +1 -0
  215. package/lib/components/Menu/types.tsx +14 -0
  216. package/lib/components/Menu/utils.ts +46 -3
  217. package/lib/components/MenuV2/MenuV2.tsx +9 -2
  218. package/lib/components/MenuV2/MenuV2Content.tsx +6 -0
  219. package/lib/components/MenuV2/MenuV2SubMenu.tsx +16 -2
  220. package/lib/components/MenuV2/menuV2.types.ts +11 -0
  221. package/lib/components/MenuV2/menuV2.utils.ts +45 -3
  222. package/lib/components/Modal/index.ts +1 -0
  223. package/lib/components/ModalV2/ModalV2.tsx +269 -0
  224. package/lib/components/ModalV2/ModalV2Footer.tsx +76 -0
  225. package/lib/components/ModalV2/ModalV2Header.tsx +144 -0
  226. package/lib/components/ModalV2/ModalV2Skeleton.tsx +80 -0
  227. package/lib/components/ModalV2/index.ts +4 -0
  228. package/lib/components/ModalV2/mobileModalV2.tsx +411 -0
  229. package/lib/components/ModalV2/modalAnimationV2.tsx +19 -0
  230. package/lib/components/ModalV2/modalV2.dark.tokens.ts +183 -0
  231. package/lib/components/ModalV2/modalV2.light.tokens.ts +183 -0
  232. package/lib/components/ModalV2/modalV2.tokens.ts +21 -0
  233. package/lib/components/ModalV2/modalV2.tokens.types.ts +94 -0
  234. package/lib/components/ModalV2/modalV2.types.ts +80 -0
  235. package/lib/components/MultiSelect/MultiSelect.tsx +4 -1
  236. package/lib/components/MultiSelect/MultiSelectMenu.tsx +8 -0
  237. package/lib/components/MultiSelect/MultiSelectTrigger.tsx +2 -1
  238. package/lib/components/MultiSelect/index.ts +2 -0
  239. package/lib/components/MultiSelect/types.ts +2 -0
  240. package/lib/components/MultiSelectV2/MultiSelectV2.tsx +2 -0
  241. package/lib/components/MultiSelectV2/MultiSelectV2Menu.tsx +8 -0
  242. package/lib/components/MultiSelectV2/MultiSelectV2Trigger.tsx +4 -1
  243. package/lib/components/MultiSelectV2/multiSelectV2.types.ts +2 -0
  244. package/lib/components/Popover/index.ts +1 -0
  245. package/lib/components/Primitives/Block/Block.tsx +1 -1
  246. package/lib/components/ProgressBar/index.ts +1 -0
  247. package/lib/components/Radio/index.ts +2 -0
  248. package/lib/components/Sidebar/Sidebar.tsx +38 -0
  249. package/lib/components/Sidebar/SidebarContent.tsx +25 -1
  250. package/lib/components/Sidebar/index.ts +1 -0
  251. package/lib/components/Sidebar/types.ts +13 -1
  252. package/lib/components/SidebarV2/SidebarV2.tsx +30 -0
  253. package/lib/components/SidebarV2/SidebarV2Panel.tsx +25 -1
  254. package/lib/components/SidebarV2/types.ts +9 -1
  255. package/lib/components/SingleSelect/SingleSelect.tsx +4 -1
  256. package/lib/components/SingleSelect/SingleSelectMenu.tsx +171 -138
  257. package/lib/components/SingleSelect/SingleSelectTrigger.tsx +3 -1
  258. package/lib/components/SingleSelect/index.ts +1 -0
  259. package/lib/components/SingleSelect/types.ts +1 -0
  260. package/lib/components/SingleSelectV2/SingleSelectV2.tsx +2 -0
  261. package/lib/components/SingleSelectV2/SingleSelectV2Menu.tsx +84 -58
  262. package/lib/components/SingleSelectV2/SingleSelectV2Search.tsx +1 -0
  263. package/lib/components/SingleSelectV2/SingleSelectV2Trigger.tsx +3 -1
  264. package/lib/components/SingleSelectV2/singleSelectV2.dark.tokens.ts +8 -0
  265. package/lib/components/SingleSelectV2/singleSelectV2.light.tokens.ts +8 -0
  266. package/lib/components/SingleSelectV2/singleSelectV2.tokens.types.ts +8 -0
  267. package/lib/components/SingleSelectV2/singleSelectV2.types.ts +2 -0
  268. package/lib/components/Skeleton/SkeletonCompound.tsx +45 -31
  269. package/lib/components/Snackbar/Snackbar.tsx +18 -8
  270. package/lib/components/Snackbar/index.ts +2 -0
  271. package/lib/components/Snackbar/snackbar.tokens.ts +6 -0
  272. package/lib/components/Snackbar/types.ts +2 -0
  273. package/lib/components/StatCard/StatCard.tsx +29 -0
  274. package/lib/components/StatCard/index.ts +1 -0
  275. package/lib/components/Stepper/index.ts +1 -0
  276. package/lib/components/Switch/index.ts +2 -0
  277. package/lib/components/Tabs/index.ts +1 -0
  278. package/lib/components/Tags/index.ts +1 -0
  279. package/lib/components/Timeline/Timeline.tsx +9 -1
  280. package/lib/components/Tooltip/index.ts +1 -0
  281. package/lib/components/Topbar/index.ts +1 -0
  282. package/lib/components/Upload/index.ts +1 -0
  283. package/lib/context/ThemeContext.tsx +16 -0
  284. package/lib/context/initComponentTokens.ts +11 -0
  285. package/lib/context/useComponentToken.ts +15 -1
  286. package/lib/hooks/useResponsiveTokens.ts +63 -0
  287. package/lib/main.ts +16 -0
  288. package/lib/node.ts +2 -0
  289. package/package.json +5 -4
  290. package/dist/tokens.d.ts +0 -2
@@ -0,0 +1,1023 @@
1
+ import { T as h } from "./breadcrumbV2.tokens-CovJEwot.js";
2
+ const c = (r) => ({
3
+ sm: {
4
+ paddingTop: r.unit[16],
5
+ paddingRight: r.unit[16],
6
+ paddingBottom: r.unit[16],
7
+ paddingLeft: r.unit[16],
8
+ boxShadow: r.shadows.xs,
9
+ borderRadius: r.border.radius[16],
10
+ backgroundColor: r.colors.gray[0],
11
+ overlay: {
12
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
13
+ offset: r.unit[16]
14
+ },
15
+ skeleton: {
16
+ header: {
17
+ gap: r.unit[16],
18
+ paddingTop: r.unit[20],
19
+ paddingRight: r.unit[20],
20
+ paddingBottom: r.unit[20],
21
+ paddingLeft: r.unit[20],
22
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
23
+ width: "60%",
24
+ height: 24,
25
+ borderRadius: r.border.radius[4]
26
+ },
27
+ body: {
28
+ gap: r.unit[12],
29
+ width: "100%",
30
+ height: 300,
31
+ borderRadius: r.border.radius[4]
32
+ }
33
+ },
34
+ divider: {
35
+ borderColor: r.colors.gray[200]
36
+ },
37
+ header: {
38
+ gap: r.unit[16],
39
+ paddingTop: r.unit[16],
40
+ paddingRight: r.unit[16],
41
+ paddingBottom: r.unit[16],
42
+ paddingLeft: r.unit[16],
43
+ maxHeight: "20vh",
44
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
45
+ backgroundColor: r.colors.gray[0],
46
+ borderTopLeftRadius: r.border.radius[16],
47
+ borderTopRightRadius: r.border.radius[16],
48
+ slot: {
49
+ gap: r.unit[8]
50
+ },
51
+ text: {
52
+ title: {
53
+ color: r.colors.gray[700],
54
+ fontSize: r.font.size.body.md.fontSize,
55
+ fontWeight: r.font.weight[600],
56
+ lineHeight: r.font.lineHeight[20]
57
+ },
58
+ subtitle: {
59
+ color: r.colors.gray[600],
60
+ fontSize: r.font.size.body.sm.fontSize,
61
+ fontWeight: r.font.weight[400],
62
+ lineHeight: r.font.lineHeight[20]
63
+ }
64
+ }
65
+ },
66
+ body: {
67
+ paddingTop: r.unit[16],
68
+ paddingRight: r.unit[16],
69
+ paddingBottom: r.unit[16],
70
+ paddingLeft: r.unit[16],
71
+ backgroundColor: r.colors.gray[0]
72
+ },
73
+ footer: {
74
+ paddingTop: r.unit[16],
75
+ paddingRight: r.unit[16],
76
+ paddingBottom: r.unit[16],
77
+ paddingLeft: r.unit[16],
78
+ borderTop: `1px solid ${r.colors.gray[200]}`,
79
+ backgroundColor: r.colors.gray[0],
80
+ gap: r.unit[12]
81
+ },
82
+ closeButton: {
83
+ color: r.colors.gray[500],
84
+ width: r.unit[16],
85
+ height: r.unit[16]
86
+ }
87
+ },
88
+ lg: {
89
+ backgroundColor: r.colors.gray[0],
90
+ paddingTop: r.unit[16],
91
+ paddingRight: r.unit[16],
92
+ paddingBottom: r.unit[16],
93
+ paddingLeft: r.unit[16],
94
+ boxShadow: r.shadows.lg,
95
+ borderRadius: r.border.radius[16],
96
+ overlay: {
97
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
98
+ offset: r.unit[16]
99
+ },
100
+ divider: {
101
+ borderColor: r.colors.gray[200]
102
+ },
103
+ header: {
104
+ gap: r.unit[16],
105
+ paddingTop: r.unit[20],
106
+ paddingRight: r.unit[20],
107
+ paddingBottom: r.unit[20],
108
+ paddingLeft: r.unit[20],
109
+ maxHeight: "20vh",
110
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
111
+ backgroundColor: r.colors.gray[0],
112
+ borderTopLeftRadius: r.border.radius[16],
113
+ borderTopRightRadius: r.border.radius[16],
114
+ slot: {
115
+ gap: r.unit[8]
116
+ },
117
+ text: {
118
+ title: {
119
+ color: r.colors.gray[700],
120
+ fontSize: r.font.size.body.lg.fontSize,
121
+ fontWeight: r.font.weight[600],
122
+ lineHeight: r.font.lineHeight[20]
123
+ },
124
+ subtitle: {
125
+ color: r.colors.gray[600],
126
+ fontSize: r.font.size.body.md.fontSize,
127
+ fontWeight: r.font.weight[400],
128
+ lineHeight: r.font.lineHeight[20]
129
+ }
130
+ }
131
+ },
132
+ skeleton: {
133
+ header: {
134
+ gap: r.unit[16],
135
+ paddingTop: r.unit[20],
136
+ paddingRight: r.unit[20],
137
+ paddingBottom: r.unit[20],
138
+ paddingLeft: r.unit[20],
139
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
140
+ width: "60%",
141
+ height: 24,
142
+ borderRadius: r.border.radius[4]
143
+ },
144
+ body: {
145
+ gap: r.unit[12],
146
+ width: "100%",
147
+ height: 300,
148
+ borderRadius: r.border.radius[4]
149
+ }
150
+ },
151
+ body: {
152
+ paddingTop: r.unit[20],
153
+ paddingRight: r.unit[20],
154
+ paddingBottom: r.unit[20],
155
+ paddingLeft: r.unit[20],
156
+ backgroundColor: r.colors.gray[0]
157
+ },
158
+ footer: {
159
+ paddingTop: r.unit[20],
160
+ paddingRight: r.unit[20],
161
+ paddingBottom: r.unit[20],
162
+ paddingLeft: r.unit[20],
163
+ borderTop: `1px solid ${r.colors.gray[200]}`,
164
+ backgroundColor: r.colors.gray[0],
165
+ gap: r.unit[16]
166
+ },
167
+ closeButton: {
168
+ color: r.colors.gray[500],
169
+ width: r.unit[16],
170
+ height: r.unit[16]
171
+ }
172
+ }
173
+ }), i = (r) => ({
174
+ sm: {
175
+ backgroundColor: r.colors.gray[700],
176
+ paddingTop: r.unit[16],
177
+ paddingRight: r.unit[16],
178
+ paddingBottom: r.unit[16],
179
+ paddingLeft: r.unit[16],
180
+ boxShadow: r.shadows.xs,
181
+ borderRadius: r.border.radius[16],
182
+ overlay: {
183
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
184
+ offset: r.unit[16]
185
+ },
186
+ divider: {
187
+ borderColor: r.colors.gray[200]
188
+ },
189
+ skeleton: {
190
+ header: {
191
+ gap: r.unit[16],
192
+ paddingTop: r.unit[20],
193
+ paddingRight: r.unit[20],
194
+ paddingBottom: r.unit[20],
195
+ paddingLeft: r.unit[20],
196
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
197
+ width: "60%",
198
+ height: 24,
199
+ borderRadius: r.border.radius[4]
200
+ },
201
+ body: {
202
+ gap: r.unit[12],
203
+ width: "100%",
204
+ height: 300,
205
+ borderRadius: r.border.radius[4]
206
+ }
207
+ },
208
+ header: {
209
+ slot: {
210
+ gap: r.unit[8]
211
+ },
212
+ gap: r.unit[16],
213
+ paddingTop: r.unit[16],
214
+ paddingRight: r.unit[16],
215
+ paddingBottom: r.unit[16],
216
+ paddingLeft: r.unit[16],
217
+ maxHeight: "20vh",
218
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
219
+ backgroundColor: r.colors.gray[700],
220
+ borderTopLeftRadius: r.border.radius[16],
221
+ borderTopRightRadius: r.border.radius[16],
222
+ text: {
223
+ title: {
224
+ color: r.colors.gray[0],
225
+ fontSize: r.font.size.body.md.fontSize,
226
+ fontWeight: r.font.weight[600],
227
+ lineHeight: r.font.lineHeight[20]
228
+ },
229
+ subtitle: {
230
+ color: r.colors.gray[100],
231
+ fontSize: r.font.size.body.sm.fontSize,
232
+ fontWeight: r.font.weight[400],
233
+ lineHeight: r.font.lineHeight[20]
234
+ }
235
+ }
236
+ },
237
+ body: {
238
+ paddingTop: r.unit[16],
239
+ paddingRight: r.unit[16],
240
+ paddingBottom: r.unit[16],
241
+ paddingLeft: r.unit[16],
242
+ backgroundColor: r.colors.gray[700]
243
+ },
244
+ footer: {
245
+ paddingTop: r.unit[16],
246
+ paddingRight: r.unit[16],
247
+ paddingBottom: r.unit[16],
248
+ paddingLeft: r.unit[16],
249
+ borderTop: `1px solid ${r.colors.gray[200]}`,
250
+ backgroundColor: r.colors.gray[700],
251
+ gap: r.unit[12]
252
+ },
253
+ closeButton: {
254
+ color: r.colors.gray[100],
255
+ width: r.unit[16],
256
+ height: r.unit[16]
257
+ }
258
+ },
259
+ lg: {
260
+ backgroundColor: r.colors.gray[700],
261
+ paddingTop: r.unit[16],
262
+ paddingRight: r.unit[16],
263
+ paddingBottom: r.unit[16],
264
+ paddingLeft: r.unit[16],
265
+ boxShadow: r.shadows.lg,
266
+ borderRadius: r.border.radius[16],
267
+ overlay: {
268
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
269
+ offset: r.unit[16]
270
+ },
271
+ divider: {
272
+ borderColor: r.colors.gray[200]
273
+ },
274
+ skeleton: {
275
+ header: {
276
+ gap: r.unit[16],
277
+ paddingTop: r.unit[20],
278
+ paddingRight: r.unit[20],
279
+ paddingBottom: r.unit[20],
280
+ paddingLeft: r.unit[20],
281
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
282
+ width: "60%",
283
+ height: 24,
284
+ borderRadius: r.border.radius[4]
285
+ },
286
+ body: {
287
+ gap: r.unit[12],
288
+ width: "100%",
289
+ height: 300,
290
+ borderRadius: r.border.radius[4]
291
+ }
292
+ },
293
+ header: {
294
+ gap: r.unit[16],
295
+ paddingTop: r.unit[20],
296
+ paddingRight: r.unit[20],
297
+ paddingBottom: r.unit[20],
298
+ paddingLeft: r.unit[20],
299
+ maxHeight: "20vh",
300
+ borderBottom: `1px solid ${r.colors.gray[200]}`,
301
+ backgroundColor: r.colors.gray[700],
302
+ borderTopLeftRadius: r.border.radius[16],
303
+ borderTopRightRadius: r.border.radius[16],
304
+ slot: {
305
+ gap: r.unit[8]
306
+ },
307
+ text: {
308
+ title: {
309
+ color: r.colors.gray[0],
310
+ fontSize: r.font.size.body.lg.fontSize,
311
+ fontWeight: r.font.weight[600],
312
+ lineHeight: r.font.lineHeight[20]
313
+ },
314
+ subtitle: {
315
+ color: r.colors.gray[100],
316
+ fontSize: r.font.size.body.md.fontSize,
317
+ fontWeight: r.font.weight[400],
318
+ lineHeight: r.font.lineHeight[20]
319
+ }
320
+ }
321
+ },
322
+ body: {
323
+ paddingTop: r.unit[20],
324
+ paddingRight: r.unit[20],
325
+ paddingBottom: r.unit[20],
326
+ paddingLeft: r.unit[20],
327
+ backgroundColor: r.colors.gray[700]
328
+ },
329
+ footer: {
330
+ paddingTop: r.unit[20],
331
+ paddingRight: r.unit[20],
332
+ paddingBottom: r.unit[20],
333
+ paddingLeft: r.unit[20],
334
+ borderTop: `1px solid ${r.colors.gray[200]}`,
335
+ backgroundColor: r.colors.gray[700],
336
+ gap: r.unit[16]
337
+ },
338
+ closeButton: {
339
+ color: r.colors.gray[100],
340
+ width: r.unit[16],
341
+ height: r.unit[16]
342
+ }
343
+ }
344
+ }), m = (r, t = h.LIGHT) => t === h.DARK || t === "dark" ? i(r) : c(r);
345
+ var g = /* @__PURE__ */ ((r) => (r.IDLE = "idle", r.UPLOADING = "uploading", r.SUCCESS = "success", r.ERROR = "error", r.DISABLED = "disabled", r))(g || {}), l = /* @__PURE__ */ ((r) => (r.DRAG_ENTER = "drag_enter", r.DRAG_LEAVE = "drag_leave", r.DRAG_OVER = "drag_over", r.DROP = "drop", r))(l || {});
346
+ const b = {
347
+ OVERSIZED: "oversized",
348
+ MAX_FILES: "maxFiles",
349
+ INVALID_TYPE: "invalidType"
350
+ }, p = (r) => ({
351
+ sm: {
352
+ gap: r.unit[8],
353
+ topContainer: {
354
+ label: {
355
+ fontSize: {
356
+ sm: r.font.fontSize[14],
357
+ md: r.font.fontSize[14],
358
+ lg: r.font.fontSize[14]
359
+ },
360
+ fontWeight: {
361
+ sm: r.font.weight[500],
362
+ md: r.font.weight[500],
363
+ lg: r.font.weight[500]
364
+ },
365
+ color: {
366
+ default: r.colors.gray[700],
367
+ hover: r.colors.gray[700],
368
+ focus: r.colors.gray[700],
369
+ disabled: r.colors.gray[400],
370
+ error: r.colors.red[600]
371
+ },
372
+ lineHeight: {
373
+ sm: r.font.lineHeight[20],
374
+ md: r.font.lineHeight[20],
375
+ lg: r.font.lineHeight[20]
376
+ }
377
+ },
378
+ subLabel: {
379
+ fontSize: {
380
+ sm: r.font.fontSize[14],
381
+ md: r.font.fontSize[14],
382
+ lg: r.font.fontSize[14]
383
+ },
384
+ fontWeight: {
385
+ sm: r.font.weight[400],
386
+ md: r.font.weight[400],
387
+ lg: r.font.weight[400]
388
+ },
389
+ lineHeight: {
390
+ sm: r.font.lineHeight[20],
391
+ md: r.font.lineHeight[20],
392
+ lg: r.font.lineHeight[20]
393
+ },
394
+ color: {
395
+ default: r.colors.gray[400],
396
+ hover: r.colors.gray[400],
397
+ focus: r.colors.gray[400],
398
+ disabled: r.colors.gray[300],
399
+ error: r.colors.red[600]
400
+ }
401
+ },
402
+ helpIcon: {
403
+ width: {
404
+ sm: r.unit[14],
405
+ md: r.unit[14],
406
+ lg: r.unit[14]
407
+ },
408
+ color: {
409
+ default: r.colors.gray[400],
410
+ hover: r.colors.gray[400],
411
+ focus: r.colors.gray[400],
412
+ disabled: r.colors.gray[400],
413
+ error: r.colors.red[600]
414
+ }
415
+ },
416
+ required: {
417
+ color: r.colors.red[600]
418
+ }
419
+ },
420
+ uploadContainer: {
421
+ gap: r.unit[20],
422
+ paddingTop: r.unit[40],
423
+ paddingBottom: r.unit[40],
424
+ paddingLeft: r.unit[40],
425
+ paddingRight: r.unit[40],
426
+ borderRadius: r.border.radius[12],
427
+ border: {
428
+ [g.IDLE]: `1px dashed ${r.colors.gray[200]}`,
429
+ [l.DRAG_ENTER]: `1px dashed ${r.colors.primary[500]}`,
430
+ [l.DRAG_LEAVE]: `1px dashed ${r.colors.gray[200]}`,
431
+ [l.DRAG_OVER]: `1px dashed ${r.colors.primary[500]}`,
432
+ [l.DROP]: `1px dashed ${r.colors.gray[200]}`,
433
+ [g.UPLOADING]: `1px dashed ${r.colors.gray[200]}`,
434
+ [g.SUCCESS]: `1px dashed ${r.colors.gray[200]}`,
435
+ [g.ERROR]: `1px dashed ${r.colors.red[200]}`,
436
+ [g.DISABLED]: `1px dashed ${r.colors.gray[200]}`
437
+ },
438
+ backgroundColor: {
439
+ [g.IDLE]: r.colors.gray[900],
440
+ [l.DRAG_ENTER]: r.colors.primary[50],
441
+ [l.DRAG_LEAVE]: r.colors.gray[900],
442
+ [l.DRAG_OVER]: r.colors.primary[50],
443
+ [l.DROP]: r.colors.gray[900],
444
+ [g.UPLOADING]: r.colors.gray[900],
445
+ [g.SUCCESS]: r.colors.gray[900],
446
+ [g.ERROR]: r.colors.gray[900],
447
+ [g.DISABLED]: r.colors.gray[900]
448
+ },
449
+ header: {
450
+ gap: r.unit[4],
451
+ title: {
452
+ fontSize: r.font.fontSize[16],
453
+ fontWeight: r.font.weight[600],
454
+ color: r.colors.gray[100]
455
+ },
456
+ description: {
457
+ fontSize: r.font.fontSize[14],
458
+ fontWeight: r.font.weight[400],
459
+ color: r.colors.gray[400]
460
+ },
461
+ errorText: {
462
+ fontSize: r.font.fontSize[14],
463
+ fontWeight: r.font.weight[400],
464
+ color: r.colors.red[600]
465
+ }
466
+ },
467
+ fileTag: {
468
+ maxWidth: r.unit[200],
469
+ gap: r.unit[4]
470
+ }
471
+ },
472
+ bottomContainer: {
473
+ hintText: {
474
+ fontSize: {
475
+ sm: r.font.fontSize[12],
476
+ md: r.font.fontSize[12],
477
+ lg: r.font.fontSize[12]
478
+ },
479
+ fontWeight: {
480
+ sm: r.font.weight[400],
481
+ md: r.font.weight[400],
482
+ lg: r.font.weight[400]
483
+ },
484
+ lineHeight: {
485
+ sm: r.font.lineHeight[16],
486
+ md: r.font.lineHeight[16],
487
+ lg: r.font.lineHeight[16]
488
+ },
489
+ color: {
490
+ default: r.colors.gray[400],
491
+ hover: r.colors.gray[400],
492
+ focus: r.colors.gray[400],
493
+ disabled: r.colors.gray[500],
494
+ error: r.colors.gray[400]
495
+ }
496
+ },
497
+ errorMessage: {
498
+ fontSize: {
499
+ sm: r.font.fontSize[12],
500
+ md: r.font.fontSize[12],
501
+ lg: r.font.fontSize[12]
502
+ },
503
+ fontWeight: {
504
+ sm: r.font.weight[400],
505
+ md: r.font.weight[400],
506
+ lg: r.font.weight[400]
507
+ },
508
+ lineHeight: {
509
+ sm: r.font.lineHeight[16],
510
+ md: r.font.lineHeight[16],
511
+ lg: r.font.lineHeight[16]
512
+ },
513
+ color: r.colors.red[600]
514
+ }
515
+ }
516
+ },
517
+ lg: {
518
+ gap: r.unit[8],
519
+ topContainer: {
520
+ label: {
521
+ fontSize: {
522
+ sm: r.font.fontSize[14],
523
+ md: r.font.fontSize[14],
524
+ lg: r.font.fontSize[14]
525
+ },
526
+ fontWeight: {
527
+ sm: r.font.weight[500],
528
+ md: r.font.weight[500],
529
+ lg: r.font.weight[500]
530
+ },
531
+ lineHeight: {
532
+ sm: r.font.lineHeight[20],
533
+ md: r.font.lineHeight[20],
534
+ lg: r.font.lineHeight[20]
535
+ },
536
+ color: {
537
+ default: r.colors.gray[700],
538
+ hover: r.colors.gray[700],
539
+ focus: r.colors.gray[700],
540
+ disabled: r.colors.gray[400],
541
+ error: r.colors.red[600]
542
+ }
543
+ },
544
+ subLabel: {
545
+ fontSize: {
546
+ sm: r.font.fontSize[14],
547
+ md: r.font.fontSize[14],
548
+ lg: r.font.fontSize[14]
549
+ },
550
+ fontWeight: {
551
+ sm: r.font.weight[400],
552
+ md: r.font.weight[400],
553
+ lg: r.font.weight[400]
554
+ },
555
+ lineHeight: {
556
+ sm: r.font.lineHeight[20],
557
+ md: r.font.lineHeight[20],
558
+ lg: r.font.lineHeight[20]
559
+ },
560
+ color: {
561
+ default: r.colors.gray[400],
562
+ hover: r.colors.gray[400],
563
+ focus: r.colors.gray[400],
564
+ disabled: r.colors.gray[300],
565
+ error: r.colors.red[600]
566
+ }
567
+ },
568
+ helpIcon: {
569
+ width: {
570
+ sm: r.unit[14],
571
+ md: r.unit[14],
572
+ lg: r.unit[14]
573
+ },
574
+ color: {
575
+ default: r.colors.gray[400],
576
+ hover: r.colors.gray[400],
577
+ focus: r.colors.gray[400],
578
+ disabled: r.colors.gray[400],
579
+ error: r.colors.red[600]
580
+ }
581
+ },
582
+ required: {
583
+ color: r.colors.red[600]
584
+ }
585
+ },
586
+ uploadContainer: {
587
+ gap: r.unit[20],
588
+ paddingTop: r.unit[40],
589
+ paddingBottom: r.unit[40],
590
+ paddingLeft: r.unit[40],
591
+ paddingRight: r.unit[40],
592
+ borderRadius: r.border.radius[12],
593
+ border: {
594
+ [g.IDLE]: `1px dashed ${r.colors.gray[200]}`,
595
+ [l.DRAG_ENTER]: `1px dashed ${r.colors.primary[500]}`,
596
+ [l.DRAG_LEAVE]: `1px dashed ${r.colors.gray[200]}`,
597
+ [l.DRAG_OVER]: `1px dashed ${r.colors.primary[500]}`,
598
+ [l.DROP]: `1px dashed ${r.colors.gray[200]}`,
599
+ [g.UPLOADING]: `1px dashed ${r.colors.gray[200]}`,
600
+ [g.SUCCESS]: `1px dashed ${r.colors.gray[200]}`,
601
+ [g.ERROR]: `1px dashed ${r.colors.red[200]}`,
602
+ [g.DISABLED]: `1px dashed ${r.colors.gray[200]}`
603
+ },
604
+ backgroundColor: {
605
+ [g.IDLE]: r.colors.gray[900],
606
+ [l.DRAG_ENTER]: r.colors.primary[50],
607
+ [l.DRAG_LEAVE]: r.colors.gray[900],
608
+ [l.DRAG_OVER]: r.colors.primary[50],
609
+ [l.DROP]: r.colors.gray[900],
610
+ [g.UPLOADING]: r.colors.gray[900],
611
+ [g.SUCCESS]: r.colors.gray[900],
612
+ [g.ERROR]: r.colors.gray[900],
613
+ [g.DISABLED]: r.colors.gray[900]
614
+ },
615
+ header: {
616
+ gap: r.unit[4],
617
+ title: {
618
+ fontSize: r.font.fontSize[16],
619
+ fontWeight: r.font.weight[600],
620
+ color: r.colors.gray[100]
621
+ },
622
+ description: {
623
+ fontSize: r.font.fontSize[14],
624
+ fontWeight: r.font.weight[400],
625
+ color: r.colors.gray[400]
626
+ },
627
+ errorText: {
628
+ fontSize: r.font.fontSize[14],
629
+ fontWeight: r.font.weight[400],
630
+ color: r.colors.red[600]
631
+ }
632
+ },
633
+ fileTag: {
634
+ maxWidth: r.unit[200],
635
+ gap: r.unit[4]
636
+ }
637
+ },
638
+ bottomContainer: {
639
+ hintText: {
640
+ fontSize: {
641
+ sm: r.font.fontSize[12],
642
+ md: r.font.fontSize[12],
643
+ lg: r.font.fontSize[12]
644
+ },
645
+ fontWeight: {
646
+ sm: r.font.weight[400],
647
+ md: r.font.weight[400],
648
+ lg: r.font.weight[400]
649
+ },
650
+ lineHeight: {
651
+ sm: r.font.lineHeight[16],
652
+ md: r.font.lineHeight[16],
653
+ lg: r.font.lineHeight[16]
654
+ },
655
+ color: {
656
+ default: r.colors.gray[400],
657
+ hover: r.colors.gray[400],
658
+ focus: r.colors.gray[400],
659
+ disabled: r.colors.gray[500],
660
+ error: r.colors.gray[400]
661
+ }
662
+ },
663
+ errorMessage: {
664
+ fontSize: {
665
+ sm: r.font.fontSize[12],
666
+ md: r.font.fontSize[12],
667
+ lg: r.font.fontSize[12]
668
+ },
669
+ fontWeight: {
670
+ sm: r.font.weight[400],
671
+ md: r.font.weight[400],
672
+ lg: r.font.weight[400]
673
+ },
674
+ lineHeight: {
675
+ sm: r.font.lineHeight[16],
676
+ md: r.font.lineHeight[16],
677
+ lg: r.font.lineHeight[16]
678
+ },
679
+ color: r.colors.red[600]
680
+ }
681
+ }
682
+ }
683
+ }), y = (r) => ({
684
+ sm: {
685
+ gap: r.unit[8],
686
+ topContainer: {
687
+ label: {
688
+ fontSize: {
689
+ sm: r.font.fontSize[14],
690
+ md: r.font.fontSize[14],
691
+ lg: r.font.fontSize[14]
692
+ },
693
+ fontWeight: {
694
+ sm: r.font.weight[500],
695
+ md: r.font.weight[500],
696
+ lg: r.font.weight[500]
697
+ },
698
+ color: {
699
+ default: r.colors.gray[700],
700
+ hover: r.colors.gray[700],
701
+ focus: r.colors.gray[700],
702
+ disabled: r.colors.gray[400],
703
+ error: r.colors.red[600]
704
+ },
705
+ lineHeight: {
706
+ sm: r.font.lineHeight[20],
707
+ md: r.font.lineHeight[20],
708
+ lg: r.font.lineHeight[20]
709
+ }
710
+ },
711
+ subLabel: {
712
+ fontSize: {
713
+ sm: r.font.fontSize[14],
714
+ md: r.font.fontSize[14],
715
+ lg: r.font.fontSize[14]
716
+ },
717
+ fontWeight: {
718
+ sm: r.font.weight[400],
719
+ md: r.font.weight[400],
720
+ lg: r.font.weight[400]
721
+ },
722
+ lineHeight: {
723
+ sm: r.font.lineHeight[20],
724
+ md: r.font.lineHeight[20],
725
+ lg: r.font.lineHeight[20]
726
+ },
727
+ color: {
728
+ default: r.colors.gray[400],
729
+ hover: r.colors.gray[400],
730
+ focus: r.colors.gray[400],
731
+ disabled: r.colors.gray[300],
732
+ error: r.colors.red[600]
733
+ }
734
+ },
735
+ helpIcon: {
736
+ width: {
737
+ sm: r.unit[14],
738
+ md: r.unit[14],
739
+ lg: r.unit[14]
740
+ },
741
+ color: {
742
+ default: r.colors.gray[400],
743
+ hover: r.colors.gray[400],
744
+ focus: r.colors.gray[400],
745
+ disabled: r.colors.gray[400],
746
+ error: r.colors.red[600]
747
+ }
748
+ },
749
+ required: {
750
+ color: r.colors.red[600]
751
+ }
752
+ },
753
+ uploadContainer: {
754
+ gap: r.unit[20],
755
+ paddingTop: r.unit[20],
756
+ paddingBottom: r.unit[20],
757
+ paddingLeft: r.unit[40],
758
+ paddingRight: r.unit[40],
759
+ borderRadius: r.border.radius[12],
760
+ border: {
761
+ [g.IDLE]: `1px dashed ${r.colors.gray[200]}`,
762
+ [l.DRAG_ENTER]: `1px dashed ${r.colors.primary[500]}`,
763
+ [l.DRAG_LEAVE]: `1px dashed ${r.colors.gray[200]}`,
764
+ [l.DRAG_OVER]: `1px dashed ${r.colors.primary[500]}`,
765
+ [l.DROP]: `1px dashed ${r.colors.gray[200]}`,
766
+ [g.UPLOADING]: `1px dashed ${r.colors.gray[200]}`,
767
+ [g.SUCCESS]: `1px dashed ${r.colors.green[500]}`,
768
+ [g.ERROR]: `1px dashed ${r.colors.red[500]}`,
769
+ [g.DISABLED]: `1px dashed ${r.colors.gray[200]}`
770
+ },
771
+ backgroundColor: {
772
+ [g.IDLE]: r.colors.gray[0],
773
+ [l.DRAG_ENTER]: r.colors.primary[50],
774
+ [l.DRAG_LEAVE]: r.colors.gray[0],
775
+ [l.DRAG_OVER]: r.colors.primary[50],
776
+ [l.DROP]: r.colors.gray[0],
777
+ [g.UPLOADING]: r.colors.gray[0],
778
+ [g.SUCCESS]: r.colors.gray[0],
779
+ [g.ERROR]: r.colors.gray[0],
780
+ [g.DISABLED]: r.colors.gray[0]
781
+ },
782
+ header: {
783
+ gap: r.unit[4],
784
+ title: {
785
+ fontSize: r.font.fontSize[16],
786
+ fontWeight: r.font.weight[600],
787
+ color: r.colors.gray[700]
788
+ },
789
+ description: {
790
+ fontSize: r.font.fontSize[14],
791
+ fontWeight: r.font.weight[400],
792
+ color: r.colors.gray[400]
793
+ },
794
+ errorText: {
795
+ fontSize: r.font.fontSize[14],
796
+ fontWeight: r.font.weight[400],
797
+ color: r.colors.red[600]
798
+ }
799
+ },
800
+ fileTag: {
801
+ maxWidth: r.unit[200],
802
+ gap: r.unit[4]
803
+ }
804
+ },
805
+ bottomContainer: {
806
+ hintText: {
807
+ fontSize: {
808
+ sm: r.font.fontSize[12],
809
+ md: r.font.fontSize[12],
810
+ lg: r.font.fontSize[12]
811
+ },
812
+ fontWeight: {
813
+ sm: r.font.weight[400],
814
+ md: r.font.weight[400],
815
+ lg: r.font.weight[400]
816
+ },
817
+ lineHeight: {
818
+ sm: r.font.lineHeight[16],
819
+ md: r.font.lineHeight[16],
820
+ lg: r.font.lineHeight[16]
821
+ },
822
+ color: {
823
+ default: r.colors.gray[400],
824
+ hover: r.colors.gray[400],
825
+ focus: r.colors.gray[400],
826
+ disabled: r.colors.gray[300],
827
+ error: r.colors.gray[400]
828
+ }
829
+ },
830
+ errorMessage: {
831
+ fontSize: {
832
+ sm: r.font.fontSize[12],
833
+ md: r.font.fontSize[12],
834
+ lg: r.font.fontSize[12]
835
+ },
836
+ fontWeight: {
837
+ sm: r.font.weight[400],
838
+ md: r.font.weight[400],
839
+ lg: r.font.weight[400]
840
+ },
841
+ lineHeight: {
842
+ sm: r.font.lineHeight[16],
843
+ md: r.font.lineHeight[16],
844
+ lg: r.font.lineHeight[16]
845
+ },
846
+ color: r.colors.red[600]
847
+ }
848
+ }
849
+ },
850
+ lg: {
851
+ gap: r.unit[8],
852
+ topContainer: {
853
+ label: {
854
+ fontSize: {
855
+ sm: r.font.fontSize[14],
856
+ md: r.font.fontSize[14],
857
+ lg: r.font.fontSize[14]
858
+ },
859
+ fontWeight: {
860
+ sm: r.font.weight[500],
861
+ md: r.font.weight[500],
862
+ lg: r.font.weight[500]
863
+ },
864
+ lineHeight: {
865
+ sm: r.font.lineHeight[20],
866
+ md: r.font.lineHeight[20],
867
+ lg: r.font.lineHeight[20]
868
+ },
869
+ color: {
870
+ default: r.colors.gray[700],
871
+ hover: r.colors.gray[700],
872
+ focus: r.colors.gray[700],
873
+ disabled: r.colors.gray[400],
874
+ error: r.colors.red[600]
875
+ }
876
+ },
877
+ subLabel: {
878
+ fontSize: {
879
+ sm: r.font.fontSize[14],
880
+ md: r.font.fontSize[14],
881
+ lg: r.font.fontSize[14]
882
+ },
883
+ fontWeight: {
884
+ sm: r.font.weight[400],
885
+ md: r.font.weight[400],
886
+ lg: r.font.weight[400]
887
+ },
888
+ lineHeight: {
889
+ sm: r.font.lineHeight[20],
890
+ md: r.font.lineHeight[20],
891
+ lg: r.font.lineHeight[20]
892
+ },
893
+ color: {
894
+ default: r.colors.gray[400],
895
+ hover: r.colors.gray[400],
896
+ focus: r.colors.gray[400],
897
+ disabled: r.colors.gray[300],
898
+ error: r.colors.red[600]
899
+ }
900
+ },
901
+ helpIcon: {
902
+ width: {
903
+ sm: r.unit[14],
904
+ md: r.unit[14],
905
+ lg: r.unit[14]
906
+ },
907
+ color: {
908
+ default: r.colors.gray[400],
909
+ hover: r.colors.gray[400],
910
+ focus: r.colors.gray[400],
911
+ disabled: r.colors.gray[400],
912
+ error: r.colors.red[600]
913
+ }
914
+ },
915
+ required: {
916
+ color: r.colors.red[600]
917
+ }
918
+ },
919
+ uploadContainer: {
920
+ gap: r.unit[20],
921
+ paddingTop: r.unit[20],
922
+ paddingBottom: r.unit[20],
923
+ paddingLeft: r.unit[40],
924
+ paddingRight: r.unit[40],
925
+ borderRadius: r.border.radius[12],
926
+ border: {
927
+ [g.IDLE]: `1px dashed ${r.colors.gray[200]}`,
928
+ [l.DRAG_ENTER]: `1px dashed ${r.colors.primary[500]}`,
929
+ [l.DRAG_LEAVE]: `1px dashed ${r.colors.gray[200]}`,
930
+ [l.DRAG_OVER]: `1px dashed ${r.colors.primary[500]}`,
931
+ [l.DROP]: `1px dashed ${r.colors.gray[200]}`,
932
+ [g.UPLOADING]: `1px dashed ${r.colors.gray[200]}`,
933
+ [g.SUCCESS]: `1px dashed ${r.colors.green[500]}`,
934
+ [g.ERROR]: `1px dashed ${r.colors.red[500]}`,
935
+ [g.DISABLED]: `1px dashed ${r.colors.gray[200]}`
936
+ },
937
+ backgroundColor: {
938
+ [g.IDLE]: r.colors.gray[0],
939
+ [l.DRAG_ENTER]: r.colors.primary[50],
940
+ [l.DRAG_LEAVE]: r.colors.gray[0],
941
+ [l.DRAG_OVER]: r.colors.primary[50],
942
+ [l.DROP]: r.colors.gray[0],
943
+ [g.UPLOADING]: r.colors.gray[0],
944
+ [g.SUCCESS]: r.colors.gray[0],
945
+ [g.ERROR]: r.colors.gray[0],
946
+ [g.DISABLED]: r.colors.gray[0]
947
+ },
948
+ header: {
949
+ gap: r.unit[4],
950
+ title: {
951
+ fontSize: r.font.fontSize[16],
952
+ fontWeight: r.font.weight[600],
953
+ color: r.colors.gray[700]
954
+ },
955
+ description: {
956
+ fontSize: r.font.fontSize[14],
957
+ fontWeight: r.font.weight[400],
958
+ color: r.colors.gray[400]
959
+ },
960
+ errorText: {
961
+ fontSize: r.font.fontSize[14],
962
+ fontWeight: r.font.weight[400],
963
+ color: r.colors.red[600]
964
+ }
965
+ },
966
+ fileTag: {
967
+ maxWidth: r.unit[200],
968
+ gap: r.unit[4]
969
+ }
970
+ },
971
+ bottomContainer: {
972
+ hintText: {
973
+ fontSize: {
974
+ sm: r.font.fontSize[12],
975
+ md: r.font.fontSize[12],
976
+ lg: r.font.fontSize[12]
977
+ },
978
+ fontWeight: {
979
+ sm: r.font.weight[400],
980
+ md: r.font.weight[400],
981
+ lg: r.font.weight[400]
982
+ },
983
+ lineHeight: {
984
+ sm: r.font.lineHeight[16],
985
+ md: r.font.lineHeight[16],
986
+ lg: r.font.lineHeight[16]
987
+ },
988
+ color: {
989
+ default: r.colors.gray[400],
990
+ hover: r.colors.gray[400],
991
+ focus: r.colors.gray[400],
992
+ disabled: r.colors.gray[300],
993
+ error: r.colors.gray[400]
994
+ }
995
+ },
996
+ errorMessage: {
997
+ fontSize: {
998
+ sm: r.font.fontSize[12],
999
+ md: r.font.fontSize[12],
1000
+ lg: r.font.fontSize[12]
1001
+ },
1002
+ fontWeight: {
1003
+ sm: r.font.weight[400],
1004
+ md: r.font.weight[400],
1005
+ lg: r.font.weight[400]
1006
+ },
1007
+ lineHeight: {
1008
+ sm: r.font.lineHeight[16],
1009
+ md: r.font.lineHeight[16],
1010
+ lg: r.font.lineHeight[16]
1011
+ },
1012
+ color: r.colors.red[600]
1013
+ }
1014
+ }
1015
+ }
1016
+ }), S = (r, t = h.LIGHT) => t === h.DARK || t === "dark" ? p(r) : y(r);
1017
+ export {
1018
+ g as U,
1019
+ S as a,
1020
+ l as b,
1021
+ b as c,
1022
+ m as g
1023
+ };