@marktiderman/genesis-ui-native 2.0.0 → 2.0.2

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.
@@ -1,13 +1,15 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import * as react from 'react';
2
+ import react__default from 'react';
2
3
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
4
  import { VariantProps } from 'class-variance-authority';
4
5
  import { TextProps, TextInputProps, ViewProps, SwitchProps } from 'react-native';
5
- import React__default from 'react';
6
6
 
7
7
  declare const textVariants: (props?: ({
8
8
  preset?: "h1" | "h2" | "h3" | "h4" | "body" | "body-sm" | "caption" | "label" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface NativeTextProps extends TextProps, VariantProps<typeof textVariants> {
11
+ /** NativeWind utility class string applied to the underlying Text. */
12
+ className?: string;
11
13
  }
12
14
  /**
13
15
  * Allowed `preset` values on {@link NativeText}. Re-exported as a named type
@@ -21,7 +23,7 @@ interface NativeTextProps extends TextProps, VariantProps<typeof textVariants> {
21
23
  * ```
22
24
  */
23
25
  type TextPreset = NonNullable<NativeTextProps["preset"]>;
24
- declare function NativeText({ className, preset, children, ...props }: NativeTextProps): react_jsx_runtime.JSX.Element;
26
+ declare function NativeText({ className, preset, children, ...props }: NativeTextProps): react.JSX.Element;
25
27
 
26
28
  declare const buttonVariants: (props?: ({
27
29
  variant?: "default" | "secondary" | "outline" | "ghost" | "destructive" | null | undefined;
@@ -40,29 +42,29 @@ interface NativeButtonProps extends VariantProps<typeof buttonVariants> {
40
42
  loading?: boolean;
41
43
  testID?: string;
42
44
  }
43
- declare function NativeButton({ className, textClassName, variant, size, children, onPress, disabled, loading, ...props }: NativeButtonProps): react_jsx_runtime.JSX.Element;
45
+ declare function NativeButton({ className, textClassName, variant, size, children, onPress, disabled, loading, ...props }: NativeButtonProps): react.JSX.Element;
44
46
 
45
47
  interface NativeCardProps {
46
48
  className?: string;
47
49
  children?: React.ReactNode;
48
50
  testID?: string;
49
51
  }
50
- declare function NativeCard({ className, children, ...props }: NativeCardProps): react_jsx_runtime.JSX.Element;
51
- declare function NativeCardHeader({ className, children, ...props }: NativeCardProps): react_jsx_runtime.JSX.Element;
52
+ declare function NativeCard({ className, children, ...props }: NativeCardProps): react.JSX.Element;
53
+ declare function NativeCardHeader({ className, children, ...props }: NativeCardProps): react.JSX.Element;
52
54
  interface NativeCardTitleProps {
53
55
  className?: string;
54
56
  children?: React.ReactNode;
55
57
  testID?: string;
56
58
  }
57
- declare function NativeCardTitle({ className, children, ...props }: NativeCardTitleProps): react_jsx_runtime.JSX.Element;
59
+ declare function NativeCardTitle({ className, children, ...props }: NativeCardTitleProps): react.JSX.Element;
58
60
  interface NativeCardDescriptionProps {
59
61
  className?: string;
60
62
  children?: React.ReactNode;
61
63
  testID?: string;
62
64
  }
63
- declare function NativeCardDescription({ className, children, ...props }: NativeCardDescriptionProps): react_jsx_runtime.JSX.Element;
64
- declare function NativeCardContent({ className, children, ...props }: NativeCardProps): react_jsx_runtime.JSX.Element;
65
- declare function NativeCardFooter({ className, children, ...props }: NativeCardProps): react_jsx_runtime.JSX.Element;
65
+ declare function NativeCardDescription({ className, children, ...props }: NativeCardDescriptionProps): react.JSX.Element;
66
+ declare function NativeCardContent({ className, children, ...props }: NativeCardProps): react.JSX.Element;
67
+ declare function NativeCardFooter({ className, children, ...props }: NativeCardProps): react.JSX.Element;
66
68
 
67
69
  interface NativeHeaderCardProps {
68
70
  /** Heading rendered at the top of the card. Required. */
@@ -90,7 +92,7 @@ interface NativeHeaderCardProps {
90
92
  /** testID on the root container. Required for instrumented screens. */
91
93
  testID?: string;
92
94
  }
93
- declare function NativeHeaderCard({ title, description, body, footer, className, titleClassName, descriptionClassName, bodyClassName, footerClassName, testID, }: NativeHeaderCardProps): react_jsx_runtime.JSX.Element;
95
+ declare function NativeHeaderCard({ title, description, body, footer, className, titleClassName, descriptionClassName, bodyClassName, footerClassName, testID, }: NativeHeaderCardProps): react.JSX.Element;
94
96
 
95
97
  type NativeToastVariant = "default" | "success" | "destructive";
96
98
  interface NativeToastOptions {
@@ -116,7 +118,7 @@ interface NativeToastProviderProps {
116
118
  /** Disable entrance/exit animation. Default false. */
117
119
  disableAnimation?: boolean;
118
120
  }
119
- declare function NativeToastProvider({ children, position, disableAnimation, }: NativeToastProviderProps): react_jsx_runtime.JSX.Element;
121
+ declare function NativeToastProvider({ children, position, disableAnimation, }: NativeToastProviderProps): react.JSX.Element;
120
122
  declare function useToast(): NativeToastContextValue;
121
123
 
122
124
  interface NativeSheetProps {
@@ -133,7 +135,7 @@ interface NativeSheetProps {
133
135
  children: React.ReactNode;
134
136
  testID?: string;
135
137
  }
136
- declare function NativeSheet({ open, onOpenChange, snapPoints, initialSnapIndex, disableBackdropDismiss, children, testID, }: NativeSheetProps): react_jsx_runtime.JSX.Element;
138
+ declare function NativeSheet({ open, onOpenChange, snapPoints, initialSnapIndex, disableBackdropDismiss, children, testID, }: NativeSheetProps): react.JSX.Element;
137
139
 
138
140
  interface NativePopoverProps {
139
141
  open?: boolean;
@@ -141,13 +143,13 @@ interface NativePopoverProps {
141
143
  onOpenChange?: (open: boolean) => void;
142
144
  children: React.ReactNode;
143
145
  }
144
- declare function NativePopover({ open: controlled, defaultOpen, onOpenChange, children, }: NativePopoverProps): react_jsx_runtime.JSX.Element;
146
+ declare function NativePopover({ open: controlled, defaultOpen, onOpenChange, children, }: NativePopoverProps): react.JSX.Element;
145
147
  interface NativePopoverTriggerProps {
146
148
  children: React.ReactNode;
147
149
  asChild?: boolean;
148
150
  testID?: string;
149
151
  }
150
- declare function NativePopoverTrigger({ children, testID, }: NativePopoverTriggerProps): react_jsx_runtime.JSX.Element;
152
+ declare function NativePopoverTrigger({ children, testID, }: NativePopoverTriggerProps): react.JSX.Element;
151
153
  interface NativePopoverContentProps {
152
154
  className?: string;
153
155
  children: React.ReactNode;
@@ -157,7 +159,7 @@ interface NativePopoverContentProps {
157
159
  sideOffset?: number;
158
160
  testID?: string;
159
161
  }
160
- declare function NativePopoverContent({ className, children, side, sideOffset, testID, }: NativePopoverContentProps): react_jsx_runtime.JSX.Element | null;
162
+ declare function NativePopoverContent({ className, children, side, sideOffset, testID, }: NativePopoverContentProps): react.JSX.Element | null;
161
163
 
162
164
  interface NativeDrawerProps {
163
165
  open: boolean;
@@ -170,7 +172,7 @@ interface NativeDrawerProps {
170
172
  className?: string;
171
173
  testID?: string;
172
174
  }
173
- declare function NativeDrawer({ open, onOpenChange, side, width, children, className, testID, }: NativeDrawerProps): react_jsx_runtime.JSX.Element;
175
+ declare function NativeDrawer({ open, onOpenChange, side, width, children, className, testID, }: NativeDrawerProps): react.JSX.Element;
174
176
 
175
177
  type NativeAccordionType = "single" | "multiple";
176
178
  interface NativeAccordionProps {
@@ -183,7 +185,7 @@ interface NativeAccordionProps {
183
185
  children: React.ReactNode;
184
186
  testID?: string;
185
187
  }
186
- declare function NativeAccordion({ type, value: controlled, defaultValue, onValueChange, className, children, testID, }: NativeAccordionProps): react_jsx_runtime.JSX.Element;
188
+ declare function NativeAccordion({ type, value: controlled, defaultValue, onValueChange, className, children, testID, }: NativeAccordionProps): react.JSX.Element;
187
189
  interface NativeAccordionItemProps {
188
190
  value: string;
189
191
  className?: string;
@@ -191,19 +193,19 @@ interface NativeAccordionItemProps {
191
193
  isLast?: boolean;
192
194
  children: React.ReactNode;
193
195
  }
194
- declare function NativeAccordionItem({ value, className, isLast, children, }: NativeAccordionItemProps): react_jsx_runtime.JSX.Element;
196
+ declare function NativeAccordionItem({ value, className, isLast, children, }: NativeAccordionItemProps): react.JSX.Element;
195
197
  interface NativeAccordionTriggerProps {
196
198
  className?: string;
197
199
  children: React.ReactNode;
198
200
  testID?: string;
199
201
  }
200
- declare function NativeAccordionTrigger({ className, children, testID, }: NativeAccordionTriggerProps): react_jsx_runtime.JSX.Element;
202
+ declare function NativeAccordionTrigger({ className, children, testID, }: NativeAccordionTriggerProps): react.JSX.Element;
201
203
  interface NativeAccordionContentProps {
202
204
  className?: string;
203
205
  children: React.ReactNode;
204
206
  testID?: string;
205
207
  }
206
- declare function NativeAccordionContent({ className, children, testID, }: NativeAccordionContentProps): react_jsx_runtime.JSX.Element | null;
208
+ declare function NativeAccordionContent({ className, children, testID, }: NativeAccordionContentProps): react.JSX.Element | null;
207
209
 
208
210
  interface NativeComboboxOption<T = string> {
209
211
  /** Stable identifier passed to onChange. */
@@ -234,7 +236,7 @@ interface NativeComboboxProps<T = string> {
234
236
  className?: string;
235
237
  testID?: string;
236
238
  }
237
- declare function NativeCombobox<T = string>({ options, value, onChange, placeholder, placeholderTextColor, filter, emptyContent, defaultQuery, className, testID, }: NativeComboboxProps<T>): react_jsx_runtime.JSX.Element;
239
+ declare function NativeCombobox<T = string>({ options, value, onChange, placeholder, placeholderTextColor, filter, emptyContent, defaultQuery, className, testID, }: NativeComboboxProps<T>): react.JSX.Element;
238
240
 
239
241
  interface BasePickerProps {
240
242
  value: Date;
@@ -248,8 +250,8 @@ interface BasePickerProps {
248
250
  }
249
251
  type NativeDatePickerProps = BasePickerProps;
250
252
  type NativeTimePickerProps = BasePickerProps;
251
- declare function NativeDatePicker(props: NativeDatePickerProps): react_jsx_runtime.JSX.Element;
252
- declare function NativeTimePicker(props: NativeTimePickerProps): react_jsx_runtime.JSX.Element;
253
+ declare function NativeDatePicker(props: NativeDatePickerProps): react.JSX.Element;
254
+ declare function NativeTimePicker(props: NativeTimePickerProps): react.JSX.Element;
253
255
 
254
256
  interface NativeNumberInputProps {
255
257
  value: number;
@@ -268,7 +270,7 @@ interface NativeNumberInputProps {
268
270
  inputClassName?: string;
269
271
  testID?: string;
270
272
  }
271
- declare function NativeNumberInput({ value, onChange, min, max, step, precision, disabled, readOnlyInput, className, inputClassName, testID, }: NativeNumberInputProps): react_jsx_runtime.JSX.Element;
273
+ declare function NativeNumberInput({ value, onChange, min, max, step, precision, disabled, readOnlyInput, className, inputClassName, testID, }: NativeNumberInputProps): react.JSX.Element;
272
274
 
273
275
  interface NativeStepperStep {
274
276
  label: string;
@@ -282,7 +284,7 @@ interface NativeStepperProps {
282
284
  className?: string;
283
285
  testID?: string;
284
286
  }
285
- declare function NativeStepper({ steps, current, className, testID, }: NativeStepperProps): react_jsx_runtime.JSX.Element;
287
+ declare function NativeStepper({ steps, current, className, testID, }: NativeStepperProps): react.JSX.Element;
286
288
 
287
289
  interface BaseProps$1 {
288
290
  min?: number;
@@ -298,12 +300,12 @@ interface NativeSliderProps extends BaseProps$1 {
298
300
  value: number;
299
301
  onChange: (value: number) => void;
300
302
  }
301
- declare function NativeSlider({ value, onChange, min, max, step, className, trackClassName, fillClassName, thumbClassName, testID, }: NativeSliderProps): react_jsx_runtime.JSX.Element;
303
+ declare function NativeSlider({ value, onChange, min, max, step, className, trackClassName, fillClassName, thumbClassName, testID, }: NativeSliderProps): react.JSX.Element;
302
304
  interface NativeRangeSliderProps extends BaseProps$1 {
303
305
  value: [number, number];
304
306
  onChange: (value: [number, number]) => void;
305
307
  }
306
- declare function NativeRangeSlider({ value, onChange, min, max, step, className, trackClassName, fillClassName, thumbClassName, testID, }: NativeRangeSliderProps): react_jsx_runtime.JSX.Element;
308
+ declare function NativeRangeSlider({ value, onChange, min, max, step, className, trackClassName, fillClassName, thumbClassName, testID, }: NativeRangeSliderProps): react.JSX.Element;
307
309
 
308
310
  interface NativeSegmentedControlOption<T = string> {
309
311
  value: T;
@@ -318,7 +320,7 @@ interface NativeSegmentedControlProps<T = string> {
318
320
  className?: string;
319
321
  testID?: string;
320
322
  }
321
- declare function NativeSegmentedControl<T = string>({ options, value, onChange, disabled, className, testID, }: NativeSegmentedControlProps<T>): react_jsx_runtime.JSX.Element;
323
+ declare function NativeSegmentedControl<T = string>({ options, value, onChange, disabled, className, testID, }: NativeSegmentedControlProps<T>): react.JSX.Element;
322
324
 
323
325
  type NativeChipGroupMode = "single" | "multiple";
324
326
  interface NativeChipGroupProps {
@@ -330,14 +332,14 @@ interface NativeChipGroupProps {
330
332
  children: React.ReactNode;
331
333
  testID?: string;
332
334
  }
333
- declare function NativeChipGroup({ mode, value, onChange, disabled, className, children, testID, }: NativeChipGroupProps): react_jsx_runtime.JSX.Element;
335
+ declare function NativeChipGroup({ mode, value, onChange, disabled, className, children, testID, }: NativeChipGroupProps): react.JSX.Element;
334
336
  interface NativeChipProps {
335
337
  value: string;
336
338
  className?: string;
337
339
  children: React.ReactNode;
338
340
  testID?: string;
339
341
  }
340
- declare function NativeChip({ value, className, children, testID, }: NativeChipProps): react_jsx_runtime.JSX.Element;
342
+ declare function NativeChip({ value, className, children, testID, }: NativeChipProps): react.JSX.Element;
341
343
 
342
344
  interface NativePaginationProps {
343
345
  /** Total page count (>= 1). */
@@ -350,7 +352,7 @@ interface NativePaginationProps {
350
352
  className?: string;
351
353
  testID?: string;
352
354
  }
353
- declare function NativePagination({ pageCount, page, onChange, maxVisible, className, testID, }: NativePaginationProps): react_jsx_runtime.JSX.Element | null;
355
+ declare function NativePagination({ pageCount, page, onChange, maxVisible, className, testID, }: NativePaginationProps): react.JSX.Element | null;
354
356
 
355
357
  type NativeEmptyStateVariant = "first-run" | "no-results" | "error";
356
358
  interface NativeEmptyStateProps {
@@ -393,7 +395,7 @@ interface NativeEmptyStateProps {
393
395
  className?: string;
394
396
  testID?: string;
395
397
  }
396
- declare function NativeEmptyState({ variant, title, body, description, illustration, icon, primaryAction, secondaryAction, action, details, className, testID, }: NativeEmptyStateProps): react_jsx_runtime.JSX.Element;
398
+ declare function NativeEmptyState({ variant, title, body, description, illustration, icon, primaryAction, secondaryAction, action, details, className, testID, }: NativeEmptyStateProps): react.JSX.Element;
397
399
 
398
400
  type NativeInlineAlertVariant = "info" | "success" | "warning" | "destructive";
399
401
  interface BaseProps {
@@ -409,10 +411,10 @@ interface BaseProps {
409
411
  }
410
412
  interface NativeInlineAlertProps extends BaseProps {
411
413
  }
412
- declare function NativeInlineAlert({ variant, title, description, icon, onDismiss, className, testID, }: NativeInlineAlertProps): react_jsx_runtime.JSX.Element;
414
+ declare function NativeInlineAlert({ variant, title, description, icon, onDismiss, className, testID, }: NativeInlineAlertProps): react.JSX.Element;
413
415
  interface NativeBannerProps extends BaseProps {
414
416
  }
415
- declare function NativeBanner({ variant, title, description, icon, onDismiss, className, testID, }: NativeBannerProps): react_jsx_runtime.JSX.Element;
417
+ declare function NativeBanner({ variant, title, description, icon, onDismiss, className, testID, }: NativeBannerProps): react.JSX.Element;
416
418
 
417
419
  interface NativeListItemProps {
418
420
  title: string;
@@ -429,10 +431,10 @@ interface NativeListItemProps {
429
431
  className?: string;
430
432
  testID?: string;
431
433
  }
432
- declare function NativeListItem({ title, subtitle, leading, trailing, showChevron, onPress, disabled, className, testID, }: NativeListItemProps): react_jsx_runtime.JSX.Element;
434
+ declare function NativeListItem({ title, subtitle, leading, trailing, showChevron, onPress, disabled, className, testID, }: NativeListItemProps): react.JSX.Element;
433
435
  declare function NativeListItemDivider({ className }: {
434
436
  className?: string;
435
- }): react_jsx_runtime.JSX.Element;
437
+ }): react.JSX.Element;
436
438
 
437
439
  interface NativeSectionListHeaderProps {
438
440
  title: string;
@@ -441,7 +443,7 @@ interface NativeSectionListHeaderProps {
441
443
  className?: string;
442
444
  testID?: string;
443
445
  }
444
- declare function NativeSectionListHeader({ title, trailing, className, testID, }: NativeSectionListHeaderProps): react_jsx_runtime.JSX.Element;
446
+ declare function NativeSectionListHeader({ title, trailing, className, testID, }: NativeSectionListHeaderProps): react.JSX.Element;
445
447
 
446
448
  interface NativeSearchBarProps {
447
449
  value: string;
@@ -464,7 +466,7 @@ interface NativeSearchBarProps {
464
466
  className?: string;
465
467
  testID?: string;
466
468
  }
467
- declare function NativeSearchBar({ value, onChange, onSubmit, placeholder, placeholderTextColor, onVoicePress, showCancel, cancelLabel, className, testID, }: NativeSearchBarProps): react_jsx_runtime.JSX.Element;
469
+ declare function NativeSearchBar({ value, onChange, onSubmit, placeholder, placeholderTextColor, onVoicePress, showCancel, cancelLabel, className, testID, }: NativeSearchBarProps): react.JSX.Element;
468
470
 
469
471
  interface NativeRefreshControlProps {
470
472
  refreshing: boolean;
@@ -481,7 +483,7 @@ interface NativeRefreshControlProps {
481
483
  progressBackgroundColor?: string;
482
484
  testID?: string;
483
485
  }
484
- declare function NativeRefreshControl(props: NativeRefreshControlProps): react_jsx_runtime.JSX.Element | null;
486
+ declare function NativeRefreshControl(props: NativeRefreshControlProps): react.JSX.Element | null;
485
487
 
486
488
  declare const badgeVariants: (props?: ({
487
489
  variant?: "default" | "secondary" | "outline" | "destructive" | "success" | "info" | "warning" | "muted" | null | undefined;
@@ -496,7 +498,7 @@ interface NativeBadgeProps extends VariantProps<typeof badgeVariants> {
496
498
  accessibilityLabel?: string;
497
499
  testID?: string;
498
500
  }
499
- declare function NativeBadge({ className, textClassName, variant, children, ...props }: NativeBadgeProps): react_jsx_runtime.JSX.Element;
501
+ declare function NativeBadge({ className, textClassName, variant, children, ...props }: NativeBadgeProps): react.JSX.Element;
500
502
 
501
503
  interface NativeInputProps extends TextInputProps {
502
504
  className?: string;
@@ -504,12 +506,12 @@ interface NativeInputProps extends TextInputProps {
504
506
  label?: string;
505
507
  error?: string;
506
508
  }
507
- declare function NativeInput({ className, inputClassName, label, error, editable, placeholderTextColor, ...props }: NativeInputProps): react_jsx_runtime.JSX.Element;
509
+ declare function NativeInput({ className, inputClassName, label, error, editable, placeholderTextColor, ...props }: NativeInputProps): react.JSX.Element;
508
510
 
509
511
  interface NativeSeparatorProps extends ViewProps {
510
512
  orientation?: "horizontal" | "vertical";
511
513
  }
512
- declare function NativeSeparator({ className, orientation, ...props }: NativeSeparatorProps): react_jsx_runtime.JSX.Element;
514
+ declare function NativeSeparator({ className, orientation, ...props }: NativeSeparatorProps): react.JSX.Element;
513
515
 
514
516
  interface NativeSkeletonProps {
515
517
  className?: string;
@@ -524,7 +526,7 @@ interface NativeSkeletonProps {
524
526
  circle?: boolean;
525
527
  testID?: string;
526
528
  }
527
- declare function NativeSkeleton({ className, width, height, size, circle, ...props }: NativeSkeletonProps): react_jsx_runtime.JSX.Element;
529
+ declare function NativeSkeleton({ className, width, height, size, circle, ...props }: NativeSkeletonProps): react.JSX.Element;
528
530
 
529
531
  declare const alertVariants: (props?: ({
530
532
  variant?: "default" | "destructive" | "success" | "info" | "warning" | null | undefined;
@@ -540,19 +542,19 @@ interface NativeAlertProps extends VariantProps<typeof alertVariants> {
540
542
  children?: React.ReactNode;
541
543
  testID?: string;
542
544
  }
543
- declare function NativeAlert({ className, variant, children, ...props }: NativeAlertProps): react_jsx_runtime.JSX.Element;
545
+ declare function NativeAlert({ className, variant, children, ...props }: NativeAlertProps): react.JSX.Element;
544
546
  interface NativeAlertTitleProps {
545
547
  className?: string;
546
548
  children?: React.ReactNode;
547
549
  variant?: VariantProps<typeof alertTitleTextVariants>["variant"];
548
550
  }
549
- declare function NativeAlertTitle({ className, variant, children, }: NativeAlertTitleProps): react_jsx_runtime.JSX.Element;
551
+ declare function NativeAlertTitle({ className, variant, children, }: NativeAlertTitleProps): react.JSX.Element;
550
552
  interface NativeAlertDescriptionProps {
551
553
  className?: string;
552
554
  children?: React.ReactNode;
553
555
  variant?: VariantProps<typeof alertDescriptionTextVariants>["variant"];
554
556
  }
555
- declare function NativeAlertDescription({ className, variant, children, }: NativeAlertDescriptionProps): react_jsx_runtime.JSX.Element;
557
+ declare function NativeAlertDescription({ className, variant, children, }: NativeAlertDescriptionProps): react.JSX.Element;
556
558
 
557
559
  interface NativeAvatarProps {
558
560
  className?: string;
@@ -566,7 +568,7 @@ interface NativeAvatarProps {
566
568
  size?: number;
567
569
  testID?: string;
568
570
  }
569
- declare function NativeAvatar({ className, src, alt, fallback, size, ...props }: NativeAvatarProps): react_jsx_runtime.JSX.Element;
571
+ declare function NativeAvatar({ className, src, alt, fallback, size, ...props }: NativeAvatarProps): react.JSX.Element;
570
572
 
571
573
  interface NativeProgressProps {
572
574
  className?: string;
@@ -578,7 +580,7 @@ interface NativeProgressProps {
578
580
  indicatorClassName?: string;
579
581
  testID?: string;
580
582
  }
581
- declare function NativeProgress({ className, value, trackClassName, indicatorClassName, ...props }: NativeProgressProps): react_jsx_runtime.JSX.Element;
583
+ declare function NativeProgress({ className, value, trackClassName, indicatorClassName, ...props }: NativeProgressProps): react.JSX.Element;
582
584
 
583
585
  interface NativeCheckboxProps {
584
586
  className?: string;
@@ -588,70 +590,76 @@ interface NativeCheckboxProps {
588
590
  disabled?: boolean;
589
591
  testID?: string;
590
592
  }
591
- declare function NativeCheckbox({ className, checked: controlledChecked, defaultChecked, onCheckedChange, disabled, ...props }: NativeCheckboxProps): react_jsx_runtime.JSX.Element;
593
+ declare function NativeCheckbox({ className, checked: controlledChecked, defaultChecked, onCheckedChange, disabled, ...props }: NativeCheckboxProps): react.JSX.Element;
592
594
 
593
595
  interface NativeDialogProps {
594
596
  open?: boolean;
595
597
  onOpenChange?: (open: boolean) => void;
596
598
  children: React.ReactNode;
597
599
  }
598
- declare function NativeDialog({ open, onOpenChange, children }: NativeDialogProps): react_jsx_runtime.JSX.Element;
600
+ declare function NativeDialog({ open, onOpenChange, children }: NativeDialogProps): react.JSX.Element;
599
601
  interface NativeDialogContentProps {
600
602
  className?: string;
601
603
  children: React.ReactNode;
602
604
  testID?: string;
603
605
  }
604
- declare function NativeDialogContent({ className, children, ...props }: NativeDialogContentProps): react_jsx_runtime.JSX.Element;
606
+ declare function NativeDialogContent({ className, children, ...props }: NativeDialogContentProps): react.JSX.Element;
605
607
  interface NativeDialogHeaderProps {
606
608
  className?: string;
607
609
  children: React.ReactNode;
608
610
  }
609
- declare function NativeDialogHeader({ className, children, }: NativeDialogHeaderProps): react_jsx_runtime.JSX.Element;
611
+ declare function NativeDialogHeader({ className, children, }: NativeDialogHeaderProps): react.JSX.Element;
610
612
  interface NativeDialogTitleProps {
611
613
  className?: string;
612
614
  children: React.ReactNode;
613
615
  }
614
- declare function NativeDialogTitle({ className, children, }: NativeDialogTitleProps): react_jsx_runtime.JSX.Element;
616
+ declare function NativeDialogTitle({ className, children, }: NativeDialogTitleProps): react.JSX.Element;
615
617
  interface NativeDialogDescriptionProps {
616
618
  className?: string;
617
619
  children: React.ReactNode;
618
620
  }
619
- declare function NativeDialogDescription({ className, children, }: NativeDialogDescriptionProps): react_jsx_runtime.JSX.Element;
621
+ declare function NativeDialogDescription({ className, children, }: NativeDialogDescriptionProps): react.JSX.Element;
620
622
  interface NativeDialogFooterProps {
621
623
  className?: string;
622
624
  children: React.ReactNode;
623
625
  }
624
- declare function NativeDialogFooter({ className, children, }: NativeDialogFooterProps): react_jsx_runtime.JSX.Element;
626
+ declare function NativeDialogFooter({ className, children, }: NativeDialogFooterProps): react.JSX.Element;
627
+
628
+ /**
629
+ * DropdownMenu — contextual list anchored to a trigger.
630
+ *
631
+ * @stability Stable
632
+ */
625
633
 
626
634
  interface NativeDropdownMenuProps {
627
- children: React__default.ReactNode;
635
+ children: react__default.ReactNode;
628
636
  }
629
- declare function NativeDropdownMenu({ children }: NativeDropdownMenuProps): react_jsx_runtime.JSX.Element;
637
+ declare function NativeDropdownMenu({ children }: NativeDropdownMenuProps): react__default.JSX.Element;
630
638
  interface NativeDropdownMenuTriggerProps {
631
639
  className?: string;
632
- children: React__default.ReactNode;
640
+ children: react__default.ReactNode;
633
641
  testID?: string;
634
642
  }
635
- declare function NativeDropdownMenuTrigger({ className, children, ...props }: NativeDropdownMenuTriggerProps): react_jsx_runtime.JSX.Element;
643
+ declare function NativeDropdownMenuTrigger({ className, children, ...props }: NativeDropdownMenuTriggerProps): react__default.JSX.Element;
636
644
  interface NativeDropdownMenuContentProps {
637
645
  className?: string;
638
- children: React__default.ReactNode;
646
+ children: react__default.ReactNode;
639
647
  }
640
- declare function NativeDropdownMenuContent({ className, children, }: NativeDropdownMenuContentProps): react_jsx_runtime.JSX.Element | null;
648
+ declare function NativeDropdownMenuContent({ className, children, }: NativeDropdownMenuContentProps): react__default.JSX.Element | null;
641
649
  interface NativeDropdownMenuItemProps {
642
650
  className?: string;
643
- children: React__default.ReactNode;
651
+ children: react__default.ReactNode;
644
652
  onPress?: () => void;
645
653
  disabled?: boolean;
646
654
  testID?: string;
647
655
  }
648
- declare function NativeDropdownMenuItem({ className, children, onPress, disabled, ...props }: NativeDropdownMenuItemProps): react_jsx_runtime.JSX.Element;
656
+ declare function NativeDropdownMenuItem({ className, children, onPress, disabled, ...props }: NativeDropdownMenuItemProps): react__default.JSX.Element;
649
657
 
650
658
  interface NativeLabelProps extends TextProps {
651
659
  children: React.ReactNode;
652
660
  disabled?: boolean;
653
661
  }
654
- declare function NativeLabel({ className, children, disabled, ...props }: NativeLabelProps): react_jsx_runtime.JSX.Element;
662
+ declare function NativeLabel({ className, children, disabled, ...props }: NativeLabelProps): react.JSX.Element;
655
663
 
656
664
  interface NativeRadioGroupProps {
657
665
  className?: string;
@@ -661,14 +669,14 @@ interface NativeRadioGroupProps {
661
669
  children: React.ReactNode;
662
670
  testID?: string;
663
671
  }
664
- declare function NativeRadioGroup({ className, value: controlledValue, defaultValue, onValueChange: controlledOnValueChange, children, ...props }: NativeRadioGroupProps): react_jsx_runtime.JSX.Element;
672
+ declare function NativeRadioGroup({ className, value: controlledValue, defaultValue, onValueChange: controlledOnValueChange, children, ...props }: NativeRadioGroupProps): react.JSX.Element;
665
673
  interface NativeRadioGroupItemProps {
666
674
  className?: string;
667
675
  value: string;
668
676
  disabled?: boolean;
669
677
  testID?: string;
670
678
  }
671
- declare function NativeRadioGroupItem({ className, value, disabled, ...props }: NativeRadioGroupItemProps): react_jsx_runtime.JSX.Element;
679
+ declare function NativeRadioGroupItem({ className, value, disabled, ...props }: NativeRadioGroupItemProps): react.JSX.Element;
672
680
 
673
681
  interface NativeSelectProps {
674
682
  value?: string;
@@ -676,7 +684,7 @@ interface NativeSelectProps {
676
684
  onValueChange?: (value: string) => void;
677
685
  children: React.ReactNode;
678
686
  }
679
- declare function NativeSelect({ value: controlledValue, defaultValue, onValueChange: controlledOnValueChange, children, }: NativeSelectProps): react_jsx_runtime.JSX.Element;
687
+ declare function NativeSelect({ value: controlledValue, defaultValue, onValueChange: controlledOnValueChange, children, }: NativeSelectProps): react.JSX.Element;
680
688
  interface NativeSelectTriggerProps {
681
689
  className?: string;
682
690
  children?: React.ReactNode;
@@ -684,26 +692,26 @@ interface NativeSelectTriggerProps {
684
692
  disabled?: boolean;
685
693
  testID?: string;
686
694
  }
687
- declare function NativeSelectTrigger({ className, children, placeholder, disabled, ...props }: NativeSelectTriggerProps): react_jsx_runtime.JSX.Element;
695
+ declare function NativeSelectTrigger({ className, children, placeholder, disabled, ...props }: NativeSelectTriggerProps): react.JSX.Element;
688
696
  interface NativeSelectContentProps {
689
697
  className?: string;
690
698
  children: React.ReactNode;
691
699
  }
692
- declare function NativeSelectContent({ className, children, }: NativeSelectContentProps): react_jsx_runtime.JSX.Element | null;
700
+ declare function NativeSelectContent({ className, children, }: NativeSelectContentProps): react.JSX.Element | null;
693
701
  interface NativeSelectItemProps {
694
702
  className?: string;
695
703
  value: string;
696
704
  children: React.ReactNode;
697
705
  testID?: string;
698
706
  }
699
- declare function NativeSelectItem({ className, value, children, ...props }: NativeSelectItemProps): react_jsx_runtime.JSX.Element;
707
+ declare function NativeSelectItem({ className, value, children, ...props }: NativeSelectItemProps): react.JSX.Element;
700
708
 
701
709
  interface NativeSwitchProps extends SwitchProps {
702
710
  className?: string;
703
711
  checked?: boolean;
704
712
  onCheckedChange?: (checked: boolean) => void;
705
713
  }
706
- declare function NativeSwitch({ className, checked, onCheckedChange, disabled, ...props }: NativeSwitchProps): react_jsx_runtime.JSX.Element;
714
+ declare function NativeSwitch({ className, checked, onCheckedChange, disabled, ...props }: NativeSwitchProps): react.JSX.Element;
707
715
 
708
716
  interface NativeTabsProps {
709
717
  className?: string;
@@ -713,12 +721,12 @@ interface NativeTabsProps {
713
721
  children: React.ReactNode;
714
722
  testID?: string;
715
723
  }
716
- declare function NativeTabs({ className, defaultValue, value: controlledValue, onValueChange: controlledOnValueChange, children, ...props }: NativeTabsProps): react_jsx_runtime.JSX.Element;
724
+ declare function NativeTabs({ className, defaultValue, value: controlledValue, onValueChange: controlledOnValueChange, children, ...props }: NativeTabsProps): react.JSX.Element;
717
725
  interface NativeTabsListProps {
718
726
  className?: string;
719
727
  children: React.ReactNode;
720
728
  }
721
- declare function NativeTabsList({ className, children }: NativeTabsListProps): react_jsx_runtime.JSX.Element;
729
+ declare function NativeTabsList({ className, children }: NativeTabsListProps): react.JSX.Element;
722
730
  interface NativeTabsTriggerProps {
723
731
  className?: string;
724
732
  value: string;
@@ -726,13 +734,13 @@ interface NativeTabsTriggerProps {
726
734
  disabled?: boolean;
727
735
  testID?: string;
728
736
  }
729
- declare function NativeTabsTrigger({ className, value, children, disabled, ...props }: NativeTabsTriggerProps): react_jsx_runtime.JSX.Element;
737
+ declare function NativeTabsTrigger({ className, value, children, disabled, ...props }: NativeTabsTriggerProps): react.JSX.Element;
730
738
  interface NativeTabsContentProps {
731
739
  className?: string;
732
740
  value: string;
733
741
  children: React.ReactNode;
734
742
  }
735
- declare function NativeTabsContent({ className, value, children, }: NativeTabsContentProps): react_jsx_runtime.JSX.Element | null;
743
+ declare function NativeTabsContent({ className, value, children, }: NativeTabsContentProps): react.JSX.Element | null;
736
744
 
737
745
  interface NativeTextareaProps extends TextInputProps {
738
746
  className?: string;
@@ -741,7 +749,7 @@ interface NativeTextareaProps extends TextInputProps {
741
749
  error?: string;
742
750
  rows?: number;
743
751
  }
744
- declare function NativeTextarea({ className, inputClassName, label, error, editable, rows, placeholderTextColor, ...props }: NativeTextareaProps): react_jsx_runtime.JSX.Element;
752
+ declare function NativeTextarea({ className, inputClassName, label, error, editable, rows, placeholderTextColor, ...props }: NativeTextareaProps): react.JSX.Element;
745
753
 
746
754
  declare const toggleVariants: (props?: ({
747
755
  variant?: "default" | "outline" | null | undefined;
@@ -756,23 +764,23 @@ interface NativeToggleProps extends VariantProps<typeof toggleVariants> {
756
764
  children: React.ReactNode;
757
765
  testID?: string;
758
766
  }
759
- declare function NativeToggle({ className, variant, size, pressed: controlledPressed, defaultPressed, onPressedChange, disabled, children, ...props }: NativeToggleProps): react_jsx_runtime.JSX.Element;
767
+ declare function NativeToggle({ className, variant, size, pressed: controlledPressed, defaultPressed, onPressedChange, disabled, children, ...props }: NativeToggleProps): react.JSX.Element;
760
768
 
761
769
  interface NativeTooltipProps {
762
770
  children: React.ReactNode;
763
771
  }
764
- declare function NativeTooltip({ children }: NativeTooltipProps): react_jsx_runtime.JSX.Element;
772
+ declare function NativeTooltip({ children }: NativeTooltipProps): react.JSX.Element;
765
773
  interface NativeTooltipTriggerProps {
766
774
  className?: string;
767
775
  children: React.ReactNode;
768
776
  testID?: string;
769
777
  }
770
- declare function NativeTooltipTrigger({ className, children, ...props }: NativeTooltipTriggerProps): react_jsx_runtime.JSX.Element;
778
+ declare function NativeTooltipTrigger({ className, children, ...props }: NativeTooltipTriggerProps): react.JSX.Element;
771
779
  interface NativeTooltipContentProps {
772
780
  className?: string;
773
781
  children: React.ReactNode;
774
782
  }
775
- declare function NativeTooltipContent({ className, children, }: NativeTooltipContentProps): react_jsx_runtime.JSX.Element | null;
783
+ declare function NativeTooltipContent({ className, children, }: NativeTooltipContentProps): react.JSX.Element | null;
776
784
 
777
785
  /**
778
786
  * Shared flexbox alignment vocabulary for the row/column layout primitives
@@ -830,7 +838,7 @@ interface StackProps extends ViewProps {
830
838
  * Render a vertical (`flex-col`) `View` with token-driven `gap` + alignment.
831
839
  * @stability Beta
832
840
  */
833
- declare function Stack({ gap, align, justify, className, children, ...props }: StackProps): react_jsx_runtime.JSX.Element;
841
+ declare function Stack({ gap, align, justify, className, children, ...props }: StackProps): react.JSX.Element;
834
842
 
835
843
  interface InlineProps extends ViewProps {
836
844
  /** Horizontal spacing between children — resolved from the spacing token. */
@@ -846,7 +854,7 @@ interface InlineProps extends ViewProps {
846
854
  * Render a horizontal (`flex-row`) `View` with token-driven `gap`, alignment, and optional wrap.
847
855
  * @stability Beta
848
856
  */
849
- declare function Inline({ gap, align, justify, wrap, className, children, ...props }: InlineProps): react_jsx_runtime.JSX.Element;
857
+ declare function Inline({ gap, align, justify, wrap, className, children, ...props }: InlineProps): react.JSX.Element;
850
858
 
851
859
  /**
852
860
  * Token-named surfaces — map to the SEMANTIC Genesis surface tokens (never a
@@ -891,7 +899,7 @@ interface BoxProps extends ViewProps {
891
899
  * Render a `View` whose padding/margin/background all resolve from tokens.
892
900
  * @stability Beta
893
901
  */
894
- declare function Box({ p, px, py, pt, pb, pl, pr, m, mx, my, mt, mb, ml, mr, bg, className, children, ...props }: BoxProps): react_jsx_runtime.JSX.Element;
902
+ declare function Box({ p, px, py, pt, pb, pl, pr, m, mx, my, mt, mb, ml, mr, bg, className, children, ...props }: BoxProps): react.JSX.Element;
895
903
 
896
904
  interface GridProps extends ViewProps {
897
905
  /** Number of equal-width columns. Defaults to 2. Floored to >= 1. */
@@ -903,6 +911,6 @@ interface GridProps extends ViewProps {
903
911
  * Render an equal-column grid by chunking children into `flex-1` rows with a token gutter.
904
912
  * @stability Beta
905
913
  */
906
- declare function Grid({ columns, gap, className, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
914
+ declare function Grid({ columns, gap, className, children, ...props }: GridProps): react.JSX.Element;
907
915
 
908
916
  export { Box, type BoxBackground, type BoxProps, type FlexAlign, type FlexJustify, 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, NativeHeaderCard, type NativeHeaderCardProps, 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 NativeSheetProps, 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, useToast };
@@ -1,7 +1,7 @@
1
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, NativeHeaderCard, NativeInlineAlert, NativeNumberInput, NativePagination, NativePopover, NativePopoverContent, NativePopoverTrigger, NativeProgress, NativeRadioGroup, NativeRadioGroupItem, NativeRangeSlider, NativeRefreshControl, NativeSearchBar, NativeSegmentedControl, NativeSheet, NativeSlider, NativeStepper, NativeTabs, NativeTabsContent, NativeTabsList, NativeTabsTrigger, NativeTimePicker, NativeToastProvider, NativeToggle, NativeTooltip, NativeTooltipContent, NativeTooltipTrigger, Stack, spaceScale, spacingClass, toggleVariants, useToast } from '../chunk-TXJT55JC.js';
2
- export { NativeAlert, NativeAlertDescription, NativeAlertTitle, NativeBadge, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardTitle, NativeCheckbox, NativeLabel, NativeSelect, NativeSelectContent, NativeSelectItem, NativeSelectTrigger, NativeSeparator, NativeSkeleton, NativeSwitch, NativeTextarea, alertVariants, badgeTextVariants, badgeVariants } from '../chunk-ZVF6PONU.js';
2
+ export { NativeAlert, NativeAlertDescription, NativeAlertTitle, NativeBadge, NativeCard, NativeCardContent, NativeCardDescription, NativeCardFooter, NativeCardHeader, NativeCardTitle, NativeCheckbox, NativeLabel, NativeSelect, NativeSelectContent, NativeSelectItem, NativeSelectTrigger, NativeSeparator, NativeSkeleton, NativeSwitch, NativeTextarea, alertVariants, badgeTextVariants, badgeVariants } from '../chunk-3LK5ZJ4M.js';
3
3
  export { NativeEmptyState, NativeListItem, NativeListItemDivider, NativeSectionListHeader } from '../chunk-ULS7I6ZS.js';
4
- export { NativeButton, NativeInput, NativeText, buttonTextVariants, buttonVariants, textVariants } from '../chunk-PTJ2KCLM.js';
4
+ export { NativeButton, NativeInput, NativeText, buttonTextVariants, buttonVariants, textVariants } from '../chunk-5HRGIA6F.js';
5
5
  import '../chunk-OHZD7KRO.js';
6
6
  import '../chunk-DGUM43GV.js';
7
7
  //# sourceMappingURL=index.js.map