@xleddyl/443-components-native 0.0.0-stage → 0.0.0
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/README.md +454 -2
- package/assets/fonts/funnel-display/FunnelDisplay-Bold.ttf +0 -0
- package/assets/fonts/funnel-display/OFL.txt +93 -0
- package/assets/fonts/funnel-sans/FunnelSans-Bold.ttf +0 -0
- package/assets/fonts/funnel-sans/FunnelSans-Medium.ttf +0 -0
- package/assets/fonts/funnel-sans/FunnelSans-Regular.ttf +0 -0
- package/assets/fonts/funnel-sans/FunnelSans-SemiBold.ttf +0 -0
- package/assets/fonts/funnel-sans/OFL.txt +93 -0
- package/assets/fonts/index.d.ts +16 -0
- package/assets/fonts/index.js +18 -0
- package/assets/fonts/unbounded/OFL.txt +93 -0
- package/assets/fonts/unbounded/Unbounded-SemiBold.ttf +0 -0
- package/lib/module/components/core/Button.js +124 -0
- package/lib/module/components/core/Button.js.map +1 -0
- package/lib/module/components/core/DefaultIcon.js +541 -0
- package/lib/module/components/core/DefaultIcon.js.map +1 -0
- package/lib/module/components/core/FieldLabel.js +52 -0
- package/lib/module/components/core/FieldLabel.js.map +1 -0
- package/lib/module/components/core/Icon.js +67 -0
- package/lib/module/components/core/Icon.js.map +1 -0
- package/lib/module/components/core/IconButton.js +63 -0
- package/lib/module/components/core/IconButton.js.map +1 -0
- package/lib/module/components/core/Screen.js +140 -0
- package/lib/module/components/core/Screen.js.map +1 -0
- package/lib/module/components/core/Spinner.js +60 -0
- package/lib/module/components/core/Spinner.js.map +1 -0
- package/lib/module/components/core/Stack.js +60 -0
- package/lib/module/components/core/Stack.js.map +1 -0
- package/lib/module/components/core/Text.js +69 -0
- package/lib/module/components/core/Text.js.map +1 -0
- package/lib/module/components/core/TextField.js +191 -0
- package/lib/module/components/core/TextField.js.map +1 -0
- package/lib/module/components/core/Touchable.js +51 -0
- package/lib/module/components/core/Touchable.js.map +1 -0
- package/lib/module/components/core/buttonColors.js +33 -0
- package/lib/module/components/core/buttonColors.js.map +1 -0
- package/lib/module/components/core/field.js +41 -0
- package/lib/module/components/core/field.js.map +1 -0
- package/lib/module/components/core/index.js +14 -0
- package/lib/module/components/core/index.js.map +1 -0
- package/lib/module/components/display/Avatar.js +78 -0
- package/lib/module/components/display/Avatar.js.map +1 -0
- package/lib/module/components/display/AvatarGroup.js +55 -0
- package/lib/module/components/display/AvatarGroup.js.map +1 -0
- package/lib/module/components/display/Badge.js +77 -0
- package/lib/module/components/display/Badge.js.map +1 -0
- package/lib/module/components/display/Banner.js +91 -0
- package/lib/module/components/display/Banner.js.map +1 -0
- package/lib/module/components/display/Card.js +84 -0
- package/lib/module/components/display/Card.js.map +1 -0
- package/lib/module/components/display/Chip.js +122 -0
- package/lib/module/components/display/Chip.js.map +1 -0
- package/lib/module/components/display/DescriptionList.js +40 -0
- package/lib/module/components/display/DescriptionList.js.map +1 -0
- package/lib/module/components/display/Divider.js +65 -0
- package/lib/module/components/display/Divider.js.map +1 -0
- package/lib/module/components/display/EmptyState.js +69 -0
- package/lib/module/components/display/EmptyState.js.map +1 -0
- package/lib/module/components/display/KeyValue.js +53 -0
- package/lib/module/components/display/KeyValue.js.map +1 -0
- package/lib/module/components/display/List.js +156 -0
- package/lib/module/components/display/List.js.map +1 -0
- package/lib/module/components/display/ListItem.js +106 -0
- package/lib/module/components/display/ListItem.js.map +1 -0
- package/lib/module/components/display/ProgressBar.js +121 -0
- package/lib/module/components/display/ProgressBar.js.map +1 -0
- package/lib/module/components/display/ProgressRing.js +104 -0
- package/lib/module/components/display/ProgressRing.js.map +1 -0
- package/lib/module/components/display/Skeleton.js +146 -0
- package/lib/module/components/display/Skeleton.js.map +1 -0
- package/lib/module/components/display/Stat.js +112 -0
- package/lib/module/components/display/Stat.js.map +1 -0
- package/lib/module/components/display/Tag.js +14 -0
- package/lib/module/components/display/Tag.js.map +1 -0
- package/lib/module/components/display/index.js +20 -0
- package/lib/module/components/display/index.js.map +1 -0
- package/lib/module/components/forms/Calendar.js +162 -0
- package/lib/module/components/forms/Calendar.js.map +1 -0
- package/lib/module/components/forms/Checkbox.js +131 -0
- package/lib/module/components/forms/Checkbox.js.map +1 -0
- package/lib/module/components/forms/CheckboxGroup.js +59 -0
- package/lib/module/components/forms/CheckboxGroup.js.map +1 -0
- package/lib/module/components/forms/ChipInput.js +167 -0
- package/lib/module/components/forms/ChipInput.js.map +1 -0
- package/lib/module/components/forms/ControlLabel.js +37 -0
- package/lib/module/components/forms/ControlLabel.js.map +1 -0
- package/lib/module/components/forms/DateField.js +138 -0
- package/lib/module/components/forms/DateField.js.map +1 -0
- package/lib/module/components/forms/Field.js +61 -0
- package/lib/module/components/forms/Field.js.map +1 -0
- package/lib/module/components/forms/MonthPicker.js +124 -0
- package/lib/module/components/forms/MonthPicker.js.map +1 -0
- package/lib/module/components/forms/PeriodHeader.js +53 -0
- package/lib/module/components/forms/PeriodHeader.js.map +1 -0
- package/lib/module/components/forms/PinInput.js +167 -0
- package/lib/module/components/forms/PinInput.js.map +1 -0
- package/lib/module/components/forms/PinPad.js +147 -0
- package/lib/module/components/forms/PinPad.js.map +1 -0
- package/lib/module/components/forms/Radio.js +95 -0
- package/lib/module/components/forms/Radio.js.map +1 -0
- package/lib/module/components/forms/RadioGroup.js +59 -0
- package/lib/module/components/forms/RadioGroup.js.map +1 -0
- package/lib/module/components/forms/SegmentedControl.js +124 -0
- package/lib/module/components/forms/SegmentedControl.js.map +1 -0
- package/lib/module/components/forms/Slider.js +188 -0
- package/lib/module/components/forms/Slider.js.map +1 -0
- package/lib/module/components/forms/Stepper.js +103 -0
- package/lib/module/components/forms/Stepper.js.map +1 -0
- package/lib/module/components/forms/Switch.js +117 -0
- package/lib/module/components/forms/Switch.js.map +1 -0
- package/lib/module/components/forms/checkboxGroupContext.js +6 -0
- package/lib/module/components/forms/checkboxGroupContext.js.map +1 -0
- package/lib/module/components/forms/dateUtils.js +37 -0
- package/lib/module/components/forms/dateUtils.js.map +1 -0
- package/lib/module/components/forms/fieldContext.js +24 -0
- package/lib/module/components/forms/fieldContext.js.map +1 -0
- package/lib/module/components/forms/groupLayout.js +8 -0
- package/lib/module/components/forms/groupLayout.js.map +1 -0
- package/lib/module/components/forms/index.js +19 -0
- package/lib/module/components/forms/index.js.map +1 -0
- package/lib/module/components/forms/radioGroupContext.js +6 -0
- package/lib/module/components/forms/radioGroupContext.js.map +1 -0
- package/lib/module/components/navigation/BackButton.js +70 -0
- package/lib/module/components/navigation/BackButton.js.map +1 -0
- package/lib/module/components/navigation/Header.js +216 -0
- package/lib/module/components/navigation/Header.js.map +1 -0
- package/lib/module/components/navigation/TabBar.js +165 -0
- package/lib/module/components/navigation/TabBar.js.map +1 -0
- package/lib/module/components/navigation/TabBarItem.js +96 -0
- package/lib/module/components/navigation/TabBarItem.js.map +1 -0
- package/lib/module/components/navigation/Tabs.js +276 -0
- package/lib/module/components/navigation/Tabs.js.map +1 -0
- package/lib/module/components/navigation/index.js +9 -0
- package/lib/module/components/navigation/index.js.map +1 -0
- package/lib/module/components/navigation/tabBarStore.js +11 -0
- package/lib/module/components/navigation/tabBarStore.js.map +1 -0
- package/lib/module/components/navigation/tabBarUtils.js +19 -0
- package/lib/module/components/navigation/tabBarUtils.js.map +1 -0
- package/lib/module/components/navigation/useScrollOffset.js +14 -0
- package/lib/module/components/navigation/useScrollOffset.js.map +1 -0
- package/lib/module/components/overlays/ActionSheet.js +134 -0
- package/lib/module/components/overlays/ActionSheet.js.map +1 -0
- package/lib/module/components/overlays/ActionSheetHost.js +41 -0
- package/lib/module/components/overlays/ActionSheetHost.js.map +1 -0
- package/lib/module/components/overlays/Backdrop.js +53 -0
- package/lib/module/components/overlays/Backdrop.js.map +1 -0
- package/lib/module/components/overlays/Dialog.js +140 -0
- package/lib/module/components/overlays/Dialog.js.map +1 -0
- package/lib/module/components/overlays/DialogHost.js +116 -0
- package/lib/module/components/overlays/DialogHost.js.map +1 -0
- package/lib/module/components/overlays/LoadingHost.js +13 -0
- package/lib/module/components/overlays/LoadingHost.js.map +1 -0
- package/lib/module/components/overlays/LoadingOverlay.js +74 -0
- package/lib/module/components/overlays/LoadingOverlay.js.map +1 -0
- package/lib/module/components/overlays/Menu.js +40 -0
- package/lib/module/components/overlays/Menu.js.map +1 -0
- package/lib/module/components/overlays/MenuItem.js +89 -0
- package/lib/module/components/overlays/MenuItem.js.map +1 -0
- package/lib/module/components/overlays/Overlay.js +160 -0
- package/lib/module/components/overlays/Overlay.js.map +1 -0
- package/lib/module/components/overlays/OverlayHeader.js +55 -0
- package/lib/module/components/overlays/OverlayHeader.js.map +1 -0
- package/lib/module/components/overlays/OverlayHost.js +69 -0
- package/lib/module/components/overlays/OverlayHost.js.map +1 -0
- package/lib/module/components/overlays/Popover.js +149 -0
- package/lib/module/components/overlays/Popover.js.map +1 -0
- package/lib/module/components/overlays/Portal.js +101 -0
- package/lib/module/components/overlays/Portal.js.map +1 -0
- package/lib/module/components/overlays/Select.js +241 -0
- package/lib/module/components/overlays/Select.js.map +1 -0
- package/lib/module/components/overlays/SelectOptionRow.js +91 -0
- package/lib/module/components/overlays/SelectOptionRow.js.map +1 -0
- package/lib/module/components/overlays/Sheet.js +371 -0
- package/lib/module/components/overlays/Sheet.js.map +1 -0
- package/lib/module/components/overlays/Toast.js +311 -0
- package/lib/module/components/overlays/Toast.js.map +1 -0
- package/lib/module/components/overlays/ToastHost.js +94 -0
- package/lib/module/components/overlays/ToastHost.js.map +1 -0
- package/lib/module/components/overlays/UiProvider.js +68 -0
- package/lib/module/components/overlays/UiProvider.js.map +1 -0
- package/lib/module/components/overlays/actionColor.js +5 -0
- package/lib/module/components/overlays/actionColor.js.map +1 -0
- package/lib/module/components/overlays/actionSheetStore.js +21 -0
- package/lib/module/components/overlays/actionSheetStore.js.map +1 -0
- package/lib/module/components/overlays/anchorPosition.js +42 -0
- package/lib/module/components/overlays/anchorPosition.js.map +1 -0
- package/lib/module/components/overlays/dialogStore.js +27 -0
- package/lib/module/components/overlays/dialogStore.js.map +1 -0
- package/lib/module/components/overlays/index.js +24 -0
- package/lib/module/components/overlays/index.js.map +1 -0
- package/lib/module/components/overlays/loadingStore.js +61 -0
- package/lib/module/components/overlays/loadingStore.js.map +1 -0
- package/lib/module/components/overlays/overlayA11y.js +203 -0
- package/lib/module/components/overlays/overlayA11y.js.map +1 -0
- package/lib/module/components/overlays/overlayStore.js +48 -0
- package/lib/module/components/overlays/overlayStore.js.map +1 -0
- package/lib/module/components/overlays/portalStore.js +25 -0
- package/lib/module/components/overlays/portalStore.js.map +1 -0
- package/lib/module/components/overlays/sheetRegistry.js +15 -0
- package/lib/module/components/overlays/sheetRegistry.js.map +1 -0
- package/lib/module/components/overlays/sheetSnaps.js +27 -0
- package/lib/module/components/overlays/sheetSnaps.js.map +1 -0
- package/lib/module/components/overlays/toastStore.js +120 -0
- package/lib/module/components/overlays/toastStore.js.map +1 -0
- package/lib/module/components/overlays/useKeyboardOffset.js +29 -0
- package/lib/module/components/overlays/useKeyboardOffset.js.map +1 -0
- package/lib/module/hooks/index.js +7 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/useControllableState.js +25 -0
- package/lib/module/hooks/useControllableState.js.map +1 -0
- package/lib/module/hooks/useLoop.js +31 -0
- package/lib/module/hooks/useLoop.js.map +1 -0
- package/lib/module/hooks/usePressFeedback.js +46 -0
- package/lib/module/hooks/usePressFeedback.js.map +1 -0
- package/lib/module/hooks/useSafeSpacing.js +13 -0
- package/lib/module/hooks/useSafeSpacing.js.map +1 -0
- package/lib/module/hooks/useSlidingIndicator.js +61 -0
- package/lib/module/hooks/useSlidingIndicator.js.map +1 -0
- package/lib/module/hooks/useToggleProgress.js +28 -0
- package/lib/module/hooks/useToggleProgress.js.map +1 -0
- package/lib/module/hooks/useWebThemeName.js +8 -0
- package/lib/module/hooks/useWebThemeName.js.map +1 -0
- package/lib/module/icons/SvgIcon.js +24 -0
- package/lib/module/icons/SvgIcon.js.map +1 -0
- package/lib/module/icons/createSvgIconRenderer.js +33 -0
- package/lib/module/icons/createSvgIconRenderer.js.map +1 -0
- package/lib/module/icons/heroicons.js +70 -0
- package/lib/module/icons/heroicons.js.map +1 -0
- package/lib/module/icons/index.js +6 -0
- package/lib/module/icons/index.js.map +1 -0
- package/lib/module/index.js +11 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/native/GlassGroup.js +33 -0
- package/lib/module/native/GlassGroup.js.map +1 -0
- package/lib/module/native/GlassSurface.js +64 -0
- package/lib/module/native/GlassSurface.js.map +1 -0
- package/lib/module/native/NativeBottomSheet.js +103 -0
- package/lib/module/native/NativeBottomSheet.js.map +1 -0
- package/lib/module/native/NativeButton.js +49 -0
- package/lib/module/native/NativeButton.js.map +1 -0
- package/lib/module/native/NativeContextMenu.js +99 -0
- package/lib/module/native/NativeContextMenu.js.map +1 -0
- package/lib/module/native/NativeDatePicker.js +184 -0
- package/lib/module/native/NativeDatePicker.js.map +1 -0
- package/lib/module/native/NativeForm.js +90 -0
- package/lib/module/native/NativeForm.js.map +1 -0
- package/lib/module/native/NativePicker.js +180 -0
- package/lib/module/native/NativePicker.js.map +1 -0
- package/lib/module/native/NativeProgress.android.js +45 -0
- package/lib/module/native/NativeProgress.android.js.map +1 -0
- package/lib/module/native/NativeProgress.ios.js +41 -0
- package/lib/module/native/NativeProgress.ios.js.map +1 -0
- package/lib/module/native/NativeProgress.js +8 -0
- package/lib/module/native/NativeProgress.js.map +1 -0
- package/lib/module/native/NativeProgress.types.js +4 -0
- package/lib/module/native/NativeProgress.types.js.map +1 -0
- package/lib/module/native/NativeSlider.js +98 -0
- package/lib/module/native/NativeSlider.js.map +1 -0
- package/lib/module/native/NativeSwitch.js +53 -0
- package/lib/module/native/NativeSwitch.js.map +1 -0
- package/lib/module/native/NativeTextField.js +124 -0
- package/lib/module/native/NativeTextField.js.map +1 -0
- package/lib/module/native/fallbacks/FallbackDatePicker.js +126 -0
- package/lib/module/native/fallbacks/FallbackDatePicker.js.map +1 -0
- package/lib/module/native/fallbacks/FallbackForm.js +85 -0
- package/lib/module/native/fallbacks/FallbackForm.js.map +1 -0
- package/lib/module/native/fallbacks/dateFormat.js +63 -0
- package/lib/module/native/fallbacks/dateFormat.js.map +1 -0
- package/lib/module/native/fromMaterialColors.js +42 -0
- package/lib/module/native/fromMaterialColors.js.map +1 -0
- package/lib/module/native/index.js +19 -0
- package/lib/module/native/index.js.map +1 -0
- package/lib/module/native/internal/BaseProgress.js +35 -0
- package/lib/module/native/internal/BaseProgress.js.map +1 -0
- package/lib/module/native/internal/ControlHost.js +62 -0
- package/lib/module/native/internal/ControlHost.js.map +1 -0
- package/lib/module/native/internal/IosDatePicker.ios.js +50 -0
- package/lib/module/native/internal/IosDatePicker.ios.js.map +1 -0
- package/lib/module/native/internal/IosDatePicker.js +4 -0
- package/lib/module/native/internal/IosDatePicker.js.map +1 -0
- package/lib/module/native/internal/IosDatePicker.types.js +4 -0
- package/lib/module/native/internal/IosDatePicker.types.js.map +1 -0
- package/lib/module/native/internal/LabeledControl.js +42 -0
- package/lib/module/native/internal/LabeledControl.js.map +1 -0
- package/lib/module/native/internal/NativeHostContext.js +6 -0
- package/lib/module/native/internal/NativeHostContext.js.map +1 -0
- package/lib/module/native/internal/availability.js +12 -0
- package/lib/module/native/internal/availability.js.map +1 -0
- package/lib/module/native/internal/hostTheme.js +6 -0
- package/lib/module/native/internal/hostTheme.js.map +1 -0
- package/lib/module/native/internal/platformModifiers.android.js +8 -0
- package/lib/module/native/internal/platformModifiers.android.js.map +1 -0
- package/lib/module/native/internal/platformModifiers.ios.js +6 -0
- package/lib/module/native/internal/platformModifiers.ios.js.map +1 -0
- package/lib/module/native/internal/platformModifiers.js +5 -0
- package/lib/module/native/internal/platformModifiers.js.map +1 -0
- package/lib/module/native/internal/platformModifiers.types.js +4 -0
- package/lib/module/native/internal/platformModifiers.types.js.map +1 -0
- package/lib/module/native/internal/withNativeFallback.js +13 -0
- package/lib/module/native/internal/withNativeFallback.js.map +1 -0
- package/lib/module/native/materialColors.types.js +4 -0
- package/lib/module/native/materialColors.types.js.map +1 -0
- package/lib/module/native/menuTypes.js +2 -0
- package/lib/module/native/menuTypes.js.map +1 -0
- package/lib/module/native/tabs/index.js +5 -0
- package/lib/module/native/tabs/index.js.map +1 -0
- package/lib/module/native/tabs/useNativeTabsTheme.js +41 -0
- package/lib/module/native/tabs/useNativeTabsTheme.js.map +1 -0
- package/lib/module/native/useLiquidGlass.js +42 -0
- package/lib/module/native/useLiquidGlass.js.map +1 -0
- package/lib/module/native/useNativeColors.android.js +9 -0
- package/lib/module/native/useNativeColors.android.js.map +1 -0
- package/lib/module/native/useNativeColors.js +5 -0
- package/lib/module/native/useNativeColors.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/presets/controller.js +52 -0
- package/lib/module/presets/controller.js.map +1 -0
- package/lib/module/presets/default.js +174 -0
- package/lib/module/presets/default.js.map +1 -0
- package/lib/module/presets/definePreset.js +39 -0
- package/lib/module/presets/definePreset.js.map +1 -0
- package/lib/module/presets/funnel.js +83 -0
- package/lib/module/presets/funnel.js.map +1 -0
- package/lib/module/presets/index.js +8 -0
- package/lib/module/presets/index.js.map +1 -0
- package/lib/module/presets/presets.js +31 -0
- package/lib/module/presets/presets.js.map +1 -0
- package/lib/module/presets/spotfish.js +103 -0
- package/lib/module/presets/spotfish.js.map +1 -0
- package/lib/module/presets/suedtirol.js +101 -0
- package/lib/module/presets/suedtirol.js.map +1 -0
- package/lib/module/presets/types.js +4 -0
- package/lib/module/presets/types.js.map +1 -0
- package/lib/module/presets/usePreset.js +38 -0
- package/lib/module/presets/usePreset.js.map +1 -0
- package/lib/module/theme/configureUi.js +35 -0
- package/lib/module/theme/configureUi.js.map +1 -0
- package/lib/module/theme/createTheme.js +21 -0
- package/lib/module/theme/createTheme.js.map +1 -0
- package/lib/module/theme/defaults.js +184 -0
- package/lib/module/theme/defaults.js.map +1 -0
- package/lib/module/theme/index.js +8 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/settings.js +40 -0
- package/lib/module/theme/settings.js.map +1 -0
- package/lib/module/theme/tones.js +24 -0
- package/lib/module/theme/tones.js.map +1 -0
- package/lib/module/theme/types.js +4 -0
- package/lib/module/theme/types.js.map +1 -0
- package/lib/module/utils/a11y.js +25 -0
- package/lib/module/utils/a11y.js.map +1 -0
- package/lib/module/utils/createStore.js +27 -0
- package/lib/module/utils/createStore.js.map +1 -0
- package/lib/module/utils/fonts.js +39 -0
- package/lib/module/utils/fonts.js.map +1 -0
- package/lib/module/utils/hitSlop.js +13 -0
- package/lib/module/utils/hitSlop.js.map +1 -0
- package/lib/module/utils/index.js +4 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/math.js +20 -0
- package/lib/module/utils/math.js.map +1 -0
- package/lib/module/utils/refs.js +14 -0
- package/lib/module/utils/refs.js.map +1 -0
- package/lib/module/utils/statusIcon.js +10 -0
- package/lib/module/utils/statusIcon.js.map +1 -0
- package/lib/module/utils/styles.js +50 -0
- package/lib/module/utils/styles.js.map +1 -0
- package/lib/module/utils/types.js +4 -0
- package/lib/module/utils/types.js.map +1 -0
- package/lib/typescript/components/core/Button.d.ts +30 -0
- package/lib/typescript/components/core/Button.d.ts.map +1 -0
- package/lib/typescript/components/core/DefaultIcon.d.ts +11 -0
- package/lib/typescript/components/core/DefaultIcon.d.ts.map +1 -0
- package/lib/typescript/components/core/FieldLabel.d.ts +19 -0
- package/lib/typescript/components/core/FieldLabel.d.ts.map +1 -0
- package/lib/typescript/components/core/Icon.d.ts +21 -0
- package/lib/typescript/components/core/Icon.d.ts.map +1 -0
- package/lib/typescript/components/core/IconButton.d.ts +19 -0
- package/lib/typescript/components/core/IconButton.d.ts.map +1 -0
- package/lib/typescript/components/core/Screen.d.ts +36 -0
- package/lib/typescript/components/core/Screen.d.ts.map +1 -0
- package/lib/typescript/components/core/Spinner.d.ts +11 -0
- package/lib/typescript/components/core/Spinner.d.ts.map +1 -0
- package/lib/typescript/components/core/Stack.d.ts +22 -0
- package/lib/typescript/components/core/Stack.d.ts.map +1 -0
- package/lib/typescript/components/core/Text.d.ts +16 -0
- package/lib/typescript/components/core/Text.d.ts.map +1 -0
- package/lib/typescript/components/core/TextField.d.ts +34 -0
- package/lib/typescript/components/core/TextField.d.ts.map +1 -0
- package/lib/typescript/components/core/Touchable.d.ts +15 -0
- package/lib/typescript/components/core/Touchable.d.ts.map +1 -0
- package/lib/typescript/components/core/buttonColors.d.ts +9 -0
- package/lib/typescript/components/core/buttonColors.d.ts.map +1 -0
- package/lib/typescript/components/core/field.d.ts +23 -0
- package/lib/typescript/components/core/field.d.ts.map +1 -0
- package/lib/typescript/components/core/index.d.ts +22 -0
- package/lib/typescript/components/core/index.d.ts.map +1 -0
- package/lib/typescript/components/display/Avatar.d.ts +33 -0
- package/lib/typescript/components/display/Avatar.d.ts.map +1 -0
- package/lib/typescript/components/display/AvatarGroup.d.ts +14 -0
- package/lib/typescript/components/display/AvatarGroup.d.ts.map +1 -0
- package/lib/typescript/components/display/Badge.d.ts +34 -0
- package/lib/typescript/components/display/Badge.d.ts.map +1 -0
- package/lib/typescript/components/display/Banner.d.ts +29 -0
- package/lib/typescript/components/display/Banner.d.ts.map +1 -0
- package/lib/typescript/components/display/Card.d.ts +35 -0
- package/lib/typescript/components/display/Card.d.ts.map +1 -0
- package/lib/typescript/components/display/Chip.d.ts +39 -0
- package/lib/typescript/components/display/Chip.d.ts.map +1 -0
- package/lib/typescript/components/display/DescriptionList.d.ts +23 -0
- package/lib/typescript/components/display/DescriptionList.d.ts.map +1 -0
- package/lib/typescript/components/display/Divider.d.ts +19 -0
- package/lib/typescript/components/display/Divider.d.ts.map +1 -0
- package/lib/typescript/components/display/EmptyState.d.ts +23 -0
- package/lib/typescript/components/display/EmptyState.d.ts.map +1 -0
- package/lib/typescript/components/display/KeyValue.d.ts +19 -0
- package/lib/typescript/components/display/KeyValue.d.ts.map +1 -0
- package/lib/typescript/components/display/List.d.ts +47 -0
- package/lib/typescript/components/display/List.d.ts.map +1 -0
- package/lib/typescript/components/display/ListItem.d.ts +38 -0
- package/lib/typescript/components/display/ListItem.d.ts.map +1 -0
- package/lib/typescript/components/display/ProgressBar.d.ts +27 -0
- package/lib/typescript/components/display/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/components/display/ProgressRing.d.ts +24 -0
- package/lib/typescript/components/display/ProgressRing.d.ts.map +1 -0
- package/lib/typescript/components/display/Skeleton.d.ts +18 -0
- package/lib/typescript/components/display/Skeleton.d.ts.map +1 -0
- package/lib/typescript/components/display/Stat.d.ts +29 -0
- package/lib/typescript/components/display/Stat.d.ts.map +1 -0
- package/lib/typescript/components/display/Tag.d.ts +4 -0
- package/lib/typescript/components/display/Tag.d.ts.map +1 -0
- package/lib/typescript/components/display/index.d.ts +35 -0
- package/lib/typescript/components/display/index.d.ts.map +1 -0
- package/lib/typescript/components/forms/Calendar.d.ts +45 -0
- package/lib/typescript/components/forms/Calendar.d.ts.map +1 -0
- package/lib/typescript/components/forms/Checkbox.d.ts +40 -0
- package/lib/typescript/components/forms/Checkbox.d.ts.map +1 -0
- package/lib/typescript/components/forms/CheckboxGroup.d.ts +27 -0
- package/lib/typescript/components/forms/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/components/forms/ChipInput.d.ts +33 -0
- package/lib/typescript/components/forms/ChipInput.d.ts.map +1 -0
- package/lib/typescript/components/forms/ControlLabel.d.ts +11 -0
- package/lib/typescript/components/forms/ControlLabel.d.ts.map +1 -0
- package/lib/typescript/components/forms/DateField.d.ts +34 -0
- package/lib/typescript/components/forms/DateField.d.ts.map +1 -0
- package/lib/typescript/components/forms/Field.d.ts +24 -0
- package/lib/typescript/components/forms/Field.d.ts.map +1 -0
- package/lib/typescript/components/forms/MonthPicker.d.ts +32 -0
- package/lib/typescript/components/forms/MonthPicker.d.ts.map +1 -0
- package/lib/typescript/components/forms/PeriodHeader.d.ts +15 -0
- package/lib/typescript/components/forms/PeriodHeader.d.ts.map +1 -0
- package/lib/typescript/components/forms/PinInput.d.ts +38 -0
- package/lib/typescript/components/forms/PinInput.d.ts.map +1 -0
- package/lib/typescript/components/forms/PinPad.d.ts +45 -0
- package/lib/typescript/components/forms/PinPad.d.ts.map +1 -0
- package/lib/typescript/components/forms/Radio.d.ts +27 -0
- package/lib/typescript/components/forms/Radio.d.ts.map +1 -0
- package/lib/typescript/components/forms/RadioGroup.d.ts +27 -0
- package/lib/typescript/components/forms/RadioGroup.d.ts.map +1 -0
- package/lib/typescript/components/forms/SegmentedControl.d.ts +32 -0
- package/lib/typescript/components/forms/SegmentedControl.d.ts.map +1 -0
- package/lib/typescript/components/forms/Slider.d.ts +29 -0
- package/lib/typescript/components/forms/Slider.d.ts.map +1 -0
- package/lib/typescript/components/forms/Stepper.d.ts +29 -0
- package/lib/typescript/components/forms/Stepper.d.ts.map +1 -0
- package/lib/typescript/components/forms/Switch.d.ts +37 -0
- package/lib/typescript/components/forms/Switch.d.ts.map +1 -0
- package/lib/typescript/components/forms/checkboxGroupContext.d.ts +8 -0
- package/lib/typescript/components/forms/checkboxGroupContext.d.ts.map +1 -0
- package/lib/typescript/components/forms/dateUtils.d.ts +14 -0
- package/lib/typescript/components/forms/dateUtils.d.ts.map +1 -0
- package/lib/typescript/components/forms/fieldContext.d.ts +32 -0
- package/lib/typescript/components/forms/fieldContext.d.ts.map +1 -0
- package/lib/typescript/components/forms/groupLayout.d.ts +8 -0
- package/lib/typescript/components/forms/groupLayout.d.ts.map +1 -0
- package/lib/typescript/components/forms/index.d.ts +33 -0
- package/lib/typescript/components/forms/index.d.ts.map +1 -0
- package/lib/typescript/components/forms/radioGroupContext.d.ts +11 -0
- package/lib/typescript/components/forms/radioGroupContext.d.ts.map +1 -0
- package/lib/typescript/components/navigation/BackButton.d.ts +24 -0
- package/lib/typescript/components/navigation/BackButton.d.ts.map +1 -0
- package/lib/typescript/components/navigation/Header.d.ts +48 -0
- package/lib/typescript/components/navigation/Header.d.ts.map +1 -0
- package/lib/typescript/components/navigation/TabBar.d.ts +93 -0
- package/lib/typescript/components/navigation/TabBar.d.ts.map +1 -0
- package/lib/typescript/components/navigation/TabBarItem.d.ts +40 -0
- package/lib/typescript/components/navigation/TabBarItem.d.ts.map +1 -0
- package/lib/typescript/components/navigation/Tabs.d.ts +48 -0
- package/lib/typescript/components/navigation/Tabs.d.ts.map +1 -0
- package/lib/typescript/components/navigation/index.d.ts +11 -0
- package/lib/typescript/components/navigation/index.d.ts.map +1 -0
- package/lib/typescript/components/navigation/tabBarStore.d.ts +3 -0
- package/lib/typescript/components/navigation/tabBarStore.d.ts.map +1 -0
- package/lib/typescript/components/navigation/tabBarUtils.d.ts +16 -0
- package/lib/typescript/components/navigation/tabBarUtils.d.ts.map +1 -0
- package/lib/typescript/components/navigation/useScrollOffset.d.ts +5 -0
- package/lib/typescript/components/navigation/useScrollOffset.d.ts.map +1 -0
- package/lib/typescript/components/overlays/ActionSheet.d.ts +28 -0
- package/lib/typescript/components/overlays/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/components/overlays/ActionSheetHost.d.ts +2 -0
- package/lib/typescript/components/overlays/ActionSheetHost.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Backdrop.d.ts +12 -0
- package/lib/typescript/components/overlays/Backdrop.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Dialog.d.ts +38 -0
- package/lib/typescript/components/overlays/Dialog.d.ts.map +1 -0
- package/lib/typescript/components/overlays/DialogHost.d.ts +2 -0
- package/lib/typescript/components/overlays/DialogHost.d.ts.map +1 -0
- package/lib/typescript/components/overlays/LoadingHost.d.ts +2 -0
- package/lib/typescript/components/overlays/LoadingHost.d.ts.map +1 -0
- package/lib/typescript/components/overlays/LoadingOverlay.d.ts +16 -0
- package/lib/typescript/components/overlays/LoadingOverlay.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Menu.d.ts +20 -0
- package/lib/typescript/components/overlays/Menu.d.ts.map +1 -0
- package/lib/typescript/components/overlays/MenuItem.d.ts +24 -0
- package/lib/typescript/components/overlays/MenuItem.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Overlay.d.ts +34 -0
- package/lib/typescript/components/overlays/Overlay.d.ts.map +1 -0
- package/lib/typescript/components/overlays/OverlayHeader.d.ts +18 -0
- package/lib/typescript/components/overlays/OverlayHeader.d.ts.map +1 -0
- package/lib/typescript/components/overlays/OverlayHost.d.ts +2 -0
- package/lib/typescript/components/overlays/OverlayHost.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Popover.d.ts +47 -0
- package/lib/typescript/components/overlays/Popover.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Portal.d.ts +13 -0
- package/lib/typescript/components/overlays/Portal.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Select.d.ts +72 -0
- package/lib/typescript/components/overlays/Select.d.ts.map +1 -0
- package/lib/typescript/components/overlays/SelectOptionRow.d.ts +17 -0
- package/lib/typescript/components/overlays/SelectOptionRow.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Sheet.d.ts +64 -0
- package/lib/typescript/components/overlays/Sheet.d.ts.map +1 -0
- package/lib/typescript/components/overlays/Toast.d.ts +57 -0
- package/lib/typescript/components/overlays/Toast.d.ts.map +1 -0
- package/lib/typescript/components/overlays/ToastHost.d.ts +13 -0
- package/lib/typescript/components/overlays/ToastHost.d.ts.map +1 -0
- package/lib/typescript/components/overlays/UiProvider.d.ts +14 -0
- package/lib/typescript/components/overlays/UiProvider.d.ts.map +1 -0
- package/lib/typescript/components/overlays/actionColor.d.ts +3 -0
- package/lib/typescript/components/overlays/actionColor.d.ts.map +1 -0
- package/lib/typescript/components/overlays/actionSheetStore.d.ts +25 -0
- package/lib/typescript/components/overlays/actionSheetStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/anchorPosition.d.ts +36 -0
- package/lib/typescript/components/overlays/anchorPosition.d.ts.map +1 -0
- package/lib/typescript/components/overlays/dialogStore.d.ts +48 -0
- package/lib/typescript/components/overlays/dialogStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/index.d.ts +40 -0
- package/lib/typescript/components/overlays/index.d.ts.map +1 -0
- package/lib/typescript/components/overlays/loadingStore.d.ts +27 -0
- package/lib/typescript/components/overlays/loadingStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/overlayA11y.d.ts +18 -0
- package/lib/typescript/components/overlays/overlayA11y.d.ts.map +1 -0
- package/lib/typescript/components/overlays/overlayStore.d.ts +50 -0
- package/lib/typescript/components/overlays/overlayStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/portalStore.d.ts +17 -0
- package/lib/typescript/components/overlays/portalStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/sheetRegistry.d.ts +5 -0
- package/lib/typescript/components/overlays/sheetRegistry.d.ts.map +1 -0
- package/lib/typescript/components/overlays/sheetSnaps.d.ts +4 -0
- package/lib/typescript/components/overlays/sheetSnaps.d.ts.map +1 -0
- package/lib/typescript/components/overlays/toastStore.d.ts +63 -0
- package/lib/typescript/components/overlays/toastStore.d.ts.map +1 -0
- package/lib/typescript/components/overlays/useKeyboardOffset.d.ts +2 -0
- package/lib/typescript/components/overlays/useKeyboardOffset.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +6 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useControllableState.d.ts +9 -0
- package/lib/typescript/hooks/useControllableState.d.ts.map +1 -0
- package/lib/typescript/hooks/useLoop.d.ts +15 -0
- package/lib/typescript/hooks/useLoop.d.ts.map +1 -0
- package/lib/typescript/hooks/usePressFeedback.d.ts +18 -0
- package/lib/typescript/hooks/usePressFeedback.d.ts.map +1 -0
- package/lib/typescript/hooks/useSafeSpacing.d.ts +7 -0
- package/lib/typescript/hooks/useSafeSpacing.d.ts.map +1 -0
- package/lib/typescript/hooks/useSlidingIndicator.d.ts +14 -0
- package/lib/typescript/hooks/useSlidingIndicator.d.ts.map +1 -0
- package/lib/typescript/hooks/useToggleProgress.d.ts +3 -0
- package/lib/typescript/hooks/useToggleProgress.d.ts.map +1 -0
- package/lib/typescript/hooks/useWebThemeName.d.ts +2 -0
- package/lib/typescript/hooks/useWebThemeName.d.ts.map +1 -0
- package/lib/typescript/icons/SvgIcon.d.ts +9 -0
- package/lib/typescript/icons/SvgIcon.d.ts.map +1 -0
- package/lib/typescript/icons/createSvgIconRenderer.d.ts +10 -0
- package/lib/typescript/icons/createSvgIconRenderer.d.ts.map +1 -0
- package/lib/typescript/icons/heroicons.d.ts +3 -0
- package/lib/typescript/icons/heroicons.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +6 -0
- package/lib/typescript/icons/index.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +9 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/native/GlassGroup.d.ts +11 -0
- package/lib/typescript/native/GlassGroup.d.ts.map +1 -0
- package/lib/typescript/native/GlassSurface.d.ts +18 -0
- package/lib/typescript/native/GlassSurface.d.ts.map +1 -0
- package/lib/typescript/native/NativeBottomSheet.d.ts +16 -0
- package/lib/typescript/native/NativeBottomSheet.d.ts.map +1 -0
- package/lib/typescript/native/NativeButton.d.ts +17 -0
- package/lib/typescript/native/NativeButton.d.ts.map +1 -0
- package/lib/typescript/native/NativeContextMenu.d.ts +17 -0
- package/lib/typescript/native/NativeContextMenu.d.ts.map +1 -0
- package/lib/typescript/native/NativeDatePicker.d.ts +23 -0
- package/lib/typescript/native/NativeDatePicker.d.ts.map +1 -0
- package/lib/typescript/native/NativeForm.d.ts +21 -0
- package/lib/typescript/native/NativeForm.d.ts.map +1 -0
- package/lib/typescript/native/NativePicker.d.ts +22 -0
- package/lib/typescript/native/NativePicker.d.ts.map +1 -0
- package/lib/typescript/native/NativeProgress.android.d.ts +4 -0
- package/lib/typescript/native/NativeProgress.android.d.ts.map +1 -0
- package/lib/typescript/native/NativeProgress.d.ts +4 -0
- package/lib/typescript/native/NativeProgress.d.ts.map +1 -0
- package/lib/typescript/native/NativeProgress.ios.d.ts +4 -0
- package/lib/typescript/native/NativeProgress.ios.d.ts.map +1 -0
- package/lib/typescript/native/NativeProgress.types.d.ts +11 -0
- package/lib/typescript/native/NativeProgress.types.d.ts.map +1 -0
- package/lib/typescript/native/NativeSlider.d.ts +18 -0
- package/lib/typescript/native/NativeSlider.d.ts.map +1 -0
- package/lib/typescript/native/NativeSwitch.d.ts +15 -0
- package/lib/typescript/native/NativeSwitch.d.ts.map +1 -0
- package/lib/typescript/native/NativeTextField.d.ts +21 -0
- package/lib/typescript/native/NativeTextField.d.ts.map +1 -0
- package/lib/typescript/native/fallbacks/FallbackDatePicker.d.ts +14 -0
- package/lib/typescript/native/fallbacks/FallbackDatePicker.d.ts.map +1 -0
- package/lib/typescript/native/fallbacks/FallbackForm.d.ts +17 -0
- package/lib/typescript/native/fallbacks/FallbackForm.d.ts.map +1 -0
- package/lib/typescript/native/fallbacks/dateFormat.d.ts +7 -0
- package/lib/typescript/native/fallbacks/dateFormat.d.ts.map +1 -0
- package/lib/typescript/native/fromMaterialColors.d.ts +8 -0
- package/lib/typescript/native/fromMaterialColors.d.ts.map +1 -0
- package/lib/typescript/native/index.d.ts +32 -0
- package/lib/typescript/native/index.d.ts.map +1 -0
- package/lib/typescript/native/internal/BaseProgress.d.ts +3 -0
- package/lib/typescript/native/internal/BaseProgress.d.ts.map +1 -0
- package/lib/typescript/native/internal/ControlHost.d.ts +17 -0
- package/lib/typescript/native/internal/ControlHost.d.ts.map +1 -0
- package/lib/typescript/native/internal/IosDatePicker.d.ts +3 -0
- package/lib/typescript/native/internal/IosDatePicker.d.ts.map +1 -0
- package/lib/typescript/native/internal/IosDatePicker.ios.d.ts +3 -0
- package/lib/typescript/native/internal/IosDatePicker.ios.d.ts.map +1 -0
- package/lib/typescript/native/internal/IosDatePicker.types.d.ts +15 -0
- package/lib/typescript/native/internal/IosDatePicker.types.d.ts.map +1 -0
- package/lib/typescript/native/internal/LabeledControl.d.ts +14 -0
- package/lib/typescript/native/internal/LabeledControl.d.ts.map +1 -0
- package/lib/typescript/native/internal/NativeHostContext.d.ts +3 -0
- package/lib/typescript/native/internal/NativeHostContext.d.ts.map +1 -0
- package/lib/typescript/native/internal/availability.d.ts +2 -0
- package/lib/typescript/native/internal/availability.d.ts.map +1 -0
- package/lib/typescript/native/internal/hostTheme.d.ts +4 -0
- package/lib/typescript/native/internal/hostTheme.d.ts.map +1 -0
- package/lib/typescript/native/internal/platformModifiers.android.d.ts +4 -0
- package/lib/typescript/native/internal/platformModifiers.android.d.ts.map +1 -0
- package/lib/typescript/native/internal/platformModifiers.d.ts +4 -0
- package/lib/typescript/native/internal/platformModifiers.d.ts.map +1 -0
- package/lib/typescript/native/internal/platformModifiers.ios.d.ts +4 -0
- package/lib/typescript/native/internal/platformModifiers.ios.d.ts.map +1 -0
- package/lib/typescript/native/internal/platformModifiers.types.d.ts +3 -0
- package/lib/typescript/native/internal/platformModifiers.types.d.ts.map +1 -0
- package/lib/typescript/native/internal/withNativeFallback.d.ts +3 -0
- package/lib/typescript/native/internal/withNativeFallback.d.ts.map +1 -0
- package/lib/typescript/native/materialColors.types.d.ts +4 -0
- package/lib/typescript/native/materialColors.types.d.ts.map +1 -0
- package/lib/typescript/native/menuTypes.d.ts +9 -0
- package/lib/typescript/native/menuTypes.d.ts.map +1 -0
- package/lib/typescript/native/tabs/index.d.ts +5 -0
- package/lib/typescript/native/tabs/index.d.ts.map +1 -0
- package/lib/typescript/native/tabs/useNativeTabsTheme.d.ts +10 -0
- package/lib/typescript/native/tabs/useNativeTabsTheme.d.ts.map +1 -0
- package/lib/typescript/native/useLiquidGlass.d.ts +8 -0
- package/lib/typescript/native/useLiquidGlass.d.ts.map +1 -0
- package/lib/typescript/native/useNativeColors.android.d.ts +4 -0
- package/lib/typescript/native/useNativeColors.android.d.ts.map +1 -0
- package/lib/typescript/native/useNativeColors.d.ts +4 -0
- package/lib/typescript/native/useNativeColors.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/presets/controller.d.ts +10 -0
- package/lib/typescript/presets/controller.d.ts.map +1 -0
- package/lib/typescript/presets/default.d.ts +2 -0
- package/lib/typescript/presets/default.d.ts.map +1 -0
- package/lib/typescript/presets/definePreset.d.ts +16 -0
- package/lib/typescript/presets/definePreset.d.ts.map +1 -0
- package/lib/typescript/presets/funnel.d.ts +11 -0
- package/lib/typescript/presets/funnel.d.ts.map +1 -0
- package/lib/typescript/presets/index.d.ts +7 -0
- package/lib/typescript/presets/index.d.ts.map +1 -0
- package/lib/typescript/presets/presets.d.ts +11 -0
- package/lib/typescript/presets/presets.d.ts.map +1 -0
- package/lib/typescript/presets/spotfish.d.ts +2 -0
- package/lib/typescript/presets/spotfish.d.ts.map +1 -0
- package/lib/typescript/presets/suedtirol.d.ts +2 -0
- package/lib/typescript/presets/suedtirol.d.ts.map +1 -0
- package/lib/typescript/presets/types.d.ts +22 -0
- package/lib/typescript/presets/types.d.ts.map +1 -0
- package/lib/typescript/presets/usePreset.d.ts +16 -0
- package/lib/typescript/presets/usePreset.d.ts.map +1 -0
- package/lib/typescript/theme/configureUi.d.ts +27 -0
- package/lib/typescript/theme/configureUi.d.ts.map +1 -0
- package/lib/typescript/theme/createTheme.d.ts +5 -0
- package/lib/typescript/theme/createTheme.d.ts.map +1 -0
- package/lib/typescript/theme/defaults.d.ts +4 -0
- package/lib/typescript/theme/defaults.d.ts.map +1 -0
- package/lib/typescript/theme/index.d.ts +11 -0
- package/lib/typescript/theme/index.d.ts.map +1 -0
- package/lib/typescript/theme/settings.d.ts +19 -0
- package/lib/typescript/theme/settings.d.ts.map +1 -0
- package/lib/typescript/theme/tones.d.ts +9 -0
- package/lib/typescript/theme/tones.d.ts.map +1 -0
- package/lib/typescript/theme/types.d.ts +147 -0
- package/lib/typescript/theme/types.d.ts.map +1 -0
- package/lib/typescript/utils/a11y.d.ts +20 -0
- package/lib/typescript/utils/a11y.d.ts.map +1 -0
- package/lib/typescript/utils/createStore.d.ts +8 -0
- package/lib/typescript/utils/createStore.d.ts.map +1 -0
- package/lib/typescript/utils/fonts.d.ts +13 -0
- package/lib/typescript/utils/fonts.d.ts.map +1 -0
- package/lib/typescript/utils/hitSlop.d.ts +3 -0
- package/lib/typescript/utils/hitSlop.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +3 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/math.d.ts +6 -0
- package/lib/typescript/utils/math.d.ts.map +1 -0
- package/lib/typescript/utils/refs.d.ts +4 -0
- package/lib/typescript/utils/refs.d.ts.map +1 -0
- package/lib/typescript/utils/statusIcon.d.ts +3 -0
- package/lib/typescript/utils/statusIcon.d.ts.map +1 -0
- package/lib/typescript/utils/styles.d.ts +34 -0
- package/lib/typescript/utils/styles.d.ts.map +1 -0
- package/lib/typescript/utils/types.d.ts +11 -0
- package/lib/typescript/utils/types.d.ts.map +1 -0
- package/package.json +155 -3
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Pressable } from 'react-native';
|
|
4
|
+
import Animated from 'react-native-reanimated';
|
|
5
|
+
import { usePressFeedback } from "../../hooks/usePressFeedback.js";
|
|
6
|
+
import { triggerHaptic } from "../../theme/settings.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
|
|
9
|
+
export const Touchable = ({
|
|
10
|
+
feedback = 'scale',
|
|
11
|
+
pressScale,
|
|
12
|
+
haptic = false,
|
|
13
|
+
style,
|
|
14
|
+
onPressIn,
|
|
15
|
+
onPressOut,
|
|
16
|
+
onPress,
|
|
17
|
+
disabled,
|
|
18
|
+
accessibilityState,
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
const {
|
|
22
|
+
animatedStyle,
|
|
23
|
+
pressIn,
|
|
24
|
+
pressOut
|
|
25
|
+
} = usePressFeedback(feedback, pressScale, !!disabled);
|
|
26
|
+
const handlePressIn = event => {
|
|
27
|
+
pressIn();
|
|
28
|
+
onPressIn?.(event);
|
|
29
|
+
};
|
|
30
|
+
const handlePressOut = event => {
|
|
31
|
+
pressOut();
|
|
32
|
+
onPressOut?.(event);
|
|
33
|
+
};
|
|
34
|
+
const handlePress = event => {
|
|
35
|
+
triggerHaptic(haptic);
|
|
36
|
+
onPress?.(event);
|
|
37
|
+
};
|
|
38
|
+
return /*#__PURE__*/_jsx(AnimatedPressable, {
|
|
39
|
+
accessibilityState: {
|
|
40
|
+
disabled: !!disabled,
|
|
41
|
+
...accessibilityState
|
|
42
|
+
},
|
|
43
|
+
...props,
|
|
44
|
+
disabled: disabled,
|
|
45
|
+
onPressIn: handlePressIn,
|
|
46
|
+
onPressOut: handlePressOut,
|
|
47
|
+
onPress: onPress ? handlePress : undefined,
|
|
48
|
+
style: [style, animatedStyle]
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=Touchable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Pressable","Animated","usePressFeedback","triggerHaptic","jsx","_jsx","AnimatedPressable","createAnimatedComponent","Touchable","feedback","pressScale","haptic","style","onPressIn","onPressOut","onPress","disabled","accessibilityState","props","animatedStyle","pressIn","pressOut","handlePressIn","event","handlePressOut","handlePress","undefined"],"sourceRoot":"../../../../src","sources":["components/core/Touchable.tsx"],"mappings":";;AACA,SAASA,SAAS,QAAc,cAAc;AAE9C,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,gBAAgB,QAAQ,iCAA8B;AAE/D,SAASC,aAAa,QAAQ,yBAAsB;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGpD,MAAMC,iBAAiB,GAAGL,QAAQ,CAACM,uBAAuB,CAACP,SAAS,CAAC;AAWrE,OAAO,MAAMQ,SAAS,GAAGA,CAAC;EACvBC,QAAQ,GAAG,OAAO;EAClBC,UAAU;EACVC,MAAM,GAAG,KAAK;EACdC,KAAK;EACLC,SAAS;EACTC,UAAU;EACVC,OAAO;EACPC,QAAQ;EACRC,kBAAkB;EAClB,GAAGC;AACU,CAAC,KAAK;EACnB,MAAM;IAAEC,aAAa;IAAEC,OAAO;IAAEC;EAAS,CAAC,GAAGnB,gBAAgB,CAACO,QAAQ,EAAEC,UAAU,EAAE,CAAC,CAACM,QAAQ,CAAC;EAE/F,MAAMM,aAAa,GAAIC,KAA4B,IAAK;IACrDH,OAAO,CAAC,CAAC;IACTP,SAAS,GAAGU,KAAK,CAAC;EACrB,CAAC;EAED,MAAMC,cAAc,GAAID,KAA4B,IAAK;IACtDF,QAAQ,CAAC,CAAC;IACVP,UAAU,GAAGS,KAAK,CAAC;EACtB,CAAC;EAED,MAAME,WAAW,GAAIF,KAA4B,IAAK;IACnDpB,aAAa,CAACQ,MAAM,CAAC;IACrBI,OAAO,GAAGQ,KAAK,CAAC;EACnB,CAAC;EAED,oBACGlB,IAAA,CAACC,iBAAiB;IACfW,kBAAkB,EAAE;MAAED,QAAQ,EAAE,CAAC,CAACA,QAAQ;MAAE,GAAGC;IAAmB,CAAE;IAAA,GAChEC,KAAK;IACTF,QAAQ,EAAEA,QAAS;IACnBH,SAAS,EAAES,aAAc;IACzBR,UAAU,EAAEU,cAAe;IAC3BT,OAAO,EAAEA,OAAO,GAAGU,WAAW,GAAGC,SAAU;IAC3Cd,KAAK,EAAE,CAACA,KAAK,EAAEO,aAAa;EAAE,CAChC,CAAC;AAER,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { toneColors } from "../../theme/tones.js";
|
|
4
|
+
export const buttonColors = (theme, variant, tone) => {
|
|
5
|
+
const colors = toneColors(theme, tone);
|
|
6
|
+
switch (variant) {
|
|
7
|
+
case 'solid':
|
|
8
|
+
return {
|
|
9
|
+
background: colors.solid,
|
|
10
|
+
border: colors.solid,
|
|
11
|
+
content: colors.on
|
|
12
|
+
};
|
|
13
|
+
case 'soft':
|
|
14
|
+
return {
|
|
15
|
+
background: colors.soft,
|
|
16
|
+
border: colors.soft,
|
|
17
|
+
content: colors.text
|
|
18
|
+
};
|
|
19
|
+
case 'outline':
|
|
20
|
+
return {
|
|
21
|
+
background: 'transparent',
|
|
22
|
+
border: tone === 'neutral' ? theme.colors.borderStrong : colors.solid,
|
|
23
|
+
content: colors.text
|
|
24
|
+
};
|
|
25
|
+
case 'ghost':
|
|
26
|
+
return {
|
|
27
|
+
background: 'transparent',
|
|
28
|
+
border: 'transparent',
|
|
29
|
+
content: colors.text
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=buttonColors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["toneColors","buttonColors","theme","variant","tone","colors","background","solid","border","content","on","soft","text","borderStrong"],"sourceRoot":"../../../../src","sources":["components/core/buttonColors.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,sBAAmB;AAW9C,OAAO,MAAMC,YAAY,GAAGA,CACzBC,KAAgB,EAChBC,OAAsB,EACtBC,IAAU,KACM;EAChB,MAAMC,MAAM,GAAGL,UAAU,CAACE,KAAK,EAAEE,IAAI,CAAC;EACtC,QAAQD,OAAO;IACZ,KAAK,OAAO;MACT,OAAO;QAAEG,UAAU,EAAED,MAAM,CAACE,KAAK;QAAEC,MAAM,EAAEH,MAAM,CAACE,KAAK;QAAEE,OAAO,EAAEJ,MAAM,CAACK;MAAG,CAAC;IAChF,KAAK,MAAM;MACR,OAAO;QAAEJ,UAAU,EAAED,MAAM,CAACM,IAAI;QAAEH,MAAM,EAAEH,MAAM,CAACM,IAAI;QAAEF,OAAO,EAAEJ,MAAM,CAACO;MAAK,CAAC;IAChF,KAAK,SAAS;MACX,OAAO;QACJN,UAAU,EAAE,aAAa;QACzBE,MAAM,EAAEJ,IAAI,KAAK,SAAS,GAAGF,KAAK,CAACG,MAAM,CAACQ,YAAY,GAAGR,MAAM,CAACE,KAAK;QACrEE,OAAO,EAAEJ,MAAM,CAACO;MACnB,CAAC;IACJ,KAAK,OAAO;MACT,OAAO;QAAEN,UAAU,EAAE,aAAa;QAAEE,MAAM,EAAE,aAAa;QAAEC,OAAO,EAAEJ,MAAM,CAACO;MAAK,CAAC;EACvF;AACH,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useId } from 'react';
|
|
4
|
+
import { disabledOpacity } from "../../utils/styles.js";
|
|
5
|
+
export const fieldErrorMessage = error => typeof error === 'string' && error.length > 0 ? error : undefined;
|
|
6
|
+
export const useFieldIds = () => {
|
|
7
|
+
const id = useId();
|
|
8
|
+
return {
|
|
9
|
+
labelId: `${id}-label`,
|
|
10
|
+
messageId: `${id}-message`
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export const inputState = ({
|
|
14
|
+
disabled = false,
|
|
15
|
+
invalid = false,
|
|
16
|
+
focused = false
|
|
17
|
+
}) => {
|
|
18
|
+
if (disabled) {
|
|
19
|
+
return 'disabled';
|
|
20
|
+
}
|
|
21
|
+
if (invalid) {
|
|
22
|
+
return 'invalid';
|
|
23
|
+
}
|
|
24
|
+
return focused ? 'focused' : 'idle';
|
|
25
|
+
};
|
|
26
|
+
export const inputHeight = (theme, size) => theme.components.textField?.height?.[size] ?? theme.sizes.control[size];
|
|
27
|
+
export const inputRadius = theme => theme.components.textField?.radius ?? theme.radius.md;
|
|
28
|
+
export const inputBorderColor = (theme, state) => {
|
|
29
|
+
if (state === 'invalid') {
|
|
30
|
+
return theme.colors.danger;
|
|
31
|
+
}
|
|
32
|
+
return state === 'focused' ? theme.colors.focus : theme.colors.border;
|
|
33
|
+
};
|
|
34
|
+
export const inputSurface = (theme, state) => ({
|
|
35
|
+
borderWidth: theme.components.textField?.borderWidth ?? theme.sizes.borderWidth,
|
|
36
|
+
borderRadius: inputRadius(theme),
|
|
37
|
+
borderColor: inputBorderColor(theme, state),
|
|
38
|
+
backgroundColor: state === 'disabled' ? theme.colors.surfaceSunken : theme.components.textField?.background ?? theme.colors.surface,
|
|
39
|
+
opacity: disabledOpacity(theme, state === 'disabled')
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useId","disabledOpacity","fieldErrorMessage","error","length","undefined","useFieldIds","id","labelId","messageId","inputState","disabled","invalid","focused","inputHeight","theme","size","components","textField","height","sizes","control","inputRadius","radius","md","inputBorderColor","state","colors","danger","focus","border","inputSurface","borderWidth","borderRadius","borderColor","backgroundColor","surfaceSunken","background","surface","opacity"],"sourceRoot":"../../../../src","sources":["components/core/field.ts"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,OAAO;AAE7B,SAASC,eAAe,QAAQ,uBAAoB;AAIpD,OAAO,MAAMC,iBAAiB,GAAIC,KAAmC,IAClE,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,CAACC,MAAM,GAAG,CAAC,GAAGD,KAAK,GAAGE,SAAS;AAEpE,OAAO,MAAMC,WAAW,GAAGA,CAAA,KAAM;EAC9B,MAAMC,EAAE,GAAGP,KAAK,CAAC,CAAC;EAClB,OAAO;IAAEQ,OAAO,EAAE,GAAGD,EAAE,QAAQ;IAAEE,SAAS,EAAE,GAAGF,EAAE;EAAW,CAAC;AAChE,CAAC;AAED,OAAO,MAAMG,UAAU,GAAGA,CAAC;EACxBC,QAAQ,GAAG,KAAK;EAChBC,OAAO,GAAG,KAAK;EACfC,OAAO,GAAG;AAKb,CAAC,KAAiB;EACf,IAAIF,QAAQ,EAAE;IACX,OAAO,UAAU;EACpB;EACA,IAAIC,OAAO,EAAE;IACV,OAAO,SAAS;EACnB;EACA,OAAOC,OAAO,GAAG,SAAS,GAAG,MAAM;AACtC,CAAC;AAED,OAAO,MAAMC,WAAW,GAAGA,CAACC,KAAgB,EAAEC,IAAiB,KAC5DD,KAAK,CAACE,UAAU,CAACC,SAAS,EAAEC,MAAM,GAAGH,IAAI,CAAC,IAAID,KAAK,CAACK,KAAK,CAACC,OAAO,CAACL,IAAI,CAAC;AAE1E,OAAO,MAAMM,WAAW,GAAIP,KAAgB,IACzCA,KAAK,CAACE,UAAU,CAACC,SAAS,EAAEK,MAAM,IAAIR,KAAK,CAACQ,MAAM,CAACC,EAAE;AAExD,OAAO,MAAMC,gBAAgB,GAAGA,CAACV,KAAgB,EAAEW,KAAiB,KAAK;EACtE,IAAIA,KAAK,KAAK,SAAS,EAAE;IACtB,OAAOX,KAAK,CAACY,MAAM,CAACC,MAAM;EAC7B;EACA,OAAOF,KAAK,KAAK,SAAS,GAAGX,KAAK,CAACY,MAAM,CAACE,KAAK,GAAGd,KAAK,CAACY,MAAM,CAACG,MAAM;AACxE,CAAC;AAED,OAAO,MAAMC,YAAY,GAAGA,CAAChB,KAAgB,EAAEW,KAAiB,MAAM;EACnEM,WAAW,EAAEjB,KAAK,CAACE,UAAU,CAACC,SAAS,EAAEc,WAAW,IAAIjB,KAAK,CAACK,KAAK,CAACY,WAAW;EAC/EC,YAAY,EAAEX,WAAW,CAACP,KAAK,CAAC;EAChCmB,WAAW,EAAET,gBAAgB,CAACV,KAAK,EAAEW,KAAK,CAAC;EAC3CS,eAAe,EACZT,KAAK,KAAK,UAAU,GACfX,KAAK,CAACY,MAAM,CAACS,aAAa,GACzBrB,KAAK,CAACE,UAAU,CAACC,SAAS,EAAEmB,UAAU,IAAItB,KAAK,CAACY,MAAM,CAACW,OAAQ;EACxEC,OAAO,EAAEtC,eAAe,CAACc,KAAK,EAAEW,KAAK,KAAK,UAAU;AACvD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { Button } from "./Button.js";
|
|
4
|
+
export { buttonColors } from "./buttonColors.js";
|
|
5
|
+
export { DefaultIcon, hasDefaultGlyph } from "./DefaultIcon.js";
|
|
6
|
+
export { Icon, renderIcon, renderIconGlyph, resolveIconSize } from "./Icon.js";
|
|
7
|
+
export { IconButton } from "./IconButton.js";
|
|
8
|
+
export { Screen } from "./Screen.js";
|
|
9
|
+
export { Spinner } from "./Spinner.js";
|
|
10
|
+
export { Stack } from "./Stack.js";
|
|
11
|
+
export { Text, textToneColor } from "./Text.js";
|
|
12
|
+
export { TextField } from "./TextField.js";
|
|
13
|
+
export { Touchable } from "./Touchable.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Button","buttonColors","DefaultIcon","hasDefaultGlyph","Icon","renderIcon","renderIconGlyph","resolveIconSize","IconButton","Screen","Spinner","Stack","Text","textToneColor","TextField","Touchable"],"sourceRoot":"../../../../src","sources":["components/core/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU;AAEjC,SAASC,YAAY,QAAQ,mBAAgB;AAE7C,SAASC,WAAW,EAAEC,eAAe,QAAQ,kBAAe;AAC5D,SAASC,IAAI,EAAEC,UAAU,EAAEC,eAAe,EAAEC,eAAe,QAAQ,WAAQ;AAE3E,SAASC,UAAU,QAAQ,iBAAc;AAEzC,SAASC,MAAM,QAAQ,aAAU;AAEjC,SAASC,OAAO,QAAQ,cAAW;AAEnC,SAASC,KAAK,QAAQ,YAAS;AAE/B,SAASC,IAAI,EAAEC,aAAa,QAAQ,WAAQ;AAE5C,SAASC,SAAS,QAAQ,gBAAa;AAEvC,SAASC,SAAS,QAAQ,gBAAa","ignoreList":[]}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { Image, View } from 'react-native';
|
|
5
|
+
import { StyleSheet } from 'react-native-unistyles';
|
|
6
|
+
import { toneColors } from "../../theme/tones.js";
|
|
7
|
+
import { Text } from "../core/Text.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const defaultSizes = {
|
|
10
|
+
xs: 24,
|
|
11
|
+
sm: 32,
|
|
12
|
+
md: 40,
|
|
13
|
+
lg: 56,
|
|
14
|
+
xl: 80
|
|
15
|
+
};
|
|
16
|
+
const avatarTones = ['primary', 'success', 'warning', 'info', 'danger', 'secondary'];
|
|
17
|
+
export const avatarDimension = (theme, size) => typeof size === 'number' ? size : theme.components.avatar?.sizes?.[size] ?? defaultSizes[size];
|
|
18
|
+
export const initialsFor = name => name.trim().split(/\s+/).filter(Boolean).slice(0, 2).map(part => part.charAt(0).toUpperCase()).join('');
|
|
19
|
+
const toneForName = name => {
|
|
20
|
+
const hash = Array.from(name).reduce((sum, char) => sum + char.charCodeAt(0), 0);
|
|
21
|
+
return avatarTones[hash % avatarTones.length] ?? 'primary';
|
|
22
|
+
};
|
|
23
|
+
export const Avatar = ({
|
|
24
|
+
ref,
|
|
25
|
+
source,
|
|
26
|
+
name,
|
|
27
|
+
fallback,
|
|
28
|
+
size = 'md',
|
|
29
|
+
tone,
|
|
30
|
+
accessibilityLabel,
|
|
31
|
+
style,
|
|
32
|
+
styles
|
|
33
|
+
}) => {
|
|
34
|
+
const sourceKey = source === undefined ? '' : JSON.stringify(source);
|
|
35
|
+
const [failedKey, setFailedKey] = useState(null);
|
|
36
|
+
const showImage = source !== undefined && failedKey !== sourceKey;
|
|
37
|
+
const resolvedTone = tone ?? (name ? toneForName(name) : 'neutral');
|
|
38
|
+
const initials = name ? initialsFor(name) : '';
|
|
39
|
+
return /*#__PURE__*/_jsx(View, {
|
|
40
|
+
ref: ref,
|
|
41
|
+
accessible: true,
|
|
42
|
+
accessibilityRole: "image",
|
|
43
|
+
accessibilityLabel: accessibilityLabel ?? name,
|
|
44
|
+
style: [stylesheet.container(size, resolvedTone), style, styles?.container],
|
|
45
|
+
children: showImage ? /*#__PURE__*/_jsx(Image, {
|
|
46
|
+
source: source,
|
|
47
|
+
onError: () => setFailedKey(sourceKey),
|
|
48
|
+
resizeMode: "cover",
|
|
49
|
+
style: [stylesheet.image, styles?.image]
|
|
50
|
+
}) : initials ? /*#__PURE__*/_jsx(Text, {
|
|
51
|
+
variant: "label",
|
|
52
|
+
weight: "semibold",
|
|
53
|
+
style: [stylesheet.initials(size, resolvedTone), styles?.initials],
|
|
54
|
+
children: initials
|
|
55
|
+
}) : fallback
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
const stylesheet = StyleSheet.create(theme => ({
|
|
59
|
+
container: (size, tone) => ({
|
|
60
|
+
width: avatarDimension(theme, size),
|
|
61
|
+
height: avatarDimension(theme, size),
|
|
62
|
+
borderRadius: theme.radius.full,
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
justifyContent: 'center',
|
|
65
|
+
overflow: 'hidden',
|
|
66
|
+
backgroundColor: toneColors(theme, tone).soft
|
|
67
|
+
}),
|
|
68
|
+
image: {
|
|
69
|
+
width: '100%',
|
|
70
|
+
height: '100%'
|
|
71
|
+
},
|
|
72
|
+
initials: (size, tone) => ({
|
|
73
|
+
color: toneColors(theme, tone).text,
|
|
74
|
+
fontSize: Math.round(avatarDimension(theme, size) * 0.38),
|
|
75
|
+
lineHeight: Math.round(avatarDimension(theme, size) * 0.5)
|
|
76
|
+
})
|
|
77
|
+
}));
|
|
78
|
+
//# sourceMappingURL=Avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","Image","View","StyleSheet","toneColors","Text","jsx","_jsx","defaultSizes","xs","sm","md","lg","xl","avatarTones","avatarDimension","theme","size","components","avatar","sizes","initialsFor","name","trim","split","filter","Boolean","slice","map","part","charAt","toUpperCase","join","toneForName","hash","Array","from","reduce","sum","char","charCodeAt","length","Avatar","ref","source","fallback","tone","accessibilityLabel","style","styles","sourceKey","undefined","JSON","stringify","failedKey","setFailedKey","showImage","resolvedTone","initials","accessible","accessibilityRole","stylesheet","container","children","onError","resizeMode","image","variant","weight","create","width","height","borderRadius","radius","full","alignItems","justifyContent","overflow","backgroundColor","soft","color","text","fontSize","Math","round","lineHeight"],"sourceRoot":"../../../../src","sources":["components/display/Avatar.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAEhC,SAASC,KAAK,E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-native-unistyles';
|
|
5
|
+
import { Avatar, avatarDimension } from "./Avatar.js";
|
|
6
|
+
import { Text } from "../core/Text.js";
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
export const AvatarGroup = ({
|
|
9
|
+
ref,
|
|
10
|
+
items,
|
|
11
|
+
max = 4,
|
|
12
|
+
size = 'md',
|
|
13
|
+
overlap = 0.3,
|
|
14
|
+
style
|
|
15
|
+
}) => {
|
|
16
|
+
const visible = items.slice(0, max);
|
|
17
|
+
const hidden = items.length - visible.length;
|
|
18
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
19
|
+
ref: ref,
|
|
20
|
+
accessible: true,
|
|
21
|
+
accessibilityLabel: items.map(item => item.name).filter(Boolean).join(', '),
|
|
22
|
+
style: [stylesheet.container, style],
|
|
23
|
+
children: [visible.map((item, index) => /*#__PURE__*/_jsx(View, {
|
|
24
|
+
style: stylesheet.item(size, index === 0, overlap),
|
|
25
|
+
children: /*#__PURE__*/_jsx(Avatar, {
|
|
26
|
+
...item,
|
|
27
|
+
size: size
|
|
28
|
+
})
|
|
29
|
+
}, item.name ?? index)), hidden > 0 ? /*#__PURE__*/_jsx(View, {
|
|
30
|
+
style: stylesheet.item(size, false, overlap),
|
|
31
|
+
children: /*#__PURE__*/_jsx(Avatar, {
|
|
32
|
+
size: size,
|
|
33
|
+
tone: "neutral",
|
|
34
|
+
fallback: /*#__PURE__*/_jsx(Text, {
|
|
35
|
+
variant: "caption",
|
|
36
|
+
weight: "semibold",
|
|
37
|
+
children: `+${hidden}`
|
|
38
|
+
})
|
|
39
|
+
})
|
|
40
|
+
}) : null]
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
const stylesheet = StyleSheet.create(theme => ({
|
|
44
|
+
container: {
|
|
45
|
+
flexDirection: 'row',
|
|
46
|
+
alignSelf: 'flex-start'
|
|
47
|
+
},
|
|
48
|
+
item: (size, first, overlap) => ({
|
|
49
|
+
marginLeft: first ? 0 : -avatarDimension(theme, size) * overlap,
|
|
50
|
+
borderRadius: theme.radius.full,
|
|
51
|
+
borderWidth: theme.sizes.borderWidth * 2,
|
|
52
|
+
borderColor: theme.colors.background
|
|
53
|
+
})
|
|
54
|
+
}));
|
|
55
|
+
//# sourceMappingURL=AvatarGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","StyleSheet","Avatar","avatarDimension","Text","jsx","_jsx","jsxs","_jsxs","AvatarGroup","ref","items","max","size","overlap","style","visible","slice","hidden","length","accessible","accessibilityLabel","map","item","name","filter","Boolean","join","stylesheet","container","children","index","tone","fallback","variant","weight","create","theme","flexDirection","alignSelf","first","marginLeft","borderRadius","radius","full","borderWidth","sizes","borderColor","colors","background"],"sourceRoot":"../../../../src","sources":["components/display/AvatarGroup.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,MAAM,EAAEC,eAAe,QAAQ,aAAU;AAElD,SAASC,IAAI,QAAQ,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAWnC,OAAO,MAAMC,WAAW,GAAGA,CAAC;EACzBC,GAAG;EACHC,KAAK;EACLC,GAAG,GAAG,CAAC;EACPC,IAAI,GAAG,IAAI;EACXC,OAAO,GAAG,GAAG;EACbC;AACe,CAAC,KAAK;EACrB,MAAMC,OAAO,GAAGL,KAAK,CAACM,KAAK,CAAC,CAAC,EAAEL,GAAG,CAAC;EACnC,MAAMM,MAAM,GAAGP,KAAK,CAACQ,MAAM,GAAGH,OAAO,CAACG,MAAM;EAE5C,oBACGX,KAAA,CAACR,IAAI;IACFU,GAAG,EAAEA,GAAI;IACTU,UAAU;IACVC,kBAAkB,EAAEV,KAAK,CACrBW,GAAG,CAAEC,IAAI,IAAKA,IAAI,CAACC,IAAI,CAAC,CACxBC,MAAM,CAACC,OAAO,CAAC,CACfC,IAAI,CAA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AER,KAAK,CAACS,KAAK,CAACD,WAAW,GAAG,CAAC;IACxCE,WAAW,EAAEV,KAAK,CAACW,MAAM,CAACC;EAC7B,CAAC;AACJ,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { StyleSheet } from 'react-native-unistyles';
|
|
5
|
+
import { toneColors } from "../../theme/tones.js";
|
|
6
|
+
import { countLabel } from "../../utils/math.js";
|
|
7
|
+
import { Text } from "../core/Text.js";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
const badgeHeight = (theme, size) => theme.components.badge?.height?.[size] ?? theme.sizes.icon[size] + 4;
|
|
10
|
+
const dotSize = (theme, size) => Math.round(theme.sizes.icon[size] / 2);
|
|
11
|
+
export const Badge = ({
|
|
12
|
+
ref,
|
|
13
|
+
children,
|
|
14
|
+
count,
|
|
15
|
+
max = 99,
|
|
16
|
+
showZero = false,
|
|
17
|
+
dot = false,
|
|
18
|
+
tone = 'primary',
|
|
19
|
+
variant = 'solid',
|
|
20
|
+
size = 'md',
|
|
21
|
+
accessibilityLabel,
|
|
22
|
+
style,
|
|
23
|
+
styles
|
|
24
|
+
}) => {
|
|
25
|
+
const content = count !== undefined ? countLabel(count, max) : children;
|
|
26
|
+
if (dot) {
|
|
27
|
+
return /*#__PURE__*/_jsx(View, {
|
|
28
|
+
ref: ref,
|
|
29
|
+
accessible: true,
|
|
30
|
+
accessibilityLabel: accessibilityLabel,
|
|
31
|
+
style: [stylesheet.dot(size, tone), style, styles?.container]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
if (count === 0 && !showZero && !children) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
if (content === undefined) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return /*#__PURE__*/_jsx(View, {
|
|
41
|
+
ref: ref,
|
|
42
|
+
accessible: true,
|
|
43
|
+
accessibilityLabel: accessibilityLabel ?? content,
|
|
44
|
+
style: [stylesheet.container(size, tone, variant), style, styles?.container],
|
|
45
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
46
|
+
variant: "caption",
|
|
47
|
+
weight: "semibold",
|
|
48
|
+
numberOfLines: 1,
|
|
49
|
+
style: [stylesheet.label(size, tone, variant), styles?.label],
|
|
50
|
+
children: content
|
|
51
|
+
})
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
const stylesheet = StyleSheet.create(theme => ({
|
|
55
|
+
container: (size, tone, variant) => ({
|
|
56
|
+
alignSelf: 'flex-start',
|
|
57
|
+
alignItems: 'center',
|
|
58
|
+
justifyContent: 'center',
|
|
59
|
+
minWidth: badgeHeight(theme, size),
|
|
60
|
+
height: badgeHeight(theme, size),
|
|
61
|
+
paddingHorizontal: theme.space(0.75),
|
|
62
|
+
borderRadius: theme.components.badge?.radius ?? theme.radius.full,
|
|
63
|
+
backgroundColor: variant === 'solid' ? toneColors(theme, tone).solid : toneColors(theme, tone).soft
|
|
64
|
+
}),
|
|
65
|
+
dot: (size, tone) => ({
|
|
66
|
+
width: dotSize(theme, size),
|
|
67
|
+
height: dotSize(theme, size),
|
|
68
|
+
borderRadius: theme.radius.full,
|
|
69
|
+
backgroundColor: toneColors(theme, tone).solid
|
|
70
|
+
}),
|
|
71
|
+
label: (size, tone, variant) => ({
|
|
72
|
+
color: variant === 'solid' ? toneColors(theme, tone).on : toneColors(theme, tone).text,
|
|
73
|
+
fontSize: size === 'sm' ? theme.typography.variants.caption.fontSize - 1 : theme.typography.variants.caption.fontSize,
|
|
74
|
+
lineHeight: badgeHeight(theme, size) - 2
|
|
75
|
+
})
|
|
76
|
+
}));
|
|
77
|
+
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","StyleSheet","toneColors","countLabel","Text","jsx","_jsx","badgeHeight","theme","size","components","badge","height","sizes","icon","dotSize","Math","round","Badge","ref","children","count","max","showZero","dot","tone","variant","accessibilityLabel","style","styles","content","undefined","accessible","stylesheet","container","weight","numberOfLines","label","create","alignSelf","alignItems","justifyContent","minWidth","paddingHorizontal","space","borderRadius","radius","full","backgroundColor","solid","soft","width","color","on","text","fontSize","typography","variants","caption","lineHeight"],"sourceRoot":"../../../../src","sources":["components/display/Badge.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,UAAU,QAAQ,wBAAwB;AACnD,SAASC,UAAU,QAAQ,sBAAmB;AAE9C,SAASC,UAAU,QAAQ,qBAAkB;AAE7C,SAASC,IAAI,QAAQ,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA;AA8BnC,MAAMC,WAAW,GAAGA,CAACC,KAAgB,EAAEC,IAAiB,KACrDD,KAAK,CAACE,UAAU,CAACC,KAAK,EAAEC,MAAM,GAAGH,IAAI,CAAC,IAAID,KAAK,CAACK,KAAK,CAACC,IAAI,CAACL,IAAI,CAAC,GAAG,CAAC;AAEvE,MAAMM,OAAO,GAAGA,CAACP,KAAgB,EAAEC,IAAiB,KAAKO,IAAI,CAACC,KAAK,CAACT,KAAK,CAACK,KAAK,CAACC,IAAI,CAACL,IAAI,CAAC,GAAG,CAAC,CAAC;AAE/F,OAAO,MAAMS,KAAK,GAAGA,CAAC;EACnBC,GAAG;EACHC,QAAQ;EACRC,KAAK;EACLC,GAAG,GAAG,EAAE;EACRC,QAAQ,GAAG,KAAK;EAChBC,GAAG,GAAG,KAAK;EACXC,IAAI,GAAG,SAAS;EAChBC,OAAO,GAAG,OAAO;EACjBjB,IAAI,GAAG,IAAI;EACXkB,kBAAkB;EAClBC,KAAK;EACLC;AACS,CAAC,KAAK;EACf,MAAMC,OAAO,GAAGT,KAAK,KAAKU,SAAS,GAAG5B,UAAU,CAACkB,KAAK,EAAEC,GAAG,CAAC,GAAGF,QAAQ;EAEvE,IAAII,GAAG,EAAE;IACN,oBACGlB,IAAA,CAACN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 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { StyleSheet, useUnistyles } from 'react-native-unistyles';
|
|
5
|
+
import { toneColors } from "../../theme/tones.js";
|
|
6
|
+
import { statusIcon } from "../../utils/statusIcon.js";
|
|
7
|
+
import { IconButton } from "../core/IconButton.js";
|
|
8
|
+
import { renderIcon } from "../core/Icon.js";
|
|
9
|
+
import { Text } from "../core/Text.js";
|
|
10
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
+
export const Banner = ({
|
|
12
|
+
ref,
|
|
13
|
+
tone = 'info',
|
|
14
|
+
title,
|
|
15
|
+
message,
|
|
16
|
+
children,
|
|
17
|
+
icon,
|
|
18
|
+
action,
|
|
19
|
+
onDismiss,
|
|
20
|
+
dismissLabel = 'Dismiss',
|
|
21
|
+
style,
|
|
22
|
+
styles
|
|
23
|
+
}) => {
|
|
24
|
+
const {
|
|
25
|
+
theme
|
|
26
|
+
} = useUnistyles();
|
|
27
|
+
const colors = toneColors(theme, tone);
|
|
28
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
29
|
+
ref: ref,
|
|
30
|
+
accessibilityRole: "alert",
|
|
31
|
+
accessibilityLiveRegion: "polite",
|
|
32
|
+
style: [stylesheet.container(tone), style, styles?.container],
|
|
33
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
34
|
+
style: [stylesheet.icon, styles?.icon],
|
|
35
|
+
children: renderIcon(icon ?? statusIcon(tone) ?? 'info', {
|
|
36
|
+
size: 'md',
|
|
37
|
+
color: colors.text
|
|
38
|
+
})
|
|
39
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
40
|
+
style: [stylesheet.content, styles?.content],
|
|
41
|
+
children: [title ? /*#__PURE__*/_jsx(Text, {
|
|
42
|
+
variant: "label",
|
|
43
|
+
weight: "semibold",
|
|
44
|
+
style: [stylesheet.title(tone), styles?.title],
|
|
45
|
+
children: title
|
|
46
|
+
}) : null, message ? /*#__PURE__*/_jsx(Text, {
|
|
47
|
+
variant: "caption",
|
|
48
|
+
tone: "default",
|
|
49
|
+
style: styles?.message,
|
|
50
|
+
children: message
|
|
51
|
+
}) : null, children, action ? /*#__PURE__*/_jsx(View, {
|
|
52
|
+
style: [stylesheet.action, styles?.action],
|
|
53
|
+
children: action
|
|
54
|
+
}) : null]
|
|
55
|
+
}), onDismiss ? /*#__PURE__*/_jsx(IconButton, {
|
|
56
|
+
icon: "close",
|
|
57
|
+
size: "sm",
|
|
58
|
+
tone: tone,
|
|
59
|
+
accessibilityLabel: dismissLabel,
|
|
60
|
+
onPress: onDismiss,
|
|
61
|
+
style: styles?.dismiss
|
|
62
|
+
}) : null]
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
const stylesheet = StyleSheet.create(theme => ({
|
|
66
|
+
container: tone => ({
|
|
67
|
+
flexDirection: 'row',
|
|
68
|
+
alignItems: 'flex-start',
|
|
69
|
+
gap: theme.space(1.25),
|
|
70
|
+
padding: theme.space(1.5),
|
|
71
|
+
borderRadius: theme.radius.md,
|
|
72
|
+
borderWidth: theme.sizes.borderWidth,
|
|
73
|
+
borderColor: toneColors(theme, tone).text,
|
|
74
|
+
backgroundColor: toneColors(theme, tone).soft
|
|
75
|
+
}),
|
|
76
|
+
icon: {
|
|
77
|
+
paddingTop: 1
|
|
78
|
+
},
|
|
79
|
+
content: {
|
|
80
|
+
flex: 1,
|
|
81
|
+
gap: theme.space(0.5)
|
|
82
|
+
},
|
|
83
|
+
title: tone => ({
|
|
84
|
+
color: toneColors(theme, tone).text
|
|
85
|
+
}),
|
|
86
|
+
action: {
|
|
87
|
+
alignSelf: 'flex-start',
|
|
88
|
+
marginTop: theme.space(0.5)
|
|
89
|
+
}
|
|
90
|
+
}));
|
|
91
|
+
//# sourceMappingURL=Banner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","StyleSheet","useUnistyles","toneColors","statusIcon","IconButton","renderIcon","Text","jsx","_jsx","jsxs","_jsxs","Banner","ref","tone","title","message","children","icon","action","onDismiss","dismissLabel","style","styles","theme","colors","accessibilityRole","accessibilityLiveRegion","stylesheet","container","size","color","text","content","variant","weight","accessibilityLabel","onPress","dismiss","create","flexDirection","alignItems","gap","space","padding","borderRadius","radius","md","borderWidth","sizes","borderColor","backgroundColor","soft","paddingTop","flex","alignSelf","marginTop"],"sourceRoot":"../../../../src","sources":["components/display/Banner.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASC,UAAU,EAAEC,YAAY,QAAQ,wBAAwB;AACjE,SAASC,UAAU,QAAQ,sBAAmB;AAE9C,SAASC,UAAU,QAAQ,2BAAwB;AAEnD,SAASC,UAAU,QAAQ,uBAAoB;AAC/C,SAASC,UAAU,QAAQ,iBAAc;AACzC,SAASC,IAAI,QAAQ,iBAAc;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA0BnC,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACpBC,GAAG;EACHC,IAAI,GAAG,MAAM;EACbC,KAAK;EACLC,OAAO;EACPC,QAAQ;EACRC,IAAI;EACJC,MAAM;EACNC,SAAS;EACTC,YAAY,GAAG,SAAS;EACxBC,KAAK;EACLC;AACU,CAAC,KAAK;EAChB,MAAM;IAAEC;EAAM,CAAC,GAAGtB,YAAY,CAAC,CAAC;EAChC,MAAMuB,MAAM,GAAGtB,UAAU,CAACqB,KAAK,EAAEV,IAAI,CAAC;EAEtC,oBACGH,KAAA,CAACX,IAAI;IACFa,GAAG,EAAEA,GAAI;IACTa,iBAAiB,EAAC,OAAO;IACzBC,uBAAuB,EAAC,QAAQ;IAChCL,KAAK,EAAE,CAACM,UAAU,CAACC,SAAS,CAACf,IAAI,CAAC,EAAEQ,KAAK,EAAEC,MAAM,EAAEM,SAAS,CAAE;IAAAZ,QAAA,gBAE9DR,IAAA,CAACT,IAAI;MAACsB,KAAK,EAAE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AAU,GAAG3B,UAAU,CAACsC,MAAM,CAAEf,KAAK,KAAM;EAC9CK,SAAS,EAAGf,IAAU,KAAM;IACzB0B,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,YAAY;IACxBC,GAAG,EAAElB,KAAK,CAACmB,KAAK,CAAC,IAAI,CAAC;IACtBC,OAAO,EAAEpB,KAAK,CAACmB,KAAK,CAAC,GAAG,CAAC;IACzBE,YAAY,EAAErB,KAAK,CAACsB,MAAM,CAACC,EAAE;IAC7BC,WAAW,EAAExB,KAAK,CAACyB,KAAK,CAACD,WAAW;IACpCE,WAAW,EAAE/C,UAAU,CAACqB,KAAK,EAAEV,IAAI,CAAC,CAACkB,IAAI;IACzCmB,eAAe,EAAEhD,UAAU,CAACqB,KAAK,EAAEV,IAAI,CAAC,CAACsC;EAC5C,CAAC,CAAC;EACFlC,IAAI,EAAE;IACHmC,UAAU,EAAE;EACf,CAAC;EACDpB,OAAO,EAAE;IACNqB,IAAI,EAAE,CAAC;IACPZ,GAAG,EAAElB,KAAK,CAACmB,KAAK,CAAC,GAAG;EACvB,CAAC;EACD5B,KAAK,EAAGD,IAAU,KAAM;IACrBiB,KAAK,EAAE5B,UAAU,CAACqB,KAAK,EAAEV,IAAI,CAAC,CAACkB;EAClC,CAAC,CAAC;EACFb,MAAM,EAAE;IACLoC,SAAS,EAAE,YAAY;IACvBC,SAAS,EAAEhC,KAAK,CAACmB,KAAK,CAAC,GAAG;EAC7B;AACH,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { View } from 'react-native';
|
|
4
|
+
import { StyleSheet } from 'react-native-unistyles';
|
|
5
|
+
import { disabledOpacity, nativeShadow } from "../../utils/styles.js";
|
|
6
|
+
import { Touchable } from "../core/Touchable.js";
|
|
7
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
const elevatedShadow = theme => ({
|
|
9
|
+
opacity: theme.dark ? 0.4 : 0.08,
|
|
10
|
+
radius: 8,
|
|
11
|
+
offsetY: 2
|
|
12
|
+
});
|
|
13
|
+
const flatShadow = {
|
|
14
|
+
opacity: 0,
|
|
15
|
+
radius: 0,
|
|
16
|
+
offsetY: 0,
|
|
17
|
+
elevation: 0
|
|
18
|
+
};
|
|
19
|
+
const cardPadding = theme => theme.components.card?.padding ?? theme.space(2);
|
|
20
|
+
export const Card = ({
|
|
21
|
+
ref,
|
|
22
|
+
children,
|
|
23
|
+
header,
|
|
24
|
+
footer,
|
|
25
|
+
variant = 'elevated',
|
|
26
|
+
padded = true,
|
|
27
|
+
onPress,
|
|
28
|
+
disabled = false,
|
|
29
|
+
accessibilityLabel,
|
|
30
|
+
accessibilityHint,
|
|
31
|
+
style,
|
|
32
|
+
styles
|
|
33
|
+
}) => {
|
|
34
|
+
const body = /*#__PURE__*/_jsxs(_Fragment, {
|
|
35
|
+
children: [header ? /*#__PURE__*/_jsx(View, {
|
|
36
|
+
style: [stylesheet.section(padded), styles?.header],
|
|
37
|
+
children: header
|
|
38
|
+
}) : null, /*#__PURE__*/_jsx(View, {
|
|
39
|
+
style: [stylesheet.content(padded), styles?.content],
|
|
40
|
+
children: children
|
|
41
|
+
}), footer ? /*#__PURE__*/_jsx(View, {
|
|
42
|
+
style: [stylesheet.section(padded), styles?.footer],
|
|
43
|
+
children: footer
|
|
44
|
+
}) : null]
|
|
45
|
+
});
|
|
46
|
+
if (onPress) {
|
|
47
|
+
return /*#__PURE__*/_jsx(Touchable, {
|
|
48
|
+
ref: ref,
|
|
49
|
+
accessibilityRole: "button",
|
|
50
|
+
accessibilityLabel: accessibilityLabel,
|
|
51
|
+
accessibilityHint: accessibilityHint,
|
|
52
|
+
disabled: disabled,
|
|
53
|
+
onPress: onPress,
|
|
54
|
+
pressScale: 0.985,
|
|
55
|
+
style: [stylesheet.container(variant, disabled), style, styles?.container],
|
|
56
|
+
children: body
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return /*#__PURE__*/_jsx(View, {
|
|
60
|
+
ref: ref,
|
|
61
|
+
accessibilityLabel: accessibilityLabel,
|
|
62
|
+
style: [stylesheet.container(variant, disabled), style, styles?.container],
|
|
63
|
+
children: body
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
const stylesheet = StyleSheet.create(theme => ({
|
|
67
|
+
container: (variant, disabled) => ({
|
|
68
|
+
borderRadius: theme.components.card?.radius ?? theme.radius.lg,
|
|
69
|
+
backgroundColor: variant === 'filled' ? theme.colors.surfaceSunken : theme.colors.surfaceRaised,
|
|
70
|
+
borderWidth: variant === 'outline' ? theme.sizes.borderWidth : 0,
|
|
71
|
+
borderColor: theme.colors.border,
|
|
72
|
+
...nativeShadow(theme, variant === 'elevated' ? elevatedShadow(theme) : flatShadow),
|
|
73
|
+
opacity: disabledOpacity(theme, disabled)
|
|
74
|
+
}),
|
|
75
|
+
section: padded => ({
|
|
76
|
+
paddingHorizontal: padded ? cardPadding(theme) : 0,
|
|
77
|
+
paddingVertical: padded ? cardPadding(theme) / 2 : 0
|
|
78
|
+
}),
|
|
79
|
+
content: padded => ({
|
|
80
|
+
padding: padded ? cardPadding(theme) : 0,
|
|
81
|
+
gap: theme.space(1)
|
|
82
|
+
})
|
|
83
|
+
}));
|
|
84
|
+
//# sourceMappingURL=Card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","StyleSheet","disabledOpacity","nativeShadow","Touchable","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","elevatedShadow","theme","opacity","dark","radius","offsetY","flatShadow","elevation","cardPadding","components","card","padding","space","Card","ref","children","header","footer","variant","padded","onPress","disabled","accessibilityLabel","accessibilityHint","style","styles","body","stylesheet","section","content","accessibilityRole","pressScale","container","create","borderRadius","lg","backgroundColor","colors","surfaceSunken","surfaceRaised","borderWidth","sizes","borderColor","border","paddingHorizontal","paddingVertical","gap"],"sourceRoot":"../../../../src","sources":["components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