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
@@ -0,0 +1,292 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TransferList = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _index = require("../BoxView/index.js");
10
+ var _index2 = require("../Text/index.js");
11
+ var _index3 = require("../Checkbox/index.js");
12
+ var _index4 = require("../Button/index.js");
13
+ var _index5 = require("../TextInput/index.js");
14
+ var _themeProvider = require("../../theme/theme-provider.js");
15
+ var _index6 = require("../../theme/index.js");
16
+ var _rem = require("../../theme/utils/rem.js");
17
+ var _jsxRuntime = require("react/jsx-runtime");
18
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
19
+ const useStyles = (0, _index6.createStyles)((theme, {
20
+ color,
21
+ radius,
22
+ listHeight
23
+ }) => {
24
+ const colors = theme.colors[color] || theme.colors[theme.primaryColor];
25
+ return {
26
+ root: {
27
+ flexDirection: 'column'
28
+ },
29
+ container: {
30
+ flexDirection: 'row',
31
+ justifyContent: 'space-between',
32
+ alignItems: 'stretch'
33
+ },
34
+ list: {
35
+ flex: 1,
36
+ borderWidth: 1,
37
+ borderColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3],
38
+ borderRadius: theme.fn.radius(radius),
39
+ overflow: 'hidden'
40
+ },
41
+ listHeader: {
42
+ padding: theme.spacing.sm,
43
+ borderBottomWidth: 1,
44
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3],
45
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[6] : (theme.colors.gray || [])[0]
46
+ },
47
+ title: {
48
+ fontSize: (0, _rem.rem)(14),
49
+ fontWeight: '600',
50
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black
51
+ },
52
+ searchContainer: {
53
+ padding: theme.spacing.xs,
54
+ borderBottomWidth: 1,
55
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[3]
56
+ },
57
+ itemsContainer: {
58
+ height: listHeight
59
+ },
60
+ item: {
61
+ flexDirection: 'row',
62
+ alignItems: 'center',
63
+ paddingVertical: (0, _rem.rem)(10),
64
+ paddingHorizontal: theme.spacing.sm,
65
+ borderBottomWidth: 1,
66
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[1]
67
+ },
68
+ itemSelected: {
69
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : colors?.[0] || (theme.colors.gray || [])[0]
70
+ },
71
+ itemText: {
72
+ marginLeft: theme.spacing.sm,
73
+ fontSize: (0, _rem.rem)(14),
74
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black
75
+ },
76
+ controls: {
77
+ width: (0, _rem.rem)(80),
78
+ justifyContent: 'center',
79
+ alignItems: 'center',
80
+ paddingHorizontal: theme.spacing.xs
81
+ },
82
+ button: {
83
+ marginVertical: theme.spacing.xs
84
+ },
85
+ emptyState: {
86
+ padding: theme.spacing.xl,
87
+ alignItems: 'center'
88
+ },
89
+ emptyText: {
90
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6],
91
+ fontSize: (0, _rem.rem)(12)
92
+ }
93
+ };
94
+ });
95
+ const defaultProps = {
96
+ titles: ['', ''],
97
+ searchPlaceholder: 'Search...',
98
+ searchable: false,
99
+ color: 'blue',
100
+ size: 'md',
101
+ radius: 'sm',
102
+ listHeight: 300,
103
+ transferAllMatchingFilter: false
104
+ };
105
+ const DefaultItem = ({
106
+ data,
107
+ selected
108
+ }) => {
109
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
110
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.Checkbox, {
111
+ checked: selected,
112
+ onChange: () => {}
113
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
114
+ children: data.label
115
+ })]
116
+ });
117
+ };
118
+ const TransferList = exports.TransferList = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
119
+ const {
120
+ value,
121
+ onChange,
122
+ titles,
123
+ searchPlaceholder,
124
+ searchable,
125
+ color,
126
+ size,
127
+ radius,
128
+ listHeight,
129
+ transferAllMatchingFilter,
130
+ itemComponent: ItemComponent = DefaultItem,
131
+ style,
132
+ ...others
133
+ } = (0, _themeProvider.useComponentDefaultProps)('TransferList', defaultProps, props);
134
+ const [leftSearch, setLeftSearch] = (0, _react.useState)('');
135
+ const [rightSearch, setRightSearch] = (0, _react.useState)('');
136
+ const {
137
+ styles,
138
+ sx
139
+ } = useStyles({
140
+ color,
141
+ radius,
142
+ listHeight
143
+ }, {
144
+ name: 'TransferList',
145
+ size
146
+ });
147
+ const [leftData, rightData] = value;
148
+ const filterItems = (items, search) => {
149
+ if (!search) return items;
150
+ return items.filter(item => item.label.toLowerCase().includes(search.toLowerCase()));
151
+ };
152
+ const filteredLeftItems = filterItems(leftData.items, leftSearch);
153
+ const filteredRightItems = filterItems(rightData.items, rightSearch);
154
+ const toggleSelection = (side, itemValue) => {
155
+ const data = side === 'left' ? leftData : rightData;
156
+ const selectedValues = data.selectedValues.includes(itemValue) ? data.selectedValues.filter(v => v !== itemValue) : [...data.selectedValues, itemValue];
157
+ const newValue = side === 'left' ? [{
158
+ ...leftData,
159
+ selectedValues
160
+ }, rightData] : [leftData, {
161
+ ...rightData,
162
+ selectedValues
163
+ }];
164
+ onChange(newValue);
165
+ };
166
+ const transferToRight = () => {
167
+ const itemsToTransfer = leftData.items.filter(item => leftData.selectedValues.includes(item.value));
168
+ const remainingItems = leftData.items.filter(item => !leftData.selectedValues.includes(item.value));
169
+ onChange([{
170
+ items: remainingItems,
171
+ selectedValues: []
172
+ }, {
173
+ items: [...rightData.items, ...itemsToTransfer],
174
+ selectedValues: []
175
+ }]);
176
+ };
177
+ const transferToLeft = () => {
178
+ const itemsToTransfer = rightData.items.filter(item => rightData.selectedValues.includes(item.value));
179
+ const remainingItems = rightData.items.filter(item => !rightData.selectedValues.includes(item.value));
180
+ onChange([{
181
+ items: [...leftData.items, ...itemsToTransfer],
182
+ selectedValues: []
183
+ }, {
184
+ items: remainingItems,
185
+ selectedValues: []
186
+ }]);
187
+ };
188
+ const transferAllToRight = () => {
189
+ onChange([{
190
+ items: [],
191
+ selectedValues: []
192
+ }, {
193
+ items: [...rightData.items, ...leftData.items],
194
+ selectedValues: []
195
+ }]);
196
+ };
197
+ const transferAllToLeft = () => {
198
+ onChange([{
199
+ items: [...leftData.items, ...rightData.items],
200
+ selectedValues: []
201
+ }, {
202
+ items: [],
203
+ selectedValues: []
204
+ }]);
205
+ };
206
+ const renderList = (data, filteredItems, side, searchValue, setSearchValue, title) => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
207
+ style: styles.list,
208
+ children: [title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
209
+ style: styles.listHeader,
210
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
211
+ style: styles.title,
212
+ children: title
213
+ })
214
+ }), searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
215
+ style: styles.searchContainer,
216
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.TextInput, {
217
+ placeholder: searchPlaceholder,
218
+ value: searchValue,
219
+ onChange: e => setSearchValue(e.nativeEvent.text),
220
+ size: "sm"
221
+ })
222
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
223
+ style: styles.itemsContainer,
224
+ children: filteredItems.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
225
+ style: styles.emptyState,
226
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
227
+ style: styles.emptyText,
228
+ children: "No items"
229
+ })
230
+ }) : filteredItems.map(item => {
231
+ const isSelected = data.selectedValues.includes(item.value);
232
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
233
+ style: [styles.item, isSelected && styles.itemSelected],
234
+ onPress: () => toggleSelection(side, item.value),
235
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(ItemComponent, {
236
+ data: item,
237
+ selected: isSelected
238
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
239
+ style: styles.itemText,
240
+ children: item.label
241
+ })]
242
+ }, item.value);
243
+ })
244
+ })]
245
+ });
246
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
247
+ ref: ref,
248
+ style: sx(styles.root, style),
249
+ ...others,
250
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
251
+ style: styles.container,
252
+ children: [renderList(leftData, filteredLeftItems, 'left', leftSearch, setLeftSearch, titles?.[0] || ''), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
253
+ style: styles.controls,
254
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index4._Button, {
255
+ style: styles.button,
256
+ onPress: transferAllToRight,
257
+ disabled: leftData.items.length === 0,
258
+ size: "sm",
259
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
260
+ children: '»'
261
+ })
262
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4._Button, {
263
+ style: styles.button,
264
+ onPress: transferToRight,
265
+ disabled: leftData.selectedValues.length === 0,
266
+ size: "sm",
267
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
268
+ children: '›'
269
+ })
270
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4._Button, {
271
+ style: styles.button,
272
+ onPress: transferToLeft,
273
+ disabled: rightData.selectedValues.length === 0,
274
+ size: "sm",
275
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
276
+ children: '‹'
277
+ })
278
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4._Button, {
279
+ style: styles.button,
280
+ onPress: transferAllToLeft,
281
+ disabled: rightData.items.length === 0,
282
+ size: "sm",
283
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
284
+ children: '«'
285
+ })
286
+ })]
287
+ }), renderList(rightData, filteredRightItems, 'right', rightSearch, setRightSearch, titles?.[1] || '')]
288
+ })
289
+ });
290
+ });
291
+ TransferList.displayName = 'TransferList';
292
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_index3","_index4","_index5","_themeProvider","_index6","_rem","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","useStyles","createStyles","theme","color","radius","listHeight","colors","primaryColor","root","flexDirection","container","justifyContent","alignItems","list","flex","borderWidth","borderColor","colorScheme","dark","gray","borderRadius","fn","overflow","listHeader","padding","spacing","sm","borderBottomWidth","borderBottomColor","backgroundColor","title","fontSize","rem","fontWeight","black","searchContainer","xs","itemsContainer","height","item","paddingVertical","paddingHorizontal","itemSelected","itemText","marginLeft","controls","width","button","marginVertical","emptyState","xl","emptyText","defaultProps","titles","searchPlaceholder","searchable","size","transferAllMatchingFilter","DefaultItem","data","selected","jsxs","Fragment","children","jsx","Checkbox","checked","onChange","Text","label","TransferList","exports","forwardRef","props","ref","value","itemComponent","ItemComponent","style","others","useComponentDefaultProps","leftSearch","setLeftSearch","useState","rightSearch","setRightSearch","styles","sx","name","leftData","rightData","filterItems","items","search","filter","toLowerCase","includes","filteredLeftItems","filteredRightItems","toggleSelection","side","itemValue","selectedValues","v","newValue","transferToRight","itemsToTransfer","remainingItems","transferToLeft","transferAllToRight","transferAllToLeft","renderList","filteredItems","searchValue","setSearchValue","BoxView","TextInput","placeholder","nativeEvent","text","ScrollView","length","map","isSelected","TouchableOpacity","onPress","_Button","disabled","displayName"],"sourceRoot":"../../../../src","sources":["components/TransferList/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IA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,OAAM;UACLhD,KAAK,EAAEQ,MAAM,CAACvC,MAAO;UACrB8E,OAAO,EAAEjB,cAAe;UACxBmB,QAAQ,EAAErC,SAAS,CAACY,cAAc,CAACmB,MAAM,KAAK,CAAE;UAChDjE,IAAI,EAAC,IAAI;UAAAO,QAAA,eAET,IAAAnF,WAAA,CAAAoF,GAAA,EAAC3F,OAAA,CAAA+F,IAAI;YAAAL,QAAA,EAAE;UAAG,CAAO;QAAC,CACZ,CAAC,eACT,IAAAnF,WAAA,CAAAoF,GAAA,EAACzF,OAAA,CAAAuJ,OAAM;UACLhD,KAAK,EAAEQ,MAAM,CAACvC,MAAO;UACrB8E,OAAO,EAAEf,iBAAkB;UAC3BiB,QAAQ,EAAErC,SAAS,CAACE,KAAK,CAAC6B,MAAM,KAAK,CAAE;UACvCjE,IAAI,EAAC,IAAI;UAAAO,QAAA,eAET,IAAAnF,WAAA,CAAAoF,GAAA,EAAC3F,OAAA,CAAA+F,IAAI;YAAAL,QAAA,EAAE;UAAG,CAAO;QAAC,CACZ,CAAC;MAAA,CACF,CAAC,EAETgD,UAAU,CACTrB,SAAS,EACTQ,kBAAkB,EAClB,OAAO,EACPd,WAAW,EACXC,cAAc,EACdhC,MAAM,GAAG,CAAC,CAAC,IAAI,EACjB,CAAC;IAAA,CACM;EAAC,CACH,CAAC;AAEd,CAAC,CAAC;AAEFiB,YAAY,CAAC0D,WAAW,GAAG,cAAc","ignoreList":[]}
@@ -0,0 +1,174 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Transition = void 0;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _themeProvider = require("../../theme/theme-provider.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
+ const getEasing = timingFunction => {
13
+ switch (timingFunction) {
14
+ case 'linear':
15
+ return _reactNative.Easing.linear;
16
+ case 'ease':
17
+ return _reactNative.Easing.ease;
18
+ case 'ease-in':
19
+ return _reactNative.Easing.in(_reactNative.Easing.ease);
20
+ case 'ease-out':
21
+ return _reactNative.Easing.out(_reactNative.Easing.ease);
22
+ case 'ease-in-out':
23
+ return _reactNative.Easing.inOut(_reactNative.Easing.ease);
24
+ default:
25
+ return _reactNative.Easing.ease;
26
+ }
27
+ };
28
+ const defaultProps = {
29
+ transition: 'fade',
30
+ duration: 250,
31
+ timingFunction: 'ease'
32
+ };
33
+ const Transition = exports.Transition = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
34
+ const {
35
+ mounted,
36
+ transition,
37
+ duration,
38
+ exitDuration,
39
+ timingFunction,
40
+ children,
41
+ onExited,
42
+ onEntered,
43
+ style,
44
+ ...others
45
+ } = (0, _themeProvider.useComponentDefaultProps)('Transition', defaultProps, props);
46
+ const animation = (0, _react.useRef)(new _reactNative.Animated.Value(mounted ? 1 : 0)).current;
47
+ const shouldRender = (0, _react.useRef)(mounted);
48
+ (0, _react.useEffect)(() => {
49
+ if (mounted) {
50
+ shouldRender.current = true;
51
+ _reactNative.Animated.timing(animation, {
52
+ toValue: 1,
53
+ duration: duration || 250,
54
+ easing: getEasing(timingFunction || 'ease'),
55
+ useNativeDriver: true
56
+ }).start(({
57
+ finished
58
+ }) => {
59
+ if (finished && onEntered) {
60
+ onEntered();
61
+ }
62
+ });
63
+ } else {
64
+ _reactNative.Animated.timing(animation, {
65
+ toValue: 0,
66
+ duration: exitDuration || duration || 250,
67
+ easing: getEasing(timingFunction || 'ease'),
68
+ useNativeDriver: true
69
+ }).start(({
70
+ finished
71
+ }) => {
72
+ if (finished) {
73
+ shouldRender.current = false;
74
+ if (onExited) {
75
+ onExited();
76
+ }
77
+ }
78
+ });
79
+ }
80
+ }, [mounted, duration, exitDuration, timingFunction, onEntered, onExited, animation]);
81
+ const getTransformStyle = () => {
82
+ switch (transition) {
83
+ case 'fade':
84
+ return {
85
+ opacity: animation
86
+ };
87
+ case 'scale':
88
+ return {
89
+ opacity: animation,
90
+ transform: [{
91
+ scale: animation.interpolate({
92
+ inputRange: [0, 1],
93
+ outputRange: [0.75, 1]
94
+ })
95
+ }]
96
+ };
97
+ case 'slide-down':
98
+ return {
99
+ opacity: animation,
100
+ transform: [{
101
+ translateY: animation.interpolate({
102
+ inputRange: [0, 1],
103
+ outputRange: [-20, 0]
104
+ })
105
+ }]
106
+ };
107
+ case 'slide-up':
108
+ return {
109
+ opacity: animation,
110
+ transform: [{
111
+ translateY: animation.interpolate({
112
+ inputRange: [0, 1],
113
+ outputRange: [20, 0]
114
+ })
115
+ }]
116
+ };
117
+ case 'slide-left':
118
+ return {
119
+ opacity: animation,
120
+ transform: [{
121
+ translateX: animation.interpolate({
122
+ inputRange: [0, 1],
123
+ outputRange: [20, 0]
124
+ })
125
+ }]
126
+ };
127
+ case 'slide-right':
128
+ return {
129
+ opacity: animation,
130
+ transform: [{
131
+ translateX: animation.interpolate({
132
+ inputRange: [0, 1],
133
+ outputRange: [-20, 0]
134
+ })
135
+ }]
136
+ };
137
+ case 'pop':
138
+ return {
139
+ opacity: animation,
140
+ transform: [{
141
+ scale: animation.interpolate({
142
+ inputRange: [0, 1],
143
+ outputRange: [0, 1]
144
+ })
145
+ }]
146
+ };
147
+ case 'rotate':
148
+ return {
149
+ opacity: animation,
150
+ transform: [{
151
+ rotate: animation.interpolate({
152
+ inputRange: [0, 1],
153
+ outputRange: ['-180deg', '0deg']
154
+ })
155
+ }]
156
+ };
157
+ default:
158
+ return {
159
+ opacity: animation
160
+ };
161
+ }
162
+ };
163
+ if (!shouldRender.current && !mounted) {
164
+ return null;
165
+ }
166
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
167
+ ref: ref,
168
+ style: [getTransformStyle(), style],
169
+ ...others,
170
+ children: children
171
+ });
172
+ });
173
+ Transition.displayName = 'Transition';
174
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_themeProvider","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","getEasing","timingFunction","Easing","linear","ease","in","out","inOut","defaultProps","transition","duration","Transition","exports","forwardRef","props","ref","mounted","exitDuration","children","onExited","onEntered","style","others","useComponentDefaultProps","animation","useRef","Animated","Value","current","shouldRender","useEffect","timing","toValue","easing","useNativeDriver","start","finished","getTransformStyle","opacity","transform","scale","interpolate","inputRange","outputRange","translateY","translateX","rotate","jsx","View","displayName"],"sourceRoot":"../../../../src","sources":["components/Transition/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AAAsE,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAA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EA;EAAQ,CACI,CAAC;AAEpB,CAAC,CAAC;AAEFP,UAAU,CAACsC,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -12,8 +12,7 @@ var _themeProvider = require("../../theme/theme-provider.js");
12
12
  var _index2 = require("../Text/index.js");
13
13
  var _jsxRuntime = require("react/jsx-runtime");
14
14
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
16
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
17
16
  const UnstyledButton = exports.UnstyledButton = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
18
17
  const {
19
18
  variant,
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_index","_UnstyledButtonStyles","_interopRequireDefault","_reactNative","_themeProvider","_index2","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","UnstyledButton","exports","forwardRef","props","ref","variant","style","children","onPress","others","useComponentDefaultProps","styles","useStyles","jsx","TouchableOpacity","BoxView","root","Text"],"sourceRoot":"../../../../src","sources":["components/UnstyledButton/UnstyledButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAA+B,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAf,CAA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,QAAA,EAAEA;MAAQ,CAAO;IAAC,CAChB;EAAC,CACM,CAAC;AAEvB,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_index","_UnstyledButtonStyles","_interopRequireDefault","_reactNative","_themeProvider","_index2","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","UnstyledButton","exports","forwardRef","props","ref","variant","style","children","onPress","others","useComponentDefaultProps","styles","useStyles","jsx","TouchableOpacity","BoxView","root","Text"],"sourceRoot":"../../../../src","sources":["components/UnstyledButton/UnstyledButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,qBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAA+B,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAS,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,C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