fluentglass 0.2.6

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 (414) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +169 -0
  3. package/lib/commonjs/assets/fonts/Inter-Black.ttf +0 -0
  4. package/lib/commonjs/assets/fonts/Inter-Bold.ttf +0 -0
  5. package/lib/commonjs/assets/fonts/Inter-ExtraBold.ttf +0 -0
  6. package/lib/commonjs/assets/fonts/Inter-Medium.ttf +0 -0
  7. package/lib/commonjs/assets/fonts/Inter-Regular.ttf +0 -0
  8. package/lib/commonjs/assets/fonts/Inter-SemiBold.ttf +0 -0
  9. package/lib/commonjs/components/FluentGlass.js +94 -0
  10. package/lib/commonjs/components/FluentGlass.js.map +1 -0
  11. package/lib/commonjs/components/FluentGlassAlert.js +126 -0
  12. package/lib/commonjs/components/FluentGlassAlert.js.map +1 -0
  13. package/lib/commonjs/components/FluentGlassBadge.js +124 -0
  14. package/lib/commonjs/components/FluentGlassBadge.js.map +1 -0
  15. package/lib/commonjs/components/FluentGlassBarChart.js +287 -0
  16. package/lib/commonjs/components/FluentGlassBarChart.js.map +1 -0
  17. package/lib/commonjs/components/FluentGlassBreadcrumb.js +155 -0
  18. package/lib/commonjs/components/FluentGlassBreadcrumb.js.map +1 -0
  19. package/lib/commonjs/components/FluentGlassButton.js +175 -0
  20. package/lib/commonjs/components/FluentGlassButton.js.map +1 -0
  21. package/lib/commonjs/components/FluentGlassCalendarWidget.js +73 -0
  22. package/lib/commonjs/components/FluentGlassCalendarWidget.js.map +1 -0
  23. package/lib/commonjs/components/FluentGlassCard.js +195 -0
  24. package/lib/commonjs/components/FluentGlassCard.js.map +1 -0
  25. package/lib/commonjs/components/FluentGlassCheckbox.js +121 -0
  26. package/lib/commonjs/components/FluentGlassCheckbox.js.map +1 -0
  27. package/lib/commonjs/components/FluentGlassClockWidget.js +80 -0
  28. package/lib/commonjs/components/FluentGlassClockWidget.js.map +1 -0
  29. package/lib/commonjs/components/FluentGlassCodeBlock.js +239 -0
  30. package/lib/commonjs/components/FluentGlassCodeBlock.js.map +1 -0
  31. package/lib/commonjs/components/FluentGlassContainer.js +52 -0
  32. package/lib/commonjs/components/FluentGlassContainer.js.map +1 -0
  33. package/lib/commonjs/components/FluentGlassCrossfade.js +118 -0
  34. package/lib/commonjs/components/FluentGlassCrossfade.js.map +1 -0
  35. package/lib/commonjs/components/FluentGlassDateInput.js +176 -0
  36. package/lib/commonjs/components/FluentGlassDateInput.js.map +1 -0
  37. package/lib/commonjs/components/FluentGlassDatePicker.js +271 -0
  38. package/lib/commonjs/components/FluentGlassDatePicker.js.map +1 -0
  39. package/lib/commonjs/components/FluentGlassDialog.js +169 -0
  40. package/lib/commonjs/components/FluentGlassDialog.js.map +1 -0
  41. package/lib/commonjs/components/FluentGlassDock.js +187 -0
  42. package/lib/commonjs/components/FluentGlassDock.js.map +1 -0
  43. package/lib/commonjs/components/FluentGlassDropdown.js +349 -0
  44. package/lib/commonjs/components/FluentGlassDropdown.js.map +1 -0
  45. package/lib/commonjs/components/FluentGlassEmailInput.js +43 -0
  46. package/lib/commonjs/components/FluentGlassEmailInput.js.map +1 -0
  47. package/lib/commonjs/components/FluentGlassInput.js +83 -0
  48. package/lib/commonjs/components/FluentGlassInput.js.map +1 -0
  49. package/lib/commonjs/components/FluentGlassLabeledInput.js +64 -0
  50. package/lib/commonjs/components/FluentGlassLabeledInput.js.map +1 -0
  51. package/lib/commonjs/components/FluentGlassLayout.js +106 -0
  52. package/lib/commonjs/components/FluentGlassLayout.js.map +1 -0
  53. package/lib/commonjs/components/FluentGlassPasswordInput.js +60 -0
  54. package/lib/commonjs/components/FluentGlassPasswordInput.js.map +1 -0
  55. package/lib/commonjs/components/FluentGlassPopover.js +75 -0
  56. package/lib/commonjs/components/FluentGlassPopover.js.map +1 -0
  57. package/lib/commonjs/components/FluentGlassResponsiveRow.js +74 -0
  58. package/lib/commonjs/components/FluentGlassResponsiveRow.js.map +1 -0
  59. package/lib/commonjs/components/FluentGlassScrollArea.js +101 -0
  60. package/lib/commonjs/components/FluentGlassScrollArea.js.map +1 -0
  61. package/lib/commonjs/components/FluentGlassSegmentedControl.js +126 -0
  62. package/lib/commonjs/components/FluentGlassSegmentedControl.js.map +1 -0
  63. package/lib/commonjs/components/FluentGlassSelect.js +155 -0
  64. package/lib/commonjs/components/FluentGlassSelect.js.map +1 -0
  65. package/lib/commonjs/components/FluentGlassSeparator.js +62 -0
  66. package/lib/commonjs/components/FluentGlassSeparator.js.map +1 -0
  67. package/lib/commonjs/components/FluentGlassSheet.js +189 -0
  68. package/lib/commonjs/components/FluentGlassSheet.js.map +1 -0
  69. package/lib/commonjs/components/FluentGlassSidebar.js +358 -0
  70. package/lib/commonjs/components/FluentGlassSidebar.js.map +1 -0
  71. package/lib/commonjs/components/FluentGlassSimpleCard.js +56 -0
  72. package/lib/commonjs/components/FluentGlassSimpleCard.js.map +1 -0
  73. package/lib/commonjs/components/FluentGlassSkeleton.js +52 -0
  74. package/lib/commonjs/components/FluentGlassSkeleton.js.map +1 -0
  75. package/lib/commonjs/components/FluentGlassSlider.js +197 -0
  76. package/lib/commonjs/components/FluentGlassSlider.js.map +1 -0
  77. package/lib/commonjs/components/FluentGlassStatWidget.js +133 -0
  78. package/lib/commonjs/components/FluentGlassStatWidget.js.map +1 -0
  79. package/lib/commonjs/components/FluentGlassStatusIndicator.js +89 -0
  80. package/lib/commonjs/components/FluentGlassStatusIndicator.js.map +1 -0
  81. package/lib/commonjs/components/FluentGlassSwitch.js +126 -0
  82. package/lib/commonjs/components/FluentGlassSwitch.js.map +1 -0
  83. package/lib/commonjs/components/FluentGlassTable.js +163 -0
  84. package/lib/commonjs/components/FluentGlassTable.js.map +1 -0
  85. package/lib/commonjs/components/FluentGlassTag.js +109 -0
  86. package/lib/commonjs/components/FluentGlassTag.js.map +1 -0
  87. package/lib/commonjs/components/FluentGlassTextInput.js +90 -0
  88. package/lib/commonjs/components/FluentGlassTextInput.js.map +1 -0
  89. package/lib/commonjs/components/FluentGlassTimeline.js +334 -0
  90. package/lib/commonjs/components/FluentGlassTimeline.js.map +1 -0
  91. package/lib/commonjs/components/FluentGlassWeatherWidget.js +72 -0
  92. package/lib/commonjs/components/FluentGlassWeatherWidget.js.map +1 -0
  93. package/lib/commonjs/components/index.js +308 -0
  94. package/lib/commonjs/components/index.js.map +1 -0
  95. package/lib/commonjs/fonts.js +33 -0
  96. package/lib/commonjs/fonts.js.map +1 -0
  97. package/lib/commonjs/hooks/useBreakpoint.js +57 -0
  98. package/lib/commonjs/hooks/useBreakpoint.js.map +1 -0
  99. package/lib/commonjs/index.js +462 -0
  100. package/lib/commonjs/index.js.map +1 -0
  101. package/lib/commonjs/package.json +1 -0
  102. package/lib/commonjs/theme/FluentGlassProvider.js +84 -0
  103. package/lib/commonjs/theme/FluentGlassProvider.js.map +1 -0
  104. package/lib/commonjs/theme/defaultTheme.js +55 -0
  105. package/lib/commonjs/theme/defaultTheme.js.map +1 -0
  106. package/lib/commonjs/theme/resolvers.js +118 -0
  107. package/lib/commonjs/theme/resolvers.js.map +1 -0
  108. package/lib/commonjs/theme/tokens.js +239 -0
  109. package/lib/commonjs/theme/tokens.js.map +1 -0
  110. package/lib/commonjs/theme/typography.js +50 -0
  111. package/lib/commonjs/theme/typography.js.map +1 -0
  112. package/lib/commonjs/theme/useTheme.js +22 -0
  113. package/lib/commonjs/theme/useTheme.js.map +1 -0
  114. package/lib/commonjs/types/components.js +6 -0
  115. package/lib/commonjs/types/components.js.map +1 -0
  116. package/lib/commonjs/types/theme.js +6 -0
  117. package/lib/commonjs/types/theme.js.map +1 -0
  118. package/lib/commonjs/utils/colors.js +59 -0
  119. package/lib/commonjs/utils/colors.js.map +1 -0
  120. package/lib/commonjs/utils/responsive.js +126 -0
  121. package/lib/commonjs/utils/responsive.js.map +1 -0
  122. package/lib/module/assets/fonts/Inter-Black.ttf +0 -0
  123. package/lib/module/assets/fonts/Inter-Bold.ttf +0 -0
  124. package/lib/module/assets/fonts/Inter-ExtraBold.ttf +0 -0
  125. package/lib/module/assets/fonts/Inter-Medium.ttf +0 -0
  126. package/lib/module/assets/fonts/Inter-Regular.ttf +0 -0
  127. package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
  128. package/lib/module/components/FluentGlass.js +89 -0
  129. package/lib/module/components/FluentGlass.js.map +1 -0
  130. package/lib/module/components/FluentGlassAlert.js +121 -0
  131. package/lib/module/components/FluentGlassAlert.js.map +1 -0
  132. package/lib/module/components/FluentGlassBadge.js +119 -0
  133. package/lib/module/components/FluentGlassBadge.js.map +1 -0
  134. package/lib/module/components/FluentGlassBarChart.js +281 -0
  135. package/lib/module/components/FluentGlassBarChart.js.map +1 -0
  136. package/lib/module/components/FluentGlassBreadcrumb.js +150 -0
  137. package/lib/module/components/FluentGlassBreadcrumb.js.map +1 -0
  138. package/lib/module/components/FluentGlassButton.js +169 -0
  139. package/lib/module/components/FluentGlassButton.js.map +1 -0
  140. package/lib/module/components/FluentGlassCalendarWidget.js +68 -0
  141. package/lib/module/components/FluentGlassCalendarWidget.js.map +1 -0
  142. package/lib/module/components/FluentGlassCard.js +190 -0
  143. package/lib/module/components/FluentGlassCard.js.map +1 -0
  144. package/lib/module/components/FluentGlassCheckbox.js +115 -0
  145. package/lib/module/components/FluentGlassCheckbox.js.map +1 -0
  146. package/lib/module/components/FluentGlassClockWidget.js +74 -0
  147. package/lib/module/components/FluentGlassClockWidget.js.map +1 -0
  148. package/lib/module/components/FluentGlassCodeBlock.js +233 -0
  149. package/lib/module/components/FluentGlassCodeBlock.js.map +1 -0
  150. package/lib/module/components/FluentGlassContainer.js +47 -0
  151. package/lib/module/components/FluentGlassContainer.js.map +1 -0
  152. package/lib/module/components/FluentGlassCrossfade.js +112 -0
  153. package/lib/module/components/FluentGlassCrossfade.js.map +1 -0
  154. package/lib/module/components/FluentGlassDateInput.js +170 -0
  155. package/lib/module/components/FluentGlassDateInput.js.map +1 -0
  156. package/lib/module/components/FluentGlassDatePicker.js +265 -0
  157. package/lib/module/components/FluentGlassDatePicker.js.map +1 -0
  158. package/lib/module/components/FluentGlassDialog.js +163 -0
  159. package/lib/module/components/FluentGlassDialog.js.map +1 -0
  160. package/lib/module/components/FluentGlassDock.js +181 -0
  161. package/lib/module/components/FluentGlassDock.js.map +1 -0
  162. package/lib/module/components/FluentGlassDropdown.js +343 -0
  163. package/lib/module/components/FluentGlassDropdown.js.map +1 -0
  164. package/lib/module/components/FluentGlassEmailInput.js +38 -0
  165. package/lib/module/components/FluentGlassEmailInput.js.map +1 -0
  166. package/lib/module/components/FluentGlassInput.js +78 -0
  167. package/lib/module/components/FluentGlassInput.js.map +1 -0
  168. package/lib/module/components/FluentGlassLabeledInput.js +59 -0
  169. package/lib/module/components/FluentGlassLabeledInput.js.map +1 -0
  170. package/lib/module/components/FluentGlassLayout.js +101 -0
  171. package/lib/module/components/FluentGlassLayout.js.map +1 -0
  172. package/lib/module/components/FluentGlassPasswordInput.js +54 -0
  173. package/lib/module/components/FluentGlassPasswordInput.js.map +1 -0
  174. package/lib/module/components/FluentGlassPopover.js +70 -0
  175. package/lib/module/components/FluentGlassPopover.js.map +1 -0
  176. package/lib/module/components/FluentGlassResponsiveRow.js +71 -0
  177. package/lib/module/components/FluentGlassResponsiveRow.js.map +1 -0
  178. package/lib/module/components/FluentGlassScrollArea.js +95 -0
  179. package/lib/module/components/FluentGlassScrollArea.js.map +1 -0
  180. package/lib/module/components/FluentGlassSegmentedControl.js +120 -0
  181. package/lib/module/components/FluentGlassSegmentedControl.js.map +1 -0
  182. package/lib/module/components/FluentGlassSelect.js +149 -0
  183. package/lib/module/components/FluentGlassSelect.js.map +1 -0
  184. package/lib/module/components/FluentGlassSeparator.js +57 -0
  185. package/lib/module/components/FluentGlassSeparator.js.map +1 -0
  186. package/lib/module/components/FluentGlassSheet.js +183 -0
  187. package/lib/module/components/FluentGlassSheet.js.map +1 -0
  188. package/lib/module/components/FluentGlassSidebar.js +351 -0
  189. package/lib/module/components/FluentGlassSidebar.js.map +1 -0
  190. package/lib/module/components/FluentGlassSimpleCard.js +51 -0
  191. package/lib/module/components/FluentGlassSimpleCard.js.map +1 -0
  192. package/lib/module/components/FluentGlassSkeleton.js +46 -0
  193. package/lib/module/components/FluentGlassSkeleton.js.map +1 -0
  194. package/lib/module/components/FluentGlassSlider.js +191 -0
  195. package/lib/module/components/FluentGlassSlider.js.map +1 -0
  196. package/lib/module/components/FluentGlassStatWidget.js +128 -0
  197. package/lib/module/components/FluentGlassStatWidget.js.map +1 -0
  198. package/lib/module/components/FluentGlassStatusIndicator.js +84 -0
  199. package/lib/module/components/FluentGlassStatusIndicator.js.map +1 -0
  200. package/lib/module/components/FluentGlassSwitch.js +122 -0
  201. package/lib/module/components/FluentGlassSwitch.js.map +1 -0
  202. package/lib/module/components/FluentGlassTable.js +158 -0
  203. package/lib/module/components/FluentGlassTable.js.map +1 -0
  204. package/lib/module/components/FluentGlassTag.js +103 -0
  205. package/lib/module/components/FluentGlassTag.js.map +1 -0
  206. package/lib/module/components/FluentGlassTextInput.js +85 -0
  207. package/lib/module/components/FluentGlassTextInput.js.map +1 -0
  208. package/lib/module/components/FluentGlassTimeline.js +327 -0
  209. package/lib/module/components/FluentGlassTimeline.js.map +1 -0
  210. package/lib/module/components/FluentGlassWeatherWidget.js +67 -0
  211. package/lib/module/components/FluentGlassWeatherWidget.js.map +1 -0
  212. package/lib/module/components/index.js +45 -0
  213. package/lib/module/components/index.js.map +1 -0
  214. package/lib/module/fonts.js +26 -0
  215. package/lib/module/fonts.js.map +1 -0
  216. package/lib/module/hooks/useBreakpoint.js +54 -0
  217. package/lib/module/hooks/useBreakpoint.js.map +1 -0
  218. package/lib/module/index.js +30 -0
  219. package/lib/module/index.js.map +1 -0
  220. package/lib/module/theme/FluentGlassProvider.js +77 -0
  221. package/lib/module/theme/FluentGlassProvider.js.map +1 -0
  222. package/lib/module/theme/defaultTheme.js +51 -0
  223. package/lib/module/theme/defaultTheme.js.map +1 -0
  224. package/lib/module/theme/resolvers.js +110 -0
  225. package/lib/module/theme/resolvers.js.map +1 -0
  226. package/lib/module/theme/tokens.js +235 -0
  227. package/lib/module/theme/tokens.js.map +1 -0
  228. package/lib/module/theme/typography.js +45 -0
  229. package/lib/module/theme/typography.js.map +1 -0
  230. package/lib/module/theme/useTheme.js +18 -0
  231. package/lib/module/theme/useTheme.js.map +1 -0
  232. package/lib/module/types/components.js +4 -0
  233. package/lib/module/types/components.js.map +1 -0
  234. package/lib/module/types/theme.js +4 -0
  235. package/lib/module/types/theme.js.map +1 -0
  236. package/lib/module/utils/colors.js +55 -0
  237. package/lib/module/utils/colors.js.map +1 -0
  238. package/lib/module/utils/responsive.js +116 -0
  239. package/lib/module/utils/responsive.js.map +1 -0
  240. package/lib/typescript/components/FluentGlass.d.ts +25 -0
  241. package/lib/typescript/components/FluentGlass.d.ts.map +1 -0
  242. package/lib/typescript/components/FluentGlassAlert.d.ts +13 -0
  243. package/lib/typescript/components/FluentGlassAlert.d.ts.map +1 -0
  244. package/lib/typescript/components/FluentGlassBadge.d.ts +22 -0
  245. package/lib/typescript/components/FluentGlassBadge.d.ts.map +1 -0
  246. package/lib/typescript/components/FluentGlassBarChart.d.ts +30 -0
  247. package/lib/typescript/components/FluentGlassBarChart.d.ts.map +1 -0
  248. package/lib/typescript/components/FluentGlassBreadcrumb.d.ts +22 -0
  249. package/lib/typescript/components/FluentGlassBreadcrumb.d.ts.map +1 -0
  250. package/lib/typescript/components/FluentGlassButton.d.ts +27 -0
  251. package/lib/typescript/components/FluentGlassButton.d.ts.map +1 -0
  252. package/lib/typescript/components/FluentGlassCalendarWidget.d.ts +13 -0
  253. package/lib/typescript/components/FluentGlassCalendarWidget.d.ts.map +1 -0
  254. package/lib/typescript/components/FluentGlassCard.d.ts +30 -0
  255. package/lib/typescript/components/FluentGlassCard.d.ts.map +1 -0
  256. package/lib/typescript/components/FluentGlassCheckbox.d.ts +14 -0
  257. package/lib/typescript/components/FluentGlassCheckbox.d.ts.map +1 -0
  258. package/lib/typescript/components/FluentGlassClockWidget.d.ts +11 -0
  259. package/lib/typescript/components/FluentGlassClockWidget.d.ts.map +1 -0
  260. package/lib/typescript/components/FluentGlassCodeBlock.d.ts +11 -0
  261. package/lib/typescript/components/FluentGlassCodeBlock.d.ts.map +1 -0
  262. package/lib/typescript/components/FluentGlassContainer.d.ts +22 -0
  263. package/lib/typescript/components/FluentGlassContainer.d.ts.map +1 -0
  264. package/lib/typescript/components/FluentGlassCrossfade.d.ts +24 -0
  265. package/lib/typescript/components/FluentGlassCrossfade.d.ts.map +1 -0
  266. package/lib/typescript/components/FluentGlassDateInput.d.ts +18 -0
  267. package/lib/typescript/components/FluentGlassDateInput.d.ts.map +1 -0
  268. package/lib/typescript/components/FluentGlassDatePicker.d.ts +9 -0
  269. package/lib/typescript/components/FluentGlassDatePicker.d.ts.map +1 -0
  270. package/lib/typescript/components/FluentGlassDialog.d.ts +18 -0
  271. package/lib/typescript/components/FluentGlassDialog.d.ts.map +1 -0
  272. package/lib/typescript/components/FluentGlassDock.d.ts +19 -0
  273. package/lib/typescript/components/FluentGlassDock.d.ts.map +1 -0
  274. package/lib/typescript/components/FluentGlassDropdown.d.ts +23 -0
  275. package/lib/typescript/components/FluentGlassDropdown.d.ts.map +1 -0
  276. package/lib/typescript/components/FluentGlassEmailInput.d.ts +17 -0
  277. package/lib/typescript/components/FluentGlassEmailInput.d.ts.map +1 -0
  278. package/lib/typescript/components/FluentGlassInput.d.ts +12 -0
  279. package/lib/typescript/components/FluentGlassInput.d.ts.map +1 -0
  280. package/lib/typescript/components/FluentGlassLabeledInput.d.ts +19 -0
  281. package/lib/typescript/components/FluentGlassLabeledInput.d.ts.map +1 -0
  282. package/lib/typescript/components/FluentGlassLayout.d.ts +11 -0
  283. package/lib/typescript/components/FluentGlassLayout.d.ts.map +1 -0
  284. package/lib/typescript/components/FluentGlassPasswordInput.d.ts +15 -0
  285. package/lib/typescript/components/FluentGlassPasswordInput.d.ts.map +1 -0
  286. package/lib/typescript/components/FluentGlassPopover.d.ts +17 -0
  287. package/lib/typescript/components/FluentGlassPopover.d.ts.map +1 -0
  288. package/lib/typescript/components/FluentGlassResponsiveRow.d.ts +25 -0
  289. package/lib/typescript/components/FluentGlassResponsiveRow.d.ts.map +1 -0
  290. package/lib/typescript/components/FluentGlassScrollArea.d.ts +16 -0
  291. package/lib/typescript/components/FluentGlassScrollArea.d.ts.map +1 -0
  292. package/lib/typescript/components/FluentGlassSegmentedControl.d.ts +15 -0
  293. package/lib/typescript/components/FluentGlassSegmentedControl.d.ts.map +1 -0
  294. package/lib/typescript/components/FluentGlassSelect.d.ts +23 -0
  295. package/lib/typescript/components/FluentGlassSelect.d.ts.map +1 -0
  296. package/lib/typescript/components/FluentGlassSeparator.d.ts +13 -0
  297. package/lib/typescript/components/FluentGlassSeparator.d.ts.map +1 -0
  298. package/lib/typescript/components/FluentGlassSheet.d.ts +11 -0
  299. package/lib/typescript/components/FluentGlassSheet.d.ts.map +1 -0
  300. package/lib/typescript/components/FluentGlassSidebar.d.ts +44 -0
  301. package/lib/typescript/components/FluentGlassSidebar.d.ts.map +1 -0
  302. package/lib/typescript/components/FluentGlassSimpleCard.d.ts +19 -0
  303. package/lib/typescript/components/FluentGlassSimpleCard.d.ts.map +1 -0
  304. package/lib/typescript/components/FluentGlassSkeleton.d.ts +14 -0
  305. package/lib/typescript/components/FluentGlassSkeleton.d.ts.map +1 -0
  306. package/lib/typescript/components/FluentGlassSlider.d.ts +31 -0
  307. package/lib/typescript/components/FluentGlassSlider.d.ts.map +1 -0
  308. package/lib/typescript/components/FluentGlassStatWidget.d.ts +17 -0
  309. package/lib/typescript/components/FluentGlassStatWidget.d.ts.map +1 -0
  310. package/lib/typescript/components/FluentGlassStatusIndicator.d.ts +16 -0
  311. package/lib/typescript/components/FluentGlassStatusIndicator.d.ts.map +1 -0
  312. package/lib/typescript/components/FluentGlassSwitch.d.ts +13 -0
  313. package/lib/typescript/components/FluentGlassSwitch.d.ts.map +1 -0
  314. package/lib/typescript/components/FluentGlassTable.d.ts +50 -0
  315. package/lib/typescript/components/FluentGlassTable.d.ts.map +1 -0
  316. package/lib/typescript/components/FluentGlassTag.d.ts +18 -0
  317. package/lib/typescript/components/FluentGlassTag.d.ts.map +1 -0
  318. package/lib/typescript/components/FluentGlassTextInput.d.ts +21 -0
  319. package/lib/typescript/components/FluentGlassTextInput.d.ts.map +1 -0
  320. package/lib/typescript/components/FluentGlassTimeline.d.ts +27 -0
  321. package/lib/typescript/components/FluentGlassTimeline.d.ts.map +1 -0
  322. package/lib/typescript/components/FluentGlassWeatherWidget.d.ts +13 -0
  323. package/lib/typescript/components/FluentGlassWeatherWidget.d.ts.map +1 -0
  324. package/lib/typescript/components/index.d.ts +43 -0
  325. package/lib/typescript/components/index.d.ts.map +1 -0
  326. package/lib/typescript/fonts.d.ts +13 -0
  327. package/lib/typescript/fonts.d.ts.map +1 -0
  328. package/lib/typescript/hooks/useBreakpoint.d.ts +26 -0
  329. package/lib/typescript/hooks/useBreakpoint.d.ts.map +1 -0
  330. package/lib/typescript/index.d.ts +18 -0
  331. package/lib/typescript/index.d.ts.map +1 -0
  332. package/lib/typescript/theme/FluentGlassProvider.d.ts +21 -0
  333. package/lib/typescript/theme/FluentGlassProvider.d.ts.map +1 -0
  334. package/lib/typescript/theme/defaultTheme.d.ts +10 -0
  335. package/lib/typescript/theme/defaultTheme.d.ts.map +1 -0
  336. package/lib/typescript/theme/resolvers.d.ts +55 -0
  337. package/lib/typescript/theme/resolvers.d.ts.map +1 -0
  338. package/lib/typescript/theme/tokens.d.ts +27 -0
  339. package/lib/typescript/theme/tokens.d.ts.map +1 -0
  340. package/lib/typescript/theme/typography.d.ts +27 -0
  341. package/lib/typescript/theme/typography.d.ts.map +1 -0
  342. package/lib/typescript/theme/useTheme.d.ts +12 -0
  343. package/lib/typescript/theme/useTheme.d.ts.map +1 -0
  344. package/lib/typescript/types/components.d.ts +32 -0
  345. package/lib/typescript/types/components.d.ts.map +1 -0
  346. package/lib/typescript/types/theme.d.ts +79 -0
  347. package/lib/typescript/types/theme.d.ts.map +1 -0
  348. package/lib/typescript/utils/colors.d.ts +3 -0
  349. package/lib/typescript/utils/colors.d.ts.map +1 -0
  350. package/lib/typescript/utils/responsive.d.ts +62 -0
  351. package/lib/typescript/utils/responsive.d.ts.map +1 -0
  352. package/package.json +90 -0
  353. package/src/assets/fonts/Inter-Black.ttf +0 -0
  354. package/src/assets/fonts/Inter-Bold.ttf +0 -0
  355. package/src/assets/fonts/Inter-ExtraBold.ttf +0 -0
  356. package/src/assets/fonts/Inter-Medium.ttf +0 -0
  357. package/src/assets/fonts/Inter-Regular.ttf +0 -0
  358. package/src/assets/fonts/Inter-SemiBold.ttf +0 -0
  359. package/src/components/FluentGlass.tsx +103 -0
  360. package/src/components/FluentGlassAlert.tsx +126 -0
  361. package/src/components/FluentGlassBadge.tsx +109 -0
  362. package/src/components/FluentGlassBarChart.tsx +295 -0
  363. package/src/components/FluentGlassBreadcrumb.tsx +173 -0
  364. package/src/components/FluentGlassButton.tsx +169 -0
  365. package/src/components/FluentGlassCalendarWidget.tsx +55 -0
  366. package/src/components/FluentGlassCard.tsx +186 -0
  367. package/src/components/FluentGlassCheckbox.tsx +138 -0
  368. package/src/components/FluentGlassClockWidget.tsx +61 -0
  369. package/src/components/FluentGlassCodeBlock.tsx +241 -0
  370. package/src/components/FluentGlassContainer.tsx +63 -0
  371. package/src/components/FluentGlassCrossfade.tsx +122 -0
  372. package/src/components/FluentGlassDateInput.tsx +182 -0
  373. package/src/components/FluentGlassDatePicker.tsx +224 -0
  374. package/src/components/FluentGlassDialog.tsx +153 -0
  375. package/src/components/FluentGlassDock.tsx +194 -0
  376. package/src/components/FluentGlassDropdown.tsx +382 -0
  377. package/src/components/FluentGlassEmailInput.tsx +46 -0
  378. package/src/components/FluentGlassInput.tsx +77 -0
  379. package/src/components/FluentGlassLabeledInput.tsx +63 -0
  380. package/src/components/FluentGlassLayout.tsx +89 -0
  381. package/src/components/FluentGlassPasswordInput.tsx +59 -0
  382. package/src/components/FluentGlassPopover.tsx +74 -0
  383. package/src/components/FluentGlassResponsiveRow.tsx +76 -0
  384. package/src/components/FluentGlassScrollArea.tsx +110 -0
  385. package/src/components/FluentGlassSegmentedControl.tsx +140 -0
  386. package/src/components/FluentGlassSelect.tsx +139 -0
  387. package/src/components/FluentGlassSeparator.tsx +54 -0
  388. package/src/components/FluentGlassSheet.tsx +183 -0
  389. package/src/components/FluentGlassSidebar.tsx +349 -0
  390. package/src/components/FluentGlassSimpleCard.tsx +59 -0
  391. package/src/components/FluentGlassSkeleton.tsx +69 -0
  392. package/src/components/FluentGlassSlider.tsx +202 -0
  393. package/src/components/FluentGlassStatWidget.tsx +107 -0
  394. package/src/components/FluentGlassStatusIndicator.tsx +82 -0
  395. package/src/components/FluentGlassSwitch.tsx +130 -0
  396. package/src/components/FluentGlassTable.tsx +145 -0
  397. package/src/components/FluentGlassTag.tsx +98 -0
  398. package/src/components/FluentGlassTextInput.tsx +87 -0
  399. package/src/components/FluentGlassTimeline.tsx +335 -0
  400. package/src/components/FluentGlassWeatherWidget.tsx +54 -0
  401. package/src/components/index.ts +42 -0
  402. package/src/fonts.ts +24 -0
  403. package/src/hooks/useBreakpoint.ts +55 -0
  404. package/src/index.ts +97 -0
  405. package/src/theme/FluentGlassProvider.tsx +82 -0
  406. package/src/theme/defaultTheme.ts +44 -0
  407. package/src/theme/resolvers.ts +115 -0
  408. package/src/theme/tokens.ts +200 -0
  409. package/src/theme/typography.ts +41 -0
  410. package/src/theme/useTheme.ts +17 -0
  411. package/src/types/components.ts +47 -0
  412. package/src/types/theme.ts +82 -0
  413. package/src/utils/colors.ts +55 -0
  414. package/src/utils/responsive.ts +110 -0
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, TextInput, View } from 'react-native';
5
+ import FluentGlass from './FluentGlass';
6
+ import useTheme from '../theme/useTheme';
7
+ import { resolveSize, resolveBackwardCompat } from '../theme/resolvers';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ /**
10
+ * FluentGlassTextInput (Átomo)
11
+ * Componente básico de input de texto con estilo glassmorphism.
12
+ */
13
+ export default function FluentGlassTextInput({
14
+ value,
15
+ onChangeText,
16
+ placeholder,
17
+ keyboardType = 'default',
18
+ autoCapitalize = 'sentences',
19
+ autoComplete,
20
+ secureTextEntry = false,
21
+ style,
22
+ inputStyle,
23
+ children,
24
+ size,
25
+ colorScheme,
26
+ blur,
27
+ radius,
28
+ accessibilityLabel,
29
+ accessibilityHint
30
+ }) {
31
+ const theme = useTheme();
32
+ const sizeConfig = resolveSize(theme, size || theme.defaults.size);
33
+ const compat = resolveBackwardCompat({
34
+ colorScheme,
35
+ blur
36
+ });
37
+ const resolvedScheme = compat.colorScheme || theme.defaults.colorScheme;
38
+ return /*#__PURE__*/_jsx(FluentGlass, {
39
+ style: [styles.container, {
40
+ minHeight: sizeConfig.minHeight
41
+ }, style],
42
+ colorScheme: resolvedScheme,
43
+ blur: compat.blur || 'subtle',
44
+ radius: radius,
45
+ borderOpacity: 0.15,
46
+ children: /*#__PURE__*/_jsxs(View, {
47
+ style: styles.innerContainer,
48
+ children: [/*#__PURE__*/_jsx(TextInput, {
49
+ style: [styles.input, {
50
+ paddingHorizontal: sizeConfig.paddingHorizontal,
51
+ color: theme.colors.textPrimary,
52
+ fontSize: sizeConfig.fontSize,
53
+ fontFamily: theme.typography.regular
54
+ }, inputStyle, {
55
+ outlineStyle: 'none'
56
+ }],
57
+ value: value,
58
+ onChangeText: onChangeText,
59
+ placeholder: placeholder,
60
+ placeholderTextColor: theme.colors.textSecondary,
61
+ keyboardType: keyboardType,
62
+ autoCapitalize: autoCapitalize,
63
+ autoComplete: autoComplete,
64
+ secureTextEntry: secureTextEntry,
65
+ accessibilityLabel: accessibilityLabel ?? placeholder,
66
+ accessibilityHint: accessibilityHint
67
+ }), children]
68
+ })
69
+ });
70
+ }
71
+ const styles = StyleSheet.create({
72
+ container: {
73
+ // minHeight set inline by sizeConfig
74
+ },
75
+ innerContainer: {
76
+ flex: 1,
77
+ flexDirection: 'row',
78
+ alignItems: 'center'
79
+ },
80
+ input: {
81
+ flex: 1,
82
+ height: '100%'
83
+ }
84
+ });
85
+ //# sourceMappingURL=FluentGlassTextInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","TextInput","View","FluentGlass","useTheme","resolveSize","resolveBackwardCompat","jsx","_jsx","jsxs","_jsxs","FluentGlassTextInput","value","onChangeText","placeholder","keyboardType","autoCapitalize","autoComplete","secureTextEntry","style","inputStyle","children","size","colorScheme","blur","radius","accessibilityLabel","accessibilityHint","theme","sizeConfig","defaults","compat","resolvedScheme","styles","container","minHeight","borderOpacity","innerContainer","input","paddingHorizontal","color","colors","textPrimary","fontSize","fontFamily","typography","regular","outlineStyle","placeholderTextColor","textSecondary","create","flex","flexDirection","alignItems","height"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassTextInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,SAAS,EAAkBC,IAAI,QAA8D,cAAc;AAChI,OAAOC,WAAW,MAAM,eAAe;AACvC,OAAOC,QAAQ,MAAM,mBAAmB;AACxC,SAASC,WAAW,EAAEC,qBAAqB,QAAQ,oBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAgBxE;AACA;AACA;AACA;AACA,eAAe,SAASC,oBAAoBA,CAAC;EAAEC,KAAK;EAChDC,YAAY;EACZC,WAAW;EACXC,YAAY,GAAG,SAAS;EACxBC,cAAc,GAAG,WAAW;EAC5BC,YAAY;EACZC,eAAe,GAAG,KAAK;EACvBC,KAAK;EACLC,UAAU;EACVC,QAAQ;EACRC,IAAI;EACJC,WAAW;EACXC,IAAI;EACJC,MAAM;EACNC,kBAAkB;EAClBC;AAA8C,CAAC,EAAE;EACjD,MAAMC,KAAK,GAAGxB,QA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A,eAAgB;QACjCQ,kBAAkB,EAAEA,kBAAkB,IAAIZ,WAAY;QACtDa,iBAAiB,EAAEA;MAAkB,CACxC,CAAC,EACDN,QAAQ;IAAA,CACP;EAAC,CACE,CAAC;AAEtB;AAEA,MAAMY,MAAM,GAAGjC,UAAU,CAACkD,MAAM,CAAC;EAC7BhB,SAAS,EAAE;IACP;EAAA,CACH;EACDG,cAAc,EAAE;IACZc,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EAChB,CAAC;EACDf,KAAK,EAAE;IACHa,IAAI,EAAE,CAAC;IACPG,MAAM,EAAE;EACZ;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,327 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ // Removed static COLORS import
5
+ import { StyleSheet, View, Text } from 'react-native';
6
+ import Animated, { useSharedValue, useAnimatedStyle, withSpring, withRepeat, withTiming } from 'react-native-reanimated';
7
+ import FluentGlass from './FluentGlass';
8
+ import useTheme from '../theme/useTheme';
9
+
10
+ /**
11
+ * FluentGlassTimeline (Component)
12
+ * Glassmorphism timeline with vertical and horizontal variants.
13
+ *
14
+ * Props:
15
+ * items - Array of { title, description, date, status, icon }
16
+ * status: 'completed' | 'active' | 'pending'
17
+ * variant - 'vertical' | 'horizontal' (default: 'vertical')
18
+ * style - Container style override
19
+ * style - Container style override
20
+ */
21
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
+ // ─── Indicator Circle ───
23
+ function TimelineIndicator({
24
+ status,
25
+ size = 32,
26
+ colors
27
+ }) {
28
+ const pulseScale = useSharedValue(1);
29
+ React.useEffect(() => {
30
+ if (status === 'active') {
31
+ pulseScale.value = withRepeat(withTiming(1.15, {
32
+ duration: 1200
33
+ }), -1, true);
34
+ } else {
35
+ pulseScale.value = withSpring(1);
36
+ }
37
+ }, [status]);
38
+ const pulseStyle = useAnimatedStyle(() => ({
39
+ transform: [{
40
+ scale: pulseScale.value
41
+ }]
42
+ }));
43
+ const isCompleted = status === 'completed';
44
+ const isActive = status === 'active';
45
+ const isPending = status === 'pending';
46
+ return /*#__PURE__*/_jsx(Animated.View, {
47
+ style: pulseStyle,
48
+ children: /*#__PURE__*/_jsx(View, {
49
+ style: [styles.indicator, {
50
+ width: size,
51
+ height: size,
52
+ borderRadius: size / 2,
53
+ borderColor: isCompleted || isActive ? colors.accent : isPending ? `${colors.textSecondary}4D` : colors.border,
54
+ backgroundColor: isCompleted ? colors.accent : isActive ? `${colors.secondary}26` : isPending ? `${colors.textSecondary}1A` : 'transparent'
55
+ }],
56
+ children: isCompleted ? /*#__PURE__*/_jsx(Text, {
57
+ style: [styles.checkmark, {
58
+ color: colors.background
59
+ }],
60
+ children: "\u2713"
61
+ }) : /*#__PURE__*/_jsx(View, {
62
+ style: [styles.innerDot, {
63
+ width: size * 0.35,
64
+ height: size * 0.35,
65
+ borderRadius: size * 0.35 / 2,
66
+ backgroundColor: isActive ? colors.accent : isPending ? `${colors.textSecondary}4D` : 'transparent'
67
+ }]
68
+ })
69
+ })
70
+ });
71
+ }
72
+
73
+ // ─── Connecting Line ───
74
+ function TimelineLine({
75
+ status,
76
+ direction = 'vertical',
77
+ colors
78
+ }) {
79
+ const isCompleted = status === 'completed';
80
+ const isVertical = direction === 'vertical';
81
+ return /*#__PURE__*/_jsx(View, {
82
+ style: [isVertical ? styles.lineVertical : styles.lineHorizontal, {
83
+ backgroundColor: isCompleted ? colors.accent : `${colors.textSecondary}26`
84
+ }]
85
+ });
86
+ }
87
+
88
+ // ─── Vertical Timeline ───
89
+ function VerticalTimeline({
90
+ items,
91
+ style,
92
+ colors,
93
+ typography
94
+ }) {
95
+ return /*#__PURE__*/_jsx(View, {
96
+ style: [styles.verticalContainer, style],
97
+ children: items.map((item, index) => {
98
+ const isLast = index === items.length - 1;
99
+ const isActive = item.status === 'active';
100
+ return /*#__PURE__*/_jsxs(View, {
101
+ style: styles.verticalItem,
102
+ children: [/*#__PURE__*/_jsxs(View, {
103
+ style: styles.verticalLeft,
104
+ children: [/*#__PURE__*/_jsx(TimelineIndicator, {
105
+ status: item.status,
106
+ size: 36,
107
+ colors: colors
108
+ }), !isLast ? /*#__PURE__*/_jsx(TimelineLine, {
109
+ status: item.status,
110
+ direction: "vertical",
111
+ colors: colors
112
+ }) : null]
113
+ }), /*#__PURE__*/_jsx(View, {
114
+ style: styles.verticalRight,
115
+ children: /*#__PURE__*/_jsx(FluentGlass, {
116
+ style: [styles.verticalCard, isActive && {
117
+ borderColor: colors.accent
118
+ }],
119
+ intensity: isActive ? 25 : 15,
120
+ tint: isActive ? 'default' : 'dark',
121
+ borderRadius: 14,
122
+ borderOpacity: isActive ? 0.35 : 0.15,
123
+ children: /*#__PURE__*/_jsxs(View, {
124
+ style: styles.cardContent,
125
+ children: [/*#__PURE__*/_jsxs(View, {
126
+ style: styles.cardHeader,
127
+ children: [/*#__PURE__*/_jsx(Text, {
128
+ style: [styles.cardTitle, {
129
+ fontFamily: typography.bold,
130
+ color: item.status === 'pending' ? colors.textSecondary : colors.textPrimary
131
+ }],
132
+ children: item.title
133
+ }), item.date ? /*#__PURE__*/_jsx(Text, {
134
+ style: [styles.cardDate, {
135
+ fontFamily: typography.medium,
136
+ color: colors.textSecondary
137
+ }],
138
+ children: item.date
139
+ }) : null]
140
+ }), item.description ? /*#__PURE__*/_jsx(Text, {
141
+ style: [styles.cardDescription, {
142
+ color: colors.textSecondary
143
+ }],
144
+ children: item.description
145
+ }) : null]
146
+ })
147
+ })
148
+ })]
149
+ }, index);
150
+ })
151
+ });
152
+ }
153
+
154
+ // ─── Horizontal Timeline ───
155
+ function HorizontalTimeline({
156
+ items,
157
+ style,
158
+ colors,
159
+ typography
160
+ }) {
161
+ return /*#__PURE__*/_jsx(View, {
162
+ style: [styles.horizontalContainer, style],
163
+ children: items.map((item, index) => {
164
+ const isLast = index === items.length - 1;
165
+ return /*#__PURE__*/_jsxs(View, {
166
+ style: styles.horizontalItem,
167
+ children: [/*#__PURE__*/_jsxs(View, {
168
+ style: styles.horizontalTop,
169
+ children: [/*#__PURE__*/_jsx(TimelineIndicator, {
170
+ status: item.status,
171
+ size: 40,
172
+ colors: colors
173
+ }), !isLast ? /*#__PURE__*/_jsx(TimelineLine, {
174
+ status: item.status,
175
+ direction: "horizontal",
176
+ colors: colors
177
+ }) : null]
178
+ }), /*#__PURE__*/_jsxs(View, {
179
+ style: styles.horizontalLabels,
180
+ children: [/*#__PURE__*/_jsx(Text, {
181
+ style: [styles.horizontalTitle, {
182
+ fontFamily: typography.semiBold,
183
+ color: item.status === 'pending' ? colors.textSecondary : colors.textPrimary
184
+ }],
185
+ numberOfLines: 1,
186
+ children: item.title
187
+ }), item.description ? /*#__PURE__*/_jsx(Text, {
188
+ style: [styles.horizontalSubtitle, {
189
+ color: colors.textSecondary
190
+ }],
191
+ numberOfLines: 1,
192
+ children: item.description
193
+ }) : null]
194
+ })]
195
+ }, index);
196
+ })
197
+ });
198
+ }
199
+
200
+ // ─── Main Export ───
201
+ export default function FluentGlassTimeline({
202
+ items = [],
203
+ variant = 'vertical',
204
+ style
205
+ }) {
206
+ const {
207
+ colors,
208
+ typography
209
+ } = useTheme();
210
+
211
+ // Pass colors down through context or cloning isn't great.
212
+ // We will wrap the children with the theme context implicitly since these are small components
213
+ // inside the same file, let's pass `colors` as a prop to internal helpers.
214
+ if (variant === 'horizontal') {
215
+ return /*#__PURE__*/_jsx(View, {
216
+ accessible: true,
217
+ accessibilityLabel: "Timeline",
218
+ children: /*#__PURE__*/_jsx(HorizontalTimeline, {
219
+ items: items,
220
+ style: style,
221
+ colors: colors,
222
+ typography: typography
223
+ })
224
+ });
225
+ }
226
+ return /*#__PURE__*/_jsx(View, {
227
+ accessible: true,
228
+ accessibilityLabel: "Timeline",
229
+ children: /*#__PURE__*/_jsx(VerticalTimeline, {
230
+ items: items,
231
+ style: style,
232
+ colors: colors,
233
+ typography: typography
234
+ })
235
+ });
236
+ }
237
+
238
+ // ─── Styles ───
239
+ const styles = StyleSheet.create({
240
+ // Indicator
241
+ indicator: {
242
+ alignItems: 'center',
243
+ justifyContent: 'center',
244
+ borderWidth: 2
245
+ },
246
+ checkmark: {
247
+ fontSize: 16
248
+ },
249
+ innerDot: {},
250
+ lineVertical: {
251
+ width: 2,
252
+ flex: 1,
253
+ marginVertical: 4
254
+ },
255
+ lineHorizontal: {
256
+ height: 2,
257
+ flex: 1,
258
+ marginHorizontal: 4
259
+ },
260
+ // ─── Vertical ───
261
+ verticalContainer: {},
262
+ verticalItem: {
263
+ flexDirection: 'row'
264
+ },
265
+ verticalLeft: {
266
+ alignItems: 'center',
267
+ width: 44,
268
+ marginRight: 12
269
+ },
270
+ verticalRight: {
271
+ flex: 1,
272
+ paddingBottom: 20
273
+ },
274
+ verticalCard: {
275
+ minHeight: 60
276
+ },
277
+ // removed verticalCardActive
278
+ cardContent: {
279
+ padding: 14
280
+ },
281
+ cardHeader: {
282
+ flexDirection: 'row',
283
+ justifyContent: 'space-between',
284
+ alignItems: 'center'
285
+ },
286
+ cardTitle: {
287
+ fontSize: 16
288
+ },
289
+ cardDate: {
290
+ fontSize: 12
291
+ },
292
+ cardDescription: {
293
+ fontSize: 14,
294
+ marginTop: 4,
295
+ lineHeight: 20
296
+ },
297
+ // ─── Horizontal ───
298
+ horizontalContainer: {
299
+ flexDirection: 'row',
300
+ alignItems: 'flex-start'
301
+ },
302
+ horizontalItem: {
303
+ flex: 1,
304
+ alignItems: 'center'
305
+ },
306
+ horizontalTop: {
307
+ flexDirection: 'row',
308
+ alignItems: 'center',
309
+ width: '100%',
310
+ justifyContent: 'center'
311
+ },
312
+ horizontalLabels: {
313
+ alignItems: 'center',
314
+ marginTop: 10,
315
+ paddingHorizontal: 4
316
+ },
317
+ horizontalTitle: {
318
+ fontSize: 14,
319
+ marginTop: 4
320
+ },
321
+ horizontalSubtitle: {
322
+ fontSize: 12,
323
+ marginTop: 2,
324
+ textAlign: 'center'
325
+ }
326
+ });
327
+ //# sourceMappingURL=FluentGlassTimeline.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","Text","Animated","useSharedValue","useAnimatedStyle","withSpring","withRepeat","withTiming","FluentGlass","useTheme","jsx","_jsx","jsxs","_jsxs","TimelineIndicator","status","size","colors","pulseScale","useEffect","value","duration","pulseStyle","transform","scale","isCompleted","isActive","isPending","style","children","styles","indicator","width","height","borderRadius","borderColor","accent","textSecondary","border","backgroundColor","secondary","checkmark","color","background","innerDot","TimelineLine","direction","isVertical","lineVertical","lineHorizontal","VerticalTimeline","items","typography","verticalContainer","map","item","index","isLast","length","verticalItem","verticalLeft","verticalRight","verticalCard","intensity","tint","borderOpacity","cardContent","cardHeader","cardTitle","fontFamily","bold","textPrimary","title","date","cardDate","medium","description","cardDescription","HorizontalTimeline","horizontalContainer","horizontalItem","horizontalTop","horizontalLabels","horizontalTitle","semiBold","numberOfLines","horizontalSubtitle","FluentGlassTimeline","variant","accessible","accessibilityLabel","create","alignItems","justifyContent","borderWidth","fontSize","flex","marginVertical","marginHorizontal","flexDirection","marginRight","paddingBottom","minHeight","padding","marginTop","lineHeight","paddingHorizontal","textAlign"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassTimeline.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB;AACA,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAAQ,cAAc;AACrD,OAAOC,QAAQ,IACXC,cAAc,EACdC,gBAAgB,EAChBC,UAAU,EACVC,UAAU,EACVC,UAAU,QACP,yBAAyB;AAChC,OAAOC,WAAW,MAAM,eAAe;AACvC,OAAOC,QAAQ,MAAM,mBAAmB;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAVA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA4BA;AACA,SAASC,iBAAiBA,CAAC;EAAEC,MAAM;EAAEC,IAAI,GAAG,EAAE;EAAEC;AAA+D,CAAC,EAAE;EA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AE;EACf,CAAC;EACDlB,kBAAkB,EAAE;IAChBS,QAAQ,EAAE,EAAE;IACZS,SAAS,EAAE,CAAC;IACZG,SAAS,EAAE;EACf;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, View, Text } from 'react-native';
5
+ import FluentGlass from './FluentGlass';
6
+ import useTheme from '../theme/useTheme';
7
+ import { moderateScale } from '../utils/responsive';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ /**
10
+ * FluentGlassWeatherWidget (Atom/Molecule)
11
+ * Dashboard widget displaying temperature and condition.
12
+ */
13
+ export default function FluentGlassWeatherWidget({
14
+ temp = '24°',
15
+ condition = 'Cloudy',
16
+ style
17
+ }) {
18
+ const theme = useTheme();
19
+ const COLORS = theme.colors;
20
+ const typography = theme.typography;
21
+ return /*#__PURE__*/_jsx(FluentGlass, {
22
+ accessible: true,
23
+ accessibilityLabel: `${temp} ${condition}`,
24
+ style: [styles.card, style],
25
+ intensity: 25,
26
+ borderRadius: 20,
27
+ children: /*#__PURE__*/_jsxs(View, {
28
+ style: styles.content,
29
+ children: [/*#__PURE__*/_jsx(Text, {
30
+ style: [styles.label, {
31
+ color: COLORS.textSecondary,
32
+ fontFamily: typography.medium
33
+ }],
34
+ children: condition
35
+ }), /*#__PURE__*/_jsx(Text, {
36
+ style: [styles.bigValue, {
37
+ color: COLORS.textPrimary,
38
+ fontFamily: typography.regular
39
+ }],
40
+ children: temp
41
+ })]
42
+ })
43
+ });
44
+ }
45
+ const styles = StyleSheet.create({
46
+ card: {
47
+ flex: 1,
48
+ minWidth: 100,
49
+ maxWidth: 140,
50
+ aspectRatio: 1
51
+ },
52
+ content: {
53
+ flex: 1,
54
+ justifyContent: 'center',
55
+ alignItems: 'center'
56
+ },
57
+ label: {
58
+ fontSize: 12,
59
+ textTransform: 'uppercase',
60
+ marginBottom: 4
61
+ },
62
+ bigValue: {
63
+ fontSize: moderateScale(28),
64
+ fontWeight: '300'
65
+ }
66
+ });
67
+ //# sourceMappingURL=FluentGlassWeatherWidget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","Text","FluentGlass","useTheme","moderateScale","jsx","_jsx","jsxs","_jsxs","FluentGlassWeatherWidget","temp","condition","style","theme","COLORS","colors","typography","accessible","accessibilityLabel","styles","card","intensity","borderRadius","children","content","label","color","textSecondary","fontFamily","medium","bigValue","textPrimary","regular","create","flex","minWidth","maxWidth","aspectRatio","justifyContent","alignItems","fontSize","textTransform","marginBottom","fontWeight"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassWeatherWidget.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,UAAU,EAAEC,IAAI,EAAEC,IAAI,QAA8B,cAAc;AAC3E,OAAOC,WAAW,MAAM,eAAe;AACvC,OAAOC,QAAQ,MAAM,mBAAmB;AACxC,SAASC,aAAa,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAQpD;AACA;AACA;AACA;AACA,eAAe,SAASC,wBAAwBA,CAAC;EAAEC,IAAI,GAAG,KAAK;EAAEC,SAAS,GAAG,QAAQ;EAAEC;AAAqC,CAAC,EAAE;EAC3H,MAAMC,KAAK,GAAGV,QAAQ,CAAC,CAAC;EACxB,MAAMW,MAAM,GAAGD,KAAK,CAACE,MAAM;EAC3B,MAAMC,UAAU,GAAGH,KAAK,CAACG,UAAU;EAEnC,oBACIV,IAAA,CAACJ,WAAW;IAACe,UAAU,EAAE,IAAK;IAACC,kBAAkB,EAAE,GAAGR,IAAI,IAAIC,SAAS,EAAG;IAACC,KAAK,EAAE,CAACO,MAAM,CAACC,IAAI,EAAER,KAAK,CAAE;IAACS,SAAS,EAAE,EAAG;IAACC,YAAY,EAAE,EAAG;IAAAC,QAAA,eACpIf,KAAA,CAACR,IAAI;MAACY,KAAK,EAAEO,MAAM,CAACK,OAAQ;MAAAD,QAAA,gBACxBjB,IAAA,CAACL,IAAI;QAACW,KAAK,EAAE,CAACO,MAAM,CAACM,KAAK,EAAE;UAAEC,KAAK,EAAEZ,MAAM,CAACa,aAAa;UAAEC,UAAU,EAAEZ,UAAU,CAACa;QAAO,CAAC,CAAE;QAAAN,QAAA,EAAEZ;MAAS,CAAO,CAAC,eAC/GL,IAAA,CAACL,IAAI;QAACW,KAAK,EAAE,CAACO,MAAM,CAACW,QAAQ,EAAE;UAAEJ,KAAK,EAAEZ,MAAM,CAACiB,WAAW;UAAEH,UAAU,EAAEZ,UAAU,CAACgB;QAAQ,CAAC,CAAE;QAAAT,QAAA,EAAEb;MAAI,CAAO,CAAC;IAAA,CAC1G;EAAC,CACE,CAAC;AAEtB;AAEA,MAAMS,MAAM,GAAGpB,UAAU,CAACkC,MAAM,CAAC;EAC7Bb,IAAI,EAAE;IACFc,IAAI,EAAE,CAAC;IACPC,QAAQ,EAAE,GAAG;IACbC,QAAQ,EAAE,GAAG;IACbC,WAAW,EAAE;EACjB,CAAC;EACDb,OAAO,EAAE;IACLU,IAAI,EAAE,CAAC;IACPI,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EAChB,CAAC;EACDd,KAAK,EAAE;IACHe,QAAQ,EAAE,EAAE;IACZC,aAAa,EAAE,WAAW;IAC1BC,YAAY,EAAE;EAClB,CAAC;EACDZ,QAAQ,EAAE;IACNU,QAAQ,EAAEpC,aAAa,CAAC,EAAE,CAAC;IAC3BuC,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+
3
+ export { default as FluentGlass } from './FluentGlass';
4
+ export { default as FluentGlassLayout } from './FluentGlassLayout';
5
+ export { default as FluentGlassSimpleCard } from './FluentGlassSimpleCard';
6
+ export { default as FluentGlassButton } from './FluentGlassButton';
7
+ export { default as FluentGlassInput } from './FluentGlassInput';
8
+ export { default as FluentGlassSeparator } from './FluentGlassSeparator';
9
+ export { default as FluentGlassSkeleton } from './FluentGlassSkeleton';
10
+ export { default as FluentGlassScrollArea } from './FluentGlassScrollArea';
11
+ export { FluentGlassTable } from './FluentGlassTable';
12
+ export { default as FluentGlassSheet } from './FluentGlassSheet';
13
+ export { default as FluentGlassDialog } from './FluentGlassDialog';
14
+ export { default as FluentGlassSelect } from './FluentGlassSelect';
15
+ export { default as FluentGlassPopover } from './FluentGlassPopover';
16
+ export { default as FluentGlassDock } from './FluentGlassDock';
17
+ export { default as FluentGlassWeatherWidget } from './FluentGlassWeatherWidget';
18
+ export { default as FluentGlassCalendarWidget } from './FluentGlassCalendarWidget';
19
+ export { default as FluentGlassClockWidget } from './FluentGlassClockWidget';
20
+ export { default as FluentGlassStatWidget } from './FluentGlassStatWidget';
21
+ export { default as FluentGlassSegmentedControl } from './FluentGlassSegmentedControl';
22
+ export { default as FluentGlassBadge } from './FluentGlassBadge';
23
+ export { default as FluentGlassTag } from './FluentGlassTag';
24
+ export { default as FluentGlassStatusIndicator } from './FluentGlassStatusIndicator';
25
+ export { default as FluentGlassBreadcrumb } from './FluentGlassBreadcrumb';
26
+ export { default as FluentGlassCard } from './FluentGlassCard';
27
+ export { default as FluentGlassSlider } from './FluentGlassSlider';
28
+ export { default as FluentGlassSwitch } from './FluentGlassSwitch';
29
+ export { default as FluentGlassDropdown } from './FluentGlassDropdown';
30
+ export { default as FluentGlassCodeBlock } from './FluentGlassCodeBlock';
31
+ export { default as FluentGlassContainer } from './FluentGlassContainer';
32
+ export { default as FluentGlassCheckbox } from './FluentGlassCheckbox';
33
+ export { default as FluentGlassTimeline } from './FluentGlassTimeline';
34
+ export { default as FluentGlassAlert } from './FluentGlassAlert';
35
+ export { default as FluentGlassBarChart } from './FluentGlassBarChart';
36
+ export { default as FluentGlassDatePicker } from './FluentGlassDatePicker';
37
+ export { default as FluentGlassTextInput } from './FluentGlassTextInput';
38
+ export { default as FluentGlassLabeledInput } from './FluentGlassLabeledInput';
39
+ export { default as FluentGlassPasswordInput } from './FluentGlassPasswordInput';
40
+ export { default as FluentGlassEmailInput } from './FluentGlassEmailInput';
41
+ export { default as FluentGlassDateInput } from './FluentGlassDateInput';
42
+ export { default as FluentGlassResponsiveRow } from './FluentGlassResponsiveRow';
43
+ export { default as FluentGlassCrossfade } from './FluentGlassCrossfade';
44
+ export { default as FluentGlassSidebar, SIDEBAR_DEFAULTS } from './FluentGlassSidebar';
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default","FluentGlass","FluentGlassLayout","FluentGlassSimpleCard","FluentGlassButton","FluentGlassInput","FluentGlassSeparator","FluentGlassSkeleton","FluentGlassScrollArea","FluentGlassTable","FluentGlassSheet","FluentGlassDialog","FluentGlassSelect","FluentGlassPopover","FluentGlassDock","FluentGlassWeatherWidget","FluentGlassCalendarWidget","FluentGlassClockWidget","FluentGlassStatWidget","FluentGlassSegmentedControl","FluentGlassBadge","FluentGlassTag","FluentGlassStatusIndicator","FluentGlassBreadcrumb","FluentGlassCard","FluentGlassSlider","FluentGlassSwitch","FluentGlassDropdown","FluentGlassCodeBlock","FluentGlassContainer","FluentGlassCheckbox","FluentGlassTimeline","FluentGlassAlert","FluentGlassBarChart","FluentGlassDatePicker","FluentGlassTextInput","FluentGlassLabeledInput","FluentGlassPasswordInput","FluentGlassEmailInput","FluentGlassDateInput","FluentGlassResponsiveRow","FluentGlassCrossfade","FluentGlassSidebar","SIDEBAR_DEFAULTS"],"sourceRoot":"..\\..\\..\\src","sources":["components/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,WAAW,QAAQ,eAAe;AACtD,SAASD,OAAO,IAAIE,iBAAiB,QAAQ,qBAAqB;AAClE,SAASF,OAAO,IAAIG,qBAAqB,QAAQ,yBAAyB;AAC1E,SAASH,OAAO,IAAII,iBAAiB,QAAQ,qBAAqB;AAClE,SAASJ,OAAO,IAAIK,gBAAgB,QAAQ,oBAAoB;AAChE,SAASL,OAAO,IAA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uBAAuB;AACtE,SAAS9B,OAAO,IAAI+B,mBAAmB,QAAQ,uBAAuB;AACtE,SAAS/B,OAAO,IAAIgC,gBAAgB,QAAQ,oBAAoB;AAChE,SAAShC,OAAO,IAAIiC,mBAAmB,QAAQ,uBAAuB;AACtE,SAASjC,OAAO,IAAIkC,qBAAqB,QAAQ,yBAAyB;AAC1E,SAASlC,OAAO,IAAImC,oBAAoB,QAAQ,wBAAwB;AACxE,SAASnC,OAAO,IAAIoC,uBAAuB,QAAQ,2BAA2B;AAC9E,SAASpC,OAAO,IAAIqC,wBAAwB,QAAQ,4BAA4B;AAChF,SAASrC,OAAO,IAAIsC,qBAAqB,QAAQ,yBAAyB;AAC1E,SAAStC,OAAO,IAAIuC,oBAAoB,QAAQ,wBAAwB;AACxE,SAASvC,OAAO,IAAIwC,wBAAwB,QAAQ,4BAA4B;AAChF,SAASxC,OAAO,IAAIyC,oBAAoB,QAAQ,wBAAwB;AACxE,SAASzC,OAAO,IAAI0C,kBAAkB,EAAEC,gBAAgB,QAAQ,sBAAsB","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * FluentGlass Font Loader
5
+ *
6
+ * Utility to load Inter font files bundled with the library.
7
+ * Call loadFluentGlassFonts() before rendering, or use
8
+ * FluentGlassProvider which handles loading automatically.
9
+ */
10
+ import * as Font from 'expo-font';
11
+ export const FLUENTGLASS_FONTS = {
12
+ 'Inter-Regular': require('./assets/fonts/Inter-Regular.ttf'),
13
+ 'Inter-Medium': require('./assets/fonts/Inter-Medium.ttf'),
14
+ 'Inter-SemiBold': require('./assets/fonts/Inter-SemiBold.ttf'),
15
+ 'Inter-Bold': require('./assets/fonts/Inter-Bold.ttf'),
16
+ 'Inter-ExtraBold': require('./assets/fonts/Inter-ExtraBold.ttf'),
17
+ 'Inter-Black': require('./assets/fonts/Inter-Black.ttf')
18
+ };
19
+
20
+ /**
21
+ * Load all FluentGlass fonts. Returns a promise that resolves when fonts are ready.
22
+ */
23
+ export function loadFluentGlassFonts() {
24
+ return Font.loadAsync(FLUENTGLASS_FONTS);
25
+ }
26
+ //# sourceMappingURL=fonts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Font","FLUENTGLASS_FONTS","require","loadFluentGlassFonts","loadAsync"],"sourceRoot":"..\\..\\src","sources":["fonts.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,IAAI,MAAM,WAAW;AAEjC,OAAO,MAAMC,iBAAiB,GAAG;EAC7B,eAAe,EAAEC,OAAO,CAAC,kCAAkC,CAAC;EAC5D,cAAc,EAAEA,OAAO,CAAC,iCAAiC,CAAC;EAC1D,gBAAgB,EAAEA,OAAO,CAAC,mCAAmC,CAAC;EAC9D,YAAY,EAAEA,OAAO,CAAC,+BAA+B,CAAC;EACtD,iBAAiB,EAAEA,OAAO,CAAC,oCAAoC,CAAC;EAChE,aAAa,EAAEA,OAAO,CAAC,gCAAgC;AAC3D,CAAC;;AAED;AACA;AACA;AACA,OAAO,SAASC,oBAAoBA,CAAA,EAAG;EACnC,OAAOH,IAAI,CAACI,SAAS,CAACH,iBAAiB,CAAC;AAC5C","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ import { useState, useEffect } from 'react';
4
+ import { Dimensions } from 'react-native';
5
+
6
+ /**
7
+ * useBreakpoint — Hook para diseño responsive
8
+ *
9
+ * Breakpoints:
10
+ * mobile: < 600px
11
+ * tablet: 600px – 1023px
12
+ * desktop: ≥ 1024px
13
+ *
14
+ * Retorna:
15
+ * breakpoint - 'mobile' | 'tablet' | 'desktop'
16
+ * width - ancho actual de la pantalla
17
+ * columns - número recomendado de columnas (1, 2, 3)
18
+ * isMobile - boolean
19
+ * isTablet - boolean
20
+ * isDesktop - boolean
21
+ */
22
+
23
+ export default function useBreakpoint() {
24
+ const [width, setWidth] = useState(Dimensions.get('window').width);
25
+ useEffect(() => {
26
+ const subscription = Dimensions.addEventListener('change', ({
27
+ window
28
+ }) => {
29
+ setWidth(window.width);
30
+ });
31
+ return () => subscription?.remove();
32
+ }, []);
33
+ const isMobile = width < 600;
34
+ const isTablet = width >= 600 && width < 1024;
35
+ const isDesktop = width >= 1024;
36
+ let breakpoint = 'mobile';
37
+ let columns = 1;
38
+ if (isDesktop) {
39
+ breakpoint = 'desktop';
40
+ columns = 3;
41
+ } else if (isTablet) {
42
+ breakpoint = 'tablet';
43
+ columns = 2;
44
+ }
45
+ return {
46
+ breakpoint,
47
+ width,
48
+ columns,
49
+ isMobile,
50
+ isTablet,
51
+ isDesktop
52
+ };
53
+ }
54
+ //# sourceMappingURL=useBreakpoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","useEffect","Dimensions","useBreakpoint","width","setWidth","get","subscription","addEventListener","window","remove","isMobile","isTablet","isDesktop","breakpoint","columns"],"sourceRoot":"..\\..\\..\\src","sources":["hooks/useBreakpoint.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AAC3C,SAASC,UAAU,QAAQ,cAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAUA,eAAe,SAASC,aAAaA,CAAA,EAAmB;EACpD,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGL,QAAQ,CAACE,UAAU,CAACI,GAAG,CAAC,QAAQ,CAAC,CAACF,KAAK,CAAC;EAElEH,SAAS,CAAC,MAAM;IACZ,MAAMM,YAAY,GAAGL,UAAU,CAACM,gBAAgB,CAAC,QAAQ,EAAE,CAAC;MAAEC;IAAY,CAAC,KAAK;MAC5EJ,QAAQ,CAACI,MAAM,CAACL,KAAK,CAAC;IAC1B,CAAC,CAAC;IACF,OAAO,MAAMG,YAAY,EAAEG,MAAM,CAAC,CAAC;EACvC,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMC,QAAQ,GAAGP,KAAK,GAAG,GAAG;EAC5B,MAAMQ,QAAQ,GAAGR,KAAK,IAAI,GAAG,IAAIA,KAAK,GAAG,IAAI;EAC7C,MAAMS,SAAS,GAAGT,KAAK,IAAI,IAAI;EAE/B,IAAIU,UAA2C,GAAG,QAAQ;EAC1D,IAAIC,OAAO,GAAG,CAAC;EAEf,IAAIF,SAAS,EAAE;IACXC,UAAU,GAAG,SAAS;IACtBC,OAAO,GAAG,CAAC;EACf,CAAC,MAAM,IAAIH,QAAQ,EAAE;IACjBE,UAAU,GAAG,QAAQ;IACrBC,OAAO,GAAG,CAAC;EACf;EAEA,OAAO;IAAED,UAAU;IAAEV,KAAK;IAAEW,OAAO;IAAEJ,QAAQ;IAAEC,QAAQ;IAAEC;EAAU,CAAC;AACxE","ignoreList":[]}