react-native-mantine 0.1.15 → 0.3.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 (776) hide show
  1. package/README.md +603 -7
  2. package/lib/commonjs/components/Accordion/index.js +250 -0
  3. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  4. package/lib/commonjs/components/ActionIcon/ActionIcon.js +23 -28
  5. package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -1
  6. package/lib/commonjs/components/Anchor/index.js +107 -0
  7. package/lib/commonjs/components/Anchor/index.js.map +1 -0
  8. package/lib/commonjs/components/AspectRatio/index.js +65 -0
  9. package/lib/commonjs/components/AspectRatio/index.js.map +1 -0
  10. package/lib/commonjs/components/Avatar/index.js +128 -0
  11. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  12. package/lib/commonjs/components/BackgroundImage/index.js +55 -0
  13. package/lib/commonjs/components/BackgroundImage/index.js.map +1 -0
  14. package/lib/commonjs/components/Badge/index.js +189 -0
  15. package/lib/commonjs/components/Badge/index.js.map +1 -0
  16. package/lib/commonjs/components/Blockquote/index.js +97 -0
  17. package/lib/commonjs/components/Blockquote/index.js.map +1 -0
  18. package/lib/commonjs/components/BoxView/index.js +66 -2
  19. package/lib/commonjs/components/BoxView/index.js.map +1 -1
  20. package/lib/commonjs/components/Breadcrumbs/index.js +57 -0
  21. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  22. package/lib/commonjs/components/Burger/index.js +183 -0
  23. package/lib/commonjs/components/Burger/index.js.map +1 -0
  24. package/lib/commonjs/components/Button/Button.styles.js +35 -18
  25. package/lib/commonjs/components/Button/Button.styles.js.map +1 -1
  26. package/lib/commonjs/components/Button/index.js +3 -3
  27. package/lib/commonjs/components/Button/index.js.map +1 -1
  28. package/lib/commonjs/components/Card/index.js +135 -0
  29. package/lib/commonjs/components/Card/index.js.map +1 -0
  30. package/lib/commonjs/components/Center/index.js +35 -0
  31. package/lib/commonjs/components/Center/index.js.map +1 -0
  32. package/lib/commonjs/components/Checkbox/index.js +139 -0
  33. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  34. package/lib/commonjs/components/Chip/index.js +268 -0
  35. package/lib/commonjs/components/Chip/index.js.map +1 -0
  36. package/lib/commonjs/components/CloseButton/index.js +136 -0
  37. package/lib/commonjs/components/CloseButton/index.js.map +1 -0
  38. package/lib/commonjs/components/Code/index.js +67 -0
  39. package/lib/commonjs/components/Code/index.js.map +1 -0
  40. package/lib/commonjs/components/Collapse/index.js +82 -0
  41. package/lib/commonjs/components/Collapse/index.js.map +1 -0
  42. package/lib/commonjs/components/ColorSwatch/index.js +95 -0
  43. package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
  44. package/lib/commonjs/components/Container/index.js +70 -0
  45. package/lib/commonjs/components/Container/index.js.map +1 -0
  46. package/lib/commonjs/components/CopyButton/index.js +54 -0
  47. package/lib/commonjs/components/CopyButton/index.js.map +1 -0
  48. package/lib/commonjs/components/Dialog/index.js +139 -0
  49. package/lib/commonjs/components/Dialog/index.js.map +1 -0
  50. package/lib/commonjs/components/Divider/index.js +147 -0
  51. package/lib/commonjs/components/Divider/index.js.map +1 -0
  52. package/lib/commonjs/components/Drawer/index.js +251 -0
  53. package/lib/commonjs/components/Drawer/index.js.map +1 -0
  54. package/lib/commonjs/components/Flex/index.js +62 -0
  55. package/lib/commonjs/components/Flex/index.js.map +1 -0
  56. package/lib/commonjs/components/Grid/index.js +144 -0
  57. package/lib/commonjs/components/Grid/index.js.map +1 -0
  58. package/lib/commonjs/components/Group/index.js +22 -1
  59. package/lib/commonjs/components/Group/index.js.map +1 -1
  60. package/lib/commonjs/components/Highlight/index.js +74 -0
  61. package/lib/commonjs/components/Highlight/index.js.map +1 -0
  62. package/lib/commonjs/components/Image/index.js +132 -0
  63. package/lib/commonjs/components/Image/index.js.map +1 -0
  64. package/lib/commonjs/components/Indicator/index.js +198 -0
  65. package/lib/commonjs/components/Indicator/index.js.map +1 -0
  66. package/lib/commonjs/components/Kbd/index.js +95 -0
  67. package/lib/commonjs/components/Kbd/index.js.map +1 -0
  68. package/lib/commonjs/components/List/index.js +216 -0
  69. package/lib/commonjs/components/List/index.js.map +1 -0
  70. package/lib/commonjs/components/Loader/Loader.js +25 -18
  71. package/lib/commonjs/components/Loader/Loader.js.map +1 -1
  72. package/lib/commonjs/components/LoadingOverlay/index.js +84 -0
  73. package/lib/commonjs/components/LoadingOverlay/index.js.map +1 -0
  74. package/lib/commonjs/components/Mark/index.js +46 -0
  75. package/lib/commonjs/components/Mark/index.js.map +1 -0
  76. package/lib/commonjs/components/MediaQuery/index.js +88 -0
  77. package/lib/commonjs/components/MediaQuery/index.js.map +1 -0
  78. package/lib/commonjs/components/Menu/index.js +305 -0
  79. package/lib/commonjs/components/Menu/index.js.map +1 -0
  80. package/lib/commonjs/components/Modal/index.js +235 -0
  81. package/lib/commonjs/components/Modal/index.js.map +1 -0
  82. package/lib/commonjs/components/MultiSelect/index.js +299 -0
  83. package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
  84. package/lib/commonjs/components/NativeSelect/index.js +294 -0
  85. package/lib/commonjs/components/NativeSelect/index.js.map +1 -0
  86. package/lib/commonjs/components/NavLink/index.js +163 -0
  87. package/lib/commonjs/components/NavLink/index.js.map +1 -0
  88. package/lib/commonjs/components/Notification/index.js +142 -0
  89. package/lib/commonjs/components/Notification/index.js.map +1 -0
  90. package/lib/commonjs/components/NumberInput/index.js +267 -0
  91. package/lib/commonjs/components/NumberInput/index.js.map +1 -0
  92. package/lib/commonjs/components/Overlay/index.js +77 -0
  93. package/lib/commonjs/components/Overlay/index.js.map +1 -0
  94. package/lib/commonjs/components/Pagination/index.js +253 -0
  95. package/lib/commonjs/components/Pagination/index.js.map +1 -0
  96. package/lib/commonjs/components/Paper/index.js +155 -0
  97. package/lib/commonjs/components/Paper/index.js.map +1 -0
  98. package/lib/commonjs/components/PasswordInput/index.js +67 -0
  99. package/lib/commonjs/components/PasswordInput/index.js.map +1 -0
  100. package/lib/commonjs/components/PinInput/index.js +186 -0
  101. package/lib/commonjs/components/PinInput/index.js.map +1 -0
  102. package/lib/commonjs/components/Popover/index.js +162 -0
  103. package/lib/commonjs/components/Popover/index.js.map +1 -0
  104. package/lib/commonjs/components/Portal/index.js +69 -0
  105. package/lib/commonjs/components/Portal/index.js.map +1 -0
  106. package/lib/commonjs/components/Progress/index.js +124 -0
  107. package/lib/commonjs/components/Progress/index.js.map +1 -0
  108. package/lib/commonjs/components/Radio/index.js +135 -0
  109. package/lib/commonjs/components/Radio/index.js.map +1 -0
  110. package/lib/commonjs/components/Rating/index.js +151 -0
  111. package/lib/commonjs/components/Rating/index.js.map +1 -0
  112. package/lib/commonjs/components/RingProgress/index.js +174 -0
  113. package/lib/commonjs/components/RingProgress/index.js.map +1 -0
  114. package/lib/commonjs/components/SegmentedControl/index.js +225 -0
  115. package/lib/commonjs/components/SegmentedControl/index.js.map +1 -0
  116. package/lib/commonjs/components/Select/index.js +244 -0
  117. package/lib/commonjs/components/Select/index.js.map +1 -0
  118. package/lib/commonjs/components/SimpleGrid/index.js +101 -0
  119. package/lib/commonjs/components/SimpleGrid/index.js.map +1 -0
  120. package/lib/commonjs/components/Skeleton/index.js +111 -0
  121. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  122. package/lib/commonjs/components/Slider/index.js +275 -0
  123. package/lib/commonjs/components/Slider/index.js.map +1 -0
  124. package/lib/commonjs/components/Space/index.js +45 -0
  125. package/lib/commonjs/components/Space/index.js.map +1 -0
  126. package/lib/commonjs/components/Spoiler/index.js +109 -0
  127. package/lib/commonjs/components/Spoiler/index.js.map +1 -0
  128. package/lib/commonjs/components/Stepper/index.js +275 -0
  129. package/lib/commonjs/components/Stepper/index.js.map +1 -0
  130. package/lib/commonjs/components/Switch/index.js +118 -0
  131. package/lib/commonjs/components/Switch/index.js.map +1 -0
  132. package/lib/commonjs/components/Table/index.js +313 -0
  133. package/lib/commonjs/components/Table/index.js.map +1 -0
  134. package/lib/commonjs/components/Text/index.js +7 -2
  135. package/lib/commonjs/components/Text/index.js.map +1 -1
  136. package/lib/commonjs/components/TextInput/index.js +184 -0
  137. package/lib/commonjs/components/TextInput/index.js.map +1 -0
  138. package/lib/commonjs/components/Textarea/index.js +54 -0
  139. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  140. package/lib/commonjs/components/ThemeIcon/index.js +144 -0
  141. package/lib/commonjs/components/ThemeIcon/index.js.map +1 -0
  142. package/lib/commonjs/components/Timeline/index.js +241 -0
  143. package/lib/commonjs/components/Timeline/index.js.map +1 -0
  144. package/lib/commonjs/components/Title/index.js +44 -0
  145. package/lib/commonjs/components/Title/index.js.map +1 -0
  146. package/lib/commonjs/components/Tooltip/index.js +186 -0
  147. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  148. package/lib/commonjs/components/TransferList/index.js +292 -0
  149. package/lib/commonjs/components/TransferList/index.js.map +1 -0
  150. package/lib/commonjs/components/Transition/index.js +174 -0
  151. package/lib/commonjs/components/Transition/index.js.map +1 -0
  152. package/lib/commonjs/components/UnstyledButton/UnstyledButton.js +1 -2
  153. package/lib/commonjs/components/UnstyledButton/UnstyledButton.js.map +1 -1
  154. package/lib/commonjs/components/index.js +759 -0
  155. package/lib/commonjs/components/index.js.map +1 -1
  156. package/lib/commonjs/hooks/useCachedResources.js +1 -2
  157. package/lib/commonjs/hooks/useCachedResources.js.map +1 -1
  158. package/lib/commonjs/package.json +1 -0
  159. package/lib/commonjs/theme/create-theme.js +4 -1
  160. package/lib/commonjs/theme/create-theme.js.map +1 -1
  161. package/lib/commonjs/theme/default-theme.js +2 -0
  162. package/lib/commonjs/theme/default-theme.js.map +1 -1
  163. package/lib/commonjs/theme/functions/attach-functions.js +12 -2
  164. package/lib/commonjs/theme/functions/attach-functions.js.map +1 -1
  165. package/lib/commonjs/theme/functions/fns/helpers.js +44 -0
  166. package/lib/commonjs/theme/functions/fns/helpers.js.map +1 -0
  167. package/lib/commonjs/theme/functions/fns/index.js +4 -1
  168. package/lib/commonjs/theme/functions/fns/index.js.map +1 -1
  169. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +26 -4
  170. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  171. package/lib/commonjs/theme/functions/fns/variant.js +89 -2
  172. package/lib/commonjs/theme/functions/fns/variant.js.map +1 -1
  173. package/lib/commonjs/theme/get-size/index.js +2 -2
  174. package/lib/commonjs/theme/get-size/index.js.map +1 -1
  175. package/lib/commonjs/theme/theme-provider.js +10 -9
  176. package/lib/commonjs/theme/theme-provider.js.map +1 -1
  177. package/lib/commonjs/theme/utils/rem.js +8 -6
  178. package/lib/commonjs/theme/utils/rem.js.map +1 -1
  179. package/lib/module/components/Accordion/index.js +246 -0
  180. package/lib/module/components/Accordion/index.js.map +1 -0
  181. package/lib/module/components/ActionIcon/ActionIcon.js +25 -29
  182. package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -1
  183. package/lib/module/components/Anchor/index.js +102 -0
  184. package/lib/module/components/Anchor/index.js.map +1 -0
  185. package/lib/module/components/AspectRatio/index.js +60 -0
  186. package/lib/module/components/AspectRatio/index.js.map +1 -0
  187. package/lib/module/components/Avatar/index.js +123 -0
  188. package/lib/module/components/Avatar/index.js.map +1 -0
  189. package/lib/module/components/BackgroundImage/index.js +50 -0
  190. package/lib/module/components/BackgroundImage/index.js.map +1 -0
  191. package/lib/module/components/Badge/index.js +184 -0
  192. package/lib/module/components/Badge/index.js.map +1 -0
  193. package/lib/module/components/Blockquote/index.js +92 -0
  194. package/lib/module/components/Blockquote/index.js.map +1 -0
  195. package/lib/module/components/BoxView/index.js +66 -2
  196. package/lib/module/components/BoxView/index.js.map +1 -1
  197. package/lib/module/components/Breadcrumbs/index.js +52 -0
  198. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  199. package/lib/module/components/Burger/index.js +180 -0
  200. package/lib/module/components/Burger/index.js.map +1 -0
  201. package/lib/module/components/Button/Button.styles.js +35 -18
  202. package/lib/module/components/Button/Button.styles.js.map +1 -1
  203. package/lib/module/components/Button/index.js +1 -0
  204. package/lib/module/components/Button/index.js.map +1 -1
  205. package/lib/module/components/Card/index.js +130 -0
  206. package/lib/module/components/Card/index.js.map +1 -0
  207. package/lib/module/components/Center/index.js +30 -0
  208. package/lib/module/components/Center/index.js.map +1 -0
  209. package/lib/module/components/Checkbox/index.js +134 -0
  210. package/lib/module/components/Checkbox/index.js.map +1 -0
  211. package/lib/module/components/Chip/index.js +263 -0
  212. package/lib/module/components/Chip/index.js.map +1 -0
  213. package/lib/module/components/CloseButton/index.js +132 -0
  214. package/lib/module/components/CloseButton/index.js.map +1 -0
  215. package/lib/module/components/Code/index.js +62 -0
  216. package/lib/module/components/Code/index.js.map +1 -0
  217. package/lib/module/components/Collapse/index.js +77 -0
  218. package/lib/module/components/Collapse/index.js.map +1 -0
  219. package/lib/module/components/ColorSwatch/index.js +90 -0
  220. package/lib/module/components/ColorSwatch/index.js.map +1 -0
  221. package/lib/module/components/Container/index.js +65 -0
  222. package/lib/module/components/Container/index.js.map +1 -0
  223. package/lib/module/components/CopyButton/index.js +48 -0
  224. package/lib/module/components/CopyButton/index.js.map +1 -0
  225. package/lib/module/components/Dialog/index.js +134 -0
  226. package/lib/module/components/Dialog/index.js.map +1 -0
  227. package/lib/module/components/Divider/index.js +142 -0
  228. package/lib/module/components/Divider/index.js.map +1 -0
  229. package/lib/module/components/Drawer/index.js +246 -0
  230. package/lib/module/components/Drawer/index.js.map +1 -0
  231. package/lib/module/components/Flex/index.js +57 -0
  232. package/lib/module/components/Flex/index.js.map +1 -0
  233. package/lib/module/components/Grid/index.js +139 -0
  234. package/lib/module/components/Grid/index.js.map +1 -0
  235. package/lib/module/components/Group/index.js +22 -1
  236. package/lib/module/components/Group/index.js.map +1 -1
  237. package/lib/module/components/Highlight/index.js +70 -0
  238. package/lib/module/components/Highlight/index.js.map +1 -0
  239. package/lib/module/components/Image/index.js +127 -0
  240. package/lib/module/components/Image/index.js.map +1 -0
  241. package/lib/module/components/Indicator/index.js +193 -0
  242. package/lib/module/components/Indicator/index.js.map +1 -0
  243. package/lib/module/components/Kbd/index.js +90 -0
  244. package/lib/module/components/Kbd/index.js.map +1 -0
  245. package/lib/module/components/List/index.js +211 -0
  246. package/lib/module/components/List/index.js.map +1 -0
  247. package/lib/module/components/Loader/Loader.js +26 -19
  248. package/lib/module/components/Loader/Loader.js.map +1 -1
  249. package/lib/module/components/LoadingOverlay/index.js +80 -0
  250. package/lib/module/components/LoadingOverlay/index.js.map +1 -0
  251. package/lib/module/components/Mark/index.js +41 -0
  252. package/lib/module/components/Mark/index.js.map +1 -0
  253. package/lib/module/components/MediaQuery/index.js +82 -0
  254. package/lib/module/components/MediaQuery/index.js.map +1 -0
  255. package/lib/module/components/Menu/index.js +300 -0
  256. package/lib/module/components/Menu/index.js.map +1 -0
  257. package/lib/module/components/Modal/index.js +230 -0
  258. package/lib/module/components/Modal/index.js.map +1 -0
  259. package/lib/module/components/MultiSelect/index.js +294 -0
  260. package/lib/module/components/MultiSelect/index.js.map +1 -0
  261. package/lib/module/components/NativeSelect/index.js +289 -0
  262. package/lib/module/components/NativeSelect/index.js.map +1 -0
  263. package/lib/module/components/NavLink/index.js +158 -0
  264. package/lib/module/components/NavLink/index.js.map +1 -0
  265. package/lib/module/components/Notification/index.js +137 -0
  266. package/lib/module/components/Notification/index.js.map +1 -0
  267. package/lib/module/components/NumberInput/index.js +262 -0
  268. package/lib/module/components/NumberInput/index.js.map +1 -0
  269. package/lib/module/components/Overlay/index.js +72 -0
  270. package/lib/module/components/Overlay/index.js.map +1 -0
  271. package/lib/module/components/Pagination/index.js +248 -0
  272. package/lib/module/components/Pagination/index.js.map +1 -0
  273. package/lib/module/components/Paper/index.js +150 -0
  274. package/lib/module/components/Paper/index.js.map +1 -0
  275. package/lib/module/components/PasswordInput/index.js +62 -0
  276. package/lib/module/components/PasswordInput/index.js.map +1 -0
  277. package/lib/module/components/PinInput/index.js +182 -0
  278. package/lib/module/components/PinInput/index.js.map +1 -0
  279. package/lib/module/components/Popover/index.js +157 -0
  280. package/lib/module/components/Popover/index.js.map +1 -0
  281. package/lib/module/components/Portal/index.js +62 -0
  282. package/lib/module/components/Portal/index.js.map +1 -0
  283. package/lib/module/components/Progress/index.js +120 -0
  284. package/lib/module/components/Progress/index.js.map +1 -0
  285. package/lib/module/components/Radio/index.js +130 -0
  286. package/lib/module/components/Radio/index.js.map +1 -0
  287. package/lib/module/components/Rating/index.js +146 -0
  288. package/lib/module/components/Rating/index.js.map +1 -0
  289. package/lib/module/components/RingProgress/index.js +169 -0
  290. package/lib/module/components/RingProgress/index.js.map +1 -0
  291. package/lib/module/components/SegmentedControl/index.js +220 -0
  292. package/lib/module/components/SegmentedControl/index.js.map +1 -0
  293. package/lib/module/components/Select/index.js +239 -0
  294. package/lib/module/components/Select/index.js.map +1 -0
  295. package/lib/module/components/SimpleGrid/index.js +96 -0
  296. package/lib/module/components/SimpleGrid/index.js.map +1 -0
  297. package/lib/module/components/Skeleton/index.js +106 -0
  298. package/lib/module/components/Skeleton/index.js.map +1 -0
  299. package/lib/module/components/Slider/index.js +270 -0
  300. package/lib/module/components/Slider/index.js.map +1 -0
  301. package/lib/module/components/Space/index.js +41 -0
  302. package/lib/module/components/Space/index.js.map +1 -0
  303. package/lib/module/components/Spoiler/index.js +104 -0
  304. package/lib/module/components/Spoiler/index.js.map +1 -0
  305. package/lib/module/components/Stepper/index.js +270 -0
  306. package/lib/module/components/Stepper/index.js.map +1 -0
  307. package/lib/module/components/Switch/index.js +113 -0
  308. package/lib/module/components/Switch/index.js.map +1 -0
  309. package/lib/module/components/Table/index.js +308 -0
  310. package/lib/module/components/Table/index.js.map +1 -0
  311. package/lib/module/components/Text/index.js +7 -2
  312. package/lib/module/components/Text/index.js.map +1 -1
  313. package/lib/module/components/TextInput/index.js +179 -0
  314. package/lib/module/components/TextInput/index.js.map +1 -0
  315. package/lib/module/components/Textarea/index.js +50 -0
  316. package/lib/module/components/Textarea/index.js.map +1 -0
  317. package/lib/module/components/ThemeIcon/index.js +140 -0
  318. package/lib/module/components/ThemeIcon/index.js.map +1 -0
  319. package/lib/module/components/Timeline/index.js +236 -0
  320. package/lib/module/components/Timeline/index.js.map +1 -0
  321. package/lib/module/components/Title/index.js +39 -0
  322. package/lib/module/components/Title/index.js.map +1 -0
  323. package/lib/module/components/Tooltip/index.js +181 -0
  324. package/lib/module/components/Tooltip/index.js.map +1 -0
  325. package/lib/module/components/TransferList/index.js +287 -0
  326. package/lib/module/components/TransferList/index.js.map +1 -0
  327. package/lib/module/components/Transition/index.js +169 -0
  328. package/lib/module/components/Transition/index.js.map +1 -0
  329. package/lib/module/components/index.js +101 -0
  330. package/lib/module/components/index.js.map +1 -1
  331. package/lib/module/package.json +1 -0
  332. package/lib/module/theme/create-theme.js +4 -1
  333. package/lib/module/theme/create-theme.js.map +1 -1
  334. package/lib/module/theme/default-theme.js +2 -0
  335. package/lib/module/theme/default-theme.js.map +1 -1
  336. package/lib/module/theme/functions/attach-functions.js +12 -2
  337. package/lib/module/theme/functions/attach-functions.js.map +1 -1
  338. package/lib/module/theme/functions/fns/helpers.js +34 -0
  339. package/lib/module/theme/functions/fns/helpers.js.map +1 -0
  340. package/lib/module/theme/functions/fns/index.js +3 -1
  341. package/lib/module/theme/functions/fns/index.js.map +1 -1
  342. package/lib/module/theme/functions/fns/theme-color/theme-color.js +26 -4
  343. package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  344. package/lib/module/theme/functions/fns/variant.js +89 -2
  345. package/lib/module/theme/functions/fns/variant.js.map +1 -1
  346. package/lib/module/theme/get-size/index.js +2 -2
  347. package/lib/module/theme/get-size/index.js.map +1 -1
  348. package/lib/module/theme/theme-provider.js +9 -7
  349. package/lib/module/theme/theme-provider.js.map +1 -1
  350. package/lib/module/theme/utils/rem.js +8 -6
  351. package/lib/module/theme/utils/rem.js.map +1 -1
  352. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts +54 -0
  353. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts.map +1 -0
  354. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  355. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  356. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts +25 -0
  357. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts +12 -0
  359. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts +23 -0
  361. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts +15 -0
  363. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/components/Badge/index.d.ts +24 -0
  365. package/lib/typescript/commonjs/src/components/Badge/index.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts +18 -0
  367. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +28 -0
  369. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -1
  370. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts +12 -0
  371. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/src/components/Burger/index.d.ts +21 -0
  373. package/lib/typescript/commonjs/src/components/Burger/index.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts +5 -0
  375. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts.map +1 -1
  376. package/lib/typescript/commonjs/src/components/Button/index.d.ts +1 -0
  377. package/lib/typescript/commonjs/src/components/Button/index.d.ts.map +1 -1
  378. package/lib/typescript/commonjs/src/components/Card/index.d.ts +24 -0
  379. package/lib/typescript/commonjs/src/components/Card/index.d.ts.map +1 -0
  380. package/lib/typescript/commonjs/src/components/Center/index.d.ts +15 -0
  381. package/lib/typescript/commonjs/src/components/Center/index.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts +24 -0
  383. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts.map +1 -0
  384. package/lib/typescript/commonjs/src/components/Chip/index.d.ts +51 -0
  385. package/lib/typescript/commonjs/src/components/Chip/index.d.ts.map +1 -0
  386. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts +22 -0
  387. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts.map +1 -0
  388. package/lib/typescript/commonjs/src/components/Code/index.d.ts +15 -0
  389. package/lib/typescript/commonjs/src/components/Code/index.d.ts.map +1 -0
  390. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts +20 -0
  391. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts.map +1 -0
  392. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts +20 -0
  393. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts.map +1 -0
  394. package/lib/typescript/commonjs/src/components/Container/index.d.ts +20 -0
  395. package/lib/typescript/commonjs/src/components/Container/index.d.ts.map +1 -0
  396. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts +15 -0
  397. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts.map +1 -0
  398. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +31 -0
  399. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -0
  400. package/lib/typescript/commonjs/src/components/Divider/index.d.ts +20 -0
  401. package/lib/typescript/commonjs/src/components/Divider/index.d.ts.map +1 -0
  402. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts +36 -0
  403. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/src/components/Flex/index.d.ts +27 -0
  405. package/lib/typescript/commonjs/src/components/Flex/index.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/components/Grid/index.d.ts +38 -0
  407. package/lib/typescript/commonjs/src/components/Grid/index.d.ts.map +1 -0
  408. package/lib/typescript/commonjs/src/components/Group/index.d.ts +2 -1
  409. package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -1
  410. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts +19 -0
  411. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts.map +1 -0
  412. package/lib/typescript/commonjs/src/components/Image/index.d.ts +31 -0
  413. package/lib/typescript/commonjs/src/components/Image/index.d.ts.map +1 -0
  414. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts +32 -0
  415. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/src/components/Input/Input.styles.d.ts +5 -5
  417. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts +12 -0
  418. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts.map +1 -0
  419. package/lib/typescript/commonjs/src/components/List/index.d.ts +42 -0
  420. package/lib/typescript/commonjs/src/components/List/index.d.ts.map +1 -0
  421. package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -1
  422. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts +23 -0
  423. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts.map +1 -0
  424. package/lib/typescript/commonjs/src/components/Mark/index.d.ts +14 -0
  425. package/lib/typescript/commonjs/src/components/Mark/index.d.ts.map +1 -0
  426. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts +24 -0
  427. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts.map +1 -0
  428. package/lib/typescript/commonjs/src/components/Menu/index.d.ts +64 -0
  429. package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -0
  430. package/lib/typescript/commonjs/src/components/Modal/index.d.ts +40 -0
  431. package/lib/typescript/commonjs/src/components/Modal/index.d.ts.map +1 -0
  432. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts +53 -0
  433. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts.map +1 -0
  434. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts +45 -0
  435. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts.map +1 -0
  436. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts +30 -0
  437. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts.map +1 -0
  438. package/lib/typescript/commonjs/src/components/Notification/index.d.ts +28 -0
  439. package/lib/typescript/commonjs/src/components/Notification/index.d.ts.map +1 -0
  440. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts +47 -0
  441. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts.map +1 -0
  442. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts +24 -0
  443. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts.map +1 -0
  444. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts +37 -0
  445. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts.map +1 -0
  446. package/lib/typescript/commonjs/src/components/Paper/index.d.ts +18 -0
  447. package/lib/typescript/commonjs/src/components/Paper/index.d.ts.map +1 -0
  448. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts +15 -0
  449. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts.map +1 -0
  450. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts +33 -0
  451. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts.map +1 -0
  452. package/lib/typescript/commonjs/src/components/Popover/index.d.ts +44 -0
  453. package/lib/typescript/commonjs/src/components/Popover/index.d.ts.map +1 -0
  454. package/lib/typescript/commonjs/src/components/Portal/index.d.ts +10 -0
  455. package/lib/typescript/commonjs/src/components/Portal/index.d.ts.map +1 -0
  456. package/lib/typescript/commonjs/src/components/Progress/index.d.ts +29 -0
  457. package/lib/typescript/commonjs/src/components/Progress/index.d.ts.map +1 -0
  458. package/lib/typescript/commonjs/src/components/Radio/index.d.ts +24 -0
  459. package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
  460. package/lib/typescript/commonjs/src/components/Rating/index.d.ts +32 -0
  461. package/lib/typescript/commonjs/src/components/Rating/index.d.ts.map +1 -0
  462. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts +61 -0
  463. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts.map +1 -0
  464. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts +35 -0
  465. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts.map +1 -0
  466. package/lib/typescript/commonjs/src/components/Select/index.d.ts +53 -0
  467. package/lib/typescript/commonjs/src/components/Select/index.d.ts.map +1 -0
  468. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts +22 -0
  469. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts.map +1 -0
  470. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts +22 -0
  471. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts.map +1 -0
  472. package/lib/typescript/commonjs/src/components/Slider/index.d.ts +43 -0
  473. package/lib/typescript/commonjs/src/components/Slider/index.d.ts.map +1 -0
  474. package/lib/typescript/commonjs/src/components/Space/index.d.ts +13 -0
  475. package/lib/typescript/commonjs/src/components/Space/index.d.ts.map +1 -0
  476. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts +22 -0
  477. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts.map +1 -0
  478. package/lib/typescript/commonjs/src/components/Stack/index.d.ts.map +1 -1
  479. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts +55 -0
  480. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts.map +1 -0
  481. package/lib/typescript/commonjs/src/components/Switch/index.d.ts +24 -0
  482. package/lib/typescript/commonjs/src/components/Switch/index.d.ts.map +1 -0
  483. package/lib/typescript/commonjs/src/components/Table/index.d.ts +72 -0
  484. package/lib/typescript/commonjs/src/components/Table/index.d.ts.map +1 -0
  485. package/lib/typescript/commonjs/src/components/Text/index.d.ts +4 -0
  486. package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -1
  487. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts +31 -0
  488. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts.map +1 -0
  489. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts +12 -0
  490. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts.map +1 -0
  491. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts +21 -0
  492. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts.map +1 -0
  493. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts +52 -0
  494. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts.map +1 -0
  495. package/lib/typescript/commonjs/src/components/Title/index.d.ts +14 -0
  496. package/lib/typescript/commonjs/src/components/Title/index.d.ts.map +1 -0
  497. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts +36 -0
  498. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts.map +1 -0
  499. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts +42 -0
  500. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts.map +1 -0
  501. package/lib/typescript/commonjs/src/components/Transition/index.d.ts +25 -0
  502. package/lib/typescript/commonjs/src/components/Transition/index.d.ts.map +1 -0
  503. package/lib/typescript/commonjs/src/components/index.d.ts +69 -0
  504. package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -1
  505. package/lib/typescript/commonjs/src/theme/create-theme.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/src/theme/default-theme.d.ts +20 -0
  507. package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -1
  509. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts +23 -0
  510. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts.map +1 -0
  511. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +22 -1
  512. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -1
  513. package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  515. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +19 -1
  517. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/src/theme/theme-provider.d.ts.map +1 -1
  519. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts +2 -2
  520. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts.map +1 -1
  521. package/lib/typescript/module/src/components/Accordion/index.d.ts +54 -0
  522. package/lib/typescript/module/src/components/Accordion/index.d.ts.map +1 -0
  523. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  524. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  525. package/lib/typescript/module/src/components/Anchor/index.d.ts +25 -0
  526. package/lib/typescript/module/src/components/Anchor/index.d.ts.map +1 -0
  527. package/lib/typescript/module/src/components/AspectRatio/index.d.ts +12 -0
  528. package/lib/typescript/module/src/components/AspectRatio/index.d.ts.map +1 -0
  529. package/lib/typescript/module/src/components/Avatar/index.d.ts +23 -0
  530. package/lib/typescript/module/src/components/Avatar/index.d.ts.map +1 -0
  531. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts +15 -0
  532. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts.map +1 -0
  533. package/lib/typescript/module/src/components/Badge/index.d.ts +24 -0
  534. package/lib/typescript/module/src/components/Badge/index.d.ts.map +1 -0
  535. package/lib/typescript/module/src/components/Blockquote/index.d.ts +18 -0
  536. package/lib/typescript/module/src/components/Blockquote/index.d.ts.map +1 -0
  537. package/lib/typescript/module/src/components/BoxView/index.d.ts +28 -0
  538. package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -1
  539. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts +12 -0
  540. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts.map +1 -0
  541. package/lib/typescript/module/src/components/Burger/index.d.ts +21 -0
  542. package/lib/typescript/module/src/components/Burger/index.d.ts.map +1 -0
  543. package/lib/typescript/module/src/components/Button/Button.styles.d.ts +5 -0
  544. package/lib/typescript/module/src/components/Button/Button.styles.d.ts.map +1 -1
  545. package/lib/typescript/module/src/components/Button/index.d.ts +1 -0
  546. package/lib/typescript/module/src/components/Button/index.d.ts.map +1 -1
  547. package/lib/typescript/module/src/components/Card/index.d.ts +24 -0
  548. package/lib/typescript/module/src/components/Card/index.d.ts.map +1 -0
  549. package/lib/typescript/module/src/components/Center/index.d.ts +15 -0
  550. package/lib/typescript/module/src/components/Center/index.d.ts.map +1 -0
  551. package/lib/typescript/module/src/components/Checkbox/index.d.ts +24 -0
  552. package/lib/typescript/module/src/components/Checkbox/index.d.ts.map +1 -0
  553. package/lib/typescript/module/src/components/Chip/index.d.ts +51 -0
  554. package/lib/typescript/module/src/components/Chip/index.d.ts.map +1 -0
  555. package/lib/typescript/module/src/components/CloseButton/index.d.ts +22 -0
  556. package/lib/typescript/module/src/components/CloseButton/index.d.ts.map +1 -0
  557. package/lib/typescript/module/src/components/Code/index.d.ts +15 -0
  558. package/lib/typescript/module/src/components/Code/index.d.ts.map +1 -0
  559. package/lib/typescript/module/src/components/Collapse/index.d.ts +20 -0
  560. package/lib/typescript/module/src/components/Collapse/index.d.ts.map +1 -0
  561. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts +20 -0
  562. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts.map +1 -0
  563. package/lib/typescript/module/src/components/Container/index.d.ts +20 -0
  564. package/lib/typescript/module/src/components/Container/index.d.ts.map +1 -0
  565. package/lib/typescript/module/src/components/CopyButton/index.d.ts +15 -0
  566. package/lib/typescript/module/src/components/CopyButton/index.d.ts.map +1 -0
  567. package/lib/typescript/module/src/components/Dialog/index.d.ts +31 -0
  568. package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -0
  569. package/lib/typescript/module/src/components/Divider/index.d.ts +20 -0
  570. package/lib/typescript/module/src/components/Divider/index.d.ts.map +1 -0
  571. package/lib/typescript/module/src/components/Drawer/index.d.ts +36 -0
  572. package/lib/typescript/module/src/components/Drawer/index.d.ts.map +1 -0
  573. package/lib/typescript/module/src/components/Flex/index.d.ts +27 -0
  574. package/lib/typescript/module/src/components/Flex/index.d.ts.map +1 -0
  575. package/lib/typescript/module/src/components/Grid/index.d.ts +38 -0
  576. package/lib/typescript/module/src/components/Grid/index.d.ts.map +1 -0
  577. package/lib/typescript/module/src/components/Group/index.d.ts +2 -1
  578. package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -1
  579. package/lib/typescript/module/src/components/Highlight/index.d.ts +19 -0
  580. package/lib/typescript/module/src/components/Highlight/index.d.ts.map +1 -0
  581. package/lib/typescript/module/src/components/Image/index.d.ts +31 -0
  582. package/lib/typescript/module/src/components/Image/index.d.ts.map +1 -0
  583. package/lib/typescript/module/src/components/Indicator/index.d.ts +32 -0
  584. package/lib/typescript/module/src/components/Indicator/index.d.ts.map +1 -0
  585. package/lib/typescript/module/src/components/Input/Input.styles.d.ts +5 -5
  586. package/lib/typescript/module/src/components/Kbd/index.d.ts +12 -0
  587. package/lib/typescript/module/src/components/Kbd/index.d.ts.map +1 -0
  588. package/lib/typescript/module/src/components/List/index.d.ts +42 -0
  589. package/lib/typescript/module/src/components/List/index.d.ts.map +1 -0
  590. package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -1
  591. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts +23 -0
  592. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts.map +1 -0
  593. package/lib/typescript/module/src/components/Mark/index.d.ts +14 -0
  594. package/lib/typescript/module/src/components/Mark/index.d.ts.map +1 -0
  595. package/lib/typescript/module/src/components/MediaQuery/index.d.ts +24 -0
  596. package/lib/typescript/module/src/components/MediaQuery/index.d.ts.map +1 -0
  597. package/lib/typescript/module/src/components/Menu/index.d.ts +64 -0
  598. package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -0
  599. package/lib/typescript/module/src/components/Modal/index.d.ts +40 -0
  600. package/lib/typescript/module/src/components/Modal/index.d.ts.map +1 -0
  601. package/lib/typescript/module/src/components/MultiSelect/index.d.ts +53 -0
  602. package/lib/typescript/module/src/components/MultiSelect/index.d.ts.map +1 -0
  603. package/lib/typescript/module/src/components/NativeSelect/index.d.ts +45 -0
  604. package/lib/typescript/module/src/components/NativeSelect/index.d.ts.map +1 -0
  605. package/lib/typescript/module/src/components/NavLink/index.d.ts +30 -0
  606. package/lib/typescript/module/src/components/NavLink/index.d.ts.map +1 -0
  607. package/lib/typescript/module/src/components/Notification/index.d.ts +28 -0
  608. package/lib/typescript/module/src/components/Notification/index.d.ts.map +1 -0
  609. package/lib/typescript/module/src/components/NumberInput/index.d.ts +47 -0
  610. package/lib/typescript/module/src/components/NumberInput/index.d.ts.map +1 -0
  611. package/lib/typescript/module/src/components/Overlay/index.d.ts +24 -0
  612. package/lib/typescript/module/src/components/Overlay/index.d.ts.map +1 -0
  613. package/lib/typescript/module/src/components/Pagination/index.d.ts +37 -0
  614. package/lib/typescript/module/src/components/Pagination/index.d.ts.map +1 -0
  615. package/lib/typescript/module/src/components/Paper/index.d.ts +18 -0
  616. package/lib/typescript/module/src/components/Paper/index.d.ts.map +1 -0
  617. package/lib/typescript/module/src/components/PasswordInput/index.d.ts +15 -0
  618. package/lib/typescript/module/src/components/PasswordInput/index.d.ts.map +1 -0
  619. package/lib/typescript/module/src/components/PinInput/index.d.ts +33 -0
  620. package/lib/typescript/module/src/components/PinInput/index.d.ts.map +1 -0
  621. package/lib/typescript/module/src/components/Popover/index.d.ts +44 -0
  622. package/lib/typescript/module/src/components/Popover/index.d.ts.map +1 -0
  623. package/lib/typescript/module/src/components/Portal/index.d.ts +10 -0
  624. package/lib/typescript/module/src/components/Portal/index.d.ts.map +1 -0
  625. package/lib/typescript/module/src/components/Progress/index.d.ts +29 -0
  626. package/lib/typescript/module/src/components/Progress/index.d.ts.map +1 -0
  627. package/lib/typescript/module/src/components/Radio/index.d.ts +24 -0
  628. package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
  629. package/lib/typescript/module/src/components/Rating/index.d.ts +32 -0
  630. package/lib/typescript/module/src/components/Rating/index.d.ts.map +1 -0
  631. package/lib/typescript/module/src/components/RingProgress/index.d.ts +61 -0
  632. package/lib/typescript/module/src/components/RingProgress/index.d.ts.map +1 -0
  633. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts +35 -0
  634. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts.map +1 -0
  635. package/lib/typescript/module/src/components/Select/index.d.ts +53 -0
  636. package/lib/typescript/module/src/components/Select/index.d.ts.map +1 -0
  637. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts +22 -0
  638. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts.map +1 -0
  639. package/lib/typescript/module/src/components/Skeleton/index.d.ts +22 -0
  640. package/lib/typescript/module/src/components/Skeleton/index.d.ts.map +1 -0
  641. package/lib/typescript/module/src/components/Slider/index.d.ts +43 -0
  642. package/lib/typescript/module/src/components/Slider/index.d.ts.map +1 -0
  643. package/lib/typescript/module/src/components/Space/index.d.ts +13 -0
  644. package/lib/typescript/module/src/components/Space/index.d.ts.map +1 -0
  645. package/lib/typescript/module/src/components/Spoiler/index.d.ts +22 -0
  646. package/lib/typescript/module/src/components/Spoiler/index.d.ts.map +1 -0
  647. package/lib/typescript/module/src/components/Stack/index.d.ts.map +1 -1
  648. package/lib/typescript/module/src/components/Stepper/index.d.ts +55 -0
  649. package/lib/typescript/module/src/components/Stepper/index.d.ts.map +1 -0
  650. package/lib/typescript/module/src/components/Switch/index.d.ts +24 -0
  651. package/lib/typescript/module/src/components/Switch/index.d.ts.map +1 -0
  652. package/lib/typescript/module/src/components/Table/index.d.ts +72 -0
  653. package/lib/typescript/module/src/components/Table/index.d.ts.map +1 -0
  654. package/lib/typescript/module/src/components/Text/index.d.ts +4 -0
  655. package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -1
  656. package/lib/typescript/module/src/components/TextInput/index.d.ts +31 -0
  657. package/lib/typescript/module/src/components/TextInput/index.d.ts.map +1 -0
  658. package/lib/typescript/module/src/components/Textarea/index.d.ts +12 -0
  659. package/lib/typescript/module/src/components/Textarea/index.d.ts.map +1 -0
  660. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts +21 -0
  661. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts.map +1 -0
  662. package/lib/typescript/module/src/components/Timeline/index.d.ts +52 -0
  663. package/lib/typescript/module/src/components/Timeline/index.d.ts.map +1 -0
  664. package/lib/typescript/module/src/components/Title/index.d.ts +14 -0
  665. package/lib/typescript/module/src/components/Title/index.d.ts.map +1 -0
  666. package/lib/typescript/module/src/components/Tooltip/index.d.ts +36 -0
  667. package/lib/typescript/module/src/components/Tooltip/index.d.ts.map +1 -0
  668. package/lib/typescript/module/src/components/TransferList/index.d.ts +42 -0
  669. package/lib/typescript/module/src/components/TransferList/index.d.ts.map +1 -0
  670. package/lib/typescript/module/src/components/Transition/index.d.ts +25 -0
  671. package/lib/typescript/module/src/components/Transition/index.d.ts.map +1 -0
  672. package/lib/typescript/module/src/components/index.d.ts +69 -0
  673. package/lib/typescript/module/src/components/index.d.ts.map +1 -1
  674. package/lib/typescript/module/src/theme/create-theme.d.ts.map +1 -1
  675. package/lib/typescript/module/src/theme/default-theme.d.ts +20 -0
  676. package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -1
  677. package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -1
  678. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts +23 -0
  679. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts.map +1 -0
  680. package/lib/typescript/module/src/theme/functions/fns/index.d.ts +22 -1
  681. package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -1
  682. package/lib/typescript/module/src/theme/functions/fns/radius.d.ts.map +1 -1
  683. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  684. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  685. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +19 -1
  686. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -1
  687. package/lib/typescript/module/src/theme/theme-provider.d.ts.map +1 -1
  688. package/lib/typescript/module/src/theme/utils/rem.d.ts +2 -2
  689. package/lib/typescript/module/src/theme/utils/rem.d.ts.map +1 -1
  690. package/package.json +11 -8
  691. package/src/components/Accordion/index.tsx +297 -0
  692. package/src/components/ActionIcon/ActionIcon.tsx +61 -44
  693. package/src/components/Anchor/index.tsx +139 -0
  694. package/src/components/AspectRatio/index.tsx +68 -0
  695. package/src/components/Avatar/index.tsx +164 -0
  696. package/src/components/BackgroundImage/index.tsx +77 -0
  697. package/src/components/Badge/index.tsx +193 -0
  698. package/src/components/Blockquote/index.tsx +104 -0
  699. package/src/components/BoxView/index.tsx +90 -2
  700. package/src/components/Breadcrumbs/index.tsx +64 -0
  701. package/src/components/Burger/index.tsx +230 -0
  702. package/src/components/Button/Button.styles.ts +36 -16
  703. package/src/components/Button/index.tsx +3 -1
  704. package/src/components/Card/index.tsx +166 -0
  705. package/src/components/Center/index.tsx +40 -0
  706. package/src/components/Checkbox/index.tsx +168 -0
  707. package/src/components/Chip/index.tsx +350 -0
  708. package/src/components/CloseButton/index.tsx +154 -0
  709. package/src/components/Code/index.tsx +83 -0
  710. package/src/components/Collapse/index.tsx +108 -0
  711. package/src/components/ColorSwatch/index.tsx +106 -0
  712. package/src/components/Container/index.tsx +92 -0
  713. package/src/components/CopyButton/index.tsx +60 -0
  714. package/src/components/Dialog/index.tsx +189 -0
  715. package/src/components/Divider/index.tsx +161 -0
  716. package/src/components/Drawer/index.tsx +315 -0
  717. package/src/components/Flex/index.tsx +87 -0
  718. package/src/components/Grid/index.tsx +167 -0
  719. package/src/components/Group/index.tsx +24 -5
  720. package/src/components/Highlight/index.tsx +93 -0
  721. package/src/components/Image/index.tsx +180 -0
  722. package/src/components/Indicator/index.tsx +240 -0
  723. package/src/components/Kbd/index.tsx +84 -0
  724. package/src/components/List/index.tsx +294 -0
  725. package/src/components/Loader/Loader.tsx +27 -17
  726. package/src/components/LoadingOverlay/index.tsx +103 -0
  727. package/src/components/Mark/index.tsx +51 -0
  728. package/src/components/MediaQuery/index.tsx +133 -0
  729. package/src/components/Menu/index.tsx +395 -0
  730. package/src/components/Modal/index.tsx +318 -0
  731. package/src/components/MultiSelect/index.tsx +458 -0
  732. package/src/components/NativeSelect/index.tsx +387 -0
  733. package/src/components/NavLink/index.tsx +205 -0
  734. package/src/components/Notification/index.tsx +175 -0
  735. package/src/components/NumberInput/index.tsx +356 -0
  736. package/src/components/Overlay/index.tsx +100 -0
  737. package/src/components/Pagination/index.tsx +336 -0
  738. package/src/components/Paper/index.tsx +155 -0
  739. package/src/components/PasswordInput/index.tsx +78 -0
  740. package/src/components/PinInput/index.tsx +251 -0
  741. package/src/components/Popover/index.tsx +244 -0
  742. package/src/components/Portal/index.tsx +75 -0
  743. package/src/components/Progress/index.tsx +182 -0
  744. package/src/components/Radio/index.tsx +169 -0
  745. package/src/components/Rating/index.tsx +214 -0
  746. package/src/components/RingProgress/index.tsx +206 -0
  747. package/src/components/SegmentedControl/index.tsx +259 -0
  748. package/src/components/Select/index.tsx +377 -0
  749. package/src/components/SimpleGrid/index.tsx +119 -0
  750. package/src/components/Skeleton/index.tsx +149 -0
  751. package/src/components/Slider/index.tsx +338 -0
  752. package/src/components/Space/index.tsx +48 -0
  753. package/src/components/Spoiler/index.tsx +123 -0
  754. package/src/components/Stepper/index.tsx +388 -0
  755. package/src/components/Switch/index.tsx +146 -0
  756. package/src/components/Table/index.tsx +402 -0
  757. package/src/components/Text/index.tsx +6 -1
  758. package/src/components/TextInput/index.tsx +232 -0
  759. package/src/components/Textarea/index.tsx +61 -0
  760. package/src/components/ThemeIcon/index.tsx +167 -0
  761. package/src/components/Timeline/index.tsx +331 -0
  762. package/src/components/Title/index.tsx +53 -0
  763. package/src/components/Tooltip/index.tsx +259 -0
  764. package/src/components/TransferList/index.tsx +399 -0
  765. package/src/components/Transition/index.tsx +225 -0
  766. package/src/components/index.tsx +101 -0
  767. package/src/theme/create-theme.ts +3 -1
  768. package/src/theme/default-theme.ts +24 -0
  769. package/src/theme/functions/attach-functions.ts +8 -1
  770. package/src/theme/functions/fns/helpers.ts +36 -0
  771. package/src/theme/functions/fns/index.ts +2 -0
  772. package/src/theme/functions/fns/theme-color/theme-color.ts +34 -3
  773. package/src/theme/functions/fns/variant.ts +110 -2
  774. package/src/theme/get-size/index.ts +2 -2
  775. package/src/theme/theme-provider.tsx +7 -7
  776. package/src/theme/utils/rem.ts +9 -7
