@xaui/native 0.9.1-alpha.35 → 0.9.1-alpha.37

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.
Files changed (151) hide show
  1. package/dist/{chunk-ZC35YYKS.js → chunk-2PMXMKS5.js} +13 -8
  2. package/dist/{chunk-CYS6U374.cjs → chunk-3P6M2R4S.cjs} +6 -6
  3. package/dist/{chunk-7CTIE42J.cjs → chunk-437QULXO.cjs} +16 -8
  4. package/dist/{chunk-M2BGCN77.js → chunk-4PTWZCOK.js} +9 -9
  5. package/dist/{chunk-ZA6RT3XQ.js → chunk-5PPNDKRX.js} +16 -16
  6. package/dist/{chunk-AYOVBZAX.js → chunk-6G3XWPNP.js} +5 -5
  7. package/dist/{chunk-PCWT2YBE.cjs → chunk-7B3UBUC6.cjs} +3 -3
  8. package/dist/{chunk-HXL2QCMR.js → chunk-7LSY4WFL.js} +14 -14
  9. package/dist/{chunk-OHEHPQLC.cjs → chunk-ACAPTWE3.cjs} +16 -12
  10. package/dist/{chunk-I66VMLHE.cjs → chunk-AP6RVIIK.cjs} +21 -21
  11. package/dist/{chunk-UR6DNU2M.js → chunk-BORJJYDW.js} +4 -4
  12. package/dist/{chunk-XWMB66ZM.cjs → chunk-C5VDFRAD.cjs} +3 -3
  13. package/dist/{chunk-PBR44KVV.cjs → chunk-CUQTAPBU.cjs} +22 -22
  14. package/dist/{chunk-QY4MN7X3.cjs → chunk-DKH6BNPF.cjs} +15 -15
  15. package/dist/{chunk-6M7RUU7V.cjs → chunk-DRMT346W.cjs} +64 -64
  16. package/dist/chunk-DVDQSW7U.cjs +1006 -0
  17. package/dist/{chunk-NMAZ2TQF.js → chunk-E3X5ODKQ.js} +3 -3
  18. package/dist/{chunk-U3RDU3HU.js → chunk-EOJ5MYAQ.js} +5 -5
  19. package/dist/{chunk-UORTYL63.cjs → chunk-FTQHDJYL.cjs} +14 -14
  20. package/dist/{chunk-DBXFFJTC.cjs → chunk-GTT4NHS2.cjs} +11 -11
  21. package/dist/{chunk-WJPQARJ5.js → chunk-HXW4ANVB.js} +3 -3
  22. package/dist/{chunk-MSMZBUZO.cjs → chunk-IGLKACSR.cjs} +7 -7
  23. package/dist/{chunk-HNW4HIMO.js → chunk-IKJVLJKT.js} +15 -15
  24. package/dist/{chunk-CNNLMMFV.cjs → chunk-ITURCQMQ.cjs} +7 -7
  25. package/dist/{chunk-DUQUCOUY.cjs → chunk-JB5LGQ54.cjs} +3 -3
  26. package/dist/{chunk-NLASSGA7.js → chunk-JDSE4TQL.js} +10 -2
  27. package/dist/{chunk-GBFQZQ77.js → chunk-JXNFOOKC.js} +7 -7
  28. package/dist/{chunk-Q3D6KIVF.cjs → chunk-LEWW24RQ.cjs} +105 -99
  29. package/dist/{chunk-MEYCZS32.js → chunk-M63GFNKV.js} +19 -4
  30. package/dist/chunk-MESKS6AI.js +0 -0
  31. package/dist/{chunk-MHEL3NAN.js → chunk-NKPTXTTS.js} +53 -53
  32. package/dist/{chunk-VSALV7VO.cjs → chunk-NTD3NPRX.cjs} +3 -3
  33. package/dist/{chunk-HVD5EX7V.js → chunk-O3A3DBSZ.js} +3 -3
  34. package/dist/chunk-OJCCV65P.cjs +1 -0
  35. package/dist/{chunk-JCYWU5TO.js → chunk-OULTSBKU.js} +3 -3
  36. package/dist/{chunk-CM4LI5OH.cjs → chunk-P747CRAY.cjs} +9 -9
  37. package/dist/{chunk-BA2MPBCO.js → chunk-RGKWNK4T.js} +58 -58
  38. package/dist/{chunk-NFFL3E4N.js → chunk-RVRVGG73.js} +4 -4
  39. package/dist/{chunk-L55CDXNI.js → chunk-SMW6ZWMH.js} +110 -104
  40. package/dist/{chunk-YUG22AXX.cjs → chunk-SNIHUKDA.cjs} +16 -16
  41. package/dist/{chunk-SLUJFE6R.js → chunk-SO5UAGIU.js} +15 -15
  42. package/dist/{chunk-2IWL6R3D.js → chunk-TDYPY2J7.js} +8 -8
  43. package/dist/{chunk-LZK77LFX.js → chunk-TJHYSSBZ.js} +3 -3
  44. package/dist/{chunk-I6ZB3FZI.cjs → chunk-TK44VBIE.cjs} +22 -7
  45. package/dist/{chunk-OX2YNMNS.cjs → chunk-UBOXW5WO.cjs} +63 -63
  46. package/dist/{chunk-XNNJM5DQ.js → chunk-UGF35NSE.js} +75 -75
  47. package/dist/{chunk-AOEXU5UV.cjs → chunk-VFTT3Q4B.cjs} +4 -4
  48. package/dist/{chunk-4SLOOIE5.cjs → chunk-WDDXU3OH.cjs} +14 -9
  49. package/dist/{chunk-TZG3DERP.js → chunk-WKCQ6VGW.js} +15 -11
  50. package/dist/{chunk-TVCS5UOE.cjs → chunk-WVLSQO6K.cjs} +49 -49
  51. package/dist/chunk-XWY4DF37.js +1143 -0
  52. package/dist/{chunk-K7LLERKT.cjs → chunk-ZJWEVFAO.cjs} +12 -12
  53. package/dist/components/alert/index.cjs +7 -8
  54. package/dist/components/alert/index.d.cts +1 -1
  55. package/dist/components/alert/index.d.ts +1 -1
  56. package/dist/components/alert/index.js +6 -7
  57. package/dist/components/avatar/index.cjs +4 -5
  58. package/dist/components/avatar/index.d.cts +3 -3
  59. package/dist/components/avatar/index.d.ts +3 -3
  60. package/dist/components/avatar/index.js +3 -4
  61. package/dist/components/badge/index.cjs +3 -4
  62. package/dist/components/badge/index.d.cts +1 -1
  63. package/dist/components/badge/index.d.ts +1 -1
  64. package/dist/components/badge/index.js +2 -3
  65. package/dist/components/button/index.cjs +6 -7
  66. package/dist/components/button/index.d.cts +168 -168
  67. package/dist/components/button/index.d.ts +168 -168
  68. package/dist/components/button/index.js +5 -6
  69. package/dist/components/card/index.cjs +5 -6
  70. package/dist/components/card/index.d.cts +169 -169
  71. package/dist/components/card/index.d.ts +169 -169
  72. package/dist/components/card/index.js +4 -5
  73. package/dist/components/checkbox/index.cjs +5 -6
  74. package/dist/components/checkbox/index.d.cts +336 -336
  75. package/dist/components/checkbox/index.d.ts +336 -336
  76. package/dist/components/checkbox/index.js +4 -5
  77. package/dist/components/chip/index.cjs +7 -8
  78. package/dist/components/chip/index.d.cts +169 -169
  79. package/dist/components/chip/index.d.ts +169 -169
  80. package/dist/components/chip/index.js +6 -7
  81. package/dist/components/divider/index.cjs +3 -4
  82. package/dist/components/divider/index.d.cts +1 -1
  83. package/dist/components/divider/index.d.ts +1 -1
  84. package/dist/components/divider/index.js +2 -3
  85. package/dist/components/field-group/index.cjs +27 -0
  86. package/dist/components/{input-group → field-group}/index.d.cts +66 -66
  87. package/dist/components/{input-group → field-group}/index.d.ts +66 -66
  88. package/dist/components/field-group/index.js +27 -0
  89. package/dist/components/input-otp/index.cjs +3 -4
  90. package/dist/components/input-otp/index.d.cts +1 -1
  91. package/dist/components/input-otp/index.d.ts +1 -1
  92. package/dist/components/input-otp/index.js +2 -3
  93. package/dist/components/radio/index.cjs +5 -6
  94. package/dist/components/radio/index.d.cts +336 -336
  95. package/dist/components/radio/index.d.ts +336 -336
  96. package/dist/components/radio/index.js +4 -5
  97. package/dist/components/select/index.cjs +47 -0
  98. package/dist/components/select/index.d.cts +519 -0
  99. package/dist/components/select/index.d.ts +519 -0
  100. package/dist/components/select/index.js +47 -0
  101. package/dist/components/skeleton/index.cjs +3 -4
  102. package/dist/components/skeleton/index.d.cts +1 -1
  103. package/dist/components/skeleton/index.d.ts +1 -1
  104. package/dist/components/skeleton/index.js +2 -3
  105. package/dist/components/spinner/index.cjs +4 -5
  106. package/dist/components/spinner/index.d.cts +1 -1
  107. package/dist/components/spinner/index.d.ts +1 -1
  108. package/dist/components/spinner/index.js +3 -4
  109. package/dist/components/switch/index.cjs +5 -6
  110. package/dist/components/switch/index.d.cts +338 -338
  111. package/dist/components/switch/index.d.ts +338 -338
  112. package/dist/components/switch/index.js +4 -5
  113. package/dist/components/text-area/index.cjs +4 -5
  114. package/dist/components/text-area/index.d.cts +10 -10
  115. package/dist/components/text-area/index.d.ts +10 -10
  116. package/dist/components/text-area/index.js +3 -4
  117. package/dist/components/text-field/index.cjs +25 -0
  118. package/dist/components/text-field/index.d.cts +205 -0
  119. package/dist/components/text-field/index.d.ts +205 -0
  120. package/dist/components/text-field/index.js +25 -0
  121. package/dist/components/typography/index.cjs +3 -4
  122. package/dist/components/typography/index.d.cts +2 -2
  123. package/dist/components/typography/index.d.ts +2 -2
  124. package/dist/components/typography/index.js +2 -3
  125. package/dist/components/view/index.cjs +3 -4
  126. package/dist/components/view/index.d.cts +6 -6
  127. package/dist/components/view/index.d.ts +6 -6
  128. package/dist/components/view/index.js +2 -3
  129. package/dist/index.cjs +64 -28
  130. package/dist/index.d.cts +4 -3
  131. package/dist/index.d.ts +4 -3
  132. package/dist/index.js +100 -64
  133. package/dist/system/index.cjs +10 -10
  134. package/dist/system/index.d.cts +15 -2
  135. package/dist/system/index.d.ts +15 -2
  136. package/dist/system/index.js +8 -8
  137. package/dist/{input.type-D2qgi03E.d.ts → text-field.type-0l73acce.d.ts} +24 -24
  138. package/dist/{input.type-BUMDlzL9.d.cts → text-field.type-DBh06DU5.d.cts} +24 -24
  139. package/dist/theme/index.cjs +4 -3
  140. package/dist/theme/index.d.cts +21 -1
  141. package/dist/theme/index.d.ts +21 -1
  142. package/dist/theme/index.js +3 -2
  143. package/package.json +26 -16
  144. package/dist/chunk-GGW42MY4.js +0 -20
  145. package/dist/chunk-MC7SY2QH.cjs +0 -20
  146. package/dist/components/input/index.cjs +0 -26
  147. package/dist/components/input/index.d.cts +0 -205
  148. package/dist/components/input/index.d.ts +0 -205
  149. package/dist/components/input/index.js +0 -26
  150. package/dist/components/input-group/index.cjs +0 -28
  151. package/dist/components/input-group/index.js +0 -28
