@xaui/native 0.9.1-beta.98 → 0.9.1-beta.99
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/dist/{chunk-XCEDD7PE.cjs → chunk-GEWYOB25.cjs} +34 -25
- package/dist/{chunk-EXONAJUX.js → chunk-IYUT2IKZ.js} +26 -17
- package/dist/{chunk-WH7MFY3H.cjs → chunk-JMHB7K53.cjs} +140 -29
- package/dist/{chunk-VQG7K5QE.js → chunk-XJEG4Q2R.js} +175 -61
- package/dist/components/autocomplete/autocomplete-description.d.cts +14 -0
- package/dist/components/autocomplete/autocomplete-description.d.ts +14 -0
- package/dist/components/autocomplete/autocomplete-error.d.cts +12 -0
- package/dist/components/autocomplete/autocomplete-error.d.ts +12 -0
- package/dist/components/autocomplete/autocomplete-label.d.cts +15 -0
- package/dist/components/autocomplete/autocomplete-label.d.ts +15 -0
- package/dist/components/autocomplete/autocomplete.d.cts +50 -7
- package/dist/components/autocomplete/autocomplete.d.ts +50 -7
- package/dist/components/autocomplete/autocomplete.type.d.cts +21 -4
- package/dist/components/autocomplete/autocomplete.type.d.ts +21 -4
- package/dist/components/autocomplete/index.cjs +9 -2
- package/dist/components/autocomplete/index.d.cts +50 -3
- package/dist/components/autocomplete/index.d.ts +50 -3
- package/dist/components/autocomplete/index.js +8 -1
- package/dist/components/color-picker/index.cjs +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.type.d.cts +5 -1
- package/dist/components/combobox/combobox.type.d.ts +5 -1
- package/dist/components/combobox/index.cjs +4 -3
- package/dist/components/combobox/index.d.cts +15 -1
- package/dist/components/combobox/index.d.ts +15 -1
- package/dist/components/combobox/index.js +3 -2
- package/dist/components/date-picker/index.cjs +3 -3
- package/dist/components/date-picker/index.js +2 -2
- package/dist/components/mask-field/index.cjs +1 -1
- package/dist/components/mask-field/index.js +1 -1
- package/dist/components/phone-number-field/index.cjs +1 -1
- package/dist/components/phone-number-field/index.js +1 -1
- package/dist/components/search-field/index.cjs +3 -3
- package/dist/components/search-field/index.js +2 -2
- package/dist/index.cjs +9 -9
- package/dist/index.js +8 -8
- package/package.json +1 -1
- package/dist/{chunk-L6EWRWTE.js → chunk-ESP2X6PN.js} +3 -3
- package/dist/{chunk-3CI4JGY4.cjs → chunk-FLKTJ46K.cjs} +2 -2
- package/dist/{chunk-ES7RME6G.js → chunk-M352N6PQ.js} +3 -3
- package/dist/{chunk-7CGF3Z5S.cjs → chunk-VQIQ3ERR.cjs} +3 -3
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { View } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* A field that opens a list you search.
|
|
4
4
|
*
|
|
5
5
|
* ```tsx
|
|
6
6
|
* <Autocomplete onValueChange={setState}>
|
|
7
|
+
* <Autocomplete.Label>État</Autocomplete.Label>
|
|
7
8
|
* <Autocomplete.Trigger>
|
|
8
9
|
* <Autocomplete.Value placeholder="Choisir un état" />
|
|
9
10
|
* <Autocomplete.Indicator />
|
|
@@ -15,6 +16,7 @@ import type { AutocompleteProps } from './autocomplete.type';
|
|
|
15
16
|
* <Autocomplete.Item value="tx">Texas</Autocomplete.Item>
|
|
16
17
|
* <Autocomplete.Empty>Aucun résultat</Autocomplete.Empty>
|
|
17
18
|
* </Autocomplete.Content>
|
|
19
|
+
* <Autocomplete.Description>Cinquante États, une seule ligne.</Autocomplete.Description>
|
|
18
20
|
* </Autocomplete>
|
|
19
21
|
* ```
|
|
20
22
|
*
|
|
@@ -30,10 +32,51 @@ import type { AutocompleteProps } from './autocomplete.type';
|
|
|
30
32
|
* the drift would show as a select and an autocomplete side by side in a form with fields
|
|
31
33
|
* half a shade apart.
|
|
32
34
|
*
|
|
33
|
-
* **The root
|
|
34
|
-
*
|
|
35
|
+
* **The root is the column, not the field** — the `TextField`'s shape, and the
|
|
36
|
+
* `DatePicker`'s: a `View` that stacks `Autocomplete.Label`, the trigger and
|
|
37
|
+
* `Autocomplete.Description` / `.Error` with one `gap`, so JSX order is screen order. It is
|
|
38
|
+
* the column and the help lines that make this a field on a form rather than a button that
|
|
39
|
+
* opens a list, and they are the `TextField`'s token for token — a text field and an
|
|
40
|
+
* autocomplete on the same form read as one control.
|
|
41
|
+
*
|
|
42
|
+
* `Autocomplete.Trigger` is the field, and it keeps its own `ref` — it is the node the
|
|
43
|
+
* panel measures. `Autocomplete.Overlay` and `Autocomplete.Content` portal out, so they add
|
|
44
|
+
* nothing to the column.
|
|
35
45
|
*/
|
|
36
|
-
export declare
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
export declare const Autocomplete: import("react").ForwardRefExoticComponent<{
|
|
47
|
+
children?: import("react").ReactNode;
|
|
48
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
49
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
50
|
+
radius?: import("../..").RadiusKey;
|
|
51
|
+
color?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
defaultValue?: string;
|
|
54
|
+
onValueChange?: (value: string) => void;
|
|
55
|
+
isOpen?: boolean;
|
|
56
|
+
defaultOpen?: boolean;
|
|
57
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
58
|
+
query?: string;
|
|
59
|
+
defaultQuery?: string;
|
|
60
|
+
onQueryChange?: (query: string) => void;
|
|
61
|
+
isDisabled?: boolean;
|
|
62
|
+
isInvalid?: boolean;
|
|
63
|
+
asChild?: boolean;
|
|
64
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
65
|
+
children?: import("react").ReactNode;
|
|
66
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
67
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
68
|
+
radius?: import("../..").RadiusKey;
|
|
69
|
+
color?: string;
|
|
70
|
+
value?: string;
|
|
71
|
+
defaultValue?: string;
|
|
72
|
+
onValueChange?: (value: string) => void;
|
|
73
|
+
isOpen?: boolean;
|
|
74
|
+
defaultOpen?: boolean;
|
|
75
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
76
|
+
query?: string;
|
|
77
|
+
defaultQuery?: string;
|
|
78
|
+
onQueryChange?: (query: string) => void;
|
|
79
|
+
isDisabled?: boolean;
|
|
80
|
+
isInvalid?: boolean;
|
|
81
|
+
asChild?: boolean;
|
|
82
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "asChild" | "radius" | "size" | "variant" | "defaultValue" | "onValueChange" | "isOpen" | "defaultOpen" | "onOpenChange" | "isInvalid" | "query" | "defaultQuery" | "onQueryChange"> & import("react").RefAttributes<View>>;
|
|
@@ -34,13 +34,15 @@ type AutocompleteOwnProps = {
|
|
|
34
34
|
onQueryChange?: (query: string) => void;
|
|
35
35
|
isDisabled?: boolean;
|
|
36
36
|
isInvalid?: boolean;
|
|
37
|
+
asChild?: boolean;
|
|
37
38
|
};
|
|
38
39
|
/**
|
|
39
|
-
* The root
|
|
40
|
-
*
|
|
41
|
-
* `
|
|
40
|
+
* The root is the **column** — a `View` stacking the label, the trigger and the help line —
|
|
41
|
+
* so `ref`, `style` and R14's style props here dress that column. The control itself is
|
|
42
|
+
* `Autocomplete.Trigger`, which keeps its own `ref` and its own a11y props: it is the node
|
|
43
|
+
* the panel measures and the node a screen reader stops on.
|
|
42
44
|
*/
|
|
43
|
-
export type AutocompleteProps = AutocompleteOwnProps
|
|
45
|
+
export type AutocompleteProps = AutocompleteOwnProps & Omit<ViewProps, keyof AutocompleteOwnProps> & Omit<ViewStyleProps, keyof AutocompleteOwnProps | keyof ViewProps>;
|
|
44
46
|
export type AutocompleteTriggerProps = {
|
|
45
47
|
children?: ReactNode;
|
|
46
48
|
asChild?: boolean;
|
|
@@ -51,6 +53,15 @@ type AutocompleteTextOwnProps = {
|
|
|
51
53
|
};
|
|
52
54
|
export type AutocompleteValueProps = AutocompleteTextOwnProps & Omit<TextProps, keyof AutocompleteTextOwnProps> & Omit<TextStyleProps, keyof AutocompleteTextOwnProps | keyof TextProps>;
|
|
53
55
|
export type AutocompleteOverlayProps = ViewProps & ViewStyleProps;
|
|
56
|
+
type AutocompleteTextSlotOwnProps = {
|
|
57
|
+
children?: ReactNode;
|
|
58
|
+
};
|
|
59
|
+
/** What the field is for — the `TextField.Label`, on a field that opens a list. */
|
|
60
|
+
export type AutocompleteLabelProps = AutocompleteTextSlotOwnProps & Omit<TextProps, keyof AutocompleteTextSlotOwnProps> & Omit<TextStyleProps, keyof AutocompleteTextSlotOwnProps | keyof TextProps>;
|
|
61
|
+
/** The hint under the field — the `TextField.Description`. */
|
|
62
|
+
export type AutocompleteDescriptionProps = AutocompleteLabelProps;
|
|
63
|
+
/** What is wrong with the chosen row — the `TextField.Error`. */
|
|
64
|
+
export type AutocompleteErrorProps = AutocompleteLabelProps;
|
|
54
65
|
/** A row's own word. It has no placeholder — a row is never empty. */
|
|
55
66
|
export type AutocompleteItemLabelProps = {
|
|
56
67
|
children?: ReactNode;
|
|
@@ -92,6 +103,9 @@ export type AutocompleteContextValue = {
|
|
|
92
103
|
itemStyle: StyleProp<ViewStyle>;
|
|
93
104
|
itemPressedStyle: StyleProp<ViewStyle>;
|
|
94
105
|
itemLabelStyle: StyleProp<TextStyle>;
|
|
106
|
+
labelStyle: StyleProp<TextStyle>;
|
|
107
|
+
descriptionStyle: StyleProp<TextStyle>;
|
|
108
|
+
errorStyle: StyleProp<TextStyle>;
|
|
95
109
|
glyph: IconContextValue;
|
|
96
110
|
placeholderColor?: string;
|
|
97
111
|
value?: string;
|
|
@@ -108,6 +122,9 @@ export type AutocompleteContextValue = {
|
|
|
108
122
|
setAnchor: (anchor: AutocompleteAnchor) => void;
|
|
109
123
|
labelFor: (value: string) => string | undefined;
|
|
110
124
|
registerLabel: (value: string, label: string) => void;
|
|
125
|
+
/** The ids the trigger points at, so the label and the hint are what it is announced by. */
|
|
126
|
+
labelId: string;
|
|
127
|
+
descriptionId: string;
|
|
111
128
|
};
|
|
112
129
|
/** What one row publishes to its own slots. */
|
|
113
130
|
export type AutocompleteItemContextValue = {
|
|
@@ -34,13 +34,15 @@ type AutocompleteOwnProps = {
|
|
|
34
34
|
onQueryChange?: (query: string) => void;
|
|
35
35
|
isDisabled?: boolean;
|
|
36
36
|
isInvalid?: boolean;
|
|
37
|
+
asChild?: boolean;
|
|
37
38
|
};
|
|
38
39
|
/**
|
|
39
|
-
* The root
|
|
40
|
-
*
|
|
41
|
-
* `
|
|
40
|
+
* The root is the **column** — a `View` stacking the label, the trigger and the help line —
|
|
41
|
+
* so `ref`, `style` and R14's style props here dress that column. The control itself is
|
|
42
|
+
* `Autocomplete.Trigger`, which keeps its own `ref` and its own a11y props: it is the node
|
|
43
|
+
* the panel measures and the node a screen reader stops on.
|
|
42
44
|
*/
|
|
43
|
-
export type AutocompleteProps = AutocompleteOwnProps
|
|
45
|
+
export type AutocompleteProps = AutocompleteOwnProps & Omit<ViewProps, keyof AutocompleteOwnProps> & Omit<ViewStyleProps, keyof AutocompleteOwnProps | keyof ViewProps>;
|
|
44
46
|
export type AutocompleteTriggerProps = {
|
|
45
47
|
children?: ReactNode;
|
|
46
48
|
asChild?: boolean;
|
|
@@ -51,6 +53,15 @@ type AutocompleteTextOwnProps = {
|
|
|
51
53
|
};
|
|
52
54
|
export type AutocompleteValueProps = AutocompleteTextOwnProps & Omit<TextProps, keyof AutocompleteTextOwnProps> & Omit<TextStyleProps, keyof AutocompleteTextOwnProps | keyof TextProps>;
|
|
53
55
|
export type AutocompleteOverlayProps = ViewProps & ViewStyleProps;
|
|
56
|
+
type AutocompleteTextSlotOwnProps = {
|
|
57
|
+
children?: ReactNode;
|
|
58
|
+
};
|
|
59
|
+
/** What the field is for — the `TextField.Label`, on a field that opens a list. */
|
|
60
|
+
export type AutocompleteLabelProps = AutocompleteTextSlotOwnProps & Omit<TextProps, keyof AutocompleteTextSlotOwnProps> & Omit<TextStyleProps, keyof AutocompleteTextSlotOwnProps | keyof TextProps>;
|
|
61
|
+
/** The hint under the field — the `TextField.Description`. */
|
|
62
|
+
export type AutocompleteDescriptionProps = AutocompleteLabelProps;
|
|
63
|
+
/** What is wrong with the chosen row — the `TextField.Error`. */
|
|
64
|
+
export type AutocompleteErrorProps = AutocompleteLabelProps;
|
|
54
65
|
/** A row's own word. It has no placeholder — a row is never empty. */
|
|
55
66
|
export type AutocompleteItemLabelProps = {
|
|
56
67
|
children?: ReactNode;
|
|
@@ -92,6 +103,9 @@ export type AutocompleteContextValue = {
|
|
|
92
103
|
itemStyle: StyleProp<ViewStyle>;
|
|
93
104
|
itemPressedStyle: StyleProp<ViewStyle>;
|
|
94
105
|
itemLabelStyle: StyleProp<TextStyle>;
|
|
106
|
+
labelStyle: StyleProp<TextStyle>;
|
|
107
|
+
descriptionStyle: StyleProp<TextStyle>;
|
|
108
|
+
errorStyle: StyleProp<TextStyle>;
|
|
95
109
|
glyph: IconContextValue;
|
|
96
110
|
placeholderColor?: string;
|
|
97
111
|
value?: string;
|
|
@@ -108,6 +122,9 @@ export type AutocompleteContextValue = {
|
|
|
108
122
|
setAnchor: (anchor: AutocompleteAnchor) => void;
|
|
109
123
|
labelFor: (value: string) => string | undefined;
|
|
110
124
|
registerLabel: (value: string, label: string) => void;
|
|
125
|
+
/** The ids the trigger points at, so the label and the hint are what it is announced by. */
|
|
126
|
+
labelId: string;
|
|
127
|
+
descriptionId: string;
|
|
111
128
|
};
|
|
112
129
|
/** What one row publishes to its own slots. */
|
|
113
130
|
export type AutocompleteItemContextValue = {
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkJMHB7K53cjs = require('../../chunk-JMHB7K53.cjs');
|
|
17
20
|
require('../../chunk-FJGPDWMS.cjs');
|
|
18
21
|
require('../../chunk-YVYYONTP.cjs');
|
|
22
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
19
23
|
require('../../chunk-XILRXEUL.cjs');
|
|
20
24
|
require('../../chunk-WDDXU3OH.cjs');
|
|
21
25
|
require('../../chunk-EKS3W46M.cjs');
|
|
@@ -47,4 +51,7 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
47
51
|
|
|
48
52
|
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
exports.Autocomplete = _chunkJMHB7K53cjs.Autocomplete2; exports.AutocompleteContent = _chunkJMHB7K53cjs.AutocompleteContent; exports.AutocompleteDescription = _chunkJMHB7K53cjs.AutocompleteDescription; exports.AutocompleteEmpty = _chunkJMHB7K53cjs.AutocompleteEmpty; exports.AutocompleteError = _chunkJMHB7K53cjs.AutocompleteError; exports.AutocompleteIndicator = _chunkJMHB7K53cjs.AutocompleteIndicator; exports.AutocompleteItem = _chunkJMHB7K53cjs.AutocompleteItem; exports.AutocompleteItemLabel = _chunkJMHB7K53cjs.AutocompleteItemLabel; exports.AutocompleteLabel = _chunkJMHB7K53cjs.AutocompleteLabel; exports.AutocompleteOverlay = _chunkJMHB7K53cjs.AutocompleteOverlay; exports.AutocompleteRoot = _chunkJMHB7K53cjs.Autocomplete; exports.AutocompleteSearch = _chunkJMHB7K53cjs.AutocompleteSearch; exports.AutocompleteTrigger = _chunkJMHB7K53cjs.AutocompleteTrigger; exports.AutocompleteValue = _chunkJMHB7K53cjs.AutocompleteValue; exports.autocompleteRecipe = _chunkJMHB7K53cjs.autocompleteRecipe; exports.useAutocomplete = _chunkJMHB7K53cjs.useAutocomplete; exports.useAutocompleteItem = _chunkJMHB7K53cjs.useAutocompleteItem;
|
|
@@ -1,6 +1,44 @@
|
|
|
1
|
-
import { Autocomplete as AutocompleteRoot } from './autocomplete';
|
|
2
1
|
import { AutocompleteIndicator } from './autocomplete-indicator';
|
|
3
|
-
export declare const Autocomplete:
|
|
2
|
+
export declare const Autocomplete: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
5
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
6
|
+
radius?: import("../..").RadiusKey;
|
|
7
|
+
color?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
onValueChange?: (value: string) => void;
|
|
11
|
+
isOpen?: boolean;
|
|
12
|
+
defaultOpen?: boolean;
|
|
13
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
14
|
+
query?: string;
|
|
15
|
+
defaultQuery?: string;
|
|
16
|
+
onQueryChange?: (query: string) => void;
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
isInvalid?: boolean;
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
21
|
+
children?: import("react").ReactNode;
|
|
22
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
23
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
24
|
+
radius?: import("../..").RadiusKey;
|
|
25
|
+
color?: string;
|
|
26
|
+
value?: string;
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
onValueChange?: (value: string) => void;
|
|
29
|
+
isOpen?: boolean;
|
|
30
|
+
defaultOpen?: boolean;
|
|
31
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
32
|
+
query?: string;
|
|
33
|
+
defaultQuery?: string;
|
|
34
|
+
onQueryChange?: (query: string) => void;
|
|
35
|
+
isDisabled?: boolean;
|
|
36
|
+
isInvalid?: boolean;
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "asChild" | "radius" | "size" | "variant" | "defaultValue" | "onValueChange" | "isOpen" | "defaultOpen" | "onOpenChange" | "isInvalid" | "query" | "defaultQuery" | "onQueryChange"> & import("react").RefAttributes<import("react-native").View>> & {
|
|
39
|
+
Label: import("react").ForwardRefExoticComponent<{
|
|
40
|
+
children?: import("react").ReactNode;
|
|
41
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
4
42
|
Trigger: import("react").ForwardRefExoticComponent<{
|
|
5
43
|
children?: import("react").ReactNode;
|
|
6
44
|
asChild?: boolean;
|
|
@@ -57,17 +95,26 @@ export declare const Autocomplete: typeof AutocompleteRoot & {
|
|
|
57
95
|
Empty: import("react").ForwardRefExoticComponent<{
|
|
58
96
|
children?: import("react").ReactNode;
|
|
59
97
|
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
98
|
+
Description: import("react").ForwardRefExoticComponent<{
|
|
99
|
+
children?: import("react").ReactNode;
|
|
100
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
101
|
+
Error: import("react").ForwardRefExoticComponent<{
|
|
102
|
+
children?: import("react").ReactNode;
|
|
103
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
60
104
|
};
|
|
61
105
|
export { Autocomplete as AutocompleteRoot } from './autocomplete';
|
|
62
106
|
export { AutocompleteContent } from './autocomplete-content';
|
|
107
|
+
export { AutocompleteDescription } from './autocomplete-description';
|
|
63
108
|
export { AutocompleteEmpty } from './autocomplete-empty';
|
|
109
|
+
export { AutocompleteError } from './autocomplete-error';
|
|
64
110
|
export { AutocompleteIndicator } from './autocomplete-indicator';
|
|
65
111
|
export { AutocompleteItem } from './autocomplete-item';
|
|
66
112
|
export { AutocompleteItemLabel } from './autocomplete-item-label';
|
|
113
|
+
export { AutocompleteLabel } from './autocomplete-label';
|
|
67
114
|
export { AutocompleteOverlay } from './autocomplete-overlay';
|
|
68
115
|
export { AutocompleteSearch } from './autocomplete-search';
|
|
69
116
|
export { AutocompleteTrigger } from './autocomplete-trigger';
|
|
70
117
|
export { AutocompleteValue } from './autocomplete-value';
|
|
71
118
|
export { useAutocomplete, useAutocompleteItem } from './autocomplete.context';
|
|
72
119
|
export { autocompleteRecipe } from './autocomplete.recipe';
|
|
73
|
-
export type { AutocompleteContentProps, AutocompleteContextValue, AutocompleteEmptyProps, AutocompleteItemContextValue, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSearchProps, AutocompleteSize, AutocompleteSlot, AutocompleteTriggerProps, AutocompleteValueProps, AutocompleteVariant, } from './autocomplete.type';
|
|
120
|
+
export type { AutocompleteContentProps, AutocompleteContextValue, AutocompleteDescriptionProps, AutocompleteEmptyProps, AutocompleteErrorProps, AutocompleteItemContextValue, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteLabelProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSearchProps, AutocompleteSize, AutocompleteSlot, AutocompleteTriggerProps, AutocompleteValueProps, AutocompleteVariant, } from './autocomplete.type';
|
|
@@ -1,6 +1,44 @@
|
|
|
1
|
-
import { Autocomplete as AutocompleteRoot } from './autocomplete';
|
|
2
1
|
import { AutocompleteIndicator } from './autocomplete-indicator';
|
|
3
|
-
export declare const Autocomplete:
|
|
2
|
+
export declare const Autocomplete: import("react").ForwardRefExoticComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
5
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
6
|
+
radius?: import("../..").RadiusKey;
|
|
7
|
+
color?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
defaultValue?: string;
|
|
10
|
+
onValueChange?: (value: string) => void;
|
|
11
|
+
isOpen?: boolean;
|
|
12
|
+
defaultOpen?: boolean;
|
|
13
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
14
|
+
query?: string;
|
|
15
|
+
defaultQuery?: string;
|
|
16
|
+
onQueryChange?: (query: string) => void;
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
isInvalid?: boolean;
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
} & Omit<import("react-native").ViewProps, keyof {
|
|
21
|
+
children?: import("react").ReactNode;
|
|
22
|
+
variant?: import("./autocomplete.type").AutocompleteVariant;
|
|
23
|
+
size?: import("./autocomplete.type").AutocompleteSize;
|
|
24
|
+
radius?: import("../..").RadiusKey;
|
|
25
|
+
color?: string;
|
|
26
|
+
value?: string;
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
onValueChange?: (value: string) => void;
|
|
29
|
+
isOpen?: boolean;
|
|
30
|
+
defaultOpen?: boolean;
|
|
31
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
32
|
+
query?: string;
|
|
33
|
+
defaultQuery?: string;
|
|
34
|
+
onQueryChange?: (query: string) => void;
|
|
35
|
+
isDisabled?: boolean;
|
|
36
|
+
isInvalid?: boolean;
|
|
37
|
+
asChild?: boolean;
|
|
38
|
+
}> & Omit<import("../..").ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "isDisabled" | "asChild" | "radius" | "size" | "variant" | "defaultValue" | "onValueChange" | "isOpen" | "defaultOpen" | "onOpenChange" | "isInvalid" | "query" | "defaultQuery" | "onQueryChange"> & import("react").RefAttributes<import("react-native").View>> & {
|
|
39
|
+
Label: import("react").ForwardRefExoticComponent<{
|
|
40
|
+
children?: import("react").ReactNode;
|
|
41
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
4
42
|
Trigger: import("react").ForwardRefExoticComponent<{
|
|
5
43
|
children?: import("react").ReactNode;
|
|
6
44
|
asChild?: boolean;
|
|
@@ -57,17 +95,26 @@ export declare const Autocomplete: typeof AutocompleteRoot & {
|
|
|
57
95
|
Empty: import("react").ForwardRefExoticComponent<{
|
|
58
96
|
children?: import("react").ReactNode;
|
|
59
97
|
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
98
|
+
Description: import("react").ForwardRefExoticComponent<{
|
|
99
|
+
children?: import("react").ReactNode;
|
|
100
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
101
|
+
Error: import("react").ForwardRefExoticComponent<{
|
|
102
|
+
children?: import("react").ReactNode;
|
|
103
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
60
104
|
};
|
|
61
105
|
export { Autocomplete as AutocompleteRoot } from './autocomplete';
|
|
62
106
|
export { AutocompleteContent } from './autocomplete-content';
|
|
107
|
+
export { AutocompleteDescription } from './autocomplete-description';
|
|
63
108
|
export { AutocompleteEmpty } from './autocomplete-empty';
|
|
109
|
+
export { AutocompleteError } from './autocomplete-error';
|
|
64
110
|
export { AutocompleteIndicator } from './autocomplete-indicator';
|
|
65
111
|
export { AutocompleteItem } from './autocomplete-item';
|
|
66
112
|
export { AutocompleteItemLabel } from './autocomplete-item-label';
|
|
113
|
+
export { AutocompleteLabel } from './autocomplete-label';
|
|
67
114
|
export { AutocompleteOverlay } from './autocomplete-overlay';
|
|
68
115
|
export { AutocompleteSearch } from './autocomplete-search';
|
|
69
116
|
export { AutocompleteTrigger } from './autocomplete-trigger';
|
|
70
117
|
export { AutocompleteValue } from './autocomplete-value';
|
|
71
118
|
export { useAutocomplete, useAutocompleteItem } from './autocomplete.context';
|
|
72
119
|
export { autocompleteRecipe } from './autocomplete.recipe';
|
|
73
|
-
export type { AutocompleteContentProps, AutocompleteContextValue, AutocompleteEmptyProps, AutocompleteItemContextValue, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSearchProps, AutocompleteSize, AutocompleteSlot, AutocompleteTriggerProps, AutocompleteValueProps, AutocompleteVariant, } from './autocomplete.type';
|
|
120
|
+
export type { AutocompleteContentProps, AutocompleteContextValue, AutocompleteDescriptionProps, AutocompleteEmptyProps, AutocompleteErrorProps, AutocompleteItemContextValue, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteLabelProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSearchProps, AutocompleteSize, AutocompleteSlot, AutocompleteTriggerProps, AutocompleteValueProps, AutocompleteVariant, } from './autocomplete.type';
|
|
@@ -2,10 +2,13 @@ import {
|
|
|
2
2
|
Autocomplete,
|
|
3
3
|
Autocomplete2,
|
|
4
4
|
AutocompleteContent,
|
|
5
|
+
AutocompleteDescription,
|
|
5
6
|
AutocompleteEmpty,
|
|
7
|
+
AutocompleteError,
|
|
6
8
|
AutocompleteIndicator,
|
|
7
9
|
AutocompleteItem,
|
|
8
10
|
AutocompleteItemLabel,
|
|
11
|
+
AutocompleteLabel,
|
|
9
12
|
AutocompleteOverlay,
|
|
10
13
|
AutocompleteSearch,
|
|
11
14
|
AutocompleteTrigger,
|
|
@@ -13,9 +16,10 @@ import {
|
|
|
13
16
|
autocompleteRecipe,
|
|
14
17
|
useAutocomplete,
|
|
15
18
|
useAutocompleteItem
|
|
16
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-XJEG4Q2R.js";
|
|
17
20
|
import "../../chunk-4WCBZFAK.js";
|
|
18
21
|
import "../../chunk-Z6FRP4EV.js";
|
|
22
|
+
import "../../chunk-NTVPLDJC.js";
|
|
19
23
|
import "../../chunk-AMFGATFY.js";
|
|
20
24
|
import "../../chunk-2PMXMKS5.js";
|
|
21
25
|
import "../../chunk-64MXEVT3.js";
|
|
@@ -35,10 +39,13 @@ import "../../chunk-M63GFNKV.js";
|
|
|
35
39
|
export {
|
|
36
40
|
Autocomplete2 as Autocomplete,
|
|
37
41
|
AutocompleteContent,
|
|
42
|
+
AutocompleteDescription,
|
|
38
43
|
AutocompleteEmpty,
|
|
44
|
+
AutocompleteError,
|
|
39
45
|
AutocompleteIndicator,
|
|
40
46
|
AutocompleteItem,
|
|
41
47
|
AutocompleteItemLabel,
|
|
48
|
+
AutocompleteLabel,
|
|
42
49
|
AutocompleteOverlay,
|
|
43
50
|
Autocomplete as AutocompleteRoot,
|
|
44
51
|
AutocompleteSearch,
|
|
@@ -14,9 +14,9 @@ var _chunk3DQCHPB6cjs = require('../../chunk-3DQCHPB6.cjs');
|
|
|
14
14
|
require('../../chunk-YUCK5VJO.cjs');
|
|
15
15
|
require('../../chunk-NRU5APUE.cjs');
|
|
16
16
|
require('../../chunk-2IOL3VDP.cjs');
|
|
17
|
-
require('../../chunk-BKY5YQ7W.cjs');
|
|
18
17
|
require('../../chunk-C2S6J27O.cjs');
|
|
19
18
|
require('../../chunk-WNEDQTH6.cjs');
|
|
19
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
20
20
|
require('../../chunk-WDDXU3OH.cjs');
|
|
21
21
|
require('../../chunk-EKS3W46M.cjs');
|
|
22
22
|
require('../../chunk-7EIHHOHP.cjs');
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
import "../../chunk-MXSIY6QQ.js";
|
|
15
15
|
import "../../chunk-MZUYTCCB.js";
|
|
16
16
|
import "../../chunk-JYV53WUN.js";
|
|
17
|
-
import "../../chunk-NTVPLDJC.js";
|
|
18
17
|
import "../../chunk-5G36GMFS.js";
|
|
19
18
|
import "../../chunk-SIX5AVXG.js";
|
|
19
|
+
import "../../chunk-NTVPLDJC.js";
|
|
20
20
|
import "../../chunk-2PMXMKS5.js";
|
|
21
21
|
import "../../chunk-64MXEVT3.js";
|
|
22
22
|
import "../../chunk-F6W3JQ7K.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { TextInputProps, ViewProps } from 'react-native';
|
|
3
3
|
import type { ViewStyleProps, TextStyleProps } from '../../system/style-props';
|
|
4
|
-
import type { AutocompleteContentProps, AutocompleteEmptyProps, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSize, AutocompleteVariant } from '../autocomplete';
|
|
4
|
+
import type { AutocompleteContentProps, AutocompleteDescriptionProps, AutocompleteEmptyProps, AutocompleteErrorProps, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteLabelProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSize, AutocompleteVariant } from '../autocomplete';
|
|
5
5
|
/** The `Autocomplete`'s four field levels, because the box is the same field. */
|
|
6
6
|
export type ComboboxVariant = AutocompleteVariant;
|
|
7
7
|
export type ComboboxSize = AutocompleteSize;
|
|
@@ -36,4 +36,8 @@ export type ComboboxOverlayProps = AutocompleteOverlayProps;
|
|
|
36
36
|
export type ComboboxItemProps = AutocompleteItemProps;
|
|
37
37
|
export type ComboboxItemLabelProps = AutocompleteItemLabelProps;
|
|
38
38
|
export type ComboboxEmptyProps = AutocompleteEmptyProps;
|
|
39
|
+
/** The label and the help lines are the `Autocomplete`'s, because the column is. */
|
|
40
|
+
export type ComboboxLabelProps = AutocompleteLabelProps;
|
|
41
|
+
export type ComboboxDescriptionProps = AutocompleteDescriptionProps;
|
|
42
|
+
export type ComboboxErrorProps = AutocompleteErrorProps;
|
|
39
43
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import type { TextInputProps, ViewProps } from 'react-native';
|
|
3
3
|
import type { ViewStyleProps, TextStyleProps } from '../../system/style-props';
|
|
4
|
-
import type { AutocompleteContentProps, AutocompleteEmptyProps, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSize, AutocompleteVariant } from '../autocomplete';
|
|
4
|
+
import type { AutocompleteContentProps, AutocompleteDescriptionProps, AutocompleteEmptyProps, AutocompleteErrorProps, AutocompleteItemLabelProps, AutocompleteItemProps, AutocompleteLabelProps, AutocompleteOverlayProps, AutocompleteProps, AutocompleteSize, AutocompleteVariant } from '../autocomplete';
|
|
5
5
|
/** The `Autocomplete`'s four field levels, because the box is the same field. */
|
|
6
6
|
export type ComboboxVariant = AutocompleteVariant;
|
|
7
7
|
export type ComboboxSize = AutocompleteSize;
|
|
@@ -36,4 +36,8 @@ export type ComboboxOverlayProps = AutocompleteOverlayProps;
|
|
|
36
36
|
export type ComboboxItemProps = AutocompleteItemProps;
|
|
37
37
|
export type ComboboxItemLabelProps = AutocompleteItemLabelProps;
|
|
38
38
|
export type ComboboxEmptyProps = AutocompleteEmptyProps;
|
|
39
|
+
/** The label and the help lines are the `Autocomplete`'s, because the column is. */
|
|
40
|
+
export type ComboboxLabelProps = AutocompleteLabelProps;
|
|
41
|
+
export type ComboboxDescriptionProps = AutocompleteDescriptionProps;
|
|
42
|
+
export type ComboboxErrorProps = AutocompleteErrorProps;
|
|
39
43
|
export {};
|
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGEWYOB25cjs = require('../../chunk-GEWYOB25.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkJMHB7K53cjs = require('../../chunk-JMHB7K53.cjs');
|
|
11
11
|
require('../../chunk-FJGPDWMS.cjs');
|
|
12
12
|
require('../../chunk-YVYYONTP.cjs');
|
|
13
|
+
require('../../chunk-BKY5YQ7W.cjs');
|
|
13
14
|
require('../../chunk-XILRXEUL.cjs');
|
|
14
15
|
require('../../chunk-WDDXU3OH.cjs');
|
|
15
16
|
require('../../chunk-EKS3W46M.cjs');
|
|
@@ -33,4 +34,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
exports.Combobox =
|
|
37
|
+
exports.Combobox = _chunkGEWYOB25cjs.Combobox; exports.ComboboxIndicator = _chunkGEWYOB25cjs.ComboboxIndicator; exports.ComboboxInput = _chunkGEWYOB25cjs.ComboboxInput; exports.ComboboxRoot = _chunkGEWYOB25cjs.ComboboxRoot; exports.ComboboxTrigger = _chunkGEWYOB25cjs.ComboboxTrigger; exports.useCombobox = _chunkJMHB7K53cjs.useAutocomplete;
|
|
@@ -11,9 +11,17 @@ import { ComboboxRoot } from './combobox';
|
|
|
11
11
|
* by name. A `Combobox.Item` that were a different component would be sorted into "not a
|
|
12
12
|
* row", would never be filtered, and would never register its label.
|
|
13
13
|
*
|
|
14
|
+
* The label and the help lines come from the same place, and for the same reason: the root
|
|
15
|
+
* **is** the `Autocomplete`'s, so the column it renders is already the `TextField`'s, and a
|
|
16
|
+
* combobox that labelled its field differently from the text field beside it would be the
|
|
17
|
+
* drift this sharing exists to prevent.
|
|
18
|
+
*
|
|
14
19
|
* What this component owns is the three slots that make the field the control.
|
|
15
20
|
*/
|
|
16
21
|
export declare const Combobox: typeof ComboboxRoot & {
|
|
22
|
+
Label: import("react").ForwardRefExoticComponent<{
|
|
23
|
+
children?: import("react").ReactNode;
|
|
24
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
17
25
|
Trigger: import("react").ForwardRefExoticComponent<{
|
|
18
26
|
children?: import("react").ReactNode;
|
|
19
27
|
asChild?: boolean;
|
|
@@ -73,6 +81,12 @@ export declare const Combobox: typeof ComboboxRoot & {
|
|
|
73
81
|
Empty: import("react").ForwardRefExoticComponent<{
|
|
74
82
|
children?: import("react").ReactNode;
|
|
75
83
|
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
84
|
+
Description: import("react").ForwardRefExoticComponent<{
|
|
85
|
+
children?: import("react").ReactNode;
|
|
86
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
87
|
+
Error: import("react").ForwardRefExoticComponent<{
|
|
88
|
+
children?: import("react").ReactNode;
|
|
89
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
76
90
|
};
|
|
77
91
|
export { ComboboxRoot } from './combobox';
|
|
78
92
|
export { ComboboxIndicator } from './combobox-indicator';
|
|
@@ -80,4 +94,4 @@ export { ComboboxInput } from './combobox-input';
|
|
|
80
94
|
export { ComboboxTrigger } from './combobox-trigger';
|
|
81
95
|
/** The state hook is the `Autocomplete`'s too, because the state is (R10). */
|
|
82
96
|
export { useAutocomplete as useCombobox } from '../autocomplete';
|
|
83
|
-
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxInputProps, ComboboxItemLabelProps, ComboboxItemProps, ComboboxOverlayProps, ComboboxProps, ComboboxSize, ComboboxTriggerProps, ComboboxVariant, } from './combobox.type';
|
|
97
|
+
export type { ComboboxContentProps, ComboboxDescriptionProps, ComboboxEmptyProps, ComboboxErrorProps, ComboboxInputProps, ComboboxItemLabelProps, ComboboxItemProps, ComboboxLabelProps, ComboboxOverlayProps, ComboboxProps, ComboboxSize, ComboboxTriggerProps, ComboboxVariant, } from './combobox.type';
|
|
@@ -11,9 +11,17 @@ import { ComboboxRoot } from './combobox';
|
|
|
11
11
|
* by name. A `Combobox.Item` that were a different component would be sorted into "not a
|
|
12
12
|
* row", would never be filtered, and would never register its label.
|
|
13
13
|
*
|
|
14
|
+
* The label and the help lines come from the same place, and for the same reason: the root
|
|
15
|
+
* **is** the `Autocomplete`'s, so the column it renders is already the `TextField`'s, and a
|
|
16
|
+
* combobox that labelled its field differently from the text field beside it would be the
|
|
17
|
+
* drift this sharing exists to prevent.
|
|
18
|
+
*
|
|
14
19
|
* What this component owns is the three slots that make the field the control.
|
|
15
20
|
*/
|
|
16
21
|
export declare const Combobox: typeof ComboboxRoot & {
|
|
22
|
+
Label: import("react").ForwardRefExoticComponent<{
|
|
23
|
+
children?: import("react").ReactNode;
|
|
24
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
17
25
|
Trigger: import("react").ForwardRefExoticComponent<{
|
|
18
26
|
children?: import("react").ReactNode;
|
|
19
27
|
asChild?: boolean;
|
|
@@ -73,6 +81,12 @@ export declare const Combobox: typeof ComboboxRoot & {
|
|
|
73
81
|
Empty: import("react").ForwardRefExoticComponent<{
|
|
74
82
|
children?: import("react").ReactNode;
|
|
75
83
|
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
84
|
+
Description: import("react").ForwardRefExoticComponent<{
|
|
85
|
+
children?: import("react").ReactNode;
|
|
86
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
87
|
+
Error: import("react").ForwardRefExoticComponent<{
|
|
88
|
+
children?: import("react").ReactNode;
|
|
89
|
+
} & Omit<import("react-native").TextProps, "children"> & Omit<import("../..").TextStyleProps, keyof import("react-native").TextProps> & import("react").RefAttributes<import("react-native").Text>>;
|
|
76
90
|
};
|
|
77
91
|
export { ComboboxRoot } from './combobox';
|
|
78
92
|
export { ComboboxIndicator } from './combobox-indicator';
|
|
@@ -80,4 +94,4 @@ export { ComboboxInput } from './combobox-input';
|
|
|
80
94
|
export { ComboboxTrigger } from './combobox-trigger';
|
|
81
95
|
/** The state hook is the `Autocomplete`'s too, because the state is (R10). */
|
|
82
96
|
export { useAutocomplete as useCombobox } from '../autocomplete';
|
|
83
|
-
export type { ComboboxContentProps, ComboboxEmptyProps, ComboboxInputProps, ComboboxItemLabelProps, ComboboxItemProps, ComboboxOverlayProps, ComboboxProps, ComboboxSize, ComboboxTriggerProps, ComboboxVariant, } from './combobox.type';
|
|
97
|
+
export type { ComboboxContentProps, ComboboxDescriptionProps, ComboboxEmptyProps, ComboboxErrorProps, ComboboxInputProps, ComboboxItemLabelProps, ComboboxItemProps, ComboboxLabelProps, ComboboxOverlayProps, ComboboxProps, ComboboxSize, ComboboxTriggerProps, ComboboxVariant, } from './combobox.type';
|
|
@@ -4,12 +4,13 @@ import {
|
|
|
4
4
|
ComboboxInput,
|
|
5
5
|
ComboboxRoot,
|
|
6
6
|
ComboboxTrigger
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-IYUT2IKZ.js";
|
|
8
8
|
import {
|
|
9
9
|
useAutocomplete
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-XJEG4Q2R.js";
|
|
11
11
|
import "../../chunk-4WCBZFAK.js";
|
|
12
12
|
import "../../chunk-Z6FRP4EV.js";
|
|
13
|
+
import "../../chunk-NTVPLDJC.js";
|
|
13
14
|
import "../../chunk-AMFGATFY.js";
|
|
14
15
|
import "../../chunk-2PMXMKS5.js";
|
|
15
16
|
import "../../chunk-64MXEVT3.js";
|