@webority/mobile-ui 0.146.2 → 0.148.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/dist/canvas-kit/kit.js +4527 -4326
- package/dist/canvas-kit/manifest.json +8 -1
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/AppBar/AppBar.js +1 -1
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/commonjs/components/AuthedImage/imageStore.js +1 -1
- package/lib/commonjs/components/AuthedImage/imageStore.web.js +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +1 -1
- package/lib/commonjs/components/Badge/Badge.js +1 -1
- package/lib/commonjs/components/Banner/Banner.js +1 -1
- package/lib/commonjs/components/BarChart/BarChart.js +1 -1
- package/lib/commonjs/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/Box/Box.js +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Calendar/Calendar.js +1 -1
- package/lib/commonjs/components/Carousel/Carousel.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/Confetti/Confetti.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +1 -1
- package/lib/commonjs/components/FieldBase/Chevron.js +1 -1
- package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
- package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/FormField/FormField.js +1 -1
- package/lib/commonjs/components/Input/Input.js +1 -1
- package/lib/commonjs/components/ListItem/ListItem.js +1 -1
- package/lib/commonjs/components/LoaderOverlay/LoaderOverlay.js +1 -1
- package/lib/commonjs/components/Markdown/Markdown.js +1 -1
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +1 -1
- package/lib/commonjs/components/Modal/Modal.js +1 -1
- package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/commonjs/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/commonjs/components/Radio/RadioDot.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/RichTextEditor/RichTextEditor.js +1 -1
- package/lib/commonjs/components/RichTextEditor/markdownActions.js +1 -1
- package/lib/commonjs/components/ScannerOverlay/ScannerOverlay.js +1 -1
- package/lib/commonjs/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/commonjs/components/SignaturePad/SignaturePad.js +1 -1
- package/lib/commonjs/components/SignaturePad/signatureGeometry.js +1 -1
- package/lib/commonjs/components/SignaturePad/writePng.js +1 -1
- package/lib/commonjs/components/SignaturePad/writePng.web.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonClock.js +1 -1
- package/lib/commonjs/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/commonjs/components/Slider/valueText.js +1 -1
- package/lib/commonjs/components/Sparkline/Sparkline.js +1 -1
- package/lib/commonjs/components/Sparkline/geometry.js +1 -1
- package/lib/commonjs/components/Spinner/Spinner.js +1 -1
- package/lib/commonjs/components/Stepper/Stepper.js +1 -1
- package/lib/commonjs/components/Switch/Switch.js +1 -1
- package/lib/commonjs/components/Tabs/Tabs.js +1 -1
- package/lib/commonjs/components/TagInput/TagInput.js +1 -1
- package/lib/commonjs/components/Text/Text.js +1 -1
- package/lib/commonjs/components/Toast/Toast.js +1 -1
- package/lib/commonjs/components/Toast/ToastProvider.js +1 -1
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/components/Tour/Tour.js +1 -1
- package/lib/commonjs/components/WheelPicker/Wheel.js +1 -1
- package/lib/commonjs/form/path.js +1 -1
- package/lib/commonjs/hooks/useDragToDismiss.js +1 -1
- package/lib/commonjs/hooks/usePressAnimation.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/network/NetworkStatusBanner.js +1 -1
- package/lib/commonjs/theme/Gradient.js +1 -1
- package/lib/commonjs/theme/animatedValue.js +1 -1
- package/lib/commonjs/theme/componentSizes.js +1 -1
- package/lib/commonjs/theme/merge.js +1 -1
- package/lib/commonjs/theme/toneInk.js +1 -1
- package/lib/commonjs/utils/color.js +1 -1
- package/lib/commonjs/utils/nativeDriver.js +1 -0
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/module/components/AuthedImage/imageStore.js +1 -1
- package/lib/module/components/AuthedImage/imageStore.web.js +1 -1
- package/lib/module/components/Avatar/Avatar.js +1 -1
- package/lib/module/components/Badge/Badge.js +1 -1
- package/lib/module/components/Banner/Banner.js +1 -1
- package/lib/module/components/BarChart/BarChart.js +1 -1
- package/lib/module/components/BottomNavigation/BottomNavigation.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/Box/Box.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Calendar/Calendar.js +1 -1
- package/lib/module/components/Carousel/Carousel.js +1 -1
- package/lib/module/components/Checkbox/Checkbox.js +1 -1
- package/lib/module/components/Confetti/Confetti.js +1 -1
- package/lib/module/components/DatePicker/DatePicker.js +1 -1
- package/lib/module/components/Drawer/Drawer.js +1 -1
- package/lib/module/components/FieldBase/Chevron.js +1 -1
- package/lib/module/components/FieldBase/FieldBase.js +1 -1
- package/lib/module/components/FilePicker/FilePicker.js +1 -1
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/FormField/FormField.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/ListItem/ListItem.js +1 -1
- package/lib/module/components/LoaderOverlay/LoaderOverlay.js +1 -1
- package/lib/module/components/Markdown/Markdown.js +1 -1
- package/lib/module/components/Menu/MenuSurface.js +1 -1
- package/lib/module/components/MessageList/MessageList.js +1 -1
- package/lib/module/components/Modal/Modal.js +1 -1
- package/lib/module/components/OTPInput/OTPInput.js +1 -1
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/module/components/ProfilePicker/ProfilePicker.js +1 -1
- package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/module/components/Radio/RadioDot.js +1 -1
- package/lib/module/components/Rating/Rating.js +1 -1
- package/lib/module/components/RichTextEditor/RichTextEditor.js +1 -1
- package/lib/module/components/RichTextEditor/markdownActions.js +1 -1
- package/lib/module/components/ScannerOverlay/ScannerOverlay.js +1 -1
- package/lib/module/components/SegmentedControl/SegmentedControl.js +1 -1
- package/lib/module/components/SignaturePad/SignaturePad.js +1 -1
- package/lib/module/components/SignaturePad/signatureGeometry.js +1 -1
- package/lib/module/components/SignaturePad/writePng.js +1 -1
- package/lib/module/components/SignaturePad/writePng.web.js +1 -1
- package/lib/module/components/Skeleton/SkeletonClock.js +1 -1
- package/lib/module/components/Skeleton/SkeletonContent.js +1 -1
- package/lib/module/components/Slider/valueText.js +1 -1
- package/lib/module/components/Sparkline/Sparkline.js +1 -1
- package/lib/module/components/Sparkline/geometry.js +1 -1
- package/lib/module/components/Spinner/Spinner.js +1 -1
- package/lib/module/components/Stepper/Stepper.js +1 -1
- package/lib/module/components/Switch/Switch.js +1 -1
- package/lib/module/components/Tabs/Tabs.js +1 -1
- package/lib/module/components/TagInput/TagInput.js +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Toast/Toast.js +1 -1
- package/lib/module/components/Toast/ToastProvider.js +1 -1
- package/lib/module/components/Tooltip/Tooltip.js +1 -1
- package/lib/module/components/Tour/Tour.js +1 -1
- package/lib/module/components/WheelPicker/Wheel.js +1 -1
- package/lib/module/form/path.js +1 -1
- package/lib/module/hooks/useDragToDismiss.js +1 -1
- package/lib/module/hooks/usePressAnimation.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/network/NetworkStatusBanner.js +1 -1
- package/lib/module/theme/Gradient.js +1 -1
- package/lib/module/theme/animatedValue.js +1 -1
- package/lib/module/theme/componentSizes.js +1 -1
- package/lib/module/theme/merge.js +1 -1
- package/lib/module/theme/toneInk.js +1 -1
- package/lib/module/utils/color.js +1 -1
- package/lib/module/utils/nativeDriver.js +1 -0
- package/lib/typescript/commonjs/canvasKit/index.d.ts +15 -6
- package/lib/typescript/commonjs/components/AmountSlider/AmountSlider.d.ts +3 -2
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -2
- package/lib/typescript/commonjs/components/AuthedImage/imageStore.d.ts +1 -1
- package/lib/typescript/commonjs/components/AuthedImage/imageStore.web.d.ts +1 -1
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +2 -2
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +2 -2
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +2 -2
- package/lib/typescript/commonjs/components/BarChart/BarChart.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +2 -3
- package/lib/typescript/commonjs/components/Box/Box.d.ts +4 -4
- package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -2
- package/lib/typescript/commonjs/components/Calendar/Calendar.d.ts +3 -2
- package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +25 -116
- package/lib/typescript/commonjs/components/Card/Card.d.ts +2 -2
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -2
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -2
- package/lib/typescript/commonjs/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +2 -3
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +3 -2
- package/lib/typescript/commonjs/components/DecimalInput/DecimalInput.d.ts +3 -2
- package/lib/typescript/commonjs/components/Divider/Divider.d.ts +3 -2
- package/lib/typescript/commonjs/components/EmptyState/EmptyState.d.ts +2 -2
- package/lib/typescript/commonjs/components/FileViewer/useFileViewerZoom.d.ts +14 -22
- package/lib/typescript/commonjs/components/FilterChipRow/FilterChipRow.d.ts +3 -2
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/lib/typescript/commonjs/components/FormField/FormField.d.ts +2 -2
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +3 -2
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +3 -2
- package/lib/typescript/commonjs/components/InlineSelect/InlineSelect.d.ts +2 -2
- package/lib/typescript/commonjs/components/Input/Input.d.ts +2 -3
- package/lib/typescript/commonjs/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +4 -3
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +2 -2
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +3 -3
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +4 -2
- package/lib/typescript/commonjs/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProfilePicker/ProfilePicker.d.ts +2 -2
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -4
- package/lib/typescript/commonjs/components/ProgressRing/ProgressRing.d.ts +2 -2
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +3 -3
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -2
- package/lib/typescript/commonjs/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/lib/typescript/commonjs/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
- package/lib/typescript/commonjs/components/Screen/Screen.d.ts +2 -2
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +3 -3
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/lib/typescript/commonjs/components/Select/Select.d.ts +2 -2
- package/lib/typescript/commonjs/components/SignaturePad/writePng.d.ts +1 -1
- package/lib/typescript/commonjs/components/SignaturePad/writePng.web.d.ts +1 -1
- package/lib/typescript/commonjs/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -2
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +3 -2
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +2 -2
- package/lib/typescript/commonjs/components/SquircleView/SquircleView.d.ts +3 -2
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +3 -3
- package/lib/typescript/commonjs/components/StatusBadge/StatusBadge.d.ts +2 -2
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -2
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +3 -3
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +3 -3
- package/lib/typescript/commonjs/components/TagInput/TagInput.d.ts +3 -2
- package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -2
- package/lib/typescript/commonjs/components/Tooltip/RichTooltipBody.d.ts +3 -3
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +5 -5
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/theme/Gradient.d.ts +5 -1
- package/lib/typescript/commonjs/theme/animatedValue.d.ts +1 -1
- package/lib/typescript/commonjs/theme/makeStyles.d.ts +4 -2
- package/lib/typescript/commonjs/utils/nativeDriver.d.ts +2 -0
- package/lib/typescript/module/canvasKit/index.d.ts +15 -6
- package/lib/typescript/module/components/AmountSlider/AmountSlider.d.ts +3 -2
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -2
- package/lib/typescript/module/components/AuthedImage/imageStore.d.ts +1 -1
- package/lib/typescript/module/components/AuthedImage/imageStore.web.d.ts +1 -1
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +2 -2
- package/lib/typescript/module/components/Badge/Badge.d.ts +2 -2
- package/lib/typescript/module/components/Banner/Banner.d.ts +2 -2
- package/lib/typescript/module/components/BarChart/BarChart.d.ts +2 -2
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +2 -3
- package/lib/typescript/module/components/Box/Box.d.ts +4 -4
- package/lib/typescript/module/components/Button/Button.d.ts +3 -2
- package/lib/typescript/module/components/Calendar/Calendar.d.ts +3 -2
- package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +25 -116
- package/lib/typescript/module/components/Card/Card.d.ts +2 -2
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -2
- package/lib/typescript/module/components/Chip/Chip.d.ts +2 -2
- package/lib/typescript/module/components/ChoiceGroup/ChoiceGroup.d.ts +2 -2
- package/lib/typescript/module/components/Composer/Composer.d.ts +2 -3
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +3 -2
- package/lib/typescript/module/components/DecimalInput/DecimalInput.d.ts +3 -2
- package/lib/typescript/module/components/Divider/Divider.d.ts +3 -2
- package/lib/typescript/module/components/EmptyState/EmptyState.d.ts +2 -2
- package/lib/typescript/module/components/FileViewer/useFileViewerZoom.d.ts +14 -22
- package/lib/typescript/module/components/FilterChipRow/FilterChipRow.d.ts +3 -2
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/lib/typescript/module/components/FormField/FormField.d.ts +2 -2
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +3 -2
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +3 -2
- package/lib/typescript/module/components/InlineSelect/InlineSelect.d.ts +2 -2
- package/lib/typescript/module/components/Input/Input.d.ts +2 -3
- package/lib/typescript/module/components/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +1 -1
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +4 -3
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +2 -2
- package/lib/typescript/module/components/Modal/Modal.d.ts +3 -3
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +4 -2
- package/lib/typescript/module/components/ProfileCompletion/ProfileCompletion.d.ts +2 -2
- package/lib/typescript/module/components/ProfilePicker/ProfilePicker.d.ts +2 -2
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -4
- package/lib/typescript/module/components/ProgressRing/ProgressRing.d.ts +2 -2
- package/lib/typescript/module/components/Radio/Radio.d.ts +3 -3
- package/lib/typescript/module/components/Rating/Rating.d.ts +2 -2
- package/lib/typescript/module/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/lib/typescript/module/components/ScannerOverlay/ScannerOverlay.d.ts +2 -2
- package/lib/typescript/module/components/Screen/Screen.d.ts +2 -2
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +3 -3
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/lib/typescript/module/components/Select/Select.d.ts +2 -2
- package/lib/typescript/module/components/SignaturePad/writePng.d.ts +1 -1
- package/lib/typescript/module/components/SignaturePad/writePng.web.d.ts +1 -1
- package/lib/typescript/module/components/SlideToConfirm/SlideToConfirm.d.ts +2 -2
- package/lib/typescript/module/components/Slider/Slider.d.ts +2 -2
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +3 -2
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +2 -2
- package/lib/typescript/module/components/SquircleView/SquircleView.d.ts +3 -2
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +3 -3
- package/lib/typescript/module/components/StatusBadge/StatusBadge.d.ts +2 -2
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -2
- package/lib/typescript/module/components/Switch/Switch.d.ts +3 -3
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +3 -3
- package/lib/typescript/module/components/TagInput/TagInput.d.ts +3 -2
- package/lib/typescript/module/components/Text/Text.d.ts +2 -2
- package/lib/typescript/module/components/Tooltip/RichTooltipBody.d.ts +3 -3
- package/lib/typescript/module/components/Tour/Tour.d.ts +2 -2
- package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +5 -5
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/theme/Gradient.d.ts +5 -1
- package/lib/typescript/module/theme/animatedValue.d.ts +1 -1
- package/lib/typescript/module/theme/makeStyles.d.ts +4 -2
- package/lib/typescript/module/utils/nativeDriver.d.ts +2 -0
- package/package.json +29 -29
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
2
|
+
import type { HostInstance, ViewProps } from "react-native";
|
|
2
3
|
export type SquircleViewProps = ViewProps;
|
|
3
4
|
/**
|
|
4
5
|
* A `View` whose rounded corners are smooth on both platforms, for a surface
|
|
@@ -16,7 +17,7 @@ export type SquircleViewProps = ViewProps;
|
|
|
16
17
|
* Children are not clipped to the curve. Use `Card` or `Box` when the surface
|
|
17
18
|
* is a themed card or a spacing container.
|
|
18
19
|
*/
|
|
19
|
-
declare const SquircleView:
|
|
20
|
+
declare const SquircleView: ForwardRefExoticComponent<SquircleViewProps & RefAttributes<HostInstance>>;
|
|
20
21
|
export { SquircleView };
|
|
21
22
|
export default SquircleView;
|
|
22
23
|
//# sourceMappingURL=SquircleView.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
import type {
|
|
1
|
+
import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
|
|
2
|
+
import type { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { Tone } from "../../types/vocabulary";
|
|
4
4
|
import type { IconVariant } from "../AppIcon/AppIcon";
|
|
5
5
|
import type { SlotIcon } from "../AppIcon/slotIcon";
|
|
@@ -56,7 +56,7 @@ export interface StatTileProps {
|
|
|
56
56
|
style?: StyleProp<ViewStyle>;
|
|
57
57
|
testID?: string;
|
|
58
58
|
}
|
|
59
|
-
declare const StatTile:
|
|
59
|
+
declare const StatTile: ForwardRefExoticComponent<StatTileProps & RefAttributes<HostInstance>>;
|
|
60
60
|
export { StatTile };
|
|
61
61
|
export default StatTile;
|
|
62
62
|
//# sourceMappingURL=StatTile.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { FillVariant, Size, Tone } from "../../types/vocabulary";
|
|
4
4
|
/**
|
|
5
5
|
* The same semantic vocabulary Chip and Badge use, and the web library's
|
|
@@ -60,7 +60,7 @@ export interface StatusBadgeProps {
|
|
|
60
60
|
textStyle?: StyleProp<TextStyle>;
|
|
61
61
|
testID?: string;
|
|
62
62
|
}
|
|
63
|
-
declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<
|
|
63
|
+
declare const StatusBadge: React.ForwardRefExoticComponent<StatusBadgeProps & React.RefAttributes<HostInstance>> & {
|
|
64
64
|
Skeleton: React.FC<StatusBadgeProps>;
|
|
65
65
|
};
|
|
66
66
|
export { StatusBadge };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { Tone } from "../../types/vocabulary";
|
|
4
4
|
import type { HapticType } from "../../utils/hapticUtils";
|
|
5
5
|
/**
|
|
@@ -92,7 +92,7 @@ export interface StepperProps {
|
|
|
92
92
|
haptic?: HapticType | false;
|
|
93
93
|
testID?: string;
|
|
94
94
|
}
|
|
95
|
-
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<
|
|
95
|
+
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HostInstance>> & {
|
|
96
96
|
Skeleton: React.FC<StepperProps>;
|
|
97
97
|
};
|
|
98
98
|
export { Stepper };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from "react";
|
|
2
|
-
import type {
|
|
1
|
+
import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from "react";
|
|
2
|
+
import type { HostInstance, PressableProps, StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { Size, Tone } from "../../types/vocabulary";
|
|
4
4
|
import type { HapticType } from "../../utils/hapticUtils";
|
|
5
5
|
export type SwitchSize = Extract<Size, "sm" | "md" | "lg">;
|
|
@@ -50,7 +50,7 @@ export interface SwitchProps extends Omit<PressableProps, "style" | "children" |
|
|
|
50
50
|
thumbStyle?: StyleProp<ViewStyle>;
|
|
51
51
|
testID?: string;
|
|
52
52
|
}
|
|
53
|
-
declare const Switch:
|
|
53
|
+
declare const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<HostInstance>>;
|
|
54
54
|
export { Switch };
|
|
55
55
|
export default Switch;
|
|
56
56
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* is a look, not a semantic change: the roles stay tablist/tab, and a value
|
|
15
15
|
* choice is still SegmentedControl.
|
|
16
16
|
*/
|
|
17
|
-
import { type ReactNode } from "react";
|
|
18
|
-
import type {
|
|
17
|
+
import { type ForwardRefExoticComponent, type ReactNode, type RefAttributes } from "react";
|
|
18
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
19
19
|
import { Animated } from "react-native";
|
|
20
20
|
import type { RadiusName } from "../../theme/types";
|
|
21
21
|
import type { Size } from "../../types/vocabulary";
|
|
@@ -94,7 +94,7 @@ export interface TabsProps {
|
|
|
94
94
|
accessibilityLabel?: string;
|
|
95
95
|
testID?: string;
|
|
96
96
|
}
|
|
97
|
-
declare const Tabs:
|
|
97
|
+
declare const Tabs: ForwardRefExoticComponent<TabsProps & RefAttributes<HostInstance>>;
|
|
98
98
|
export { Tabs };
|
|
99
99
|
export default Tabs;
|
|
100
100
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
2
|
+
import type { FocusEvent, StyleProp, TextInputInstance, ViewStyle } from "react-native";
|
|
2
3
|
import type { HapticType } from "../../utils";
|
|
3
4
|
import type { FieldBaseSize, FieldBaseVariant } from "../FieldBase";
|
|
4
5
|
export interface TagInputProps {
|
|
@@ -37,6 +38,6 @@ export interface TagInputProps {
|
|
|
37
38
|
* Chip renders a tag and Input takes text, but nothing joined them, so consumers
|
|
38
39
|
* built this by hand each time (and each one disagreed about backspace).
|
|
39
40
|
*/
|
|
40
|
-
export declare const TagInput:
|
|
41
|
+
export declare const TagInput: ForwardRefExoticComponent<TagInputProps & RefAttributes<TextInputInstance>>;
|
|
41
42
|
export default TagInput;
|
|
42
43
|
//# sourceMappingURL=TagInput.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type { TextProps as RNTextProps,
|
|
2
|
+
import type { HostInstance, TextProps as RNTextProps, StyleProp, TextStyle } from "react-native";
|
|
3
3
|
import type { TextName, Theme, WeightName } from "../../theme/types";
|
|
4
4
|
import type { Tone } from "../../types/vocabulary";
|
|
5
5
|
export type TextVariant = "display" | "h1" | "h2" | "h3" | "title" | "body" | "bodySmall" | "caption" | "label" | "overline";
|
|
@@ -25,7 +25,7 @@ export interface TextProps extends Omit<RNTextProps, "style"> {
|
|
|
25
25
|
style?: StyleProp<TextStyle>;
|
|
26
26
|
}
|
|
27
27
|
export declare const resolveColor: (theme: Theme, color: string) => string;
|
|
28
|
-
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<
|
|
28
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HostInstance>>;
|
|
29
29
|
export { Text };
|
|
30
30
|
export default Text;
|
|
31
31
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, TextStyle } from "react-native";
|
|
3
3
|
/** The one text button of a rich tooltip. */
|
|
4
4
|
export interface TooltipAction {
|
|
5
5
|
label: string;
|
|
@@ -12,9 +12,9 @@ interface RichTooltipBodyProps {
|
|
|
12
12
|
action?: TooltipAction;
|
|
13
13
|
onAction: () => void;
|
|
14
14
|
/** Takes screen reader focus on open: the title, or the text when there is none. */
|
|
15
|
-
focusRef: React.Ref<
|
|
15
|
+
focusRef: React.Ref<HostInstance>;
|
|
16
16
|
/** Takes keyboard focus on open on the web. */
|
|
17
|
-
actionRef: React.Ref<
|
|
17
|
+
actionRef: React.Ref<HostInstance>;
|
|
18
18
|
messageStyle?: StyleProp<TextStyle>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance } from "react-native";
|
|
3
3
|
import type { Theme } from "../../theme/types";
|
|
4
4
|
import type { HapticType } from "../../utils/hapticUtils";
|
|
5
5
|
export interface TourStep {
|
|
@@ -8,7 +8,7 @@ export interface TourStep {
|
|
|
8
8
|
* `collapsable={false}` so Android keeps it in the native tree. A step whose
|
|
9
9
|
* view is not mounted or not on screen is skipped.
|
|
10
10
|
*/
|
|
11
|
-
target: React.RefObject<
|
|
11
|
+
target: React.RefObject<HostInstance | null>;
|
|
12
12
|
title?: string;
|
|
13
13
|
description: string;
|
|
14
14
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Ref, type RefObject } from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, LayoutChangeEvent, ScrollViewInstance } from "react-native";
|
|
3
3
|
export interface FieldErrorRegistry {
|
|
4
|
-
add: (anchor: RefObject<
|
|
4
|
+
add: (anchor: RefObject<HostInstance | null>) => () => void;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Bringing the first field that shows an error into view. A form field that shows an error joins
|
|
@@ -12,15 +12,15 @@ export interface FieldErrorRegistry {
|
|
|
12
12
|
* and a step lays its fields out in its own. Outside a provider a field joins nothing.
|
|
13
13
|
*/
|
|
14
14
|
export declare const FieldErrorScrollContext: import("react").Context<FieldErrorRegistry | null>;
|
|
15
|
-
export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<
|
|
15
|
+
export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<HostInstance>) => ((node: HostInstance | null) => void);
|
|
16
16
|
export interface UseFieldErrorScrollOptions {
|
|
17
|
-
scrollRef: RefObject<
|
|
17
|
+
scrollRef: RefObject<ScrollViewInstance | null>;
|
|
18
18
|
/** Room kept above the first error so its label shows too. Defaults to 16. */
|
|
19
19
|
offset?: number;
|
|
20
20
|
}
|
|
21
21
|
export interface UseFieldErrorScrollResult {
|
|
22
22
|
registry: FieldErrorRegistry;
|
|
23
|
-
containerRef: RefObject<
|
|
23
|
+
containerRef: RefObject<HostInstance | null>;
|
|
24
24
|
onContainerLayout: (event: LayoutChangeEvent) => void;
|
|
25
25
|
scrollToFirstError: () => void;
|
|
26
26
|
}
|
|
@@ -10,7 +10,7 @@ export { useDebounce, useFieldChain, useReducedMotion, useRefreshControl, useScr
|
|
|
10
10
|
export type { NetworkStatusBannerProps } from "./network";
|
|
11
11
|
export { NetworkStatusBanner } from "./network";
|
|
12
12
|
export type { BrandOverrides, ColorMode, ColorName, ColorSchemePreference, ComponentName, ComponentSettings, ComponentSizeTokens, ComponentTokens, DurationName, EaseName, FontFaces, FontName, FontWeightValue, GradientDefinition, GradientScale, IconRegistry, IconRenderer, KitThemeBridgeProps, LeadingName, LetterSpacingName, PhoneShadow, RadiusName, Resolved, ShadowName, SizeName, SpaceName, Spring, SpringScale, TextName, TextVariantSpec, Theme, ThemeProviderProps, ThemeSettings, TokenSet, WeightName, } from "./theme";
|
|
13
|
-
export { KitThemeBridge, lightTheme, makeStyles, radiusOf, ThemeProvider, useTheme, useThemeMode } from "./theme";
|
|
13
|
+
export { fontFor, KitThemeBridge, lightTheme, makeStyles, radiusOf, ThemeProvider, useTheme, useThemeMode } from "./theme";
|
|
14
14
|
export type { FieldVariant, FillVariant, SelectionMode, Size, Tone, } from "./types/vocabulary";
|
|
15
15
|
export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils";
|
|
16
16
|
export { announce, isHapticsEnabled, setHapticImplementation, setHapticsEnabled, triggerHaptic } from "./utils";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { GradientDefinition } from "./types";
|
|
4
|
+
type BackgroundImage = Extract<NonNullable<ViewStyle["experimental_backgroundImage"]>, ReadonlyArray<unknown>>[number];
|
|
5
|
+
type LinearGradientValue = Extract<BackgroundImage, {
|
|
6
|
+
type: "linear-gradient";
|
|
7
|
+
}>;
|
|
4
8
|
/**
|
|
5
9
|
* Render a linear gradient with React Native's own `experimental_backgroundImage`
|
|
6
10
|
* style prop. `GradientDefinition` keeps its vector-based `start`/`end` shape,
|
|
@@ -36,7 +36,7 @@ export declare const createAnimatedValue: (initial: number, config?: Constructor
|
|
|
36
36
|
/**
|
|
37
37
|
* Set an `Animated.Value` to a target without going through JS.
|
|
38
38
|
*
|
|
39
|
-
* Once a value has been driven by
|
|
39
|
+
* Once a value has been driven by the native driver, the underlying
|
|
40
40
|
* native node owns it — calling `value.setValue(x)` from JS throws
|
|
41
41
|
* "Attempting to run JS driven animation on animated node that has been moved to native".
|
|
42
42
|
* Use this helper for any value that is *also* used in a native-driven
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ImageStyle, TextStyle, ViewStyle } from "react-native";
|
|
2
2
|
import type { Theme } from "./types";
|
|
3
3
|
/** `const useStyles = makeStyles((theme) => ({ ... }))`, then `const styles = useStyles()`; rebuilt only when the theme changes. */
|
|
4
|
-
export declare function makeStyles<T extends
|
|
4
|
+
export declare function makeStyles<T extends {
|
|
5
|
+
[K in keyof T]: ViewStyle | TextStyle | ImageStyle;
|
|
6
|
+
}>(factory: (theme: Theme) => T): () => T;
|
|
5
7
|
//# sourceMappingURL=makeStyles.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { View } from "react-native";
|
|
3
2
|
import type { ColorMode } from "../theme/types.js";
|
|
4
3
|
export type PhoneChromeOs = "Ios" | "Android";
|
|
5
4
|
export declare const PHONE_CHROME_INSETS: {
|
|
@@ -22,29 +21,39 @@ export interface StatusBarProps {
|
|
|
22
21
|
/** Battery level in percent, 0 to 100. */
|
|
23
22
|
battery?: number;
|
|
24
23
|
}
|
|
25
|
-
export declare const StatusBar: ({ os, colorMode, time, signal, battery }: StatusBarProps) => import("react").
|
|
24
|
+
export declare const StatusBar: ({ os, colorMode, time, signal, battery }: StatusBarProps) => import("react").FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
25
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
26
|
+
}>;
|
|
26
27
|
export interface HomeIndicatorProps {
|
|
27
28
|
os: PhoneChromeOs;
|
|
28
29
|
colorMode?: ColorMode;
|
|
29
30
|
}
|
|
30
|
-
export declare const HomeIndicator: ({ os, colorMode }: HomeIndicatorProps) => import("react").
|
|
31
|
+
export declare const HomeIndicator: ({ os, colorMode }: HomeIndicatorProps) => import("react").FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
32
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
33
|
+
}>;
|
|
31
34
|
export interface NavigationBarProps {
|
|
32
35
|
os: PhoneChromeOs;
|
|
33
36
|
colorMode?: ColorMode;
|
|
34
37
|
}
|
|
35
|
-
export declare const NavigationBar: ({ os, colorMode }: NavigationBarProps) => import("react").
|
|
38
|
+
export declare const NavigationBar: ({ os, colorMode }: NavigationBarProps) => import("react").FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
39
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
40
|
+
}> | null;
|
|
36
41
|
export interface SafeAreaProps {
|
|
37
42
|
os: PhoneChromeOs;
|
|
38
43
|
children?: ReactNode;
|
|
39
44
|
}
|
|
40
|
-
export declare const SafeArea: ({ os, children }: SafeAreaProps) => import("react").
|
|
45
|
+
export declare const SafeArea: ({ os, children }: SafeAreaProps) => import("react").FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
46
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
47
|
+
}>;
|
|
41
48
|
export type KeyboardPreviewOs = "ios" | "android";
|
|
42
49
|
export interface KeyboardFrameProps {
|
|
43
50
|
colorMode?: ColorMode;
|
|
44
51
|
previewOs?: KeyboardPreviewOs;
|
|
45
52
|
children?: ReactNode;
|
|
46
53
|
}
|
|
47
|
-
export declare const KeyboardFrame: ({ colorMode, previewOs, children }: KeyboardFrameProps) => import("react").
|
|
54
|
+
export declare const KeyboardFrame: ({ colorMode, previewOs, children }: KeyboardFrameProps) => import("react").FunctionComponentElement<Omit<import("react-native").ViewProps, "ref"> & {
|
|
55
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
56
|
+
}>;
|
|
48
57
|
export interface PhoneChromeManifestProp {
|
|
49
58
|
name: string;
|
|
50
59
|
type: "enum" | "string" | "number";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type NumberGrouping } from "@webority/mobile-core";
|
|
2
|
-
import
|
|
2
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from "react";
|
|
3
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
4
|
import type { HapticType } from "../../utils/index.js";
|
|
4
5
|
import type { SliderSize, SliderTone, SliderVariant } from "../Slider/index.js";
|
|
5
6
|
export interface AmountSliderLabels {
|
|
@@ -61,7 +62,7 @@ interface Scaled {
|
|
|
61
62
|
type ScaleUnits = Exclude<NumberGrouping, "none">;
|
|
62
63
|
/** Splits a value into the number and unit the header shows. */
|
|
63
64
|
export declare const scaleAmount: (value: number, units: ScaleUnits, labels?: AmountSliderLabels) => Scaled;
|
|
64
|
-
declare const AmountSlider:
|
|
65
|
+
declare const AmountSlider: ForwardRefExoticComponent<AmountSliderProps & RefAttributes<HostInstance>>;
|
|
65
66
|
export { AmountSlider };
|
|
66
67
|
export default AmountSlider;
|
|
67
68
|
//# sourceMappingURL=AmountSlider.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import { Animated } from "react-native";
|
|
4
4
|
import type { HapticType } from "../../utils/hapticUtils.js";
|
|
5
5
|
import type { MenuItem } from "../Menu/index.js";
|
|
@@ -128,7 +128,7 @@ export interface AppBarProps {
|
|
|
128
128
|
haptic?: HapticType | false;
|
|
129
129
|
testID?: string;
|
|
130
130
|
}
|
|
131
|
-
declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<
|
|
131
|
+
declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<HostInstance>>;
|
|
132
132
|
export { AppBar };
|
|
133
133
|
export default AppBar;
|
|
134
134
|
//# sourceMappingURL=AppBar.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, _contentType: string) => string
|
|
1
|
+
export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, _contentType: string) => Promise<string>;
|
|
2
2
|
export declare const imageUri: (fileName: string) => string;
|
|
3
3
|
export declare const imageExists: (fileName: string) => boolean;
|
|
4
4
|
export declare const deleteImage: (fileName: string) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, contentType: string) => string
|
|
1
|
+
export declare const writeImage: (fileName: string, bytes: Uint8Array<ArrayBuffer>, contentType: string) => Promise<string>;
|
|
2
2
|
export declare const imageUri: (fileName: string) => string;
|
|
3
3
|
export declare const imageExists: (fileName: string) => boolean;
|
|
4
4
|
export declare const deleteImage: (fileName: string) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DownloadHttpClient } from "@webority/mobile-core/download";
|
|
2
2
|
import type React from "react";
|
|
3
|
-
import type { GestureResponderEvent, ImageSourcePropType, ImageStyle, PressableProps,
|
|
3
|
+
import type { GestureResponderEvent, HostInstance, ImageSourcePropType, ImageStyle, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
4
4
|
import type { RadiusName } from "../../theme/tokens.generated.js";
|
|
5
5
|
import type { Theme } from "../../theme/types.js";
|
|
6
6
|
import type { Size, Tone } from "../../types/vocabulary.js";
|
|
@@ -139,7 +139,7 @@ export interface AvatarProps {
|
|
|
139
139
|
labels?: Partial<AvatarLabels>;
|
|
140
140
|
testID?: string;
|
|
141
141
|
}
|
|
142
|
-
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<
|
|
142
|
+
declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HostInstance>> & {
|
|
143
143
|
Skeleton: React.FC<AvatarProps>;
|
|
144
144
|
};
|
|
145
145
|
export type AvatarGroupSpacing = "tight" | "normal" | "loose";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { Size, Tone } from "../../types/vocabulary.js";
|
|
4
4
|
export type BadgeVariant = "standard" | "dot";
|
|
5
5
|
export type BadgeTone = Tone;
|
|
@@ -38,7 +38,7 @@ export interface BadgeProps {
|
|
|
38
38
|
textStyle?: StyleProp<TextStyle>;
|
|
39
39
|
testID?: string;
|
|
40
40
|
}
|
|
41
|
-
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<
|
|
41
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HostInstance>> & {
|
|
42
42
|
Skeleton: React.FC<BadgeProps>;
|
|
43
43
|
};
|
|
44
44
|
export { Badge };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { FillVariant, Size, Tone } from "../../types/vocabulary.js";
|
|
4
4
|
import type { HapticType } from "../../utils/hapticUtils.js";
|
|
5
5
|
import type { SlotIcon } from "../AppIcon/slotIcon.js";
|
|
@@ -87,7 +87,7 @@ export interface BannerProps {
|
|
|
87
87
|
actionButtonStyle?: StyleProp<ViewStyle>;
|
|
88
88
|
testID?: string;
|
|
89
89
|
}
|
|
90
|
-
declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<
|
|
90
|
+
declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HostInstance>> & {
|
|
91
91
|
Skeleton: React.FC<BannerProps>;
|
|
92
92
|
};
|
|
93
93
|
export { Banner };
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* A legend names the series, and a bar is read as its label and every series value.
|
|
20
20
|
*/
|
|
21
21
|
import type React from "react";
|
|
22
|
-
import type {
|
|
22
|
+
import type { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
23
23
|
import type { Tone } from "../../types/vocabulary.js";
|
|
24
24
|
import type { HapticType } from "../../utils/index.js";
|
|
25
25
|
export type BarChartTone = Tone;
|
|
@@ -85,7 +85,7 @@ export interface BarChartProps {
|
|
|
85
85
|
style?: StyleProp<ViewStyle>;
|
|
86
86
|
testID?: string;
|
|
87
87
|
}
|
|
88
|
-
declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<
|
|
88
|
+
declare const BarChart: React.ForwardRefExoticComponent<BarChartProps & React.RefAttributes<HostInstance>>;
|
|
89
89
|
export { BarChart };
|
|
90
90
|
export default BarChart;
|
|
91
91
|
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
3
|
import type { ScrollDirection } from "../../hooks/useScrollDirection.js";
|
|
4
4
|
import type { ShadowName } from "../../theme/types.js";
|
|
5
5
|
import type { HapticType } from "../../utils/index.js";
|
|
@@ -257,7 +257,7 @@ export interface BottomNavigationProps {
|
|
|
257
257
|
labels?: Partial<BottomNavigationLabels>;
|
|
258
258
|
testID?: string;
|
|
259
259
|
}
|
|
260
|
-
declare const BottomNavigation: React.ForwardRefExoticComponent<BottomNavigationProps & React.RefAttributes<
|
|
260
|
+
declare const BottomNavigation: React.ForwardRefExoticComponent<BottomNavigationProps & React.RefAttributes<HostInstance>>;
|
|
261
261
|
export { BottomNavigation };
|
|
262
262
|
export default BottomNavigation;
|
|
263
263
|
//# sourceMappingURL=BottomNavigation.d.ts.map
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* </BottomSheet>
|
|
13
13
|
*/
|
|
14
14
|
import type React from "react";
|
|
15
|
-
import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, StyleProp, ViewStyle } from "react-native";
|
|
16
|
-
import { ScrollView } from "react-native";
|
|
15
|
+
import type { LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, ScrollViewInstance, StyleProp, ViewStyle } from "react-native";
|
|
17
16
|
import type { DialogAction } from "../Dialog/Dialog.js";
|
|
18
17
|
import { type ActionsLayout } from "../Dialog/OverlayActions.js";
|
|
19
18
|
/**
|
|
@@ -94,7 +93,7 @@ export interface BottomSheetProps {
|
|
|
94
93
|
*/
|
|
95
94
|
scrollable?: boolean;
|
|
96
95
|
/** Ref to the inner ScrollView. Used only with `scrollable`. */
|
|
97
|
-
scrollRef?: React.Ref<
|
|
96
|
+
scrollRef?: React.Ref<ScrollViewInstance>;
|
|
98
97
|
/** Forwarded to the inner ScrollView. Used only with `scrollable`. */
|
|
99
98
|
onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
100
99
|
/** Forwarded to the inner ScrollView. Used only with `scrollable`. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { HostInstance, StyleProp, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import type { RadiusName, SpaceName, Theme } from "../../theme/types.js";
|
|
4
4
|
export type BackgroundToken = "bg" | "bg-subtle" | "bg-muted" | "surface" | "scrim" | "surface-inverse" | "primary-wash";
|
|
5
5
|
export interface BoxProps extends ViewProps {
|
|
@@ -37,13 +37,13 @@ export interface BoxProps extends ViewProps {
|
|
|
37
37
|
}
|
|
38
38
|
type LayoutProps = Omit<BoxProps, "style" | "children">;
|
|
39
39
|
export declare const resolveBoxStyle: (theme: Theme, p: LayoutProps) => ViewStyle;
|
|
40
|
-
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<
|
|
40
|
+
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HostInstance>>;
|
|
41
41
|
export type StackProps = Omit<BoxProps, "direction">;
|
|
42
42
|
/** Vertical flex container with token spacing between children (default gap `md`). */
|
|
43
|
-
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<
|
|
43
|
+
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HostInstance>>;
|
|
44
44
|
export type RowProps = Omit<BoxProps, "direction">;
|
|
45
45
|
/** Horizontal flex container (default `align="center"`, gap `sm`). */
|
|
46
|
-
declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<
|
|
46
|
+
declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HostInstance>>;
|
|
47
47
|
export interface SpacerProps {
|
|
48
48
|
/** Fixed spacer of this spacing token. Omit for a flexible spacer (`flex: 1`). */
|
|
49
49
|
size?: SpaceName;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from "react";
|
|
2
|
+
import type { HostInstance, PressableProps, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
2
3
|
import type { PressAnimationPreset } from "../../hooks/usePressAnimation.js";
|
|
3
4
|
import type { GradientDefinition, Theme } from "../../theme/types.js";
|
|
4
5
|
import type { FillVariant, Size, Tone } from "../../types/vocabulary.js";
|
|
@@ -86,7 +87,7 @@ export interface ButtonProps extends Omit<PressableProps, "style" | "children">
|
|
|
86
87
|
/** Overrides the text the Button draws for its own states; a key left out keeps its default. */
|
|
87
88
|
labels?: Partial<ButtonLabels>;
|
|
88
89
|
}
|
|
89
|
-
declare const Button:
|
|
90
|
+
declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HostInstance>>;
|
|
90
91
|
/**
|
|
91
92
|
* The colour a Button draws its label in, for the given variant, tone and disabled state: the same value
|
|
92
93
|
* the Button itself uses, so a renderer that draws a Button's label (Canvas) never keeps its own copy of the rules.
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* days drawn as dots in a tone and read aloud with each day. DateRangePicker
|
|
4
4
|
* renders this same grid inside its sheet.
|
|
5
5
|
*/
|
|
6
|
-
import type {
|
|
6
|
+
import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
|
7
|
+
import type { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
7
8
|
import type { SelectionMode, Tone } from "../../types/vocabulary.js";
|
|
8
9
|
import type { HapticType } from "../../utils/index.js";
|
|
9
10
|
import type { CalendarWeekStart } from "./calendarDates.js";
|
|
@@ -73,7 +74,7 @@ export interface CalendarProps {
|
|
|
73
74
|
navButtonStyle?: StyleProp<ViewStyle>;
|
|
74
75
|
testID?: string;
|
|
75
76
|
}
|
|
76
|
-
declare const Calendar:
|
|
77
|
+
declare const Calendar: ForwardRefExoticComponent<CalendarProps & RefAttributes<HostInstance>>;
|
|
77
78
|
export { Calendar };
|
|
78
79
|
export default Calendar;
|
|
79
80
|
//# sourceMappingURL=Calendar.d.ts.map
|