@xaui/native 0.9.1-alpha.35 → 0.9.1-alpha.36

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 (107) hide show
  1. package/dist/{chunk-I66VMLHE.cjs → chunk-2L7FOIWY.cjs} +21 -21
  2. package/dist/{chunk-VSALV7VO.cjs → chunk-2LNE4PWB.cjs} +2 -2
  3. package/dist/{chunk-HVD5EX7V.js → chunk-2OZPOWFB.js} +1 -1
  4. package/dist/{chunk-6M7RUU7V.cjs → chunk-2SCE7TFZ.cjs} +64 -64
  5. package/dist/{chunk-L55CDXNI.js → chunk-3YZSUDZ2.js} +108 -102
  6. package/dist/{chunk-NLASSGA7.js → chunk-4XFEEBPU.js} +10 -2
  7. package/dist/{chunk-4SLOOIE5.cjs → chunk-5BNIIDQD.cjs} +2 -2
  8. package/dist/{chunk-HXL2QCMR.js → chunk-5GMU7ESV.js} +14 -14
  9. package/dist/{chunk-Q3D6KIVF.cjs → chunk-6N5ZCEAB.cjs} +104 -98
  10. package/dist/{chunk-GBFQZQ77.js → chunk-6U5IUUAR.js} +2 -2
  11. package/dist/{chunk-XWMB66ZM.cjs → chunk-ADQVA2FQ.cjs} +2 -2
  12. package/dist/{chunk-YUG22AXX.cjs → chunk-AQXNEV6J.cjs} +16 -16
  13. package/dist/{chunk-CNNLMMFV.cjs → chunk-AZRMOWRG.cjs} +6 -6
  14. package/dist/{chunk-JCYWU5TO.js → chunk-B6OKVLC7.js} +1 -1
  15. package/dist/{chunk-M2BGCN77.js → chunk-BAPXLO5N.js} +4 -4
  16. package/dist/{chunk-MHEL3NAN.js → chunk-CVCE7TW5.js} +53 -53
  17. package/dist/{chunk-BA2MPBCO.js → chunk-DL2PGB5G.js} +58 -58
  18. package/dist/{chunk-NFFL3E4N.js → chunk-DOLWSO7A.js} +2 -2
  19. package/dist/{chunk-ZA6RT3XQ.js → chunk-E5ZW7MBW.js} +16 -16
  20. package/dist/{chunk-K7LLERKT.cjs → chunk-EFPWXJAJ.cjs} +11 -11
  21. package/dist/{chunk-GGW42MY4.js → chunk-FJ5TLRT3.js} +2 -1
  22. package/dist/{chunk-CYS6U374.cjs → chunk-FVKIQBHS.cjs} +4 -4
  23. package/dist/{chunk-PBR44KVV.cjs → chunk-FYCDRRJ2.cjs} +22 -22
  24. package/dist/{chunk-DBXFFJTC.cjs → chunk-GHKJ6MUH.cjs} +8 -8
  25. package/dist/{chunk-QY4MN7X3.cjs → chunk-GPZSTEEI.cjs} +12 -12
  26. package/dist/{chunk-OHEHPQLC.cjs → chunk-HQVVQGYV.cjs} +2 -2
  27. package/dist/{chunk-MC7SY2QH.cjs → chunk-HT7H35GU.cjs} +2 -1
  28. package/dist/{chunk-PCWT2YBE.cjs → chunk-ISPOIMGX.cjs} +2 -2
  29. package/dist/{chunk-TZG3DERP.js → chunk-JB5XANQY.js} +1 -1
  30. package/dist/{chunk-I6ZB3FZI.cjs → chunk-K3AVOT6L.cjs} +2 -2
  31. package/dist/{chunk-AYOVBZAX.js → chunk-K7GAHNMJ.js} +3 -3
  32. package/dist/{chunk-2IWL6R3D.js → chunk-KZVHC4FL.js} +3 -3
  33. package/dist/{chunk-AOEXU5UV.cjs → chunk-LCDHTLSG.cjs} +3 -3
  34. package/dist/{chunk-UORTYL63.cjs → chunk-MFXZHLOU.cjs} +11 -11
  35. package/dist/{chunk-MSMZBUZO.cjs → chunk-N2U63JUX.cjs} +6 -6
  36. package/dist/{chunk-SLUJFE6R.js → chunk-OMV5MUTM.js} +15 -15
  37. package/dist/{chunk-MEYCZS32.js → chunk-OSCW7I4H.js} +1 -1
  38. package/dist/{chunk-WJPQARJ5.js → chunk-OWE5IID7.js} +1 -1
  39. package/dist/{chunk-DUQUCOUY.cjs → chunk-PGQWUASE.cjs} +2 -2
  40. package/dist/{chunk-LZK77LFX.js → chunk-QZO57TPX.js} +1 -1
  41. package/dist/{chunk-7CTIE42J.cjs → chunk-RPOKLFRB.cjs} +16 -8
  42. package/dist/{chunk-U3RDU3HU.js → chunk-RSGIJ6RI.js} +2 -2
  43. package/dist/{chunk-UR6DNU2M.js → chunk-SAGMDVFU.js} +2 -2
  44. package/dist/{chunk-CM4LI5OH.cjs → chunk-TE7KVFE4.cjs} +9 -9
  45. package/dist/{chunk-NMAZ2TQF.js → chunk-U3HFQHGZ.js} +1 -1
  46. package/dist/{chunk-XNNJM5DQ.js → chunk-UCW25LL6.js} +75 -75
  47. package/dist/{chunk-ZC35YYKS.js → chunk-V5IVMZQJ.js} +1 -1
  48. package/dist/{chunk-HNW4HIMO.js → chunk-VWATEE5O.js} +15 -15
  49. package/dist/{chunk-TVCS5UOE.cjs → chunk-XARBUUIE.cjs} +49 -49
  50. package/dist/{chunk-OX2YNMNS.cjs → chunk-ZU3XQZ63.cjs} +63 -63
  51. package/dist/components/alert/index.cjs +7 -7
  52. package/dist/components/alert/index.js +6 -6
  53. package/dist/components/avatar/index.cjs +5 -5
  54. package/dist/components/avatar/index.js +4 -4
  55. package/dist/components/badge/index.cjs +4 -4
  56. package/dist/components/badge/index.js +3 -3
  57. package/dist/components/button/index.cjs +6 -6
  58. package/dist/components/button/index.js +5 -5
  59. package/dist/components/card/index.cjs +5 -5
  60. package/dist/components/card/index.js +4 -4
  61. package/dist/components/checkbox/index.cjs +5 -5
  62. package/dist/components/checkbox/index.js +4 -4
  63. package/dist/components/chip/index.cjs +7 -7
  64. package/dist/components/chip/index.js +6 -6
  65. package/dist/components/divider/index.cjs +4 -4
  66. package/dist/components/divider/index.js +3 -3
  67. package/dist/components/field-group/index.cjs +28 -0
  68. package/dist/components/{input-group → field-group}/index.d.cts +60 -60
  69. package/dist/components/{input-group → field-group}/index.d.ts +60 -60
  70. package/dist/components/field-group/index.js +28 -0
  71. package/dist/components/input-otp/index.cjs +4 -4
  72. package/dist/components/input-otp/index.js +3 -3
  73. package/dist/components/radio/index.cjs +5 -5
  74. package/dist/components/radio/index.js +4 -4
  75. package/dist/components/skeleton/index.cjs +4 -4
  76. package/dist/components/skeleton/index.js +3 -3
  77. package/dist/components/spinner/index.cjs +4 -4
  78. package/dist/components/spinner/index.js +3 -3
  79. package/dist/components/switch/index.cjs +5 -5
  80. package/dist/components/switch/index.js +4 -4
  81. package/dist/components/text-area/index.cjs +5 -5
  82. package/dist/components/text-area/index.d.cts +10 -10
  83. package/dist/components/text-area/index.d.ts +10 -10
  84. package/dist/components/text-area/index.js +4 -4
  85. package/dist/components/text-field/index.cjs +26 -0
  86. package/dist/components/{input → text-field}/index.d.cts +43 -43
  87. package/dist/components/{input → text-field}/index.d.ts +43 -43
  88. package/dist/components/text-field/index.js +26 -0
  89. package/dist/components/typography/index.cjs +4 -4
  90. package/dist/components/typography/index.js +3 -3
  91. package/dist/components/view/index.cjs +4 -4
  92. package/dist/components/view/index.js +3 -3
  93. package/dist/index.cjs +26 -26
  94. package/dist/index.d.cts +3 -3
  95. package/dist/index.d.ts +3 -3
  96. package/dist/index.js +60 -60
  97. package/dist/system/index.cjs +7 -7
  98. package/dist/system/index.js +6 -6
  99. package/dist/{input.type-D2qgi03E.d.ts → text-field.type-0l73acce.d.ts} +24 -24
  100. package/dist/{input.type-BUMDlzL9.d.cts → text-field.type-DBh06DU5.d.cts} +24 -24
  101. package/dist/theme/index.cjs +3 -3
  102. package/dist/theme/index.js +2 -2
  103. package/package.json +16 -16
  104. package/dist/components/input/index.cjs +0 -26
  105. package/dist/components/input/index.js +0 -26
  106. package/dist/components/input-group/index.cjs +0 -28
  107. package/dist/components/input-group/index.js +0 -28