@@ -1 +1 @@
1
- {"version":3,"names":["attachFunctions","DEFAULT_COLORS","dark","gray","gray2","red","pink","grape","violet","indigo","blue","cyan","teal","green","lime","yellow","orange","secondary","tintColorLight","tintColorDark","_DEFAULT_THEME","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","localColor","primaryShade","colors","primaryColor","secondaryColor","secondaryBgColor","light","text","background","backgroundSecondary","backgroundThird","tint","tabIconDefault","tabIconSelected","components","other","shadows","xs","sm","md","lg","xl","fontSizes","defaultRadius","radius","spacing","headings","fontWeight","sizes","h1","fontSize","lineHeight","undefined","h2","h3","h4","h5","h6","window","width","height","primaryBgColor","primaryTextColor","DEFAULT_THEME"],"sourceRoot":"../../../src","sources":["theme/default-theme.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAG9D,OAAO,MAAMC,cAEZ,GAAG;EACFC,IAAI,EAAE,CACJ,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;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DC,EAAE,EAAE;QAAEH,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,IAAI;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC7DE,EAAE,EAAE;QAAEJ,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DG,EAAE,EAAE;QAAEL,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,IAAI;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC7DI,EAAE,EAAE;QAAEN,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DK,EAAE,EAAE;QAAEP,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU;IAC7D;EACF,CAAC;EACDM,MAAM,EAAE;IACNC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE;EACV,CAAC;EACDC,cAAc,EAAE,OAAO;EACvBC,gBAAgB,EAAE;AACpB,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGpE,eAAe,CAACoB,cAAc,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["attachFunctions","DEFAULT_COLORS","dark","gray","gray2","red","pink","grape","violet","indigo","blue","cyan","teal","green","lime","yellow","orange","secondary","tintColorLight","tintColorDark","_DEFAULT_THEME","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","localColor","primaryShade","colors","primaryColor","secondaryColor","secondaryBgColor","white","black","light","text","background","backgroundSecondary","backgroundThird","tint","tabIconDefault","tabIconSelected","components","other","shadows","xs","sm","md","lg","xl","fontSizes","defaultRadius","radius","spacing","headings","fontWeight","sizes","h1","fontSize","lineHeight","undefined","h2","h3","h4","h5","h6","window","width","height","primaryBgColor","primaryTextColor","DEFAULT_THEME"],"sourceRoot":"../../../src","sources":["theme/default-theme.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAG9D,OAAO,MAAMC,cAEZ,GAAG;EACFC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EACDC,KAAK,EAAE,CACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,GAAG,EAAE,CACH,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,KAAK,EAAE,CACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,MAAM,EAAE,CACN,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,MAAM,EAAE,CACN,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS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AAE,EAAE;IACNC,EAAE,EAAE;EACN,CAAC;EACDK,QAAQ,EAAE;IACRhC,UAAU,EAAE,aAAa;IACzBiC,UAAU,EAAE,GAAG;IACfC,KAAK,EAAE;MACLC,EAAE,EAAE;QAAEC,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DC,EAAE,EAAE;QAAEH,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,IAAI;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC7DE,EAAE,EAAE;QAAEJ,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DG,EAAE,EAAE;QAAEL,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,IAAI;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC7DI,EAAE,EAAE;QAAEN,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU,CAAC;MAC5DK,EAAE,EAAE;QAAEP,QAAQ,EAAE,EAAE;QAAEC,UAAU,EAAE,GAAG;QAAEJ,UAAU,EAAEK;MAAU;IAC7D;EACF,CAAC;EACDM,MAAM,EAAE;IACNC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE;EACV,CAAC;EACDC,cAAc,EAAE,OAAO;EACvBC,gBAAgB,EAAE;AACpB,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGtE,eAAe,CAACoB,cAAc,CAAC","ignoreList":[]}
@@ -7,8 +7,18 @@ export function attachFunctions(themeBase) {
7
7
  fn: {
8
8
  radius: fns.radius(themeBase),
9
9
  variant: fns.variant(themeBase),
10
- themeColor: fns.themeColor(themeBase)
11
- }
10
+ themeColor: (color, shade) => fns.themeColor({
11
+ theme: themeBase,
12
+ color,
13
+ shade
14
+ }),
15
+ fontStyles: fns.fontStyles(themeBase),
16
+ focusStyles: fns.focusStyles(themeBase),
17
+ placeholderStyles: fns.placeholderStyles(themeBase),
18
+ cover: fns.cover(themeBase),
19
+ hover: fns.hover(themeBase)
20
+ },
21
+ activeStyles: fns.activeStyles(themeBase)
12
22
  };
13
23
  }
