@xaui/native 0.9.1-alpha.36 → 0.9.1-alpha.37
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.
- package/dist/{chunk-V5IVMZQJ.js → chunk-2PMXMKS5.js} +13 -8
- package/dist/{chunk-FVKIQBHS.cjs → chunk-3P6M2R4S.cjs} +6 -6
- package/dist/{chunk-RPOKLFRB.cjs → chunk-437QULXO.cjs} +7 -7
- package/dist/{chunk-BAPXLO5N.js → chunk-4PTWZCOK.js} +9 -9
- package/dist/{chunk-E5ZW7MBW.js → chunk-5PPNDKRX.js} +16 -16
- package/dist/{chunk-K7GAHNMJ.js → chunk-6G3XWPNP.js} +5 -5
- package/dist/{chunk-ISPOIMGX.cjs → chunk-7B3UBUC6.cjs} +3 -3
- package/dist/{chunk-5GMU7ESV.js → chunk-7LSY4WFL.js} +2 -2
- package/dist/{chunk-HQVVQGYV.cjs → chunk-ACAPTWE3.cjs} +16 -12
- package/dist/{chunk-2L7FOIWY.cjs → chunk-AP6RVIIK.cjs} +21 -21
- package/dist/{chunk-SAGMDVFU.js → chunk-BORJJYDW.js} +4 -4
- package/dist/{chunk-ADQVA2FQ.cjs → chunk-C5VDFRAD.cjs} +3 -3
- package/dist/{chunk-FYCDRRJ2.cjs → chunk-CUQTAPBU.cjs} +22 -22
- package/dist/{chunk-GPZSTEEI.cjs → chunk-DKH6BNPF.cjs} +15 -15
- package/dist/{chunk-2SCE7TFZ.cjs → chunk-DRMT346W.cjs} +64 -64
- package/dist/chunk-DVDQSW7U.cjs +1006 -0
- package/dist/{chunk-U3HFQHGZ.js → chunk-E3X5ODKQ.js} +3 -3
- package/dist/{chunk-RSGIJ6RI.js → chunk-EOJ5MYAQ.js} +5 -5
- package/dist/{chunk-MFXZHLOU.cjs → chunk-FTQHDJYL.cjs} +14 -14
- package/dist/{chunk-GHKJ6MUH.cjs → chunk-GTT4NHS2.cjs} +11 -11
- package/dist/{chunk-OWE5IID7.js → chunk-HXW4ANVB.js} +3 -3
- package/dist/{chunk-N2U63JUX.cjs → chunk-IGLKACSR.cjs} +7 -7
- package/dist/{chunk-VWATEE5O.js → chunk-IKJVLJKT.js} +15 -15
- package/dist/{chunk-AZRMOWRG.cjs → chunk-ITURCQMQ.cjs} +7 -7
- package/dist/{chunk-PGQWUASE.cjs → chunk-JB5LGQ54.cjs} +3 -3
- package/dist/{chunk-4XFEEBPU.js → chunk-JDSE4TQL.js} +1 -1
- package/dist/{chunk-6U5IUUAR.js → chunk-JXNFOOKC.js} +7 -7
- package/dist/{chunk-6N5ZCEAB.cjs → chunk-LEWW24RQ.cjs} +7 -7
- package/dist/{chunk-OSCW7I4H.js → chunk-M63GFNKV.js} +19 -4
- package/dist/chunk-MESKS6AI.js +0 -0
- package/dist/{chunk-CVCE7TW5.js → chunk-NKPTXTTS.js} +3 -3
- package/dist/{chunk-2LNE4PWB.cjs → chunk-NTD3NPRX.cjs} +3 -3
- package/dist/{chunk-2OZPOWFB.js → chunk-O3A3DBSZ.js} +3 -3
- package/dist/chunk-OJCCV65P.cjs +1 -0
- package/dist/{chunk-B6OKVLC7.js → chunk-OULTSBKU.js} +3 -3
- package/dist/{chunk-TE7KVFE4.cjs → chunk-P747CRAY.cjs} +9 -9
- package/dist/{chunk-DL2PGB5G.js → chunk-RGKWNK4T.js} +58 -58
- package/dist/{chunk-DOLWSO7A.js → chunk-RVRVGG73.js} +4 -4
- package/dist/{chunk-3YZSUDZ2.js → chunk-SMW6ZWMH.js} +3 -3
- package/dist/{chunk-AQXNEV6J.cjs → chunk-SNIHUKDA.cjs} +16 -16
- package/dist/{chunk-OMV5MUTM.js → chunk-SO5UAGIU.js} +15 -15
- package/dist/{chunk-KZVHC4FL.js → chunk-TDYPY2J7.js} +8 -8
- package/dist/{chunk-QZO57TPX.js → chunk-TJHYSSBZ.js} +3 -3
- package/dist/{chunk-K3AVOT6L.cjs → chunk-TK44VBIE.cjs} +22 -7
- package/dist/{chunk-ZU3XQZ63.cjs → chunk-UBOXW5WO.cjs} +63 -63
- package/dist/{chunk-UCW25LL6.js → chunk-UGF35NSE.js} +75 -75
- package/dist/{chunk-LCDHTLSG.cjs → chunk-VFTT3Q4B.cjs} +4 -4
- package/dist/{chunk-5BNIIDQD.cjs → chunk-WDDXU3OH.cjs} +14 -9
- package/dist/{chunk-JB5XANQY.js → chunk-WKCQ6VGW.js} +15 -11
- package/dist/{chunk-XARBUUIE.cjs → chunk-WVLSQO6K.cjs} +9 -9
- package/dist/chunk-XWY4DF37.js +1143 -0
- package/dist/{chunk-EFPWXJAJ.cjs → chunk-ZJWEVFAO.cjs} +12 -12
- package/dist/components/alert/index.cjs +7 -8
- package/dist/components/alert/index.d.cts +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +6 -7
- package/dist/components/avatar/index.cjs +4 -5
- package/dist/components/avatar/index.d.cts +3 -3
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/avatar/index.js +3 -4
- package/dist/components/badge/index.cjs +3 -4
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +2 -3
- package/dist/components/button/index.cjs +6 -7
- package/dist/components/button/index.d.cts +168 -168
- package/dist/components/button/index.d.ts +168 -168
- package/dist/components/button/index.js +5 -6
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +169 -169
- package/dist/components/card/index.d.ts +169 -169
- package/dist/components/card/index.js +4 -5
- package/dist/components/checkbox/index.cjs +5 -6
- package/dist/components/checkbox/index.d.cts +336 -336
- package/dist/components/checkbox/index.d.ts +336 -336
- package/dist/components/checkbox/index.js +4 -5
- package/dist/components/chip/index.cjs +7 -8
- package/dist/components/chip/index.d.cts +169 -169
- package/dist/components/chip/index.d.ts +169 -169
- package/dist/components/chip/index.js +6 -7
- package/dist/components/divider/index.cjs +3 -4
- package/dist/components/divider/index.d.cts +1 -1
- package/dist/components/divider/index.d.ts +1 -1
- package/dist/components/divider/index.js +2 -3
- package/dist/components/field-group/index.cjs +5 -6
- package/dist/components/field-group/index.d.cts +6 -6
- package/dist/components/field-group/index.d.ts +6 -6
- package/dist/components/field-group/index.js +4 -5
- package/dist/components/input-otp/index.cjs +3 -4
- package/dist/components/input-otp/index.d.cts +1 -1
- package/dist/components/input-otp/index.d.ts +1 -1
- package/dist/components/input-otp/index.js +2 -3
- package/dist/components/radio/index.cjs +5 -6
- package/dist/components/radio/index.d.cts +336 -336
- package/dist/components/radio/index.d.ts +336 -336
- package/dist/components/radio/index.js +4 -5
- package/dist/components/select/index.cjs +47 -0
- package/dist/components/select/index.d.cts +519 -0
- package/dist/components/select/index.d.ts +519 -0
- package/dist/components/select/index.js +47 -0
- package/dist/components/skeleton/index.cjs +3 -4
- package/dist/components/skeleton/index.d.cts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +2 -3
- package/dist/components/spinner/index.cjs +4 -5
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.js +3 -4
- package/dist/components/switch/index.cjs +5 -6
- package/dist/components/switch/index.d.cts +338 -338
- package/dist/components/switch/index.d.ts +338 -338
- package/dist/components/switch/index.js +4 -5
- package/dist/components/text-area/index.cjs +4 -5
- package/dist/components/text-area/index.js +3 -4
- package/dist/components/text-field/index.cjs +3 -4
- package/dist/components/text-field/index.d.cts +3 -3
- package/dist/components/text-field/index.d.ts +3 -3
- package/dist/components/text-field/index.js +2 -3
- package/dist/components/typography/index.cjs +3 -4
- package/dist/components/typography/index.d.cts +2 -2
- package/dist/components/typography/index.d.ts +2 -2
- package/dist/components/typography/index.js +2 -3
- package/dist/components/view/index.cjs +3 -4
- package/dist/components/view/index.d.cts +6 -6
- package/dist/components/view/index.d.ts +6 -6
- package/dist/components/view/index.js +2 -3
- package/dist/index.cjs +64 -28
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +80 -44
- package/dist/system/index.cjs +10 -10
- package/dist/system/index.d.cts +15 -2
- package/dist/system/index.d.ts +15 -2
- package/dist/system/index.js +8 -8
- package/dist/theme/index.cjs +4 -3
- package/dist/theme/index.d.cts +21 -1
- package/dist/theme/index.d.ts +21 -1
- package/dist/theme/index.js +3 -2
- package/package.json +11 -1
- package/dist/chunk-FJ5TLRT3.js +0 -21
- package/dist/chunk-HT7H35GU.cjs +0 -21
|
@@ -37,12 +37,12 @@ function _optionalChain(ops) {
|
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
39
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
40
|
-
var
|
|
40
|
+
var _chunkDRMT346Wcjs = require('./chunk-DRMT346W.cjs');
|
|
41
41
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
42
42
|
var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
43
43
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
44
|
-
var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
|
|
45
44
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
45
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
46
46
|
|
|
47
47
|
// src/components/switch/switch-label.tsx
|
|
48
48
|
var _react = require('react');
|
|
@@ -61,7 +61,7 @@ var SwitchLabel = _react.forwardRef.call(void 0, function SwitchLabel2({
|
|
|
61
61
|
const {
|
|
62
62
|
labelStyle
|
|
63
63
|
} = useSwitch();
|
|
64
|
-
const [styleProps, rest] =
|
|
64
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
65
65
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.Text, {
|
|
66
66
|
ref,
|
|
67
67
|
style: [labelStyle, styleProps, style],
|
|
@@ -93,7 +93,7 @@ var SwitchThumb = _react.forwardRef.call(void 0, function SwitchThumb2({
|
|
|
93
93
|
travel,
|
|
94
94
|
isSelected
|
|
95
95
|
} = useSwitch();
|
|
96
|
-
const [styleProps, rest] =
|
|
96
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
97
97
|
const base = [thumbStyle, styleProps, style];
|
|
98
98
|
const distance = _reactnative.I18nManager.isRTL ? -travel : travel;
|
|
99
99
|
if (!animation) {
|
|
@@ -120,15 +120,15 @@ var SwitchThumb = _react.forwardRef.call(void 0, function SwitchThumb2({
|
|
|
120
120
|
});
|
|
121
121
|
});
|
|
122
122
|
SwitchThumb.displayName = "XAUI.Switch.Thumb";
|
|
123
|
-
const
|
|
124
|
-
code: "function
|
|
125
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
126
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
123
|
+
const _worklet_2832015839190_init_data = {
|
|
124
|
+
code: "function chunkUBOXW5WOCjs1(){const{_reactnativereanimated,isSelected,SWITCH_DURATION}=this.__closure;return _reactnativereanimated.withTiming.call(void 0,isSelected?1:0,{duration:SWITCH_DURATION});}",
|
|
125
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs",
|
|
126
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUBOXW5WOCjs1\",\"_reactnativereanimated\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"withTiming\",\"call\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs\"],\"mappings\":\"AA4FuE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEzE,MAAO,CAAAH,sBAAsB,CAACI,UAAU,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEJ,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEK,QAAQ,CAAEJ,eAAgB,CAAC,CAAC,CAC1G\",\"ignoreList\":[]}"
|
|
127
127
|
};
|
|
128
|
-
const
|
|
129
|
-
code: "function
|
|
130
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
131
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
128
|
+
const _worklet_14535790199004_init_data = {
|
|
129
|
+
code: "function chunkUBOXW5WOCjs2(){const{progress,distance,_reactnativereanimated,colors}=this.__closure;return{transform:[{translateX:progress.value*distance}],backgroundColor:_reactnativereanimated.interpolateColor.call(void 0,progress.value,[0,1],[colors.off,colors.on])};}",
|
|
130
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs",
|
|
131
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUBOXW5WOCjs2\",\"progress\",\"distance\",\"_reactnativereanimated\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"interpolateColor\",\"call\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs\"],\"mappings\":\"AAgG6E,SAAAA,iBAAMA,CAAA,QAAAC,QAAA,CAAAC,QAAA,CAAAC,sBAAA,CAAAC,MAAA,OAAAC,SAAA,CAE/E,MAAO,CACLC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEN,QAAQ,CAACO,KAAK,CAAGN,QAAS,CAAC,CAAC,CACtDO,eAAe,CAAEN,sBAAsB,CAACO,gBAAgB,CAACC,IAAI,CAAC,IAAK,EAAC,CAClEV,QAAQ,CAACO,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACJ,MAAM,CAACQ,GAAG,CAAER,MAAM,CAACS,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
|
|
132
132
|
};
|
|
133
133
|
var SlidingThumb = _react.forwardRef.call(void 0, function SlidingThumb2({
|
|
134
134
|
style,
|
|
@@ -138,43 +138,43 @@ var SlidingThumb = _react.forwardRef.call(void 0, function SlidingThumb2({
|
|
|
138
138
|
children,
|
|
139
139
|
...rest
|
|
140
140
|
}, ref) {
|
|
141
|
-
const progress = _reactnativereanimated.useDerivedValue.call(void 0, function
|
|
142
|
-
|
|
141
|
+
const progress = _reactnativereanimated.useDerivedValue.call(void 0, function chunkUBOXW5WOCjs1Factory({
|
|
142
|
+
_worklet_2832015839190_init_data,
|
|
143
143
|
_reactnativereanimated,
|
|
144
144
|
isSelected,
|
|
145
145
|
SWITCH_DURATION
|
|
146
146
|
}) {
|
|
147
147
|
const _e = [new global.Error(), -4, -27];
|
|
148
|
-
const
|
|
148
|
+
const chunkUBOXW5WOCjs1 = function () {
|
|
149
149
|
return _reactnativereanimated.withTiming.call(void 0, isSelected ? 1 : 0, {
|
|
150
150
|
duration: SWITCH_DURATION
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
|
-
|
|
153
|
+
chunkUBOXW5WOCjs1.__closure = {
|
|
154
154
|
_reactnativereanimated,
|
|
155
155
|
isSelected,
|
|
156
156
|
SWITCH_DURATION
|
|
157
157
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
return
|
|
158
|
+
chunkUBOXW5WOCjs1.__workletHash = 2832015839190;
|
|
159
|
+
chunkUBOXW5WOCjs1.__pluginVersion = "0.7.4";
|
|
160
|
+
chunkUBOXW5WOCjs1.__initData = _worklet_2832015839190_init_data;
|
|
161
|
+
chunkUBOXW5WOCjs1.__stackDetails = _e;
|
|
162
|
+
return chunkUBOXW5WOCjs1;
|
|
163
163
|
}({
|
|
164
|
-
|
|
164
|
+
_worklet_2832015839190_init_data,
|
|
165
165
|
_reactnativereanimated,
|
|
166
166
|
isSelected,
|
|
167
167
|
SWITCH_DURATION
|
|
168
168
|
}), [isSelected]);
|
|
169
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
170
|
-
|
|
169
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkUBOXW5WOCjs2Factory({
|
|
170
|
+
_worklet_14535790199004_init_data,
|
|
171
171
|
progress,
|
|
172
172
|
distance,
|
|
173
173
|
_reactnativereanimated,
|
|
174
174
|
colors
|
|
175
175
|
}) {
|
|
176
176
|
const _e = [new global.Error(), -5, -27];
|
|
177
|
-
const
|
|
177
|
+
const chunkUBOXW5WOCjs2 = function () {
|
|
178
178
|
return {
|
|
179
179
|
transform: [{
|
|
180
180
|
translateX: progress.value * distance
|
|
@@ -182,19 +182,19 @@ var SlidingThumb = _react.forwardRef.call(void 0, function SlidingThumb2({
|
|
|
182
182
|
backgroundColor: _reactnativereanimated.interpolateColor.call(void 0, progress.value, [0, 1], [colors.off, colors.on])
|
|
183
183
|
};
|
|
184
184
|
};
|
|
185
|
-
|
|
185
|
+
chunkUBOXW5WOCjs2.__closure = {
|
|
186
186
|
progress,
|
|
187
187
|
distance,
|
|
188
188
|
_reactnativereanimated,
|
|
189
189
|
colors
|
|
190
190
|
};
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
return
|
|
191
|
+
chunkUBOXW5WOCjs2.__workletHash = 14535790199004;
|
|
192
|
+
chunkUBOXW5WOCjs2.__pluginVersion = "0.7.4";
|
|
193
|
+
chunkUBOXW5WOCjs2.__initData = _worklet_14535790199004_init_data;
|
|
194
|
+
chunkUBOXW5WOCjs2.__stackDetails = _e;
|
|
195
|
+
return chunkUBOXW5WOCjs2;
|
|
196
196
|
}({
|
|
197
|
-
|
|
197
|
+
_worklet_14535790199004_init_data,
|
|
198
198
|
progress,
|
|
199
199
|
distance,
|
|
200
200
|
_reactnativereanimated,
|
|
@@ -221,7 +221,7 @@ var SwitchTrack = _react.forwardRef.call(void 0, function SwitchTrack2({
|
|
|
221
221
|
track,
|
|
222
222
|
isSelected
|
|
223
223
|
} = useSwitch();
|
|
224
|
-
const [styleProps, rest] =
|
|
224
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
225
225
|
const base = [trackStyle, styleProps, style];
|
|
226
226
|
if (!animation) {
|
|
227
227
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnative.View, {
|
|
@@ -243,15 +243,15 @@ var SwitchTrack = _react.forwardRef.call(void 0, function SwitchTrack2({
|
|
|
243
243
|
});
|
|
244
244
|
});
|
|
245
245
|
SwitchTrack.displayName = "XAUI.Switch.Track";
|
|
246
|
-
const
|
|
247
|
-
code: "function
|
|
248
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
249
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
246
|
+
const _worklet_8071130190100_init_data = {
|
|
247
|
+
code: "function chunkUBOXW5WOCjs3(){const{_reactnativereanimated,isSelected,SWITCH_DURATION}=this.__closure;return _reactnativereanimated.withTiming.call(void 0,isSelected?1:0,{duration:SWITCH_DURATION});}",
|
|
248
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs",
|
|
249
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUBOXW5WOCjs3\",\"_reactnativereanimated\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"withTiming\",\"call\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs\"],\"mappings\":\"AAqJuE,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEzE,MAAO,CAAAH,sBAAsB,CAACI,UAAU,CAACC,IAAI,CAAC,IAAK,EAAC,CAAEJ,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEK,QAAQ,CAAEJ,eAAgB,CAAC,CAAC,CAC1G\",\"ignoreList\":[]}"
|
|
250
250
|
};
|
|
251
|
-
const
|
|
252
|
-
code: "function
|
|
253
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
254
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
251
|
+
const _worklet_1890901985850_init_data = {
|
|
252
|
+
code: "function chunkUBOXW5WOCjs4(){const{_reactnativereanimated,progress,colors}=this.__closure;return{backgroundColor:_reactnativereanimated.interpolateColor.call(void 0,progress.value,[0,1],[colors.off,colors.on])};}",
|
|
253
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs",
|
|
254
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUBOXW5WOCjs4\",\"_reactnativereanimated\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"interpolateColor\",\"call\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UBOXW5WO.cjs\"],\"mappings\":\"AAyJ6E,SAAAA,iBAAMA,CAAA,QAAAC,sBAAA,CAAAC,QAAA,CAAAC,MAAA,OAAAC,SAAA,CAE/E,MAAO,CACLC,eAAe,CAAEJ,sBAAsB,CAACK,gBAAgB,CAACC,IAAI,CAAC,IAAK,EAAC,CAClEL,QAAQ,CAACM,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACL,MAAM,CAACM,GAAG,CAAEN,MAAM,CAACO,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
|
|
255
255
|
};
|
|
256
256
|
var CrossfadingTrack = _react.forwardRef.call(void 0, function CrossfadingTrack2({
|
|
257
257
|
style,
|
|
@@ -260,58 +260,58 @@ var CrossfadingTrack = _react.forwardRef.call(void 0, function CrossfadingTrack2
|
|
|
260
260
|
children,
|
|
261
261
|
...rest
|
|
262
262
|
}, ref) {
|
|
263
|
-
const progress = _reactnativereanimated.useDerivedValue.call(void 0, function
|
|
264
|
-
|
|
263
|
+
const progress = _reactnativereanimated.useDerivedValue.call(void 0, function chunkUBOXW5WOCjs3Factory({
|
|
264
|
+
_worklet_8071130190100_init_data,
|
|
265
265
|
_reactnativereanimated,
|
|
266
266
|
isSelected,
|
|
267
267
|
SWITCH_DURATION
|
|
268
268
|
}) {
|
|
269
269
|
const _e = [new global.Error(), -4, -27];
|
|
270
|
-
const
|
|
270
|
+
const chunkUBOXW5WOCjs3 = function () {
|
|
271
271
|
return _reactnativereanimated.withTiming.call(void 0, isSelected ? 1 : 0, {
|
|
272
272
|
duration: SWITCH_DURATION
|
|
273
273
|
});
|
|
274
274
|
};
|
|
275
|
-
|
|
275
|
+
chunkUBOXW5WOCjs3.__closure = {
|
|
276
276
|
_reactnativereanimated,
|
|
277
277
|
isSelected,
|
|
278
278
|
SWITCH_DURATION
|
|
279
279
|
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
return
|
|
280
|
+
chunkUBOXW5WOCjs3.__workletHash = 8071130190100;
|
|
281
|
+
chunkUBOXW5WOCjs3.__pluginVersion = "0.7.4";
|
|
282
|
+
chunkUBOXW5WOCjs3.__initData = _worklet_8071130190100_init_data;
|
|
283
|
+
chunkUBOXW5WOCjs3.__stackDetails = _e;
|
|
284
|
+
return chunkUBOXW5WOCjs3;
|
|
285
285
|
}({
|
|
286
|
-
|
|
286
|
+
_worklet_8071130190100_init_data,
|
|
287
287
|
_reactnativereanimated,
|
|
288
288
|
isSelected,
|
|
289
289
|
SWITCH_DURATION
|
|
290
290
|
}), [isSelected]);
|
|
291
|
-
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function
|
|
292
|
-
|
|
291
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkUBOXW5WOCjs4Factory({
|
|
292
|
+
_worklet_1890901985850_init_data,
|
|
293
293
|
_reactnativereanimated,
|
|
294
294
|
progress,
|
|
295
295
|
colors
|
|
296
296
|
}) {
|
|
297
297
|
const _e = [new global.Error(), -4, -27];
|
|
298
|
-
const
|
|
298
|
+
const chunkUBOXW5WOCjs4 = function () {
|
|
299
299
|
return {
|
|
300
300
|
backgroundColor: _reactnativereanimated.interpolateColor.call(void 0, progress.value, [0, 1], [colors.off, colors.on])
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
|
-
|
|
303
|
+
chunkUBOXW5WOCjs4.__closure = {
|
|
304
304
|
_reactnativereanimated,
|
|
305
305
|
progress,
|
|
306
306
|
colors
|
|
307
307
|
};
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
return
|
|
308
|
+
chunkUBOXW5WOCjs4.__workletHash = 1890901985850;
|
|
309
|
+
chunkUBOXW5WOCjs4.__pluginVersion = "0.7.4";
|
|
310
|
+
chunkUBOXW5WOCjs4.__initData = _worklet_1890901985850_init_data;
|
|
311
|
+
chunkUBOXW5WOCjs4.__stackDetails = _e;
|
|
312
|
+
return chunkUBOXW5WOCjs4;
|
|
313
313
|
}({
|
|
314
|
-
|
|
314
|
+
_worklet_1890901985850_init_data,
|
|
315
315
|
_reactnativereanimated,
|
|
316
316
|
progress,
|
|
317
317
|
colors
|
|
@@ -575,7 +575,7 @@ var SwitchRoot = _react.forwardRef.call(void 0, function Switch({
|
|
|
575
575
|
...props
|
|
576
576
|
}, ref) {
|
|
577
577
|
const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0);
|
|
578
|
-
const [styleProps, rest] =
|
|
578
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
579
579
|
const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, {
|
|
580
580
|
onPressIn,
|
|
581
581
|
onPressOut
|
|
@@ -650,7 +650,7 @@ var SwitchRoot = _react.forwardRef.call(void 0, function Switch({
|
|
|
650
650
|
})));
|
|
651
651
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, SwitchProvider, {
|
|
652
652
|
value: context,
|
|
653
|
-
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0,
|
|
653
|
+
children: /* @__PURE__ */_jsxruntime.jsx.call(void 0, _chunkDRMT346Wcjs.PressableFeedback, {
|
|
654
654
|
ref,
|
|
655
655
|
isPressed,
|
|
656
656
|
isDisabled,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Slot, createSlotContext } from "./chunk-YXPYOOHU.js";
|
|
2
|
-
import { useStyleProps } from "./chunk-OSCW7I4H.js";
|
|
3
2
|
import { contrastOn, isHex, useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
3
|
+
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
4
4
|
|
|
5
5
|
// src/system/pressable-feedback/pressable-feedback-context.ts
|
|
6
6
|
import { createContext } from "react";
|
|
@@ -11,13 +11,13 @@ var DisableAllContext = createContext(false);
|
|
|
11
11
|
var PRESS_SCALE = 0.985;
|
|
12
12
|
var PRESS_DURATION = 300;
|
|
13
13
|
var SCALE_REFERENCE_WIDTH = 300;
|
|
14
|
-
const
|
|
15
|
-
code: "function
|
|
16
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
17
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
14
|
+
const _worklet_5135557177946_init_data = {
|
|
15
|
+
code: "function pressScaleFor_chunkUGF35NSEJs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
|
|
16
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
17
|
+
sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkUGF35NSEJs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js\"],\"mappings\":\"AAsBA,SAAAA,8BAA8BA,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\":[]}"
|
|
18
18
|
};
|
|
19
|
-
const pressScaleFor = function
|
|
20
|
-
|
|
19
|
+
const pressScaleFor = function pressScaleFor_chunkUGF35NSEJs1Factory({
|
|
20
|
+
_worklet_5135557177946_init_data,
|
|
21
21
|
SCALE_REFERENCE_WIDTH,
|
|
22
22
|
PRESS_SCALE
|
|
23
23
|
}) {
|
|
@@ -30,13 +30,13 @@ const pressScaleFor = function pressScaleFor_chunkUCW25LL6Js1Factory({
|
|
|
30
30
|
SCALE_REFERENCE_WIDTH,
|
|
31
31
|
PRESS_SCALE
|
|
32
32
|
};
|
|
33
|
-
pressScaleFor.__workletHash =
|
|
33
|
+
pressScaleFor.__workletHash = 5135557177946;
|
|
34
34
|
pressScaleFor.__pluginVersion = "0.7.4";
|
|
35
|
-
pressScaleFor.__initData =
|
|
35
|
+
pressScaleFor.__initData = _worklet_5135557177946_init_data;
|
|
36
36
|
pressScaleFor.__stackDetails = _e;
|
|
37
37
|
return pressScaleFor;
|
|
38
38
|
}({
|
|
39
|
-
|
|
39
|
+
_worklet_5135557177946_init_data,
|
|
40
40
|
SCALE_REFERENCE_WIDTH,
|
|
41
41
|
PRESS_SCALE
|
|
42
42
|
});
|
|
@@ -49,26 +49,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
|
|
|
49
49
|
var RIPPLE_FADE_IN = 75;
|
|
50
50
|
var RIPPLE_FADE_OUT_DELAY = 225;
|
|
51
51
|
var RIPPLE_FADE_OUT = 150;
|
|
52
|
-
const
|
|
53
|
-
code: "function
|
|
54
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
55
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
52
|
+
const _worklet_4090183949025_init_data = {
|
|
53
|
+
code: "function rippleRadiusFor_chunkUGF35NSEJs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
|
|
54
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
55
|
+
sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkUGF35NSEJs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js\"],\"mappings\":\"AAoCA,SAAAA,gCAAwCA,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\":[]}"
|
|
56
56
|
};
|
|
57
|
-
const rippleRadiusFor = function
|
|
58
|
-
|
|
57
|
+
const rippleRadiusFor = function rippleRadiusFor_chunkUGF35NSEJs2Factory({
|
|
58
|
+
_worklet_4090183949025_init_data
|
|
59
59
|
}) {
|
|
60
60
|
const _e = [new global.Error(), 1, -27];
|
|
61
61
|
const rippleRadiusFor = function (width, height) {
|
|
62
62
|
return Math.sqrt(width * width + height * height) / 2 + 5;
|
|
63
63
|
};
|
|
64
64
|
rippleRadiusFor.__closure = {};
|
|
65
|
-
rippleRadiusFor.__workletHash =
|
|
65
|
+
rippleRadiusFor.__workletHash = 4090183949025;
|
|
66
66
|
rippleRadiusFor.__pluginVersion = "0.7.4";
|
|
67
|
-
rippleRadiusFor.__initData =
|
|
67
|
+
rippleRadiusFor.__initData = _worklet_4090183949025_init_data;
|
|
68
68
|
rippleRadiusFor.__stackDetails = _e;
|
|
69
69
|
return rippleRadiusFor;
|
|
70
70
|
}({
|
|
71
|
-
|
|
71
|
+
_worklet_4090183949025_init_data
|
|
72
72
|
});
|
|
73
73
|
var ALL_OFF = {
|
|
74
74
|
scale: false,
|
|
@@ -242,15 +242,15 @@ var StaticFeedback = forwardRef(function StaticFeedback2({
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
});
|
|
245
|
-
const
|
|
246
|
-
code: "function
|
|
247
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
248
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
245
|
+
const _worklet_15174532920532_init_data = {
|
|
246
|
+
code: "function chunkUGF35NSEJs3(){const{pressScaleFor,size}=this.__closure;return pressScaleFor(size.value.width);}",
|
|
247
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
248
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUGF35NSEJs3\",\"pressScaleFor\",\"size\",\"__closure\",\"value\",\"width\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js\"],\"mappings\":\"AAkNuC,SAAAA,iBAAA,QAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,OAAM,CAAAF,aAAc,CAAAC,IAAK,CAAAE,KAAM,CAAAC,KAAK\",\"ignoreList\":[]}"
|
|
249
249
|
};
|
|
250
|
-
const
|
|
251
|
-
code: "function
|
|
252
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
253
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
250
|
+
const _worklet_11256254319236_init_data = {
|
|
251
|
+
code: "function chunkUGF35NSEJs4(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
|
|
252
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
253
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUGF35NSEJs4\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js\"],\"mappings\":\"AAmNyC,SAAAA,gBAAMA,CAAA,QAAAC,SAAA,CAAAC,YAAA,CAAAC,QAAA,OAAAC,SAAA,CAE3C,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\":[]}"
|
|
254
254
|
};
|
|
255
255
|
var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
256
256
|
isPressed = false,
|
|
@@ -278,35 +278,35 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
278
278
|
easing: Easing.out(Easing.ease)
|
|
279
279
|
});
|
|
280
280
|
}, [isPressed, progress]);
|
|
281
|
-
const pressedScale = useDerivedValue(function
|
|
282
|
-
|
|
281
|
+
const pressedScale = useDerivedValue(function chunkUGF35NSEJs3Factory({
|
|
282
|
+
_worklet_15174532920532_init_data,
|
|
283
283
|
pressScaleFor,
|
|
284
284
|
size
|
|
285
285
|
}) {
|
|
286
286
|
const _e = [new global.Error(), -3, -27];
|
|
287
|
-
const
|
|
288
|
-
|
|
287
|
+
const chunkUGF35NSEJs3 = () => pressScaleFor(size.value.width);
|
|
288
|
+
chunkUGF35NSEJs3.__closure = {
|
|
289
289
|
pressScaleFor,
|
|
290
290
|
size
|
|
291
291
|
};
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
return
|
|
292
|
+
chunkUGF35NSEJs3.__workletHash = 15174532920532;
|
|
293
|
+
chunkUGF35NSEJs3.__pluginVersion = "0.7.4";
|
|
294
|
+
chunkUGF35NSEJs3.__initData = _worklet_15174532920532_init_data;
|
|
295
|
+
chunkUGF35NSEJs3.__stackDetails = _e;
|
|
296
|
+
return chunkUGF35NSEJs3;
|
|
297
297
|
}({
|
|
298
|
-
|
|
298
|
+
_worklet_15174532920532_init_data,
|
|
299
299
|
pressScaleFor,
|
|
300
300
|
size
|
|
301
301
|
}));
|
|
302
|
-
const animatedStyle = useAnimatedStyle(function
|
|
303
|
-
|
|
302
|
+
const animatedStyle = useAnimatedStyle(function chunkUGF35NSEJs4Factory({
|
|
303
|
+
_worklet_11256254319236_init_data,
|
|
304
304
|
animation,
|
|
305
305
|
pressedScale,
|
|
306
306
|
progress
|
|
307
307
|
}) {
|
|
308
308
|
const _e = [new global.Error(), -4, -27];
|
|
309
|
-
const
|
|
309
|
+
const chunkUGF35NSEJs4 = function () {
|
|
310
310
|
if (!animation.scale) return {};
|
|
311
311
|
return {
|
|
312
312
|
transform: [{
|
|
@@ -314,18 +314,18 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
|
|
|
314
314
|
}]
|
|
315
315
|
};
|
|
316
316
|
};
|
|
317
|
-
|
|
317
|
+
chunkUGF35NSEJs4.__closure = {
|
|
318
318
|
animation,
|
|
319
319
|
pressedScale,
|
|
320
320
|
progress
|
|
321
321
|
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
return
|
|
322
|
+
chunkUGF35NSEJs4.__workletHash = 11256254319236;
|
|
323
|
+
chunkUGF35NSEJs4.__pluginVersion = "0.7.4";
|
|
324
|
+
chunkUGF35NSEJs4.__initData = _worklet_11256254319236_init_data;
|
|
325
|
+
chunkUGF35NSEJs4.__stackDetails = _e;
|
|
326
|
+
return chunkUGF35NSEJs4;
|
|
327
327
|
}({
|
|
328
|
-
|
|
328
|
+
_worklet_11256254319236_init_data,
|
|
329
329
|
animation,
|
|
330
330
|
pressedScale,
|
|
331
331
|
progress
|
|
@@ -470,10 +470,10 @@ function PressableFeedbackHighlight({
|
|
|
470
470
|
}
|
|
471
471
|
PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
|
|
472
472
|
markOverlay(PressableFeedbackHighlight);
|
|
473
|
-
const
|
|
474
|
-
code: "function
|
|
475
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
476
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
473
|
+
const _worklet_8423429846196_init_data = {
|
|
474
|
+
code: "function chunkUGF35NSEJs5(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
|
|
475
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
476
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUGF35NSEJs5\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js\"],\"mappings\":\"AAiW0C,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE5C,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
|
|
477
477
|
};
|
|
478
478
|
function AnimatedHighlight({
|
|
479
479
|
base,
|
|
@@ -489,28 +489,28 @@ function AnimatedHighlight({
|
|
|
489
489
|
duration
|
|
490
490
|
});
|
|
491
491
|
}, [isPressed, shown, duration]);
|
|
492
|
-
const animatedStyle = useAnimatedStyle2(function
|
|
493
|
-
|
|
492
|
+
const animatedStyle = useAnimatedStyle2(function chunkUGF35NSEJs5Factory({
|
|
493
|
+
_worklet_8423429846196_init_data,
|
|
494
494
|
shown,
|
|
495
495
|
opacity
|
|
496
496
|
}) {
|
|
497
497
|
const _e = [new global.Error(), -3, -27];
|
|
498
|
-
const
|
|
498
|
+
const chunkUGF35NSEJs5 = function () {
|
|
499
499
|
return {
|
|
500
500
|
opacity: shown.value * opacity
|
|
501
501
|
};
|
|
502
502
|
};
|
|
503
|
-
|
|
503
|
+
chunkUGF35NSEJs5.__closure = {
|
|
504
504
|
shown,
|
|
505
505
|
opacity
|
|
506
506
|
};
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
return
|
|
507
|
+
chunkUGF35NSEJs5.__workletHash = 8423429846196;
|
|
508
|
+
chunkUGF35NSEJs5.__pluginVersion = "0.7.4";
|
|
509
|
+
chunkUGF35NSEJs5.__initData = _worklet_8423429846196_init_data;
|
|
510
|
+
chunkUGF35NSEJs5.__stackDetails = _e;
|
|
511
|
+
return chunkUGF35NSEJs5;
|
|
512
512
|
}({
|
|
513
|
-
|
|
513
|
+
_worklet_8423429846196_init_data,
|
|
514
514
|
shown,
|
|
515
515
|
opacity
|
|
516
516
|
}), [shown, opacity]);
|
|
@@ -577,10 +577,10 @@ function PressableFeedbackRipple({
|
|
|
577
577
|
}
|
|
578
578
|
PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
|
|
579
579
|
markOverlay(PressableFeedbackRipple);
|
|
580
|
-
const
|
|
581
|
-
code: "function
|
|
582
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
583
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
580
|
+
const _worklet_11317917473275_init_data = {
|
|
581
|
+
code: "function chunkUGF35NSEJs6(){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}]};}",
|
|
582
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-UGF35NSE.js",
|
|
583
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkUGF35NSEJs6\",\"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-UGF35NSE.js\"],\"mappings\":\"AAia0C,SAAAA,gBAAMA,CAAA,QAAAC,IAAA,CAAAC,kBAAA,CAAAC,MAAA,CAAAC,OAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,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\":[]}"
|
|
584
584
|
};
|
|
585
585
|
function RippleWave({
|
|
586
586
|
wave,
|
|
@@ -590,8 +590,8 @@ function RippleWave({
|
|
|
590
590
|
opacity,
|
|
591
591
|
style
|
|
592
592
|
}) {
|
|
593
|
-
const animatedStyle = useAnimatedStyle3(function
|
|
594
|
-
|
|
593
|
+
const animatedStyle = useAnimatedStyle3(function chunkUGF35NSEJs6Factory({
|
|
594
|
+
_worklet_11317917473275_init_data,
|
|
595
595
|
wave,
|
|
596
596
|
RIPPLE_START_SCALE,
|
|
597
597
|
center,
|
|
@@ -599,7 +599,7 @@ function RippleWave({
|
|
|
599
599
|
radius
|
|
600
600
|
}) {
|
|
601
601
|
const _e = [new global.Error(), -6, -27];
|
|
602
|
-
const
|
|
602
|
+
const chunkUGF35NSEJs6 = function () {
|
|
603
603
|
const t = wave.expand.value;
|
|
604
604
|
const from = wave.origin.value;
|
|
605
605
|
const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
|
|
@@ -617,20 +617,20 @@ function RippleWave({
|
|
|
617
617
|
}]
|
|
618
618
|
};
|
|
619
619
|
};
|
|
620
|
-
|
|
620
|
+
chunkUGF35NSEJs6.__closure = {
|
|
621
621
|
wave,
|
|
622
622
|
RIPPLE_START_SCALE,
|
|
623
623
|
center,
|
|
624
624
|
opacity,
|
|
625
625
|
radius
|
|
626
626
|
};
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
return
|
|
627
|
+
chunkUGF35NSEJs6.__workletHash = 11317917473275;
|
|
628
|
+
chunkUGF35NSEJs6.__pluginVersion = "0.7.4";
|
|
629
|
+
chunkUGF35NSEJs6.__initData = _worklet_11317917473275_init_data;
|
|
630
|
+
chunkUGF35NSEJs6.__stackDetails = _e;
|
|
631
|
+
return chunkUGF35NSEJs6;
|
|
632
632
|
}({
|
|
633
|
-
|
|
633
|
+
_worklet_11317917473275_init_data,
|
|
634
634
|
wave,
|
|
635
635
|
RIPPLE_START_SCALE,
|
|
636
636
|
center,
|
|
@@ -6,10 +6,10 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
|
|
|
6
6
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
13
13
|
|
|
14
14
|
// src/components/typography/typography.tsx
|
|
15
15
|
var _react = require('react');
|
|
@@ -76,7 +76,7 @@ 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] =
|
|
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;
|
|
@@ -91,7 +91,7 @@ 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] =
|
|
94
|
+
const [styleProps, rest] = _chunkTK44VBIEcjs.useStyleProps.call(void 0, props);
|
|
95
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
|
});
|