panelui-native 0.108.0 → 0.110.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/lib/module/components/avatar-cropper/avatar-cropper-math.js +320 -0
- package/lib/module/components/avatar-cropper/avatar-cropper-math.js.map +1 -0
- package/lib/module/components/avatar-cropper/index.js +656 -0
- package/lib/module/components/avatar-cropper/index.js.map +1 -0
- package/lib/module/components/badge/index.js +85 -4
- package/lib/module/components/badge/index.js.map +1 -1
- package/lib/module/components/button/index.js +12 -0
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/button-group/index.js +3 -0
- package/lib/module/components/button-group/index.js.map +1 -1
- package/lib/module/components/checkbox/index.js +54 -4
- package/lib/module/components/checkbox/index.js.map +1 -1
- package/lib/module/components/chip/index.js +23 -1
- package/lib/module/components/chip/index.js.map +1 -1
- package/lib/module/components/input/index.js +14 -0
- package/lib/module/components/input/index.js.map +1 -1
- package/lib/module/components/map/index.js +157 -5
- package/lib/module/components/map/index.js.map +1 -1
- package/lib/module/components/map/map-insets.js +174 -0
- package/lib/module/components/map/map-insets.js.map +1 -0
- package/lib/module/components/radio-group/index.js +49 -3
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/select/index.js +54 -2
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/switch/index.js +42 -3
- package/lib/module/components/switch/index.js.map +1 -1
- package/lib/module/components/tabs/index.js +147 -1
- package/lib/module/components/tabs/index.js.map +1 -1
- package/lib/module/components/textarea/index.js +18 -0
- package/lib/module/components/textarea/index.js.map +1 -1
- package/lib/module/components/toggle-button/index.js +34 -2
- package/lib/module/components/toggle-button/index.js.map +1 -1
- package/lib/module/icons/index.js +6 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/providers/panel-ui-provider.js +22 -10
- package/lib/module/providers/panel-ui-provider.js.map +1 -1
- package/lib/typescript/src/components/avatar-cropper/avatar-cropper-math.d.ts +98 -0
- package/lib/typescript/src/components/avatar-cropper/avatar-cropper-math.d.ts.map +1 -0
- package/lib/typescript/src/components/avatar-cropper/index.d.ts +168 -0
- package/lib/typescript/src/components/avatar-cropper/index.d.ts.map +1 -0
- package/lib/typescript/src/components/badge/index.d.ts +68 -0
- package/lib/typescript/src/components/badge/index.d.ts.map +1 -1
- package/lib/typescript/src/components/button/index.d.ts +12 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/button-group/index.d.ts +9 -0
- package/lib/typescript/src/components/button-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/checkbox/index.d.ts +89 -0
- package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/src/components/chip/index.d.ts +24 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
- package/lib/typescript/src/components/input/index.d.ts +30 -0
- package/lib/typescript/src/components/input/index.d.ts.map +1 -1
- package/lib/typescript/src/components/map/index.d.ts +67 -1
- package/lib/typescript/src/components/map/index.d.ts.map +1 -1
- package/lib/typescript/src/components/map/map-insets.d.ts +80 -0
- package/lib/typescript/src/components/map/map-insets.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/index.d.ts +188 -1
- package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/select/index.d.ts +9 -1
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/index.d.ts +38 -0
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tabs/index.d.ts +10 -1
- package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
- package/lib/typescript/src/components/textarea/index.d.ts +18 -0
- package/lib/typescript/src/components/textarea/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toggle-button/index.d.ts +24 -0
- package/lib/typescript/src/components/toggle-button/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +2 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +8 -7
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/providers/panel-ui-provider.d.ts.map +1 -1
- package/package.json +9 -1
- package/src/components/avatar-cropper/avatar-cropper-math.ts +311 -0
- package/src/components/avatar-cropper/index.tsx +808 -0
- package/src/components/badge/index.tsx +30 -4
- package/src/components/button/index.tsx +9 -2
- package/src/components/button-group/index.tsx +1 -0
- package/src/components/checkbox/index.tsx +47 -3
- package/src/components/chip/index.tsx +5 -1
- package/src/components/input/index.tsx +6 -0
- package/src/components/map/index.tsx +215 -5
- package/src/components/map/map-insets.ts +169 -0
- package/src/components/radio-group/index.tsx +56 -4
- package/src/components/select/index.tsx +50 -1
- package/src/components/switch/index.tsx +16 -4
- package/src/components/tabs/index.tsx +61 -0
- package/src/components/textarea/index.tsx +6 -0
- package/src/components/toggle-button/index.tsx +16 -1
- package/src/icons/index.tsx +3 -0
- package/src/index.ts +24 -3
- package/src/providers/panel-ui-provider.tsx +21 -11
|
@@ -61,6 +61,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
63
|
size: {
|
|
64
|
+
xs: {
|
|
65
|
+
root: string;
|
|
66
|
+
label: string;
|
|
67
|
+
};
|
|
64
68
|
sm: {
|
|
65
69
|
root: string;
|
|
66
70
|
label: string;
|
|
@@ -73,6 +77,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
73
77
|
root: string;
|
|
74
78
|
label: string;
|
|
75
79
|
};
|
|
80
|
+
xl: {
|
|
81
|
+
root: string;
|
|
82
|
+
label: string;
|
|
83
|
+
};
|
|
76
84
|
};
|
|
77
85
|
/**
|
|
78
86
|
* The filter "on" state — a loud accent surface that wins over the resting
|
|
@@ -134,6 +142,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
134
142
|
};
|
|
135
143
|
};
|
|
136
144
|
size: {
|
|
145
|
+
xs: {
|
|
146
|
+
root: string;
|
|
147
|
+
label: string;
|
|
148
|
+
};
|
|
137
149
|
sm: {
|
|
138
150
|
root: string;
|
|
139
151
|
label: string;
|
|
@@ -146,6 +158,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
146
158
|
root: string;
|
|
147
159
|
label: string;
|
|
148
160
|
};
|
|
161
|
+
xl: {
|
|
162
|
+
root: string;
|
|
163
|
+
label: string;
|
|
164
|
+
};
|
|
149
165
|
};
|
|
150
166
|
/**
|
|
151
167
|
* The filter "on" state — a loud accent surface that wins over the resting
|
|
@@ -207,6 +223,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
207
223
|
};
|
|
208
224
|
};
|
|
209
225
|
size: {
|
|
226
|
+
xs: {
|
|
227
|
+
root: string;
|
|
228
|
+
label: string;
|
|
229
|
+
};
|
|
210
230
|
sm: {
|
|
211
231
|
root: string;
|
|
212
232
|
label: string;
|
|
@@ -219,6 +239,10 @@ declare const chipVariants: import("tailwind-variants").TVReturnType<{
|
|
|
219
239
|
root: string;
|
|
220
240
|
label: string;
|
|
221
241
|
};
|
|
242
|
+
xl: {
|
|
243
|
+
root: string;
|
|
244
|
+
label: string;
|
|
245
|
+
};
|
|
222
246
|
};
|
|
223
247
|
/**
|
|
224
248
|
* The filter "on" state — a loud accent surface that wins over the resting
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/chip/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAkB,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,wCAAqC,CAAC;AAK7C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IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB;AASD;;;GAGG;AACH,wBAAgB,OAAO,IAAI,cAAc,CAMxC;AAMD,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,GAAG,UAAU,CAAC,EAC3D,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC;IAC9D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kDAAkD;IAClD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA6HD,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,cAAc,+BAMzD;kBANQ,SAAS;;;AASlB,eAAO,MAAM,IAAI;;CAEf,CAAC"}
|
|
@@ -53,6 +53,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
size: {
|
|
56
|
+
xs: {
|
|
57
|
+
field: string;
|
|
58
|
+
startContent: string;
|
|
59
|
+
endContent: string;
|
|
60
|
+
};
|
|
56
61
|
sm: {
|
|
57
62
|
field: string;
|
|
58
63
|
startContent: string;
|
|
@@ -68,6 +73,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
68
73
|
startContent: string;
|
|
69
74
|
endContent: string;
|
|
70
75
|
};
|
|
76
|
+
xl: {
|
|
77
|
+
field: string;
|
|
78
|
+
startContent: string;
|
|
79
|
+
endContent: string;
|
|
80
|
+
};
|
|
71
81
|
};
|
|
72
82
|
multiline: {
|
|
73
83
|
true: {
|
|
@@ -101,6 +111,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
101
111
|
};
|
|
102
112
|
};
|
|
103
113
|
size: {
|
|
114
|
+
xs: {
|
|
115
|
+
field: string;
|
|
116
|
+
startContent: string;
|
|
117
|
+
endContent: string;
|
|
118
|
+
};
|
|
104
119
|
sm: {
|
|
105
120
|
field: string;
|
|
106
121
|
startContent: string;
|
|
@@ -116,6 +131,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
116
131
|
startContent: string;
|
|
117
132
|
endContent: string;
|
|
118
133
|
};
|
|
134
|
+
xl: {
|
|
135
|
+
field: string;
|
|
136
|
+
startContent: string;
|
|
137
|
+
endContent: string;
|
|
138
|
+
};
|
|
119
139
|
};
|
|
120
140
|
multiline: {
|
|
121
141
|
true: {
|
|
@@ -149,6 +169,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
149
169
|
};
|
|
150
170
|
};
|
|
151
171
|
size: {
|
|
172
|
+
xs: {
|
|
173
|
+
field: string;
|
|
174
|
+
startContent: string;
|
|
175
|
+
endContent: string;
|
|
176
|
+
};
|
|
152
177
|
sm: {
|
|
153
178
|
field: string;
|
|
154
179
|
startContent: string;
|
|
@@ -164,6 +189,11 @@ declare const inputVariants: import("tailwind-variants").TVReturnType<{
|
|
|
164
189
|
startContent: string;
|
|
165
190
|
endContent: string;
|
|
166
191
|
};
|
|
192
|
+
xl: {
|
|
193
|
+
field: string;
|
|
194
|
+
startContent: string;
|
|
195
|
+
endContent: string;
|
|
196
|
+
};
|
|
167
197
|
};
|
|
168
198
|
multiline: {
|
|
169
199
|
true: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAgD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EACL,SAAS,EAGT,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAoC,CAAC;AAUhF,QAAA,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAgD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EACL,SAAS,EAGT,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAoC,CAAC;AAUhF,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CA8EjB,CAAC;AAEH,KAAK,iBAAiB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5D,MAAM,WAAW,UACf,SAAQ,cAAc,EACpB,IAAI,CAAC,iBAAiB,EAAE,UAAU,GAAG,WAAW,CAAC;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB;;;;;;;;;;;;;OAaG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAID,eAAO,MAAM,KAAK,kGA8NjB,CAAC"}
|
|
@@ -18,6 +18,19 @@
|
|
|
18
18
|
* </Map>
|
|
19
19
|
* ```
|
|
20
20
|
*
|
|
21
|
+
* Anything else drawn over the map goes in a `Map.Overlay`. It is pinned to an
|
|
22
|
+
* edge or a corner and tells the map how much room it takes, so a control
|
|
23
|
+
* stack in the same corner sits past it rather than underneath:
|
|
24
|
+
*
|
|
25
|
+
* ```tsx
|
|
26
|
+
* <Map center={[-0.12, 51.5]} zoom={11}>
|
|
27
|
+
* <Map.Overlay position="bottom" safeArea>
|
|
28
|
+
* <Card>…</Card>
|
|
29
|
+
* </Map.Overlay>
|
|
30
|
+
* <Map.Controls position="bottom-right" />
|
|
31
|
+
* </Map>
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
21
34
|
* The renderer is native and optional, so `Map` has a state no other component
|
|
22
35
|
* here does: it may be unable to draw at all. It says so in place rather than
|
|
23
36
|
* throwing, because the usual way to reach that state is running in a client
|
|
@@ -34,9 +47,11 @@ import { type PressableProps, type ViewProps } from 'react-native';
|
|
|
34
47
|
import { CARTO_SOURCE, type BasemapSource, type BasemapTokens } from './basemap.js';
|
|
35
48
|
import { hasMapLibre, type CameraRef, type LngLat, type LngLatBounds, type MapRef, type PixelPoint, type StyleSpecification, type ViewPadding, type ViewState } from './maplibre.js';
|
|
36
49
|
import { type MapFeatureAccessibility } from './map-accessibility.js';
|
|
50
|
+
import { type MapOverlayPosition } from './map-insets.js';
|
|
37
51
|
export { hasMapLibre, CARTO_SOURCE };
|
|
38
52
|
export type { BasemapSource, BasemapTokens, LngLat, LngLatBounds, PixelPoint, ViewPadding, ViewState, };
|
|
39
53
|
export type { MapFeatureAccessibility } from './map-accessibility.js';
|
|
54
|
+
export type { MapOverlayPosition } from './map-insets.js';
|
|
40
55
|
export type MapControlsPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
41
56
|
interface MapContextValue {
|
|
42
57
|
mapRef: React.RefObject<MapRef | null>;
|
|
@@ -226,6 +241,19 @@ declare namespace MapPopup {
|
|
|
226
241
|
export interface MapControlsProps {
|
|
227
242
|
/** Which corner the stack sits in. */
|
|
228
243
|
position?: MapControlsPosition;
|
|
244
|
+
/**
|
|
245
|
+
* How far the stack sits from the map's edges, in points: one number for
|
|
246
|
+
* every side, or only the sides that need one. Defaults to 12. For chrome
|
|
247
|
+
* that floats over the map without being inside it, such as a translucent
|
|
248
|
+
* tab bar or a header.
|
|
249
|
+
*/
|
|
250
|
+
inset?: number | ViewPadding;
|
|
251
|
+
/**
|
|
252
|
+
* Keep clear of the status bar and the home indicator, for a map that runs
|
|
253
|
+
* underneath them. Reads the insets from the nearest `SafeAreaProvider` and
|
|
254
|
+
* does nothing without one.
|
|
255
|
+
*/
|
|
256
|
+
safeArea?: boolean;
|
|
229
257
|
/** Zoom in and out. On by default — it is the one control a map always needs. */
|
|
230
258
|
zoom?: boolean;
|
|
231
259
|
/** Recentre on the device's location. Needs a location permission. */
|
|
@@ -249,10 +277,47 @@ export interface MapControlsProps {
|
|
|
249
277
|
* off in `Map` and replaced here by buttons built from the same tokens as
|
|
250
278
|
* every other control in the library.
|
|
251
279
|
*/
|
|
252
|
-
declare function MapControls({ position, zoom, locate, compass, recenter, className, onLocate, }: MapControlsProps): import("react").JSX.Element;
|
|
280
|
+
declare function MapControls({ position, inset, safeArea, zoom, locate, compass, recenter, className, onLocate, }: MapControlsProps): import("react").JSX.Element;
|
|
253
281
|
declare namespace MapControls {
|
|
254
282
|
var displayName: string;
|
|
255
283
|
}
|
|
284
|
+
export interface MapOverlayProps extends Omit<ViewProps, 'children'> {
|
|
285
|
+
children?: ReactNode;
|
|
286
|
+
/**
|
|
287
|
+
* Where it is pinned: `top` or `bottom` for a band across the map between
|
|
288
|
+
* its insets, or a corner (`top-left`, `top-right`, `bottom-left`,
|
|
289
|
+
* `bottom-right`), which is as wide as what is inside it.
|
|
290
|
+
*/
|
|
291
|
+
position?: MapOverlayPosition;
|
|
292
|
+
/**
|
|
293
|
+
* How far it sits from the map's edges, in points: one number for every
|
|
294
|
+
* side, or only the sides that need one. Defaults to 12. Pass `0` for a card
|
|
295
|
+
* that runs edge to edge.
|
|
296
|
+
*/
|
|
297
|
+
inset?: number | ViewPadding;
|
|
298
|
+
/**
|
|
299
|
+
* Keep clear of the status bar and the home indicator, for a map that runs
|
|
300
|
+
* underneath them. Reads the insets from the nearest `SafeAreaProvider` and
|
|
301
|
+
* does nothing without one.
|
|
302
|
+
*/
|
|
303
|
+
safeArea?: boolean;
|
|
304
|
+
className?: string;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* A place for your own views over the map.
|
|
308
|
+
*
|
|
309
|
+
* Any view can already be a child of `Map` and positioned by hand. What this
|
|
310
|
+
* adds is that the map knows about it: it is measured, and a `Map.Controls`
|
|
311
|
+
* in the same corner moves past it. Without that each is positioned without
|
|
312
|
+
* knowing where the other is, and the card lands on the zoom buttons.
|
|
313
|
+
*
|
|
314
|
+
* The container itself takes no touches, so the map underneath still pans in
|
|
315
|
+
* the gaps around whatever is inside it.
|
|
316
|
+
*/
|
|
317
|
+
declare function MapOverlay({ position, inset, safeArea, className, style, onLayout, children, ...props }: MapOverlayProps): import("react").JSX.Element;
|
|
318
|
+
declare namespace MapOverlay {
|
|
319
|
+
var displayName: string;
|
|
320
|
+
}
|
|
256
321
|
export interface MapRouteProps {
|
|
257
322
|
/** The path, in order. */
|
|
258
323
|
coordinates: LngLat[];
|
|
@@ -446,6 +511,7 @@ export declare const Map: import("react").ForwardRefExoticComponent<MapProps & i
|
|
|
446
511
|
Label: typeof MapLabel;
|
|
447
512
|
Popup: typeof MapPopup;
|
|
448
513
|
Controls: typeof MapControls;
|
|
514
|
+
Overlay: typeof MapOverlay;
|
|
449
515
|
Route: typeof MapRoute;
|
|
450
516
|
Arc: typeof MapArc;
|
|
451
517
|
GeoJSON: typeof MapGeoJSON;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/map/index.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/map/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,EAaL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AActB,OAAO,EAEL,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,cAAW,CAAC;AACnB,OAAO,EACL,WAAW,EAEX,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,MAAM,eAA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AAE,OAAO,CAAC;IACd,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAW,EACX,SAAa,EACb,OAAc,EACd,OAAY,EACZ,MAAc,EACd,EAAc,GACf,EAAE,eAAe,sCAqIjB;kBAhJQ,UAAU;;;AAoJnB,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wDAAwD;AACxD,iBAAS,eAAe,CAAC,EACvB,OAAe,EACf,QAAgB,GACjB,EAAE,oBAAoB,sCAItB;kBAPQ,eAAe;;;AAWxB,eAAO,MAAM,GAAG;;;;;;;;;;;;CAYd,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where things sit once something else is drawn over the map.
|
|
3
|
+
*
|
|
4
|
+
* A map that fills the screen usually has chrome on top of it: a card of
|
|
5
|
+
* figures along the top, a summary along the bottom, the status bar, a
|
|
6
|
+
* floating tab bar. The controls belong in a corner, and a corner is exactly
|
|
7
|
+
* where that chrome goes, so left alone they end up underneath it.
|
|
8
|
+
*
|
|
9
|
+
* Everything drawn over the map therefore says how far in from its edge it
|
|
10
|
+
* reaches, and the controls take the largest claim on their corner and sit
|
|
11
|
+
* past it. This file is that arithmetic and nothing else, kept apart from the
|
|
12
|
+
* views so it can be checked without a device.
|
|
13
|
+
*/
|
|
14
|
+
export type MapCorner = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
15
|
+
/** A band across the whole of one edge, or a single corner. */
|
|
16
|
+
export type MapOverlayPosition = 'top' | 'bottom' | MapCorner;
|
|
17
|
+
/** A distance from each edge of the map, in points. */
|
|
18
|
+
export interface MapInsets {
|
|
19
|
+
top: number;
|
|
20
|
+
right: number;
|
|
21
|
+
bottom: number;
|
|
22
|
+
left: number;
|
|
23
|
+
}
|
|
24
|
+
/** One number for every side, or only the sides that need one. */
|
|
25
|
+
export type MapInsetsInput = number | Partial<MapInsets>;
|
|
26
|
+
/** What one overlay takes: where it is, and how far in from that edge it reaches. */
|
|
27
|
+
export interface MapReservation {
|
|
28
|
+
position: MapOverlayPosition;
|
|
29
|
+
/** Points from the map's top or bottom edge to the overlay's far side. */
|
|
30
|
+
extent: number;
|
|
31
|
+
}
|
|
32
|
+
/** The style offsets that pin a view: one vertical side and, for a corner, one horizontal. */
|
|
33
|
+
export type MapOffsets = Partial<MapInsets>;
|
|
34
|
+
/** Expands the `inset` shorthand to four sides. */
|
|
35
|
+
export declare function toMapInsets(inset: MapInsetsInput | undefined): MapInsets;
|
|
36
|
+
/** Two sets of insets, side by side. */
|
|
37
|
+
export declare function addMapInsets(a: MapInsets, b: MapInsets): MapInsets;
|
|
38
|
+
/** The corners a position covers. A band covers both corners of its edge. */
|
|
39
|
+
export declare function cornersOf(position: MapOverlayPosition): MapCorner[];
|
|
40
|
+
/** The furthest any overlay reaches into a corner. 0 when nothing is there. */
|
|
41
|
+
export declare function reservedAt(corner: MapCorner, reservations: Iterable<MapReservation>): number;
|
|
42
|
+
/**
|
|
43
|
+
* Where an overlay is pinned, and how far it reaches once it has a height.
|
|
44
|
+
*
|
|
45
|
+
* A band is pinned on three sides so it spans the map between its insets. A
|
|
46
|
+
* corner is pinned on two and is as wide as what is inside it.
|
|
47
|
+
*/
|
|
48
|
+
export declare function overlayOffsets(position: MapOverlayPosition, inset: MapInsets): MapOffsets;
|
|
49
|
+
/**
|
|
50
|
+
* The reservation an overlay makes once it has been measured.
|
|
51
|
+
*
|
|
52
|
+
* Nothing until it has a height. An overlay that is empty, or has not been
|
|
53
|
+
* laid out yet, would otherwise claim its inset alone and nudge the controls
|
|
54
|
+
* by a gap for a frame before moving them to where they belong.
|
|
55
|
+
*/
|
|
56
|
+
export declare function overlayReservation(position: MapOverlayPosition, inset: MapInsets, height: number): MapReservation | null;
|
|
57
|
+
/**
|
|
58
|
+
* The distance a part keeps from each edge of the map.
|
|
59
|
+
*
|
|
60
|
+
* `inset` means the same thing on `Map.Controls` and `Map.Overlay`: how far
|
|
61
|
+
* from the edge, with the standard gap on any side it leaves out. The safe
|
|
62
|
+
* area is added on top, because a card 12 points from the edge of the screen
|
|
63
|
+
* and a card 12 points below the status bar are both "12 points in" to the
|
|
64
|
+
* person looking at them.
|
|
65
|
+
*/
|
|
66
|
+
export declare function resolveMapInsets(inset: MapInsetsInput | undefined, gap: number, safeArea: MapInsets): MapInsets;
|
|
67
|
+
/**
|
|
68
|
+
* Where a control stack in `corner` goes.
|
|
69
|
+
*
|
|
70
|
+
* `inset` is the stack's own distance from the map's edges. `reserved` is what
|
|
71
|
+
* an overlay has taken from the same edge, and the stack sits one `gap` past
|
|
72
|
+
* it. The two are not added: an overlay that already clears the status bar has
|
|
73
|
+
* cleared it for the controls too, so whichever reaches further decides.
|
|
74
|
+
*/
|
|
75
|
+
export declare function controlsOffsets(corner: MapCorner, { gap, inset, reserved }: {
|
|
76
|
+
gap: number;
|
|
77
|
+
inset: MapInsets;
|
|
78
|
+
reserved: number;
|
|
79
|
+
}): MapOffsets;
|
|
80
|
+
//# sourceMapping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EAAE,KAAK,EAAE,SAAS,GAAG,UAAU,CAQzF;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,kBAAkB,EAC5B,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,MAAM,GACb,cAAc,GAAG,IAAI,CAIvB;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,SAAS,GAClB,SAAS,CAWX;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,SAAS,EACjB,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAC5E,UAAU,CAUZ"}
|
|
@@ -20,8 +20,189 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import { type ReactNode } from 'react';
|
|
22
22
|
import { View, type ViewProps } from 'react-native';
|
|
23
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
23
24
|
type RadioVariant = 'dot' | 'card';
|
|
24
25
|
type RadioOrientation = 'vertical' | 'horizontal';
|
|
26
|
+
declare const itemVariants: import("tailwind-variants").TVReturnType<{
|
|
27
|
+
size: {
|
|
28
|
+
xs: {
|
|
29
|
+
row: string;
|
|
30
|
+
indicator: string;
|
|
31
|
+
dot: string;
|
|
32
|
+
label: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
sm: {
|
|
36
|
+
row: string;
|
|
37
|
+
indicator: string;
|
|
38
|
+
dot: string;
|
|
39
|
+
label: string;
|
|
40
|
+
};
|
|
41
|
+
md: {};
|
|
42
|
+
lg: {
|
|
43
|
+
row: string;
|
|
44
|
+
indicator: string;
|
|
45
|
+
dot: string;
|
|
46
|
+
label: string;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
xl: {
|
|
50
|
+
row: string;
|
|
51
|
+
indicator: string;
|
|
52
|
+
dot: string;
|
|
53
|
+
label: string;
|
|
54
|
+
description: string;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
variant: {
|
|
58
|
+
dot: {};
|
|
59
|
+
card: {
|
|
60
|
+
row: string;
|
|
61
|
+
label: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
selected: {
|
|
65
|
+
true: {};
|
|
66
|
+
};
|
|
67
|
+
disabled: {
|
|
68
|
+
true: {
|
|
69
|
+
row: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* A card in a row shares the width rather than filling it, so two or three
|
|
74
|
+
* options sit side by side instead of each taking the whole line.
|
|
75
|
+
*/
|
|
76
|
+
horizontal: {
|
|
77
|
+
true: {};
|
|
78
|
+
};
|
|
79
|
+
}, {
|
|
80
|
+
row: string;
|
|
81
|
+
indicator: string;
|
|
82
|
+
dot: string;
|
|
83
|
+
label: string;
|
|
84
|
+
description: string;
|
|
85
|
+
}, undefined, {
|
|
86
|
+
size: {
|
|
87
|
+
xs: {
|
|
88
|
+
row: string;
|
|
89
|
+
indicator: string;
|
|
90
|
+
dot: string;
|
|
91
|
+
label: string;
|
|
92
|
+
description: string;
|
|
93
|
+
};
|
|
94
|
+
sm: {
|
|
95
|
+
row: string;
|
|
96
|
+
indicator: string;
|
|
97
|
+
dot: string;
|
|
98
|
+
label: string;
|
|
99
|
+
};
|
|
100
|
+
md: {};
|
|
101
|
+
lg: {
|
|
102
|
+
row: string;
|
|
103
|
+
indicator: string;
|
|
104
|
+
dot: string;
|
|
105
|
+
label: string;
|
|
106
|
+
description: string;
|
|
107
|
+
};
|
|
108
|
+
xl: {
|
|
109
|
+
row: string;
|
|
110
|
+
indicator: string;
|
|
111
|
+
dot: string;
|
|
112
|
+
label: string;
|
|
113
|
+
description: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
variant: {
|
|
117
|
+
dot: {};
|
|
118
|
+
card: {
|
|
119
|
+
row: string;
|
|
120
|
+
label: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
selected: {
|
|
124
|
+
true: {};
|
|
125
|
+
};
|
|
126
|
+
disabled: {
|
|
127
|
+
true: {
|
|
128
|
+
row: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* A card in a row shares the width rather than filling it, so two or three
|
|
133
|
+
* options sit side by side instead of each taking the whole line.
|
|
134
|
+
*/
|
|
135
|
+
horizontal: {
|
|
136
|
+
true: {};
|
|
137
|
+
};
|
|
138
|
+
}, {
|
|
139
|
+
row: string;
|
|
140
|
+
indicator: string;
|
|
141
|
+
dot: string;
|
|
142
|
+
label: string;
|
|
143
|
+
description: string;
|
|
144
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
145
|
+
size: {
|
|
146
|
+
xs: {
|
|
147
|
+
row: string;
|
|
148
|
+
indicator: string;
|
|
149
|
+
dot: string;
|
|
150
|
+
label: string;
|
|
151
|
+
description: string;
|
|
152
|
+
};
|
|
153
|
+
sm: {
|
|
154
|
+
row: string;
|
|
155
|
+
indicator: string;
|
|
156
|
+
dot: string;
|
|
157
|
+
label: string;
|
|
158
|
+
};
|
|
159
|
+
md: {};
|
|
160
|
+
lg: {
|
|
161
|
+
row: string;
|
|
162
|
+
indicator: string;
|
|
163
|
+
dot: string;
|
|
164
|
+
label: string;
|
|
165
|
+
description: string;
|
|
166
|
+
};
|
|
167
|
+
xl: {
|
|
168
|
+
row: string;
|
|
169
|
+
indicator: string;
|
|
170
|
+
dot: string;
|
|
171
|
+
label: string;
|
|
172
|
+
description: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
variant: {
|
|
176
|
+
dot: {};
|
|
177
|
+
card: {
|
|
178
|
+
row: string;
|
|
179
|
+
label: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
selected: {
|
|
183
|
+
true: {};
|
|
184
|
+
};
|
|
185
|
+
disabled: {
|
|
186
|
+
true: {
|
|
187
|
+
row: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* A card in a row shares the width rather than filling it, so two or three
|
|
192
|
+
* options sit side by side instead of each taking the whole line.
|
|
193
|
+
*/
|
|
194
|
+
horizontal: {
|
|
195
|
+
true: {};
|
|
196
|
+
};
|
|
197
|
+
}, {
|
|
198
|
+
row: string;
|
|
199
|
+
indicator: string;
|
|
200
|
+
dot: string;
|
|
201
|
+
label: string;
|
|
202
|
+
description: string;
|
|
203
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
204
|
+
/** How big a group's discs and labels are. */
|
|
205
|
+
type RadioSize = NonNullable<VariantProps<typeof itemVariants>['size']>;
|
|
25
206
|
export interface RadioGroupProps extends ViewProps {
|
|
26
207
|
className?: string;
|
|
27
208
|
value?: string;
|
|
@@ -33,6 +214,12 @@ export interface RadioGroupProps extends ViewProps {
|
|
|
33
214
|
* settings choice where each option carries a description.
|
|
34
215
|
*/
|
|
35
216
|
variant?: RadioVariant;
|
|
217
|
+
/**
|
|
218
|
+
* How big every option's disc and label are. Set on the group rather than
|
|
219
|
+
* per option, because options of different sizes read as though one of them
|
|
220
|
+
* matters more. The row keeps a 48-point target at every size.
|
|
221
|
+
*/
|
|
222
|
+
size?: RadioSize;
|
|
36
223
|
/**
|
|
37
224
|
* `horizontal` lays the options out along a row that wraps — for two or
|
|
38
225
|
* three short choices, where a stacked list wastes the width and reads as
|
|
@@ -64,5 +251,5 @@ export interface RadioGroupItemProps {
|
|
|
64
251
|
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<View>> & {
|
|
65
252
|
Item: import("react").ForwardRefExoticComponent<RadioGroupItemProps & import("react").RefAttributes<View>>;
|
|
66
253
|
};
|
|
67
|
-
export type { RadioVariant };
|
|
254
|
+
export type { RadioVariant, RadioSize };
|
|
68
255
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/radio-group/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/radio-group/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO/D,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAK1D,KAAK,YAAY,GAAG,KAAK,GAAG,MAAM,CAAC;AACnC,KAAK,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AAElD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmEd;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;2CAeL,CAAC;AAEH,8CAA8C;AAC9C,KAAK,SAAS,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAaxE,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB;AA8CD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yEAAyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAwGD,eAAO,MAAM,UAAU;;CAErB,CAAC;AAEH,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
*/
|
|
36
36
|
import { type ReactNode } from 'react';
|
|
37
37
|
export type SelectPresentation = 'sheet' | 'inline' | 'overlay';
|
|
38
|
+
/** How big the trigger is. */
|
|
39
|
+
export type SelectSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
38
40
|
/**
|
|
39
41
|
* The filter field's text, from inside an open Select.
|
|
40
42
|
*
|
|
@@ -168,6 +170,12 @@ export interface SelectProps {
|
|
|
168
170
|
placeholder?: string;
|
|
169
171
|
/** Refuses the trigger and dims it. The options cannot be opened. */
|
|
170
172
|
disabled?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* How big the trigger is: its padding, its text and its chevron. The options
|
|
175
|
+
* it opens are not resized. Ignored in `native` mode, where the platform
|
|
176
|
+
* draws the picker. For the height of the sheet, see `sheetProps.size`.
|
|
177
|
+
*/
|
|
178
|
+
size?: SelectSize;
|
|
171
179
|
/** Extra classes for the trigger — the field you press to open the list. */
|
|
172
180
|
triggerClassName?: string;
|
|
173
181
|
/** Extra classes for the selected option's text on the trigger. */
|
|
@@ -242,7 +250,7 @@ export interface SelectProps {
|
|
|
242
250
|
nativeAppearance?: 'menu' | 'wheel';
|
|
243
251
|
children: ReactNode;
|
|
244
252
|
}
|
|
245
|
-
declare function SelectRoot({ className, value, valueLabel, onValueChange, placeholder, disabled, triggerClassName, valueClassName, placeholderClassName, listClassName, searchClassName, searchInputClassName, searchContainerClassName, emptyClassName, presentation, title, sheetProps, contentWidth, offset, onOpenChange, searchable, searchPlaceholder, emptyMessage, native, nativeAppearance, children, }: SelectProps): import("react").JSX.Element;
|
|
253
|
+
declare function SelectRoot({ className, value, valueLabel, onValueChange, placeholder, disabled, triggerClassName, valueClassName, placeholderClassName, listClassName, searchClassName, searchInputClassName, searchContainerClassName, emptyClassName, presentation, size, title, sheetProps, contentWidth, offset, onOpenChange, searchable, searchPlaceholder, emptyMessage, native, nativeAppearance, children, }: SelectProps): import("react").JSX.Element;
|
|
246
254
|
export declare const Select: typeof SelectRoot & {
|
|
247
255
|
Item: typeof SelectItem;
|
|
248
256
|
Group: typeof SelectGroup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,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