@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,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Icon = Icon;
7
+ var _utils = require("../../lib/utils");
8
+ var _nativewind = require("nativewind");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ /**
11
+ * Props for Icon component
12
+ *
13
+ * @extends LucideProps - All Lucide icon properties (size, color, strokeWidth, etc.)
14
+ * @property {LucideIcon} as - The Lucide icon component to render
15
+ * @property {string} [className] - Tailwind classes for styling (supports NativeWind)
16
+ *
17
+ * @example
18
+ * ```tsx
19
+ * import { Home } from 'lucide-react-native';
20
+ * <Icon as={Home} size={24} className="text-primary" />
21
+ * ```
22
+ */
23
+
24
+ function IconImpl({
25
+ as: IconComponent,
26
+ ...props
27
+ }) {
28
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {
29
+ ...props
30
+ });
31
+ }
32
+ (0, _nativewind.cssInterop)(IconImpl, {
33
+ className: {
34
+ target: 'style',
35
+ nativeStyleToProp: {
36
+ height: 'size',
37
+ width: 'size'
38
+ }
39
+ }
40
+ });
41
+
42
+ /**
43
+ * Universal icon wrapper for Lucide icons
44
+ *
45
+ * Provides consistent styling and sizing for Lucide React Native icons across the application.
46
+ * Automatically handles platform-specific sizing and color theming.
47
+ *
48
+ * @component
49
+ * @example
50
+ * ```tsx
51
+ * import { Settings, User, ChevronRight } from 'lucide-react-native';
52
+ *
53
+ * // Basic icon
54
+ * <Icon as={Settings} />
55
+ *
56
+ * // Sized icon with custom color
57
+ * <Icon as={User} size={32} className="text-primary" />
58
+ *
59
+ * // Icon with stroke width
60
+ * <Icon as={ChevronRight} size={20} strokeWidth={2.5} />
61
+ * ```
62
+ */
63
+ function Icon({
64
+ as: IconComponent,
65
+ className,
66
+ size = 14,
67
+ ...props
68
+ }) {
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(IconImpl, {
70
+ as: IconComponent,
71
+ className: (0, _utils.cn)('text-foreground', className),
72
+ size: size,
73
+ ...props
74
+ });
75
+ }
76
+ //# sourceMappingURL=Icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_utils","require","_nativewind","_jsxRuntime","IconImpl","as","IconComponent","props","jsx","cssInterop","className","target","nativeStyleToProp","height","width","Icon","size","cn"],"sourceRoot":"../../../../src","sources":["components/ui/Icon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AAAwC,IAAAE,WAAA,GAAAF,OAAA;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA,SAASG,QAAQA,CAAC;EAAEC,EAAE,EAAEC,aAAa;EAAE,GAAGC;AAAiB,CAAC,EAAE;EAC5D,oBAAO,IAAAJ,WAAA,CAAAK,GAAA,EAACF,aAAa;IAAA,GAAKC;EAAK,CAAG,CAAC;AACrC;AAEA,IAAAE,sBAAU,EAACL,QAAQ,EAAE;EACnBM,SAAS,EAAE;IACTC,MAAM,EAAE,OAAO;IACfC,iBAAiB,EAAE;MACjBC,MAAM,EAAE,MAAM;MACdC,KAAK,EAAE;IACT;EACF;AACF,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,IAAIA,CAAC;EACZV,EAAE,EAAEC,aAAa;EACjBI,SAAS;EACTM,IAAI,GAAG,EAAE;EACT,GAAGT;AACM,CAAC,EAAE;EACZ,oBACE,IAAAJ,WAAA,CAAAK,GAAA,EAACJ,QAAQ;IACPC,EAAE,EAAEC,aAAc;IAClBI,SAAS,EAAE,IAAAO,SAAE,EAAC,iBAAiB,EAAEP,SAAS,CAAE;IAC5CM,IAAI,EAAEA,IAAK;IAAA,GACPT;EAAK,CACV,CAAC;AAEN","ignoreList":[]}
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Input = Input;
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 Input component
19
+ *
20
+ * @extends TextInputProps - All standard React Native TextInput props
21
+ * @property {string} [className] - Additional Tailwind classes for custom styling
22
+ * @property {boolean} [editable=true] - Whether the input is editable (disabled when false)
23
+ */
24
+
25
+ /**
26
+ * A styled text input component with consistent design across platforms
27
+ *
28
+ * Features platform-specific behaviors:
29
+ * - Web: Focus ring, selection styling, aria-invalid support
30
+ * - Native: Optimized placeholder opacity and input styling
31
+ *
32
+ * Automatically adapts styling when disabled/non-editable.
33
+ *
34
+ * @component
35
+ * @example
36
+ * ```tsx
37
+ * // Basic input
38
+ * <Input
39
+ * placeholder="Enter your name"
40
+ * value={name}
41
+ * onChangeText={setName}
42
+ * />
43
+ *
44
+ * // Disabled input
45
+ * <Input
46
+ * value="Read only"
47
+ * editable={false}
48
+ * />
49
+ *
50
+ * // With custom styling
51
+ * <Input
52
+ * className="border-primary"
53
+ * placeholder="Search..."
54
+ * />
55
+ * ```
56
+ *
57
+ * @accessibility
58
+ * - Supports aria-invalid for form validation states (web)
59
+ * - Placeholder text uses appropriate contrast colors
60
+ * - Disabled state is visually indicated with opacity
61
+ */
62
+ function Input({
63
+ className,
64
+ editable = true,
65
+ ...props
66
+ }) {
67
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(TextInput, {
68
+ className: (0, _utils.cn)('bg-background dark:bg-background border-input dark:border-input text-foreground dark:text-foreground flex h-10 w-full min-w-0 flex-row items-center rounded-md border px-3 py-1 text-base leading-5 shadow-sm shadow-black/5 dark:shadow-white/5 sm:h-9', !editable && (0, _utils.cn)('opacity-50', _reactNative.Platform.select({
69
+ web: 'disabled:pointer-events-none disabled:cursor-not-allowed'
70
+ })), _reactNative.Platform.select({
71
+ web: (0, _utils.cn)('placeholder:text-muted-foreground dark:placeholder:text-muted-foreground selection:bg-primary dark:selection:bg-primary selection:text-primary-foreground dark:selection:text-primary-foreground outline-none transition-[color,box-shadow] md:text-sm', 'focus-visible:border-ring dark:focus-visible:border-ring focus-visible:ring-ring/50 dark:focus-visible:ring-ring/50 focus-visible:ring-[3px]', 'aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive'),
72
+ native: 'placeholder:text-muted-foreground/50 dark:placeholder:text-muted-foreground/50'
73
+ }), className),
74
+ placeholderTextColor: undefined,
75
+ editable: editable,
76
+ ...props
77
+ });
78
+ }
79
+ //# sourceMappingURL=Input.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","Input","editable","props","jsx","cn","Platform","select","web","native","placeholderTextColor","undefined"],"sourceRoot":"../../../../src","sources":["components/ui/Input.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,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,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QAAS;IAAA,GACfC;EAAK,CACV,CAAC;AAEN","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Label = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _utils = require("../../lib/utils");
9
+ var _Text = require("./Text");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
12
+ /**
13
+ * Accessible label component for form controls
14
+ *
15
+ * Provides semantic labeling for form inputs with proper styling and accessibility support.
16
+ * Automatically associates with form controls and respects disabled states.
17
+ *
18
+ * @component
19
+ * @example
20
+ * ```tsx
21
+ * // Label with input
22
+ * <View className="gap-2">
23
+ * <Label htmlFor="email">Email Address</Label>
24
+ * <Input id="email" placeholder="Enter email" />
25
+ * </View>
26
+ *
27
+ * // Label for checkbox
28
+ * <View className="flex-row items-center gap-2">
29
+ * <Checkbox id="terms" />
30
+ * <Label htmlFor="terms">I agree to the terms and conditions</Label>
31
+ * </View>
32
+ * ```
33
+ *
34
+ * @accessibility
35
+ * - Properly associates with form controls via htmlFor/id
36
+ * - Reduced opacity when associated control is disabled
37
+ * - Screen reader compatible
38
+ */
39
+ const Label = exports.Label = /*#__PURE__*/React.forwardRef(({
40
+ className,
41
+ ...props
42
+ }, ref) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
43
+ className: (0, _utils.cn)('text-sm native:text-base font-medium leading-none text-foreground dark:text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70', className),
44
+ ref: ref,
45
+ ...props
46
+ }));
47
+ Label.displayName = 'Label';
48
+ //# sourceMappingURL=Label.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_utils","_Text","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Label","exports","forwardRef","className","props","ref","jsx","Text","cn","displayName"],"sourceRoot":"../../../../src","sources":["components/ui/Label.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAA8B,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,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,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAG9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMkB,KAAK,GAAAC,OAAA,CAAAD,KAAA,gBAAGzB,KAAK,CAAC2B,UAAU,CAG5B,CAAC;EAAEC,SAAS;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,kBAC7B,IAAAzB,WAAA,CAAA0B,GAAA,EAAC3B,KAAA,CAAA4B,IAAI;EACHJ,SAAS,EAAE,IAAAK,SAAE,EACX,kJAAkJ,EAClJL,SACF,CAAE;EACFE,GAAG,EAAEA,GAAI;EAAA,GACLD;AAAK,CACV,CACF,CAAC;AACFJ,KAAK,CAACS,WAAW,GAAG,OAAO","ignoreList":[]}
@@ -0,0 +1,392 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Menubar = Menubar;
7
+ exports.MenubarCheckboxItem = MenubarCheckboxItem;
8
+ exports.MenubarContent = MenubarContent;
9
+ exports.MenubarGroup = void 0;
10
+ exports.MenubarItem = MenubarItem;
11
+ exports.MenubarLabel = MenubarLabel;
12
+ exports.MenubarRadioGroup = exports.MenubarPortal = exports.MenubarMenu = void 0;
13
+ exports.MenubarRadioItem = MenubarRadioItem;
14
+ exports.MenubarSeparator = MenubarSeparator;
15
+ exports.MenubarShortcut = MenubarShortcut;
16
+ exports.MenubarSub = void 0;
17
+ exports.MenubarSubContent = MenubarSubContent;
18
+ exports.MenubarSubTrigger = MenubarSubTrigger;
19
+ exports.MenubarTrigger = MenubarTrigger;
20
+ var _Icon = require("./Icon");
21
+ var _NativeOnlyAnimatedView = require("./Native-Only-Animated-View");
22
+ var _Text = require("./Text");
23
+ var _utils = require("../../lib/utils");
24
+ var MenubarPrimitive = _interopRequireWildcard(require("@rn-primitives/menubar"));
25
+ var _portal = require("@rn-primitives/portal");
26
+ var _lucideReactNative = require("lucide-react-native");
27
+ var React = _interopRequireWildcard(require("react"));
28
+ var _reactNative = require("react-native");
29
+ var _nativewind = require("nativewind");
30
+ var _reactNativeReanimated = require("react-native-reanimated");
31
+ var _reactNativeScreens = require("react-native-screens");
32
+ var _jsxRuntime = require("react/jsx-runtime");
33
+ 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); }
34
+ const View = (0, _nativewind.cssInterop)(_reactNative.View, {
35
+ className: 'style'
36
+ });
37
+ const Text = (0, _nativewind.cssInterop)(_reactNative.Text, {
38
+ className: 'style'
39
+ });
40
+ const Pressable = (0, _nativewind.cssInterop)(_reactNative.Pressable, {
41
+ className: 'style'
42
+ });
43
+
44
+ /**
45
+ * Individual menu within the menubar
46
+ *
47
+ * @component
48
+ */
49
+ const MenubarMenu = exports.MenubarMenu = MenubarPrimitive.Menu;
50
+
51
+ /**
52
+ * Groups related menu items together
53
+ *
54
+ * @component
55
+ */
56
+ const MenubarGroup = exports.MenubarGroup = MenubarPrimitive.Group;
57
+
58
+ /**
59
+ * Portal component to render menu content outside the DOM hierarchy
60
+ *
61
+ * @component
62
+ */
63
+ const MenubarPortal = exports.MenubarPortal = MenubarPrimitive.Portal;
64
+
65
+ /**
66
+ * Root component for nested submenu
67
+ *
68
+ * @component
69
+ */
70
+ const MenubarSub = exports.MenubarSub = MenubarPrimitive.Sub;
71
+
72
+ /**
73
+ * Groups radio items together with single selection
74
+ *
75
+ * @component
76
+ */
77
+ const MenubarRadioGroup = exports.MenubarRadioGroup = MenubarPrimitive.RadioGroup;
78
+
79
+ /**
80
+ * Full window overlay wrapper for iOS, Fragment for other platforms
81
+ */
82
+ const FullWindowOverlay = _reactNative.Platform.OS === 'ios' ? _reactNativeScreens.FullWindowOverlay : React.Fragment;
83
+
84
+ /**
85
+ * Root menubar component for application-level menu navigation
86
+ *
87
+ * Provides horizontal menu bar similar to desktop applications, with support
88
+ * for nested menus and automatic close on outside press.
89
+ *
90
+ * @component
91
+ * @example
92
+ * ```tsx
93
+ * <Menubar>
94
+ * <MenubarMenu>
95
+ * <MenubarTrigger>
96
+ * <Text>File</Text>
97
+ * </MenubarTrigger>
98
+ * <MenubarContent>
99
+ * <MenubarItem>
100
+ * <Text>New File</Text>
101
+ * </MenubarItem>
102
+ * <MenubarItem>
103
+ * <Text>Open</Text>
104
+ * </MenubarItem>
105
+ * </MenubarContent>
106
+ * </MenubarMenu>
107
+ * </Menubar>
108
+ * ```
109
+ *
110
+ * @accessibility
111
+ * - Keyboard navigation support
112
+ * - Proper ARIA attributes for menu structure
113
+ */
114
+ function Menubar({
115
+ className,
116
+ value: valueProp,
117
+ onValueChange: onValueChangeProp,
118
+ ...props
119
+ }) {
120
+ const id = React.useId();
121
+ const [value, setValue] = React.useState(undefined);
122
+ function closeMenu() {
123
+ if (onValueChangeProp) {
124
+ onValueChangeProp(undefined);
125
+ return;
126
+ }
127
+ setValue(undefined);
128
+ }
129
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
130
+ children: [_reactNative.Platform.OS !== 'web' && (value || valueProp) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_portal.Portal, {
131
+ name: `menubar-overlay-${id}`,
132
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Pressable, {
133
+ onPress: closeMenu,
134
+ style: _reactNative.StyleSheet.absoluteFill
135
+ })
136
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Root, {
137
+ className: (0, _utils.cn)('bg-background border-border flex h-10 flex-row items-center gap-1 rounded-md border p-1 shadow-sm shadow-black/5 sm:h-9', className),
138
+ value: value ?? valueProp,
139
+ onValueChange: onValueChangeProp ?? setValue,
140
+ ...props
141
+ })]
142
+ });
143
+ }
144
+
145
+ /**
146
+ * Trigger button for a menubar menu
147
+ *
148
+ * @component
149
+ * @example
150
+ * ```tsx
151
+ * <MenubarTrigger>
152
+ * <Text>Edit</Text>
153
+ * </MenubarTrigger>
154
+ * ```
155
+ */
156
+ function MenubarTrigger({
157
+ className,
158
+ ...props
159
+ }) {
160
+ const {
161
+ value
162
+ } = MenubarPrimitive.useRootContext();
163
+ const {
164
+ value: itemValue
165
+ } = MenubarPrimitive.useMenuContext();
166
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
167
+ value: (0, _utils.cn)('text-sm font-medium select-none group-active:text-accent-foreground', value === itemValue && 'text-accent-foreground'),
168
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Trigger, {
169
+ className: (0, _utils.cn)('group flex items-center rounded-md px-2 py-1.5 sm:py-1', _reactNative.Platform.select({
170
+ web: 'focus:bg-accent focus:text-accent-foreground cursor-default outline-none'
171
+ }), value === itemValue && 'bg-accent', className),
172
+ ...props
173
+ })
174
+ });
175
+ }
176
+
177
+ /**
178
+ * Trigger for opening a nested submenu
179
+ * @component
180
+ */
181
+ function MenubarSubTrigger({
182
+ className: _className,
183
+ inset,
184
+ children,
185
+ iconClassName,
186
+ ...props
187
+ }) {
188
+ const {
189
+ open
190
+ } = MenubarPrimitive.useSubContext();
191
+ const icon = _reactNative.Platform.OS === 'web' ? _lucideReactNative.ChevronRight : open ? _lucideReactNative.ChevronUp : _lucideReactNative.ChevronDown;
192
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
193
+ value: (0, _utils.cn)('text-sm select-none group-active:text-accent-foreground', open && 'text-accent-foreground'),
194
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(MenubarPrimitive.SubTrigger, {
195
+ className: (0, _utils.cn)('active:bg-accent group flex flex-row items-center rounded-sm px-2 py-2 sm:py-1.5', _reactNative.Platform.select({
196
+ web: 'focus:bg-accent focus:text-accent-foreground cursor-default outline-none [&_svg]:pointer-events-none'
197
+ }), open && 'bg-accent', inset && 'pl-8'),
198
+ ...props,
199
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
200
+ children: children
201
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
202
+ as: icon,
203
+ className: (0, _utils.cn)('text-foreground ml-auto size-4 shrink-0', iconClassName)
204
+ })]
205
+ })
206
+ });
207
+ }
208
+
209
+ /**
210
+ * Content container for nested submenu items
211
+ * @component
212
+ */
213
+ function MenubarSubContent({
214
+ className,
215
+ ...props
216
+ }) {
217
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_NativeOnlyAnimatedView.NativeOnlyAnimatedView, {
218
+ entering: _reactNativeReanimated.FadeIn,
219
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.SubContent, {
220
+ className: (0, _utils.cn)('bg-popover border-border overflow-hidden rounded-md border p-1 shadow-lg shadow-black/5', _reactNative.Platform.select({
221
+ web: 'animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 fade-in-0 data-[state=closed]:zoom-out-95 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-context-menu-content-transform-origin) z-50 min-w-[8rem]'
222
+ }), className),
223
+ ...props
224
+ })
225
+ });
226
+ }
227
+
228
+ /**
229
+ * Main content container for menu items
230
+ * @component
231
+ */
232
+ function MenubarContent({
233
+ className,
234
+ overlayClassName: _overlayClassName,
235
+ overlayStyle: _overlayStyle,
236
+ portalHost,
237
+ align = 'start',
238
+ alignOffset = -4,
239
+ sideOffset = 8,
240
+ ...props
241
+ }) {
242
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Portal, {
243
+ hostName: portalHost,
244
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(FullWindowOverlay, {
245
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_NativeOnlyAnimatedView.NativeOnlyAnimatedView, {
246
+ entering: _reactNativeReanimated.FadeIn,
247
+ style: _reactNative.StyleSheet.absoluteFill,
248
+ pointerEvents: "box-none",
249
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
250
+ value: "text-popover-foreground",
251
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Content, {
252
+ className: (0, _utils.cn)('bg-popover border-border min-w-[12rem] overflow-hidden rounded-md border p-1 shadow-lg shadow-black/5', _reactNative.Platform.select({
253
+ web: (0, _utils.cn)('animate-in fade-in-0 zoom-in-95 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) z-50 cursor-default', props.side === 'bottom' && 'slide-in-from-top-2', props.side === 'top' && 'slide-in-from-bottom-2')
254
+ }), className),
255
+ align: align,
256
+ alignOffset: alignOffset,
257
+ sideOffset: sideOffset,
258
+ ...props
259
+ })
260
+ })
261
+ })
262
+ })
263
+ });
264
+ }
265
+
266
+ /**
267
+ * Individual menu item component
268
+ * @component
269
+ */
270
+ function MenubarItem({
271
+ className,
272
+ inset,
273
+ variant,
274
+ ...props
275
+ }) {
276
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
277
+ value: (0, _utils.cn)('select-none text-sm text-popover-foreground group-active:text-popover-foreground', variant === 'destructive' && 'text-destructive group-active:text-destructive'),
278
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Item, {
279
+ className: (0, _utils.cn)('active:bg-accent group relative flex flex-row items-center gap-2 rounded-sm px-2 py-2 sm:py-1.5', _reactNative.Platform.select({
280
+ web: (0, _utils.cn)('focus:bg-accent focus:text-accent-foreground cursor-default outline-none data-[disabled]:pointer-events-none', variant === 'destructive' && 'focus:bg-destructive/10 dark:focus:bg-destructive/20')
281
+ }), variant === 'destructive' && 'active:bg-destructive/10 dark:active:bg-destructive/20', props.disabled && 'opacity-50', inset && 'pl-8', className),
282
+ ...props
283
+ })
284
+ });
285
+ }
286
+
287
+ /**
288
+ * Menu item with checkbox for multi-selection
289
+ * @component
290
+ */
291
+ function MenubarCheckboxItem({
292
+ className,
293
+ children,
294
+ ...props
295
+ }) {
296
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
297
+ value: "text-sm text-popover-foreground select-none group-active:text-accent-foreground",
298
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(MenubarPrimitive.CheckboxItem, {
299
+ className: (0, _utils.cn)('active:bg-accent group relative flex flex-row items-center gap-2 rounded-sm py-2 pl-8 pr-2 sm:py-1.5', _reactNative.Platform.select({
300
+ web: 'focus:bg-accent focus:text-accent-foreground cursor-default outline-none data-[disabled]:pointer-events-none'
301
+ }), props.disabled && 'opacity-50', className),
302
+ ...props,
303
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
304
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
305
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.ItemIndicator, {
306
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.Icon, {
307
+ as: _lucideReactNative.Check,
308
+ className: (0, _utils.cn)('text-foreground size-4', _reactNative.Platform.select({
309
+ web: 'pointer-events-none'
310
+ }))
311
+ })
312
+ })
313
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
314
+ children: children
315
+ })]
316
+ })
317
+ });
318
+ }
319
+
320
+ /**
321
+ * Menu item with radio button for single selection within a group
322
+ * @component
323
+ */
324
+ function MenubarRadioItem({
325
+ className,
326
+ children,
327
+ ...props
328
+ }) {
329
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.TextClassContext.Provider, {
330
+ value: "text-sm text-popover-foreground select-none group-active:text-accent-foreground",
331
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(MenubarPrimitive.RadioItem, {
332
+ className: (0, _utils.cn)('active:bg-accent group relative flex flex-row items-center gap-2 rounded-sm py-2 pl-8 pr-2 sm:py-1.5', _reactNative.Platform.select({
333
+ web: 'focus:bg-accent focus:text-accent-foreground cursor-default outline-none data-[disabled]:pointer-events-none'
334
+ }), props.disabled && 'opacity-50', className),
335
+ ...props,
336
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
337
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
338
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.ItemIndicator, {
339
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(View, {
340
+ className: "bg-foreground h-2 w-2 rounded-full"
341
+ })
342
+ })
343
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
344
+ children: children
345
+ })]
346
+ })
347
+ });
348
+ }
349
+
350
+ /**
351
+ * Label component for grouping and describing menu sections
352
+ * @component
353
+ */
354
+ function MenubarLabel({
355
+ className,
356
+ inset,
357
+ ...props
358
+ }) {
359
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Label, {
360
+ className: (0, _utils.cn)('text-foreground px-2 py-2 text-sm font-medium sm:py-1.5', inset && 'pl-8', className),
361
+ ...props
362
+ });
363
+ }
364
+
365
+ /**
366
+ * Visual separator between menu items or sections
367
+ * @component
368
+ */
369
+ function MenubarSeparator({
370
+ className,
371
+ ...props
372
+ }) {
373
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(MenubarPrimitive.Separator, {
374
+ className: (0, _utils.cn)('bg-border -mx-1 my-1 h-px', className),
375
+ ...props
376
+ });
377
+ }
378
+
379
+ /**
380
+ * Displays keyboard shortcut hint for menu items
381
+ * @component
382
+ */
383
+ function MenubarShortcut({
384
+ className,
385
+ ...props
386
+ }) {
387
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Text, {
388
+ className: (0, _utils.cn)('text-muted-foreground ml-auto text-xs tracking-widest', className),
389
+ ...props
390
+ });
391
+ }
392
+ //# sourceMappingURL=Menubar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_Icon","require","_NativeOnlyAnimatedView","_Text","_utils","MenubarPrimitive","_interopRequireWildcard","_portal","_lucideReactNative","React","_reactNative","_nativewind","_reactNativeReanimated","_reactNativeScreens","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","View","cssInterop","RNView","className","Text","RNText","Pressable","RNPressable","MenubarMenu","exports","Menu","MenubarGroup","Group","MenubarPortal","Portal","MenubarSub","Sub","MenubarRadioGroup","RadioGroup","FullWindowOverlay","Platform","OS","RNFullWindowOverlay","Fragment","Menubar","value","valueProp","onValueChange","onValueChangeProp","props","id","useId","setValue","useState","undefined","closeMenu","jsxs","children","jsx","name","onPress","style","StyleSheet","absoluteFill","Root","cn","MenubarTrigger","useRootContext","itemValue","useMenuContext","TextClassContext","Provider","Trigger","select","web","MenubarSubTrigger","_className","inset","iconClassName","open","useSubContext","icon","ChevronRight","ChevronUp","ChevronDown","SubTrigger","Icon","as","MenubarSubContent","NativeOnlyAnimatedView","entering","FadeIn","SubContent","MenubarContent","overlayClassName","_overlayClassName","overlayStyle","_overlayStyle","portalHost","align","alignOffset","sideOffset","hostName","pointerEvents","Content","side","MenubarItem","variant","Item","disabled","MenubarCheckboxItem","CheckboxItem","ItemIndicator","Check","MenubarRadioItem","RadioItem","MenubarLabel","Label","MenubarSeparator","Separator","MenubarShortcut"],"sourceRoot":"../../../../src","sources":["components/ui/Menubar.tsx"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,gBAAA,GAAAC,uBAAA,CAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AACA,IAAAO,kBAAA,GAAAP,OAAA;AAMA,IAAAQ,KAAA,GAAAH,uBAAA,CAAAL,OAAA;AACA,IAAAS,YAAA,GAAAT,OAAA;AAUA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,sBAAA,GAAAX,OAAA;AACA,IAAAY,mBAAA,GAAAZ,OAAA;AAAgF,IAAAa,WAAA,GAAAb,OAAA;AAAA,SAAAK,wBAAAS,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAX,uBAAA,YAAAA,CAAAS,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,gB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