@campxdev/react-native-blueprint 0.1.8 → 0.1.11

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 (407) hide show
  1. package/README.md +188 -89
  2. package/lib/commonjs/app/_layout.js +34 -0
  3. package/lib/commonjs/app/_layout.js.map +1 -0
  4. package/lib/commonjs/assets/icons/weather_icons/drizzle.png +0 -0
  5. package/lib/commonjs/assets/icons/weather_icons/foggy.png +0 -0
  6. package/lib/commonjs/assets/icons/weather_icons/freezing_rain.png +0 -0
  7. package/lib/commonjs/assets/icons/weather_icons/partly_cloudy.png +0 -0
  8. package/lib/commonjs/assets/icons/weather_icons/rainy.png +0 -0
  9. package/lib/commonjs/assets/icons/weather_icons/showers.png +0 -0
  10. package/lib/commonjs/assets/icons/weather_icons/sunny_weather.png +0 -0
  11. package/lib/commonjs/assets/icons/weather_icons/thunderstorm.png +0 -0
  12. package/lib/commonjs/assets/icons/weather_icons/thunderstorm_hail.png +0 -0
  13. package/lib/commonjs/components/theme-config.js +274 -0
  14. package/lib/commonjs/components/theme-config.js.map +1 -0
  15. package/lib/commonjs/components/ui/Accordion.js +235 -0
  16. package/lib/commonjs/components/ui/Accordion.js.map +1 -0
  17. package/lib/commonjs/components/ui/Alert-Dialog.js +280 -0
  18. package/lib/commonjs/components/ui/Alert-Dialog.js.map +1 -0
  19. package/lib/commonjs/components/ui/Alert.js +113 -0
  20. package/lib/commonjs/components/ui/Alert.js.map +1 -0
  21. package/lib/commonjs/components/ui/AppBar.js +407 -0
  22. package/lib/commonjs/components/ui/AppBar.js.map +1 -0
  23. package/lib/commonjs/components/ui/Aspect-Ratio.js +30 -0
  24. package/lib/commonjs/components/ui/Aspect-Ratio.js.map +1 -0
  25. package/lib/commonjs/components/ui/Avatar.js +101 -0
  26. package/lib/commonjs/components/ui/Avatar.js.map +1 -0
  27. package/lib/commonjs/components/ui/Badge.js +131 -0
  28. package/lib/commonjs/components/ui/Badge.js.map +1 -0
  29. package/lib/commonjs/components/ui/Bottom-Sheet.js +156 -0
  30. package/lib/commonjs/components/ui/Bottom-Sheet.js.map +1 -0
  31. package/lib/commonjs/components/ui/Button.js +92 -0
  32. package/lib/commonjs/components/ui/Button.js.map +1 -0
  33. package/lib/commonjs/components/ui/Card.js +180 -0
  34. package/lib/commonjs/components/ui/Card.js.map +1 -0
  35. package/lib/commonjs/components/ui/Checkbox.js +69 -0
  36. package/lib/commonjs/components/ui/Checkbox.js.map +1 -0
  37. package/lib/commonjs/components/ui/Collapsible.js +45 -0
  38. package/lib/commonjs/components/ui/Collapsible.js.map +1 -0
  39. package/lib/commonjs/components/ui/Context-Menu.js +304 -0
  40. package/lib/commonjs/components/ui/Context-Menu.js.map +1 -0
  41. package/lib/commonjs/components/ui/Custom-Card.js +210 -0
  42. package/lib/commonjs/components/ui/Custom-Card.js.map +1 -0
  43. package/lib/commonjs/components/ui/Dialog.js +214 -0
  44. package/lib/commonjs/components/ui/Dialog.js.map +1 -0
  45. package/lib/commonjs/components/ui/Dropdown-Menu.js +438 -0
  46. package/lib/commonjs/components/ui/Dropdown-Menu.js.map +1 -0
  47. package/lib/commonjs/components/ui/Floating-Action.js +55 -0
  48. package/lib/commonjs/components/ui/Floating-Action.js.map +1 -0
  49. package/lib/commonjs/components/ui/Greeting-Card.js +401 -0
  50. package/lib/commonjs/components/ui/Greeting-Card.js.map +1 -0
  51. package/lib/commonjs/components/ui/Hover-Card.js +100 -0
  52. package/lib/commonjs/components/ui/Hover-Card.js.map +1 -0
  53. package/lib/commonjs/components/ui/Icon.js +76 -0
  54. package/lib/commonjs/components/ui/Icon.js.map +1 -0
  55. package/lib/commonjs/components/ui/Input.js +79 -0
  56. package/lib/commonjs/components/ui/Input.js.map +1 -0
  57. package/lib/commonjs/components/ui/Label.js +48 -0
  58. package/lib/commonjs/components/ui/Label.js.map +1 -0
  59. package/lib/commonjs/components/ui/Menubar.js +392 -0
  60. package/lib/commonjs/components/ui/Menubar.js.map +1 -0
  61. package/lib/commonjs/components/ui/Native-Only-Animated-View.js +43 -0
  62. package/lib/commonjs/components/ui/Native-Only-Animated-View.js.map +1 -0
  63. package/lib/commonjs/components/ui/NavBar.js +356 -0
  64. package/lib/commonjs/components/ui/NavBar.js.map +1 -0
  65. package/lib/commonjs/components/ui/Popover.js +105 -0
  66. package/lib/commonjs/components/ui/Popover.js.map +1 -0
  67. package/lib/commonjs/components/ui/Progress.js +127 -0
  68. package/lib/commonjs/components/ui/Progress.js.map +1 -0
  69. package/lib/commonjs/components/ui/Radio-Group.js +78 -0
  70. package/lib/commonjs/components/ui/Radio-Group.js.map +1 -0
  71. package/lib/commonjs/components/ui/Select.js +283 -0
  72. package/lib/commonjs/components/ui/Select.js.map +1 -0
  73. package/lib/commonjs/components/ui/Separator.js +62 -0
  74. package/lib/commonjs/components/ui/Separator.js.map +1 -0
  75. package/lib/commonjs/components/ui/SizedBox.js +106 -0
  76. package/lib/commonjs/components/ui/SizedBox.js.map +1 -0
  77. package/lib/commonjs/components/ui/Skeleton.js +60 -0
  78. package/lib/commonjs/components/ui/Skeleton.js.map +1 -0
  79. package/lib/commonjs/components/ui/Slider.js +178 -0
  80. package/lib/commonjs/components/ui/Slider.js.map +1 -0
  81. package/lib/commonjs/components/ui/Switch.js +57 -0
  82. package/lib/commonjs/components/ui/Switch.js.map +1 -0
  83. package/lib/commonjs/components/ui/Table.js +161 -0
  84. package/lib/commonjs/components/ui/Table.js.map +1 -0
  85. package/lib/commonjs/components/ui/Tabs.js +111 -0
  86. package/lib/commonjs/components/ui/Tabs.js.map +1 -0
  87. package/lib/commonjs/components/ui/Text.js +73 -0
  88. package/lib/commonjs/components/ui/Text.js.map +1 -0
  89. package/lib/commonjs/components/ui/Textarea.js +93 -0
  90. package/lib/commonjs/components/ui/Textarea.js.map +1 -0
  91. package/lib/commonjs/components/ui/Theme-Toggle.js +160 -0
  92. package/lib/commonjs/components/ui/Theme-Toggle.js.map +1 -0
  93. package/lib/commonjs/components/ui/Toast.js +107 -0
  94. package/lib/commonjs/components/ui/Toast.js.map +1 -0
  95. package/lib/commonjs/components/ui/Toggle-Group.js +133 -0
  96. package/lib/commonjs/components/ui/Toggle-Group.js.map +1 -0
  97. package/lib/commonjs/components/ui/Toggle.js +110 -0
  98. package/lib/commonjs/components/ui/Toggle.js.map +1 -0
  99. package/lib/commonjs/components/ui/Tooltip.js +110 -0
  100. package/lib/commonjs/components/ui/Tooltip.js.map +1 -0
  101. package/lib/commonjs/components/ui/index.js +479 -0
  102. package/lib/commonjs/components/ui/index.js.map +1 -0
  103. package/lib/commonjs/global.css +417 -0
  104. package/lib/commonjs/index.js +118 -0
  105. package/lib/commonjs/index.js.map +1 -0
  106. package/lib/commonjs/lib/ThemeProvider.js +180 -0
  107. package/lib/commonjs/lib/ThemeProvider.js.map +1 -0
  108. package/lib/commonjs/lib/cornerRadius.js +171 -0
  109. package/lib/commonjs/lib/cornerRadius.js.map +1 -0
  110. package/lib/commonjs/lib/fonts.js +101 -0
  111. package/lib/commonjs/lib/fonts.js.map +1 -0
  112. package/lib/commonjs/lib/slot-helpers.js +24 -0
  113. package/lib/commonjs/lib/slot-helpers.js.map +1 -0
  114. package/lib/commonjs/lib/theme.js +215 -0
  115. package/lib/commonjs/lib/theme.js.map +1 -0
  116. package/lib/commonjs/lib/utils.js +142 -0
  117. package/lib/commonjs/lib/utils.js.map +1 -0
  118. package/lib/commonjs/package.json +1 -0
  119. package/lib/commonjs/types/components.d.js +6 -0
  120. package/lib/commonjs/types/components.d.js.map +1 -0
  121. package/lib/commonjs/types/global.d.js +8 -0
  122. package/lib/commonjs/types/global.d.js.map +1 -0
  123. package/lib/commonjs/types/rn-primitives.d.js +6 -0
  124. package/lib/commonjs/types/rn-primitives.d.js.map +1 -0
  125. package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
  126. package/lib/module/components/ui/Context-Menu.js.map +1 -1
  127. package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
  128. package/lib/module/components/ui/Menubar.js.map +1 -1
  129. package/lib/module/components/ui/Tabs.js.map +1 -1
  130. package/lib/module/components/ui/Toggle-Group.js.map +1 -1
  131. package/lib/module/lib/fonts.js +81 -8
  132. package/lib/module/lib/fonts.js.map +1 -1
  133. package/lib/typescript/commonjs/package.json +1 -0
  134. package/lib/typescript/commonjs/src/app/_layout.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/src/components/theme-config.d.ts.map +1 -0
  136. package/lib/typescript/commonjs/src/components/ui/Accordion.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts.map +1 -0
  138. package/lib/typescript/commonjs/src/components/ui/Alert.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/components/ui/AppBar.d.ts.map +1 -0
  140. package/lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
  141. package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts +59 -59
  142. package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/src/components/ui/Badge.d.ts.map +1 -0
  144. package/lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/src/components/ui/Button.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/src/components/ui/Card.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/src/components/ui/Checkbox.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/src/components/ui/Collapsible.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/src/components/ui/Dialog.d.ts.map +1 -0
  152. package/lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts.map +1 -0
  154. package/lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts.map +1 -0
  156. package/lib/typescript/commonjs/src/components/ui/Icon.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/components/ui/Input.d.ts.map +1 -0
  158. package/lib/typescript/commonjs/src/components/ui/Label.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/src/components/ui/Menubar.d.ts.map +1 -0
  160. package/lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/src/components/ui/NavBar.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/src/components/ui/Popover.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/components/ui/Progress.d.ts.map +1 -0
  164. package/lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/src/components/ui/Select.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/src/components/ui/Separator.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/src/components/ui/SizedBox.d.ts.map +1 -0
  168. package/lib/typescript/commonjs/src/components/ui/Skeleton.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/src/components/ui/Slider.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/src/components/ui/Switch.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/src/components/ui/Table.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/src/components/ui/Tabs.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/src/components/ui/Text.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/src/components/ui/Textarea.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/src/components/ui/Toast.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts.map +1 -0
  178. package/lib/typescript/commonjs/src/components/ui/Toggle.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/src/components/ui/Tooltip.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/src/components/ui/index.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/src/lib/ThemeProvider.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/src/lib/cornerRadius.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/src/lib/fonts.d.ts +16 -0
  185. package/lib/typescript/commonjs/src/lib/fonts.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/src/lib/slot-helpers.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/src/lib/theme.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/lib/utils.d.ts.map +1 -0
  189. package/lib/typescript/module/src/app/_layout.d.ts +7 -0
  190. package/lib/typescript/module/src/app/_layout.d.ts.map +1 -0
  191. package/lib/typescript/module/src/components/theme-config.d.ts +174 -0
  192. package/lib/typescript/module/src/components/theme-config.d.ts.map +1 -0
  193. package/lib/typescript/module/src/components/ui/Accordion.d.ts +103 -0
  194. package/lib/typescript/module/src/components/ui/Accordion.d.ts.map +1 -0
  195. package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts +145 -0
  196. package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts.map +1 -0
  197. package/lib/typescript/module/src/components/ui/Alert.d.ts +61 -0
  198. package/lib/typescript/module/src/components/ui/Alert.d.ts.map +1 -0
  199. package/lib/typescript/module/src/components/ui/AppBar.d.ts +227 -0
  200. package/lib/typescript/module/src/components/ui/AppBar.d.ts.map +1 -0
  201. package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts +24 -0
  202. package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
  203. package/lib/typescript/module/src/components/ui/Avatar.d.ts +1486 -0
  204. package/lib/typescript/module/src/components/ui/Avatar.d.ts.map +1 -0
  205. package/lib/typescript/module/src/components/ui/Badge.d.ts +77 -0
  206. package/lib/typescript/module/src/components/ui/Badge.d.ts.map +1 -0
  207. package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts +43 -0
  208. package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
  209. package/lib/typescript/module/src/components/ui/Button.d.ts +23 -0
  210. package/lib/typescript/module/src/components/ui/Button.d.ts.map +1 -0
  211. package/lib/typescript/module/src/components/ui/Card.d.ts +93 -0
  212. package/lib/typescript/module/src/components/ui/Card.d.ts.map +1 -0
  213. package/lib/typescript/module/src/components/ui/Checkbox.d.ts +36 -0
  214. package/lib/typescript/module/src/components/ui/Checkbox.d.ts.map +1 -0
  215. package/lib/typescript/module/src/components/ui/Collapsible.d.ts +37 -0
  216. package/lib/typescript/module/src/components/ui/Collapsible.d.ts.map +1 -0
  217. package/lib/typescript/module/src/components/ui/Context-Menu.d.ts +107 -0
  218. package/lib/typescript/module/src/components/ui/Context-Menu.d.ts.map +1 -0
  219. package/lib/typescript/module/src/components/ui/Custom-Card.d.ts +103 -0
  220. package/lib/typescript/module/src/components/ui/Custom-Card.d.ts.map +1 -0
  221. package/lib/typescript/module/src/components/ui/Dialog.d.ts +90 -0
  222. package/lib/typescript/module/src/components/ui/Dialog.d.ts.map +1 -0
  223. package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts +242 -0
  224. package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
  225. package/lib/typescript/module/src/components/ui/Floating-Action.d.ts +44 -0
  226. package/lib/typescript/module/src/components/ui/Floating-Action.d.ts.map +1 -0
  227. package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts +153 -0
  228. package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts.map +1 -0
  229. package/lib/typescript/module/src/components/ui/Hover-Card.d.ts +49 -0
  230. package/lib/typescript/module/src/components/ui/Hover-Card.d.ts.map +1 -0
  231. package/lib/typescript/module/src/components/ui/Icon.d.ts +43 -0
  232. package/lib/typescript/module/src/components/ui/Icon.d.ts.map +1 -0
  233. package/lib/typescript/module/src/components/ui/Input.d.ts +54 -0
  234. package/lib/typescript/module/src/components/ui/Input.d.ts.map +1 -0
  235. package/lib/typescript/module/src/components/ui/Label.d.ts +34 -0
  236. package/lib/typescript/module/src/components/ui/Label.d.ts.map +1 -0
  237. package/lib/typescript/module/src/components/ui/Menubar.d.ts +142 -0
  238. package/lib/typescript/module/src/components/ui/Menubar.d.ts.map +1 -0
  239. package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts +26 -0
  240. package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
  241. package/lib/typescript/module/src/components/ui/NavBar.d.ts +273 -0
  242. package/lib/typescript/module/src/components/ui/NavBar.d.ts.map +1 -0
  243. package/lib/typescript/module/src/components/ui/Popover.d.ts +54 -0
  244. package/lib/typescript/module/src/components/ui/Popover.d.ts.map +1 -0
  245. package/lib/typescript/module/src/components/ui/Progress.d.ts +27 -0
  246. package/lib/typescript/module/src/components/ui/Progress.d.ts.map +1 -0
  247. package/lib/typescript/module/src/components/ui/Radio-Group.d.ts +47 -0
  248. package/lib/typescript/module/src/components/ui/Radio-Group.d.ts.map +1 -0
  249. package/lib/typescript/module/src/components/ui/Select.d.ts +86 -0
  250. package/lib/typescript/module/src/components/ui/Select.d.ts.map +1 -0
  251. package/lib/typescript/module/src/components/ui/Separator.d.ts +40 -0
  252. package/lib/typescript/module/src/components/ui/Separator.d.ts.map +1 -0
  253. package/lib/typescript/module/src/components/ui/SizedBox.d.ts +79 -0
  254. package/lib/typescript/module/src/components/ui/SizedBox.d.ts.map +1 -0
  255. package/lib/typescript/module/src/components/ui/Skeleton.d.ts +42 -0
  256. package/lib/typescript/module/src/components/ui/Skeleton.d.ts.map +1 -0
  257. package/lib/typescript/module/src/components/ui/Slider.d.ts +56 -0
  258. package/lib/typescript/module/src/components/ui/Slider.d.ts.map +1 -0
  259. package/lib/typescript/module/src/components/ui/Switch.d.ts +34 -0
  260. package/lib/typescript/module/src/components/ui/Switch.d.ts.map +1 -0
  261. package/lib/typescript/module/src/components/ui/Table.d.ts +80 -0
  262. package/lib/typescript/module/src/components/ui/Table.d.ts.map +1 -0
  263. package/lib/typescript/module/src/components/ui/Tabs.d.ts +51 -0
  264. package/lib/typescript/module/src/components/ui/Tabs.d.ts.map +1 -0
  265. package/lib/typescript/module/src/components/ui/Text.d.ts +45 -0
  266. package/lib/typescript/module/src/components/ui/Text.d.ts.map +1 -0
  267. package/lib/typescript/module/src/components/ui/Textarea.d.ts +65 -0
  268. package/lib/typescript/module/src/components/ui/Textarea.d.ts.map +1 -0
  269. package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts +67 -0
  270. package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts.map +1 -0
  271. package/lib/typescript/module/src/components/ui/Toast.d.ts +56 -0
  272. package/lib/typescript/module/src/components/ui/Toast.d.ts.map +1 -0
  273. package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts +49 -0
  274. package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts.map +1 -0
  275. package/lib/typescript/module/src/components/ui/Toggle.d.ts +53 -0
  276. package/lib/typescript/module/src/components/ui/Toggle.d.ts.map +1 -0
  277. package/lib/typescript/module/src/components/ui/Tooltip.d.ts +51 -0
  278. package/lib/typescript/module/src/components/ui/Tooltip.d.ts.map +1 -0
  279. package/lib/typescript/module/src/components/ui/index.d.ts +44 -0
  280. package/lib/typescript/module/src/components/ui/index.d.ts.map +1 -0
  281. package/lib/typescript/module/src/index.d.ts +9 -0
  282. package/lib/typescript/module/src/index.d.ts.map +1 -0
  283. package/lib/typescript/module/src/lib/ThemeProvider.d.ts +137 -0
  284. package/lib/typescript/module/src/lib/ThemeProvider.d.ts.map +1 -0
  285. package/lib/typescript/module/src/lib/cornerRadius.d.ts +112 -0
  286. package/lib/typescript/module/src/lib/cornerRadius.d.ts.map +1 -0
  287. package/lib/typescript/module/src/lib/fonts.d.ts +16 -0
  288. package/lib/typescript/module/src/lib/fonts.d.ts.map +1 -0
  289. package/lib/typescript/module/src/lib/slot-helpers.d.ts +32 -0
  290. package/lib/typescript/module/src/lib/slot-helpers.d.ts.map +1 -0
  291. package/lib/typescript/module/src/lib/theme.d.ts +87 -0
  292. package/lib/typescript/module/src/lib/theme.d.ts.map +1 -0
  293. package/lib/typescript/module/src/lib/utils.d.ts +111 -0
  294. package/lib/typescript/module/src/lib/utils.d.ts.map +1 -0
  295. package/package.json +180 -50
  296. package/src/components/ui/Alert-Dialog.tsx +2 -2
  297. package/src/components/ui/Context-Menu.tsx +1 -1
  298. package/src/components/ui/Dropdown-Menu.tsx +1 -1
  299. package/src/components/ui/Menubar.tsx +2 -2
  300. package/src/components/ui/Tabs.tsx +1 -1
  301. package/src/components/ui/Toggle-Group.tsx +2 -2
  302. package/src/lib/fonts.ts +83 -12
  303. package/lib/typescript/src/app/_layout.d.ts.map +0 -1
  304. package/lib/typescript/src/components/theme-config.d.ts.map +0 -1
  305. package/lib/typescript/src/components/ui/Accordion.d.ts.map +0 -1
  306. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +0 -1
  307. package/lib/typescript/src/components/ui/Alert.d.ts.map +0 -1
  308. package/lib/typescript/src/components/ui/AppBar.d.ts.map +0 -1
  309. package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +0 -1
  310. package/lib/typescript/src/components/ui/Badge.d.ts.map +0 -1
  311. package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +0 -1
  312. package/lib/typescript/src/components/ui/Button.d.ts.map +0 -1
  313. package/lib/typescript/src/components/ui/Card.d.ts.map +0 -1
  314. package/lib/typescript/src/components/ui/Checkbox.d.ts.map +0 -1
  315. package/lib/typescript/src/components/ui/Collapsible.d.ts.map +0 -1
  316. package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +0 -1
  317. package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +0 -1
  318. package/lib/typescript/src/components/ui/Dialog.d.ts.map +0 -1
  319. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +0 -1
  320. package/lib/typescript/src/components/ui/Floating-Action.d.ts.map +0 -1
  321. package/lib/typescript/src/components/ui/Greeting-Card.d.ts.map +0 -1
  322. package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +0 -1
  323. package/lib/typescript/src/components/ui/Icon.d.ts.map +0 -1
  324. package/lib/typescript/src/components/ui/Input.d.ts.map +0 -1
  325. package/lib/typescript/src/components/ui/Label.d.ts.map +0 -1
  326. package/lib/typescript/src/components/ui/Menubar.d.ts.map +0 -1
  327. package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts.map +0 -1
  328. package/lib/typescript/src/components/ui/NavBar.d.ts.map +0 -1
  329. package/lib/typescript/src/components/ui/Popover.d.ts.map +0 -1
  330. package/lib/typescript/src/components/ui/Progress.d.ts.map +0 -1
  331. package/lib/typescript/src/components/ui/Radio-Group.d.ts.map +0 -1
  332. package/lib/typescript/src/components/ui/Select.d.ts.map +0 -1
  333. package/lib/typescript/src/components/ui/Separator.d.ts.map +0 -1
  334. package/lib/typescript/src/components/ui/SizedBox.d.ts.map +0 -1
  335. package/lib/typescript/src/components/ui/Skeleton.d.ts.map +0 -1
  336. package/lib/typescript/src/components/ui/Slider.d.ts.map +0 -1
  337. package/lib/typescript/src/components/ui/Switch.d.ts.map +0 -1
  338. package/lib/typescript/src/components/ui/Table.d.ts.map +0 -1
  339. package/lib/typescript/src/components/ui/Tabs.d.ts.map +0 -1
  340. package/lib/typescript/src/components/ui/Text.d.ts.map +0 -1
  341. package/lib/typescript/src/components/ui/Textarea.d.ts.map +0 -1
  342. package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +0 -1
  343. package/lib/typescript/src/components/ui/Toast.d.ts.map +0 -1
  344. package/lib/typescript/src/components/ui/Toggle-Group.d.ts.map +0 -1
  345. package/lib/typescript/src/components/ui/Toggle.d.ts.map +0 -1
  346. package/lib/typescript/src/components/ui/Tooltip.d.ts.map +0 -1
  347. package/lib/typescript/src/components/ui/index.d.ts.map +0 -1
  348. package/lib/typescript/src/index.d.ts.map +0 -1
  349. package/lib/typescript/src/lib/ThemeProvider.d.ts.map +0 -1
  350. package/lib/typescript/src/lib/cornerRadius.d.ts.map +0 -1
  351. package/lib/typescript/src/lib/fonts.d.ts +0 -21
  352. package/lib/typescript/src/lib/fonts.d.ts.map +0 -1
  353. package/lib/typescript/src/lib/slot-helpers.d.ts.map +0 -1
  354. package/lib/typescript/src/lib/theme.d.ts.map +0 -1
  355. package/lib/typescript/src/lib/utils.d.ts.map +0 -1
  356. /package/lib/typescript/{src → commonjs/src}/app/_layout.d.ts +0 -0
  357. /package/lib/typescript/{src → commonjs/src}/components/theme-config.d.ts +0 -0
  358. /package/lib/typescript/{src → commonjs/src}/components/ui/Accordion.d.ts +0 -0
  359. /package/lib/typescript/{src → commonjs/src}/components/ui/Alert-Dialog.d.ts +0 -0
  360. /package/lib/typescript/{src → commonjs/src}/components/ui/Alert.d.ts +0 -0
  361. /package/lib/typescript/{src → commonjs/src}/components/ui/AppBar.d.ts +0 -0
  362. /package/lib/typescript/{src → commonjs/src}/components/ui/Aspect-Ratio.d.ts +0 -0
  363. /package/lib/typescript/{src → commonjs/src}/components/ui/Badge.d.ts +0 -0
  364. /package/lib/typescript/{src → commonjs/src}/components/ui/Bottom-Sheet.d.ts +0 -0
  365. /package/lib/typescript/{src → commonjs/src}/components/ui/Button.d.ts +0 -0
  366. /package/lib/typescript/{src → commonjs/src}/components/ui/Card.d.ts +0 -0
  367. /package/lib/typescript/{src → commonjs/src}/components/ui/Checkbox.d.ts +0 -0
  368. /package/lib/typescript/{src → commonjs/src}/components/ui/Collapsible.d.ts +0 -0
  369. /package/lib/typescript/{src → commonjs/src}/components/ui/Context-Menu.d.ts +0 -0
  370. /package/lib/typescript/{src → commonjs/src}/components/ui/Custom-Card.d.ts +0 -0
  371. /package/lib/typescript/{src → commonjs/src}/components/ui/Dialog.d.ts +0 -0
  372. /package/lib/typescript/{src → commonjs/src}/components/ui/Dropdown-Menu.d.ts +0 -0
  373. /package/lib/typescript/{src → commonjs/src}/components/ui/Floating-Action.d.ts +0 -0
  374. /package/lib/typescript/{src → commonjs/src}/components/ui/Greeting-Card.d.ts +0 -0
  375. /package/lib/typescript/{src → commonjs/src}/components/ui/Hover-Card.d.ts +0 -0
  376. /package/lib/typescript/{src → commonjs/src}/components/ui/Icon.d.ts +0 -0
  377. /package/lib/typescript/{src → commonjs/src}/components/ui/Input.d.ts +0 -0
  378. /package/lib/typescript/{src → commonjs/src}/components/ui/Label.d.ts +0 -0
  379. /package/lib/typescript/{src → commonjs/src}/components/ui/Menubar.d.ts +0 -0
  380. /package/lib/typescript/{src → commonjs/src}/components/ui/Native-Only-Animated-View.d.ts +0 -0
  381. /package/lib/typescript/{src → commonjs/src}/components/ui/NavBar.d.ts +0 -0
  382. /package/lib/typescript/{src → commonjs/src}/components/ui/Popover.d.ts +0 -0
  383. /package/lib/typescript/{src → commonjs/src}/components/ui/Progress.d.ts +0 -0
  384. /package/lib/typescript/{src → commonjs/src}/components/ui/Radio-Group.d.ts +0 -0
  385. /package/lib/typescript/{src → commonjs/src}/components/ui/Select.d.ts +0 -0
  386. /package/lib/typescript/{src → commonjs/src}/components/ui/Separator.d.ts +0 -0
  387. /package/lib/typescript/{src → commonjs/src}/components/ui/SizedBox.d.ts +0 -0
  388. /package/lib/typescript/{src → commonjs/src}/components/ui/Skeleton.d.ts +0 -0
  389. /package/lib/typescript/{src → commonjs/src}/components/ui/Slider.d.ts +0 -0
  390. /package/lib/typescript/{src → commonjs/src}/components/ui/Switch.d.ts +0 -0
  391. /package/lib/typescript/{src → commonjs/src}/components/ui/Table.d.ts +0 -0
  392. /package/lib/typescript/{src → commonjs/src}/components/ui/Tabs.d.ts +0 -0
  393. /package/lib/typescript/{src → commonjs/src}/components/ui/Text.d.ts +0 -0
  394. /package/lib/typescript/{src → commonjs/src}/components/ui/Textarea.d.ts +0 -0
  395. /package/lib/typescript/{src → commonjs/src}/components/ui/Theme-Toggle.d.ts +0 -0
  396. /package/lib/typescript/{src → commonjs/src}/components/ui/Toast.d.ts +0 -0
  397. /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle-Group.d.ts +0 -0
  398. /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle.d.ts +0 -0
  399. /package/lib/typescript/{src → commonjs/src}/components/ui/Tooltip.d.ts +0 -0
  400. /package/lib/typescript/{src → commonjs/src}/components/ui/index.d.ts +0 -0
  401. /package/lib/typescript/{src → commonjs/src}/index.d.ts +0 -0
  402. /package/lib/typescript/{src → commonjs/src}/lib/ThemeProvider.d.ts +0 -0
  403. /package/lib/typescript/{src → commonjs/src}/lib/cornerRadius.d.ts +0 -0
  404. /package/lib/typescript/{src → commonjs/src}/lib/slot-helpers.d.ts +0 -0
  405. /package/lib/typescript/{src → commonjs/src}/lib/theme.d.ts +0 -0
  406. /package/lib/typescript/{src → commonjs/src}/lib/utils.d.ts +0 -0
  407. /package/lib/typescript/{package.json → module/package.json} +0 -0
