@webority/mobile-ui 0.130.1 → 0.130.3
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 +5329 -5260
- package/dist/canvas-kit/manifest.json +26 -6
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/AppBar/AppBar.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/AuthedImage/AuthedImage.js +1 -1
- package/lib/commonjs/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/commonjs/components/Composer/Composer.js +1 -1
- package/lib/commonjs/components/IconButton/IconButton.js +1 -1
- package/lib/commonjs/components/ListSection/ListSection.js +1 -1
- package/lib/commonjs/components/Markdown/Markdown.js +1 -1
- package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -1
- package/lib/commonjs/components/OnboardingPager/OnboardingPager.js +1 -1
- package/lib/commonjs/components/Screen/Screen.js +1 -1
- package/lib/commonjs/components/StatTile/StatTile.js +1 -1
- package/lib/module/components/AppBar/AppBar.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/AuthedImage/AuthedImage.js +1 -1
- package/lib/module/components/AuthedImage/authedImageCache.js +1 -1
- package/lib/module/components/Composer/Composer.js +1 -1
- package/lib/module/components/IconButton/IconButton.js +1 -1
- package/lib/module/components/ListSection/ListSection.js +1 -1
- package/lib/module/components/Markdown/Markdown.js +1 -1
- package/lib/module/components/MessageBubble/MessageBubble.js +1 -1
- package/lib/module/components/OnboardingPager/OnboardingPager.js +1 -1
- package/lib/module/components/Screen/Screen.js +1 -1
- package/lib/module/components/StatTile/StatTile.js +1 -1
- package/lib/typescript/commonjs/components/AppBar/AppBar.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/AuthedImage/authedImageCache.d.ts +4 -1
- package/lib/typescript/commonjs/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/lib/typescript/commonjs/components/BottomNavigation/BottomNavigation.d.ts +1 -1
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +2 -0
- package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +5 -1
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +5 -3
- package/lib/typescript/commonjs/components/OnboardingPager/OnboardingPager.d.ts +4 -1
- package/lib/typescript/commonjs/components/Screen/Screen.d.ts +3 -1
- package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +2 -2
- package/lib/typescript/module/components/AppBar/AppBar.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/AuthedImage/authedImageCache.d.ts +4 -1
- package/lib/typescript/module/components/Autocomplete/Autocomplete.d.ts +1 -1
- package/lib/typescript/module/components/BottomNavigation/BottomNavigation.d.ts +1 -1
- package/lib/typescript/module/components/Composer/Composer.d.ts +2 -0
- package/lib/typescript/module/components/IconButton/IconButton.d.ts +5 -1
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +5 -3
- package/lib/typescript/module/components/OnboardingPager/OnboardingPager.d.ts +4 -1
- package/lib/typescript/module/components/Screen/Screen.d.ts +3 -1
- package/lib/typescript/module/components/StatTile/StatTile.d.ts +2 -2
- package/package.json +8 -9
|
@@ -4,6 +4,7 @@ import type { FlatListProps, NativeScrollEvent, NativeSyntheticEvent, ScrollView
|
|
|
4
4
|
import { FlatList } from "react-native";
|
|
5
5
|
import type { AppBarAction } from "../AppBar";
|
|
6
6
|
import type { EmptyStateProps } from "../EmptyState";
|
|
7
|
+
import type { FloatingActionButtonPosition } from "../FloatingActionButton";
|
|
7
8
|
import type { SafeAreaEdge } from "../KeyboardAwareScrollView/KeyboardAwareScrollView";
|
|
8
9
|
export interface ScreenListState {
|
|
9
10
|
/** First load: draws `skeleton` (or a Spinner) instead of the list. */
|
|
@@ -25,6 +26,7 @@ export interface ScreenListProps<ItemT> extends Omit<FlatListProps<ItemT>, "onSc
|
|
|
25
26
|
export interface FloatingActionSlotProps {
|
|
26
27
|
bottomOffset?: number;
|
|
27
28
|
size?: "sm" | "md" | "lg";
|
|
29
|
+
position?: FloatingActionButtonPosition;
|
|
28
30
|
}
|
|
29
31
|
export interface ScreenProps<ItemT = unknown> {
|
|
30
32
|
title?: string;
|
|
@@ -50,7 +52,7 @@ export interface ScreenProps<ItemT = unknown> {
|
|
|
50
52
|
bottomInset?: number;
|
|
51
53
|
/** Side margin of the content from the theme's screen gutter (16). Default true in scroll and fixed modes, false in list mode, where rows carry their own padding. The footer always has it. */
|
|
52
54
|
gutter?: boolean;
|
|
53
|
-
/** A FloatingActionButton or FloatingActionButtonGroup. The screen draws it above the tab bar and the footer and leaves room under the content so the last row is never covered. */
|
|
55
|
+
/** A FloatingActionButton or FloatingActionButtonGroup. The screen draws it above the tab bar and the footer and leaves room under the content so the last row is never covered. Floats bottomRight unless its own `position` is set. */
|
|
54
56
|
floatingAction?: React.ReactElement<FloatingActionSlotProps>;
|
|
55
57
|
/** Default true. */
|
|
56
58
|
keyboardToolbar?: boolean;
|
|
@@ -23,8 +23,8 @@ export interface StatTileLabels {
|
|
|
23
23
|
}
|
|
24
24
|
export declare const DEFAULT_STAT_TILE_LABELS: Readonly<StatTileLabels>;
|
|
25
25
|
export interface StatTileProps {
|
|
26
|
-
/** What the figure measures, drawn small above it. */
|
|
27
|
-
label:
|
|
26
|
+
/** What the figure measures, drawn small above it: text, or a node such as sub and sup runs. */
|
|
27
|
+
label: ReactNode;
|
|
28
28
|
/** The figure, always given. A string or number is drawn in the heading style; a node is drawn as is. */
|
|
29
29
|
value: NonNullable<ReactNode>;
|
|
30
30
|
/** Leading icon in a tinted circle: an AppIcon name, `{ name, variant }`, a render fn or any node. */
|
|
@@ -62,7 +62,10 @@ export interface AppBarProps {
|
|
|
62
62
|
titleAlignment?: AppBarTitleAlignment;
|
|
63
63
|
leftAction?: AppBarPressAction;
|
|
64
64
|
rightActions?: AppBarAction[];
|
|
65
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Any node in the left slot, after `leftAction` (a profile avatar button, say). On a large-title bar
|
|
67
|
+
* the title has its own row, so a wide node only narrows the compact title shown while the bar collapses.
|
|
68
|
+
*/
|
|
66
69
|
leading?: React.ReactNode;
|
|
67
70
|
/** Any node in the right slot, after `rightActions`. */
|
|
68
71
|
trailing?: React.ReactNode;
|
|
@@ -102,8 +105,8 @@ export interface AppBarProps {
|
|
|
102
105
|
/**
|
|
103
106
|
* Optional ScrollView vertical offset (Animated.Value) used to drive the
|
|
104
107
|
* "collapsing app bar" effect when `variant='large'`. As `scrollY` moves
|
|
105
|
-
* from 0 → 60, the
|
|
106
|
-
*
|
|
108
|
+
* from 0 → 60, the title row fades out, the bar shrinks to its actions row,
|
|
109
|
+
* the compact title fades in, and a bottom hairline border fades in.
|
|
107
110
|
*/
|
|
108
111
|
scrollY?: Animated.Value | Animated.AnimatedInterpolation<number>;
|
|
109
112
|
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
@@ -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" | "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";
|
|
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-down" | "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>;
|
|
@@ -200,6 +200,7 @@ export declare const GLYPHS: {
|
|
|
200
200
|
readonly "task-square": "<path d=\"M12.37 8.88h5.25M6.38 8.88l.75.75 2.25-2.25M12.37 15.88h5.25M6.38 15.88l.75.75 2.25-2.25\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
201
201
|
readonly telephone: "<path d=\"M21.97 18.33c0 .36-.08.73-.25 1.09-.17.36-.39.7-.68 1.02-.49.54-1.03.93-1.64 1.18-.6.25-1.25.38-1.95.38-1.02 0-2.11-.24-3.26-.73s-2.3-1.15-3.44-1.98a28.75 28.75 0 0 1-3.28-2.8 28.414 28.414 0 0 1-2.79-3.27c-.82-1.14-1.48-2.28-1.96-3.41C2.24 8.67 2 7.58 2 6.54c0-.68.12-1.33.36-1.93.24-.61.62-1.17 1.15-1.67C4.15 2.31 4.85 2 5.59 2c.28 0 .56.06.81.18.26.12.49.3.67.56l2.32 3.27c.18.25.31.48.4.7.09.21.14.42.14.61 0 .24-.07.48-.21.71-.13.23-.32.47-.56.71l-.76.79c-.11.11-.16.24-.16.4 0 .08.01.15.03.23.03.08.06.14.08.2.18.33.49.76.93 1.28.45.52.93 1.05 1.45 1.58.54.53 1.06 1.02 1.59 1.47.52.44.95.74 1.29.92.05.02.11.05.18.08.08.03.16.04.25.04.17 0 .3-.06.41-.17l.76-.75c.25-.25.49-.44.72-.56.23-.14.46-.21.71-.21.19 0 .39.04.61.13.22.09.45.22.7.39l3.31 2.35c.26.18.44.39.55.64.1.25.16.5.16.78Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>";
|
|
202
202
|
readonly text: "<path d=\"M2.67 7.17V5.35c0-1.15.93-2.07 2.07-2.07h14.52c1.15 0 2.07.93 2.07 2.07v1.82M12 20.72V4.11M8.06 20.72h7.88\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
203
|
+
readonly "thumbs-down": "<path d=\"m16.52 5.65-3.1-2.4c-.4-.4-1.3-.6-1.9-.6h-3.8c-1.2 0-2.5.9-2.8 2.1l-2.4 7.3c-.5 1.4.4 2.6 1.9 2.6h4c.6 0 1.1.5 1 1.2l-.5 3.2c-.2.9.4 1.9 1.3 2.2.8.3 1.8-.1 2.2-.7l4.1-6.1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path><path d=\"M21.62 5.65v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
203
204
|
readonly "thumbs-up": "<path d=\"m7.48 18.35 3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l2.4-7.3c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path><path d=\"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
204
205
|
readonly "tick-circle": "<path d=\"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"m7.75 12 2.83 2.83 5.67-5.66\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
205
206
|
readonly trash: "<path d=\"M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
@@ -25,7 +25,10 @@ export declare const flushAuthedImageIndex: () => Promise<void>;
|
|
|
25
25
|
export declare const readEntry: (cacheKey: string) => Promise<CachedImage | null>;
|
|
26
26
|
/** Drop one entry and its file, for an image the server no longer serves. */
|
|
27
27
|
export declare const removeEntry: (cacheKey: string) => Promise<void>;
|
|
28
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* A fetch the server refused, with its HTTP status. An empty 2xx body is reported
|
|
30
|
+
* as 404: the address holds no image, so it takes the same path as a missing one.
|
|
31
|
+
*/
|
|
29
32
|
export declare class AuthedImageHttpError extends Error {
|
|
30
33
|
readonly status: number;
|
|
31
34
|
constructor(message: string, status: number);
|
|
@@ -19,7 +19,7 @@ export interface AutocompleteProps<T = string> {
|
|
|
19
19
|
onSelect: (option: T) => void;
|
|
20
20
|
/** Read a display label from an option. Defaults to the option itself for strings. */
|
|
21
21
|
getOptionLabel?: (option: T) => string;
|
|
22
|
-
/** Stable React key per option. Defaults to label
|
|
22
|
+
/** Stable React key per option. Defaults to its label. */
|
|
23
23
|
getOptionKey?: (option: T) => string;
|
|
24
24
|
/** Custom match predicate. Defaults to a case-insensitive substring match on the label. */
|
|
25
25
|
filter?: (option: T, query: string) => boolean;
|
|
@@ -207,7 +207,7 @@ export interface BottomNavigationProps {
|
|
|
207
207
|
paddingHorizontal?: number;
|
|
208
208
|
/**
|
|
209
209
|
* Air inside the bar surface above and below the tab row, in pixels.
|
|
210
|
-
* Default
|
|
210
|
+
* Default 8 (`theme.space.sm`). On a docked bar that is not lifted
|
|
211
211
|
* by `marginVertical`, the bottom takes the safe-area inset instead when
|
|
212
212
|
* that is larger. The `underline` line sits on this padding's outer edge.
|
|
213
213
|
*/
|
|
@@ -17,6 +17,8 @@ export interface ComposerProps {
|
|
|
17
17
|
placeholder?: string;
|
|
18
18
|
/** The text box's screen-reader name. Default: `placeholder`. */
|
|
19
19
|
accessibilityLabel?: string;
|
|
20
|
+
/** Read after the text box's name, never drawn: a hint a sighted person does not need. */
|
|
21
|
+
hint?: string;
|
|
20
22
|
labels?: Partial<ComposerLabels>;
|
|
21
23
|
/**
|
|
22
24
|
* A reply is arriving: the person can type but not send, and send shows a spinner. With `onStop`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GestureResponderEvent, View as RNView, StyleProp, ViewStyle } from "react-native";
|
|
1
|
+
import type { AccessibilityState, GestureResponderEvent, View as RNView, StyleProp, ViewStyle } from "react-native";
|
|
2
2
|
import type { FillVariant, Size, Tone } from "../../types/vocabulary.js";
|
|
3
3
|
import type { HapticType } from "../../utils/index.js";
|
|
4
4
|
import type { IconVariant } from "../AppIcon/AppIcon.js";
|
|
@@ -29,6 +29,10 @@ export interface IconButtonProps {
|
|
|
29
29
|
onPress?: (e: GestureResponderEvent) => void;
|
|
30
30
|
/** Required — icon-only controls need an accessible name. */
|
|
31
31
|
accessibilityLabel: string;
|
|
32
|
+
/** Read after the name, never drawn: what the press does, for a control whose name alone is not enough. */
|
|
33
|
+
accessibilityHint?: string;
|
|
34
|
+
/** Accessibility state beyond the ones IconButton sets. Selected from here does not fill the button; only active does. The button's own disabled state wins over a caller's. */
|
|
35
|
+
accessibilityState?: AccessibilityState;
|
|
32
36
|
tone?: IconButtonTone;
|
|
33
37
|
variant?: IconButtonVariant;
|
|
34
38
|
size?: IconButtonSize;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { type MarkdownHeadings, type MarkdownLinks } from "@webority/markdown-core";
|
|
1
|
+
import { type FigureRun, type MarkdownHeadings, type MarkdownLinks } from "@webority/markdown-core";
|
|
2
2
|
import type React from "react";
|
|
3
3
|
import type { StyleProp, TextStyle, ViewStyle } from "react-native";
|
|
4
4
|
export interface MarkdownProps<T = string> {
|
|
5
5
|
/** The markdown source. An empty or missing string renders nothing. */
|
|
6
6
|
children?: string;
|
|
7
|
-
/** `web` makes web and contact addresses pressable; `app` makes the links `resolveLink` maps pressable. Any other scheme is plain text. */
|
|
7
|
+
/** `web` makes web and contact addresses pressable; `app` makes the links `resolveLink` maps pressable; `page` also asks `resolveLink` about every address and opens only relative addresses and addresses on the site's own origin. Any other scheme is plain text. */
|
|
8
8
|
links?: MarkdownLinks;
|
|
9
9
|
/** `outline` sizes each heading by its level; `text` draws every heading as bold body text. */
|
|
10
10
|
headings?: MarkdownHeadings;
|
|
11
|
+
/** Splits plain text into runs; a sub or sup run draws raised or lowered. Without it, text draws as written. Code spans and blocks are never split. */
|
|
12
|
+
figureText?: (text: string) => FigureRun[];
|
|
11
13
|
/** Maps an app link's address to what `onAppLinkPress` receives. Null leaves the link as plain text. */
|
|
12
14
|
resolveLink?: (href: string) => T | null | undefined;
|
|
13
15
|
/** Says whether a `[inner]` run is a citation the host can open. Without it, no run is a citation. */
|
|
@@ -35,7 +37,7 @@ export interface MarkdownProps<T = string> {
|
|
|
35
37
|
* Renders the shared markdown grammar with the theme's own type scale and colours,
|
|
36
38
|
* with no dependency. Inline HTML is plain text.
|
|
37
39
|
*/
|
|
38
|
-
export declare function Markdown<T = string>({ children, links, headings, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, onPageLinkPress, loading, style, textStyle, testID, }: MarkdownProps<T>): React.ReactElement | null;
|
|
40
|
+
export declare function Markdown<T = string>({ children, links, headings, figureText, resolveLink, isCitation, onOpenCitation, onAppLinkPress, onLinkPress, onPageLinkPress, loading, style, textStyle, testID, }: MarkdownProps<T>): React.ReactElement | null;
|
|
39
41
|
export declare namespace Markdown {
|
|
40
42
|
var displayName: string;
|
|
41
43
|
}
|
|
@@ -3,7 +3,10 @@ import type { HapticType } from "../../utils/hapticUtils.js";
|
|
|
3
3
|
export interface OnboardingPage {
|
|
4
4
|
/** Stable identity of the page; also the list key. */
|
|
5
5
|
key: string;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* The picture or illustration above the text. A fixed-size node (an `Image`) is centred;
|
|
8
|
+
* block content that should span the page width sets `alignSelf: "stretch"` on its root.
|
|
9
|
+
*/
|
|
7
10
|
art?: React.ReactNode;
|
|
8
11
|
title: string;
|
|
9
12
|
body: string;
|
|
@@ -4,6 +4,7 @@ import type { FlatListProps, NativeScrollEvent, NativeSyntheticEvent, ScrollView
|
|
|
4
4
|
import { FlatList } from "react-native";
|
|
5
5
|
import type { AppBarAction } from "../AppBar/index.js";
|
|
6
6
|
import type { EmptyStateProps } from "../EmptyState/index.js";
|
|
7
|
+
import type { FloatingActionButtonPosition } from "../FloatingActionButton/index.js";
|
|
7
8
|
import type { SafeAreaEdge } from "../KeyboardAwareScrollView/KeyboardAwareScrollView.js";
|
|
8
9
|
export interface ScreenListState {
|
|
9
10
|
/** First load: draws `skeleton` (or a Spinner) instead of the list. */
|
|
@@ -25,6 +26,7 @@ export interface ScreenListProps<ItemT> extends Omit<FlatListProps<ItemT>, "onSc
|
|
|
25
26
|
export interface FloatingActionSlotProps {
|
|
26
27
|
bottomOffset?: number;
|
|
27
28
|
size?: "sm" | "md" | "lg";
|
|
29
|
+
position?: FloatingActionButtonPosition;
|
|
28
30
|
}
|
|
29
31
|
export interface ScreenProps<ItemT = unknown> {
|
|
30
32
|
title?: string;
|
|
@@ -50,7 +52,7 @@ export interface ScreenProps<ItemT = unknown> {
|
|
|
50
52
|
bottomInset?: number;
|
|
51
53
|
/** Side margin of the content from the theme's screen gutter (16). Default true in scroll and fixed modes, false in list mode, where rows carry their own padding. The footer always has it. */
|
|
52
54
|
gutter?: boolean;
|
|
53
|
-
/** A FloatingActionButton or FloatingActionButtonGroup. The screen draws it above the tab bar and the footer and leaves room under the content so the last row is never covered. */
|
|
55
|
+
/** A FloatingActionButton or FloatingActionButtonGroup. The screen draws it above the tab bar and the footer and leaves room under the content so the last row is never covered. Floats bottomRight unless its own `position` is set. */
|
|
54
56
|
floatingAction?: React.ReactElement<FloatingActionSlotProps>;
|
|
55
57
|
/** Default true. */
|
|
56
58
|
keyboardToolbar?: boolean;
|
|
@@ -23,8 +23,8 @@ export interface StatTileLabels {
|
|
|
23
23
|
}
|
|
24
24
|
export declare const DEFAULT_STAT_TILE_LABELS: Readonly<StatTileLabels>;
|
|
25
25
|
export interface StatTileProps {
|
|
26
|
-
/** What the figure measures, drawn small above it. */
|
|
27
|
-
label:
|
|
26
|
+
/** What the figure measures, drawn small above it: text, or a node such as sub and sup runs. */
|
|
27
|
+
label: ReactNode;
|
|
28
28
|
/** The figure, always given. A string or number is drawn in the heading style; a node is drawn as is. */
|
|
29
29
|
value: NonNullable<ReactNode>;
|
|
30
30
|
/** Leading icon in a tinted circle: an AppIcon name, `{ name, variant }`, a render fn or any node. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webority/mobile-ui",
|
|
3
|
-
"version": "0.130.
|
|
3
|
+
"version": "0.130.3",
|
|
4
4
|
"description": "Beautiful, animated, accessible React Native components, theme and form engine for Webority projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@webority/markdown-core": "0.130.
|
|
118
|
+
"@webority/markdown-core": "0.130.3"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
121
|
"@react-navigation/bottom-tabs": ">=7.0.0",
|
|
122
122
|
"@react-navigation/native": ">=7.0.0",
|
|
123
|
-
"@webority/canvas-kit": "0.130.
|
|
124
|
-
"@webority/mobile-core": "0.130.
|
|
123
|
+
"@webority/canvas-kit": "0.130.3",
|
|
124
|
+
"@webority/mobile-core": "0.130.3",
|
|
125
125
|
"expo": ">=57.0.0",
|
|
126
126
|
"expo-file-system": ">=57.0.0",
|
|
127
127
|
"expo-haptics": ">=57.0.0",
|
|
@@ -185,10 +185,10 @@
|
|
|
185
185
|
"@types/node": "25.6.0",
|
|
186
186
|
"@types/react": "19.2.18",
|
|
187
187
|
"@types/react-test-renderer": "19.1.0",
|
|
188
|
-
"@webority/canvas-kit": "0.130.
|
|
189
|
-
"@webority/mobile-core": "0.130.
|
|
188
|
+
"@webority/canvas-kit": "0.130.3",
|
|
189
|
+
"@webority/mobile-core": "0.130.3",
|
|
190
190
|
"@webority/mobile-dev": "0.0.0",
|
|
191
|
-
"@webority/tokens": "0.130.
|
|
191
|
+
"@webority/tokens": "0.130.3",
|
|
192
192
|
"expo": "57.0.31",
|
|
193
193
|
"expo-file-system": "57.0.7",
|
|
194
194
|
"expo-haptics": "57.0.3",
|
|
@@ -205,12 +205,11 @@
|
|
|
205
205
|
"react-native-svg": "15.15.5",
|
|
206
206
|
"react-native-worklets": "0.10.4",
|
|
207
207
|
"react-test-renderer": "19.2.8",
|
|
208
|
-
"rimraf": "6.1.3",
|
|
209
208
|
"typescript": "5.9.3"
|
|
210
209
|
},
|
|
211
210
|
"scripts": {
|
|
212
211
|
"build": "bob build && node ../mobile-dev/scripts/minify-lib.mjs && node -e \"require('node:fs').rmSync('dist/canvas-kit',{recursive:true,force:true})\" && node ../canvas-kit/dist/cli.js build --config canvas-kit.json --out dist/canvas-kit",
|
|
213
|
-
"clean": "
|
|
212
|
+
"clean": "node -e \"require('node:fs').rmSync('lib',{recursive:true,force:true})\"",
|
|
214
213
|
"lint": "biome lint ./src",
|
|
215
214
|
"lint:fix": "biome lint --write ./src",
|
|
216
215
|
"test": "jest",
|