react-native-mantine 0.1.15 → 0.2.0

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 (753) hide show
  1. package/lib/commonjs/components/Accordion/index.js +251 -0
  2. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  3. package/lib/commonjs/components/ActionIcon/ActionIcon.js +23 -28
  4. package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -1
  5. package/lib/commonjs/components/Anchor/index.js +108 -0
  6. package/lib/commonjs/components/Anchor/index.js.map +1 -0
  7. package/lib/commonjs/components/AspectRatio/index.js +66 -0
  8. package/lib/commonjs/components/AspectRatio/index.js.map +1 -0
  9. package/lib/commonjs/components/Avatar/index.js +129 -0
  10. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  11. package/lib/commonjs/components/BackgroundImage/index.js +56 -0
  12. package/lib/commonjs/components/BackgroundImage/index.js.map +1 -0
  13. package/lib/commonjs/components/Badge/index.js +190 -0
  14. package/lib/commonjs/components/Badge/index.js.map +1 -0
  15. package/lib/commonjs/components/Blockquote/index.js +98 -0
  16. package/lib/commonjs/components/Blockquote/index.js.map +1 -0
  17. package/lib/commonjs/components/BoxView/index.js +66 -2
  18. package/lib/commonjs/components/BoxView/index.js.map +1 -1
  19. package/lib/commonjs/components/Breadcrumbs/index.js +58 -0
  20. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  21. package/lib/commonjs/components/Burger/index.js +183 -0
  22. package/lib/commonjs/components/Burger/index.js.map +1 -0
  23. package/lib/commonjs/components/Button/Button.styles.js +35 -18
  24. package/lib/commonjs/components/Button/Button.styles.js.map +1 -1
  25. package/lib/commonjs/components/Button/index.js +2 -1
  26. package/lib/commonjs/components/Button/index.js.map +1 -1
  27. package/lib/commonjs/components/Card/index.js +136 -0
  28. package/lib/commonjs/components/Card/index.js.map +1 -0
  29. package/lib/commonjs/components/Center/index.js +36 -0
  30. package/lib/commonjs/components/Center/index.js.map +1 -0
  31. package/lib/commonjs/components/Checkbox/index.js +140 -0
  32. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  33. package/lib/commonjs/components/Chip/index.js +269 -0
  34. package/lib/commonjs/components/Chip/index.js.map +1 -0
  35. package/lib/commonjs/components/CloseButton/index.js +137 -0
  36. package/lib/commonjs/components/CloseButton/index.js.map +1 -0
  37. package/lib/commonjs/components/Code/index.js +68 -0
  38. package/lib/commonjs/components/Code/index.js.map +1 -0
  39. package/lib/commonjs/components/Collapse/index.js +83 -0
  40. package/lib/commonjs/components/Collapse/index.js.map +1 -0
  41. package/lib/commonjs/components/ColorSwatch/index.js +96 -0
  42. package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
  43. package/lib/commonjs/components/Container/index.js +71 -0
  44. package/lib/commonjs/components/Container/index.js.map +1 -0
  45. package/lib/commonjs/components/CopyButton/index.js +54 -0
  46. package/lib/commonjs/components/CopyButton/index.js.map +1 -0
  47. package/lib/commonjs/components/Dialog/index.js +140 -0
  48. package/lib/commonjs/components/Dialog/index.js.map +1 -0
  49. package/lib/commonjs/components/Divider/index.js +148 -0
  50. package/lib/commonjs/components/Divider/index.js.map +1 -0
  51. package/lib/commonjs/components/Drawer/index.js +252 -0
  52. package/lib/commonjs/components/Drawer/index.js.map +1 -0
  53. package/lib/commonjs/components/Flex/index.js +63 -0
  54. package/lib/commonjs/components/Flex/index.js.map +1 -0
  55. package/lib/commonjs/components/Grid/index.js +145 -0
  56. package/lib/commonjs/components/Grid/index.js.map +1 -0
  57. package/lib/commonjs/components/Group/index.js +22 -1
  58. package/lib/commonjs/components/Group/index.js.map +1 -1
  59. package/lib/commonjs/components/Highlight/index.js +74 -0
  60. package/lib/commonjs/components/Highlight/index.js.map +1 -0
  61. package/lib/commonjs/components/Image/index.js +133 -0
  62. package/lib/commonjs/components/Image/index.js.map +1 -0
  63. package/lib/commonjs/components/Indicator/index.js +199 -0
  64. package/lib/commonjs/components/Indicator/index.js.map +1 -0
  65. package/lib/commonjs/components/Kbd/index.js +96 -0
  66. package/lib/commonjs/components/Kbd/index.js.map +1 -0
  67. package/lib/commonjs/components/List/index.js +217 -0
  68. package/lib/commonjs/components/List/index.js.map +1 -0
  69. package/lib/commonjs/components/Loader/Loader.js +25 -18
  70. package/lib/commonjs/components/Loader/Loader.js.map +1 -1
  71. package/lib/commonjs/components/LoadingOverlay/index.js +84 -0
  72. package/lib/commonjs/components/LoadingOverlay/index.js.map +1 -0
  73. package/lib/commonjs/components/Mark/index.js +47 -0
  74. package/lib/commonjs/components/Mark/index.js.map +1 -0
  75. package/lib/commonjs/components/MediaQuery/index.js +89 -0
  76. package/lib/commonjs/components/MediaQuery/index.js.map +1 -0
  77. package/lib/commonjs/components/Menu/index.js +306 -0
  78. package/lib/commonjs/components/Menu/index.js.map +1 -0
  79. package/lib/commonjs/components/Modal/index.js +236 -0
  80. package/lib/commonjs/components/Modal/index.js.map +1 -0
  81. package/lib/commonjs/components/MultiSelect/index.js +300 -0
  82. package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
  83. package/lib/commonjs/components/NativeSelect/index.js +295 -0
  84. package/lib/commonjs/components/NativeSelect/index.js.map +1 -0
  85. package/lib/commonjs/components/NavLink/index.js +164 -0
  86. package/lib/commonjs/components/NavLink/index.js.map +1 -0
  87. package/lib/commonjs/components/Notification/index.js +143 -0
  88. package/lib/commonjs/components/Notification/index.js.map +1 -0
  89. package/lib/commonjs/components/NumberInput/index.js +268 -0
  90. package/lib/commonjs/components/NumberInput/index.js.map +1 -0
  91. package/lib/commonjs/components/Overlay/index.js +78 -0
  92. package/lib/commonjs/components/Overlay/index.js.map +1 -0
  93. package/lib/commonjs/components/Pagination/index.js +254 -0
  94. package/lib/commonjs/components/Pagination/index.js.map +1 -0
  95. package/lib/commonjs/components/Paper/index.js +156 -0
  96. package/lib/commonjs/components/Paper/index.js.map +1 -0
  97. package/lib/commonjs/components/PasswordInput/index.js +68 -0
  98. package/lib/commonjs/components/PasswordInput/index.js.map +1 -0
  99. package/lib/commonjs/components/PinInput/index.js +186 -0
  100. package/lib/commonjs/components/PinInput/index.js.map +1 -0
  101. package/lib/commonjs/components/Popover/index.js +163 -0
  102. package/lib/commonjs/components/Popover/index.js.map +1 -0
  103. package/lib/commonjs/components/Portal/index.js +70 -0
  104. package/lib/commonjs/components/Portal/index.js.map +1 -0
  105. package/lib/commonjs/components/Progress/index.js +124 -0
  106. package/lib/commonjs/components/Progress/index.js.map +1 -0
  107. package/lib/commonjs/components/Radio/index.js +136 -0
  108. package/lib/commonjs/components/Radio/index.js.map +1 -0
  109. package/lib/commonjs/components/Rating/index.js +152 -0
  110. package/lib/commonjs/components/Rating/index.js.map +1 -0
  111. package/lib/commonjs/components/RingProgress/index.js +175 -0
  112. package/lib/commonjs/components/RingProgress/index.js.map +1 -0
  113. package/lib/commonjs/components/SegmentedControl/index.js +226 -0
  114. package/lib/commonjs/components/SegmentedControl/index.js.map +1 -0
  115. package/lib/commonjs/components/Select/index.js +245 -0
  116. package/lib/commonjs/components/Select/index.js.map +1 -0
  117. package/lib/commonjs/components/SimpleGrid/index.js +102 -0
  118. package/lib/commonjs/components/SimpleGrid/index.js.map +1 -0
  119. package/lib/commonjs/components/Skeleton/index.js +112 -0
  120. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  121. package/lib/commonjs/components/Slider/index.js +276 -0
  122. package/lib/commonjs/components/Slider/index.js.map +1 -0
  123. package/lib/commonjs/components/Space/index.js +45 -0
  124. package/lib/commonjs/components/Space/index.js.map +1 -0
  125. package/lib/commonjs/components/Spoiler/index.js +110 -0
  126. package/lib/commonjs/components/Spoiler/index.js.map +1 -0
  127. package/lib/commonjs/components/Stepper/index.js +276 -0
  128. package/lib/commonjs/components/Stepper/index.js.map +1 -0
  129. package/lib/commonjs/components/Switch/index.js +119 -0
  130. package/lib/commonjs/components/Switch/index.js.map +1 -0
  131. package/lib/commonjs/components/Table/index.js +314 -0
  132. package/lib/commonjs/components/Table/index.js.map +1 -0
  133. package/lib/commonjs/components/Text/index.js +7 -2
  134. package/lib/commonjs/components/Text/index.js.map +1 -1
  135. package/lib/commonjs/components/TextInput/index.js +185 -0
  136. package/lib/commonjs/components/TextInput/index.js.map +1 -0
  137. package/lib/commonjs/components/Textarea/index.js +54 -0
  138. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  139. package/lib/commonjs/components/ThemeIcon/index.js +145 -0
  140. package/lib/commonjs/components/ThemeIcon/index.js.map +1 -0
  141. package/lib/commonjs/components/Timeline/index.js +242 -0
  142. package/lib/commonjs/components/Timeline/index.js.map +1 -0
  143. package/lib/commonjs/components/Title/index.js +45 -0
  144. package/lib/commonjs/components/Title/index.js.map +1 -0
  145. package/lib/commonjs/components/Tooltip/index.js +187 -0
  146. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  147. package/lib/commonjs/components/TransferList/index.js +293 -0
  148. package/lib/commonjs/components/TransferList/index.js.map +1 -0
  149. package/lib/commonjs/components/Transition/index.js +175 -0
  150. package/lib/commonjs/components/Transition/index.js.map +1 -0
  151. package/lib/commonjs/components/index.js +759 -0
  152. package/lib/commonjs/components/index.js.map +1 -1
  153. package/lib/commonjs/theme/create-theme.js +1 -0
  154. package/lib/commonjs/theme/create-theme.js.map +1 -1
  155. package/lib/commonjs/theme/default-theme.js +2 -0
  156. package/lib/commonjs/theme/default-theme.js.map +1 -1
  157. package/lib/commonjs/theme/functions/attach-functions.js +12 -2
  158. package/lib/commonjs/theme/functions/attach-functions.js.map +1 -1
  159. package/lib/commonjs/theme/functions/fns/helpers.js +44 -0
  160. package/lib/commonjs/theme/functions/fns/helpers.js.map +1 -0
  161. package/lib/commonjs/theme/functions/fns/index.js +5 -1
  162. package/lib/commonjs/theme/functions/fns/index.js.map +1 -1
  163. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +26 -4
  164. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  165. package/lib/commonjs/theme/functions/fns/variant.js +89 -2
  166. package/lib/commonjs/theme/functions/fns/variant.js.map +1 -1
  167. package/lib/commonjs/theme/utils/rem.js +8 -6
  168. package/lib/commonjs/theme/utils/rem.js.map +1 -1
  169. package/lib/module/components/Accordion/index.js +246 -0
  170. package/lib/module/components/Accordion/index.js.map +1 -0
  171. package/lib/module/components/ActionIcon/ActionIcon.js +25 -29
  172. package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -1
  173. package/lib/module/components/Anchor/index.js +102 -0
  174. package/lib/module/components/Anchor/index.js.map +1 -0
  175. package/lib/module/components/AspectRatio/index.js +60 -0
  176. package/lib/module/components/AspectRatio/index.js.map +1 -0
  177. package/lib/module/components/Avatar/index.js +123 -0
  178. package/lib/module/components/Avatar/index.js.map +1 -0
  179. package/lib/module/components/BackgroundImage/index.js +50 -0
  180. package/lib/module/components/BackgroundImage/index.js.map +1 -0
  181. package/lib/module/components/Badge/index.js +184 -0
  182. package/lib/module/components/Badge/index.js.map +1 -0
  183. package/lib/module/components/Blockquote/index.js +92 -0
  184. package/lib/module/components/Blockquote/index.js.map +1 -0
  185. package/lib/module/components/BoxView/index.js +66 -2
  186. package/lib/module/components/BoxView/index.js.map +1 -1
  187. package/lib/module/components/Breadcrumbs/index.js +52 -0
  188. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  189. package/lib/module/components/Burger/index.js +180 -0
  190. package/lib/module/components/Burger/index.js.map +1 -0
  191. package/lib/module/components/Button/Button.styles.js +35 -18
  192. package/lib/module/components/Button/Button.styles.js.map +1 -1
  193. package/lib/module/components/Button/index.js +1 -0
  194. package/lib/module/components/Button/index.js.map +1 -1
  195. package/lib/module/components/Card/index.js +130 -0
  196. package/lib/module/components/Card/index.js.map +1 -0
  197. package/lib/module/components/Center/index.js +30 -0
  198. package/lib/module/components/Center/index.js.map +1 -0
  199. package/lib/module/components/Checkbox/index.js +134 -0
  200. package/lib/module/components/Checkbox/index.js.map +1 -0
  201. package/lib/module/components/Chip/index.js +263 -0
  202. package/lib/module/components/Chip/index.js.map +1 -0
  203. package/lib/module/components/CloseButton/index.js +132 -0
  204. package/lib/module/components/CloseButton/index.js.map +1 -0
  205. package/lib/module/components/Code/index.js +62 -0
  206. package/lib/module/components/Code/index.js.map +1 -0
  207. package/lib/module/components/Collapse/index.js +77 -0
  208. package/lib/module/components/Collapse/index.js.map +1 -0
  209. package/lib/module/components/ColorSwatch/index.js +90 -0
  210. package/lib/module/components/ColorSwatch/index.js.map +1 -0
  211. package/lib/module/components/Container/index.js +65 -0
  212. package/lib/module/components/Container/index.js.map +1 -0
  213. package/lib/module/components/CopyButton/index.js +48 -0
  214. package/lib/module/components/CopyButton/index.js.map +1 -0
  215. package/lib/module/components/Dialog/index.js +134 -0
  216. package/lib/module/components/Dialog/index.js.map +1 -0
  217. package/lib/module/components/Divider/index.js +142 -0
  218. package/lib/module/components/Divider/index.js.map +1 -0
  219. package/lib/module/components/Drawer/index.js +246 -0
  220. package/lib/module/components/Drawer/index.js.map +1 -0
  221. package/lib/module/components/Flex/index.js +57 -0
  222. package/lib/module/components/Flex/index.js.map +1 -0
  223. package/lib/module/components/Grid/index.js +139 -0
  224. package/lib/module/components/Grid/index.js.map +1 -0
  225. package/lib/module/components/Group/index.js +22 -1
  226. package/lib/module/components/Group/index.js.map +1 -1
  227. package/lib/module/components/Highlight/index.js +70 -0
  228. package/lib/module/components/Highlight/index.js.map +1 -0
  229. package/lib/module/components/Image/index.js +127 -0
  230. package/lib/module/components/Image/index.js.map +1 -0
  231. package/lib/module/components/Indicator/index.js +193 -0
  232. package/lib/module/components/Indicator/index.js.map +1 -0
  233. package/lib/module/components/Kbd/index.js +90 -0
  234. package/lib/module/components/Kbd/index.js.map +1 -0
  235. package/lib/module/components/List/index.js +211 -0
  236. package/lib/module/components/List/index.js.map +1 -0
  237. package/lib/module/components/Loader/Loader.js +26 -19
  238. package/lib/module/components/Loader/Loader.js.map +1 -1
  239. package/lib/module/components/LoadingOverlay/index.js +80 -0
  240. package/lib/module/components/LoadingOverlay/index.js.map +1 -0
  241. package/lib/module/components/Mark/index.js +41 -0
  242. package/lib/module/components/Mark/index.js.map +1 -0
  243. package/lib/module/components/MediaQuery/index.js +82 -0
  244. package/lib/module/components/MediaQuery/index.js.map +1 -0
  245. package/lib/module/components/Menu/index.js +300 -0
  246. package/lib/module/components/Menu/index.js.map +1 -0
  247. package/lib/module/components/Modal/index.js +230 -0
  248. package/lib/module/components/Modal/index.js.map +1 -0
  249. package/lib/module/components/MultiSelect/index.js +294 -0
  250. package/lib/module/components/MultiSelect/index.js.map +1 -0
  251. package/lib/module/components/NativeSelect/index.js +289 -0
  252. package/lib/module/components/NativeSelect/index.js.map +1 -0
  253. package/lib/module/components/NavLink/index.js +158 -0
  254. package/lib/module/components/NavLink/index.js.map +1 -0
  255. package/lib/module/components/Notification/index.js +137 -0
  256. package/lib/module/components/Notification/index.js.map +1 -0
  257. package/lib/module/components/NumberInput/index.js +262 -0
  258. package/lib/module/components/NumberInput/index.js.map +1 -0
  259. package/lib/module/components/Overlay/index.js +72 -0
  260. package/lib/module/components/Overlay/index.js.map +1 -0
  261. package/lib/module/components/Pagination/index.js +248 -0
  262. package/lib/module/components/Pagination/index.js.map +1 -0
  263. package/lib/module/components/Paper/index.js +150 -0
  264. package/lib/module/components/Paper/index.js.map +1 -0
  265. package/lib/module/components/PasswordInput/index.js +62 -0
  266. package/lib/module/components/PasswordInput/index.js.map +1 -0
  267. package/lib/module/components/PinInput/index.js +182 -0
  268. package/lib/module/components/PinInput/index.js.map +1 -0
  269. package/lib/module/components/Popover/index.js +157 -0
  270. package/lib/module/components/Popover/index.js.map +1 -0
  271. package/lib/module/components/Portal/index.js +62 -0
  272. package/lib/module/components/Portal/index.js.map +1 -0
  273. package/lib/module/components/Progress/index.js +120 -0
  274. package/lib/module/components/Progress/index.js.map +1 -0
  275. package/lib/module/components/Radio/index.js +130 -0
  276. package/lib/module/components/Radio/index.js.map +1 -0
  277. package/lib/module/components/Rating/index.js +146 -0
  278. package/lib/module/components/Rating/index.js.map +1 -0
  279. package/lib/module/components/RingProgress/index.js +169 -0
  280. package/lib/module/components/RingProgress/index.js.map +1 -0
  281. package/lib/module/components/SegmentedControl/index.js +220 -0
  282. package/lib/module/components/SegmentedControl/index.js.map +1 -0
  283. package/lib/module/components/Select/index.js +239 -0
  284. package/lib/module/components/Select/index.js.map +1 -0
  285. package/lib/module/components/SimpleGrid/index.js +96 -0
  286. package/lib/module/components/SimpleGrid/index.js.map +1 -0
  287. package/lib/module/components/Skeleton/index.js +106 -0
  288. package/lib/module/components/Skeleton/index.js.map +1 -0
  289. package/lib/module/components/Slider/index.js +270 -0
  290. package/lib/module/components/Slider/index.js.map +1 -0
  291. package/lib/module/components/Space/index.js +41 -0
  292. package/lib/module/components/Space/index.js.map +1 -0
  293. package/lib/module/components/Spoiler/index.js +104 -0
  294. package/lib/module/components/Spoiler/index.js.map +1 -0
  295. package/lib/module/components/Stepper/index.js +270 -0
  296. package/lib/module/components/Stepper/index.js.map +1 -0
  297. package/lib/module/components/Switch/index.js +113 -0
  298. package/lib/module/components/Switch/index.js.map +1 -0
  299. package/lib/module/components/Table/index.js +308 -0
  300. package/lib/module/components/Table/index.js.map +1 -0
  301. package/lib/module/components/Text/index.js +7 -2
  302. package/lib/module/components/Text/index.js.map +1 -1
  303. package/lib/module/components/TextInput/index.js +179 -0
  304. package/lib/module/components/TextInput/index.js.map +1 -0
  305. package/lib/module/components/Textarea/index.js +50 -0
  306. package/lib/module/components/Textarea/index.js.map +1 -0
  307. package/lib/module/components/ThemeIcon/index.js +140 -0
  308. package/lib/module/components/ThemeIcon/index.js.map +1 -0
  309. package/lib/module/components/Timeline/index.js +236 -0
  310. package/lib/module/components/Timeline/index.js.map +1 -0
  311. package/lib/module/components/Title/index.js +39 -0
  312. package/lib/module/components/Title/index.js.map +1 -0
  313. package/lib/module/components/Tooltip/index.js +181 -0
  314. package/lib/module/components/Tooltip/index.js.map +1 -0
  315. package/lib/module/components/TransferList/index.js +287 -0
  316. package/lib/module/components/TransferList/index.js.map +1 -0
  317. package/lib/module/components/Transition/index.js +169 -0
  318. package/lib/module/components/Transition/index.js.map +1 -0
  319. package/lib/module/components/index.js +101 -0
  320. package/lib/module/components/index.js.map +1 -1
  321. package/lib/module/theme/create-theme.js +1 -0
  322. package/lib/module/theme/create-theme.js.map +1 -1
  323. package/lib/module/theme/default-theme.js +2 -0
  324. package/lib/module/theme/default-theme.js.map +1 -1
  325. package/lib/module/theme/functions/attach-functions.js +12 -2
  326. package/lib/module/theme/functions/attach-functions.js.map +1 -1
  327. package/lib/module/theme/functions/fns/helpers.js +34 -0
  328. package/lib/module/theme/functions/fns/helpers.js.map +1 -0
  329. package/lib/module/theme/functions/fns/index.js +3 -1
  330. package/lib/module/theme/functions/fns/index.js.map +1 -1
  331. package/lib/module/theme/functions/fns/theme-color/theme-color.js +26 -4
  332. package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  333. package/lib/module/theme/functions/fns/variant.js +89 -2
  334. package/lib/module/theme/functions/fns/variant.js.map +1 -1
  335. package/lib/module/theme/utils/rem.js +8 -6
  336. package/lib/module/theme/utils/rem.js.map +1 -1
  337. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts +54 -0
  338. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts.map +1 -0
  339. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  340. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  341. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts +25 -0
  342. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts.map +1 -0
  343. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts +12 -0
  344. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts.map +1 -0
  345. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts +23 -0
  346. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts.map +1 -0
  347. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts +15 -0
  348. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts.map +1 -0
  349. package/lib/typescript/commonjs/src/components/Badge/index.d.ts +24 -0
  350. package/lib/typescript/commonjs/src/components/Badge/index.d.ts.map +1 -0
  351. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts +18 -0
  352. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts.map +1 -0
  353. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +28 -0
  354. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -1
  355. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts +12 -0
  356. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts.map +1 -0
  357. package/lib/typescript/commonjs/src/components/Burger/index.d.ts +21 -0
  358. package/lib/typescript/commonjs/src/components/Burger/index.d.ts.map +1 -0
  359. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts +5 -0
  360. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts.map +1 -1
  361. package/lib/typescript/commonjs/src/components/Button/index.d.ts +1 -0
  362. package/lib/typescript/commonjs/src/components/Button/index.d.ts.map +1 -1
  363. package/lib/typescript/commonjs/src/components/Card/index.d.ts +24 -0
  364. package/lib/typescript/commonjs/src/components/Card/index.d.ts.map +1 -0
  365. package/lib/typescript/commonjs/src/components/Center/index.d.ts +15 -0
  366. package/lib/typescript/commonjs/src/components/Center/index.d.ts.map +1 -0
  367. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts +24 -0
  368. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts.map +1 -0
  369. package/lib/typescript/commonjs/src/components/Chip/index.d.ts +51 -0
  370. package/lib/typescript/commonjs/src/components/Chip/index.d.ts.map +1 -0
  371. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts +22 -0
  372. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts.map +1 -0
  373. package/lib/typescript/commonjs/src/components/Code/index.d.ts +15 -0
  374. package/lib/typescript/commonjs/src/components/Code/index.d.ts.map +1 -0
  375. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts +20 -0
  376. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts.map +1 -0
  377. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts +20 -0
  378. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts.map +1 -0
  379. package/lib/typescript/commonjs/src/components/Container/index.d.ts +20 -0
  380. package/lib/typescript/commonjs/src/components/Container/index.d.ts.map +1 -0
  381. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts +15 -0
  382. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts.map +1 -0
  383. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +31 -0
  384. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -0
  385. package/lib/typescript/commonjs/src/components/Divider/index.d.ts +20 -0
  386. package/lib/typescript/commonjs/src/components/Divider/index.d.ts.map +1 -0
  387. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts +36 -0
  388. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts.map +1 -0
  389. package/lib/typescript/commonjs/src/components/Flex/index.d.ts +27 -0
  390. package/lib/typescript/commonjs/src/components/Flex/index.d.ts.map +1 -0
  391. package/lib/typescript/commonjs/src/components/Grid/index.d.ts +38 -0
  392. package/lib/typescript/commonjs/src/components/Grid/index.d.ts.map +1 -0
  393. package/lib/typescript/commonjs/src/components/Group/index.d.ts +2 -1
  394. package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -1
  395. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts +19 -0
  396. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts.map +1 -0
  397. package/lib/typescript/commonjs/src/components/Image/index.d.ts +31 -0
  398. package/lib/typescript/commonjs/src/components/Image/index.d.ts.map +1 -0
  399. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts +32 -0
  400. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts.map +1 -0
  401. package/lib/typescript/commonjs/src/components/Input/Input.styles.d.ts +5 -5
  402. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts +12 -0
  403. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/src/components/List/index.d.ts +42 -0
  405. package/lib/typescript/commonjs/src/components/List/index.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -1
  407. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts +23 -0
  408. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts.map +1 -0
  409. package/lib/typescript/commonjs/src/components/Mark/index.d.ts +14 -0
  410. package/lib/typescript/commonjs/src/components/Mark/index.d.ts.map +1 -0
  411. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts +24 -0
  412. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts.map +1 -0
  413. package/lib/typescript/commonjs/src/components/Menu/index.d.ts +64 -0
  414. package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -0
  415. package/lib/typescript/commonjs/src/components/Modal/index.d.ts +40 -0
  416. package/lib/typescript/commonjs/src/components/Modal/index.d.ts.map +1 -0
  417. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts +53 -0
  418. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts.map +1 -0
  419. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts +45 -0
  420. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts.map +1 -0
  421. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts +30 -0
  422. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts.map +1 -0
  423. package/lib/typescript/commonjs/src/components/Notification/index.d.ts +28 -0
  424. package/lib/typescript/commonjs/src/components/Notification/index.d.ts.map +1 -0
  425. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts +47 -0
  426. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts.map +1 -0
  427. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts +24 -0
  428. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts.map +1 -0
  429. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts +37 -0
  430. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts.map +1 -0
  431. package/lib/typescript/commonjs/src/components/Paper/index.d.ts +18 -0
  432. package/lib/typescript/commonjs/src/components/Paper/index.d.ts.map +1 -0
  433. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts +15 -0
  434. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts.map +1 -0
  435. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts +33 -0
  436. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts.map +1 -0
  437. package/lib/typescript/commonjs/src/components/Popover/index.d.ts +44 -0
  438. package/lib/typescript/commonjs/src/components/Popover/index.d.ts.map +1 -0
  439. package/lib/typescript/commonjs/src/components/Portal/index.d.ts +10 -0
  440. package/lib/typescript/commonjs/src/components/Portal/index.d.ts.map +1 -0
  441. package/lib/typescript/commonjs/src/components/Progress/index.d.ts +29 -0
  442. package/lib/typescript/commonjs/src/components/Progress/index.d.ts.map +1 -0
  443. package/lib/typescript/commonjs/src/components/Radio/index.d.ts +24 -0
  444. package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
  445. package/lib/typescript/commonjs/src/components/Rating/index.d.ts +32 -0
  446. package/lib/typescript/commonjs/src/components/Rating/index.d.ts.map +1 -0
  447. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts +61 -0
  448. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts.map +1 -0
  449. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts +35 -0
  450. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts.map +1 -0
  451. package/lib/typescript/commonjs/src/components/Select/index.d.ts +53 -0
  452. package/lib/typescript/commonjs/src/components/Select/index.d.ts.map +1 -0
  453. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts +22 -0
  454. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts.map +1 -0
  455. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts +22 -0
  456. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts.map +1 -0
  457. package/lib/typescript/commonjs/src/components/Slider/index.d.ts +43 -0
  458. package/lib/typescript/commonjs/src/components/Slider/index.d.ts.map +1 -0
  459. package/lib/typescript/commonjs/src/components/Space/index.d.ts +13 -0
  460. package/lib/typescript/commonjs/src/components/Space/index.d.ts.map +1 -0
  461. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts +22 -0
  462. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts.map +1 -0
  463. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts +55 -0
  464. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts.map +1 -0
  465. package/lib/typescript/commonjs/src/components/Switch/index.d.ts +24 -0
  466. package/lib/typescript/commonjs/src/components/Switch/index.d.ts.map +1 -0
  467. package/lib/typescript/commonjs/src/components/Table/index.d.ts +72 -0
  468. package/lib/typescript/commonjs/src/components/Table/index.d.ts.map +1 -0
  469. package/lib/typescript/commonjs/src/components/Text/index.d.ts +4 -0
  470. package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts +31 -0
  472. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts.map +1 -0
  473. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts +12 -0
  474. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts.map +1 -0
  475. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts +21 -0
  476. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts.map +1 -0
  477. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts +52 -0
  478. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts.map +1 -0
  479. package/lib/typescript/commonjs/src/components/Title/index.d.ts +14 -0
  480. package/lib/typescript/commonjs/src/components/Title/index.d.ts.map +1 -0
  481. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts +36 -0
  482. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts.map +1 -0
  483. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts +42 -0
  484. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts.map +1 -0
  485. package/lib/typescript/commonjs/src/components/Transition/index.d.ts +25 -0
  486. package/lib/typescript/commonjs/src/components/Transition/index.d.ts.map +1 -0
  487. package/lib/typescript/commonjs/src/components/index.d.ts +69 -0
  488. package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/src/theme/create-theme.d.ts.map +1 -1
  490. package/lib/typescript/commonjs/src/theme/default-theme.d.ts +20 -0
  491. package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -1
  493. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts +23 -0
  494. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts.map +1 -0
  495. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +22 -1
  496. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -1
  497. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  498. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +19 -1
  500. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -1
  501. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts +2 -2
  502. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts.map +1 -1
  503. package/lib/typescript/module/src/components/Accordion/index.d.ts +54 -0
  504. package/lib/typescript/module/src/components/Accordion/index.d.ts.map +1 -0
  505. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  506. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  507. package/lib/typescript/module/src/components/Anchor/index.d.ts +25 -0
  508. package/lib/typescript/module/src/components/Anchor/index.d.ts.map +1 -0
  509. package/lib/typescript/module/src/components/AspectRatio/index.d.ts +12 -0
  510. package/lib/typescript/module/src/components/AspectRatio/index.d.ts.map +1 -0
  511. package/lib/typescript/module/src/components/Avatar/index.d.ts +23 -0
  512. package/lib/typescript/module/src/components/Avatar/index.d.ts.map +1 -0
  513. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts +15 -0
  514. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts.map +1 -0
  515. package/lib/typescript/module/src/components/Badge/index.d.ts +24 -0
  516. package/lib/typescript/module/src/components/Badge/index.d.ts.map +1 -0
  517. package/lib/typescript/module/src/components/Blockquote/index.d.ts +18 -0
  518. package/lib/typescript/module/src/components/Blockquote/index.d.ts.map +1 -0
  519. package/lib/typescript/module/src/components/BoxView/index.d.ts +28 -0
  520. package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -1
  521. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts +12 -0
  522. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts.map +1 -0
  523. package/lib/typescript/module/src/components/Burger/index.d.ts +21 -0
  524. package/lib/typescript/module/src/components/Burger/index.d.ts.map +1 -0
  525. package/lib/typescript/module/src/components/Button/Button.styles.d.ts +5 -0
  526. package/lib/typescript/module/src/components/Button/Button.styles.d.ts.map +1 -1
  527. package/lib/typescript/module/src/components/Button/index.d.ts +1 -0
  528. package/lib/typescript/module/src/components/Button/index.d.ts.map +1 -1
  529. package/lib/typescript/module/src/components/Card/index.d.ts +24 -0
  530. package/lib/typescript/module/src/components/Card/index.d.ts.map +1 -0
  531. package/lib/typescript/module/src/components/Center/index.d.ts +15 -0
  532. package/lib/typescript/module/src/components/Center/index.d.ts.map +1 -0
  533. package/lib/typescript/module/src/components/Checkbox/index.d.ts +24 -0
  534. package/lib/typescript/module/src/components/Checkbox/index.d.ts.map +1 -0
  535. package/lib/typescript/module/src/components/Chip/index.d.ts +51 -0
  536. package/lib/typescript/module/src/components/Chip/index.d.ts.map +1 -0
  537. package/lib/typescript/module/src/components/CloseButton/index.d.ts +22 -0
  538. package/lib/typescript/module/src/components/CloseButton/index.d.ts.map +1 -0
  539. package/lib/typescript/module/src/components/Code/index.d.ts +15 -0
  540. package/lib/typescript/module/src/components/Code/index.d.ts.map +1 -0
  541. package/lib/typescript/module/src/components/Collapse/index.d.ts +20 -0
  542. package/lib/typescript/module/src/components/Collapse/index.d.ts.map +1 -0
  543. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts +20 -0
  544. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts.map +1 -0
  545. package/lib/typescript/module/src/components/Container/index.d.ts +20 -0
  546. package/lib/typescript/module/src/components/Container/index.d.ts.map +1 -0
  547. package/lib/typescript/module/src/components/CopyButton/index.d.ts +15 -0
  548. package/lib/typescript/module/src/components/CopyButton/index.d.ts.map +1 -0
  549. package/lib/typescript/module/src/components/Dialog/index.d.ts +31 -0
  550. package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -0
  551. package/lib/typescript/module/src/components/Divider/index.d.ts +20 -0
  552. package/lib/typescript/module/src/components/Divider/index.d.ts.map +1 -0
  553. package/lib/typescript/module/src/components/Drawer/index.d.ts +36 -0
  554. package/lib/typescript/module/src/components/Drawer/index.d.ts.map +1 -0
  555. package/lib/typescript/module/src/components/Flex/index.d.ts +27 -0
  556. package/lib/typescript/module/src/components/Flex/index.d.ts.map +1 -0
  557. package/lib/typescript/module/src/components/Grid/index.d.ts +38 -0
  558. package/lib/typescript/module/src/components/Grid/index.d.ts.map +1 -0
  559. package/lib/typescript/module/src/components/Group/index.d.ts +2 -1
  560. package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -1
  561. package/lib/typescript/module/src/components/Highlight/index.d.ts +19 -0
  562. package/lib/typescript/module/src/components/Highlight/index.d.ts.map +1 -0
  563. package/lib/typescript/module/src/components/Image/index.d.ts +31 -0
  564. package/lib/typescript/module/src/components/Image/index.d.ts.map +1 -0
  565. package/lib/typescript/module/src/components/Indicator/index.d.ts +32 -0
  566. package/lib/typescript/module/src/components/Indicator/index.d.ts.map +1 -0
  567. package/lib/typescript/module/src/components/Input/Input.styles.d.ts +5 -5
  568. package/lib/typescript/module/src/components/Kbd/index.d.ts +12 -0
  569. package/lib/typescript/module/src/components/Kbd/index.d.ts.map +1 -0
  570. package/lib/typescript/module/src/components/List/index.d.ts +42 -0
  571. package/lib/typescript/module/src/components/List/index.d.ts.map +1 -0
  572. package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -1
  573. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts +23 -0
  574. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts.map +1 -0
  575. package/lib/typescript/module/src/components/Mark/index.d.ts +14 -0
  576. package/lib/typescript/module/src/components/Mark/index.d.ts.map +1 -0
  577. package/lib/typescript/module/src/components/MediaQuery/index.d.ts +24 -0
  578. package/lib/typescript/module/src/components/MediaQuery/index.d.ts.map +1 -0
  579. package/lib/typescript/module/src/components/Menu/index.d.ts +64 -0
  580. package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -0
  581. package/lib/typescript/module/src/components/Modal/index.d.ts +40 -0
  582. package/lib/typescript/module/src/components/Modal/index.d.ts.map +1 -0
  583. package/lib/typescript/module/src/components/MultiSelect/index.d.ts +53 -0
  584. package/lib/typescript/module/src/components/MultiSelect/index.d.ts.map +1 -0
  585. package/lib/typescript/module/src/components/NativeSelect/index.d.ts +45 -0
  586. package/lib/typescript/module/src/components/NativeSelect/index.d.ts.map +1 -0
  587. package/lib/typescript/module/src/components/NavLink/index.d.ts +30 -0
  588. package/lib/typescript/module/src/components/NavLink/index.d.ts.map +1 -0
  589. package/lib/typescript/module/src/components/Notification/index.d.ts +28 -0
  590. package/lib/typescript/module/src/components/Notification/index.d.ts.map +1 -0
  591. package/lib/typescript/module/src/components/NumberInput/index.d.ts +47 -0
  592. package/lib/typescript/module/src/components/NumberInput/index.d.ts.map +1 -0
  593. package/lib/typescript/module/src/components/Overlay/index.d.ts +24 -0
  594. package/lib/typescript/module/src/components/Overlay/index.d.ts.map +1 -0
  595. package/lib/typescript/module/src/components/Pagination/index.d.ts +37 -0
  596. package/lib/typescript/module/src/components/Pagination/index.d.ts.map +1 -0
  597. package/lib/typescript/module/src/components/Paper/index.d.ts +18 -0
  598. package/lib/typescript/module/src/components/Paper/index.d.ts.map +1 -0
  599. package/lib/typescript/module/src/components/PasswordInput/index.d.ts +15 -0
  600. package/lib/typescript/module/src/components/PasswordInput/index.d.ts.map +1 -0
  601. package/lib/typescript/module/src/components/PinInput/index.d.ts +33 -0
  602. package/lib/typescript/module/src/components/PinInput/index.d.ts.map +1 -0
  603. package/lib/typescript/module/src/components/Popover/index.d.ts +44 -0
  604. package/lib/typescript/module/src/components/Popover/index.d.ts.map +1 -0
  605. package/lib/typescript/module/src/components/Portal/index.d.ts +10 -0
  606. package/lib/typescript/module/src/components/Portal/index.d.ts.map +1 -0
  607. package/lib/typescript/module/src/components/Progress/index.d.ts +29 -0
  608. package/lib/typescript/module/src/components/Progress/index.d.ts.map +1 -0
  609. package/lib/typescript/module/src/components/Radio/index.d.ts +24 -0
  610. package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
  611. package/lib/typescript/module/src/components/Rating/index.d.ts +32 -0
  612. package/lib/typescript/module/src/components/Rating/index.d.ts.map +1 -0
  613. package/lib/typescript/module/src/components/RingProgress/index.d.ts +61 -0
  614. package/lib/typescript/module/src/components/RingProgress/index.d.ts.map +1 -0
  615. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts +35 -0
  616. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts.map +1 -0
  617. package/lib/typescript/module/src/components/Select/index.d.ts +53 -0
  618. package/lib/typescript/module/src/components/Select/index.d.ts.map +1 -0
  619. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts +22 -0
  620. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts.map +1 -0
  621. package/lib/typescript/module/src/components/Skeleton/index.d.ts +22 -0
  622. package/lib/typescript/module/src/components/Skeleton/index.d.ts.map +1 -0
  623. package/lib/typescript/module/src/components/Slider/index.d.ts +43 -0
  624. package/lib/typescript/module/src/components/Slider/index.d.ts.map +1 -0
  625. package/lib/typescript/module/src/components/Space/index.d.ts +13 -0
  626. package/lib/typescript/module/src/components/Space/index.d.ts.map +1 -0
  627. package/lib/typescript/module/src/components/Spoiler/index.d.ts +22 -0
  628. package/lib/typescript/module/src/components/Spoiler/index.d.ts.map +1 -0
  629. package/lib/typescript/module/src/components/Stepper/index.d.ts +55 -0
  630. package/lib/typescript/module/src/components/Stepper/index.d.ts.map +1 -0
  631. package/lib/typescript/module/src/components/Switch/index.d.ts +24 -0
  632. package/lib/typescript/module/src/components/Switch/index.d.ts.map +1 -0
  633. package/lib/typescript/module/src/components/Table/index.d.ts +72 -0
  634. package/lib/typescript/module/src/components/Table/index.d.ts.map +1 -0
  635. package/lib/typescript/module/src/components/Text/index.d.ts +4 -0
  636. package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -1
  637. package/lib/typescript/module/src/components/TextInput/index.d.ts +31 -0
  638. package/lib/typescript/module/src/components/TextInput/index.d.ts.map +1 -0
  639. package/lib/typescript/module/src/components/Textarea/index.d.ts +12 -0
  640. package/lib/typescript/module/src/components/Textarea/index.d.ts.map +1 -0
  641. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts +21 -0
  642. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts.map +1 -0
  643. package/lib/typescript/module/src/components/Timeline/index.d.ts +52 -0
  644. package/lib/typescript/module/src/components/Timeline/index.d.ts.map +1 -0
  645. package/lib/typescript/module/src/components/Title/index.d.ts +14 -0
  646. package/lib/typescript/module/src/components/Title/index.d.ts.map +1 -0
  647. package/lib/typescript/module/src/components/Tooltip/index.d.ts +36 -0
  648. package/lib/typescript/module/src/components/Tooltip/index.d.ts.map +1 -0
  649. package/lib/typescript/module/src/components/TransferList/index.d.ts +42 -0
  650. package/lib/typescript/module/src/components/TransferList/index.d.ts.map +1 -0
  651. package/lib/typescript/module/src/components/Transition/index.d.ts +25 -0
  652. package/lib/typescript/module/src/components/Transition/index.d.ts.map +1 -0
  653. package/lib/typescript/module/src/components/index.d.ts +69 -0
  654. package/lib/typescript/module/src/components/index.d.ts.map +1 -1
  655. package/lib/typescript/module/src/theme/create-theme.d.ts.map +1 -1
  656. package/lib/typescript/module/src/theme/default-theme.d.ts +20 -0
  657. package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -1
  658. package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -1
  659. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts +23 -0
  660. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts.map +1 -0
  661. package/lib/typescript/module/src/theme/functions/fns/index.d.ts +22 -1
  662. package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -1
  663. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  664. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  665. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +19 -1
  666. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -1
  667. package/lib/typescript/module/src/theme/utils/rem.d.ts +2 -2
  668. package/lib/typescript/module/src/theme/utils/rem.d.ts.map +1 -1
  669. package/package.json +3 -1
  670. package/src/components/Accordion/index.tsx +297 -0
  671. package/src/components/ActionIcon/ActionIcon.tsx +61 -44
  672. package/src/components/Anchor/index.tsx +139 -0
  673. package/src/components/AspectRatio/index.tsx +68 -0
  674. package/src/components/Avatar/index.tsx +164 -0
  675. package/src/components/BackgroundImage/index.tsx +77 -0
  676. package/src/components/Badge/index.tsx +193 -0
  677. package/src/components/Blockquote/index.tsx +104 -0
  678. package/src/components/BoxView/index.tsx +90 -2
  679. package/src/components/Breadcrumbs/index.tsx +64 -0
  680. package/src/components/Burger/index.tsx +230 -0
  681. package/src/components/Button/Button.styles.ts +36 -16
  682. package/src/components/Button/index.tsx +3 -1
  683. package/src/components/Card/index.tsx +166 -0
  684. package/src/components/Center/index.tsx +40 -0
  685. package/src/components/Checkbox/index.tsx +168 -0
  686. package/src/components/Chip/index.tsx +350 -0
  687. package/src/components/CloseButton/index.tsx +154 -0
  688. package/src/components/Code/index.tsx +83 -0
  689. package/src/components/Collapse/index.tsx +108 -0
  690. package/src/components/ColorSwatch/index.tsx +106 -0
  691. package/src/components/Container/index.tsx +92 -0
  692. package/src/components/CopyButton/index.tsx +60 -0
  693. package/src/components/Dialog/index.tsx +189 -0
  694. package/src/components/Divider/index.tsx +161 -0
  695. package/src/components/Drawer/index.tsx +315 -0
  696. package/src/components/Flex/index.tsx +87 -0
  697. package/src/components/Grid/index.tsx +167 -0
  698. package/src/components/Group/index.tsx +24 -5
  699. package/src/components/Highlight/index.tsx +93 -0
  700. package/src/components/Image/index.tsx +180 -0
  701. package/src/components/Indicator/index.tsx +240 -0
  702. package/src/components/Kbd/index.tsx +84 -0
  703. package/src/components/List/index.tsx +294 -0
  704. package/src/components/Loader/Loader.tsx +27 -17
  705. package/src/components/LoadingOverlay/index.tsx +103 -0
  706. package/src/components/Mark/index.tsx +51 -0
  707. package/src/components/MediaQuery/index.tsx +133 -0
  708. package/src/components/Menu/index.tsx +395 -0
  709. package/src/components/Modal/index.tsx +318 -0
  710. package/src/components/MultiSelect/index.tsx +458 -0
  711. package/src/components/NativeSelect/index.tsx +387 -0
  712. package/src/components/NavLink/index.tsx +205 -0
  713. package/src/components/Notification/index.tsx +175 -0
  714. package/src/components/NumberInput/index.tsx +356 -0
  715. package/src/components/Overlay/index.tsx +100 -0
  716. package/src/components/Pagination/index.tsx +336 -0
  717. package/src/components/Paper/index.tsx +155 -0
  718. package/src/components/PasswordInput/index.tsx +78 -0
  719. package/src/components/PinInput/index.tsx +251 -0
  720. package/src/components/Popover/index.tsx +244 -0
  721. package/src/components/Portal/index.tsx +75 -0
  722. package/src/components/Progress/index.tsx +182 -0
  723. package/src/components/Radio/index.tsx +169 -0
  724. package/src/components/Rating/index.tsx +214 -0
  725. package/src/components/RingProgress/index.tsx +206 -0
  726. package/src/components/SegmentedControl/index.tsx +259 -0
  727. package/src/components/Select/index.tsx +377 -0
  728. package/src/components/SimpleGrid/index.tsx +119 -0
  729. package/src/components/Skeleton/index.tsx +149 -0
  730. package/src/components/Slider/index.tsx +338 -0
  731. package/src/components/Space/index.tsx +48 -0
  732. package/src/components/Spoiler/index.tsx +123 -0
  733. package/src/components/Stepper/index.tsx +388 -0
  734. package/src/components/Switch/index.tsx +146 -0
  735. package/src/components/Table/index.tsx +402 -0
  736. package/src/components/Text/index.tsx +6 -1
  737. package/src/components/TextInput/index.tsx +232 -0
  738. package/src/components/Textarea/index.tsx +61 -0
  739. package/src/components/ThemeIcon/index.tsx +167 -0
  740. package/src/components/Timeline/index.tsx +331 -0
  741. package/src/components/Title/index.tsx +53 -0
  742. package/src/components/Tooltip/index.tsx +259 -0
  743. package/src/components/TransferList/index.tsx +399 -0
  744. package/src/components/Transition/index.tsx +225 -0
  745. package/src/components/index.tsx +101 -0
  746. package/src/theme/create-theme.ts +1 -0
  747. package/src/theme/default-theme.ts +24 -0
  748. package/src/theme/functions/attach-functions.ts +8 -1
  749. package/src/theme/functions/fns/helpers.ts +36 -0
  750. package/src/theme/functions/fns/index.ts +2 -0
  751. package/src/theme/functions/fns/theme-color/theme-color.ts +34 -3
  752. package/src/theme/functions/fns/variant.ts +110 -2
  753. package/src/theme/utils/rem.ts +9 -7
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","useState","Image","Text","BoxView","useComponentDefaultProps","createStyles","rem","jsx","_jsx","sizes","xs","sm","md","lg","xl","useStyles","theme","color","radius","size","colors","primaryColor","sizeValue","root","width","height","borderRadius","fn","overflow","backgroundColor","primaryBgColor","justifyContent","alignItems","image","placeholder","placeholderText","white","fontSize","fontWeight","textTransform","defaultProps","getInitials","name","names","trim","split","length","substring","toUpperCase","Avatar","props","ref","src","alt","children","imageProps","style","others","imageError","setImageError","styles","sx","shouldShowImage","renderPlaceholder","initials","source","uri","onError","displayName"],"sourceRoot":"../../../../src","sources":["components/Avatar/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,QAAQ,QAAQ,OAAO;AACnD,SAASC,KAAK,QAAyB,cAAc;AACrD,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,OAAO,QAAQ,qBAAY;AAOpC,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,GAAG,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA4B5C,MAAMC,KAAK,GAAG;EACZC,EAAE,EAAEJ,GAAG,CAAC,EAAE,CAAC;EACXK,EAAE,EAAEL,GAAG,CAAC,EAAE,CAAC;EACXM,EAAE,EAAEN,GAAG,CAAC,EAAE,CAAC;EACXO,EAAE,EAAEP,GAAG,CAAC,EAAE,CAAC;EACXQ,EAAE,EAAER,GAAG,CAAC,EAAE;AACZ,CAAC;AAED,MAAMS,SAAS,GAAGV,YAAY,CAC5B,CACEW,KAAK,EACL;EACEC,KAAK;EACLC,MAAM;EACNC;AAKF,CAAC,KACE;EACH,MAAMC,MAAM,GAAGJ,KAAK,CAACI,MAAM,CAACH,KAAK,CAAC,IAAID,KAAK,CAACI,MAAM,CAACJ,KAAK,CAACK,YAAY,CAAC;EACtE,MAAMC,SAAS,GAAG,OAAOH,IAAI,KAAK,QAAQ,GAAGb,GAAG,CAACa,IAAI,CAAC,GAAGV,KAAK,CAACU,IAAI,CAAuB,IAAIV,KAAK,CAACG,EAAE;EAEtG,OAAO;IACLW,IAAI,EAAE;MACJC,KAAK,EAAEF,SAAgB;MACvBG,MAAM,EAAEH,SAAgB;MACx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C,IAAI,EAAEiC,KAAK,CAAE;IAAA,GAAKC,MAAM;IAAAH,QAAA,EACzDQ,eAAe,gBACdtD,IAAA,CAACP,KAAK;MACJgE,MAAM,EAAE;QAAEC,GAAG,EAAEd,GAAG,IAAI;MAAG,CAAE;MAC3BI,KAAK,EAAEI,MAAM,CAAC3B,KAAa;MAC3BkC,OAAO,EAAEA,CAAA,KAAMR,aAAa,CAAC,IAAI,CAAE;MAAA,GAC/BJ;IAAU,CACf,CAAC,GAEFQ,iBAAiB,CAAC;EACnB,CACM,CAAC;AAEd,CAAC,CAAC;AAEFd,MAAM,CAACmB,WAAW,GAAG,QAAQ","ignoreList":[]}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { ImageBackground } from 'react-native';
5
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
6
+ import { createStyles } from "../../theme/index.js";
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ const useStyles = createStyles((theme, {
9
+ radius
10
+ }) => ({
11
+ root: {
12
+ borderRadius: theme.fn.radius(radius),
13
+ overflow: 'hidden'
14
+ },
15
+ imageStyle: {
16
+ borderRadius: theme.fn.radius(radius)
17
+ }
18
+ }));
19
+ const defaultProps = {
20
+ radius: 0,
21
+ resizeMode: 'cover'
22
+ };
23
+ export const BackgroundImage = /*#__PURE__*/forwardRef((props, ref) => {
24
+ const {
25
+ source,
26
+ radius,
27
+ children,
28
+ style,
29
+ imageStyle,
30
+ ...others
31
+ } = useComponentDefaultProps('BackgroundImage', defaultProps, props);
32
+ const {
33
+ styles,
34
+ sx
35
+ } = useStyles({
36
+ radius
37
+ }, {
38
+ name: 'BackgroundImage'
39
+ });
40
+ return /*#__PURE__*/_jsx(ImageBackground, {
41
+ ref: ref,
42
+ source: source,
43
+ style: sx(styles.root, style),
44
+ imageStyle: [styles.imageStyle, imageStyle],
45
+ ...others,
46
+ children: children
47
+ });
48
+ });
49
+ BackgroundImage.displayName = 'BackgroundImage';
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","ImageBackground","useComponentDefaultProps","createStyles","jsx","_jsx","useStyles","theme","radius","root","borderRadius","fn","overflow","imageStyle","defaultProps","resizeMode","BackgroundImage","props","ref","source","children","style","others","styles","sx","name","displayName"],"sourceRoot":"../../../../src","sources":["components/BackgroundImage/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SACEC,eAAe,QAGV,cAAc;AAErB,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAgB3C,MAAMC,SAAS,GAAGH,YAAY,CAC5B,CACEI,KAAK,EACL;EACEC;AAGF,CAAC,MACG;EACJC,IAAI,EAAE;IACJC,YAAY,EAAEH,KAAK,CAACI,EAAE,CAACH,MAAM,CAACA,MAAM,CAAC;IACrCI,QAAQ,EAAE;EACZ,CAAC;EACDC,UAAU,EAAE;IACVH,YAAY,EAAEH,KAAK,CAACI,EAAE,CAACH,MAAM,CAACA,MAAM;EACtC;AACF,CAAC,CACH,CAAC;AAED,MAAMM,YAA2C,GAAG;EAClDN,MAAM,EAAE,CAAC;EACTO,UAAU,EAAE;AACd,CAAC;AAED,OAAO,MAAMC,eAAe,gBAAGhB,UAAU,CAA4B,CAACiB,KAAK,EAAEC,GAAG,KAAK;EACnF,MAAM;IACJC,MAAM;IACNX,MAAM;IACNY,QAAQ;IACRC,KAAK;IACLR,UAAU;IACV,GAAGS;EACL,CAAC,GAAGpB,wBAAwB,CAAC,iBAAiB,EAAEY,YAAY,EAAEG,KAAK,CAAC;EAEpE,MAAM;IAAEM,MAAM;IAAEC;EAAE,CAAC,GAAGlB,SAAS,CAC7B;IAAEE;EAAO,CAAC,EACV;IAAEiB,IAAI,EAAE;EAAkB,CAC5B,CAAQ;EAER,oBACEpB,IAAA,CAACJ,eAAe;IACdiB,GAAG,EAAEA,GAAI;IACTC,MAAM,EAAEA,MAAO;IACfE,KAAK,EAAEG,EAAE,CAACD,MAAM,CAACd,IAAI,EAAEY,KAAK,CAAE;IAC9BR,UAAU,EAAE,CAACU,MAAM,CAACV,UAAU,EAAEA,UAAU,CAAE;IAAA,GACxCS,MAAM;IAAAF,QAAA,EAETA;EAAQ,CACM,CAAC;AAEtB,CAAC,CAAC;AAEFJ,eAAe,CAACU,WAAW,GAAG,iBAAiB","ignoreList":[]}
@@ -0,0 +1,184 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { Text } from "../Text/index.js";
5
+ import { BoxView } from "../BoxView/index.js";
6
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
7
+ import { createStyles } from "../../theme/index.js";
8
+ import { rem } from "../../theme/utils/rem.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const sizes = {
11
+ xs: {
12
+ fontSize: rem(9),
13
+ height: rem(16),
14
+ paddingHorizontal: rem(6)
15
+ },
16
+ sm: {
17
+ fontSize: rem(10),
18
+ height: rem(18),
19
+ paddingHorizontal: rem(8)
20
+ },
21
+ md: {
22
+ fontSize: rem(11),
23
+ height: rem(20),
24
+ paddingHorizontal: rem(10)
25
+ },
26
+ lg: {
27
+ fontSize: rem(13),
28
+ height: rem(26),
29
+ paddingHorizontal: rem(12)
30
+ },
31
+ xl: {
32
+ fontSize: rem(16),
33
+ height: rem(32),
34
+ paddingHorizontal: rem(16)
35
+ }
36
+ };
37
+ const dotSizes = {
38
+ xs: rem(4),
39
+ sm: rem(4),
40
+ md: rem(6),
41
+ lg: rem(8),
42
+ xl: rem(10)
43
+ };
44
+ const useStyles = createStyles((theme, {
45
+ color,
46
+ radius,
47
+ fullWidth
48
+ }, {
49
+ variant,
50
+ size
51
+ }) => {
52
+ const colors = theme.colors[color] || theme.colors[theme.primaryColor];
53
+ const sizeStyles = sizes[size] || sizes.md;
54
+ const getVariantStyles = () => {
55
+ switch (variant) {
56
+ case 'filled':
57
+ return {
58
+ backgroundColor: colors?.[6] || colors?.[5] || theme.primaryBgColor,
59
+ color: theme.white
60
+ };
61
+ case 'light':
62
+ return {
63
+ backgroundColor: colors?.[0] || colors?.[1] || (theme.colors.gray || [])[0],
64
+ color: colors?.[6] || colors?.[5] || theme.primaryBgColor
65
+ };
66
+ case 'outline':
67
+ return {
68
+ backgroundColor: 'transparent',
69
+ color: colors?.[6] || colors?.[5] || theme.primaryBgColor,
70
+ borderWidth: 1,
71
+ borderColor: colors?.[6] || colors?.[5] || theme.primaryBgColor
72
+ };
73
+ case 'dot':
74
+ return {
75
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : theme.white,
76
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black,
77
+ borderWidth: 1,
78
+ borderColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3]
79
+ };
80
+ default:
81
+ return {
82
+ backgroundColor: colors?.[6] || theme.primaryBgColor,
83
+ color: theme.white
84
+ };
85
+ }
86
+ };
87
+ return {
88
+ root: {
89
+ ...sizeStyles,
90
+ ...getVariantStyles(),
91
+ borderRadius: theme.fn.radius(radius),
92
+ flexDirection: 'row',
93
+ alignItems: 'center',
94
+ justifyContent: 'center',
95
+ fontWeight: '700',
96
+ textTransform: 'uppercase',
97
+ overflow: 'hidden',
98
+ ...(fullWidth && {
99
+ width: '100%'
100
+ })
101
+ },
102
+ inner: {
103
+ flexDirection: 'row',
104
+ alignItems: 'center',
105
+ justifyContent: 'center',
106
+ overflow: 'hidden'
107
+ },
108
+ leftSection: {
109
+ marginRight: theme.spacing.xs / 2
110
+ },
111
+ rightSection: {
112
+ marginLeft: theme.spacing.xs / 2
113
+ },
114
+ dot: {
115
+ width: dotSizes[size] || dotSizes.md,
116
+ height: dotSizes[size] || dotSizes.md,
117
+ borderRadius: dotSizes[size] || dotSizes.md,
118
+ backgroundColor: colors?.[6] || colors?.[5] || theme.primaryBgColor,
119
+ marginRight: theme.spacing.xs
120
+ },
121
+ label: {
122
+ fontSize: sizeStyles.fontSize,
123
+ fontWeight: '700',
124
+ textTransform: 'uppercase',
125
+ whiteSpace: 'nowrap',
126
+ overflow: 'hidden'
127
+ }
128
+ };
129
+ });
130
+ const defaultProps = {
131
+ color: 'blue',
132
+ variant: 'light',
133
+ size: 'md',
134
+ radius: 'xl',
135
+ fullWidth: false
136
+ };
137
+ export const Badge = /*#__PURE__*/forwardRef((props, ref) => {
138
+ const {
139
+ color,
140
+ variant,
141
+ size,
142
+ radius,
143
+ fullWidth,
144
+ leftSection,
145
+ rightSection,
146
+ children,
147
+ style,
148
+ ...others
149
+ } = useComponentDefaultProps('Badge', defaultProps, props);
150
+ const {
151
+ styles,
152
+ sx
153
+ } = useStyles({
154
+ color,
155
+ radius,
156
+ fullWidth
157
+ }, {
158
+ name: 'Badge',
159
+ variant,
160
+ size
161
+ });
162
+ return /*#__PURE__*/_jsx(BoxView, {
163
+ ref: ref,
164
+ style: sx(styles.root, style),
165
+ ...others,
166
+ children: /*#__PURE__*/_jsxs(BoxView, {
167
+ style: styles.inner,
168
+ children: [variant === 'dot' && /*#__PURE__*/_jsx(BoxView, {
169
+ style: styles.dot
170
+ }), leftSection && /*#__PURE__*/_jsx(BoxView, {
171
+ style: styles.leftSection,
172
+ children: leftSection
173
+ }), /*#__PURE__*/_jsx(Text, {
174
+ style: styles.label,
175
+ children: children
176
+ }), rightSection && /*#__PURE__*/_jsx(BoxView, {
177
+ style: styles.rightSection,
178
+ children: rightSection
179
+ })]
180
+ })
181
+ });
182
+ });
183
+ Badge.displayName = 'Badge';
184
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","Text","BoxView","useComponentDefaultProps","createStyles","rem","jsx","_jsx","jsxs","_jsxs","sizes","xs","fontSize","height","paddingHorizontal","sm","md","lg","xl","dotSizes","useStyles","theme","color","radius","fullWidth","variant","size","colors","primaryColor","sizeStyles","getVariantStyles","backgroundColor","primaryBgColor","white","gray","borderWidth","borderColor","colorScheme","dark","black","root","borderRadius","fn","flexDirection","alignItems","justifyContent","fontWeight","textTransform","overflow","width","inner","leftSection","marginRight","spacing","rightSection","marginLeft","dot","label","whiteSpace","defaultProps","Badge","props","ref","children","style","others","styles","sx","name","displayName"],"sourceRoot":"../../../../src","sources":["components/Badge/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,OAAO,QAAQ,qBAAY;AAQpC,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,GAAG,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA+B5C,MAAMC,KAAK,GAAG;EACZC,EAAE,EAAE;IAAEC,QAAQ,EAAEP,GAAG,CAAC,CAAC,CAAC;IAAEQ,MAAM,EAAER,GAAG,CAAC,EAAE,CAAQ;IAAES,iBAAiB,EAAET,GAAG,CAAC,CAAC;EAAS,CAAC;EAClFU,EAAE,EAAE;IAAEH,QAAQ,EAAEP,GAAG,CAAC,EAAE,CAAC;IAAEQ,MAAM,EAAER,GAAG,CAAC,EAAE,CAAQ;IAAES,iBAAiB,EAAET,GAAG,CAAC,CAAC;EAAS,CAAC;EACnFW,EAAE,EAAE;IAAEJ,QAAQ,EAAEP,GAAG,CAAC,EAAE,CAAC;IAAEQ,MAAM,EAAER,GAAG,CAAC,EAAE,CAAQ;IAAES,iBAAiB,EAAET,GAAG,CAAC,EAAE;EAAS,CAAC;EACpFY,EAAE,EAAE;IAAEL,QAAQ,EAAEP,GAAG,CAAC,EAAE,CAAC;IAAEQ,MAAM,EAAER,GAAG,CAAC,EAAE,CAAQ;IAAES,iBAAiB,EAAET,GAAG,CAAC,EAAE;EAAS,CAAC;EACpFa,EAAE,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C;AAEFM,KAAK,CAACS,WAAW,GAAG,OAAO","ignoreList":[]}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { BoxView } from "../BoxView/index.js";
5
+ import { Text } from "../Text/index.js";
6
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
7
+ import { createStyles } from "../../theme/index.js";
8
+ import { rem } from "../../theme/utils/rem.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const useStyles = createStyles((theme, {
11
+ color,
12
+ radius
13
+ }) => {
14
+ const colors = theme.colors[color] || theme.colors[theme.primaryColor];
15
+ return {
16
+ root: {
17
+ backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark?.[6] || theme.colors.gray?.[8] : theme.colors.gray?.[0] || theme.colors.gray?.[1],
18
+ borderLeftWidth: 4,
19
+ borderLeftColor: colors?.[6] || colors?.[5] || theme.primaryBgColor,
20
+ borderRadius: theme.fn.radius(radius),
21
+ padding: theme.spacing.md
22
+ },
23
+ inner: {
24
+ flexDirection: 'row'
25
+ },
26
+ icon: {
27
+ marginRight: theme.spacing.md,
28
+ marginTop: rem(2)
29
+ },
30
+ body: {
31
+ flex: 1
32
+ },
33
+ content: {
34
+ fontSize: rem(16),
35
+ lineHeight: rem(24),
36
+ color: theme.colorScheme === 'dark' ? theme.colors.dark?.[0] || theme.white : theme.black,
37
+ marginBottom: 0
38
+ },
39
+ cite: {
40
+ fontSize: rem(14),
41
+ marginTop: theme.spacing.xs,
42
+ color: theme.colorScheme === 'dark' ? theme.colors.dark?.[2] || theme.colors.gray?.[5] : theme.colors.gray?.[6] || theme.colors.gray?.[7]
43
+ }
44
+ };
45
+ });
46
+ const defaultProps = {
47
+ color: 'blue',
48
+ radius: 'sm'
49
+ };
50
+ export const Blockquote = /*#__PURE__*/forwardRef((props, ref) => {
51
+ const {
52
+ color,
53
+ icon,
54
+ cite,
55
+ radius,
56
+ children,
57
+ style
58
+ } = useComponentDefaultProps('Blockquote', defaultProps, props);
59
+ const {
60
+ styles,
61
+ sx,
62
+ ...others
63
+ } = useStyles({
64
+ color,
65
+ radius
66
+ }, {
67
+ name: 'Blockquote'
68
+ });
69
+ return /*#__PURE__*/_jsx(BoxView, {
70
+ ref: ref,
71
+ style: sx(styles.root, style),
72
+ ...others,
73
+ children: /*#__PURE__*/_jsxs(BoxView, {
74
+ style: styles.inner,
75
+ children: [icon && /*#__PURE__*/_jsx(BoxView, {
76
+ style: styles.icon,
77
+ children: icon
78
+ }), /*#__PURE__*/_jsxs(BoxView, {
79
+ style: styles.body,
80
+ children: [/*#__PURE__*/_jsx(Text, {
81
+ style: styles.content,
82
+ children: children
83
+ }), cite && /*#__PURE__*/_jsx(Text, {
84
+ style: styles.cite,
85
+ children: cite
86
+ })]
87
+ })]
88
+ })
89
+ });
90
+ });
91
+ Blockquote.displayName = 'Blockquote';
92
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","BoxView","Text","useComponentDefaultProps","createStyles","rem","jsx","_jsx","jsxs","_jsxs","useStyles","theme","color","radius","colors","primaryColor","root","backgroundColor","colorScheme","dark","gray","borderLeftWidth","borderLeftColor","primaryBgColor","borderRadius","fn","padding","spacing","md","inner","flexDirection","icon","marginRight","marginTop","body","flex","content","fontSize","lineHeight","white","black","marginBottom","cite","xs","defaultProps","Blockquote","props","ref","children","style","styles","sx","others","name","displayName"],"sourceRoot":"../../../../src","sources":["components/Blockquote/index.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,IAAI,QAAQ,kBAAS;AAM9B,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,YAAY,QAAQ,sBAAa;AAC1C,SAASC,GAAG,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAsB5C,MAAMC,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ACN,OAAO;QAACgD,KAAK,EAAEC,MAAM,CAACnB,IAAK;QAAAiB,QAAA,EAAEjB;MAAI,CAAU,CAAC,eACtDtB,KAAA,CAACR,OAAO;QAACgD,KAAK,EAAEC,MAAM,CAAChB,IAAK;QAAAc,QAAA,gBAC1BzC,IAAA,CAACL,IAAI;UAAC+C,KAAK,EAAEC,MAAM,CAACd,OAAQ;UAAAY,QAAA,EAAEA;QAAQ,CAAO,CAAC,EAC7CN,IAAI,iBAAInC,IAAA,CAACL,IAAI;UAAC+C,KAAK,EAAEC,MAAM,CAACR,IAAK;UAAAM,QAAA,EAAEN;QAAI,CAAO,CAAC;MAAA,CACzC,CAAC;IAAA,CACH;EAAC,CACH,CAAC;AAEd,CAAC,CAAC;AAEFG,UAAU,CAACS,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -3,22 +3,86 @@
3
3
  import { forwardRef } from 'react';
