react-native-mantine 0.1.15 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (753) hide show
  1. package/lib/commonjs/components/Accordion/index.js +251 -0
  2. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  3. package/lib/commonjs/components/ActionIcon/ActionIcon.js +23 -28
  4. package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -1
  5. package/lib/commonjs/components/Anchor/index.js +108 -0
  6. package/lib/commonjs/components/Anchor/index.js.map +1 -0
  7. package/lib/commonjs/components/AspectRatio/index.js +66 -0
  8. package/lib/commonjs/components/AspectRatio/index.js.map +1 -0
  9. package/lib/commonjs/components/Avatar/index.js +129 -0
  10. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  11. package/lib/commonjs/components/BackgroundImage/index.js +56 -0
  12. package/lib/commonjs/components/BackgroundImage/index.js.map +1 -0
  13. package/lib/commonjs/components/Badge/index.js +190 -0
  14. package/lib/commonjs/components/Badge/index.js.map +1 -0
  15. package/lib/commonjs/components/Blockquote/index.js +98 -0
  16. package/lib/commonjs/components/Blockquote/index.js.map +1 -0
  17. package/lib/commonjs/components/BoxView/index.js +66 -2
  18. package/lib/commonjs/components/BoxView/index.js.map +1 -1
  19. package/lib/commonjs/components/Breadcrumbs/index.js +58 -0
  20. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  21. package/lib/commonjs/components/Burger/index.js +183 -0
  22. package/lib/commonjs/components/Burger/index.js.map +1 -0
  23. package/lib/commonjs/components/Button/Button.styles.js +35 -18
  24. package/lib/commonjs/components/Button/Button.styles.js.map +1 -1
  25. package/lib/commonjs/components/Button/index.js +2 -1
  26. package/lib/commonjs/components/Button/index.js.map +1 -1
  27. package/lib/commonjs/components/Card/index.js +136 -0
  28. package/lib/commonjs/components/Card/index.js.map +1 -0
  29. package/lib/commonjs/components/Center/index.js +36 -0
  30. package/lib/commonjs/components/Center/index.js.map +1 -0
  31. package/lib/commonjs/components/Checkbox/index.js +140 -0
  32. package/lib/commonjs/components/Checkbox/index.js.map +1 -0
  33. package/lib/commonjs/components/Chip/index.js +269 -0
  34. package/lib/commonjs/components/Chip/index.js.map +1 -0
  35. package/lib/commonjs/components/CloseButton/index.js +137 -0
  36. package/lib/commonjs/components/CloseButton/index.js.map +1 -0
  37. package/lib/commonjs/components/Code/index.js +68 -0
  38. package/lib/commonjs/components/Code/index.js.map +1 -0
  39. package/lib/commonjs/components/Collapse/index.js +83 -0
  40. package/lib/commonjs/components/Collapse/index.js.map +1 -0
  41. package/lib/commonjs/components/ColorSwatch/index.js +96 -0
  42. package/lib/commonjs/components/ColorSwatch/index.js.map +1 -0
  43. package/lib/commonjs/components/Container/index.js +71 -0
  44. package/lib/commonjs/components/Container/index.js.map +1 -0
  45. package/lib/commonjs/components/CopyButton/index.js +54 -0
  46. package/lib/commonjs/components/CopyButton/index.js.map +1 -0
  47. package/lib/commonjs/components/Dialog/index.js +140 -0
  48. package/lib/commonjs/components/Dialog/index.js.map +1 -0
  49. package/lib/commonjs/components/Divider/index.js +148 -0
  50. package/lib/commonjs/components/Divider/index.js.map +1 -0
  51. package/lib/commonjs/components/Drawer/index.js +252 -0
  52. package/lib/commonjs/components/Drawer/index.js.map +1 -0
  53. package/lib/commonjs/components/Flex/index.js +63 -0
  54. package/lib/commonjs/components/Flex/index.js.map +1 -0
  55. package/lib/commonjs/components/Grid/index.js +145 -0
  56. package/lib/commonjs/components/Grid/index.js.map +1 -0
  57. package/lib/commonjs/components/Group/index.js +22 -1
  58. package/lib/commonjs/components/Group/index.js.map +1 -1
  59. package/lib/commonjs/components/Highlight/index.js +74 -0
  60. package/lib/commonjs/components/Highlight/index.js.map +1 -0
  61. package/lib/commonjs/components/Image/index.js +133 -0
  62. package/lib/commonjs/components/Image/index.js.map +1 -0
  63. package/lib/commonjs/components/Indicator/index.js +199 -0
  64. package/lib/commonjs/components/Indicator/index.js.map +1 -0
  65. package/lib/commonjs/components/Kbd/index.js +96 -0
  66. package/lib/commonjs/components/Kbd/index.js.map +1 -0
  67. package/lib/commonjs/components/List/index.js +217 -0
  68. package/lib/commonjs/components/List/index.js.map +1 -0
  69. package/lib/commonjs/components/Loader/Loader.js +25 -18
  70. package/lib/commonjs/components/Loader/Loader.js.map +1 -1
  71. package/lib/commonjs/components/LoadingOverlay/index.js +84 -0
  72. package/lib/commonjs/components/LoadingOverlay/index.js.map +1 -0
  73. package/lib/commonjs/components/Mark/index.js +47 -0
  74. package/lib/commonjs/components/Mark/index.js.map +1 -0
  75. package/lib/commonjs/components/MediaQuery/index.js +89 -0
  76. package/lib/commonjs/components/MediaQuery/index.js.map +1 -0
  77. package/lib/commonjs/components/Menu/index.js +306 -0
  78. package/lib/commonjs/components/Menu/index.js.map +1 -0
  79. package/lib/commonjs/components/Modal/index.js +236 -0
  80. package/lib/commonjs/components/Modal/index.js.map +1 -0
  81. package/lib/commonjs/components/MultiSelect/index.js +300 -0
  82. package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
  83. package/lib/commonjs/components/NativeSelect/index.js +295 -0
  84. package/lib/commonjs/components/NativeSelect/index.js.map +1 -0
  85. package/lib/commonjs/components/NavLink/index.js +164 -0
  86. package/lib/commonjs/components/NavLink/index.js.map +1 -0
  87. package/lib/commonjs/components/Notification/index.js +143 -0
  88. package/lib/commonjs/components/Notification/index.js.map +1 -0
  89. package/lib/commonjs/components/NumberInput/index.js +268 -0
  90. package/lib/commonjs/components/NumberInput/index.js.map +1 -0
  91. package/lib/commonjs/components/Overlay/index.js +78 -0
  92. package/lib/commonjs/components/Overlay/index.js.map +1 -0
  93. package/lib/commonjs/components/Pagination/index.js +254 -0
  94. package/lib/commonjs/components/Pagination/index.js.map +1 -0
  95. package/lib/commonjs/components/Paper/index.js +156 -0
  96. package/lib/commonjs/components/Paper/index.js.map +1 -0
  97. package/lib/commonjs/components/PasswordInput/index.js +68 -0
  98. package/lib/commonjs/components/PasswordInput/index.js.map +1 -0
  99. package/lib/commonjs/components/PinInput/index.js +186 -0
  100. package/lib/commonjs/components/PinInput/index.js.map +1 -0
  101. package/lib/commonjs/components/Popover/index.js +163 -0
  102. package/lib/commonjs/components/Popover/index.js.map +1 -0
  103. package/lib/commonjs/components/Portal/index.js +70 -0
  104. package/lib/commonjs/components/Portal/index.js.map +1 -0
  105. package/lib/commonjs/components/Progress/index.js +124 -0
  106. package/lib/commonjs/components/Progress/index.js.map +1 -0
  107. package/lib/commonjs/components/Radio/index.js +136 -0
  108. package/lib/commonjs/components/Radio/index.js.map +1 -0
  109. package/lib/commonjs/components/Rating/index.js +152 -0
  110. package/lib/commonjs/components/Rating/index.js.map +1 -0
  111. package/lib/commonjs/components/RingProgress/index.js +175 -0
  112. package/lib/commonjs/components/RingProgress/index.js.map +1 -0
  113. package/lib/commonjs/components/SegmentedControl/index.js +226 -0
  114. package/lib/commonjs/components/SegmentedControl/index.js.map +1 -0
  115. package/lib/commonjs/components/Select/index.js +245 -0
  116. package/lib/commonjs/components/Select/index.js.map +1 -0
  117. package/lib/commonjs/components/SimpleGrid/index.js +102 -0
  118. package/lib/commonjs/components/SimpleGrid/index.js.map +1 -0
  119. package/lib/commonjs/components/Skeleton/index.js +112 -0
  120. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  121. package/lib/commonjs/components/Slider/index.js +276 -0
  122. package/lib/commonjs/components/Slider/index.js.map +1 -0
  123. package/lib/commonjs/components/Space/index.js +45 -0
  124. package/lib/commonjs/components/Space/index.js.map +1 -0
  125. package/lib/commonjs/components/Spoiler/index.js +110 -0
  126. package/lib/commonjs/components/Spoiler/index.js.map +1 -0
  127. package/lib/commonjs/components/Stepper/index.js +276 -0
  128. package/lib/commonjs/components/Stepper/index.js.map +1 -0
  129. package/lib/commonjs/components/Switch/index.js +119 -0
  130. package/lib/commonjs/components/Switch/index.js.map +1 -0
  131. package/lib/commonjs/components/Table/index.js +314 -0
  132. package/lib/commonjs/components/Table/index.js.map +1 -0
  133. package/lib/commonjs/components/Text/index.js +7 -2
  134. package/lib/commonjs/components/Text/index.js.map +1 -1
  135. package/lib/commonjs/components/TextInput/index.js +185 -0
  136. package/lib/commonjs/components/TextInput/index.js.map +1 -0
  137. package/lib/commonjs/components/Textarea/index.js +54 -0
  138. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  139. package/lib/commonjs/components/ThemeIcon/index.js +145 -0
  140. package/lib/commonjs/components/ThemeIcon/index.js.map +1 -0
  141. package/lib/commonjs/components/Timeline/index.js +242 -0
  142. package/lib/commonjs/components/Timeline/index.js.map +1 -0
  143. package/lib/commonjs/components/Title/index.js +45 -0
  144. package/lib/commonjs/components/Title/index.js.map +1 -0
  145. package/lib/commonjs/components/Tooltip/index.js +187 -0
  146. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  147. package/lib/commonjs/components/TransferList/index.js +293 -0
  148. package/lib/commonjs/components/TransferList/index.js.map +1 -0
  149. package/lib/commonjs/components/Transition/index.js +175 -0
  150. package/lib/commonjs/components/Transition/index.js.map +1 -0
  151. package/lib/commonjs/components/index.js +759 -0
  152. package/lib/commonjs/components/index.js.map +1 -1
  153. package/lib/commonjs/theme/create-theme.js +1 -0
  154. package/lib/commonjs/theme/create-theme.js.map +1 -1
  155. package/lib/commonjs/theme/default-theme.js +2 -0
  156. package/lib/commonjs/theme/default-theme.js.map +1 -1
  157. package/lib/commonjs/theme/functions/attach-functions.js +12 -2
  158. package/lib/commonjs/theme/functions/attach-functions.js.map +1 -1
  159. package/lib/commonjs/theme/functions/fns/helpers.js +44 -0
  160. package/lib/commonjs/theme/functions/fns/helpers.js.map +1 -0
  161. package/lib/commonjs/theme/functions/fns/index.js +5 -1
  162. package/lib/commonjs/theme/functions/fns/index.js.map +1 -1
  163. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +26 -4
  164. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  165. package/lib/commonjs/theme/functions/fns/variant.js +89 -2
  166. package/lib/commonjs/theme/functions/fns/variant.js.map +1 -1
  167. package/lib/commonjs/theme/utils/rem.js +8 -6
  168. package/lib/commonjs/theme/utils/rem.js.map +1 -1
  169. package/lib/module/components/Accordion/index.js +246 -0
  170. package/lib/module/components/Accordion/index.js.map +1 -0
  171. package/lib/module/components/ActionIcon/ActionIcon.js +25 -29
  172. package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -1
  173. package/lib/module/components/Anchor/index.js +102 -0
  174. package/lib/module/components/Anchor/index.js.map +1 -0
  175. package/lib/module/components/AspectRatio/index.js +60 -0
  176. package/lib/module/components/AspectRatio/index.js.map +1 -0
  177. package/lib/module/components/Avatar/index.js +123 -0
  178. package/lib/module/components/Avatar/index.js.map +1 -0
  179. package/lib/module/components/BackgroundImage/index.js +50 -0
  180. package/lib/module/components/BackgroundImage/index.js.map +1 -0
  181. package/lib/module/components/Badge/index.js +184 -0
  182. package/lib/module/components/Badge/index.js.map +1 -0
  183. package/lib/module/components/Blockquote/index.js +92 -0
  184. package/lib/module/components/Blockquote/index.js.map +1 -0
  185. package/lib/module/components/BoxView/index.js +66 -2
  186. package/lib/module/components/BoxView/index.js.map +1 -1
  187. package/lib/module/components/Breadcrumbs/index.js +52 -0
  188. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  189. package/lib/module/components/Burger/index.js +180 -0
  190. package/lib/module/components/Burger/index.js.map +1 -0
  191. package/lib/module/components/Button/Button.styles.js +35 -18
  192. package/lib/module/components/Button/Button.styles.js.map +1 -1
  193. package/lib/module/components/Button/index.js +1 -0
  194. package/lib/module/components/Button/index.js.map +1 -1
  195. package/lib/module/components/Card/index.js +130 -0
  196. package/lib/module/components/Card/index.js.map +1 -0
  197. package/lib/module/components/Center/index.js +30 -0
  198. package/lib/module/components/Center/index.js.map +1 -0
  199. package/lib/module/components/Checkbox/index.js +134 -0
  200. package/lib/module/components/Checkbox/index.js.map +1 -0
  201. package/lib/module/components/Chip/index.js +263 -0
  202. package/lib/module/components/Chip/index.js.map +1 -0
  203. package/lib/module/components/CloseButton/index.js +132 -0
  204. package/lib/module/components/CloseButton/index.js.map +1 -0
  205. package/lib/module/components/Code/index.js +62 -0
  206. package/lib/module/components/Code/index.js.map +1 -0
  207. package/lib/module/components/Collapse/index.js +77 -0
  208. package/lib/module/components/Collapse/index.js.map +1 -0
  209. package/lib/module/components/ColorSwatch/index.js +90 -0
  210. package/lib/module/components/ColorSwatch/index.js.map +1 -0
  211. package/lib/module/components/Container/index.js +65 -0
  212. package/lib/module/components/Container/index.js.map +1 -0
  213. package/lib/module/components/CopyButton/index.js +48 -0
  214. package/lib/module/components/CopyButton/index.js.map +1 -0
  215. package/lib/module/components/Dialog/index.js +134 -0
  216. package/lib/module/components/Dialog/index.js.map +1 -0
  217. package/lib/module/components/Divider/index.js +142 -0
  218. package/lib/module/components/Divider/index.js.map +1 -0
  219. package/lib/module/components/Drawer/index.js +246 -0
  220. package/lib/module/components/Drawer/index.js.map +1 -0
  221. package/lib/module/components/Flex/index.js +57 -0
  222. package/lib/module/components/Flex/index.js.map +1 -0
  223. package/lib/module/components/Grid/index.js +139 -0
  224. package/lib/module/components/Grid/index.js.map +1 -0
  225. package/lib/module/components/Group/index.js +22 -1
  226. package/lib/module/components/Group/index.js.map +1 -1
  227. package/lib/module/components/Highlight/index.js +70 -0
  228. package/lib/module/components/Highlight/index.js.map +1 -0
  229. package/lib/module/components/Image/index.js +127 -0
  230. package/lib/module/components/Image/index.js.map +1 -0
  231. package/lib/module/components/Indicator/index.js +193 -0
  232. package/lib/module/components/Indicator/index.js.map +1 -0
  233. package/lib/module/components/Kbd/index.js +90 -0
  234. package/lib/module/components/Kbd/index.js.map +1 -0
  235. package/lib/module/components/List/index.js +211 -0
  236. package/lib/module/components/List/index.js.map +1 -0
  237. package/lib/module/components/Loader/Loader.js +26 -19
  238. package/lib/module/components/Loader/Loader.js.map +1 -1
  239. package/lib/module/components/LoadingOverlay/index.js +80 -0
  240. package/lib/module/components/LoadingOverlay/index.js.map +1 -0
  241. package/lib/module/components/Mark/index.js +41 -0
  242. package/lib/module/components/Mark/index.js.map +1 -0
  243. package/lib/module/components/MediaQuery/index.js +82 -0
  244. package/lib/module/components/MediaQuery/index.js.map +1 -0
  245. package/lib/module/components/Menu/index.js +300 -0
  246. package/lib/module/components/Menu/index.js.map +1 -0
  247. package/lib/module/components/Modal/index.js +230 -0
  248. package/lib/module/components/Modal/index.js.map +1 -0
  249. package/lib/module/components/MultiSelect/index.js +294 -0
  250. package/lib/module/components/MultiSelect/index.js.map +1 -0
  251. package/lib/module/components/NativeSelect/index.js +289 -0
  252. package/lib/module/components/NativeSelect/index.js.map +1 -0
  253. package/lib/module/components/NavLink/index.js +158 -0
  254. package/lib/module/components/NavLink/index.js.map +1 -0
  255. package/lib/module/components/Notification/index.js +137 -0
  256. package/lib/module/components/Notification/index.js.map +1 -0
  257. package/lib/module/components/NumberInput/index.js +262 -0
  258. package/lib/module/components/NumberInput/index.js.map +1 -0
  259. package/lib/module/components/Overlay/index.js +72 -0
  260. package/lib/module/components/Overlay/index.js.map +1 -0
  261. package/lib/module/components/Pagination/index.js +248 -0
  262. package/lib/module/components/Pagination/index.js.map +1 -0
  263. package/lib/module/components/Paper/index.js +150 -0
  264. package/lib/module/components/Paper/index.js.map +1 -0
  265. package/lib/module/components/PasswordInput/index.js +62 -0
  266. package/lib/module/components/PasswordInput/index.js.map +1 -0
  267. package/lib/module/components/PinInput/index.js +182 -0
  268. package/lib/module/components/PinInput/index.js.map +1 -0
  269. package/lib/module/components/Popover/index.js +157 -0
  270. package/lib/module/components/Popover/index.js.map +1 -0
  271. package/lib/module/components/Portal/index.js +62 -0
  272. package/lib/module/components/Portal/index.js.map +1 -0
  273. package/lib/module/components/Progress/index.js +120 -0
  274. package/lib/module/components/Progress/index.js.map +1 -0
  275. package/lib/module/components/Radio/index.js +130 -0
  276. package/lib/module/components/Radio/index.js.map +1 -0
  277. package/lib/module/components/Rating/index.js +146 -0
  278. package/lib/module/components/Rating/index.js.map +1 -0
  279. package/lib/module/components/RingProgress/index.js +169 -0
  280. package/lib/module/components/RingProgress/index.js.map +1 -0
  281. package/lib/module/components/SegmentedControl/index.js +220 -0
  282. package/lib/module/components/SegmentedControl/index.js.map +1 -0
  283. package/lib/module/components/Select/index.js +239 -0
  284. package/lib/module/components/Select/index.js.map +1 -0
  285. package/lib/module/components/SimpleGrid/index.js +96 -0
  286. package/lib/module/components/SimpleGrid/index.js.map +1 -0
  287. package/lib/module/components/Skeleton/index.js +106 -0
  288. package/lib/module/components/Skeleton/index.js.map +1 -0
  289. package/lib/module/components/Slider/index.js +270 -0
  290. package/lib/module/components/Slider/index.js.map +1 -0
  291. package/lib/module/components/Space/index.js +41 -0
  292. package/lib/module/components/Space/index.js.map +1 -0
  293. package/lib/module/components/Spoiler/index.js +104 -0
  294. package/lib/module/components/Spoiler/index.js.map +1 -0
  295. package/lib/module/components/Stepper/index.js +270 -0
  296. package/lib/module/components/Stepper/index.js.map +1 -0
  297. package/lib/module/components/Switch/index.js +113 -0
  298. package/lib/module/components/Switch/index.js.map +1 -0
  299. package/lib/module/components/Table/index.js +308 -0
  300. package/lib/module/components/Table/index.js.map +1 -0
  301. package/lib/module/components/Text/index.js +7 -2
  302. package/lib/module/components/Text/index.js.map +1 -1
  303. package/lib/module/components/TextInput/index.js +179 -0
  304. package/lib/module/components/TextInput/index.js.map +1 -0
  305. package/lib/module/components/Textarea/index.js +50 -0
  306. package/lib/module/components/Textarea/index.js.map +1 -0
  307. package/lib/module/components/ThemeIcon/index.js +140 -0
  308. package/lib/module/components/ThemeIcon/index.js.map +1 -0
  309. package/lib/module/components/Timeline/index.js +236 -0
  310. package/lib/module/components/Timeline/index.js.map +1 -0
  311. package/lib/module/components/Title/index.js +39 -0
  312. package/lib/module/components/Title/index.js.map +1 -0
  313. package/lib/module/components/Tooltip/index.js +181 -0
  314. package/lib/module/components/Tooltip/index.js.map +1 -0
  315. package/lib/module/components/TransferList/index.js +287 -0
  316. package/lib/module/components/TransferList/index.js.map +1 -0
  317. package/lib/module/components/Transition/index.js +169 -0
  318. package/lib/module/components/Transition/index.js.map +1 -0
  319. package/lib/module/components/index.js +101 -0
  320. package/lib/module/components/index.js.map +1 -1
  321. package/lib/module/theme/create-theme.js +1 -0
  322. package/lib/module/theme/create-theme.js.map +1 -1
  323. package/lib/module/theme/default-theme.js +2 -0
  324. package/lib/module/theme/default-theme.js.map +1 -1
  325. package/lib/module/theme/functions/attach-functions.js +12 -2
  326. package/lib/module/theme/functions/attach-functions.js.map +1 -1
  327. package/lib/module/theme/functions/fns/helpers.js +34 -0
  328. package/lib/module/theme/functions/fns/helpers.js.map +1 -0
  329. package/lib/module/theme/functions/fns/index.js +3 -1
  330. package/lib/module/theme/functions/fns/index.js.map +1 -1
  331. package/lib/module/theme/functions/fns/theme-color/theme-color.js +26 -4
  332. package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -1
  333. package/lib/module/theme/functions/fns/variant.js +89 -2
  334. package/lib/module/theme/functions/fns/variant.js.map +1 -1
  335. package/lib/module/theme/utils/rem.js +8 -6
  336. package/lib/module/theme/utils/rem.js.map +1 -1
  337. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts +54 -0
  338. package/lib/typescript/commonjs/src/components/Accordion/index.d.ts.map +1 -0
  339. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  340. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  341. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts +25 -0
  342. package/lib/typescript/commonjs/src/components/Anchor/index.d.ts.map +1 -0
  343. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts +12 -0
  344. package/lib/typescript/commonjs/src/components/AspectRatio/index.d.ts.map +1 -0
  345. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts +23 -0
  346. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts.map +1 -0
  347. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts +15 -0
  348. package/lib/typescript/commonjs/src/components/BackgroundImage/index.d.ts.map +1 -0
  349. package/lib/typescript/commonjs/src/components/Badge/index.d.ts +24 -0
  350. package/lib/typescript/commonjs/src/components/Badge/index.d.ts.map +1 -0
  351. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts +18 -0
  352. package/lib/typescript/commonjs/src/components/Blockquote/index.d.ts.map +1 -0
  353. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +28 -0
  354. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -1
  355. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts +12 -0
  356. package/lib/typescript/commonjs/src/components/Breadcrumbs/index.d.ts.map +1 -0
  357. package/lib/typescript/commonjs/src/components/Burger/index.d.ts +21 -0
  358. package/lib/typescript/commonjs/src/components/Burger/index.d.ts.map +1 -0
  359. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts +5 -0
  360. package/lib/typescript/commonjs/src/components/Button/Button.styles.d.ts.map +1 -1
  361. package/lib/typescript/commonjs/src/components/Button/index.d.ts +1 -0
  362. package/lib/typescript/commonjs/src/components/Button/index.d.ts.map +1 -1
  363. package/lib/typescript/commonjs/src/components/Card/index.d.ts +24 -0
  364. package/lib/typescript/commonjs/src/components/Card/index.d.ts.map +1 -0
  365. package/lib/typescript/commonjs/src/components/Center/index.d.ts +15 -0
  366. package/lib/typescript/commonjs/src/components/Center/index.d.ts.map +1 -0
  367. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts +24 -0
  368. package/lib/typescript/commonjs/src/components/Checkbox/index.d.ts.map +1 -0
  369. package/lib/typescript/commonjs/src/components/Chip/index.d.ts +51 -0
  370. package/lib/typescript/commonjs/src/components/Chip/index.d.ts.map +1 -0
  371. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts +22 -0
  372. package/lib/typescript/commonjs/src/components/CloseButton/index.d.ts.map +1 -0
  373. package/lib/typescript/commonjs/src/components/Code/index.d.ts +15 -0
  374. package/lib/typescript/commonjs/src/components/Code/index.d.ts.map +1 -0
  375. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts +20 -0
  376. package/lib/typescript/commonjs/src/components/Collapse/index.d.ts.map +1 -0
  377. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts +20 -0
  378. package/lib/typescript/commonjs/src/components/ColorSwatch/index.d.ts.map +1 -0
  379. package/lib/typescript/commonjs/src/components/Container/index.d.ts +20 -0
  380. package/lib/typescript/commonjs/src/components/Container/index.d.ts.map +1 -0
  381. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts +15 -0
  382. package/lib/typescript/commonjs/src/components/CopyButton/index.d.ts.map +1 -0
  383. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +31 -0
  384. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -0
  385. package/lib/typescript/commonjs/src/components/Divider/index.d.ts +20 -0
  386. package/lib/typescript/commonjs/src/components/Divider/index.d.ts.map +1 -0
  387. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts +36 -0
  388. package/lib/typescript/commonjs/src/components/Drawer/index.d.ts.map +1 -0
  389. package/lib/typescript/commonjs/src/components/Flex/index.d.ts +27 -0
  390. package/lib/typescript/commonjs/src/components/Flex/index.d.ts.map +1 -0
  391. package/lib/typescript/commonjs/src/components/Grid/index.d.ts +38 -0
  392. package/lib/typescript/commonjs/src/components/Grid/index.d.ts.map +1 -0
  393. package/lib/typescript/commonjs/src/components/Group/index.d.ts +2 -1
  394. package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -1
  395. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts +19 -0
  396. package/lib/typescript/commonjs/src/components/Highlight/index.d.ts.map +1 -0
  397. package/lib/typescript/commonjs/src/components/Image/index.d.ts +31 -0
  398. package/lib/typescript/commonjs/src/components/Image/index.d.ts.map +1 -0
  399. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts +32 -0
  400. package/lib/typescript/commonjs/src/components/Indicator/index.d.ts.map +1 -0
  401. package/lib/typescript/commonjs/src/components/Input/Input.styles.d.ts +5 -5
  402. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts +12 -0
  403. package/lib/typescript/commonjs/src/components/Kbd/index.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/src/components/List/index.d.ts +42 -0
  405. package/lib/typescript/commonjs/src/components/List/index.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -1
  407. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts +23 -0
  408. package/lib/typescript/commonjs/src/components/LoadingOverlay/index.d.ts.map +1 -0
  409. package/lib/typescript/commonjs/src/components/Mark/index.d.ts +14 -0
  410. package/lib/typescript/commonjs/src/components/Mark/index.d.ts.map +1 -0
  411. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts +24 -0
  412. package/lib/typescript/commonjs/src/components/MediaQuery/index.d.ts.map +1 -0
  413. package/lib/typescript/commonjs/src/components/Menu/index.d.ts +64 -0
  414. package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -0
  415. package/lib/typescript/commonjs/src/components/Modal/index.d.ts +40 -0
  416. package/lib/typescript/commonjs/src/components/Modal/index.d.ts.map +1 -0
  417. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts +53 -0
  418. package/lib/typescript/commonjs/src/components/MultiSelect/index.d.ts.map +1 -0
  419. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts +45 -0
  420. package/lib/typescript/commonjs/src/components/NativeSelect/index.d.ts.map +1 -0
  421. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts +30 -0
  422. package/lib/typescript/commonjs/src/components/NavLink/index.d.ts.map +1 -0
  423. package/lib/typescript/commonjs/src/components/Notification/index.d.ts +28 -0
  424. package/lib/typescript/commonjs/src/components/Notification/index.d.ts.map +1 -0
  425. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts +47 -0
  426. package/lib/typescript/commonjs/src/components/NumberInput/index.d.ts.map +1 -0
  427. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts +24 -0
  428. package/lib/typescript/commonjs/src/components/Overlay/index.d.ts.map +1 -0
  429. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts +37 -0
  430. package/lib/typescript/commonjs/src/components/Pagination/index.d.ts.map +1 -0
  431. package/lib/typescript/commonjs/src/components/Paper/index.d.ts +18 -0
  432. package/lib/typescript/commonjs/src/components/Paper/index.d.ts.map +1 -0
  433. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts +15 -0
  434. package/lib/typescript/commonjs/src/components/PasswordInput/index.d.ts.map +1 -0
  435. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts +33 -0
  436. package/lib/typescript/commonjs/src/components/PinInput/index.d.ts.map +1 -0
  437. package/lib/typescript/commonjs/src/components/Popover/index.d.ts +44 -0
  438. package/lib/typescript/commonjs/src/components/Popover/index.d.ts.map +1 -0
  439. package/lib/typescript/commonjs/src/components/Portal/index.d.ts +10 -0
  440. package/lib/typescript/commonjs/src/components/Portal/index.d.ts.map +1 -0
  441. package/lib/typescript/commonjs/src/components/Progress/index.d.ts +29 -0
  442. package/lib/typescript/commonjs/src/components/Progress/index.d.ts.map +1 -0
  443. package/lib/typescript/commonjs/src/components/Radio/index.d.ts +24 -0
  444. package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
  445. package/lib/typescript/commonjs/src/components/Rating/index.d.ts +32 -0
  446. package/lib/typescript/commonjs/src/components/Rating/index.d.ts.map +1 -0
  447. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts +61 -0
  448. package/lib/typescript/commonjs/src/components/RingProgress/index.d.ts.map +1 -0
  449. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts +35 -0
  450. package/lib/typescript/commonjs/src/components/SegmentedControl/index.d.ts.map +1 -0
  451. package/lib/typescript/commonjs/src/components/Select/index.d.ts +53 -0
  452. package/lib/typescript/commonjs/src/components/Select/index.d.ts.map +1 -0
  453. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts +22 -0
  454. package/lib/typescript/commonjs/src/components/SimpleGrid/index.d.ts.map +1 -0
  455. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts +22 -0
  456. package/lib/typescript/commonjs/src/components/Skeleton/index.d.ts.map +1 -0
  457. package/lib/typescript/commonjs/src/components/Slider/index.d.ts +43 -0
  458. package/lib/typescript/commonjs/src/components/Slider/index.d.ts.map +1 -0
  459. package/lib/typescript/commonjs/src/components/Space/index.d.ts +13 -0
  460. package/lib/typescript/commonjs/src/components/Space/index.d.ts.map +1 -0
  461. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts +22 -0
  462. package/lib/typescript/commonjs/src/components/Spoiler/index.d.ts.map +1 -0
  463. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts +55 -0
  464. package/lib/typescript/commonjs/src/components/Stepper/index.d.ts.map +1 -0
  465. package/lib/typescript/commonjs/src/components/Switch/index.d.ts +24 -0
  466. package/lib/typescript/commonjs/src/components/Switch/index.d.ts.map +1 -0
  467. package/lib/typescript/commonjs/src/components/Table/index.d.ts +72 -0
  468. package/lib/typescript/commonjs/src/components/Table/index.d.ts.map +1 -0
  469. package/lib/typescript/commonjs/src/components/Text/index.d.ts +4 -0
  470. package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -1
  471. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts +31 -0
  472. package/lib/typescript/commonjs/src/components/TextInput/index.d.ts.map +1 -0
  473. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts +12 -0
  474. package/lib/typescript/commonjs/src/components/Textarea/index.d.ts.map +1 -0
  475. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts +21 -0
  476. package/lib/typescript/commonjs/src/components/ThemeIcon/index.d.ts.map +1 -0
  477. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts +52 -0
  478. package/lib/typescript/commonjs/src/components/Timeline/index.d.ts.map +1 -0
  479. package/lib/typescript/commonjs/src/components/Title/index.d.ts +14 -0
  480. package/lib/typescript/commonjs/src/components/Title/index.d.ts.map +1 -0
  481. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts +36 -0
  482. package/lib/typescript/commonjs/src/components/Tooltip/index.d.ts.map +1 -0
  483. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts +42 -0
  484. package/lib/typescript/commonjs/src/components/TransferList/index.d.ts.map +1 -0
  485. package/lib/typescript/commonjs/src/components/Transition/index.d.ts +25 -0
  486. package/lib/typescript/commonjs/src/components/Transition/index.d.ts.map +1 -0
  487. package/lib/typescript/commonjs/src/components/index.d.ts +69 -0
  488. package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -1
  489. package/lib/typescript/commonjs/src/theme/create-theme.d.ts.map +1 -1
  490. package/lib/typescript/commonjs/src/theme/default-theme.d.ts +20 -0
  491. package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -1
  492. package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -1
  493. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts +23 -0
  494. package/lib/typescript/commonjs/src/theme/functions/fns/helpers.d.ts.map +1 -0
  495. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +22 -1
  496. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -1
  497. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  498. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  499. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +19 -1
  500. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -1
  501. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts +2 -2
  502. package/lib/typescript/commonjs/src/theme/utils/rem.d.ts.map +1 -1
  503. package/lib/typescript/module/src/components/Accordion/index.d.ts +54 -0
  504. package/lib/typescript/module/src/components/Accordion/index.d.ts.map +1 -0
  505. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +4 -4
  506. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -1
  507. package/lib/typescript/module/src/components/Anchor/index.d.ts +25 -0
  508. package/lib/typescript/module/src/components/Anchor/index.d.ts.map +1 -0
  509. package/lib/typescript/module/src/components/AspectRatio/index.d.ts +12 -0
  510. package/lib/typescript/module/src/components/AspectRatio/index.d.ts.map +1 -0
  511. package/lib/typescript/module/src/components/Avatar/index.d.ts +23 -0
  512. package/lib/typescript/module/src/components/Avatar/index.d.ts.map +1 -0
  513. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts +15 -0
  514. package/lib/typescript/module/src/components/BackgroundImage/index.d.ts.map +1 -0
  515. package/lib/typescript/module/src/components/Badge/index.d.ts +24 -0
  516. package/lib/typescript/module/src/components/Badge/index.d.ts.map +1 -0
  517. package/lib/typescript/module/src/components/Blockquote/index.d.ts +18 -0
  518. package/lib/typescript/module/src/components/Blockquote/index.d.ts.map +1 -0
  519. package/lib/typescript/module/src/components/BoxView/index.d.ts +28 -0
  520. package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -1
  521. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts +12 -0
  522. package/lib/typescript/module/src/components/Breadcrumbs/index.d.ts.map +1 -0
  523. package/lib/typescript/module/src/components/Burger/index.d.ts +21 -0
  524. package/lib/typescript/module/src/components/Burger/index.d.ts.map +1 -0
  525. package/lib/typescript/module/src/components/Button/Button.styles.d.ts +5 -0
  526. package/lib/typescript/module/src/components/Button/Button.styles.d.ts.map +1 -1
  527. package/lib/typescript/module/src/components/Button/index.d.ts +1 -0
  528. package/lib/typescript/module/src/components/Button/index.d.ts.map +1 -1
  529. package/lib/typescript/module/src/components/Card/index.d.ts +24 -0
  530. package/lib/typescript/module/src/components/Card/index.d.ts.map +1 -0
  531. package/lib/typescript/module/src/components/Center/index.d.ts +15 -0
  532. package/lib/typescript/module/src/components/Center/index.d.ts.map +1 -0
  533. package/lib/typescript/module/src/components/Checkbox/index.d.ts +24 -0
  534. package/lib/typescript/module/src/components/Checkbox/index.d.ts.map +1 -0
  535. package/lib/typescript/module/src/components/Chip/index.d.ts +51 -0
  536. package/lib/typescript/module/src/components/Chip/index.d.ts.map +1 -0
  537. package/lib/typescript/module/src/components/CloseButton/index.d.ts +22 -0
  538. package/lib/typescript/module/src/components/CloseButton/index.d.ts.map +1 -0
  539. package/lib/typescript/module/src/components/Code/index.d.ts +15 -0
  540. package/lib/typescript/module/src/components/Code/index.d.ts.map +1 -0
  541. package/lib/typescript/module/src/components/Collapse/index.d.ts +20 -0
  542. package/lib/typescript/module/src/components/Collapse/index.d.ts.map +1 -0
  543. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts +20 -0
  544. package/lib/typescript/module/src/components/ColorSwatch/index.d.ts.map +1 -0
  545. package/lib/typescript/module/src/components/Container/index.d.ts +20 -0
  546. package/lib/typescript/module/src/components/Container/index.d.ts.map +1 -0
  547. package/lib/typescript/module/src/components/CopyButton/index.d.ts +15 -0
  548. package/lib/typescript/module/src/components/CopyButton/index.d.ts.map +1 -0
  549. package/lib/typescript/module/src/components/Dialog/index.d.ts +31 -0
  550. package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -0
  551. package/lib/typescript/module/src/components/Divider/index.d.ts +20 -0
  552. package/lib/typescript/module/src/components/Divider/index.d.ts.map +1 -0
  553. package/lib/typescript/module/src/components/Drawer/index.d.ts +36 -0
  554. package/lib/typescript/module/src/components/Drawer/index.d.ts.map +1 -0
  555. package/lib/typescript/module/src/components/Flex/index.d.ts +27 -0
  556. package/lib/typescript/module/src/components/Flex/index.d.ts.map +1 -0
  557. package/lib/typescript/module/src/components/Grid/index.d.ts +38 -0
  558. package/lib/typescript/module/src/components/Grid/index.d.ts.map +1 -0
  559. package/lib/typescript/module/src/components/Group/index.d.ts +2 -1
  560. package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -1
  561. package/lib/typescript/module/src/components/Highlight/index.d.ts +19 -0
  562. package/lib/typescript/module/src/components/Highlight/index.d.ts.map +1 -0
  563. package/lib/typescript/module/src/components/Image/index.d.ts +31 -0
  564. package/lib/typescript/module/src/components/Image/index.d.ts.map +1 -0
  565. package/lib/typescript/module/src/components/Indicator/index.d.ts +32 -0
  566. package/lib/typescript/module/src/components/Indicator/index.d.ts.map +1 -0
  567. package/lib/typescript/module/src/components/Input/Input.styles.d.ts +5 -5
  568. package/lib/typescript/module/src/components/Kbd/index.d.ts +12 -0
  569. package/lib/typescript/module/src/components/Kbd/index.d.ts.map +1 -0
  570. package/lib/typescript/module/src/components/List/index.d.ts +42 -0
  571. package/lib/typescript/module/src/components/List/index.d.ts.map +1 -0
  572. package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -1
  573. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts +23 -0
  574. package/lib/typescript/module/src/components/LoadingOverlay/index.d.ts.map +1 -0
  575. package/lib/typescript/module/src/components/Mark/index.d.ts +14 -0
  576. package/lib/typescript/module/src/components/Mark/index.d.ts.map +1 -0
  577. package/lib/typescript/module/src/components/MediaQuery/index.d.ts +24 -0
  578. package/lib/typescript/module/src/components/MediaQuery/index.d.ts.map +1 -0
  579. package/lib/typescript/module/src/components/Menu/index.d.ts +64 -0
  580. package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -0
  581. package/lib/typescript/module/src/components/Modal/index.d.ts +40 -0
  582. package/lib/typescript/module/src/components/Modal/index.d.ts.map +1 -0
  583. package/lib/typescript/module/src/components/MultiSelect/index.d.ts +53 -0
  584. package/lib/typescript/module/src/components/MultiSelect/index.d.ts.map +1 -0
  585. package/lib/typescript/module/src/components/NativeSelect/index.d.ts +45 -0
  586. package/lib/typescript/module/src/components/NativeSelect/index.d.ts.map +1 -0
  587. package/lib/typescript/module/src/components/NavLink/index.d.ts +30 -0
  588. package/lib/typescript/module/src/components/NavLink/index.d.ts.map +1 -0
  589. package/lib/typescript/module/src/components/Notification/index.d.ts +28 -0
  590. package/lib/typescript/module/src/components/Notification/index.d.ts.map +1 -0
  591. package/lib/typescript/module/src/components/NumberInput/index.d.ts +47 -0
  592. package/lib/typescript/module/src/components/NumberInput/index.d.ts.map +1 -0
  593. package/lib/typescript/module/src/components/Overlay/index.d.ts +24 -0
  594. package/lib/typescript/module/src/components/Overlay/index.d.ts.map +1 -0
  595. package/lib/typescript/module/src/components/Pagination/index.d.ts +37 -0
  596. package/lib/typescript/module/src/components/Pagination/index.d.ts.map +1 -0
  597. package/lib/typescript/module/src/components/Paper/index.d.ts +18 -0
  598. package/lib/typescript/module/src/components/Paper/index.d.ts.map +1 -0
  599. package/lib/typescript/module/src/components/PasswordInput/index.d.ts +15 -0
  600. package/lib/typescript/module/src/components/PasswordInput/index.d.ts.map +1 -0
  601. package/lib/typescript/module/src/components/PinInput/index.d.ts +33 -0
  602. package/lib/typescript/module/src/components/PinInput/index.d.ts.map +1 -0
  603. package/lib/typescript/module/src/components/Popover/index.d.ts +44 -0
  604. package/lib/typescript/module/src/components/Popover/index.d.ts.map +1 -0
  605. package/lib/typescript/module/src/components/Portal/index.d.ts +10 -0
  606. package/lib/typescript/module/src/components/Portal/index.d.ts.map +1 -0
  607. package/lib/typescript/module/src/components/Progress/index.d.ts +29 -0
  608. package/lib/typescript/module/src/components/Progress/index.d.ts.map +1 -0
  609. package/lib/typescript/module/src/components/Radio/index.d.ts +24 -0
  610. package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
  611. package/lib/typescript/module/src/components/Rating/index.d.ts +32 -0
  612. package/lib/typescript/module/src/components/Rating/index.d.ts.map +1 -0
  613. package/lib/typescript/module/src/components/RingProgress/index.d.ts +61 -0
  614. package/lib/typescript/module/src/components/RingProgress/index.d.ts.map +1 -0
  615. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts +35 -0
  616. package/lib/typescript/module/src/components/SegmentedControl/index.d.ts.map +1 -0
  617. package/lib/typescript/module/src/components/Select/index.d.ts +53 -0
  618. package/lib/typescript/module/src/components/Select/index.d.ts.map +1 -0
  619. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts +22 -0
  620. package/lib/typescript/module/src/components/SimpleGrid/index.d.ts.map +1 -0
  621. package/lib/typescript/module/src/components/Skeleton/index.d.ts +22 -0
  622. package/lib/typescript/module/src/components/Skeleton/index.d.ts.map +1 -0
  623. package/lib/typescript/module/src/components/Slider/index.d.ts +43 -0
  624. package/lib/typescript/module/src/components/Slider/index.d.ts.map +1 -0
  625. package/lib/typescript/module/src/components/Space/index.d.ts +13 -0
  626. package/lib/typescript/module/src/components/Space/index.d.ts.map +1 -0
  627. package/lib/typescript/module/src/components/Spoiler/index.d.ts +22 -0
  628. package/lib/typescript/module/src/components/Spoiler/index.d.ts.map +1 -0
  629. package/lib/typescript/module/src/components/Stepper/index.d.ts +55 -0
  630. package/lib/typescript/module/src/components/Stepper/index.d.ts.map +1 -0
  631. package/lib/typescript/module/src/components/Switch/index.d.ts +24 -0
  632. package/lib/typescript/module/src/components/Switch/index.d.ts.map +1 -0
  633. package/lib/typescript/module/src/components/Table/index.d.ts +72 -0
  634. package/lib/typescript/module/src/components/Table/index.d.ts.map +1 -0
  635. package/lib/typescript/module/src/components/Text/index.d.ts +4 -0
  636. package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -1
  637. package/lib/typescript/module/src/components/TextInput/index.d.ts +31 -0
  638. package/lib/typescript/module/src/components/TextInput/index.d.ts.map +1 -0
  639. package/lib/typescript/module/src/components/Textarea/index.d.ts +12 -0
  640. package/lib/typescript/module/src/components/Textarea/index.d.ts.map +1 -0
  641. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts +21 -0
  642. package/lib/typescript/module/src/components/ThemeIcon/index.d.ts.map +1 -0
  643. package/lib/typescript/module/src/components/Timeline/index.d.ts +52 -0
  644. package/lib/typescript/module/src/components/Timeline/index.d.ts.map +1 -0
  645. package/lib/typescript/module/src/components/Title/index.d.ts +14 -0
  646. package/lib/typescript/module/src/components/Title/index.d.ts.map +1 -0
  647. package/lib/typescript/module/src/components/Tooltip/index.d.ts +36 -0
  648. package/lib/typescript/module/src/components/Tooltip/index.d.ts.map +1 -0
  649. package/lib/typescript/module/src/components/TransferList/index.d.ts +42 -0
  650. package/lib/typescript/module/src/components/TransferList/index.d.ts.map +1 -0
  651. package/lib/typescript/module/src/components/Transition/index.d.ts +25 -0
  652. package/lib/typescript/module/src/components/Transition/index.d.ts.map +1 -0
  653. package/lib/typescript/module/src/components/index.d.ts +69 -0
  654. package/lib/typescript/module/src/components/index.d.ts.map +1 -1
  655. package/lib/typescript/module/src/theme/create-theme.d.ts.map +1 -1
  656. package/lib/typescript/module/src/theme/default-theme.d.ts +20 -0
  657. package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -1
  658. package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -1
  659. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts +23 -0
  660. package/lib/typescript/module/src/theme/functions/fns/helpers.d.ts.map +1 -0
  661. package/lib/typescript/module/src/theme/functions/fns/index.d.ts +22 -1
  662. package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -1
  663. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +8 -1
  664. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -1
  665. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +19 -1
  666. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -1
  667. package/lib/typescript/module/src/theme/utils/rem.d.ts +2 -2
  668. package/lib/typescript/module/src/theme/utils/rem.d.ts.map +1 -1
  669. package/package.json +3 -1
  670. package/src/components/Accordion/index.tsx +297 -0
  671. package/src/components/ActionIcon/ActionIcon.tsx +61 -44
  672. package/src/components/Anchor/index.tsx +139 -0
  673. package/src/components/AspectRatio/index.tsx +68 -0
  674. package/src/components/Avatar/index.tsx +164 -0
  675. package/src/components/BackgroundImage/index.tsx +77 -0
  676. package/src/components/Badge/index.tsx +193 -0
  677. package/src/components/Blockquote/index.tsx +104 -0
  678. package/src/components/BoxView/index.tsx +90 -2
  679. package/src/components/Breadcrumbs/index.tsx +64 -0
  680. package/src/components/Burger/index.tsx +230 -0
  681. package/src/components/Button/Button.styles.ts +36 -16
  682. package/src/components/Button/index.tsx +3 -1
  683. package/src/components/Card/index.tsx +166 -0
  684. package/src/components/Center/index.tsx +40 -0
  685. package/src/components/Checkbox/index.tsx +168 -0
  686. package/src/components/Chip/index.tsx +350 -0
  687. package/src/components/CloseButton/index.tsx +154 -0
  688. package/src/components/Code/index.tsx +83 -0
  689. package/src/components/Collapse/index.tsx +108 -0
  690. package/src/components/ColorSwatch/index.tsx +106 -0
  691. package/src/components/Container/index.tsx +92 -0
  692. package/src/components/CopyButton/index.tsx +60 -0
  693. package/src/components/Dialog/index.tsx +189 -0
  694. package/src/components/Divider/index.tsx +161 -0
  695. package/src/components/Drawer/index.tsx +315 -0
  696. package/src/components/Flex/index.tsx +87 -0
  697. package/src/components/Grid/index.tsx +167 -0
  698. package/src/components/Group/index.tsx +24 -5
  699. package/src/components/Highlight/index.tsx +93 -0
  700. package/src/components/Image/index.tsx +180 -0
  701. package/src/components/Indicator/index.tsx +240 -0
  702. package/src/components/Kbd/index.tsx +84 -0
  703. package/src/components/List/index.tsx +294 -0
  704. package/src/components/Loader/Loader.tsx +27 -17
  705. package/src/components/LoadingOverlay/index.tsx +103 -0
  706. package/src/components/Mark/index.tsx +51 -0
  707. package/src/components/MediaQuery/index.tsx +133 -0
  708. package/src/components/Menu/index.tsx +395 -0
  709. package/src/components/Modal/index.tsx +318 -0
  710. package/src/components/MultiSelect/index.tsx +458 -0
  711. package/src/components/NativeSelect/index.tsx +387 -0
  712. package/src/components/NavLink/index.tsx +205 -0
  713. package/src/components/Notification/index.tsx +175 -0
  714. package/src/components/NumberInput/index.tsx +356 -0
  715. package/src/components/Overlay/index.tsx +100 -0
  716. package/src/components/Pagination/index.tsx +336 -0
  717. package/src/components/Paper/index.tsx +155 -0
  718. package/src/components/PasswordInput/index.tsx +78 -0
  719. package/src/components/PinInput/index.tsx +251 -0
  720. package/src/components/Popover/index.tsx +244 -0
  721. package/src/components/Portal/index.tsx +75 -0
  722. package/src/components/Progress/index.tsx +182 -0
  723. package/src/components/Radio/index.tsx +169 -0
  724. package/src/components/Rating/index.tsx +214 -0
  725. package/src/components/RingProgress/index.tsx +206 -0
  726. package/src/components/SegmentedControl/index.tsx +259 -0
  727. package/src/components/Select/index.tsx +377 -0
  728. package/src/components/SimpleGrid/index.tsx +119 -0
  729. package/src/components/Skeleton/index.tsx +149 -0
  730. package/src/components/Slider/index.tsx +338 -0
  731. package/src/components/Space/index.tsx +48 -0
  732. package/src/components/Spoiler/index.tsx +123 -0
  733. package/src/components/Stepper/index.tsx +388 -0
  734. package/src/components/Switch/index.tsx +146 -0
  735. package/src/components/Table/index.tsx +402 -0
  736. package/src/components/Text/index.tsx +6 -1
  737. package/src/components/TextInput/index.tsx +232 -0
  738. package/src/components/Textarea/index.tsx +61 -0
  739. package/src/components/ThemeIcon/index.tsx +167 -0
  740. package/src/components/Timeline/index.tsx +331 -0
  741. package/src/components/Title/index.tsx +53 -0
  742. package/src/components/Tooltip/index.tsx +259 -0
  743. package/src/components/TransferList/index.tsx +399 -0
  744. package/src/components/Transition/index.tsx +225 -0
  745. package/src/components/index.tsx +101 -0
  746. package/src/theme/create-theme.ts +1 -0
  747. package/src/theme/default-theme.ts +24 -0
  748. package/src/theme/functions/attach-functions.ts +8 -1
  749. package/src/theme/functions/fns/helpers.ts +36 -0
  750. package/src/theme/functions/fns/index.ts +2 -0
  751. package/src/theme/functions/fns/theme-color/theme-color.ts +34 -3
  752. package/src/theme/functions/fns/variant.ts +110 -2
  753. package/src/theme/utils/rem.ts +9 -7
