@xaui/native 0.9.1-alpha.31 → 0.9.1-alpha.32

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 (119) hide show
  1. package/dist/chunk-36PRYGAM.js +13 -0
  2. package/dist/{chunk-L7JN6OBQ.cjs → chunk-4MPSXDAB.cjs} +15 -15
  3. package/dist/{chunk-XQFAUDR2.cjs → chunk-4SLOOIE5.cjs} +2 -2
  4. package/dist/{chunk-ZH6BHLQR.js → chunk-4YJLNYUS.js} +11 -11
  5. package/dist/{chunk-ZP2E2H2G.cjs → chunk-54FJOKAN.cjs} +3 -3
  6. package/dist/{chunk-GPVNCJ3Z.cjs → chunk-6M7RUU7V.cjs} +68 -68
  7. package/dist/{chunk-XFSW3ZNI.cjs → chunk-7CTIE42J.cjs} +12 -12
  8. package/dist/{chunk-QGN2BBJO.cjs → chunk-AOEXU5UV.cjs} +8 -8
  9. package/dist/{chunk-Q3WFY5N3.js → chunk-AYOVBZAX.js} +10 -10
  10. package/dist/{chunk-42FMGB5M.js → chunk-BA2MPBCO.js} +59 -59
  11. package/dist/{chunk-5GO7MAVY.cjs → chunk-CM4LI5OH.cjs} +11 -11
  12. package/dist/{chunk-5PTBRJM7.cjs → chunk-CNNLMMFV.cjs} +11 -11
  13. package/dist/{chunk-TGZZ3RZU.cjs → chunk-CYS6U374.cjs} +4 -4
  14. package/dist/{chunk-ANNUYP55.cjs → chunk-ETSYP3NH.cjs} +18 -18
  15. package/dist/{chunk-VJEER76X.js → chunk-GBFQZQ77.js} +9 -9
  16. package/dist/chunk-H4E4HDEP.cjs +13 -0
  17. package/dist/{chunk-NYRXUGVL.js → chunk-HVD5EX7V.js} +6 -6
  18. package/dist/{chunk-GVQOD3VW.js → chunk-HXL2QCMR.js} +3 -3
  19. package/dist/{chunk-GLGU2WFL.cjs → chunk-I6ZB3FZI.cjs} +1 -12
  20. package/dist/{chunk-ZH5XVNHG.js → chunk-JCYWU5TO.js} +6 -6
  21. package/dist/{chunk-7XKQJQF2.cjs → chunk-K4TWKF5U.cjs} +16 -16
  22. package/dist/{chunk-N527BTY4.cjs → chunk-K7LLERKT.cjs} +17 -17
  23. package/dist/chunk-KQKD3KB3.js +152 -0
  24. package/dist/{chunk-A5OCK3C2.js → chunk-L55CDXNI.js} +7 -7
  25. package/dist/chunk-LT6XHFXJ.cjs +185 -0
  26. package/dist/{chunk-URSKA2VR.js → chunk-MEYCZS32.js} +0 -11
  27. package/dist/{chunk-DFME724B.js → chunk-MHEL3NAN.js} +4 -4
  28. package/dist/{chunk-ZVWXM3UK.cjs → chunk-MSMZBUZO.cjs} +11 -11
  29. package/dist/{chunk-IHOCANCQ.js → chunk-NFFL3E4N.js} +8 -8
  30. package/dist/{chunk-G7K652GC.js → chunk-NLASSGA7.js} +2 -2
  31. package/dist/{chunk-KOC3KQIT.js → chunk-NMAZ2TQF.js} +4 -4
  32. package/dist/{chunk-JDFV4W6N.cjs → chunk-OX2YNMNS.cjs} +66 -66
  33. package/dist/{chunk-VZBWYWEI.cjs → chunk-PBR44KVV.cjs} +25 -25
  34. package/dist/{chunk-WR7YLDVV.cjs → chunk-PCWT2YBE.cjs} +3 -3
  35. package/dist/{chunk-BVJQ3UPZ.js → chunk-PPWXLZGL.js} +15 -15
  36. package/dist/{chunk-5Z4P6WHR.cjs → chunk-Q3D6KIVF.cjs} +11 -11
  37. package/dist/{chunk-X4HQ4H2V.js → chunk-SLUJFE6R.js} +16 -16
  38. package/dist/{chunk-4XPLPQLM.cjs → chunk-TVCS5UOE.cjs} +12 -12
  39. package/dist/{chunk-V4WDMM6Z.js → chunk-U3RDU3HU.js} +2 -2
  40. package/dist/{chunk-5RQ7AZPN.cjs → chunk-UORTYL63.cjs} +17 -17
  41. package/dist/{chunk-RDTKAAHX.js → chunk-UR6DNU2M.js} +8 -8
  42. package/dist/{chunk-AETWQQWU.cjs → chunk-VSALV7VO.cjs} +6 -6
  43. package/dist/{chunk-3FV4COTM.js → chunk-WJPQARJ5.js} +3 -3
  44. package/dist/{chunk-BFMTUMTU.js → chunk-XNNJM5DQ.js} +76 -76
  45. package/dist/{chunk-KPWZLUES.cjs → chunk-XWMB66ZM.cjs} +5 -5
  46. package/dist/{chunk-MDVSCWJI.js → chunk-Y2B4XM3Y.js} +10 -10
  47. package/dist/{chunk-E2CWBQTV.js → chunk-YXPYOOHU.js} +1 -1
  48. package/dist/{chunk-7SEZGVTY.js → chunk-ZC35YYKS.js} +1 -1
  49. package/dist/components/alert/index.cjs +8 -7
  50. package/dist/components/alert/index.d.cts +1 -1
  51. package/dist/components/alert/index.d.ts +1 -1
  52. package/dist/components/alert/index.js +7 -6
  53. package/dist/components/button/index.cjs +8 -7
  54. package/dist/components/button/index.d.cts +167 -167
  55. package/dist/components/button/index.d.ts +167 -167
  56. package/dist/components/button/index.js +7 -6
  57. package/dist/components/card/index.cjs +6 -5
  58. package/dist/components/card/index.d.cts +169 -169
  59. package/dist/components/card/index.d.ts +169 -169
  60. package/dist/components/card/index.js +5 -4
  61. package/dist/components/checkbox/index.cjs +6 -5
  62. package/dist/components/checkbox/index.d.cts +382 -382
  63. package/dist/components/checkbox/index.d.ts +382 -382
  64. package/dist/components/checkbox/index.js +5 -4
  65. package/dist/components/chip/index.cjs +8 -7
  66. package/dist/components/chip/index.d.cts +168 -168
  67. package/dist/components/chip/index.d.ts +168 -168
  68. package/dist/components/chip/index.js +7 -6
  69. package/dist/components/divider/index.cjs +5 -4
  70. package/dist/components/divider/index.d.cts +1 -1
  71. package/dist/components/divider/index.d.ts +1 -1
  72. package/dist/components/divider/index.js +4 -3
  73. package/dist/components/input/index.cjs +5 -4
  74. package/dist/components/input/index.d.cts +3 -3
  75. package/dist/components/input/index.d.ts +3 -3
  76. package/dist/components/input/index.js +4 -3
  77. package/dist/components/input-group/index.cjs +7 -6
  78. package/dist/components/input-group/index.d.cts +6 -6
  79. package/dist/components/input-group/index.d.ts +6 -6
  80. package/dist/components/input-group/index.js +6 -5
  81. package/dist/components/input-otp/index.cjs +5 -4
  82. package/dist/components/input-otp/index.d.cts +1 -1
  83. package/dist/components/input-otp/index.d.ts +1 -1
  84. package/dist/components/input-otp/index.js +4 -3
  85. package/dist/components/radio/index.cjs +6 -5
  86. package/dist/components/radio/index.d.cts +370 -370
  87. package/dist/components/radio/index.d.ts +370 -370
  88. package/dist/components/radio/index.js +5 -4
  89. package/dist/components/skeleton/index.cjs +12 -0
  90. package/dist/components/skeleton/index.d.cts +120 -0
  91. package/dist/components/skeleton/index.d.ts +120 -0
  92. package/dist/components/skeleton/index.js +12 -0
  93. package/dist/components/spinner/index.cjs +5 -4
  94. package/dist/components/spinner/index.d.cts +1 -1
  95. package/dist/components/spinner/index.d.ts +1 -1
  96. package/dist/components/spinner/index.js +4 -3
  97. package/dist/components/switch/index.cjs +6 -5
  98. package/dist/components/switch/index.d.cts +384 -384
  99. package/dist/components/switch/index.d.ts +384 -384
  100. package/dist/components/switch/index.js +5 -4
  101. package/dist/components/text-area/index.cjs +6 -5
  102. package/dist/components/text-area/index.js +5 -4
  103. package/dist/components/typography/index.cjs +5 -4
  104. package/dist/components/typography/index.d.cts +2 -2
  105. package/dist/components/typography/index.d.ts +2 -2
  106. package/dist/components/typography/index.js +4 -3
  107. package/dist/components/view/index.cjs +5 -4
  108. package/dist/components/view/index.d.cts +6 -6
  109. package/dist/components/view/index.d.ts +6 -6
  110. package/dist/components/view/index.js +4 -3
  111. package/dist/index.cjs +34 -26
  112. package/dist/index.d.cts +1 -0
  113. package/dist/index.d.ts +1 -0
  114. package/dist/index.js +44 -36
  115. package/dist/system/index.cjs +11 -9
  116. package/dist/system/index.d.cts +2 -2
  117. package/dist/system/index.d.ts +2 -2
  118. package/dist/system/index.js +14 -12
  119. package/package.json +11 -1
