@xaui/native 0.9.1-alpha.21 → 0.9.1-alpha.22

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 (75) hide show
  1. package/dist/{chunk-RMLFMRWL.js → chunk-2U6JR7BF.js} +5 -5
  2. package/dist/{chunk-N7C4UNUL.js → chunk-3JATAB7S.js} +23 -1
  3. package/dist/chunk-4MHJOWM4.cjs +364 -0
  4. package/dist/{chunk-2WMVDMFV.cjs → chunk-6HXWQ5AU.cjs} +2 -2
  5. package/dist/chunk-6WW4CSPY.cjs +82 -0
  6. package/dist/chunk-AHL33YAO.js +425 -0
  7. package/dist/{chunk-XHZBXYVU.js → chunk-AKXG43S4.js} +1 -1
  8. package/dist/{chunk-4NE3SLTM.cjs → chunk-BH5DSJVX.cjs} +102 -73
  9. package/dist/{chunk-BPBY7ON7.cjs → chunk-BNWS26PX.cjs} +19 -21
  10. package/dist/{chunk-5LC6KVL3.cjs → chunk-DXGQ43IV.cjs} +3 -3
  11. package/dist/{chunk-ISVUXVFL.js → chunk-FNQF4KQV.js} +19 -71
  12. package/dist/{chunk-YRCUALUQ.js → chunk-FTCTTBLG.js} +7 -9
  13. package/dist/{chunk-JL27KVRT.js → chunk-FVP5FUVS.js} +3 -3
  14. package/dist/{chunk-UL263KGM.cjs → chunk-GBPWTFTU.cjs} +10 -10
  15. package/dist/{chunk-TUJBDS5M.js → chunk-GG2WWCBK.js} +10 -10
  16. package/dist/{chunk-EVXZGNPA.cjs → chunk-HUZ4AUM2.cjs} +98 -98
  17. package/dist/chunk-I6PE5UUH.cjs +425 -0
  18. package/dist/{chunk-33QILJJH.cjs → chunk-IBEX4XGV.cjs} +11 -11
  19. package/dist/{chunk-IBRVMLUF.js → chunk-KM2TI5IC.js} +107 -80
  20. package/dist/chunk-OGC4RKE3.js +364 -0
  21. package/dist/{chunk-JXLRHKCQ.js → chunk-OYZYWWJ6.js} +1 -1
  22. package/dist/{chunk-EXX6ATAS.js → chunk-PMO62QK4.js} +101 -101
  23. package/dist/{chunk-UBA6AEY6.cjs → chunk-RAWOJ3N3.cjs} +8 -8
  24. package/dist/{chunk-APCBIHLR.cjs → chunk-VDRRD6GM.cjs} +29 -81
  25. package/dist/{chunk-UVO4GFSW.cjs → chunk-YXVKQMCK.cjs} +23 -1
  26. package/dist/chunk-ZQ3JSWRO.js +82 -0
  27. package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
  28. package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
  29. package/dist/components/alert/index.cjs +17 -0
  30. package/dist/components/alert/index.d.cts +169 -0
  31. package/dist/components/alert/index.d.ts +169 -0
  32. package/dist/components/alert/index.js +17 -0
  33. package/dist/components/button/index.cjs +6 -7
  34. package/dist/components/button/index.d.cts +193 -244
  35. package/dist/components/button/index.d.ts +193 -244
  36. package/dist/components/button/index.js +5 -6
  37. package/dist/components/card/index.cjs +5 -6
  38. package/dist/components/card/index.d.cts +193 -193
  39. package/dist/components/card/index.d.ts +193 -193
  40. package/dist/components/card/index.js +4 -5
  41. package/dist/components/chip/index.cjs +17 -0
  42. package/dist/components/chip/index.d.cts +608 -0
  43. package/dist/components/chip/index.d.ts +608 -0
  44. package/dist/components/chip/index.js +17 -0
  45. package/dist/components/typography/index.cjs +4 -4
  46. package/dist/components/typography/index.d.cts +4 -4
  47. package/dist/components/typography/index.d.ts +4 -4
  48. package/dist/components/typography/index.js +3 -3
  49. package/dist/components/view/index.cjs +3 -3
  50. package/dist/components/view/index.d.cts +7 -7
  51. package/dist/components/view/index.d.ts +7 -7
  52. package/dist/components/view/index.js +2 -2
  53. package/dist/{create-recipe-CC3NNCqF.d.ts → create-recipe-CbXika57.d.ts} +4 -3
  54. package/dist/{create-recipe-CPBFg7ym.d.cts → create-recipe-jHlk434p.d.cts} +4 -3
  55. package/dist/{icon.type-Cs1tMX0W.d.cts → icon.type-CF4KiMKl.d.cts} +1 -1
  56. package/dist/{icon.type-BkcEPJbK.d.ts → icon.type-Dq4_qePa.d.ts} +1 -1
  57. package/dist/index.cjs +36 -14
  58. package/dist/index.d.cts +8 -5
  59. package/dist/index.d.ts +8 -5
  60. package/dist/index.js +55 -33
  61. package/dist/{pressable-feedback.type-wfeiJz5m.d.cts → pressable-feedback.type-BA2C9sSz.d.cts} +1 -1
  62. package/dist/{pressable-feedback.type-DsvWZXWC.d.ts → pressable-feedback.type-Bs4dQlGj.d.ts} +1 -1
  63. package/dist/{style-props.type-B1BG5TCm.d.cts → style-props.type-CfnoGEP7.d.cts} +1 -1
  64. package/dist/{style-props.type-B1BG5TCm.d.ts → style-props.type-CfnoGEP7.d.ts} +1 -1
  65. package/dist/system/index.cjs +15 -7
  66. package/dist/system/index.d.cts +174 -100
  67. package/dist/system/index.d.ts +174 -100
  68. package/dist/system/index.js +15 -7
  69. package/dist/theme/index.cjs +2 -2
  70. package/dist/theme/index.d.cts +10 -10
  71. package/dist/theme/index.d.ts +10 -10
  72. package/dist/theme/index.js +1 -1
  73. package/package.json +21 -1
  74. package/dist/chunk-RRRGLRRP.cjs +0 -28
  75. package/dist/chunk-SGHP76GU.js +0 -28
