@swan-io/lake 8.10.2 → 8.10.4

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.
@@ -38,327 +38,15 @@ export type PressableTextProps = Props<TextProps>;
38
38
  */
39
39
  export type PressableTextInputProps = Except<Props<TextInputProps>, "children" | "editable" | "keyboardType" | "numberOfLines">;
40
40
  export declare const Pressable: FC<PressableProps & ExtraProps & {
41
- ref?: Ref<View> | undefined;
41
+ ref?: Ref<View>;
42
42
  }>;
43
- export declare const PressableText: FC<{
44
- allowFontScaling?: boolean | undefined;
45
- ellipsizeMode?: "clip" | "middle" | "head" | "tail" | undefined;
46
- id?: string | undefined;
47
- lineBreakMode?: "clip" | "middle" | "head" | "tail" | undefined;
48
- numberOfLines?: number | undefined;
49
- onTextLayout?: ((event: NativeSyntheticEvent<import("react-native").TextLayoutEventData>) => void) | undefined;
50
- testID?: string | undefined;
51
- nativeID?: string | undefined;
52
- maxFontSizeMultiplier?: number | null | undefined;
53
- role?: import("react-native").WebRole | undefined;
54
- href?: string | undefined;
55
- hrefAttrs?: HrefAttrs | undefined;
56
- lang?: string | undefined;
57
- adjustsFontSizeToFit?: boolean | undefined;
58
- dynamicTypeRamp?: "body" | "caption2" | "caption1" | "footnote" | "subheadline" | "callout" | "headline" | "title3" | "title2" | "title1" | "largeTitle" | undefined;
59
- minimumFontScale?: number | undefined;
60
- suppressHighlighting?: boolean | undefined;
61
- lineBreakStrategyIOS?: "none" | "standard" | "hangul-word" | "push-out" | undefined;
62
- selectable?: boolean | undefined;
63
- selectionColor?: import("react-native").ColorValue | undefined;
64
- textBreakStrategy?: "simple" | "highQuality" | "balanced" | undefined;
65
- dataDetectorType?: "none" | "all" | "link" | "phoneNumber" | "email" | null | undefined;
66
- android_hyphenationFrequency?: "normal" | "none" | "full" | undefined;
67
- accessible?: boolean | undefined;
68
- accessibilityActions?: readonly Readonly<{
69
- name: string;
70
- label?: string | undefined;
71
- }>[] | undefined;
72
- accessibilityLabel?: string | undefined;
73
- "aria-label"?: string | undefined;
74
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
75
- accessibilityState?: import("react-native").AccessibilityState | undefined;
76
- "aria-busy"?: boolean | undefined;
77
- "aria-checked"?: boolean | "mixed" | undefined;
78
- "aria-disabled"?: boolean | undefined;
79
- "aria-expanded"?: boolean | undefined;
80
- "aria-selected"?: boolean | undefined;
81
- "aria-labelledby"?: string | undefined;
82
- accessibilityHint?: string | undefined;
83
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
84
- "aria-valuemax"?: number | undefined;
85
- "aria-valuemin"?: number | undefined;
86
- "aria-valuenow"?: number | undefined;
87
- "aria-valuetext"?: string | undefined;
88
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
89
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
90
- "aria-hidden"?: boolean | undefined;
91
- "aria-live"?: "polite" | "assertive" | "off" | undefined;
92
- "aria-modal"?: boolean | undefined;
93
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
94
- accessibilityLabelledBy?: string | string[] | undefined;
95
- accessibilityElementsHidden?: boolean | undefined;
96
- accessibilityViewIsModal?: boolean | undefined;
97
- onAccessibilityEscape?: (() => void) | undefined;
98
- onAccessibilityTap?: (() => void) | undefined;
99
- onMagicTap?: (() => void) | undefined;
100
- accessibilityIgnoresInvertColors?: boolean | undefined;
101
- accessibilityLanguage?: string | undefined;
102
- tabIndex?: 0 | -1 | undefined;
103
- "aria-activedescendant"?: string | undefined;
104
- "aria-atomic"?: boolean | undefined;
105
- "aria-autocomplete"?: string | undefined;
106
- "aria-colcount"?: number | undefined;
107
- "aria-colindex"?: number | undefined;
108
- "aria-colspan"?: number | undefined;
109
- "aria-controls"?: string | undefined;
110
- "aria-current"?: boolean | "time" | "page" | "step" | "location" | "date" | undefined;
111
- "aria-describedby"?: string | undefined;
112
- "aria-details"?: string | undefined;
113
- "aria-errormessage"?: string | undefined;
114
- "aria-flowto"?: string | undefined;
115
- "aria-haspopup"?: string | undefined;
116
- "aria-invalid"?: boolean | undefined;
117
- "aria-keyshortcuts"?: string | undefined;
118
- "aria-level"?: number | undefined;
119
- "aria-multiline"?: boolean | undefined;
120
- "aria-multiselectable"?: boolean | undefined;
121
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
122
- "aria-owns"?: string | undefined;
123
- "aria-placeholder"?: string | undefined;
124
- "aria-posinset"?: number | undefined;
125
- "aria-pressed"?: boolean | undefined;
126
- "aria-readonly"?: boolean | undefined;
127
- "aria-required"?: boolean | undefined;
128
- "aria-roledescription"?: string | undefined;
129
- "aria-rowcount"?: number | undefined;
130
- "aria-rowindex"?: number | undefined;
131
- "aria-rowspan"?: number | undefined;
132
- "aria-setsize"?: number | undefined;
133
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
134
- children?: ReactNode | ((state: PressableStateCallbackType) => ReactNode);
135
- delayLongPress?: number | undefined;
136
- delayPressIn?: number | undefined;
137
- delayPressOut?: number | undefined;
138
- disabled?: boolean | undefined;
139
- onBlur?: ((event: NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
140
- onContextMenu?: ((event: NativeSyntheticEvent<React.SyntheticEvent>) => void) | undefined;
141
- onFocus?: ((event: NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
142
- onHoverIn?: ((event: unknown) => void) | undefined;
143
- onHoverOut?: ((event: unknown) => void) | undefined;
144
- onKeyDown?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
145
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
146
- onLongPress?: PressResponderConfig["onLongPress"];
147
- onPress?: PressResponderConfig["onPress"];
148
- onPressIn?: PressResponderConfig["onPressStart"];
149
- onPressMove?: PressResponderConfig["onPressMove"];
150
- onPressOut?: PressResponderConfig["onPressEnd"];
151
- style?: import("react-native").StyleProp<import("react-native").TextStyle> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>);
152
- testOnly_hovered?: boolean | undefined;
153
- testOnly_pressed?: boolean | undefined;
154
- } & {
155
- ref?: Ref<Text> | undefined;
43
+ export declare const PressableText: FC<PressableTextProps & {
44
+ ref?: Ref<Text>;
156
45
  }>;
157
46
  /**
158
47
  * @deprecated
159
48
  */
160
- export declare const PressableTextInput: FC<{
161
- allowFontScaling?: boolean | undefined;
162
- autoCapitalize?: "none" | "sentences" | "words" | "characters" | undefined;
163
- autoCorrect?: boolean | undefined;
164
- autoFocus?: boolean | undefined;
165
- blurOnSubmit?: boolean | undefined;
166
- caretHidden?: boolean | undefined;
167
- contextMenuHidden?: boolean | undefined;
168
- defaultValue?: string | undefined;
169
- inputMode?: import("react-native").InputModeOptions | undefined;
170
- maxLength?: number | undefined;
171
- multiline?: boolean | undefined;
172
- onChange?: ((e: NativeSyntheticEvent<import("react-native").TextInputChangeEventData>) => void) | undefined;
173
- onChangeText?: ((text: string) => void) | undefined;
174
- onContentSizeChange?: ((e: NativeSyntheticEvent<import("react-native").TextInputContentSizeChangeEventData>) => void) | undefined;
175
- onEndEditing?: ((e: NativeSyntheticEvent<import("react-native").TextInputEndEditingEventData>) => void) | undefined;
176
- onSelectionChange?: ((e: NativeSyntheticEvent<import("react-native").TextInputSelectionChangeEventData>) => void) | undefined;
177
- onSubmitEditing?: ((e: NativeSyntheticEvent<import("react-native").TextInputSubmitEditingEventData>) => void) | undefined;
178
- onTextInput?: ((e: NativeSyntheticEvent<import("react-native").TextInputTextInputEventData>) => void) | undefined;
179
- onScroll?: ((e: NativeSyntheticEvent<import("react-native").TextInputScrollEventData>) => void) | undefined;
180
- onKeyPress?: ((e: NativeSyntheticEvent<import("react-native").TextInputKeyPressEventData>) => void) | undefined;
181
- placeholder?: string | undefined;
182
- placeholderTextColor?: import("react-native").ColorValue | undefined;
183
- returnKeyType?: import("react-native").ReturnKeyTypeOptions | undefined;
184
- secureTextEntry?: boolean | undefined;
185
- selectTextOnFocus?: boolean | undefined;
186
- selection?: {
187
- start: number;
188
- end?: number | undefined;
189
- } | undefined;
190
- selectionColor?: import("react-native").ColorValue | undefined;
191
- textAlign?: "left" | "right" | "center" | undefined;
192
- testID?: string | undefined;
193
- inputAccessoryViewID?: string | undefined;
194
- value?: string | undefined;
195
- maxFontSizeMultiplier?: number | null | undefined;
196
- role?: import("react-native").WebRole | undefined;
197
- lang?: string | undefined;
198
- initialValue?: string | undefined;
199
- autoComplete?: "name" | "off" | "email" | "tel" | "url" | "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-additional-name" | "cc-csc" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-type" | "country" | "country-name" | "current-password" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "impp" | "language" | "new-password" | "nickname" | "on" | "one-time-code" | "organization" | "organization-title" | "postal-code" | "sex" | "street-address" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local" | "tel-national" | "transaction-amount" | "transaction-currency" | "username" | undefined;
200
- enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "send" | "previous" | undefined;
201
- rows?: number | undefined;
202
- readOnly?: boolean | undefined;
203
- hitSlop?: import("react-native").Insets | undefined;
204
- id?: string | undefined;
205
- pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
206
- removeClippedSubviews?: boolean | undefined;
207
- nativeID?: string | undefined;
208
- onKeyDownCapture?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
209
- onKeyUp?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
210
- onKeyUpCapture?: ((event: NativeSyntheticEvent<import("react").KeyboardEvent<Element>>) => void) | undefined;
211
- collapsable?: boolean | undefined;
212
- needsOffscreenAlphaCompositing?: boolean | undefined;
213
- renderToHardwareTextureAndroid?: boolean | undefined;
214
- focusable?: boolean | undefined;
215
- shouldRasterizeIOS?: boolean | undefined;
216
- isTVSelectable?: boolean | undefined;
217
- hasTVPreferredFocus?: boolean | undefined;
218
- tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
219
- tvParallaxShiftDistanceX?: number | undefined;
220
- tvParallaxShiftDistanceY?: number | undefined;
221
- tvParallaxTiltAngle?: number | undefined;
222
- tvParallaxMagnification?: number | undefined;
223
- onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
224
- onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
225
- onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
226
- onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
227
- onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
228
- onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
229
- onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
230
- onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
231
- onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
232
- onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
233
- onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
234
- onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
235
- onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
236
- onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
237
- onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
238
- onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
239
- onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
240
- onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
241
- onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
242
- onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
243
- onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
244
- onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
245
- onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
246
- onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
247
- onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
248
- onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
249
- onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
250
- onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
251
- onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
252
- accessible?: boolean | undefined;
253
- accessibilityActions?: readonly Readonly<{
254
- name: string;
255
- label?: string | undefined;
256
- }>[] | undefined;
257
- accessibilityLabel?: string | undefined;
258
- "aria-label"?: string | undefined;
259
- accessibilityRole?: import("react-native").AccessibilityRole | undefined;
260
- accessibilityState?: import("react-native").AccessibilityState | undefined;
261
- "aria-busy"?: boolean | undefined;
262
- "aria-checked"?: boolean | "mixed" | undefined;
263
- "aria-disabled"?: boolean | undefined;
264
- "aria-expanded"?: boolean | undefined;
265
- "aria-selected"?: boolean | undefined;
266
- "aria-labelledby"?: string | undefined;
267
- accessibilityHint?: string | undefined;
268
- accessibilityValue?: import("react-native").AccessibilityValue | undefined;
269
- "aria-valuemax"?: number | undefined;
270
- "aria-valuemin"?: number | undefined;
271
- "aria-valuenow"?: number | undefined;
272
- "aria-valuetext"?: string | undefined;
273
- onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
274
- importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
275
- "aria-hidden"?: boolean | undefined;
276
- "aria-live"?: "polite" | "assertive" | "off" | undefined;
277
- "aria-modal"?: boolean | undefined;
278
- accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
279
- accessibilityLabelledBy?: string | string[] | undefined;
280
- accessibilityElementsHidden?: boolean | undefined;
281
- accessibilityViewIsModal?: boolean | undefined;
282
- onAccessibilityEscape?: (() => void) | undefined;
283
- onAccessibilityTap?: (() => void) | undefined;
284
- onMagicTap?: (() => void) | undefined;
285
- accessibilityIgnoresInvertColors?: boolean | undefined;
286
- accessibilityLanguage?: string | undefined;
287
- tabIndex?: 0 | -1 | undefined;
288
- "aria-activedescendant"?: string | undefined;
289
- "aria-atomic"?: boolean | undefined;
290
- "aria-autocomplete"?: string | undefined;
291
- "aria-colcount"?: number | undefined;
292
- "aria-colindex"?: number | undefined;
293
- "aria-colspan"?: number | undefined;
294
- "aria-controls"?: string | undefined;
295
- "aria-current"?: boolean | "time" | "page" | "step" | "location" | "date" | undefined;
296
- "aria-describedby"?: string | undefined;
297
- "aria-details"?: string | undefined;
298
- "aria-errormessage"?: string | undefined;
299
- "aria-flowto"?: string | undefined;
300
- "aria-haspopup"?: string | undefined;
301
- "aria-invalid"?: boolean | undefined;
302
- "aria-keyshortcuts"?: string | undefined;
303
- "aria-level"?: number | undefined;
304
- "aria-multiline"?: boolean | undefined;
305
- "aria-multiselectable"?: boolean | undefined;
306
- "aria-orientation"?: "horizontal" | "vertical" | undefined;
307
- "aria-owns"?: string | undefined;
308
- "aria-placeholder"?: string | undefined;
309
- "aria-posinset"?: number | undefined;
310
- "aria-pressed"?: boolean | undefined;
311
- "aria-readonly"?: boolean | undefined;
312
- "aria-required"?: boolean | undefined;
313
- "aria-roledescription"?: string | undefined;
314
- "aria-rowcount"?: number | undefined;
315
- "aria-rowindex"?: number | undefined;
316
- "aria-rowspan"?: number | undefined;
317
- "aria-setsize"?: number | undefined;
318
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
319
- clearButtonMode?: "never" | "while-editing" | "unless-editing" | "always" | undefined;
320
- clearTextOnFocus?: boolean | undefined;
321
- dataDetectorTypes?: import("react-native").DataDetectorTypes | import("react-native").DataDetectorTypes[] | undefined;
322
- enablesReturnKeyAutomatically?: boolean | undefined;
323
- keyboardAppearance?: "default" | "light" | "dark" | undefined;
324
- passwordRules?: string | null | undefined;
325
- rejectResponderTermination?: boolean | null | undefined;
326
- selectionState?: import("react-native").DocumentSelectionState | undefined;
327
- spellCheck?: boolean | undefined;
328
- textContentType?: "none" | "name" | "location" | "nickname" | "username" | "URL" | "addressCity" | "addressCityAndState" | "addressState" | "countryName" | "creditCardNumber" | "emailAddress" | "familyName" | "fullStreetAddress" | "givenName" | "jobTitle" | "middleName" | "namePrefix" | "nameSuffix" | "organizationName" | "postalCode" | "streetAddressLine1" | "streetAddressLine2" | "sublocality" | "telephoneNumber" | "password" | "newPassword" | "oneTimeCode" | undefined;
329
- scrollEnabled?: boolean | undefined;
330
- lineBreakStrategyIOS?: "none" | "standard" | "hangul-word" | "push-out" | undefined;
331
- cursorColor?: import("react-native").ColorValue | null | undefined;
332
- importantForAutofill?: "auto" | "yes" | "no" | "noExcludeDescendants" | "yesExcludeDescendants" | undefined;
333
- disableFullscreenUI?: boolean | undefined;
334
- inlineImageLeft?: string | undefined;
335
- inlineImagePadding?: number | undefined;
336
- returnKeyLabel?: string | undefined;
337
- textBreakStrategy?: "simple" | "highQuality" | "balanced" | undefined;
338
- underlineColorAndroid?: import("react-native").ColorValue | undefined;
339
- textAlignVertical?: "bottom" | "top" | "auto" | "center" | undefined;
340
- showSoftInputOnFocus?: boolean | undefined;
341
- verticalAlign?: "bottom" | "top" | "auto" | "middle" | undefined;
342
- delayLongPress?: number | undefined;
343
- delayPressIn?: number | undefined;
344
- delayPressOut?: number | undefined;
345
- disabled?: boolean | undefined;
346
- onBlur?: ((event: NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
347
- onContextMenu?: ((event: NativeSyntheticEvent<React.SyntheticEvent>) => void) | undefined;
348
- onFocus?: ((event: NativeSyntheticEvent<React.FocusEvent>) => void) | undefined;
349
- onHoverIn?: ((event: unknown) => void) | undefined;
350
- onHoverOut?: ((event: unknown) => void) | undefined;
351
- onKeyDown?: ((event: NativeSyntheticEvent<React.KeyboardEvent>) => void) | undefined;
352
- onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
353
- onLongPress?: PressResponderConfig["onLongPress"];
354
- onPress?: PressResponderConfig["onPress"];
355
- onPressIn?: PressResponderConfig["onPressStart"];
356
- onPressMove?: PressResponderConfig["onPressMove"];
357
- onPressOut?: PressResponderConfig["onPressEnd"];
358
- style?: import("react-native").StyleProp<import("react-native").TextStyle> | ((state: PressableStateCallbackType) => import("react-native").StyleProp<import("react-native").TextStyle>);
359
- testOnly_hovered?: boolean | undefined;
360
- testOnly_pressed?: boolean | undefined;
361
- } & {
362
- ref?: Ref<TextInput> | undefined;
49
+ export declare const PressableTextInput: FC<PressableTextInputProps & {
50
+ ref?: Ref<TextInput>;
363
51
  }>;
364
52
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NativeScrollEvent, NativeSyntheticEvent, StyleProp, ViewProps, ViewStyle } from "react-native";
3
2
  export type ScrollViewRef = {
4
3
  element: HTMLElement | null;
@@ -17,8 +16,8 @@ export type ScrollViewProps = ViewProps & {
17
16
  };
18
17
  export declare const ScrollView: import("react").ForwardRefExoticComponent<ViewProps & {
19
18
  contentContainerStyle?: StyleProp<ViewStyle>;
20
- horizontal?: boolean | undefined;
21
- onScroll?: ((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined;
22
- scrollEventThrottle?: number | undefined;
23
- showsScrollIndicators?: boolean | undefined;
19
+ horizontal?: boolean;
20
+ onScroll?: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
21
+ scrollEventThrottle?: number;
22
+ showsScrollIndicators?: boolean;
24
23
  } & import("react").RefAttributes<ScrollViewRef>>;
@@ -1,14 +1,14 @@
1
- /// <reference types="react" />
2
1
  import { View } from "react-native";
2
+ import { SpacingValue } from "./Space";
3
3
  export declare const Stack: import("react").ForwardRefExoticComponent<import("react-native").ViewProps & {
4
- alignItems?: ("end" | "start" | "center" | "stretch" | "baseline") | undefined;
4
+ alignItems?: "end" | "start" | "center" | "stretch" | "baseline";
5
5
  children?: import("react").ReactNode;
6
- direction?: ("row" | "column" | "columnReverse" | "rowReverse") | undefined;
7
- justifyContent?: ("end" | "start" | "normal" | "center" | "spaceBetween" | "spaceAround" | "spaceEvenly") | undefined;
8
- wrap?: ("nowrap" | "wrap" | "wrapReverse") | undefined;
9
- grow?: number | undefined;
10
- shrink?: number | undefined;
6
+ direction?: "row" | "column" | "columnReverse" | "rowReverse";
7
+ justifyContent?: "end" | "start" | "normal" | "center" | "spaceBetween" | "spaceAround" | "spaceEvenly";
8
+ wrap?: "nowrap" | "wrap" | "wrapReverse";
9
+ grow?: number;
10
+ shrink?: number;
11
11
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
12
12
  } & {
13
- space?: 4 | 16 | 8 | 12 | 20 | 24 | 32 | 40 | 48 | 72 | 96 | undefined;
13
+ space?: SpacingValue;
14
14
  } & import("react").RefAttributes<View>>;
@@ -126,12 +126,12 @@ export declare const Svg: ({ style, ...props }: SvgProps) => import("react").Rea
126
126
  testID?: string | undefined;
127
127
  id?: string | undefined;
128
128
  role?: import("react-native").WebRole | undefined;
129
- tabIndex?: 0 | -1 | undefined;
129
+ tabIndex?: (0 | -1) | undefined;
130
130
  children?: ReactNode;
131
- height?: number | undefined;
132
- title?: string | undefined;
133
- viewBox?: string | undefined;
134
- width?: number | undefined;
131
+ height?: number;
132
+ title?: string;
133
+ viewBox?: string;
134
+ width?: number;
135
135
  }, string | import("react").JSXElementConstructor<any>>;
136
136
  export declare const Circle: (props: CircleProps) => import("react").ReactElement<CircleProps, string | import("react").JSXElementConstructor<any>>;
137
137
  export declare const Defs: (props: ChildrenProp) => import("react").ReactElement<ChildrenProp, string | import("react").JSXElementConstructor<any>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { View } from "react-native";
3
2
  type Props = {
4
3
  value: boolean;
@@ -1,8 +1,5 @@
1
- export declare const useBoolean: (initialValue: boolean | (() => boolean)) => [
2
- boolean,
3
- {
4
- on: () => void;
5
- off: () => void;
6
- toggle: () => void;
7
- }
8
- ];
1
+ export declare const useBoolean: (initialValue: boolean | (() => boolean)) => [boolean, {
2
+ on: () => void;
3
+ off: () => void;
4
+ toggle: () => void;
5
+ }];
@@ -1,8 +1,5 @@
1
- export declare const useDisclosure: (initialValue: boolean) => [
2
- visible: boolean,
3
- fns: {
4
- open: () => void;
5
- close: () => void;
6
- toggle: () => void;
7
- }
8
- ];
1
+ export declare const useDisclosure: (initialValue: boolean) => [visible: boolean, fns: {
2
+ open: () => void;
3
+ close: () => void;
4
+ toggle: () => void;
5
+ }];
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cleanup, fireEvent, render } from "@testing-library/react";
2
+ import { fireEvent } from "@testing-library/dom";
3
+ import { cleanup, render } from "@testing-library/react";
3
4
  import { useState } from "react";
4
5
  import { Rifm } from "rifm";
5
6
  import { afterEach, expect, test } from "vitest";
@@ -8,4 +8,4 @@ export declare const deriveUnion: <T extends PropertyKey>(object: Record<T, true
8
8
  is: (value: unknown) => value is T;
9
9
  P: import("ts-pattern/dist/types/Pattern").GuardP<unknown, T>;
10
10
  };
11
- export declare const memoize: <Input extends unknown[], Output>(func: (...input: Input) => Output, getCacheKey: (...input: Input) => string) => ((...input: Input) => Output);
11
+ export declare const memoize: <Input extends Array<unknown>, Output>(func: (...input: Input) => Output, getCacheKey: (...input: Input) => string) => ((...input: Input) => Output);
@@ -3,7 +3,7 @@ export declare const isNullish: (value: unknown) => value is Nullish;
3
3
  export declare const isNotNullish: <T>(value: T | Nullish) => value is T;
4
4
  export declare const isEmpty: (value: unknown) => value is "";
5
5
  export declare const isNotEmpty: <T extends string>(value: T) => value is Exclude<T, "">;
6
- export declare const isNullishOrEmpty: (value: unknown) => value is "" | Nullish;
6
+ export declare const isNullishOrEmpty: (value: unknown) => value is Nullish | "";
7
7
  export declare const isNotNullishOrEmpty: <T extends string>(value: T | Nullish) => value is Exclude<T, "">;
8
8
  export declare const emptyToUndefined: <T extends string>(value: T) => Exclude<T, ""> | undefined;
9
9
  export declare const nullishOrEmptyToUndefined: <T extends string>(value: T | Nullish) => Exclude<T, ""> | undefined;