@xaui/native 0.9.1-alpha.27 → 0.9.1-alpha.29

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 (71) hide show
  1. package/dist/{chunk-3JATAB7S.js → chunk-4GTAZM2C.js} +4 -2
  2. package/dist/{chunk-N4UJYDOW.js → chunk-5RFRASSB.js} +20 -18
  3. package/dist/{chunk-V2FQN6ZK.js → chunk-7BOFQN2G.js} +1 -1
  4. package/dist/{chunk-5OXZIZRZ.cjs → chunk-APONC4DB.cjs} +7 -7
  5. package/dist/{chunk-6FBGCF5T.cjs → chunk-AQNWXJYV.cjs} +2 -2
  6. package/dist/chunk-BA2DBSAN.js +102 -0
  7. package/dist/{chunk-TR2TGPDQ.js → chunk-D4SOU26X.js} +1 -1
  8. package/dist/{chunk-CQRUNV6S.cjs → chunk-E25JH7W2.cjs} +17 -17
  9. package/dist/{chunk-2EBB5BO3.cjs → chunk-F3H4TXAY.cjs} +14 -33
  10. package/dist/chunk-F6CQ6CBI.cjs +112 -0
  11. package/dist/{chunk-ZTA47PO5.js → chunk-FDSQOPJH.js} +1 -1
  12. package/dist/{chunk-JCKVYYZO.cjs → chunk-FFEUGWVA.cjs} +3 -3
  13. package/dist/{chunk-YXVKQMCK.cjs → chunk-FNEUOBCV.cjs} +4 -2
  14. package/dist/{chunk-Y7U6ACMB.cjs → chunk-FXHRNUCS.cjs} +2 -2
  15. package/dist/{chunk-J4JFIC4W.cjs → chunk-GCU5A5MM.cjs} +3 -3
  16. package/dist/{chunk-G52TQJBI.js → chunk-HOIQRGSK.js} +1 -1
  17. package/dist/chunk-L3Q5TVYE.js +659 -0
  18. package/dist/{chunk-WEMZ4VMC.js → chunk-NG4GFBDR.js} +1 -1
  19. package/dist/chunk-O5KDIEDH.cjs +735 -0
  20. package/dist/chunk-RZC4VFB5.cjs +698 -0
  21. package/dist/chunk-SVRZJEDU.cjs +289 -0
  22. package/dist/{chunk-3LKGVKQY.cjs → chunk-TFNB2PNI.cjs} +4 -4
  23. package/dist/chunk-V3KS5PPK.js +342 -0
  24. package/dist/{chunk-AXSJPWSJ.js → chunk-V56334S3.js} +1 -1
  25. package/dist/{chunk-EHARM2EN.js → chunk-VUEDYW3M.js} +1 -1
  26. package/dist/chunk-XYFMSRNJ.js +289 -0
  27. package/dist/{chunk-56KVKM27.js → chunk-YGOXQSNU.js} +15 -15
  28. package/dist/{chunk-H7DVR52Z.cjs → chunk-YWBTIWT5.cjs} +3 -3
  29. package/dist/components/alert/index.cjs +3 -3
  30. package/dist/components/alert/index.js +2 -2
  31. package/dist/components/button/index.cjs +3 -3
  32. package/dist/components/button/index.js +2 -2
  33. package/dist/components/card/index.cjs +3 -3
  34. package/dist/components/card/index.js +2 -2
  35. package/dist/components/checkbox/index.cjs +4 -3
  36. package/dist/components/checkbox/index.d.cts +4 -5
  37. package/dist/components/checkbox/index.d.ts +4 -5
  38. package/dist/components/checkbox/index.js +3 -2
  39. package/dist/components/chip/index.cjs +3 -3
  40. package/dist/components/chip/index.js +2 -2
  41. package/dist/components/input/index.cjs +3 -3
  42. package/dist/components/input/index.js +2 -2
  43. package/dist/components/input-group/index.cjs +4 -4
  44. package/dist/components/input-group/index.js +3 -3
  45. package/dist/components/input-otp/index.cjs +3 -3
  46. package/dist/components/input-otp/index.js +2 -2
  47. package/dist/components/radio/index.cjs +24 -0
  48. package/dist/components/radio/index.d.cts +1102 -0
  49. package/dist/components/radio/index.d.ts +1102 -0
  50. package/dist/components/radio/index.js +24 -0
  51. package/dist/components/switch/index.cjs +25 -0
  52. package/dist/components/switch/index.d.cts +1154 -0
  53. package/dist/components/switch/index.d.ts +1154 -0
  54. package/dist/components/switch/index.js +25 -0
  55. package/dist/components/text-area/index.cjs +4 -4
  56. package/dist/components/text-area/index.js +3 -3
  57. package/dist/components/typography/index.cjs +3 -3
  58. package/dist/components/typography/index.js +2 -2
  59. package/dist/index.cjs +47 -13
  60. package/dist/index.d.cts +3 -1
  61. package/dist/index.d.ts +3 -1
  62. package/dist/index.js +46 -12
  63. package/dist/system/index.cjs +7 -3
  64. package/dist/system/index.d.cts +47 -2
  65. package/dist/system/index.d.ts +47 -2
  66. package/dist/system/index.js +6 -2
  67. package/package.json +21 -1
  68. package/dist/chunk-63TWVWHG.cjs +0 -584
  69. package/dist/chunk-LGVIZAB2.js +0 -503
  70. /package/dist/{chunk-6HXWQ5AU.cjs → chunk-VZGBEGDV.cjs} +0 -0
  71. /package/dist/{chunk-AKXG43S4.js → chunk-Y4BPKSD3.js} +0 -0