@@ -36,25 +36,46 @@ function _optionalChain(ops) {
36
36
  }
37
37
  return value;
38
38
  }
39
- var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
40
39
  var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
40
+ var _chunkHUZ4AUM2cjs = require('./chunk-HUZ4AUM2.cjs');
41
41
 
42
- // src/system/pressable-feedback/pressable-feedback-context.ts
42
+ // src/hooks/use-press-state.ts
43
43
  var _react = require('react');
44
- var [FeedbackProvider, useFeedback] = _chunkEVXZGNPAcjs.createSlotContext.call(void 0, "PressableFeedback");
44
+ function usePressState(handlers = {}) {
45
+ const [isPressed, setIsPressed] = _react.useState.call(void 0, false);
46
+ const latest = _react.useRef.call(void 0, handlers);
47
+ latest.current = handlers;
48
+ const onPressIn = _react.useCallback.call(void 0, event => {
49
+ setIsPressed(true);
50
+ _optionalChain([latest, 'access', _ => _.current, 'access', _2 => _2.onPressIn, 'optionalCall', _3 => _3(event)]);
51
+ }, []);
52
+ const onPressOut = _react.useCallback.call(void 0, event => {
53
+ setIsPressed(false);
54
+ _optionalChain([latest, 'access', _4 => _4.current, 'access', _5 => _5.onPressOut, 'optionalCall', _6 => _6(event)]);
55
+ }, []);
56
+ const press = _react.useRef.call(void 0, {
57
+ onPressIn,
58
+ onPressOut
59
+ }).current;
60
+ return [isPressed, press];
61
+ }
62
+
63
+ // src/system/pressable-feedback/pressable-feedback-context.ts
64
+
65
+ var [FeedbackProvider, useFeedback] = _chunkHUZ4AUM2cjs.createSlotContext.call(void 0, "PressableFeedback");
45
66
  var DisableAllContext = _react.createContext.call(void 0, false);
46
67
 
47
68
  // src/system/pressable-feedback/pressable-feedback.animation.ts
48
69
  var PRESS_SCALE = 0.985;
49
70
  var PRESS_DURATION = 300;
50
71
  var SCALE_REFERENCE_WIDTH = 300;