@@ -0,0 +1,13 @@
1
+ // src/system/slot/merge-refs.ts
2
+ function mergeRefs(...refs) {
3
+ return (value) => {
4
+ for (const ref of refs) {
5
+ if (typeof ref === "function") ref(value);
6
+ else if (ref) ref.current = value;
7
+ }
8
+ };
9
+ }
10
+
11
+ export {
12
+ mergeRefs
13
+ };
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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
- var _chunk7XKQJQF2cjs = require('./chunk-7XKQJQF2.cjs');
3
+ var _chunkK4TWKF5Ucjs = require('./chunk-K4TWKF5U.cjs');
4
4
 
5
5
 
6
- var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
6
+ var _chunk6M7RUU7Vcjs = require('./chunk-6M7RUU7V.cjs');
7
7
 
8
8
 
9
9
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
@@ -12,30 +12,30 @@ var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
12
12
  var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
13
13
 
14
14
 
15
- var _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
15
+ var _chunkPCWT2YBEcjs = require('./chunk-PCWT2YBE.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
19
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
20
20
 
21
21
 
22
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
23
22
 
23
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
24
24
 
25
25
 
26
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
26
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
27
27
 
28
28
 
29
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
29
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
30
30
 
31
31
  // src/components/button/button.context.ts
32
- var [ButtonProvider, useButton] = _chunkZP2E2H2Gcjs.createSlotContext.call(void 0, "Button");
32
+ var [ButtonProvider, useButton] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "Button");
33
33
 