@@ -0,0 +1,289 @@
1
+ import {
2
+ useControllableState
3
+ } from "./chunk-F6W3JQ7K.js";
4
+ import {
5
+ SelectionFill
6
+ } from "./chunk-BA2DBSAN.js";
7
+ import {
8
+ PressableFeedback,
9
+ usePressState
10
+ } from "./chunk-4HELPMAK.js";
11
+ import {
12
+ createRecipe,
13
+ radiusAxis
14
+ } from "./chunk-4GTAZM2C.js";
15
+ import {
16
+ childrenToString,
17
+ createSlotContext,
18
+ useStyleProps
19
+ } from "./chunk-PMO62QK4.js";
20
+ import {
21
+ useXAUITheme
22
+ } from "./chunk-A3EGFI6T.js";
23
+
24
+ // src/components/radio/radio-indicator.tsx
25
+ import { forwardRef } from "react";
26
+ import { View } from "react-native";
27
+
28
+ // src/components/radio/radio.context.ts
29
+ var [RadioProvider, useRadio] = createSlotContext("Radio");
30
+
31
+ // src/components/radio/radio-indicator.tsx
32
+ import { jsx } from "react/jsx-runtime";
33
+ var RadioIndicator = forwardRef(
34
+ function RadioIndicator2({ children, animation = true, style, ...props }, ref) {
35
+ const { indicatorStyle, fillStyle, isSelected } = useRadio();
36
+ const [styleProps, rest] = useStyleProps(props);
37
+ return /* @__PURE__ */ jsx(View, { ref, ...rest, style: [indicatorStyle, styleProps, style], children: /* @__PURE__ */ jsx(
38
+ SelectionFill,
39
+ {
40
+ isVisible: isSelected,
41
+ style: fillStyle,
42
+ animation,
43
+ children: children ?? /* @__PURE__ */ jsx(Thumb, {})
44
+ }
45
+ ) });
46
+ }
47
+ );
48
+ RadioIndicator.displayName = "XAUI.Radio.Indicator";
49
+ function Thumb() {
50
+ const { thumbStyle } = useRadio();
51
+ return /* @__PURE__ */ jsx(View, { style: thumbStyle });
52
+ }
53
+
54
+ // src/components/radio/radio-label.tsx
55
+ import { forwardRef as forwardRef2 } from "react";
56
+ import { Text } from "react-native";
57
+ import { jsx as jsx2 } from "react/jsx-runtime";
58
+ var RadioLabel = forwardRef2(function RadioLabel2({ children, style, ...props }, ref) {
59
+ const { labelStyle } = useRadio();
60
+ const [styleProps, rest] = useStyleProps(props);
61
+ return /* @__PURE__ */ jsx2(Text, { ref, style: [labelStyle, styleProps, style], ...rest, children });
62
+ });
63
+ RadioLabel.displayName = "XAUI.Radio.Label";
64
+
65
+ // src/components/radio/radio.tsx
66
+ import { forwardRef as forwardRef3, useCallback, useMemo } from "react";
67
+
68
+ // src/components/radio/radio.recipe.ts
69
+ var SLOTS = ["root", "indicator", "fill", "thumb", "label"];
70
+ var VARIANT_TOKENS = {
71
+ primary: {
72
+ bg: "fieldBackground",
73
+ border: "fieldBorder",
74
+ bgSelected: "accent",
75
+ fgSelected: "accentForeground"
76
+ },
77
+ secondary: {
78
+ bg: "default",
79
+ border: "fieldBorder",
80
+ bgSelected: "accent",
81
+ fgSelected: "accentForeground"
82
+ },
83
+ tertiary: {
84
+ border: "fieldBorder",
85
+ bgSelected: "accent",
86
+ fgSelected: "accentForeground"
87
+ }
88
+ };
89
+ function sizeAxis(step) {
90
+ const { box, label, gap } = step;
91
+ return (theme) => {
92
+ const side = theme.spacing(box);
93
+ const dot = Math.round(side * THUMB_RATIO);
94
+ return {
95
+ root: { gap: theme.spacing(gap) },
96
+ indicator: { width: side, height: side },
97
+ thumb: { width: dot, height: dot, borderRadius: dot / 2 },
98
+ label: {
99
+ fontSize: theme.fontSizes[label],
100
+ lineHeight: theme.lineHeights[label]
101
+ }
102
+ };
103
+ };
104
+ }
105
+ var THUMB_RATIO = 10 / 24;
106
+ var SIZES = {
107
+ sm: { box: 5, gap: 2, label: "sm" },
108
+ md: { box: 6, gap: 2, label: "md" },
109
+ lg: { box: 7, gap: 2.5, label: "lg" }
110
+ };
111
+ var radioRecipe = createRecipe({
112
+ slots: SLOTS,
113
+ base: (theme) => ({
114
+ root: { flexDirection: "row", alignItems: "center", alignSelf: "flex-start" },
115
+ indicator: {
116
+ alignItems: "center",
117
+ justifyContent: "center",
118
+ borderWidth: theme.borderWidth.field,
119
+ // The one shape decision this component makes, and the whole difference between it
120
+ // and the `Checkbox`: a radio is round, at every size. `radius` still overrides it.
121
+ borderRadius: theme.radius.full,
122
+ overflow: "hidden"
123
+ },
124
+ fill: {
125
+ position: "absolute",
126
+ top: 0,
127
+ bottom: 0,
128
+ start: 0,
129
+ end: 0,
130
+ alignItems: "center",
131
+ justifyContent: "center"
132
+ },
133
+ label: {
134
+ fontFamily: theme.fontFamilies.body,
135
+ color: theme.colors.foreground
136
+ }
137
+ }),
138
+ variantTokens: VARIANT_TOKENS,
139
+ /** The `Checkbox`'s paint, with a dot where the check was. */
140
+ paint: (theme, colors) => ({
141
+ indicator: {
142
+ backgroundColor: colors.bg,
143
+ borderColor: colors.border,
144
+ borderWidth: colors.border ? theme.borderWidth.field : 0
145
+ },
146
+ fill: { backgroundColor: colors.bgSelected },
147
+ thumb: { backgroundColor: colors.fgSelected }
148
+ }),
149
+ variants: {
150
+ size: {
151
+ sm: sizeAxis(SIZES.sm),
152
+ md: sizeAxis(SIZES.md),
153
+ lg: sizeAxis(SIZES.lg)
154
+ },
155
+ radius: radiusAxis("indicator"),
156
+ /** Declared after `size` so its border wins. The `Checkbox`'s rule, to the letter. */
157
+ isInvalid: {
158
+ true: (theme) => ({
159
+ indicator: { borderColor: theme.colors.danger, backgroundColor: void 0 },
160
+ fill: { backgroundColor: theme.colors.danger },
161
+ thumb: { backgroundColor: theme.colors.dangerForeground },
162
+ label: { color: theme.colors.danger }
163
+ })
164
+ }
165
+ },
166
+ compoundVariants: [
167
+ {
168
+ when: { variant: "primary" },
169
+ style: (theme) => ({ indicator: theme.shadows.field })
170
+ }
171
+ ],
172
+ states: {
173
+ disabled: (theme) => ({ root: { opacity: theme.opacity.disabled } })
174
+ },
175
+ defaultVariants: { variant: "secondary", size: "md" }
176
+ });
177
+
178
+ // src/components/radio/radio.tsx
179
+ import { Fragment, jsx as jsx3, jsxs } from "react/jsx-runtime";
180
+ var RadioRoot = forwardRef3(function Radio({
181
+ children,
182
+ variant,
183
+ size,
184
+ radius,
185
+ color,
186
+ isSelected,
187
+ defaultSelected = false,
188
+ onSelectedChange,
189
+ isInvalid = false,
190
+ isDisabled = false,
191
+ asChild = false,
192
+ accessibilityRole,
193
+ accessibilityState,
194
+ animation,
195
+ style,
196
+ onPress,
197
+ onPressIn,
198
+ onPressOut,
199
+ ...props
200
+ }, ref) {
201
+ const theme = useXAUITheme();
202
+ const [styleProps, rest] = useStyleProps(props);
203
+ const [isPressed, press] = usePressState({ onPressIn, onPressOut });
204
+ const [selected, setSelected] = useControllableState({
205
+ value: isSelected,
206
+ defaultValue: defaultSelected,
207
+ onChange: onSelectedChange
208
+ });
209
+ const handlePress = useCallback(
210
+ (event) => {
211
+ setSelected(true);
212
+ onPress?.(event);
213
+ },
214
+ [setSelected, onPress]
215
+ );
216
+ const selection = {
217
+ variant,
218
+ size,
219
+ radius,
220
+ isInvalid: isInvalid ? "true" : void 0
221
+ };
222
+ const states = { pressed: isPressed, disabled: isDisabled };
223
+ const styles = radioRecipe.resolve({ theme, selection, states });
224
+ const tint = color && !isInvalid ? radioRecipe.tint({ theme, color, selection, states }) : void 0;
225
+ const context = useMemo(
226
+ () => ({
227
+ // The tint never reaches the circle at rest — only the fill and the dot that say it
228
+ // is the chosen one. The `Checkbox` says why, at the same line.
229
+ indicatorStyle: styles.indicator,
230
+ fillStyle: tint ? [styles.fill, tint.fill] : styles.fill,
231
+ thumbStyle: tint ? [styles.thumb, tint.thumb] : styles.thumb,
232
+ labelStyle: styles.label,
233
+ isSelected: selected,
234
+ isDisabled,
235
+ isInvalid
236
+ }),
237
+ [styles, tint, selected, isDisabled, isInvalid]
238
+ );
239
+ const rootStyle = [
240
+ styles.root,
241
+ tint?.root,
242
+ styleProps,
243
+ typeof style === "function" ? style({ pressed: isPressed }) : style
244
+ ];
245
+ const text = childrenToString(children);
246
+ const content = text !== null ? /* @__PURE__ */ jsxs(Fragment, { children: [
247
+ /* @__PURE__ */ jsx3(RadioIndicator, {}),
248
+ /* @__PURE__ */ jsx3(RadioLabel, { children: text })
249
+ ] }) : children ?? /* @__PURE__ */ jsx3(RadioIndicator, {});
250
+ return /* @__PURE__ */ jsx3(RadioProvider, { value: context, children: /* @__PURE__ */ jsx3(
251
+ PressableFeedback,
252
+ {
253
+ ref,
254
+ isPressed,
255
+ isDisabled,
256
+ asChild,
257
+ animation,
258
+ accessibilityRole: accessibilityRole ?? "radio",
259
+ accessibilityState: {
260
+ checked: selected,
261
+ disabled: isDisabled,
262
+ ...accessibilityState
263
+ },
264
+ "aria-invalid": isInvalid,
265
+ ...rest,
266
+ style: rootStyle,
267
+ onPress: handlePress,
268
+ onPressIn: press.onPressIn,
269
+ onPressOut: press.onPressOut,
270
+ children: asChild ? children : content
271
+ }
272
+ ) });
273
+ });
274
+ RadioRoot.displayName = "XAUI.Radio.Root";
275
+
276
+ // src/components/radio/index.ts
277
+ var Radio2 = Object.assign(RadioRoot, {
278
+ Indicator: RadioIndicator,
279
+ Label: RadioLabel
280
+ });
281
+
282
+ export {
283
+ useRadio,
284
+ RadioIndicator,
285
+ RadioLabel,
286
+ radioRecipe,
287
+ RadioRoot,
288
+ Radio2 as Radio
289
+ };
@@ -1,7 +1,7 @@
1
1
  import { PressableFeedback, usePressState } from "./chunk-4HELPMAK.js";
