react-native-platform-components 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -31
- package/android/src/main/java/com/platformcomponents/PCButtonGroupView.kt +498 -0
- package/android/src/main/java/com/platformcomponents/PCButtonGroupViewManager.kt +191 -0
- package/android/src/main/java/com/platformcomponents/PCButtonSupport.kt +127 -0
- package/android/src/main/java/com/platformcomponents/PCButtonView.kt +345 -0
- package/android/src/main/java/com/platformcomponents/PCButtonViewManager.kt +126 -0
- package/android/src/main/java/com/platformcomponents/PCExpressive.kt +107 -0
- package/android/src/main/java/com/platformcomponents/PCFloatingToolbarView.kt +115 -0
- package/android/src/main/java/com/platformcomponents/PCFloatingToolbarViewManager.kt +65 -0
- package/android/src/main/java/com/platformcomponents/PCNativeThemeModule.kt +3 -0
- package/android/src/main/java/com/platformcomponents/PCSegmentedControlView.kt +13 -5
- package/android/src/main/java/com/platformcomponents/PCSegmentedControlViewManager.kt +6 -1
- package/android/src/main/java/com/platformcomponents/PCTextFieldView.kt +1018 -0
- package/android/src/main/java/com/platformcomponents/PCTextFieldViewManager.kt +248 -0
- package/android/src/main/java/com/platformcomponents/PlatformComponentsPackage.kt +13 -6
- package/android/src/main/jni/CMakeLists.txt +13 -1
- package/android/src/main/res/values/attrs.xml +13 -0
- package/android/src/main/res/values/styles.xml +183 -0
- package/ios/PCButton.h +10 -0
- package/ios/PCButton.mm +196 -0
- package/ios/PCButtonGroup.h +10 -0
- package/ios/PCButtonGroup.mm +256 -0
- package/ios/PCButtonGroupView.swift +254 -0
- package/ios/PCButtonSupport.swift +141 -0
- package/ios/PCButtonView.swift +155 -0
- package/ios/PCFloatingToolbar.h +10 -0
- package/ios/PCFloatingToolbar.mm +76 -0
- package/ios/PCFloatingToolbarView.swift +95 -0
- package/ios/PCNativeThemeModule.mm +13 -0
- package/ios/PCSelectionMenu.swift +9 -1
- package/ios/PCTextField.h +10 -0
- package/ios/PCTextField.mm +391 -0
- package/ios/PCTextFieldView.swift +1012 -0
- package/lib/commonjs/Button.js +77 -0
- package/lib/commonjs/Button.js.map +1 -0
- package/lib/commonjs/ButtonGroup.js +99 -0
- package/lib/commonjs/ButtonGroup.js.map +1 -0
- package/lib/commonjs/ButtonGroupNativeComponent.ts +121 -0
- package/lib/commonjs/ButtonNativeComponent.ts +76 -0
- package/lib/commonjs/ContextMenuNativeComponent.ts +5 -4
- package/lib/commonjs/DatePickerNativeComponent.ts +17 -11
- package/lib/commonjs/FloatingToolbar.js +69 -0
- package/lib/commonjs/FloatingToolbar.js.map +1 -0
- package/lib/commonjs/FloatingToolbarNativeComponent.ts +31 -0
- package/lib/commonjs/LiquidGlass.js +24 -4
- package/lib/commonjs/LiquidGlass.js.map +1 -1
- package/lib/commonjs/LiquidGlassNativeComponent.ts +6 -5
- package/lib/commonjs/NativePlatformComponentsTheme.js.map +1 -1
- package/lib/commonjs/SegmentedControl.js +11 -85
- package/lib/commonjs/SegmentedControl.js.map +1 -1
- package/lib/commonjs/SegmentedControlNativeComponent.ts +15 -11
- package/lib/commonjs/SelectionMenuNativeComponent.ts +6 -5
- package/lib/commonjs/TextField.js +195 -0
- package/lib/commonjs/TextField.js.map +1 -0
- package/lib/commonjs/TextFieldNativeComponent.ts +218 -0
- package/lib/commonjs/codegenTypes.js +6 -0
- package/lib/commonjs/codegenTypes.js.map +1 -0
- package/lib/commonjs/focusRegistry.js +78 -0
- package/lib/commonjs/focusRegistry.js.map +1 -0
- package/lib/commonjs/icons.js +92 -0
- package/lib/commonjs/icons.js.map +1 -0
- package/lib/commonjs/index.js +66 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +32 -2
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/labelStyle.js +27 -0
- package/lib/commonjs/labelStyle.js.map +1 -0
- package/lib/commonjs/reactNativeInternals.d.js +2 -0
- package/lib/commonjs/reactNativeInternals.d.js.map +1 -0
- package/lib/module/Button.js +70 -0
- package/lib/module/Button.js.map +1 -0
- package/lib/module/ButtonGroup.js +92 -0
- package/lib/module/ButtonGroup.js.map +1 -0
- package/lib/module/ButtonGroupNativeComponent.ts +121 -0
- package/lib/module/ButtonNativeComponent.ts +76 -0
- package/lib/module/ContextMenuNativeComponent.ts +5 -4
- package/lib/module/DatePickerNativeComponent.ts +17 -11
- package/lib/module/FloatingToolbar.js +62 -0
- package/lib/module/FloatingToolbar.js.map +1 -0
- package/lib/module/FloatingToolbarNativeComponent.ts +31 -0
- package/lib/module/LiquidGlass.js +24 -4
- package/lib/module/LiquidGlass.js.map +1 -1
- package/lib/module/LiquidGlassNativeComponent.ts +6 -5
- package/lib/module/NativePlatformComponentsTheme.js.map +1 -1
- package/lib/module/SegmentedControl.js +12 -87
- package/lib/module/SegmentedControl.js.map +1 -1
- package/lib/module/SegmentedControlNativeComponent.ts +15 -11
- package/lib/module/SelectionMenuNativeComponent.ts +6 -5
- package/lib/module/TextField.js +189 -0
- package/lib/module/TextField.js.map +1 -0
- package/lib/module/TextFieldNativeComponent.ts +218 -0
- package/lib/module/codegenTypes.js +4 -0
- package/lib/module/codegenTypes.js.map +1 -0
- package/lib/module/focusRegistry.js +74 -0
- package/lib/module/focusRegistry.js.map +1 -0
- package/lib/module/icons.js +87 -0
- package/lib/module/icons.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +28 -0
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/labelStyle.js +23 -0
- package/lib/module/labelStyle.js.map +1 -0
- package/lib/module/reactNativeInternals.d.js +2 -0
- package/lib/module/reactNativeInternals.d.js.map +1 -0
- package/lib/typescript/commonjs/docs/sidebars.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/Button.d.ts +76 -0
- package/lib/typescript/commonjs/src/Button.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ButtonGroup.d.ts +102 -0
- package/lib/typescript/commonjs/src/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ButtonGroupNativeComponent.d.ts +93 -0
- package/lib/typescript/commonjs/src/ButtonGroupNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ButtonNativeComponent.d.ts +57 -0
- package/lib/typescript/commonjs/src/ButtonNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/ContextMenuNativeComponent.d.ts +5 -4
- package/lib/typescript/commonjs/src/ContextMenuNativeComponent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/DatePickerNativeComponent.d.ts +12 -11
- package/lib/typescript/commonjs/src/DatePickerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/FloatingToolbar.d.ts +45 -0
- package/lib/typescript/commonjs/src/FloatingToolbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/FloatingToolbarNativeComponent.d.ts +24 -0
- package/lib/typescript/commonjs/src/FloatingToolbarNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/LiquidGlass.d.ts +4 -3
- package/lib/typescript/commonjs/src/LiquidGlass.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/LiquidGlassNativeComponent.d.ts +6 -5
- package/lib/typescript/commonjs/src/LiquidGlassNativeComponent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/NativePlatformComponentsTheme.d.ts +10 -2
- package/lib/typescript/commonjs/src/NativePlatformComponentsTheme.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/SegmentedControl.d.ts +17 -46
- package/lib/typescript/commonjs/src/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/SegmentedControlNativeComponent.d.ts +9 -6
- package/lib/typescript/commonjs/src/SegmentedControlNativeComponent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/SelectionMenuNativeComponent.d.ts +6 -5
- package/lib/typescript/commonjs/src/SelectionMenuNativeComponent.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/TextField.d.ts +174 -0
- package/lib/typescript/commonjs/src/TextField.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/TextFieldNativeComponent.d.ts +162 -0
- package/lib/typescript/commonjs/src/TextFieldNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/codegenTypes.d.ts +12 -0
- package/lib/typescript/commonjs/src/codegenTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/focusRegistry.d.ts +13 -0
- package/lib/typescript/commonjs/src/focusRegistry.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/icons.d.ts +52 -0
- package/lib/typescript/commonjs/src/icons.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +6 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.web.d.ts +121 -0
- package/lib/typescript/commonjs/src/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/labelStyle.d.ts +20 -0
- package/lib/typescript/commonjs/src/labelStyle.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/sharedTypes.d.ts +8 -3
- package/lib/typescript/commonjs/src/sharedTypes.d.ts.map +1 -1
- package/lib/typescript/module/docs/sidebars.d.ts.map +1 -1
- package/lib/typescript/module/src/Button.d.ts +76 -0
- package/lib/typescript/module/src/Button.d.ts.map +1 -0
- package/lib/typescript/module/src/ButtonGroup.d.ts +102 -0
- package/lib/typescript/module/src/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/module/src/ButtonGroupNativeComponent.d.ts +93 -0
- package/lib/typescript/module/src/ButtonGroupNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/ButtonNativeComponent.d.ts +57 -0
- package/lib/typescript/module/src/ButtonNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/ContextMenuNativeComponent.d.ts +5 -4
- package/lib/typescript/module/src/ContextMenuNativeComponent.d.ts.map +1 -1
- package/lib/typescript/module/src/DatePickerNativeComponent.d.ts +12 -11
- package/lib/typescript/module/src/DatePickerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/module/src/FloatingToolbar.d.ts +45 -0
- package/lib/typescript/module/src/FloatingToolbar.d.ts.map +1 -0
- package/lib/typescript/module/src/FloatingToolbarNativeComponent.d.ts +24 -0
- package/lib/typescript/module/src/FloatingToolbarNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/LiquidGlass.d.ts +4 -3
- package/lib/typescript/module/src/LiquidGlass.d.ts.map +1 -1
- package/lib/typescript/module/src/LiquidGlassNativeComponent.d.ts +6 -5
- package/lib/typescript/module/src/LiquidGlassNativeComponent.d.ts.map +1 -1
- package/lib/typescript/module/src/NativePlatformComponentsTheme.d.ts +10 -2
- package/lib/typescript/module/src/NativePlatformComponentsTheme.d.ts.map +1 -1
- package/lib/typescript/module/src/SegmentedControl.d.ts +17 -46
- package/lib/typescript/module/src/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/module/src/SegmentedControlNativeComponent.d.ts +9 -6
- package/lib/typescript/module/src/SegmentedControlNativeComponent.d.ts.map +1 -1
- package/lib/typescript/module/src/SelectionMenuNativeComponent.d.ts +6 -5
- package/lib/typescript/module/src/SelectionMenuNativeComponent.d.ts.map +1 -1
- package/lib/typescript/module/src/TextField.d.ts +174 -0
- package/lib/typescript/module/src/TextField.d.ts.map +1 -0
- package/lib/typescript/module/src/TextFieldNativeComponent.d.ts +162 -0
- package/lib/typescript/module/src/TextFieldNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/codegenTypes.d.ts +12 -0
- package/lib/typescript/module/src/codegenTypes.d.ts.map +1 -0
- package/lib/typescript/module/src/focusRegistry.d.ts +13 -0
- package/lib/typescript/module/src/focusRegistry.d.ts.map +1 -0
- package/lib/typescript/module/src/icons.d.ts +52 -0
- package/lib/typescript/module/src/icons.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +6 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/index.web.d.ts +121 -0
- package/lib/typescript/module/src/index.web.d.ts.map +1 -1
- package/lib/typescript/module/src/labelStyle.d.ts +20 -0
- package/lib/typescript/module/src/labelStyle.d.ts.map +1 -0
- package/lib/typescript/module/src/sharedTypes.d.ts +8 -3
- package/lib/typescript/module/src/sharedTypes.d.ts.map +1 -1
- package/package.json +28 -6
- package/react-native.config.js +3 -0
- package/shared/PCButtonComponentDescriptors-custom.h +22 -0
- package/shared/PCButtonGroupComponentDescriptors-custom.h +22 -0
- package/shared/PCButtonGroupShadowNode-custom.cpp +48 -0
- package/shared/PCButtonGroupShadowNode-custom.h +55 -0
- package/shared/PCButtonGroupState-custom.h +61 -0
- package/shared/PCButtonShadowNode-custom.cpp +48 -0
- package/shared/PCButtonShadowNode-custom.h +55 -0
- package/shared/PCButtonState-custom.h +61 -0
- package/shared/PCDatePickerState-custom.h +2 -2
- package/shared/PCSegmentedControlState-custom.h +2 -2
- package/shared/PCSelectionMenuState-custom.h +2 -2
- package/shared/PCTextFieldComponentDescriptors-custom.h +22 -0
- package/shared/PCTextFieldShadowNode-custom.cpp +47 -0
- package/shared/PCTextFieldShadowNode-custom.h +55 -0
- package/shared/PCTextFieldState-custom.h +61 -0
- package/shared/react/renderer/components/PlatformComponentsViewSpec/ComponentDescriptors.h +3 -0
- package/src/Button.tsx +144 -0
- package/src/ButtonGroup.tsx +233 -0
- package/src/ButtonGroupNativeComponent.ts +121 -0
- package/src/ButtonNativeComponent.ts +76 -0
- package/src/ContextMenuNativeComponent.ts +5 -4
- package/src/DatePickerNativeComponent.ts +17 -11
- package/src/FloatingToolbar.tsx +113 -0
- package/src/FloatingToolbarNativeComponent.ts +31 -0
- package/src/LiquidGlass.tsx +24 -5
- package/src/LiquidGlassNativeComponent.ts +6 -5
- package/src/NativePlatformComponentsTheme.ts +11 -2
- package/src/SegmentedControl.tsx +26 -118
- package/src/SegmentedControlNativeComponent.ts +15 -11
- package/src/SelectionMenuNativeComponent.ts +6 -5
- package/src/TextField.tsx +494 -0
- package/src/TextFieldNativeComponent.ts +218 -0
- package/src/codegenTypes.ts +40 -0
- package/src/focusRegistry.ts +89 -0
- package/src/icons.ts +116 -0
- package/src/index.tsx +6 -0
- package/src/index.web.tsx +194 -0
- package/src/labelStyle.ts +36 -0
- package/src/reactNativeInternals.d.ts +22 -0
- package/src/sharedTypes.ts +9 -3
- /package/{app.plugin.cjs → app.plugin.js} +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { NativeSyntheticEvent, ViewProps } from 'react-native';
|
|
3
|
+
import { type PlatformIcon } from './icons.js';
|
|
4
|
+
import { type LabelStyle } from './labelStyle.js';
|
|
5
|
+
import type { AndroidMaterialMode } from './sharedTypes.js';
|
|
6
|
+
/** Keyboard to show; the React Native `TextInput` values. */
|
|
7
|
+
export type TextFieldKeyboardType = 'default' | 'number-pad' | 'decimal-pad' | 'numeric' | 'email-address' | 'phone-pad' | 'url' | 'ascii-capable' | 'numbers-and-punctuation' | 'name-phone-pad' | 'twitter' | 'web-search' | 'visible-password';
|
|
8
|
+
/** Return key label; the React Native `TextInput` values. */
|
|
9
|
+
export type TextFieldReturnKeyType = 'default' | 'done' | 'go' | 'next' | 'search' | 'send' | 'none' | 'previous';
|
|
10
|
+
/** Autofill hint; a cross-platform subset of the React Native `TextInput` values. */
|
|
11
|
+
export type TextFieldAutoComplete = 'off' | 'username' | 'password' | 'new-password' | 'one-time-code' | 'email' | 'name' | 'given-name' | 'family-name' | 'tel' | 'street-address' | 'postal-code' | 'country' | 'cc-number' | 'cc-exp' | 'cc-csc' | 'url';
|
|
12
|
+
export type TextFieldAutoCapitalize = 'none' | 'sentences' | 'words' | 'characters';
|
|
13
|
+
export type TextFieldClearButtonMode = 'never' | 'while-editing' | 'unless-editing' | 'always';
|
|
14
|
+
/** An iOS text trait: the system default, on, or off. */
|
|
15
|
+
export type TextFieldIOSChoice = 'default' | 'yes' | 'no';
|
|
16
|
+
/** Focus, blur and submit events carry the text at that moment. */
|
|
17
|
+
export type TextFieldEvent = NativeSyntheticEvent<{
|
|
18
|
+
text: string;
|
|
19
|
+
}>;
|
|
20
|
+
/** Change events carry the text and the native edit counter. */
|
|
21
|
+
export type TextFieldChangeEvent = NativeSyntheticEvent<{
|
|
22
|
+
text: string;
|
|
23
|
+
eventCount: number;
|
|
24
|
+
}>;
|
|
25
|
+
/** Methods available through the `ref`. */
|
|
26
|
+
export interface TextFieldRef {
|
|
27
|
+
/** Focuses the field and shows the keyboard. */
|
|
28
|
+
focus(): void;
|
|
29
|
+
/** Removes focus and hides the keyboard. */
|
|
30
|
+
blur(): void;
|
|
31
|
+
/** Clears the text. Fires `onChangeText('')`. */
|
|
32
|
+
clear(): void;
|
|
33
|
+
/** Whether the field currently has focus. */
|
|
34
|
+
isFocused(): boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface TextFieldProps extends Omit<ViewProps, 'onFocus' | 'onBlur' | 'children'> {
|
|
37
|
+
/**
|
|
38
|
+
* Controlled text. Native keeps what the user typed until the next
|
|
39
|
+
* `onChangeText` round-trip, so updating state from `onChangeText` never
|
|
40
|
+
* drops characters.
|
|
41
|
+
*/
|
|
42
|
+
value?: string;
|
|
43
|
+
/** Initial text of an uncontrolled field. */
|
|
44
|
+
defaultValue?: string;
|
|
45
|
+
/** Called with the new text on every edit. */
|
|
46
|
+
onChangeText?: (text: string) => void;
|
|
47
|
+
/** Called on every edit with the native event. */
|
|
48
|
+
onChange?: (event: TextFieldChangeEvent) => void;
|
|
49
|
+
/** Called when the field gains focus. */
|
|
50
|
+
onFocus?: (event: TextFieldEvent) => void;
|
|
51
|
+
/** Called when the field loses focus. */
|
|
52
|
+
onBlur?: (event: TextFieldEvent) => void;
|
|
53
|
+
/** Called when the return key is pressed. Single-line fields only. */
|
|
54
|
+
onSubmitEditing?: (event: TextFieldEvent) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Field label. Android: the Material floating label. iOS: a caption above
|
|
57
|
+
* the field, which takes the tint color while focused.
|
|
58
|
+
*/
|
|
59
|
+
label?: string;
|
|
60
|
+
/** Placeholder shown while the field is empty. */
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
/** Helper text below the field. */
|
|
63
|
+
supportingText?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Error state. A string is shown below the field in place of the
|
|
66
|
+
* supporting text; `true` marks the field as invalid and keeps the
|
|
67
|
+
* supporting text.
|
|
68
|
+
*/
|
|
69
|
+
error?: boolean | string;
|
|
70
|
+
/** Text shown before the input, inside the field (a currency sign). */
|
|
71
|
+
prefix?: string;
|
|
72
|
+
/** Text shown after the input, inside the field (a unit). */
|
|
73
|
+
suffix?: string;
|
|
74
|
+
/** Icon at the start of the field. */
|
|
75
|
+
leadingIcon?: PlatformIcon;
|
|
76
|
+
/** Icon at the end of the field. Pressing it calls `onTrailingIconPress`. */
|
|
77
|
+
trailingIcon?: PlatformIcon;
|
|
78
|
+
/** Called when the trailing icon is pressed. */
|
|
79
|
+
onTrailingIconPress?: () => void;
|
|
80
|
+
/**
|
|
81
|
+
* When to show a clear button inside the field. Default: `'never'`.
|
|
82
|
+
* Android shows the Material clear icon while the field has text.
|
|
83
|
+
*/
|
|
84
|
+
clearButtonMode?: TextFieldClearButtonMode;
|
|
85
|
+
/**
|
|
86
|
+
* Shows a button that toggles `secureTextEntry`, for password fields.
|
|
87
|
+
* Android: the Material password toggle. iOS: an eye button.
|
|
88
|
+
*/
|
|
89
|
+
passwordToggle?: boolean;
|
|
90
|
+
/** Shows the character count below the field (`12 / 100` with `maxLength`). */
|
|
91
|
+
showCharacterCount?: boolean;
|
|
92
|
+
/** Maximum number of characters. */
|
|
93
|
+
maxLength?: number;
|
|
94
|
+
/** Keyboard to show. Default: `'default'`. */
|
|
95
|
+
keyboardType?: TextFieldKeyboardType;
|
|
96
|
+
/** Return key label. Default: `'default'`. */
|
|
97
|
+
returnKeyType?: TextFieldReturnKeyType;
|
|
98
|
+
/** Automatic capitalization. Default: `'sentences'`. */
|
|
99
|
+
autoCapitalize?: TextFieldAutoCapitalize;
|
|
100
|
+
/** Auto-correction and suggestions. Default: `true`. */
|
|
101
|
+
autoCorrect?: boolean;
|
|
102
|
+
/** Obscures the text, for passwords. */
|
|
103
|
+
secureTextEntry?: boolean;
|
|
104
|
+
/** Multi-line field that grows with its content. Return inserts a newline. */
|
|
105
|
+
multiline?: boolean;
|
|
106
|
+
/** Whether the text can be edited. Default: `true`. */
|
|
107
|
+
editable?: boolean;
|
|
108
|
+
/** Focuses the field when it mounts. */
|
|
109
|
+
autoFocus?: boolean;
|
|
110
|
+
/** Selects all text when the field gains focus. */
|
|
111
|
+
selectTextOnFocus?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Autofill hint. Android: autofill hints. iOS: `textContentType`, which
|
|
114
|
+
* also enables the password and one-time-code suggestions.
|
|
115
|
+
*/
|
|
116
|
+
autoComplete?: TextFieldAutoComplete;
|
|
117
|
+
/** iOS: keyboard appearance. Default: `'default'`. */
|
|
118
|
+
keyboardAppearance?: 'default' | 'light' | 'dark';
|
|
119
|
+
/** Font of the input text. */
|
|
120
|
+
textStyle?: LabelStyle;
|
|
121
|
+
/** Screen-reader label. Defaults to `label`. */
|
|
122
|
+
accessibilityLabel?: string;
|
|
123
|
+
/**
|
|
124
|
+
* iOS-specific configuration. Each trait defaults to the system default.
|
|
125
|
+
*/
|
|
126
|
+
ios?: {
|
|
127
|
+
/**
|
|
128
|
+
* Writing Tools (iOS 18): `'complete'` allows rewrites in place,
|
|
129
|
+
* `'limited'` only the overlay panel, `'none'` disables them.
|
|
130
|
+
*/
|
|
131
|
+
writingTools?: 'default' | 'complete' | 'limited' | 'none';
|
|
132
|
+
/** Inline predictive text (iOS 17). */
|
|
133
|
+
inlinePrediction?: TextFieldIOSChoice;
|
|
134
|
+
/** Smart quotes. */
|
|
135
|
+
smartQuotes?: TextFieldIOSChoice;
|
|
136
|
+
/** Smart dashes. */
|
|
137
|
+
smartDashes?: TextFieldIOSChoice;
|
|
138
|
+
/** Smart insert and delete (spaces around pasted words). */
|
|
139
|
+
smartInsertDelete?: TextFieldIOSChoice;
|
|
140
|
+
/** Math expression completion, `1+1=` (iOS 18). */
|
|
141
|
+
mathExpressionCompletion?: TextFieldIOSChoice;
|
|
142
|
+
/** `UITextField.borderStyle`. Default: `'roundedRect'`. */
|
|
143
|
+
borderStyle?: 'roundedRect' | 'none' | 'line' | 'bezel';
|
|
144
|
+
/**
|
|
145
|
+
* Where the label sits: above the field (default), or in a leading
|
|
146
|
+
* column with the field beside it, the layout of the grouped forms in
|
|
147
|
+
* Contacts and Settings. Pair `'leading'` with `borderStyle: 'none'`
|
|
148
|
+
* inside your own grouped row.
|
|
149
|
+
*/
|
|
150
|
+
labelPlacement?: 'above' | 'leading';
|
|
151
|
+
/** Width of the leading label column, in points. Default: 100. */
|
|
152
|
+
labelWidth?: number;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Android-specific configuration
|
|
156
|
+
*/
|
|
157
|
+
android?: {
|
|
158
|
+
/**
|
|
159
|
+
* Material preference: the Material 3 text field (default), or
|
|
160
|
+
* `'system'` for the platform `EditText` (the hint as placeholder,
|
|
161
|
+
* supporting text below, icons as compound drawables; no box, floating
|
|
162
|
+
* label, clear button, password toggle, counter, prefix or suffix).
|
|
163
|
+
*/
|
|
164
|
+
material?: AndroidMaterialMode;
|
|
165
|
+
/** Material 3 text field style. Default: `'outlined'`. */
|
|
166
|
+
variant?: 'outlined' | 'filled';
|
|
167
|
+
/** The dense variant, a shorter field. */
|
|
168
|
+
dense?: boolean;
|
|
169
|
+
};
|
|
170
|
+
/** Test identifier */
|
|
171
|
+
testID?: string;
|
|
172
|
+
}
|
|
173
|
+
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<TextFieldRef>>;
|
|
174
|
+
//# sourceMappingURL=TextField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/TextField.tsx"],"names":[],"mappings":"AACA,OAAO,KAQN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,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,CAAC,EAAE,kBAAkB,CAAC;QAEtC,oBAAoB;QACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC;QAEjC,oBAAoB;QACpB,WAAW,CAAC,EAAE,kBAAkB,CAAC;QAEjC,4DAA4D;QAC5D,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;QAEvC,mDAAmD;QACnD,wBAAwB,CAAC,EAAE,kBAAkB,CAAC;QAE9C,2DAA2D;QAC3D,WAAW,CAAC,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;QAExD;;;;;WAKG;QACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAErC,kEAAkE;QAClE,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;IAEF;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC;QAE/B,0DAA0D;QAC1D,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC;QAEhC,0CAA0C;QAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;KACjB,CAAC;IAEF,sBAAsB;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,SAAS,qFAmNrB,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
3
|
+
import type { BubblingEventHandler, Double, Int32 } from './codegenTypes.js';
|
|
4
|
+
/**
|
|
5
|
+
* Icon fields, pre-resolved on the JS side (see icons.ts).
|
|
6
|
+
*/
|
|
7
|
+
export type TextFieldIconProps = Readonly<{
|
|
8
|
+
iconType: string;
|
|
9
|
+
iconName: string;
|
|
10
|
+
iconUri: string;
|
|
11
|
+
iconScale: Double;
|
|
12
|
+
iconTinted: string;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Text font. Empty strings / 0 mean "platform default".
|
|
16
|
+
*/
|
|
17
|
+
export type TextFieldTextStyleProps = Readonly<{
|
|
18
|
+
fontFamily?: string;
|
|
19
|
+
fontSize?: Double;
|
|
20
|
+
fontWeight?: string;
|
|
21
|
+
fontStyle?: string;
|
|
22
|
+
}>;
|
|
23
|
+
/**
|
|
24
|
+
* Fired on every edit. `eventCount` is the native edit counter that JS hands
|
|
25
|
+
* back with `setText`, so a stale controlled value can't overwrite what the
|
|
26
|
+
* user typed since.
|
|
27
|
+
*/
|
|
28
|
+
export type TextFieldChangeEvent = Readonly<{
|
|
29
|
+
text: string;
|
|
30
|
+
eventCount: Int32;
|
|
31
|
+
}>;
|
|
32
|
+
/** Focus, blur and submit carry the text at that moment. */
|
|
33
|
+
export type TextFieldTextEvent = Readonly<{
|
|
34
|
+
text: string;
|
|
35
|
+
}>;
|
|
36
|
+
/**
|
|
37
|
+
* iOS-specific configuration. Every field is '' for the platform default.
|
|
38
|
+
*/
|
|
39
|
+
export type TextFieldIOSProps = Readonly<{
|
|
40
|
+
/** 'default' | 'complete' | 'limited' | 'none' (iOS 18) */
|
|
41
|
+
writingTools?: string;
|
|
42
|
+
/** 'default' | 'yes' | 'no' (iOS 17) */
|
|
43
|
+
inlinePrediction?: string;
|
|
44
|
+
/** 'default' | 'yes' | 'no' */
|
|
45
|
+
smartQuotes?: string;
|
|
46
|
+
/** 'default' | 'yes' | 'no' */
|
|
47
|
+
smartDashes?: string;
|
|
48
|
+
/** 'default' | 'yes' | 'no' */
|
|
49
|
+
smartInsertDelete?: string;
|
|
50
|
+
/** 'default' | 'yes' | 'no' (iOS 18) */
|
|
51
|
+
mathExpressionCompletion?: string;
|
|
52
|
+
/** 'roundedRect' | 'none' | 'line' | 'bezel' */
|
|
53
|
+
borderStyle?: string;
|
|
54
|
+
/** 'above' | 'leading': where the label sits */
|
|
55
|
+
labelPlacement?: string;
|
|
56
|
+
/** Width of a leading label column in points; 0 = default */
|
|
57
|
+
labelWidth?: Double;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* Android-specific configuration.
|
|
61
|
+
*/
|
|
62
|
+
export type TextFieldAndroidProps = Readonly<{
|
|
63
|
+
/** 'm3' | 'system' (AndroidMaterialMode) */
|
|
64
|
+
material?: string;
|
|
65
|
+
/** 'outlined' | 'filled' */
|
|
66
|
+
variant?: string;
|
|
67
|
+
/** 'standard' | 'dense' */
|
|
68
|
+
density?: string;
|
|
69
|
+
}>;
|
|
70
|
+
export interface TextFieldNativeProps extends ViewProps {
|
|
71
|
+
/**
|
|
72
|
+
* Text applied when the native view is created. Later updates go through
|
|
73
|
+
* the `setText` command so they can be checked against `eventCount`.
|
|
74
|
+
*/
|
|
75
|
+
initialText?: string;
|
|
76
|
+
/** Floating label (Android) / caption above the field (iOS). */
|
|
77
|
+
label?: string;
|
|
78
|
+
/** Placeholder shown while the field is empty. */
|
|
79
|
+
placeholder?: string;
|
|
80
|
+
/** Helper text below the field. */
|
|
81
|
+
supportingText?: string;
|
|
82
|
+
/** 'none' | 'error' */
|
|
83
|
+
errorState?: string;
|
|
84
|
+
/** Error message shown instead of the supporting text. */
|
|
85
|
+
errorText?: string;
|
|
86
|
+
/** Text shown before the input, inside the field. */
|
|
87
|
+
prefix?: string;
|
|
88
|
+
/** Text shown after the input, inside the field. */
|
|
89
|
+
suffix?: string;
|
|
90
|
+
/** Icon at the start of the field. */
|
|
91
|
+
leadingIcon?: TextFieldIconProps;
|
|
92
|
+
/** Icon at the end of the field; pressing it fires onTrailingIconPress. */
|
|
93
|
+
trailingIcon?: TextFieldIconProps;
|
|
94
|
+
/** 'never' | 'while-editing' | 'unless-editing' | 'always' */
|
|
95
|
+
clearButtonMode?: string;
|
|
96
|
+
/** 'shown' | 'hidden': a button that toggles secure text entry. */
|
|
97
|
+
passwordToggle?: string;
|
|
98
|
+
/** 'shown' | 'hidden': the character counter. */
|
|
99
|
+
characterCount?: string;
|
|
100
|
+
/** Maximum number of UTF-16 characters; 0 = unlimited. */
|
|
101
|
+
maxLength?: Int32;
|
|
102
|
+
/** React Native keyboardType value. */
|
|
103
|
+
keyboardType?: string;
|
|
104
|
+
/** React Native returnKeyType value. */
|
|
105
|
+
returnKeyType?: string;
|
|
106
|
+
/** 'none' | 'sentences' | 'words' | 'characters' */
|
|
107
|
+
autoCapitalize?: string;
|
|
108
|
+
/** 'enabled' | 'disabled' */
|
|
109
|
+
autoCorrect?: string;
|
|
110
|
+
/** 'secure' | 'plain' */
|
|
111
|
+
secureTextEntry?: string;
|
|
112
|
+
/** 'single' | 'multiline' */
|
|
113
|
+
lines?: string;
|
|
114
|
+
/** 'enabled' | 'disabled' */
|
|
115
|
+
interactivity?: string;
|
|
116
|
+
/** 'focus' | 'none': focus the field when it mounts. */
|
|
117
|
+
autoFocus?: string;
|
|
118
|
+
/** 'select' | 'keep': select all text on focus. */
|
|
119
|
+
selectTextOnFocus?: string;
|
|
120
|
+
/** React Native autoComplete value; '' = platform default. */
|
|
121
|
+
autoComplete?: string;
|
|
122
|
+
/** 'default' | 'light' | 'dark' (iOS keyboard appearance) */
|
|
123
|
+
keyboardAppearance?: string;
|
|
124
|
+
/** Font of the input text. */
|
|
125
|
+
textStyle?: TextFieldTextStyleProps;
|
|
126
|
+
/**
|
|
127
|
+
* Screen-reader label, applied to the native field rather than the host
|
|
128
|
+
* view. Empty means "use the label".
|
|
129
|
+
*/
|
|
130
|
+
spokenLabel?: string;
|
|
131
|
+
ios?: TextFieldIOSProps;
|
|
132
|
+
android?: TextFieldAndroidProps;
|
|
133
|
+
/** Fired on every user edit. */
|
|
134
|
+
onFieldChange?: BubblingEventHandler<TextFieldChangeEvent>;
|
|
135
|
+
/** Fired when the field gains focus. */
|
|
136
|
+
onFieldFocus?: BubblingEventHandler<TextFieldTextEvent>;
|
|
137
|
+
/** Fired when the field loses focus. */
|
|
138
|
+
onFieldBlur?: BubblingEventHandler<TextFieldTextEvent>;
|
|
139
|
+
/** Fired when the keyboard's return key is pressed (single-line). */
|
|
140
|
+
onFieldSubmit?: BubblingEventHandler<TextFieldTextEvent>;
|
|
141
|
+
/** Fired when the trailing icon is pressed. */
|
|
142
|
+
onTrailingIconPress?: BubblingEventHandler<Readonly<{}>>;
|
|
143
|
+
}
|
|
144
|
+
type NativeTextFieldComponent = HostComponent<TextFieldNativeProps>;
|
|
145
|
+
interface NativeCommands {
|
|
146
|
+
/** Focuses the field and shows the keyboard. */
|
|
147
|
+
focus: (viewRef: React.ElementRef<NativeTextFieldComponent>) => void;
|
|
148
|
+
/** Removes focus and hides the keyboard. */
|
|
149
|
+
blur: (viewRef: React.ElementRef<NativeTextFieldComponent>) => void;
|
|
150
|
+
/** Clears the text; fires onFieldChange like a user edit. */
|
|
151
|
+
clear: (viewRef: React.ElementRef<NativeTextFieldComponent>) => void;
|
|
152
|
+
/**
|
|
153
|
+
* Replaces the text, unless the user has edited since `eventCount` was
|
|
154
|
+
* reported, in which case the update is dropped and the next edit event
|
|
155
|
+
* brings JS back in sync.
|
|
156
|
+
*/
|
|
157
|
+
setText: (viewRef: React.ElementRef<NativeTextFieldComponent>, eventCount: Int32, text: string) => void;
|
|
158
|
+
}
|
|
159
|
+
export declare const Commands: NativeCommands;
|
|
160
|
+
declare const _default: NativeTextFieldComponent;
|
|
161
|
+
export default _default;
|
|
162
|
+
//# sourceMappingURL=TextFieldNativeComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextFieldNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/TextFieldNativeComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE7D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAgB,CAAC;AAE1E;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAA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;OAIG;IACH,OAAO,EAAE,CACP,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,wBAAwB,CAAC,EACnD,UAAU,EAAE,KAAK,EACjB,IAAI,EAAE,MAAM,KACT,IAAI,CAAC;CACX;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;wBAIE,wBAAwB;AAF7B,wBAE8B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
export type BubblingEventHandler<T, _PaperName extends string | never = never> = (event: NativeSyntheticEvent<T>) => void | Promise<void>;
|
|
3
|
+
export type DirectEventHandler<T, _PaperName extends string | never = never> = (event: NativeSyntheticEvent<T>) => void | Promise<void>;
|
|
4
|
+
export type Double = number;
|
|
5
|
+
export type Float = number;
|
|
6
|
+
export type Int32 = number;
|
|
7
|
+
export type UnsafeObject = object;
|
|
8
|
+
export type UnsafeMixed = unknown;
|
|
9
|
+
type DefaultTypes = number | boolean | string | ReadonlyArray<string>;
|
|
10
|
+
export type WithDefault<Type extends DefaultTypes, _Value extends Type | string | undefined | null> = Type | undefined | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=codegenTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"codegenTypes.d.ts","sourceRoot":"","sources":["../../../../src/codegenTypes.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAIzD,MAAM,MAAM,oBAAoB,CAC9B,CAAC,EACD,UAAU,SAAS,MAAM,GAAG,KAAK,GAAG,KAAK,IACvC,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAE7D,MAAM,MAAM,kBAAkB,CAAC,CAAC,EAAE,UAAU,SAAS,MAAM,GAAG,KAAK,GAAG,KAAK,IAAI,CAC7E,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,KAC3B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;AAG1B,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC;AAC3B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;AAElC,KAAK,YAAY,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,MAAM,WAAW,CACrB,IAAI,SAAS,YAAY,EACzB,MAAM,SAAS,IAAI,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,IAC7C,IAAI,GAAG,SAAS,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type HostNode = object;
|
|
2
|
+
export declare const focusRegistry: {
|
|
3
|
+
/** Called when the field mounts. */
|
|
4
|
+
register(node: HostNode): void;
|
|
5
|
+
/** Called when the field unmounts; drops the focus if the field held it. */
|
|
6
|
+
unregister(node: HostNode): void;
|
|
7
|
+
/** The field gained focus natively. */
|
|
8
|
+
focused(node: HostNode | null): void;
|
|
9
|
+
/** The field lost focus natively. */
|
|
10
|
+
blurred(node: HostNode | null): void;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=focusRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focusRegistry.d.ts","sourceRoot":"","sources":["../../../../src/focusRegistry.ts"],"names":[],"mappings":"AAkBA,KAAK,QAAQ,GAAG,MAAM,CAAC;AA0BvB,eAAO,MAAM,aAAa;IACxB,oCAAoC;mBACrB,QAAQ,GAAG,IAAI;IAQ9B,4EAA4E;qBAC3D,QAAQ,GAAG,IAAI;IAYhC,uCAAuC;kBACzB,QAAQ,GAAG,IAAI,GAAG,IAAI;IAUpC,qCAAqC;kBACvB,QAAQ,GAAG,IAAI,GAAG,IAAI;CASrC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type ImageRequireSource, type ImageURISource } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* A single icon source.
|
|
4
|
+
*
|
|
5
|
+
* - `string`: shorthand for an SF Symbol name on iOS and a drawable resource
|
|
6
|
+
* name on Android.
|
|
7
|
+
* - `{ type: 'sfSymbol' }`: an SF Symbol. iOS only; ignored on Android.
|
|
8
|
+
* - `{ type: 'drawable' }`: a drawable from the app's `res/drawable`.
|
|
9
|
+
* Android only; ignored on iOS.
|
|
10
|
+
* - `{ type: 'image' }`: an image asset (`require('./icon.png')`) or a
|
|
11
|
+
* `{ uri }` source. Works on both platforms. Images are drawn as tinted
|
|
12
|
+
* templates unless `tinted` is `false`.
|
|
13
|
+
*/
|
|
14
|
+
export type PlatformIconSource = string | {
|
|
15
|
+
type: 'sfSymbol';
|
|
16
|
+
name: string;
|
|
17
|
+
} | {
|
|
18
|
+
type: 'drawable';
|
|
19
|
+
name: string;
|
|
20
|
+
} | {
|
|
21
|
+
type: 'image';
|
|
22
|
+
source: ImageRequireSource | ImageURISource;
|
|
23
|
+
tinted?: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* An icon: a single source used on both platforms, or a per-platform pair so
|
|
27
|
+
* callers don't need to branch on `Platform.OS`.
|
|
28
|
+
*/
|
|
29
|
+
export type PlatformIcon = PlatformIconSource | {
|
|
30
|
+
ios?: PlatformIconSource;
|
|
31
|
+
android?: PlatformIconSource;
|
|
32
|
+
};
|
|
33
|
+
/** The flat icon fields the native specs expect. */
|
|
34
|
+
export type NativeIconFields = {
|
|
35
|
+
/** '' | 'sfSymbol' | 'drawable' | 'image' */
|
|
36
|
+
iconType: string;
|
|
37
|
+
/** SF Symbol (iOS) or drawable resource name (Android) */
|
|
38
|
+
iconName: string;
|
|
39
|
+
/** Resolved image URI when iconType === 'image' */
|
|
40
|
+
iconUri: string;
|
|
41
|
+
/** Resolved image scale when iconType === 'image' */
|
|
42
|
+
iconScale: number;
|
|
43
|
+
/** 'true' | 'false': draw the image as a tinted template */
|
|
44
|
+
iconTinted: string;
|
|
45
|
+
};
|
|
46
|
+
export declare const NO_ICON: NativeIconFields;
|
|
47
|
+
/**
|
|
48
|
+
* Flattens the public icon shape into the strings native expects, dropping
|
|
49
|
+
* sources that don't apply to the current platform.
|
|
50
|
+
*/
|
|
51
|
+
export declare function resolveIcon(icon: PlatformIcon | undefined): NativeIconFields;
|
|
52
|
+
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/icons.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAEtB;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kBAAkB,GAC1B,MAAM,GACN;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAClC;IACE,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,kBAAkB,GAAG,cAAc,CAAC;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEN;;;GAGG;AACH,MAAM,MAAM,YAAY,GACpB,kBAAkB,GAClB;IACE,GAAG,CAAC,EAAE,kBAAkB,CAAC;IACzB,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEN,oDAAoD;AACpD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAC;IACjB,mDAAmD;IACnD,OAAO,EAAE,MAAM,CAAC;IAChB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,gBAMrB,CAAC;AAWF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,YAAY,GAAG,SAAS,GAAG,gBAAgB,CAoC5E"}
|
|
@@ -2,7 +2,13 @@ export * from './DatePicker.js';
|
|
|
2
2
|
export * from './SelectionMenu.js';
|
|
3
3
|
export * from './ContextMenu.js';
|
|
4
4
|
export * from './SegmentedControl.js';
|
|
5
|
+
export * from './Button.js';
|
|
6
|
+
export * from './ButtonGroup.js';
|
|
7
|
+
export * from './FloatingToolbar.js';
|
|
5
8
|
export * from './LiquidGlass.js';
|
|
9
|
+
export * from './TextField.js';
|
|
10
|
+
export * from './icons.js';
|
|
11
|
+
export * from './labelStyle.js';
|
|
6
12
|
export * from './sharedTypes.js';
|
|
7
13
|
export * from './NativeTheme.js';
|
|
8
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAc,CAAC;AAC7B,cAAc,oBAAiB,CAAC;AAChC,cAAc,kBAAe,CAAC;AAC9B,cAAc,uBAAoB,CAAC;AACnC,cAAc,kBAAe,CAAC;AAC9B,cAAc,kBAAe,CAAC;AAC9B,cAAc,kBAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,iBAAc,CAAC;AAC7B,cAAc,oBAAiB,CAAC;AAChC,cAAc,kBAAe,CAAC;AAC9B,cAAc,uBAAoB,CAAC;AACnC,cAAc,aAAU,CAAC;AACzB,cAAc,kBAAe,CAAC;AAC9B,cAAc,sBAAmB,CAAC;AAClC,cAAc,kBAAe,CAAC;AAC9B,cAAc,gBAAa,CAAC;AAC5B,cAAc,YAAS,CAAC;AACxB,cAAc,iBAAc,CAAC;AAC7B,cAAc,kBAAe,CAAC;AAC9B,cAAc,kBAAe,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import type { ColorValue, StyleProp, ViewStyle, ViewProps } from 'react-native';
|
|
4
|
+
import type { PlatformIcon } from './icons.js';
|
|
5
|
+
import type { LabelStyle } from './labelStyle.js';
|
|
4
6
|
export type Visible = 'open' | 'closed';
|
|
5
7
|
export type Presentation = 'modal' | 'embedded';
|
|
6
8
|
export type AndroidMaterialMode = 'system' | 'm3';
|
|
@@ -116,6 +118,64 @@ export interface SegmentedControlProps extends ViewProps {
|
|
|
116
118
|
android?: Record<string, unknown>;
|
|
117
119
|
}
|
|
118
120
|
export declare const SegmentedControl: (_props: SegmentedControlProps) => React.ReactElement | null;
|
|
121
|
+
export type { PlatformIcon, PlatformIconSource, NativeIconFields, } from './icons.js';
|
|
122
|
+
export type { LabelStyle, NativeLabelStyle } from './labelStyle.js';
|
|
123
|
+
export type ButtonVariant = 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
|
|
124
|
+
export type ButtonSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
125
|
+
export type ButtonShape = 'round' | 'square';
|
|
126
|
+
export interface ButtonProps extends ViewProps {
|
|
127
|
+
label?: string;
|
|
128
|
+
icon?: PlatformIcon;
|
|
129
|
+
variant?: ButtonVariant;
|
|
130
|
+
size?: ButtonSize;
|
|
131
|
+
shape?: ButtonShape;
|
|
132
|
+
disabled?: boolean;
|
|
133
|
+
color?: ColorValue;
|
|
134
|
+
tintColor?: ColorValue;
|
|
135
|
+
labelStyle?: LabelStyle;
|
|
136
|
+
accessibilityLabel?: string;
|
|
137
|
+
onPress?: () => void;
|
|
138
|
+
android?: Record<string, unknown>;
|
|
139
|
+
}
|
|
140
|
+
export declare const Button: (_props: ButtonProps) => React.ReactElement | null;
|
|
141
|
+
export type ButtonGroupSelection = 'none' | 'single' | 'multiple';
|
|
142
|
+
export type ButtonGroupOverflow = 'none' | 'menu' | 'wrap';
|
|
143
|
+
export interface ButtonGroupButtonProps {
|
|
144
|
+
label?: string;
|
|
145
|
+
value: string;
|
|
146
|
+
disabled?: boolean;
|
|
147
|
+
icon?: PlatformIcon;
|
|
148
|
+
accessibilityLabel?: string;
|
|
149
|
+
}
|
|
150
|
+
export interface ButtonGroupProps extends ViewProps {
|
|
151
|
+
buttons: readonly ButtonGroupButtonProps[];
|
|
152
|
+
variant?: ButtonVariant;
|
|
153
|
+
size?: ButtonSize;
|
|
154
|
+
shape?: ButtonShape;
|
|
155
|
+
connected?: boolean;
|
|
156
|
+
spacing?: number;
|
|
157
|
+
selection?: ButtonGroupSelection;
|
|
158
|
+
selectedValues?: readonly string[];
|
|
159
|
+
selectionRequired?: boolean;
|
|
160
|
+
disabled?: boolean;
|
|
161
|
+
color?: ColorValue;
|
|
162
|
+
tintColor?: ColorValue;
|
|
163
|
+
labelStyle?: LabelStyle;
|
|
164
|
+
onPress?: (value: string, index: number) => void;
|
|
165
|
+
onSelectionChange?: (values: string[]) => void;
|
|
166
|
+
android?: Record<string, unknown>;
|
|
167
|
+
}
|
|
168
|
+
export declare const ButtonGroup: (_props: ButtonGroupProps) => React.ReactElement | null;
|
|
169
|
+
export type FloatingToolbarIOSEffect = 'regular' | 'clear';
|
|
170
|
+
export type FloatingToolbarAndroidVariant = 'standard' | 'vibrant';
|
|
171
|
+
export interface FloatingToolbarProps extends ViewProps {
|
|
172
|
+
orientation?: 'horizontal' | 'vertical';
|
|
173
|
+
color?: ColorValue;
|
|
174
|
+
ios?: Record<string, unknown>;
|
|
175
|
+
android?: Record<string, unknown>;
|
|
176
|
+
children?: ReactNode;
|
|
177
|
+
}
|
|
178
|
+
export declare const FloatingToolbar: ({ children, }: FloatingToolbarProps) => React.ReactElement | null;
|
|
119
179
|
export interface LiquidGlassProps extends ViewProps {
|
|
120
180
|
cornerRadius?: number;
|
|
121
181
|
ios?: Record<string, unknown>;
|
|
@@ -124,6 +184,67 @@ export interface LiquidGlassProps extends ViewProps {
|
|
|
124
184
|
}
|
|
125
185
|
export declare const LiquidGlass: ({ children, }: LiquidGlassProps) => React.ReactElement | null;
|
|
126
186
|
export declare const isLiquidGlassSupported = false;
|
|
187
|
+
export type TextFieldKeyboardType = 'default' | 'number-pad' | 'decimal-pad' | 'numeric' | 'email-address' | 'phone-pad' | 'url' | 'ascii-capable' | 'numbers-and-punctuation' | 'name-phone-pad' | 'twitter' | 'web-search' | 'visible-password';
|
|
188
|
+
export type TextFieldReturnKeyType = 'default' | 'done' | 'go' | 'next' | 'search' | 'send' | 'none' | 'previous';
|
|
189
|
+
export type TextFieldAutoComplete = 'off' | 'username' | 'password' | 'new-password' | 'one-time-code' | 'email' | 'name' | 'given-name' | 'family-name' | 'tel' | 'street-address' | 'postal-code' | 'country' | 'cc-number' | 'cc-exp' | 'cc-csc' | 'url';
|
|
190
|
+
export type TextFieldAutoCapitalize = 'none' | 'sentences' | 'words' | 'characters';
|
|
191
|
+
export type TextFieldClearButtonMode = 'never' | 'while-editing' | 'unless-editing' | 'always';
|
|
192
|
+
export type TextFieldIOSChoice = 'default' | 'yes' | 'no';
|
|
193
|
+
export type TextFieldEvent = {
|
|
194
|
+
nativeEvent: {
|
|
195
|
+
text: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export type TextFieldChangeEvent = {
|
|
199
|
+
nativeEvent: {
|
|
200
|
+
text: string;
|
|
201
|
+
eventCount: number;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export interface TextFieldRef {
|
|
205
|
+
focus(): void;
|
|
206
|
+
blur(): void;
|
|
207
|
+
clear(): void;
|
|
208
|
+
isFocused(): boolean;
|
|
209
|
+
}
|
|
210
|
+
export interface TextFieldProps extends Omit<ViewProps, 'onFocus' | 'onBlur' | 'children'> {
|
|
211
|
+
value?: string;
|
|
212
|
+
defaultValue?: string;
|
|
213
|
+
onChangeText?: (text: string) => void;
|
|
214
|
+
onChange?: (event: TextFieldChangeEvent) => void;
|
|
215
|
+
onFocus?: (event: TextFieldEvent) => void;
|
|
216
|
+
onBlur?: (event: TextFieldEvent) => void;
|
|
217
|
+
onSubmitEditing?: (event: TextFieldEvent) => void;
|
|
218
|
+
label?: string;
|
|
219
|
+
placeholder?: string;
|
|
220
|
+
supportingText?: string;
|
|
221
|
+
error?: boolean | string;
|
|
222
|
+
prefix?: string;
|
|
223
|
+
suffix?: string;
|
|
224
|
+
leadingIcon?: PlatformIcon;
|
|
225
|
+
trailingIcon?: PlatformIcon;
|
|
226
|
+
onTrailingIconPress?: () => void;
|
|
227
|
+
clearButtonMode?: TextFieldClearButtonMode;
|
|
228
|
+
passwordToggle?: boolean;
|
|
229
|
+
showCharacterCount?: boolean;
|
|
230
|
+
maxLength?: number;
|
|
231
|
+
keyboardType?: TextFieldKeyboardType;
|
|
232
|
+
returnKeyType?: TextFieldReturnKeyType;
|
|
233
|
+
autoCapitalize?: TextFieldAutoCapitalize;
|
|
234
|
+
autoCorrect?: boolean;
|
|
235
|
+
secureTextEntry?: boolean;
|
|
236
|
+
multiline?: boolean;
|
|
237
|
+
editable?: boolean;
|
|
238
|
+
autoFocus?: boolean;
|
|
239
|
+
selectTextOnFocus?: boolean;
|
|
240
|
+
autoComplete?: TextFieldAutoComplete;
|
|
241
|
+
keyboardAppearance?: 'default' | 'light' | 'dark';
|
|
242
|
+
textStyle?: LabelStyle;
|
|
243
|
+
accessibilityLabel?: string;
|
|
244
|
+
ios?: Record<string, unknown>;
|
|
245
|
+
android?: Record<string, unknown>;
|
|
246
|
+
}
|
|
247
|
+
export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<TextFieldRef>>;
|
|
127
248
|
export type NativeTheme = {
|
|
128
249
|
colors: {
|
|
129
250
|
primary: ColorValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/index.web.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/index.web.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAS,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAc,CAAC;AAM/C,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AACxC,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,UAAU,CAAC;AAChD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,IAAI,CAAC;AAMlD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,aAAa,GAAG,gBAAgB,CAAC;IAC1D,YAAY,CAAC,EAAE,OAAO,GAAG,UAAU,CAA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