@marktiderman/genesis-ui-native 2.3.1 → 2.4.1

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.
@@ -3,8 +3,8 @@ import react__default, { ReactNode } from 'react';
3
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import { TextProps, ScrollViewProps, TextInputProps, ViewProps, SwitchProps, ColorValue } from 'react-native';
6
- import { o as NativeIconName, b as GenesisGlassModule } from '../native-modules-BGO2MnFF.js';
7
- export { G as GenesisDatePickerComponent, a as GenesisDatePickerProps, c as GenesisIconComponent, d as GenesisIconSet, e as GenesisImageComponent, f as GenesisImageProps, g as GenesisListComponent, h as GenesisListProps, i as GenesisModules, j as GenesisModulesProvider, k as GenesisModulesProviderProps, l as GenesisReanimatedModule, m as GenesisSymbolComponent, n as GenesisSymbolProps, N as NATIVE_ICON_NAMES, S as SF_SYMBOLS, u as useGenesisModules } from '../native-modules-BGO2MnFF.js';
6
+ import { o as NativeIconName, b as GenesisGlassModule } from '../native-modules-_Q5vIbd5.js';
7
+ export { G as GenesisDatePickerComponent, a as GenesisDatePickerProps, c as GenesisIconComponent, d as GenesisIconSet, e as GenesisImageComponent, f as GenesisImageProps, g as GenesisListComponent, h as GenesisListProps, i as GenesisModules, j as GenesisModulesProvider, k as GenesisModulesProviderProps, l as GenesisReanimatedModule, m as GenesisSymbolComponent, n as GenesisSymbolProps, N as NATIVE_ICON_NAMES, S as SF_SYMBOLS, u as useGenesisModules } from '../native-modules-_Q5vIbd5.js';
8
8
 
