@xaui/native 0.9.1-alpha.36 → 0.9.1-alpha.38

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 (153) hide show
  1. package/dist/{chunk-B6OKVLC7.js → chunk-26OGEFQI.js} +4 -4
  2. package/dist/{chunk-V5IVMZQJ.js → chunk-2PMXMKS5.js} +13 -8
  3. package/dist/{chunk-QZO57TPX.js → chunk-346QBNUD.js} +4 -4
  4. package/dist/{chunk-PPWXLZGL.js → chunk-3GFRSZYR.js} +15 -23
  5. package/dist/{chunk-GPZSTEEI.cjs → chunk-3JXI2IHV.cjs} +17 -17
  6. package/dist/{chunk-ISPOIMGX.cjs → chunk-4KFKWBN5.cjs} +26 -5
  7. package/dist/{chunk-N2U63JUX.cjs → chunk-4KSKQD37.cjs} +10 -10
  8. package/dist/{chunk-ZU3XQZ63.cjs → chunk-54CWXA34.cjs} +66 -66
  9. package/dist/{chunk-EFPWXJAJ.cjs → chunk-66FOASTP.cjs} +16 -16
  10. package/dist/{chunk-E5ZW7MBW.js → chunk-6CO6FM67.js} +17 -17
  11. package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
  12. package/dist/{chunk-2L7FOIWY.cjs → chunk-7TOG4TVU.cjs} +26 -26
  13. package/dist/{chunk-6N5ZCEAB.cjs → chunk-A7YB7YWX.cjs} +10 -10
  14. package/dist/{chunk-FVKIQBHS.cjs → chunk-AAVCMCJ3.cjs} +4 -4
  15. package/dist/{chunk-HQVVQGYV.cjs → chunk-ACAPTWE3.cjs} +16 -12
  16. package/dist/{chunk-LCDHTLSG.cjs → chunk-BNFIFRQA.cjs} +7 -7
  17. package/dist/{chunk-6U5IUUAR.js → chunk-DY3SUG5P.js} +5 -5
  18. package/dist/{chunk-RSGIJ6RI.js → chunk-EYD4H4X6.js} +2 -2
  19. package/dist/{chunk-DL2PGB5G.js → chunk-FBCWNXZC.js} +59 -59
  20. package/dist/{chunk-OWE5IID7.js → chunk-FHUYHV6J.js} +28 -7
  21. package/dist/{chunk-K7GAHNMJ.js → chunk-HA6BFY3A.js} +6 -6
  22. package/dist/{chunk-MFXZHLOU.cjs → chunk-HOI5425P.cjs} +16 -16
  23. package/dist/{chunk-VWATEE5O.js → chunk-IKJVLJKT.js} +15 -15
  24. package/dist/{chunk-YXPYOOHU.js → chunk-K72UDPVN.js} +27 -27
  25. package/dist/{chunk-2LNE4PWB.cjs → chunk-KSUV74BE.cjs} +5 -5
  26. package/dist/{chunk-UCW25LL6.js → chunk-LIUO6D3D.js} +76 -76
  27. package/dist/{chunk-U3HFQHGZ.js → chunk-LTX6TB5I.js} +4 -4
  28. package/dist/{chunk-OSCW7I4H.js → chunk-M63GFNKV.js} +19 -4
  29. package/dist/chunk-MESKS6AI.js +0 -0
  30. package/dist/{chunk-SAGMDVFU.js → chunk-MXGER5PI.js} +5 -5
  31. package/dist/{chunk-GHKJ6MUH.cjs → chunk-NCCRQK3P.cjs} +14 -14
  32. package/dist/chunk-NCTOTTVW.js +13 -0
  33. package/dist/chunk-OJCCV65P.cjs +1 -0
  34. package/dist/chunk-Q3MQ7S2D.cjs +476 -0
  35. package/dist/{chunk-CVCE7TW5.js → chunk-QZ24MZRX.js} +4 -4
  36. package/dist/{chunk-5GMU7ESV.js → chunk-R7BU4CPS.js} +3 -3
  37. package/dist/chunk-RAWGK2XK.cjs +971 -0
  38. package/dist/{chunk-PGQWUASE.cjs → chunk-RKCWYUGA.cjs} +6 -6
  39. package/dist/{chunk-3YZSUDZ2.js → chunk-S2WNWMNT.js} +4 -4
  40. package/dist/{chunk-XARBUUIE.cjs → chunk-S4QUM4EE.cjs} +12 -12
  41. package/dist/{chunk-OMV5MUTM.js → chunk-SACDOFGF.js} +16 -16
  42. package/dist/{chunk-FYCDRRJ2.cjs → chunk-SIP5J7HU.cjs} +25 -25
  43. package/dist/{chunk-AQXNEV6J.cjs → chunk-SNIHUKDA.cjs} +16 -16
  44. package/dist/{chunk-2OZPOWFB.js → chunk-SZLXPF3G.js} +4 -4
  45. package/dist/{chunk-RPOKLFRB.cjs → chunk-TDTUAIFF.cjs} +12 -12
  46. package/dist/{chunk-2SCE7TFZ.cjs → chunk-TGMVEHV7.cjs} +68 -68
  47. package/dist/{chunk-K3AVOT6L.cjs → chunk-TK44VBIE.cjs} +22 -7
  48. package/dist/{chunk-KZVHC4FL.js → chunk-TRETQZEW.js} +7 -7
  49. package/dist/{chunk-AZRMOWRG.cjs → chunk-URA25DU4.cjs} +10 -10
  50. package/dist/{chunk-BAPXLO5N.js → chunk-USF6EWYR.js} +7 -7
  51. package/dist/{chunk-TE7KVFE4.cjs → chunk-VZK3NLBH.cjs} +11 -11
  52. package/dist/{chunk-5BNIIDQD.cjs → chunk-WDDXU3OH.cjs} +14 -9
  53. package/dist/chunk-WFEMJCXO.cjs +13 -0
  54. package/dist/{chunk-JB5XANQY.js → chunk-WKCQ6VGW.js} +15 -11
  55. package/dist/{chunk-DOLWSO7A.js → chunk-XNMZQSY5.js} +5 -5
  56. package/dist/{chunk-K4TWKF5U.cjs → chunk-XSQPVDFH.cjs} +15 -25
  57. package/dist/{chunk-4XFEEBPU.js → chunk-XTC2SLFT.js} +2 -2
  58. package/dist/{chunk-ADQVA2FQ.cjs → chunk-XWNG2U4K.cjs} +5 -5
  59. package/dist/chunk-ZF6KIHXH.js +591 -0
  60. package/dist/chunk-ZNZ7HVRW.js +1106 -0
  61. package/dist/components/accordion/index.cjs +34 -0
  62. package/dist/components/accordion/index.d.cts +299 -0
  63. package/dist/components/accordion/index.d.ts +299 -0
  64. package/dist/components/accordion/index.js +34 -0
  65. package/dist/components/alert/index.cjs +7 -8
  66. package/dist/components/alert/index.d.cts +2 -2
  67. package/dist/components/alert/index.d.ts +2 -2
  68. package/dist/components/alert/index.js +6 -7
  69. package/dist/components/avatar/index.cjs +5 -6
  70. package/dist/components/avatar/index.d.cts +2 -2
  71. package/dist/components/avatar/index.d.ts +2 -2
  72. package/dist/components/avatar/index.js +4 -5
  73. package/dist/components/badge/index.cjs +4 -5
  74. package/dist/components/badge/index.d.cts +1 -1
  75. package/dist/components/badge/index.d.ts +1 -1
  76. package/dist/components/badge/index.js +3 -4
  77. package/dist/components/button/index.cjs +8 -8
  78. package/dist/components/button/index.d.cts +41 -41
  79. package/dist/components/button/index.d.ts +41 -41
  80. package/dist/components/button/index.js +7 -7
  81. package/dist/components/card/index.cjs +5 -6
  82. package/dist/components/card/index.d.cts +43 -43
  83. package/dist/components/card/index.d.ts +43 -43
  84. package/dist/components/card/index.js +4 -5
  85. package/dist/components/checkbox/index.cjs +5 -6
  86. package/dist/components/checkbox/index.d.cts +82 -82
  87. package/dist/components/checkbox/index.d.ts +82 -82
  88. package/dist/components/checkbox/index.js +4 -5
  89. package/dist/components/chip/index.cjs +7 -8
  90. package/dist/components/chip/index.d.cts +42 -42
  91. package/dist/components/chip/index.d.ts +42 -42
  92. package/dist/components/chip/index.js +6 -7
  93. package/dist/components/divider/index.cjs +4 -5
  94. package/dist/components/divider/index.d.cts +3 -3
  95. package/dist/components/divider/index.d.ts +3 -3
  96. package/dist/components/divider/index.js +3 -4
  97. package/dist/components/field-group/index.cjs +6 -7
  98. package/dist/components/field-group/index.d.cts +2 -2
  99. package/dist/components/field-group/index.d.ts +2 -2
  100. package/dist/components/field-group/index.js +5 -6
  101. package/dist/components/input-otp/index.cjs +4 -5
  102. package/dist/components/input-otp/index.d.cts +2 -2
  103. package/dist/components/input-otp/index.d.ts +2 -2
  104. package/dist/components/input-otp/index.js +3 -4
  105. package/dist/components/radio/index.cjs +5 -6
  106. package/dist/components/radio/index.d.cts +82 -82
  107. package/dist/components/radio/index.d.ts +82 -82
  108. package/dist/components/radio/index.js +4 -5
  109. package/dist/components/select/index.cjs +48 -0
  110. package/dist/components/select/index.d.cts +509 -0
  111. package/dist/components/select/index.d.ts +509 -0
  112. package/dist/components/select/index.js +48 -0
  113. package/dist/components/skeleton/index.cjs +3 -4
  114. package/dist/components/skeleton/index.d.cts +1 -1
  115. package/dist/components/skeleton/index.d.ts +1 -1
  116. package/dist/components/skeleton/index.js +2 -3
  117. package/dist/components/spinner/index.cjs +5 -5
  118. package/dist/components/spinner/index.d.cts +1 -1
  119. package/dist/components/spinner/index.d.ts +1 -1
  120. package/dist/components/spinner/index.js +4 -4
  121. package/dist/components/switch/index.cjs +5 -6
  122. package/dist/components/switch/index.d.cts +81 -81
  123. package/dist/components/switch/index.d.ts +81 -81
  124. package/dist/components/switch/index.js +4 -5
  125. package/dist/components/text-area/index.cjs +5 -6
  126. package/dist/components/text-area/index.js +4 -5
  127. package/dist/components/text-field/index.cjs +4 -5
  128. package/dist/components/text-field/index.d.cts +3 -3
  129. package/dist/components/text-field/index.d.ts +3 -3
  130. package/dist/components/text-field/index.js +3 -4
  131. package/dist/components/typography/index.cjs +4 -5
  132. package/dist/components/typography/index.d.cts +5 -5
  133. package/dist/components/typography/index.d.ts +5 -5
  134. package/dist/components/typography/index.js +3 -4
  135. package/dist/components/view/index.cjs +4 -5
  136. package/dist/components/view/index.d.cts +3 -3
  137. package/dist/components/view/index.d.ts +3 -3
  138. package/dist/components/view/index.js +3 -4
  139. package/dist/index.cjs +91 -31
  140. package/dist/index.d.cts +3 -1
  141. package/dist/index.d.ts +3 -1
  142. package/dist/index.js +125 -65
  143. package/dist/system/index.cjs +13 -11
  144. package/dist/system/index.d.cts +61 -35
  145. package/dist/system/index.d.ts +61 -35
  146. package/dist/system/index.js +13 -11
  147. package/dist/theme/index.cjs +4 -3
  148. package/dist/theme/index.d.cts +21 -1
  149. package/dist/theme/index.d.ts +21 -1
  150. package/dist/theme/index.js +3 -2
  151. package/package.json +21 -1
  152. package/dist/chunk-FJ5TLRT3.js +0 -21
  153. package/dist/chunk-HT7H35GU.cjs +0 -21
