@xaui/native 0.9.1-alpha.2 → 0.9.1-alpha.3

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.
@@ -0,0 +1,637 @@
1
+ import {
2
+ deriveTint,
3
+ useXAUITheme
4
+ } from "./chunk-X2K2FX3W.js";
5
+
6
+ // src/system/pressable-feedback/pressable-feedback.tsx
7
+ import { forwardRef as forwardRef2, useContext as useContext2, useEffect as useEffect2, useMemo } from "react";
8
+ import { Pressable } from "react-native";
9
+ import Animated3, {
10
+ useAnimatedStyle as useAnimatedStyle3,
11
+ useSharedValue as useSharedValue3,
12
+ withTiming as withTiming3
13
+ } from "react-native-reanimated";
14
+
15
+ // src/system/pressable-feedback/pressable-feedback-context.ts
16
+ import { createContext as createContext2 } from "react";
17
+
18
+ // src/system/slot/create-slot-context.ts
19
+ import { createContext, useContext } from "react";
20
+ function createSlotContext(name) {
21
+ const Context = createContext(null);
22
+ Context.displayName = `XAUI.${name}.Context`;
23
+ function useSlotContext() {
24
+ const value = useContext(Context);
25
+ if (value === null) {
26
+ const error = new Error(
27
+ `XAUI: use${name} must be called inside <${name}>. A slot reads the values its root resolved, so it can only be rendered as a child of one.`
28
+ );
29
+ Error.captureStackTrace?.(
30
+ error,
31
+ useSlotContext
32
+ );
33
+ throw error;
34
+ }
35
+ return value;
36
+ }
37
+ return [Context.Provider, useSlotContext];
38
+ }
39
+
40
+ // src/system/pressable-feedback/pressable-feedback-context.ts
41
+ var [FeedbackProvider, useFeedback] = createSlotContext("PressableFeedback");
42
+ var DisableAllContext = createContext2(false);
43
+
44
+ // src/system/pressable-feedback/pressable-feedback-highlight.tsx
45
+ import { useEffect } from "react";
46
+ import { StyleSheet, View } from "react-native";
47
+ import Animated, {
48
+ useAnimatedStyle,
49
+ useSharedValue,
50
+ withTiming
51
+ } from "react-native-reanimated";
52
+
53
+ // src/system/pressable-feedback/pressable-feedback.animation.ts
54
+ var PRESS_SCALE = 0.975;
55
+ var PRESS_DURATION = 100;
56
+ var RELEASE_DURATION = 150;
57
+ var HIGHLIGHT_OPACITY = 0.08;
58
+ var RIPPLE_OPACITY = 0.12;
59
+ var RIPPLE_DURATION = 350;
60
+ var RIPPLE_COVERAGE = 1.25;
61
+ var ALL_OFF = {
62
+ scale: false,
63
+ highlight: false,
64
+ ripple: false,
65
+ none: true
66
+ };
67
+ var ALL_ON = {
68
+ scale: true,
69
+ highlight: true,
70
+ ripple: true,
71
+ none: false
72
+ };
73
+ function resolveAnimation(animation, inheritedDisableAll = false) {
74
+ if (inheritedDisableAll) return { ...ALL_OFF, disableAll: true };
75
+ if (animation === false || animation === "disabled") {
76
+ return { ...ALL_OFF, disableAll: false };
77
+ }
78
+ if (animation === "disable-all") return { ...ALL_OFF, disableAll: true };
79
+ if (animation === void 0 || animation === true) {
80
+ return { ...ALL_ON, disableAll: false };
81
+ }
82
+ const scale = animation.scale ?? true;
83
+ const highlight = animation.highlight ?? true;
84
+ const ripple = animation.ripple ?? true;
85
+ return {
86
+ scale,
87
+ highlight,
88
+ ripple,
89
+ none: !scale && !highlight && !ripple,
90
+ disableAll: false
91
+ };
92
+ }
93
+ function resolveSlotAnimation(override, enabledByRoot, defaultOpacity, defaultDuration = PRESS_DURATION) {
94
+ const fallback = {
95
+ enabled: enabledByRoot,
96
+ duration: defaultDuration,
97
+ opacity: defaultOpacity
98
+ };
99
+ if (override === void 0 || override === true) return fallback;
100
+ if (override === false) return { ...fallback, enabled: false };
101
+ return {
102
+ enabled: enabledByRoot,
103
+ duration: override.duration ?? defaultDuration,
104
+ opacity: override.opacity ?? defaultOpacity
105
+ };
106
+ }
107
+
108
+ // src/system/pressable-feedback/pressable-feedback-highlight.tsx
109
+ function PressableFeedbackHighlight({
110
+ style,
111
+ animation: override
112
+ }) {
113
+ const { isPressed, animation, progress } = useFeedback();
114
+ const theme = useXAUITheme();
115
+ const settings = resolveSlotAnimation(
116
+ override,
117
+ animation.highlight,
118
+ HIGHLIGHT_OPACITY
119
+ );
120
+ const base = [
121
+ StyleSheet.absoluteFillObject,
122
+ { backgroundColor: theme.colors.foreground },
123
+ style
124
+ ];
125
+ if (!progress || !settings.enabled) {
126
+ return /* @__PURE__ */ React.createElement(
127
+ View,
128
+ {
129
+ pointerEvents: "none",
130
+ style: [base, { opacity: isPressed ? settings.opacity : 0 }]
131
+ }
132
+ );
133
+ }
134
+ return /* @__PURE__ */ React.createElement(
135
+ AnimatedHighlight,
136
+ {
137
+ base,
138
+ duration: settings.duration,
139
+ opacity: settings.opacity
140
+ }
141
+ );
142
+ }
143
+ PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
144
+ function AnimatedHighlight({
145
+ base,
146
+ duration,
147
+ opacity
148
+ }) {
149
+ const { isPressed } = useFeedback();
150
+ const shown = useSharedValue(0);
151
+ useEffect(() => {
152
+ shown.value = withTiming(isPressed ? 1 : 0, { duration });
153
+ }, [isPressed, shown, duration]);
154
+ const animatedStyle = useAnimatedStyle(() => ({
155
+ opacity: shown.value * opacity
156
+ }));
157
+ return /* @__PURE__ */ React.createElement(Animated.View, { pointerEvents: "none", style: [base, animatedStyle] });
158
+ }
159
+
160
+ // src/system/pressable-feedback/pressable-feedback-ripple.tsx
161
+ import Animated2, {
162
+ interpolate,
163
+ useAnimatedReaction,
164
+ useAnimatedStyle as useAnimatedStyle2,
165
+ useSharedValue as useSharedValue2,
166
+ withTiming as withTiming2
167
+ } from "react-native-reanimated";
168
+ function PressableFeedbackRipple({
169
+ style,
170
+ animation: override
171
+ }) {
172
+ const { animation, progress, pressCount, origin, size } = useFeedback();
173
+ const theme = useXAUITheme();
174
+ const settings = resolveSlotAnimation(
175
+ override,
176
+ animation.ripple,
177
+ RIPPLE_OPACITY,
178
+ RIPPLE_DURATION
179
+ );
180
+ if (!progress || !pressCount || !origin || !size || !settings.enabled) return null;
181
+ return /* @__PURE__ */ React.createElement(
182
+ AnimatedRipple,
183
+ {
184
+ color: theme.colors.foreground,
185
+ duration: settings.duration,
186
+ opacity: settings.opacity,
187
+ style
188
+ }
189
+ );
190
+ }
191
+ PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
192
+ function AnimatedRipple({
193
+ color,
194
+ duration,
195
+ opacity,
196
+ style
197
+ }) {
198
+ const { pressCount, origin, size } = useFeedback();
199
+ const waveA = useSharedValue2(0);
200
+ const waveB = useSharedValue2(0);
201
+ const fromA = useSharedValue2({ x: 0, y: 0 });
202
+ const fromB = useSharedValue2({ x: 0, y: 0 });
203
+ const useA = useSharedValue2(true);
204
+ useAnimatedReaction(
205
+ () => pressCount?.value ?? 0,
206
+ (count, previous) => {
207
+ if (previous === null || count === previous) return;
208
+ const wave = useA.value ? waveA : waveB;
209
+ const from = useA.value ? fromA : fromB;
210
+ from.value = origin?.value ?? { x: 0, y: 0 };
211
+ wave.value = 0;
212
+ wave.value = withTiming2(2, { duration: duration * 2 });
213
+ useA.value = !useA.value;
214
+ }
215
+ );
216
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
217
+ RippleWave,
218
+ {
219
+ wave: waveA,
220
+ from: fromA,
221
+ size,
222
+ color,
223
+ opacity,
224
+ style
225
+ }
226
+ ), /* @__PURE__ */ React.createElement(
227
+ RippleWave,
228
+ {
229
+ wave: waveB,
230
+ from: fromB,
231
+ size,
232
+ color,
233
+ opacity,
234
+ style
235
+ }
236
+ ));
237
+ }
238
+ function RippleWave({
239
+ wave,
240
+ from,
241
+ size,
242
+ color,
243
+ opacity,
244
+ style
245
+ }) {
246
+ const animatedStyle = useAnimatedStyle2(() => {
247
+ const within = size?.value ?? { width: 0, height: 0 };
248
+ const radius = Math.sqrt(within.width * within.width + within.height * within.height) * RIPPLE_COVERAGE;
249
+ const at = from.value;
250
+ return {
251
+ width: radius * 2,
252
+ height: radius * 2,
253
+ borderRadius: radius,
254
+ // Rises as the circle opens and drains once it is open — so the wave is at its
255
+ // strongest when it covers the control, not when it is a dot under the finger.
256
+ opacity: interpolate(wave.value, [0, 1, 2], [0, opacity, 0]),
257
+ transform: [
258
+ { translateX: at.x - radius },
259
+ { translateY: at.y - radius },
260
+ { scale: interpolate(wave.value, [0, 1, 2], [0, 1, 1]) }
261
+ ]
262
+ };
263
+ });
264
+ return /* @__PURE__ */ React.createElement(
265
+ Animated2.View,
266
+ {
267
+ pointerEvents: "none",
268
+ style: [
269
+ { position: "absolute", backgroundColor: color },
270
+ animatedStyle,
271
+ style
272
+ ]
273
+ }
274
+ );
275
+ }
276
+
277
+ // src/system/slot/slot.tsx
278
+ import { cloneElement, forwardRef, isValidElement } from "react";
279
+
280
+ // src/system/slot/merge-refs.ts
281
+ function mergeRefs(...refs) {
282
+ return (value) => {
283
+ for (const ref of refs) {
284
+ if (typeof ref === "function") ref(value);
285
+ else if (ref) ref.current = value;
286
+ }
287
+ };
288
+ }
289
+
290
+ // src/system/slot/merge-props.ts
291
+ var EVENT_HANDLER = /^on[A-Z]/;
292
+ function mergeProps(ours, theirs) {
293
+ const merged = { ...ours };
294
+ for (const key of Object.keys(theirs)) {
295
+ const ourValue = ours[key];
296
+ const theirValue = theirs[key];
297
+ if (EVENT_HANDLER.test(key)) {
298
+ merged[key] = composeHandlers(ourValue, theirValue);
299
+ } else if (key === "style") {
300
+ merged[key] = mergeStyles(ourValue, theirValue);
301
+ } else if (key === "ref") {
302
+ merged[key] = mergeRefs(
303
+ ourValue,
304
+ theirValue
305
+ );
306
+ } else {
307
+ merged[key] = theirValue;
308
+ }
309
+ }
310
+ return merged;
311
+ }
312
+ function composeHandlers(ours, theirs) {
313
+ if (typeof ours !== "function") return theirs;
314
+ if (typeof theirs !== "function") return ours;
315
+ return (...args) => {
316
+ ;
317
+ ours(...args);
318
+ return theirs(...args);
319
+ };
320
+ }
321
+ function mergeStyles(ours, theirs) {
322
+ if (typeof ours === "function" || typeof theirs === "function") {
323
+ return (state) => [
324
+ resolveStyle(ours, state),
325
+ resolveStyle(theirs, state)
326
+ ];
327
+ }
328
+ return [ours, theirs];
329
+ }
330
+ function resolveStyle(style, state) {
331
+ return typeof style === "function" ? style(state) : style;
332
+ }
333
+
334
+ // src/system/slot/slot.tsx
335
+ var Slot = forwardRef(function Slot2({ children, ...ours }, ref) {
336
+ if (!isValidElement(children)) {
337
+ throw new Error(
338
+ "XAUI: asChild expects exactly one React element as its child, and merges the component's props into it. Text, a fragment, several children or none give it nothing to merge into \u2014 drop `asChild` to render the component itself."
339
+ );
340
+ }
341
+ const child = children;
342
+ const merged = mergeProps(ours, child.props);
343
+ merged.ref = mergeRefs(ref, refOf(child));
344
+ return cloneElement(child, merged);
345
+ });
346
+ Slot.displayName = "XAUI.Slot";
347
+ function refOf(element) {
348
+ const fromProps = element.props.ref;
349
+ const fromElement = element.ref;
350
+ return fromProps ?? fromElement;
351
+ }
352
+
353
+ // src/system/pressable-feedback/pressable-feedback.tsx
354
+ var AnimatedPressable = Animated3.createAnimatedComponent(Pressable);
355
+ var AnimatedSlot = Animated3.createAnimatedComponent(Slot);
356
+ var PressableFeedback = forwardRef2(
357
+ function PressableFeedback2({ animation, feedbackVariant = "scale-highlight", ...rest }, ref) {
358
+ const inheritedDisableAll = useContext2(DisableAllContext);
359
+ const resolved = resolveAnimation(animation, inheritedDisableAll);
360
+ const Feedback = resolved.none || feedbackVariant === "none" ? StaticFeedback : AnimatedFeedback;
361
+ const body = /* @__PURE__ */ React.createElement(
362
+ Feedback,
363
+ {
364
+ ref,
365
+ animation: resolved,
366
+ feedbackVariant,
367
+ ...rest
368
+ }
369
+ );
370
+ return resolved.disableAll ? /* @__PURE__ */ React.createElement(DisableAllContext.Provider, { value: true }, body) : body;
371
+ }
372
+ );
373
+ var StaticFeedback = forwardRef2(function StaticFeedback2({
374
+ isPressed = false,
375
+ isDisabled,
376
+ asChild = false,
377
+ animation,
378
+ feedbackVariant,
379
+ children,
380
+ style,
381
+ ...rest
382
+ }, ref) {
383
+ const context = useMemo(() => ({ isPressed, animation }), [isPressed, animation]);
384
+ const Root = asChild ? Slot : Pressable;
385
+ return /* @__PURE__ */ React.createElement(Root, { ref, style, disabled: isDisabled, ...rest }, /* @__PURE__ */ React.createElement(FeedbackProvider, { value: context }, /* @__PURE__ */ React.createElement(DefaultOverlay, { variant: feedbackVariant }), children));
386
+ });
387
+ var AnimatedFeedback = forwardRef2(function AnimatedFeedback2({
388
+ isPressed = false,
389
+ isDisabled,
390
+ asChild = false,
391
+ animation,
392
+ feedbackVariant,
393
+ children,
394
+ style,
395
+ onPressIn,
396
+ onLayout,
397
+ ...rest
398
+ }, ref) {
399
+ const progress = useSharedValue3(0);
400
+ const pressCount = useSharedValue3(0);
401
+ const origin = useSharedValue3({ x: 0, y: 0 });
402
+ const size = useSharedValue3({ width: 0, height: 0 });
403
+ useEffect2(() => {
404
+ progress.value = withTiming3(isPressed ? 1 : 0, {
405
+ duration: isPressed ? PRESS_DURATION : RELEASE_DURATION
406
+ });
407
+ }, [isPressed, progress]);
408
+ const animatedStyle = useAnimatedStyle3(
409
+ () => animation.scale ? { transform: [{ scale: 1 - (1 - PRESS_SCALE) * progress.value }] } : {}
410
+ );
411
+ const context = useMemo(
412
+ () => ({ isPressed, animation, progress, pressCount, origin, size }),
413
+ [isPressed, animation, progress, pressCount, origin, size]
414
+ );
415
+ const handlePressIn = (event) => {
416
+ const { locationX, locationY } = event.nativeEvent;
417
+ origin.value = { x: locationX, y: locationY };
418
+ pressCount.value += 1;
419
+ onPressIn?.(event);
420
+ };
421
+ const handleLayout = (event) => {
422
+ const { width, height } = event.nativeEvent.layout;
423
+ size.value = { width, height };
424
+ onLayout?.(event);
425
+ };
426
+ const clip = feedbackVariant === "scale-ripple" ? { overflow: "hidden" } : null;
427
+ const Root = asChild ? AnimatedSlot : AnimatedPressable;
428
+ return /* @__PURE__ */ React.createElement(
429
+ Root,
430
+ {
431
+ ref,
432
+ style: [clip, style, animatedStyle],
433
+ disabled: isDisabled,
434
+ onPressIn: handlePressIn,
435
+ onLayout: handleLayout,
436
+ ...rest
437
+ },
438
+ /* @__PURE__ */ React.createElement(FeedbackProvider, { value: context }, /* @__PURE__ */ React.createElement(DefaultOverlay, { variant: feedbackVariant }), children)
439
+ );
440
+ });
441
+ function DefaultOverlay({ variant }) {
442
+ if (variant === "scale-highlight") return /* @__PURE__ */ React.createElement(PressableFeedbackHighlight, null);
443
+ if (variant === "scale-ripple") return /* @__PURE__ */ React.createElement(PressableFeedbackRipple, null);
444
+ return null;
445
+ }
446
+
447
+ // src/system/pressable-feedback/index.ts
448
+ var PressableFeedback3 = Object.assign(PressableFeedback, {
449
+ Highlight: PressableFeedbackHighlight,
450
+ Ripple: PressableFeedbackRipple
451
+ });
452
+
453
+ // src/system/recipe/resolve-tint.ts
454
+ var TINT_SLICE_BY_SUFFIX = [
455
+ [/SoftForeground$/, "softForeground"],
456
+ [/SoftPressed$/, "softPressed"],
457
+ [/Soft$/, "soft"],
458
+ [/Foreground$/, "foreground"],
459
+ [/Pressed$/, "pressed"]
460
+ ];
461
+ function tintSliceFor(token) {
462
+ for (const [suffix, slice] of TINT_SLICE_BY_SUFFIX) {
463
+ if (suffix.test(token)) return slice;
464
+ }
465
+ return "base";
466
+ }
467
+ function resolveTint(tokens, color, theme) {
468
+ const tint = deriveTint(color, theme);
469
+ const colors = {};
470
+ for (const [role, token] of Object.entries(tokens ?? {})) {
471
+ colors[role] = tint[tintSliceFor(token)];
472
+ }
473
+ return colors;
474
+ }
475
+
476
+ // src/system/recipe/style-cache.ts
477
+ import { StyleSheet as StyleSheet2 } from "react-native";
478
+
479
+ // src/system/recipe/variant-map.ts
480
+ var STATE_ORDER = ["focused", "pressed", "disabled"];
481
+ function resolveSelection(defaultVariants, selection) {
482
+ const resolved = { ...defaultVariants };
483
+ for (const [axis, value] of Object.entries(selection ?? {})) {
484
+ if (value !== void 0) resolved[axis] = value;
485
+ }
486
+ return resolved;
487
+ }
488
+ function resolveVariantColors(tokens, theme) {
489
+ const colors = {};
490
+ for (const [role, token] of entriesOf(tokens)) {
491
+ const value = theme.colors[token];
492
+ if (value === void 0) {
493
+ throw new Error(
494
+ `XAUI: the recipe names "${token}" for its "${role}" role, but the theme has no such colour token. Check the spelling against XAUIColors.`
495
+ );
496
+ }
497
+ colors[role] = value;
498
+ }
499
+ return colors;
500
+ }
501
+ function activeStateFns(states, active) {
502
+ const fns = [];
503
+ for (const state of STATE_ORDER) {
504
+ const fn = active[state] ? states?.[state] : void 0;
505
+ if (fn) fns.push(fn);
506
+ }
507
+ return fns;
508
+ }
509
+ function collectStyleFns(config, selection, states) {
510
+ const fns = [];
511
+ if (config.base) fns.push(config.base);
512
+ if (config.paint) fns.push(config.paint);
513
+ for (const [axis, values] of Object.entries(config.variants ?? {})) {
514
+ const value = selection[axis];
515
+ const fn = value === void 0 ? void 0 : values[value];
516
+ if (fn) fns.push(fn);
517
+ }
518
+ for (const compound of config.compoundVariants ?? []) {
519
+ if (appliesTo(compound.when, selection)) fns.push(compound.style);
520
+ }
521
+ return [...fns, ...activeStateFns(config.states, states)];
522
+ }
523
+ function appliesTo(when, selection) {
524
+ return Object.entries(when).every(([axis, value]) => selection[axis] === value);
525
+ }
526
+ function entriesOf(tokens) {
527
+ return Object.entries(tokens ?? {});
528
+ }
529
+
530
+ // src/system/recipe/style-cache.ts
531
+ function createStyleCache(slots) {
532
+ const entries = /* @__PURE__ */ new Map();
533
+ return {
534
+ read(key, build) {
535
+ const hit = entries.get(key);
536
+ if (hit) return hit;
537
+ const built = build();
538
+ const complete = {};
539
+ for (const slot of slots) complete[slot] = built[slot] ?? {};
540
+ const created = StyleSheet2.create(complete);
541
+ entries.set(key, created);
542
+ return created;
543
+ },
544
+ get size() {
545
+ return entries.size;
546
+ },
547
+ clear() {
548
+ entries.clear();
549
+ }
550
+ };
551
+ }
552
+ function cacheKey(theme, selection, states) {
553
+ const axes = Object.keys(selection).sort().map((axis) => `${axis}:${selection[axis] ?? "-"}`).join("|");
554
+ const active = STATE_ORDER.filter((state) => states[state]).join(",");
555
+ return `${theme.id}|${theme.mode}|${axes}|${active}`;
556
+ }
557
+
558
+ // src/system/recipe/create-recipe.ts
559
+ function createRecipe(config) {
560
+ const cache = createStyleCache(config.slots);
561
+ const tokensFor = (variant) => variant === void 0 ? void 0 : config.variantTokens?.[variant];
562
+ return {
563
+ slots: config.slots,
564
+ resolve({ theme, selection, states = {} }) {
565
+ const resolved = resolveSelection(config.defaultVariants, selection);
566
+ return cache.read(cacheKey(theme, resolved, states), () => {
567
+ const colors = resolveVariantColors(tokensFor(resolved.variant), theme);
568
+ return apply(collectStyleFns(config, resolved, states), theme, colors);
569
+ });
570
+ },
571
+ tint({ theme, color, selection, states = {} }) {
572
+ if (!config.paint) return {};
573
+ const resolved = resolveSelection(config.defaultVariants, selection);
574
+ const tokens = tokensFor(resolved.variant);
575
+ if (!tokens) return {};
576
+ const colors = resolveTint(tokens, color, theme);
577
+ const fns = [config.paint, ...activeStateFns(config.states, states)];
578
+ return apply(fns, theme, colors);
579
+ }
580
+ };
581
+ }
582
+ function apply(fns, theme, colors) {
583
+ const merged = {};
584
+ for (const fn of fns) {
585
+ const produced = fn(theme, colors);
586
+ for (const slot of Object.keys(produced)) {
587
+ const style = produced[slot];
588
+ if (!style) continue;
589
+ const previous = merged[slot];
590
+ merged[slot] = previous ? { ...previous, ...style } : style;
591
+ }
592
+ }
593
+ return merged;
594
+ }
595
+
596
+ // src/system/slot/children-to-string.ts
597
+ import { isValidElement as isValidElement2 } from "react";
598
+ function childrenToString(children) {
599
+ const text = stringify(children);
600
+ return text === null || text === "" ? null : text;
601
+ }
602
+ function stringify(node) {
603
+ if (node === null || node === void 0 || typeof node === "boolean") return "";
604
+ if (typeof node === "string") return node;
605
+ if (typeof node === "number") return String(node);
606
+ if (isValidElement2(node)) return null;
607
+ if (Array.isArray(node)) {
608
+ let text = "";
609
+ for (const child of node) {
610
+ const part = stringify(child);
611
+ if (part === null) return null;
612
+ text += part;
613
+ }
614
+ return text;
615
+ }
616
+ return null;
617
+ }
618
+
619
+ export {
620
+ createSlotContext,
621
+ useFeedback,
622
+ PRESS_SCALE,
623
+ PRESS_DURATION,
624
+ RELEASE_DURATION,
625
+ HIGHLIGHT_OPACITY,
626
+ RIPPLE_OPACITY,
627
+ RIPPLE_DURATION,
628
+ RIPPLE_COVERAGE,
629
+ resolveAnimation,
630
+ resolveSlotAnimation,
631
+ mergeRefs,
632
+ mergeProps,
633
+ Slot,
634
+ PressableFeedback3 as PressableFeedback,
635
+ createRecipe,
636
+ childrenToString
637
+ };