@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.
@@ -13,46 +13,53 @@ function useIconContext() {
13
13
  import { cloneElement, isValidElement } from "react";
14
14
  import { Image } from "react-native";
15
15
  import { jsx } from "react/jsx-runtime";
16
- function Icon({
17
- as: Component,
18
- children,
19
- source,
20
- size,
21
- color,
22
- style,
23
- ...props
24
- }) {
16
+ function Icon(props) {
25
17
  const inherited = useIconContext();
26
18
  const theme = useXAUITheme();
27
- const [styleProps] = useStyleProps(props);
28
- const resolvedSize = size ?? inherited.size ?? theme.fontSizes.md;
29
- const resolvedColor = color ?? inherited.color ?? theme.colors.foreground;
30
- if (Component) {
19
+ const size = props.size ?? inherited.size ?? theme.fontSizes.md;
20
+ const color = props.color ?? inherited.color ?? theme.colors.foreground;
21
+ if (props.as) {
22
+ const Component = props.as;
31
23
  return /* @__PURE__ */jsx(Component, {
32
- size: resolvedSize,
33
- color: resolvedColor
34
- });
35
- }
36
- if (isValidElement(children)) {
37
- return cloneElement(children, {
38
- width: resolvedSize,
39
- height: resolvedSize,
40
- color: resolvedColor
24
+ size,
25
+ color
41
26
  });
42
27
  }
43
- if (source) {
44
- return /* @__PURE__ */jsx(Image, {
45
- source,
46
- style: [{
47
- width: resolvedSize,
48
- height: resolvedSize,
49
- tintColor: resolvedColor
50
- }, styleProps, style]
28
+ if (isValidElement(props.children)) {
29
+ return cloneElement(props.children, {
30
+ width: size,
31
+ height: size,
32
+ color
51
33
  });
52
34
  }
35
+ if (props.source) return /* @__PURE__ */jsx(IconImage, {
36
+ ...props,
37
+ resolved: {
38
+ size,
39
+ color
40
+ }
41
+ });
53
42
  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.");
54
43
  }
55
44
  Icon.displayName = "XAUI.Icon";
45
+ function IconImage({
46
+ source,
47
+ style,
48
+ resolved,
49
+ size: _size,
50
+ color: _color,
51
+ ...props
52
+ }) {
53
+ const [styleProps] = useStyleProps(props);
54
+ return /* @__PURE__ */jsx(Image, {
55
+ source,
56
+ style: [{
57
+ width: resolved.size,
58
+ height: resolved.size,
59
+ tintColor: resolved.color
60
+ }, styleProps, style]
61
+ });
62
+ }
56
63
 
57
64
  // src/system/pressable-feedback/pressable-feedback-context.ts
58
65
  import { createContext as createContext2 } from "react";
@@ -63,13 +70,13 @@ var DisableAllContext = createContext2(false);
63
70
  var PRESS_SCALE = 0.985;
64
71
  var PRESS_DURATION = 300;
65
72
  var SCALE_REFERENCE_WIDTH = 300;
66
- const _worklet_12908961525296_init_data = {
67
- code: "function pressScaleFor_chunkF432IDIWJs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
68
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
69
- sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkF432IDIWJs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js\"],\"mappings\":\"AA2EA,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\":[]}"
73
+ const _worklet_13554640748006_init_data = {
74
+ code: "function pressScaleFor_chunkVQPP6FCBJs1(width){const{SCALE_REFERENCE_WIDTH,PRESS_SCALE}=this.__closure;const coefficient=width>0?SCALE_REFERENCE_WIDTH/width:1;return 1-(1-PRESS_SCALE)*coefficient;}",
75
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js",
76
+ sourceMap: "{\"version\":3,\"names\":[\"pressScaleFor_chunkVQPP6FCBJs1\",\"width\",\"SCALE_REFERENCE_WIDTH\",\"PRESS_SCALE\",\"__closure\",\"coefficient\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js\"],\"mappings\":\"AA4EA,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\":[]}"
70
77
  };
71
- const pressScaleFor = function pressScaleFor_chunkF432IDIWJs1Factory({
72
- _worklet_12908961525296_init_data,
78
+ const pressScaleFor = function pressScaleFor_chunkVQPP6FCBJs1Factory({
79
+ _worklet_13554640748006_init_data,
73
80
  SCALE_REFERENCE_WIDTH,
74
81
  PRESS_SCALE
75
82
  }) {
@@ -82,13 +89,13 @@ const pressScaleFor = function pressScaleFor_chunkF432IDIWJs1Factory({
82
89
  SCALE_REFERENCE_WIDTH,
83
90
  PRESS_SCALE
84
91
  };
85
- pressScaleFor.__workletHash = 12908961525296;
92
+ pressScaleFor.__workletHash = 13554640748006;
86
93
  pressScaleFor.__pluginVersion = "0.7.4";
87
- pressScaleFor.__initData = _worklet_12908961525296_init_data;
94
+ pressScaleFor.__initData = _worklet_13554640748006_init_data;
88
95
  pressScaleFor.__stackDetails = _e;
89
96
  return pressScaleFor;
90
97
  }({
91
- _worklet_12908961525296_init_data,
98
+ _worklet_13554640748006_init_data,
92
99
  SCALE_REFERENCE_WIDTH,
93
100
  PRESS_SCALE
94
101
  });
@@ -101,26 +108,26 @@ var RIPPLE_CONFIRM_DURATION = 225;
101
108
  var RIPPLE_FADE_IN = 75;
102
109
  var RIPPLE_FADE_OUT_DELAY = 225;
103
110
  var RIPPLE_FADE_OUT = 150;
104
- const _worklet_1880833073675_init_data = {
105
- code: "function rippleRadiusFor_chunkF432IDIWJs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
106
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
107
- sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkF432IDIWJs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js\"],\"mappings\":\"AAyFA,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\":[]}"
111
+ const _worklet_6847481825757_init_data = {
112
+ code: "function rippleRadiusFor_chunkVQPP6FCBJs2(width,height){return Math.sqrt(width*width+height*height)/2+5;}",
113
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js",
114
+ sourceMap: "{\"version\":3,\"names\":[\"rippleRadiusFor_chunkVQPP6FCBJs2\",\"width\",\"height\",\"Math\",\"sqrt\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js\"],\"mappings\":\"AA0FA,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\":[]}"
108
115
  };
109
- const rippleRadiusFor = function rippleRadiusFor_chunkF432IDIWJs2Factory({
110
- _worklet_1880833073675_init_data
116
+ const rippleRadiusFor = function rippleRadiusFor_chunkVQPP6FCBJs2Factory({
117
+ _worklet_6847481825757_init_data
111
118
  }) {
112
119
  const _e = [new global.Error(), 1, -27];
113
120
  const rippleRadiusFor = function (width, height) {
114
121
  return Math.sqrt(width * width + height * height) / 2 + 5;
115
122
  };
116
123
  rippleRadiusFor.__closure = {};
117
- rippleRadiusFor.__workletHash = 1880833073675;
124
+ rippleRadiusFor.__workletHash = 6847481825757;
118
125
  rippleRadiusFor.__pluginVersion = "0.7.4";
119
- rippleRadiusFor.__initData = _worklet_1880833073675_init_data;
126
+ rippleRadiusFor.__initData = _worklet_6847481825757_init_data;
120
127
  rippleRadiusFor.__stackDetails = _e;
121
128
  return rippleRadiusFor;
122
129
  }({
123
- _worklet_1880833073675_init_data
130
+ _worklet_6847481825757_init_data
124
131
  });
125
132
  var ALL_OFF = {
126
133
  scale: false,
@@ -294,15 +301,15 @@ var StaticFeedback = forwardRef(function StaticFeedback2({
294
301
  })
295
302
  });
296
303
  });
297
- const _worklet_15277282018622_init_data = {
298
- code: "function chunkF432IDIWJs3(){const{pressScaleFor,size}=this.__closure;return pressScaleFor(size.value.width);}",
299
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
300
- sourceMap: "{\"version\":3,\"names\":[\"chunkF432IDIWJs3\",\"pressScaleFor\",\"size\",\"__closure\",\"value\",\"width\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js\"],\"mappings\":\"AAuQuC,SAAAA,iBAAA,QAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,OAAM,CAAAF,aAAc,CAAAC,IAAK,CAAAE,KAAM,CAAAC,KAAK\",\"ignoreList\":[]}"
304
+ const _worklet_4127506537320_init_data = {
305
+ code: "function chunkVQPP6FCBJs3(){const{pressScaleFor,size}=this.__closure;return pressScaleFor(size.value.width);}",
306
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js",
307
+ sourceMap: "{\"version\":3,\"names\":[\"chunkVQPP6FCBJs3\",\"pressScaleFor\",\"size\",\"__closure\",\"value\",\"width\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js\"],\"mappings\":\"AAwQuC,SAAAA,iBAAA,QAAAC,aAAA,CAAAC,IAAA,OAAAC,SAAA,OAAM,CAAAF,aAAc,CAAAC,IAAK,CAAAE,KAAM,CAAAC,KAAK\",\"ignoreList\":[]}"
301
308
  };
302
- const _worklet_1413470399342_init_data = {
303
- code: "function chunkF432IDIWJs4(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
304
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
305
- sourceMap: "{\"version\":3,\"names\":[\"chunkF432IDIWJs4\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js\"],\"mappings\":\"AAwQyC,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\":[]}"
309
+ const _worklet_3291244728760_init_data = {
310
+ code: "function chunkVQPP6FCBJs4(){const{animation,pressedScale,progress}=this.__closure;if(!animation.scale)return{};return{transform:[{scale:1-(1-pressedScale.value)*progress.value}]};}",
311
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js",
312
+ sourceMap: "{\"version\":3,\"names\":[\"chunkVQPP6FCBJs4\",\"animation\",\"pressedScale\",\"progress\",\"__closure\",\"scale\",\"transform\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js\"],\"mappings\":\"AAyQyC,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\":[]}"
306
313
  };
307
314
  var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
308
315
  isPressed = false,
@@ -330,35 +337,35 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
330
337
  easing: Easing.out(Easing.ease)
331
338
  });
332
339
  }, [isPressed, progress]);
333
- const pressedScale = useDerivedValue(function chunkF432IDIWJs3Factory({
334
- _worklet_15277282018622_init_data,
340
+ const pressedScale = useDerivedValue(function chunkVQPP6FCBJs3Factory({
341
+ _worklet_4127506537320_init_data,
335
342
  pressScaleFor,
336
343
  size
337
344
  }) {
338
345
  const _e = [new global.Error(), -3, -27];
339
- const chunkF432IDIWJs3 = () => pressScaleFor(size.value.width);
340
- chunkF432IDIWJs3.__closure = {
346
+ const chunkVQPP6FCBJs3 = () => pressScaleFor(size.value.width);
347
+ chunkVQPP6FCBJs3.__closure = {
341
348
  pressScaleFor,
342
349
  size
343
350
  };
344
- chunkF432IDIWJs3.__workletHash = 15277282018622;
345
- chunkF432IDIWJs3.__pluginVersion = "0.7.4";
346
- chunkF432IDIWJs3.__initData = _worklet_15277282018622_init_data;
347
- chunkF432IDIWJs3.__stackDetails = _e;
348
- return chunkF432IDIWJs3;
351
+ chunkVQPP6FCBJs3.__workletHash = 4127506537320;
352
+ chunkVQPP6FCBJs3.__pluginVersion = "0.7.4";
353
+ chunkVQPP6FCBJs3.__initData = _worklet_4127506537320_init_data;
354
+ chunkVQPP6FCBJs3.__stackDetails = _e;
355
+ return chunkVQPP6FCBJs3;
349
356
  }({
350
- _worklet_15277282018622_init_data,
357
+ _worklet_4127506537320_init_data,
351
358
  pressScaleFor,
352
359
  size
353
360
  }));
354
- const animatedStyle = useAnimatedStyle(function chunkF432IDIWJs4Factory({
355
- _worklet_1413470399342_init_data,
361
+ const animatedStyle = useAnimatedStyle(function chunkVQPP6FCBJs4Factory({
362
+ _worklet_3291244728760_init_data,
356
363
  animation,
357
364
  pressedScale,
358
365
  progress
359
366
  }) {
360
367
  const _e = [new global.Error(), -4, -27];
361
- const chunkF432IDIWJs4 = function () {
368
+ const chunkVQPP6FCBJs4 = function () {
362
369
  if (!animation.scale) return {};
363
370
  return {
364
371
  transform: [{
@@ -366,18 +373,18 @@ var AnimatedFeedback = forwardRef(function AnimatedFeedback2({
366
373
  }]
367
374
  };
368
375
  };
369
- chunkF432IDIWJs4.__closure = {
376
+ chunkVQPP6FCBJs4.__closure = {
370
377
  animation,
371
378
  pressedScale,
372
379
  progress
373
380
  };
374
- chunkF432IDIWJs4.__workletHash = 1413470399342;
375
- chunkF432IDIWJs4.__pluginVersion = "0.7.4";
376
- chunkF432IDIWJs4.__initData = _worklet_1413470399342_init_data;
377
- chunkF432IDIWJs4.__stackDetails = _e;
378
- return chunkF432IDIWJs4;
381
+ chunkVQPP6FCBJs4.__workletHash = 3291244728760;
382
+ chunkVQPP6FCBJs4.__pluginVersion = "0.7.4";
383
+ chunkVQPP6FCBJs4.__initData = _worklet_3291244728760_init_data;
384
+ chunkVQPP6FCBJs4.__stackDetails = _e;
385
+ return chunkVQPP6FCBJs4;
379
386
  }({
380
- _worklet_1413470399342_init_data,
387
+ _worklet_3291244728760_init_data,
381
388
  animation,
382
389
  pressedScale,
383
390
  progress
@@ -522,10 +529,10 @@ function PressableFeedbackHighlight({
522
529
  }
523
530
  PressableFeedbackHighlight.displayName = "XAUI.PressableFeedback.Highlight";
524
531
  markOverlay(PressableFeedbackHighlight);
525
- const _worklet_12670811315294_init_data = {
526
- code: "function chunkF432IDIWJs5(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
527
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
528
- sourceMap: "{\"version\":3,\"names\":[\"chunkF432IDIWJs5\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js\"],\"mappings\":\"AAsZ0C,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE5C,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
532
+ const _worklet_1260805108360_init_data = {
533
+ code: "function chunkVQPP6FCBJs5(){const{shown,opacity}=this.__closure;return{opacity:shown.value*opacity};}",
534
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js",
535
+ sourceMap: "{\"version\":3,\"names\":[\"chunkVQPP6FCBJs5\",\"shown\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-VQPP6FCB.js\"],\"mappings\":\"AAuZ0C,SAAAA,gBAAMA,CAAA,QAAAC,KAAA,CAAAC,OAAA,OAAAC,SAAA,CAE5C,MAAO,CAAED,OAAO,CAAED,KAAK,CAACG,KAAK,CAAGF,OAAQ,CAAC,CAC3C\",\"ignoreList\":[]}"
529
536
  };
530
537
  function AnimatedHighlight({
531
538
  base,
@@ -541,28 +548,28 @@ function AnimatedHighlight({
541
548
  duration
542
549
  });
543
550
  }, [isPressed, shown, duration]);
544
- const animatedStyle = useAnimatedStyle2(function chunkF432IDIWJs5Factory({
545
- _worklet_12670811315294_init_data,
551
+ const animatedStyle = useAnimatedStyle2(function chunkVQPP6FCBJs5Factory({
552
+ _worklet_1260805108360_init_data,
546
553
  shown,
547
554
  opacity
548
555
  }) {
549
556
  const _e = [new global.Error(), -3, -27];
550
- const chunkF432IDIWJs5 = function () {
557
+ const chunkVQPP6FCBJs5 = function () {
551
558
  return {
552
559
  opacity: shown.value * opacity
553
560
  };
554
561
  };
555
- chunkF432IDIWJs5.__closure = {
562
+ chunkVQPP6FCBJs5.__closure = {
556
563
  shown,
557
564
  opacity
558
565
  };
559
- chunkF432IDIWJs5.__workletHash = 12670811315294;
560
- chunkF432IDIWJs5.__pluginVersion = "0.7.4";
561
- chunkF432IDIWJs5.__initData = _worklet_12670811315294_init_data;
562
- chunkF432IDIWJs5.__stackDetails = _e;
563
- return chunkF432IDIWJs5;
566
+ chunkVQPP6FCBJs5.__workletHash = 1260805108360;
567
+ chunkVQPP6FCBJs5.__pluginVersion = "0.7.4";
568
+ chunkVQPP6FCBJs5.__initData = _worklet_1260805108360_init_data;
569
+ chunkVQPP6FCBJs5.__stackDetails = _e;
570
+ return chunkVQPP6FCBJs5;
564
571
  }({
565
- _worklet_12670811315294_init_data,
572
+ _worklet_1260805108360_init_data,
566
573
  shown,
567
574
  opacity
568
575
  }), [shown, opacity]);
@@ -629,10 +636,10 @@ function PressableFeedbackRipple({
629
636
  }
630
637
  PressableFeedbackRipple.displayName = "XAUI.PressableFeedback.Ripple";
631
638
  markOverlay(PressableFeedbackRipple);
632
- const _worklet_5608199590865_init_data = {
633
- code: "function chunkF432IDIWJs6(){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}]};}",
634
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-F432IDIW.js",
635
- sourceMap: "{\"version\":3,\"names\":[\"chunkF432IDIWJs6\",\"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-F432IDIW.js\"],\"mappings\":\"AAsd0C,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\":[]}"
639
+ const _worklet_7066991823495_init_data = {
640
+ code: "function chunkVQPP6FCBJs6(){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-VQPP6FCB.js",
642
+ sourceMap: "{\"version\":3,\"names\":[\"chunkVQPP6FCBJs6\",\"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-VQPP6FCB.js\"],\"mappings\":\"AAud0C,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\":[]}"
636
643
  };
637
644
  function RippleWave({
638
645
  wave,
@@ -642,8 +649,8 @@ function RippleWave({
642
649
  opacity,
643
650
  style
644
651
  }) {
645
- const animatedStyle = useAnimatedStyle3(function chunkF432IDIWJs6Factory({
646
- _worklet_5608199590865_init_data,
652
+ const animatedStyle = useAnimatedStyle3(function chunkVQPP6FCBJs6Factory({
653
+ _worklet_7066991823495_init_data,
647
654
  wave,
648
655
  RIPPLE_START_SCALE,
649
656
  center,
@@ -651,7 +658,7 @@ function RippleWave({
651
658
  radius
652
659
  }) {
653
660
  const _e = [new global.Error(), -6, -27];
654
- const chunkF432IDIWJs6 = function () {
661
+ const chunkVQPP6FCBJs6 = function () {
655
662
  const t = wave.expand.value;
656
663
  const from = wave.origin.value;
657
664
  const scale = RIPPLE_START_SCALE + (1 - RIPPLE_START_SCALE) * t;
@@ -669,20 +676,20 @@ function RippleWave({
669
676
  }]
670
677
  };
671
678
  };
672
- chunkF432IDIWJs6.__closure = {
679
+ chunkVQPP6FCBJs6.__closure = {
673
680
  wave,
674
681
  RIPPLE_START_SCALE,
675
682
  center,
676
683
  opacity,
677
684
  radius
678
685
  };
679
- chunkF432IDIWJs6.__workletHash = 5608199590865;
680
- chunkF432IDIWJs6.__pluginVersion = "0.7.4";
681
- chunkF432IDIWJs6.__initData = _worklet_5608199590865_init_data;
682
- chunkF432IDIWJs6.__stackDetails = _e;
683
- return chunkF432IDIWJs6;
686
+ chunkVQPP6FCBJs6.__workletHash = 7066991823495;
687
+ chunkVQPP6FCBJs6.__pluginVersion = "0.7.4";
688
+ chunkVQPP6FCBJs6.__initData = _worklet_7066991823495_init_data;
689
+ chunkVQPP6FCBJs6.__stackDetails = _e;
690
+ return chunkVQPP6FCBJs6;
684
691
  }({
685
- _worklet_5608199590865_init_data,
692
+ _worklet_7066991823495_init_data,
686
693
  wave,
687
694
  RIPPLE_START_SCALE,
688
695
  center,
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkIZYRU7S2cjs = require('../../chunk-IZYRU7S2.cjs');
6
- require('../../chunk-2UICXD3Q.cjs');
5
+ var _chunkODH5WAVMcjs = require('../../chunk-ODH5WAVM.cjs');
6
+ require('../../chunk-P5MKOLIW.cjs');
7
7
  require('../../chunk-5SU7FXWH.cjs');
8
8
  require('../../chunk-6N5JXRUZ.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- exports.Button = _chunkIZYRU7S2cjs.Button; exports.buttonRecipe = _chunkIZYRU7S2cjs.buttonRecipe; exports.useButton = _chunkIZYRU7S2cjs.useButton;
13
+ exports.Button = _chunkODH5WAVMcjs.Button; exports.buttonRecipe = _chunkODH5WAVMcjs.buttonRecipe; exports.useButton = _chunkODH5WAVMcjs.useButton;
@@ -4,7 +4,7 @@ import * as react_native from 'react-native';
4
4
  import { StyleProp, TextStyle, ViewStyle, TextProps, PressableStateCallbackType } from 'react-native';
5
5
  import { o as TextStyleProps, V as ViewStyleProps, R as Recipe, g as SlotStyles } from '../../create-recipe-3_ElpCYt.cjs';
6
6
  import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
7
- import { a as IconContextValue, b as IconProps, P as PressableFeedbackProps, c as AnimationProp } from '../../pressable-feedback.type-C9kjAuVQ.cjs';
7
+ import { a as IconContextValue, b as IconProps, P as PressableFeedbackProps, c as AnimationProp } from '../../pressable-feedback.type-lgW5wQx5.cjs';
8
8
  import 'react-native-reanimated';
9
9
 
10
10
  type ButtonSlot = 'root' | 'label' | 'icon' | 'spinner';
@@ -4,7 +4,7 @@ import * as react_native from 'react-native';
4
4
  import { StyleProp, TextStyle, ViewStyle, TextProps, PressableStateCallbackType } from 'react-native';
5
5
  import { o as TextStyleProps, V as ViewStyleProps, R as Recipe, g as SlotStyles } from '../../create-recipe-DImq1AZA.js';
6
6
  import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
7
- import { a as IconContextValue, b as IconProps, P as PressableFeedbackProps, c as AnimationProp } from '../../pressable-feedback.type-KcPvFf6f.js';
7
+ import { a as IconContextValue, b as IconProps, P as PressableFeedbackProps, c as AnimationProp } from '../../pressable-feedback.type-UwqIG6ES.js';
8
8
  import 'react-native-reanimated';
9
9
 
10
10
  type ButtonSlot = 'root' | 'label' | 'icon' | 'spinner';
@@ -2,8 +2,8 @@ import {
2
2
  Button,
3
3
  buttonRecipe,
4
4
  useButton
5
- } from "../../chunk-ASXK7XU4.js";
6
- import "../../chunk-F432IDIW.js";
5
+ } from "../../chunk-MBLPPOSO.js";
6
+ import "../../chunk-VQPP6FCB.js";
7
7
  import "../../chunk-4K3LZS7M.js";
8
8
  import "../../chunk-XJARE6SC.js";
9
9
  export {
@@ -75,7 +75,7 @@ declare const Typography: react.ForwardRefExoticComponent<Omit<react_native.Text
75
75
  asChild?: boolean;
76
76
  style?: react_native.StyleProp<react_native.TextStyle>;
77
77
  children?: react.ReactNode;
78
- } & Omit<TextStyleProps, "color" | "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
78
+ } & Omit<TextStyleProps, "color" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
79
 
80
80
  /**
81
81
  * A fragment of text, styled apart from the text around it.
@@ -100,7 +100,7 @@ declare const TextSpan: react.ForwardRefExoticComponent<Omit<react_native.TextPr
100
100
  asChild?: boolean;
101
101
  style?: react_native.StyleProp<react_native.TextStyle>;
102
102
  children?: react.ReactNode;
103
- } & Omit<TextStyleProps, "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
103
+ } & Omit<TextStyleProps, "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
104
 
105
105
  /** Every role produces the same one slot, so the recipe's style functions share a shape. */
106
106
  type StyleFn = (theme: XAUITheme) => Record<TypographySlot, TextStyle>;
@@ -75,7 +75,7 @@ declare const Typography: react.ForwardRefExoticComponent<Omit<react_native.Text
75
75
  asChild?: boolean;
76
76
  style?: react_native.StyleProp<react_native.TextStyle>;
77
77
  children?: react.ReactNode;
78
- } & Omit<TextStyleProps, "color" | "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
78
+ } & Omit<TextStyleProps, "color" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
79
 
80
80
  /**
81
81
  * A fragment of text, styled apart from the text around it.
@@ -100,7 +100,7 @@ declare const TextSpan: react.ForwardRefExoticComponent<Omit<react_native.TextPr
100
100
  asChild?: boolean;
101
101
  style?: react_native.StyleProp<react_native.TextStyle>;
102
102
  children?: react.ReactNode;
103
- } & Omit<TextStyleProps, "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
103
+ } & Omit<TextStyleProps, "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
104
 
105
105
  /** Every role produces the same one slot, so the recipe's style functions share a shape. */
106
106
  type StyleFn = (theme: XAUITheme) => Record<TypographySlot, TextStyle>;
package/dist/index.cjs CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkIZYRU7S2cjs = require('./chunk-IZYRU7S2.cjs');
7
+ var _chunkODH5WAVMcjs = require('./chunk-ODH5WAVM.cjs');
8
8
 
9
9
 
10
10
 
@@ -39,7 +39,7 @@ var _chunkM2VYRHVScjs = require('./chunk-M2VYRHVS.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunk2UICXD3Qcjs = require('./chunk-2UICXD3Q.cjs');
42
+ var _chunkP5MKOLIWcjs = require('./chunk-P5MKOLIW.cjs');
43
43
 
44
44
 
45
45
 
@@ -97,7 +97,7 @@ function useControllableState({
97
97
  function useControlWarning(isControlled) {
98
98
  const wasControlled = _react.useRef.call(void 0, isControlled);
99
99
  if (wasControlled.current !== isControlled) {
100
- _chunkIZYRU7S2cjs.warnDev.call(void 0,
100
+ _chunkODH5WAVMcjs.warnDev.call(void 0,
101
101
  `a component switched from ${wasControlled.current ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}. Decide for the life of the component: pass \`value\` always, or never. Passing \`undefined\` for a value you do control reads as "uncontrolled" here.`
102
102
  );
103
103
  wasControlled.current = isControlled;
@@ -178,4 +178,4 @@ function usePrevious(value) {
178
178
 
179
179
 
180
180
 
181
- exports.Button = _chunkIZYRU7S2cjs.Button; exports.FEEDBACK_OVERLAY = _chunk2UICXD3Qcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunk2UICXD3Qcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunk2UICXD3Qcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk2UICXD3Qcjs.Icon; exports.IconContext = _chunk2UICXD3Qcjs.IconContext; exports.PRESS_DURATION = _chunk2UICXD3Qcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunk2UICXD3Qcjs.PRESS_SCALE; exports.Portal = _chunkM2VYRHVScjs.Portal; exports.PortalContext = _chunkM2VYRHVScjs.PortalContext; exports.PortalHost = _chunkM2VYRHVScjs.PortalHost; exports.PressableFeedback = _chunk2UICXD3Qcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunk2UICXD3Qcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunk2UICXD3Qcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunk2UICXD3Qcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunk2UICXD3Qcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunk2UICXD3Qcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunk2UICXD3Qcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunk2UICXD3Qcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunk2UICXD3Qcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunk5SU7FXWHcjs.Slot; exports.TextSpan = _chunk6VTBGBPPcjs.TextSpan; exports.ThemeContext = _chunk6N5JXRUZcjs.ThemeContext; exports.Typography = _chunk6VTBGBPPcjs.Typography; exports.XAUIProvider = _chunkBHAHJHAIcjs.XAUIProvider; exports.buildRadius = _chunkBHAHJHAIcjs.buildRadius; exports.buildShadows = _chunkBHAHJHAIcjs.buildShadows; exports.buttonRecipe = _chunkIZYRU7S2cjs.buttonRecipe; exports.childrenToString = _chunk5SU7FXWHcjs.childrenToString; exports.createRecipe = _chunk5SU7FXWHcjs.createRecipe; exports.createSlotContext = _chunk5SU7FXWHcjs.createSlotContext; exports.createTheme = _chunkBHAHJHAIcjs.createTheme; exports.defaultTheme = _chunkBHAHJHAIcjs.defaultTheme; exports.deriveColors = _chunkBHAHJHAIcjs.deriveColors; exports.deriveTint = _chunk6N5JXRUZcjs.deriveTint; exports.markOverlay = _chunk2UICXD3Qcjs.markOverlay; exports.mergeProps = _chunk5SU7FXWHcjs.mergeProps; exports.mergeRefs = _chunk5SU7FXWHcjs.mergeRefs; exports.palette = _chunkBHAHJHAIcjs.palette; exports.pressScaleFor = _chunk2UICXD3Qcjs.pressScaleFor; exports.primitives = _chunkBHAHJHAIcjs.primitives; exports.resolveAnimation = _chunk2UICXD3Qcjs.resolveAnimation; exports.resolveSlotAnimation = _chunk2UICXD3Qcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunk2UICXD3Qcjs.rippleRadiusFor; exports.sourceKeys = _chunkBHAHJHAIcjs.sourceKeys; exports.tokens = _chunkBHAHJHAIcjs.tokens; exports.typographyRecipe = _chunk6VTBGBPPcjs.typographyRecipe; exports.useButton = _chunkIZYRU7S2cjs.useButton; exports.useColorMode = _chunk6N5JXRUZcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunk2UICXD3Qcjs.useFeedback; exports.useIconContext = _chunk2UICXD3Qcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkIZYRU7S2cjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunk5SU7FXWHcjs.useStyleProps; exports.useThemeColor = _chunk6N5JXRUZcjs.useThemeColor; exports.useXAUITheme = _chunk6N5JXRUZcjs.useXAUITheme;
181
+ exports.Button = _chunkODH5WAVMcjs.Button; exports.FEEDBACK_OVERLAY = _chunkP5MKOLIWcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkP5MKOLIWcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkP5MKOLIWcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkP5MKOLIWcjs.Icon; exports.IconContext = _chunkP5MKOLIWcjs.IconContext; exports.PRESS_DURATION = _chunkP5MKOLIWcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkP5MKOLIWcjs.PRESS_SCALE; exports.Portal = _chunkM2VYRHVScjs.Portal; exports.PortalContext = _chunkM2VYRHVScjs.PortalContext; exports.PortalHost = _chunkM2VYRHVScjs.PortalHost; exports.PressableFeedback = _chunkP5MKOLIWcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkP5MKOLIWcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkP5MKOLIWcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkP5MKOLIWcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkP5MKOLIWcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkP5MKOLIWcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkP5MKOLIWcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkP5MKOLIWcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkP5MKOLIWcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunk5SU7FXWHcjs.Slot; exports.TextSpan = _chunk6VTBGBPPcjs.TextSpan; exports.ThemeContext = _chunk6N5JXRUZcjs.ThemeContext; exports.Typography = _chunk6VTBGBPPcjs.Typography; exports.XAUIProvider = _chunkBHAHJHAIcjs.XAUIProvider; exports.buildRadius = _chunkBHAHJHAIcjs.buildRadius; exports.buildShadows = _chunkBHAHJHAIcjs.buildShadows; exports.buttonRecipe = _chunkODH5WAVMcjs.buttonRecipe; exports.childrenToString = _chunk5SU7FXWHcjs.childrenToString; exports.createRecipe = _chunk5SU7FXWHcjs.createRecipe; exports.createSlotContext = _chunk5SU7FXWHcjs.createSlotContext; exports.createTheme = _chunkBHAHJHAIcjs.createTheme; exports.defaultTheme = _chunkBHAHJHAIcjs.defaultTheme; exports.deriveColors = _chunkBHAHJHAIcjs.deriveColors; exports.deriveTint = _chunk6N5JXRUZcjs.deriveTint; exports.markOverlay = _chunkP5MKOLIWcjs.markOverlay; exports.mergeProps = _chunk5SU7FXWHcjs.mergeProps; exports.mergeRefs = _chunk5SU7FXWHcjs.mergeRefs; exports.palette = _chunkBHAHJHAIcjs.palette; exports.pressScaleFor = _chunkP5MKOLIWcjs.pressScaleFor; exports.primitives = _chunkBHAHJHAIcjs.primitives; exports.resolveAnimation = _chunkP5MKOLIWcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkP5MKOLIWcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkP5MKOLIWcjs.rippleRadiusFor; exports.sourceKeys = _chunkBHAHJHAIcjs.sourceKeys; exports.tokens = _chunkBHAHJHAIcjs.tokens; exports.typographyRecipe = _chunk6VTBGBPPcjs.typographyRecipe; exports.useButton = _chunkODH5WAVMcjs.useButton; exports.useColorMode = _chunk6N5JXRUZcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunkP5MKOLIWcjs.useFeedback; exports.useIconContext = _chunkP5MKOLIWcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkODH5WAVMcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunk5SU7FXWHcjs.useStyleProps; exports.useThemeColor = _chunk6N5JXRUZcjs.useThemeColor; exports.useXAUITheme = _chunk6N5JXRUZcjs.useXAUITheme;
package/dist/index.d.cts CHANGED
@@ -4,7 +4,7 @@ import { RefCallback } from 'react';
4
4
  import { PossibleRef } from './system/index.cjs';
5
5
  export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
6
6
  import { GestureResponderEvent } from 'react-native';
7
- export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-C9kjAuVQ.cjs';
7
+ export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-lgW5wQx5.cjs';
8
8
  export { A as Axes, C as CompoundVariant, D as DirectionalStyleKey, I as ImageStyleProps, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, n as StyleProps, o as TextStyleProps, T as TintArgs, k as VariantColors, l as VariantRole, m as VariantTokens, V as ViewStyleProps, c as createRecipe } from './create-recipe-3_ElpCYt.cjs';
9
9
  export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.cjs';
10
10
  export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.cjs';
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { RefCallback } from 'react';
4
4
  import { PossibleRef } from './system/index.js';
5
5
  export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
6
6
  import { GestureResponderEvent } from 'react-native';
7
- export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-KcPvFf6f.js';
7
+ export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-UwqIG6ES.js';
8
8
  export { A as Axes, C as CompoundVariant, D as DirectionalStyleKey, I as ImageStyleProps, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, n as StyleProps, o as TextStyleProps, T as TintArgs, k as VariantColors, l as VariantRole, m as VariantTokens, V as ViewStyleProps, c as createRecipe } from './create-recipe-DImq1AZA.js';
9
9
  export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.js';
10
10
  export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.js';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  useButton,
5
5
  usePressState,
6
6
  warnDev
7
- } from "./chunk-ASXK7XU4.js";
7
+ } from "./chunk-MBLPPOSO.js";
8
8
  import {
9
9
  TextSpan,
10
10
  Typography,
@@ -39,7 +39,7 @@ import {
39
39
  rippleRadiusFor,
40
40
  useFeedback,
41
41
  useIconContext
42
- } from "./chunk-F432IDIW.js";
42
+ } from "./chunk-VQPP6FCB.js";
43
43
  import {
44
44
  Slot,
45
45
  childrenToString,