51
- const _worklet_7095389161049_init_data = {
52
- code: "function pressScaleFor_chunk4NE3SLTMCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
53
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs",
54
- sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunk4NE3SLTMCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs\"],\"mappings\":\"AAoBA,SAAAA,+BAA8BA,CAAAC,KAAA,QAAAC,qBAAA,CAAAC,WAAA,OAAAC,SAAA,CAE5B,KAAM,CAAAC,WAAW,CAAGJ,KAAK,CAAG,CAAC,CAAGC,qBAAqB,CAAGD,KAAK,CAAG,CAAC,CACjE,MAAO,EAAC,CAAG,CAAC,CAAC,CAAGE,WAAW,EAAIE,WAAW,CAC5C\",\"ignoreList\":[]}"
72
+ const _worklet_2473680578943_init_data = {
73
+ code: "function pressScaleFor_chunkBH5DSJVXCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
74
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs",
75
+ sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkBH5DSJVXCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs\"],\"mappings\":\"AAsCA,SAAAA,+BAA8BA,CAAAC,KAAA,QAAAC,qBAAA,CAAAC,WAAA,OAAAC,SAAA,CAE5B,KAAM,CAAAC,WAAW,CAAGJ,KAAK,CAAG,CAAC,CAAGC,qBAAqB,CAAGD,KAAK,CAAG,CAAC,CACjE,MAAO,EAAC,CAAG,CAAC,CAAC,CAAGE,WAAW,EAAIE,WAAW,CAC5C\",\"ignoreList\":[]}"
55
76
  };
56
- const pressScaleFor = function pressScaleFor_chunk4NE3SLTMCjs1Factory({
57
- _worklet_7095389161049_init_data,
77
+ const pressScaleFor = function pressScaleFor_chunkBH5DSJVXCjs1Factory({
78
+ _worklet_2473680578943_init_data,
58
79
  SCALE_REFERENCE_WIDTH,
59
80
  PRESS_SCALE
60
81
  }) {
@@ -67,13 +88,13 @@ const pressScaleFor = function pressScaleFor_chunk4NE3SLTMCjs1Factory({
67
88
  SCALE_REFERENCE_WIDTH,
68
89
  PRESS_SCALE
69
90
  };
70
- pressScaleFor.__workletHash = 7095389161049;
91
+ pressScaleFor.__workletHash = 2473680578943;
71
92
  pressScaleFor.__pluginVersion = "0.7.4";
72
- pressScaleFor.__initData = _worklet_7095389161049_init_data;
93
+ pressScaleFor.__initData = _worklet_2473680578943_init_data;
73
94
  pressScaleFor.__stackDetails = _e;
74
95
  return pressScaleFor;
75
96
  }({
76
- _worklet_7095389161049_init_data,
97
+ _worklet_2473680578943_init_data,
77
98
  SCALE_REFERENCE_WIDTH,
78
99
  PRESS_SCALE
79
100
  });
@@ -86,26 +107,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
86
107
  var RIPPLE_FADE_IN = 75;
87
108
  var RIPPLE_FADE_OUT_DELAY = 225;
88
109
  var RIPPLE_FADE_OUT = 150;
89
- const _worklet_16185247461666_init_data = {
90
- code: "function rippleRadiusFor_chunk4NE3SLTMCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
91
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs",
92
- sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunk4NE3SLTMCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs\"],\"mappings\":\"AAkCA,SAAAA,iCAAwCA,CAAAC,KAAA,CAAAC,MAAA,EAEtC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAGA,KAAK,CAAGC,MAAM,CAAGA,MAAM,CAAC,CAAG,CAAC,CAAG,CAAC,CAC3D\",\"ignoreList\":[]}"
110
+ const _worklet_4147430980612_init_data = {
111
+ code: "function rippleRadiusFor_chunkBH5DSJVXCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
112
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs",
113
+ sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkBH5DSJVXCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs\"],\"mappings\":\"AAoDA,SAAAA,iCAAwCA,CAAAC,KAAA,CAAAC,MAAA,EAEtC,MAAO,CAAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAGA,KAAK,CAAGC,MAAM,CAAGA,MAAM,CAAC,CAAG,CAAC,CAAG,CAAC,CAC3D\",\"ignoreList\":[]}"
93
114
  };
94
- const rippleRadiusFor = function rippleRadiusFor_chunk4NE3SLTMCjs2Factory({
95
- _worklet_16185247461666_init_data
115
+ const rippleRadiusFor = function rippleRadiusFor_chunkBH5DSJVXCjs2Factory({
116
+ _worklet_4147430980612_init_data
96
117
  }) {
97
118
  const _e = [new global.Error(), 1, -27];
98
119
  const rippleRadiusFor = function (width, height) {
99
120
  return Math.sqrt(width * width + height * height) / 2 + 5;
100
121
  };
101
122
  rippleRadiusFor.__closure = {};
102
- rippleRadiusFor.__workletHash = 16185247461666;
123
+ rippleRadiusFor.__workletHash = 4147430980612;
103
124
  rippleRadiusFor.__pluginVersion = "0.7.4";
104
- rippleRadiusFor.__initData = _worklet_16185247461666_init_data;
125
+ rippleRadiusFor.__initData = _worklet_4147430980612_init_data;
105
126
  rippleRadiusFor.__stackDetails = _e;
106
127
  return rippleRadiusFor;
107
128
  }({
108
- _worklet_16185247461666_init_data
129
+ _worklet_4147430980612_init_data
109
130
  });
110
131
  var ALL_OFF = {
111
132
  scale: false,
@@ -232,7 +253,7 @@ function radiusFrom(style) {
232
253
  // src/system/pressable-feedback/pressable-feedback.tsx
233
254
  var _jsxruntime = require('react/jsx-runtime');
234
255
  var AnimatedPressable = _reactnativereanimated2.default.createAnimatedComponent(_reactnative.Pressable);
235
- var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunkEVXZGNPAcjs.Slot);
256
+ var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunkHUZ4AUM2cjs.Slot);
236
257
  var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedback2({
237
258
  animation,
238
259
  style,
@@ -240,7 +261,7 @@ var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedbac
240
261
  }, ref) {
241
262
  const inheritedDisableAll = _react.useContext.call(void 0, DisableAllContext);
242
263
  const resolved = resolveAnimation(animation, inheritedDisableAll);
243
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
264
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
244
265
  const Feedback = resolved.none ? StaticFeedback : AnimatedFeedback;
245
266
  const body = /* @__PURE__ */_jsxruntime.jsx.call(void 0, Feedback, {
246
267
  ref,
@@ -268,7 +289,7 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
268
289
  animation,
269
290
  ...surface
270
291
  }), [isPressed, animation, surface]);
271
- const Root = asChild ? _chunkEVXZGNPAcjs.Slot : _reactnative.Pressable;
292
+ const Root = asChild ? _chunkHUZ4AUM2cjs.Slot : _reactnative.Pressable;
272
293
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FeedbackProvider, {
273
294
  value: context,
274
295
  children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
@@ -280,10 +301,10 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
280
301
  })
281
302
  });
282
303
  });
283
- const _worklet_404966677504_init_data = {
284
- code: "function chunk4NE3SLTMCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
285
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs",
286
- sourceMap: "{\"version\":3,\"names\":[\"chunk4NE3SLTMCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs\"],\"mappings\":\"AAiN6E,SAAAA,iBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE/E,GAAI,CAACH,SAAS,CAACI,KAAK,CAAE,MAAO,CAAC,CAAC,CAC/B,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAED,KAAK,CAAE,CAAC,CAAG,CAAC,CAAC,CAAGH,YAAY,CAACK,KAAK,EAAIJ,QAAQ,CAACI,KAAM,CAAC,CAAE,CAAC,CAClF\",\"ignoreList\":[]}"
304
+ const _worklet_314928651622_init_data = {
305
+ code: "function chunkBH5DSJVXCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
306
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs",
307
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBH5DSJVXCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs\"],\"mappings\":\"AAmO6E,SAAAA,iBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE/E,GAAI,CAACH,SAAS,CAACI,KAAK,CAAE,MAAO,CAAC,CAAC,CAC/B,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAED,KAAK,CAAE,CAAC,CAAG,CAAC,CAAC,CAAGH,YAAY,CAACK,KAAK,EAAIJ,QAAQ,CAACI,KAAM,CAAC,CAAE,CAAC,CAClF\",\"ignoreList\":[]}"
287
308
  };
288
309
  var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2({
289
310
  isPressed = false,
@@ -312,14 +333,14 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
312
333
  });
313
334
  }, [isPressed, progress]);
314
335
  const pressedScale = _reactnativereanimated.useDerivedValue.call(void 0, () => pressScaleFor(size.value.width));
315
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk4NE3SLTMCjs3Factory({
316
- _worklet_404966677504_init_data,
336
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkBH5DSJVXCjs3Factory({
337
+ _worklet_314928651622_init_data,
317
338
  animation,
318
339
  pressedScale,
319
340
  progress
320
341
  }) {
321
342
  const _e = [new global.Error(), -4, -27];
322
- const chunk4NE3SLTMCjs3 = function () {
343
+ const chunkBH5DSJVXCjs3 = function () {
323
344
  if (!animation.scale) return {};
324
345
  return {
325
346
  transform: [{
@@ -327,18 +348,18 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
327
348
  }]
328
349
  };
329
350
  };
330
- chunk4NE3SLTMCjs3.__closure = {
351
+ chunkBH5DSJVXCjs3.__closure = {
331
352
  animation,
332
353
  pressedScale,
333
354
  progress
334
355
  };
335
- chunk4NE3SLTMCjs3.__workletHash = 404966677504;
336
- chunk4NE3SLTMCjs3.__pluginVersion = "0.7.4";
337
- chunk4NE3SLTMCjs3.__initData = _worklet_404966677504_init_data;
338
- chunk4NE3SLTMCjs3.__stackDetails = _e;
339
- return chunk4NE3SLTMCjs3;
356
+ chunkBH5DSJVXCjs3.__workletHash = 314928651622;
357
+ chunkBH5DSJVXCjs3.__pluginVersion = "0.7.4";
358
+ chunkBH5DSJVXCjs3.__initData = _worklet_314928651622_init_data;
359
+ chunkBH5DSJVXCjs3.__stackDetails = _e;
360
+ return chunkBH5DSJVXCjs3;
340
361
  }({
341
- _worklet_404966677504_init_data,
362
+ _worklet_314928651622_init_data,
342
363
  animation,
343
364
  pressedScale,
344
365
  progress
@@ -371,7 +392,7 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
371
392
  wave.alpha.value = _reactnativereanimated.withTiming.call(void 0, 1, {
372
393
  duration: RIPPLE_FADE_IN
373
394
  });
374
- _optionalChain([onTouchStart, 'optionalCall', _ => _(event)]);
395
+ _optionalChain([onTouchStart, 'optionalCall', _7 => _7(event)]);
375
396
  };
376
397
  const releaseWave = () => {
377
398
  const wave = waves[nextWave.current === 0 ? 1 : 0];
@@ -385,11 +406,11 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
385
406
  };
386
407
  const handleTouchEnd = event => {
387
408
  releaseWave();
388
- _optionalChain([onTouchEnd, 'optionalCall', _2 => _2(event)]);
409
+ _optionalChain([onTouchEnd, 'optionalCall', _8 => _8(event)]);
389
410
  };
390
411
  const handleTouchCancel = event => {
391
412
  releaseWave();
392
- _optionalChain([onTouchCancel, 'optionalCall', _3 => _3(event)]);
413
+ _optionalChain([onTouchCancel, 'optionalCall', _9 => _9(event)]);
393
414
  };
394
415
  const handleLayout = event => {
395
416
  const {
@@ -400,7 +421,7 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
400
421
  width,
401
422
  height
402
423
  };
403
- _optionalChain([onLayout, 'optionalCall', _4 => _4(event)]);
424
+ _optionalChain([onLayout, 'optionalCall', _10 => _10(event)]);
404
425
  };
405
426
  const Root = asChild ? AnimatedSlot : AnimatedPressable;
406
427
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FeedbackProvider, {
@@ -434,7 +455,7 @@ function useSurface(style) {
434
455
  return _react.useMemo.call(void 0, () => {
435
456
  const flat = _reactnative.StyleSheet.flatten(style);
436
457
  return {
437
- ink: inkFor(_optionalChain([flat, 'optionalAccess', _5 => _5.backgroundColor]), theme.colors),
458
+ ink: inkFor(_optionalChain([flat, 'optionalAccess', _11 => _11.backgroundColor]), theme.colors),
438
459
  corners: radiusFrom(flat)
439
460
  };
440
461
  }, [style, theme]);
@@ -455,7 +476,7 @@ function PressableFeedbackHighlight({
455
476
  ink,
456
477
  corners
457
478
  } = useFeedback();
458
- const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
479
+ const [styleProps] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
459
480
  const settings = resolveSlotAnimation(override, animation.highlight, HIGHLIGHT_OPACITY, HIGHLIGHT_DURATION);
460
481
  const base = [_reactnative.StyleSheet.absoluteFillObject, {
461
482
  backgroundColor: ink,
@@ -480,10 +501,10 @@ function PressableFeedbackHighlight({
480
501
  }
481
502
  PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
482
503
  markOverlay(PressableFeedbackHighlight);
483
- const _worklet_7964971622326_init_data = {
484
- code: "function chunk4NE3SLTMCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
485
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs",
486
- sourceMap: "{\"version\":3,\"names\":[\"chunk4NE3SLTMCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs\"],\"mappings\":\"AA+V6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
504
+ const _worklet_6319284215504_init_data = {
505
+ code: "function chunkBH5DSJVXCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
506
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs",
507
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBH5DSJVXCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs\"],\"mappings\":\"AAiX6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
487
508
  };
488
509
  function AnimatedHighlight({
489
510
  base,
@@ -499,28 +520,28 @@ function AnimatedHighlight({
499
520
  duration
500
521
  });
501
522
  }, [isPressed, shown, duration]);
502
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk4NE3SLTMCjs4Factory({
503
- _worklet_7964971622326_init_data,
523
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkBH5DSJVXCjs4Factory({
524
+ _worklet_6319284215504_init_data,
504
525
  shown,
505
526
  opacity
506
527
  }) {
507
528
  const _e = [new global.Error(), -3, -27];
508
- const chunk4NE3SLTMCjs4 = function () {
529
+ const chunkBH5DSJVXCjs4 = function () {
509
530
  return {
510
531
  opacity: shown.value * opacity
511
532
  };
512
533
  };
513
- chunk4NE3SLTMCjs4.__closure = {
534
+ chunkBH5DSJVXCjs4.__closure = {
514
535
  shown,
515
536
  opacity
516
537
  };
517
- chunk4NE3SLTMCjs4.__workletHash = 7964971622326;
518
- chunk4NE3SLTMCjs4.__pluginVersion = "0.7.4";
519
- chunk4NE3SLTMCjs4.__initData = _worklet_7964971622326_init_data;
520
- chunk4NE3SLTMCjs4.__stackDetails = _e;
521
- return chunk4NE3SLTMCjs4;
538
+ chunkBH5DSJVXCjs4.__workletHash = 6319284215504;
539
+ chunkBH5DSJVXCjs4.__pluginVersion = "0.7.4";
540
+ chunkBH5DSJVXCjs4.__initData = _worklet_6319284215504_init_data;
541
+ chunkBH5DSJVXCjs4.__stackDetails = _e;
542
+ return chunkBH5DSJVXCjs4;
522
543
  }({
523
- _worklet_7964971622326_init_data,
544
+ _worklet_6319284215504_init_data,
524
545
  shown,
525
546
  opacity
526
547
  }), [shown, opacity]);
@@ -543,7 +564,7 @@ function PressableFeedbackRipple({
543
564
  ink,
544
565
  corners
545
566
  } = useFeedback();
546
- const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
567
+ const [styleProps] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
547
568
  const waveStyle = [styleProps, style];
548
569
  const settings = resolveSlotAnimation(override, animation.ripple, RIPPLE_OPACITY);
549
570
  const [size, setSize] = _react.useState.call(void 0, {
@@ -584,10 +605,10 @@ function PressableFeedbackRipple({
584
605
  }
585
606
  PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
586
607
  markOverlay(PressableFeedbackRipple);
587
- const _worklet_16723479562203_init_data = {
588
- code: "function chunk4NE3SLTMCjs5(){const{wave,RIPPLE_START_SCALE,center,opacity,radius}=this.__closure;const t=wave.expand.value;const from=wave.origin.value;const scale=RIPPLE_START_SCALE+(1-RIPPLE_START_SCALE)*t;const x=from.x+(center.x-from.x)*t;const y=from.y+(center.y-from.y)*t;return{opacity:wave.alpha.value*opacity,transform:[{translateX:x-radius},{translateY:y-radius},{scale:scale}]};}",
589
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs",
590
- sourceMap: "{\"version\":3,\"names\":[\"chunk4NE3SLTMCjs5\",\"wave\",\"RIPPLE_START_SCALE\",\"center\",\"opacity\",\"radius\",\"__closure\",\"t\",\"expand\",\"value\",\"from\",\"origin\",\"scale\",\"x\",\"y\",\"alpha\",\"transform\",\"translateX\",\"translateY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-4NE3SLTM.cjs\"],\"mappings\":\"AA+Z6E,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE/E,KAAM,CAAAC,CAAC,CAAGN,IAAI,CAACO,MAAM,CAACC,KAAK,CAC3B,KAAM,CAAAC,IAAI,CAAGT,IAAI,CAACU,MAAM,CAACF,KAAK,CAC9B,KAAM,CAAAG,KAAK,CAAGV,kBAAkB,CAAG,CAAC,CAAC,CAAGA,kBAAkB,EAAIK,CAAC,CAC/D,KAAM,CAAAM,CAAC,CAAGH,IAAI,CAACG,CAAC,CAAG,CAACV,MAAM,CAACU,CAAC,CAAGH,IAAI,CAACG,CAAC,EAAIN,CAAC,CAC1C,KAAM,CAAAO,CAAC,CAAGJ,IAAI,CAACI,CAAC,CAAG,CAACX,MAAM,CAACW,CAAC,CAAGJ,IAAI,CAACI,CAAC,EAAIP,CAAC,CAC1C,MAAO,CAELH,OAAO,CAAEH,IAAI,CAACc,KAAK,CAACN,KAAK,CAAGL,OAAO,CACnCY,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEJ,CAAC,CAAGR,MAAO,CAAC,CAAE,CAAEa,UAAU,CAAEJ,CAAC,CAAGT,MAAO,CAAC,CAAE,CAAEO,KAAA,CAAAA,KAAM,CAAC,CAC/E,CAAC,CACH\",\"ignoreList\":[]}"
608
+ const _worklet_5095514393341_init_data = {
609
+ code: "function chunkBH5DSJVXCjs5(){const{wave,RIPPLE_START_SCALE,center,opacity,radius}=this.__closure;const t=wave.expand.value;const from=wave.origin.value;const scale=RIPPLE_START_SCALE+(1-RIPPLE_START_SCALE)*t;const x=from.x+(center.x-from.x)*t;const y=from.y+(center.y-from.y)*t;return{opacity:wave.alpha.value*opacity,transform:[{translateX:x-radius},{translateY:y-radius},{scale:scale}]};}",
610
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs",
611
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBH5DSJVXCjs5\",\"wave\",\"RIPPLE_START_SCALE\",\"center\",\"opacity\",\"radius\",\"__closure\",\"t\",\"expand\",\"value\",\"from\",\"origin\",\"scale\",\"x\",\"y\",\"alpha\",\"transform\",\"translateX\",\"translateY\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BH5DSJVX.cjs\"],\"mappings\":\"AAib6E,SAAAA,iBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE/E,KAAM,CAAAC,CAAC,CAAGN,IAAI,CAACO,MAAM,CAACC,KAAK,CAC3B,KAAM,CAAAC,IAAI,CAAGT,IAAI,CAACU,MAAM,CAACF,KAAK,CAC9B,KAAM,CAAAG,KAAK,CAAGV,kBAAkB,CAAG,CAAC,CAAC,CAAGA,kBAAkB,EAAIK,CAAC,CAC/D,KAAM,CAAAM,CAAC,CAAGH,IAAI,CAACG,CAAC,CAAG,CAACV,MAAM,CAACU,CAAC,CAAGH,IAAI,CAACG,CAAC,EAAIN,CAAC,CAC1C,KAAM,CAAAO,CAAC,CAAGJ,IAAI,CAACI,CAAC,CAAG,CAACX,MAAM,CAACW,CAAC,CAAGJ,IAAI,CAACI,CAAC,EAAIP,CAAC,CAC1C,MAAO,CAELH,OAAO,CAAEH,IAAI,CAACc,KAAK,CAACN,KAAK,CAAGL,OAAO,CACnCY,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEJ,CAAC,CAAGR,MAAO,CAAC,CAAE,CAAEa,UAAU,CAAEJ,CAAC,CAAGT,MAAO,CAAC,CAAE,CAAEO,KAAA,CAAAA,KAAM,CAAC,CAC/E,CAAC,CACH\",\"ignoreList\":[]}"
591
612
  };
592
613
  function RippleWave({
593
614
  wave,
@@ -597,8 +618,8 @@ function RippleWave({
597
618
  opacity,
598
619
  style
599
620
  }) {
600
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk4NE3SLTMCjs5Factory({
601
- _worklet_16723479562203_init_data,
621
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkBH5DSJVXCjs5Factory({
622
+ _worklet_5095514393341_init_data,
602
623
  wave,
603
624
  RIPPLE_START_SCALE,
604
625
  center,
@@ -606,7 +627,7 @@ function RippleWave({
606
627
  radius
607
628
  }) {
608
629
  const _e = [new global.Error(), -6, -27];
609
- const chunk4NE3SLTMCjs5 = function () {
630
+ const chunkBH5DSJVXCjs5 = function () {
610
631
  const t = wave.expand.value;
611
632
  const from = wave.origin.value;
612
633
  const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
@@ -624,20 +645,20 @@ function RippleWave({
624
645
  }]
625
646
  };
626
647
  };
627
- chunk4NE3SLTMCjs5.__closure = {
648
+ chunkBH5DSJVXCjs5.__closure = {
628
649
  wave,
629
650
  RIPPLE_START_SCALE,
630
651
  center,
631
652
  opacity,
632
653
  radius
633
654
  };
634
- chunk4NE3SLTMCjs5.__workletHash = 16723479562203;
635
- chunk4NE3SLTMCjs5.__pluginVersion = "0.7.4";
636
- chunk4NE3SLTMCjs5.__initData = _worklet_16723479562203_init_data;
637
- chunk4NE3SLTMCjs5.__stackDetails = _e;
638
- return chunk4NE3SLTMCjs5;
655
+ chunkBH5DSJVXCjs5.__workletHash = 5095514393341;
656
+ chunkBH5DSJVXCjs5.__pluginVersion = "0.7.4";
657
+ chunkBH5DSJVXCjs5.__initData = _worklet_5095514393341_init_data;
658
+ chunkBH5DSJVXCjs5.__stackDetails = _e;
659
+ return chunkBH5DSJVXCjs5;
639
660
  }({
640
- _worklet_16723479562203_init_data,
661
+ _worklet_5095514393341_init_data,
641
662
  wave,
642
663
  RIPPLE_START_SCALE,
643
664
  center,
@@ -673,6 +694,14 @@ var PressableFeedback3 = Object.assign(PressableFeedback, {
673
694
  Highlight: PressableFeedbackHighlight,
674
695
  Ripple: PressableFeedbackRipple
675
696
  });
697
+
698
+ // src/utils/warn-dev.ts
699
+ function warnDev(message) {
700
+ if (typeof __DEV__ !== "undefined" && !__DEV__) return;
701
+ console.warn(`XAUI: ${message}`);
702
+ }
703
+ exports.usePressState = usePressState;
704
+ exports.warnDev = warnDev;
676
705
  exports.useFeedback = useFeedback;
677
706
  exports.PRESS_SCALE = PRESS_SCALE;
678
707
  exports.PRESS_DURATION = PRESS_DURATION;
@@ -1,22 +1,20 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkRRRGLRRPcjs = require('./chunk-RRRGLRRP.cjs');
5
4
 
5
+ var _chunkBH5DSJVXcjs = require('./chunk-BH5DSJVX.cjs');
6
6
 
7
- var _chunk4NE3SLTMcjs = require('./chunk-4NE3SLTM.cjs');
8
7
 
9
-
10
- var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
8
+ var _chunkYXVKQMCKcjs = require('./chunk-YXVKQMCK.cjs');
11
9
 
12
10
 
11
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
13
12
 
14
13
 
15
14
 
16
- var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
17
15
 
18
16
 
19
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
17
+ var _chunkHUZ4AUM2cjs = require('./chunk-HUZ4AUM2.cjs');
20
18
 
21
19
  // src/components/card/card-background.tsx
22
20
  var _react = require('react');
@@ -46,7 +44,7 @@ function partitionBackground(children) {
46
44
  }
47
45
 
48
46
  // src/components/card/card.context.ts
49
- var [CardProvider, useCard] = _chunkEVXZGNPAcjs.createSlotContext.call(void 0, "Card");
47
+ var [CardProvider, useCard] = _chunkHUZ4AUM2cjs.createSlotContext.call(void 0, "Card");
50
48
 
51
49
  // src/components/card/card.style.ts
52
50
 
@@ -59,7 +57,7 @@ var _jsxruntime = require('react/jsx-runtime');
59
57
  var CardBackground = markBackground(
60
58
  _react.forwardRef.call(void 0, function CardBackground2({ children, source, style, ...props }, ref) {
61
59
  const { backgroundStyle } = useCard();
62
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
60
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
63
61
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
64
62
  _reactnative.View,
65
63
  {
@@ -81,7 +79,7 @@ CardBackground.displayName = "XAUI.Card.Background";
81
79
 
82
80
  var CardBody = _react.forwardRef.call(void 0, function CardBody2({ children, style, ...props }, ref) {
83
81
  const { bodyStyle } = useCard();
84
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
82
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
85
83
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [bodyStyle, styleProps, style], ...rest, children });
86
84
  });
87
85
  CardBody.displayName = "XAUI.Card.Body";
@@ -93,7 +91,7 @@ CardBody.displayName = "XAUI.Card.Body";
93
91
  var CardDescription = _react.forwardRef.call(void 0,
94
92
  function CardDescription2({ children, style, ...props }, ref) {
95
93
  const { descriptionStyle } = useCard();
96
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
94
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
97
95
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [descriptionStyle, styleProps, style], ...rest, children });
98
96
  }
99
97
  );
@@ -105,7 +103,7 @@ CardDescription.displayName = "XAUI.Card.Description";
105
103
 
106
104
  var CardFooter = _react.forwardRef.call(void 0, function CardFooter2({ children, style, ...props }, ref) {
107
105
  const { footerStyle } = useCard();
108
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
106
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
109
107
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [footerStyle, styleProps, style], ...rest, children });
110
108
  });
111
109
  CardFooter.displayName = "XAUI.Card.Footer";
@@ -116,7 +114,7 @@ CardFooter.displayName = "XAUI.Card.Footer";
116
114
 
117
115
  var CardHeader = _react.forwardRef.call(void 0, function CardHeader2({ children, style, ...props }, ref) {
118
116
  const { headerStyle } = useCard();
119
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
117
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
120
118
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [headerStyle, styleProps, style], ...rest, children });
121
119
  });
122
120
  CardHeader.displayName = "XAUI.Card.Header";
@@ -127,7 +125,7 @@ CardHeader.displayName = "XAUI.Card.Header";
127
125
 
128
126
  var CardTitle = _react.forwardRef.call(void 0, function CardTitle2({ children, style, ...props }, ref) {
129
127
  const { titleStyle } = useCard();
130
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
128
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
131
129
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [titleStyle, styleProps, style], ...rest, children });
132
130
  });
133
131
  CardTitle.displayName = "XAUI.Card.Title";
@@ -218,7 +216,7 @@ function corner(key) {
218
216
  background: { borderRadius: theme.radius[key] }
219
217
  });
220
218
  }
221
- var cardRecipe = _chunkUVO4GFSWcjs.createRecipe.call(void 0, {
219
+ var cardRecipe = _chunkYXVKQMCKcjs.createRecipe.call(void 0, {
222
220
  slots: SLOTS,
223
221
  base: (theme) => ({
224
222
  root: {
@@ -347,8 +345,8 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
347
345
  ...props
348
346
  }, ref) {
349
347
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
350
- const [styleProps, rest] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
351
- const [isPressed, press] = _chunkRRRGLRRPcjs.usePressState.call(void 0, { onPressIn, onPressOut });
348
+ const [styleProps, rest] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
349
+ const [isPressed, press] = _chunkBH5DSJVXcjs.usePressState.call(void 0, { onPressIn, onPressOut });
352
350
  const selection = { variant, size, radius };
353
351
  const states = { disabled: isDisabled };
354
352
  const styles = cardRecipe.resolve({ theme, selection, states });
@@ -371,10 +369,10 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
371
369
  styleProps,
372
370
  typeof style === "function" ? style({ pressed: isPressed }) : style
373
371
  ];
374
- const text = _chunkEVXZGNPAcjs.childrenToString.call(void 0, children);
372
+ const text = _chunkHUZ4AUM2cjs.childrenToString.call(void 0, children);
375
373
  const content = text !== null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { children: text }) : children;
376
374
  if (!isPressable && !asChild && (onPressIn || onPressOut || rest.onPress || rest.onLongPress)) {
377
- _chunkRRRGLRRPcjs.warnDev.call(void 0,
375
+ _chunkBH5DSJVXcjs.warnDev.call(void 0,
378
376
  "Card: a press handler needs `isPressable`. Without it the card renders a View, which never receives the touch \u2014 add `isPressable` to make it a control."
379
377
  );
380
378
  }
@@ -384,7 +382,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
384
382
  body
385
383
  ] });
386
384
  const surface = isPressable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
387
- _chunk4NE3SLTMcjs.PressableFeedback,
385
+ _chunkBH5DSJVXcjs.PressableFeedback,
388
386
  {
389
387
  ref,
390
388
  isPressed,
@@ -399,7 +397,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
399
397
  onPressOut: press.onPressOut,
400
398
  children: asChild ? children : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
401
399
  background,
402
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4NE3SLTMcjs.PressableFeedback.Highlight, {}),
400
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBH5DSJVXcjs.PressableFeedback.Highlight, {}),
403
401
  body
404
402
  ] })
405
403
  }
@@ -407,7 +405,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
407
405
  // R12 — the caller's element is the card, so it takes the children it was written
408
406
  // with and the auto-wrap does not apply.
409
407
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
410
- _chunkEVXZGNPAcjs.Slot,
408
+ _chunkHUZ4AUM2cjs.Slot,
411
409
  {
412
410
  ref,
413
411
  accessibilityRole,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
3
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
4
4
 
5
5
 
6
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
6
+ var _chunkHUZ4AUM2cjs = require('./chunk-HUZ4AUM2.cjs');
7
7
 
8
8
  // src/system/icon/icon-context.ts
9
9
  var _react = require('react');
@@ -47,7 +47,7 @@ function IconImage({
47
47
  color: _color,
48
48
  ...props
49
49
  }) {
50
- const [styleProps] = _chunkEVXZGNPAcjs.useStyleProps.call(void 0, props);
50
+ const [styleProps] = _chunkHUZ4AUM2cjs.useStyleProps.call(void 0, props);
51
51
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
52
52
  _reactnative.Image,
53
53
  {