@webority/mobile-ui 0.130.2 → 0.131.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.
Files changed (67) hide show
  1. package/README.md +6 -0
  2. package/dist/canvas-kit/kit.js +7990 -7853
  3. package/dist/canvas-kit/manifest.json +29 -4
  4. package/dist/canvas-kit/release.json +6 -6
  5. package/lib/commonjs/components/AppBar/AppBar.js +1 -1
  6. package/lib/commonjs/components/AppIcon/catalog.g.js +1 -1
  7. package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
  8. package/lib/commonjs/components/AppIcon/variants.g.js +1 -1
  9. package/lib/commonjs/components/AuthedImage/AuthedImage.js +1 -1
  10. package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
  11. package/lib/commonjs/components/Composer/Composer.js +1 -1
  12. package/lib/commonjs/components/Confetti/Confetti.js +1 -1
  13. package/lib/commonjs/components/Drawer/Drawer.js +1 -1
  14. package/lib/commonjs/components/FileViewer/useFileViewerZoom.js +1 -1
  15. package/lib/commonjs/components/FloatingActionButton/FloatingActionButton.js +1 -1
  16. package/lib/commonjs/components/IconButton/IconButton.js +1 -1
  17. package/lib/commonjs/components/ImageGallery/ImageGallery.js +1 -1
  18. package/lib/commonjs/components/Markdown/Markdown.js +1 -1
  19. package/lib/commonjs/components/MessageBubble/MessageBubble.js +1 -1
  20. package/lib/commonjs/components/MessageList/MessageList.js +1 -1
  21. package/lib/commonjs/components/SlideToConfirm/SlideToConfirm.js +1 -1
  22. package/lib/commonjs/components/Slider/Slider.js +1 -1
  23. package/lib/commonjs/components/SortableList/SortableList.js +1 -1
  24. package/lib/commonjs/components/StatTile/StatTile.js +1 -1
  25. package/lib/commonjs/components/Swipeable/Swipeable.js +1 -1
  26. package/lib/commonjs/components/TypingIndicator/TypingIndicator.js +1 -1
  27. package/lib/commonjs/components/ZoomableImage/ZoomableImage.js +1 -1
  28. package/lib/module/components/AppBar/AppBar.js +1 -1
  29. package/lib/module/components/AppIcon/catalog.g.js +1 -1
  30. package/lib/module/components/AppIcon/glyphs.g.js +1 -1
  31. package/lib/module/components/AppIcon/variants.g.js +1 -1
  32. package/lib/module/components/AuthedImage/AuthedImage.js +1 -1
  33. package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
  34. package/lib/module/components/Composer/Composer.js +1 -1
  35. package/lib/module/components/Confetti/Confetti.js +1 -1
  36. package/lib/module/components/Drawer/Drawer.js +1 -1
  37. package/lib/module/components/FileViewer/useFileViewerZoom.js +1 -1
  38. package/lib/module/components/FloatingActionButton/FloatingActionButton.js +1 -1
  39. package/lib/module/components/IconButton/IconButton.js +1 -1
  40. package/lib/module/components/ImageGallery/ImageGallery.js +1 -1
  41. package/lib/module/components/Markdown/Markdown.js +1 -1
  42. package/lib/module/components/MessageBubble/MessageBubble.js +1 -1
  43. package/lib/module/components/MessageList/MessageList.js +1 -1
  44. package/lib/module/components/SlideToConfirm/SlideToConfirm.js +1 -1
  45. package/lib/module/components/Slider/Slider.js +1 -1
  46. package/lib/module/components/SortableList/SortableList.js +1 -1
  47. package/lib/module/components/StatTile/StatTile.js +1 -1
  48. package/lib/module/components/Swipeable/Swipeable.js +1 -1
  49. package/lib/module/components/TypingIndicator/TypingIndicator.js +1 -1
  50. package/lib/module/components/ZoomableImage/ZoomableImage.js +1 -1
  51. package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +4 -4
  52. package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +1 -1
  53. package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +1 -0
  54. package/lib/typescript/commonjs/components/Composer/Composer.d.ts +2 -0
  55. package/lib/typescript/commonjs/components/IconButton/IconButton.d.ts +5 -1
  56. package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +5 -3
  57. package/lib/typescript/commonjs/components/MessageList/MessageList.d.ts +1 -1
  58. package/lib/typescript/commonjs/components/StatTile/StatTile.d.ts +2 -2
  59. package/lib/typescript/module/components/AppBar/AppBar.d.ts +4 -4
  60. package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +1 -1
  61. package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +1 -0
  62. package/lib/typescript/module/components/Composer/Composer.d.ts +2 -0
  63. package/lib/typescript/module/components/IconButton/IconButton.d.ts +5 -1
  64. package/lib/typescript/module/components/Markdown/Markdown.d.ts +5 -3
  65. package/lib/typescript/module/components/MessageList/MessageList.d.ts +1 -1
  66. package/lib/typescript/module/components/StatTile/StatTile.d.ts +2 -2
  67. package/package.json +7 -7