@@ -0,0 +1,300 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.MultiSelect = 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("../TextInput/index.js");
12
+ var _index4 = require("../Badge/index.js");
13
+ var _index5 = require("../Checkbox/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 _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
19
+ 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; }
20
+ const useStyles = (0, _index6.createStyles)((theme, {
21
+ color
22
+ }) => {
23
+ const colors = theme.colors[color] || theme.colors[theme.primaryColor];
24
+ return {
25
+ valuesContainer: {
26
+ flexDirection: 'row',
27
+ flexWrap: 'wrap',
28
+ gap: theme.spacing.xs,
29
+ padding: (0, _rem.rem)(4)
30
+ },
31
+ modalOverlay: {
32
+ flex: 1,
33
+ backgroundColor: 'rgba(0, 0, 0, 0.5)',
34
+ justifyContent: 'flex-end'
35
+ },
36
+ modalContent: {
37
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[7] : theme.white,
38
+ borderTopLeftRadius: theme.radius.lg,
39
+ borderTopRightRadius: theme.radius.lg,
40
+ maxHeight: '80%'
41
+ },
42
+ searchContainer: {
43
+ padding: theme.spacing.md,
44
+ borderBottomWidth: 1,
45
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[2]
46
+ },
47
+ listContainer: {
48
+ paddingVertical: (0, _rem.rem)(8)
49
+ },
50
+ item: {
51
+ paddingVertical: (0, _rem.rem)(12),
52
+ paddingHorizontal: theme.spacing.md,
53
+ flexDirection: 'row',
54
+ alignItems: 'center'
55
+ },
56
+ itemSelected: {
57
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : colors?.[0] || (theme.colors.gray || [])[0]
58
+ },
59
+ itemDisabled: {
60
+ opacity: 0.4
61
+ },
62
+ itemText: {
63
+ flex: 1,
64
+ fontSize: (0, _rem.rem)(14),
65
+ marginLeft: theme.spacing.sm,
66
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[0] : theme.black
67
+ },
68
+ itemTextSelected: {
69
+ fontWeight: '600',
70
+ color: colors?.[6] || colors?.[5] || theme.primaryBgColor
71
+ },
72
+ groupLabel: {
73
+ paddingVertical: (0, _rem.rem)(8),
74
+ paddingHorizontal: theme.spacing.md,
75
+ fontSize: (0, _rem.rem)(12),
76
+ fontWeight: '600',
77
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6],
78
+ textTransform: 'uppercase'
79
+ },
80
+ emptyState: {
81
+ padding: theme.spacing.xl,
82
+ alignItems: 'center'
83
+ },
84
+ emptyText: {
85
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6]
86
+ },
87
+ footer: {
88
+ padding: theme.spacing.md,
89
+ borderTopWidth: 1,
90
+ borderTopColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[2],
91
+ flexDirection: 'row',
92
+ justifyContent: 'space-between'
93
+ }
94
+ };
95
+ });
96
+ const defaultProps = {
97
+ size: 'md',
98
+ radius: 'sm',
99
+ color: 'blue',
100
+ disabled: false,
101
+ searchable: false,
102
+ clearable: false,
103
+ maxDropdownHeight: 400,
104
+ searchPlaceholder: 'Search...',
105
+ clearButtonLabel: 'Clear all',
106
+ maxSelectedValues: 5
107
+ };
108
+ const normalizeData = data => {
109
+ return data.map(item => typeof item === 'string' ? {
110
+ value: item,
111
+ label: item
112
+ } : item);
113
+ };
114
+ const MultiSelect = exports.MultiSelect = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
115
+ const {
116
+ data,
117
+ value: controlledValue,
118
+ defaultValue,
119
+ onChange,
120
+ placeholder,
121
+ label,
122
+ description,
123
+ error,
124
+ size,
125
+ radius,
126
+ color,
127
+ disabled,
128
+ searchable,
129
+ searchPlaceholder,
130
+ clearable,
131
+ clearButtonLabel,
132
+ maxDropdownHeight,
133
+ maxSelectedValues,
134
+ icon,
135
+ style,
136
+ ...others
137
+ } = (0, _themeProvider.useComponentDefaultProps)('MultiSelect', defaultProps, props);
138
+ const [opened, setOpened] = (0, _react.useState)(false);
139
+ const [searchQuery, setSearchQuery] = (0, _react.useState)('');
140
+ const [value, setValue] = (0, _react.useState)(defaultValue || []);
141
+ const {
142
+ styles
143
+ } = useStyles({
144
+ color,
145
+ size
146
+ }, {
147
+ name: 'MultiSelect'
148
+ });
149
+ const isControlled = controlledValue !== undefined;
150
+ const currentValue = isControlled ? controlledValue : value;
151
+ const normalizedData = normalizeData(data);
152
+ const filteredData = searchable ? normalizedData.filter(item => item.label.toLowerCase().includes(searchQuery.toLowerCase())) : normalizedData;
153
+ const handleToggle = itemValue => {
154
+ const newValue = currentValue.includes(itemValue) ? currentValue.filter(v => v !== itemValue) : [...currentValue, itemValue];
155
+ if (!isControlled) {
156
+ setValue(newValue);
157
+ }
158
+ onChange?.(newValue);
159
+ };
160
+ const handleClear = () => {
161
+ if (!isControlled) {
162
+ setValue([]);
163
+ }
164
+ onChange?.([]);
165
+ };
166
+ const selectedItems = normalizedData.filter(item => currentValue.includes(item.value));
167
+ const displayedValues = maxSelectedValues && selectedItems.length > maxSelectedValues ? selectedItems.slice(0, maxSelectedValues) : selectedItems;
168
+ const remainingCount = maxSelectedValues ? selectedItems.length - maxSelectedValues : 0;
169
+ const groupedData = {};
170
+ let ungroupedItems = [];
171
+ filteredData.forEach(item => {
172
+ if (item.group) {
173
+ if (!groupedData[item.group]) {
174
+ groupedData[item.group] = [];
175
+ }
176
+ groupedData[item.group].push(item);
177
+ } else {
178
+ ungroupedItems.push(item);
179
+ }
180
+ });
181
+ const renderValue = () => {
182
+ if (currentValue.length === 0) {
183
+ return null;
184
+ }
185
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
186
+ style: styles.valuesContainer,
187
+ children: [displayedValues.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.Badge, {
188
+ size: "sm",
189
+ color: color,
190
+ children: item.label
191
+ }, item.value)), remainingCount > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index4.Badge, {
192
+ size: "sm",
193
+ color: "gray",
194
+ children: ["+", remainingCount]
195
+ })]
196
+ });
197
+ };
198
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
199
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
200
+ onPress: () => !disabled && setOpened(true),
201
+ disabled: disabled,
202
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextInput, {
203
+ ref: ref,
204
+ label: label,
205
+ description: description,
206
+ error: error,
207
+ size: size,
208
+ radius: radius,
209
+ icon: icon,
210
+ value: "",
211
+ placeholder: currentValue.length === 0 ? placeholder : `${currentValue.length} selected`,
212
+ editable: !disabled,
213
+ style: style,
214
+ ...others
215
+ }), renderValue()]
216
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
217
+ visible: opened,
218
+ transparent: true,
219
+ animationType: "slide",
220
+ onRequestClose: () => setOpened(false),
221
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
222
+ activeOpacity: 1,
223
+ style: styles.modalOverlay,
224
+ onPress: () => setOpened(false),
225
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
226
+ activeOpacity: 1,
227
+ style: styles.modalContent,
228
+ children: [searchable && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
229
+ style: styles.searchContainer,
230
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.TextInput, {
231
+ placeholder: searchPlaceholder,
232
+ value: searchQuery,
233
+ onChange: e => setSearchQuery(e.nativeEvent.text),
234
+ autoFocus: true
235
+ })
236
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
237
+ style: {
238
+ maxHeight: maxDropdownHeight
239
+ },
240
+ contentContainerStyle: styles.listContainer,
241
+ children: [ungroupedItems.map(item => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
242
+ style: [styles.item, currentValue.includes(item.value) && styles.itemSelected, item.disabled && styles.itemDisabled],
243
+ onPress: () => !item.disabled && handleToggle(item.value),
244
+ disabled: item.disabled,
245
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Checkbox, {
246
+ checked: currentValue.includes(item.value),
247
+ onChange: () => !item.disabled && handleToggle(item.value),
248
+ disabled: item.disabled
249
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
250
+ style: [styles.itemText, currentValue.includes(item.value) && styles.itemTextSelected],
251
+ children: item.label
252
+ })]
253
+ }, item.value)), Object.keys(groupedData).map(group => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.default.Fragment, {
254
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
255
+ style: styles.groupLabel,
256
+ children: group
257
+ }), groupedData[group].map(item => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
258
+ style: [styles.item, currentValue.includes(item.value) && styles.itemSelected, item.disabled && styles.itemDisabled],
259
+ onPress: () => !item.disabled && handleToggle(item.value),
260
+ disabled: item.disabled,
261
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Checkbox, {
262
+ checked: currentValue.includes(item.value),
263
+ onChange: () => !item.disabled && handleToggle(item.value),
264
+ disabled: item.disabled
265
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
266
+ style: [styles.itemText, currentValue.includes(item.value) && styles.itemTextSelected],
267
+ children: item.label
268
+ })]
269
+ }, item.value))]
270
+ }, group)), filteredData.length === 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
271
+ style: styles.emptyState,
272
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
273
+ style: styles.emptyText,
274
+ children: "No options found"
275
+ })
276
+ })]
277
+ }), clearable && currentValue.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
278
+ style: styles.footer,
279
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
280
+ onPress: handleClear,
281
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
282
+ style: {
283
+ color: color
284
+ },
285
+ children: clearButtonLabel
286
+ })
287
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
288
+ onPress: () => setOpened(false),
289
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.Text, {
290
+ children: ["Done (", currentValue.length, ")"]
291
+ })
292
+ })]
293
+ })]
294
+ })
295
+ })
296
+ })]
297
+ });
298
+ });
299
+ MultiSelect.displayName = 'MultiSelect';
300
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_index3","_index4","_index5","_themeProvider","_index6","_rem","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","useStyles","createStyles","theme","color","colors","primaryColor","valuesContainer","flexDirection","flexWrap","gap","spacing","xs","padding","rem","modalOverlay","flex","backgroundColor","justifyContent","modalContent","colorScheme","dark","white","borderTopLeftRadius","radius","lg","borderTopRightRadius","maxHeight","searchContainer","md","borderBottomWidth","borderBottomColor","gray","listContainer","paddingVertical","item","paddingHorizontal","alignItems","itemSelected","itemDisabled","opacity","itemText","fontSize","marginLeft","sm","black","itemTextSelected","fontWeight","primaryBgColor","groupLabel","textTransform","emptyState","xl","emptyText","footer","borderTopWidth","borderTopColor","defaultProps","size","disabled","searchable","clearable","maxDropdownHeight","searchPlaceholder","clearButtonLabel","maxSelectedValues","normalizeData","data","map","value","label","MultiSelect","exports","forwardRef","props","ref","controlledValue","defaultValue","onChange","placeholder","description","error","icon","style","others","useComponentDefaultProps","opened","setOpened","useState","searchQuery","setSearchQuery","setValue","styles","name","isControlled","undefined","currentValue","normalizedData","filteredData","filter","toLowerCase","includes","handleToggle","itemValue","newValue","v","handleClear","selectedItems","displayedValues","length","slice","remainingCount","groupedData","ungroupedItems","forEach","group","push","renderValue","jsxs","BoxView","children","jsx","Badge","Fragment","TouchableOpacity","onPress","TextInput","editable","Modal","visible","transparent","animationType","onRequestClose","activeOpacity","nativeEvent","text","autoFocus","ScrollView","contentContainerStyle","Checkbox","checked","Text","keys","displayName"],"sourceRoot":"../../../../src","sources":["components/MultiSelect/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAMA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAOA,IAAAO,cAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,IAAA,GAAAT,OAAA;AAA4C,IAAAU,WAAA,GAAAV,OAAA;AA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AiC,QAAA,eAChD,IAAA5I,WAAA,CAAA0I,IAAA,EAACjJ,OAAA,CAAAwK,IAAI;gBAAArB,QAAA,GAAC,QAAM,EAACxB,YAAY,CAACa,MAAM,EAAC,GAAC;cAAA,CAAM;YAAC,CACzB,CAAC;UAAA,CACZ,CACV;QAAA,CACe;MAAC,CACH;IAAC,CACd,CAAC;EAAA,CACR,CAAC;AAEP,CACF,CAAC;AAEDtC,WAAW,CAACwE,WAAW,GAAG,aAAa","ignoreList":[]}
@@ -0,0 +1,295 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NativeSelect = 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 _themeProvider = require("../../theme/theme-provider.js");
12
+ var _index3 = require("../../theme/index.js");
13
+ var _rem = require("../../theme/utils/rem.js");
14
+ var _index4 = require("../Input/index.js");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ 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); }
17
+ 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; }
18
+ const useStyles = (0, _index3.createStyles)((theme, {
19
+ size,
20
+ radius,
21
+ variant,
22
+ fullWidth,
23
+ error,
24
+ disabled,
25
+ withIcon
26
+ }) => {
27
+ const getVariantStyles = () => {
28
+ switch (variant) {
29
+ case 'filled':
30
+ return {
31
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[1],
32
+ borderWidth: 1,
33
+ borderColor: 'transparent'
34
+ };
35
+ case 'unstyled':
36
+ return {
37
+ backgroundColor: 'transparent',
38
+ borderWidth: 0
39
+ };
40
+ default:
41
+ return {
42
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[6] : theme.white,
43
+ borderWidth: 1,
44
+ borderColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[4] : (theme.colors.gray || [])[4]
45
+ };
46
+ }
47
+ };
48
+ return {
49
+ wrapper: {
50
+ width: fullWidth ? '100%' : undefined
51
+ },
52
+ label: {
53
+ fontSize: theme.fontSizes.sm,
54
+ fontWeight: '500',
55
+ color: theme.colorScheme === 'dark' ? theme.white : theme.black,
56
+ marginBottom: theme.spacing.xs
57
+ },
58
+ description: {
59
+ fontSize: theme.fontSizes.xs,
60
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6],
61
+ marginTop: theme.spacing.xs
62
+ },
63
+ error: {
64
+ fontSize: theme.fontSizes.xs,
65
+ color: (theme.colors.red || [])[6],
66
+ marginTop: theme.spacing.xs
67
+ },
68
+ selectWrapper: {
69
+ flexDirection: 'row',
70
+ alignItems: 'center',
71
+ height: (0, _index3.getSize)({
72
+ size,
73
+ sizes: _index4.INPUT_SIZES
74
+ }),
75
+ borderRadius: theme.fn.radius(radius),
76
+ ...getVariantStyles(),
77
+ ...(error && {
78
+ borderColor: (theme.colors.red || [])[6]
79
+ }),
80
+ ...(disabled && {
81
+ opacity: 0.6
82
+ })
83
+ },
84
+ icon: {
85
+ paddingLeft: theme.spacing.sm,
86
+ paddingRight: theme.spacing.xs
87
+ },
88
+ selectText: {
89
+ flex: 1,
90
+ fontSize: (0, _index3.getSize)({
91
+ size,
92
+ sizes: theme.fontSizes
93
+ }),
94
+ color: theme.colorScheme === 'dark' ? theme.white : theme.black,
95
+ paddingHorizontal: theme.spacing.sm,
96
+ ...(withIcon && {
97
+ paddingLeft: 0
98
+ })
99
+ },
100
+ placeholder: {
101
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[3] : (theme.colors.gray || [])[5]
102
+ },
103
+ chevron: {
104
+ paddingRight: theme.spacing.sm
105
+ },
106
+ chevronText: {
107
+ fontSize: (0, _rem.rem)(16),
108
+ color: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[2] : (theme.colors.gray || [])[6]
109
+ },
110
+ modalOverlay: {
111
+ flex: 1,
112
+ justifyContent: 'flex-end'
113
+ },
114
+ modalContent: {
115
+ backgroundColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[7] : theme.white,
116
+ borderTopLeftRadius: theme.fn.radius('md'),
117
+ borderTopRightRadius: theme.fn.radius('md'),
118
+ maxHeight: '70%'
119
+ },
120
+ modalHeader: {
121
+ padding: theme.spacing.md,
122
+ borderBottomWidth: 1,
123
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[2]
124
+ },
125
+ modalTitle: {
126
+ fontSize: theme.fontSizes.lg,
127
+ fontWeight: '600',
128
+ color: theme.colorScheme === 'dark' ? theme.white : theme.black
129
+ },
130
+ option: {
131
+ padding: theme.spacing.md,
132
+ borderBottomWidth: 1,
133
+ borderBottomColor: theme.colorScheme === 'dark' ? (theme.colors.dark || [])[5] : (theme.colors.gray || [])[2]
134
+ },
135
+ optionSelected: {
136
+ backgroundColor: theme.colorScheme === 'dark' ? theme.fn.rgba(theme.colors[theme.primaryColor]?.[9] || theme.primaryBgColor, 0.25) : theme.colors[theme.primaryColor]?.[0] || (theme.colors.gray || [])[1]
137
+ },
138
+ optionDisabled: {
139
+ opacity: 0.4
140
+ },
141
+ optionText: {
142
+ fontSize: theme.fontSizes.sm,
143
+ color: theme.colorScheme === 'dark' ? theme.white : theme.black
144
+ },
145
+ optionTextSelected: {
146
+ fontWeight: '600',
147
+ color: theme.colors[theme.primaryColor]?.[6] || theme.primaryBgColor
148
+ }
149
+ };
150
+ });
151
+ const defaultProps = {
152
+ size: 'sm',
153
+ radius: 'sm',
154
+ variant: 'default',
155
+ fullWidth: false,
156
+ disabled: false,
157
+ required: false
158
+ };
159
+ const NativeSelect = exports.NativeSelect = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
160
+ const {
161
+ label,
162
+ description,
163
+ error,
164
+ size,
165
+ radius,
166
+ variant,
167
+ fullWidth,
168
+ data,
169
+ value: controlledValue,
170
+ defaultValue,
171
+ onChange,
172
+ disabled,
173
+ placeholder,
174
+ icon,
175
+ style,
176
+ wrapperStyle,
177
+ required,
178
+ ...others
179
+ } = (0, _themeProvider.useComponentDefaultProps)('NativeSelect', defaultProps, props);
180
+ const theme = (0, _themeProvider.useTheme)();
181
+ const [uncontrolledValue, setUncontrolledValue] = (0, _react.useState)(defaultValue || '');
182
+ const [modalVisible, setModalVisible] = (0, _react.useState)(false);
183
+ const value = controlledValue !== undefined ? controlledValue : uncontrolledValue;
184
+ const {
185
+ styles,
186
+ sx
187
+ } = useStyles({
188
+ size,
189
+ radius,
190
+ variant,
191
+ fullWidth,
192
+ error: !!error,
193
+ disabled,
194
+ withIcon: !!icon
195
+ }, {
196
+ name: 'NativeSelect'
197
+ });
198
+ const normalizedData = data.map(item => typeof item === 'string' ? {
199
+ value: item,
200
+ label: item
201
+ } : item);
202
+ const selectedItem = normalizedData.find(item => item.value === value);
203
+ const handleSelect = itemValue => {
204
+ if (controlledValue === undefined) {
205
+ setUncontrolledValue(itemValue);
206
+ }
207
+ onChange?.(itemValue);
208
+ setModalVisible(false);
209
+ };
210
+ const handlePress = () => {
211
+ if (!disabled) {
212
+ setModalVisible(true);
213
+ }
214
+ };
215
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
216
+ style: sx(styles.wrapper, wrapperStyle),
217
+ children: [label && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index2.Text, {
218
+ style: styles.label,
219
+ children: [typeof label === 'string' ? label : label, required && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
220
+ style: {
221
+ color: (theme.colors.red || [])[6]
222
+ },
223
+ children: " *"
224
+ })]
225
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
226
+ ref: ref,
227
+ style: sx(styles.selectWrapper, style),
228
+ onPress: handlePress,
229
+ disabled: disabled,
230
+ activeOpacity: 0.7,
231
+ ...others,
232
+ children: [icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
233
+ style: styles.icon,
234
+ children: icon
235
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
236
+ style: sx(styles.selectText, !selectedItem && styles.placeholder),
237
+ numberOfLines: 1,
238
+ children: selectedItem ? selectedItem.label : placeholder || 'Select option'
239
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
240
+ style: styles.chevron,
241
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
242
+ style: styles.chevronText,
243
+ children: "\u25BC"
244
+ })
245
+ })]
246
+ }), description && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
247
+ style: styles.description,
248
+ children: typeof description === 'string' ? description : description
249
+ }), error && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
250
+ style: styles.error,
251
+ children: typeof error === 'string' ? error : error
252
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
253
+ visible: modalVisible,
254
+ transparent: true,
255
+ animationType: "slide",
256
+ onRequestClose: () => setModalVisible(false),
257
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
258
+ style: styles.modalOverlay,
259
+ activeOpacity: 1,
260
+ onPress: () => setModalVisible(false),
261
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
262
+ activeOpacity: 1,
263
+ onPress: e => e.stopPropagation(),
264
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_index.BoxView, {
265
+ style: styles.modalContent,
266
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.BoxView, {
267
+ style: styles.modalHeader,
268
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
269
+ style: styles.modalTitle,
270
+ children: typeof label === 'string' ? label : 'Select an option'
271
+ })
272
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.FlatList, {
273
+ data: normalizedData,
274
+ keyExtractor: item => item.value,
275
+ renderItem: ({
276
+ item
277
+ }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
278
+ style: sx(styles.option, item.value === value && styles.optionSelected, item.disabled && styles.optionDisabled),
279
+ onPress: () => handleSelect(item.value),
280
+ disabled: item.disabled,
281
+ activeOpacity: 0.7,
282
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
283
+ style: sx(styles.optionText, item.value === value && styles.optionTextSelected),
284
+ children: item.label
285
+ })
286
+ })
287
+ })]
288
+ })
289
+ })
290
+ })
291
+ })]
292
+ });
293
+ });
294
+ NativeSelect.displayName = 'NativeSelect';
295
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_themeProvider","_index3","_rem","_index4","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","useStyles","createStyles","theme","size","radius","variant","fullWidth","error","disabled","withIcon","getVariantStyles","backgroundColor","colorScheme","colors","dark","gray","borderWidth","borderColor","white","wrapper","width","undefined","label","fontSize","fontSizes","sm","fontWeight","color","black","marginBottom","spacing","xs","description","marginTop","red","selectWrapper","flexDirection","alignItems","height","getSize","sizes","INPUT_SIZES","borderRadius","fn","opacity","icon","paddingLeft","paddingRight","selectText","flex","paddingHorizontal","placeholder","chevron","chevronText","rem","modalOverlay","justifyContent","modalContent","borderTopLeftRadius","borderTopRightRadius","maxHeight","modalHeader","padding","md","borderBottomWidth","borderBottomColor","modalTitle","lg","option","optionSelected","rgba","primaryColor","primaryBgColor","optionDisabled","optionText","optionTextSelected","defaultProps","required","NativeSelect","exports","forwardRef","props","ref","data","value","controlledValue","defaultValue","onChange","style","wrapperStyle","others","useComponentDefaultProps","useTheme","uncontrolledValue","setUncontrolledValue","useState","modalVisible","setModalVisible","styles","sx","name","normalizedData","map","item","selectedItem","find","handleSelect","itemValue","handlePress","jsxs","BoxView","children","Text","jsx","TouchableOpacity","onPress","activeOpacity","numberOfLines","Modal","visible","transparent","animationType","onRequestClose","stopPropagation","FlatList","keyExtractor","renderItem","displayName"],"sourceRoot":"../../../../src","sources":["components/NativeSelect/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;AAMA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AAAuC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK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