@xaui/native 0.9.1-alpha.30 → 0.9.1-alpha.32

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.
Files changed (91) hide show
  1. package/dist/chunk-36PRYGAM.js +13 -0
  2. package/dist/{chunk-E4TS6632.cjs → chunk-4MPSXDAB.cjs} +16 -16
  3. package/dist/{chunk-XQFAUDR2.cjs → chunk-4SLOOIE5.cjs} +2 -2
  4. package/dist/{chunk-FMZQW35T.js → chunk-4YJLNYUS.js} +13 -13
  5. package/dist/{chunk-ZP2E2H2G.cjs → chunk-54FJOKAN.cjs} +3 -3
  6. package/dist/{chunk-GPVNCJ3Z.cjs → chunk-6M7RUU7V.cjs} +68 -68
  7. package/dist/{chunk-XFSW3ZNI.cjs → chunk-7CTIE42J.cjs} +12 -12
  8. package/dist/{chunk-QGN2BBJO.cjs → chunk-AOEXU5UV.cjs} +8 -8
  9. package/dist/{chunk-Q3WFY5N3.js → chunk-AYOVBZAX.js} +10 -10
  10. package/dist/{chunk-6RVCGLKZ.js → chunk-BA2MPBCO.js} +60 -60
  11. package/dist/{chunk-5GO7MAVY.cjs → chunk-CM4LI5OH.cjs} +11 -11
  12. package/dist/{chunk-NBFWWQFW.cjs → chunk-CNNLMMFV.cjs} +13 -13
  13. package/dist/{chunk-TGZZ3RZU.cjs → chunk-CYS6U374.cjs} +4 -4
  14. package/dist/{chunk-UBQLKIZC.cjs → chunk-ETSYP3NH.cjs} +19 -19
  15. package/dist/{chunk-VJEER76X.js → chunk-GBFQZQ77.js} +9 -9
  16. package/dist/chunk-H4E4HDEP.cjs +13 -0
  17. package/dist/{chunk-NYRXUGVL.js → chunk-HVD5EX7V.js} +6 -6
  18. package/dist/{chunk-GVQOD3VW.js → chunk-HXL2QCMR.js} +3 -3
  19. package/dist/{chunk-GLGU2WFL.cjs → chunk-I6ZB3FZI.cjs} +1 -12
  20. package/dist/chunk-JCYWU5TO.js +92 -0
  21. package/dist/{chunk-7XKQJQF2.cjs → chunk-K4TWKF5U.cjs} +16 -16
  22. package/dist/{chunk-N527BTY4.cjs → chunk-K7LLERKT.cjs} +17 -17
  23. package/dist/chunk-KQKD3KB3.js +152 -0
  24. package/dist/{chunk-A5OCK3C2.js → chunk-L55CDXNI.js} +7 -7
  25. package/dist/chunk-LT6XHFXJ.cjs +185 -0
  26. package/dist/{chunk-URSKA2VR.js → chunk-MEYCZS32.js} +0 -11
  27. package/dist/{chunk-DFME724B.js → chunk-MHEL3NAN.js} +4 -4
  28. package/dist/{chunk-KWCHSIMI.cjs → chunk-MSMZBUZO.cjs} +13 -13
  29. package/dist/{chunk-27ZRTZEE.js → chunk-NFFL3E4N.js} +10 -10
  30. package/dist/{chunk-G7K652GC.js → chunk-NLASSGA7.js} +2 -2
  31. package/dist/{chunk-KOC3KQIT.js → chunk-NMAZ2TQF.js} +4 -4
  32. package/dist/{chunk-ZSLNGBDS.cjs → chunk-OX2YNMNS.cjs} +67 -67
  33. package/dist/{chunk-VZBWYWEI.cjs → chunk-PBR44KVV.cjs} +25 -25
  34. package/dist/{chunk-WR7YLDVV.cjs → chunk-PCWT2YBE.cjs} +3 -3
  35. package/dist/{chunk-BVJQ3UPZ.js → chunk-PPWXLZGL.js} +15 -15
  36. package/dist/{chunk-5Z4P6WHR.cjs → chunk-Q3D6KIVF.cjs} +11 -11
  37. package/dist/{chunk-X4HQ4H2V.js → chunk-SLUJFE6R.js} +16 -16
  38. package/dist/{chunk-4XPLPQLM.cjs → chunk-TVCS5UOE.cjs} +12 -12
  39. package/dist/{chunk-V4WDMM6Z.js → chunk-U3RDU3HU.js} +2 -2
  40. package/dist/{chunk-5RQ7AZPN.cjs → chunk-UORTYL63.cjs} +17 -17
  41. package/dist/{chunk-YKL6XHM6.js → chunk-UR6DNU2M.js} +10 -10
  42. package/dist/chunk-VSALV7VO.cjs +92 -0
  43. package/dist/{chunk-3FV4COTM.js → chunk-WJPQARJ5.js} +3 -3
  44. package/dist/{chunk-BFMTUMTU.js → chunk-XNNJM5DQ.js} +76 -76
  45. package/dist/{chunk-KPWZLUES.cjs → chunk-XWMB66ZM.cjs} +5 -5
  46. package/dist/{chunk-GI24YJPE.js → chunk-Y2B4XM3Y.js} +12 -12
  47. package/dist/{chunk-E2CWBQTV.js → chunk-YXPYOOHU.js} +1 -1
  48. package/dist/{chunk-7SEZGVTY.js → chunk-ZC35YYKS.js} +1 -1
  49. package/dist/components/alert/index.cjs +8 -7
  50. package/dist/components/alert/index.js +7 -6
  51. package/dist/components/button/index.cjs +9 -8
  52. package/dist/components/button/index.js +8 -7
  53. package/dist/components/card/index.cjs +6 -5
  54. package/dist/components/card/index.js +5 -4
  55. package/dist/components/checkbox/index.cjs +7 -6
  56. package/dist/components/checkbox/index.js +6 -5
  57. package/dist/components/chip/index.cjs +8 -7
  58. package/dist/components/chip/index.js +7 -6
  59. package/dist/components/divider/index.cjs +14 -0
  60. package/dist/components/divider/index.d.cts +117 -0
  61. package/dist/components/divider/index.d.ts +117 -0
  62. package/dist/components/divider/index.js +14 -0
  63. package/dist/components/input/index.cjs +5 -4
  64. package/dist/components/input/index.js +4 -3
  65. package/dist/components/input-group/index.cjs +7 -6
  66. package/dist/components/input-group/index.js +6 -5
  67. package/dist/components/input-otp/index.cjs +5 -4
  68. package/dist/components/input-otp/index.js +4 -3
  69. package/dist/components/radio/index.cjs +7 -6
  70. package/dist/components/radio/index.js +6 -5
  71. package/dist/components/skeleton/index.cjs +12 -0
  72. package/dist/components/skeleton/index.d.cts +120 -0
  73. package/dist/components/skeleton/index.d.ts +120 -0
  74. package/dist/components/skeleton/index.js +12 -0
  75. package/dist/components/spinner/index.cjs +6 -5
  76. package/dist/components/spinner/index.js +5 -4
  77. package/dist/components/switch/index.cjs +7 -6
  78. package/dist/components/switch/index.js +6 -5
  79. package/dist/components/text-area/index.cjs +6 -5
  80. package/dist/components/text-area/index.js +5 -4
  81. package/dist/components/typography/index.cjs +5 -4
  82. package/dist/components/typography/index.js +4 -3
  83. package/dist/components/view/index.cjs +5 -4
  84. package/dist/components/view/index.js +4 -3
  85. package/dist/index.cjs +43 -29
  86. package/dist/index.d.cts +2 -0
  87. package/dist/index.d.ts +2 -0
  88. package/dist/index.js +65 -51
  89. package/dist/system/index.cjs +12 -10
  90. package/dist/system/index.js +15 -13
  91. package/package.json +21 -1
