@xaui/native 0.9.1-alpha.17 → 0.9.1-alpha.18

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.
@@ -1,4 +1,4 @@
1
- import { Icon, PressableFeedback } from "./chunk-F432IDIW.js";
1
+ import { Icon, PressableFeedback } from "./chunk-VQPP6FCB.js";
2
2
  import { childrenToString, createRecipe, createSlotContext, useStyleProps } from "./chunk-4K3LZS7M.js";
3
3
  import { useXAUITheme } from "./chunk-XJARE6SC.js";
4
4
 
@@ -71,10 +71,10 @@ function ButtonSpinner({
71
71
  });
72
72
  }
73
73
  ButtonSpinner.displayName = "XAUI.Button.Spinner";
74
- const _worklet_6354179806408_init_data = {
75
- code: "function chunkASXK7XU4Js1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
76
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ASXK7XU4.js",
77
- sourceMap: "{\"version\":3,\"names\":[\"chunkASXK7XU4Js1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ASXK7XU4.js\"],\"mappings\":\"AA4EyC,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE3C,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
74
+ const _worklet_12418466858839_init_data = {
75
+ code: "function chunkMBLPPOSOJs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
76
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-MBLPPOSO.js",
77
+ sourceMap: "{\"version\":3,\"names\":[\"chunkMBLPPOSOJs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-MBLPPOSO.js\"],\"mappings\":\"AA4EyC,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE3C,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
78
78
  };
79
79
  function SpinningRing({
80
80
  style
@@ -87,28 +87,28 @@ function SpinningRing({
87
87
  }), -1, false);
88
88
  return () => cancelAnimation(angle);
89
89
  }, [angle]);