@@ -1 +1 @@
1
- "use strict";import{useCallback,useEffect,useMemo,useRef,useState}from"react";import{StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{cancelAnimation,measure,runOnJS,scrollTo,useAnimatedRef,useAnimatedScrollHandler,useAnimatedStyle,useFrameCallback,useSharedValue,withSpring}from"react-native-reanimated";import{useTheme}from"../../theme/index.js";import{triggerHaptic}from"../../utils/index.js";import{useScrollHost}from"../Screen/ScrollHost.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_SORTABLE_LIST_LABELS=Object.freeze({moveUp:"Move up",moveDown:"Move down"});const LONG_PRESS_MS=350,EDGE_PX=48,SCROLL_STEP_PX=12,SCROLL_SLACK_PX=1,SPRING_CONFIG={damping:22,stiffness:260,mass:1},ACTION_STEP={moveUp:-1,moveDown:1},noop=e=>{};export function moveItem(e,t,a){const l=e.slice();if(t<0||t>=l.length)return l;const[o]=l.splice(t,1);return l.splice(a,0,o),l}export function topOf(e,t){"worklet";let a=0;for(let l=0;l<t;l++)a+=e[l]??0;return a}export function slotTop(e,t,a){"worklet";let l=0,o=0;for(let r=0;r<e.length&&o<a;r++)r!==t&&(l+=e[r]??0,o++);return l}export function dropIndex(e,t,a){"worklet";const l=topOf(e,t)+(e[t]??0)/2+a;let o=0,r=0;for(let a=0;a<e.length;a++){const s=e[a]??0;a!==t&&r+s/2<l&&o++,r+=s}return o}export function rowShifts(e,t,a){const l=[];let o=0;for(const t of e)l.push(o),o+=t;const r=e.map(()=>0),s=moveItem(e.map((e,t)=>t),t,a);let n=0;for(const t of s)r[t]=n-(l[t]??0),n+=e[t]??0;return r}const buildStyles=e=>StyleSheet.create({handleRow:{flexDirection:"row",alignItems:"center"},handle:{paddingHorizontal:e.space.sm,paddingVertical:e.space.md,gap:e.space.xxs},bar:{width:e.space.md,height:e.space.xxs,backgroundColor:e.colors["text-muted"]},body:{flex:1}});function SortableRow({rowKey:e,index:t,count:a,shift:l,isActive:o,dragging:r,handle:s,disabled:n,shared:u,callbacks:i,labels:c,children:d}){const m=useTheme(),v=useMemo(()=>buildStyles(m),[m]),h=useSharedValue(0);useEffect(()=>{h.value=r&&!o?withSpring(l,SPRING_CONFIG):l},[r,o,l,h]),useEffect(()=>()=>{cancelAnimation(h)},[h]);const S=useAnimatedStyle(()=>({transform:[{translateY:o?u.dragY.value:h.value}],zIndex:o?1:0})),f=useMemo(()=>{const{dragIndex:e,dropTo:a,dragY:l,translation:o,absoluteY:r,scrollY:c,scrollStart:d,hostOffset:m,hostStart:v,hostTarget:h,heights:S}=u,{onLift:f,onDrop:g,onSettled:p}=i,b=Gesture.Pan().enabled(!n).onStart(s=>{"worklet";r.value=s.absoluteY,e.value=t,a.value=t,d.value=c.value,v.value=m.value,h.value=m.value,o.value=0,l.value=0,runOnJS(f)(t)}).onUpdate(a=>{"worklet";e.value===t&&(o.value=a.translationY,r.value=a.absoluteY)}).onFinalize(()=>{"worklet";if(e.value!==t)return;const o=a.value,r=S.value;e.value=-1,l.value=topOf(r,t)+l.value-slotTop(r,t,o),l.value=withSpring(0,SPRING_CONFIG,e=>{"worklet";e&&runOnJS(p)()}),runOnJS(g)(t,o)});return s?b:b.activateAfterLongPress(350)},[n,s,t,i,u]),g=n?[]:[...t>0?[{name:"moveUp",label:c.moveUp}]:[],...t<a-1?[{name:"moveDown",label:c.moveDown}]:[]];return _jsx(Animated.View,{style:S,onLayout:t=>i.onHeight(e,t.nativeEvent.layout.height),accessibilityActions:g,onAccessibilityAction:e=>{if(n)return;const l=t+(ACTION_STEP[e.nativeEvent.actionName]??0);l!==t&&l>=0&&l<a&&i.onMove(t,l)},testID:`sortable-row-${e}`,children:s?_jsxs(View,{style:v.handleRow,children:[_jsx(GestureDetector,{gesture:f,children:_jsxs(View,{style:v.handle,children:[_jsx(View,{style:v.bar}),_jsx(View,{style:v.bar}),_jsx(View,{style:v.bar})]})}),_jsx(View,{style:v.body,children:d})]}):_jsx(GestureDetector,{gesture:f,children:_jsx(View,{children:d})})})}export function SortableList(e){const{data:t,keyExtractor:a,renderItem:l,onReorder:o,handle:r=!1,disabled:s=!1,accessibilityLabel:n,labels:u,testID:i}=e,c=useMemo(()=>({...DEFAULT_SORTABLE_LIST_LABELS,...u}),[u]),d=useMemo(()=>t.map((e,t)=>({key:a(e,t),item:e})),[t,a]),m=useMemo(()=>d.map(e=>e.key),[d]),v=useAnimatedRef(),h=useSharedValue(0),S=useSharedValue(0),f=useSharedValue(0),g=useScrollHost(),p=useSharedValue(0),b=null!==g,x=g?.top??p,w=g?.bottom??p,y=g?.offset??p,_=g?.maxOffset??p,k=g?.scrollTo??noop,A=useSharedValue(0),L=useSharedValue(0),O=useSharedValue(0),V=useSharedValue(0),I=useSharedValue(-1),T=useSharedValue(-1),C=useSharedValue(0),E=useSharedValue([]),j=useRef(new Map),M=useRef(m),[R,D]=useState(null),Y=useCallback(()=>{E.value=M.current.map(e=>j.current.get(e)??0)},[E]);useEffect(()=>{M.current=m,Y()},[m,Y]),useEffect(()=>()=>{cancelAnimation(C)},[C]);const G=useCallback(e=>{D(t=>t?.dragging?{...t,to:e}:t)},[]),P=useFrameCallback(()=>{"worklet";const e=I.value;if(e<0)return;const t=measure(v);if(t){const e=b?Math.max(t.pageY,x.value):t.pageY,a=b?Math.min(t.pageY+t.height,w.value):t.pageY+t.height,l=Math.max(0,f.value-t.height-1);V.value<e+48?h.value>1?scrollTo(v,0,Math.max(0,h.value-12),!1):b&&L.value>0&&(L.value=Math.max(0,L.value-12),runOnJS(k)(L.value)):V.value>a-48&&(h.value<l?scrollTo(v,0,Math.min(l,h.value+12),!1):b&&L.value<_.value&&(L.value=Math.min(_.value,L.value+12),runOnJS(k)(L.value)))}C.value=O.value+h.value-S.value+y.value-A.value;const a=dropIndex(E.value,e,C.value);a!==T.value&&(T.value=a,runOnJS(G)(a))},!1),N=useCallback(e=>{triggerHaptic("longPress"),P.setActive(!0),D({key:m[e]??"",from:e,to:e,dragging:!0})},[P,m]),H=useCallback((e,t)=>{P.setActive(!1),D(e=>e?{...e,to:t,dragging:!1}:e),t!==e&&o(moveItem(m,e,t))},[P,m,o]),F=useCallback(()=>{D(e=>e&&!e.dragging?null:e)},[]),J=useCallback((e,t)=>{o(moveItem(m,e,t))},[m,o]),U=useCallback((e,t)=>{j.current.set(e,t),Y()},[Y]),z=useAnimatedScrollHandler({onScroll:e=>{"worklet";h.value=e.contentOffset.y}}),B=useCallback((e,t)=>{f.value=t},[f]),K=useMemo(()=>({scrollRef:v,scrollY:h,scrollStart:S,hostOffset:y,hostStart:A,hostTarget:L,translation:O,absoluteY:V,dragIndex:I,dropTo:T,dragY:C,heights:E}),[v,h,S,y,A,L,O,V,I,T,C,E]),X=useMemo(()=>({onLift:N,onDrop:H,onSettled:F,onMove:J,onHeight:U}),[N,H,F,J,U]),$=!0===R?.dragging,q=$&&R?rowShifts(m.map(e=>j.current.get(e)??0),R.from,R.to):null;return _jsx(Animated.ScrollView,{ref:v,onScroll:z,onContentSizeChange:B,scrollEventThrottle:16,scrollEnabled:!$,accessibilityLabel:n,testID:i,children:d.map((e,t)=>{const a=R?.key===e.key;return _jsx(SortableRow,{rowKey:e.key,index:t,count:d.length,shift:q?.[t]??0,isActive:a,dragging:$,handle:r,disabled:s,shared:K,callbacks:X,labels:c,children:l({item:e.item,index:t,isActive:a})},e.key)})})}SortableList.displayName="SortableList";export default SortableList;
1
+ "use strict";import{useCallback,useEffect,useMemo,useRef,useState}from"react";import{StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{cancelAnimation,measure,runOnJS,scrollTo,useAnimatedRef,useAnimatedScrollHandler,useAnimatedStyle,useFrameCallback,useSharedValue,withSpring}from"react-native-reanimated";import{useTheme}from"../../theme/index.js";import{triggerHaptic}from"../../utils/index.js";import{useScrollHost}from"../Screen/ScrollHost.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_SORTABLE_LIST_LABELS=Object.freeze({moveUp:"Move up",moveDown:"Move down"});const LONG_PRESS_MS=350,EDGE_PX=48,SCROLL_STEP_PX=12,SCROLL_SLACK_PX=1,SPRING_CONFIG={damping:22,stiffness:260,mass:1},ACTION_STEP={moveUp:-1,moveDown:1},noop=e=>{};export function moveItem(e,t,a){const l=e.slice();if(t<0||t>=l.length)return l;const[o]=l.splice(t,1);return l.splice(a,0,o),l}export function topOf(e,t){"worklet";let a=0;for(let l=0;l<t;l++)a+=e[l]??0;return a}export function slotTop(e,t,a){"worklet";let l=0,o=0;for(let r=0;r<e.length&&o<a;r++)r!==t&&(l+=e[r]??0,o++);return l}export function dropIndex(e,t,a){"worklet";const l=topOf(e,t)+(e[t]??0)/2+a;let o=0,r=0;for(let a=0;a<e.length;a++){const s=e[a]??0;a!==t&&r+s/2<l&&o++,r+=s}return o}export function rowShifts(e,t,a){const l=[];let o=0;for(const t of e)l.push(o),o+=t;const r=e.map(()=>0),s=moveItem(e.map((e,t)=>t),t,a);let n=0;for(const t of s)r[t]=n-(l[t]??0),n+=e[t]??0;return r}const buildStyles=e=>StyleSheet.create({handleRow:{flexDirection:"row",alignItems:"center"},handle:{paddingHorizontal:e.space.sm,paddingVertical:e.space.md,gap:e.space.xxs},bar:{width:e.space.md,height:e.space.xxs,backgroundColor:e.colors["text-muted"]},body:{flex:1}});function SortableRow({rowKey:e,index:t,count:a,shift:l,isActive:o,dragging:r,handle:s,disabled:n,shared:u,callbacks:i,labels:c,children:d}){const m=useTheme(),v=useMemo(()=>buildStyles(m),[m]),h=useSharedValue(0);useEffect(()=>{h.value=r&&!o?withSpring(l,SPRING_CONFIG):l},[r,o,l,h]),useEffect(()=>()=>{cancelAnimation(h)},[h]);const S=useAnimatedStyle(()=>({transform:[{translateY:o?u.dragY.value:h.value}],zIndex:o?1:0}),[o,u,h]),f=useMemo(()=>{const{dragIndex:e,dropTo:a,dragY:l,translation:o,absoluteY:r,scrollY:c,scrollStart:d,hostOffset:m,hostStart:v,hostTarget:h,heights:S}=u,{onLift:f,onDrop:g,onSettled:p}=i,b=Gesture.Pan().enabled(!n).onStart(s=>{"worklet";r.value=s.absoluteY,e.value=t,a.value=t,d.value=c.value,v.value=m.value,h.value=m.value,o.value=0,l.value=0,runOnJS(f)(t)}).onUpdate(a=>{"worklet";e.value===t&&(o.value=a.translationY,r.value=a.absoluteY)}).onFinalize(()=>{"worklet";if(e.value!==t)return;const o=a.value,r=S.value;e.value=-1,l.value=topOf(r,t)+l.value-slotTop(r,t,o),l.value=withSpring(0,SPRING_CONFIG,e=>{"worklet";e&&runOnJS(p)()}),runOnJS(g)(t,o)});return s?b:b.activateAfterLongPress(350)},[n,s,t,i,u]),g=n?[]:[...t>0?[{name:"moveUp",label:c.moveUp}]:[],...t<a-1?[{name:"moveDown",label:c.moveDown}]:[]];return _jsx(Animated.View,{style:S,onLayout:t=>i.onHeight(e,t.nativeEvent.layout.height),accessibilityActions:g,onAccessibilityAction:e=>{if(n)return;const l=t+(ACTION_STEP[e.nativeEvent.actionName]??0);l!==t&&l>=0&&l<a&&i.onMove(t,l)},testID:`sortable-row-${e}`,children:s?_jsxs(View,{style:v.handleRow,children:[_jsx(GestureDetector,{gesture:f,children:_jsxs(View,{style:v.handle,children:[_jsx(View,{style:v.bar}),_jsx(View,{style:v.bar}),_jsx(View,{style:v.bar})]})}),_jsx(View,{style:v.body,children:d})]}):_jsx(GestureDetector,{gesture:f,children:_jsx(View,{children:d})})})}export function SortableList(e){const{data:t,keyExtractor:a,renderItem:l,onReorder:o,handle:r=!1,disabled:s=!1,accessibilityLabel:n,labels:u,testID:i}=e,c=useMemo(()=>({...DEFAULT_SORTABLE_LIST_LABELS,...u}),[u]),d=useMemo(()=>t.map((e,t)=>({key:a(e,t),item:e})),[t,a]),m=useMemo(()=>d.map(e=>e.key),[d]),v=useAnimatedRef(),h=useSharedValue(0),S=useSharedValue(0),f=useSharedValue(0),g=useScrollHost(),p=useSharedValue(0),b=null!==g,x=g?.top??p,w=g?.bottom??p,y=g?.offset??p,_=g?.maxOffset??p,k=g?.scrollTo??noop,A=useSharedValue(0),L=useSharedValue(0),O=useSharedValue(0),V=useSharedValue(0),I=useSharedValue(-1),T=useSharedValue(-1),C=useSharedValue(0),E=useSharedValue([]),j=useRef(new Map),M=useRef(m),[R,D]=useState(null),Y=useCallback(()=>{E.value=M.current.map(e=>j.current.get(e)??0)},[E]);useEffect(()=>{M.current=m,Y()},[m,Y]),useEffect(()=>()=>{cancelAnimation(C)},[C]);const G=useCallback(e=>{D(t=>t?.dragging?{...t,to:e}:t)},[]),P=useFrameCallback(()=>{"worklet";const e=I.value;if(e<0)return;const t=measure(v);if(t){const e=b?Math.max(t.pageY,x.value):t.pageY,a=b?Math.min(t.pageY+t.height,w.value):t.pageY+t.height,l=Math.max(0,f.value-t.height-1);V.value<e+48?h.value>1?scrollTo(v,0,Math.max(0,h.value-12),!1):b&&L.value>0&&(L.value=Math.max(0,L.value-12),runOnJS(k)(L.value)):V.value>a-48&&(h.value<l?scrollTo(v,0,Math.min(l,h.value+12),!1):b&&L.value<_.value&&(L.value=Math.min(_.value,L.value+12),runOnJS(k)(L.value)))}C.value=O.value+h.value-S.value+y.value-A.value;const a=dropIndex(E.value,e,C.value);a!==T.value&&(T.value=a,runOnJS(G)(a))},!1),N=useCallback(e=>{triggerHaptic("longPress"),P.setActive(!0),D({key:m[e]??"",from:e,to:e,dragging:!0})},[P,m]),H=useCallback((e,t)=>{P.setActive(!1),D(e=>e?{...e,to:t,dragging:!1}:e),t!==e&&o(moveItem(m,e,t))},[P,m,o]),F=useCallback(()=>{D(e=>e&&!e.dragging?null:e)},[]),J=useCallback((e,t)=>{o(moveItem(m,e,t))},[m,o]),U=useCallback((e,t)=>{j.current.set(e,t),Y()},[Y]),z=useAnimatedScrollHandler({onScroll:e=>{"worklet";h.value=e.contentOffset.y}}),B=useCallback((e,t)=>{f.value=t},[f]),K=useMemo(()=>({scrollRef:v,scrollY:h,scrollStart:S,hostOffset:y,hostStart:A,hostTarget:L,translation:O,absoluteY:V,dragIndex:I,dropTo:T,dragY:C,heights:E}),[v,h,S,y,A,L,O,V,I,T,C,E]),X=useMemo(()=>({onLift:N,onDrop:H,onSettled:F,onMove:J,onHeight:U}),[N,H,F,J,U]),$=!0===R?.dragging,q=$&&R?rowShifts(m.map(e=>j.current.get(e)??0),R.from,R.to):null;return _jsx(Animated.ScrollView,{ref:v,onScroll:z,onContentSizeChange:B,scrollEventThrottle:16,scrollEnabled:!$,accessibilityLabel:n,testID:i,children:d.map((e,t)=>{const a=R?.key===e.key;return _jsx(SortableRow,{rowKey:e.key,index:t,count:d.length,shift:q?.[t]??0,isActive:a,dragging:$,handle:r,disabled:s,shared:K,callbacks:X,labels:c,children:l({item:e.item,index:t,isActive:a})},e.key)})})}SortableList.displayName="SortableList";export default SortableList;
@@ -1 +1 @@
1
- "use strict";import{formatPercent}from"@webority/mobile-core";import{forwardRef,useMemo}from"react";import{StyleSheet,View}from"react-native";import{useTheme}from"../../theme/index.js";import{warnInvalidValue}from"../../utils/warnInvalidValue.js";import{AppIcon}from"../AppIcon/index.js";import{Card}from"../Card/index.js";import{IconBadge}from"../IconBadge/index.js";import{Skeleton}from"../Skeleton/index.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_STAT_TILE_LABELS=Object.freeze({trendUp:"up",trendDown:"down",trendFlat:"no change"});const isText=e=>"string"==typeof e||"number"==typeof e,TREND_ICON={up:"arrow-up",down:"arrow-down",flat:"minus"},TREND_SIGN={up:"+",down:"-",flat:""},percentText=e=>formatPercent(Math.abs(e),{scale:"percent",maximumFractionDigits:1}),trendFigure=e=>"number"==typeof e.value?`${TREND_SIGN[e.direction]}${percentText(e.value)}`:e.value,trendSpoken=(e,t)=>{const n=[{up:t.trendUp,down:t.trendDown,flat:t.trendFlat}[e.direction]];return"flat"!==e.direction&&n.push("number"==typeof e.value?percentText(e.value):e.value),e.period&&n.push(e.period),n.join(" ")},StatTile=forwardRef((e,t)=>{const{label:n,value:r,icon:i,iconVariant:o,tone:s="primary",caption:a,trend:l,sparkline:c,onPress:d,loading:p=!1,accessibilityLabel:x,labels:u,style:m,testID:f}=e,h=useTheme();warnInvalidValue("StatTile","tone",e.tone,["primary","success","warning","danger","info","neutral"]),warnInvalidValue("StatTile","trend.direction",l?.direction,["up","down","flat"]),warnInvalidValue("StatTile","trend.goodWhen",l?.goodWhen,["up","down"]);const T=useMemo(()=>({...DEFAULT_STAT_TILE_LABELS,...u}),[u]),w=l?`, ${trendSpoken(l,T)}`:"",y=x??(isText(r)?`${n}, ${r}${w}`:void 0),j=!!l&&l.direction===(l.goodWhen??"up"),_=l&&"flat"!==l.direction?j?"success":"danger":"secondary",S="secondary"===_?h.colors["text-muted"]:h.colors[`${_}-text`];return _jsx(Card,p?{ref:t,variant:"outline",style:m,testID:f,children:_jsxs(View,{style:[styles.row,{columnGap:h.space.md}],children:[void 0===i?null:_jsx(Skeleton,{shape:"circle",width:40,height:40}),_jsxs(View,{style:styles.text,children:[_jsx(Skeleton,{shape:"text",width:"50%",height:12}),_jsx(Skeleton,{shape:"text",width:"35%",height:24,style:{marginTop:h.space.xs}})]})]})}:{ref:t,variant:"outline",onPress:d,accessibilityLabel:y,style:m,testID:f,children:_jsxs(View,{style:[styles.row,{columnGap:h.space.md}],children:[void 0===i?null:_jsx(IconBadge,{icon:i,iconVariant:o,tone:s}),_jsxs(View,{style:styles.text,children:[_jsx(Text,{variant:"caption",color:"secondary",numberOfLines:1,children:n}),isText(r)?_jsx(Text,{variant:"h3",numberOfLines:1,children:r}):r,l?_jsxs(View,{style:[styles.trend,{columnGap:h.space.xxs}],testID:f?`${f}-trend`:void 0,children:[_jsx(AppIcon,{name:TREND_ICON[l.direction],size:"xs",color:S}),_jsxs(Text,{variant:"caption",color:_,numberOfLines:2,style:styles.text,children:[trendFigure(l),l.period?_jsx(Text,{variant:"caption",color:"tertiary",children:` ${l.period}`}):null]})]}):null,null==a||""===a?null:isText(a)?_jsx(Text,{variant:"caption",color:"tertiary",numberOfLines:1,children:a}):a,null==c?null:_jsx(View,{style:{marginTop:h.space.sm},children:c})]})]})})});StatTile.displayName="StatTile";const styles=StyleSheet.create({row:{flexDirection:"row",alignItems:"center"},text:{flex:1,minWidth:0},trend:{flexDirection:"row",alignItems:"center"}});export{StatTile};export default StatTile;
1
+ "use strict";import{formatPercent}from"@webority/mobile-core";import{forwardRef,useMemo}from"react";import{StyleSheet,View}from"react-native";import{useTheme}from"../../theme/index.js";import{warnInvalidValue}from"../../utils/warnInvalidValue.js";import{AppIcon}from"../AppIcon/index.js";import{Card}from"../Card/index.js";import{IconBadge}from"../IconBadge/index.js";import{Skeleton}from"../Skeleton/index.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_STAT_TILE_LABELS=Object.freeze({trendUp:"up",trendDown:"down",trendFlat:"no change"});const isText=e=>"string"==typeof e||"number"==typeof e,TREND_ICON={up:"arrow-up",down:"arrow-down",flat:"minus"},TREND_SIGN={up:"+",down:"-",flat:""},percentText=e=>formatPercent(Math.abs(e),{scale:"percent",maximumFractionDigits:1}),trendFigure=e=>"number"==typeof e.value?`${TREND_SIGN[e.direction]}${percentText(e.value)}`:e.value,trendSpoken=(e,t)=>{const n=[{up:t.trendUp,down:t.trendDown,flat:t.trendFlat}[e.direction]];return"flat"!==e.direction&&n.push("number"==typeof e.value?percentText(e.value):e.value),e.period&&n.push(e.period),n.join(" ")},StatTile=forwardRef((e,t)=>{const{label:n,value:r,icon:i,iconVariant:o,tone:s="primary",caption:a,trend:l,sparkline:c,onPress:d,loading:p=!1,accessibilityLabel:x,labels:u,style:m,testID:f}=e,h=useTheme();warnInvalidValue("StatTile","tone",e.tone,["primary","success","warning","danger","info","neutral"]),warnInvalidValue("StatTile","trend.direction",l?.direction,["up","down","flat"]),warnInvalidValue("StatTile","trend.goodWhen",l?.goodWhen,["up","down"]);const T=useMemo(()=>({...DEFAULT_STAT_TILE_LABELS,...u}),[u]),w=l?`, ${trendSpoken(l,T)}`:"",y=isText(n)?`${n}, `:"",j=x??(isText(r)?`${y}${r}${w}`:void 0),_=!!l&&l.direction===(l.goodWhen??"up"),S=l&&"flat"!==l.direction?_?"success":"danger":"secondary",v="secondary"===S?h.colors["text-muted"]:h.colors[`${S}-text`];return _jsx(Card,p?{ref:t,variant:"outline",style:m,testID:f,children:_jsxs(View,{style:[styles.row,{columnGap:h.space.md}],children:[void 0===i?null:_jsx(Skeleton,{shape:"circle",width:40,height:40}),_jsxs(View,{style:styles.text,children:[_jsx(Skeleton,{shape:"text",width:"50%",height:12}),_jsx(Skeleton,{shape:"text",width:"35%",height:24,style:{marginTop:h.space.xs}})]})]})}:{ref:t,variant:"outline",onPress:d,accessibilityLabel:j,style:m,testID:f,children:_jsxs(View,{style:[styles.row,{columnGap:h.space.md}],children:[void 0===i?null:_jsx(IconBadge,{icon:i,iconVariant:o,tone:s}),_jsxs(View,{style:styles.text,children:[_jsx(Text,{variant:"caption",color:"secondary",numberOfLines:1,children:n}),isText(r)?_jsx(Text,{variant:"h3",numberOfLines:1,children:r}):r,l?_jsxs(View,{style:[styles.trend,{columnGap:h.space.xxs}],testID:f?`${f}-trend`:void 0,children:[_jsx(AppIcon,{name:TREND_ICON[l.direction],size:"xs",color:v}),_jsxs(Text,{variant:"caption",color:S,numberOfLines:2,style:styles.text,children:[trendFigure(l),l.period?_jsx(Text,{variant:"caption",color:"tertiary",children:` ${l.period}`}):null]})]}):null,null==a||""===a?null:isText(a)?_jsx(Text,{variant:"caption",color:"tertiary",numberOfLines:1,children:a}):a,null==c?null:_jsx(View,{style:{marginTop:h.space.sm},children:c})]})]})})});StatTile.displayName="StatTile";const styles=StyleSheet.create({row:{flexDirection:"row",alignItems:"center"},text:{flex:1,minWidth:0},trend:{flexDirection:"row",alignItems:"center"}});export{StatTile};export default StatTile;
@@ -1 +1 @@
1
- "use strict";import{useCallback,useEffect,useMemo,useRef}from"react";import{Dimensions,Pressable,StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{cancelAnimation,runOnJS,useAnimatedStyle,useSharedValue,withSpring}from"react-native-reanimated";import{useTheme}from"../../theme/index.js";import{resolveHaptic,triggerHaptic}from"../../utils/index.js";import{warnInvalidValue}from"../../utils/warnInvalidValue.js";import{renderSlotIcon}from"../AppIcon/slotIcon.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";const SPRING_CONFIG={damping:22,stiffness:260,mass:1},DRAG_ACTIVATION_OFFSET=10,RUBBER_BAND_FACTOR=.35,FAIL_OFFSET_Y=15,ACTION_ICON_SIZE=20,toneToBg=(e,t)=>{switch(t){case"primary":return e.colors.primary;case"success":return e.colors.success;case"warning":return e.colors.warning;case"danger":return e.colors.danger;case"info":return e.colors.info;default:return e.colors.neutral}},toneToOnColor=(e,t)=>{switch(t){case"primary":return e.colors["on-primary"];case"success":return e.colors["on-success"];case"warning":return e.colors["on-warning"];case"danger":return e.colors["on-danger"];case"info":return e.colors["on-info"];default:return e.colors["on-neutral"]}},Swipeable=e=>{const{children:t,leftActions:n,rightActions:o,threshold:i,fullSwipeThreshold:r,onSwipeOpen:s,onSwipeClose:a,disabled:l=!1,haptic:c,containerStyle:u,contentStyle:d,actionStyle:m,accessibilityLabel:h,testID:p}=e,S=useTheme(),w=i??80,b=r??200,f=useMemo(()=>buildStyles(S),[S]),g=useMemo(()=>buildActionStyles(S),[S]),y=!!n&&n.length>0,v=!!o&&o.length>0,x=Dimensions.get("window").width,I=y?w*(n?.length??0):0,A=v?w*(o?.length??0):0,_=useSharedValue(0),C=useSharedValue(0),O=useRef(null);useEffect(()=>()=>{cancelAnimation(_),cancelAnimation(C)},[_,C]);const j=useCallback(e=>{O.current!==e&&(O.current=e,s?.(e))},[s]),G=useCallback(()=>{null!==O.current&&(O.current=null,a?.())},[a]),N=useCallback(e=>{const t="left"===e?n:o,i=t?.[0];i&&(!1!==c&&triggerHaptic("notificationSuccess"),i.onPress(),_.value=withSpring(0,SPRING_CONFIG),O.current=null,a?.())},[n,o,_,a,c]),R=useCallback(()=>{_.value=withSpring(0,SPRING_CONFIG),G()},[_,G]),k=useCallback(e=>{const t=resolveHaptic(c,"selection");t&&triggerHaptic(t),e.onPress(),R()},[R,c]),P=useMemo(()=>{const e=I,t=A,n=b,o=-b,i=x,r=-x,s=w,a=y,c=v;return Gesture.Pan().enabled(!l).withTestId(p?`${p}-gesture`:"swipeable-gesture").activeOffsetX([-10,10]).failOffsetY([-15,15]).onStart(()=>{"worklet";C.value=_.value}).onUpdate(n=>{"worklet";const o=C.value+n.translationX;_.value=o>0&&!a||o<0&&!c?0:o>e&&a?e+.35*(o-e):o<-t&&c?.35*(o+t)-t:o}).onEnd(()=>{"worklet";const l=_.value;return a&&l>=n?(_.value=withSpring(i,SPRING_CONFIG),void runOnJS(N)("left")):c&&l<=o?(_.value=withSpring(r,SPRING_CONFIG),void runOnJS(N)("right")):a&&l>=s?(_.value=withSpring(e,SPRING_CONFIG),void runOnJS(j)("left")):c&&l<=-s?(_.value=withSpring(-t,SPRING_CONFIG),void runOnJS(j)("right")):(_.value=withSpring(0,SPRING_CONFIG),void runOnJS(G)())})},[l,C,N,b,y,v,I,G,j,A,x,w,_,p]),T=useAnimatedStyle(()=>({transform:[{translateX:_.value}]})),F=useAnimatedStyle(()=>({opacity:I>0?Math.min(1,Math.max(0,_.value/I)):0})),V=useAnimatedStyle(()=>({opacity:A>0?Math.min(1,Math.max(0,-_.value/A)):0})),E=useMemo(()=>{const e=[];return n?.forEach(t=>{e.push({name:t.key,label:t.label})}),o?.forEach(t=>{e.push({name:t.key,label:t.label})}),e},[n,o]),D=useCallback(e=>{const t=e.nativeEvent.actionName,i=[...n??[],...o??[]].find(e=>e.key===t);i&&(!1!==c&&triggerHaptic("selection"),i.onPress())},[n,o,c]);return y||v?_jsxs(View,{style:[f.root,u],testID:p,accessibilityLabel:h,accessibilityActions:E,onAccessibilityAction:D,children:[y?_jsx(Animated.View,{style:[f.actionsRow,f.actionsLeft,{width:I},m,F],pointerEvents:"box-none",children:n?.map(e=>_jsx(ActionButton,{action:e,theme:S,actionStyles:g,width:w,onPress:k},e.key))}):null,v?_jsx(Animated.View,{style:[f.actionsRow,f.actionsRight,{width:A},m,V],pointerEvents:"box-none",children:o?.map(e=>_jsx(ActionButton,{action:e,theme:S,actionStyles:g,width:w,onPress:k},e.key))}):null,_jsx(GestureDetector,{gesture:P,children:_jsx(Animated.View,{style:[f.content,d,T],children:t})})]}):_jsx(View,{style:u,testID:p,children:t})};Swipeable.displayName="Swipeable";const ActionButton=({action:e,theme:t,actionStyles:n,width:o,onPress:i})=>{warnInvalidValue("Swipeable","tone",e.tone,["primary","success","warning","danger","info","neutral"]);const r=e.tone??"neutral",s=toneToBg(t,r),a=renderSlotIcon(e.icon,{color:toneToOnColor(t,r),size:20,disabled:!1});return _jsxs(Pressable,{onPress:()=>i(e),accessibilityRole:"button",accessibilityLabel:e.label,style:[n.button,{width:o,backgroundColor:s,paddingHorizontal:t.space.sm}],children:[a?_jsx(View,{style:n.icon,children:a}):null,_jsx(Text,{variant:"bodySmall",weight:"semibold",style:[n.label,{color:toneToOnColor(t,r)}],numberOfLines:1,children:e.label})]})},buildActionStyles=e=>StyleSheet.create({button:{flexGrow:0,flexShrink:0,alignItems:"center",justifyContent:"center"},icon:{marginBottom:e.space.xxs},label:{textAlign:"center"}}),buildStyles=e=>StyleSheet.create({root:{position:"relative",overflow:"hidden"},content:{backgroundColor:"transparent"},actionsRow:{position:"absolute",top:0,bottom:0,flexDirection:"row"},actionsLeft:{left:0},actionsRight:{right:0,justifyContent:"flex-end"}});export{Swipeable};export default Swipeable;
1
+ "use strict";import{useCallback,useEffect,useMemo,useRef}from"react";import{Dimensions,Pressable,StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{cancelAnimation,runOnJS,useAnimatedStyle,useSharedValue,withSpring}from"react-native-reanimated";import{useTheme}from"../../theme/index.js";import{resolveHaptic,triggerHaptic}from"../../utils/index.js";import{warnInvalidValue}from"../../utils/warnInvalidValue.js";import{renderSlotIcon}from"../AppIcon/slotIcon.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";const SPRING_CONFIG={damping:22,stiffness:260,mass:1},DRAG_ACTIVATION_OFFSET=10,RUBBER_BAND_FACTOR=.35,FAIL_OFFSET_Y=15,ACTION_ICON_SIZE=20,toneToBg=(e,t)=>{switch(t){case"primary":return e.colors.primary;case"success":return e.colors.success;case"warning":return e.colors.warning;case"danger":return e.colors.danger;case"info":return e.colors.info;default:return e.colors.neutral}},toneToOnColor=(e,t)=>{switch(t){case"primary":return e.colors["on-primary"];case"success":return e.colors["on-success"];case"warning":return e.colors["on-warning"];case"danger":return e.colors["on-danger"];case"info":return e.colors["on-info"];default:return e.colors["on-neutral"]}},Swipeable=e=>{const{children:t,leftActions:n,rightActions:o,threshold:i,fullSwipeThreshold:r,onSwipeOpen:s,onSwipeClose:a,disabled:l=!1,haptic:c,containerStyle:u,contentStyle:d,actionStyle:m,accessibilityLabel:h,testID:p}=e,S=useTheme(),w=i??80,b=r??200,f=useMemo(()=>buildStyles(S),[S]),g=useMemo(()=>buildActionStyles(S),[S]),y=!!n&&n.length>0,v=!!o&&o.length>0,x=Dimensions.get("window").width,I=y?w*(n?.length??0):0,A=v?w*(o?.length??0):0,_=useSharedValue(0),C=useSharedValue(0),O=useRef(null);useEffect(()=>()=>{cancelAnimation(_),cancelAnimation(C)},[_,C]);const j=useCallback(e=>{O.current!==e&&(O.current=e,s?.(e))},[s]),G=useCallback(()=>{null!==O.current&&(O.current=null,a?.())},[a]),N=useCallback(e=>{const t="left"===e?n:o,i=t?.[0];i&&(!1!==c&&triggerHaptic("notificationSuccess"),i.onPress(),_.value=withSpring(0,SPRING_CONFIG),O.current=null,a?.())},[n,o,_,a,c]),R=useCallback(()=>{_.value=withSpring(0,SPRING_CONFIG),G()},[_,G]),k=useCallback(e=>{const t=resolveHaptic(c,"selection");t&&triggerHaptic(t),e.onPress(),R()},[R,c]),P=useMemo(()=>{const e=I,t=A,n=b,o=-b,i=x,r=-x,s=w,a=y,c=v;return Gesture.Pan().enabled(!l).withTestId(p?`${p}-gesture`:"swipeable-gesture").activeOffsetX([-10,10]).failOffsetY([-15,15]).onStart(()=>{"worklet";C.value=_.value}).onUpdate(n=>{"worklet";const o=C.value+n.translationX;_.value=o>0&&!a||o<0&&!c?0:o>e&&a?e+.35*(o-e):o<-t&&c?.35*(o+t)-t:o}).onEnd(()=>{"worklet";const l=_.value;return a&&l>=n?(_.value=withSpring(i,SPRING_CONFIG),void runOnJS(N)("left")):c&&l<=o?(_.value=withSpring(r,SPRING_CONFIG),void runOnJS(N)("right")):a&&l>=s?(_.value=withSpring(e,SPRING_CONFIG),void runOnJS(j)("left")):c&&l<=-s?(_.value=withSpring(-t,SPRING_CONFIG),void runOnJS(j)("right")):(_.value=withSpring(0,SPRING_CONFIG),void runOnJS(G)())})},[l,C,N,b,y,v,I,G,j,A,x,w,_,p]),T=useAnimatedStyle(()=>({transform:[{translateX:_.value}]}),[_]),F=useAnimatedStyle(()=>({opacity:I>0?Math.min(1,Math.max(0,_.value/I)):0}),[I,_]),V=useAnimatedStyle(()=>({opacity:A>0?Math.min(1,Math.max(0,-_.value/A)):0}),[A,_]),E=useMemo(()=>{const e=[];return n?.forEach(t=>{e.push({name:t.key,label:t.label})}),o?.forEach(t=>{e.push({name:t.key,label:t.label})}),e},[n,o]),D=useCallback(e=>{const t=e.nativeEvent.actionName,i=[...n??[],...o??[]].find(e=>e.key===t);i&&(!1!==c&&triggerHaptic("selection"),i.onPress())},[n,o,c]);return y||v?_jsxs(View,{style:[f.root,u],testID:p,accessibilityLabel:h,accessibilityActions:E,onAccessibilityAction:D,children:[y?_jsx(Animated.View,{style:[f.actionsRow,f.actionsLeft,{width:I},m,F],pointerEvents:"box-none",children:n?.map(e=>_jsx(ActionButton,{action:e,theme:S,actionStyles:g,width:w,onPress:k},e.key))}):null,v?_jsx(Animated.View,{style:[f.actionsRow,f.actionsRight,{width:A},m,V],pointerEvents:"box-none",children:o?.map(e=>_jsx(ActionButton,{action:e,theme:S,actionStyles:g,width:w,onPress:k},e.key))}):null,_jsx(GestureDetector,{gesture:P,children:_jsx(Animated.View,{style:[f.content,d,T],children:t})})]}):_jsx(View,{style:u,testID:p,children:t})};Swipeable.displayName="Swipeable";const ActionButton=({action:e,theme:t,actionStyles:n,width:o,onPress:i})=>{warnInvalidValue("Swipeable","tone",e.tone,["primary","success","warning","danger","info","neutral"]);const r=e.tone??"neutral",s=toneToBg(t,r),a=renderSlotIcon(e.icon,{color:toneToOnColor(t,r),size:20,disabled:!1});return _jsxs(Pressable,{onPress:()=>i(e),accessibilityRole:"button",accessibilityLabel:e.label,style:[n.button,{width:o,backgroundColor:s,paddingHorizontal:t.space.sm}],children:[a?_jsx(View,{style:n.icon,children:a}):null,_jsx(Text,{variant:"bodySmall",weight:"semibold",style:[n.label,{color:toneToOnColor(t,r)}],numberOfLines:1,children:e.label})]})},buildActionStyles=e=>StyleSheet.create({button:{flexGrow:0,flexShrink:0,alignItems:"center",justifyContent:"center"},icon:{marginBottom:e.space.xxs},label:{textAlign:"center"}}),buildStyles=e=>StyleSheet.create({root:{position:"relative",overflow:"hidden"},content:{backgroundColor:"transparent"},actionsRow:{position:"absolute",top:0,bottom:0,flexDirection:"row"},actionsLeft:{left:0},actionsRight:{right:0,justifyContent:"flex-end"}});export{Swipeable};export default Swipeable;
@@ -1 +1 @@
1
- "use strict";import{useEffect,useMemo}from"react";import{StyleSheet,View}from"react-native";import Animated,{cancelAnimation,useAnimatedStyle,useSharedValue,withDelay,withRepeat,withSequence,withTiming}from"react-native-reanimated";import{useReducedMotion}from"../../hooks/useReducedMotion.js";import{useTheme}from"../../theme/index.js";import{smoothCorners}from"../../utils/corners.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_TYPING_INDICATOR_LABELS=Object.freeze({typing:"Typing"});const DOT=6,DIM=.3,PULSE_MS=400,STAGGER_MS=160,STILL_OPACITY=[1,.65,.3],DOT_NAMES=["first","second","third"],Dot=({index:e,still:t,colour:i,dotStyle:s})=>{const o=useSharedValue(.3);useEffect(()=>{if(!t)return o.value=withDelay(160*e,withRepeat(withSequence(withTiming(1,{duration:400}),withTiming(.3,{duration:400})),-1)),()=>cancelAnimation(o)},[t,e,o]);const r=useAnimatedStyle(()=>({opacity:o.value}));return _jsx(Animated.View,{style:[s,{backgroundColor:i},t?{opacity:STILL_OPACITY[e]}:r]})};export const TypingIndicator=({label:e,accessibilityLabel:t,labels:i,bubble:s=!0,style:o,testID:r})=>{const a=useTheme(),l=useMemo(()=>buildStyles(a),[a]),n=useReducedMotion(),c=a.colors["text-subtle"],d=useMemo(()=>({...DEFAULT_TYPING_INDICATOR_LABELS,...i}),[i]);return _jsxs(View,{style:[l.root,s?l.bubble:null,o],accessible:!0,accessibilityRole:"progressbar",accessibilityLabel:e??t??d.typing,accessibilityState:{busy:!0},"aria-busy":!0,testID:r,children:[_jsx(View,{style:l.dots,children:DOT_NAMES.map((e,t)=>_jsx(Dot,{index:t,still:n,colour:c,dotStyle:l.dot},e))}),e?_jsx(Text,{variant:"bodySmall",color:"secondary",children:e}):null]})};const buildStyles=e=>StyleSheet.create({dot:{width:6,height:6,borderRadius:e.radius.pill,...smoothCorners},root:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:e.space.sm,marginTop:e.space.sm},bubble:{backgroundColor:e.colors["bg-subtle"],borderRadius:e.radius.xl,...smoothCorners,paddingHorizontal:e.space.md,paddingVertical:e.space.sm+e.space.xs},dots:{flexDirection:"row",alignItems:"center",gap:e.space.xs}});export default TypingIndicator;
1
+ "use strict";import{useEffect,useMemo}from"react";import{StyleSheet,View}from"react-native";import Animated,{cancelAnimation,useAnimatedStyle,useSharedValue,withDelay,withRepeat,withSequence,withTiming}from"react-native-reanimated";import{useReducedMotion}from"../../hooks/useReducedMotion.js";import{useTheme}from"../../theme/index.js";import{smoothCorners}from"../../utils/corners.js";import{Text}from"../Text/index.js";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export const DEFAULT_TYPING_INDICATOR_LABELS=Object.freeze({typing:"Typing"});const DOT=6,DIM=.3,PULSE_MS=400,STAGGER_MS=160,STILL_OPACITY=[1,.65,.3],DOT_NAMES=["first","second","third"],Dot=({index:e,still:t,colour:i,dotStyle:s})=>{const o=useSharedValue(.3);useEffect(()=>{if(!t)return o.value=withDelay(160*e,withRepeat(withSequence(withTiming(1,{duration:400}),withTiming(.3,{duration:400})),-1)),()=>cancelAnimation(o)},[t,e,o]);const r=useAnimatedStyle(()=>({opacity:o.value}),[o]);return _jsx(Animated.View,{style:[s,{backgroundColor:i},t?{opacity:STILL_OPACITY[e]}:r]})};export const TypingIndicator=({label:e,accessibilityLabel:t,labels:i,bubble:s=!0,style:o,testID:r})=>{const a=useTheme(),l=useMemo(()=>buildStyles(a),[a]),n=useReducedMotion(),c=a.colors["text-subtle"],d=useMemo(()=>({...DEFAULT_TYPING_INDICATOR_LABELS,...i}),[i]);return _jsxs(View,{style:[l.root,s?l.bubble:null,o],accessible:!0,accessibilityRole:"progressbar",accessibilityLabel:e??t??d.typing,accessibilityState:{busy:!0},"aria-busy":!0,testID:r,children:[_jsx(View,{style:l.dots,children:DOT_NAMES.map((e,t)=>_jsx(Dot,{index:t,still:n,colour:c,dotStyle:l.dot},e))}),e?_jsx(Text,{variant:"bodySmall",color:"secondary",children:e}):null]})};const buildStyles=e=>StyleSheet.create({dot:{width:6,height:6,borderRadius:e.radius.pill,...smoothCorners},root:{flexDirection:"row",alignItems:"center",alignSelf:"flex-start",gap:e.space.sm,marginTop:e.space.sm},bubble:{backgroundColor:e.colors["bg-subtle"],borderRadius:e.radius.xl,...smoothCorners,paddingHorizontal:e.space.md,paddingVertical:e.space.sm+e.space.xs},dots:{flexDirection:"row",alignItems:"center",gap:e.space.xs}});export default TypingIndicator;
@@ -1 +1 @@
1
- "use strict";import{useCallback,useEffect,useMemo}from"react";import{StyleSheet}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{runOnJS,useAnimatedStyle,useSharedValue,withSpring}from"react-native-reanimated";import{resolveHaptic,triggerHaptic}from"../../utils/index.js";import{jsx as _jsx}from"react/jsx-runtime";const DEFAULT_MAX_SCALE=4,DEFAULT_MIN_SCALE=1,DEFAULT_DOUBLE_TAP_SCALE=2,SPRING_CONFIG={damping:18,stiffness:220,mass:1};export const ZoomableImage=({children:e,maxScale:a=4,minScale:t=1,doubleTapScale:l=2,disabled:r=!1,haptic:u,style:i,accessibilityLabel:n,testID:s})=>{const o=useSharedValue(1),v=useSharedValue(1),c=useSharedValue(0),S=useSharedValue(0),m=useSharedValue(0),d=useSharedValue(0),h=useCallback(()=>{o.value=withSpring(1,SPRING_CONFIG),v.value=1,c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),m.value=0,d.value=0},[o,v,c,S,m,d]);useEffect(()=>{r&&h()},[r,h]);const p=useCallback(()=>{const e=resolveHaptic(u,"impactLight");e&&triggerHaptic(e)},[u]),I=useMemo(()=>Gesture.Pinch().enabled(!r).onStart(()=>{"worklet";v.value=o.value}).onUpdate(e=>{"worklet";const l=v.value*e.scale;o.value=l<t?t+.3*(l-t):l>a?a+.2*(l-a):l}).onEnd(()=>{"worklet";return o.value<t?(o.value=withSpring(t,SPRING_CONFIG),c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),v.value=t,m.value=0,void(d.value=0)):o.value>a?(o.value=withSpring(a,SPRING_CONFIG),void(v.value=a)):void(v.value=o.value)}),[r,o,v,c,S,m,d,t,a]),G=useMemo(()=>Gesture.Pan().enabled(!r).minPointers(1).maxPointers(1).onStart(()=>{"worklet";m.value=c.value,d.value=S.value}).onUpdate(e=>{"worklet";o.value<=1||(c.value=m.value+e.translationX,S.value=d.value+e.translationY)}).onEnd(()=>{"worklet";m.value=c.value,d.value=S.value}),[r,o,c,S,m,d]),g=useMemo(()=>Gesture.Tap().enabled(!r).numberOfTaps(2).onEnd(()=>{"worklet";runOnJS(p)(),o.value>1?(o.value=withSpring(1,SPRING_CONFIG),c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),v.value=1,m.value=0,d.value=0):(o.value=withSpring(l,SPRING_CONFIG),v.value=l)}),[r,o,v,c,S,m,d,p,l]),N=useMemo(()=>Gesture.Race(I,G,g),[I,G,g]),w=useAnimatedStyle(()=>({transform:[{translateX:c.value},{translateY:S.value},{scale:o.value}]}));return _jsx(GestureDetector,{gesture:N,children:_jsx(Animated.View,{style:[styles.container,i],testID:s,accessibilityLabel:n,accessibilityState:{disabled:r},"aria-disabled":r,children:_jsx(Animated.View,{style:[styles.content,w],children:e})})})};ZoomableImage.displayName="ZoomableImage";const styles=StyleSheet.create({container:{flex:1,alignItems:"center",justifyContent:"center",overflow:"hidden"},content:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"}});export default ZoomableImage;
1
+ "use strict";import{useCallback,useEffect,useMemo}from"react";import{StyleSheet}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{runOnJS,useAnimatedStyle,useSharedValue,withSpring}from"react-native-reanimated";import{resolveHaptic,triggerHaptic}from"../../utils/index.js";import{jsx as _jsx}from"react/jsx-runtime";const DEFAULT_MAX_SCALE=4,DEFAULT_MIN_SCALE=1,DEFAULT_DOUBLE_TAP_SCALE=2,SPRING_CONFIG={damping:18,stiffness:220,mass:1};export const ZoomableImage=({children:e,maxScale:a=4,minScale:t=1,doubleTapScale:l=2,disabled:r=!1,haptic:u,style:i,accessibilityLabel:n,testID:s})=>{const o=useSharedValue(1),v=useSharedValue(1),c=useSharedValue(0),S=useSharedValue(0),m=useSharedValue(0),d=useSharedValue(0),h=useCallback(()=>{o.value=withSpring(1,SPRING_CONFIG),v.value=1,c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),m.value=0,d.value=0},[o,v,c,S,m,d]);useEffect(()=>{r&&h()},[r,h]);const p=useCallback(()=>{const e=resolveHaptic(u,"impactLight");e&&triggerHaptic(e)},[u]),I=useMemo(()=>Gesture.Pinch().enabled(!r).onStart(()=>{"worklet";v.value=o.value}).onUpdate(e=>{"worklet";const l=v.value*e.scale;o.value=l<t?t+.3*(l-t):l>a?a+.2*(l-a):l}).onEnd(()=>{"worklet";return o.value<t?(o.value=withSpring(t,SPRING_CONFIG),c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),v.value=t,m.value=0,void(d.value=0)):o.value>a?(o.value=withSpring(a,SPRING_CONFIG),void(v.value=a)):void(v.value=o.value)}),[r,o,v,c,S,m,d,t,a]),G=useMemo(()=>Gesture.Pan().enabled(!r).minPointers(1).maxPointers(1).onStart(()=>{"worklet";m.value=c.value,d.value=S.value}).onUpdate(e=>{"worklet";o.value<=1||(c.value=m.value+e.translationX,S.value=d.value+e.translationY)}).onEnd(()=>{"worklet";m.value=c.value,d.value=S.value}),[r,o,c,S,m,d]),g=useMemo(()=>Gesture.Tap().enabled(!r).numberOfTaps(2).onEnd(()=>{"worklet";runOnJS(p)(),o.value>1?(o.value=withSpring(1,SPRING_CONFIG),c.value=withSpring(0,SPRING_CONFIG),S.value=withSpring(0,SPRING_CONFIG),v.value=1,m.value=0,d.value=0):(o.value=withSpring(l,SPRING_CONFIG),v.value=l)}),[r,o,v,c,S,m,d,p,l]),N=useMemo(()=>Gesture.Race(I,G,g),[I,G,g]),w=useAnimatedStyle(()=>({transform:[{translateX:c.value},{translateY:S.value},{scale:o.value}]}),[c,S,o]);return _jsx(GestureDetector,{gesture:N,children:_jsx(Animated.View,{style:[styles.container,i],testID:s,accessibilityLabel:n,accessibilityState:{disabled:r},"aria-disabled":r,children:_jsx(Animated.View,{style:[styles.content,w],children:e})})})};ZoomableImage.displayName="ZoomableImage";const styles=StyleSheet.create({container:{flex:1,alignItems:"center",justifyContent:"center",overflow:"hidden"},content:{width:"100%",height:"100%",alignItems:"center",justifyContent:"center"}});export default ZoomableImage;
@@ -63,8 +63,8 @@ export interface AppBarProps {
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 tab screen
67
- * with a large title, keep it icon-sized: a wide leading node squeezes the title.
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
68
  */
69
69
  leading?: React.ReactNode;
70
70
  /** Any node in the right slot, after `rightActions`. */
@@ -105,8 +105,8 @@ export interface AppBarProps {
105
105
  /**
106
106
  * Optional ScrollView vertical offset (Animated.Value) used to drive the
107
107
  * "collapsing app bar" effect when `variant='large'`. As `scrollY` moves
108
- * from 0 → 60, the large title shrinks/translates into the compact bar
109
- * area and a bottom hairline border fades in.
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.
110
110
  */
111
111
  scrollY?: Animated.Value | Animated.AnimatedInterpolation<number>;
112
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>";
@@ -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";
3
3
  import type { HapticType } from "../../utils";
4
4
  import type { IconVariant } from "../AppIcon/AppIcon";
@@ -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
  }
@@ -63,6 +63,6 @@ export interface MessageListProps<T> extends Omit<FlatListProps<T>, OwnedListPro
63
63
  * above the keyboard. Scrolled away from the latest, a jump button appears
64
64
  * with the count of messages that arrived meanwhile.
65
65
  */
66
- export declare function MessageList<T>({ messages, keyExtractor, renderMessage, getAuthorKey, getDate, firstUnreadKey, onLoadOlder, loadingOlder, hasOlder, typing, empty, getAnnouncement, followNew, keyboardAware, keyboardOffset, labels: labelOverrides, now, onScroll, contentContainerStyle, style, testID, ...rest }: MessageListProps<T>): React.ReactElement;
66
+ export declare function MessageList<T>({ messages, keyExtractor, renderMessage, getAuthorKey, getDate, firstUnreadKey, onLoadOlder, loadingOlder, hasOlder, typing, empty, getAnnouncement, followNew, keyboardAware, keyboardOffset, labels: labelOverrides, now, onScroll, onContentSizeChange, contentContainerStyle, style, testID, ...rest }: MessageListProps<T>): React.ReactElement;
67
67
  export default MessageList;
68
68
  //# sourceMappingURL=MessageList.d.ts.map
@@ -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: string;
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. */
@@ -63,8 +63,8 @@ export interface AppBarProps {
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 tab screen
67
- * with a large title, keep it icon-sized: a wide leading node squeezes the title.
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
68
  */
69
69
  leading?: React.ReactNode;
70
70
  /** Any node in the right slot, after `rightActions`. */
@@ -105,8 +105,8 @@ export interface AppBarProps {
105
105
  /**
106
106
  * Optional ScrollView vertical offset (Animated.Value) used to drive the
107
107
  * "collapsing app bar" effect when `variant='large'`. As `scrollY` moves
108
- * from 0 → 60, the large title shrinks/translates into the compact bar
109
- * area and a bottom hairline border fades in.
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.
110
110
  */
111
111
  scrollY?: Animated.Value | Animated.AnimatedInterpolation<number>;
112
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>";
@@ -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;