4
4
  import { View as DefaultView } from 'react-native';
5
5
  import { jsx as _jsx } from "react/jsx-runtime";
6
+ // Spacing value mapping
7
+ const spacingMap = {
8
+ xs: 4,
9
+ sm: 8,
10
+ md: 12,
11
+ lg: 16,
12
+ xl: 20
13
+ };
14
+ const getSpacingValue = value => {
15
+ if (value === undefined) return undefined;
16
+ if (typeof value === 'number') return value;
17
+ return spacingMap[value] || 0;
18
+ };
6
19
  export const BoxView = /*#__PURE__*/forwardRef((props, ref) => {
7
20
  const {
8
21
  style,
9
22
  fullWidth,
10
23
  fullHeight,
24
+ p,
25
+ px,
26
+ py,
27
+ pt,
28
+ pb,
29
+ pl,
30
+ pr,
31
+ m,
32
+ mx,
33
+ my,
34
+ mt,
35
+ mb,
36
+ ml,
37
+ mr,
11
38
  ...otherProps
12
39
  } = props;
40
+ const spacingStyle = {};
41
+
42
+ // Padding
43
+ if (p !== undefined) {
44
+ const value = getSpacingValue(p);
45
+ spacingStyle.padding = value;
46
+ }
47
+ if (px !== undefined) {
48
+ const value = getSpacingValue(px);
49
+ spacingStyle.paddingHorizontal = value;
50
+ }
51
+ if (py !== undefined) {
52
+ const value = getSpacingValue(py);
53
+ spacingStyle.paddingVertical = value;
54
+ }
55
+ if (pt !== undefined) spacingStyle.paddingTop = getSpacingValue(pt);
56
+ if (pb !== undefined) spacingStyle.paddingBottom = getSpacingValue(pb);
57
+ if (pl !== undefined) spacingStyle.paddingLeft = getSpacingValue(pl);
58
+ if (pr !== undefined) spacingStyle.paddingRight = getSpacingValue(pr);
59
+
60
+ // Margin
61
+ if (m !== undefined) {
62
+ const value = getSpacingValue(m);
63
+ spacingStyle.margin = value;
64
+ }
65
+ if (mx !== undefined) {
66
+ const value = getSpacingValue(mx);
67
+ spacingStyle.marginHorizontal = value;
68
+ }
69
+ if (my !== undefined) {
70
+ const value = getSpacingValue(my);
71
+ spacingStyle.marginVertical = value;
72
+ }
73
+ if (mt !== undefined) spacingStyle.marginTop = getSpacingValue(mt);
74
+ if (mb !== undefined) spacingStyle.marginBottom = getSpacingValue(mb);
75
+ if (ml !== undefined) spacingStyle.marginLeft = getSpacingValue(ml);
76
+ if (mr !== undefined) spacingStyle.marginRight = getSpacingValue(mr);
13
77
  return /*#__PURE__*/_jsx(DefaultView, {
14
- style: [style, {
78
+ style: [{
15
79
  ...(fullWidth ? {
16
80
  width: '100%'
17
81
  } : {}),
18
82
  ...(fullHeight ? {
19
83
  height: '100%'
20
84
  } : {})
21
- }],
85
+ }, spacingStyle, style],
22
86
  ref: ref,
23
87
  ...otherProps
24
88
  });
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","View","DefaultView","jsx","_jsx","BoxView","props","ref","style","fullWidth","fullHeight","otherProps","width","height"],"sourceRoot":"../../../../src","sources":["components/BoxView/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,IAAI,IAAIC,WAAW,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAanD,OAAO,MAAMC,OAAO,gBAAGL,UAAU,CAAC,CAACM,KAAgB,EAAEC,GAAQ,KAAK;EAChE,MAAM;IAAEC,KAAK;IAAEC,SAAS;IAAEC,UAAU;IAAE,GAAGC;EAAW,CAAC,GAAGL,KAAK;EAC7D,oBACEF,IAAA,CAACF,WAAW;IACVM,KAAK,EAAE,CACLA,KAAK,EACL;MACE,IAAIC,SAAS,GAAG;QAAEG,KAAK,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC,CAAC;MACvC,IAAIF,UAAU,GAAG;QAAEG,MAAM,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC,CACD;IACFN,GAAG,EAAEA,GAAI;IAAA,GACLI;EAAU,CACf,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","View","DefaultView","jsx","_jsx","spacingMap","xs","sm","md","lg","xl","getSpacingValue","value","undefined","BoxView","props","ref","style","fullWidth","fullHeight","p","px","py","pt","pb","pl","pr","m","mx","my","mt","mb","ml","mr","otherProps","spacingStyle","padding","paddingHorizontal","paddingVertical","paddingTop","paddingBottom","paddingLeft","paddingRight","margin","marginHorizontal","marginVertical","marginTop","marginBottom","marginLeft","marginRight","width","height"],"sourceRoot":"../../../../src","sources":["components/BoxView/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,IAAI,IAAIC,WAAW,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAMnD;AACA,MAAMC,UAAkC,GAAG;EACzCC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,CAAC;EACLC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,eAAe,GAAIC,KAAkC,IAAyB;EAClF,IAAIA,KAAK,KAAKC,SAAS,EAAE,OAAOA,SAAS;EACzC,IAAI,OAAOD,KAAK,KAAK,QAAQ,EAAE,OAAOA,KAAK;EAC3C,OAAOP,UAAU,CAACO,KAAK,CAAC,IAAI,CAAC;AAC/B,CAAC;AAuBD,OA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AAC;IAChCQ,YAAY,CAACQ,MAAM,GAAG/B,KAAK;EAC7B;EACA,IAAIgB,EAAE,KAAKf,SAAS,EAAE;IACpB,MAAMD,KAAK,GAAGD,eAAe,CAACiB,EAAE,CAAC;IACjCO,YAAY,CAACS,gBAAgB,GAAGhC,KAAK;EACvC;EACA,IAAIiB,EAAE,KAAKhB,SAAS,EAAE;IACpB,MAAMD,KAAK,GAAGD,eAAe,CAACkB,EAAE,CAAC;IACjCM,YAAY,CAACU,cAAc,GAAGjC,KAAK;EACrC;EACA,IAAIkB,EAAE,KAAKjB,SAAS,EAAEsB,YAAY,CAACW,SAAS,GAAGnC,eAAe,CAACmB,EAAE,CAAC;EAClE,IAAIC,EAAE,KAAKlB,SAAS,EAAEsB,YAAY,CAACY,YAAY,GAAGpC,eAAe,CAACoB,EAAE,CAAC;EACrE,IAAIC,EAAE,KAAKnB,SAAS,EAAEsB,YAAY,CAACa,UAAU,GAAGrC,eAAe,CAACqB,EAAE,CAAC;EACnE,IAAIC,EAAE,KAAKpB,SAAS,EAAEsB,YAAY,CAACc,WAAW,GAAGtC,eAAe,CAACsB,EAAE,CAAC;EAEpE,oBACE7B,IAAA,CAACF,WAAW;IACVe,KAAK,EAAE,CACL;MACE,IAAIC,SAAS,GAAG;QAAEgC,KAAK,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC,CAAC;MACvC,IAAI/B,UAAU,GAAG;QAAEgC,MAAM,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC,EACDhB,YAAY,EACZlB,KAAK,CACL;IACFD,GAAG,EAAEA,GAAI;IAAA,GACLkB;EAAU,CACf,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef, Children } from 'react';
4
+ import { BoxView } from "../BoxView/index.js";
5
+ import { Text } from "../Text/index.js";
6
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
7
+ import { createStyles } from "../../theme/index.js";
8
+ import { rem } from "../../theme/utils/rem.js";
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ const useStyles = createStyles(theme => ({
11
+ root: {
12
+ flexDirection: 'row',
13
+ alignItems: 'center',
14
+ flexWrap: 'wrap'
15
+ },
16
+ separator: {
17
+ marginHorizontal: theme.spacing.xs,
18
+ color: theme.colorScheme === 'dark' ? theme.colors.dark?.[2] || theme.colors.gray?.[5] : theme.colors.gray?.[6] || theme.colors.gray?.[7],
19
+ fontSize: rem(14)
20
+ }
21
+ }));
22
+ const defaultProps = {
23
+ separator: '/'
24
+ };
25
+ export const Breadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
26
+ const {
27
+ separator,
28
+ children,
29
+ style,
30
+ ...others
31
+ } = useComponentDefaultProps('Breadcrumbs', defaultProps, props);
32
+ const {
33
+ styles,
34
+ sx
35
+ } = useStyles({}, {
36
+ name: 'Breadcrumbs'
37
+ });
38
+ const items = Children.toArray(children);
39
+ return /*#__PURE__*/_jsx(BoxView, {
40
+ ref: ref,
41
+ style: sx(styles.root, style),
42
+ ...others,
43
+ children: items.map((item, index) => /*#__PURE__*/_jsxs(React.Fragment, {
44
+ children: [item, index !== items.length - 1 && /*#__PURE__*/_jsx(Text, {
45
+ style: styles.separator,
46
+ children: typeof separator === 'string' ? separator : separator
47
+ })]
48
+ }, index))
49
+ });
50
+ });
51
+ Breadcrumbs.displayName = 'Breadcrumbs';
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","Children","BoxView","Text","useComponentDefaultProps","createStyles","rem","jsx","_jsx","jsxs","_jsxs","useStyles","theme","root","flexDirection","alignItems","flexWrap","separator","marginHorizontal","spacing","xs","color","colorScheme","colors","dark","gray","fontSize","defaultProps","Breadcrumbs","props","ref","children","style","others","styles","sx","name","items","toArray","map","item","index","Fragment","length","displayName"],"sourceRoot":"../../../../src","sources":["components/Breadcrumbs/index.tsx"],"mappings":";;AAAA,OA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