14
24
  //# sourceMappingURL=attach-functions.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["fns","attachFunctions","themeBase","fn","radius","variant","themeColor"],"sourceRoot":"../../../../src","sources":["theme/functions/attach-functions.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,gBAAO;AAE3B,OAAO,SAASC,eAAeA,CAACC,SAAc,EAAO;EACnD,OAAO;IACL,GAAGA,SAAS;IACZC,EAAE,EAAE;MACFC,MAAM,EAAEJ,GAAG,CAACI,MAAM,CAACF,SAAS,CAAC;MAC7BG,OAAO,EAAEL,GAAG,CAACK,OAAO,CAACH,SAAS,CAAC;MAC/BI,UAAU,EAAEN,GAAG,CAACM,UAAU,CAACJ,SAAS;IACtC;EACF,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["fns","attachFunctions","themeBase","fn","radius","variant","themeColor","color","shade","theme","fontStyles","focusStyles","placeholderStyles","cover","hover","activeStyles"],"sourceRoot":"../../../../src","sources":["theme/functions/attach-functions.ts"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,gBAAO;AAE3B,OAAO,SAASC,eAAeA,CAACC,SAAc,EAAO;EACnD,OAAO;IACL,GAAGA,SAAS;IACZC,EAAE,EAAE;MACFC,MAAM,EAAEJ,GAAG,CAACI,MAAM,CAACF,SAAS,CAAC;MAC7BG,OAAO,EAAEL,GAAG,CAACK,OAAO,CAACH,SAAS,CAAC;MAC/BI,UAAU,EAAEA,CAACC,KAAa,EAAEC,KAAc,KACxCR,GAAG,CAACM,UAAU,CAAC;QAAEG,KAAK,EAAEP,SAAS;QAAEK,KAAK;QAAEC;MAAM,CAAC,CAAC;MACpDE,UAAU,EAAEV,GAAG,CAACU,UAAU,CAACR,SAAS,CAAC;MACrCS,WAAW,EAAEX,GAAG,CAACW,WAAW,CAACT,SAAS,CAAC;MACvCU,iBAAiB,EAAEZ,GAAG,CAACY,iBAAiB,CAACV,SAAS,CAAC;MACnDW,KAAK,EAAEb,GAAG,CAACa,KAAK,CAACX,SAAS,CAAC;MAC3BY,KAAK,EAAEd,GAAG,CAACc,KAAK,CAACZ,SAAS;IAC5B,CAAC;IACDa,YAAY,EAAEf,GAAG,CAACe,YAAY,CAACb,SAAS;EAC1C,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ export const fontStyles = theme => () => ({