2
2
  import { warnDev } from "./chunk-EGLLDKN6.js";
3
3
  import { Icon } from "./chunk-ICR42HHG.js";
4
- import { createRecipe, radiusAxis } from "./chunk-3JATAB7S.js";
4
+ import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
5
5
  import { childrenToString, createSlotContext, useStyleProps } from "./chunk-PMO62QK4.js";
6
6
  import { useXAUITheme } from "./chunk-A3EGFI6T.js";
7
7
 
@@ -74,10 +74,10 @@ function ButtonSpinner({
74
74
  });
75
75
  }
76
76
  ButtonSpinner.displayName = "XAUI.Button.Spinner";
77
- const _worklet_633469242714_init_data = {
78
- code: "function chunk56KVKM27Js1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
79
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-56KVKM27.js",
80
- sourceMap: "{\"version\":3,\"names\":[\"chunk56KVKM27Js1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-56KVKM27.js\"],\"mappings\":\"AAqFyC,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE3C,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
77
+ const _worklet_7673867799543_init_data = {
78
+ code: "function chunkYGOXQSNUJs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
79
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-YGOXQSNU.js",
80
+ sourceMap: "{\"version\":3,\"names\":[\"chunkYGOXQSNUJs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-YGOXQSNU.js\"],\"mappings\":\"AAqFyC,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE3C,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
81
81
  };
82
82
  function SpinningRing({
83
83
  style
@@ -90,28 +90,28 @@ function SpinningRing({
90
90
  }), -1, false);
91
91
  return () => cancelAnimation(angle);
92
92
  }, [angle]);