@@ -1,25 +1,25 @@
1
1
  import {
2
- InputField,
3
- useInput
4
- } from "./chunk-L55CDXNI.js";
2
+ TextFieldField,
3
+ useTextField
4
+ } from "./chunk-3YZSUDZ2.js";
5
5
  import {
6
6
  Icon
7
- } from "./chunk-WJPQARJ5.js";
7
+ } from "./chunk-OWE5IID7.js";
8
8
  import {
9
9
  Slot,
10
10
  createSlotContext
11
11
  } from "./chunk-YXPYOOHU.js";
12
12
  import {
13
13
  useStyleProps
14
- } from "./chunk-MEYCZS32.js";
14
+ } from "./chunk-OSCW7I4H.js";
15
15
 
16
- // src/components/input-group/input-group-field.tsx
16
+ // src/components/field-group/field-group-field.tsx
17
17
  import { forwardRef, useMemo } from "react";
18
18
 
19
- // src/components/input-group/input-group.context.ts
20
- var [InputGroupProvider, useInputGroup] = createSlotContext("InputGroup");
19
+ // src/components/field-group/field-group.context.ts
20
+ var [FieldGroupProvider, useFieldGroup] = createSlotContext("FieldGroup");
21
21
 
22
- // src/components/input-group/input-group.utils.ts
22
+ // src/components/field-group/field-group.utils.ts
23
23
  function decoratorPadding(prefixWidth, suffixWidth) {
24
24
  const paddingStart = prefixWidth > 0 ? prefixWidth : void 0;
25
25
  const paddingEnd = suffixWidth > 0 ? suffixWidth : void 0;
@@ -27,39 +27,39 @@ function decoratorPadding(prefixWidth, suffixWidth) {
27
27
  return { paddingStart, paddingEnd };
28
28
  }
29
29
 
30
- // src/components/input-group/input-group-field.tsx
30
+ // src/components/field-group/field-group-field.tsx
31
31
  import { jsx } from "react/jsx-runtime";
32
- var InputGroupField = forwardRef(
33
- function InputGroupField2({ style, ...props }, ref) {
34
- const { prefixWidth, suffixWidth } = useInputGroup();
32
+ var FieldGroupField = forwardRef(
33
+ function FieldGroupField2({ style, ...props }, ref) {
34
+ const { prefixWidth, suffixWidth } = useFieldGroup();
35
35
  const padding = useMemo(
36
36
  () => decoratorPadding(prefixWidth, suffixWidth),
37
37
  [prefixWidth, suffixWidth]
38
38
  );
39
- return /* @__PURE__ */ jsx(InputField, { ref, ...props, style: [padding, style] });
39
+ return /* @__PURE__ */ jsx(TextFieldField, { ref, ...props, style: [padding, style] });
40
40
  }
41
41
  );
42
- InputGroupField.displayName = "XAUI.InputGroup.Field";
42
+ FieldGroupField.displayName = "XAUI.FieldGroup.Field";
43
43
 
44
- // src/components/input-group/input-group-icon.tsx
44
+ // src/components/field-group/field-group-icon.tsx
45
45
  import { jsx as jsx2 } from "react/jsx-runtime";
46
- function InputGroupIcon({ size, color, ...rest }) {
47
- const { icon } = useInput();
46
+ function FieldGroupIcon({ size, color, ...rest }) {
47
+ const { icon } = useTextField();
48
48
  return /* @__PURE__ */ jsx2(Icon, { size: size ?? icon.size, color: color ?? icon.color, ...rest });
49
49
  }
50
- InputGroupIcon.displayName = "XAUI.InputGroup.Icon";
50
+ FieldGroupIcon.displayName = "XAUI.FieldGroup.Icon";
51
51
 
52
- // src/components/input-group/input-group-prefix.tsx
52
+ // src/components/field-group/field-group-prefix.tsx
53
53
  import { forwardRef as forwardRef3 } from "react";
54
54
 
55
- // src/components/input-group/input-group-decorator.tsx
55
+ // src/components/field-group/field-group-decorator.tsx
56
56
  import { forwardRef as forwardRef2, useCallback } from "react";
57
57
  import { View } from "react-native";
58
58
  import { jsx as jsx3 } from "react/jsx-runtime";
59
- var InputGroupDecorator = forwardRef2(
60
- function InputGroupDecorator2({ side, children, isDecorative = false, onLayout, style, ...props }, ref) {
61
- const { prefixStyle, suffixStyle, isDisabled } = useInput();
62
- const { setPrefixWidth, setSuffixWidth } = useInputGroup();
59
+ var FieldGroupDecorator = forwardRef2(
60
+ function FieldGroupDecorator2({ side, children, isDecorative = false, onLayout, style, ...props }, ref) {
61
+ const { prefixStyle, suffixStyle, isDisabled } = useTextField();
62
+ const { setPrefixWidth, setSuffixWidth } = useFieldGroup();
63
63
  const [styleProps, rest] = useStyleProps(props);
64
64
  const report = side === "prefix" ? setPrefixWidth : setSuffixWidth;
65
65
  const handleLayout = useCallback(
@@ -85,32 +85,32 @@ var InputGroupDecorator = forwardRef2(
85
85
  );
86
86
  }
87
87
  );
88
- InputGroupDecorator.displayName = "XAUI.InputGroup.Decorator";
88
+ FieldGroupDecorator.displayName = "XAUI.FieldGroup.Decorator";
89
89
 
90
- // src/components/input-group/input-group-prefix.tsx
90
+ // src/components/field-group/field-group-prefix.tsx
91
91
  import { jsx as jsx4 } from "react/jsx-runtime";
92
- var InputGroupPrefix = forwardRef3(
93
- function InputGroupPrefix2(props, ref) {
94
- return /* @__PURE__ */ jsx4(InputGroupDecorator, { ref, side: "prefix", ...props });
92
+ var FieldGroupPrefix = forwardRef3(
93
+ function FieldGroupPrefix2(props, ref) {
94
+ return /* @__PURE__ */ jsx4(FieldGroupDecorator, { ref, side: "prefix", ...props });
95
95
  }
96
96
  );
97
- InputGroupPrefix.displayName = "XAUI.InputGroup.Prefix";
97
+ FieldGroupPrefix.displayName = "XAUI.FieldGroup.Prefix";
98
98
 
99
- // src/components/input-group/input-group-suffix.tsx
99
+ // src/components/field-group/field-group-suffix.tsx
100
100
  import { forwardRef as forwardRef4 } from "react";
101
101
  import { jsx as jsx5 } from "react/jsx-runtime";
102
- var InputGroupSuffix = forwardRef4(
103
- function InputGroupSuffix2(props, ref) {
104
- return /* @__PURE__ */ jsx5(InputGroupDecorator, { ref, side: "suffix", ...props });
102
+ var FieldGroupSuffix = forwardRef4(
103
+ function FieldGroupSuffix2(props, ref) {
104
+ return /* @__PURE__ */ jsx5(FieldGroupDecorator, { ref, side: "suffix", ...props });
105
105
  }
106
106
  );
107
- InputGroupSuffix.displayName = "XAUI.InputGroup.Suffix";
107
+ FieldGroupSuffix.displayName = "XAUI.FieldGroup.Suffix";
108
108
 
109
- // src/components/input-group/input-group.tsx
109
+ // src/components/field-group/field-group.tsx
110
110
  import { forwardRef as forwardRef5, useMemo as useMemo2, useState } from "react";
111
111
  import { View as View2 } from "react-native";
112
112
  import { jsx as jsx6 } from "react/jsx-runtime";
113
- var InputGroupRoot = forwardRef5(function InputGroup({ children, asChild = false, style, ...props }, ref) {
113
+ var FieldGroupRoot = forwardRef5(function FieldGroup({ children, asChild = false, style, ...props }, ref) {
114
114
  const [styleProps, rest] = useStyleProps(props);
115
115
  const [prefixWidth, setPrefixWidth] = useState(0);
116
116
  const [suffixWidth, setSuffixWidth] = useState(0);
@@ -123,25 +123,25 @@ var InputGroupRoot = forwardRef5(function InputGroup({ children, asChild = false
123
123
  // R12 — the caller's element *is* the row.
124
124
  /* @__PURE__ */ jsx6(Slot, { ref, ...rest, style: rootStyle, children })
125
125
  ) : /* @__PURE__ */ jsx6(View2, { ref, ...rest, style: rootStyle, children });
126
- return /* @__PURE__ */ jsx6(InputGroupProvider, { value: context, children: surface });
126
+ return /* @__PURE__ */ jsx6(FieldGroupProvider, { value: context, children: surface });
127
127
  });
128
- InputGroupRoot.displayName = "XAUI.InputGroup.Root";
128
+ FieldGroupRoot.displayName = "XAUI.FieldGroup.Root";
129
129
 
130
- // src/components/input-group/index.ts
131
- var InputGroup2 = Object.assign(InputGroupRoot, {
132
- Prefix: InputGroupPrefix,
133
- Field: InputGroupField,
134
- Suffix: InputGroupSuffix,
135
- Icon: InputGroupIcon
130
+ // src/components/field-group/index.ts
131
+ var FieldGroup2 = Object.assign(FieldGroupRoot, {
132
+ Prefix: FieldGroupPrefix,
133
+ Field: FieldGroupField,
134
+ Suffix: FieldGroupSuffix,
135
+ Icon: FieldGroupIcon
136
136
  });
137
137
 
138
138
  export {
139
- useInputGroup,
139
+ useFieldGroup,
140
140
  decoratorPadding,
141
- InputGroupField,
142
- InputGroupIcon,
143
- InputGroupPrefix,
144
- InputGroupSuffix,
145
- InputGroupRoot,
146
- InputGroup2 as InputGroup
141
+ FieldGroupField,
142
+ FieldGroupIcon,
143
+ FieldGroupPrefix,
144
+ FieldGroupSuffix,
145
+ FieldGroupRoot,
146
+ FieldGroup2 as FieldGroup
147
147
  };
@@ -1,9 +1,9 @@
1
1
  import { useControllableState } from "./chunk-F6W3JQ7K.js";
2
- import { PressableFeedback } from "./chunk-XNNJM5DQ.js";
2
+ import { PressableFeedback } from "./chunk-UCW25LL6.js";
3
3
  import { usePressState } from "./chunk-423RQBOX.js";
4
4
  import { childrenToString, createSlotContext } from "./chunk-YXPYOOHU.js";
5
5
  import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
6
- import { useStyleProps } from "./chunk-MEYCZS32.js";
6
+ import { useStyleProps } from "./chunk-OSCW7I4H.js";
7
7
  import { useXAUITheme } from "./chunk-A3EGFI6T.js";
8
8
 
9
9
  // src/components/switch/switch-label.tsx
@@ -82,15 +82,15 @@ var SwitchThumb = forwardRef2(function SwitchThumb2({
82
82
  });
83
83
  });
84
84
  SwitchThumb.displayName = "XAUI.Switch.Thumb";
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\":[]}"
85
+ const _worklet_4740213529994_init_data = {
86
+ code: "function chunkDL2PGB5GJs1(){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-DL2PGB5G.js",
88
+ sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs1\",\"withTiming\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.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_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\":[]}"
90
+ const _worklet_8049726790376_init_data = {
91
+ code: "function chunkDL2PGB5GJs2(){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-DL2PGB5G.js",
93
+ sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs2\",\"progress\",\"distance\",\"interpolateColor\",\"colors\",\"__closure\",\"transform\",\"translateX\",\"value\",\"backgroundColor\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.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 chunkBA2MPBCOJs1Factory({
104
- _worklet_10999954344565_init_data,
103
+ const progress = useDerivedValue(function chunkDL2PGB5GJs1Factory({
104
+ _worklet_4740213529994_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 chunkBA2MPBCOJs1 = function () {
110
+ const chunkDL2PGB5GJs1 = function () {
111
111
  return withTiming(isSelected ? 1 : 0, {
112
112
  duration: SWITCH_DURATION
113
113
  });
114
114
  };
115
- chunkBA2MPBCOJs1.__closure = {
115
+ chunkDL2PGB5GJs1.__closure = {
116
116
  withTiming,
117
117
  isSelected,
118
118
  SWITCH_DURATION
119
119
  };
120
- chunkBA2MPBCOJs1.__workletHash = 10999954344565;
121
- chunkBA2MPBCOJs1.__pluginVersion = "0.7.4";
122
- chunkBA2MPBCOJs1.__initData = _worklet_10999954344565_init_data;
123
- chunkBA2MPBCOJs1.__stackDetails = _e;
124
- return chunkBA2MPBCOJs1;
120
+ chunkDL2PGB5GJs1.__workletHash = 4740213529994;
121
+ chunkDL2PGB5GJs1.__pluginVersion = "0.7.4";
122
+ chunkDL2PGB5GJs1.__initData = _worklet_4740213529994_init_data;
123
+ chunkDL2PGB5GJs1.__stackDetails = _e;
124
+ return chunkDL2PGB5GJs1;
125
125
  }({
126
- _worklet_10999954344565_init_data,
126
+ _worklet_4740213529994_init_data,
127
127
  withTiming,
128
128
  isSelected,
129
129
  SWITCH_DURATION
130
130
  }), [isSelected]);
131
- const animatedStyle = useAnimatedStyle(function chunkBA2MPBCOJs2Factory({
132
- _worklet_14174500173975_init_data,
131
+ const animatedStyle = useAnimatedStyle(function chunkDL2PGB5GJs2Factory({
132
+ _worklet_8049726790376_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 chunkBA2MPBCOJs2 = function () {
139
+ const chunkDL2PGB5GJs2 = 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
- chunkBA2MPBCOJs2.__closure = {
147
+ chunkDL2PGB5GJs2.__closure = {
148
148
  progress,
149
149
  distance,
150
150
  interpolateColor,
151
151
  colors
152
152
  };
153
- chunkBA2MPBCOJs2.__workletHash = 14174500173975;
154
- chunkBA2MPBCOJs2.__pluginVersion = "0.7.4";
155
- chunkBA2MPBCOJs2.__initData = _worklet_14174500173975_init_data;
156
- chunkBA2MPBCOJs2.__stackDetails = _e;
157
- return chunkBA2MPBCOJs2;
153
+ chunkDL2PGB5GJs2.__workletHash = 8049726790376;
154
+ chunkDL2PGB5GJs2.__pluginVersion = "0.7.4";
155
+ chunkDL2PGB5GJs2.__initData = _worklet_8049726790376_init_data;
156
+ chunkDL2PGB5GJs2.__stackDetails = _e;
157
+ return chunkDL2PGB5GJs2;
158
158
  }({
159
- _worklet_14174500173975_init_data,
159
+ _worklet_8049726790376_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_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\":[]}"
211
+ const _worklet_6970483984392_init_data = {
212
+ code: "function chunkDL2PGB5GJs3(){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-DL2PGB5G.js",
214
+ sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs3\",\"withTiming2\",\"isSelected\",\"SWITCH_DURATION\",\"__closure\",\"duration\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.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_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\":[]}"
216
+ const _worklet_13682578515246_init_data = {
217
+ code: "function chunkDL2PGB5GJs4(){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-DL2PGB5G.js",
219
+ sourceMap: "{\"version\":3,\"names\":[\"chunkDL2PGB5GJs4\",\"interpolateColor2\",\"progress\",\"colors\",\"__closure\",\"backgroundColor\",\"value\",\"off\",\"on\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-DL2PGB5G.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 chunkBA2MPBCOJs3Factory({
229
- _worklet_10428863279863_init_data,
228
+ const progress = useDerivedValue2(function chunkDL2PGB5GJs3Factory({
229
+ _worklet_6970483984392_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 chunkBA2MPBCOJs3 = function () {
235
+ const chunkDL2PGB5GJs3 = function () {
236
236
  return withTiming2(isSelected ? 1 : 0, {
237
237
  duration: SWITCH_DURATION
238
238
  });
239
239
  };
240
- chunkBA2MPBCOJs3.__closure = {
240
+ chunkDL2PGB5GJs3.__closure = {
241
241
  withTiming2,
242
242
  isSelected,
243
243
  SWITCH_DURATION
244
244
  };
245
- chunkBA2MPBCOJs3.__workletHash = 10428863279863;
246
- chunkBA2MPBCOJs3.__pluginVersion = "0.7.4";
247
- chunkBA2MPBCOJs3.__initData = _worklet_10428863279863_init_data;
248
- chunkBA2MPBCOJs3.__stackDetails = _e;
249
- return chunkBA2MPBCOJs3;
245
+ chunkDL2PGB5GJs3.__workletHash = 6970483984392;
246
+ chunkDL2PGB5GJs3.__pluginVersion = "0.7.4";
247
+ chunkDL2PGB5GJs3.__initData = _worklet_6970483984392_init_data;
248
+ chunkDL2PGB5GJs3.__stackDetails = _e;
249
+ return chunkDL2PGB5GJs3;
250
250
  }({
251
- _worklet_10428863279863_init_data,
251
+ _worklet_6970483984392_init_data,
252
252
  withTiming2,
253
253
  isSelected,
254
254
  SWITCH_DURATION
255
255
  }), [isSelected]);
256
- const animatedStyle = useAnimatedStyle2(function chunkBA2MPBCOJs4Factory({
257
- _worklet_9635834527825_init_data,
256
+ const animatedStyle = useAnimatedStyle2(function chunkDL2PGB5GJs4Factory({
257
+ _worklet_13682578515246_init_data,
258
258
  interpolateColor2,
259
259
  progress,
260
260
  colors
261
261
  }) {
262
262
  const _e = [new global.Error(), -4, -27];
263
- const chunkBA2MPBCOJs4 = function () {
263
+ const chunkDL2PGB5GJs4 = function () {
264
264
  return {
265
265
  backgroundColor: interpolateColor2(progress.value, [0, 1], [colors.off, colors.on])
266
266
  };
267
267
  };
268
- chunkBA2MPBCOJs4.__closure = {
268
+ chunkDL2PGB5GJs4.__closure = {
269
269
  interpolateColor2,
270
270
  progress,
271
271
  colors
272
272
  };
273
- chunkBA2MPBCOJs4.__workletHash = 9635834527825;
274
- chunkBA2MPBCOJs4.__pluginVersion = "0.7.4";
275
- chunkBA2MPBCOJs4.__initData = _worklet_9635834527825_init_data;
276
- chunkBA2MPBCOJs4.__stackDetails = _e;
277
- return chunkBA2MPBCOJs4;
273
+ chunkDL2PGB5GJs4.__workletHash = 13682578515246;
274
+ chunkDL2PGB5GJs4.__pluginVersion = "0.7.4";
275
+ chunkDL2PGB5GJs4.__initData = _worklet_13682578515246_init_data;
276
+ chunkDL2PGB5GJs4.__stackDetails = _e;
277
+ return chunkDL2PGB5GJs4;
278
278
  }({
279
- _worklet_9635834527825_init_data,
279
+ _worklet_13682578515246_init_data,
280
280
  interpolateColor2,
281
281
  progress,
282
282
  colors
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-F6W3JQ7K.js";
7
7
  import {
8
8
  PressableFeedback
9
- } from "./chunk-XNNJM5DQ.js";
9
+ } from "./chunk-UCW25LL6.js";
10
10
  import {
11
11
  usePressState
12
12
  } from "./chunk-423RQBOX.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-4GTAZM2C.js";
21
21
  import {
22
22
  useStyleProps
23
- } from "./chunk-MEYCZS32.js";
23
+ } from "./chunk-OSCW7I4H.js";
24
24
  import {
25
25
  useXAUITheme
26
26
  } from "./chunk-A3EGFI6T.js";
@@ -1,7 +1,7 @@
1
- import { IconContext } from "./chunk-WJPQARJ5.js";
1
+ import { IconContext } from "./chunk-OWE5IID7.js";
2
2
  import { Slot, childrenToString, createSlotContext } from "./chunk-YXPYOOHU.js";
3
3
  import { createRecipe, radiusAxis } from "./chunk-4GTAZM2C.js";
4
- import { useStyleProps } from "./chunk-MEYCZS32.js";
4
+ import { useStyleProps } from "./chunk-OSCW7I4H.js";
5
5
  import { useXAUITheme } from "./chunk-A3EGFI6T.js";
6
6
 
7
7
  // src/components/avatar/avatar-fallback.tsx
@@ -105,10 +105,10 @@ var AvatarImage = forwardRef3(function AvatarImage2({
105
105
  });
106
106
  });
107
107
  AvatarImage.displayName = "XAUI.Avatar.Image";
108
- const _worklet_9106607863565_init_data = {
109
- code: "function chunkZA6RT3XQJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
110
- location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZA6RT3XQ.js",
111
- sourceMap: "{\"version\":3,\"names\":[\"chunkZA6RT3XQJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-ZA6RT3XQ.js\"],\"mappings\":\"AAoG2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
108
+ const _worklet_8778646627758_init_data = {
109
+ code: "function chunkE5ZW7MBWJs1(){const{opacity}=this.__closure;return{opacity:opacity.value};}",
110
+ location: "/home/runner/work/xaui/xaui/packages/native/dist/chunk-E5ZW7MBW.js",
111
+ sourceMap: "{\"version\":3,\"names\":[\"chunkE5ZW7MBWJs1\",\"opacity\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/xaui/xaui/packages/native/dist/chunk-E5ZW7MBW.js\"],\"mappings\":\"AAoG2C,SAAAA,gBAAMA,CAAA,QAAAC,OAAA,OAAAC,SAAA,CAE3C,MAAO,CAAED,OAAO,CAAEA,OAAO,CAACE,KAAM,CAAC,CACnC\",\"ignoreList\":[]}"
112
112
  };
113
113
  var FadingImage = forwardRef3(function FadingImage2({
114
114
  onLoad,
@@ -122,26 +122,26 @@ var FadingImage = forwardRef3(function FadingImage2({
122
122
  });
123
123
  onLoad?.(event);
124
124
  }, [opacity, onLoad]);
125
- const animatedStyle = useAnimatedStyle(function chunkZA6RT3XQJs1Factory({
126
- _worklet_9106607863565_init_data,
125
+ const animatedStyle = useAnimatedStyle(function chunkE5ZW7MBWJs1Factory({
126
+ _worklet_8778646627758_init_data,
127
127
  opacity
128
128
  }) {
129
129
  const _e = [new global.Error(), -2, -27];
130
- const chunkZA6RT3XQJs1 = function () {
130
+ const chunkE5ZW7MBWJs1 = function () {
131
131
  return {
132
132
  opacity: opacity.value
133
133
  };
134
134
  };
135
- chunkZA6RT3XQJs1.__closure = {
135
+ chunkE5ZW7MBWJs1.__closure = {
136
136
  opacity
137
137
  };
138
- chunkZA6RT3XQJs1.__workletHash = 9106607863565;
139
- chunkZA6RT3XQJs1.__pluginVersion = "0.7.4";
140
- chunkZA6RT3XQJs1.__initData = _worklet_9106607863565_init_data;
141
- chunkZA6RT3XQJs1.__stackDetails = _e;
142
- return chunkZA6RT3XQJs1;
138
+ chunkE5ZW7MBWJs1.__workletHash = 8778646627758;
139
+ chunkE5ZW7MBWJs1.__pluginVersion = "0.7.4";
140
+ chunkE5ZW7MBWJs1.__initData = _worklet_8778646627758_init_data;
141
+ chunkE5ZW7MBWJs1.__stackDetails = _e;
142
+ return chunkE5ZW7MBWJs1;
143
143
  }({
144
- _worklet_9106607863565_init_data,
144
+ _worklet_8778646627758_init_data,
145
145
  opacity
146
146
  }), [opacity]);
147
147
  return /* @__PURE__ */jsx3(Animated.Image, {
@@ -1,10 +1,10 @@
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 _chunkCYS6U374cjs = require('./chunk-CYS6U374.cjs');
4
+ var _chunkFVKIQBHScjs = require('./chunk-FVKIQBHS.cjs');
5
5
 
6
6
 
7
- var _chunkPCWT2YBEcjs = require('./chunk-PCWT2YBE.cjs');
7
+ var _chunkISPOIMGXcjs = require('./chunk-ISPOIMGX.cjs');
8
8
 
9
9
 
10
10
 
@@ -16,7 +16,7 @@ var _chunk54FJOKANcjs = require('./chunk-54FJOKAN.cjs');
16
16
  var _chunkFNEUOBCVcjs = require('./chunk-FNEUOBCV.cjs');
17
17
 
18
18
 
19
- var _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
19
+ var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.cjs');
20
20
 
21
21
 
22
22
  var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
@@ -32,7 +32,7 @@ var _jsxruntime = require('react/jsx-runtime');
32
32
  var AlertClose = _react.forwardRef.call(void 0, function AlertClose2({ isDisabled, ...props }, ref) {
33
33
  const { closeStyle, closeGlyphStyle, isDisabled: isAlertDisabled } = useAlert();
34
34
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35
- _chunkCYS6U374cjs.CloseButton,
35
+ _chunkFVKIQBHScjs.CloseButton,
36
36
  {
37
37
  ref,
38
38
  name: "Alert.Close",
@@ -52,7 +52,7 @@ var _reactnative = require('react-native');
52
52
  var AlertContent = _react.forwardRef.call(void 0,
53
53
  function AlertContent2({ children, style, ...props }, ref) {
54
54
  const { contentStyle } = useAlert();
55
- const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
55
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
56
56
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [contentStyle, styleProps, style], ...rest, children });
57
57
  }
58
58
  );
@@ -65,7 +65,7 @@ AlertContent.displayName = "XAUI.Alert.Content";
65
65
  var AlertDescription = _react.forwardRef.call(void 0,
66
66
  function AlertDescription2({ children, style, ...props }, ref) {
67
67
  const { descriptionStyle } = useAlert();
68
- const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
68
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
69
69
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [descriptionStyle, styleProps, style], ...rest, children });
70
70
  }
71
71
  );
@@ -77,10 +77,10 @@ AlertDescription.displayName = "XAUI.Alert.Description";
77
77
 
78
78
  var AlertIcon = _react.forwardRef.call(void 0, function AlertIcon2({ as, children, source, size, color, style, ...props }, ref) {
79
79
  const { iconStyle, icon } = useAlert();
80
- const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
80
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
81
81
  const glyphSize = _nullishCoalesce(size, () => ( icon.size));
82
82
  const glyphColor = _nullishCoalesce(color, () => ( icon.color));
83
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [iconStyle, styleProps, style], ...rest, children: as ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPCWT2YBEcjs.Icon, { as, size: glyphSize, color: glyphColor }) : source ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPCWT2YBEcjs.Icon, { source, size: glyphSize, color: glyphColor }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPCWT2YBEcjs.Icon, { size: glyphSize, color: glyphColor, children }) });
83
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.View, { ref, style: [iconStyle, styleProps, style], ...rest, children: as ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.Icon, { as, size: glyphSize, color: glyphColor }) : source ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.Icon, { source, size: glyphSize, color: glyphColor }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISPOIMGXcjs.Icon, { size: glyphSize, color: glyphColor, children }) });
84
84
  });
85
85
  AlertIcon.displayName = "XAUI.Alert.Icon";
86
86
 
@@ -90,7 +90,7 @@ AlertIcon.displayName = "XAUI.Alert.Icon";
90
90
 
91
91
  var AlertTitle = _react.forwardRef.call(void 0, function AlertTitle2({ children, style, ...props }, ref) {
92
92
  const { titleStyle } = useAlert();
93
- const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
93
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
94
94
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactnative.Text, { ref, style: [titleStyle, styleProps, style], ...rest, children });
95
95
  });
96
96
  AlertTitle.displayName = "XAUI.Alert.Title";
@@ -194,7 +194,7 @@ var alertRecipe = _chunkFNEUOBCVcjs.createRecipe.call(void 0, {
194
194
  // The cross's own geometry — thickness and centring — belongs to the shared
195
195
  // `CloseButton`; what stays below is the box and bar size this component's scale sets.
196
196
  base: (theme) => ({
197
- ..._chunkCYS6U374cjs.closeButtonBase.call(void 0, theme),
197
+ ..._chunkFVKIQBHScjs.closeButtonBase.call(void 0, theme),
198
198
  root: {
199
199
  flexDirection: "row",
200
200
  // Top-aligned, not centred: an alert's message can run to three lines, and an icon
@@ -295,7 +295,7 @@ var AlertRoot = _react.forwardRef.call(void 0, function Alert({
295
295
  ...props
296
296
  }, ref) {
297
297
  const theme = _chunk57SJ4LJFcjs.useXAUITheme.call(void 0, );
298
- const [styleProps, rest] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
298
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.useStyleProps.call(void 0, props);
299
299
  const selection = { variant, size, radius };
300
300
  const states = { disabled: isDisabled };
301
301
  const styles = alertRecipe.resolve({ theme, selection, states });
@@ -1,6 +1,7 @@
1
1
  // src/utils/stable-hash.ts
2
2
  function canonical(value) {
3
- if (value === null || typeof value !== "object") return JSON.stringify(value) ?? "null";
3
+ if (value === null || typeof value !== "object")
4
+ return JSON.stringify(value) ?? "null";
4
5
  if (Array.isArray(value)) return `[${value.map(canonical).join(",")}]`;
5
6
  const entries = Object.entries(value).filter(([, v]) => typeof v !== "function").sort(([a], [b]) => a < b ? -1 : 1).map(([k, v]) => `${JSON.stringify(k)}:${canonical(v)}`);
6
7
  return `{${entries.join(",")}}`;
@@ -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 _chunk6M7RUU7Vcjs = require('./chunk-6M7RUU7V.cjs');
3
+ var _chunk2SCE7TFZcjs = require('./chunk-2SCE7TFZ.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 _chunkI6ZB3FZIcjs = require('./chunk-I6ZB3FZI.cjs');
12
+ var _chunkK3AVOT6Lcjs = require('./chunk-K3AVOT6L.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] = _chunkI6ZB3FZIcjs.useStyleProps.call(void 0, props);
40
+ const [styleProps, rest] = _chunkK3AVOT6Lcjs.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
- _chunk6M7RUU7Vcjs.PressableFeedback,
48
+ _chunk2SCE7TFZcjs.PressableFeedback,
49
49
  {
50
50
  ref,
51
51
  isPressed,