@webority/mobile-ui 0.128.0 → 0.129.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 +8170 -7898
- package/dist/canvas-kit/manifest.json +218 -6
- 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/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/Composer/Composer.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/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/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/FormField/FormField.js +1 -1
- package/lib/commonjs/components/Input/Input.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/Modal/Modal.js +1 -1
- package/lib/commonjs/components/Notation/Notation.js +1 -1
- package/lib/commonjs/components/NumberInput/NumberInput.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/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/SectionHeader/SectionHeader.js +1 -1
- package/lib/commonjs/components/Select/Select.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/index.js +1 -1
- package/lib/commonjs/components/not-drawn.json +2 -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/index.js +1 -1
- package/lib/commonjs/navigation/index.js +1 -1
- package/lib/commonjs/navigation/useNavigationTheme.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/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/Composer/Composer.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/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/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/FormField/FormField.js +1 -1
- package/lib/module/components/Input/Input.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/Modal/Modal.js +1 -1
- package/lib/module/components/Notation/Notation.js +1 -1
- package/lib/module/components/NumberInput/NumberInput.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/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/SectionHeader/SectionHeader.js +1 -1
- package/lib/module/components/Select/Select.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/index.js +1 -1
- package/lib/module/components/not-drawn.json +2 -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/index.js +1 -1
- package/lib/module/navigation/index.js +1 -1
- package/lib/module/navigation/useNavigationTheme.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/Banner/Banner.d.ts +2 -1
- 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/Calendar/calendarStyles.d.ts +4 -4
- package/lib/typescript/commonjs/components/Card/Card.d.ts +5 -4
- 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 +4 -14
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +4 -14
- 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 +3 -0
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +10 -0
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +5 -15
- 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/PickerTrigger/PickerTrigger.d.ts +5 -0
- 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/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -0
- 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 +4 -15
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/typescript/commonjs/components/index.d.ts +5 -4
- 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/index.d.ts +3 -3
- package/lib/typescript/commonjs/navigation/index.d.ts +1 -0
- package/lib/typescript/commonjs/navigation/useNavigationTheme.d.ts +7 -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/Banner/Banner.d.ts +2 -1
- 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/Calendar/calendarStyles.d.ts +4 -4
- package/lib/typescript/module/components/Card/Card.d.ts +5 -4
- 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 +4 -14
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +4 -14
- 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 +3 -0
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/module/components/Modal/Modal.d.ts +10 -0
- package/lib/typescript/module/components/Notation/Notation.d.ts +5 -15
- 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/PickerTrigger/PickerTrigger.d.ts +5 -0
- 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/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +2 -0
- 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 +4 -15
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/typescript/module/components/index.d.ts +5 -4
- 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/index.d.ts +3 -3
- package/lib/typescript/module/navigation/index.d.ts +1 -0
- package/lib/typescript/module/navigation/useNavigationTheme.d.ts +7 -0
- package/lib/typescript/module/utils/feedback.d.ts +2 -2
- package/lib/typescript/module/utils/hapticUtils.d.ts +2 -0
- package/package.json +7 -7
|
@@ -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
|
|
@@ -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";
|
|
@@ -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>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { View as RNView, StyleProp, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import type { RadiusName, SpaceName, Theme } from "../../theme/types.js";
|
|
4
|
-
export type BackgroundToken = "bg" | "bg-subtle" | "bg-muted" | "surface" | "scrim" | "surface-inverse";
|
|
4
|
+
export type BackgroundToken = "bg" | "bg-subtle" | "bg-muted" | "surface" | "scrim" | "surface-inverse" | "primary-wash";
|
|
5
5
|
export interface BoxProps extends ViewProps {
|
|
6
6
|
/** padding (all sides) */
|
|
7
7
|
p?: SpaceName;
|
|
@@ -23,7 +23,7 @@ export interface BoxProps extends ViewProps {
|
|
|
23
23
|
ml?: SpaceName;
|
|
24
24
|
/** Flexbox gap between children (spacing token). */
|
|
25
25
|
gap?: SpaceName;
|
|
26
|
-
/** Background: a colour name (bg, bg-subtle, bg-muted, surface, scrim, surface-inverse) or a raw colour string. */
|
|
26
|
+
/** Background: a colour name (bg, bg-subtle, bg-muted, surface, scrim, surface-inverse, primary-wash) or a raw colour string. */
|
|
27
27
|
bg?: BackgroundToken | (string & {});
|
|
28
28
|
radius?: RadiusName;
|
|
29
29
|
/** Draw a hairline border in `colors.border`. */
|
|
@@ -62,6 +62,9 @@ export interface ButtonProps extends Omit<PressableProps, "style" | "children">
|
|
|
62
62
|
* `leftIcon`.
|
|
63
63
|
*/
|
|
64
64
|
leftIconBadge?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Haptic on press. Defaults to a light tap (`impactLight`); a `HapticType` changes it and `false` switches it off. The app-wide switch (`configureFeedback`) silences it too.
|
|
67
|
+
*/
|
|
65
68
|
haptic?: HapticType | false;
|
|
66
69
|
rounded?: boolean;
|
|
67
70
|
/**
|
|
@@ -28,8 +28,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
28
28
|
opacity: number;
|
|
29
29
|
};
|
|
30
30
|
navText: {
|
|
31
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
32
31
|
fontFamily?: string | undefined | undefined;
|
|
32
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
33
33
|
fontSize: number;
|
|
34
34
|
lineHeight: number;
|
|
35
35
|
color: string;
|
|
@@ -39,8 +39,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
39
39
|
alignItems: "center";
|
|
40
40
|
};
|
|
41
41
|
headerLabel: {
|
|
42
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
43
42
|
fontFamily?: string | undefined | undefined;
|
|
43
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
44
44
|
fontSize: number;
|
|
45
45
|
color: string;
|
|
46
46
|
};
|
|
@@ -54,8 +54,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
54
54
|
paddingVertical: number;
|
|
55
55
|
};
|
|
56
56
|
weekdayText: {
|
|
57
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
58
57
|
fontFamily?: string | undefined | undefined;
|
|
58
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
59
59
|
fontSize: number;
|
|
60
60
|
color: string;
|
|
61
61
|
letterSpacing: number;
|
|
@@ -101,8 +101,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
101
101
|
borderRadius: number;
|
|
102
102
|
};
|
|
103
103
|
dayText: {
|
|
104
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
105
104
|
fontFamily?: string | undefined | undefined;
|
|
105
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
106
106
|
fontSize: number;
|
|
107
107
|
};
|
|
108
108
|
dots: {
|
|
@@ -15,7 +15,7 @@ export type CardElevation = "none" | ShadowName;
|
|
|
15
15
|
export type CardRadius = "sm" | "md" | "lg" | "xl";
|
|
16
16
|
export type CardPadding = "none" | "sm" | "md" | "lg" | "xl";
|
|
17
17
|
export type CardTitleFont = "sans" | "serif";
|
|
18
|
-
declare const BACKGROUND_TOKENS: readonly ["bg", "bg-subtle", "bg-muted", "surface", "scrim", "surface-inverse"];
|
|
18
|
+
declare const BACKGROUND_TOKENS: readonly ["bg", "bg-subtle", "bg-muted", "surface", "scrim", "surface-inverse", "primary-wash"];
|
|
19
19
|
type CardBackgroundToken = (typeof BACKGROUND_TOKENS)[number];
|
|
20
20
|
export type CardBackground = CardBackgroundToken | (string & {});
|
|
21
21
|
export interface CardLabels {
|
|
@@ -35,8 +35,8 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
|
|
|
35
35
|
/** Press feedback of a card with `onPress`. `false` draws none. Default `'scale'`. */
|
|
36
36
|
pressAnimation?: PressAnimationPreset | false;
|
|
37
37
|
/**
|
|
38
|
-
* Background colour: a background colour name (`bg`, `bg-subtle`, `bg-muted`, `surface`, `scrim`, `surface-inverse`) or any raw colour string. Applies on every variant and replaces the variant's default
|
|
39
|
-
* surface colour; `
|
|
38
|
+
* Background colour: a background colour name (`bg`, `bg-subtle`, `bg-muted`, `surface`, `scrim`, `surface-inverse`, `primary-wash`) or any raw colour string. Applies on every variant and replaces the variant's default
|
|
39
|
+
* surface colour; `containerStyle`, then `style`, still win over it.
|
|
40
40
|
*/
|
|
41
41
|
bg?: CardBackground;
|
|
42
42
|
/** Free-form header slot. When given it replaces the built-in header below. */
|
|
@@ -95,8 +95,9 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
|
|
|
95
95
|
*/
|
|
96
96
|
contextMenu?: ContextMenuConfig;
|
|
97
97
|
accessibilityLabel?: string;
|
|
98
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
98
99
|
style?: StyleProp<ViewStyle>;
|
|
99
|
-
/** Alias
|
|
100
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
100
101
|
containerStyle?: StyleProp<ViewStyle>;
|
|
101
102
|
/** Style applied to the header wrapper View. */
|
|
102
103
|
headerStyle?: StyleProp<ViewStyle>;
|
|
@@ -38,11 +38,12 @@ export interface CheckboxProps extends Omit<PressableProps, "style" | "children"
|
|
|
38
38
|
accessibilityLabel?: string;
|
|
39
39
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
40
40
|
haptic?: HapticType | false;
|
|
41
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
41
42
|
style?: StyleProp<ViewStyle>;
|
|
42
43
|
boxStyle?: StyleProp<ViewStyle>;
|
|
43
44
|
/** Style override for the indeterminate bar inside the box. */
|
|
44
45
|
indeterminateBarStyle?: StyleProp<ViewStyle>;
|
|
45
|
-
/**
|
|
46
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
46
47
|
containerStyle?: StyleProp<ViewStyle>;
|
|
47
48
|
/** Style override for the label text. */
|
|
48
49
|
labelStyle?: StyleProp<TextStyle>;
|
|
@@ -65,9 +65,10 @@ export interface ChipProps {
|
|
|
65
65
|
accessibilityLabel?: string;
|
|
66
66
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
67
67
|
haptic?: HapticType | false;
|
|
68
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
68
69
|
style?: StyleProp<ViewStyle>;
|
|
69
70
|
textStyle?: StyleProp<TextStyle>;
|
|
70
|
-
/**
|
|
71
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
71
72
|
containerStyle?: StyleProp<ViewStyle>;
|
|
72
73
|
/** Style override for the count text. */
|
|
73
74
|
countStyle?: StyleProp<TextStyle>;
|
|
@@ -34,6 +34,10 @@ export interface ComposerProps {
|
|
|
34
34
|
* to send an attachment alone: `onSend` then gets an empty string. `loading` and `disabled` still block.
|
|
35
35
|
*/
|
|
36
36
|
canSend?: boolean;
|
|
37
|
+
/** Draws a ring on the box that moves between two theme colours, for a typing or loading state. Holds still under reduced motion. */
|
|
38
|
+
ring?: boolean;
|
|
39
|
+
/** `onText` shows the send button only while there is something to send or stop. Default `always`. */
|
|
40
|
+
sendReveal?: "always" | "onText";
|
|
37
41
|
maxLength?: number;
|
|
38
42
|
/** The box grows to this many lines, then scrolls. Default 5. */
|
|
39
43
|
maxLines?: number;
|
|
@@ -2,7 +2,7 @@ import type React from "react";
|
|
|
2
2
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { HapticType } from "../../utils/index.js";
|
|
4
4
|
import type { CalendarWeekStart } from "../Calendar/index.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { PickerTriggerPassThroughProps } from "../PickerTrigger/index.js";
|
|
6
6
|
export type WeekStart = CalendarWeekStart;
|
|
7
7
|
export interface DatePickerLabels {
|
|
8
8
|
title: string;
|
|
@@ -35,7 +35,7 @@ export declare const DEFAULT_DATE_PICKER_LABELS: Readonly<DatePickerLabels>;
|
|
|
35
35
|
* where the consumer may not need either callback. In controlled-modal mode
|
|
36
36
|
* they remain semantically required.
|
|
37
37
|
*/
|
|
38
|
-
export interface DatePickerProps {
|
|
38
|
+
export interface DatePickerProps extends PickerTriggerPassThroughProps {
|
|
39
39
|
visible?: boolean;
|
|
40
40
|
value?: Date | null;
|
|
41
41
|
onChange?: (date: Date) => void;
|
|
@@ -48,8 +48,9 @@ export interface DatePickerProps {
|
|
|
48
48
|
weekStartsOn?: WeekStart;
|
|
49
49
|
title?: string;
|
|
50
50
|
labels?: Partial<DatePickerLabels>;
|
|
51
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. Applied to the calendar card. */
|
|
51
52
|
style?: StyleProp<ViewStyle>;
|
|
52
|
-
/**
|
|
53
|
+
/** Alias of style, applied before it on the same node. Use style. Applied to the calendar card. */
|
|
53
54
|
containerStyle?: StyleProp<ViewStyle>;
|
|
54
55
|
/** Style override for the header label text wrapper (month/year). */
|
|
55
56
|
headerLabelStyle?: StyleProp<ViewStyle>;
|
|
@@ -60,18 +61,7 @@ export interface DatePickerProps {
|
|
|
60
61
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
61
62
|
haptic?: HapticType | false;
|
|
62
63
|
testID?: string;
|
|
63
|
-
label?: string;
|
|
64
|
-
placeholder?: string;
|
|
65
|
-
helperText?: string;
|
|
66
|
-
error?: string | boolean;
|
|
67
|
-
required?: boolean;
|
|
68
|
-
disabled?: boolean;
|
|
69
|
-
size?: PickerTriggerSize;
|
|
70
|
-
variant?: PickerTriggerVariant;
|
|
71
|
-
clearable?: boolean;
|
|
72
|
-
onClear?: () => void;
|
|
73
64
|
formatValue?: (date: Date) => string;
|
|
74
|
-
triggerStyle?: StyleProp<ViewStyle>;
|
|
75
65
|
}
|
|
76
66
|
declare const DatePicker: React.FC<DatePickerProps>;
|
|
77
67
|
export { DatePicker };
|
|
@@ -2,7 +2,7 @@ import type { View as RNView, StyleProp, ViewStyle } from "react-native";
|
|
|
2
2
|
import type { HapticType } from "../../utils/index.js";
|
|
3
3
|
import type { CalendarMark } from "../Calendar/index.js";
|
|
4
4
|
import type { CalendarWeekStart } from "../Calendar/calendarDates.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { PickerTriggerPassThroughProps } from "../PickerTrigger/index.js";
|
|
6
6
|
export type WeekStart = CalendarWeekStart;
|
|
7
7
|
export interface DateRange {
|
|
8
8
|
start: Date | null;
|
|
@@ -24,7 +24,7 @@ export declare const DEFAULT_DATE_RANGE_PICKER_LABELS: Readonly<DateRangePickerL
|
|
|
24
24
|
* field that opens an internally-managed modal on tap. Confirm fires
|
|
25
25
|
* `onChange?.(...)` and closes.
|
|
26
26
|
*/
|
|
27
|
-
export interface DateRangePickerProps {
|
|
27
|
+
export interface DateRangePickerProps extends PickerTriggerPassThroughProps {
|
|
28
28
|
visible?: boolean;
|
|
29
29
|
value: DateRange;
|
|
30
30
|
onChange?: (range: {
|
|
@@ -32,21 +32,10 @@ export interface DateRangePickerProps {
|
|
|
32
32
|
end: Date;
|
|
33
33
|
}) => void;
|
|
34
34
|
onClose?: () => void;
|
|
35
|
-
label?: string;
|
|
36
|
-
placeholder?: string;
|
|
37
|
-
helperText?: string;
|
|
38
|
-
error?: string | boolean;
|
|
39
|
-
required?: boolean;
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
size?: PickerTriggerSize;
|
|
42
|
-
variant?: PickerTriggerVariant;
|
|
43
|
-
clearable?: boolean;
|
|
44
|
-
onClear?: () => void;
|
|
45
35
|
formatValue?: (range: {
|
|
46
36
|
start: Date;
|
|
47
37
|
end: Date;
|
|
48
38
|
}) => string;
|
|
49
|
-
triggerStyle?: StyleProp<ViewStyle>;
|
|
50
39
|
minDate?: Date;
|
|
51
40
|
maxDate?: Date;
|
|
52
41
|
disabledDates?: Date[];
|
|
@@ -63,8 +52,9 @@ export interface DateRangePickerProps {
|
|
|
63
52
|
* to override the default.
|
|
64
53
|
*/
|
|
65
54
|
haptic?: HapticType | false;
|
|
55
|
+
/** The outer box, applied to the calendar card. Applied last on that node, so it wins over containerStyle. */
|
|
66
56
|
style?: StyleProp<ViewStyle>;
|
|
67
|
-
/**
|
|
57
|
+
/** Applied to the calendar card. Alias of style, applied before it on the same node. Use style. */
|
|
68
58
|
containerStyle?: StyleProp<ViewStyle>;
|
|
69
59
|
/** Style override for the header label (month/year) wrapper. */
|
|
70
60
|
headerLabelStyle?: StyleProp<ViewStyle>;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import { type DownloadHttpClient } from "@webority/mobile-core/download";
|
|
2
1
|
import type React from "react";
|
|
3
2
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Fetches a remote `uri`. Pass the app's signed-in client (mobile-core's
|
|
9
|
-
* `userClient`, or its own) for a document behind sign-in; defaults to
|
|
10
|
-
* mobile-core's `publicClient`.
|
|
11
|
-
*/
|
|
12
|
-
client?: DownloadHttpClient;
|
|
13
|
-
/** Reuse a previously downloaded copy of this URL instead of re-fetching. Default true. */
|
|
14
|
-
cache?: boolean;
|
|
15
|
-
}
|
|
3
|
+
import { type FileViewerSource } from "./fileSource.js";
|
|
4
|
+
export type { FileViewerSource } from "./fileSource.js";
|
|
5
|
+
export type FileViewerKind = "auto" | "pdf" | "image";
|
|
16
6
|
export interface FileViewerProps {
|
|
17
7
|
source: FileViewerSource;
|
|
8
|
+
/** Default "auto": a picture when the file name ends in a picture extension, otherwise a PDF. Pass "image" for a signed link with no extension. */
|
|
9
|
+
kind?: FileViewerKind;
|
|
18
10
|
onLoadComplete?: (numberOfPages: number) => void;
|
|
19
11
|
onPageChanged?: (page: number, numberOfPages: number) => void;
|
|
20
12
|
onError?: (error: Error) => void;
|
|
@@ -28,26 +20,6 @@ export interface FileViewerProps {
|
|
|
28
20
|
testID?: string;
|
|
29
21
|
accessibilityLabel?: string;
|
|
30
22
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Renders a PDF via our own native rasterizer (Core Graphics on iOS, PdfRenderer on
|
|
33
|
-
* Android), with no third-party PDF dependency. Pages are paged through a plain
|
|
34
|
-
* `ScrollView` with manual windowed mounting, not a `FlatList`: a
|
|
35
|
-
* `VirtualizedList`-based component would trip React Native's "VirtualizedLists
|
|
36
|
-
* should never be nested inside plain ScrollViews" the moment a consumer embeds
|
|
37
|
-
* FileViewer in their own scrolling screen, which is a completely ordinary way to
|
|
38
|
-
* use it. Avoiding the VirtualizedList primitive entirely removes that whole class
|
|
39
|
-
* of warning rather than working around one instance of it. The WebView fallback
|
|
40
|
-
* consumer apps use for non-PDF office documents is a distinct rendering strategy
|
|
41
|
-
* and stays app-side.
|
|
42
|
-
*
|
|
43
|
-
* Pages render one at a time, nearest the reader first, `RENDER_AHEAD` each way,
|
|
44
|
-
* and their files are kept, so scrolling back or ahead never lands on a blank
|
|
45
|
-
* page; only `MOUNT_AROUND` pages each side decode their image. Pinch zooms around
|
|
46
|
-
* the fingers and a double tap zooms in on the tap or back out; the transform sits
|
|
47
|
-
* on the whole scroll view, so while zoomed a one-finger drag pans and, past the
|
|
48
|
-
* zoomed page's top or bottom edge, carries on into the document's scroll. A
|
|
49
|
-
* settled zoom re-renders the page in view at the sharper scale it needs.
|
|
50
|
-
*/
|
|
51
23
|
export declare const FileViewer: React.FC<FileViewerProps>;
|
|
52
24
|
export default FileViewer;
|
|
53
25
|
//# sourceMappingURL=FileViewer.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type React from "react";
|
|
2
|
+
import type { FileViewerProps } from "./FileViewer.js";
|
|
3
|
+
/** FileViewer's picture mode: one zoomable image that fills the viewer, sharing its zoom and loading shell. */
|
|
4
|
+
export declare const FileViewerImage: React.FC<Omit<FileViewerProps, "kind" | "onPageChanged">>;
|
|
5
|
+
//# sourceMappingURL=FileViewerImage.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type DownloadHttpClient } from "@webority/mobile-core/download";
|
|
2
|
+
import type { FileViewerKind } from "./FileViewer.js";
|
|
3
|
+
export interface FileViewerSource {
|
|
4
|
+
uri: string;
|
|
5
|
+
headers?: Record<string, string>;
|
|
6
|
+
/**
|
|
7
|
+
* Fetches a remote `uri`. Pass the app's signed-in client (mobile-core's
|
|
8
|
+
* `userClient`, or its own) for a document behind sign-in; defaults to
|
|
9
|
+
* mobile-core's `publicClient`.
|
|
10
|
+
*/
|
|
11
|
+
client?: DownloadHttpClient;
|
|
12
|
+
/** Reuse a previously downloaded copy of this URL instead of re-fetching. Default true. */
|
|
13
|
+
cache?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const HAS_SCHEME: RegExp;
|
|
16
|
+
/**
|
|
17
|
+
* Named from the whole URL, so two documents whose URLs end the same
|
|
18
|
+
* (`/collateral/123` and `/leads/123`) never share one saved copy.
|
|
19
|
+
*/
|
|
20
|
+
export declare const cacheFileName: (uri: string) => string;
|
|
21
|
+
export declare const localPathFromSource: (source: FileViewerSource) => Promise<string>;
|
|
22
|
+
/** "auto" reads the file name: a picture extension is a picture, anything else a PDF. */
|
|
23
|
+
export declare const resolveKind: (kind: FileViewerKind, uri: string) => "pdf" | "image";
|
|
24
|
+
//# sourceMappingURL=fileSource.d.ts.map
|