9
9
  declare const textVariants: (props?: ({
10
10
  preset?: "h1" | "h2" | "h3" | "h4" | "body" | "body-sm" | "caption" | "label" | null | undefined;
@@ -134,6 +134,14 @@ interface NativeSheetProps {
134
134
  initialSnapIndex?: number;
135
135
  /** Keep the sheet open when the user taps the backdrop, swipes it down or presses Android back. Default false. */
136
136
  disableBackdropDismiss?: boolean;
137
+ /**
138
+ * As tall as its content (up to 90% of the screen) instead of the full page sheet, for a short
139
+ * menu or form. On iOS this is a bottom panel over a scrim, like Android's (a tap on the scrim
140
+ * or the VoiceOver escape gesture closes it; it doesn't follow a swipe down), and it moves above
141
+ * the keyboard. Under `NativeSheetProvider` the library sizes it (`enableDynamicSizing`) and
142
+ * `snapPoints` is ignored. Default false.
143
+ */
144
+ fitContent?: boolean;
137
145
  children: ReactNode;
138
146
  testID?: string;
139
147
  }
@@ -181,6 +189,20 @@ declare function NativeSheet(props: NativeSheetProps): react.JSX.Element;
181
189
  */
182
190
  declare function NativeSheetScrollView({ style, ...props }: ScrollViewProps): react.JSX.Element;
183
191
 
192
+ interface NativeFullScreenModalProps {
193
+ open: boolean;
194
+ /** Fired with false on Android back and the VoiceOver escape gesture. Set `open` false in it. */
195
+ onOpenChange: (open: boolean) => void;
196
+ /** `"dark"` (default): black, for photos and video. `"app"`: the theme's background. `"none"`: the content draws its own. */
197
+ tone?: "dark" | "app" | "none";
198
+ children: ReactNode;
199
+ testID?: string;
200
+ }
201
+ /** The dark tone's backdrop: media reads best on true black in light and dark mode alike. */
202
+ declare const FULL_SCREEN_DARK = "#000000";
203
+ /** @stability Beta */
204
+ declare function NativeFullScreenModal({ open, onOpenChange, tone, children, testID }: NativeFullScreenModalProps): react.JSX.Element;
205
+
184
206
  interface NativePopoverProps {
185
207
  open?: boolean;
186
208
  defaultOpen?: boolean;
@@ -1042,4 +1064,4 @@ interface NativeGlassSurfaceProps {
1042
1064
  }
1043
1065
  declare function NativeGlassSurface({ children, className, fallbackClassName, radius, tintColor, interactive, glassEffectStyle, testID, }: NativeGlassSurfaceProps): react.JSX.Element;
1044
1066
 
1045
- export { Box, type BoxBackground, type BoxProps, type FlexAlign, type FlexJustify, GenesisGlassModule, Grid, type GridProps, Inline, type InlineProps, NativeAccordion, NativeAccordionContent, type NativeAccordionContentProps, NativeAccordionItem, type NativeAccordionItemProps, type NativeAccordionProps, NativeAccordionTrigger, type NativeAccordionTriggerProps, type NativeAccordionType, NativeAlert, NativeAlertDescription, type NativeAlertDescriptionProps, type NativeAlertProps, NativeAlertTitle, type NativeAlertTitleProps, NativeAvatar, type NativeAvatarProps, NativeBadge, type NativeBadgeProps, NativeBanner, type NativeBannerProps, NativeButton, type NativeButtonProps, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, type NativeCardProps, NativeCardTitle, type NativeCardTitleProps, NativeCheckbox, type NativeCheckboxProps, NativeChip, NativeChipGroup, type NativeChipGroupMode, type NativeChipGroupProps, type NativeChipProps, NativeCombobox, type NativeComboboxOption, type NativeComboboxProps, NativeDatePicker, type NativeDatePickerProps, NativeDialog, NativeDialogContent, type NativeDialogContentProps, NativeDialogDescription, type NativeDialogDescriptionProps, NativeDialogFooter, type NativeDialogFooterProps, NativeDialogHeader, type NativeDialogHeaderProps, type NativeDialogProps, NativeDialogTitle, type NativeDialogTitleProps, NativeDrawer, type NativeDrawerProps, NativeDropdownMenu, NativeDropdownMenuContent, type NativeDropdownMenuContentProps, NativeDropdownMenuItem, type NativeDropdownMenuItemProps, type NativeDropdownMenuProps, NativeDropdownMenuTrigger, type NativeDropdownMenuTriggerProps, NativeEmptyState, type NativeEmptyStateProps, type NativeEmptyStateVariant, NativeGlassSurface, type NativeGlassSurfaceProps, NativeHeaderCard, type NativeHeaderCardProps, NativeIcon, NativeIconName, type NativeIconProps, NativeImage, type NativeImageProps, NativeInlineAlert, type NativeInlineAlertProps, type NativeInlineAlertVariant, NativeInput, type NativeInputProps, NativeLabel, type NativeLabelProps, NativeListItem, NativeListItemDivider, type NativeListItemProps, NativeNumberInput, type NativeNumberInputProps, NativePagination, type NativePaginationProps, NativePopover, NativePopoverContent, type NativePopoverContentProps, type NativePopoverProps, NativePopoverTrigger, type NativePopoverTriggerProps, NativeProgress, type NativeProgressProps, NativeRadioGroup, NativeRadioGroupItem, type NativeRadioGroupItemProps, type NativeRadioGroupProps, NativeRangeSlider, type NativeRangeSliderProps, NativeRefreshControl, type NativeRefreshControlProps, NativeSearchBar, type NativeSearchBarProps, NativeSectionListHeader, type NativeSectionListHeaderProps, NativeSegmentedControl, type NativeSegmentedControlOption, type NativeSegmentedControlProps, NativeSelect, NativeSelectContent, type NativeSelectContentProps, NativeSelectItem, type NativeSelectItemProps, type NativeSelectProps, NativeSelectTrigger, type NativeSelectTriggerProps, NativeSeparator, type NativeSeparatorProps, NativeSheet, type NativeSheetLibrary, type NativeSheetProps, NativeSheetProvider, type NativeSheetProviderProps, NativeSheetScrollView, NativeSkeleton, type NativeSkeletonProps, NativeSlider, type NativeSliderProps, NativeStepper, type NativeStepperProps, type NativeStepperStep, NativeSwitch, type NativeSwitchProps, NativeTabs, NativeTabsContent, type NativeTabsContentProps, NativeTabsList, type NativeTabsListProps, type NativeTabsProps, NativeTabsTrigger, type NativeTabsTriggerProps, NativeText, type NativeTextProps, NativeTextarea, type NativeTextareaProps, NativeTimePicker, type NativeTimePickerProps, type NativeToastOptions, NativeToastProvider, type NativeToastProviderProps, type NativeToastVariant, NativeToggle, type NativeToggleProps, NativeTooltip, NativeTooltipContent, type NativeTooltipContentProps, type NativeTooltipProps, NativeTooltipTrigger, type NativeTooltipTriggerProps, type SpaceToken, type SpacingPrefix, Stack, type StackProps, type TextPreset, alertVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, spaceScale, spacingClass, textVariants, toggleVariants, useLiquidGlass, useReduceTransparency, useToast };
1067
+ export { Box, type BoxBackground, type BoxProps, FULL_SCREEN_DARK, type FlexAlign, type FlexJustify, GenesisGlassModule, Grid, type GridProps, Inline, type InlineProps, NativeAccordion, NativeAccordionContent, type NativeAccordionContentProps, NativeAccordionItem, type NativeAccordionItemProps, type NativeAccordionProps, NativeAccordionTrigger, type NativeAccordionTriggerProps, type NativeAccordionType, NativeAlert, NativeAlertDescription, type NativeAlertDescriptionProps, type NativeAlertProps, NativeAlertTitle, type NativeAlertTitleProps, NativeAvatar, type NativeAvatarProps, NativeBadge, type NativeBadgeProps, NativeBanner, type NativeBannerProps, NativeButton, type NativeButtonProps, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, type NativeCardProps, NativeCardTitle, type NativeCardTitleProps, NativeCheckbox, type NativeCheckboxProps, NativeChip, NativeChipGroup, type NativeChipGroupMode, type NativeChipGroupProps, type NativeChipProps, NativeCombobox, type NativeComboboxOption, type NativeComboboxProps, NativeDatePicker, type NativeDatePickerProps, NativeDialog, NativeDialogContent, type NativeDialogContentProps, NativeDialogDescription, type NativeDialogDescriptionProps, NativeDialogFooter, type NativeDialogFooterProps, NativeDialogHeader, type NativeDialogHeaderProps, type NativeDialogProps, NativeDialogTitle, type NativeDialogTitleProps, NativeDrawer, type NativeDrawerProps, NativeDropdownMenu, NativeDropdownMenuContent, type NativeDropdownMenuContentProps, NativeDropdownMenuItem, type NativeDropdownMenuItemProps, type NativeDropdownMenuProps, NativeDropdownMenuTrigger, type NativeDropdownMenuTriggerProps, NativeEmptyState, type NativeEmptyStateProps, type NativeEmptyStateVariant, NativeFullScreenModal, type NativeFullScreenModalProps, NativeGlassSurface, type NativeGlassSurfaceProps, NativeHeaderCard, type NativeHeaderCardProps, NativeIcon, NativeIconName, type NativeIconProps, NativeImage, type NativeImageProps, NativeInlineAlert, type NativeInlineAlertProps, type NativeInlineAlertVariant, NativeInput, type NativeInputProps, NativeLabel, type NativeLabelProps, NativeListItem, NativeListItemDivider, type NativeListItemProps, NativeNumberInput, type NativeNumberInputProps, NativePagination, type NativePaginationProps, NativePopover, NativePopoverContent, type NativePopoverContentProps, type NativePopoverProps, NativePopoverTrigger, type NativePopoverTriggerProps, NativeProgress, type NativeProgressProps, NativeRadioGroup, NativeRadioGroupItem, type NativeRadioGroupItemProps, type NativeRadioGroupProps, NativeRangeSlider, type NativeRangeSliderProps, NativeRefreshControl, type NativeRefreshControlProps, NativeSearchBar, type NativeSearchBarProps, NativeSectionListHeader, type NativeSectionListHeaderProps, NativeSegmentedControl, type NativeSegmentedControlOption, type NativeSegmentedControlProps, NativeSelect, NativeSelectContent, type NativeSelectContentProps, NativeSelectItem, type NativeSelectItemProps, type NativeSelectProps, NativeSelectTrigger, type NativeSelectTriggerProps, NativeSeparator, type NativeSeparatorProps, NativeSheet, type NativeSheetLibrary, type NativeSheetProps, NativeSheetProvider, type NativeSheetProviderProps, NativeSheetScrollView, NativeSkeleton, type NativeSkeletonProps, NativeSlider, type NativeSliderProps, NativeStepper, type NativeStepperProps, type NativeStepperStep, NativeSwitch, type NativeSwitchProps, NativeTabs, NativeTabsContent, type NativeTabsContentProps, NativeTabsList, type NativeTabsListProps, type NativeTabsProps, NativeTabsTrigger, type NativeTabsTriggerProps, NativeText, type NativeTextProps, NativeTextarea, type NativeTextareaProps, NativeTimePicker, type NativeTimePickerProps, type NativeToastOptions, NativeToastProvider, type NativeToastProviderProps, type NativeToastVariant, NativeToggle, type NativeToggleProps, NativeTooltip, NativeTooltipContent, type NativeTooltipContentProps, type NativeTooltipProps, NativeTooltipTrigger, type NativeTooltipTriggerProps, type SpaceToken, type SpacingPrefix, Stack, type StackProps, type TextPreset, alertVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, spaceScale, spacingClass, textVariants, toggleVariants, useLiquidGlass, useReduceTransparency, useToast };
@@ -1,7 +1,7 @@
1
- export { Box, Grid, Inline, NativeAccordion, NativeAccordionContent, NativeAccordionItem, NativeAccordionTrigger, NativeAvatar, NativeBanner, NativeChip, NativeChipGroup, NativeCombobox, NativeDatePicker, NativeDialog, NativeDialogContent, NativeDialogDescription, NativeDialogFooter, NativeDialogHeader, NativeDialogTitle, NativeDrawer, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuItem, NativeDropdownMenuTrigger, NativeGlassSurface, NativeHeaderCard, NativeImage, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSheetProvider, NativeSheetScrollView, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from '../chunk-Q445I7WO.js';
1
+ export { Box, FULL_SCREEN_DARK, Grid, Inline, NativeAccordion, NativeAccordionContent, NativeAccordionItem, NativeAccordionTrigger, NativeAvatar, NativeBanner, NativeChip, NativeChipGroup, NativeCombobox, NativeDatePicker, NativeDialog, NativeDialogContent, NativeDialogDescription, NativeDialogFooter, NativeDialogHeader, NativeDialogTitle, NativeDrawer, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuItem, NativeDropdownMenuTrigger, NativeFullScreenModal, NativeGlassSurface, NativeHeaderCard, NativeImage, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSheetProvider, NativeSheetScrollView, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from '../chunk-RARJGZA3.js';
2
2
  export { NativeAlert, NativeAlertDescription, NativeAlertTitle, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardTitle, NativeCheckbox, NativeLabel, NativeSelect, NativeSelectContent, NativeSelectItem, NativeSelectTrigger, NativeSeparator, NativeSkeleton, NativeSwitch, NativeTextarea, alertVariants } from '../chunk-FIITITXO.js';
3
3
  import '../chunk-7PCWEY6R.js';
4
- export { NATIVE_ICON_NAMES, NativeEmptyState, NativeIcon, NativeListItem, NativeListItemDivider, NativeRefreshControl, NativeSectionListHeader, SF_SYMBOLS } from '../chunk-W2UBJ56D.js';
4
+ export { NATIVE_ICON_NAMES, NativeEmptyState, NativeIcon, NativeListItem, NativeListItemDivider, NativeRefreshControl, NativeSectionListHeader, SF_SYMBOLS } from '../chunk-BPD5DCFP.js';
5
5
  export { GenesisModulesProvider, NativeBadge, NativeButton, NativeInput, NativeText, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, textVariants, useGenesisModules } from '../chunk-EFXCJ5AN.js';
6
6
  import '../chunk-Z3AQYVUA.js';
7
7
  import '../chunk-OHZD7KRO.js';
@@ -1,4 +1,4 @@
1
- import { o as NativeIconName, c as GenesisIconComponent } from '../native-modules-BGO2MnFF.js';
1
+ import { o as NativeIconName, c as GenesisIconComponent } from '../native-modules-_Q5vIbd5.js';
2
2
  import 'react';
3
3
  import 'react-native';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import '../chunk-DGUM43GV.js';
2
- import { TriangleAlert, User, Trash2, CircleCheck, Star, Share, Settings, Search, Reply, RefreshCw, Plus, Play, Pin, Pause, Paperclip, Ellipsis, Minus, Mic, MessageCircle, Menu, Mail, LogOut, Lock, Info, Image, House, Heart, Funnel, File, ExternalLink, CircleX, Pencil, Copy, SquarePen, X, Clock, ChevronUp, ChevronRight, ChevronLeft, ChevronDown, Check, Camera, Calendar, Bell, ArrowUp, ArrowLeft } from 'lucide-react-native';
2
+ import { TriangleAlert, VolumeX, Volume2, Video, User, Trash2, CircleCheck, Square, Star, Smile, Share, Settings, Search, Reply, RefreshCw, Plus, Play, Pin, Pause, Paperclip, Ellipsis, Minus, Mic, MessageCircle, Menu, Mail, LogOut, Lock, Info, Image, House, Heart, Funnel, File, ExternalLink, Maximize2, CircleX, Pencil, Download, Copy, SquarePen, X, Clock, ChevronUp, ChevronRight, ChevronLeft, ChevronDown, Check, SwitchCamera, Camera, Calendar, Bell, ArrowUp, ArrowLeft } from 'lucide-react-native';
3
3
 
4
4
  var lucideIcons = {
5
5
  "arrow-left": ArrowLeft,
@@ -7,6 +7,7 @@ var lucideIcons = {
7
7
  bell: Bell,
8
8
  calendar: Calendar,
9
9
  camera: Camera,
10
+ "camera-flip": SwitchCamera,
10
11
  check: Check,
11
12
  "chevron-down": ChevronDown,
12
13
  "chevron-left": ChevronLeft,
@@ -16,8 +17,10 @@ var lucideIcons = {
16
17
  close: X,
17
18
  compose: SquarePen,
18
19
  copy: Copy,
20
+ download: Download,
19
21
  edit: Pencil,
20
22
  error: CircleX,
23
+ expand: Maximize2,
21
24
  "external-link": ExternalLink,
22
25
  file: File,
23
26
  filter: Funnel,
@@ -43,10 +46,15 @@ var lucideIcons = {
43
46
  search: Search,
44
47
  settings: Settings,
45
48
  share: Share,
49
+ smile: Smile,
46
50
  star: Star,
51
+ stop: Square,
47
52
  success: CircleCheck,
48
53
  trash: Trash2,
49
54
  user: User,
55
+ video: Video,
56
+ volume: Volume2,
57
+ "volume-off": VolumeX,
50
58
  warning: TriangleAlert
51
59
  // The cast widens lucide's declared `color: string` to `ColorValue`. On iOS
52
60
  // NativeIcon passes theme roles as `PlatformColor` objects; lucide hands
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/icons/lucide.ts"],"names":[],"mappings":";;;AA6DO,IAAM,WAAA,GAA4D;AAAA,EACvE,YAAA,EAAc,SAAA;AAAA,EACd,UAAA,EAAY,OAAA;AAAA,EACZ,IAAA,EAAM,IAAA;AAAA,EACN,QAAA,EAAU,QAAA;AAAA,EACV,MAAA,EAAQ,MAAA;AAAA,EACR,KAAA,EAAO,KAAA;AAAA,EACP,cAAA,EAAgB,WAAA;AAAA,EAChB,cAAA,EAAgB,WAAA;AAAA,EAChB,eAAA,EAAiB,YAAA;AAAA,EACjB,YAAA,EAAc,SAAA;AAAA,EACd,KAAA,EAAO,KAAA;AAAA,EACP,KAAA,EAAO,CAAA;AAAA,EACP,OAAA,EAAS,SAAA;AAAA,EACT,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,eAAA,EAAiB,YAAA;AAAA,EACjB,IAAA,EAAM,IAAA;AAAA,EACN,MAAA,EAAQ,MAAA;AAAA,EACR,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,KAAA;AAAA,EACN,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,SAAA,EAAW,MAAA;AAAA,EACX,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS,aAAA;AAAA,EACT,GAAA,EAAK,GAAA;AAAA,EACL,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,QAAA;AAAA,EACN,SAAA,EAAW,SAAA;AAAA,EACX,KAAA,EAAO,KAAA;AAAA,EACP,GAAA,EAAK,GAAA;AAAA,EACL,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS,SAAA;AAAA,EACT,KAAA,EAAO,KAAA;AAAA,EACP,MAAA,EAAQ,MAAA;AAAA,EACR,QAAA,EAAU,QAAA;AAAA,EACV,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS,WAAA;AAAA,EACT,KAAA,EAAO,MAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAMX","file":"lucide.js","sourcesContent":["/**\n * `lucideIcons` — the lucide-react-native icon for every semantic name, the\n * icon set `NativeIcon` draws on Android and web (and on iOS when an SF\n * Symbol can't be drawn). Opt in by importing this subpath and passing it as\n * `modules.icons`; the rest of the package never imports lucide.\n *\n * Needs lucide-react-native 0.475 or later (the names below).\n *\n * @stability Beta\n */\nimport {\n ArrowLeft,\n ArrowUp,\n Bell,\n Calendar,\n Camera,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleCheck,\n CircleX,\n Clock,\n Copy,\n Ellipsis,\n ExternalLink,\n File,\n Funnel,\n Heart,\n House,\n Image,\n Info,\n Lock,\n LogOut,\n Mail,\n Menu,\n MessageCircle,\n Mic,\n Minus,\n Paperclip,\n Pause,\n Pencil,\n Pin,\n Play,\n Plus,\n RefreshCw,\n Reply,\n Search,\n Settings,\n Share,\n SquarePen,\n Star,\n Trash2,\n TriangleAlert,\n User,\n X,\n} from \"lucide-react-native\";\nimport type { NativeIconName } from \"../icon-names\";\nimport type { GenesisIconComponent } from \"../native-modules\";\n\nexport const lucideIcons: Record<NativeIconName, GenesisIconComponent> = {\n \"arrow-left\": ArrowLeft,\n \"arrow-up\": ArrowUp,\n bell: Bell,\n calendar: Calendar,\n camera: Camera,\n check: Check,\n \"chevron-down\": ChevronDown,\n \"chevron-left\": ChevronLeft,\n \"chevron-right\": ChevronRight,\n \"chevron-up\": ChevronUp,\n clock: Clock,\n close: X,\n compose: SquarePen,\n copy: Copy,\n edit: Pencil,\n error: CircleX,\n \"external-link\": ExternalLink,\n file: File,\n filter: Funnel,\n heart: Heart,\n home: House,\n image: Image,\n info: Info,\n lock: Lock,\n \"log-out\": LogOut,\n mail: Mail,\n menu: Menu,\n message: MessageCircle,\n mic: Mic,\n minus: Minus,\n more: Ellipsis,\n paperclip: Paperclip,\n pause: Pause,\n pin: Pin,\n play: Play,\n plus: Plus,\n refresh: RefreshCw,\n reply: Reply,\n search: Search,\n settings: Settings,\n share: Share,\n star: Star,\n success: CircleCheck,\n trash: Trash2,\n user: User,\n warning: TriangleAlert,\n // The cast widens lucide's declared `color: string` to `ColorValue`. On iOS\n // NativeIcon passes theme roles as `PlatformColor` objects; lucide hands\n // `color` to react-native-svg's stroke, whose extractBrush resolves\n // PlatformColor and DynamicColorIOS objects (react-native-svg 15,\n // src/lib/extract/extractBrush.ts).\n} as Record<NativeIconName, GenesisIconComponent>;\n"]}
1
+ {"version":3,"sources":["../../src/icons/lucide.ts"],"names":[],"mappings":";;;AAqEO,IAAM,WAAA,GAA4D;AAAA,EACvE,YAAA,EAAc,SAAA;AAAA,EACd,UAAA,EAAY,OAAA;AAAA,EACZ,IAAA,EAAM,IAAA;AAAA,EACN,QAAA,EAAU,QAAA;AAAA,EACV,MAAA,EAAQ,MAAA;AAAA,EACR,aAAA,EAAe,YAAA;AAAA,EACf,KAAA,EAAO,KAAA;AAAA,EACP,cAAA,EAAgB,WAAA;AAAA,EAChB,cAAA,EAAgB,WAAA;AAAA,EAChB,eAAA,EAAiB,YAAA;AAAA,EACjB,YAAA,EAAc,SAAA;AAAA,EACd,KAAA,EAAO,KAAA;AAAA,EACP,KAAA,EAAO,CAAA;AAAA,EACP,OAAA,EAAS,SAAA;AAAA,EACT,IAAA,EAAM,IAAA;AAAA,EACN,QAAA,EAAU,QAAA;AAAA,EACV,IAAA,EAAM,MAAA;AAAA,EACN,KAAA,EAAO,OAAA;AAAA,EACP,MAAA,EAAQ,SAAA;AAAA,EACR,eAAA,EAAiB,YAAA;AAAA,EACjB,IAAA,EAAM,IAAA;AAAA,EACN,MAAA,EAAQ,MAAA;AAAA,EACR,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,KAAA;AAAA,EACN,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,SAAA,EAAW,MAAA;AAAA,EACX,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS,aAAA;AAAA,EACT,GAAA,EAAK,GAAA;AAAA,EACL,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,QAAA;AAAA,EACN,SAAA,EAAW,SAAA;AAAA,EACX,KAAA,EAAO,KAAA;AAAA,EACP,GAAA,EAAK,GAAA;AAAA,EACL,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,IAAA;AAAA,EACN,OAAA,EAAS,SAAA;AAAA,EACT,KAAA,EAAO,KAAA;AAAA,EACP,MAAA,EAAQ,MAAA;AAAA,EACR,QAAA,EAAU,QAAA;AAAA,EACV,KAAA,EAAO,KAAA;AAAA,EACP,KAAA,EAAO,KAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,IAAA,EAAM,MAAA;AAAA,EACN,OAAA,EAAS,WAAA;AAAA,EACT,KAAA,EAAO,MAAA;AAAA,EACP,IAAA,EAAM,IAAA;AAAA,EACN,KAAA,EAAO,KAAA;AAAA,EACP,MAAA,EAAQ,OAAA;AAAA,EACR,YAAA,EAAc,OAAA;AAAA,EACd,OAAA,EAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAMX","file":"lucide.js","sourcesContent":["/**\n * `lucideIcons` — the lucide-react-native icon for every semantic name, the\n * icon set `NativeIcon` draws on Android and web (and on iOS when an SF\n * Symbol can't be drawn). Opt in by importing this subpath and passing it as\n * `modules.icons`; the rest of the package never imports lucide.\n *\n * Needs lucide-react-native 0.475 or later (the names below).\n *\n * @stability Beta\n */\nimport {\n ArrowLeft,\n ArrowUp,\n Bell,\n Calendar,\n Camera,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleCheck,\n CircleX,\n Clock,\n Copy,\n Download,\n Ellipsis,\n ExternalLink,\n File,\n Funnel,\n Heart,\n House,\n Image,\n Info,\n Maximize2,\n Lock,\n LogOut,\n Mail,\n Menu,\n MessageCircle,\n Mic,\n Minus,\n Paperclip,\n Pause,\n Pencil,\n Pin,\n Play,\n Plus,\n RefreshCw,\n Reply,\n Search,\n Square,\n SwitchCamera,\n Settings,\n Share,\n Smile,\n SquarePen,\n Star,\n Trash2,\n TriangleAlert,\n User,\n Video,\n Volume2,\n VolumeX,\n X,\n} from \"lucide-react-native\";\nimport type { NativeIconName } from \"../icon-names\";\nimport type { GenesisIconComponent } from \"../native-modules\";\n\nexport const lucideIcons: Record<NativeIconName, GenesisIconComponent> = {\n \"arrow-left\": ArrowLeft,\n \"arrow-up\": ArrowUp,\n bell: Bell,\n calendar: Calendar,\n camera: Camera,\n \"camera-flip\": SwitchCamera,\n check: Check,\n \"chevron-down\": ChevronDown,\n \"chevron-left\": ChevronLeft,\n \"chevron-right\": ChevronRight,\n \"chevron-up\": ChevronUp,\n clock: Clock,\n close: X,\n compose: SquarePen,\n copy: Copy,\n download: Download,\n edit: Pencil,\n error: CircleX,\n expand: Maximize2,\n \"external-link\": ExternalLink,\n file: File,\n filter: Funnel,\n heart: Heart,\n home: House,\n image: Image,\n info: Info,\n lock: Lock,\n \"log-out\": LogOut,\n mail: Mail,\n menu: Menu,\n message: MessageCircle,\n mic: Mic,\n minus: Minus,\n more: Ellipsis,\n paperclip: Paperclip,\n pause: Pause,\n pin: Pin,\n play: Play,\n plus: Plus,\n refresh: RefreshCw,\n reply: Reply,\n search: Search,\n settings: Settings,\n share: Share,\n smile: Smile,\n star: Star,\n stop: Square,\n success: CircleCheck,\n trash: Trash2,\n user: User,\n video: Video,\n volume: Volume2,\n \"volume-off\": VolumeX,\n warning: TriangleAlert,\n // The cast widens lucide's declared `color: string` to `ColorValue`. On iOS\n // NativeIcon passes theme roles as `PlatformColor` objects; lucide hands\n // `color` to react-native-svg's stroke, whose extractBrush resolves\n // PlatformColor and DynamicColorIOS objects (react-native-svg 15,\n // src/lib/extract/extractBrush.ts).\n} as Record<NativeIconName, GenesisIconComponent>;\n"]}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { Box, BoxBackground, BoxProps, FlexAlign, FlexJustify, Grid, GridProps, Inline, InlineProps, NativeAccordion, NativeAccordionContent, NativeAccordionContentProps, NativeAccordionItem, NativeAccordionItemProps, NativeAccordionProps, NativeAccordionTrigger, NativeAccordionTriggerProps, NativeAccordionType, NativeAlert, NativeAlertDescription, NativeAlertDescriptionProps, NativeAlertProps, NativeAlertTitle, NativeAlertTitleProps, NativeAvatar, NativeAvatarProps, NativeBadge, NativeBadgeProps, NativeBanner, NativeBannerProps, NativeButton, NativeButtonProps, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardProps, NativeCardTitle, NativeCardTitleProps, NativeCheckbox, NativeCheckboxProps, NativeChip, NativeChipGroup, NativeChipGroupMode, NativeChipGroupProps, NativeChipProps, NativeCombobox, NativeComboboxOption, NativeComboboxProps, NativeDatePicker, NativeDatePickerProps, NativeDialog, NativeDialogContent, NativeDialogContentProps, NativeDialogDescription, NativeDialogDescriptionProps, NativeDialogFooter, NativeDialogFooterProps, NativeDialogHeader, NativeDialogHeaderProps, NativeDialogProps, NativeDialogTitle, NativeDialogTitleProps, NativeDrawer, NativeDrawerProps, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuContentProps, NativeDropdownMenuItem, NativeDropdownMenuItemProps, NativeDropdownMenuProps, NativeDropdownMenuTrigger, NativeDropdownMenuTriggerProps, NativeEmptyState, NativeEmptyStateProps, NativeEmptyStateVariant, NativeGlassSurface, NativeGlassSurfaceProps, NativeHeaderCard, NativeHeaderCardProps, NativeIcon, NativeIconProps, NativeImage, NativeImageProps, NativeInlineAlert, NativeInlineAlertProps, NativeInlineAlertVariant, NativeInput, NativeInputProps, NativeLabel, NativeLabelProps, NativeListItem, NativeListItemDivider, NativeListItemProps, NativeNumberInput, NativeNumberInputProps, NativePagination, NativePaginationProps, NativePopover, NativePopoverContent, NativePopoverContentProps, NativePopoverProps, NativePopoverTrigger, NativePopoverTriggerProps, NativeProgress, NativeProgressProps, NativeRadioGroup, NativeRadioGroupItem, NativeRadioGroupItemProps, NativeRadioGroupProps, NativeRangeSlider, NativeRangeSliderProps, NativeRefreshControl, NativeRefreshControlProps, NativeSearchBar, NativeSearchBarProps, NativeSectionListHeader, NativeSectionListHeaderProps, NativeSegmentedControl, NativeSegmentedControlOption, NativeSegmentedControlProps, NativeSelect, NativeSelectContent, NativeSelectContentProps, NativeSelectItem, NativeSelectItemProps, NativeSelectProps, NativeSelectTrigger, NativeSelectTriggerProps, NativeSeparator, NativeSeparatorProps, NativeSheet, NativeSheetLibrary, NativeSheetProps, NativeSheetProvider, NativeSheetProviderProps, NativeSheetScrollView, NativeSkeleton, NativeSkeletonProps, NativeSlider, NativeSliderProps, NativeStepper, NativeStepperProps, NativeStepperStep, NativeSwitch, NativeSwitchProps, NativeTabs, NativeTabsContent, NativeTabsContentProps, NativeTabsList, NativeTabsListProps, NativeTabsProps, NativeTabsTrigger, NativeTabsTriggerProps, NativeText, NativeTextProps, NativeTextarea, NativeTextareaProps, NativeTimePicker, NativeTimePickerProps, NativeToastOptions, NativeToastProvider, NativeToastProviderProps, NativeToastVariant, NativeToggle, NativeToggleProps, NativeTooltip, NativeTooltipContent, NativeTooltipContentProps, NativeTooltipProps, NativeTooltipTrigger, NativeTooltipTriggerProps, SpaceToken, SpacingPrefix, Stack, StackProps, TextPreset, alertVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, spaceScale, spacingClass, textVariants, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from './components/index.js';
2
- export { G as GenesisDatePickerComponent, a as GenesisDatePickerProps, b as GenesisGlassModule, c as GenesisIconComponent, d as GenesisIconSet, e as GenesisImageComponent, f as GenesisImageProps, g as GenesisListComponent, h as GenesisListProps, i as GenesisModules, j as GenesisModulesProvider, k as GenesisModulesProviderProps, l as GenesisReanimatedModule, m as GenesisSymbolComponent, n as GenesisSymbolProps, N as NATIVE_ICON_NAMES, o as NativeIconName, S as SF_SYMBOLS, u as useGenesisModules } from './native-modules-BGO2MnFF.js';
1
+ export { Box, BoxBackground, BoxProps, FULL_SCREEN_DARK, FlexAlign, FlexJustify, Grid, GridProps, Inline, InlineProps, NativeAccordion, NativeAccordionContent, NativeAccordionContentProps, NativeAccordionItem, NativeAccordionItemProps, NativeAccordionProps, NativeAccordionTrigger, NativeAccordionTriggerProps, NativeAccordionType, NativeAlert, NativeAlertDescription, NativeAlertDescriptionProps, NativeAlertProps, NativeAlertTitle, NativeAlertTitleProps, NativeAvatar, NativeAvatarProps, NativeBadge, NativeBadgeProps, NativeBanner, NativeBannerProps, NativeButton, NativeButtonProps, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardProps, NativeCardTitle, NativeCardTitleProps, NativeCheckbox, NativeCheckboxProps, NativeChip, NativeChipGroup, NativeChipGroupMode, NativeChipGroupProps, NativeChipProps, NativeCombobox, NativeComboboxOption, NativeComboboxProps, NativeDatePicker, NativeDatePickerProps, NativeDialog, NativeDialogContent, NativeDialogContentProps, NativeDialogDescription, NativeDialogDescriptionProps, NativeDialogFooter, NativeDialogFooterProps, NativeDialogHeader, NativeDialogHeaderProps, NativeDialogProps, NativeDialogTitle, NativeDialogTitleProps, NativeDrawer, NativeDrawerProps, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuContentProps, NativeDropdownMenuItem, NativeDropdownMenuItemProps, NativeDropdownMenuProps, NativeDropdownMenuTrigger, NativeDropdownMenuTriggerProps, NativeEmptyState, NativeEmptyStateProps, NativeEmptyStateVariant, NativeFullScreenModal, NativeFullScreenModalProps, NativeGlassSurface, NativeGlassSurfaceProps, NativeHeaderCard, NativeHeaderCardProps, NativeIcon, NativeIconProps, NativeImage, NativeImageProps, NativeInlineAlert, NativeInlineAlertProps, NativeInlineAlertVariant, NativeInput, NativeInputProps, NativeLabel, NativeLabelProps, NativeListItem, NativeListItemDivider, NativeListItemProps, NativeNumberInput, NativeNumberInputProps, NativePagination, NativePaginationProps, NativePopover, NativePopoverContent, NativePopoverContentProps, NativePopoverProps, NativePopoverTrigger, NativePopoverTriggerProps, NativeProgress, NativeProgressProps, NativeRadioGroup, NativeRadioGroupItem, NativeRadioGroupItemProps, NativeRadioGroupProps, NativeRangeSlider, NativeRangeSliderProps, NativeRefreshControl, NativeRefreshControlProps, NativeSearchBar, NativeSearchBarProps, NativeSectionListHeader, NativeSectionListHeaderProps, NativeSegmentedControl, NativeSegmentedControlOption, NativeSegmentedControlProps, NativeSelect, NativeSelectContent, NativeSelectContentProps, NativeSelectItem, NativeSelectItemProps, NativeSelectProps, NativeSelectTrigger, NativeSelectTriggerProps, NativeSeparator, NativeSeparatorProps, NativeSheet, NativeSheetLibrary, NativeSheetProps, NativeSheetProvider, NativeSheetProviderProps, NativeSheetScrollView, NativeSkeleton, NativeSkeletonProps, NativeSlider, NativeSliderProps, NativeStepper, NativeStepperProps, NativeStepperStep, NativeSwitch, NativeSwitchProps, NativeTabs, NativeTabsContent, NativeTabsContentProps, NativeTabsList, NativeTabsListProps, NativeTabsProps, NativeTabsTrigger, NativeTabsTriggerProps, NativeText, NativeTextProps, NativeTextarea, NativeTextareaProps, NativeTimePicker, NativeTimePickerProps, NativeToastOptions, NativeToastProvider, NativeToastProviderProps, NativeToastVariant, NativeToggle, NativeToggleProps, NativeTooltip, NativeTooltipContent, NativeTooltipContentProps, NativeTooltipProps, NativeTooltipTrigger, NativeTooltipTriggerProps, SpaceToken, SpacingPrefix, Stack, StackProps, TextPreset, alertVariants, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, spaceScale, spacingClass, textVariants, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from './components/index.js';
2
+ export { G as GenesisDatePickerComponent, a as GenesisDatePickerProps, b as GenesisGlassModule, c as GenesisIconComponent, d as GenesisIconSet, e as GenesisImageComponent, f as GenesisImageProps, g as GenesisListComponent, h as GenesisListProps, i as GenesisModules, j as GenesisModulesProvider, k as GenesisModulesProviderProps, l as GenesisReanimatedModule, m as GenesisSymbolComponent, n as GenesisSymbolProps, N as NATIVE_ICON_NAMES, o as NativeIconName, S as SF_SYMBOLS, u as useGenesisModules } from './native-modules-_Q5vIbd5.js';
3
3
  export { BrandExtensionsProvider, BrandExtensionsProviderProps, BrandExtensionsValue, ThemeMode, ThemeRoleColors, UseThemeRolesOptions, useGenesisExtension, useReducedMotion, useThemeMode, useThemeRoles } from './hooks/index.js';
4
4
  export { AppleButtonModuleLike, AppleProviderOptions, AppleSignInButton, AppleSignInButtonProps, AuthBranding, AuthBrandingProps, AuthForm, AuthFormProps, AuthFormValues, AuthScreen, AuthScreenProps, AuthScreenSlotMap, ForgotPasswordLink, GoogleProviderOptions, InboxItem, InboxPage, InboxPageProps, InboxPageSlotMap, InboxSwipeAction, KEYBOARD_TOOLBAR_HEIGHT, KeyboardScrollProps, KeyboardScrollProvider, KeyboardToolbarProps, NavBarSaveButton, NavBarSaveButtonProps, NavBarSearchBar, NavBarSearchBarProps, NavBarTitle, NavBarTitleProps, NotificationItem, NotificationsPage, NotificationsPageProps, NotificationsPageSlotMap, SafeAreaEdge, ScreenContainer, ScreenContainerProps, ScreenHeaderProps, ScrollEdgeBehavior, SettingsPage, SettingsPageDangerousAction, SettingsPageProps, SettingsPageRow, SettingsPageSection, SettingsPageSlotMap, SettingsSubPage, SettingsSubPageProps, SocialAuthProvider, SocialAuthRow, SocialAuthRowProps, ThreadAttachment, ThreadComposer, ThreadLabels, ThreadMessage, ThreadPage, ThreadPageProps, ThreadPageSlotMap, appleProvider, composeHeaderOptions, confirmDiscardChanges, defaultStickyHeaderOffset, formatInboxTime, getInboxPageStackOptions, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions, getThreadPageStackOptions, googleProvider, iosCompactNavigationBarHeight, readReceiptFor, showInboxActions, useKeyboardScroll, useKeyboardToolbar } from './layouts/index.js';
5
5
  export { cn } from './utils.js';
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- export { Box, Grid, Inline, NativeAccordion, NativeAccordionContent, NativeAccordionItem, NativeAccordionTrigger, NativeAvatar, NativeBanner, NativeChip, NativeChipGroup, NativeCombobox, NativeDatePicker, NativeDialog, NativeDialogContent, NativeDialogDescription, NativeDialogFooter, NativeDialogHeader, NativeDialogTitle, NativeDrawer, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuItem, NativeDropdownMenuTrigger, NativeGlassSurface, NativeHeaderCard, NativeImage, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSheetProvider, NativeSheetScrollView, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from './chunk-Q445I7WO.js';
1
+ export { Box, FULL_SCREEN_DARK, Grid, Inline, NativeAccordion, NativeAccordionContent, NativeAccordionItem, NativeAccordionTrigger, NativeAvatar, NativeBanner, NativeChip, NativeChipGroup, NativeCombobox, NativeDatePicker, NativeDialog, NativeDialogContent, NativeDialogDescription, NativeDialogFooter, NativeDialogHeader, NativeDialogTitle, NativeDrawer, NativeDropdownMenu, NativeDropdownMenuContent, NativeDropdownMenuItem, NativeDropdownMenuTrigger, NativeFullScreenModal, NativeGlassSurface, NativeHeaderCard, NativeImage, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSheetProvider, NativeSheetScrollView, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useLiquidGlass, useReduceTransparency, useToast } from './chunk-RARJGZA3.js';
2
2
  export { NativeAlert, NativeAlertDescription, NativeAlertTitle, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardTitle, NativeCheckbox, NativeLabel, NativeSelect, NativeSelectContent, NativeSelectItem, NativeSelectTrigger, NativeSeparator, NativeSkeleton, NativeSwitch, NativeTextarea, alertVariants } from './chunk-FIITITXO.js';
3
3
  export { BrandExtensionsProvider, useGenesisExtension } from './chunk-D5RKSPMH.js';
4
4
  export { useReducedMotion } from './chunk-7PCWEY6R.js';
5
- export { AppleSignInButton, AuthBranding, AuthForm, AuthScreen, ForgotPasswordLink, InboxPage, KEYBOARD_TOOLBAR_HEIGHT, KeyboardScrollProvider, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, ThreadPage, appleProvider, composeHeaderOptions, confirmDiscardChanges, defaultStickyHeaderOffset, formatInboxTime, getInboxPageStackOptions, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions, getThreadPageStackOptions, googleProvider, iosCompactNavigationBarHeight, readReceiptFor, showInboxActions, useKeyboardScroll, useKeyboardToolbar } from './chunk-H4Q7COTI.js';
6
- export { NATIVE_ICON_NAMES, NativeEmptyState, NativeIcon, NativeListItem, NativeListItemDivider, NativeRefreshControl, NativeSectionListHeader, SF_SYMBOLS } from './chunk-W2UBJ56D.js';
5
+ export { AppleSignInButton, AuthBranding, AuthForm, AuthScreen, ForgotPasswordLink, InboxPage, KEYBOARD_TOOLBAR_HEIGHT, KeyboardScrollProvider, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, ThreadPage, appleProvider, composeHeaderOptions, confirmDiscardChanges, defaultStickyHeaderOffset, formatInboxTime, getInboxPageStackOptions, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions, getThreadPageStackOptions, googleProvider, iosCompactNavigationBarHeight, readReceiptFor, showInboxActions, useKeyboardScroll, useKeyboardToolbar } from './chunk-6TLBCRS6.js';
6
+ export { NATIVE_ICON_NAMES, NativeEmptyState, NativeIcon, NativeListItem, NativeListItemDivider, NativeRefreshControl, NativeSectionListHeader, SF_SYMBOLS } from './chunk-BPD5DCFP.js';
7
7
  export { GenesisModulesProvider, NativeBadge, NativeButton, NativeInput, NativeText, badgeTextVariants, badgeVariants, buttonTextVariants, buttonVariants, textVariants, useGenesisModules } from './chunk-EFXCJ5AN.js';
8
8
  export { useThemeMode, useThemeRoles } from './chunk-Z3AQYVUA.js';
9
9
  export { cn } from './chunk-OHZD7KRO.js';
@@ -1,5 +1,5 @@
1
- export { AppleSignInButton, AuthBranding, AuthForm, AuthScreen, ForgotPasswordLink, InboxPage, KEYBOARD_TOOLBAR_HEIGHT, KeyboardScrollProvider, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, ThreadPage, appleProvider, composeHeaderOptions, confirmDiscardChanges, defaultStickyHeaderOffset, formatInboxTime, getInboxPageStackOptions, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions, getThreadPageStackOptions, googleProvider, iosCompactNavigationBarHeight, readReceiptFor, showInboxActions, useKeyboardScroll, useKeyboardToolbar } from '../chunk-H4Q7COTI.js';
2
- import '../chunk-W2UBJ56D.js';
1
+ export { AppleSignInButton, AuthBranding, AuthForm, AuthScreen, ForgotPasswordLink, InboxPage, KEYBOARD_TOOLBAR_HEIGHT, KeyboardScrollProvider, NavBarSaveButton, NavBarSearchBar, NavBarTitle, NotificationsPage, ScreenContainer, SettingsPage, SettingsSubPage, SocialAuthRow, ThreadPage, appleProvider, composeHeaderOptions, confirmDiscardChanges, defaultStickyHeaderOffset, formatInboxTime, getInboxPageStackOptions, getNotificationsPageStackOptions, getSettingsPageStackOptions, getSettingsSubPageStackOptions, getThreadPageStackOptions, googleProvider, iosCompactNavigationBarHeight, readReceiptFor, showInboxActions, useKeyboardScroll, useKeyboardToolbar } from '../chunk-6TLBCRS6.js';
2
+ import '../chunk-BPD5DCFP.js';
3
3
  import '../chunk-EFXCJ5AN.js';
4
4
  import '../chunk-Z3AQYVUA.js';
5
5
  import '../chunk-OHZD7KRO.js';
@@ -16,6 +16,7 @@ declare const SF_SYMBOLS: {
16
16
  readonly bell: "bell";
17
17
  readonly calendar: "calendar";
18
18
  readonly camera: "camera";
19
+ readonly "camera-flip": "arrow.triangle.2.circlepath.camera";
19
20
  readonly check: "checkmark";
20
21
  readonly "chevron-down": "chevron.down";
21
22
  readonly "chevron-left": "chevron.left";
@@ -25,8 +26,10 @@ declare const SF_SYMBOLS: {
25
26
  readonly close: "xmark";
26
27
  readonly compose: "square.and.pencil";
27
28
  readonly copy: "doc.on.doc";
29
+ readonly download: "square.and.arrow.down";
28
30
  readonly edit: "pencil";
29
31
  readonly error: "xmark.circle";
32
+ readonly expand: "arrow.up.left.and.arrow.down.right";
30
33
  readonly "external-link": "arrow.up.right.square";
31
34
  readonly file: "doc";
32
35
  readonly filter: "line.3.horizontal.decrease";
@@ -52,10 +55,15 @@ declare const SF_SYMBOLS: {
52
55
  readonly search: "magnifyingglass";
53
56
  readonly settings: "gearshape";
54
57
  readonly share: "square.and.arrow.up";
58
+ readonly smile: "face.smiling";
55
59
  readonly star: "star";
60
+ readonly stop: "stop.fill";
56
61
  readonly success: "checkmark.circle";
57
62
  readonly trash: "trash";
58
63
  readonly user: "person";
64
+ readonly video: "video";
65
+ readonly volume: "speaker.wave.2.fill";
66
+ readonly "volume-off": "speaker.slash.fill";
59
67
  readonly warning: "exclamationmark.triangle";
60
68
  };
61
69
  /** A semantic icon name: what the icon is for. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marktiderman/genesis-ui-native",
3
- "version": "2.3.1",
3
+ "version": "2.4.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -30,6 +30,7 @@ vi.mock("lucide-react-native", () => {
30
30
  "CircleX", "Clock", "Ellipsis", "ExternalLink", "Funnel", "Heart", "House", "Info", "Lock", "LogOut", "Mail", "Menu",
31
31
  "Minus", "Pencil", "Plus", "RefreshCw", "Search", "Settings", "Share", "Star", "Trash2", "TriangleAlert", "User", "X",
32
32
  "ArrowUp", "Camera", "Copy", "File", "Image", "MessageCircle", "Mic", "Paperclip", "Pause", "Pin", "Play", "Reply", "SquarePen",
33
+ "Download", "Smile", "Maximize2", "Square", "SwitchCamera", "Video", "Volume2", "VolumeX",
33
34
  ];
34
35
  return Object.fromEntries(names.map((n) => [n, icon(n)]));
35
36
  });
@@ -0,0 +1,52 @@
1
+ /** NativeFullScreenModal: the whole screen, faded in, black for media, closed by back and escape. */
2
+ import { fireEvent, render, screen } from "@testing-library/react";
3
+ import { describe, expect, it, vi } from "vitest";
4
+ import { NativeText } from "../text";
5
+ import { FULL_SCREEN_DARK, NativeFullScreenModal } from "../full-screen-modal";
6
+
7
+ describe("NativeFullScreenModal", () => {
8
+ it("covers the whole screen (not a page sheet), faded in, on black by default", () => {
9
+ render(
10
+ <NativeFullScreenModal open onOpenChange={() => undefined} testID="fs">
11
+ <NativeText>Inside</NativeText>
12
+ </NativeFullScreenModal>,
13
+ );
14
+ const modal = screen.getByTestId("fs");
15
+ expect(modal.getAttribute("data-presentation-style")).toBe("overFullScreen");
16
+ expect(modal.getAttribute("data-animation-type")).toBe("fade");
17
+ expect(modal.getAttribute("data-transparent")).toBe("true");
18
+ expect(modal.getAttribute("data-status-bar-translucent")).toBe("true");
19
+ expect(JSON.parse((screen.getByTestId("fs-body") as HTMLElement).dataset.style!).backgroundColor).toBe("#000000");
20
+ expect(FULL_SCREEN_DARK).toBe("#000000");
21
+ expect(screen.getByText("Inside")).toBeTruthy();
22
+ });
23
+
24
+ it("draws no backdrop with tone none, for content that draws its own", () => {
25
+ render(
26
+ <NativeFullScreenModal open tone="none" onOpenChange={() => undefined} testID="fs">
27
+ <NativeText>Inside</NativeText>
28
+ </NativeFullScreenModal>,
29
+ );
30
+ expect(JSON.parse((screen.getByTestId("fs-body") as HTMLElement).dataset.style!).backgroundColor).toBe("transparent");
31
+ });
32
+
33
+ it("renders nothing while closed", () => {
34
+ render(
35
+ <NativeFullScreenModal open={false} onOpenChange={() => undefined} testID="fs">
36
+ <NativeText>Inside</NativeText>
37
+ </NativeFullScreenModal>,
38
+ );
39
+ expect(screen.queryByTestId("fs")).toBeNull();
40
+ });
41
+
42
+ it("asks to close on Android back (onRequestClose)", () => {
43
+ const onOpenChange = vi.fn();
44
+ render(
45
+ <NativeFullScreenModal open onOpenChange={onOpenChange} testID="fs">
46
+ <NativeText>Inside</NativeText>
47
+ </NativeFullScreenModal>,
48
+ );
49
+ fireEvent.keyDown(screen.getByTestId("fs"), { key: "Escape" });
50
+ expect(onOpenChange).toHaveBeenCalledWith(false);
51
+ });
52
+ });
@@ -118,6 +118,18 @@ describe("NativeSheet without a provider", () => {
118
118
  expect(onOpenChange).not.toHaveBeenCalled();
119
119
  });
120
120
 
121
+ it("fits its content on iOS with fitContent: a bottom panel over a scrim, not the page sheet", async () => {
122
+ Platform.OS = "ios";
123
+ const onOpenChange = vi.fn();
124
+ render(sheet({ onOpenChange, testID: "s", fitContent: true }));
125
+ const modal = await screen.findByRole("dialog");
126
+ expect(modal.getAttribute("data-presentation-style")).toBeNull();
127
+ expect(modal.getAttribute("data-transparent")).toBe("true");
128
+ expect(screen.getByTestId("s").textContent).toBe("body");
129
+ fireEvent.click(screen.getByTestId("s-backdrop"));
130
+ expect(onOpenChange).toHaveBeenCalledWith(false);
131
+ });
132
+
121
133
  it("renders nothing while closed", async () => {
122
134
  render(sheet({ open: false }));
123
135
  await act(async () => {});
@@ -146,6 +158,7 @@ describe("NativeSheet under NativeSheetProvider", () => {
146
158
  expect(present).toHaveBeenCalledTimes(1);
147
159
  // The given snap points are the sheet's only ones (v5 would add a content-height one).
148
160
  expect(modalProps).toHaveBeenLastCalledWith(expect.objectContaining({ snapPoints: ["25%"], enableDynamicSizing: false }));
161
+ expect((modalProps.mock.calls.at(-1)![0] as { maxDynamicContentSize?: number }).maxDynamicContentSize).toBeUndefined();
149
162
 
150
163
  // The user closing it reports; the app closing it doesn't report back.
151
164
  fireEvent.click(screen.getByTestId("gorhom-modal"));
@@ -157,6 +170,20 @@ describe("NativeSheet under NativeSheetProvider", () => {
157
170
  expect(onOpenChange).not.toHaveBeenCalled();
158
171
  });
159
172
 
173
+ it("lets the library size a sheet that fits its content", () => {
174
+ const { library, modalProps } = fakeLibrary();
175
+ render(
176
+ <NativeSheetProvider bottomSheet={library}>
177
+ <NativeSheet open onOpenChange={() => {}} fitContent>
178
+ <span>body</span>
179
+ </NativeSheet>
180
+ </NativeSheetProvider>,
181
+ );
182
+ expect(modalProps).toHaveBeenLastCalledWith(expect.objectContaining({ snapPoints: undefined, index: 0, enableDynamicSizing: true }));
183
+ // Capped below the full height, so long content never runs under the status bar.
184
+ expect((modalProps.mock.calls.at(-1)![0] as { maxDynamicContentSize?: number }).maxDynamicContentSize).toBeGreaterThan(0);
185
+ });
186
+
160
187
  it("doesn't report a dismiss that finishes after the app reopened the sheet", () => {
161
188
  const { library } = fakeLibrary();
162
189
  const onOpenChange = vi.fn();
@@ -0,0 +1,70 @@
1
+ /**
2
+ * FullScreenModal — content that takes the whole screen over the app: a
3
+ * photo or video viewer, a camera, a scanner.
4
+ *
5
+ * React Native's `Modal`, over the whole screen on both platforms
6
+ * (`overFullScreen` on iOS; under the system bars on Android), faded in (no
7
+ * animation with Reduce Motion). `tone="dark"` (the default) is a black
8
+ * backdrop with light status bar content, for media; `tone="app"` is the
9
+ * theme's background; `tone="none"` draws no backdrop, for content that
10
+ * draws its own (a viewer that fades to show the app as it's dragged away,
11
+ * with `FULL_SCREEN_DARK` behind it). Content
12
+ * gets its own safe area (`useSafeAreaInsets` inside is the modal's) and
13
+ * places its own close control: Android back and the VoiceOver escape
14
+ * gesture call `onOpenChange(false)`.
15
+ *
16
+ * For a short task over the app, use <NativeSheet>; for a confirmation,
17
+ * <NativeDialog>.
18
+ *
19
+ * @stability Beta
20
+ */
21
+ import type { ReactNode } from "react";
22
+ import { Modal, StatusBar, View } from "react-native";
23
+ import { SafeAreaProvider } from "react-native-safe-area-context";
24
+ import { useReducedMotion } from "../hooks/use-reduced-motion";
25
+ import { useThemeRoles } from "../hooks/use-theme-roles";
26
+
27
+ export interface NativeFullScreenModalProps {
28
+ open: boolean;
29
+ /** Fired with false on Android back and the VoiceOver escape gesture. Set `open` false in it. */
30
+ onOpenChange: (open: boolean) => void;
31
+ /** `"dark"` (default): black, for photos and video. `"app"`: the theme's background. `"none"`: the content draws its own. */
32
+ tone?: "dark" | "app" | "none";
33
+ children: ReactNode;
34
+ testID?: string;
35
+ }
36
+
37
+ /** The dark tone's backdrop: media reads best on true black in light and dark mode alike. */
38
+ export const FULL_SCREEN_DARK = "#000000";
39
+
40
+ /** @stability Beta */
41
+ export function NativeFullScreenModal({ open, onOpenChange, tone = "dark", children, testID = "native-full-screen-modal" }: NativeFullScreenModalProps) {
42
+ const reducedMotion = useReducedMotion();
43
+ const roles = useThemeRoles();
44
+ const background = tone === "dark" ? FULL_SCREEN_DARK : tone === "app" ? roles.background : "transparent";
45
+ const close = () => onOpenChange(false);
46
+ return (
47
+ <Modal
48
+ visible={open}
49
+ animationType={reducedMotion ? "none" : "fade"}
50
+ transparent
51
+ presentationStyle="overFullScreen"
52
+ statusBarTranslucent
53
+ navigationBarTranslucent
54
+ onRequestClose={close}
55
+ testID={testID}
56
+ >
57
+ {tone !== "app" ? <StatusBar barStyle="light-content" animated /> : null}
58
+ <SafeAreaProvider>
59
+ <View
60
+ testID={`${testID}-body`}
61
+ accessibilityViewIsModal
62
+ onAccessibilityEscape={close}
63
+ style={{ flex: 1, backgroundColor: background }}
64
+ >
65
+ {children}
66
+ </View>
67
+ </SafeAreaProvider>
68
+ </Modal>
69
+ );
70
+ }
@@ -29,6 +29,9 @@ export type {
29
29
  export { NativeSheet, NativeSheetProvider, NativeSheetScrollView } from "./sheet";
30
30
  export type { NativeSheetLibrary, NativeSheetProps, NativeSheetProviderProps } from "./sheet";
31
31
 
32
+ export { NativeFullScreenModal, FULL_SCREEN_DARK } from "./full-screen-modal";
33
+ export type { NativeFullScreenModalProps } from "./full-screen-modal";
34
+
32
35
  export {
33
36
  NativePopover,
34
37
  NativePopoverTrigger,
@@ -20,6 +20,8 @@
20
20
  * `GestureHandlerRootView` at the root and Reanimated set up.
21
21
  * `snapPoints` and `initialSnapIndex` apply only to that path.
22
22
  *
23
+ * A short menu or form passes `fitContent`: the sheet is as tall as what is in it.
24
+ *
23
25
  * A sheet that is a screen of its own (a link can open it) belongs in the
24
26
  * router instead: an expo-router screen with `presentation: "formSheet"` and
25
27
  * `sheetAllowedDetents` (e.g. `[0.5, 1]`) is the system sheet with detents.
@@ -36,7 +38,7 @@ import {
36
38
  type ComponentType,
37
39
  type ReactNode,
38
40
  } from "react";
39
- import { AccessibilityInfo, Modal, Platform, Pressable, ScrollView, View, type ScrollViewProps, type ViewStyle } from "react-native";
41
+ import { AccessibilityInfo, Dimensions, KeyboardAvoidingView, Modal, Platform, Pressable, ScrollView, View, type ScrollViewProps, type ViewStyle } from "react-native";
40
42
  import { SafeAreaProvider, useSafeAreaInsets } from "react-native-safe-area-context";
41
43
  import { useThemeRoles } from "../hooks/use-theme-roles";
42
44
 
@@ -51,6 +53,14 @@ export interface NativeSheetProps {
51
53
  initialSnapIndex?: number;
52
54
  /** Keep the sheet open when the user taps the backdrop, swipes it down or presses Android back. Default false. */
53
55
  disableBackdropDismiss?: boolean;
56
+ /**
57
+ * As tall as its content (up to 90% of the screen) instead of the full page sheet, for a short
58
+ * menu or form. On iOS this is a bottom panel over a scrim, like Android's (a tap on the scrim
59
+ * or the VoiceOver escape gesture closes it; it doesn't follow a swipe down), and it moves above
60
+ * the keyboard. Under `NativeSheetProvider` the library sizes it (`enableDynamicSizing`) and
61
+ * `snapPoints` is ignored. Default false.
62
+ */
63
+ fitContent?: boolean;
54
64
  children: ReactNode;
55
65
  testID?: string;
56
66
  }
@@ -156,6 +166,7 @@ function LibrarySheet({
156
166
  snapPoints = ["50%", "90%"],
157
167
  initialSnapIndex = 0,
158
168
  disableBackdropDismiss = false,
169
+ fitContent = false,
159
170
  testID,
160
171
  children,
161
172
  }: NativeSheetProps & { library: NativeSheetLibrary }) {
@@ -198,10 +209,13 @@ function LibrarySheet({
198
209
  return (
199
210
  <BottomSheetModal
200
211
  ref={sheet}
201
- snapPoints={snapPoints}
202
- index={initialSnapIndex}
203
- // v5 sizes to the content by default and adds that as a snap point, which would shift the indexes.
204
- enableDynamicSizing={false}
212
+ snapPoints={fitContent ? undefined : snapPoints}
213
+ index={fitContent ? 0 : initialSnapIndex}
214
+ // v5 sizes to the content by default and adds that as a snap point, which would shift the
215
+ // indexes: only a sheet that fits its content asks for it, and then it is the only one.
216
+ enableDynamicSizing={fitContent}
217
+ // Long content would otherwise grow the sheet to the full height, under the status bar.
218
+ {...(fitContent ? { maxDynamicContentSize: Math.round(Dimensions.get("window").height * 0.9) } : {})}
205
219
  onDismiss={onDismiss}
206
220
  enablePanDownToClose={!disableBackdropDismiss}
207
221
  backdropComponent={backdrop}
@@ -238,9 +252,10 @@ function useReduceMotionAnswer(): boolean | null {
238
252
  * sheet (`presentationStyle="pageSheet"`), following the finger when swiped
239
253
  * down (`allowSwipeDismissal`); with `disableBackdropDismiss` a swipe only
240
254
  * asks and the sheet springs back. Android: a transparent modal with a scrim
241
- * and a panel at the bottom, drawn under the system bars.
255
+ * and a panel at the bottom, drawn under the system bars. `fitContent` on iOS: the same bottom
256
+ * panel, kept above the keyboard.
242
257
  */
243
- function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, testID, children }: NativeSheetProps) {
258
+ function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, fitContent = false, testID, children }: NativeSheetProps) {
244
259
  const reducedMotion = useReduceMotionAnswer();
245
260
  const roles = useThemeRoles();
246
261
  const requestClose = () => {
@@ -250,7 +265,8 @@ function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, testID
250
265
  const animationType = reducedMotion ? "none" : "slide";
251
266
  const id = testID ?? "native-sheet";
252
267
 
253
- if (Platform.OS === "ios") {
268
+ const ios = Platform.OS === "ios";
269
+ if (ios && !fitContent) {
254
270
  return (
255
271
  <Modal
256
272
  visible={visible}
@@ -283,7 +299,7 @@ function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, testID
283
299
  onRequestClose={requestClose}
284
300
  >
285
301
  <SafeAreaProvider>
286
- <View style={{ flex: 1, justifyContent: "flex-end" }}>
302
+ <KeyboardPanel ios={ios}>
287
303
  <Pressable
288
304
  testID={`${id}-backdrop`}
289
305
  accessibilityRole="button"
@@ -295,6 +311,7 @@ function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, testID
295
311
  />
296
312
  <SheetBody
297
313
  testID={id}
314
+ onAccessibilityEscape={disableBackdropDismiss ? undefined : requestClose}
298
315
  style={{
299
316
  maxHeight: "90%",
300
317
  borderTopLeftRadius: 28,
@@ -308,12 +325,25 @@ function ModalSheet({ open, onOpenChange, disableBackdropDismiss = false, testID
308
325
  />
309
326
  {children}
310
327
  </SheetBody>
311
- </View>
328
+ </KeyboardPanel>
312
329
  </SafeAreaProvider>
313
330
  </Modal>
314
331
  );
315
332
  }
316
333
 
334
+ /**
335
+ * The bottom panel's frame: on iOS it moves up with the keyboard, less the home indicator's
336
+ * inset the sheet already pads, so it sits on the keyboard without a gap.
337
+ */
338
+ function KeyboardPanel({ ios, children }: { ios: boolean; children: ReactNode }) {
339
+ const insets = useSafeAreaInsets();
340
+ return (
341
+ <KeyboardAvoidingView behavior={ios ? "padding" : undefined} keyboardVerticalOffset={ios ? -insets.bottom : 0} style={{ flex: 1, justifyContent: "flex-end" }}>
342
+ {children}
343
+ </KeyboardAvoidingView>
344
+ );
345
+ }
346
+
317
347
  /** The sheet's root, padded by the sheet's own bottom inset (the home indicator, the navigation bar). */
318
348
  function SheetBody({
319
349
  testID,
package/src/icon-names.ts CHANGED
@@ -12,6 +12,7 @@ export const SF_SYMBOLS = {
12
12
  bell: "bell",
13
13
  calendar: "calendar",
14
14
  camera: "camera",
15
+ "camera-flip": "arrow.triangle.2.circlepath.camera",
15
16
  check: "checkmark",
16
17
  "chevron-down": "chevron.down",
17
18
  "chevron-left": "chevron.left",
@@ -21,8 +22,10 @@ export const SF_SYMBOLS = {
21
22
  close: "xmark",
22
23
  compose: "square.and.pencil",
23
24
  copy: "doc.on.doc",
25
+ download: "square.and.arrow.down",
24
26
  edit: "pencil",
25
27
  error: "xmark.circle",
28
+ expand: "arrow.up.left.and.arrow.down.right",
26
29
  "external-link": "arrow.up.right.square",
27
30
  file: "doc",
28
31
  filter: "line.3.horizontal.decrease",
@@ -48,10 +51,15 @@ export const SF_SYMBOLS = {
48
51
  search: "magnifyingglass",
49
52
  settings: "gearshape",
50
53
  share: "square.and.arrow.up",
54
+ smile: "face.smiling",
51
55
  star: "star",
56
+ stop: "stop.fill",
52
57
  success: "checkmark.circle",
53
58
  trash: "trash",
54
59
  user: "person",
60
+ video: "video",
61
+ volume: "speaker.wave.2.fill",
62
+ "volume-off": "speaker.slash.fill",
55
63
  warning: "exclamationmark.triangle",
56
64
  } as const;
57
65