@@ -1,15 +1,15 @@
1
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; }
2
2
 
3
- var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
3
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
4
4
 
5
5
 
6
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
6
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
7
7
 
8
8
 
9
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
9
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
10
10
 
11
11
 
12
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
12
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
13
13
 
14
14
  // src/components/typography/typography.tsx
15
15
  var _react = require('react');
@@ -76,12 +76,12 @@ var typographyRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
76
76
  var _jsxruntime = require('react/jsx-runtime');
77
77
  var Typography = _react.forwardRef.call(void 0, function Typography2({ children, variant, color, asChild = false, style, ...props }, ref) {
78
78
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
79
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
79
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
80
80
  const selection = { variant };
81
81
  const styles = typographyRecipe.resolve({ theme, selection });
82
82
  const tint = color ? typographyRecipe.tint({ theme, color, selection }) : void 0;
83
83
  const rootStyle = [styles.root, _optionalChain([tint, 'optionalAccess', _ => _.root]), styleProps, style];
84
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.Text;
84
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: rootStyle, ...rest, children });
86
86
  });
87
87
  Typography.displayName = "XAUI.Typography";
@@ -91,8 +91,8 @@ Typography.displayName = "XAUI.Typography";
91
91
 
92
92
 
93
93
  var TextSpan = _react.forwardRef.call(void 0, function TextSpan2({ children, asChild = false, style, ...props }, ref) {
94
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
95
- const Root = asChild ? _chunkZP2E2H2Gcjs.Slot : _reactnative.Text;
94
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
95
+ const Root = asChild ? _chunk54FJOKANcjs.Slot : _reactnative.Text;
96
96
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Root, { ref, style: [styleProps, style], ...rest, children });
97
97
  });
98
98
  TextSpan.displayName = "XAUI.TextSpan";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  CloseButton,
3
3
  closeButtonBase
4
- } from "./chunk-V4WDMM6Z.js";
4
+ } from "./chunk-U3RDU3HU.js";
5
5
  import {
6
6
  Icon
7
- } from "./chunk-3FV4COTM.js";
7
+ } from "./chunk-WJPQARJ5.js";
8
+ import {
9
+ Slot,
10
+ childrenToString,
11
+ createSlotContext
12
+ } from "./chunk-YXPYOOHU.js";
8
13
  import {
9
14
  createRecipe,
10
15
  radiusAxis
11
16
  } from "./chunk-4GTAZM2C.js";
17
+ import {
18
+ useStyleProps
19
+ } from "./chunk-MEYCZS32.js";
12
20
  import {
13
21
  useXAUITheme
14
22
  } from "./chunk-A3EGFI6T.js";