package/dist/index.js CHANGED
@@ -1,24 +1,20 @@
1
1
  import {
2
2
  TextArea,
3
3
  useTextArea
4
- } from "./chunk-HXL2QCMR.js";
4
+ } from "./chunk-7LSY4WFL.js";
5
5
  import {
6
6
  TextSpan,
7
7
  Typography,
8
8
  typographyRecipe
9
- } from "./chunk-HVD5EX7V.js";
9
+ } from "./chunk-O3A3DBSZ.js";
10
10
  import {
11
11
  Column,
12
12
  Grid,
13
13
  Row,
14
14
  Stack,
15
15
  useGrid
16
- } from "./chunk-NLASSGA7.js";
17
- import {
18
- Portal,
19
- PortalContext,
20
- PortalHost
21
- } from "./chunk-ZC35YYKS.js";
16
+ } from "./chunk-JDSE4TQL.js";
17
+ import "./chunk-MESKS6AI.js";
22
18
  import {
23
19
  XAUIProvider,
24
20
  buildRadius,
@@ -30,21 +26,31 @@ import {
30
26
  primitives,
31
27
  sourceKeys,
32
28
  tokens
33
- } from "./chunk-TZG3DERP.js";
29
+ } from "./chunk-WKCQ6VGW.js";
34
30
  import {
35
31
  Divider,
36
32
  dividerRecipe
37
- } from "./chunk-JCYWU5TO.js";
38
- import {
39
- InputGroup,
40
- InputGroupField,
41
- InputGroupIcon,
42
- InputGroupPrefix,
43
- InputGroupRoot,
44
- InputGroupSuffix,
33
+ } from "./chunk-OULTSBKU.js";
34
+ import {
35
+ FieldGroup,
36
+ FieldGroupField,
37
+ FieldGroupIcon,
38
+ FieldGroupPrefix,
39
+ FieldGroupRoot,
40
+ FieldGroupSuffix,
45
41
  decoratorPadding,
46
- useInputGroup
47
- } from "./chunk-MHEL3NAN.js";
42
+ useFieldGroup
43
+ } from "./chunk-NKPTXTTS.js";
44
+ import {
45
+ TextField,
46
+ TextFieldDescription,
47
+ TextFieldError,
48
+ TextFieldField,
49
+ TextFieldLabel,
50
+ TextFieldRoot,
51
+ textFieldRecipe,
52
+ useTextField
53
+ } from "./chunk-SMW6ZWMH.js";
48
54
  import {
49
55
  InputOTP,
50
56
  OTP_ALPHANUMERIC,
@@ -55,17 +61,7 @@ import {
55
61
  inputOTPRecipe,
56
62
  useInputOTP,
57
63
  useInputOTPBox
58
- } from "./chunk-SLUJFE6R.js";
59
- import {
60
- Input,
61
- InputDescription,
62
- InputError,
63
- InputField,
64
- InputLabel,
65
- InputRoot,
66
- inputRecipe,
67
- useInput
68
- } from "./chunk-L55CDXNI.js";
64
+ } from "./chunk-SO5UAGIU.js";
69
65
  import {
70
66
  Radio,
71
67
  RadioIndicator,
@@ -73,15 +69,39 @@ import {
73
69
  RadioRoot,
74
70
  radioRecipe,
75
71
  useRadio
76
- } from "./chunk-NFFL3E4N.js";
72
+ } from "./chunk-RVRVGG73.js";
73
+ import {
74
+ CheckIcon,
75
+ ChevronDownIcon,
76
+ Select,
77
+ Select2,
78
+ SelectContent,
79
+ SelectIndicator,
80
+ SelectItem,
81
+ SelectItemDescription,
82
+ SelectItemIndicator,
83
+ SelectItemLabel,
84
+ SelectLabel,
85
+ SelectOverlay,
86
+ SelectTrigger,
87
+ SelectValue,
88
+ selectRecipe,
89
+ useSelect,
90
+ useSelectItem
91
+ } from "./chunk-XWY4DF37.js";
92
+ import {
93
+ Portal,
94
+ PortalContext,
95
+ PortalHost
96
+ } from "./chunk-2PMXMKS5.js";
77
97
  import {
78
98
  Skeleton,
79
99
  skeletonRecipe
80
- } from "./chunk-HNW4HIMO.js";
100
+ } from "./chunk-IKJVLJKT.js";
81
101
  import {
82
102
  Spinner,
83
103
  spinnerRecipe
84
- } from "./chunk-NMAZ2TQF.js";
104
+ } from "./chunk-E3X5ODKQ.js";
85
105
  import {
86
106
  Switch,
87
107
  SwitchLabel,
@@ -90,27 +110,27 @@ import {
90
110
  SwitchTrack,
91
111
  switchRecipe,
92
112
  useSwitch
93
- } from "./chunk-BA2MPBCO.js";
113
+ } from "./chunk-RGKWNK4T.js";
94
114
  import {
95
115
  Alert,
96
116
  alertRecipe,
97
117
  useAlert
98
- } from "./chunk-AYOVBZAX.js";
118
+ } from "./chunk-6G3XWPNP.js";
99
119
  import {
100
120
  Avatar,
101
121
  avatarRecipe,
102
122
  useAvatar
103
- } from "./chunk-ZA6RT3XQ.js";
123
+ } from "./chunk-5PPNDKRX.js";
104
124
  import {
105
125
  Badge,
106
126
  badgeRecipe,
107
127
  placementInsets
108
- } from "./chunk-LZK77LFX.js";
128
+ } from "./chunk-TJHYSSBZ.js";
109
129
  import {
110
130
  Button,
111
131
  buttonRecipe,
112
132
  useButton
113
- } from "./chunk-2IWL6R3D.js";
133
+ } from "./chunk-TDYPY2J7.js";
114
134
  import {
115
135
  ROTATION_DURATION,
116
136
  useMergedRef,
@@ -123,7 +143,7 @@ import {
123
143
  cardRecipe,
124
144
  markBackground,
125
145
  useCard
126
- } from "./chunk-GBFQZQ77.js";
146
+ } from "./chunk-JXNFOOKC.js";
127
147
  import {
128
148
  Checkbox,
129
149
  CheckboxIndicator,
@@ -131,7 +151,7 @@ import {
131
151
  CheckboxRoot,
132
152
  checkboxRecipe,
133
153
  useCheckbox
134
- } from "./chunk-UR6DNU2M.js";
154
+ } from "./chunk-BORJJYDW.js";
135
155
  import {
136
156
  SelectionFill
137
157
  } from "./chunk-BA2DBSAN.js";
