@xaui/native 0.9.1-alpha.39 → 0.9.1-alpha.40
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-GJSFKH4L.js → chunk-2XPG2243.js} +16 -16
- package/dist/{chunk-TGMVEHV7.cjs → chunk-3E7CDKFO.cjs} +61 -61
- package/dist/{chunk-37L7YGZV.cjs → chunk-5R26NM4M.cjs} +11 -34
- package/dist/chunk-5VKYNBNA.js +607 -0
- package/dist/{chunk-S4QUM4EE.cjs → chunk-6DOLGZVV.cjs} +4 -4
- package/dist/{chunk-LIUO6D3D.js → chunk-6UEZJRVI.js} +75 -75
- package/dist/chunk-734MFAX4.js +27 -0
- package/dist/{chunk-VZK3NLBH.cjs → chunk-7YF5NAHQ.cjs} +7 -7
- package/dist/{chunk-SIP5J7HU.cjs → chunk-ABAGZTXZ.cjs} +15 -15
- package/dist/{chunk-USF6EWYR.js → chunk-BRRXFOBY.js} +7 -7
- package/dist/{chunk-4KSKQD37.cjs → chunk-C5YLPCFC.cjs} +5 -5
- package/dist/{chunk-54CWXA34.cjs → chunk-DA3OKXHV.cjs} +59 -59
- package/dist/{chunk-HA6BFY3A.js → chunk-DD4276RF.js} +6 -6
- package/dist/{chunk-SACDOFGF.js → chunk-DG2I4PJG.js} +15 -15
- package/dist/{chunk-FBCWNXZC.js → chunk-DHGLGSH6.js} +58 -58
- package/dist/{chunk-MXGER5PI.js → chunk-DIBUQ46Y.js} +5 -5
- package/dist/{chunk-XAFP5JLK.js → chunk-EZEYMLO3.js} +13 -36
- package/dist/{chunk-7KLBTMXV.cjs → chunk-G7P3ERYF.cjs} +5 -5
- package/dist/{chunk-QZ24MZRX.js → chunk-GA6PBWNT.js} +1 -1
- package/dist/{chunk-HOI5425P.cjs → chunk-GFUZ3MUT.cjs} +6 -6
- package/dist/chunk-GTR5X65M.cjs +27 -0
- package/dist/{chunk-EYD4H4X6.js → chunk-KCMYU7WF.js} +1 -1
- package/dist/{chunk-JKP4TPIL.js → chunk-LRN3RNDO.js} +16 -16
- package/dist/{chunk-XNMZQSY5.js → chunk-N3KTZMPG.js} +5 -5
- package/dist/{chunk-7TOG4TVU.cjs → chunk-NWGLP6JX.cjs} +15 -15
- package/dist/{chunk-NCCRQK3P.cjs → chunk-R73XQK7X.cjs} +5 -5
- package/dist/{chunk-76XDVA24.cjs → chunk-RU7JCMWC.cjs} +6 -6
- package/dist/chunk-T5FV5F7A.cjs +607 -0
- package/dist/{chunk-3JXI2IHV.cjs → chunk-TJ74XVZN.cjs} +8 -8
- package/dist/{chunk-URA25DU4.cjs → chunk-UAWBAD4E.cjs} +5 -5
- package/dist/{chunk-6CO6FM67.js → chunk-UFTCTTKK.js} +15 -15
- package/dist/{chunk-DY3SUG5P.js → chunk-XFPQFCEK.js} +6 -6
- package/dist/{chunk-66FOASTP.cjs → chunk-XV735BSA.cjs} +6 -6
- package/dist/{chunk-TRETQZEW.js → chunk-YGYYJ3LQ.js} +5 -5
- package/dist/{chunk-R7BU4CPS.js → chunk-YVHT2UVW.js} +1 -1
- package/dist/{chunk-AAVCMCJ3.cjs → chunk-ZFOOJK37.cjs} +2 -2
- package/dist/components/accordion/index.cjs +5 -5
- package/dist/components/accordion/index.js +4 -4
- package/dist/components/alert/index.cjs +6 -6
- package/dist/components/alert/index.js +5 -5
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/badge/index.cjs +4 -4
- package/dist/components/badge/index.js +3 -3
- package/dist/components/button/index.cjs +5 -5
- package/dist/components/button/index.js +4 -4
- package/dist/components/card/index.cjs +5 -5
- package/dist/components/card/index.js +4 -4
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/chip/index.cjs +6 -6
- package/dist/components/chip/index.js +5 -5
- package/dist/components/divider/index.cjs +4 -4
- package/dist/components/divider/index.js +3 -3
- package/dist/components/field-group/index.cjs +5 -5
- package/dist/components/field-group/index.js +4 -4
- package/dist/components/input-otp/index.cjs +4 -4
- package/dist/components/input-otp/index.js +3 -3
- package/dist/components/menu/index.cjs +49 -0
- package/dist/components/menu/index.d.cts +351 -0
- package/dist/components/menu/index.d.ts +351 -0
- package/dist/components/menu/index.js +49 -0
- package/dist/components/popover/index.cjs +6 -5
- package/dist/components/popover/index.js +5 -4
- package/dist/components/radio/index.cjs +5 -5
- package/dist/components/radio/index.js +4 -4
- package/dist/components/select/index.cjs +5 -5
- package/dist/components/select/index.d.cts +1 -1
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/index.js +4 -4
- package/dist/components/spinner/index.cjs +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/switch/index.cjs +5 -5
- package/dist/components/switch/index.js +4 -4
- package/dist/components/text-area/index.cjs +5 -5
- package/dist/components/text-area/index.js +4 -4
- package/dist/components/text-field/index.cjs +4 -4
- package/dist/components/text-field/index.js +3 -3
- package/dist/components/typography/index.cjs +4 -4
- package/dist/components/typography/index.js +3 -3
- package/dist/index.cjs +61 -28
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +78 -45
- package/dist/system/index.cjs +7 -7
- package/dist/system/index.js +7 -7
- package/package.json +11 -1
- package/dist/{chunk-S2WNWMNT.js → chunk-2NRZKJG7.js} +4 -4
- package/dist/{chunk-26OGEFQI.js → chunk-4CUZZWFW.js} +3 -3
- package/dist/{chunk-KSUV74BE.cjs → chunk-6L2TS2R3.cjs} +3 -3
- package/dist/{chunk-SZLXPF3G.js → chunk-73RKQC5X.js} +3 -3
- package/dist/{chunk-BNFIFRQA.cjs → chunk-AMCSSOJT.cjs} +3 -3
- package/dist/{chunk-346QBNUD.js → chunk-H7DS4IO7.js} +4 -4
- package/dist/{chunk-RKCWYUGA.cjs → chunk-HDVVZG4S.cjs} +3 -3
- package/dist/{chunk-A7YB7YWX.cjs → chunk-J3MB4PI5.cjs} +3 -3
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useAnchorRef
|
|
3
|
+
} from "./chunk-734MFAX4.js";
|
|
1
4
|
import {
|
|
2
5
|
useAnchoredPosition
|
|
3
6
|
} from "./chunk-2EGR4LWD.js";
|
|
@@ -18,13 +21,10 @@ import {
|
|
|
18
21
|
} from "./chunk-F6W3JQ7K.js";
|
|
19
22
|
import {
|
|
20
23
|
PressableFeedback
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6UEZJRVI.js";
|
|
22
25
|
import {
|
|
23
26
|
usePressState
|
|
24
27
|
} from "./chunk-423RQBOX.js";
|
|
25
|
-
import {
|
|
26
|
-
createSlotContext
|
|
27
|
-
} from "./chunk-K72UDPVN.js";
|
|
28
28
|
import {
|
|
29
29
|
createRecipe,
|
|
30
30
|
radiusAxis
|
|
@@ -32,6 +32,9 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
useXAUITheme
|
|
34
34
|
} from "./chunk-A3EGFI6T.js";
|
|
35
|
+
import {
|
|
36
|
+
createSlotContext
|
|
37
|
+
} from "./chunk-K72UDPVN.js";
|
|
35
38
|
import {
|
|
36
39
|
useStyleProps
|
|
37
40
|
} from "./chunk-M63GFNKV.js";
|
|
@@ -270,33 +273,7 @@ var PopoverTitle = forwardRef5(
|
|
|
270
273
|
PopoverTitle.displayName = "XAUI.Popover.Title";
|
|
271
274
|
|
|
272
275
|
// src/components/popover/popover-trigger.tsx
|
|
273
|
-
import { forwardRef as forwardRef6, useCallback as
|
|
274
|
-
|
|
275
|
-
// src/hooks/use-anchor-ref.ts
|
|
276
|
-
import { useCallback as useCallback2, useEffect, useRef } from "react";
|
|
277
|
-
function useAnchorRef({ isOpen, onAnchor, onLayout }) {
|
|
278
|
-
const node = useRef(null);
|
|
279
|
-
const latest = useRef(onAnchor);
|
|
280
|
-
latest.current = onAnchor;
|
|
281
|
-
const measure = useCallback2(() => {
|
|
282
|
-
node.current?.measureInWindow((x, y, width, height) => {
|
|
283
|
-
latest.current({ x, y, width, height });
|
|
284
|
-
});
|
|
285
|
-
}, []);
|
|
286
|
-
const handleLayout = useCallback2(
|
|
287
|
-
(event) => {
|
|
288
|
-
onLayout?.(event);
|
|
289
|
-
measure();
|
|
290
|
-
},
|
|
291
|
-
[measure, onLayout]
|
|
292
|
-
);
|
|
293
|
-
useEffect(() => {
|
|
294
|
-
if (isOpen) measure();
|
|
295
|
-
}, [isOpen, measure]);
|
|
296
|
-
return { node, measure, onLayout: handleLayout };
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// src/components/popover/popover-trigger.tsx
|
|
276
|
+
import { forwardRef as forwardRef6, useCallback as useCallback2 } from "react";
|
|
300
277
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
301
278
|
var PopoverTrigger = forwardRef6(
|
|
302
279
|
function PopoverTrigger2({
|
|
@@ -316,7 +293,7 @@ var PopoverTrigger = forwardRef6(
|
|
|
316
293
|
const [isPressed, press] = usePressState({ onPressIn, onPressOut });
|
|
317
294
|
const anchor = useAnchorRef({ isOpen, onAnchor: setAnchor, onLayout });
|
|
318
295
|
const refs = useMergedRef(anchor.node, ref);
|
|
319
|
-
const handlePress =
|
|
296
|
+
const handlePress = useCallback2(
|
|
320
297
|
(event) => {
|
|
321
298
|
onPress?.(event);
|
|
322
299
|
anchor.measure();
|
|
@@ -355,7 +332,7 @@ var PopoverTrigger = forwardRef6(
|
|
|
355
332
|
PopoverTrigger.displayName = "XAUI.Popover.Trigger";
|
|
356
333
|
|
|
357
334
|
// src/components/popover/popover.tsx
|
|
358
|
-
import { useCallback as
|
|
335
|
+
import { useCallback as useCallback3, useMemo, useState } from "react";
|
|
359
336
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
360
337
|
function Popover({
|
|
361
338
|
children,
|
|
@@ -377,9 +354,9 @@ function Popover({
|
|
|
377
354
|
selection: { radius },
|
|
378
355
|
states: { disabled: isDisabled }
|
|
379
356
|
});
|
|
380
|
-
const open =
|
|
381
|
-
const close =
|
|
382
|
-
const toggle =
|
|
357
|
+
const open = useCallback3(() => setOpen(true), [setOpen]);
|
|
358
|
+
const close = useCallback3(() => setOpen(false), [setOpen]);
|
|
359
|
+
const toggle = useCallback3(() => setOpen((current) => !current), [setOpen]);
|
|
383
360
|
const context = useMemo(
|
|
384
361
|
() => ({
|
|
385
362
|
triggerStyle: styles.trigger,
|
|
@@ -12,21 +12,21 @@ var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
|
|
|
12
12
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk3E7CDKFOcjs = require('./chunk-3E7CDKFO.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
25
26
|
|
|
26
|
-
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -159,7 +159,7 @@ var AccordionTrigger = _react.forwardRef.call(void 0,
|
|
|
159
159
|
[onPress, toggle, value]
|
|
160
160
|
);
|
|
161
161
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4KFKWBN5cjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
162
|
-
|
|
162
|
+
_chunk3E7CDKFOcjs.PressableFeedback,
|
|
163
163
|
{
|
|
164
164
|
ref,
|
|
165
165
|
isPressed,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3E7CDKFOcjs = require('./chunk-3E7CDKFO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -9,15 +9,15 @@ var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
|
9
9
|
var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
+
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
var
|
|
15
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -388,7 +388,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
|
|
|
388
388
|
body
|
|
389
389
|
] });
|
|
390
390
|
const surface = isPressable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
|
|
391
|
+
_chunk3E7CDKFOcjs.PressableFeedback,
|
|
392
392
|
{
|
|
393
393
|
ref,
|
|
394
394
|
isPressed,
|
|
@@ -403,7 +403,7 @@ var CardRoot = _react.forwardRef.call(void 0, function Card({
|
|
|
403
403
|
onPressOut: press.onPressOut,
|
|
404
404
|
children: asChild ? children : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
405
405
|
background,
|
|
406
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
406
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3E7CDKFOcjs.PressableFeedback.Highlight, {}),
|
|
407
407
|
body
|
|
408
408
|
] })
|
|
409
409
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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; }// src/hooks/use-anchor-ref.ts
|
|
2
|
+
var _react = require('react');
|
|
3
|
+
function useAnchorRef({ isOpen, onAnchor, onLayout }) {
|
|
4
|
+
const node = _react.useRef.call(void 0, null);
|
|
5
|
+
const latest = _react.useRef.call(void 0, onAnchor);
|
|
6
|
+
latest.current = onAnchor;
|
|
7
|
+
const measure = _react.useCallback.call(void 0, () => {
|
|
8
|
+
_optionalChain([node, 'access', _ => _.current, 'optionalAccess', _2 => _2.measureInWindow, 'call', _3 => _3((x, y, width, height) => {
|
|
9
|
+
latest.current({ x, y, width, height });
|
|
10
|
+
})]);
|
|
11
|
+
}, []);
|
|
12
|
+
const handleLayout = _react.useCallback.call(void 0,
|
|
13
|
+
(event) => {
|
|
14
|
+
_optionalChain([onLayout, 'optionalCall', _4 => _4(event)]);
|
|
15
|
+
measure();
|
|
16
|
+
},
|
|
17
|
+
[measure, onLayout]
|
|
18
|
+
);
|
|
19
|
+
_react.useEffect.call(void 0, () => {
|
|
20
|
+
if (isOpen) measure();
|
|
21
|
+
}, [isOpen, measure]);
|
|
22
|
+
return { node, measure, onLayout: handleLayout };
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.useAnchorRef = useAnchorRef;
|
|
@@ -4,11 +4,11 @@ import { INDICATOR_ROTATION, INDICATOR_SPRING, anchoredEntering, anchoredExiting
|
|
|
4
4
|
import { useMergedRef } from "./chunk-NCTOTTVW.js";
|
|
5
5
|
import { ChevronDownIcon, Icon, IconContext } from "./chunk-FHUYHV6J.js";
|
|
6
6
|
import { useControllableState } from "./chunk-F6W3JQ7K.js";
|
|
7
|
-
import { PressableFeedback } from "./chunk-
|
|
7
|
+
import { PressableFeedback } from "./chunk-6UEZJRVI.js";
|
|
8
8
|
import { usePressState } from "./chunk-423RQBOX.js";
|
|
9
|
-
import { childrenToString, createSlotContext } from "./chunk-K72UDPVN.js";
|
|
10
9
|
import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
|
|
11
10
|
import { useXAUITheme } from "./chunk-A3EGFI6T.js";
|
|
11
|
+
import { childrenToString, createSlotContext } from "./chunk-K72UDPVN.js";
|
|
12
12
|
import { useStyleProps } from "./chunk-M63GFNKV.js";
|
|
13
13
|
|
|
14
14
|
// src/components/select/select-content.tsx
|
|
@@ -230,10 +230,10 @@ SelectContent.displayName = "XAUI.Select.Content";
|
|
|
230
230
|
import { useEffect as useEffect3 } from "react";
|
|
231
231
|
import Animated2, { interpolate, useAnimatedStyle, useSharedValue, withSpring } from "react-native-reanimated";
|
|
232
232
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
233
|
-
const
|
|
234
|
-
code: "function
|
|
235
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
236
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
233
|
+
const _worklet_16740975826468_init_data = {
|
|
234
|
+
code: "function chunkLRN3RNDOJs1(){const{interpolate,progress,INDICATOR_ROTATION}=this.__closure;return{transform:[{rotate:interpolate(progress.get(),[0,1],[INDICATOR_ROTATION[0],INDICATOR_ROTATION[1]])+\"deg\"}]};}",
|
|
235
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-LRN3RNDO.js",
|
|
236
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkLRN3RNDOJs1\",\"interpolate\",\"progress\",\"INDICATOR_ROTATION\",\"__closure\",\"transform\",\"rotate\",\"get\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-LRN3RNDO.js\"],\"mappings\":\"AAgRoC,SAAAA,iBAAA,QAAAC,WAAA,CAAAC,QAAA,CAAAC,kBAAA,OAAAC,SAAA,OAAO,CACvCC,SAAS,CAAE,CACT,CACEC,MAAM,CAAKL,WAAW,CAACC,QAAQ,CAACK,GAAG,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAAC,CAAC,CAAE,CAACJ,kBAAkB,CAAC,CAAC,CAAC,CAAEA,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,MAChG,CAAC,CAEL,CAAC\",\"ignoreList\":[]}"
|
|
237
237
|
};
|
|
238
238
|
function SelectIndicator({
|
|
239
239
|
as = ChevronDownIcon,
|
|
@@ -247,30 +247,30 @@ function SelectIndicator({
|
|
|
247
247
|
useEffect3(() => {
|
|
248
248
|
progress.set(withSpring(isOpen ? 1 : 0, INDICATOR_SPRING));
|
|
249
249
|
}, [isOpen, progress]);
|
|
250
|
-
const rotation = useAnimatedStyle(function
|
|
251
|
-
|
|
250
|
+
const rotation = useAnimatedStyle(function chunkLRN3RNDOJs1Factory({
|
|
251
|
+
_worklet_16740975826468_init_data,
|
|
252
252
|
interpolate,
|
|
253
253
|
progress,
|
|
254
254
|
INDICATOR_ROTATION
|
|
255
255
|
}) {
|
|
256
256
|
const _e = [new global.Error(), -4, -27];
|
|
257
|
-
const
|
|
257
|
+
const chunkLRN3RNDOJs1 = () => ({
|
|
258
258
|
transform: [{
|
|
259
259
|
rotate: `${interpolate(progress.get(), [0, 1], [INDICATOR_ROTATION[0], INDICATOR_ROTATION[1]])}deg`
|
|
260
260
|
}]
|
|
261
261
|
});
|
|
262
|
-
|
|
262
|
+
chunkLRN3RNDOJs1.__closure = {
|
|
263
263
|
interpolate,
|
|
264
264
|
progress,
|
|
265
265
|
INDICATOR_ROTATION
|
|
266
266
|
};
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
return
|
|
267
|
+
chunkLRN3RNDOJs1.__workletHash = 16740975826468;
|
|
268
|
+
chunkLRN3RNDOJs1.__pluginVersion = "0.7.4";
|
|
269
|
+
chunkLRN3RNDOJs1.__initData = _worklet_16740975826468_init_data;
|
|
270
|
+
chunkLRN3RNDOJs1.__stackDetails = _e;
|
|
271
|
+
return chunkLRN3RNDOJs1;
|
|
272
272
|
}({
|
|
273
|
-
|
|
273
|
+
_worklet_16740975826468_init_data,
|
|
274
274
|
interpolate,
|
|
275
275
|
progress,
|
|
276
276
|
INDICATOR_ROTATION
|
|
@@ -6,14 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-F6W3JQ7K.js";
|
|
7
7
|
import {
|
|
8
8
|
PressableFeedback
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6UEZJRVI.js";
|
|
10
10
|
import {
|
|
11
11
|
usePressState
|
|
12
12
|
} from "./chunk-423RQBOX.js";
|
|
13
|
-
import {
|
|
14
|
-
childrenToString,
|
|
15
|
-
createSlotContext
|
|
16
|
-
} from "./chunk-K72UDPVN.js";
|
|
17
13
|
import {
|
|
18
14
|
createRecipe,
|
|
19
15
|
radiusAxis
|
|
@@ -21,6 +17,10 @@ import {
|
|
|
21
17
|
import {
|
|
22
18
|
useXAUITheme
|
|
23
19
|
} from "./chunk-A3EGFI6T.js";
|
|
20
|
+
import {
|
|
21
|
+
childrenToString,
|
|
22
|
+
createSlotContext
|
|
23
|
+
} from "./chunk-K72UDPVN.js";
|
|
24
24
|
import {
|
|
25
25
|
useStyleProps
|
|
26
26
|
} from "./chunk-M63GFNKV.js";
|
|
@@ -30,9 +30,9 @@ function _optionalChain(ops) {
|
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
32
32
|
var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
|
|
33
|
-
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
34
33
|
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
35
34
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
35
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
36
36
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
37
37
|
|
|
38
38
|
// src/components/avatar/avatar-fallback.tsx
|
|
@@ -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
|
|
138
|
-
code: "function
|
|
139
|
-
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-
|
|
140
|
-
sourceMap: "{\"version\":3,\"names\":[\"
|
|
137
|
+
const _worklet_17449085045817_init_data = {
|
|
138
|
+
code: "function chunkNWGLP6JXCjs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
|
|
139
|
+
location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-NWGLP6JX.cjs",
|
|
140
|
+
sourceMap: "{\"version\":3,\"names\":[\"chunkNWGLP6JXCjs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-NWGLP6JX.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
|
|
155
|
-
|
|
154
|
+
const animatedStyle = _reactnativereanimated.useAnimatedStyle.call(void 0, function chunkNWGLP6JXCjs1Factory({
|
|
155
|
+
_worklet_17449085045817_init_data,
|
|
156
156
|
opacity
|
|
157
157
|
}) {
|
|
158
158
|
const _e = [new global.Error(), -2, -27];
|
|
159
|
-
const
|
|
159
|
+
const chunkNWGLP6JXCjs1 = function () {
|
|
160
160
|
return {
|
|
161
161
|
opacity: opacity.value
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
|
-
|
|
164
|
+
chunkNWGLP6JXCjs1.__closure = {
|
|
165
165
|
opacity
|
|
166
166
|
};
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
return
|
|
167
|
+
chunkNWGLP6JXCjs1.__workletHash = 17449085045817;
|
|
168
|
+
chunkNWGLP6JXCjs1.__pluginVersion = "0.7.4";
|
|
169
|
+
chunkNWGLP6JXCjs1.__initData = _worklet_17449085045817_init_data;
|
|
170
|
+
chunkNWGLP6JXCjs1.__stackDetails = _e;
|
|
171
|
+
return chunkNWGLP6JXCjs1;
|
|
172
172
|
}({
|
|
173
|
-
|
|
173
|
+
_worklet_17449085045817_init_data,
|
|
174
174
|
opacity
|
|
175
175
|
}), [opacity]);
|
|
176
176
|
return /* @__PURE__ */_jsxruntime.jsx.call(void 0, _reactnativereanimated2.default.Image, {
|
|
@@ -6,7 +6,7 @@ var _chunkXSQPVDFHcjs = require('./chunk-XSQPVDFH.cjs');
|
|
|
6
6
|
var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk3E7CDKFOcjs = require('./chunk-3E7CDKFO.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
@@ -16,14 +16,14 @@ var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
22
23
|
|
|
23
|
-
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -275,7 +275,7 @@ var ButtonRoot = _react.forwardRef.call(void 0, function Button({
|
|
|
275
275
|
);
|
|
276
276
|
}
|
|
277
277
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ButtonProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
278
|
-
|
|
278
|
+
_chunk3E7CDKFOcjs.PressableFeedback,
|
|
279
279
|
{
|
|
280
280
|
ref,
|
|
281
281
|
isPressed,
|
|
@@ -25,21 +25,21 @@ var _chunk4KFKWBN5cjs = require('./chunk-4KFKWBN5.cjs');
|
|
|
25
25
|
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk3E7CDKFOcjs = require('./chunk-3E7CDKFO.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
38
39
|
|
|
39
|
-
var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunk7GHM4GKLcjs = require('./chunk-7GHM4GKL.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkTK44VBIEcjs = require('./chunk-TK44VBIE.cjs');
|
|
@@ -123,7 +123,7 @@ var SelectItem = _react.forwardRef.call(void 0, function SelectItem2({
|
|
|
123
123
|
[isSelected, isPressed, isDisabled]
|
|
124
124
|
);
|
|
125
125
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItemProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
126
|
-
|
|
126
|
+
_chunk3E7CDKFOcjs.PressableFeedback,
|
|
127
127
|
{
|
|
128
128
|
ref,
|
|
129
129
|
isPressed,
|
|
@@ -434,7 +434,7 @@ var SelectTrigger = _react.forwardRef.call(void 0,
|
|
|
434
434
|
[measure, onPress, toggle]
|
|
435
435
|
);
|
|
436
436
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4KFKWBN5cjs.IconContext.Provider, { value: glyph, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
437
|
-
|
|
437
|
+
_chunk3E7CDKFOcjs.PressableFeedback,
|
|
438
438
|
{
|
|
439
439
|
ref: refs,
|
|
440
440
|
isPressed,
|