34
34
  // src/components/button/button-icon.tsx
35
35
  var _jsxruntime = require('react/jsx-runtime');
36
36
  function ButtonIcon({ size, color, ...rest }) {
37
37
  const { icon } = useButton();
38
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWR7YLDVVcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
38
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPCWT2YBEcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
39
39
  }
40
40
  ButtonIcon.displayName = "XAUI.Button.Icon";
41
41
 
@@ -45,7 +45,7 @@ var _reactnative = require('react-native');
45
45
 
46
46
  var ButtonLabel = _react.forwardRef.call(void 0, function ButtonLabel2({ children, style, numberOfLines = 1, ...props }, ref) {
47
47
  const { labelStyle } = useButton();
48
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
48
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
49
49
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
50
50
  _reactnative.Text,
51
51
  {
@@ -69,14 +69,14 @@ function ButtonSpinner({
69
69
  ...props
70
70
  }) {
71
71
  const { spinnerStyle } = useButton();
72
- const [styleProps] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
72
+ const [styleProps] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
73
73
  const ringStyle = [spinnerStyle, styleProps, style];
74
74
  if (!animation) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { style: ringStyle });
75
75
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SpinningRing, { style: ringStyle });
76
76
  }
77
77
  ButtonSpinner.displayName = "XAUI.Button.Spinner";
78
78
  function SpinningRing({ style }) {
79
- const rotation = _chunk7XKQJQF2cjs.useRotation.call(void 0, );
79
+ const rotation = _chunkK4TWKF5Ucjs.useRotation.call(void 0, );
80
80
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, { style: [style, rotation] });
81
81
  }
82
82
 
@@ -235,7 +235,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
235
235
  ...props