93
- const animatedStyle = useAnimatedStyle(function chunk56KVKM27Js1Factory({
94
- _worklet_633469242714_init_data,
93
+ const animatedStyle = useAnimatedStyle(function chunkYGOXQSNUJs1Factory({
94
+ _worklet_7673867799543_init_data,
95
95
  angle
96
96
  }) {
97
97
  const _e = [new global.Error(), -2, -27];
98
- const chunk56KVKM27Js1 = function () {
98
+ const chunkYGOXQSNUJs1 = function () {
99
99
  return {
100
100
  transform: [{
101
101
  rotate: `${angle.value}deg`
102
102
  }]
103
103
  };
104
104
  };
105
- chunk56KVKM27Js1.__closure = {
105
+ chunkYGOXQSNUJs1.__closure = {
106
106
  angle
107
107
  };
108
- chunk56KVKM27Js1.__workletHash = 633469242714;
109
- chunk56KVKM27Js1.__pluginVersion = "0.7.4";
110
- chunk56KVKM27Js1.__initData = _worklet_633469242714_init_data;
111
- chunk56KVKM27Js1.__stackDetails = _e;
112
- return chunk56KVKM27Js1;
108
+ chunkYGOXQSNUJs1.__workletHash = 7673867799543;
109
+ chunkYGOXQSNUJs1.__pluginVersion = "0.7.4";
110
+ chunkYGOXQSNUJs1.__initData = _worklet_7673867799543_init_data;
111
+ chunkYGOXQSNUJs1.__stackDetails = _e;
112
+ return chunkYGOXQSNUJs1;
113
113
  }({
114
- _worklet_633469242714_init_data,
114
+ _worklet_7673867799543_init_data,
115
115
  angle
116
116
  }), [angle]);
117
117
  return /* @__PURE__ */jsx3(Animated.View, {
@@ -15,7 +15,7 @@ var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkYXVKQMCKcjs = require('./chunk-YXVKQMCK.cjs');
18
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
19
19
 
20
20
 
21
21
 
@@ -233,7 +233,7 @@ var SIZES = {
233
233
  cross: 3
234
234
  }
235
235
  };
236
- var chipRecipe = _chunkYXVKQMCKcjs.createRecipe.call(void 0, {
236
+ var chipRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
237
237
  slots: SLOTS,
238
238
  // The cross's own geometry — thickness and centring — belongs to the shared
239
239
  // `CloseButton`; what stays below is the box and bar size this component's scale sets.
@@ -295,7 +295,7 @@ var chipRecipe = _chunkYXVKQMCKcjs.createRecipe.call(void 0, {
295
295
  md: sizeAxis(SIZES.md),
296
296
  lg: sizeAxis(SIZES.lg)
297
297
  },
298
- radius: _chunkYXVKQMCKcjs.radiusAxis.call(void 0, "root")
298
+ radius: _chunkFNEUOBCVcjs.radiusAxis.call(void 0, "root")
299
299
  },
300
300
  /**
301
301
  * The pressed colour is the variant's own `…Pressed` token, as on the `Button` and not
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJ4JFIC4Wcjs = require('../../chunk-J4JFIC4W.cjs');
5
+ var _chunkGCU5A5MMcjs = require('../../chunk-GCU5A5MM.cjs');
6
6
  require('../../chunk-J2JJLKLG.cjs');
7
7
  require('../../chunk-IG4Q3WQO.cjs');
8
8
  require('../../chunk-EJQCQPET.cjs');
9
9
  require('../../chunk-B4W2XNBP.cjs');
10
- require('../../chunk-YXVKQMCK.cjs');
10
+ require('../../chunk-FNEUOBCV.cjs');
11
11
  require('../../chunk-HUZ4AUM2.cjs');
12
12
  require('../../chunk-57SJ4LJF.cjs');
13
13
  require('../../chunk-MC7SY2QH.cjs');
@@ -15,4 +15,4 @@ require('../../chunk-MC7SY2QH.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.Alert = _chunkJ4JFIC4Wcjs.Alert; exports.alertRecipe = _chunkJ4JFIC4Wcjs.alertRecipe; exports.useAlert = _chunkJ4JFIC4Wcjs.useAlert;
18
+ exports.Alert = _chunkGCU5A5MMcjs.Alert; exports.alertRecipe = _chunkGCU5A5MMcjs.alertRecipe; exports.useAlert = _chunkGCU5A5MMcjs.useAlert;
@@ -2,12 +2,12 @@ import {
2
2
  Alert,
3
3
  alertRecipe,
4
4
  useAlert
5
- } from "../../chunk-AXSJPWSJ.js";
5
+ } from "../../chunk-V56334S3.js";
6
6
  import "../../chunk-A4RGJBP2.js";
7
7
  import "../../chunk-4HELPMAK.js";
8
8
  import "../../chunk-EGLLDKN6.js";
9
9
  import "../../chunk-ICR42HHG.js";
10
- import "../../chunk-3JATAB7S.js";
10
+ import "../../chunk-4GTAZM2C.js";
11
11
  import "../../chunk-PMO62QK4.js";
12
12
  import "../../chunk-A3EGFI6T.js";
13
13
  import "../../chunk-GGW42MY4.js";
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCQRUNV6Scjs = require('../../chunk-CQRUNV6S.cjs');
5
+ var _chunkE25JH7W2cjs = require('../../chunk-E25JH7W2.cjs');
6
6
  require('../../chunk-IG4Q3WQO.cjs');
7
7
  require('../../chunk-EJQCQPET.cjs');
8
8
  require('../../chunk-B4W2XNBP.cjs');
9
- require('../../chunk-YXVKQMCK.cjs');
9
+ require('../../chunk-FNEUOBCV.cjs');
10
10
  require('../../chunk-HUZ4AUM2.cjs');
11
11
  require('../../chunk-57SJ4LJF.cjs');
12
12
  require('../../chunk-MC7SY2QH.cjs');
@@ -14,4 +14,4 @@ require('../../chunk-MC7SY2QH.cjs');
14
14
 
15
15
 
16
16
 
17
- exports.Button = _chunkCQRUNV6Scjs.Button; exports.buttonRecipe = _chunkCQRUNV6Scjs.buttonRecipe; exports.useButton = _chunkCQRUNV6Scjs.useButton;
17
+ exports.Button = _chunkE25JH7W2cjs.Button; exports.buttonRecipe = _chunkE25JH7W2cjs.buttonRecipe; exports.useButton = _chunkE25JH7W2cjs.useButton;
@@ -2,11 +2,11 @@ import {
2
2
  Button,
3
3
  buttonRecipe,
4
4
  useButton
5
- } from "../../chunk-56KVKM27.js";
5
+ } from "../../chunk-YGOXQSNU.js";
6
6
  import "../../chunk-4HELPMAK.js";
7
7
  import "../../chunk-EGLLDKN6.js";
8
8
  import "../../chunk-ICR42HHG.js";
9
- import "../../chunk-3JATAB7S.js";
9
+ import "../../chunk-4GTAZM2C.js";
10
10
  import "../../chunk-PMO62QK4.js";
11
11
  import "../../chunk-A3EGFI6T.js";
12
12
  import "../../chunk-GGW42MY4.js";
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk6FBGCF5Tcjs = require('../../chunk-6FBGCF5T.cjs');
7
+ var _chunkAQNWXJYVcjs = require('../../chunk-AQNWXJYV.cjs');
8
8
  require('../../chunk-IG4Q3WQO.cjs');
9
9
  require('../../chunk-EJQCQPET.cjs');
10
- require('../../chunk-YXVKQMCK.cjs');
10
+ require('../../chunk-FNEUOBCV.cjs');
11
11
  require('../../chunk-HUZ4AUM2.cjs');
12
12
  require('../../chunk-57SJ4LJF.cjs');
13
13
  require('../../chunk-MC7SY2QH.cjs');
@@ -17,4 +17,4 @@ require('../../chunk-MC7SY2QH.cjs');
17
17
 
18
18
 
19
19
 
20
- exports.CARD_BACKGROUND = _chunk6FBGCF5Tcjs.CARD_BACKGROUND; exports.Card = _chunk6FBGCF5Tcjs.Card; exports.cardRecipe = _chunk6FBGCF5Tcjs.cardRecipe; exports.markBackground = _chunk6FBGCF5Tcjs.markBackground; exports.useCard = _chunk6FBGCF5Tcjs.useCard;
20
+ exports.CARD_BACKGROUND = _chunkAQNWXJYVcjs.CARD_BACKGROUND; exports.Card = _chunkAQNWXJYVcjs.Card; exports.cardRecipe = _chunkAQNWXJYVcjs.cardRecipe; exports.markBackground = _chunkAQNWXJYVcjs.markBackground; exports.useCard = _chunkAQNWXJYVcjs.useCard;
@@ -4,10 +4,10 @@ import {
4
4
  cardRecipe,
5
5
  markBackground,
6
6
  useCard
7
- } from "../../chunk-ZTA47PO5.js";
7
+ } from "../../chunk-FDSQOPJH.js";
8
8
  import "../../chunk-4HELPMAK.js";
9
9
  import "../../chunk-EGLLDKN6.js";
10
- import "../../chunk-3JATAB7S.js";
10
+ import "../../chunk-4GTAZM2C.js";
11
11
  import "../../chunk-PMO62QK4.js";
12
12
  import "../../chunk-A3EGFI6T.js";
13
13
  import "../../chunk-GGW42MY4.js";
@@ -5,11 +5,12 @@
5
5
 
6
6
 
7
7
 
8
- var _chunk2EBB5BO3cjs = require('../../chunk-2EBB5BO3.cjs');
8
+ var _chunkF3H4TXAYcjs = require('../../chunk-F3H4TXAY.cjs');
9
9
  require('../../chunk-7EIHHOHP.cjs');
10
+ require('../../chunk-F6CQ6CBI.cjs');
10
11
  require('../../chunk-IG4Q3WQO.cjs');
11
12
  require('../../chunk-EJQCQPET.cjs');
12
- require('../../chunk-YXVKQMCK.cjs');
13
+ require('../../chunk-FNEUOBCV.cjs');
13
14
  require('../../chunk-HUZ4AUM2.cjs');
14
15
  require('../../chunk-57SJ4LJF.cjs');
15
16
  require('../../chunk-MC7SY2QH.cjs');
@@ -20,4 +21,4 @@ require('../../chunk-MC7SY2QH.cjs');
20
21
 
21
22
 
22
23
 
23
- exports.Checkbox = _chunk2EBB5BO3cjs.Checkbox; exports.CheckboxIndicator = _chunk2EBB5BO3cjs.CheckboxIndicator; exports.CheckboxLabel = _chunk2EBB5BO3cjs.CheckboxLabel; exports.CheckboxRoot = _chunk2EBB5BO3cjs.CheckboxRoot; exports.checkboxRecipe = _chunk2EBB5BO3cjs.checkboxRecipe; exports.useCheckbox = _chunk2EBB5BO3cjs.useCheckbox;
24
+ exports.Checkbox = _chunkF3H4TXAYcjs.Checkbox; exports.CheckboxIndicator = _chunkF3H4TXAYcjs.CheckboxIndicator; exports.CheckboxLabel = _chunkF3H4TXAYcjs.CheckboxLabel; exports.CheckboxRoot = _chunkF3H4TXAYcjs.CheckboxRoot; exports.checkboxRecipe = _chunkF3H4TXAYcjs.checkboxRecipe; exports.useCheckbox = _chunkF3H4TXAYcjs.useCheckbox;
@@ -607,16 +607,15 @@ declare const CheckboxRoot: react.ForwardRefExoticComponent<{
607
607
  * from where they look like a tick — so a checkbox works in a project that has installed
608
608
  * no icon set. That is the `CloseButton`'s bargain, taken for the same reason.
609
609
  *
610
- * The fill is a node of its own rather than a background on the box: it has to fade and
611
- * grow in without taking the border with it, and the mark rides along with it, because a
612
- * check arriving before its background reads as a glitch rather than as an animation.
610
+ * The fill and its motion are `SelectionFill`'s, shared with the `Radio`: what differs
611
+ * between the two controls is the mark and the shape it sits in, not how either arrives.
613
612
  */
614
613
  declare const CheckboxIndicator: react.ForwardRefExoticComponent<{
615
- children?: ReactNode;
614
+ children?: react.ReactNode;
616
615
  animation?: boolean;
617
616
  style?: react_native.StyleProp<react_native.ViewStyle>;
618
617
  } & Omit<react_native.ViewProps, keyof {
619
- children?: ReactNode;
618
+ children?: react.ReactNode;
620
619
  animation?: boolean;
621
620
  style?: react_native.StyleProp<react_native.ViewStyle>;
622
621
  }> & Omit<ViewStyleProps, "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" | "animation"> & react.RefAttributes<View>>;
@@ -607,16 +607,15 @@ declare const CheckboxRoot: react.ForwardRefExoticComponent<{
607
607
  * from where they look like a tick — so a checkbox works in a project that has installed
608
608
  * no icon set. That is the `CloseButton`'s bargain, taken for the same reason.
609
609
  *
610
- * The fill is a node of its own rather than a background on the box: it has to fade and
611
- * grow in without taking the border with it, and the mark rides along with it, because a
612
- * check arriving before its background reads as a glitch rather than as an animation.
610
+ * The fill and its motion are `SelectionFill`'s, shared with the `Radio`: what differs
611
+ * between the two controls is the mark and the shape it sits in, not how either arrives.
613
612
  */
614
613
  declare const CheckboxIndicator: react.ForwardRefExoticComponent<{
615
- children?: ReactNode;
614
+ children?: react.ReactNode;
616
615
  animation?: boolean;
617
616
  style?: react_native.StyleProp<react_native.ViewStyle>;
618
617
  } & Omit<react_native.ViewProps, keyof {
619
- children?: ReactNode;
618
+ children?: react.ReactNode;
620
619
  animation?: boolean;
621
620
  style?: react_native.StyleProp<react_native.ViewStyle>;
622
621
  }> & Omit<ViewStyleProps, "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" | "animation"> & react.RefAttributes<View>>;
@@ -5,11 +5,12 @@ import {
5
5
  CheckboxRoot,
6
6
  checkboxRecipe,
7
7
  useCheckbox
8
- } from "../../chunk-LGVIZAB2.js";
8
+ } from "../../chunk-V3KS5PPK.js";
9
9
  import "../../chunk-F6W3JQ7K.js";
10
+ import "../../chunk-BA2DBSAN.js";
10
11
  import "../../chunk-4HELPMAK.js";
11
12
  import "../../chunk-EGLLDKN6.js";
12
- import "../../chunk-3JATAB7S.js";
13
+ import "../../chunk-4GTAZM2C.js";
13
14
  import "../../chunk-PMO62QK4.js";
14
15
  import "../../chunk-A3EGFI6T.js";
15
16
  import "../../chunk-GGW42MY4.js";
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkH7DVR52Zcjs = require('../../chunk-H7DVR52Z.cjs');
5
+ var _chunkYWBTIWT5cjs = require('../../chunk-YWBTIWT5.cjs');
6
6
  require('../../chunk-J2JJLKLG.cjs');
7
7
  require('../../chunk-IG4Q3WQO.cjs');
8
8
  require('../../chunk-EJQCQPET.cjs');
9
9
  require('../../chunk-B4W2XNBP.cjs');
10
- require('../../chunk-YXVKQMCK.cjs');
10
+ require('../../chunk-FNEUOBCV.cjs');
11
11
  require('../../chunk-HUZ4AUM2.cjs');
12
12
  require('../../chunk-57SJ4LJF.cjs');
13
13
  require('../../chunk-MC7SY2QH.cjs');
@@ -15,4 +15,4 @@ require('../../chunk-MC7SY2QH.cjs');
15
15
 
16
16
 
17
17
 
18
- exports.Chip = _chunkH7DVR52Zcjs.Chip; exports.chipRecipe = _chunkH7DVR52Zcjs.chipRecipe; exports.useChip = _chunkH7DVR52Zcjs.useChip;
18
+ exports.Chip = _chunkYWBTIWT5cjs.Chip; exports.chipRecipe = _chunkYWBTIWT5cjs.chipRecipe; exports.useChip = _chunkYWBTIWT5cjs.useChip;
@@ -2,12 +2,12 @@ import {
2
2
  Chip,
3
3
  chipRecipe,
4
4
  useChip
5
- } from "../../chunk-EHARM2EN.js";
5
+ } from "../../chunk-VUEDYW3M.js";
6
6
  import "../../chunk-A4RGJBP2.js";
7
7
  import "../../chunk-4HELPMAK.js";
8
8
  import "../../chunk-EGLLDKN6.js";
9
9
  import "../../chunk-ICR42HHG.js";
10
- import "../../chunk-3JATAB7S.js";
10
+ import "../../chunk-4GTAZM2C.js";
11
11
  import "../../chunk-PMO62QK4.js";
12
12
  import "../../chunk-A3EGFI6T.js";
13
13
  import "../../chunk-GGW42MY4.js";
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkJCKVYYZOcjs = require('../../chunk-JCKVYYZO.cjs');
11
- require('../../chunk-YXVKQMCK.cjs');
10
+ var _chunkFFEUGWVAcjs = require('../../chunk-FFEUGWVA.cjs');
11
+ require('../../chunk-FNEUOBCV.cjs');
12
12
  require('../../chunk-HUZ4AUM2.cjs');
13
13
  require('../../chunk-57SJ4LJF.cjs');
14
14
  require('../../chunk-MC7SY2QH.cjs');
@@ -21,4 +21,4 @@ require('../../chunk-MC7SY2QH.cjs');
21
21
 
22
22
 
23
23
 
24
- exports.Input = _chunkJCKVYYZOcjs.Input; exports.InputDescription = _chunkJCKVYYZOcjs.InputDescription; exports.InputError = _chunkJCKVYYZOcjs.InputError; exports.InputField = _chunkJCKVYYZOcjs.InputField; exports.InputLabel = _chunkJCKVYYZOcjs.InputLabel; exports.InputRoot = _chunkJCKVYYZOcjs.InputRoot; exports.inputRecipe = _chunkJCKVYYZOcjs.inputRecipe; exports.useInput = _chunkJCKVYYZOcjs.useInput;
24
+ exports.Input = _chunkFFEUGWVAcjs.Input; exports.InputDescription = _chunkFFEUGWVAcjs.InputDescription; exports.InputError = _chunkFFEUGWVAcjs.InputError; exports.InputField = _chunkFFEUGWVAcjs.InputField; exports.InputLabel = _chunkFFEUGWVAcjs.InputLabel; exports.InputRoot = _chunkFFEUGWVAcjs.InputRoot; exports.inputRecipe = _chunkFFEUGWVAcjs.inputRecipe; exports.useInput = _chunkFFEUGWVAcjs.useInput;
@@ -7,8 +7,8 @@ import {
7
7
  InputRoot,
8
8
  inputRecipe,
9
9
  useInput
10
- } from "../../chunk-V2FQN6ZK.js";
11
- import "../../chunk-3JATAB7S.js";
10
+ } from "../../chunk-7BOFQN2G.js";
11
+ import "../../chunk-4GTAZM2C.js";
12
12
  import "../../chunk-PMO62QK4.js";
13
13
  import "../../chunk-A3EGFI6T.js";
14
14
  import "../../chunk-GGW42MY4.js";