@@ -0,0 +1,93 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Textarea = Textarea;
7
+ var _utils = require("../../lib/utils");
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _reactNative = require("react-native");
10
+ var _nativewind = require("nativewind");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ 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); }
13
+ const TextInput = (0, _nativewind.cssInterop)(_reactNative.TextInput, {
14
+ className: 'style'
15
+ });
16
+
17
+ /**
18
+ * Props for Textarea component
19
+ *
20
+ * @extends TextInputProps - All React Native TextInput properties
21
+ * @property {string} [className] - Additional Tailwind classes for styling
22
+ * @property {string} [placeholderClassName] - Tailwind classes for placeholder text styling
23
+ *
24
+ * @example
25
+ * ```tsx
26
+ * <Textarea
27
+ * placeholder="Enter your message"
28
+ * value={message}
29
+ * onChangeText={setMessage}
30
+ * numberOfLines={4}
31
+ * />
32
+ * ```
33
+ */
34
+
35
+ /**
36
+ * Multi-line text input component
37
+ *
38
+ * A textarea component for longer text input with configurable height and styling.
39
+ * Automatically configured for multi-line input with appropriate platform-specific defaults.
40
+ *
41
+ * @component
42
+ * @example
43
+ * ```tsx
44
+ * // Basic textarea
45
+ * <Textarea
46
+ * placeholder="Enter description"
47
+ * value={description}
48
+ * onChangeText={setDescription}
49
+ * />
50
+ *
51
+ * // Controlled textarea with validation
52
+ * <Textarea
53
+ * value={bio}
54
+ * onChangeText={setBio}
55
+ * placeholder="Tell us about yourself"
56
+ * numberOfLines={6}
57
+ * maxLength={500}
58
+ * />
59
+ *
60
+ * // Disabled textarea
61
+ * <Textarea value={content} editable={false} />
62
+ * ```
63
+ *
64
+ * @accessibility
65
+ * - Supports standard TextInput accessibility props
66
+ * - Placeholder text with appropriate color contrast
67
+ * - Focus states on web for keyboard navigation
68
+ * - Disabled state with reduced opacity
69
+ */
70
+ function Textarea({
71
+ className,
72
+ multiline = true,
73
+ numberOfLines = _reactNative.Platform.select({
74
+ web: 2,
75
+ native: 8
76
+ }),
77
+ placeholderClassName,
78
+ editable = true,
79
+ ...props
80
+ }) {
81
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextInput, {
82
+ className: (0, _utils.cn)('text-foreground border-input dark:bg-input/30 flex min-h-16 w-full flex-row rounded-md border bg-transparent px-3 py-2 text-base shadow-sm shadow-black/5 md:text-sm', _reactNative.Platform.select({
83
+ web: 'placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive field-sizing-content resize-y outline-none transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed'
84
+ }), !editable && 'opacity-50', className),
85
+ placeholderClassName: (0, _utils.cn)('text-muted-foreground', placeholderClassName),
86
+ multiline: multiline,
87
+ numberOfLines: numberOfLines,
88
+ textAlignVertical: "top",
89
+ editable: editable,
90
+ ...props
91
+ });
92
+ }
93
+ //# sourceMappingURL=Textarea.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_utils","require","React","_interopRequireWildcard","_reactNative","_nativewind","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TextInput","cssInterop","RNTextInput","className","Textarea","multiline","numberOfLines","Platform","select","web","native","placeholderClassName","editable","props","jsx","cn","textAlignVertical"],"sourceRoot":"../../../../src","sources":["components/ui/Textarea.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAKA,IAAAI,WAAA,GAAAJ,OAAA;AAAwC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,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,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,C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AE;IACP,CAAC,CAAC,EACF,CAACG,QAAQ,IAAI,YAAY,EACzBT,SACF,CAAE;IACFQ,oBAAoB,EAAE,IAAAI,SAAE,EAAC,uBAAuB,EAAEJ,oBAAoB,CAAE;IACxEN,SAAS,EAAEA,SAAU;IACrBC,aAAa,EAAEA,aAAc;IAC7BU,iBAAiB,EAAC,KAAK;IACvBJ,QAAQ,EAAEA,QAAS;IAAA,GACfC;EAAK,CACV,CAAC;AAEN","ignoreList":[]}
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ThemeToggle = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _nativewind = require("nativewind");
10
+ var _lucideReactNative = require("lucide-react-native");
11
+ var _utils = require("../../lib/utils");
12
+ var _ThemeProvider = require("../../lib/ThemeProvider");
13
+ var _Icon = require("./Icon");
14
+ var _Text = require("./Text");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ 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
+ const View = (0, _nativewind.cssInterop)(_reactNative.View, {
18
+ className: 'style'
19
+ });
20
+ const Pressable = (0, _nativewind.cssInterop)(_reactNative.Pressable, {
21
+ className: 'style'
22
+ });
23
+
24
+ /**
25
+ * Theme toggle button variants
26
+ */
27
+
28
+ /**
29
+ * Props for ThemeToggle component
30
+ *
31
+ * @property {'icon' | 'button' | 'segmented'} [variant='icon'] - Visual style variant
32
+ * @property {boolean} [showLabel=false] - Show text label next to icon (for button variant)
33
+ * @property {string} [className] - Additional Tailwind classes
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * // Icon only (default)
38
+ * <ThemeToggle />
39
+ *
40
+ * // Button with label
41
+ * <ThemeToggle variant="button" showLabel />
42
+ *
43
+ * // Segmented control
44
+ * <ThemeToggle variant="segmented" />
45
+ * ```
46
+ */
47
+
48
+ /**
49
+ * Theme toggle component for switching between light, dark, and system themes
50
+ *
51
+ * Provides three variants:
52
+ * - **icon**: Simple icon button that cycles through themes (light → dark → system)
53
+ * - **button**: Button with icon and optional label
54
+ * - **segmented**: Segmented control showing all three options
55
+ *
56
+ * @component
57
+ * @example
58
+ * ```tsx
59
+ * // Icon toggle (minimal)
60
+ * <ThemeToggle />
61
+ *
62
+ * // Button with label
63
+ * <ThemeToggle variant="button" showLabel />
64
+ *
65
+ * // Segmented control (shows all options)
66
+ * <ThemeToggle variant="segmented" />
67
+ *
68
+ * // Custom styling
69
+ * <ThemeToggle className="my-4" />
70
+ * ```
71
+ *
72
+ * @accessibility
73
+ * - Proper button role for screen readers
74
+ * - Announces current theme state
75
+ * - Keyboard navigable on web
76
+ */
77
+ const ThemeToggle = exports.ThemeToggle = /*#__PURE__*/React.forwardRef(({
78
+ variant = 'icon',
79
+ showLabel = false,
80
+ className,
81
+ ...props
82
+ }, ref) => {
83
+ const {
84
+ mode,
85
+ isDark,
86
+ setMode
87
+ } = (0, _ThemeProvider.useTheme)();
88
+
89
+ // Cycle through themes: light → dark → system → light
90
+ const cycleTheme = () => {
91
+ const nextMode = mode === 'light' ? 'dark' : mode === 'dark' ? 'system' : 'light';
92
+ setMode(nextMode);
93
+ };
94
+ if (variant === 'segmented') {
95
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
96
+ ref: ref,
97
+ className: (0, _utils.cn)('flex-row bg-muted dark:bg-muted rounded-lg p-1', className),
98
+ ...props,
99
+ children: ['light', 'dark', 'system'].map(themeMode => {
100
+ const isActive = mode === themeMode;
101
+ const IconComponent = themeMode === 'light' ? _lucideReactNative.Sun : themeMode === 'dark' ? _lucideReactNative.Moon : _lucideReactNative.Monitor;
102
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Pressable, {
103
+ onPress: () => setMode(themeMode),
104
+ className: (0, _utils.cn)('flex-1 flex-row items-center justify-center rounded-md px-3 py-2 transition-colors', isActive ? 'bg-background dark:bg-background shadow-sm' : 'active:bg-background/50 dark:active:bg-background/50'),
105
+ role: "button",
106
+ accessibilityLabel: `Switch to ${themeMode} theme`,
107
+ accessibilityState: {
108
+ selected: isActive
109
+ },
110
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
111
+ as: IconComponent,
112
+ size: 16,
113
+ className: (0, _utils.cn)(isActive ? 'text-foreground dark:text-foreground' : 'text-muted-foreground dark:text-muted-foreground')
114
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
115
+ className: (0, _utils.cn)('ml-2 text-sm font-medium capitalize', isActive ? 'text-foreground dark:text-foreground' : 'text-muted-foreground dark:text-muted-foreground'),
116
+ children: themeMode
117
+ })]
118
+ }, themeMode);
119
+ })
120
+ });
121
+ }
122
+ if (variant === 'button') {
123
+ const IconComponent = isDark ? _lucideReactNative.Moon : _lucideReactNative.Sun;
124
+ const label = mode === 'system' ? 'System' : isDark ? 'Dark' : 'Light';
125
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Pressable, {
126
+ ref: ref,
127
+ onPress: cycleTheme,
128
+ className: (0, _utils.cn)('flex-row items-center justify-center rounded-md px-4 py-2', 'bg-secondary dark:bg-secondary active:opacity-80', className),
129
+ role: "button",
130
+ accessibilityLabel: `Current theme: ${label}. Tap to change.`,
131
+ ...props,
132
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
133
+ as: IconComponent,
134
+ size: 16,
135
+ className: "text-secondary-foreground dark:text-secondary-foreground"
136
+ }), showLabel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
137
+ className: "ml-2 text-sm font-medium text-secondary-foreground dark:text-secondary-foreground",
138
+ children: label
139
+ })]
140
+ });
141
+ }
142
+
143
+ // Default: icon variant
144
+ const IconComponent = mode === 'system' ? _lucideReactNative.Monitor : isDark ? _lucideReactNative.Moon : _lucideReactNative.Sun;
145
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Pressable, {
146
+ ref: ref,
147
+ onPress: cycleTheme,
148
+ className: (0, _utils.cn)('h-10 w-10 items-center justify-center rounded-md', 'active:bg-accent dark:active:bg-accent', 'web:hover:bg-accent/50 dark:web:hover:bg-accent/50', 'web:transition-colors', className),
149
+ role: "button",
150
+ accessibilityLabel: `Current theme: ${mode}. Tap to cycle themes.`,
151
+ ...props,
152
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
153
+ as: IconComponent,
154
+ size: 20,
155
+ className: "text-foreground dark:text-foreground"
156
+ })
157
+ });
158
+ });
159
+ ThemeToggle.displayName = 'ThemeToggle';
160
+ //# sourceMappingURL=Theme-Toggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_nativewind","_lucideReactNative","_utils","_ThemeProvider","_Icon","_Text","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","View","cssInterop","RNView","className","Pressable","RNPressable","ThemeToggle","exports","forwardRef","variant","showLabel","props","ref","mode","isDark","setMode","useTheme","cycleTheme","nextMode","jsx","cn","children","map","themeMode","isActive","IconComponent","Sun","Moon","Monitor","jsxs","onPress","role","accessibilityLabel","accessibilityState","selected","Icon","as","size","Text","label","displayName"],"sourceRoot":"../../../../src","sources":["components/ui/Theme-Toggle.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA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 value: true
5
+ });
6
+ exports.Toast = Toast;
7
+ exports.ToastDescription = ToastDescription;
8
+ exports.ToastTitle = ToastTitle;
9
+ var _utils = require("../../lib/utils");
10
+ var _Text = require("./Text");
11
+ var _Icon = require("./Icon");
12
+ var React = _interopRequireWildcard(require("react"));
13
+ var _reactNative = require("react-native");
14
+ var _nativewind = require("nativewind");
15
+ var _jsxRuntime = require("react/jsx-runtime");
16
+ 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
+ const View = (0, _nativewind.cssInterop)(_reactNative.View, {
18
+ className: 'style'
19
+ });
20
+
21
+ /**
22
+ * Toast notification component
23
+ *
24
+ * Displays temporary messages or notifications with optional icons.
25
+ * Supports default and destructive variants for different message types.
26
+ *
27
+ * @component
28
+ * @example
29
+ * ```tsx
30
+ * <Toast icon={CheckCircle}>
31
+ * <ToastTitle>
32
+ * <Text>Success</Text>
33
+ * </ToastTitle>
34
+ * <ToastDescription>
35
+ * <Text>Your changes have been saved</Text>
36
+ * </ToastDescription>
37
+ * </Toast>
38
+ *
39
+ * <Toast variant="destructive" icon={AlertCircle}>
40
+ * <ToastTitle>
41
+ * <Text>Error</Text>
42
+ * </ToastTitle>
43
+ * <ToastDescription>
44
+ * <Text>Failed to save changes</Text>
45
+ * </ToastDescription>
46
+ * </Toast>
47
+ * ```
48
+ *
49
+ * @accessibility
50
+ * - Announces messages to screen readers
51
+ * - Proper role for notifications
52
+ */
53
+ function Toast({
54
+ className,
55
+ variant,
56
+ children,
57
+ icon,
58
+ iconClassName,
59
+ ...props
60
+ }) {
61
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
62
+ value: (0, _utils.cn)('text-sm text-foreground', variant === 'destructive' && 'text-destructive', className),
63
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(View, {
64
+ className: (0, _utils.cn)('bg-background border-border relative flex-row items-start gap-3 rounded-lg border p-4 shadow-lg shadow-black/10', variant === 'destructive' && 'border-destructive', className),
65
+ ...props,
66
+ children: [icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
67
+ as: icon,
68
+ className: (0, _utils.cn)('size-5 shrink-0', variant === 'destructive' && 'text-destructive', iconClassName)
69
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
70
+ className: "flex-1 gap-1",
71
+ children: children
72
+ })]
73
+ })
74
+ });
75
+ }
76
+
77
+ /**
78
+ * Toast title component
79
+ *
80
+ * @component
81
+ */
82
+ function ToastTitle({
83
+ className,
84
+ ...props
85
+ }) {
86
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
87
+ className: (0, _utils.cn)('font-semibold leading-none tracking-tight', className),
88
+ ...props
89
+ });
90
+ }
91
+
92
+ /**
93
+ * Toast description component
94
+ *
95
+ * @component
96
+ */
97
+ function ToastDescription({
98
+ className,
99
+ ...props
100
+ }) {
101
+ const textClass = React.useContext(_Text.TextClassContext);
102
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
103
+ className: (0, _utils.cn)('text-muted-foreground text-sm', textClass?.includes('text-destructive') && 'text-destructive/90', className),
104
+ ...props
105
+ });
106
+ }
107
+ //# sourceMappingURL=Toast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_utils","require","_Text","_Icon","React","_interopRequireWildcard","_reactNative","_nativewind","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","View","cssInterop","RNView","className","Toast","variant","children","icon","iconClassName","props","jsx","TextClassContext","Provider","value","cn","jsxs","Icon","as","ToastTitle","Text","ToastDescription","textClass","useContext","includes"],"sourceRoot":"../../../../src","sources":["components/ui/Toast.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAAwC,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAI,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,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,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,C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,CAAC;AAEhC;;AAEA;AACA;AACA;AACA;AACA;AACA,SAASY,UAAUA,CAAC;EAClBf,SAAS;EACT,GAAGM;AAC0D,CAAC,EAAE;EAChE,oBACE,IAAA7B,WAAA,CAAA8B,GAAA,EAACpC,KAAA,CAAA6C,IAAI;IACHhB,SAAS,EAAE,IAAAW,SAAE,EAAC,2CAA2C,EAAEX,SAAS,CAAE;IAAA,GAClEM;EAAK,CACV,CAAC;AAEN;;AAEA;AACA;AACA;AACA;AACA;AACA,SAASW,gBAAgBA,CAAC;EACxBjB,SAAS;EACT,GAAGM;AAC0D,CAAC,EAAE;EAChE,MAAMY,SAAS,GAAG7C,KAAK,CAAC8C,UAAU,CAACX,sBAAgB,CAAC;EACpD,oBACE,IAAA/B,WAAA,CAAA8B,GAAA,EAACpC,KAAA,CAAA6C,IAAI;IACHhB,SAAS,EAAE,IAAAW,SAAE,EACX,+BAA+B,EAC/BO,SAAS,EAAEE,QAAQ,CAAC,kBAAkB,CAAC,IAAI,qBAAqB,EAChEpB,SACF,CAAE;IAAA,GACEM;EAAK,CACV,CAAC;AAEN","ignoreList":[]}
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ToggleGroup = ToggleGroup;
7
+ exports.ToggleGroupIcon = ToggleGroupIcon;
8
+ exports.ToggleGroupItem = ToggleGroupItem;
9
+ var _Icon = require("./Icon");
10
+ var _Text = require("./Text");
11
+ var _Toggle = require("./Toggle");
12
+ var _utils = require("../../lib/utils");
13
+ var ToggleGroupPrimitive = _interopRequireWildcard(require("@rn-primitives/toggle-group"));
14
+ var React = _interopRequireWildcard(require("react"));
15
+ var _reactNative = require("react-native");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ 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); }
18
+ /**
19
+ * Context for sharing variant and size props across toggle group items
20
+ */const ToggleGroupContext = /*#__PURE__*/React.createContext(null);
21
+
22
+ /**
23
+ * Toggle group component for grouping related toggle buttons
24
+ *
25
+ * Allows single or multiple selection among a set of toggle buttons.
26
+ * Supports both outline and default variants.
27
+ *
28
+ * @component
29
+ * @example
30
+ * ```tsx
31
+ * <ToggleGroup type="single" value={alignment} onValueChange={setAlignment}>
32
+ * <ToggleGroupItem value="left" isFirst>
33
+ * <ToggleGroupIcon as={AlignLeft} />
34
+ * </ToggleGroupItem>
35
+ * <ToggleGroupItem value="center">
36
+ * <ToggleGroupIcon as={AlignCenter} />
37
+ * </ToggleGroupItem>
38
+ * <ToggleGroupItem value="right" isLast>
39
+ * <ToggleGroupIcon as={AlignRight} />
40
+ * </ToggleGroupItem>
41
+ * </ToggleGroup>
42
+ * ```
43
+ *
44
+ * @accessibility
45
+ * - Uses proper ARIA attributes for grouped toggles
46
+ * - Keyboard navigation support
47
+ */
48
+ function ToggleGroup({
49
+ className,
50
+ variant,
51
+ size,
52
+ children,
53
+ ...props
54
+ }) {
55
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(ToggleGroupPrimitive.Root, {
56
+ className: (0, _utils.cn)('flex flex-row items-center rounded-md shadow-none', _reactNative.Platform.select({
57
+ web: 'w-fit'
58
+ }), variant === 'outline' && 'shadow-sm shadow-black/5', className),
59
+ ...props,
60
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ToggleGroupContext.Provider, {
61
+ value: {
62
+ variant,
63
+ size
64
+ },
65
+ children: children
66
+ })
67
+ });
68
+ }
69
+
70
+ /**
71
+ * Hook to access toggle group context
72
+ *
73
+ * @throws Error if used outside of ToggleGroup component
74
+ */
75
+ function useToggleGroupContext() {
76
+ const context = React.useContext(ToggleGroupContext);
77
+ if (context === null) {
78
+ throw new Error('ToggleGroup compound components cannot be rendered outside the ToggleGroup component');
79
+ }
80
+ return context;
81
+ }
82
+
83
+ /**
84
+ * Individual toggle item within a toggle group
85
+ *
86
+ * @component
87
+ */
88
+ function ToggleGroupItem({
89
+ className,
90
+ children,
91
+ variant,
92
+ size,
93
+ isFirst,
94
+ isLast,
95
+ ...props
96
+ }) {
97
+ const context = useToggleGroupContext();
98
+ const {
99
+ value
100
+ } = ToggleGroupPrimitive.useRootContext();
101
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
102
+ value: (0, _utils.cn)('text-sm text-foreground font-medium', ToggleGroupPrimitive.utils.getIsSelected(value, props.value) ? 'text-accent-foreground' : _reactNative.Platform.select({
103
+ web: 'group-hover:text-muted-foreground'
104
+ })),
105
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ToggleGroupPrimitive.Item, {
106
+ className: (0, _utils.cn)((0, _Toggle.toggleVariants)({
107
+ variant: context.variant || variant,
108
+ size: context.size || size
109
+ }), props.disabled && 'opacity-50', ToggleGroupPrimitive.utils.getIsSelected(value, props.value) && 'bg-accent', 'min-w-0 shrink-0 rounded-none shadow-none', isFirst && 'rounded-l-md', isLast && 'rounded-r-md', (context.variant === 'outline' || variant === 'outline') && 'border-l-0', (context.variant === 'outline' || variant === 'outline') && isFirst && 'border-l', _reactNative.Platform.select({
110
+ web: 'flex-1 focus:z-10 focus-visible:z-10'
111
+ }), className),
112
+ ...props,
113
+ children: children
114
+ })
115
+ });
116
+ }
117
+
118
+ /**
119
+ * Icon component for use within toggle group items
120
+ *
121
+ * @component
122
+ */
123
+ function ToggleGroupIcon({
124
+ className,
125
+ ...props
126
+ }) {
127
+ const textClass = React.useContext(_Text.TextClassContext);
128
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
129
+ className: (0, _utils.cn)('size-4 shrink-0', textClass, className),
130
+ ...props
131
+ });
132
+ }
133
+ //# sourceMappingURL=Toggle-Group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Icon","require","_Text","_Toggle","_utils","ToggleGroupPrimitive","_interopRequireWildcard","React","_reactNative","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ToggleGroupContext","createContext","ToggleGroup","className","variant","size","children","props","jsx","Root","cn","Platform","select","web","Provider","value","useToggleGroupContext","context","useContext","Error","ToggleGroupItem","isFirst","isLast","useRootContext","TextClassContext","utils","getIsSelected","Item","toggleVariants","disabled","ToggleGroupIcon","textClass","Icon"],"sourceRoot":"../../../../src","sources":["components/ui/Toggle-Group.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAC,uBAAA,CAAAL,OAAA;AAEA,IAAAM,KAAA,GAAAD,uBAAA,CAAAL,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAAwC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAK,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,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,CAAA,MAAAF,CAAA,GAAAL,CA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B,CAACiD,KAAK,CAACC,aAAa,CAACX,KAAK,EAAER,KAAK,CAACQ,KAAK,CAAC,IAC1D,WAAW,EACb,2CAA2C,EAC3CM,OAAO,IAAI,cAAc,EACzBC,MAAM,IAAI,cAAc,EACxB,CAACL,OAAO,CAACb,OAAO,KAAK,SAAS,IAAIA,OAAO,KAAK,SAAS,KACrD,YAAY,EACd,CAACa,OAAO,CAACb,OAAO,KAAK,SAAS,IAAIA,OAAO,KAAK,SAAS,KACrDiB,OAAO,IACP,UAAU,EACZV,qBAAQ,CAACC,MAAM,CAAC;QACdC,GAAG,EAAE;MACP,CAAC,CAAC,EACFV,SACF,CAAE;MAAA,GACGI,KAAK;MAAAD,QAAA,EAETA;IAAQ,CACgB;EAAC,CACH,CAAC;AAEhC;;AAEA;AACA;AACA;AACA;AACA;AACA,SAASwB,eAAeA,CAAC;EACvB3B,SAAS;EACT,GAAGI;AAC8B,CAAC,EAAE;EACpC,MAAMwB,SAAS,GAAGrD,KAAK,CAACwC,UAAU,CAACM,sBAAgB,CAAC;EACpD,oBACE,IAAA5C,WAAA,CAAA4B,GAAA,EAACrC,KAAA,CAAA6D,IAAI;IAAC7B,SAAS,EAAE,IAAAO,SAAE,EAAC,iBAAiB,EAAEqB,SAAS,EAAE5B,SAAS,CAAE;IAAA,GAAKI;EAAK,CAAG,CAAC;AAE/E","ignoreList":[]}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Toggle = Toggle;
7
+ exports.ToggleIcon = ToggleIcon;
8
+ exports.toggleVariants = void 0;
9
+ var _Icon = require("./Icon");
10
+ var _Text = require("./Text");
11
+ var _utils = require("../../lib/utils");
12
+ var TogglePrimitive = _interopRequireWildcard(require("@rn-primitives/toggle"));
13
+ var _classVarianceAuthority = require("class-variance-authority");
14
+ var React = _interopRequireWildcard(require("react"));
15
+ var _reactNative = require("react-native");
16
+ var _jsxRuntime = require("react/jsx-runtime");
17
+ 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); }
18
+ /**
19
+ * Toggle button style variants using class-variance-authority
20
+ *
21
+ * @variant default - Standard toggle with transparent background
22
+ * @variant outline - Toggle with border and background
23
+ *
24
+ * @size default - Standard size (40px/36px)
25
+ * @size sm - Small size (36px/32px)
26
+ * @size lg - Large size (44px/40px)
27
+ */const toggleVariants = exports.toggleVariants = (0, _classVarianceAuthority.cva)((0, _utils.cn)('active:bg-muted group flex flex-row items-center justify-center gap-2 rounded-md', _reactNative.Platform.select({
28
+ web: 'hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive inline-flex cursor-default whitespace-nowrap outline-none transition-[color,box-shadow] focus-visible:ring-[3px] disabled:pointer-events-none [&_svg]:pointer-events-none'
29
+ })), {
30
+ variants: {
31
+ variant: {
32
+ default: 'bg-transparent',
33
+ outline: (0, _utils.cn)('border-input active:bg-accent border bg-transparent shadow-sm shadow-black/5', _reactNative.Platform.select({
34
+ web: 'hover:bg-accent hover:text-accent-foreground'
35
+ }))
36
+ },
37
+ size: {
38
+ default: 'h-10 min-w-10 px-2.5 sm:h-9 sm:min-w-9 sm:px-2',
39
+ sm: 'h-9 min-w-9 px-2 sm:h-8 sm:min-w-8 sm:px-1.5',
40
+ lg: 'h-11 min-w-11 px-3 sm:h-10 sm:min-w-10 sm:px-2.5'
41
+ }
42
+ },
43
+ defaultVariants: {
44
+ variant: 'default',
45
+ size: 'default'
46
+ }
47
+ });
48
+
49
+ /**
50
+ * Toggle button component for on/off states
51
+ *
52
+ * A two-state button that can be toggled between pressed and unpressed states.
53
+ * Supports multiple variants and sizes.
54
+ *
55
+ * @component
56
+ * @example
57
+ * ```tsx
58
+ * <Toggle pressed={isBold} onPressedChange={setIsBold}>
59
+ * <ToggleIcon as={Bold} />
60
+ * <Text>Bold</Text>
61
+ * </Toggle>
62
+ *
63
+ * <Toggle variant="outline" size="sm">
64
+ * <ToggleIcon as={Italic} />
65
+ * </Toggle>
66
+ * ```
67
+ *
68
+ * @accessibility
69
+ * - Uses proper ARIA pressed state
70
+ * - Disabled state prevents interaction
71
+ * - Focus visible states on web
72
+ */
73
+ function Toggle({
74
+ className,
75
+ variant,
76
+ size,
77
+ ...props
78
+ }) {
79
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
80
+ value: (0, _utils.cn)('text-sm text-foreground font-medium', props.pressed ? 'text-accent-foreground' : _reactNative.Platform.select({
81
+ web: 'group-hover:text-muted-foreground'
82
+ }), className),
83
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TogglePrimitive.Root, {
84
+ className: (0, _utils.cn)(toggleVariants({
85
+ variant,
86
+ size
87
+ }), props.disabled && 'opacity-50', props.pressed && 'bg-accent', className),
88
+ ...props
89
+ })
90
+ });
91
+ }
92
+
93
+ /**
94
+ * Icon component for use within Toggle buttons
95
+ *
96
+ * Automatically inherits text styling from the toggle context.
97
+ *
98
+ * @component
99
+ */
100
+ function ToggleIcon({
101
+ className,
102
+ ...props
103
+ }) {
104
+ const textClass = React.useContext(_Text.TextClassContext);
105
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
106
+ className: (0, _utils.cn)('size-4 shrink-0', textClass, className),
107
+ ...props
108
+ });
109
+ }
110
+ //# sourceMappingURL=Toggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Icon","require","_Text","_utils","TogglePrimitive","_interopRequireWildcard","_classVarianceAuthority","React","_reactNative","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","toggleVariants","exports","cva","cn","Platform","select","web","variants","variant","outline","size","sm","lg","defaultVariants","Toggle","className","props","jsx","TextClassContext","Provider","value","pressed","children","Root","disabled","ToggleIcon","textClass","useContext","Icon"],"sourceRoot":"../../../../src","sources":["components/ui/Toggle.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAL,OAAA;AACA,IAAAM,KAAA,GAAAF,uBAAA,CAAAJ,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAAwC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAI,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,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAA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