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.
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/lib/commonjs/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/commonjs/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/commonjs/components/FluentGlass.js +94 -0
- package/lib/commonjs/components/FluentGlass.js.map +1 -0
- package/lib/commonjs/components/FluentGlassAlert.js +126 -0
- package/lib/commonjs/components/FluentGlassAlert.js.map +1 -0
- package/lib/commonjs/components/FluentGlassBadge.js +124 -0
- package/lib/commonjs/components/FluentGlassBadge.js.map +1 -0
- package/lib/commonjs/components/FluentGlassBarChart.js +287 -0
- package/lib/commonjs/components/FluentGlassBarChart.js.map +1 -0
- package/lib/commonjs/components/FluentGlassBreadcrumb.js +155 -0
- package/lib/commonjs/components/FluentGlassBreadcrumb.js.map +1 -0
- package/lib/commonjs/components/FluentGlassButton.js +175 -0
- package/lib/commonjs/components/FluentGlassButton.js.map +1 -0
- package/lib/commonjs/components/FluentGlassCalendarWidget.js +73 -0
- package/lib/commonjs/components/FluentGlassCalendarWidget.js.map +1 -0
- package/lib/commonjs/components/FluentGlassCard.js +195 -0
- package/lib/commonjs/components/FluentGlassCard.js.map +1 -0
- package/lib/commonjs/components/FluentGlassCheckbox.js +121 -0
- package/lib/commonjs/components/FluentGlassCheckbox.js.map +1 -0
- package/lib/commonjs/components/FluentGlassClockWidget.js +80 -0
- package/lib/commonjs/components/FluentGlassClockWidget.js.map +1 -0
- package/lib/commonjs/components/FluentGlassCodeBlock.js +239 -0
- package/lib/commonjs/components/FluentGlassCodeBlock.js.map +1 -0
- package/lib/commonjs/components/FluentGlassContainer.js +52 -0
- package/lib/commonjs/components/FluentGlassContainer.js.map +1 -0
- package/lib/commonjs/components/FluentGlassCrossfade.js +118 -0
- package/lib/commonjs/components/FluentGlassCrossfade.js.map +1 -0
- package/lib/commonjs/components/FluentGlassDateInput.js +176 -0
- package/lib/commonjs/components/FluentGlassDateInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassDatePicker.js +271 -0
- package/lib/commonjs/components/FluentGlassDatePicker.js.map +1 -0
- package/lib/commonjs/components/FluentGlassDialog.js +169 -0
- package/lib/commonjs/components/FluentGlassDialog.js.map +1 -0
- package/lib/commonjs/components/FluentGlassDock.js +187 -0
- package/lib/commonjs/components/FluentGlassDock.js.map +1 -0
- package/lib/commonjs/components/FluentGlassDropdown.js +349 -0
- package/lib/commonjs/components/FluentGlassDropdown.js.map +1 -0
- package/lib/commonjs/components/FluentGlassEmailInput.js +43 -0
- package/lib/commonjs/components/FluentGlassEmailInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassInput.js +83 -0
- package/lib/commonjs/components/FluentGlassInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassLabeledInput.js +64 -0
- package/lib/commonjs/components/FluentGlassLabeledInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassLayout.js +106 -0
- package/lib/commonjs/components/FluentGlassLayout.js.map +1 -0
- package/lib/commonjs/components/FluentGlassPasswordInput.js +60 -0
- package/lib/commonjs/components/FluentGlassPasswordInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassPopover.js +75 -0
- package/lib/commonjs/components/FluentGlassPopover.js.map +1 -0
- package/lib/commonjs/components/FluentGlassResponsiveRow.js +74 -0
- package/lib/commonjs/components/FluentGlassResponsiveRow.js.map +1 -0
- package/lib/commonjs/components/FluentGlassScrollArea.js +101 -0
- package/lib/commonjs/components/FluentGlassScrollArea.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSegmentedControl.js +126 -0
- package/lib/commonjs/components/FluentGlassSegmentedControl.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSelect.js +155 -0
- package/lib/commonjs/components/FluentGlassSelect.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSeparator.js +62 -0
- package/lib/commonjs/components/FluentGlassSeparator.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSheet.js +189 -0
- package/lib/commonjs/components/FluentGlassSheet.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSidebar.js +358 -0
- package/lib/commonjs/components/FluentGlassSidebar.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSimpleCard.js +56 -0
- package/lib/commonjs/components/FluentGlassSimpleCard.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSkeleton.js +52 -0
- package/lib/commonjs/components/FluentGlassSkeleton.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSlider.js +197 -0
- package/lib/commonjs/components/FluentGlassSlider.js.map +1 -0
- package/lib/commonjs/components/FluentGlassStatWidget.js +133 -0
- package/lib/commonjs/components/FluentGlassStatWidget.js.map +1 -0
- package/lib/commonjs/components/FluentGlassStatusIndicator.js +89 -0
- package/lib/commonjs/components/FluentGlassStatusIndicator.js.map +1 -0
- package/lib/commonjs/components/FluentGlassSwitch.js +126 -0
- package/lib/commonjs/components/FluentGlassSwitch.js.map +1 -0
- package/lib/commonjs/components/FluentGlassTable.js +163 -0
- package/lib/commonjs/components/FluentGlassTable.js.map +1 -0
- package/lib/commonjs/components/FluentGlassTag.js +109 -0
- package/lib/commonjs/components/FluentGlassTag.js.map +1 -0
- package/lib/commonjs/components/FluentGlassTextInput.js +90 -0
- package/lib/commonjs/components/FluentGlassTextInput.js.map +1 -0
- package/lib/commonjs/components/FluentGlassTimeline.js +334 -0
- package/lib/commonjs/components/FluentGlassTimeline.js.map +1 -0
- package/lib/commonjs/components/FluentGlassWeatherWidget.js +72 -0
- package/lib/commonjs/components/FluentGlassWeatherWidget.js.map +1 -0
- package/lib/commonjs/components/index.js +308 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/fonts.js +33 -0
- package/lib/commonjs/fonts.js.map +1 -0
- package/lib/commonjs/hooks/useBreakpoint.js +57 -0
- package/lib/commonjs/hooks/useBreakpoint.js.map +1 -0
- package/lib/commonjs/index.js +462 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/theme/FluentGlassProvider.js +84 -0
- package/lib/commonjs/theme/FluentGlassProvider.js.map +1 -0
- package/lib/commonjs/theme/defaultTheme.js +55 -0
- package/lib/commonjs/theme/defaultTheme.js.map +1 -0
- package/lib/commonjs/theme/resolvers.js +118 -0
- package/lib/commonjs/theme/resolvers.js.map +1 -0
- package/lib/commonjs/theme/tokens.js +239 -0
- package/lib/commonjs/theme/tokens.js.map +1 -0
- package/lib/commonjs/theme/typography.js +50 -0
- package/lib/commonjs/theme/typography.js.map +1 -0
- package/lib/commonjs/theme/useTheme.js +22 -0
- package/lib/commonjs/theme/useTheme.js.map +1 -0
- package/lib/commonjs/types/components.js +6 -0
- package/lib/commonjs/types/components.js.map +1 -0
- package/lib/commonjs/types/theme.js +6 -0
- package/lib/commonjs/types/theme.js.map +1 -0
- package/lib/commonjs/utils/colors.js +59 -0
- package/lib/commonjs/utils/colors.js.map +1 -0
- package/lib/commonjs/utils/responsive.js +126 -0
- package/lib/commonjs/utils/responsive.js.map +1 -0
- package/lib/module/assets/fonts/Inter-Black.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Bold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Medium.ttf +0 -0
- package/lib/module/assets/fonts/Inter-Regular.ttf +0 -0
- package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/module/components/FluentGlass.js +89 -0
- package/lib/module/components/FluentGlass.js.map +1 -0
- package/lib/module/components/FluentGlassAlert.js +121 -0
- package/lib/module/components/FluentGlassAlert.js.map +1 -0
- package/lib/module/components/FluentGlassBadge.js +119 -0
- package/lib/module/components/FluentGlassBadge.js.map +1 -0
- package/lib/module/components/FluentGlassBarChart.js +281 -0
- package/lib/module/components/FluentGlassBarChart.js.map +1 -0
- package/lib/module/components/FluentGlassBreadcrumb.js +150 -0
- package/lib/module/components/FluentGlassBreadcrumb.js.map +1 -0
- package/lib/module/components/FluentGlassButton.js +169 -0
- package/lib/module/components/FluentGlassButton.js.map +1 -0
- package/lib/module/components/FluentGlassCalendarWidget.js +68 -0
- package/lib/module/components/FluentGlassCalendarWidget.js.map +1 -0
- package/lib/module/components/FluentGlassCard.js +190 -0
- package/lib/module/components/FluentGlassCard.js.map +1 -0
- package/lib/module/components/FluentGlassCheckbox.js +115 -0
- package/lib/module/components/FluentGlassCheckbox.js.map +1 -0
- package/lib/module/components/FluentGlassClockWidget.js +74 -0
- package/lib/module/components/FluentGlassClockWidget.js.map +1 -0
- package/lib/module/components/FluentGlassCodeBlock.js +233 -0
- package/lib/module/components/FluentGlassCodeBlock.js.map +1 -0
- package/lib/module/components/FluentGlassContainer.js +47 -0
- package/lib/module/components/FluentGlassContainer.js.map +1 -0
- package/lib/module/components/FluentGlassCrossfade.js +112 -0
- package/lib/module/components/FluentGlassCrossfade.js.map +1 -0
- package/lib/module/components/FluentGlassDateInput.js +170 -0
- package/lib/module/components/FluentGlassDateInput.js.map +1 -0
- package/lib/module/components/FluentGlassDatePicker.js +265 -0
- package/lib/module/components/FluentGlassDatePicker.js.map +1 -0
- package/lib/module/components/FluentGlassDialog.js +163 -0
- package/lib/module/components/FluentGlassDialog.js.map +1 -0
- package/lib/module/components/FluentGlassDock.js +181 -0
- package/lib/module/components/FluentGlassDock.js.map +1 -0
- package/lib/module/components/FluentGlassDropdown.js +343 -0
- package/lib/module/components/FluentGlassDropdown.js.map +1 -0
- package/lib/module/components/FluentGlassEmailInput.js +38 -0
- package/lib/module/components/FluentGlassEmailInput.js.map +1 -0
- package/lib/module/components/FluentGlassInput.js +78 -0
- package/lib/module/components/FluentGlassInput.js.map +1 -0
- package/lib/module/components/FluentGlassLabeledInput.js +59 -0
- package/lib/module/components/FluentGlassLabeledInput.js.map +1 -0
- package/lib/module/components/FluentGlassLayout.js +101 -0
- package/lib/module/components/FluentGlassLayout.js.map +1 -0
- package/lib/module/components/FluentGlassPasswordInput.js +54 -0
- package/lib/module/components/FluentGlassPasswordInput.js.map +1 -0
- package/lib/module/components/FluentGlassPopover.js +70 -0
- package/lib/module/components/FluentGlassPopover.js.map +1 -0
- package/lib/module/components/FluentGlassResponsiveRow.js +71 -0
- package/lib/module/components/FluentGlassResponsiveRow.js.map +1 -0
- package/lib/module/components/FluentGlassScrollArea.js +95 -0
- package/lib/module/components/FluentGlassScrollArea.js.map +1 -0
- package/lib/module/components/FluentGlassSegmentedControl.js +120 -0
- package/lib/module/components/FluentGlassSegmentedControl.js.map +1 -0
- package/lib/module/components/FluentGlassSelect.js +149 -0
- package/lib/module/components/FluentGlassSelect.js.map +1 -0
- package/lib/module/components/FluentGlassSeparator.js +57 -0
- package/lib/module/components/FluentGlassSeparator.js.map +1 -0
- package/lib/module/components/FluentGlassSheet.js +183 -0
- package/lib/module/components/FluentGlassSheet.js.map +1 -0
- package/lib/module/components/FluentGlassSidebar.js +351 -0
- package/lib/module/components/FluentGlassSidebar.js.map +1 -0
- package/lib/module/components/FluentGlassSimpleCard.js +51 -0
- package/lib/module/components/FluentGlassSimpleCard.js.map +1 -0
- package/lib/module/components/FluentGlassSkeleton.js +46 -0
- package/lib/module/components/FluentGlassSkeleton.js.map +1 -0
- package/lib/module/components/FluentGlassSlider.js +191 -0
- package/lib/module/components/FluentGlassSlider.js.map +1 -0
- package/lib/module/components/FluentGlassStatWidget.js +128 -0
- package/lib/module/components/FluentGlassStatWidget.js.map +1 -0
- package/lib/module/components/FluentGlassStatusIndicator.js +84 -0
- package/lib/module/components/FluentGlassStatusIndicator.js.map +1 -0
- package/lib/module/components/FluentGlassSwitch.js +122 -0
- package/lib/module/components/FluentGlassSwitch.js.map +1 -0
- package/lib/module/components/FluentGlassTable.js +158 -0
- package/lib/module/components/FluentGlassTable.js.map +1 -0
- package/lib/module/components/FluentGlassTag.js +103 -0
- package/lib/module/components/FluentGlassTag.js.map +1 -0
- package/lib/module/components/FluentGlassTextInput.js +85 -0
- package/lib/module/components/FluentGlassTextInput.js.map +1 -0
- package/lib/module/components/FluentGlassTimeline.js +327 -0
- package/lib/module/components/FluentGlassTimeline.js.map +1 -0
- package/lib/module/components/FluentGlassWeatherWidget.js +67 -0
- package/lib/module/components/FluentGlassWeatherWidget.js.map +1 -0
- package/lib/module/components/index.js +45 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/fonts.js +26 -0
- package/lib/module/fonts.js.map +1 -0
- package/lib/module/hooks/useBreakpoint.js +54 -0
- package/lib/module/hooks/useBreakpoint.js.map +1 -0
- package/lib/module/index.js +30 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/theme/FluentGlassProvider.js +77 -0
- package/lib/module/theme/FluentGlassProvider.js.map +1 -0
- package/lib/module/theme/defaultTheme.js +51 -0
- package/lib/module/theme/defaultTheme.js.map +1 -0
- package/lib/module/theme/resolvers.js +110 -0
- package/lib/module/theme/resolvers.js.map +1 -0
- package/lib/module/theme/tokens.js +235 -0
- package/lib/module/theme/tokens.js.map +1 -0
- package/lib/module/theme/typography.js +45 -0
- package/lib/module/theme/typography.js.map +1 -0
- package/lib/module/theme/useTheme.js +18 -0
- package/lib/module/theme/useTheme.js.map +1 -0
- package/lib/module/types/components.js +4 -0
- package/lib/module/types/components.js.map +1 -0
- package/lib/module/types/theme.js +4 -0
- package/lib/module/types/theme.js.map +1 -0
- package/lib/module/utils/colors.js +55 -0
- package/lib/module/utils/colors.js.map +1 -0
- package/lib/module/utils/responsive.js +116 -0
- package/lib/module/utils/responsive.js.map +1 -0
- package/lib/typescript/components/FluentGlass.d.ts +25 -0
- package/lib/typescript/components/FluentGlass.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassAlert.d.ts +13 -0
- package/lib/typescript/components/FluentGlassAlert.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassBadge.d.ts +22 -0
- package/lib/typescript/components/FluentGlassBadge.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassBarChart.d.ts +30 -0
- package/lib/typescript/components/FluentGlassBarChart.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassBreadcrumb.d.ts +22 -0
- package/lib/typescript/components/FluentGlassBreadcrumb.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassButton.d.ts +27 -0
- package/lib/typescript/components/FluentGlassButton.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassCalendarWidget.d.ts +13 -0
- package/lib/typescript/components/FluentGlassCalendarWidget.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassCard.d.ts +30 -0
- package/lib/typescript/components/FluentGlassCard.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassCheckbox.d.ts +14 -0
- package/lib/typescript/components/FluentGlassCheckbox.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassClockWidget.d.ts +11 -0
- package/lib/typescript/components/FluentGlassClockWidget.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassCodeBlock.d.ts +11 -0
- package/lib/typescript/components/FluentGlassCodeBlock.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassContainer.d.ts +22 -0
- package/lib/typescript/components/FluentGlassContainer.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassCrossfade.d.ts +24 -0
- package/lib/typescript/components/FluentGlassCrossfade.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassDateInput.d.ts +18 -0
- package/lib/typescript/components/FluentGlassDateInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassDatePicker.d.ts +9 -0
- package/lib/typescript/components/FluentGlassDatePicker.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassDialog.d.ts +18 -0
- package/lib/typescript/components/FluentGlassDialog.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassDock.d.ts +19 -0
- package/lib/typescript/components/FluentGlassDock.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassDropdown.d.ts +23 -0
- package/lib/typescript/components/FluentGlassDropdown.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassEmailInput.d.ts +17 -0
- package/lib/typescript/components/FluentGlassEmailInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassInput.d.ts +12 -0
- package/lib/typescript/components/FluentGlassInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassLabeledInput.d.ts +19 -0
- package/lib/typescript/components/FluentGlassLabeledInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassLayout.d.ts +11 -0
- package/lib/typescript/components/FluentGlassLayout.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassPasswordInput.d.ts +15 -0
- package/lib/typescript/components/FluentGlassPasswordInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassPopover.d.ts +17 -0
- package/lib/typescript/components/FluentGlassPopover.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassResponsiveRow.d.ts +25 -0
- package/lib/typescript/components/FluentGlassResponsiveRow.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassScrollArea.d.ts +16 -0
- package/lib/typescript/components/FluentGlassScrollArea.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSegmentedControl.d.ts +15 -0
- package/lib/typescript/components/FluentGlassSegmentedControl.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSelect.d.ts +23 -0
- package/lib/typescript/components/FluentGlassSelect.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSeparator.d.ts +13 -0
- package/lib/typescript/components/FluentGlassSeparator.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSheet.d.ts +11 -0
- package/lib/typescript/components/FluentGlassSheet.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSidebar.d.ts +44 -0
- package/lib/typescript/components/FluentGlassSidebar.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSimpleCard.d.ts +19 -0
- package/lib/typescript/components/FluentGlassSimpleCard.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSkeleton.d.ts +14 -0
- package/lib/typescript/components/FluentGlassSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSlider.d.ts +31 -0
- package/lib/typescript/components/FluentGlassSlider.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassStatWidget.d.ts +17 -0
- package/lib/typescript/components/FluentGlassStatWidget.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassStatusIndicator.d.ts +16 -0
- package/lib/typescript/components/FluentGlassStatusIndicator.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassSwitch.d.ts +13 -0
- package/lib/typescript/components/FluentGlassSwitch.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassTable.d.ts +50 -0
- package/lib/typescript/components/FluentGlassTable.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassTag.d.ts +18 -0
- package/lib/typescript/components/FluentGlassTag.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassTextInput.d.ts +21 -0
- package/lib/typescript/components/FluentGlassTextInput.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassTimeline.d.ts +27 -0
- package/lib/typescript/components/FluentGlassTimeline.d.ts.map +1 -0
- package/lib/typescript/components/FluentGlassWeatherWidget.d.ts +13 -0
- package/lib/typescript/components/FluentGlassWeatherWidget.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +43 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/fonts.d.ts +13 -0
- package/lib/typescript/fonts.d.ts.map +1 -0
- package/lib/typescript/hooks/useBreakpoint.d.ts +26 -0
- package/lib/typescript/hooks/useBreakpoint.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +18 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/theme/FluentGlassProvider.d.ts +21 -0
- package/lib/typescript/theme/FluentGlassProvider.d.ts.map +1 -0
- package/lib/typescript/theme/defaultTheme.d.ts +10 -0
- package/lib/typescript/theme/defaultTheme.d.ts.map +1 -0
- package/lib/typescript/theme/resolvers.d.ts +55 -0
- package/lib/typescript/theme/resolvers.d.ts.map +1 -0
- package/lib/typescript/theme/tokens.d.ts +27 -0
- package/lib/typescript/theme/tokens.d.ts.map +1 -0
- package/lib/typescript/theme/typography.d.ts +27 -0
- package/lib/typescript/theme/typography.d.ts.map +1 -0
- package/lib/typescript/theme/useTheme.d.ts +12 -0
- package/lib/typescript/theme/useTheme.d.ts.map +1 -0
- package/lib/typescript/types/components.d.ts +32 -0
- package/lib/typescript/types/components.d.ts.map +1 -0
- package/lib/typescript/types/theme.d.ts +79 -0
- package/lib/typescript/types/theme.d.ts.map +1 -0
- package/lib/typescript/utils/colors.d.ts +3 -0
- package/lib/typescript/utils/colors.d.ts.map +1 -0
- package/lib/typescript/utils/responsive.d.ts +62 -0
- package/lib/typescript/utils/responsive.d.ts.map +1 -0
- package/package.json +90 -0
- package/src/assets/fonts/Inter-Black.ttf +0 -0
- package/src/assets/fonts/Inter-Bold.ttf +0 -0
- package/src/assets/fonts/Inter-ExtraBold.ttf +0 -0
- package/src/assets/fonts/Inter-Medium.ttf +0 -0
- package/src/assets/fonts/Inter-Regular.ttf +0 -0
- package/src/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/src/components/FluentGlass.tsx +103 -0
- package/src/components/FluentGlassAlert.tsx +126 -0
- package/src/components/FluentGlassBadge.tsx +109 -0
- package/src/components/FluentGlassBarChart.tsx +295 -0
- package/src/components/FluentGlassBreadcrumb.tsx +173 -0
- package/src/components/FluentGlassButton.tsx +169 -0
- package/src/components/FluentGlassCalendarWidget.tsx +55 -0
- package/src/components/FluentGlassCard.tsx +186 -0
- package/src/components/FluentGlassCheckbox.tsx +138 -0
- package/src/components/FluentGlassClockWidget.tsx +61 -0
- package/src/components/FluentGlassCodeBlock.tsx +241 -0
- package/src/components/FluentGlassContainer.tsx +63 -0
- package/src/components/FluentGlassCrossfade.tsx +122 -0
- package/src/components/FluentGlassDateInput.tsx +182 -0
- package/src/components/FluentGlassDatePicker.tsx +224 -0
- package/src/components/FluentGlassDialog.tsx +153 -0
- package/src/components/FluentGlassDock.tsx +194 -0
- package/src/components/FluentGlassDropdown.tsx +382 -0
- package/src/components/FluentGlassEmailInput.tsx +46 -0
- package/src/components/FluentGlassInput.tsx +77 -0
- package/src/components/FluentGlassLabeledInput.tsx +63 -0
- package/src/components/FluentGlassLayout.tsx +89 -0
- package/src/components/FluentGlassPasswordInput.tsx +59 -0
- package/src/components/FluentGlassPopover.tsx +74 -0
- package/src/components/FluentGlassResponsiveRow.tsx +76 -0
- package/src/components/FluentGlassScrollArea.tsx +110 -0
- package/src/components/FluentGlassSegmentedControl.tsx +140 -0
- package/src/components/FluentGlassSelect.tsx +139 -0
- package/src/components/FluentGlassSeparator.tsx +54 -0
- package/src/components/FluentGlassSheet.tsx +183 -0
- package/src/components/FluentGlassSidebar.tsx +349 -0
- package/src/components/FluentGlassSimpleCard.tsx +59 -0
- package/src/components/FluentGlassSkeleton.tsx +69 -0
- package/src/components/FluentGlassSlider.tsx +202 -0
- package/src/components/FluentGlassStatWidget.tsx +107 -0
- package/src/components/FluentGlassStatusIndicator.tsx +82 -0
- package/src/components/FluentGlassSwitch.tsx +130 -0
- package/src/components/FluentGlassTable.tsx +145 -0
- package/src/components/FluentGlassTag.tsx +98 -0
- package/src/components/FluentGlassTextInput.tsx +87 -0
- package/src/components/FluentGlassTimeline.tsx +335 -0
- package/src/components/FluentGlassWeatherWidget.tsx +54 -0
- package/src/components/index.ts +42 -0
- package/src/fonts.ts +24 -0
- package/src/hooks/useBreakpoint.ts +55 -0
- package/src/index.ts +97 -0
- package/src/theme/FluentGlassProvider.tsx +82 -0
- package/src/theme/defaultTheme.ts +44 -0
- package/src/theme/resolvers.ts +115 -0
- package/src/theme/tokens.ts +200 -0
- package/src/theme/typography.ts +41 -0
- package/src/theme/useTheme.ts +17 -0
- package/src/types/components.ts +47 -0
- package/src/types/theme.ts +82 -0
- package/src/utils/colors.ts +55 -0
- package/src/utils/responsive.ts +110 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = FluentGlassSelect;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _FluentGlass = _interopRequireDefault(require("./FluentGlass"));
|
|
10
|
+
var _FluentGlassSheet = _interopRequireDefault(require("./FluentGlassSheet"));
|
|
11
|
+
var _useTheme = _interopRequireDefault(require("../theme/useTheme"));
|
|
12
|
+
var _resolvers = require("../theme/resolvers");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
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); }
|
|
16
|
+
/**
|
|
17
|
+
* FluentGlassSelect (Component)
|
|
18
|
+
* Dropdown that triggers a Bottom Sheet for selection.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
function FluentGlassSelect({
|
|
22
|
+
value,
|
|
23
|
+
onValueChange,
|
|
24
|
+
options = [],
|
|
25
|
+
// { label, value }[]
|
|
26
|
+
placeholder = 'Select option',
|
|
27
|
+
label,
|
|
28
|
+
// New props
|
|
29
|
+
size,
|
|
30
|
+
colorScheme,
|
|
31
|
+
blur,
|
|
32
|
+
radius,
|
|
33
|
+
accessibilityLabel
|
|
34
|
+
}) {
|
|
35
|
+
const theme = (0, _useTheme.default)();
|
|
36
|
+
const sizeConfig = (0, _resolvers.resolveSize)(theme, size || theme.defaults.size);
|
|
37
|
+
const compat = (0, _resolvers.resolveBackwardCompat)({
|
|
38
|
+
colorScheme,
|
|
39
|
+
blur
|
|
40
|
+
});
|
|
41
|
+
const resolvedScheme = compat.colorScheme || theme.defaults.colorScheme;
|
|
42
|
+
const resolvedRadius = (0, _resolvers.resolveRadius)(theme, radius || 'md');
|
|
43
|
+
const [isOpen, setIsOpen] = (0, _react.useState)(false);
|
|
44
|
+
const selectedOption = options.find(opt => opt.value === value);
|
|
45
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
46
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
47
|
+
style: styles.wrapper,
|
|
48
|
+
children: [label && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
49
|
+
style: [styles.label, {
|
|
50
|
+
color: theme.colors.textSecondary,
|
|
51
|
+
fontSize: sizeConfig.fontSize - 1,
|
|
52
|
+
marginLeft: (sizeConfig.gap || 0) / 2,
|
|
53
|
+
marginBottom: sizeConfig.gap || 0,
|
|
54
|
+
fontFamily: theme.typography.medium
|
|
55
|
+
}],
|
|
56
|
+
children: label
|
|
57
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
58
|
+
onPress: () => setIsOpen(true),
|
|
59
|
+
accessibilityRole: "button",
|
|
60
|
+
accessibilityLabel: accessibilityLabel ?? label ?? placeholder ?? 'Select',
|
|
61
|
+
accessibilityState: {
|
|
62
|
+
expanded: isOpen
|
|
63
|
+
},
|
|
64
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluentGlass.default, {
|
|
65
|
+
style: [styles.trigger, {
|
|
66
|
+
minHeight: sizeConfig.minHeight
|
|
67
|
+
}],
|
|
68
|
+
colorScheme: resolvedScheme,
|
|
69
|
+
blur: compat.blur || 'subtle',
|
|
70
|
+
radius: radius,
|
|
71
|
+
borderRadius: resolvedRadius,
|
|
72
|
+
borderOpacity: 0.15,
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
74
|
+
style: [styles.contentContainer, {
|
|
75
|
+
paddingHorizontal: sizeConfig.paddingHorizontal
|
|
76
|
+
}],
|
|
77
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
78
|
+
style: [styles.text, {
|
|
79
|
+
fontSize: sizeConfig.fontSize,
|
|
80
|
+
fontFamily: theme.typography.regular
|
|
81
|
+
}, !selectedOption ? {
|
|
82
|
+
color: theme.colors.textSecondary
|
|
83
|
+
} : {
|
|
84
|
+
color: theme.colors.textPrimary
|
|
85
|
+
}],
|
|
86
|
+
children: selectedOption ? selectedOption.label : placeholder
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
})]
|
|
91
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FluentGlassSheet.default, {
|
|
92
|
+
visible: isOpen,
|
|
93
|
+
onClose: () => setIsOpen(false),
|
|
94
|
+
title: label || placeholder,
|
|
95
|
+
height: "50%",
|
|
96
|
+
size: size,
|
|
97
|
+
children: options.map(opt => /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
98
|
+
style: [styles.option, {
|
|
99
|
+
paddingVertical: sizeConfig.paddingHorizontal,
|
|
100
|
+
borderBottomColor: `${theme.colors.textSecondary}1A`
|
|
101
|
+
}],
|
|
102
|
+
accessibilityLabel: opt.label,
|
|
103
|
+
accessibilityState: {
|
|
104
|
+
selected: value === opt.value
|
|
105
|
+
},
|
|
106
|
+
onPress: () => {
|
|
107
|
+
onValueChange(opt.value);
|
|
108
|
+
setIsOpen(false);
|
|
109
|
+
},
|
|
110
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
111
|
+
style: [styles.optionText, {
|
|
112
|
+
fontSize: sizeConfig.fontSize,
|
|
113
|
+
fontFamily: theme.typography.medium
|
|
114
|
+
}, value === opt.value ? {
|
|
115
|
+
color: theme.colors.accent,
|
|
116
|
+
fontFamily: theme.typography.semiBold
|
|
117
|
+
} : {
|
|
118
|
+
color: theme.colors.textSecondary
|
|
119
|
+
}],
|
|
120
|
+
children: opt.label
|
|
121
|
+
}), value === opt.value && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
122
|
+
style: [styles.checkDot, {
|
|
123
|
+
backgroundColor: theme.colors.accent
|
|
124
|
+
}]
|
|
125
|
+
})]
|
|
126
|
+
}, opt.value))
|
|
127
|
+
})]
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
const styles = _reactNative.StyleSheet.create({
|
|
131
|
+
wrapper: {
|
|
132
|
+
marginBottom: 16,
|
|
133
|
+
width: '100%'
|
|
134
|
+
},
|
|
135
|
+
label: {},
|
|
136
|
+
trigger: {},
|
|
137
|
+
contentContainer: {
|
|
138
|
+
flex: 1,
|
|
139
|
+
justifyContent: 'center'
|
|
140
|
+
},
|
|
141
|
+
text: {},
|
|
142
|
+
option: {
|
|
143
|
+
flexDirection: 'row',
|
|
144
|
+
alignItems: 'center',
|
|
145
|
+
justifyContent: 'space-between',
|
|
146
|
+
borderBottomWidth: 1
|
|
147
|
+
},
|
|
148
|
+
optionText: {},
|
|
149
|
+
checkDot: {
|
|
150
|
+
width: 8,
|
|
151
|
+
height: 8,
|
|
152
|
+
borderRadius: 4
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
//# sourceMappingURL=FluentGlassSelect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_FluentGlass","_interopRequireDefault","_FluentGlassSheet","_useTheme","_resolvers","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FluentGlassSelect","value","onValueChange","options","placeholder","label","size","colorScheme","blur","radius","accessibilityLabel","theme","useTheme","sizeConfig","resolveSize","defaults","compat","resolveBackwardCompat","resolvedScheme","resolvedRadius","resolveRadius","isOpen","setIsOpen","useState","selectedOption","find","opt","jsxs","Fragment","children","View","style","styles","wrapper","jsx","Text","color","colors","textSecondary","fontSize","marginLeft","gap","marginBottom","fontFamily","typography","medium","TouchableOpacity","onPress","accessibilityRole","accessibilityState","expanded","trigger","minHeight","borderRadius","borderOpacity","contentContainer","paddingHorizontal","text","regular","textPrimary","visible","onClose","title","height","map","option","paddingVertical","borderBottomColor","selected","optionText","accent","semiBold","checkDot","backgroundColor","StyleSheet","create","width","flex","justifyContent","flexDirection","alignItems","borderBottomWidth"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassSelect.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,iBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,SAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAA2G,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAb,uBAAA,YAAAA,CAAAS,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA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B,GAAG,CAACzB,KAAK,iBAAI,IAAArB,WAAA,CAAAsD,GAAA,EAAC5D,YAAA,CAAAwD,IAAI;UAACC,KAAK,EAAE,CAACC,MAAM,CAACwC,QAAQ,EAAE;YAAEC,eAAe,EAAE9D,KAAK,CAAC0B,MAAM,CAACiC;UAAO,CAAC;QAAE,CAAE,CAAC;MAAA,GAhB/F5C,GAAG,CAACzB,KAiBK,CACrB;IAAC,CACY,CAAC;EAAA,CACrB,CAAC;AAEX;AAEA,MAAM+B,MAAM,GAAG0C,uBAAU,CAACC,MAAM,CAAC;EAC7B1C,OAAO,EAAE;IACLS,YAAY,EAAE,EAAE;IAChBkC,KAAK,EAAE;EACX,CAAC;EACDvE,KAAK,EAAE,CAAC,CAAC;EACT8C,OAAO,EAAE,CAAC,CAAC;EACXI,gBAAgB,EAAE;IACdsB,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE;EACpB,CAAC;EACDrB,IAAI,EAAE,CAAC,CAAC;EACRQ,MAAM,EAAE;IACJc,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBF,cAAc,EAAE,eAAe;IAC/BG,iBAAiB,EAAE;EACvB,CAAC;EACDZ,UAAU,EAAE,CAAC,CAAC;EACdG,QAAQ,EAAE;IACNI,KAAK,EAAE,CAAC;IACRb,MAAM,EAAE,CAAC;IACTV,YAAY,EAAE;EAClB;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = FluentGlassSeparator;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _expoLinearGradient = require("expo-linear-gradient");
|
|
10
|
+
var _useTheme = _interopRequireDefault(require("../theme/useTheme"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
/**
|
|
14
|
+
* FluentGlassSeparator (Component)
|
|
15
|
+
* A subtle gradient line to divide content.
|
|
16
|
+
*/
|
|
17
|
+
function FluentGlassSeparator({
|
|
18
|
+
orientation = 'horizontal',
|
|
19
|
+
style,
|
|
20
|
+
opacity = 0.2
|
|
21
|
+
}) {
|
|
22
|
+
const theme = (0, _useTheme.default)();
|
|
23
|
+
const COLORS = theme.colors;
|
|
24
|
+
const isHorizontal = orientation === 'horizontal';
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_expoLinearGradient.LinearGradient, {
|
|
26
|
+
accessible: false,
|
|
27
|
+
colors: ['transparent', COLORS.textSecondary, 'transparent'],
|
|
28
|
+
start: isHorizontal ? {
|
|
29
|
+
x: 0,
|
|
30
|
+
y: 0
|
|
31
|
+
} : {
|
|
32
|
+
x: 0,
|
|
33
|
+
y: 0
|
|
34
|
+
},
|
|
35
|
+
end: isHorizontal ? {
|
|
36
|
+
x: 1,
|
|
37
|
+
y: 0
|
|
38
|
+
} : {
|
|
39
|
+
x: 0,
|
|
40
|
+
y: 1
|
|
41
|
+
},
|
|
42
|
+
style: [styles.container, isHorizontal ? styles.horizontal : styles.vertical, {
|
|
43
|
+
opacity
|
|
44
|
+
}, style]
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
const styles = _reactNative.StyleSheet.create({
|
|
48
|
+
container: {
|
|
49
|
+
// Shared
|
|
50
|
+
},
|
|
51
|
+
horizontal: {
|
|
52
|
+
width: '100%',
|
|
53
|
+
height: 1,
|
|
54
|
+
marginVertical: 16
|
|
55
|
+
},
|
|
56
|
+
vertical: {
|
|
57
|
+
width: 1,
|
|
58
|
+
height: '100%',
|
|
59
|
+
marginHorizontal: 16
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=FluentGlassSeparator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_expoLinearGradient","_useTheme","_jsxRuntime","e","__esModule","default","FluentGlassSeparator","orientation","style","opacity","theme","useTheme","COLORS","colors","isHorizontal","jsx","LinearGradient","accessible","textSecondary","start","x","y","end","styles","container","horizontal","vertical","StyleSheet","create","width","height","marginVertical","marginHorizontal"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassSeparator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAyC,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAQzC;AACA;AACA;AACA;AACe,SAASG,oBAAoBA,CAAC;EAAEC,WAAW,GAAG,YAAY;EACrEC,KAAK;EACLC,OAAO,GAAG;AAAgC,CAAC,EAAE;EAC7C,MAAMC,KAAK,GAAG,IAAAC,iBAAQ,EAAC,CAAC;EACxB,MAAMC,MAAM,GAAGF,KAAK,CAACG,MAAM;EAE3B,MAAMC,YAAY,GAAGP,WAAW,KAAK,YAAY;EAEjD,oBACI,IAAAL,WAAA,CAAAa,GAAA,EAACf,mBAAA,CAAAgB,cAAc;IACXC,UAAU,EAAE,KAAM;IAClBJ,MAAM,EAAE,CAAC,aAAa,EAAED,MAAM,CAACM,aAAa,EAAE,aAAa,CAAE;IAC7DC,KAAK,EAAEL,YAAY,GAAG;MAAEM,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAC,GAAG;MAAED,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAE;IACtDC,GAAG,EAAER,YAAY,GAAG;MAAEM,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAC,GAAG;MAAED,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAE;IACpDb,KAAK,EAAE,CACHe,MAAM,CAACC,SAAS,EAChBV,YAAY,GAAGS,MAAM,CAACE,UAAU,GAAGF,MAAM,CAACG,QAAQ,EAClD;MAAEjB;IAAQ,CAAC,EACXD,KAAK;EACP,CACL,CAAC;AAEV;AAEA,MAAMe,MAAM,GAAGI,uBAAU,CAACC,MAAM,CAAC;EAC7BJ,SAAS,EAAE;IACP;EAAA,CACH;EACDC,UAAU,EAAE;IACRI,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE,CAAC;IACTC,cAAc,EAAE;EACpB,CAAC;EACDL,QAAQ,EAAE;IACNG,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,MAAM;IACdE,gBAAgB,EAAE;EACtB;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = FluentGlassSheet;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
10
|
+
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
11
|
+
var _FluentGlass = _interopRequireDefault(require("./FluentGlass"));
|
|
12
|
+
var _useTheme = _interopRequireDefault(require("../theme/useTheme"));
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
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); }
|
|
16
|
+
const SCREEN_HEIGHT = _reactNative.Dimensions.get('window').height;
|
|
17
|
+
const SPRING_CONFIG = {
|
|
18
|
+
damping: 30,
|
|
19
|
+
stiffness: 120
|
|
20
|
+
};
|
|
21
|
+
function FluentGlassSheet({
|
|
22
|
+
visible,
|
|
23
|
+
onClose,
|
|
24
|
+
children,
|
|
25
|
+
title,
|
|
26
|
+
height = '50%',
|
|
27
|
+
size // pass size prop specifically inherited from selects
|
|
28
|
+
}) {
|
|
29
|
+
const {
|
|
30
|
+
colors,
|
|
31
|
+
typography
|
|
32
|
+
} = (0, _useTheme.default)();
|
|
33
|
+
|
|
34
|
+
// Internal state to keep Modal visible during exit animation
|
|
35
|
+
const [isVisibleInternal, setIsVisibleInternal] = (0, _react.useState)(false);
|
|
36
|
+
|
|
37
|
+
// Shared value for vertical translation
|
|
38
|
+
// 0 = fully open, SCREEN_HEIGHT = fully closed
|
|
39
|
+
const translateY = (0, _reactNativeReanimated.useSharedValue)(SCREEN_HEIGHT);
|
|
40
|
+
const context = (0, _reactNativeReanimated.useSharedValue)({
|
|
41
|
+
y: 0
|
|
42
|
+
});
|
|
43
|
+
const closeModal = (0, _react.useCallback)(() => {
|
|
44
|
+
'worklet';
|
|
45
|
+
|
|
46
|
+
translateY.value = (0, _reactNativeReanimated.withTiming)(SCREEN_HEIGHT, {
|
|
47
|
+
duration: 300
|
|
48
|
+
}, finished => {
|
|
49
|
+
if (finished) {
|
|
50
|
+
(0, _reactNativeReanimated.runOnJS)(setIsVisibleInternal)(false);
|
|
51
|
+
(0, _reactNativeReanimated.runOnJS)(onClose)();
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}, [onClose, translateY]);
|
|
55
|
+
(0, _react.useEffect)(() => {
|
|
56
|
+
if (visible) {
|
|
57
|
+
setIsVisibleInternal(true);
|
|
58
|
+
// Wait a tick for Modal to mount content, then animate in
|
|
59
|
+
// Using a slight delay ensures layout is ready
|
|
60
|
+
setTimeout(() => {
|
|
61
|
+
translateY.value = (0, _reactNativeReanimated.withSpring)(0, SPRING_CONFIG);
|
|
62
|
+
}, 10);
|
|
63
|
+
} else if (!visible && isVisibleInternal) {
|
|
64
|
+
// Trigger exit animation if visible prop becomes false
|
|
65
|
+
translateY.value = (0, _reactNativeReanimated.withTiming)(SCREEN_HEIGHT, {
|
|
66
|
+
duration: 300
|
|
67
|
+
}, () => {
|
|
68
|
+
(0, _reactNativeReanimated.runOnJS)(setIsVisibleInternal)(false);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}, [visible]);
|
|
72
|
+
const gesture = _reactNativeGestureHandler.Gesture.Pan().onStart(() => {
|
|
73
|
+
context.value = {
|
|
74
|
+
y: translateY.value
|
|
75
|
+
};
|
|
76
|
+
}).onUpdate(event => {
|
|
77
|
+
// Only allow dragging downwards
|
|
78
|
+
translateY.value = Math.max(0, context.value.y + event.translationY);
|
|
79
|
+
}).onEnd(event => {
|
|
80
|
+
if (event.translationY > 100 || event.velocityY > 500) {
|
|
81
|
+
// Dragged far enough clearly or flicked down -> Close
|
|
82
|
+
(0, _reactNativeReanimated.runOnJS)(onClose)(); // This triggers the useEffect logic above
|
|
83
|
+
} else {
|
|
84
|
+
// Spring back to open
|
|
85
|
+
translateY.value = (0, _reactNativeReanimated.withSpring)(0, SPRING_CONFIG);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
const animatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
|
|
89
|
+
transform: [{
|
|
90
|
+
translateY: translateY.value
|
|
91
|
+
}]
|
|
92
|
+
}));
|
|
93
|
+
const backdropStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
|
|
94
|
+
opacity: (0, _reactNativeReanimated.interpolate)(translateY.value, [0, SCREEN_HEIGHT], [1, 0], _reactNativeReanimated.Extrapolation.CLAMP)
|
|
95
|
+
}));
|
|
96
|
+
if (!isVisibleInternal) return null;
|
|
97
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Modal, {
|
|
98
|
+
transparent: true,
|
|
99
|
+
visible: isVisibleInternal,
|
|
100
|
+
animationType: "none",
|
|
101
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
102
|
+
style: styles.overlay,
|
|
103
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableWithoutFeedback, {
|
|
104
|
+
onPress: onClose,
|
|
105
|
+
accessibilityRole: "button",
|
|
106
|
+
accessibilityLabel: "Close sheet",
|
|
107
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
108
|
+
style: [_reactNative.StyleSheet.absoluteFill, styles.backdrop, {
|
|
109
|
+
backgroundColor: colors.overlay
|
|
110
|
+
}, backdropStyle]
|
|
111
|
+
})
|
|
112
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.GestureDetector, {
|
|
113
|
+
gesture: gesture,
|
|
114
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
115
|
+
style: [styles.sheetContainer, {
|
|
116
|
+
height
|
|
117
|
+
}, animatedStyle],
|
|
118
|
+
accessibilityViewIsModal: true,
|
|
119
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_FluentGlass.default, {
|
|
120
|
+
style: styles.content,
|
|
121
|
+
intensity: 30,
|
|
122
|
+
borderOpacity: 0.2,
|
|
123
|
+
borderRadius: 24,
|
|
124
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
125
|
+
style: styles.handleContainer,
|
|
126
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
127
|
+
style: [styles.handle, {
|
|
128
|
+
backgroundColor: `${colors.textPrimary}33`
|
|
129
|
+
}]
|
|
130
|
+
})
|
|
131
|
+
}), title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
132
|
+
style: [styles.header, {
|
|
133
|
+
borderBottomColor: `${colors.textPrimary}1A`
|
|
134
|
+
}],
|
|
135
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
136
|
+
style: [styles.title, {
|
|
137
|
+
color: colors.textPrimary,
|
|
138
|
+
fontFamily: typography.semiBold
|
|
139
|
+
}],
|
|
140
|
+
children: title
|
|
141
|
+
})
|
|
142
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
143
|
+
style: styles.body,
|
|
144
|
+
children: children
|
|
145
|
+
})]
|
|
146
|
+
})
|
|
147
|
+
})
|
|
148
|
+
})]
|
|
149
|
+
})
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
const styles = _reactNative.StyleSheet.create({
|
|
153
|
+
overlay: {
|
|
154
|
+
flex: 1,
|
|
155
|
+
justifyContent: 'flex-end'
|
|
156
|
+
},
|
|
157
|
+
backdrop: {},
|
|
158
|
+
sheetContainer: {
|
|
159
|
+
width: '100%'
|
|
160
|
+
},
|
|
161
|
+
content: {
|
|
162
|
+
flex: 1,
|
|
163
|
+
borderBottomLeftRadius: 0,
|
|
164
|
+
borderBottomRightRadius: 0
|
|
165
|
+
},
|
|
166
|
+
handleContainer: {
|
|
167
|
+
alignItems: 'center',
|
|
168
|
+
paddingVertical: 12,
|
|
169
|
+
width: '100%'
|
|
170
|
+
},
|
|
171
|
+
handle: {
|
|
172
|
+
width: 40,
|
|
173
|
+
height: 4,
|
|
174
|
+
borderRadius: 2
|
|
175
|
+
},
|
|
176
|
+
header: {
|
|
177
|
+
paddingHorizontal: 20,
|
|
178
|
+
paddingBottom: 10,
|
|
179
|
+
borderBottomWidth: 1
|
|
180
|
+
},
|
|
181
|
+
title: {
|
|
182
|
+
fontSize: 18
|
|
183
|
+
},
|
|
184
|
+
body: {
|
|
185
|
+
flex: 1,
|
|
186
|
+
padding: 20
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
//# sourceMappingURL=FluentGlassSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_FluentGlass","_interopRequireDefault","_useTheme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SCREEN_HEIGHT","Dimensions","height","SPRING_CONFIG","damping","stiffness","FluentGlassSheet","visible","onClose","children","title","size","colors","typography","useTheme","isVisibleInternal","setIsVisibleInternal","useState","translateY","useSharedValue","context","y","closeModal","useCallback","value","withTiming","duration","finished","runOnJS","useEffect","setTimeout","withSpring","gesture","Gesture","Pan","onStart","onUpdate","event","Math","max","translationY","onEnd","velocityY","animatedStyle","useAnimatedStyle","transform","backdropStyle","opacity","interpolate","Extrapolation","CLAMP","jsx","Modal","transparent","animationType","jsxs","View","style","styles","overlay","TouchableWithoutFeedback","onPress","accessibilityRole","accessibilityLabel","StyleSheet","absoluteFill","backdrop","backgroundColor","GestureDetector","sheetContainer","accessibilityViewIsModal","content","intensity","borderOpacity","borderRadius","handleContainer","handle","textPrimary","header","borderBottomColor","Text","color","fontFamily","semiBold","body","create","flex","justifyContent","width","borderBottomLeftRadius","borderBottomRightRadius","alignItems","paddingVertical","paddingHorizontal","paddingBottom","borderBottomWidth","fontSize","padding"],"sourceRoot":"..\\..\\..\\src","sources":["components/FluentGlassSheet.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OA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