236
236
  }, ref) {
237
237
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
238
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
238
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
239
239
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
240
240
  const selection = {
241
241
  variant,
@@ -267,7 +267,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
267
267
  styleProps,
268
268
  typeof style === "function" ? style({ pressed: isPressed }) : style
269
269
  ];
270
- const text = _chunkZP2E2H2Gcjs.childrenToString.call(void 0, children);
270
+ const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
271
271
  const showSpinner = isLoading && !containsElementOfType(children, ButtonSpinner);
272
272
  if (isIconOnly && !rest.accessibilityLabel && !rest["aria-label"]) {
273
273
  _chunkEJQCQPETcjs.warnDev.call(void 0,
@@ -275,7 +275,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
275
275
  );
276
276
  }
277
277
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ButtonProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
278
- _chunkGPVNCJ3Zcjs.PressableFeedback,
278
+ _chunk6M7RUU7Vcjs.PressableFeedback,
279
279
  {
280
280
  ref,
281
281
  isPressed,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
3
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
4
4
 
5
5
  // src/system/portal/portal.tsx
6
6
  var _react = require('react');
@@ -31,7 +31,7 @@ var styles = _reactnative.StyleSheet.create({
31
31
  container: { flex: 1 }
32
32
  });
33
33
  function PortalHost({ children, ...props }) {
34
- const [styleProps] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
34
+ const [styleProps] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
35
35
  const [portals, setPortals] = _react.useState.call(void 0, /* @__PURE__ */ new Map());
36
36
  const addPortal = _react.useCallback.call(void 0, (key, element) => {
37
37
  setPortals((current) => new Map(current).set(key, element));
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CloseButton,
3
3
  closeButtonBase
4
- } from "./chunk-V4WDMM6Z.js";
4
+ } from "./chunk-U3RDU3HU.js";
5
5
  import {
6
6
  PressableFeedback
7
- } from "./chunk-BFMTUMTU.js";
7
+ } from "./chunk-XNNJM5DQ.js";
8
8
  import {
9
9
  usePressState
10
10
  } from "./chunk-423RQBOX.js";
@@ -13,22 +13,22 @@ import {
13
13
  } from "./chunk-EGLLDKN6.js";
14
14
  import {
15
15
  Icon
16
- } from "./chunk-3FV4COTM.js";
16
+ } from "./chunk-WJPQARJ5.js";
17
+ import {
18
+ Slot,
19
+ childrenToString,
20
+ createSlotContext
21
+ } from "./chunk-YXPYOOHU.js";
17
22
  import {
18
23
  createRecipe,
19
24
  radiusAxis
20
25
  } from "./chunk-4GTAZM2C.js";
26
+ import {
27
+ useStyleProps
28
+ } from "./chunk-MEYCZS32.js";
21
29
  import {
22
30
  useXAUITheme
23
31
  } from "./chunk-A3EGFI6T.js";
24
- import {
25
- Slot,
26
- childrenToString,
27
- createSlotContext
28
- } from "./chunk-E2CWBQTV.js";
29
- import {
30
- useStyleProps
31
- } from "./chunk-URSKA2VR.js";
32
32
 
33
33
  // src/components/chip/chip-avatar.tsx
34
34
  import { forwardRef } from "react";
@@ -1,6 +1,6 @@
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
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
3
+ var _chunkH4E4HDEPcjs = require('./chunk-H4E4HDEP.cjs');
4
4
 
5
5
  // src/system/slot/create-slot-context.ts
6
6
  var _react = require('react');
@@ -36,7 +36,7 @@ function mergeProps(ours, theirs) {
36
36
  } else if (key === "style") {
37
37
  merged[key] = mergeStyles(ourValue, theirValue);
38
38
  } else if (key === "ref") {
39
- merged[key] = _chunkGLGU2WFLcjs.mergeRefs.call(void 0,
39
+ merged[key] = _chunkH4E4HDEPcjs.mergeRefs.call(void 0,
40
40
  ourValue,
41
41
  theirValue
42
42
  );
@@ -78,7 +78,7 @@ var Slot = _react.forwardRef.call(void 0, function Slot2({ children, ...ours },
78
78
  }
79
79
  const child = children;
80
80
  const merged = mergeProps(ours, child.props);
81
- merged.ref = _chunkGLGU2WFLcjs.mergeRefs.call(void 0, ref, refOf(child));
81
+ merged.ref = _chunkH4E4HDEPcjs.mergeRefs.call(void 0, ref, refOf(child));
82
82
  return _react.cloneElement.call(void 0, child, merged);
83
83
  });
84
84
  Slot.displayName = "XAUI.Slot";
@@ -36,26 +36,26 @@ function _optionalChain(ops) {
36
36
  }
37
37
  return value;
38
38
  }
39
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
40
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
39
41
  var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
40
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
41
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
42
42
 
43
43
  // src/system/pressable-feedback/pressable-feedback-context.ts
44
44
  var _react = require('react');
45
- var [FeedbackProvider, useFeedback] = _chunkZP2E2H2Gcjs.createSlotContext.call(void 0, "PressableFeedback");
45
+ var [FeedbackProvider, useFeedback] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "PressableFeedback");
46
46
  var DisableAllContext = _react.createContext.call(void 0, false);
47
47
 
48
48
  // src/system/pressable-feedback/pressable-feedback.animation.ts
49
49
  var PRESS_SCALE = 0.985;
50
50
  var PRESS_DURATION = 300;
51
51
  var SCALE_REFERENCE_WIDTH = 300;
