@webority/mobile-ui 0.128.0 → 0.130.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 +8340 -8095
- package/dist/canvas-kit/manifest.json +492 -333
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/Accordion/Accordion.js +1 -1
- package/lib/commonjs/components/AppBar/AppBar.js +1 -1
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
- package/lib/commonjs/components/AppIcon/catalog.g.js +1 -1
- package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
- package/lib/commonjs/components/AppIcon/variants.g.js +1 -1
- package/lib/commonjs/components/AppLockOverlay/AppLockOverlay.js +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +1 -1
- package/lib/commonjs/components/Banner/Banner.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/Card/Card.js +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/Composer/Composer.js +1 -1
- package/lib/commonjs/components/Confirm/confirm.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
- package/lib/commonjs/components/Dialog/Dialog.js +1 -1
- package/lib/commonjs/components/Drawer/Drawer.js +1 -1
- package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
- package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/commonjs/components/FilePicker/FilePicker.js +1 -1
- package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
- package/lib/commonjs/components/FileViewer/FileViewerImage.js +1 -0
- package/lib/commonjs/components/FileViewer/fileSource.js +1 -0
- package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
- package/lib/commonjs/components/FormField/FormField.js +1 -1
- package/lib/commonjs/components/IconBadge/IconBadge.js +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/commonjs/components/InlineSelect/InlineSelect.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/Markdown/Markdown.js +1 -1
- package/lib/commonjs/components/Menu/Menu.js +1 -1
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
- package/lib/commonjs/components/Menu/useContextMenu.js +1 -1
- package/lib/commonjs/components/Modal/Modal.js +1 -1
- package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
- package/lib/commonjs/components/OTPInput/OTPInput.js +1 -1
- package/lib/commonjs/components/OTPInput/OTPResendRow.js +1 -0
- package/lib/commonjs/components/OTPInput/index.js +1 -1
- package/lib/commonjs/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/commonjs/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/commonjs/components/PickerTrigger/PickerTrigger.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/Radio.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/SearchBar/SearchBar.js +1 -1
- package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/commonjs/components/Select/Select.js +1 -1
- package/lib/commonjs/components/SliderField/SliderField.js +1 -1
- package/lib/commonjs/components/SquircleImage/SquircleImage.js +1 -1
- package/lib/commonjs/components/Text/Text.js +1 -1
- package/lib/commonjs/components/Text/textInk.js +1 -0
- package/lib/commonjs/components/TimePicker/TimePicker.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/index.js +1 -1
- package/lib/commonjs/components/not-drawn.json +1 -0
- package/lib/commonjs/form/HookFormField.js +1 -1
- package/lib/commonjs/hooks/index.js +1 -1
- package/lib/commonjs/hooks/useFieldErrorScroll.js +1 -0
- package/lib/commonjs/hooks/useResendCountdown.js +1 -0
- package/lib/commonjs/icons.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/navigation/DiscardGuard.js +1 -1
- package/lib/commonjs/navigation/index.js +1 -1
- package/lib/commonjs/navigation/useNavigationTheme.js +1 -0
- package/lib/commonjs/sizes.js +1 -0
- package/lib/commonjs/squircle.js +1 -0
- package/lib/commonjs/utils/feedback.js +1 -1
- package/lib/commonjs/utils/hapticUtils.js +1 -1
- package/lib/module/components/Accordion/Accordion.js +1 -1
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AppIcon/AppIcon.js +1 -1
- package/lib/module/components/AppIcon/catalog.g.js +1 -1
- package/lib/module/components/AppIcon/glyphs.g.js +1 -1
- package/lib/module/components/AppIcon/variants.g.js +1 -1
- package/lib/module/components/AppLockOverlay/AppLockOverlay.js +1 -1
- package/lib/module/components/Avatar/Avatar.js +1 -1
- package/lib/module/components/Banner/Banner.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/Card/Card.js +1 -1
- package/lib/module/components/Checkbox/Checkbox.js +1 -1
- package/lib/module/components/Composer/Composer.js +1 -1
- package/lib/module/components/Confirm/confirm.js +1 -1
- package/lib/module/components/DatePicker/DatePicker.js +1 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/module/components/Descriptions/Descriptions.js +1 -1
- package/lib/module/components/Dialog/Dialog.js +1 -1
- package/lib/module/components/Drawer/Drawer.js +1 -1
- package/lib/module/components/FieldBase/ChoiceText.js +1 -1
- package/lib/module/components/FieldBase/FieldBase.js +1 -1
- package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/module/components/FilePicker/FilePicker.js +1 -1
- package/lib/module/components/FileViewer/FileViewer.js +1 -1
- package/lib/module/components/FileViewer/FileViewerImage.js +1 -0
- package/lib/module/components/FileViewer/fileSource.js +1 -0
- package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
- package/lib/module/components/ForceUpdateDialog/ForceUpdateDialog.js +1 -1
- package/lib/module/components/FormField/FormField.js +1 -1
- package/lib/module/components/IconBadge/IconBadge.js +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
- package/lib/module/components/InlineSelect/InlineSelect.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/Markdown/Markdown.js +1 -1
- package/lib/module/components/Menu/Menu.js +1 -1
- package/lib/module/components/Menu/MenuSurface.js +1 -1
- package/lib/module/components/Menu/useContextMenu.js +1 -1
- package/lib/module/components/Modal/Modal.js +1 -1
- package/lib/module/components/NumberInput/NumberInput.js +1 -1
- package/lib/module/components/OTPInput/OTPInput.js +1 -1
- package/lib/module/components/OTPInput/OTPResendRow.js +1 -0
- package/lib/module/components/OTPInput/index.js +1 -1
- package/lib/module/components/OptionSheet/OptionSheet.js +1 -1
- package/lib/module/components/PhoneNumberInput/PhoneNumberInput.js +1 -1
- package/lib/module/components/PickerTrigger/PickerTrigger.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/Radio.js +1 -1
- package/lib/module/components/Rating/Rating.js +1 -1
- package/lib/module/components/SearchBar/SearchBar.js +1 -1
- package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/module/components/Select/Select.js +1 -1
- package/lib/module/components/SliderField/SliderField.js +1 -1
- package/lib/module/components/SquircleImage/SquircleImage.js +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/textInk.js +1 -0
- package/lib/module/components/TimePicker/TimePicker.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/index.js +1 -1
- package/lib/module/components/not-drawn.json +1 -0
- package/lib/module/form/HookFormField.js +1 -1
- package/lib/module/hooks/index.js +1 -1
- package/lib/module/hooks/useFieldErrorScroll.js +1 -0
- package/lib/module/hooks/useResendCountdown.js +1 -0
- package/lib/module/icons.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/navigation/DiscardGuard.js +1 -1
- package/lib/module/navigation/index.js +1 -1
- package/lib/module/navigation/useNavigationTheme.js +1 -0
- package/lib/module/sizes.js +1 -0
- package/lib/module/squircle.js +1 -0
- package/lib/module/utils/feedback.js +1 -1
- package/lib/module/utils/hapticUtils.js +1 -1
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +6 -3
- package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +1 -0
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +7 -0
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +3 -2
- package/lib/typescript/commonjs/components/BottomSheet/BottomSheet.d.ts +4 -4
- package/lib/typescript/commonjs/components/Box/Box.d.ts +2 -2
- package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts +6 -7
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -1
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +4 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +7 -17
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +7 -17
- package/lib/typescript/commonjs/components/Descriptions/Descriptions.d.ts +2 -2
- package/lib/typescript/commonjs/components/Dialog/Dialog.d.ts +1 -1
- package/lib/typescript/commonjs/components/Drawer/Drawer.d.ts +4 -4
- package/lib/typescript/commonjs/components/FieldBase/FieldBase.d.ts +8 -6
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +5 -33
- package/lib/typescript/commonjs/components/FileViewer/FileViewerImage.d.ts +5 -0
- package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +24 -0
- package/lib/typescript/commonjs/components/FileViewer/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
- package/lib/typescript/commonjs/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
- package/lib/typescript/commonjs/components/IconBadge/IconBadge.d.ts +4 -0
- package/lib/typescript/commonjs/components/IconBadge/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Input/Input.d.ts +3 -2
- package/lib/typescript/commonjs/components/ListItem/ListItem.d.ts +7 -7
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +3 -3
- package/lib/typescript/commonjs/components/Menu/useContextMenu.d.ts +1 -1
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +14 -4
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +2 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +25 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/OptionSheet/OptionSheet.d.ts +5 -5
- package/lib/typescript/commonjs/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +7 -2
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +2 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -0
- package/lib/typescript/commonjs/components/SearchBar/SearchBar.d.ts +5 -3
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/commonjs/components/Select/Select.d.ts +4 -3
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -0
- package/lib/typescript/commonjs/components/SliderField/SliderField.d.ts +2 -2
- package/lib/typescript/commonjs/components/SquircleImage/SquircleImage.d.ts +4 -3
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +2 -0
- package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -0
- package/lib/typescript/commonjs/components/Text/textInk.d.ts +14 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +7 -18
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +4 -3
- package/lib/typescript/commonjs/components/Tour/Tour.d.ts +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +5 -6
- package/lib/typescript/commonjs/form/HookFormField.d.ts +4 -4
- package/lib/typescript/commonjs/hooks/index.d.ts +4 -0
- package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +28 -0
- package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +16 -0
- package/lib/typescript/commonjs/icons.d.ts +3 -0
- package/lib/typescript/commonjs/index.d.ts +9 -8
- package/lib/typescript/commonjs/navigation/index.d.ts +1 -0
- package/lib/typescript/commonjs/navigation/useNavigationTheme.d.ts +7 -0
- package/lib/typescript/commonjs/sizes.d.ts +2 -0
- package/lib/typescript/commonjs/squircle.d.ts +2 -0
- package/lib/typescript/commonjs/utils/feedback.d.ts +2 -2
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +2 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +2 -1
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -1
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +6 -3
- package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +1 -0
- package/lib/typescript/module/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/module/components/AppLockOverlay/AppLockOverlay.d.ts +3 -3
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +7 -0
- package/lib/typescript/module/components/Banner/Banner.d.ts +3 -2
- package/lib/typescript/module/components/BottomSheet/BottomSheet.d.ts +4 -4
- package/lib/typescript/module/components/Box/Box.d.ts +2 -2
- package/lib/typescript/module/components/Button/Button.d.ts +3 -0
- package/lib/typescript/module/components/Card/Card.d.ts +6 -7
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/typescript/module/components/Chip/Chip.d.ts +2 -1
- package/lib/typescript/module/components/Composer/Composer.d.ts +4 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +7 -17
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +7 -17
- package/lib/typescript/module/components/Descriptions/Descriptions.d.ts +2 -2
- package/lib/typescript/module/components/Dialog/Dialog.d.ts +1 -1
- package/lib/typescript/module/components/Drawer/Drawer.d.ts +4 -4
- package/lib/typescript/module/components/FieldBase/FieldBase.d.ts +8 -6
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +5 -33
- package/lib/typescript/module/components/FileViewer/FileViewerImage.d.ts +5 -0
- package/lib/typescript/module/components/FileViewer/fileSource.d.ts +24 -0
- package/lib/typescript/module/components/FileViewer/index.d.ts +1 -1
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +8 -0
- package/lib/typescript/module/components/ForceUpdateDialog/ForceUpdateDialog.d.ts +3 -3
- package/lib/typescript/module/components/IconBadge/IconBadge.d.ts +4 -0
- package/lib/typescript/module/components/IconBadge/index.d.ts +1 -1
- package/lib/typescript/module/components/Input/Input.d.ts +3 -2
- package/lib/typescript/module/components/ListItem/ListItem.d.ts +7 -7
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/module/components/Menu/Menu.d.ts +3 -3
- package/lib/typescript/module/components/Menu/useContextMenu.d.ts +1 -1
- package/lib/typescript/module/components/Modal/Modal.d.ts +14 -4
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +2 -0
- package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +25 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +2 -0
- package/lib/typescript/module/components/OptionSheet/OptionSheet.d.ts +5 -5
- package/lib/typescript/module/components/PhoneNumberInput/PhoneNumberInput.d.ts +3 -2
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +7 -2
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +1 -1
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +2 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +2 -0
- package/lib/typescript/module/components/SearchBar/SearchBar.d.ts +5 -3
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/module/components/Select/Select.d.ts +4 -3
- package/lib/typescript/module/components/Slider/Slider.d.ts +2 -0
- package/lib/typescript/module/components/SliderField/SliderField.d.ts +2 -2
- package/lib/typescript/module/components/SquircleImage/SquircleImage.d.ts +4 -3
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +2 -0
- package/lib/typescript/module/components/Text/Text.d.ts +2 -0
- package/lib/typescript/module/components/Text/textInk.d.ts +14 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +7 -18
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +4 -3
- package/lib/typescript/module/components/Tour/Tour.d.ts +1 -1
- package/lib/typescript/module/components/index.d.ts +5 -6
- package/lib/typescript/module/form/HookFormField.d.ts +4 -4
- package/lib/typescript/module/hooks/index.d.ts +4 -0
- package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +28 -0
- package/lib/typescript/module/hooks/useResendCountdown.d.ts +16 -0
- package/lib/typescript/module/icons.d.ts +3 -0
- package/lib/typescript/module/index.d.ts +9 -8
- package/lib/typescript/module/navigation/index.d.ts +1 -0
- package/lib/typescript/module/navigation/useNavigationTheme.d.ts +7 -0
- package/lib/typescript/module/sizes.d.ts +2 -0
- package/lib/typescript/module/squircle.d.ts +2 -0
- package/lib/typescript/module/utils/feedback.d.ts +2 -2
- package/lib/typescript/module/utils/hapticUtils.d.ts +2 -0
- package/package.json +37 -7
- package/lib/commonjs/components/Notation/Notation.js +0 -1
- package/lib/commonjs/components/Notation/index.js +0 -1
- package/lib/module/components/Notation/Notation.js +0 -1
- package/lib/module/components/Notation/index.js +0 -1
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +0 -53
- package/lib/typescript/commonjs/components/Notation/index.d.ts +0 -3
- package/lib/typescript/module/components/Notation/Notation.d.ts +0 -53
- package/lib/typescript/module/components/Notation/index.d.ts +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { HapticType } from "../../utils/hapticUtils";
|
|
4
|
-
import type {
|
|
4
|
+
import type { PickerTriggerPassThroughProps } from "../PickerTrigger/PickerTrigger";
|
|
5
5
|
export type TimeFormat = "12h" | "24h";
|
|
6
6
|
export type Period = "AM" | "PM";
|
|
7
7
|
export type MinuteStep = 1 | 5 | 15 | 30;
|
|
@@ -26,17 +26,17 @@ export declare const DEFAULT_TIME_PICKER_LABELS: Readonly<TimePickerLabels>;
|
|
|
26
26
|
/**
|
|
27
27
|
* TimePicker supports two modes:
|
|
28
28
|
*
|
|
29
|
-
* 1. Controlled-modal mode
|
|
29
|
+
* 1. Controlled-modal mode: pass `open`, `onChange`, `onClose`. The
|
|
30
30
|
* component renders only the modal sheet and the caller owns open/close
|
|
31
31
|
* state plus its own trigger UI.
|
|
32
|
-
* 2. Trigger mode
|
|
32
|
+
* 2. Trigger mode: omit `open`. The component renders a PickerTrigger
|
|
33
33
|
* field (label / value / placeholder / chevron / clear / helper / error)
|
|
34
34
|
* and manages its own modal open state. `onChange` is still called on
|
|
35
35
|
* confirm.
|
|
36
36
|
*/
|
|
37
|
-
export interface TimePickerProps {
|
|
37
|
+
export interface TimePickerProps extends PickerTriggerPassThroughProps {
|
|
38
38
|
/** Controlled-modal visibility. When omitted, the component enters trigger mode. */
|
|
39
|
-
|
|
39
|
+
open?: boolean;
|
|
40
40
|
value?: TimeValue | null;
|
|
41
41
|
onChange?: (time: TimeValue) => void;
|
|
42
42
|
onClose?: () => void;
|
|
@@ -45,27 +45,16 @@ export interface TimePickerProps {
|
|
|
45
45
|
/** Chrome copy, merged over DEFAULT_TIME_PICKER_LABELS. */
|
|
46
46
|
labels?: Partial<TimePickerLabels>;
|
|
47
47
|
testID?: string;
|
|
48
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
48
49
|
style?: StyleProp<ViewStyle>;
|
|
49
|
-
/**
|
|
50
|
+
/** Applied to the bottom sheet, before style on the same node. */
|
|
50
51
|
containerStyle?: StyleProp<ViewStyle>;
|
|
51
52
|
/** Style override for the title text container. */
|
|
52
53
|
headerLabelStyle?: StyleProp<ViewStyle>;
|
|
53
54
|
/** Style override for the cancel/confirm footer buttons. */
|
|
54
55
|
footerButtonStyle?: StyleProp<ViewStyle>;
|
|
55
|
-
label?: string;
|
|
56
|
-
placeholder?: string;
|
|
57
|
-
helperText?: string;
|
|
58
|
-
error?: string | boolean;
|
|
59
|
-
required?: boolean;
|
|
60
|
-
disabled?: boolean;
|
|
61
|
-
size?: FieldBaseSize;
|
|
62
|
-
variant?: FieldBaseVariant;
|
|
63
|
-
clearable?: boolean;
|
|
64
|
-
onClear?: () => void;
|
|
65
56
|
/** Override the trigger field's value formatting. Defaults to `format`-aware h:mm/HH:mm. */
|
|
66
57
|
formatValue?: (time: TimeValue) => string;
|
|
67
|
-
/** Style passed through to the PickerTrigger field row. */
|
|
68
|
-
triggerStyle?: StyleProp<ViewStyle>;
|
|
69
58
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
70
59
|
haptic?: HapticType | false;
|
|
71
60
|
}
|
|
@@ -35,14 +35,15 @@ export interface TooltipProps {
|
|
|
35
35
|
* never attached to a child with its own `contextMenu`: the menu wins.
|
|
36
36
|
*/
|
|
37
37
|
trigger?: TooltipTrigger;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
open?: boolean;
|
|
39
|
+
onOpenChange?: (open: boolean) => void;
|
|
40
40
|
hideOnContentPress?: boolean;
|
|
41
41
|
maxWidth?: number;
|
|
42
42
|
showArrow?: boolean;
|
|
43
43
|
accessibilityLabel?: string;
|
|
44
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
44
45
|
style?: StyleProp<ViewStyle>;
|
|
45
|
-
/** Alias of
|
|
46
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
46
47
|
containerStyle?: StyleProp<ViewStyle>;
|
|
47
48
|
/** Style override applied to the arrow caret View. */
|
|
48
49
|
arrowStyle?: StyleProp<ViewStyle>;
|
|
@@ -46,7 +46,7 @@ export interface TourProps {
|
|
|
46
46
|
tourId: string;
|
|
47
47
|
steps: TourStep[];
|
|
48
48
|
/** Set true to run the tour; set it back to false from `onClose`. */
|
|
49
|
-
|
|
49
|
+
open: boolean;
|
|
50
50
|
onClose: (reason: TourCloseReason) => void;
|
|
51
51
|
/** Consulted before showing and written when the tour finishes or is skipped. */
|
|
52
52
|
seenStore?: TourSeenStore;
|
|
@@ -70,7 +70,7 @@ export type { ErrorBoundaryInfo, ErrorBoundaryLabels, ErrorBoundaryProps } from
|
|
|
70
70
|
export { DEFAULT_ERROR_BOUNDARY_LABELS, ErrorBoundary, useErrorHandler, withErrorBoundary } from "./ErrorBoundary";
|
|
71
71
|
export type { FilePickerFile, FilePickerFileState, FilePickerFileStatus, FilePickerLabels, FilePickerProps, FilePickerRef, FilePickerSource, FilePickerTriggerState, FilePickerVariant, } from "./FilePicker";
|
|
72
72
|
export { DEFAULT_FILE_PICKER_LABELS, FilePicker, formatFileSize } from "./FilePicker";
|
|
73
|
-
export type { FileViewerProps, FileViewerSource } from "./FileViewer";
|
|
73
|
+
export type { FileViewerKind, FileViewerProps, FileViewerSource } from "./FileViewer";
|
|
74
74
|
export { FileViewer } from "./FileViewer";
|
|
75
75
|
export type { FilterChipItem, FilterChipRowProps } from "./FilterChipRow";
|
|
76
76
|
export { FilterChipRow } from "./FilterChipRow";
|
|
@@ -110,23 +110,21 @@ export type { MessageListLabels, MessageListProps, MessageRenderInfo } from "./M
|
|
|
110
110
|
export { DEFAULT_MESSAGE_LIST_LABELS, MessageList } from "./MessageList";
|
|
111
111
|
export type { ModalLabels, ModalPresentation, ModalProps } from "./Modal";
|
|
112
112
|
export { DEFAULT_MODAL_LABELS, MODAL_DISMISS_GRACE_MS, Modal } from "./Modal";
|
|
113
|
-
export type { NotationProps, NotationRun, NotationTextRun } from "./Notation";
|
|
114
|
-
export { Notation, parseNotation, sym } from "./Notation";
|
|
115
113
|
export type { NumberInputLabels, NumberInputProps, NumberInputRef, NumberInputSize, NumberInputVariant } from "./NumberInput";
|
|
116
114
|
export { DEFAULT_NUMBER_INPUT_LABELS, NumberInput } from "./NumberInput";
|
|
117
115
|
export type { OnboardingPage, OnboardingPagerLabels, OnboardingPagerProps, } from "./OnboardingPager";
|
|
118
116
|
export { DEFAULT_ONBOARDING_PAGER_LABELS, OnboardingPager } from "./OnboardingPager";
|
|
119
117
|
export type { OptionRenderState, OptionSheetLabels, OptionSheetProps, OptionSheetSection } from "./OptionSheet";
|
|
120
118
|
export { DEFAULT_OPTION_SHEET_LABELS, OptionSheet } from "./OptionSheet";
|
|
121
|
-
export type { OTPInputLabels, OTPInputProps, OTPInputRef, OTPInputSize } from "./OTPInput";
|
|
122
|
-
export { DEFAULT_OTP_INPUT_LABELS, OTPInput } from "./OTPInput";
|
|
119
|
+
export type { OTPInputLabels, OTPInputProps, OTPInputRef, OTPInputSize, OTPResendRowLabels, OTPResendRowProps } from "./OTPInput";
|
|
120
|
+
export { DEFAULT_OTP_INPUT_LABELS, DEFAULT_OTP_RESEND_ROW_LABELS, OTPInput, OTPResendRow } from "./OTPInput";
|
|
123
121
|
export type { PagedListFooterLabels, PagedListFooterProps } from "./PagedListFooter";
|
|
124
122
|
export { DEFAULT_PAGED_LIST_FOOTER_LABELS, PagedListFooter } from "./PagedListFooter";
|
|
125
123
|
export type { PermissionPromptFallback, PermissionPromptLabels, PermissionPromptProps, PermissionPromptView, UsePermissionPromptOptions, UsePermissionPromptResult, } from "./PermissionPrompt";
|
|
126
124
|
export { DEFAULT_PERMISSION_PROMPT_LABELS, PermissionPrompt, usePermissionPrompt } from "./PermissionPrompt";
|
|
127
125
|
export type { CallingCode, PhoneNumberInfo, PhoneNumberInputLabelMode, PhoneNumberInputLabels, PhoneNumberInputProps, PhoneNumberInputRef, PhoneNumberValidation, PhoneNumberValue, } from "./PhoneNumberInput";
|
|
128
126
|
export { ALL_CALLING_CODES, DEFAULT_CALLING_CODES, DEFAULT_PHONE_NUMBER_INPUT_LABELS, formatE164, PhoneNumberInput, parseE164, } from "./PhoneNumberInput";
|
|
129
|
-
export type { PickerTriggerLabels, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant } from "./PickerTrigger";
|
|
127
|
+
export type { PickerTriggerLabels, PickerTriggerPassThroughProps, PickerTriggerProps, PickerTriggerSize, PickerTriggerVariant, } from "./PickerTrigger";
|
|
130
128
|
export { DEFAULT_PICKER_TRIGGER_LABELS, PickerTrigger } from "./PickerTrigger";
|
|
131
129
|
export type { ProfileCompletionAvatarTone, ProfileCompletionLabels, ProfileCompletionProps, ProfileCompletionRingVariant, ProfileCompletionSize, } from "./ProfileCompletion";
|
|
132
130
|
export { DEFAULT_PROFILE_COMPLETION_LABELS, ProfileCompletion } from "./ProfileCompletion";
|
|
@@ -194,6 +192,7 @@ export type { TagInputProps } from "./TagInput";
|
|
|
194
192
|
export { TagInput } from "./TagInput";
|
|
195
193
|
export type { TextColor, TextProps, TextVariant } from "./Text";
|
|
196
194
|
export { Text } from "./Text";
|
|
195
|
+
export { TextInkContext, useTextInk } from "./Text/textInk";
|
|
197
196
|
export type { TimelineItem, TimelineOrientation, TimelineProps, TimelineStatus, TimelineVariant, } from "./Timeline";
|
|
198
197
|
export { Timeline } from "./Timeline";
|
|
199
198
|
export type { MinuteStep, Period, TimeFormat, TimePickerLabels, TimePickerProps, TimeValue } from "./TimePicker";
|
|
@@ -6,10 +6,10 @@ import { type HookFieldProps } from "./useHookFormField";
|
|
|
6
6
|
type FieldChromeProps = Omit<FormFieldProps, "children" | "error">;
|
|
7
7
|
export type HookFormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>, TTransformedValues = TFieldValues> = FieldChromeProps & UseControllerProps<TFieldValues, TName, TTransformedValues> & {
|
|
8
8
|
/**
|
|
9
|
-
* A text input element (`<Input
|
|
10
|
-
* `
|
|
11
|
-
* takes
|
|
12
|
-
* `{(field) => <
|
|
9
|
+
* A text input element (`<Input />`) gets `value`, `onChangeText`, `onBlur`,
|
|
10
|
+
* `error` and a ref injected. Any other control takes the render-prop form,
|
|
11
|
+
* for example a `PhoneNumberInput`, which takes an object `value` and `onChange`:
|
|
12
|
+
* `{(field) => <PhoneNumberInput value={field.value} onChange={field.onChange} error={field.error} />}`.
|
|
13
13
|
* A render-prop control that is passed `error` draws it itself, so the
|
|
14
14
|
* frame leaves its own copy out; one that is not passed `error` has the
|
|
15
15
|
* message drawn under it by the frame.
|
|
@@ -5,6 +5,8 @@ export type { DragToDismissController, SheetNativeGesture, SheetPanGesture, UseD
|
|
|
5
5
|
export { createDragToDismissController, DRAG_DISMISS_DISTANCE, DRAG_DISMISS_VELOCITY, useDragToDismiss, } from "./useDragToDismiss";
|
|
6
6
|
export type { FieldChain, FieldChainProps } from "./useFieldChain";
|
|
7
7
|
export { useFieldChain } from "./useFieldChain";
|
|
8
|
+
export type { FieldErrorRegistry, UseFieldErrorScrollOptions, UseFieldErrorScrollResult } from "./useFieldErrorScroll";
|
|
9
|
+
export { FieldErrorScrollContext, useFieldErrorAnchor, useFieldErrorScroll } from "./useFieldErrorScroll";
|
|
8
10
|
export { FLICK_TOLERANCE, useFlickGuard } from "./useFlickGuard";
|
|
9
11
|
export type { MotionDurationKey, PresenceMotion } from "./usePresenceMotion";
|
|
10
12
|
export { PRESENCE_REDUCE_MOTION, usePresenceMotion } from "./usePresenceMotion";
|
|
@@ -13,6 +15,8 @@ export { PRESS_ANIMATION_PRESETS, usePressAnimation } from "./usePressAnimation"
|
|
|
13
15
|
export { useReducedMotion } from "./useReducedMotion";
|
|
14
16
|
export type { UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, } from "./useRefreshControl";
|
|
15
17
|
export { useRefreshControl } from "./useRefreshControl";
|
|
18
|
+
export type { UseResendCountdownOptions, UseResendCountdownResult } from "./useResendCountdown";
|
|
19
|
+
export { useResendCountdown } from "./useResendCountdown";
|
|
16
20
|
export type { ScrollDirection, UseScrollDirectionOptions, UseScrollDirectionResult, } from "./useScrollDirection";
|
|
17
21
|
export { useScrollDirection } from "./useScrollDirection";
|
|
18
22
|
export type { UseToggleResult } from "./useToggle";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type Ref, type RefObject } from "react";
|
|
2
|
+
import type { LayoutChangeEvent, ScrollView, View } from "react-native";
|
|
3
|
+
export interface FieldErrorRegistry {
|
|
4
|
+
add: (anchor: RefObject<View | null>) => () => void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Bringing the first field that shows an error into view. A form field that shows an error joins
|
|
8
|
+
* the registry a screen provides (useFieldErrorAnchor, in the app's field wrappers); a refused step
|
|
9
|
+
* measures every member against a container inside the scroll content and scrolls to the topmost.
|
|
10
|
+
*
|
|
11
|
+
* Topmost by measurement rather than first by error key, because the keys follow the schema's order
|
|
12
|
+
* and a step lays its fields out in its own. Outside a provider a field joins nothing.
|
|
13
|
+
*/
|
|
14
|
+
export declare const FieldErrorScrollContext: import("react").Context<FieldErrorRegistry | null>;
|
|
15
|
+
export declare const useFieldErrorAnchor: (error: unknown, forwardedRef?: Ref<View>) => ((node: View | null) => void);
|
|
16
|
+
export interface UseFieldErrorScrollOptions {
|
|
17
|
+
scrollRef: RefObject<ScrollView | null>;
|
|
18
|
+
/** Room kept above the first error so its label shows too. Defaults to 16. */
|
|
19
|
+
offset?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface UseFieldErrorScrollResult {
|
|
22
|
+
registry: FieldErrorRegistry;
|
|
23
|
+
containerRef: RefObject<View | null>;
|
|
24
|
+
onContainerLayout: (event: LayoutChangeEvent) => void;
|
|
25
|
+
scrollToFirstError: () => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const useFieldErrorScroll: ({ scrollRef, offset }: UseFieldErrorScrollOptions) => UseFieldErrorScrollResult;
|
|
28
|
+
//# sourceMappingURL=useFieldErrorScroll.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface UseResendCountdownOptions {
|
|
2
|
+
/** Seconds before a new code may be asked for. */
|
|
3
|
+
resendSeconds: number;
|
|
4
|
+
/** Seconds the code stays valid; null or undefined when the code has no known expiry. */
|
|
5
|
+
expirySeconds?: number | null;
|
|
6
|
+
/** Wall-clock start (Date.now()) of the current challenge. Changing it restarts both timers. */
|
|
7
|
+
startedAtMs: number;
|
|
8
|
+
}
|
|
9
|
+
export interface UseResendCountdownResult {
|
|
10
|
+
/** Whole seconds left before Resend is allowed; 0 when allowed. */
|
|
11
|
+
resendSecondsLeft: number;
|
|
12
|
+
/** Whole seconds left on the code; null when there is no expiry. 0 when expired. */
|
|
13
|
+
expirySecondsLeft: number | null;
|
|
14
|
+
}
|
|
15
|
+
export declare const useResendCountdown: ({ resendSeconds, expirySeconds, startedAtMs }: UseResendCountdownOptions) => UseResendCountdownResult;
|
|
16
|
+
//# sourceMappingURL=useResendCountdown.d.ts.map
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
export { PHONE_CHROME_INSETS } from "./canvasKit";
|
|
2
|
-
export * from "./components";
|
|
3
|
-
export
|
|
4
|
-
export {
|
|
2
|
+
export type * from "./components";
|
|
3
|
+
export { Accordion, AccordionGroup, ALL_CALLING_CODES, AmountSlider, AnimatePresence, AppBar, AppLockOverlay, AsyncBlock, AuthedImage, Autocomplete, Avatar, AvatarGroup, authedImageCacheStats, Badge, Banner, BarChart, BottomNavigation, BottomSheet, Box, Button, buttonLabelInk, Calendar, Card, Carousel, Checkbox, Chip, ChoiceGroup, Composer, Confetti, ConfirmHost, clearAuthedImageCache, confirm, DatePicker, DateRangePicker, DateSeparator, DEFAULT_CALLING_CODES, DecimalInput, Descriptions, Dialog, Divider, Drawer, defineStatusMap, EmptyState, ErrorBoundary, FilePicker, FileViewer, FilterChipRow, FloatingActionButton, FloatingActionButtonGroup, ForceUpdateDialog, FormField, formatE164, formatFileSize, getAuthedImageCacheLimit, IconBadge, IconButton, ImageGallery, InlineSelect, Input, KeyboardAwareScrollView, KeyboardToolbar, ListItem, ListSection, LoaderOverlay, loader, Markdown, Menu, MessageBubble, MessageList, MODAL_DISMISS_GRACE_MS, Modal, NumberInput, OnboardingPager, OptionSheet, OTPInput, OTPResendRow, PagedListFooter, PermissionPrompt, PhoneNumberInput, PickerTrigger, ProfileCompletion, ProfilePicker, ProgressBar, ProgressRing, Radio, RadioDot, RadioGroup, Rating, Repeater, RichTextEditor, Row, ScannerOverlay, Screen, SearchBar, SectionHeader, SegmentedControl, Select, SignaturePad, Skeleton, SkeletonCircle, SkeletonClockProvider, SkeletonContent, SkeletonList, SkeletonProvider, SkeletonSkip, SkeletonText, Slider, SliderField, SlideToConfirm, SortableList, Spacer, Sparkline, Spinner, SquircleImage, SquircleView, Stack, StatTile, StatusBadge, Stepper, Swipeable, Switch, setAuthedImageCacheLimit, Tabs, TagInput, Text, TextInkContext, Timeline, TimePicker, Toast, ToastHost, ToastProvider, Tooltip, Tour, TypingIndicator, toast, useBottomSheet, useErrorHandler, useRecentSearches, useTextInk, useToast, WheelPicker, withErrorBoundary, ZoomableImage, } from "./components";
|
|
4
|
+
export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, SlotIcon, SlotIconRef, SlotIconState, SlotNode, } from "./components/AppIcon";
|
|
5
|
+
export { AppIcon } from "./components/AppIcon";
|
|
5
6
|
export type { FormCompletion, HookFieldProps, HookFormFieldProps, UseFormCompletionOptions } from "./form";
|
|
6
|
-
export {
|
|
7
|
-
export type { FieldChain, FieldChainProps, MotionDurationKey, PresenceMotion, PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult, } from "./hooks";
|
|
8
|
-
export {
|
|
7
|
+
export { HookFormField, useHookFormField } from "./form";
|
|
8
|
+
export type { FieldChain, FieldChainProps, FieldErrorRegistry, MotionDurationKey, PresenceMotion, PressAnimationPreset, ScrollDirection, UseControllableStateOptions, UseFieldErrorScrollOptions, UseFieldErrorScrollResult, UsePressAnimationOptions, UsePressAnimationResult, UseRefreshControlLabels, UseRefreshControlOptions, UseRefreshControlResult, UseResendCountdownOptions, UseResendCountdownResult, UseScrollDirectionOptions, UseScrollDirectionResult, UseToggleResult, } from "./hooks";
|
|
9
|
+
export { useDebounce, useFieldChain, useRefreshControl, useScrollDirection } from "./hooks";
|
|
9
10
|
export type { NetworkStatusBannerProps } from "./network";
|
|
10
11
|
export { NetworkStatusBanner } from "./network";
|
|
11
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";
|
|
12
|
-
export {
|
|
13
|
+
export { KitThemeBridge, lightTheme, makeStyles, ThemeProvider, useTheme, useThemeMode } from "./theme";
|
|
13
14
|
export type { FieldVariant, FillVariant, SelectionMode, Size, Tone, } from "./types/vocabulary";
|
|
14
15
|
export type { AnnounceOptions, BreakpointKey, FeedbackIntent, HapticType, ResponsiveScales, ScreenInfo, SquirclePathParams, } from "./utils";
|
|
15
|
-
export {
|
|
16
|
+
export { setHapticImplementation, triggerHaptic } from "./utils";
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,4 +2,5 @@ export type { DiscardGuardHandle, DiscardGuardLabels, DiscardGuardProps } from "
|
|
|
2
2
|
export { DEFAULT_DISCARD_GUARD_LABELS, DiscardGuard } from "./DiscardGuard";
|
|
3
3
|
export type { NavigationScreenKind, NavigationScreenProps } from "./NavigationScreen";
|
|
4
4
|
export { NavigationScreen } from "./NavigationScreen";
|
|
5
|
+
export { useNavigationTheme } from "./useNavigationTheme";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The app's tokens in React Navigation's theme shape. Without it the container paints its light
|
|
3
|
+
* default behind every transition, which flashes white in dark mode.
|
|
4
|
+
*/
|
|
5
|
+
import type { Theme } from "@react-navigation/native";
|
|
6
|
+
export declare const useNavigationTheme: () => Theme;
|
|
7
|
+
//# sourceMappingURL=useNavigationTheme.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { resolveBadgeSize, resolveButtonSize, resolveCheckboxSize, resolveChipSize, resolveEmptyStateSize, resolveFieldSize, resolveFloatingActionButtonSize, resolveListItemSize, resolveOtpInputSize, resolveRadioSize, resolveSegmentedControlSize, resolveSliderSize, resolveSwitchSize, resolveTabsSize, } from "./theme";
|
|
2
|
+
//# sourceMappingURL=sizes.d.ts.map
|
|
@@ -9,8 +9,8 @@ import { type HapticType } from "./hapticUtils";
|
|
|
9
9
|
*/
|
|
10
10
|
export type FeedbackIntent = "tap" | "select" | "longPress" | "created" | "deleted" | "restored" | "toggledOn" | "toggledOff" | "succeeded" | "warned" | "failed";
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Gates `triggerHaptic` itself, so every caller is silenced by one setting: the
|
|
13
|
+
* library components and the app's own calls alike, not only these intents.
|
|
14
14
|
*/
|
|
15
15
|
export declare const configureFeedback: (prefs: {
|
|
16
16
|
haptics: boolean;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export type HapticType = "selection" | "impactLight" | "impactMedium" | "impactHeavy" | "notificationSuccess" | "notificationWarning" | "notificationError" | "longPress" | "tick" | "denseTick" | "confirm" | "reject" | "gestureStart";
|
|
2
|
+
export declare const setHapticsEnabled: (enabled: boolean) => void;
|
|
3
|
+
export declare const isHapticsEnabled: () => boolean;
|
|
2
4
|
export declare const triggerHaptic: (type?: HapticType) => void;
|
|
3
5
|
/**
|
|
4
6
|
* Replace the haptic backend. Intended for TESTS and for the showcase; an app
|
|
@@ -13,12 +13,13 @@ export interface AccordionProps {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
variant?: AccordionVariant;
|
|
15
15
|
accessibilityLabel?: string;
|
|
16
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
16
17
|
style?: StyleProp<ViewStyle>;
|
|
17
18
|
headerStyle?: StyleProp<ViewStyle>;
|
|
18
19
|
contentStyle?: StyleProp<ViewStyle>;
|
|
19
20
|
/** Style applied to the animated wrapper around the expandable content. */
|
|
20
21
|
contentWrapperStyle?: StyleProp<ViewStyle>;
|
|
21
|
-
/**
|
|
22
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
22
23
|
containerStyle?: StyleProp<ViewStyle>;
|
|
23
24
|
testID?: string;
|
|
24
25
|
/**
|
|
@@ -106,8 +106,9 @@ export interface AppBarProps {
|
|
|
106
106
|
* area and a bottom hairline border fades in.
|
|
107
107
|
*/
|
|
108
108
|
scrollY?: Animated.Value | Animated.AnimatedInterpolation<number>;
|
|
109
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
109
110
|
style?: StyleProp<ViewStyle>;
|
|
110
|
-
/** Alias
|
|
111
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
111
112
|
containerStyle?: StyleProp<ViewStyle>;
|
|
112
113
|
/** Style applied to the title Animated.Text. */
|
|
113
114
|
titleStyle?: StyleProp<ViewStyle>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Draws the same Iconsax glyphs webority-ui's `AppIcon` draws on the web,
|
|
5
5
|
* keyed by the same names, so a feature that says `<AppIcon name="send" />`
|
|
6
6
|
* looks identical in the portal and in the app. Two tiers, both generated
|
|
7
|
-
* from webority-ui by `scripts/
|
|
7
|
+
* from webority-ui's icon map by `scripts/gen-icons.mjs` (never hand-edit them):
|
|
8
8
|
*
|
|
9
9
|
* - the curated set: the design system's semantic names ("plus",
|
|
10
10
|
* "eye-off", "alert-circle") in `glyphs.g.ts` (linear, evaluated at
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
import type React from "react";
|
|
22
22
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
23
23
|
import type { Size } from "../../types/vocabulary.js";
|
|
24
|
+
import type { TextColor } from "../Text/Text.js";
|
|
24
25
|
import type { IconName } from "./catalog.g.js";
|
|
25
26
|
import { ICON_NAMES } from "./catalog.g.js";
|
|
26
27
|
import type { CuratedIconName } from "./glyphs.g.js";
|
|
@@ -40,6 +41,8 @@ export type AppIconName = IconName | IconsaxShadowedName;
|
|
|
40
41
|
/** `linear` is the default Iconsax style; the rest come from the lazy modules. */
|
|
41
42
|
export type IconVariant = "linear" | IconVariantName;
|
|
42
43
|
export type AppIconSize = Size;
|
|
44
|
+
/** A text role or tone name, resolved as Text resolves it, or any raw colour string. */
|
|
45
|
+
export type AppIconColor = TextColor | (string & {});
|
|
43
46
|
/** Pixel sizes behind the size tokens; a raw number is accepted too. */
|
|
44
47
|
export declare const APP_ICON_SIZES: Record<AppIconSize, number>;
|
|
45
48
|
export interface AppIconProps {
|
|
@@ -51,8 +54,8 @@ export interface AppIconProps {
|
|
|
51
54
|
name: AppIconName;
|
|
52
55
|
/** Size token or a pixel number. Default `'md'` (22). */
|
|
53
56
|
size?: AppIconSize | number;
|
|
54
|
-
/**
|
|
55
|
-
color?:
|
|
57
|
+
/** A text role or tone name ("tertiary", "success", "brand") or any colour string. Default theme.colors["text-body"]. */
|
|
58
|
+
color?: AppIconColor;
|
|
56
59
|
/** Iconsax style. Default `'linear'`. Names missing in a style fall back to linear. */
|
|
57
60
|
variant?: IconVariant;
|
|
58
61
|
style?: StyleProp<ViewStyle>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type IconName = "aave" | "activity" | "add" | "add-circle" | "add-square" | "additem" | "airdrop" | "airplane" | "airplane-square" | "airpod" | "airpods" | "alarm" | "alert-circle" | "alert-triangle" | "align-bottom" | "align-horizontally" | "align-left" | "align-right" | "align-top" | "align-vertically" | "android" | "ankr" | "apple" | "aquarius" | "archive" | "archive-add" | "archive-book" | "archive-box" | "archive-minus" | "archive-slash" | "archive-tick" | "arrange-horizontal" | "arrange-horizontal-circle" | "arrange-horizontal-square" | "arrange-vertical" | "arrange-vertical-circle" | "arrange-vertical-square" | "arrow" | "arrow-circle-down" | "arrow-circle-down-2" | "arrow-circle-left" | "arrow-circle-left-2" | "arrow-circle-right" | "arrow-circle-right-2" | "arrow-circle-up" | "arrow-circle-up-2" | "arrow-down" | "arrow-down-2" | "arrow-down-3" | "arrow-down-up" | "arrow-forward" | "arrow-forward-square" | "arrow-left" | "arrow-left-2" | "arrow-left-3" | "arrow-right" | "arrow-right-2" | "arrow-right-3" | "arrow-rotate-left" | "arrow-rotate-right" | "arrow-square" | "arrow-square-down" | "arrow-square-left" | "arrow-square-right" | "arrow-square-up" | "arrow-swap-horizontal" | "arrow-swap-vertical" | "arrow-up" | "arrow-up-2" | "arrow-up-3" | "arrow-up-right" | "at" | "attach-circle" | "attach-square" | "audio-square" | "augur" | "autobrightness" | "autonio" | "avalanche" | "award" | "back" | "back-square" | "backward" | "backward-10-seconds" | "backward-15-seconds" | "backward-5-seconds" | "backward-item" | "badge-check" | "bag" | "bag-2" | "bag-cross" | "bag-cross-1" | "bag-happy" | "bag-tick" | "bag-tick-2" | "bag-timer" | "ban" | "bank" | "barcode" | "battery-charging" | "battery-disable" | "battery-empty" | "battery-empty-1" | "battery-full" | "be" | "bell" | "bezier" | "bill" | "binance-coin" | "binance-usd" | "bitcoin" | "bitcoin-card" | "bitcoin-convert" | "bitcoin-refresh" | "blend" | "blend-2" | "blogger" | "bluetooth" | "bluetooth-2" | "bluetooth-circle" | "bluetooth-rectangle" | "blur" | "bolt" | "book" | "book-1" | "book-saved" | "book-square" | "bookmark" | "bookmark-2" | "bootstrap" | "box" | "box-1" | "box-2" | "box-add" | "box-remove" | "box-seam" | "box-search" | "box-tick" | "box-time" | "briefcase" | "briefcase-cross" | "briefcase-tick" | "briefcase-timer" | "brifecase-cross" | "brifecase-tick" | "brifecase-timer" | "brodcast" | "broom" | "brush" | "brush-2" | "brush-3" | "brush-big" | "brush-square" | "bubble" | "bucket" | "bucket-circle" | "bucket-square" | "bug" | "building" | "building-2" | "building-3" | "building-4" | "buildings" | "buildings-2" | "buliding" | "bullseye" | "bus" | "buy-crypto" | "cake" | "calculator" | "calendar" | "calendar-1" | "calendar-2" | "calendar-add" | "calendar-check" | "calendar-circle" | "calendar-dots" | "calendar-edit" | "calendar-remove" | "calendar-search" | "calendar-tick" | "call" | "call-add" | "call-calling" | "call-incoming" | "call-minus" | "call-outgoing" | "call-received" | "call-remove" | "call-slash" | "camera" | "camera-slash" | "candle" | "candle-2" | "car" | "card" | "card-add" | "card-coin" | "card-edit" | "card-pos" | "card-receive" | "card-remove" | "card-remove-1" | "card-send" | "card-slash" | "card-tick" | "card-tick-1" | "cardano" | "cards" | "cash-stack" | "category" | "category-2" | "cd" | "celo" | "celsius" | "chainlink" | "chart" | "chart-1" | "chart-2" | "chart-21" | "chart-circle" | "chart-column" | "chart-fail" | "chart-square" | "chart-success" | "chat" | "chat-dots" | "check" | "check-check" | "check-circle" | "chemical-glass" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-left" | "chevrons-right" | "chevrons-up-down" | "chrome" | "circle" | "circle-help" | "civic" | "clipboard" | "clipboard-check" | "clipboard-close" | "clipboard-export" | "clipboard-import" | "clipboard-text" | "clipboard-tick" | "clock" | "close-circle" | "close-square" | "cloud" | "cloud-add" | "cloud-change" | "cloud-connection" | "cloud-cross" | "cloud-drizzle" | "cloud-fog" | "cloud-lightning" | "cloud-minus" | "cloud-notif" | "cloud-plus" | "cloud-remove" | "cloud-snow" | "cloud-sunny" | "code" | "code-1" | "code-circle" | "coffee" | "coin" | "coin-1" | "coins" | "color-swatch" | "colorfilter" | "colors-square" | "command" | "command-square" | "comment" | "component" | "computing" | "contact" | "convert" | "convert-3-d-cube" | "convert-card" | "convertshape" | "convertshape-2" | "copy" | "copy-success" | "copyright" | "courthouse" | "cpu" | "cpu-charge" | "cpu-setting" | "creative-commons" | "credit-card" | "crop" | "crown" | "crown-1" | "cup" | "cursor" | "cut" | "dai" | "danger" | "dash" | "data" | "data-2" | "decred" | "dent" | "designtools" | "device-message" | "devices" | "diagram" | "diagram-3" | "diamonds" | "direct" | "direct-down" | "direct-inbox" | "direct-left" | "direct-normal" | "direct-notification" | "direct-right" | "direct-send" | "direct-up" | "directbox-default" | "directbox-notif" | "directbox-receive" | "directbox-send" | "discount-circle" | "discount-shape" | "discover" | "dislike" | "display" | "document" | "document-cloud" | "document-code" | "document-code-2" | "document-copy" | "document-download" | "document-favorite" | "document-filter" | "document-forward" | "document-like" | "document-previous" | "document-sketch" | "document-text" | "document-text-1" | "document-upload" | "dollar-circle" | "dollar-square" | "download" | "dribbble" | "driver" | "driver-2" | "driver-refresh" | "driving" | "drop" | "dropbox" | "edit" | "edit-2" | "educare" | "electricity" | "element" | "element-2" | "element-3" | "element-4" | "element-equal" | "element-plus" | "emercoin" | "emoji-happy" | "emoji-normal" | "emoji-sad" | "emoji-smile" | "empty-wallet" | "empty-wallet-add" | "empty-wallet-change" | "empty-wallet-remove" | "empty-wallet-tick" | "empty-wallet-time" | "enjin-coin" | "eos" | "eraser" | "eraser-square" | "ethereum" | "ethereum-classic" | "export" | "export-circle" | "export-curve" | "export-square" | "external-drive" | "external-link" | "eye" | "eye-off" | "eye-slash" | "facebook" | "factory" | "fatrows" | "favorite-chart" | "figma" | "figma-1" | "file-plus-2" | "file-text" | "files" | "filter" | "filter-add" | "filter-edit" | "filter-remove" | "filter-search" | "filter-square" | "filter-tick" | "finger-cricle" | "finger-scan" | "firstline" | "flag" | "flag-2" | "flame" | "flash" | "flash-circle" | "flash-slash" | "flashy" | "folder" | "folder-2" | "folder-add" | "folder-cloud" | "folder-connection" | "folder-cross" | "folder-favorite" | "folder-kanban" | "folder-minus" | "folder-open" | "folder-plus" | "forbidden" | "forbidden-2" | "format-circle" | "format-square" | "forward" | "forward-10-seconds" | "forward-15-seconds" | "forward-5-seconds" | "forward-item" | "framer" | "ftx-token" | "gallery" | "gallery-add" | "gallery-edit" | "gallery-export" | "gallery-favorite" | "gallery-import" | "gallery-remove" | "gallery-slash" | "gallery-tick" | "game" | "gameboy" | "gas-station" | "gauge" | "gemini" | "gemini-2" | "ghost" | "gift" | "glass" | "global" | "global-edit" | "global-refresh" | "global-search" | "globe" | "globe2" | "google" | "google-drive" | "google-play" | "gps" | "gps-slash" | "grammerly" | "graph" | "grid" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-5" | "grid-6" | "grid-7" | "grid-8" | "grid-9" | "grid-edit" | "grid-eraser" | "grid-lock" | "hamberger-menu" | "hamburger-menu" | "hand" | "happyemoji" | "hard-hat" | "harmony" | "hashtag" | "hashtag-down" | "hashtag-square" | "hashtag-up" | "headphone" | "headphones" | "health" | "heart" | "heart-add" | "heart-circle" | "heart-edit" | "heart-remove" | "heart-search" | "heart-slash" | "heart-tick" | "hedera-hashgraph" | "hex" | "hierarchy" | "hierarchy-2" | "hierarchy-3" | "hierarchy-square" | "hierarchy-square-2" | "hierarchy-square-3" | "history" | "home" | "home-2" | "home-3" | "home-hashtag" | "home-trend-down" | "home-trend-up" | "home-wifi" | "hospital" | "house" | "house-2" | "html-3" | "html-5" | "huobi-token" | "i-24-support" | "i-3-d-cube-scan" | "i-3-d-rotate" | "i-3-d-square" | "i-3-dcube" | "i-3-square" | "icon" | "illustrator" | "image" | "import" | "import-circle" | "import-curve" | "import-square" | "inbox" | "info" | "info-circle" | "information" | "instagram" | "iost" | "java-script" | "js" | "judge" | "kanban" | "key" | "key-square" | "keyboard" | "keyboard-open" | "kyber-network" | "lamp" | "lamp-charge" | "lamp-on" | "lamp-slash" | "language-circle" | "language-square" | "layer" | "layout-dashboard" | "layout-grid" | "layout-maximize" | "level" | "lifebuoy" | "lightbulb" | "like" | "like-1" | "like-dislike" | "like-shapes" | "like-tag" | "link" | "link-1" | "link-2" | "link-21" | "link-circle" | "link-square" | "linkedin" | "list" | "litecoin" | "location" | "location-add" | "location-cross" | "location-discover" | "location-minus" | "location-slash" | "location-tick" | "lock" | "lock-1" | "lock-circle" | "lock-slash" | "log-out" | "login" | "login-curve" | "logout" | "logout-curve" | "lovely" | "magic-star" | "magicpen" | "mail" | "main-component" | "maker" | "man" | "map" | "map-1" | "map-pin" | "mask" | "mask-left" | "mask-right" | "math" | "maximize" | "maximize-1" | "maximize-2" | "maximize-3" | "maximize-4" | "maximize-circle" | "medal" | "medal-star" | "menu" | "menu-board" | "message" | "message-2" | "message-add" | "message-add-1" | "message-circle" | "message-edit" | "message-favorite" | "message-minus" | "message-notif" | "message-programming" | "message-question" | "message-remove" | "message-search" | "message-square" | "message-text" | "message-text-1" | "message-tick" | "message-time" | "messages" | "messages-1" | "messages-2" | "messages-3" | "messenger" | "microphone" | "microphone-2" | "microphone-slash" | "microphone-slash-1" | "microscope" | "microsoft" | "milk" | "mini-music-sqaure" | "minus" | "minus-circle" | "minus-cirlce" | "minus-square" | "mirror" | "mirroring-screen" | "mobile" | "mobile-programming" | "monero" | "money" | "money-2" | "money-3" | "money-4" | "money-add" | "money-archive" | "money-change" | "money-forbidden" | "money-receive" | "money-recive" | "money-remove" | "money-send" | "money-tick" | "money-time" | "moneys" | "monitor" | "monitor-mobbile" | "monitor-recorder" | "moon" | "more" | "more-2" | "more-circle" | "more-horizontal" | "more-square" | "mouse" | "mouse-circle" | "mouse-square" | "music" | "music-circle" | "music-dashboard" | "music-filter" | "music-library-2" | "music-play" | "music-playlist" | "music-square" | "music-square-add" | "music-square-remove" | "music-square-search" | "musicnote" | "nebulas" | "nem" | "nexo" | "next" | "note" | "note-1" | "note-add" | "note-favorite" | "note-remove" | "note-square" | "note-text" | "notepad" | "notepad-2" | "notification" | "notification-1" | "notification-bing" | "notification-circle" | "notification-favorite" | "notification-status" | "ocean-protocol" | "okb" | "okru" | "omega-circle" | "omega-square" | "ontology" | "paintbucket" | "palette" | "panel-left-close" | "panel-left-open" | "paperclip" | "paperclip-2" | "password-check" | "path-tool" | "path-tool-2" | "path-tool-square" | "pause" | "pause-circle" | "paypal" | "pen-add" | "pen-close" | "pen-remove" | "pen-tool" | "pen-tool-2" | "pencil" | "people" | "percentage-circle" | "percentage-square" | "personalcard" | "pet" | "pharagraphspacing" | "phone" | "photoshop" | "picture-frame" | "play" | "play-add" | "play-circle" | "play-cricle" | "play-remove" | "plug" | "plus" | "plus-circle" | "pointer" | "polkadot" | "polygon" | "polyswarm" | "presentation-chart" | "presention-chart" | "previous" | "printer" | "printer-slash" | "profile" | "profile-2-user" | "profile-add" | "profile-circle" | "profile-delete" | "profile-remove" | "profile-tick" | "programming-arrow" | "programming-arrows" | "python" | "quant" | "quote-down" | "quote-down-circle" | "quote-down-square" | "quote-up" | "quote-up-circle" | "quote-up-square" | "radar" | "radar-2" | "radio" | "ram" | "ram-2" | "rank" | "ranking" | "receipt" | "receipt-1" | "receipt-2" | "receipt-21" | "receipt-add" | "receipt-discount" | "receipt-disscount" | "receipt-edit" | "receipt-item" | "receipt-minus" | "receipt-search" | "receipt-square" | "receipt-text" | "receive" | "receive-square" | "receive-square-2" | "record" | "record-circle" | "recovery-convert" | "reddit" | "refresh" | "refresh-2" | "refresh-circle" | "refresh-cw" | "refresh-left-square" | "refresh-right-square" | "refresh-square" | "repeat" | "repeat-circle" | "repeate-music" | "repeate-one" | "reserve" | "robot" | "rotate-ccw" | "rotate-cw" | "rotate-left" | "rotate-right" | "route-square" | "routing" | "routing-2" | "row-horizontal" | "row-vertical" | "ruler" | "ruler-pen" | "safe-home" | "sagittarius" | "save-2" | "save-add" | "save-minus" | "save-remove" | "scan" | "scan-barcode" | "scanner" | "scanning" | "scissor" | "screenmirroring" | "scroll" | "search" | "search-favorite" | "search-favorite-1" | "search-normal" | "search-normal-1" | "search-status" | "search-status-1" | "search-zoom-in" | "search-zoom-in-1" | "search-zoom-out" | "search-zoom-out-1" | "security" | "security-card" | "security-safe" | "security-time" | "security-user" | "send" | "send-2" | "server" | "setting" | "setting-2" | "setting-3" | "setting-4" | "setting-5" | "settings" | "shapes" | "shapes-1" | "share" | "share-2" | "shield" | "shield-check" | "shield-cross" | "shield-lock" | "shield-plus" | "shield-search" | "shield-security" | "shield-slash" | "shield-tick" | "ship" | "shop" | "shop-add" | "shop-remove" | "shopping-bag" | "shopping-cart" | "shuffle" | "shutterstock" | "siacoin" | "sidebar-bottom" | "sidebar-left" | "sidebar-right" | "sidebar-top" | "signpost" | "simcard" | "simcard-1" | "simcard-2" | "size" | "slack" | "slash" | "slider" | "slider-horizontal" | "slider-horizontal-1" | "slider-vertical" | "slider-vertical-1" | "smallcaps" | "smart-car" | "smart-home" | "smileys" | "sms" | "sms-edit" | "sms-notification" | "sms-search" | "sms-star" | "sms-tracking" | "snapchat" | "snowflake" | "solana" | "sort" | "sound" | "sparkles" | "speaker" | "speedometer" | "spotify" | "stacks" | "star" | "star-1" | "star-slash" | "stars" | "status" | "status-up" | "stellar" | "sticker" | "stickynote" | "stop" | "stop-circle" | "story" | "strongbox" | "strongbox-2" | "subtitle" | "sun" | "sun-1" | "sun-fog" | "table-document" | "table-lamp" | "tag" | "tag-2" | "tag-cross" | "tag-right" | "tag-user" | "task" | "task-square" | "teacher" | "telephone" | "tenx" | "tether" | "text" | "text-block" | "text-bold" | "text-italic" | "text-underline" | "textalign-center" | "textalign-justifycenter" | "textalign-justifyleft" | "textalign-justifyright" | "textalign-left" | "textalign-right" | "the-graph" | "theta" | "thorchain" | "thumbs-up" | "tick-circle" | "tick-square" | "ticket" | "ticket-2" | "ticket-discount" | "ticket-expired" | "ticket-star" | "timer" | "timer-1" | "timer-pause" | "timer-start" | "toggle-off" | "toggle-off-circle" | "toggle-on" | "toggle-on-circle" | "trade" | "transaction-minus" | "translate" | "transmit" | "transmit-sqaure-2" | "transmit-square" | "trash" | "trash-2" | "tree" | "trello" | "trend-down" | "trend-up" | "trending-up" | "triangle" | "triangle-logo" | "trontron" | "truck" | "truck-fast" | "truck-remove" | "truck-tick" | "truck-time" | "trush-square" | "twitch" | "two-page" | "ui-8" | "unlimited" | "unlock" | "upload" | "usd-coin" | "user" | "user-add" | "user-check" | "user-cirlce-add" | "user-edit" | "user-minus" | "user-octagon" | "user-plus" | "user-remove" | "user-search" | "user-square" | "user-tag" | "user-tick" | "users" | "velas" | "verify" | "vibe" | "video" | "video-add" | "video-circle" | "video-horizontal" | "video-octagon" | "video-play" | "video-remove" | "video-slash" | "video-square" | "video-tick" | "video-time" | "video-vertical" | "voice-circle" | "voice-cricle" | "voice-square" | "volume" | "volume-cross" | "volume-high" | "volume-low" | "volume-low-1" | "volume-mute" | "volume-slash" | "volume-up" | "wallet" | "wallet-1" | "wallet-2" | "wallet-3" | "wallet-add" | "wallet-add-1" | "wallet-check" | "wallet-minus" | "wallet-money" | "wallet-remove" | "wallet-search" | "wallet2" | "wanchain" | "wanchain-1" | "wand-sparkles" | "warning-2" | "watch" | "watch-status" | "weight" | "weight-meter" | "whatsapp" | "wifi" | "wifi-square" | "wind" | "wind-2" | "windows" | "wing" | "woman" | "wrist-clock" | "x" | "x-circle" | "xd" | "xiaomi" | "xrp" | "youtube" | "zap" | "zel" | "zoom" | "zoom-in" | "zoom-out";
|
|
1
|
+
export type IconName = "aave" | "activity" | "add" | "add-circle" | "add-square" | "additem" | "airdrop" | "airplane" | "airplane-square" | "airpod" | "airpods" | "alarm" | "alert-circle" | "alert-triangle" | "align-bottom" | "align-horizontally" | "align-left" | "align-right" | "align-top" | "align-vertically" | "android" | "ankr" | "apple" | "aquarius" | "archive" | "archive-add" | "archive-book" | "archive-box" | "archive-minus" | "archive-slash" | "archive-tick" | "arrange-horizontal" | "arrange-horizontal-circle" | "arrange-horizontal-square" | "arrange-vertical" | "arrange-vertical-circle" | "arrange-vertical-square" | "arrow" | "arrow-circle-down" | "arrow-circle-down-2" | "arrow-circle-left" | "arrow-circle-left-2" | "arrow-circle-right" | "arrow-circle-right-2" | "arrow-circle-up" | "arrow-circle-up-2" | "arrow-down" | "arrow-down-2" | "arrow-down-3" | "arrow-down-up" | "arrow-forward" | "arrow-forward-square" | "arrow-left" | "arrow-left-2" | "arrow-left-3" | "arrow-right" | "arrow-right-2" | "arrow-right-3" | "arrow-rotate-left" | "arrow-rotate-right" | "arrow-square" | "arrow-square-down" | "arrow-square-left" | "arrow-square-right" | "arrow-square-up" | "arrow-swap-horizontal" | "arrow-swap-vertical" | "arrow-up" | "arrow-up-2" | "arrow-up-3" | "arrow-up-right" | "at" | "attach-circle" | "attach-square" | "audio-square" | "augur" | "autobrightness" | "autonio" | "avalanche" | "award" | "back" | "back-square" | "backward" | "backward-10-seconds" | "backward-15-seconds" | "backward-5-seconds" | "backward-item" | "badge-check" | "bag" | "bag-2" | "bag-cross" | "bag-cross-1" | "bag-happy" | "bag-tick" | "bag-tick-2" | "bag-timer" | "ban" | "bank" | "barcode" | "battery-charging" | "battery-disable" | "battery-empty" | "battery-empty-1" | "battery-full" | "be" | "bell" | "bezier" | "bill" | "binance-coin" | "binance-usd" | "bitcoin" | "bitcoin-card" | "bitcoin-convert" | "bitcoin-refresh" | "blend" | "blend-2" | "blogger" | "bluetooth" | "bluetooth-2" | "bluetooth-circle" | "bluetooth-rectangle" | "blur" | "bolt" | "book" | "book-1" | "book-saved" | "book-square" | "bookmark" | "bookmark-2" | "bootstrap" | "box" | "box-1" | "box-2" | "box-add" | "box-remove" | "box-seam" | "box-search" | "box-tick" | "box-time" | "briefcase" | "briefcase-cross" | "briefcase-tick" | "briefcase-timer" | "brifecase-cross" | "brifecase-tick" | "brifecase-timer" | "brodcast" | "broom" | "brush" | "brush-2" | "brush-3" | "brush-big" | "brush-square" | "bubble" | "bucket" | "bucket-circle" | "bucket-square" | "bug" | "building" | "building-2" | "building-3" | "building-4" | "buildings" | "buildings-2" | "buliding" | "bullseye" | "bus" | "buy-crypto" | "cake" | "calculator" | "calendar" | "calendar-1" | "calendar-2" | "calendar-add" | "calendar-check" | "calendar-circle" | "calendar-dots" | "calendar-edit" | "calendar-remove" | "calendar-search" | "calendar-tick" | "call" | "call-add" | "call-calling" | "call-incoming" | "call-minus" | "call-outgoing" | "call-received" | "call-remove" | "call-slash" | "camera" | "camera-slash" | "candle" | "candle-2" | "car" | "card" | "card-add" | "card-coin" | "card-edit" | "card-pos" | "card-receive" | "card-remove" | "card-remove-1" | "card-send" | "card-slash" | "card-tick" | "card-tick-1" | "cardano" | "cards" | "cash-stack" | "category" | "category-2" | "cd" | "celo" | "celsius" | "chainlink" | "chart" | "chart-1" | "chart-2" | "chart-21" | "chart-circle" | "chart-column" | "chart-fail" | "chart-square" | "chart-success" | "chat" | "chat-dots" | "check" | "check-check" | "check-circle" | "chemical-glass" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-left" | "chevrons-right" | "chevrons-up-down" | "chrome" | "circle" | "circle-help" | "civic" | "clipboard" | "clipboard-check" | "clipboard-close" | "clipboard-export" | "clipboard-import" | "clipboard-text" | "clipboard-tick" | "clock" | "close-circle" | "close-square" | "cloud" | "cloud-add" | "cloud-change" | "cloud-connection" | "cloud-cross" | "cloud-drizzle" | "cloud-fog" | "cloud-lightning" | "cloud-minus" | "cloud-notif" | "cloud-plus" | "cloud-remove" | "cloud-snow" | "cloud-sunny" | "code" | "code-1" | "code-circle" | "coffee" | "coin" | "coin-1" | "coins" | "color-swatch" | "colorfilter" | "colors-square" | "command" | "command-square" | "comment" | "component" | "computing" | "contact" | "convert" | "convert-3-d-cube" | "convert-card" | "convertshape" | "convertshape-2" | "copy" | "copy-success" | "copyright" | "courthouse" | "cpu" | "cpu-charge" | "cpu-setting" | "creative-commons" | "credit-card" | "crop" | "crown" | "crown-1" | "cup" | "cursor" | "cut" | "dai" | "danger" | "dash" | "data" | "data-2" | "decred" | "dent" | "designtools" | "device-message" | "devices" | "diagram" | "diagram-3" | "diamonds" | "direct" | "direct-down" | "direct-inbox" | "direct-left" | "direct-normal" | "direct-notification" | "direct-right" | "direct-send" | "direct-up" | "directbox-default" | "directbox-notif" | "directbox-receive" | "directbox-send" | "discount-circle" | "discount-shape" | "discover" | "dislike" | "display" | "document" | "document-cloud" | "document-code" | "document-code-2" | "document-copy" | "document-download" | "document-favorite" | "document-filter" | "document-forward" | "document-like" | "document-previous" | "document-sketch" | "document-text" | "document-text-1" | "document-upload" | "dollar-circle" | "dollar-square" | "download" | "dribbble" | "driver" | "driver-2" | "driver-refresh" | "driving" | "drop" | "dropbox" | "edit" | "edit-2" | "educare" | "electricity" | "element" | "element-2" | "element-3" | "element-4" | "element-equal" | "element-plus" | "emercoin" | "emoji-happy" | "emoji-normal" | "emoji-sad" | "emoji-smile" | "empty-wallet" | "empty-wallet-add" | "empty-wallet-change" | "empty-wallet-remove" | "empty-wallet-tick" | "empty-wallet-time" | "enjin-coin" | "eos" | "eraser" | "eraser-square" | "ethereum" | "ethereum-classic" | "export" | "export-circle" | "export-curve" | "export-square" | "external-drive" | "external-link" | "eye" | "eye-off" | "eye-slash" | "facebook" | "factory" | "fatrows" | "favorite-chart" | "figma" | "figma-1" | "file-plus-2" | "file-text" | "files" | "filter" | "filter-add" | "filter-edit" | "filter-remove" | "filter-search" | "filter-square" | "filter-tick" | "finger-cricle" | "finger-scan" | "firstline" | "flag" | "flag-2" | "flame" | "flash" | "flash-circle" | "flash-slash" | "flashy" | "folder" | "folder-2" | "folder-add" | "folder-cloud" | "folder-connection" | "folder-cross" | "folder-favorite" | "folder-kanban" | "folder-minus" | "folder-open" | "folder-plus" | "forbidden" | "forbidden-2" | "format-circle" | "format-square" | "forward" | "forward-10-seconds" | "forward-15-seconds" | "forward-5-seconds" | "forward-item" | "framer" | "ftx-token" | "gallery" | "gallery-add" | "gallery-edit" | "gallery-export" | "gallery-favorite" | "gallery-import" | "gallery-remove" | "gallery-slash" | "gallery-tick" | "game" | "gameboy" | "gas-station" | "gauge" | "gemini" | "gemini-2" | "ghost" | "gift" | "github" | "glass" | "global" | "global-edit" | "global-refresh" | "global-search" | "globe" | "globe2" | "google" | "google-drive" | "google-play" | "gps" | "gps-slash" | "grammerly" | "graph" | "grid" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-5" | "grid-6" | "grid-7" | "grid-8" | "grid-9" | "grid-edit" | "grid-eraser" | "grid-lock" | "hamberger-menu" | "hamburger-menu" | "hand" | "happyemoji" | "hard-hat" | "harmony" | "hashtag" | "hashtag-down" | "hashtag-square" | "hashtag-up" | "headphone" | "headphones" | "health" | "heart" | "heart-add" | "heart-circle" | "heart-edit" | "heart-remove" | "heart-search" | "heart-slash" | "heart-tick" | "hedera-hashgraph" | "hex" | "hierarchy" | "hierarchy-2" | "hierarchy-3" | "hierarchy-square" | "hierarchy-square-2" | "hierarchy-square-3" | "history" | "home" | "home-2" | "home-3" | "home-hashtag" | "home-trend-down" | "home-trend-up" | "home-wifi" | "hospital" | "house" | "house-2" | "html-3" | "html-5" | "huobi-token" | "i-24-support" | "i-3-d-cube-scan" | "i-3-d-rotate" | "i-3-d-square" | "i-3-dcube" | "i-3-square" | "icon" | "illustrator" | "image" | "import" | "import-circle" | "import-curve" | "import-square" | "inbox" | "info" | "info-circle" | "information" | "instagram" | "iost" | "java-script" | "js" | "judge" | "kanban" | "key" | "key-square" | "keyboard" | "keyboard-open" | "kyber-network" | "lamp" | "lamp-charge" | "lamp-on" | "lamp-slash" | "language-circle" | "language-square" | "layer" | "layout-dashboard" | "layout-grid" | "layout-maximize" | "level" | "lifebuoy" | "lightbulb" | "like" | "like-1" | "like-dislike" | "like-shapes" | "like-tag" | "link" | "link-1" | "link-2" | "link-21" | "link-circle" | "link-square" | "linkedin" | "list" | "litecoin" | "location" | "location-add" | "location-cross" | "location-discover" | "location-minus" | "location-slash" | "location-tick" | "lock" | "lock-1" | "lock-circle" | "lock-slash" | "log-out" | "login" | "login-curve" | "logout" | "logout-curve" | "lovely" | "magic-star" | "magicpen" | "mail" | "main-component" | "maker" | "man" | "map" | "map-1" | "map-pin" | "mask" | "mask-left" | "mask-right" | "math" | "maximize" | "maximize-1" | "maximize-2" | "maximize-3" | "maximize-4" | "maximize-circle" | "medal" | "medal-star" | "menu" | "menu-board" | "message" | "message-2" | "message-add" | "message-add-1" | "message-circle" | "message-edit" | "message-favorite" | "message-minus" | "message-notif" | "message-programming" | "message-question" | "message-remove" | "message-search" | "message-square" | "message-text" | "message-text-1" | "message-tick" | "message-time" | "messages" | "messages-1" | "messages-2" | "messages-3" | "messenger" | "microphone" | "microphone-2" | "microphone-slash" | "microphone-slash-1" | "microscope" | "microsoft" | "milk" | "mini-music-sqaure" | "minus" | "minus-circle" | "minus-cirlce" | "minus-square" | "mirror" | "mirroring-screen" | "mobile" | "mobile-programming" | "monero" | "money" | "money-2" | "money-3" | "money-4" | "money-add" | "money-archive" | "money-change" | "money-forbidden" | "money-receive" | "money-recive" | "money-remove" | "money-send" | "money-tick" | "money-time" | "moneys" | "monitor" | "monitor-mobbile" | "monitor-recorder" | "moon" | "more" | "more-2" | "more-circle" | "more-horizontal" | "more-square" | "mouse" | "mouse-circle" | "mouse-square" | "music" | "music-circle" | "music-dashboard" | "music-filter" | "music-library-2" | "music-play" | "music-playlist" | "music-square" | "music-square-add" | "music-square-remove" | "music-square-search" | "musicnote" | "nebulas" | "nem" | "nexo" | "next" | "note" | "note-1" | "note-add" | "note-favorite" | "note-remove" | "note-square" | "note-text" | "notepad" | "notepad-2" | "notification" | "notification-1" | "notification-bing" | "notification-circle" | "notification-favorite" | "notification-status" | "ocean-protocol" | "okb" | "okru" | "omega-circle" | "omega-square" | "ontology" | "paintbucket" | "palette" | "panel-left-close" | "panel-left-open" | "paperclip" | "paperclip-2" | "password-check" | "path-tool" | "path-tool-2" | "path-tool-square" | "pause" | "pause-circle" | "paypal" | "pen-add" | "pen-close" | "pen-remove" | "pen-tool" | "pen-tool-2" | "pencil" | "people" | "percentage-circle" | "percentage-square" | "personalcard" | "pet" | "pharagraphspacing" | "phone" | "photoshop" | "picture-frame" | "play" | "play-add" | "play-circle" | "play-cricle" | "play-remove" | "plug" | "plus" | "plus-circle" | "pointer" | "polkadot" | "polygon" | "polyswarm" | "presentation-chart" | "presention-chart" | "previous" | "printer" | "printer-slash" | "profile" | "profile-2-user" | "profile-add" | "profile-circle" | "profile-delete" | "profile-remove" | "profile-tick" | "programming-arrow" | "programming-arrows" | "python" | "quant" | "quote-down" | "quote-down-circle" | "quote-down-square" | "quote-up" | "quote-up-circle" | "quote-up-square" | "radar" | "radar-2" | "radio" | "ram" | "ram-2" | "rank" | "ranking" | "receipt" | "receipt-1" | "receipt-2" | "receipt-21" | "receipt-add" | "receipt-discount" | "receipt-disscount" | "receipt-edit" | "receipt-item" | "receipt-minus" | "receipt-search" | "receipt-square" | "receipt-text" | "receive" | "receive-square" | "receive-square-2" | "record" | "record-circle" | "recovery-convert" | "reddit" | "refresh" | "refresh-2" | "refresh-circle" | "refresh-cw" | "refresh-left-square" | "refresh-right-square" | "refresh-square" | "repeat" | "repeat-circle" | "repeate-music" | "repeate-one" | "reserve" | "robot" | "rotate-ccw" | "rotate-cw" | "rotate-left" | "rotate-right" | "route-square" | "routing" | "routing-2" | "row-horizontal" | "row-vertical" | "ruler" | "ruler-pen" | "safe-home" | "sagittarius" | "save-2" | "save-add" | "save-minus" | "save-remove" | "scan" | "scan-barcode" | "scanner" | "scanning" | "scissor" | "screenmirroring" | "scroll" | "search" | "search-favorite" | "search-favorite-1" | "search-normal" | "search-normal-1" | "search-status" | "search-status-1" | "search-zoom-in" | "search-zoom-in-1" | "search-zoom-out" | "search-zoom-out-1" | "security" | "security-card" | "security-safe" | "security-time" | "security-user" | "send" | "send-2" | "server" | "setting" | "setting-2" | "setting-3" | "setting-4" | "setting-5" | "settings" | "shapes" | "shapes-1" | "share" | "share-2" | "shield" | "shield-check" | "shield-cross" | "shield-lock" | "shield-plus" | "shield-search" | "shield-security" | "shield-slash" | "shield-tick" | "ship" | "shop" | "shop-add" | "shop-remove" | "shopping-bag" | "shopping-cart" | "shuffle" | "shutterstock" | "siacoin" | "sidebar-bottom" | "sidebar-left" | "sidebar-right" | "sidebar-top" | "signpost" | "simcard" | "simcard-1" | "simcard-2" | "size" | "slack" | "slash" | "slider" | "slider-horizontal" | "slider-horizontal-1" | "slider-vertical" | "slider-vertical-1" | "smallcaps" | "smart-car" | "smart-home" | "smileys" | "sms" | "sms-edit" | "sms-notification" | "sms-search" | "sms-star" | "sms-tracking" | "snapchat" | "snowflake" | "solana" | "sort" | "sound" | "sparkles" | "speaker" | "speedometer" | "spotify" | "stacks" | "star" | "star-1" | "star-slash" | "stars" | "status" | "status-up" | "stellar" | "sticker" | "stickynote" | "stop" | "stop-circle" | "story" | "strongbox" | "strongbox-2" | "subtitle" | "sun" | "sun-1" | "sun-fog" | "table-document" | "table-lamp" | "tag" | "tag-2" | "tag-cross" | "tag-right" | "tag-user" | "task" | "task-square" | "teacher" | "telephone" | "tenx" | "tether" | "text" | "text-block" | "text-bold" | "text-italic" | "text-underline" | "textalign-center" | "textalign-justifycenter" | "textalign-justifyleft" | "textalign-justifyright" | "textalign-left" | "textalign-right" | "the-graph" | "theta" | "thorchain" | "thumbs-up" | "tick-circle" | "tick-square" | "ticket" | "ticket-2" | "ticket-discount" | "ticket-expired" | "ticket-star" | "timer" | "timer-1" | "timer-pause" | "timer-start" | "toggle-off" | "toggle-off-circle" | "toggle-on" | "toggle-on-circle" | "trade" | "transaction-minus" | "translate" | "transmit" | "transmit-sqaure-2" | "transmit-square" | "trash" | "trash-2" | "tree" | "trello" | "trend-down" | "trend-up" | "trending-up" | "triangle" | "triangle-logo" | "trontron" | "truck" | "truck-fast" | "truck-remove" | "truck-tick" | "truck-time" | "trush-square" | "twitch" | "two-page" | "ui-8" | "unlimited" | "unlock" | "upload" | "usd-coin" | "user" | "user-add" | "user-check" | "user-cirlce-add" | "user-edit" | "user-minus" | "user-octagon" | "user-plus" | "user-remove" | "user-search" | "user-square" | "user-tag" | "user-tick" | "users" | "velas" | "verify" | "vibe" | "video" | "video-add" | "video-circle" | "video-horizontal" | "video-octagon" | "video-play" | "video-remove" | "video-slash" | "video-square" | "video-tick" | "video-time" | "video-vertical" | "voice-circle" | "voice-cricle" | "voice-square" | "volume" | "volume-cross" | "volume-high" | "volume-low" | "volume-low-1" | "volume-mute" | "volume-slash" | "volume-up" | "wallet" | "wallet-1" | "wallet-2" | "wallet-3" | "wallet-add" | "wallet-add-1" | "wallet-check" | "wallet-minus" | "wallet-money" | "wallet-remove" | "wallet-search" | "wallet2" | "wanchain" | "wanchain-1" | "wand-sparkles" | "warning-2" | "watch" | "watch-status" | "weight" | "weight-meter" | "whatsapp" | "wifi" | "wifi-square" | "wind" | "wind-2" | "windows" | "wing" | "woman" | "wrist-clock" | "x" | "x-circle" | "xd" | "xiaomi" | "xrp" | "youtube" | "zap" | "zel" | "zoom" | "zoom-in" | "zoom-out";
|
|
2
2
|
export declare const ICON_NAMES: IconName[];
|
|
3
3
|
export type CatalogStyle = "linear" | "bold" | "broken" | "bulk" | "outline" | "twotone";
|
|
4
4
|
type ShardLoader = () => Record<string, string>;
|
|
@@ -98,6 +98,7 @@ export declare const GLYPHS: {
|
|
|
98
98
|
readonly "folder-plus": "<path d=\"M12.06 16.5v-5M14.5 14h-5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 11v6c0 4-1 5-5 5H7c-4 0-5-1-5-5V7c0-4 1-5 5-5h1.5c1.5 0 1.83.44 2.4 1.2l1.5 2c.38.5.6.8 1.6.8h3c4 0 5 1 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>";
|
|
99
99
|
readonly gauge: "<path d=\"M19.14 19.5a9.964 9.964 0 0 0 2.86-7c0-5.52-4.48-10-10-10S2 6.98 2 12.5c0 2.72 1.08 5.18 2.84 6.99\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 21.5a3.38 3.38 0 1 0 0-6.76 3.38 3.38 0 0 0 0 6.76ZM15.25 12H16c.82 0 1.5-.67 1.5-1.5 0-.82-.68-1.5-1.5-1.5s-1.5.67-1.5 1.5v.75c0 .41.34.75.75.75Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
100
100
|
readonly gift: "<path d=\"M19.97 10h-16v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM11.64 5H6.12a.936.936 0 0 1 .03-1.3l1.42-1.42a.96.96 0 0 1 1.35 0L11.64 5ZM17.87 5h-5.52l2.72-2.72a.96.96 0 0 1 1.35 0l1.42 1.42c.36.36.37.93.03 1.3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.94 10v5.14c0 .8.88 1.27 1.55.84l.94-.62a1 1 0 0 1 1.1 0l.89.6a.997.997 0 0 0 1.55-.83V10H8.94Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
101
|
+
readonly github: "<path d=\"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 4.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\" fill=\"currentColor\"/>";
|
|
101
102
|
readonly globe: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
102
103
|
readonly globe2: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
103
104
|
readonly google: "<path d=\"M21.6 10.2h-9.4v3.7h5.5c-.1.9-.7 2.3-2 3.2-.8.6-2 1-3.5 1-2.6 0-4.9-1.7-5.7-4.2-.2-.6-.3-1.3-.3-2s.1-1.4.3-2c.1-.2.1-.4.2-.5.9-2.1 3-3.6 5.5-3.6 1.9 0 3.1.8 3.9 1.5l2.8-2.8C17.2 3 14.9 2 12.2 2 8.3 2 4.9 4.2 3.3 7.5c-.7 1.4-1.1 2.9-1.1 4.5s.4 3.1 1.1 4.5c1.6 3.3 5 5.5 8.9 5.5 2.7 0 5-.9 6.6-2.4 1.9-1.7 3-4.3 3-7.4 0-.8-.1-1.4-.2-2Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, } from "./AppIcon.js";
|
|
1
|
+
export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, } from "./AppIcon.js";
|
|
2
2
|
export { APP_ICON_SIZES, AppIcon, buildIconXml, CURATED_ICON_NAMES, default, ICON_NAMES, ICONSAX_SUFFIX, resolveGlyph, } from "./AppIcon.js";
|
|
3
3
|
export { defaultIcons } from "./defaultIcons.js";
|
|
4
4
|
export type { SlotIcon, SlotIconRef, SlotIconState, SlotNode } from "./slotIcon.js";
|
|
@@ -10,7 +10,7 @@ export interface AppLockOverlayLabels {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const DEFAULT_APP_LOCK_OVERLAY_LABELS: Readonly<AppLockOverlayLabels>;
|
|
12
12
|
export interface AppLockOverlayProps {
|
|
13
|
-
|
|
13
|
+
open: boolean;
|
|
14
14
|
onUnlock: () => void;
|
|
15
15
|
/** The last unlock failure; "cancelled" shows no message. */
|
|
16
16
|
failure?: AppLockFailure;
|
|
@@ -22,6 +22,6 @@ export interface AppLockOverlayProps {
|
|
|
22
22
|
labels?: Partial<AppLockOverlayLabels>;
|
|
23
23
|
testID?: string;
|
|
24
24
|
}
|
|
25
|
-
/** Calls `onUnlock` once each time it becomes
|
|
26
|
-
export declare function AppLockOverlay({
|
|
25
|
+
/** Calls `onUnlock` once each time it becomes open, and again on every press of the unlock button. */
|
|
26
|
+
export declare function AppLockOverlay({ open, onUnlock, failure, secondaryAction, brandMark, labels: labelOverrides, testID, }: AppLockOverlayProps): React.ReactElement | null;
|
|
27
27
|
//# sourceMappingURL=AppLockOverlay.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { DownloadHttpClient } from "@webority/mobile-core/download";
|
|
1
2
|
import type React from "react";
|
|
2
3
|
import type { GestureResponderEvent, ImageSourcePropType, ImageStyle, PressableProps, View as RNView, StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
3
4
|
import type { RadiusName } from "../../theme/tokens.generated.js";
|
|
@@ -65,6 +66,12 @@ export interface AvatarProps {
|
|
|
65
66
|
* triggers the initials fallback. When omitted, expo-image's `<Image>` is used.
|
|
66
67
|
*/
|
|
67
68
|
ImageComponent?: React.ComponentType<AvatarImageProps>;
|
|
69
|
+
/**
|
|
70
|
+
* The authed fetcher for a `source` with a `uri` (the app's signed-in client, as AuthedImage's `client`).
|
|
71
|
+
* With it set and no ImageComponent, the picture draws through AuthedImage: the image is fetched with the
|
|
72
|
+
* client, cached on disk and shown with the initials as its fallback.
|
|
73
|
+
*/
|
|
74
|
+
imageClient?: DownloadHttpClient;
|
|
68
75
|
name?: string;
|
|
69
76
|
size?: AvatarSize;
|
|
70
77
|
shape?: AvatarShape;
|
|
@@ -57,7 +57,7 @@ export interface BannerProps {
|
|
|
57
57
|
labels?: Partial<BannerLabels>;
|
|
58
58
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
59
59
|
haptic?: HapticType | false;
|
|
60
|
-
|
|
60
|
+
open?: boolean;
|
|
61
61
|
animateMount?: boolean;
|
|
62
62
|
/**
|
|
63
63
|
* When true, renders the component as its authored skeleton placeholder shape.
|
|
@@ -73,8 +73,9 @@ export interface BannerProps {
|
|
|
73
73
|
* the container makes TalkBack read the label alone and skip the rest.
|
|
74
74
|
*/
|
|
75
75
|
accessibilityLabel?: string;
|
|
76
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
76
77
|
style?: StyleProp<ViewStyle>;
|
|
77
|
-
/** Alias
|
|
78
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
78
79
|
containerStyle?: StyleProp<ViewStyle>;
|
|
79
80
|
/** Style applied to the auto-rendered icon circle (when no custom `icon` is provided). */
|
|
80
81
|
iconCircleStyle?: StyleProp<ViewStyle>;
|