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,462 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ANIMATION_PRESETS", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _tokens.ANIMATION_PRESETS;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "BLUR_PRESETS", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _tokens.BLUR_PRESETS;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "COLORS", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _colors.COLORS;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "COLOR_SCHEMES", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _tokens.COLOR_SCHEMES;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "FONT_FAMILIES", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _typography.FONT_FAMILIES;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "FluentGlass", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _components.FluentGlass;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "FluentGlassAlert", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _components.FluentGlassAlert;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "FluentGlassBadge", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _components.FluentGlassBadge;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, "FluentGlassBarChart", {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _components.FluentGlassBarChart;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, "FluentGlassBreadcrumb", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _components.FluentGlassBreadcrumb;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "FluentGlassButton", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _components.FluentGlassButton;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "FluentGlassCalendarWidget", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _components.FluentGlassCalendarWidget;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "FluentGlassCard", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _components.FluentGlassCard;
82
+ }
83
+ });
84
+ Object.defineProperty(exports, "FluentGlassCheckbox", {
85
+ enumerable: true,
86
+ get: function () {
87
+ return _components.FluentGlassCheckbox;
88
+ }
89
+ });
90
+ Object.defineProperty(exports, "FluentGlassClockWidget", {
91
+ enumerable: true,
92
+ get: function () {
93
+ return _components.FluentGlassClockWidget;
94
+ }
95
+ });
96
+ Object.defineProperty(exports, "FluentGlassCodeBlock", {
97
+ enumerable: true,
98
+ get: function () {
99
+ return _components.FluentGlassCodeBlock;
100
+ }
101
+ });
102
+ Object.defineProperty(exports, "FluentGlassContainer", {
103
+ enumerable: true,
104
+ get: function () {
105
+ return _components.FluentGlassContainer;
106
+ }
107
+ });
108
+ Object.defineProperty(exports, "FluentGlassCrossfade", {
109
+ enumerable: true,
110
+ get: function () {
111
+ return _components.FluentGlassCrossfade;
112
+ }
113
+ });
114
+ Object.defineProperty(exports, "FluentGlassDateInput", {
115
+ enumerable: true,
116
+ get: function () {
117
+ return _components.FluentGlassDateInput;
118
+ }
119
+ });
120
+ Object.defineProperty(exports, "FluentGlassDatePicker", {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _components.FluentGlassDatePicker;
124
+ }
125
+ });
126
+ Object.defineProperty(exports, "FluentGlassDialog", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _components.FluentGlassDialog;
130
+ }
131
+ });
132
+ Object.defineProperty(exports, "FluentGlassDock", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _components.FluentGlassDock;
136
+ }
137
+ });
138
+ Object.defineProperty(exports, "FluentGlassDropdown", {
139
+ enumerable: true,
140
+ get: function () {
141
+ return _components.FluentGlassDropdown;
142
+ }
143
+ });
144
+ Object.defineProperty(exports, "FluentGlassEmailInput", {
145
+ enumerable: true,
146
+ get: function () {
147
+ return _components.FluentGlassEmailInput;
148
+ }
149
+ });
150
+ Object.defineProperty(exports, "FluentGlassInput", {
151
+ enumerable: true,
152
+ get: function () {
153
+ return _components.FluentGlassInput;
154
+ }
155
+ });
156
+ Object.defineProperty(exports, "FluentGlassLabeledInput", {
157
+ enumerable: true,
158
+ get: function () {
159
+ return _components.FluentGlassLabeledInput;
160
+ }
161
+ });
162
+ Object.defineProperty(exports, "FluentGlassLayout", {
163
+ enumerable: true,
164
+ get: function () {
165
+ return _components.FluentGlassLayout;
166
+ }
167
+ });
168
+ Object.defineProperty(exports, "FluentGlassPasswordInput", {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _components.FluentGlassPasswordInput;
172
+ }
173
+ });
174
+ Object.defineProperty(exports, "FluentGlassPopover", {
175
+ enumerable: true,
176
+ get: function () {
177
+ return _components.FluentGlassPopover;
178
+ }
179
+ });
180
+ Object.defineProperty(exports, "FluentGlassProvider", {
181
+ enumerable: true,
182
+ get: function () {
183
+ return _FluentGlassProvider.default;
184
+ }
185
+ });
186
+ Object.defineProperty(exports, "FluentGlassResponsiveRow", {
187
+ enumerable: true,
188
+ get: function () {
189
+ return _components.FluentGlassResponsiveRow;
190
+ }
191
+ });
192
+ Object.defineProperty(exports, "FluentGlassScrollArea", {
193
+ enumerable: true,
194
+ get: function () {
195
+ return _components.FluentGlassScrollArea;
196
+ }
197
+ });
198
+ Object.defineProperty(exports, "FluentGlassSegmentedControl", {
199
+ enumerable: true,
200
+ get: function () {
201
+ return _components.FluentGlassSegmentedControl;
202
+ }
203
+ });
204
+ Object.defineProperty(exports, "FluentGlassSelect", {
205
+ enumerable: true,
206
+ get: function () {
207
+ return _components.FluentGlassSelect;
208
+ }
209
+ });
210
+ Object.defineProperty(exports, "FluentGlassSeparator", {
211
+ enumerable: true,
212
+ get: function () {
213
+ return _components.FluentGlassSeparator;
214
+ }
215
+ });
216
+ Object.defineProperty(exports, "FluentGlassSheet", {
217
+ enumerable: true,
218
+ get: function () {
219
+ return _components.FluentGlassSheet;
220
+ }
221
+ });
222
+ Object.defineProperty(exports, "FluentGlassSidebar", {
223
+ enumerable: true,
224
+ get: function () {
225
+ return _components.FluentGlassSidebar;
226
+ }
227
+ });
228
+ Object.defineProperty(exports, "FluentGlassSimpleCard", {
229
+ enumerable: true,
230
+ get: function () {
231
+ return _components.FluentGlassSimpleCard;
232
+ }
233
+ });
234
+ Object.defineProperty(exports, "FluentGlassSkeleton", {
235
+ enumerable: true,
236
+ get: function () {
237
+ return _components.FluentGlassSkeleton;
238
+ }
239
+ });
240
+ Object.defineProperty(exports, "FluentGlassSlider", {
241
+ enumerable: true,
242
+ get: function () {
243
+ return _components.FluentGlassSlider;
244
+ }
245
+ });
246
+ Object.defineProperty(exports, "FluentGlassStatWidget", {
247
+ enumerable: true,
248
+ get: function () {
249
+ return _components.FluentGlassStatWidget;
250
+ }
251
+ });
252
+ Object.defineProperty(exports, "FluentGlassStatusIndicator", {
253
+ enumerable: true,
254
+ get: function () {
255
+ return _components.FluentGlassStatusIndicator;
256
+ }
257
+ });
258
+ Object.defineProperty(exports, "FluentGlassSwitch", {
259
+ enumerable: true,
260
+ get: function () {
261
+ return _components.FluentGlassSwitch;
262
+ }
263
+ });
264
+ Object.defineProperty(exports, "FluentGlassTable", {
265
+ enumerable: true,
266
+ get: function () {
267
+ return _components.FluentGlassTable;
268
+ }
269
+ });
270
+ Object.defineProperty(exports, "FluentGlassTag", {
271
+ enumerable: true,
272
+ get: function () {
273
+ return _components.FluentGlassTag;
274
+ }
275
+ });
276
+ Object.defineProperty(exports, "FluentGlassTextInput", {
277
+ enumerable: true,
278
+ get: function () {
279
+ return _components.FluentGlassTextInput;
280
+ }
281
+ });
282
+ Object.defineProperty(exports, "FluentGlassTimeline", {
283
+ enumerable: true,
284
+ get: function () {
285
+ return _components.FluentGlassTimeline;
286
+ }
287
+ });
288
+ Object.defineProperty(exports, "FluentGlassWeatherWidget", {
289
+ enumerable: true,
290
+ get: function () {
291
+ return _components.FluentGlassWeatherWidget;
292
+ }
293
+ });
294
+ Object.defineProperty(exports, "RADIUS_PRESETS", {
295
+ enumerable: true,
296
+ get: function () {
297
+ return _tokens.RADIUS_PRESETS;
298
+ }
299
+ });
300
+ Object.defineProperty(exports, "SIDEBAR_DEFAULTS", {
301
+ enumerable: true,
302
+ get: function () {
303
+ return _components.SIDEBAR_DEFAULTS;
304
+ }
305
+ });
306
+ Object.defineProperty(exports, "SIZE_PRESETS", {
307
+ enumerable: true,
308
+ get: function () {
309
+ return _tokens.SIZE_PRESETS;
310
+ }
311
+ });
312
+ Object.defineProperty(exports, "SIZE_SCALE", {
313
+ enumerable: true,
314
+ get: function () {
315
+ return _tokens.SIZE_SCALE;
316
+ }
317
+ });
318
+ Object.defineProperty(exports, "SPACING", {
319
+ enumerable: true,
320
+ get: function () {
321
+ return _responsive.SPACING;
322
+ }
323
+ });
324
+ Object.defineProperty(exports, "WEIGHT_TO_FAMILY", {
325
+ enumerable: true,
326
+ get: function () {
327
+ return _typography.WEIGHT_TO_FAMILY;
328
+ }
329
+ });
330
+ Object.defineProperty(exports, "defaultTheme", {
331
+ enumerable: true,
332
+ get: function () {
333
+ return _defaultTheme.default;
334
+ }
335
+ });
336
+ Object.defineProperty(exports, "getFontFamily", {
337
+ enumerable: true,
338
+ get: function () {
339
+ return _typography.getFontFamily;
340
+ }
341
+ });
342
+ Object.defineProperty(exports, "hp", {
343
+ enumerable: true,
344
+ get: function () {
345
+ return _responsive.hp;
346
+ }
347
+ });
348
+ Object.defineProperty(exports, "isCompactDevice", {
349
+ enumerable: true,
350
+ get: function () {
351
+ return _responsive.isCompactDevice;
352
+ }
353
+ });
354
+ Object.defineProperty(exports, "isLargeTablet", {
355
+ enumerable: true,
356
+ get: function () {
357
+ return _responsive.isLargeTablet;
358
+ }
359
+ });
360
+ Object.defineProperty(exports, "isSmallDevice", {
361
+ enumerable: true,
362
+ get: function () {
363
+ return _responsive.isSmallDevice;
364
+ }
365
+ });
366
+ Object.defineProperty(exports, "isTablet", {
367
+ enumerable: true,
368
+ get: function () {
369
+ return _responsive.isTablet;
370
+ }
371
+ });
372
+ Object.defineProperty(exports, "loadFluentGlassFonts", {
373
+ enumerable: true,
374
+ get: function () {
375
+ return _fonts.loadFluentGlassFonts;
376
+ }
377
+ });
378
+ Object.defineProperty(exports, "moderateScale", {
379
+ enumerable: true,
380
+ get: function () {
381
+ return _responsive.moderateScale;
382
+ }
383
+ });
384
+ Object.defineProperty(exports, "resolveBackwardCompat", {
385
+ enumerable: true,
386
+ get: function () {
387
+ return _resolvers.resolveBackwardCompat;
388
+ }
389
+ });
390
+ Object.defineProperty(exports, "resolveBlur", {
391
+ enumerable: true,
392
+ get: function () {
393
+ return _resolvers.resolveBlur;
394
+ }
395
+ });
396
+ Object.defineProperty(exports, "resolveColorScheme", {
397
+ enumerable: true,
398
+ get: function () {
399
+ return _resolvers.resolveColorScheme;
400
+ }
401
+ });
402
+ Object.defineProperty(exports, "resolveRadius", {
403
+ enumerable: true,
404
+ get: function () {
405
+ return _resolvers.resolveRadius;
406
+ }
407
+ });
408
+ Object.defineProperty(exports, "resolveSize", {
409
+ enumerable: true,
410
+ get: function () {
411
+ return _resolvers.resolveSize;
412
+ }
413
+ });
414
+ Object.defineProperty(exports, "responsiveFontSize", {
415
+ enumerable: true,
416
+ get: function () {
417
+ return _responsive.responsiveFontSize;
418
+ }
419
+ });
420
+ Object.defineProperty(exports, "scale", {
421
+ enumerable: true,
422
+ get: function () {
423
+ return _responsive.scale;
424
+ }
425
+ });
426
+ Object.defineProperty(exports, "useBreakpoint", {
427
+ enumerable: true,
428
+ get: function () {
429
+ return _useBreakpoint.default;
430
+ }
431
+ });
432
+ Object.defineProperty(exports, "useTheme", {
433
+ enumerable: true,
434
+ get: function () {
435
+ return _useTheme.default;
436
+ }
437
+ });
438
+ Object.defineProperty(exports, "verticalScale", {
439
+ enumerable: true,
440
+ get: function () {
441
+ return _responsive.verticalScale;
442
+ }
443
+ });
444
+ Object.defineProperty(exports, "wp", {
445
+ enumerable: true,
446
+ get: function () {
447
+ return _responsive.wp;
448
+ }
449
+ });
450
+ var _components = require("./components");
451
+ var _useBreakpoint = _interopRequireDefault(require("./hooks/useBreakpoint"));
452
+ var _responsive = require("./utils/responsive");
453
+ var _colors = require("./utils/colors");
454
+ var _FluentGlassProvider = _interopRequireDefault(require("./theme/FluentGlassProvider"));
455
+ var _useTheme = _interopRequireDefault(require("./theme/useTheme"));
456
+ var _defaultTheme = _interopRequireDefault(require("./theme/defaultTheme"));
457
+ var _tokens = require("./theme/tokens");
458
+ var _resolvers = require("./theme/resolvers");
459
+ var _typography = require("./theme/typography");
460
+ var _fonts = require("./fonts");
461
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
462
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_components","require","_useBreakpoint","_interopRequireDefault","_responsive","_colors","_FluentGlassProvider","_useTheme","_defaultTheme","_tokens","_resolvers","_typography","_fonts","e","__esModule","default"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,WAAA,GAAAC,OAAA;AA+CA,IAAAC,cAAA,GAAAC,sBAAA,CAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AAcA,IAAAI,OAAA,GAAAJ,OAAA;AAGA,IAAAK,oBAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,SAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,aAAA,GAAAL,sBAAA,CAAAF,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AAQA,IAAAS,UAAA,GAAAT,OAAA;AASA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,MAAA,GAAAX,OAAA;AAA+C,SAAAE,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ThemeContext = void 0;
7
+ exports.default = FluentGlassProvider;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _reactNative = require("react-native");
10
+ var _defaultTheme = _interopRequireDefault(require("./defaultTheme"));
11
+ var _fonts = require("../fonts");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
+ 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); }
15
+ /**
16
+ * FluentGlassProvider
17
+ *
18
+ * Wraps the app (or a subtree) with a custom theme.
19
+ * All FluentGlass components read from this context.
20
+ *
21
+ * Usage:
22
+ * <FluentGlassProvider theme={{ colors: { accent: '#FF6B6B' } }}>
23
+ * <App />
24
+ * </FluentGlassProvider>
25
+ *
26
+ * Without provider, components use defaultTheme automatically.
27
+ */
28
+
29
+ const ThemeContext = exports.ThemeContext = /*#__PURE__*/(0, _react.createContext)(_defaultTheme.default);
30
+
31
+ /**
32
+ * Deep merge two objects. Arrays are replaced, not merged.
33
+ * Only merges plain objects, not class instances.
34
+ */
35
+ function deepMerge(target, source) {
36
+ if (!source) return target;
37
+ const result = {
38
+ ...target
39
+ };
40
+ for (const key of Object.keys(source)) {
41
+ const targetVal = target[key];
42
+ const sourceVal = source[key];
43
+ if (sourceVal && typeof sourceVal === 'object' && !Array.isArray(sourceVal) && targetVal && typeof targetVal === 'object' && !Array.isArray(targetVal)) {
44
+ result[key] = deepMerge(targetVal, sourceVal);
45
+ } else {
46
+ result[key] = sourceVal;
47
+ }
48
+ }
49
+ return result;
50
+ }
51
+ function FluentGlassProvider({
52
+ theme,
53
+ children,
54
+ loadFonts = true
55
+ }) {
56
+ const [fontsLoaded, setFontsLoaded] = (0, _react.useState)(!loadFonts);
57
+ (0, _react.useEffect)(() => {
58
+ if (!loadFonts) return;
59
+ (0, _fonts.loadFluentGlassFonts)().then(() => setFontsLoaded(true)).catch(err => {
60
+ console.warn('FluentGlass: Failed to load fonts, falling back to system fonts.', err);
61
+ setFontsLoaded(true); // render anyway with system fonts
62
+ });
63
+ }, [loadFonts]);
64
+ const mergedTheme = (0, _react.useMemo)(() => theme ? deepMerge(_defaultTheme.default, theme) : _defaultTheme.default, [theme]);
65
+ if (!fontsLoaded) {
66
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
67
+ style: {
68
+ flex: 1,
69
+ justifyContent: 'center',
70
+ alignItems: 'center',
71
+ backgroundColor: '#020617'
72
+ },
73
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ActivityIndicator, {
74
+ color: "#06B6D4",
75
+ size: "large"
76
+ })
77
+ });
78
+ }
79
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(ThemeContext.Provider, {
80
+ value: mergedTheme,
81
+ children: children
82
+ });
83
+ }
84
+ //# sourceMappingURL=FluentGlassProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_defaultTheme","_interopRequireDefault","_fonts","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ThemeContext","exports","createContext","defaultTheme","deepMerge","target","source","result","key","keys","targetVal","sourceVal","Array","isArray","FluentGlassProvider","theme","children","loadFonts","fontsLoaded","setFontsLoaded","useState","useEffect","loadFluentGlassFonts","then","catch","err","console","warn","mergedTheme","useMemo","jsx","View","style","flex","justifyContent","alignItems","backgroundColor","ActivityIndicator","color","size","Provider","value"],"sourceRoot":"..\\..\\..\\src","sources":["theme/FluentGlassProvider.tsx"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _colors = require("../utils/colors");
8
+ var _tokens = require("./tokens");
9
+ var _typography = require("./typography");
10
+ /**
11
+ * FluentGlass Default Theme — Deep Liquid Dark
12
+ *
13
+ * This is the out-of-the-box theme. Users can override any part
14
+ * via FluentGlassProvider's `theme` prop (deep merged).
15
+ */
16
+
17
+ const defaultTheme = {
18
+ // Core color palette
19
+ colors: {
20
+ ..._colors.COLORS
21
+ },
22
+ // Color schemes for components
23
+ colorSchemes: {
24
+ ..._tokens.COLOR_SCHEMES
25
+ },
26
+ // Size presets
27
+ sizes: {
28
+ ..._tokens.SIZE_PRESETS
29
+ },
30
+ // Blur presets
31
+ blurs: {
32
+ ..._tokens.BLUR_PRESETS
33
+ },
34
+ // Radius presets
35
+ radii: {
36
+ ..._tokens.RADIUS_PRESETS
37
+ },
38
+ // Animation presets
39
+ animations: {
40
+ ..._tokens.ANIMATION_PRESETS
41
+ },
42
+ // Typography
43
+ typography: {
44
+ ..._typography.FONT_FAMILIES
45
+ },
46
+ // Global defaults applied to all components unless overridden per-component
47
+ defaults: {
48
+ size: 'md',
49
+ colorScheme: 'default',
50
+ blur: 'medium',
51
+ radius: 'md'
52
+ }
53
+ };
54
+ var _default = exports.default = defaultTheme;
55
+ //# sourceMappingURL=defaultTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_colors","require","_tokens","_typography","defaultTheme","colors","COLORS","colorSchemes","COLOR_SCHEMES","sizes","SIZE_PRESETS","blurs","BLUR_PRESETS","radii","RADIUS_PRESETS","animations","ANIMATION_PRESETS","typography","FONT_FAMILIES","defaults","size","colorScheme","blur","radius","_default","exports","default"],"sourceRoot":"..\\..\\..\\src","sources":["theme/defaultTheme.ts"],"mappings":";;;;;;AAOA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AATA;AACA;AACA;AACA;AACA;AACA;;AAOA,MAAMG,YAA8B,GAAG;EACnC;EACAC,MAAM,EAAE;IAAE,GAAGC;EAAO,CAAC;EAErB;EACAC,YAAY,EAAE;IAAE,GAAGC;EAAc,CAAC;EAElC;EACAC,KAAK,EAAE;IAAE,GAAGC;EAAa,CAAC;EAE1B;EACAC,KAAK,EAAE;IAAE,GAAGC;EAAa,CAAC;EAE1B;EACAC,KAAK,EAAE;IAAE,GAAGC;EAAe,CAAC;EAE5B;EACAC,UAAU,EAAE;IAAE,GAAGC;EAAkB,CAAC;EAEpC;EACAC,UAAU,EAAE;IAAE,GAAGC;EAAc,CAAC;EAEhC;EACAC,QAAQ,EAAE;IACNC,IAAI,EAAE,IAAI;IACVC,WAAW,EAAE,SAAS;IACtBC,IAAI,EAAE,QAAQ;IACdC,MAAM,EAAE;EACZ;AACJ,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEatB,YAAY","ignoreList":[]}