4
+ fontFamily: theme.fontFamily
5
+ });
6
+ export const focusStyles = _theme => () => ({
7
+ // Focus styles for accessibility
8
+ // In React Native, we typically don't use outline
9
+ // but can add other focus indicators if needed
10
+ });
11
+ export const placeholderStyles = _theme => () => ({
12
+ // Placeholder styles for inputs
13
+ opacity: 0.6
14
+ });
15
+ export const cover = _theme => (offset = 0) => ({
16
+ position: 'absolute',
17
+ top: offset,
18
+ right: offset,
19
+ bottom: offset,
20
+ left: offset
21
+ });
22
+ export const hover = _theme => styles => ({
23
+ // Hover styles (primarily for web, limited support in React Native)
24
+ // Can be applied via TouchableOpacity/Pressable activeOpacity instead
25
+ ...styles
26
+ });
27
+ export const activeStyles = _theme => ({
28
+ // Active/pressed state styles
29
+ opacity: 0.8,
30
+ transform: [{
31
+ scale: 0.98
32
+ }]
33
+ });
34
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["fontStyles","theme","fontFamily","focusStyles","_theme","placeholderStyles","opacity","cover","offset","position","top","right","bottom","left","hover","styles","activeStyles","transform","scale"],"sourceRoot":"../../../../../src","sources":["theme/functions/fns/helpers.ts"],"mappings":";;AAEA,OAAO,MAAMA,UAAU,GAAIC,KAAmB,IAAK,OAAO;EACxDC,UAAU,EAAED,KAAK,CAACC;AACpB,CAAC,CAAC;AAEF,OAAO,MAAMC,WAAW,GAAIC,MAAoB,IAAK,OAAO;EAC1D;EACA;EACA;AAAA,CACD,CAAC;AAEF,OAAO,MAAMC,iBAAiB,GAAID,MAAoB,IAAK,OAAO;EAChE;EACAE,OAAO,EAAE;AACX,CAAC,CAAC;AAEF,OAAO,MAAMC,KAAK,GAAIH,MAAoB,IAAK,CAACI,MAAc,GAAG,CAAC,MAAM;EACtEC,QAAQ,EAAE,UAAmB;EAC7BC,GAAG,EAAEF,MAAM;EACXG,KAAK,EAAEH,MAAM;EACbI,MAAM,EAAEJ,MAAM;EACdK,IAAI,EAAEL;AACR,CAAC,CAAC;AAEF,OAAO,MAAMM,KAAK,GAAIV,MAAoB,IAAMW,MAAW,KAAM;EAC/D;EACA;EACA,GAAGA;AACL,CAAC,CAAC;AAEF,OAAO,MAAMC,YAAY,GAAIZ,MAAoB,KAAM;EACrD;EACAE,OAAO,EAAE,GAAG;EACZW,SAAS,EAAE,CAAC;IAAEC,KAAK,EAAE;EAAK,CAAC;AAC7B,CAAC,CAAC","ignoreList":[]}
@@ -3,9 +3,11 @@
3
3
  import { radius } from "./radius.js";