52
- const _worklet_17022770891260_init_data = {
53
- code: "function pressScaleFor_chunkGPVNCJ3ZCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
54
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs",
55
- sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkGPVNCJ3ZCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs\"],\"mappings\":\"AAsBA,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\":[]}"
52
+ const _worklet_17163289770924_init_data = {
53
+ code: "function pressScaleFor_chunk6M7RUU7VCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
54
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs",
55
+ sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunk6M7RUU7VCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs\"],\"mappings\":\"AAsBA,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\":[]}"
56
56
  };
57
- const pressScaleFor = function pressScaleFor_chunkGPVNCJ3ZCjs1Factory({
58
- _worklet_17022770891260_init_data,
57
+ const pressScaleFor = function pressScaleFor_chunk6M7RUU7VCjs1Factory({
58
+ _worklet_17163289770924_init_data,
59
59
  SCALE_REFERENCE_WIDTH,
60
60
  PRESS_SCALE
61
61
  }) {
@@ -68,13 +68,13 @@ const pressScaleFor = function pressScaleFor_chunkGPVNCJ3ZCjs1Factory({
68
68
  SCALE_REFERENCE_WIDTH,
69
69
  PRESS_SCALE
70
70
  };
71
- pressScaleFor.__workletHash = 17022770891260;
71
+ pressScaleFor.__workletHash = 17163289770924;
72
72
  pressScaleFor.__pluginVersion = "0.7.4";
73
- pressScaleFor.__initData = _worklet_17022770891260_init_data;
73
+ pressScaleFor.__initData = _worklet_17163289770924_init_data;
74
74
  pressScaleFor.__stackDetails = _e;
75
75
  return pressScaleFor;
76
76
  }({
77
- _worklet_17022770891260_init_data,
77
+ _worklet_17163289770924_init_data,
78
78
  SCALE_REFERENCE_WIDTH,
79
79
  PRESS_SCALE
80
80
  });
@@ -87,26 +87,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
87
87
  var RIPPLE_FADE_IN = 75;
88
88
  var RIPPLE_FADE_OUT_DELAY = 225;
89
89
  var RIPPLE_FADE_OUT = 150;
90
- const _worklet_3725045598663_init_data = {
91
- code: "function rippleRadiusFor_chunkGPVNCJ3ZCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
92
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs",
93
- sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkGPVNCJ3ZCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs\"],\"mappings\":\"AAoCA,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\":[]}"
90
+ const _worklet_937870689431_init_data = {
91
+ code: "function rippleRadiusFor_chunk6M7RUU7VCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
92
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs",
93
+ sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunk6M7RUU7VCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs\"],\"mappings\":\"AAoCA,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\":[]}"
94
94
  };
95
- const rippleRadiusFor = function rippleRadiusFor_chunkGPVNCJ3ZCjs2Factory({
96
- _worklet_3725045598663_init_data
95
+ const rippleRadiusFor = function rippleRadiusFor_chunk6M7RUU7VCjs2Factory({
96
+ _worklet_937870689431_init_data
97
97
  }) {
98
98
  const _e = [new global.Error(), 1, -27];
99
99
  const rippleRadiusFor = function (width, height) {
100
100
  return Math.sqrt(width * width + height * height) / 2 + 5;
101
101
  };
102
102
  rippleRadiusFor.__closure = {};
103
- rippleRadiusFor.__workletHash = 3725045598663;
103
+ rippleRadiusFor.__workletHash = 937870689431;
104
104
  rippleRadiusFor.__pluginVersion = "0.7.4";
105
- rippleRadiusFor.__initData = _worklet_3725045598663_init_data;
105
+ rippleRadiusFor.__initData = _worklet_937870689431_init_data;
106
106
  rippleRadiusFor.__stackDetails = _e;
107
107
  return rippleRadiusFor;
108
108
  }({
109
- _worklet_3725045598663_init_data
109
+ _worklet_937870689431_init_data
110
110
  });
111
111
  var ALL_OFF = {
112
112
  scale: false,
@@ -233,7 +233,7 @@ function radiusFrom(style) {
233
233
  // src/system/pressable-feedback/pressable-feedback.tsx
234
234
  var _jsxruntime = require('react/jsx-runtime');
235
235
  var AnimatedPressable = _reactnativereanimated2.default.createAnimatedComponent(_reactnative.Pressable);
236
- var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunkZP2E2H2Gcjs.Slot);
236
+ var AnimatedSlot = _reactnativereanimated2.default.createAnimatedComponent(_chunk54FJOKANcjs.Slot);
237
237
  var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedback2({
238
238
  animation,
239
239
  style,
@@ -241,7 +241,7 @@ var PressableFeedback = _react.forwardRef.call(void 0, function PressableFeedbac
241
241
  }, ref) {
242
242
  const inheritedDisableAll = _react.useContext.call(void 0, DisableAllContext);
243
243
  const resolved = resolveAnimation(animation, inheritedDisableAll);
244
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
244
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
245
245
  const Feedback = resolved.none ? StaticFeedback : AnimatedFeedback;
246
246
  const body = /* @__PURE__ */_jsxruntime.jsx.call(void 0, Feedback, {
247
247
  ref,
@@ -269,7 +269,7 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
269
269
  animation,
270
270
  ...surface
271
271
  }), [isPressed, animation, surface]);
272
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.Pressable;
272
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Pressable;
273
273
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, FeedbackProvider, {
274
274
  value: context,
275
275
  children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
@@ -281,10 +281,10 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
281
281
  })
282
282
  });
283
283
  });
284
- const _worklet_9801020630117_init_data = {
285
- code: "function chunkGPVNCJ3ZCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
286
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs",
287
- sourceMap: "{\"version\":3,\"names\":[\"chunkGPVNCJ3ZCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs\"],\"mappings\":\"AAmN6E,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\":[]}"
284
+ const _worklet_2994713196469_init_data = {
285
+ code: "function chunk6M7RUU7VCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
286
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs",
287
+ sourceMap: "{\"version\":3,\"names\":[\"chunk6M7RUU7VCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs\"],\"mappings\":\"AAmN6E,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\":[]}"
288
288
  };
289
289
  var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2({
290
290
  isPressed = false,
@@ -313,14 +313,14 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
313
313
  });
314
314
  }, [isPressed, progress]);
315
315
  const pressedScale = _reactnativereanimated.useDerivedValue.call(void 0, () => pressScaleFor(size.value.width));
316
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkGPVNCJ3ZCjs3Factory({
317
- _worklet_9801020630117_init_data,
316
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk6M7RUU7VCjs3Factory({
317
+ _worklet_2994713196469_init_data,
318
318
  animation,
319
319
  pressedScale,
320
320
  progress
321
321
  }) {
322
322
  const _e = [new global.Error(), -4, -27];
323
- const chunkGPVNCJ3ZCjs3 = function () {
323
+ const chunk6M7RUU7VCjs3 = function () {
324
324
  if (!animation.scale) return {};
325
325
  return {
326
326
  transform: [{
@@ -328,18 +328,18 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
328
328
  }]
329
329
  };
330
330
  };
331
- chunkGPVNCJ3ZCjs3.__closure = {
331
+ chunk6M7RUU7VCjs3.__closure = {
332
332
  animation,
333
333
  pressedScale,
334
334
  progress
335
335
  };
336
- chunkGPVNCJ3ZCjs3.__workletHash = 9801020630117;
337
- chunkGPVNCJ3ZCjs3.__pluginVersion = "0.7.4";
338
- chunkGPVNCJ3ZCjs3.__initData = _worklet_9801020630117_init_data;
339
- chunkGPVNCJ3ZCjs3.__stackDetails = _e;
340
- return chunkGPVNCJ3ZCjs3;
336
+ chunk6M7RUU7VCjs3.__workletHash = 2994713196469;
337
+ chunk6M7RUU7VCjs3.__pluginVersion = "0.7.4";
338
+ chunk6M7RUU7VCjs3.__initData = _worklet_2994713196469_init_data;
339
+ chunk6M7RUU7VCjs3.__stackDetails = _e;
340
+ return chunk6M7RUU7VCjs3;
341
341
  }({
342
- _worklet_9801020630117_init_data,
342
+ _worklet_2994713196469_init_data,
343
343
  animation,
344
344
  pressedScale,
345
345
  progress
@@ -456,7 +456,7 @@ function PressableFeedbackHighlight({
456
456
  ink,
457
457
  corners
458
458
  } = useFeedback();
459
- const [styleProps] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
459
+ const [styleProps] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
460
460
  const settings = resolveSlotAnimation(override, animation.highlight, HIGHLIGHT_OPACITY, HIGHLIGHT_DURATION);
461
461
  const base = [_reactnative.StyleSheet.absoluteFillObject, {
462
462
  backgroundColor: ink,
@@ -481,10 +481,10 @@ function PressableFeedbackHighlight({
481
481
  }
482
482
  PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
483
483
  markOverlay(PressableFeedbackHighlight);
484
- const _worklet_49611572435_init_data = {
485
- code: "function chunkGPVNCJ3ZCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
486
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs",
487
- sourceMap: "{\"version\":3,\"names\":[\"chunkGPVNCJ3ZCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs\"],\"mappings\":\"AAiW6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
484
+ const _worklet_10753722716163_init_data = {
485
+ code: "function chunk6M7RUU7VCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
486
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs",
487
+ sourceMap: "{\"version\":3,\"names\":[\"chunk6M7RUU7VCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs\"],\"mappings\":\"AAiW6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
488
488
  };
489
489
  function AnimatedHighlight({
490
490
  base,
@@ -500,28 +500,28 @@ function AnimatedHighlight({
500
500
  duration
501
501
  });
502
502
  }, [isPressed, shown, duration]);
503
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkGPVNCJ3ZCjs4Factory({
504
- _worklet_49611572435_init_data,
503
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk6M7RUU7VCjs4Factory({
504
+ _worklet_10753722716163_init_data,
505
505
  shown,
506
506
  opacity
507
507
  }) {
508
508
  const _e = [new global.Error(), -3, -27];
509
- const chunkGPVNCJ3ZCjs4 = function () {
509
+ const chunk6M7RUU7VCjs4 = function () {
510
510
  return {
511
511
  opacity: shown.value * opacity
512
512
  };
513
513
  };
514
- chunkGPVNCJ3ZCjs4.__closure = {
514
+ chunk6M7RUU7VCjs4.__closure = {
515
515
  shown,
516
516
  opacity
517
517
  };
518
- chunkGPVNCJ3ZCjs4.__workletHash = 49611572435;
519
- chunkGPVNCJ3ZCjs4.__pluginVersion = "0.7.4";
520
- chunkGPVNCJ3ZCjs4.__initData = _worklet_49611572435_init_data;
521
- chunkGPVNCJ3ZCjs4.__stackDetails = _e;
522
- return chunkGPVNCJ3ZCjs4;
518
+ chunk6M7RUU7VCjs4.__workletHash = 10753722716163;
519
+ chunk6M7RUU7VCjs4.__pluginVersion = "0.7.4";
520
+ chunk6M7RUU7VCjs4.__initData = _worklet_10753722716163_init_data;
521
+ chunk6M7RUU7VCjs4.__stackDetails = _e;
522
+ return chunk6M7RUU7VCjs4;
523
523
  }({
524
- _worklet_49611572435_init_data,
524
+ _worklet_10753722716163_init_data,
525
525
  shown,
526
526
  opacity
527
527
  }), [shown, opacity]);
@@ -544,7 +544,7 @@ function PressableFeedbackRipple({
544
544
  ink,
545
545
  corners
546
546
  } = useFeedback();
547
- const [styleProps] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
547
+ const [styleProps] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
548
548
  const waveStyle = [styleProps, style];
549
549
  const settings = resolveSlotAnimation(override, animation.ripple, RIPPLE_OPACITY);
550
550
  const [size, setSize] = _react.useState.call(void 0, {
@@ -585,10 +585,10 @@ function PressableFeedbackRipple({
585
585
  }
586
586
  PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
587
587
  markOverlay(PressableFeedbackRipple);
588
- const _worklet_4180976500734_init_data = {
589
- code: "function chunkGPVNCJ3ZCjs5(){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}]};}",
590
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-GPVNCJ3Z.cjs",
591
- sourceMap: "{\"version\":3,\"names\":[\"chunkGPVNCJ3ZCjs5\",\"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-GPVNCJ3Z.cjs\"],\"mappings\":\"AAia6E,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\":[]}"
588
+ const _worklet_4161778642606_init_data = {
589
+ code: "function chunk6M7RUU7VCjs5(){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}]};}",
590
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6M7RUU7V.cjs",
591
+ sourceMap: "{\"version\":3,\"names\":[\"chunk6M7RUU7VCjs5\",\"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-6M7RUU7V.cjs\"],\"mappings\":\"AAia6E,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\":[]}"
592
592
  };
593
593
  function RippleWave({
594
594
  wave,
@@ -598,8 +598,8 @@ function RippleWave({
598
598
  opacity,
599
599
  style
600
600
  }) {
601
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkGPVNCJ3ZCjs5Factory({
602
- _worklet_4180976500734_init_data,
601
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk6M7RUU7VCjs5Factory({
602
+ _worklet_4161778642606_init_data,
603
603
  wave,
604
604
  RIPPLE_START_SCALE,
605
605
  center,
@@ -607,7 +607,7 @@ function RippleWave({
607
607
  radius
608
608
  }) {
609
609
  const _e = [new global.Error(), -6, -27];
610
- const chunkGPVNCJ3ZCjs5 = function () {
610
+ const chunk6M7RUU7VCjs5 = function () {
611
611
  const t = wave.expand.value;
612
612
  const from = wave.origin.value;
613
613
  const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
@@ -625,20 +625,20 @@ function RippleWave({
625
625
  }]
626
626
  };
627
627
  };
628
- chunkGPVNCJ3ZCjs5.__closure = {
628
+ chunk6M7RUU7VCjs5.__closure = {
629
629
  wave,
630
630
  RIPPLE_START_SCALE,
631
631
  center,
632
632
  opacity,
633
633
  radius
634
634
  };
635
- chunkGPVNCJ3ZCjs5.__workletHash = 4180976500734;
636
- chunkGPVNCJ3ZCjs5.__pluginVersion = "0.7.4";
637
- chunkGPVNCJ3ZCjs5.__initData = _worklet_4180976500734_init_data;
638
- chunkGPVNCJ3ZCjs5.__stackDetails = _e;
639
- return chunkGPVNCJ3ZCjs5;
635
+ chunk6M7RUU7VCjs5.__workletHash = 4161778642606;
636
+ chunk6M7RUU7VCjs5.__pluginVersion = "0.7.4";
637
+ chunk6M7RUU7VCjs5.__initData = _worklet_4161778642606_init_data;
638
+ chunk6M7RUU7VCjs5.__stackDetails = _e;
639
+ return chunk6M7RUU7VCjs5;
640
640
  }({
641
- _worklet_4180976500734_init_data,
641
+ _worklet_4161778642606_init_data,
642
642
  wave,
643
643
  RIPPLE_START_SCALE,
644
644
  center,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
3
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
4
4
 
5
5
 
6
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
6
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
7
7
 
8
8
  // src/components/view/grid.tsx
9
9
  var _react = require('react');
@@ -32,7 +32,7 @@ function spanWidth({ cellWidth, columns, gap }, span) {
32
32
  var _jsxruntime = require('react/jsx-runtime');
33
33
  var GridRoot = _react.forwardRef.call(void 0, function Grid({ children, columns = 2, gap = 0, style, onLayout, ...props }, ref) {
34
34
  const [width, setWidth] = _react.useState.call(void 0, );
35
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
35
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
36
36
  const safeColumns = Math.max(Math.floor(columns), 1);
37
37
  const cellWidth = width === void 0 ? void 0 : (width - gap * (safeColumns - 1)) / safeColumns;
38
38
  const context = _react.useMemo.call(void 0,
@@ -75,7 +75,7 @@ function isGridItem(child) {
75
75
 
76
76
  var GridItem = _react.forwardRef.call(void 0, function GridItem2({ children, span = 1, style, ...props }, ref) {
77
77
  const grid = useGrid();
78
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
78
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
79
79
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
80
80
  _reactnative.View,
81
81
  {
@@ -93,8 +93,8 @@ GridItem.displayName = "XAUI.Grid.Item";
93
93
 
94
94
 
95
95
  var StackRoot = _react.forwardRef.call(void 0, function Stack({ children, asChild = false, style, ...props }, ref) {
96
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
97
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.View;
96
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
97
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.View;
98
98
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ position: "relative" }, styleProps, style], ...rest, children });
99
99
  });
100
100
  StackRoot.displayName = "XAUI.Stack";
@@ -104,8 +104,8 @@ StackRoot.displayName = "XAUI.Stack";
104
104
 
105
105
 
106
106
  var StackItem = _react.forwardRef.call(void 0, function StackItem2({ children, asChild = false, style, ...props }, ref) {
107
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
108
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.View;
107
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
108
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.View;
109
109
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ position: "absolute" }, styleProps, style], ...rest, children });
110
110
  });
111
111
  StackItem.displayName = "XAUI.Stack.Item";
@@ -115,8 +115,8 @@ StackItem.displayName = "XAUI.Stack.Item";
115
115
 
116
116
 
117
117
  var Row = _react.forwardRef.call(void 0, function Row2({ children, asChild = false, style, ...props }, ref) {
118
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
119
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.View;
118
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
119
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.View;
120
120
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ flexDirection: "row" }, styleProps, style], ...rest, children });
121
121
  });
122
122
  Row.displayName = "XAUI.Row";
@@ -126,8 +126,8 @@ Row.displayName = "XAUI.Row";
126
126
 
127
127
 
128
128
  var Column = _react.forwardRef.call(void 0, function Column2({ children, asChild = false, style, ...props }, ref) {
129
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
130
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.View;
129
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
130
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.View;
131
131
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [{ flexDirection: "column" }, styleProps, style], ...rest, children });
132
132
  });
133
133
  Column.displayName = "XAUI.Column";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
- var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
3
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
4
4
 
5
5
 
6
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
6
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
7
7
 
8
8
 
9
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
9
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
10
10
 
11
11
 
12
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
12
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
13
13
 
14
14
  // src/components/typography/typography.tsx
15
15
  var _react = require('react');
@@ -76,12 +76,12 @@ var typographyRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
76
76
  var _jsxruntime = require('react/jsx-runtime');
77
77
  var Typography = _react.forwardRef.call(void 0, function Typography2({ children, variant, color, asChild = false, style, ...props }, ref) {
78
78
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
79
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
79
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
80
80
  const selection = { variant };
81
81
  const styles = typographyRecipe.resolve({ theme, selection });
82
82
  const tint = color ? typographyRecipe.tint({ theme, color, selection }) : void 0;
83
83
  const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _ => _.root]), styleProps, style];
84
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.Text;
84
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: rootStyle, ...rest, children });
86
86
  });
87
87
  Typography.displayName = "XAUI.Typography";
@@ -91,8 +91,8 @@ Typography.displayName = "XAUI.Typography";
91
91
 
92
92
 
93
93
  var TextSpan = _react.forwardRef.call(void 0, function TextSpan2({ children, asChild = false, style, ...props }, ref) {
94
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
95
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.Text;
94
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
95
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
96
96
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [styleProps, style], ...rest, children });
97
97
  });
98
98
  TextSpan.displayName = "XAUI.TextSpan";