15
- import {
16
- Slot,
17
- childrenToString,
18
- createSlotContext
19
- } from "./chunk-E2CWBQTV.js";
20
- import {
21
- useStyleProps
22
- } from "./chunk-URSKA2VR.js";
23
23
 
24
24
  // src/components/alert/alert-close.tsx
25
25
  import { forwardRef } from "react";
@@ -1,10 +1,10 @@
1
- import { PressableFeedback } from "./chunk-BFMTUMTU.js";
2
- import { usePressState } from "./chunk-423RQBOX.js";
3
1
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
2
+ import { PressableFeedback } from "./chunk-XNNJM5DQ.js";
3
+ import { usePressState } from "./chunk-423RQBOX.js";
4
+ import { childrenToString, createSlotContext } from "./chunk-YXPYOOHU.js";
4
5
  import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
6
+ import { useStyleProps } from "./chunk-MEYCZS32.js";
5
7
  import { useXAUITheme } from "./chunk-A3EGFI6T.js";
6
- import { childrenToString, createSlotContext } from "./chunk-E2CWBQTV.js";
7
- import { useStyleProps } from "./chunk-URSKA2VR.js";
8
8
 
9
9
  // src/components/switch/switch-label.tsx
10
10
  import { forwardRef } from "react";
@@ -82,15 +82,15 @@ var SwitchThumb = forwardRef2(function SwitchThumb2({
82
82
  });
83
83
  });
84
84
  SwitchThumb.displayName = "XAUI.Switch.Thumb";