@@ -29,11 +29,11 @@ function _optionalChain(ops) {
29
29
  }
30
30
  return value;
31
31
  }
32
- var _chunkISPOIMGXcjs = require('./chunk-ISPOIMGX.cjs');
33
- var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
32
+ var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
33
+ var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
34
34
  var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
35
- var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
36
35
  var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
36
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
37
37
 
38
38
  // src/components/avatar/avatar-fallback.tsx
39
39
  var _react = require('react');
@@ -42,7 +42,7 @@ var _reactnative = require('react-native');
42
42
  // src/components/avatar/avatar-initials.tsx
43
43
 
44
44
  // src/components/avatar/avatar.context.ts
45
- var [AvatarProvider, useAvatar] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "Avatar");
45
+ var [AvatarProvider, useAvatar] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "Avatar");
46
46
 
47
47
  // src/components/avatar/avatar-initials.tsx
48
48
  var _jsxruntime = require('react/jsx-runtime');
@@ -54,7 +54,7 @@ var AvatarInitials = _react.forwardRef.call(void 0, function AvatarInitials2({
54
54
  const {
55
55
  initialsStyle
56
56
  } = useAvatar();
57
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
57
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
58
58
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
59
59
  ref,
60
60
  accessibilityElementsHidden: true,
@@ -78,8 +78,8 @@ var AvatarFallback = _react.forwardRef.call(void 0, function AvatarFallback2({
78
78
  fallbackStyle,
79
79
  icon
80
80
  } = useAvatar();
81
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
82
- const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
81
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
82
+ const text = _chunk7GHM4GKLcjs.childrenToString.call(void 0, children);
83
83
  const content = text !== null ? /* @__PURE__ */_jsxruntime.jsx.call(void 0, AvatarInitials, {
84
84
  children: text
85
85
  }) : children;
@@ -87,7 +87,7 @@ var AvatarFallback = _react.forwardRef.call(void 0, function AvatarFallback2({
87
87
  ref,
88
88
  style: [fallbackStyle, styleProps, style],
89
89
  ...rest,
90
- children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.IconContext.Provider, {
90
+ children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk4KFKWBN5cjs.IconContext.Provider, {
91
91
  value: icon,
92
92
  children: content
93
93
  })
@@ -120,7 +120,7 @@ var AvatarImage = _react.forwardRef.call(void 0, function AvatarImage2({
120
120
  style,
121
121
  ...props
122
122
  }, ref) {
123
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
123
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
124
124
  const frameStyle = [avatarSheet.image, styleProps, style];
125
125
  if (!animation) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Image, {
126
126
  ref,
@@ -134,10 +134,10 @@ var AvatarImage = _react.forwardRef.call(void 0, function AvatarImage2({
134
134
  });
135
135
  });
136
136
  AvatarImage.displayName = "XAUI.Avatar.Image";
137
- const _worklet_4663083759544_init_data = {
138
- code: "function chunk2L7FOIWYCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
139
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2L7FOIWY.cjs",
140
- sourceMap: "{\"version\":3,\"names\":[\"chunk2L7FOIWYCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2L7FOIWY.cjs\"],\"mappings\":\"AAoG+E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
137
+ const _worklet_11644836485943_init_data = {
138
+ code: "function chunk7TOG4TVUCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
139
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-7TOG4TVU.cjs",
140
+ sourceMap: "{\"version\":3,\"names\":[\"chunk7TOG4TVUCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-7TOG4TVU.cjs\"],\"mappings\":\"AAoG+E,SAAAA,iBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
141
141
  };
142
142
  var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
143
143
  onLoad,
@@ -151,26 +151,26 @@ var FadingImage = _react.forwardRef.call(void 0, function FadingImage2({
151
151
  });
152
152
  _optionalChain([onLoad, 'optionalCall', _ => _(event)]);
153
153
  }, [opacity, onLoad]);
154
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2L7FOIWYCjs1Factory({
155
- _worklet_4663083759544_init_data,
154
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk7TOG4TVUCjs1Factory({
155
+ _worklet_11644836485943_init_data,
156
156
  opacity
157
157
  }) {
158
158
  const _e = [new global.Error(), -2, -27];
159
- const chunk2L7FOIWYCjs1 = function () {
159
+ const chunk7TOG4TVUCjs1 = function () {
160
160
  return {
161
161
  opacity: opacity.value
162
162
  };
163
163
  };
164
- chunk2L7FOIWYCjs1.__closure = {
164
+ chunk7TOG4TVUCjs1.__closure = {
165
165
  opacity
166
166
  };
167
- chunk2L7FOIWYCjs1.__workletHash = 4663083759544;
168
- chunk2L7FOIWYCjs1.__pluginVersion = "0.7.4";
169
- chunk2L7FOIWYCjs1.__initData = _worklet_4663083759544_init_data;
170
- chunk2L7FOIWYCjs1.__stackDetails = _e;
171
- return chunk2L7FOIWYCjs1;
167
+ chunk7TOG4TVUCjs1.__workletHash = 11644836485943;
168
+ chunk7TOG4TVUCjs1.__pluginVersion = "0.7.4";
169
+ chunk7TOG4TVUCjs1.__initData = _worklet_11644836485943_init_data;
170
+ chunk7TOG4TVUCjs1.__stackDetails = _e;
171
+ return chunk7TOG4TVUCjs1;
172
172
  }({
173
- _worklet_4663083759544_init_data,
173
+ _worklet_11644836485943_init_data,
174
174
  opacity
175
175
  }), [opacity]);
176
176
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.Image, {
@@ -353,7 +353,7 @@ var AvatarRoot = _react.forwardRef.call(void 0, function Avatar({
353
353
  ...props
354
354
  }, ref) {
355
355
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
356
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
356
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
357
357
  const selection = {
358
358
  variant,
359
359
  size,
@@ -382,11 +382,11 @@ var AvatarRoot = _react.forwardRef.call(void 0, function Avatar({
382
382
  };
383
383
  }, [styles, tint]);
384
384
  const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _3 => _3.root]), styleProps, style];
385
- const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
385
+ const text = _chunk7GHM4GKLcjs.childrenToString.call(void 0, children);
386
386
  const content = text !== null ? /* @__PURE__ */_jsxruntime.jsx.call(void 0, AvatarFallback, {
387
387
  children: text
388
388
  }) : children;
389
- const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.View;
389
+ const Root = asChild ? _chunk7GHM4GKLcjs.Slot : _reactnative.View;
390
390
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, AvatarProvider, {
391
391
  value: context,
392
392
  children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, Root, {
@@ -1,31 +1,31 @@
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 _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
4
+ var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
9
9
 
10
10
 
11
- var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
11
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
12
12
 
13
13
 
14
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
14
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
15
15
 
16
16
  // src/components/text-field/text-field-description.tsx
17
17
  var _react = require('react');
18
18
  var _reactnative = require('react-native');
19
19
 
20
20
  // src/components/text-field/text-field.context.ts
21
- var [TextFieldProvider, useTextField] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "TextField");
21
+ var [TextFieldProvider, useTextField] = _chunk7GHM4GKLcjs.createSlotContext.call(void 0, "TextField");
22
22
 
23
23
  // src/components/text-field/text-field-description.tsx
24
24
  var _jsxruntime = require('react/jsx-runtime');
25
25
  var TextFieldDescription = _react.forwardRef.call(void 0,
26
26
  function TextFieldDescription2({ children, style, nativeID, ...props }, ref) {
27
27
  const { descriptionStyle, descriptionId } = useTextField();
28
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
28
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
29
29
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30
30
  _reactnative.Text,
31
31
  {
@@ -47,7 +47,7 @@ TextFieldDescription.displayName = "XAUI.TextField.Description";
47
47
  var TextFieldError = _react.forwardRef.call(void 0,
48
48
  function TextFieldError2({ children, style, ...props }, ref) {
49
49
  const { errorStyle } = useTextField();
50
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
50
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
51
51
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [errorStyle, styleProps, style], ...rest, children });
52
52
  }
53
53
  );
@@ -69,7 +69,7 @@ var TextFieldField = _react.forwardRef.call(void 0,
69
69
  isDisabled,
70
70
  isInvalid
71
71
  } = useTextField();
72
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
72
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
73
73
  const handleFocus = _react.useCallback.call(void 0,
74
74
  (event) => {
75
75
  onFieldFocus(event);
@@ -111,7 +111,7 @@ TextFieldField.displayName = "XAUI.TextField.Field";
111
111
  var TextFieldLabel = _react.forwardRef.call(void 0,
112
112
  function TextFieldLabel2({ children, style, nativeID, ...props }, ref) {
113
113
  const { labelStyle, labelId } = useTextField();
114
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
114
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
115
115
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
116
116
  _reactnative.Text,
117
117
  {
@@ -441,7 +441,7 @@ var TextFieldRoot = _react.forwardRef.call(void 0, function TextField({
441
441
  ...props
442
442
  }, ref) {
443
443
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
444
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
444
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
445
445
  const [isFocused, setIsFocused] = _react.useState.call(void 0, false);
446
446
  const onFieldFocus = _react.useCallback.call(void 0, () => setIsFocused(true), []);
447
447
  const onFieldBlur = _react.useCallback.call(void 0, () => setIsFocused(false), []);
@@ -505,7 +505,7 @@ var TextFieldRoot = _react.forwardRef.call(void 0, function TextField({
505
505
  const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _3 => _3.root]), styleProps, style];
506
506
  const surface = asChild ? (
507
507
  // R12 — the caller's element *is* the column.
508
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk54FJOKANcjs.Slot, { ref, ...rest, style: rootStyle, children })
508
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GHM4GKLcjs.Slot, { ref, ...rest, style: rootStyle, children })
509
509
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: rootStyle, children });
510
510
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextFieldProvider, { value: context, children: surface });
511
511
  });
@@ -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(); } }
2
2
 
3
- var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.cjs');
3
+ var _chunkTGMVEHV7cjs = require('./chunk-TGMVEHV7.cjs');
4
4
 
5
5
 
6
6
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
@@ -9,7 +9,7 @@ var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
9
9
  var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
10
10
 
11
11
 
12
- var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
12
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
13
13
 
14
14
  // src/system/close-button/close-button.tsx
15
15
  var _react = require('react');
@@ -37,7 +37,7 @@ var CloseButton = _react.forwardRef.call(void 0, function CloseButton2({
37
37
  onPressOut,
38
38
  ...props
39
39
  }, ref) {
40
- const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
40
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
41
41
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
42
42
  if (!rest.accessibilityLabel && !rest["aria-label"]) {
43
43
  _chunkEJQCQPETcjs.warnDev.call(void 0,
@@ -45,7 +45,7 @@ var CloseButton = _react.forwardRef.call(void 0, function CloseButton2({
45
45
  );
46
46
  }
47
47
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
48
- _chunk2SCE7TFZcjs.PressableFeedback,
48
+ _chunkTGMVEHV7cjs.PressableFeedback,
49
49
  {
50
50
  ref,
51
51
  isPressed,
@@ -1,11 +1,14 @@
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 _chunkWDDXU3OHcjs = require('./chunk-WDDXU3OH.cjs');
4
+
5
+
3
6
 
4
7
 
5
8
  var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
6
9
 
7
10
 
8
- var _chunkHT7H35GUcjs = require('./chunk-HT7H35GU.cjs');
11
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
9
12
 
10
13
  // src/provider/xaui-provider.tsx
11
14
  var _reactnative = require('react-native');
@@ -130,10 +133,10 @@ function buildShadows(mode) {
130
133
  surface: noShadow,
131
134
  overlay: {
132
135
  shadowColor: "#000000",
133
- shadowOffset: { width: 0, height: 8 },
134
- shadowOpacity: 0.6,
135
- shadowRadius: 24,
136
- elevation: 16
136
+ shadowOffset: { width: 0, height: 4 },
137
+ shadowOpacity: 0.45,
138
+ shadowRadius: 16,
139
+ elevation: 8
137
140
  },
138
141
  field: noShadow
139
142
  };
@@ -148,10 +151,10 @@ function buildShadows(mode) {
148
151
  },
149
152
  overlay: {
150
153
  shadowColor: "#000000",
151
- shadowOffset: { width: 0, height: 8 },
152
- shadowOpacity: 0.14,
153
- shadowRadius: 24,
154
- elevation: 16
154
+ shadowOffset: { width: 0, height: 4 },
155
+ shadowOpacity: 0.1,
156
+ shadowRadius: 16,
157
+ elevation: 8
155
158
  },
156
159
  field: {
157
160
  shadowColor: "#000000",
@@ -376,7 +379,7 @@ function resolveMode(mode, config, id) {
376
379
  };
377
380
  }
378
381
  function createTheme(config = {}) {
379
- const id = _chunkHT7H35GUcjs.stableHash.call(void 0, config);
382
+ const id = _chunkTK44VBIEcjs.stableHash.call(void 0, config);
380
383
  return {
381
384
  id,
382
385
  light: resolveMode("light", config, id),
@@ -390,11 +393,12 @@ var _jsxruntime = require('react/jsx-runtime');
390
393
  function XAUIProvider({
391
394
  children,
392
395
  theme = defaultTheme,
393
- colorMode = "system"
396
+ colorMode = "system",
397
+ hasPortalHost = true
394
398
  }) {
395
399
  const scheme = _reactnative.useColorScheme.call(void 0, );
396
400
  const resolved = colorMode === "system" ? scheme === "dark" ? "dark" : "light" : colorMode;
397
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57SJ4LJFcjs.ThemeContext.Provider, { value: theme[resolved], children });
401
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57SJ4LJFcjs.ThemeContext.Provider, { value: theme[resolved], children: hasPortalHost ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWDDXU3OHcjs.PortalHost, { children }) : children });
398
402
  }
399
403
 
400
404
  // src/theme/palette.ts
@@ -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 _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
3
+ var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
4
4
 
5
5
 
6
6
  var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
7
7
 
8
8
 
9
- var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
9
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
10
10
 
11
11
 
12
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
12
+ var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.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] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
79
+ const [styleProps, rest] = _chunkTK44VBIEcjs.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 ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
84
+ const Root = asChild ? _chunk7GHM4GKLcjs.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] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
95
- const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
94
+ const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
95
+ const Root = asChild ? _chunk7GHM4GKLcjs.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";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PressableFeedback
3
- } from "./chunk-UCW25LL6.js";
3
+ } from "./chunk-LIUO6D3D.js";
4
4
  import {
5
5
  usePressState
6
6
  } from "./chunk-423RQBOX.js";
@@ -11,16 +11,16 @@ import {
11
11
  Slot,
12
12
  childrenToString,
13
13
  createSlotContext
14
- } from "./chunk-YXPYOOHU.js";
14
+ } from "./chunk-K72UDPVN.js";
15
15
  import {
16
16
  createRecipe
17
17
  } from "./chunk-4GTAZM2C.js";
18
- import {
19
- useStyleProps
20
- } from "./chunk-OSCW7I4H.js";
21
18
  import {
22
19
  useXAUITheme
23
20
  } from "./chunk-A3EGFI6T.js";
21
+ import {
22
+ useStyleProps
23
+ } from "./chunk-M63GFNKV.js";
24
24
 
25
25
  // src/components/card/card-background.tsx
26
26
  import { forwardRef } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PressableFeedback
3
- } from "./chunk-UCW25LL6.js";
3
+ } from "./chunk-LIUO6D3D.js";
4
4
  import {
5
5
  usePressState
6
6
  } from "./chunk-423RQBOX.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EGLLDKN6.js";
10
10
  import {
11
11
  useStyleProps
12
- } from "./chunk-OSCW7I4H.js";
12
+ } from "./chunk-M63GFNKV.js";
13
13
 
14
14
  // src/system/close-button/close-button.tsx
15
15
  import { forwardRef } from "react";
@@ -1,10 +1,10 @@
1
1
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
2
- import { PressableFeedback } from "./chunk-UCW25LL6.js";
2
+ import { PressableFeedback } from "./chunk-LIUO6D3D.js";
3
3
  import { usePressState } from "./chunk-423RQBOX.js";
4
- import { childrenToString, createSlotContext } from "./chunk-YXPYOOHU.js";
4
+ import { childrenToString, createSlotContext } from "./chunk-K72UDPVN.js";
5
5
  import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
6
- import { useStyleProps } from "./chunk-OSCW7I4H.js";
7
6
  import { useXAUITheme } from "./chunk-A3EGFI6T.js";
7
+ import { useStyleProps } from "./chunk-M63GFNKV.js";
8
8
 
9
9
  // src/components/switch/switch-label.tsx
10
10
  import { forwardRef } from "react";
@@ -82,15 +82,15 @@ var SwitchThumb = forwardRef2(function SwitchThumb2({
82
82
  });
83
83
  });
84
84
  SwitchThumb.displayName = "XAUI.Switch.Thumb";
85
- const _worklet_4740213529994_init_data = {
86
- code: "function chunkDL2PGB5GJs1(){const{withTiming,isSelected,SWITCH_DURATION}=this.__closure;return withTiming(isSelected?1:0,{duration:SWITCH_DURATION});}",
87
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js",
88
- sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs1\",\"withTiming\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js\"],\"mappings\":\"AA4FmC,SAAAA,gBAAMA,CAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAErC,MAAO,CAAAH,UAAU,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACtE\",\"ignoreList\":[]}"
85
+ const _worklet_6922637450728_init_data = {
86
+ code: "function chunkFBCWNXZCJs1(){const{withTiming,isSelected,SWITCH_DURATION}=this.__closure;return withTiming(isSelected?1:0,{duration:SWITCH_DURATION});}",
87
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js",
88
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFBCWNXZCJs1\",\"withTiming\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js\"],\"mappings\":\"AA4FmC,SAAAA,gBAAMA,CAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAErC,MAAO,CAAAH,UAAU,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACtE\",\"ignoreList\":[]}"
89
89
  };
90
- const _worklet_8049726790376_init_data = {
91
- code: "function chunkDL2PGB5GJs2(){const{progress,distance,interpolateColor,colors}=this.__closure;return{transform:[{translateX:progress.value*distance}],backgroundColor:interpolateColor(progress.value,[0,1],[colors.off,colors.on])};}",
92
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js",
93
- sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs2\",\"progress\",\"distance\",\"interpolateColor\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js\"],\"mappings\":\"AAgGyC,SAAAA,gBAAMA,CAAA,QAAAC,QAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,MAAA,OAAAC,SAAA,CAE3C,MAAO,CACLC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEN,QAAQ,CAACO,KAAK,CAAGN,QAAS,CAAC,CAAC,CACtDO,eAAe,CAAEN,gBAAgB,CAC/BF,QAAQ,CAACO,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACJ,MAAM,CAACM,GAAG,CAAEN,MAAM,CAACO,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
90
+ const _worklet_3092827359818_init_data = {
91
+ code: "function chunkFBCWNXZCJs2(){const{progress,distance,interpolateColor,colors}=this.__closure;return{transform:[{translateX:progress.value*distance}],backgroundColor:interpolateColor(progress.value,[0,1],[colors.off,colors.on])};}",
92
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js",
93
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFBCWNXZCJs2\",\"progress\",\"distance\",\"interpolateColor\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js\"],\"mappings\":\"AAgGyC,SAAAA,gBAAMA,CAAA,QAAAC,QAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,MAAA,OAAAC,SAAA,CAE3C,MAAO,CACLC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEN,QAAQ,CAACO,KAAK,CAAGN,QAAS,CAAC,CAAC,CACtDO,eAAe,CAAEN,gBAAgB,CAC/BF,QAAQ,CAACO,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACJ,MAAM,CAACM,GAAG,CAAEN,MAAM,CAACO,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
94
94
  };
95
95
  var SlidingThumb = forwardRef2(function SlidingThumb2({
96
96
  style,
@@ -100,43 +100,43 @@ var SlidingThumb = forwardRef2(function SlidingThumb2({
100
100
  children,
101
101
  ...rest
102
102
  }, ref) {
103
- const progress = useDerivedValue(function chunkDL2PGB5GJs1Factory({
104
- _worklet_4740213529994_init_data,
103
+ const progress = useDerivedValue(function chunkFBCWNXZCJs1Factory({
104
+ _worklet_6922637450728_init_data,
105
105
  withTiming,
106
106
  isSelected,
107
107
  SWITCH_DURATION
108
108
  }) {
109
109
  const _e = [new global.Error(), -4, -27];
110
- const chunkDL2PGB5GJs1 = function () {
110
+ const chunkFBCWNXZCJs1 = function () {
111
111
  return withTiming(isSelected ? 1 : 0, {
112
112
  duration: SWITCH_DURATION
113
113
  });
114
114
  };
115
- chunkDL2PGB5GJs1.__closure = {
115
+ chunkFBCWNXZCJs1.__closure = {
116
116
  withTiming,
117
117
  isSelected,
118
118
  SWITCH_DURATION
119
119
  };
120
- chunkDL2PGB5GJs1.__workletHash = 4740213529994;
121
- chunkDL2PGB5GJs1.__pluginVersion = "0.7.4";
122
- chunkDL2PGB5GJs1.__initData = _worklet_4740213529994_init_data;
123
- chunkDL2PGB5GJs1.__stackDetails = _e;
124
- return chunkDL2PGB5GJs1;
120
+ chunkFBCWNXZCJs1.__workletHash = 6922637450728;
121
+ chunkFBCWNXZCJs1.__pluginVersion = "0.7.4";
122
+ chunkFBCWNXZCJs1.__initData = _worklet_6922637450728_init_data;
123
+ chunkFBCWNXZCJs1.__stackDetails = _e;
124
+ return chunkFBCWNXZCJs1;
125
125
  }({
126
- _worklet_4740213529994_init_data,
126
+ _worklet_6922637450728_init_data,
127
127
  withTiming,
128
128
  isSelected,
129
129
  SWITCH_DURATION
130
130
  }), [isSelected]);
131
- const animatedStyle = useAnimatedStyle(function chunkDL2PGB5GJs2Factory({
132
- _worklet_8049726790376_init_data,
131
+ const animatedStyle = useAnimatedStyle(function chunkFBCWNXZCJs2Factory({
132
+ _worklet_3092827359818_init_data,
133
133
  progress,
134
134
  distance,
135
135
  interpolateColor,
136
136
  colors
137
137
  }) {
138
138
  const _e = [new global.Error(), -5, -27];
139
- const chunkDL2PGB5GJs2 = function () {
139
+ const chunkFBCWNXZCJs2 = function () {
140
140
  return {
141
141
  transform: [{
142
142
  translateX: progress.value * distance
@@ -144,19 +144,19 @@ var SlidingThumb = forwardRef2(function SlidingThumb2({
144
144
  backgroundColor: interpolateColor(progress.value, [0, 1], [colors.off, colors.on])
145
145
  };
146
146
  };
147
- chunkDL2PGB5GJs2.__closure = {
147
+ chunkFBCWNXZCJs2.__closure = {
148
148
  progress,
149
149
  distance,
150
150
  interpolateColor,
151
151
  colors
152
152
  };
153
- chunkDL2PGB5GJs2.__workletHash = 8049726790376;
154
- chunkDL2PGB5GJs2.__pluginVersion = "0.7.4";
155
- chunkDL2PGB5GJs2.__initData = _worklet_8049726790376_init_data;
156
- chunkDL2PGB5GJs2.__stackDetails = _e;
157
- return chunkDL2PGB5GJs2;
153
+ chunkFBCWNXZCJs2.__workletHash = 3092827359818;
154
+ chunkFBCWNXZCJs2.__pluginVersion = "0.7.4";
155
+ chunkFBCWNXZCJs2.__initData = _worklet_3092827359818_init_data;
156
+ chunkFBCWNXZCJs2.__stackDetails = _e;
157
+ return chunkFBCWNXZCJs2;
158
158
  }({
159
- _worklet_8049726790376_init_data,
159
+ _worklet_3092827359818_init_data,
160
160
  progress,
161
161
  distance,
162
162
  interpolateColor,
@@ -208,15 +208,15 @@ var SwitchTrack = forwardRef3(function SwitchTrack2({
208
208
  });
209
209
  });
210
210
  SwitchTrack.displayName = "XAUI.Switch.Track";
211
- const _worklet_6970483984392_init_data = {
212
- code: "function chunkDL2PGB5GJs3(){const{withTiming2,isSelected,SWITCH_DURATION}=this.__closure;return withTiming2(isSelected?1:0,{duration:SWITCH_DURATION});}",
213
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js",
214
- sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs3\",\"withTiming2\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js\"],\"mappings\":\"AAqJoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEtC,MAAO,CAAAH,WAAW,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACvE\",\"ignoreList\":[]}"
211
+ const _worklet_8760471205610_init_data = {
212
+ code: "function chunkFBCWNXZCJs3(){const{withTiming2,isSelected,SWITCH_DURATION}=this.__closure;return withTiming2(isSelected?1:0,{duration:SWITCH_DURATION});}",
213
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js",
214
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFBCWNXZCJs3\",\"withTiming2\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js\"],\"mappings\":\"AAqJoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEtC,MAAO,CAAAH,WAAW,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACvE\",\"ignoreList\":[]}"
215
215
  };
216
- const _worklet_13682578515246_init_data = {
217
- code: "function chunkDL2PGB5GJs4(){const{interpolateColor2,progress,colors}=this.__closure;return{backgroundColor:interpolateColor2(progress.value,[0,1],[colors.off,colors.on])};}",
218
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js",
219
- sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs4\",\"interpolateColor2\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.js\"],\"mappings\":\"AAyJ0C,SAAAA,gBAAMA,CAAA,QAAAC,iBAAA,CAAAC,QAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,MAAO,CACLC,eAAe,CAAEJ,iBAAiB,CAChCC,QAAQ,CAACI,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACH,MAAM,CAACI,GAAG,CAAEJ,MAAM,CAACK,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
216
+ const _worklet_9423454077708_init_data = {
217
+ code: "function chunkFBCWNXZCJs4(){const{interpolateColor2,progress,colors}=this.__closure;return{backgroundColor:interpolateColor2(progress.value,[0,1],[colors.off,colors.on])};}",
218
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js",
219
+ sourceMap: "{\"version\":3,\"names\":[\"chunkFBCWNXZCJs4\",\"interpolateColor2\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-FBCWNXZC.js\"],\"mappings\":\"AAyJ0C,SAAAA,gBAAMA,CAAA,QAAAC,iBAAA,CAAAC,QAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,MAAO,CACLC,eAAe,CAAEJ,iBAAiB,CAChCC,QAAQ,CAACI,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACH,MAAM,CAACI,GAAG,CAAEJ,MAAM,CAACK,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
220
220
  };
221
221
  var CrossfadingTrack = forwardRef3(function CrossfadingTrack2({
222
222
  style,
@@ -225,58 +225,58 @@ var CrossfadingTrack = forwardRef3(function CrossfadingTrack2({
225
225
  children,
226
226
  ...rest
227
227
  }, ref) {
228
- const progress = useDerivedValue2(function chunkDL2PGB5GJs3Factory({
229
- _worklet_6970483984392_init_data,
228
+ const progress = useDerivedValue2(function chunkFBCWNXZCJs3Factory({
229
+ _worklet_8760471205610_init_data,
230
230
  withTiming2,
231
231
  isSelected,
232
232
  SWITCH_DURATION
233
233
  }) {
234
234
  const _e = [new global.Error(), -4, -27];
235
- const chunkDL2PGB5GJs3 = function () {
235
+ const chunkFBCWNXZCJs3 = function () {
236
236
  return withTiming2(isSelected ? 1 : 0, {
237
237
  duration: SWITCH_DURATION
238
238
  });
239
239
  };
240
- chunkDL2PGB5GJs3.__closure = {
240
+ chunkFBCWNXZCJs3.__closure = {
241
241
  withTiming2,
242
242
  isSelected,
243
243
  SWITCH_DURATION
244
244
  };
245
- chunkDL2PGB5GJs3.__workletHash = 6970483984392;
246
- chunkDL2PGB5GJs3.__pluginVersion = "0.7.4";
247
- chunkDL2PGB5GJs3.__initData = _worklet_6970483984392_init_data;
248
- chunkDL2PGB5GJs3.__stackDetails = _e;
249
- return chunkDL2PGB5GJs3;
245
+ chunkFBCWNXZCJs3.__workletHash = 8760471205610;
246
+ chunkFBCWNXZCJs3.__pluginVersion = "0.7.4";
247
+ chunkFBCWNXZCJs3.__initData = _worklet_8760471205610_init_data;
248
+ chunkFBCWNXZCJs3.__stackDetails = _e;
249
+ return chunkFBCWNXZCJs3;
250
250
  }({
251
- _worklet_6970483984392_init_data,
251
+ _worklet_8760471205610_init_data,
252
252
  withTiming2,
253
253
  isSelected,
254
254
  SWITCH_DURATION
255
255
  }), [isSelected]);
256
- const animatedStyle = useAnimatedStyle2(function chunkDL2PGB5GJs4Factory({
257
- _worklet_13682578515246_init_data,
256
+ const animatedStyle = useAnimatedStyle2(function chunkFBCWNXZCJs4Factory({
257
+ _worklet_9423454077708_init_data,
258
258
  interpolateColor2,
259
259
  progress,
260
260
  colors
261
261
  }) {
262
262
  const _e = [new global.Error(), -4, -27];
263
- const chunkDL2PGB5GJs4 = function () {
263
+ const chunkFBCWNXZCJs4 = function () {
264
264
  return {
265
265
  backgroundColor: interpolateColor2(progress.value, [0, 1], [colors.off, colors.on])
266
266
  };
267
267
  };
268
- chunkDL2PGB5GJs4.__closure = {
268
+ chunkFBCWNXZCJs4.__closure = {
269
269
  interpolateColor2,
270
270
  progress,
271
271
  colors
272
272
  };
273
- chunkDL2PGB5GJs4.__workletHash = 13682578515246;
274
- chunkDL2PGB5GJs4.__pluginVersion = "0.7.4";
275
- chunkDL2PGB5GJs4.__initData = _worklet_13682578515246_init_data;
276
- chunkDL2PGB5GJs4.__stackDetails = _e;
277
- return chunkDL2PGB5GJs4;
273
+ chunkFBCWNXZCJs4.__workletHash = 9423454077708;
274
+ chunkFBCWNXZCJs4.__pluginVersion = "0.7.4";
275
+ chunkFBCWNXZCJs4.__initData = _worklet_9423454077708_init_data;
276
+ chunkFBCWNXZCJs4.__stackDetails = _e;
277
+ return chunkFBCWNXZCJs4;
278
278
  }({
279
- _worklet_13682578515246_init_data,
279
+ _worklet_9423454077708_init_data,
280
280
  interpolateColor2,
281
281
  progress,
282
282
  colors