90
- const animatedStyle = useAnimatedStyle(function chunkASXK7XU4Js1Factory({
91
- _worklet_6354179806408_init_data,
90
+ const animatedStyle = useAnimatedStyle(function chunkMBLPPOSOJs1Factory({
91
+ _worklet_12418466858839_init_data,
92
92
  angle
93
93
  }) {
94
94
  const _e = [new global.Error(), -2, -27];
95
- const chunkASXK7XU4Js1 = function () {
95
+ const chunkMBLPPOSOJs1 = function () {
96
96
  return {
97
97
  transform: [{
98
98
  rotate: `${angle.value}deg`
99
99
  }]
100
100
  };
101
101
  };
102
- chunkASXK7XU4Js1.__closure = {
102
+ chunkMBLPPOSOJs1.__closure = {
103
103
  angle
104
104
  };
105
- chunkASXK7XU4Js1.__workletHash = 6354179806408;
106
- chunkASXK7XU4Js1.__pluginVersion = "0.7.4";
107
- chunkASXK7XU4Js1.__initData = _worklet_6354179806408_init_data;
108
- chunkASXK7XU4Js1.__stackDetails = _e;
109
- return chunkASXK7XU4Js1;
105
+ chunkMBLPPOSOJs1.__workletHash = 12418466858839;
106
+ chunkMBLPPOSOJs1.__pluginVersion = "0.7.4";
107
+ chunkMBLPPOSOJs1.__initData = _worklet_12418466858839_init_data;
108
+ chunkMBLPPOSOJs1.__stackDetails = _e;
109
+ return chunkMBLPPOSOJs1;
110
110
  }({
111
- _worklet_6354179806408_init_data,
111
+ _worklet_12418466858839_init_data,
112
112
  angle
113
113
  }), [angle]);
114
114
  return /* @__PURE__ */jsx3(Animated.View, {
@@ -36,7 +36,7 @@ function _optionalChain(ops) {
36
36
  }
37
37
  return value;
38
38
  }
39
- var _chunk2UICXD3Qcjs = require('./chunk-2UICXD3Q.cjs');
39
+ var _chunkP5MKOLIWcjs = require('./chunk-P5MKOLIW.cjs');
40
40
  var _chunk5SU7FXWHcjs = require('./chunk-5SU7FXWH.cjs');
41
41
  var _chunk6N5JXRUZcjs = require('./chunk-6N5JXRUZ.cjs');
42
42
 
@@ -53,7 +53,7 @@ function ButtonIcon({
53
53
  const {
54
54
  icon
55
55
  } = useButton();
56
- return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk2UICXD3Qcjs.Icon, {
56
+ return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkP5MKOLIWcjs.Icon, {
57
57
  size: _nullishCoalesce(size, () => icon.size),
58
58
  color: _nullishCoalesce(color, () => icon.color),
59
59
  ...rest
@@ -107,10 +107,10 @@ function ButtonSpinner({
107
107
  });
108
108
  }
109
109
  ButtonSpinner.displayName = "XAUI.Button.Spinner";
110
- const _worklet_11467162648159_init_data = {
111
- code: "function chunkIZYRU7S2Cjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
112
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-IZYRU7S2.cjs",
113
- sourceMap: "{\"version\":3,\"names\":[\"chunkIZYRU7S2Cjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-IZYRU7S2.cjs\"],\"mappings\":\"AA4E6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE/E,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
110
+ const _worklet_9614831219263_init_data = {
111
+ code: "function chunkODH5WAVMCjs1(){const{angle}=this.__closure;return{transform:[{rotate:angle.value+\"deg\"}]};}",
112
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ODH5WAVM.cjs",
113
+ sourceMap: "{\"version\":3,\"names\":[\"chunkODH5WAVMCjs1\",\"angle\",\"__closure\",\"transform\",\"rotate\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ODH5WAVM.cjs\"],\"mappings\":\"AA4E6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,OAAAC,SAAA,CAE/E,MAAO,CAAEC,SAAS,CAAE,CAAC,CAAEC,MAAM,CAAKH,KAAK,CAACI,KAAK,MAAM,CAAC,CAAE,CAAC,CACzD\",\"ignoreList\":[]}"
114
114
  };
115
115
  function SpinningRing({
116
116
  style
@@ -123,28 +123,28 @@ function SpinningRing({
123
123
  }), -1, false);
124
124
  return () => _reactnativereanimated.cancelAnimation.call(void 0, angle);
125
125
  }, [angle]);
126
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkIZYRU7S2Cjs1Factory({
127
- _worklet_11467162648159_init_data,
126
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkODH5WAVMCjs1Factory({
127
+ _worklet_9614831219263_init_data,
128
128
  angle
129
129
  }) {
130
130
  const _e = [new global.Error(), -2, -27];
131
- const chunkIZYRU7S2Cjs1 = function () {
131
+ const chunkODH5WAVMCjs1 = function () {
132
132
  return {
133
133
  transform: [{
134
134
  rotate: `${angle.value}deg`
135
135
  }]
136
136
  };
137
137
  };
138
- chunkIZYRU7S2Cjs1.__closure = {
138
+ chunkODH5WAVMCjs1.__closure = {
139
139
  angle
140
140
  };
141
- chunkIZYRU7S2Cjs1.__workletHash = 11467162648159;
142
- chunkIZYRU7S2Cjs1.__pluginVersion = "0.7.4";
143
- chunkIZYRU7S2Cjs1.__initData = _worklet_11467162648159_init_data;
144
- chunkIZYRU7S2Cjs1.__stackDetails = _e;
145
- return chunkIZYRU7S2Cjs1;
141
+ chunkODH5WAVMCjs1.__workletHash = 9614831219263;
142
+ chunkODH5WAVMCjs1.__pluginVersion = "0.7.4";
143
+ chunkODH5WAVMCjs1.__initData = _worklet_9614831219263_init_data;
144
+ chunkODH5WAVMCjs1.__stackDetails = _e;
145
+ return chunkODH5WAVMCjs1;
146
146
  }({
147
- _worklet_11467162648159_init_data,
147
+ _worklet_9614831219263_init_data,
148
148
  angle
149
149
  }), [angle]);
150
150
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.View, {
@@ -495,7 +495,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
495
495
  }
496
496
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, ButtonProvider, {
497
497
  value: context,
498
- children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunk2UICXD3Qcjs.PressableFeedback, {
498
+ children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkP5MKOLIWcjs.PressableFeedback, {
499
499
  ref,
500
500
  isPressed,
501
501
  isDisabled: isDisabled || isLoading,
@@ -51,46 +51,53 @@ function useIconContext() {
51
51
 
52
52
  var _reactnative = require('react-native');
53
53
  var _jsxruntime = require('react/jsx-runtime');
54
- function Icon({
55
- as: Component,
56
- children,
57
- source,
58
- size,
59
- color,
60
- style,
61
- ...props
62
- }) {
54
+ function Icon(props) {
63
55
  const inherited = useIconContext();
64
56
  const theme = _chunk6N5JXRUZcjs.useXAUITheme.call(void 0);
65
- const [styleProps] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
66
- const resolvedSize = _nullishCoalesce(_nullishCoalesce(size, () => inherited.size), () => theme.fontSizes.md);
67
- const resolvedColor = _nullishCoalesce(_nullishCoalesce(color, () => inherited.color), () => theme.colors.foreground);
68
- if (Component) {
57
+ const size = _nullishCoalesce(_nullishCoalesce(props.size, () => inherited.size), () => theme.fontSizes.md);
58
+ const color = _nullishCoalesce(_nullishCoalesce(props.color, () => inherited.color), () => theme.colors.foreground);
59
+ if (props.as) {
60
+ const Component = props.as;
69
61
  return /* @__PURE__ */_jsxruntime.jsx.call(void 0, Component, {
70
- size: resolvedSize,
71
- color: resolvedColor
72
- });
73
- }
74
- if (_react.isValidElement.call(void 0, children)) {
75
- return _react.cloneElement.call(void 0, children, {
76
- width: resolvedSize,
77
- height: resolvedSize,
78
- color: resolvedColor
62
+ size,
63
+ color
79
64
  });
80
65
  }
81
- if (source) {
82
- return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Image, {
83
- source,
84
- style: [{
85
- width: resolvedSize,
86
- height: resolvedSize,
87
- tintColor: resolvedColor
88
- }, styleProps, style]
66
+ if (_react.isValidElement.call(void 0, props.children)) {
67
+ return _react.cloneElement.call(void 0, props.children, {
68
+ width: size,
69
+ height: size,
70
+ color
89
71
  });
90
72
  }
73
+ if (props.source) return /* @__PURE__ */_jsxruntime.jsx.call(void 0, IconImage, {
74
+ ...props,
75
+ resolved: {
76
+ size,
77
+ color
78
+ }
79
+ });
91
80
  throw new Error("XAUI: Icon needs one of `as` (an icon component), a raw SVG element as its child, or `source` (an image). It renders nothing on its own.");
92
81
  }
93
82
  Icon.displayName = "XAUI.Icon";
83
+ function IconImage({
84
+ source,
85
+ style,
86
+ resolved,
87
+ size: _size,
88
+ color: _color,
89
+ ...props
90
+ }) {
91
+ const [styleProps] = _chunk5SU7FXWHcjs.useStyleProps.call(void 0, props);
92
+ return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Image, {
93
+ source,
94
+ style: [{
95
+ width: resolved.size,
96
+ height: resolved.size,
97
+ tintColor: resolved.color
98
+ }, styleProps, style]
99
+ });
100
+ }
94
101
 
95
102
  // src/system/pressable-feedback/pressable-feedback-context.ts
96
103
 
@@ -101,13 +108,13 @@ var DisableAllContext = _react.createContext.call(void 0, false);
101
108
  var PRESS_SCALE = 0.985;
102
109
  var PRESS_DURATION = 300;
103
110
  var SCALE_REFERENCE_WIDTH = 300;
104
- const _worklet_12714309096160_init_data = {
105
- code: "function pressScaleFor_chunk2UICXD3QCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
106
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs",
107
- sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunk2UICXD3QCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs\"],\"mappings\":\"AA2EA,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\":[]}"
111
+ const _worklet_6765538674509_init_data = {
112
+ code: "function pressScaleFor_chunkP5MKOLIWCjs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
113
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs",
114
+ sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkP5MKOLIWCjs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs\"],\"mappings\":\"AA4EA,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\":[]}"
108
115
  };
109
- const pressScaleFor = function pressScaleFor_chunk2UICXD3QCjs1Factory({
110
- _worklet_12714309096160_init_data,
116
+ const pressScaleFor = function pressScaleFor_chunkP5MKOLIWCjs1Factory({
117
+ _worklet_6765538674509_init_data,
111
118
  SCALE_REFERENCE_WIDTH,
112
119
  PRESS_SCALE
113
120
  }) {
@@ -120,13 +127,13 @@ const pressScaleFor = function pressScaleFor_chunk2UICXD3QCjs1Factory({
120
127
  SCALE_REFERENCE_WIDTH,
121
128
  PRESS_SCALE
122
129
  };
123
- pressScaleFor.__workletHash = 12714309096160;
130
+ pressScaleFor.__workletHash = 6765538674509;
124
131
  pressScaleFor.__pluginVersion = "0.7.4";
125
- pressScaleFor.__initData = _worklet_12714309096160_init_data;
132
+ pressScaleFor.__initData = _worklet_6765538674509_init_data;
126
133
  pressScaleFor.__stackDetails = _e;
127
134
  return pressScaleFor;
128
135
  }({
129
- _worklet_12714309096160_init_data,
136
+ _worklet_6765538674509_init_data,
130
137
  SCALE_REFERENCE_WIDTH,
131
138
  PRESS_SCALE
132
139
  });
@@ -139,26 +146,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
139
146
  var RIPPLE_FADE_IN = 75;
140
147
  var RIPPLE_FADE_OUT_DELAY = 225;
141
148
  var RIPPLE_FADE_OUT = 150;
142
- const _worklet_1716125229339_init_data = {
143
- code: "function rippleRadiusFor_chunk2UICXD3QCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
144
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs",
145
- sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunk2UICXD3QCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs\"],\"mappings\":\"AAyFA,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\":[]}"
149
+ const _worklet_16027664241398_init_data = {
150
+ code: "function rippleRadiusFor_chunkP5MKOLIWCjs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
151
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs",
152
+ sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkP5MKOLIWCjs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs\"],\"mappings\":\"AA0FA,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\":[]}"
146
153
  };
147
- const rippleRadiusFor = function rippleRadiusFor_chunk2UICXD3QCjs2Factory({
148
- _worklet_1716125229339_init_data
154
+ const rippleRadiusFor = function rippleRadiusFor_chunkP5MKOLIWCjs2Factory({
155
+ _worklet_16027664241398_init_data
149
156
  }) {
150
157
  const _e = [new global.Error(), 1, -27];
151
158
  const rippleRadiusFor = function (width, height) {
152
159
  return Math.sqrt(width * width + height * height) / 2 + 5;
153
160
  };
154
161
  rippleRadiusFor.__closure = {};
155
- rippleRadiusFor.__workletHash = 1716125229339;
162
+ rippleRadiusFor.__workletHash = 16027664241398;
156
163
  rippleRadiusFor.__pluginVersion = "0.7.4";
157
- rippleRadiusFor.__initData = _worklet_1716125229339_init_data;
164
+ rippleRadiusFor.__initData = _worklet_16027664241398_init_data;
158
165
  rippleRadiusFor.__stackDetails = _e;
159
166
  return rippleRadiusFor;
160
167
  }({
161
- _worklet_1716125229339_init_data
168
+ _worklet_16027664241398_init_data
162
169
  });
163
170
  var ALL_OFF = {
164
171
  scale: false,
@@ -332,10 +339,10 @@ var StaticFeedback = _react.forwardRef.call(void 0, function StaticFeedback2({
332
339
  })
333
340
  });
334
341
  });
335
- const _worklet_16183698449401_init_data = {
336
- code: "function chunk2UICXD3QCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
337
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs",
338
- sourceMap: "{\"version\":3,\"names\":[\"chunk2UICXD3QCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs\"],\"mappings\":\"AAwQ6E,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\":[]}"
342
+ const _worklet_3780393475220_init_data = {
343
+ code: "function chunkP5MKOLIWCjs3(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
344
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs",
345
+ sourceMap: "{\"version\":3,\"names\":[\"chunkP5MKOLIWCjs3\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs\"],\"mappings\":\"AAyQ6E,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\":[]}"
339
346
  };
340
347
  var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2({
341
348
  isPressed = false,
@@ -364,14 +371,14 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
364
371
  });
365
372
  }, [isPressed, progress]);
366
373
  const pressedScale = _reactnativereanimated.useDerivedValue.call(void 0, () => pressScaleFor(size.value.width));
367
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2UICXD3QCjs3Factory({
368
- _worklet_16183698449401_init_data,
374
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkP5MKOLIWCjs3Factory({
375
+ _worklet_3780393475220_init_data,
369
376
  animation,
370
377
  pressedScale,
371
378
  progress
372
379
  }) {
373
380
  const _e = [new global.Error(), -4, -27];
374
- const chunk2UICXD3QCjs3 = function () {
381
+ const chunkP5MKOLIWCjs3 = function () {
375
382
  if (!animation.scale) return {};
376
383
  return {
377
384
  transform: [{
@@ -379,18 +386,18 @@ var AnimatedFeedback = _react.forwardRef.call(void 0, function AnimatedFeedback2
379
386
  }]
380
387
  };
381
388
  };
382
- chunk2UICXD3QCjs3.__closure = {
389
+ chunkP5MKOLIWCjs3.__closure = {
383
390
  animation,
384
391
  pressedScale,
385
392
  progress
386
393
  };
387
- chunk2UICXD3QCjs3.__workletHash = 16183698449401;
388
- chunk2UICXD3QCjs3.__pluginVersion = "0.7.4";
389
- chunk2UICXD3QCjs3.__initData = _worklet_16183698449401_init_data;
390
- chunk2UICXD3QCjs3.__stackDetails = _e;
391
- return chunk2UICXD3QCjs3;
394
+ chunkP5MKOLIWCjs3.__workletHash = 3780393475220;
395
+ chunkP5MKOLIWCjs3.__pluginVersion = "0.7.4";
396
+ chunkP5MKOLIWCjs3.__initData = _worklet_3780393475220_init_data;
397
+ chunkP5MKOLIWCjs3.__stackDetails = _e;
398
+ return chunkP5MKOLIWCjs3;
392
399
  }({
393
- _worklet_16183698449401_init_data,
400
+ _worklet_3780393475220_init_data,
394
401
  animation,
395
402
  pressedScale,
396
403
  progress
@@ -532,10 +539,10 @@ function PressableFeedbackHighlight({
532
539
  }
533
540
  PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
534
541
  markOverlay(PressableFeedbackHighlight);
535
- const _worklet_122095293967_init_data = {
536
- code: "function chunk2UICXD3QCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
537
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs",
538
- sourceMap: "{\"version\":3,\"names\":[\"chunk2UICXD3QCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs\"],\"mappings\":\"AAsZ6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
542
+ const _worklet_4159583955298_init_data = {
543
+ code: "function chunkP5MKOLIWCjs4(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
544
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs",
545
+ sourceMap: "{\"version\":3,\"names\":[\"chunkP5MKOLIWCjs4\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs\"],\"mappings\":\"AAuZ6E,SAAAA,iBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE/E,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
539
546
  };
540
547
  function AnimatedHighlight({
541
548
  base,
@@ -551,28 +558,28 @@ function AnimatedHighlight({
551
558
  duration
552
559
  });
553
560
  }, [isPressed, shown, duration]);
554
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2UICXD3QCjs4Factory({
555
- _worklet_122095293967_init_data,
561
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkP5MKOLIWCjs4Factory({
562
+ _worklet_4159583955298_init_data,
556
563
  shown,
557
564
  opacity
558
565
  }) {
559
566
  const _e = [new global.Error(), -3, -27];
560
- const chunk2UICXD3QCjs4 = function () {
567
+ const chunkP5MKOLIWCjs4 = function () {
561
568
  return {
562
569
  opacity: shown.value * opacity
563
570
  };
564
571
  };
565
- chunk2UICXD3QCjs4.__closure = {
572
+ chunkP5MKOLIWCjs4.__closure = {
566
573
  shown,
567
574
  opacity
568
575
  };
569
- chunk2UICXD3QCjs4.__workletHash = 122095293967;
570
- chunk2UICXD3QCjs4.__pluginVersion = "0.7.4";
571
- chunk2UICXD3QCjs4.__initData = _worklet_122095293967_init_data;
572
- chunk2UICXD3QCjs4.__stackDetails = _e;
573
- return chunk2UICXD3QCjs4;
576
+ chunkP5MKOLIWCjs4.__workletHash = 4159583955298;
577
+ chunkP5MKOLIWCjs4.__pluginVersion = "0.7.4";
578
+ chunkP5MKOLIWCjs4.__initData = _worklet_4159583955298_init_data;
579
+ chunkP5MKOLIWCjs4.__stackDetails = _e;
580
+ return chunkP5MKOLIWCjs4;
574
581
  }({
575
- _worklet_122095293967_init_data,
582
+ _worklet_4159583955298_init_data,
576
583
  shown,
577
584
  opacity
578
585
  }), [shown, opacity]);
@@ -636,10 +643,10 @@ function PressableFeedbackRipple({
636
643
  }
637
644
  PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
638
645
  markOverlay(PressableFeedbackRipple);
639
- const _worklet_11605290139298_init_data = {
640
- code: "function chunk2UICXD3QCjs5(){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}]};}",
641
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-2UICXD3Q.cjs",
642
- sourceMap: "{\"version\":3,\"names\":[\"chunk2UICXD3QCjs5\",\"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-2UICXD3Q.cjs\"],\"mappings\":\"AAsd6E,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\":[]}"
646
+ const _worklet_17082358914191_init_data = {
647
+ code: "function chunkP5MKOLIWCjs5(){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}]};}",
648
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-P5MKOLIW.cjs",
649
+ sourceMap: "{\"version\":3,\"names\":[\"chunkP5MKOLIWCjs5\",\"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-P5MKOLIW.cjs\"],\"mappings\":\"AAud6E,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\":[]}"
643
650
  };
644
651
  function RippleWave({
645
652
  wave,
@@ -649,8 +656,8 @@ function RippleWave({
649
656
  opacity,
650
657
  style
651
658
  }) {
652
- const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunk2UICXD3QCjs5Factory({
653
- _worklet_11605290139298_init_data,
659
+ const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkP5MKOLIWCjs5Factory({
660
+ _worklet_17082358914191_init_data,
654
661
  wave,
655
662
  RIPPLE_START_SCALE,
656
663
  center,
@@ -658,7 +665,7 @@ function RippleWave({
658
665
  radius
659
666
  }) {
660
667
  const _e = [new global.Error(), -6, -27];
661
- const chunk2UICXD3QCjs5 = function () {
668
+ const chunkP5MKOLIWCjs5 = function () {
662
669
  const t = wave.expand.value;
663
670
  const from = wave.origin.value;
664
671
  const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
@@ -676,20 +683,20 @@ function RippleWave({
676
683
  }]
677
684
  };
678
685
  };
679
- chunk2UICXD3QCjs5.__closure = {
686
+ chunkP5MKOLIWCjs5.__closure = {
680
687
  wave,
681
688
  RIPPLE_START_SCALE,
682
689
  center,
683
690
  opacity,
684
691
  radius
685
692
  };
686
- chunk2UICXD3QCjs5.__workletHash = 11605290139298;
687
- chunk2UICXD3QCjs5.__pluginVersion = "0.7.4";
688
- chunk2UICXD3QCjs5.__initData = _worklet_11605290139298_init_data;
689
- chunk2UICXD3QCjs5.__stackDetails = _e;
690
- return chunk2UICXD3QCjs5;
693
+ chunkP5MKOLIWCjs5.__workletHash = 17082358914191;
694
+ chunkP5MKOLIWCjs5.__pluginVersion = "0.7.4";
695
+ chunkP5MKOLIWCjs5.__initData = _worklet_17082358914191_init_data;
696
+ chunkP5MKOLIWCjs5.__stackDetails = _e;
697
+ return chunkP5MKOLIWCjs5;
691
698
  }({
692
- _worklet_11605290139298_init_data,
699
+ _worklet_17082358914191_init_data,
693
700
  wave,
694
701
  RIPPLE_START_SCALE,
695
702
  center,