85
- const _worklet_9434778564924_init_data = {
86
- code: "function chunk6RVCGLKZJs1(){const{withTiming,isSelected,SWITCH_DURATION}=this.__closure;return withTiming(isSelected?1:0,{duration:SWITCH_DURATION});}",
87
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js",
88
- sourceMap: "{\"version\":3,\"names\":[\"chunk6RVCGLKZJs1\",\"withTiming\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js\"],\"mappings\":\"AA4FmC,SAAAA,gBAAMA,CAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAErC,MAAO,CAAAH,UAAU,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACtE\",\"ignoreList\":[]}"
85
+ const _worklet_10999954344565_init_data = {
86
+ code: "function chunkBA2MPBCOJs1(){const{withTiming,isSelected,SWITCH_DURATION}=this.__closure;return withTiming(isSelected?1:0,{duration:SWITCH_DURATION});}",
87
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js",
88
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBA2MPBCOJs1\",\"withTiming\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js\"],\"mappings\":\"AA4FmC,SAAAA,gBAAMA,CAAA,QAAAC,UAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAErC,MAAO,CAAAH,UAAU,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACtE\",\"ignoreList\":[]}"
89
89
  };
90
- const _worklet_15838651663966_init_data = {
91
- code: "function chunk6RVCGLKZJs2(){const{progress,distance,interpolateColor,colors}=this.__closure;return{transform:[{translateX:progress.value*distance}],backgroundColor:interpolateColor(progress.value,[0,1],[colors.off,colors.on])};}",
92
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js",
93
- sourceMap: "{\"version\":3,\"names\":[\"chunk6RVCGLKZJs2\",\"progress\",\"distance\",\"interpolateColor\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js\"],\"mappings\":\"AAgGyC,SAAAA,gBAAMA,CAAA,QAAAC,QAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,MAAA,OAAAC,SAAA,CAE3C,MAAO,CACLC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEN,QAAQ,CAACO,KAAK,CAAGN,QAAS,CAAC,CAAC,CACtDO,eAAe,CAAEN,gBAAgB,CAC/BF,QAAQ,CAACO,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACJ,MAAM,CAACM,GAAG,CAAEN,MAAM,CAACO,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
90
+ const _worklet_14174500173975_init_data = {
91
+ code: "function chunkBA2MPBCOJs2(){const{progress,distance,interpolateColor,colors}=this.__closure;return{transform:[{translateX:progress.value*distance}],backgroundColor:interpolateColor(progress.value,[0,1],[colors.off,colors.on])};}",
92
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js",
93
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBA2MPBCOJs2\",\"progress\",\"distance\",\"interpolateColor\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js\"],\"mappings\":\"AAgGyC,SAAAA,gBAAMA,CAAA,QAAAC,QAAA,CAAAC,QAAA,CAAAC,gBAAA,CAAAC,MAAA,OAAAC,SAAA,CAE3C,MAAO,CACLC,SAAS,CAAE,CAAC,CAAEC,UAAU,CAAEN,QAAQ,CAACO,KAAK,CAAGN,QAAS,CAAC,CAAC,CACtDO,eAAe,CAAEN,gBAAgB,CAC/BF,QAAQ,CAACO,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACJ,MAAM,CAACM,GAAG,CAAEN,MAAM,CAACO,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
94
94
  };
95
95
  var SlidingThumb = forwardRef2(function SlidingThumb2({
96
96
  style,
@@ -100,43 +100,43 @@ var SlidingThumb = forwardRef2(function SlidingThumb2({
100
100
  children,
101
101
  ...rest
102
102
  }, ref) {
103
- const progress = useDerivedValue(function chunk6RVCGLKZJs1Factory({
104
- _worklet_9434778564924_init_data,
103
+ const progress = useDerivedValue(function chunkBA2MPBCOJs1Factory({
104
+ _worklet_10999954344565_init_data,
105
105
  withTiming,
106
106
  isSelected,
107
107
  SWITCH_DURATION
108
108
  }) {
109
109
  const _e = [new global.Error(), -4, -27];
110
- const chunk6RVCGLKZJs1 = function () {
110
+ const chunkBA2MPBCOJs1 = function () {
111
111
  return withTiming(isSelected ? 1 : 0, {
112
112
  duration: SWITCH_DURATION
113
113
  });
114
114
  };
115
- chunk6RVCGLKZJs1.__closure = {
115
+ chunkBA2MPBCOJs1.__closure = {
116
116
  withTiming,
117
117
  isSelected,
118
118
  SWITCH_DURATION
119
119
  };
120
- chunk6RVCGLKZJs1.__workletHash = 9434778564924;
121
- chunk6RVCGLKZJs1.__pluginVersion = "0.7.4";
122
- chunk6RVCGLKZJs1.__initData = _worklet_9434778564924_init_data;
123
- chunk6RVCGLKZJs1.__stackDetails = _e;
124
- return chunk6RVCGLKZJs1;
120
+ chunkBA2MPBCOJs1.__workletHash = 10999954344565;
121
+ chunkBA2MPBCOJs1.__pluginVersion = "0.7.4";
122
+ chunkBA2MPBCOJs1.__initData = _worklet_10999954344565_init_data;
123
+ chunkBA2MPBCOJs1.__stackDetails = _e;
124
+ return chunkBA2MPBCOJs1;
125
125
  }({
126
- _worklet_9434778564924_init_data,
126
+ _worklet_10999954344565_init_data,
127
127
  withTiming,
128
128
  isSelected,
129
129
  SWITCH_DURATION
130
130
  }), [isSelected]);
131
- const animatedStyle = useAnimatedStyle(function chunk6RVCGLKZJs2Factory({
132
- _worklet_15838651663966_init_data,
131
+ const animatedStyle = useAnimatedStyle(function chunkBA2MPBCOJs2Factory({
132
+ _worklet_14174500173975_init_data,
133
133
  progress,
134
134
  distance,
135
135
  interpolateColor,
136
136
  colors
137
137
  }) {
138
138
  const _e = [new global.Error(), -5, -27];
139
- const chunk6RVCGLKZJs2 = function () {
139
+ const chunkBA2MPBCOJs2 = function () {
140
140
  return {
141
141
  transform: [{
142
142
  translateX: progress.value * distance
@@ -144,19 +144,19 @@ var SlidingThumb = forwardRef2(function SlidingThumb2({
144
144
  backgroundColor: interpolateColor(progress.value, [0, 1], [colors.off, colors.on])
145
145
  };
146
146
  };
147
- chunk6RVCGLKZJs2.__closure = {
147
+ chunkBA2MPBCOJs2.__closure = {
148
148
  progress,
149
149
  distance,
150
150
  interpolateColor,
151
151
  colors
152
152
  };
153
- chunk6RVCGLKZJs2.__workletHash = 15838651663966;
154
- chunk6RVCGLKZJs2.__pluginVersion = "0.7.4";
155
- chunk6RVCGLKZJs2.__initData = _worklet_15838651663966_init_data;
156
- chunk6RVCGLKZJs2.__stackDetails = _e;
157
- return chunk6RVCGLKZJs2;
153
+ chunkBA2MPBCOJs2.__workletHash = 14174500173975;
154
+ chunkBA2MPBCOJs2.__pluginVersion = "0.7.4";
155
+ chunkBA2MPBCOJs2.__initData = _worklet_14174500173975_init_data;
156
+ chunkBA2MPBCOJs2.__stackDetails = _e;
157
+ return chunkBA2MPBCOJs2;
158
158
  }({
159
- _worklet_15838651663966_init_data,
159
+ _worklet_14174500173975_init_data,
160
160
  progress,
161
161
  distance,
162
162
  interpolateColor,
@@ -208,15 +208,15 @@ var SwitchTrack = forwardRef3(function SwitchTrack2({
208
208
  });
209
209
  });
210
210
  SwitchTrack.displayName = "XAUI.Switch.Track";
211
- const _worklet_7056859902782_init_data = {
212
- code: "function chunk6RVCGLKZJs3(){const{withTiming2,isSelected,SWITCH_DURATION}=this.__closure;return withTiming2(isSelected?1:0,{duration:SWITCH_DURATION});}",
213
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js",
214
- sourceMap: "{\"version\":3,\"names\":[\"chunk6RVCGLKZJs3\",\"withTiming2\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js\"],\"mappings\":\"AAqJoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEtC,MAAO,CAAAH,WAAW,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACvE\",\"ignoreList\":[]}"
211
+ const _worklet_10428863279863_init_data = {
212
+ code: "function chunkBA2MPBCOJs3(){const{withTiming2,isSelected,SWITCH_DURATION}=this.__closure;return withTiming2(isSelected?1:0,{duration:SWITCH_DURATION});}",
213
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js",
214
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBA2MPBCOJs3\",\"withTiming2\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js\"],\"mappings\":\"AAqJoC,SAAAA,gBAAMA,CAAA,QAAAC,WAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAEtC,MAAO,CAAAH,WAAW,CAACC,UAAU,CAAG,CAAC,CAAG,CAAC,CAAE,CAAEG,QAAQ,CAAEF,eAAgB,CAAC,CAAC,CACvE\",\"ignoreList\":[]}"
215
215
  };
216
- const _worklet_14010658373272_init_data = {
217
- code: "function chunk6RVCGLKZJs4(){const{interpolateColor2,progress,colors}=this.__closure;return{backgroundColor:interpolateColor2(progress.value,[0,1],[colors.off,colors.on])};}",
218
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js",
219
- sourceMap: "{\"version\":3,\"names\":[\"chunk6RVCGLKZJs4\",\"interpolateColor2\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-6RVCGLKZ.js\"],\"mappings\":\"AAyJ0C,SAAAA,gBAAMA,CAAA,QAAAC,iBAAA,CAAAC,QAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,MAAO,CACLC,eAAe,CAAEJ,iBAAiB,CAChCC,QAAQ,CAACI,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACH,MAAM,CAACI,GAAG,CAAEJ,MAAM,CAACK,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
216
+ const _worklet_9635834527825_init_data = {
217
+ code: "function chunkBA2MPBCOJs4(){const{interpolateColor2,progress,colors}=this.__closure;return{backgroundColor:interpolateColor2(progress.value,[0,1],[colors.off,colors.on])};}",
218
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js",
219
+ sourceMap: "{\"version\":3,\"names\":[\"chunkBA2MPBCOJs4\",\"interpolateColor2\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-BA2MPBCO.js\"],\"mappings\":\"AAyJ0C,SAAAA,gBAAMA,CAAA,QAAAC,iBAAA,CAAAC,QAAA,CAAAC,MAAA,OAAAC,SAAA,CAE5C,MAAO,CACLC,eAAe,CAAEJ,iBAAiB,CAChCC,QAAQ,CAACI,KAAK,CACd,CAAC,CAAC,CAAE,CAAC,CAAC,CACN,CAACH,MAAM,CAACI,GAAG,CAAEJ,MAAM,CAACK,EAAE,CACxB,CACF,CAAC,CACH\",\"ignoreList\":[]}"
220
220
  };
221
221
  var CrossfadingTrack = forwardRef3(function CrossfadingTrack2({
222
222
  style,
@@ -225,58 +225,58 @@ var CrossfadingTrack = forwardRef3(function CrossfadingTrack2({
225
225
  children,
226
226
  ...rest
227
227
  }, ref) {
228
- const progress = useDerivedValue2(function chunk6RVCGLKZJs3Factory({
229
- _worklet_7056859902782_init_data,
228
+ const progress = useDerivedValue2(function chunkBA2MPBCOJs3Factory({
229
+ _worklet_10428863279863_init_data,
230
230
  withTiming2,
231
231
  isSelected,
232
232
  SWITCH_DURATION
233
233
  }) {
234
234
  const _e = [new global.Error(), -4, -27];
235
- const chunk6RVCGLKZJs3 = function () {
235
+ const chunkBA2MPBCOJs3 = function () {
236
236
  return withTiming2(isSelected ? 1 : 0, {
237
237
  duration: SWITCH_DURATION
238
238
  });
239
239
  };
240
- chunk6RVCGLKZJs3.__closure = {
240
+ chunkBA2MPBCOJs3.__closure = {
241
241
  withTiming2,
242
242
  isSelected,
243
243
  SWITCH_DURATION
244
244
  };
245
- chunk6RVCGLKZJs3.__workletHash = 7056859902782;
246
- chunk6RVCGLKZJs3.__pluginVersion = "0.7.4";
247
- chunk6RVCGLKZJs3.__initData = _worklet_7056859902782_init_data;
248
- chunk6RVCGLKZJs3.__stackDetails = _e;
249
- return chunk6RVCGLKZJs3;
245
+ chunkBA2MPBCOJs3.__workletHash = 10428863279863;
246
+ chunkBA2MPBCOJs3.__pluginVersion = "0.7.4";
247
+ chunkBA2MPBCOJs3.__initData = _worklet_10428863279863_init_data;
248
+ chunkBA2MPBCOJs3.__stackDetails = _e;
249
+ return chunkBA2MPBCOJs3;
250
250
  }({
251
- _worklet_7056859902782_init_data,
251
+ _worklet_10428863279863_init_data,
252
252
  withTiming2,
253
253
  isSelected,
254
254
  SWITCH_DURATION
255
255
  }), [isSelected]);
256
- const animatedStyle = useAnimatedStyle2(function chunk6RVCGLKZJs4Factory({
257
- _worklet_14010658373272_init_data,
256
+ const animatedStyle = useAnimatedStyle2(function chunkBA2MPBCOJs4Factory({
257
+ _worklet_9635834527825_init_data,
258
258
  interpolateColor2,
259
259
  progress,
260
260
  colors
261
261
  }) {
262
262
  const _e = [new global.Error(), -4, -27];
263
- const chunk6RVCGLKZJs4 = function () {
263
+ const chunkBA2MPBCOJs4 = function () {
264
264
  return {
265
265
  backgroundColor: interpolateColor2(progress.value, [0, 1], [colors.off, colors.on])
266
266
  };
267
267
  };
268
- chunk6RVCGLKZJs4.__closure = {
268
+ chunkBA2MPBCOJs4.__closure = {
269
269
  interpolateColor2,
270
270
  progress,
271
271
  colors
272
272
  };
273
- chunk6RVCGLKZJs4.__workletHash = 14010658373272;
274
- chunk6RVCGLKZJs4.__pluginVersion = "0.7.4";
275
- chunk6RVCGLKZJs4.__initData = _worklet_14010658373272_init_data;
276
- chunk6RVCGLKZJs4.__stackDetails = _e;
277
- return chunk6RVCGLKZJs4;
273
+ chunkBA2MPBCOJs4.__workletHash = 9635834527825;
274
+ chunkBA2MPBCOJs4.__pluginVersion = "0.7.4";
275
+ chunkBA2MPBCOJs4.__initData = _worklet_9635834527825_init_data;
276
+ chunkBA2MPBCOJs4.__stackDetails = _e;
277
+ return chunkBA2MPBCOJs4;
278
278
  }({
279
- _worklet_14010658373272_init_data,
279
+ _worklet_9635834527825_init_data,
280
280
  interpolateColor2,
281
281
  progress,
282
282
  colors
@@ -5,27 +5,27 @@
5
5
 
6
6
 
7
7
 
8
- var _chunk5Z4P6WHRcjs = require('./chunk-5Z4P6WHR.cjs');
8
+ var _chunkQ3D6KIVFcjs = require('./chunk-Q3D6KIVF.cjs');
9
9
 
10
10
 
11
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
11
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
12
12
 
13
13
 
14
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
14
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
15
15
 
16
16
  // src/components/text-area/text-area-field.tsx
17
17
  var _react = require('react');
18
18
 
19
19
  // src/components/text-area/text-area.context.ts
20
- var [TextAreaProvider, useTextArea] = _chunkZP2E2H2Gcjs.createSlotContext.call(void 0, "TextArea");
20
+ var [TextAreaProvider, useTextArea] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "TextArea");
21
21
 
22
22
  // src/components/text-area/text-area-field.tsx
23
23
  var _jsxruntime = require('react/jsx-runtime');
24
24
  var TextAreaField = _react.forwardRef.call(void 0,
25
25
  function TextAreaField2({ style, scrollEnabled, ...props }, ref) {
26
- const { textAreaStyle, textArea } = _chunk5Z4P6WHRcjs.useInput.call(void 0, );
26
+ const { textAreaStyle, textArea } = _chunkQ3D6KIVFcjs.useInput.call(void 0, );
27
27
  const { rows, maxRows } = useTextArea();
28
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
28
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
29
29
  const height = _react.useMemo.call(void 0, () => {
30
30
  const chrome = textArea.paddingVertical * 2;
31
31
  return {
@@ -37,7 +37,7 @@ var TextAreaField = _react.forwardRef.call(void 0,
37
37
  };
38
38
  }, [rows, maxRows, textArea]);
39
39
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunk5Z4P6WHRcjs.InputField,
40
+ _chunkQ3D6KIVFcjs.InputField,
41
41
  {
42
42
  ref,
43
43
  multiline: true,
@@ -56,16 +56,16 @@ TextAreaField.displayName = "XAUI.TextArea.Field";
56
56
  var DEFAULT_ROWS = 3;
57
57
  var TextAreaRoot = _react.forwardRef.call(void 0, function TextArea({ rows = DEFAULT_ROWS, maxRows, children, ...props }, ref) {
58
58
  const context = _react.useMemo.call(void 0, () => ({ rows, maxRows }), [rows, maxRows]);
59
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5Z4P6WHRcjs.InputRoot, { ref, ...props, children }) });
59
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TextAreaProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ3D6KIVFcjs.InputRoot, { ref, ...props, children }) });
60
60
  });
61
61
  TextAreaRoot.displayName = "XAUI.TextArea.Root";
62
62
 
63
63
  // src/components/text-area/index.ts
64
64
  var TextArea2 = Object.assign(TextAreaRoot, {
65
- Label: _chunk5Z4P6WHRcjs.InputLabel,
65
+ Label: _chunkQ3D6KIVFcjs.InputLabel,
66
66
  Field: TextAreaField,
67
- Description: _chunk5Z4P6WHRcjs.InputDescription,
68
- Error: _chunk5Z4P6WHRcjs.InputError
67
+ Description: _chunkQ3D6KIVFcjs.InputDescription,
68
+ Error: _chunkQ3D6KIVFcjs.InputError
69
69
  });
70
70
 
71
71
 
@@ -3,41 +3,41 @@
3
3
  var _chunkF6CQ6CBIcjs = require('./chunk-F6CQ6CBI.cjs');
4
4
 
5
5
 
6
- var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
6
+ var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
7
7
 
8
8
 
9
- var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
9
+ var _chunk6M7RUU7Vcjs = require('./chunk-6M7RUU7V.cjs');
10
10
 
11
11
 
12
- var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
12
+ var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
16
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
17
17
 
18
18
 
19
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
20
19
 
20
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
21
21
 
22
22
 
23
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
23
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
24
24
 
25
25
 
26
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
26
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
27
27
 
28
28
  // src/components/checkbox/checkbox-indicator.tsx
29
29
  var _react = require('react');
30
30
  var _reactnative = require('react-native');
31
31
 
32
32
  // src/components/checkbox/checkbox.context.ts
33
- var [CheckboxProvider, useCheckbox] = _chunkZP2E2H2Gcjs.createSlotContext.call(void 0, "Checkbox");
33
+ var [CheckboxProvider, useCheckbox] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "Checkbox");
34
34
 
35
35
  // src/components/checkbox/checkbox-indicator.tsx
36
36
  var _jsxruntime = require('react/jsx-runtime');
37
37
  var CheckboxIndicator = _react.forwardRef.call(void 0,
38
38
  function CheckboxIndicator2({ children, animation = true, style, ...props }, ref) {
39
39
  const { indicatorStyle, fillStyle, isSelected, isIndeterminate } = useCheckbox();
40
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
40
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
41
41
  const isFilled = isSelected || isIndeterminate;
42
42
  const mark = _nullishCoalesce(children, () => ( (isIndeterminate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Dash, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Check, {}))));
43
43
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, ...rest, style: [indicatorStyle, styleProps, style], children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6CQ6CBIcjs.SelectionFill, { isVisible: isFilled, style: fillStyle, animation, children: mark }) });
@@ -60,7 +60,7 @@ function Dash() {
60
60
  var CheckboxLabel = _react.forwardRef.call(void 0,
61
61
  function CheckboxLabel2({ children, style, ...props }, ref) {
62
62
  const { labelStyle } = useCheckbox();
63
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
63
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
64
64
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [labelStyle, styleProps, style], ...rest, children });
65
65
  }
66
66
  );
@@ -250,7 +250,7 @@ var CheckboxRoot = _react.forwardRef.call(void 0, function Checkbox({
250
250
  ...props
251
251
  }, ref) {
252
252
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
253
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
253
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
254
254
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
255
255
  const [selected, setSelected] = _chunk7EIHHOHPcjs.useControllableState.call(void 0, {
256
256
  value: isSelected,
@@ -297,13 +297,13 @@ var CheckboxRoot = _react.forwardRef.call(void 0, function Checkbox({
297
297
  styleProps,
298
298
  typeof style === "function" ? style({ pressed: isPressed }) : style
299
299
  ];
300
- const text = _chunkZP2E2H2Gcjs.childrenToString.call(void 0, children);
300
+ const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
301
301
  const content = text !== null ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
302
302
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxIndicator, {}),
303
303
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxLabel, { children: text })
304
304
  ] }) : _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxIndicator, {})));
305
305
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CheckboxProvider, { value: context, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
306
- _chunkGPVNCJ3Zcjs.PressableFeedback,
306
+ _chunk6M7RUU7Vcjs.PressableFeedback,
307
307
  {
308
308
  ref,
309
309
  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(); } }
2
2
 
3
- var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
3
+ var _chunk6M7RUU7Vcjs = require('./chunk-6M7RUU7V.cjs');
4
4
 
5
5
 
6
6
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
@@ -9,7 +9,7 @@ var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
9
9
  var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
10
10
 
11
11
 
12
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
12
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
13
13
 
14
14
  // src/system/close-button/close-button.tsx
15
15
  var _react = require('react');
@@ -37,7 +37,7 @@ var CloseButton = _react.forwardRef.call(void 0, function CloseButton2({
37
37
  onPressOut,
38
38
  ...props
39
39
  }, ref) {
40
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
40
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
41
41
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
42
42
  if (!rest.accessibilityLabel && !rest["aria-label"]) {
43
43
  _chunkEJQCQPETcjs.warnDev.call(void 0,
@@ -45,7 +45,7 @@ var CloseButton = _react.forwardRef.call(void 0, function CloseButton2({
45
45
  );
46
46
  }
47
47
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
48
- _chunkGPVNCJ3Zcjs.PressableFeedback,
48
+ _chunk6M7RUU7Vcjs.PressableFeedback,
49
49
  {
50
50
  ref,
51
51
  isPressed,
@@ -1,41 +1,41 @@
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
3
 
4
- var _chunkTGZZ3RZUcjs = require('./chunk-TGZZ3RZU.cjs');
4
+ var _chunkCYS6U374cjs = require('./chunk-CYS6U374.cjs');
5
5
 
6
6
 
7
- var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
7
+ var _chunk6M7RUU7Vcjs = require('./chunk-6M7RUU7V.cjs');
8
8
 
9
9
 
10
10
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
11
11
 
12
12
 
13
- var _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
13
+ var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
14
14
 
15
15
 
16
- var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
16
+ var _chunkPCWT2YBEcjs = require('./chunk-PCWT2YBE.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
21
20
 
21
+ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
22
22
 
23
- var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
24
23
 
25
24
 
25
+ var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
26
26
 
27
27
 
28
- var _chunkZP2E2H2Gcjs = require('./chunk-ZP2E2H2G.cjs');
28
+ var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
29
29
 
30
30
 
31
- var _chunkGLGU2WFLcjs = require('./chunk-GLGU2WFL.cjs');
31
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
32
32
 
33
33
  // src/components/chip/chip-avatar.tsx
34
34
  var _react = require('react');
35
35
  var _reactnative = require('react-native');
36
36
 
37
37
  // src/components/chip/chip.context.ts
38
- var [ChipProvider, useChip] = _chunkZP2E2H2Gcjs.createSlotContext.call(void 0, "Chip");
38
+ var [ChipProvider, useChip] = _chunk54FJOKANcjs.createSlotContext.call(void 0, "Chip");
39
39
 
40
40
  // src/components/chip/chip.style.ts
41
41
 
@@ -47,7 +47,7 @@ var chipSheet = _reactnative.StyleSheet.create({
47
47
  var _jsxruntime = require('react/jsx-runtime');
48
48
  var ChipAvatar = _react.forwardRef.call(void 0, function ChipAvatar2({ children, source, style, ...props }, ref) {
49
49
  const { avatarStyle } = useChip();
50
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
50
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
51
51
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [avatarStyle, styleProps, style], ...rest, children: source ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Image, { source, style: chipSheet.avatarImage }) : children });
52
52
  });
53
53
  ChipAvatar.displayName = "XAUI.Chip.Avatar";
@@ -58,7 +58,7 @@ ChipAvatar.displayName = "XAUI.Chip.Avatar";
58
58
  var ChipClose = _react.forwardRef.call(void 0, function ChipClose2({ isDisabled, ...props }, ref) {
59
59
  const { closeStyle, closeGlyphStyle, isDisabled: isChipDisabled } = useChip();
60
60
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
61
- _chunkTGZZ3RZUcjs.CloseButton,
61
+ _chunkCYS6U374cjs.CloseButton,
62
62
  {
63
63
  ref,
64
64
  name: "Chip.Close",
@@ -77,7 +77,7 @@ ChipClose.displayName = "XAUI.Chip.Close";
77
77
 
78
78
  var ChipDot = _react.forwardRef.call(void 0, function ChipDot2({ style, ...props }, ref) {
79
79
  const { dotStyle } = useChip();
80
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
80
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
81
81
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [dotStyle, styleProps, style], ...rest });
82
82
  });
83
83
  ChipDot.displayName = "XAUI.Chip.Dot";
@@ -86,7 +86,7 @@ ChipDot.displayName = "XAUI.Chip.Dot";
86
86
 
87
87
  function ChipIcon({ size, color, ...rest }) {
88
88
  const { icon } = useChip();
89
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWR7YLDVVcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
89
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPCWT2YBEcjs.Icon, { size: _nullishCoalesce(size, () => ( icon.size)), color: _nullishCoalesce(color, () => ( icon.color)), ...rest });
90
90
  }
91
91
  ChipIcon.displayName = "XAUI.Chip.Icon";
92
92
 
@@ -96,7 +96,7 @@ ChipIcon.displayName = "XAUI.Chip.Icon";
96
96
 
97
97
  var ChipLabel = _react.forwardRef.call(void 0, function ChipLabel2({ children, style, numberOfLines = 1, ...props }, ref) {
98
98
  const { labelStyle } = useChip();
99
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
99
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
100
100
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
101
101
  _reactnative.Text,
102
102
  {
@@ -242,7 +242,7 @@ var chipRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
242
242
  // The cross's own geometry — thickness and centring — belongs to the shared
243
243
  // `CloseButton`; what stays below is the box and bar size this component's scale sets.
244
244
  base: (theme) => ({
245
- ..._chunkTGZZ3RZUcjs.closeButtonBase.call(void 0, theme),
245
+ ..._chunkCYS6U374cjs.closeButtonBase.call(void 0, theme),
246
246
  root: {
247
247
  // A chip hugs its content where a `Button` fills its column. The difference is what
248
248
  // the two are: a button is a control the layout sizes, a chip is a token *about*
@@ -334,7 +334,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
334
334
  ...props
335
335
  }, ref) {
336
336
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
337
- const [styleProps, rest] = _chunkGLGU2WFLcjs.useStyleProps.call(void 0, props);
337
+ const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
338
338
  const [isPressed, press] = _chunk7DPL3ZDScjs.usePressState.call(void 0, { onPressIn, onPressOut });
339
339
  const selection = { variant, size, radius };
340
340
  const states = { pressed: isPressed, disabled: isDisabled };
@@ -363,7 +363,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
363
363
  styleProps,
364
364
  typeof style === "function" ? style({ pressed: isPressed }) : style
365
365
  ];
366
- const text = _chunkZP2E2H2Gcjs.childrenToString.call(void 0, children);
366
+ const text = _chunk54FJOKANcjs.childrenToString.call(void 0, children);
367
367
  const content = text !== null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChipLabel, { children: text }) : children;
368
368
  if (!isPressable && !asChild && (onPressIn || onPressOut || rest.onPress || rest.onLongPress)) {
369
369
  _chunkEJQCQPETcjs.warnDev.call(void 0,
@@ -371,7 +371,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
371
371
  );
372
372
  }
373
373
  const surface = isPressable ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
374
- _chunkGPVNCJ3Zcjs.PressableFeedback,
374
+ _chunk6M7RUU7Vcjs.PressableFeedback,
375
375
  {
376
376
  ref,
377
377
  isPressed,
@@ -390,7 +390,7 @@ var ChipRoot = _react.forwardRef.call(void 0, function Chip({
390
390
  // R12 — the caller's element is the chip, so it takes the children it was written
391
391
  // with and the auto-wrap does not apply.
392
392
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
393
- _chunkZP2E2H2Gcjs.Slot,
393
+ _chunk54FJOKANcjs.Slot,
394
394
  {
395
395
  ref,
396
396
  accessibilityRole,