4
4
  import { themeColor } from "./theme-color/theme-color.js";
5
5
  import { variant } from "./variant.js";
6
+ import * as helpers from "./helpers.js";
6
7
  export const fns = {
7
8
  radius,
8
9
  variant,
9
- themeColor
10
+ themeColor,
11
+ ...helpers
10
12
  };
11
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["radius","themeColor","variant","fns"],"sourceRoot":"../../../../../src","sources":["theme/functions/fns/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU;AACjC,SAASC,UAAU,QAAQ,8BAA2B;AACtD,SAASC,OAAO,QAAQ,cAAW;AAEnC,OAAO,MAAMC,GAAG,GAAG;EACjBH,MAAM;EACNE,OAAO;EACPD;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["radius","themeColor","variant","helpers","fns"],"sourceRoot":"../../../../../src","sources":["theme/functions/fns/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU;AACjC,SAASC,UAAU,QAAQ,8BAA2B;AACtD,SAASC,OAAO,QAAQ,cAAW;AACnC,OAAO,KAAKC,OAAO,MAAM,cAAW;AAEpC,OAAO,MAAMC,GAAG,GAAG;EACjBJ,MAAM;EACNE,OAAO;EACPD,UAAU;EACV,GAAGE;AACL,CAAC","ignoreList":[]}
@@ -1,8 +1,30 @@
1
1
  "use strict";
2
2
 
3
- export function themeColor(_theme) {
4
- return _theme => {
5
- return {};
6
- };
3
+ export function themeColor({
4
+ theme,
5
+ color,
6
+ shade
7
+ }) {
8
+ if (!color) {
9
+ return '';
10
+ }
11
+
12
+ // If it's a hex/rgb color, return as is
13
+ if (color.startsWith('#') || color.startsWith('rgb') || color.startsWith('hsl')) {
14
+ return color;
15
+ }
16
+
17
+ // Get from theme colors
18
+ const colorPalette = theme.colors[color];
19
+ if (!colorPalette) {
20
+ // If color not in palette, return as is (might be a CSS color name)
21
+ return color;
22
+ }
23
+
24
+ // Use provided shade or default to primaryShade
25
+ const colorShade = shade !== undefined ? shade : theme.primaryShade;
26
+
27
+ // Return the color at the specified shade
28
+ return colorPalette[colorShade] || colorPalette[0] || color;
7
29
  }
8
30
  //# sourceMappingURL=theme-color.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["themeColor","_theme"],"sourceRoot":"../../../../../../src","sources":["theme/functions/fns/theme-color/theme-color.ts"],"mappings":";;AACA,OAAO,SAASA,UAAUA,CAACC,MAAW,EAAE;EACtC,OAAQA,MAAW,IAAK;IACtB,OAAO,CAAC,CAAC;EACX,CAAC;AACH","ignoreList":[]}
1
+ {"version":3,"names":["themeColor","theme","color","shade","startsWith","colorPalette","colors","colorShade","undefined","primaryShade"],"sourceRoot":"../../../../../../src","sources":["theme/functions/fns/theme-color/theme-color.ts"],"mappings":";;AASA,OAAO,SAASA,UAAUA,CAAC;EAAEC,KAAK;EAAEC,KAAK;EAAEC;AAAuB,CAAC,EAAU;EAC3E,IAAI,CAACD,KAAK,EAAE;IACV,OAAO,EAAE;EACX;;EAEA;EACA,IACEA,KAAK,CAACE,UAAU,CAAC,GAAG,CAAC,IACrBF,KAAK,CAACE,UAAU,CAAC,KAAK,CAAC,IACvBF,KAAK,CAACE,UAAU,CAAC,KAAK,CAAC,EACvB;IACA,OAAOF,KAAK;EACd;;EAEA;EACA,MAAMG,YAAY,GAAGJ,KAAK,CAACK,MAAM,CAACJ,KAAK,CAAC;EAExC,IAAI,CAACG,YAAY,EAAE;IACjB;IACA,OAAOH,KAAK;EACd;;EAEA;EACA,MAAMK,UAAU,GAAGJ,KAAK,KAAKK,SAAS,GAAGL,KAAK,GAAGF,KAAK,CAACQ,YAAY;;EAEnE;EACA,OAAOJ,YAAY,CAACE,UAAU,CAAC,IAAIF,YAAY,CAAC,CAAC,CAAC,IAAIH,KAAK;AAC7D","ignoreList":[]}
@@ -1,6 +1,93 @@
1
1
  "use strict";
2
2
 
3
- export const variant = _theme => _variant => {
4
- return {};
3
+ import { themeColor } from "./theme-color/theme-color.js";
4
+ export const variant = theme => input => {
5
+ const {
6
+ variant,
7
+ color = theme.primaryColor,
8
+ gradient
9
+ } = input;
10
+ const primaryShade = theme.primaryShade;
11
+ const getColor = (c, shade) => themeColor({
12
+ theme,
13
+ color: c,
14
+ shade
15
+ });
16
+ switch (variant) {
17
+ case 'filled':
18
+ {
19
+ const filledColor = getColor(color, primaryShade);
20
+ return {
21
+ background: filledColor,
22
+ color: '#fff',
23
+ border: filledColor,
24
+ hover: getColor(color, primaryShade > 0 ? primaryShade + 1 : primaryShade)
25
+ };
26
+ }
27
+ case 'light':
28
+ {
29
+ return {
30
+ background: getColor(color, 0),
31
+ color: getColor(color, primaryShade > 6 ? primaryShade : 7),
32
+ border: 'transparent',
33
+ hover: getColor(color, 1)
34
+ };
35
+ }
36
+ case 'outline':
37
+ {
38
+ const outlineColor = getColor(color, primaryShade);
39
+ return {
40
+ background: 'transparent',
41
+ color: outlineColor,
42
+ border: outlineColor,
43
+ hover: getColor(color, 0)
44
+ };
45
+ }
46
+ case 'subtle':
47
+ {
48
+ return {
49
+ background: 'transparent',
50
+ color: getColor(color, primaryShade),
51
+ border: 'transparent',
52
+ hover: getColor(color, 0)
53
+ };
54
+ }
55
+ case 'white':
56
+ {
57
+ return {
58
+ background: '#fff',
59
+ color: getColor(color, primaryShade),
60
+ border: '#fff',
61
+ hover: '#f8f9fa'
62
+ };
63
+ }
64
+ case 'default':
65
+ {
66
+ return {
67
+ background: theme.light.background,
68
+ color: theme.light.text,
69
+ border: theme.colors.gray?.[4] || '#ced4da',
70
+ hover: theme.colors.gray?.[0] || '#f8f9fa'
71
+ };
72
+ }
73
+ case 'gradient':
74
+ {
75
+ const from = gradient?.from || theme.primaryColor;
76
+ const to = gradient?.to || theme.primaryColor;
77
+ return {
78
+ background: `linear-gradient(${gradient?.deg || 45}deg, ${getColor(from, primaryShade)}, ${getColor(to, primaryShade)})`,
79
+ color: '#fff',
80
+ border: 'transparent'
81
+ };
82
+ }
83
+ default:
84
+ {
85
+ return {
86
+ background: getColor(color, primaryShade),
87
+ color: '#fff',
88
+ border: getColor(color, primaryShade)
89
+ };
90
+ }
91
+ }
5
92
  };
6
93
  //# sourceMappingURL=variant.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["variant","_theme","_variant"],"sourceRoot":"../../../../../src","sources":["theme/functions/fns/variant.ts"],"mappings":";;AAAA,OAAO,MAAMA,OAAO,GAAIC,MAAW,IAAMC,QAAgB,IAAK;EAC5D,OAAO,CAAC,CAAC;AACX,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["themeColor","variant","theme","input","color","primaryColor","gradient","primaryShade","getColor","c","shade","filledColor","background","border","hover","outlineColor","light","text","colors","gray","from","to","deg"],"sourceRoot":"../../../../../src","sources":["theme/functions/fns/variant.ts"],"mappings":";;AAEA,SAASA,UAAU,QAAQ,8BAA2B;AAuBtD,OAAO,MAAMC,OAAO,GAAIC,KAAmB,IAAMC,KAAmB,IAAoB;EACtF,MAAM;IACJF,OAAO;IACPG,KAAK,GAAGF,KAAK,C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(size in sizes) {
7
+ if (sizes && typeof sizes === 'object' && size in sizes) {
8
8
  return sizes[size];
9
9
  }
10
- return size || sizes.md;
10
+ return size || sizes?.md;
11
11
  }
12
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["getSize","size","sizes","md"],"sourceRoot":"../../../../src","sources":["theme/get-size/index.ts"],"mappings":";;AAEA,OAAO,SAASA,OAAOA,CAIrB;EACAC,IAAI;EACJC;AAIF,CAAC,EAAwE;EACvE,IAAID,IAAI,IAAIC,KAAK,EAAE;IACjB,OAAOA,KAAK,CAACD,IAAI,CAAQ;EAC3B;EACA,OAAQA,IAAI,IAAYC,KAAK,CAACC,EAAE;AAClC","ignoreList":[]}
1
+ {"version":3,"names":["getSize","size","sizes","md"],"sourceRoot":"../../../../src","sources":["theme/get-size/index.ts"],"mappings":";;AAEA,OAAO,SAASA,OAAOA,CAIrB;EACAC,IAAI;EACJC;AAIF,CAAC,EAAwE;EACvE,IAAIA,KAAK,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAID,IAAI,IAAIC,KAAK,EAAE;IACvD,OAAOA,KAAK,CAACD,IAAI,CAAQ;EAC3B;EACA,OAAQA,IAAI,IAAYC,KAAK,EAAEC,EAAE;AACnC","ignoreList":[]}
@@ -2,11 +2,11 @@
2
2
 
3
3
  import { get } from 'lodash-es';
4
4
  import React, { createContext, useContext, useEffect, useMemo, useState } from 'react';
5
- import { ActivityIndicator, Appearance, Platform } from 'react-native';
5
+ import { Appearance, Platform } from 'react-native';
6
6
  import { Layout } from "./constants.js";
7
7
  import { createTheme } from "./create-theme.js";
8
8
  import { filterProps } from "./filter-props.js";
9
- import useCachedResources from "../hooks/useCachedResources.js";
9
+ // import useCachedResources from '../hooks/useCachedResources';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
11
  export const ThemeContext = /*#__PURE__*/createContext(null);
12
12
  export const ThemeProvider = ({
@@ -68,13 +68,15 @@ export const Theme = ({
68
68
  theme: themeOverwrite,
69
69
  forceMode
70
70
  }) => {
71
- const loaded = useCachedResources();
71
+ // const loaded = useCachedResources();
72
+
72
73
  const theme = useMemo(() => {
73
74
  return createTheme(themeOverwrite);
74
75
  }, [themeOverwrite]);
75
- if (!loaded) {
76
- return /*#__PURE__*/_jsx(ActivityIndicator, {});
77
- }
76
+
77
+ // if (!loaded) {
78
+ // return <ActivityIndicator />;
79
+ // }
78
80
  return /*#__PURE__*/_jsx(ThemeProvider, {
79
81
  theme: theme,
80
82
  forceMode: forceMode,
@@ -83,7 +85,7 @@ export const Theme = ({
83
85
  };
84
86
  export function useComponentDefaultProps(component, defaultProps, props) {
85
87
  const theme = useTheme();
86
- const contextPropsPayload = theme.components[component]?.defaultProps;
88
+ const contextPropsPayload = theme?.components?.[component]?.defaultProps;
87
89
  const contextProps = typeof contextPropsPayload === 'function' ? contextPropsPayload(theme) : contextPropsPayload;
88
90
  return {
89
91
  ...defaultProps,
@@ -1 +1 @@
1
- {"version":3,"names":["get","React","createContext","useContext","useEffect","useMemo","useState","ActivityIndicator","Appearance","Platform","Layout","createTheme","filterProps","useCachedResources","jsx","_jsx","ThemeContext","ThemeProvider","children","theme","forceMode","colors","primaryShade","primaryColor","secondaryColor","systemDarkMode","getColorScheme","currentMode","setCurrentMode","toggleMode","forceModeDevice","mode","setColorScheme","e","console","log","memoValue","darkTheme","light","dark","primaryTextColor","primaryBgColor","secondaryBgColor","window","isSmallDevice","screen","bottomNavBarHeight","isIOS","OS","OSVersion","Version","parseInt","Provider","value","useTheme","Theme","themeOverwrite","loaded","useComponentDefaultProps","component","defaultProps","props","contextPropsPayload","components","contextProps"],"sourceRoot":"../../../src","sources":["theme/theme-provider.tsx"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,WAAW;AAC/B,OAAOC,KAAK,IACVC,aAAa,EACbC,UAAU,EACVC,SAAS,EACTC,OAAO,EACPC,QAAQ,QACH,OAAO;AACd,SAASC,iBAAiB,EAAEC,UAAU,EAAEC,QAAQ,QAAQ,cAAc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;IACX,oBAAO1C,IAAA,CAACR,iBAAiB,IAAE,CAAC;EAC9B;EACA,oBACEQ,IAAA,CAACE,aAAa;IAACE,KAAK,EAAEA,KAAM;IAACC,SAAS,EAAEA,SAAU;IAAAF,QAAA,EAC/CA;EAAQ,CACI,CAAC;AAEpB,CAAC;AAED,OAAO,SAASwC,wBAAwBA,CAItCC,SAAiB,EACjBC,YAAe,EACfC,KAAQ,EAGR;EACA,MAAM1C,KAAK,GAAGmC,QAAQ,CAAC,CAAC;EACxB,MAAMQ,mBAAmB,GAAG3C,KAAK,CAAC4C,UAAU,CAACJ,SAAS,CAAC,EAAEC,YAAY;EACrE,MAAMI,YAAY,GAChB,OAAOF,mBAAmB,KAAK,UAAU,GACrCA,mBAAmB,CAAC3C,KAAK,CAAC,GAC1B2C,mBAAmB;EAEzB,OAAO;IAAE,GAAGF,YAAY;IAAE,GAAGI,YAAY;IAAE,GAAGpD,WAAW,CAACiD,KAAK;EAAE,CAAC;AACpE","ignoreList":[]}
1
+ {"version":3,"names":["get","React","createContext","useContext","useEffect","useMemo","useState","Appearance","Platform","Layout","createTheme","filterProps","jsx","_jsx","ThemeContext","ThemeProvider","children","theme","forceMode","colors","primaryShade","primaryColor","secondaryColor","systemDarkMode","getColorScheme","currentMode","setCurrentMode","toggleMode","forceModeDevice","mode","setColorScheme","e","console","log","memoValue","darkTheme","light","dark","primaryTextColor","primaryBgColor","secondaryBgColor","window","isSmallDevice","screen","bottomNavBarHeight","isIOS","OS","OSVersion","Version","parseInt","Provider","value","useTheme","Theme","themeOverwrite","useComponentDefaultProps","component","defaultProps","props","contextPropsPayload","components","contextProps"],"sourceRoot":"../../../src","sources":["theme/theme-provider.tsx"],"mappings":";;AAAA,SAASA,GAAG,QAAQ,WAAW;AAC/B,OAAOC,KAAK,IACVC,aAAa,EACbC,UAAU,EACVC,SAAS,EACTC,OAAO,EACPC,QAAQ,QACH,OAAO;AACd,SAASC,UAAU,EAAEC,QAAQ,QAAQ,cAAc;AAMnD,S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C/CA;EAAQ,CACI,CAAC;AAEpB,CAAC;AAED,OAAO,SAASuC,wBAAwBA,CAItCC,SAAiB,EACjBC,YAAe,EACfC,KAAQ,EAGR;EACA,MAAMzC,KAAK,GAAGmC,QAAQ,CAAC,CAAC;EACxB,MAAMO,mBAAmB,GAAG1C,KAAK,EAAE2C,UAAU,GAAGJ,SAAS,CAAC,EAAEC,YAAY;EACxE,MAAMI,YAAY,GAChB,OAAOF,mBAAmB,KAAK,UAAU,GACrCA,mBAAmB,CAAC1C,KAAK,CAAC,GAC1B0C,mBAAmB;EAEzB,OAAO;IAAE,GAAGF,YAAY;IAAE,GAAGI,YAAY;IAAE,GAAGlD,WAAW,CAAC+C,KAAK;EAAE,CAAC;AACpE","ignoreList":[]}
@@ -1,19 +1,21 @@
1
1
  "use strict";
2
2
 
3
- function createConverter(units) {
3
+ // React Native needs numeric values, not rem strings
4
+ // Convert rem to actual pixel values (16px base)
5
+ function createNumericConverter() {
4
6
  return px => {
5
7
  if (typeof px === 'number') {
6
- return `${px / 16}${units}`;
8
+ return px;
7
9
  }
8
10
  if (typeof px === 'string') {
9
11
  const replaced = px.replace('px', '');
10
12
  if (!Number.isNaN(Number(replaced))) {
11
- return `${Number(replaced) / 16}${units}`;
13
+ return Number(replaced);
12
14
  }
13
15
  }
14
- return px;
16
+ return typeof px === 'number' ? px : 0;
15
17
  };
16
18
  }
17
- export const rem = createConverter('rem');
18
- export const em = createConverter('em');
19
+ export const rem = createNumericConverter();
20
+ export const em = createNumericConverter();
19
21
  //# sourceMappingURL=rem.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createConverter","units","px","replaced","replace","Number","isNaN","rem","em"],"sourceRoot":"../../../../src","sources":["theme/utils/rem.ts"],"mappings":";;AAAA,SAASA,eAAeA,CAACC,KAAa,EAAE;EACtC,OAAQC,EAAW,IAAK;IACtB,IAAI,OAAOA,EAAE,KAAK,QAAQ,EAAE;MAC1B,OAAO,GAAGA,EAAE,GAAG,EAAE,GAAGD,KAAK,EAAE;IAC7B;IAEA,IAAI,OAAOC,EAAE,KAAK,QAAQ,EAAE;MAC1B,MAAMC,QAAQ,GAAGD,EAAE,CAACE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;MACrC,IAAI,CAACC,MAAM,CAACC,KAAK,CAACD,MAAM,CAACF,QAAQ,CAAC,CAAC,EAAE;QACnC,OAAO,GAAGE,MAAM,CAACF,QAAQ,CAAC,GAAG,EAAE,GAAGF,KAAK,EAAE;MAC3C;IACF;IAEA,OAAOC,EAAE;EACX,CAAC;AACH;AAEA,OAAO,MAAMK,GAAG,GAAGP,eAAe,CAAC,KAAK,CAAC;AACzC,OAAO,MAAMQ,EAAE,GAAGR,eAAe,CAAC,IAAI,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["createNumericConverter","px","replaced","replace","Number","isNaN","rem","em"],"sourceRoot":"../../../../src","sources":["theme/utils/rem.ts"],"mappings":";;AAAA;AACA;AACA,SAASA,sBAAsBA,CAAA,EAAG;EAChC,OAAQC,EAAW,IAAa;IAC9B,IAAI,OAAOA,EAAE,KAAK,QAAQ,EAAE;MAC1B,OAAOA,EAAE;IACX;IAEA,IAAI,OAAOA,EAAE,KAAK,QAAQ,EAAE;MAC1B,MAAMC,QAAQ,GAAGD,EAAE,CAACE,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;MACrC,IAAI,CAACC,MAAM,CAACC,KAAK,CAACD,MAAM,CAACF,QAAQ,CAAC,CAAC,EAAE;QACnC,OAAOE,MAAM,CAACF,QAAQ,CAAC;MACzB;IACF;IAEA,OAAO,OAAOD,EAAE,KAAK,QAAQ,GAAGA,EAAE,GAAG,CAAC;EACxC,CAAC;AACH;AAEA,OAAO,MAAMK,GAAG,GAAGN,sBAAsB,CAAC,CAAC;AAC3C,OAAO,MAAMO,EAAE,GAAGP,sBAAsB,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ import React from 'react';
2
+ import type { DefaultProps, MantineNumberSize, SpacingValue } from '../../theme/types';
3
+ export interface AccordionProps extends DefaultProps {
4
+ /** Accordion items */
5
+ children: React.ReactNode;
6
+ /** Allow multiple items to be opened at once */
7
+ multiple?: boolean;
8
+ /** Default opened items (uncontrolled) */
9
+ defaultValue?: string | string[];
10
+ /** Controlled opened items */
11
+ value?: string | string[];
12
+ /** Called when opened items change */
13
+ onChange?: (value: string | string[]) => void;
14
+ /** Accordion variant */
15
+ variant?: 'default' | 'contained' | 'separated';
16
+ /** Border radius */
17
+ radius?: MantineNumberSize;
18
+ /** Spacing between items (separated variant only) */
19
+ spacing?: SpacingValue;
20
+ /** Additional styles */
21
+ style?: any;
22
+ }
23
+ export interface AccordionItemProps extends DefaultProps {
24
+ /** Unique item value */
25
+ value: string;
26
+ /** Item label */
27
+ label?: React.ReactNode;
28
+ /** Item content */
29
+ children?: React.ReactNode;
30
+ /** Additional styles */
31
+ style?: any;
32
+ }
33
+ export interface AccordionControlProps extends DefaultProps {
34
+ /** Control content */
35
+ children?: React.ReactNode;
36
+ /** Additional styles */
37
+ style?: any;
38
+ }
39
+ export interface AccordionPanelProps extends DefaultProps {
40
+ /** Panel content */
41
+ children?: React.ReactNode;
42
+ /** Additional styles */
43
+ style?: any;
44
+ }
45
+ export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<any>>;
46
+ export declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<any>>;
47
+ export declare const AccordionControl: React.ForwardRefExoticComponent<AccordionControlProps & React.RefAttributes<any>>;
48
+ export declare const AccordionPanel: React.ForwardRefExoticComponent<AccordionPanelProps & React.RefAttributes<any>>;
49
+ interface SimpleAccordionItemProps extends AccordionItemProps {
50
+ label: React.ReactNode;
51
+ }
52
+ declare const SimpleAccordionItem: React.ForwardRefExoticComponent<SimpleAccordionItemProps & React.RefAttributes<any>>;
53
+ export { SimpleAccordionItem };
54
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sour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AED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAkFD,eAAO,MAAM,SAAS,4EAoDpB,CAAC;AAEH,eAAO,MAAM,aAAa,gFASxB,CAAC;AAEH,eAAO,MAAM,gBAAgB,mFAS3B,CAAC;AAEH,eAAO,MAAM,cAAc,iFASzB,CAAC;AAGH,UAAU,wBAAyB,SAAQ,kBAAkB;IAC3D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,QAAA,MAAM,mBAAmB,sFAyBvB,CAAC;AAaH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1,12 +1,12 @@
1
1
  export type ActionIconProps = {
2
2
  onPress?: (payload: any) => void;
3
3
  children?: React.ReactNode;
4
- icon: React.ReactNode;
5
- minWidth?: number;
4
+ color?: string;
5
+ variant?: 'filled' | 'light' | 'outline' | 'transparent' | 'default';
6
6
  style?: any;
7
- size?: any;
7
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
8
8
  };
9
- export declare const ActionIcon: ({ onPress, children, icon, minWidth, style, size, }: ActionIconProps) => React.ReactElement;
9
+ export declare const ActionIcon: import("react").ForwardRefExoticComponent<ActionIconProps & import("react").RefAttributes<any>>;
10
10
  export declare const sizes: {
11
11
  xs: number;
12
12
  sm: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionIcon/ActionIcon.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,UAAU,wDAOpB,eAAe,KAAG,KAAK,CAAC,YAa1B,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC"}
1
+ {"version":3,"file":"ActionIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ActionIcon/ActionIcon.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,CAAC;IACrE,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,UAAU,iGAsBtB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;;CAMjB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { Text as RNText, type TextStyle } from 'react-native';
3
+ import type { DefaultProps, MantineColor, MantineSize, Variants } from '../../theme/types';
4
+ export interface AnchorProps extends DefaultProps {
5
+ /** Anchor text color from theme */
6
+ color?: MantineColor;
7
+ /** Anchor text size */
8
+ size?: MantineSize;
9
+ /** Anchor text weight */
10
+ weight?: TextStyle['fontWeight'];
11
+ /** Underline style */
12
+ underline?: boolean;
13
+ /** Variant of anchor */
14
+ variant?: Variants<'text' | 'link'>;
15
+ /** URL to open when anchor is pressed (opens in browser) */
16
+ href?: string;
17
+ /** Called when anchor is pressed */
18
+ onPress?: () => void;
19
+ /** Anchor content */
20
+ children?: React.ReactNode;
21
+ /** Additional styles */
22
+ style?: any;
23
+ }
24
+ export declare const Anchor: React.ForwardRefExoticComponent<AnchorProps & React.RefAttributes<RNText>>;
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Anchor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,IAAI,MAAM,EAAW,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC/C,mCAAmC;IACnC,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,uBAAuB;IACvB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,yBAAyB;IACzB,MAAM,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAEjC,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,wBAAwB;IACxB,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEpC,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,oCAAoC;IACpC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAErB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAmED,eAAO,MAAM,MAAM,4EA6BjB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import type { DefaultProps } from '../../theme/types';
3
+ export interface AspectRatioProps extends DefaultProps {
4
+ /** Aspect ratio, e.g., 16/9, 4/3, 1 */
5
+ ratio: number;
6
+ /** Children to render inside aspect ratio container */
7
+ children?: React.ReactNode;
8
+ /** Additional styles */
9
+ style?: any;
10
+ }
11
+ export declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<any>>;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/AspectRatio/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IAEd,uDAAuD;IACvD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAqBD,eAAO,MAAM,WAAW,8EA4BtB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { type ImageProps } from 'react-native';
3
+ import type { DefaultProps, MantineColor, MantineNumberSize, MantineSize } from '../../theme/types';
4
+ export interface AvatarProps extends DefaultProps {
5
+ /** Image url */
6
+ src?: string | null;
7
+ /** Image alt text */
8
+ alt?: string;
9
+ /** Avatar size */
10
+ size?: MantineSize | number;
11
+ /** Key of theme.radius or any valid value to set border-radius */
12
+ radius?: MantineNumberSize;
13
+ /** Avatar color from theme */
14
+ color?: MantineColor;
15
+ /** Custom placeholder component */
16
+ children?: React.ReactNode;
17
+ /** Image props */
18
+ imageProps?: Partial<ImageProps>;
19
+ /** Additional styles */
20
+ style?: any;
21
+ }
22
+ export declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<any>>;
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Avatar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAGtD,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC/C,gBAAgB;IAChB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,qBAAqB;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,kBAAkB;IAClB,IAAI,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAE5B,kEAAkE;IAClE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,8BAA8B;IAC9B,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,kBAAkB;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAEjC,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAsED,eAAO,MAAM,MAAM,yEAqDjB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type ImageBackgroundProps, type ImageSourcePropType } from 'react-native';
3
+ import type { DefaultProps, MantineNumberSize } from '../../theme/types';
4
+ export interface BackgroundImageProps extends DefaultProps, Omit<ImageBackgroundProps, 'source'> {
5
+ /** Background image source */
6
+ source: ImageSourcePropType;
7
+ /** Key of theme.radius or any valid value to set border-radius */
8
+ radius?: MantineNumberSize;
9
+ /** Background image children */
10
+ children?: React.ReactNode;
11
+ /** Additional styles */
12
+ style?: any;
13
+ }
14
+ export declare const BackgroundImage: React.ForwardRefExoticComponent<BackgroundImageProps & React.RefAttributes<any>>;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/BackgroundImage/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAIzE,MAAM,WAAW,oBAAqB,SAAQ,YAAY,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,CAAC;IAC9F,8BAA8B;IAC9B,MAAM,EAAE,mBAAmB,CAAC;IAE5B,kEAAkE;IAClE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AA0BD,eAAO,MAAM,eAAe,kFA0B1B,CAAC"}
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import type { DefaultProps, MantineColor, MantineNumberSize, MantineSize, Variants } from '../../theme/types';
3
+ export interface BadgeProps extends DefaultProps {
4
+ /** Badge color from theme */
5
+ color?: MantineColor;
6
+ /** Controls badge appearance */
7
+ variant?: Variants<'filled' | 'light' | 'outline' | 'dot'>;
8
+ /** Badge size */
9
+ size?: MantineSize;
10
+ /** Key of theme.radius or any valid value to set border-radius */
11
+ radius?: MantineNumberSize;
12
+ /** Sets badge width to 100% of parent element */
13
+ fullWidth?: boolean;
14
+ /** Section displayed on the left side of badge */
15
+ leftSection?: React.ReactNode;
16
+ /** Section displayed on the right side of badge */
17
+ rightSection?: React.ReactNode;
18
+ /** Badge content */
19
+ children?: React.ReactNode;
20
+ /** Additional styles */
21
+ style?: any;
22
+ }
23
+ export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<any>>;
24
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACT,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,6BAA6B;IAC7B,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,gCAAgC;IAChC,OAAO,CAAC,EAAE,QAAQ,CAAC,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,CAAC;IAE3D,iBAAiB;IACjB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,kEAAkE;IAClE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,kDAAkD;IAClD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE9B,mDAAmD;IACnD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE/B,oBAAoB;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAwHD,eAAO,MAAM,KAAK,wEA6BhB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { DefaultProps, MantineColor, MantineNumberSize } from '../../theme/types';
3
+ export interface BlockquoteProps extends DefaultProps {
4
+ /** Blockquote color from theme */
5
+ color?: MantineColor;
6
+ /** Icon to display on the left side */
7
+ icon?: React.ReactNode;
8
+ /** Citation text */
9
+ cite?: React.ReactNode;
10
+ /** Border radius */
11
+ radius?: MantineNumberSize;
12
+ /** Blockquote content */
13
+ children?: React.ReactNode;
14
+ /** Additional styles */
15
+ style?: any;
16
+ }
17
+ export declare const Blockquote: React.ForwardRefExoticComponent<BlockquoteProps & React.RefAttributes<any>>;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Blockquote/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,iBAAiB,EAClB,MAAM,mBAAmB,CAAC;AAK3B,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,kCAAkC;IAClC,KAAK,CAAC,EAAE,YAAY,CAAC;IAErB,uCAAuC;IACvC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,oBAAoB;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEvB,oBAAoB;IACpB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,wBAAwB;IACxB,KAAK,CAAC,EAAE,GAAG,CAAC;CACb;AAsDD,eAAO,MAAM,UAAU,6EAiBrB,CAAC"}