@@ -142,16 +162,16 @@ import {
142
162
  Chip,
143
163
  chipRecipe,
144
164
  useChip
145
- } from "./chunk-M2BGCN77.js";
165
+ } from "./chunk-4PTWZCOK.js";
146
166
  import {
147
167
  CloseButton,
148
168
  closeButtonBase
149
- } from "./chunk-U3RDU3HU.js";
169
+ } from "./chunk-EOJ5MYAQ.js";
150
170
  import {
151
171
  Icon,
152
172
  IconContext,
153
173
  useIconContext
154
- } from "./chunk-WJPQARJ5.js";
174
+ } from "./chunk-HXW4ANVB.js";
155
175
  import {
156
176
  FEEDBACK_OVERLAY,
157
177
  HIGHLIGHT_DURATION,
@@ -173,11 +193,11 @@ import {
173
193
  resolveSlotAnimation,
174
194
  rippleRadiusFor,
175
195
  useFeedback
176
- } from "./chunk-XNNJM5DQ.js";
196
+ } from "./chunk-UGF35NSE.js";
197
+ import "./chunk-EGLLDKN6.js";
177
198
  import {
178
199
  usePressState
179
200
  } from "./chunk-423RQBOX.js";
180
- import "./chunk-EGLLDKN6.js";
181
201
  import {
182
202
  Slot,
183
203
  childrenToString,
@@ -191,9 +211,6 @@ import {
191
211
  createRecipe,
192
212
  radiusAxis
193
213
  } from "./chunk-4GTAZM2C.js";
194
- import {
195
- useStyleProps
196
- } from "./chunk-MEYCZS32.js";
197
214
  import {
198
215
  ThemeContext,
199
216
  deriveTint,
@@ -201,7 +218,9 @@ import {
201
218
  useThemeColor,
202
219
  useXAUITheme
203
220
  } from "./chunk-A3EGFI6T.js";
204
- import "./chunk-GGW42MY4.js";
221
+ import {
222
+ useStyleProps
223
+ } from "./chunk-M63GFNKV.js";
205
224
  export {
206
225
  Alert,
207
226
  Avatar,
@@ -209,33 +228,29 @@ export {
209
228
  Button,
210
229
  CARD_BACKGROUND,
211
230
  Card,
231
+ CheckIcon,
212
232
  Checkbox,
213
233
  CheckboxIndicator,
214
234
  CheckboxLabel,
215
235
  CheckboxRoot,
236
+ ChevronDownIcon,
216
237
  Chip,
217
238
  CloseButton,
218
239
  Column,
219
240
  Divider,
220
241
  FEEDBACK_OVERLAY,
242
+ FieldGroup,
243
+ FieldGroupField,
244
+ FieldGroupIcon,
245
+ FieldGroupPrefix,
246
+ FieldGroupRoot,
247
+ FieldGroupSuffix,
221
248
  Grid,
222
249
  HIGHLIGHT_DURATION,
223
250
  HIGHLIGHT_OPACITY,
224
251
  Icon,
225
252
  IconContext,
226
- Input,
227
- InputDescription,
228
- InputError,
229
- InputField,
230
- InputGroup,
231
- InputGroupField,
232
- InputGroupIcon,
233
- InputGroupPrefix,
234
- InputGroupRoot,
235
- InputGroupSuffix,
236
- InputLabel,
237
253
  InputOTP,
238
- InputRoot,
239
254
  OTP_ALPHANUMERIC,
240
255
  OTP_DIGITS,
241
256
  OTP_LETTERS,
@@ -259,6 +274,18 @@ export {
259
274
  RadioRoot,
260
275
  Row,
261
276
  SCALE_REFERENCE_WIDTH,
277
+ Select2 as Select,
278
+ SelectContent,
279
+ SelectIndicator,
280
+ SelectItem,
281
+ SelectItemDescription,
282
+ SelectItemIndicator,
283
+ SelectItemLabel,
284
+ SelectLabel,
285
+ SelectOverlay,
286
+ Select as SelectRoot,
287
+ SelectTrigger,
288
+ SelectValue,
262
289
  SelectionFill,
263
290
  Skeleton,
264
291
  Slot,
@@ -270,6 +297,12 @@ export {
270
297
  SwitchThumb,
271
298
  SwitchTrack,
272
299
  TextArea,
300
+ TextField,
301
+ TextFieldDescription,
302
+ TextFieldError,
303
+ TextFieldField,
304
+ TextFieldLabel,
305
+ TextFieldRoot,
273
306
  TextSpan,
274
307
  ThemeContext,
275
308
  Typography,
@@ -296,7 +329,6 @@ export {
296
329
  dividerRecipe,
297
330
  extractPastedCode,
298
331
  inputOTPRecipe,
299
- inputRecipe,
300
332
  markBackground,
301
333
  markOverlay,
302
334
  mergeProps,
@@ -310,10 +342,12 @@ export {
310
342
  resolveAnimation,
311
343
  resolveSlotAnimation,
312
344
  rippleRadiusFor,
345
+ selectRecipe,
313
346
  skeletonRecipe,
314
347
  sourceKeys,
315
348
  spinnerRecipe,
316
349
  switchRecipe,
350
+ textFieldRecipe,
317
351
  tokens,
318
352
  typographyRecipe,
319
353
  useAlert,
@@ -325,10 +359,9 @@ export {
325
359
  useColorMode,
326
360
  useControllableState,
327
361
  useFeedback,
362
+ useFieldGroup,
328
363
  useGrid,
329
364
  useIconContext,
330
- useInput,
331
- useInputGroup,
332
365
  useInputOTP,
333
366
  useInputOTPBox,
334
367
  useMergedRef,
@@ -336,9 +369,12 @@ export {
336
369
  usePrevious,
337
370
  useRadio,
338
371
  useRotation,
372
+ useSelect,
373
+ useSelectItem,
339
374
  useStyleProps,
340
375
  useSwitch,
341
376
  useTextArea,
377
+ useTextField,
342
378
  useThemeColor,
343
379
  useXAUITheme
344
380
  };
@@ -1,20 +1,21 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-OJCCV65P.cjs');
2
2
 
3
3
 
4
4
 
5
- var _chunk4SLOOIE5cjs = require('../chunk-4SLOOIE5.cjs');
5
+
6
+ var _chunkWDDXU3OHcjs = require('../chunk-WDDXU3OH.cjs');
6
7
 
7
8
 
8
9
  var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
9
10
 
10
11
 
11
12
 
12
- var _chunkCYS6U374cjs = require('../chunk-CYS6U374.cjs');
13
+ var _chunk3P6M2R4Scjs = require('../chunk-3P6M2R4S.cjs');
13
14
 
14
15
 
15
16
 
16
17
 
17
- var _chunkPCWT2YBEcjs = require('../chunk-PCWT2YBE.cjs');
18
+ var _chunk7B3UBUC6cjs = require('../chunk-7B3UBUC6.cjs');
18
19
 
19
20
 
20
21
 
@@ -36,9 +37,9 @@ var _chunkPCWT2YBEcjs = require('../chunk-PCWT2YBE.cjs');
36
37
 
37
38
 
38
39
 
39
- var _chunk6M7RUU7Vcjs = require('../chunk-6M7RUU7V.cjs');
40
- require('../chunk-7DPL3ZDS.cjs');
40
+ var _chunkDRMT346Wcjs = require('../chunk-DRMT346W.cjs');
41
41
  require('../chunk-EJQCQPET.cjs');
42
+ require('../chunk-7DPL3ZDS.cjs');
42
43
 
43
44
 
44
45
 
@@ -52,11 +53,10 @@ var _chunkH4E4HDEPcjs = require('../chunk-H4E4HDEP.cjs');
52
53
 
53
54
 
54
55
  var _chunkFNEUOBCVcjs = require('../chunk-FNEUOBCV.cjs');
56
+ require('../chunk-57SJ4LJF.cjs');
55
57
 
56
58
 
57
- var _chunkI6ZB3FZIcjs = require('../chunk-I6ZB3FZI.cjs');
58
- require('../chunk-57SJ4LJF.cjs');
59
- require('../chunk-MC7SY2QH.cjs');
59
+ var _chunkTK44VBIEcjs = require('../chunk-TK44VBIE.cjs');
60
60
 
61
61
 
62
62
 
@@ -95,4 +95,4 @@ require('../chunk-MC7SY2QH.cjs');
95
95
 
96
96
 
97
97
 
98
- exports.CloseButton = _chunkCYS6U374cjs.CloseButton; exports.FEEDBACK_OVERLAY = _chunk6M7RUU7Vcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunk6M7RUU7Vcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunk6M7RUU7Vcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkPCWT2YBEcjs.Icon; exports.IconContext = _chunkPCWT2YBEcjs.IconContext; exports.PRESS_DURATION = _chunk6M7RUU7Vcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunk6M7RUU7Vcjs.PRESS_SCALE; exports.Portal = _chunk4SLOOIE5cjs.Portal; exports.PortalContext = _chunk4SLOOIE5cjs.PortalContext; exports.PortalHost = _chunk4SLOOIE5cjs.PortalHost; exports.PressableFeedback = _chunk6M7RUU7Vcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunk6M7RUU7Vcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunk6M7RUU7Vcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunk6M7RUU7Vcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunk6M7RUU7Vcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunk6M7RUU7Vcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunk6M7RUU7Vcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunk6M7RUU7Vcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunk6M7RUU7Vcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunk54FJOKANcjs.Slot; exports.childrenToString = _chunk54FJOKANcjs.childrenToString; exports.closeButtonBase = _chunkCYS6U374cjs.closeButtonBase; exports.createRecipe = _chunkFNEUOBCVcjs.createRecipe; exports.createSlotContext = _chunk54FJOKANcjs.createSlotContext; exports.markOverlay = _chunk6M7RUU7Vcjs.markOverlay; exports.mergeProps = _chunk54FJOKANcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.pressScaleFor = _chunk6M7RUU7Vcjs.pressScaleFor; exports.radiusAxis = _chunkFNEUOBCVcjs.radiusAxis; exports.resolveAnimation = _chunk6M7RUU7Vcjs.resolveAnimation; exports.resolveSlotAnimation = _chunk6M7RUU7Vcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunk6M7RUU7Vcjs.rippleRadiusFor; exports.useFeedback = _chunk6M7RUU7Vcjs.useFeedback; exports.useIconContext = _chunkPCWT2YBEcjs.useIconContext; exports.useStyleProps = _chunkI6ZB3FZIcjs.useStyleProps;
98
+ exports.CloseButton = _chunk3P6M2R4Scjs.CloseButton; exports.FEEDBACK_OVERLAY = _chunkDRMT346Wcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkDRMT346Wcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkDRMT346Wcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk7B3UBUC6cjs.Icon; exports.IconContext = _chunk7B3UBUC6cjs.IconContext; exports.PRESS_DURATION = _chunkDRMT346Wcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkDRMT346Wcjs.PRESS_SCALE; exports.Portal = _chunkWDDXU3OHcjs.Portal; exports.PortalContext = _chunkWDDXU3OHcjs.PortalContext; exports.PortalHost = _chunkWDDXU3OHcjs.PortalHost; exports.PressableFeedback = _chunkDRMT346Wcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkDRMT346Wcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkDRMT346Wcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkDRMT346Wcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkDRMT346Wcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkDRMT346Wcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkDRMT346Wcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkDRMT346Wcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkDRMT346Wcjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunk54FJOKANcjs.Slot; exports.childrenToString = _chunk54FJOKANcjs.childrenToString; exports.closeButtonBase = _chunk3P6M2R4Scjs.closeButtonBase; exports.createRecipe = _chunkFNEUOBCVcjs.createRecipe; exports.createSlotContext = _chunk54FJOKANcjs.createSlotContext; exports.markOverlay = _chunkDRMT346Wcjs.markOverlay; exports.mergeProps = _chunk54FJOKANcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.pressScaleFor = _chunkDRMT346Wcjs.pressScaleFor; exports.radiusAxis = _chunkFNEUOBCVcjs.radiusAxis; exports.resolveAnimation = _chunkDRMT346Wcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkDRMT346Wcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkDRMT346Wcjs.rippleRadiusFor; exports.useFeedback = _chunkDRMT346Wcjs.useFeedback; exports.useIconContext = _chunk7B3UBUC6cjs.useIconContext; exports.useStyleProps = _chunkTK44VBIEcjs.useStyleProps;
@@ -100,6 +100,19 @@ declare namespace Portal {
100
100
  type PortalMethods = {
101
101
  addPortal: (key: string, element: ReactNode) => void;
102
102
  removePortal: (key: string) => void;
103
+ /**
104
+ * Where the host's own view sits in the window, in points.
105
+ *
106
+ * An overlay is measured against a trigger that reports window coordinates, but it is
107
+ * rendered inside this host — so it is laid out against the host's origin, not the
108
+ * window's. Anything the two differ by (a status bar, a safe-area inset, a host mounted
109
+ * below a header) is exactly the distance the overlay would be wrong by. Subtracting it
110
+ * is what makes `measureInWindow` on the trigger mean the same thing on both sides.
111
+ */
112
+ origin: {
113
+ x: number;
114
+ y: number;
115
+ };
103
116
  };
104
117
  /**
105
118
  * `null` outside a host, and `Portal` treats that as "render nothing" rather than
@@ -298,7 +311,7 @@ declare function resolveSlotAnimation(override: SlotAnimation | undefined, enabl
298
311
  * off — and it is the only shape that survives `asChild`, where the caller's own element
299
312
  * is the pressable and there is no sibling for the primitive to inject.
300
313
  */
301
- declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "disabled" | "style" | "children"> & ViewStyleProps & {
314
+ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "style" | "children" | "disabled"> & ViewStyleProps & {
302
315
  isPressed?: boolean;
303
316
  isDisabled?: boolean;
304
317
  asChild?: boolean;
@@ -492,7 +505,7 @@ declare const CloseButton: react.ForwardRefExoticComponent<{
492
505
  baseStyle?: react_native.StyleProp<react_native.ViewStyle>;
493
506
  glyphStyle?: react_native.StyleProp<react_native.ViewStyle>;
494
507
  style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
495
- } & Omit<PressableFeedbackProps, "isPressed" | "style" | "children"> & react.RefAttributes<View>>;
508
+ } & Omit<PressableFeedbackProps, "style" | "children" | "isPressed"> & react.RefAttributes<View>>;
496
509
 
497
510
  /** The two slots a component publishes for a `CloseButton`: its box and one cross bar. */
498
511
  type CloseButtonSlots = {
@@ -100,6 +100,19 @@ declare namespace Portal {
100
100
  type PortalMethods = {
101
101
  addPortal: (key: string, element: ReactNode) => void;
102
102
  removePortal: (key: string) => void;
103
+ /**
104
+ * Where the host's own view sits in the window, in points.
105
+ *
106
+ * An overlay is measured against a trigger that reports window coordinates, but it is
107
+ * rendered inside this host — so it is laid out against the host's origin, not the
108
+ * window's. Anything the two differ by (a status bar, a safe-area inset, a host mounted
109
+ * below a header) is exactly the distance the overlay would be wrong by. Subtracting it
110
+ * is what makes `measureInWindow` on the trigger mean the same thing on both sides.
111
+ */
112
+ origin: {
113
+ x: number;
114
+ y: number;
115
+ };
103
116
  };
104
117
  /**
105
118
  * `null` outside a host, and `Portal` treats that as "render nothing" rather than
@@ -298,7 +311,7 @@ declare function resolveSlotAnimation(override: SlotAnimation | undefined, enabl
298
311
  * off — and it is the only shape that survives `asChild`, where the caller's own element
299
312
  * is the pressable and there is no sibling for the primitive to inject.
300
313
  */
301
- declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "disabled" | "style" | "children"> & ViewStyleProps & {
314
+ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "style" | "children" | "disabled"> & ViewStyleProps & {
302
315
  isPressed?: boolean;
303
316
  isDisabled?: boolean;
304
317
  asChild?: boolean;
@@ -492,7 +505,7 @@ declare const CloseButton: react.ForwardRefExoticComponent<{
492
505
  baseStyle?: react_native.StyleProp<react_native.ViewStyle>;
493
506
  glyphStyle?: react_native.StyleProp<react_native.ViewStyle>;
494
507
  style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
495
- } & Omit<PressableFeedbackProps, "isPressed" | "style" | "children"> & react.RefAttributes<View>>;
508
+ } & Omit<PressableFeedbackProps, "style" | "children" | "isPressed"> & react.RefAttributes<View>>;
496
509
 
497
510
  /** The two slots a component publishes for a `CloseButton`: its box and one cross bar. */
498
511
  type CloseButtonSlots = {
@@ -1,20 +1,21 @@
1
+ import "../chunk-MESKS6AI.js";
1
2
  import {
2
3
  Portal,
3
4
  PortalContext,
4
5
  PortalHost
5
- } from "../chunk-ZC35YYKS.js";
6
+ } from "../chunk-2PMXMKS5.js";
6
7
  import {
7
8
  SelectionFill
8
9
  } from "../chunk-BA2DBSAN.js";
9
10
  import {
10
11
  CloseButton,
11
12
  closeButtonBase
12
- } from "../chunk-U3RDU3HU.js";
13
+ } from "../chunk-EOJ5MYAQ.js";
13
14
  import {
14
15
  Icon,
15
16
  IconContext,
16
17
  useIconContext
17
- } from "../chunk-WJPQARJ5.js";
18
+ } from "../chunk-HXW4ANVB.js";
18
19
  import {
19
20
  FEEDBACK_OVERLAY,
20
21
  HIGHLIGHT_DURATION,
@@ -36,9 +37,9 @@ import {
36
37
  resolveSlotAnimation,
37
38
  rippleRadiusFor,
38
39
  useFeedback
39
- } from "../chunk-XNNJM5DQ.js";
40
- import "../chunk-423RQBOX.js";
40
+ } from "../chunk-UGF35NSE.js";
41
41
  import "../chunk-EGLLDKN6.js";
42
+ import "../chunk-423RQBOX.js";
42
43
  import {
43
44
  Slot,
44
45
  childrenToString,
@@ -52,11 +53,10 @@ import {
52
53
  createRecipe,
53
54
  radiusAxis
54
55
  } from "../chunk-4GTAZM2C.js";
56
+ import "../chunk-A3EGFI6T.js";
55
57
  import {
56
58
  useStyleProps
57
- } from "../chunk-MEYCZS32.js";
58
- import "../chunk-A3EGFI6T.js";
59
- import "../chunk-GGW42MY4.js";
59
+ } from "../chunk-M63GFNKV.js";
60
60
  export {
61
61
  CloseButton,
62
62
  FEEDBACK_OVERLAY,
@@ -3,7 +3,7 @@ import { StyleProp, TextStyle, ViewStyle, TextInputProps, TextProps, ViewProps }
3
3
  import { T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
4
4
  import { S as Size, R as RadiusKey } from './theme.type-C2gNHpEx.js';
5
5
 
6
- type InputSlot = 'root' | 'label' | 'field' | 'textArea' | 'placeholder' | 'description' | 'error' | 'prefix' | 'suffix' | 'icon';
6
+ type TextFieldSlot = 'root' | 'label' | 'field' | 'textArea' | 'placeholder' | 'description' | 'error' | 'prefix' | 'suffix' | 'icon';
7
7
  /**
8
8
  * The library's four emphasis levels, narrowed like the `Card`'s (§1 bis). A field
9
9
  * **reports nothing** — an error is `isInvalid`, which is a state and not a variant — so
@@ -27,7 +27,7 @@ type InputSlot = 'root' | 'label' | 'field' | 'textArea' | 'placeholder' | 'desc
27
27
  * and we ship at `1`. That is the one shipped default where the two differ;
28
28
  * `createTheme({ borderWidth: { field: 0 } })` reproduces theirs.
29
29
  */
30
- type InputVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
30
+ type TextFieldVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
31
31
  /**
32
32
  * Where the label sits relative to the field's box.
33
33
  *
@@ -36,24 +36,24 @@ type InputVariant = 'primary' | 'secondary' | 'tertiary' | 'ghost';
36
36
  * own padding, so the JSX is identical either way and nothing is reparented (R4).
37
37
  *
38
38
  * Because the inside label positions itself against the top of the root, it assumes the
39
- * field is the first thing in the column's flow: write `Input.Description` and
40
- * `Input.Error` after the field, which is where they belong anyway.
39
+ * field is the first thing in the column's flow: write `TextField.Description` and
40
+ * `TextField.Error` after the field, which is where they belong anyway.
41
41
  */
42
- type InputLabelPlacement = 'outside' | 'inside';
43
- type InputSize = Size;
42
+ type TextFieldLabelPlacement = 'outside' | 'inside';
43
+ type TextFieldSize = Size;
44
44
  /**
45
- * What the `Input` itself understands. R14 — a name in here is the component's, so the
45
+ * What the `TextField` itself understands. R14 — a name in here is the component's, so the
46
46
  * style prop that shares it is not exposed: `size` is the field's scale and never
47
47
  * `ViewStyle`'s, and `color` is R7's tint.
48
48
  */
49
- type InputOwnProps = {
50
- variant?: InputVariant;
49
+ type TextFieldOwnProps = {
50
+ variant?: TextFieldVariant;
51
51
  /** The field's height, its padding, the gaps and the type. Never width. */
52
- size?: InputSize;
52
+ size?: TextFieldSize;
53
53
  /** Overrides the `field` radius the theme chose for every size. */
54
54
  radius?: RadiusKey;
55
55
  /** Above the box, or lifted into it. @default 'outside' */
56
- labelPlacement?: InputLabelPlacement;
56
+ labelPlacement?: TextFieldLabelPlacement;
57
57
  /**
58
58
  * A raw tint (`'#7c3aed'`), never a token (R7). It lands where the variant put its
59
59
  * tokens — the fill of a `default`, the border of a `tertiary` — and, because the focus
@@ -65,7 +65,7 @@ type InputOwnProps = {
65
65
  * treatment off: an error outranks focus, and a field that is both should read as
66
66
  * wrong rather than as busy.
67
67
  *
68
- * It does **not** mount or unmount `Input.Error`. That stays the caller's — a slot that
68
+ * It does **not** mount or unmount `TextField.Error`. That stays the caller's — a slot that
69
69
  * silently renders nothing is a slot you cannot debug.
70
70
  */
71
71
  isInvalid?: boolean;
@@ -76,10 +76,10 @@ type InputOwnProps = {
76
76
  };
77
77
  /**
78
78
  * R14 — the input's own props, the wrapper `View`'s, and every `ViewStyle` key neither
79
- * already claims. **`TextInputProps` are not here**: they belong to `Input.Field`, which
79
+ * already claims. **`TextInputProps` are not here**: they belong to `TextField.Field`, which
80
80
  * is the node that has them.
81
81
  */
82
- type InputProps = InputOwnProps & Omit<ViewProps, keyof InputOwnProps> & Omit<ViewStyleProps, keyof InputOwnProps | keyof ViewProps> & {
82
+ type TextFieldProps = TextFieldOwnProps & Omit<ViewProps, keyof TextFieldOwnProps> & Omit<ViewStyleProps, keyof TextFieldOwnProps | keyof ViewProps> & {
83
83
  /** R12 — merge into the single child instead of rendering a `View`. */
84
84
  asChild?: boolean;
85
85
  };
@@ -89,14 +89,14 @@ type InputProps = InputOwnProps & Omit<ViewProps, keyof InputOwnProps> & Omit<Vi
89
89
  * `editable` is absent: it is `disabled` under another name, and R8 keeps that off the
90
90
  * public surface — `isDisabled` on the root is what stops the field.
91
91
  */
92
- type InputFieldProps = Omit<TextInputProps, 'editable'> & Omit<TextStyleProps, keyof TextInputProps>;
92
+ type TextFieldFieldProps = Omit<TextInputProps, 'editable'> & Omit<TextStyleProps, keyof TextInputProps>;
93
93
  /** `Text`'s own props win over the `TextStyle` keys of the same name (R14). */
94
- type InputTextProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
94
+ type TextFieldTextProps = TextProps & Omit<TextStyleProps, keyof TextProps> & {
95
95
  children?: ReactNode;
96
96
  };
97
- type InputLabelProps = InputTextProps;
98
- type InputDescriptionProps = InputTextProps;
99
- type InputErrorProps = InputTextProps;
97
+ type TextFieldLabelProps = TextFieldTextProps;
98
+ type TextFieldDescriptionProps = TextFieldTextProps;
99
+ type TextFieldErrorProps = TextFieldTextProps;
100
100
  /**
101
101
  * Read off `TextInput`'s own props rather than spelled out: React Native has renamed the
102
102
  * payload of these two more than once, and a hand-written `NativeSyntheticEvent<…>` here
@@ -109,10 +109,10 @@ type FieldBlurEvent = Parameters<NonNullable<TextInputProps['onBlur']>>[0];
109
109
  * cached `StyleSheet` reference with the uncached tint pass layered over it, so a slot
110
110
  * merges its own `style` on top and does no work of its own.
111
111
  */
112
- type InputContextValue = {
112
+ type TextFieldContextValue = {
113
113
  labelStyle: StyleProp<TextStyle>;
114
114
  fieldStyle: StyleProp<TextStyle>;
115
- /** Layered *over* `fieldStyle` by `Input.TextArea`: only what a multiline field adds. */
115
+ /** Layered *over* `fieldStyle` by `TextField.TextArea`: only what a multiline field adds. */
116
116
  textAreaStyle: StyleProp<TextStyle>;
117
117
  /**
118
118
  * Values, not a style: `rows` is a raw number, so the height it implies is arithmetic
@@ -126,7 +126,7 @@ type InputContextValue = {
126
126
  descriptionStyle: StyleProp<TextStyle>;
127
127
  errorStyle: StyleProp<TextStyle>;
128
128
  /**
129
- * The two decorators of an `InputGroup`, already pinned to their edge and inset by the
129
+ * The two decorators of a `FieldGroup`, already pinned to their edge and inset by the
130
130
  * field's own padding. They are resolved here, on the root, because the size that
131
131
  * decides that padding is the root's — the group itself adds no axis of its own.
132
132
  */
@@ -149,7 +149,7 @@ type InputContextValue = {
149
149
  /**
150
150
  * The focus state lives on the **root**, because the root's recipe resolves on it (R5)
151
151
  * and it needs the value before it renders — but the node that hears the event is
152
- * `Input.Field`, three levels down. These are how it reports back. Their identity is
152
+ * `TextField.Field`, three levels down. These are how it reports back. Their identity is
153
153
  * stable, so publishing them costs no re-render of a memoized slot.
154
154
  */
155
155
  onFieldFocus: (event: FieldFocusEvent) => void;
@@ -164,4 +164,4 @@ type InputContextValue = {
164
164
  isInvalid: boolean;
165
165
  };
166
166
 
167
- export type { InputFieldProps as I, InputProps as a, InputContextValue as b, InputDescriptionProps as c, InputErrorProps as d, InputLabelPlacement as e, InputLabelProps as f, InputSize as g, InputSlot as h, InputVariant as i };
167
+ export type { TextFieldFieldProps as T, TextFieldProps as a, TextFieldContextValue as b, TextFieldDescriptionProps as c, TextFieldErrorProps as d, TextFieldLabelPlacement as e, TextFieldLabelProps as f, TextFieldSize as g, TextFieldSlot as h, TextFieldVariant as i };