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

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 (65) hide show
  1. package/dist/{chunk-6RVCGLKZ.js → chunk-42FMGB5M.js} +57 -57
  2. package/dist/chunk-AETWQQWU.cjs +92 -0
  3. package/dist/{chunk-ZSLNGBDS.cjs → chunk-JDFV4W6N.cjs} +57 -57
  4. package/dist/chunk-ZH5XVNHG.js +92 -0
  5. package/dist/components/alert/index.cjs +1 -1
  6. package/dist/components/alert/index.d.cts +1 -1
  7. package/dist/components/alert/index.d.ts +1 -1
  8. package/dist/components/alert/index.js +1 -1
  9. package/dist/components/button/index.cjs +4 -4
  10. package/dist/components/button/index.d.cts +167 -167
  11. package/dist/components/button/index.d.ts +167 -167
  12. package/dist/components/button/index.js +3 -3
  13. package/dist/components/card/index.d.cts +169 -169
  14. package/dist/components/card/index.d.ts +169 -169
  15. package/dist/components/checkbox/index.cjs +3 -3
  16. package/dist/components/checkbox/index.d.cts +336 -336
  17. package/dist/components/checkbox/index.d.ts +336 -336
  18. package/dist/components/checkbox/index.js +2 -2
  19. package/dist/components/chip/index.cjs +3 -3
  20. package/dist/components/chip/index.d.cts +168 -168
  21. package/dist/components/chip/index.d.ts +168 -168
  22. package/dist/components/chip/index.js +2 -2
  23. package/dist/components/divider/index.cjs +13 -0
  24. package/dist/components/divider/index.d.cts +117 -0
  25. package/dist/components/divider/index.d.ts +117 -0
  26. package/dist/components/divider/index.js +13 -0
  27. package/dist/components/input/index.d.cts +3 -3
  28. package/dist/components/input/index.d.ts +3 -3
  29. package/dist/components/input-group/index.d.cts +6 -6
  30. package/dist/components/input-group/index.d.ts +6 -6
  31. package/dist/components/input-otp/index.d.cts +1 -1
  32. package/dist/components/input-otp/index.d.ts +1 -1
  33. package/dist/components/radio/index.cjs +3 -3
  34. package/dist/components/radio/index.d.cts +336 -336
  35. package/dist/components/radio/index.d.ts +336 -336
  36. package/dist/components/radio/index.js +2 -2
  37. package/dist/components/spinner/index.cjs +1 -1
  38. package/dist/components/spinner/index.d.cts +1 -1
  39. package/dist/components/spinner/index.d.ts +1 -1
  40. package/dist/components/spinner/index.js +1 -1
  41. package/dist/components/switch/index.cjs +3 -3
  42. package/dist/components/switch/index.d.cts +338 -338
  43. package/dist/components/switch/index.d.ts +338 -338
  44. package/dist/components/switch/index.js +2 -2
  45. package/dist/components/typography/index.d.cts +2 -2
  46. package/dist/components/typography/index.d.ts +2 -2
  47. package/dist/components/view/index.d.cts +6 -6
  48. package/dist/components/view/index.d.ts +6 -6
  49. package/dist/index.cjs +31 -25
  50. package/dist/index.d.cts +1 -0
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.js +31 -25
  53. package/dist/system/index.cjs +1 -1
  54. package/dist/system/index.d.cts +2 -2
  55. package/dist/system/index.d.ts +2 -2
  56. package/dist/system/index.js +1 -1
  57. package/package.json +11 -1
  58. package/dist/{chunk-NBFWWQFW.cjs → chunk-5PTBRJM7.cjs} +3 -3
  59. package/dist/{chunk-UBQLKIZC.cjs → chunk-ANNUYP55.cjs} +2 -2
  60. package/dist/{chunk-27ZRTZEE.js → chunk-IHOCANCQ.js} +3 -3
  61. package/dist/{chunk-E4TS6632.cjs → chunk-L7JN6OBQ.cjs} +2 -2
  62. package/dist/{chunk-GI24YJPE.js → chunk-MDVSCWJI.js} +3 -3
  63. package/dist/{chunk-YKL6XHM6.js → chunk-RDTKAAHX.js} +3 -3
  64. package/dist/{chunk-FMZQW35T.js → chunk-ZH6BHLQR.js} +3 -3
  65. package/dist/{chunk-KWCHSIMI.cjs → chunk-ZVWXM3UK.cjs} +3 -3
package/dist/index.js CHANGED
@@ -1,3 +1,8 @@
1
+ import {
2
+ Portal,
3
+ PortalContext,
4
+ PortalHost
5
+ } from "./chunk-7SEZGVTY.js";
1
6
  import {
2
7
  XAUIProvider,
3
8
  buildRadius,
@@ -10,6 +15,17 @@ import {
10
15
  sourceKeys,
11
16
  tokens
12
17
  } from "./chunk-TZG3DERP.js";
18
+ import {
19
+ InputOTP,
20
+ OTP_ALPHANUMERIC,
21
+ OTP_DIGITS,
22
+ OTP_LETTERS,
23
+ buildSlots,
24
+ extractPastedCode,
25
+ inputOTPRecipe,
26
+ useInputOTP,
27
+ useInputOTPBox
28
+ } from "./chunk-X4HQ4H2V.js";
13
29
  import {
14
30
  Radio,
15
31
  RadioIndicator,
@@ -17,7 +33,7 @@ import {
17
33
  RadioRoot,
18
34
  radioRecipe,
19
35
  useRadio
20
- } from "./chunk-27ZRTZEE.js";
36
+ } from "./chunk-IHOCANCQ.js";
21
37
  import {
22
38
  Spinner,
23
39
  spinnerRecipe
@@ -30,7 +46,7 @@ import {
30
46
  SwitchTrack,
31
47
  switchRecipe,
32
48
  useSwitch
33
- } from "./chunk-6RVCGLKZ.js";
49
+ } from "./chunk-42FMGB5M.js";
34
50
  import {
35
51
  TextArea,
36
52
  useTextArea
@@ -47,11 +63,6 @@ import {
47
63
  Stack,
48
64
  useGrid
49
65
  } from "./chunk-G7K652GC.js";
50
- import {
51
- Portal,
52
- PortalContext,
53
- PortalHost
54
- } from "./chunk-7SEZGVTY.js";
55
66
  import {
56
67
  Alert,
57
68
  alertRecipe,
@@ -61,7 +72,7 @@ import {
61
72
  Button,
62
73
  buttonRecipe,
63
74
  useButton
64
- } from "./chunk-GI24YJPE.js";
75
+ } from "./chunk-MDVSCWJI.js";
65
76
  import {
66
77
  ROTATION_DURATION,
67
78
  useMergedRef,
@@ -82,15 +93,18 @@ import {
82
93
  CheckboxRoot,
83
94
  checkboxRecipe,
84
95
  useCheckbox
85
- } from "./chunk-YKL6XHM6.js";
96
+ } from "./chunk-RDTKAAHX.js";
86
97
  import {
87
98
  SelectionFill
88
99
  } from "./chunk-BA2DBSAN.js";
100
+ import {
101
+ useControllableState
102
+ } from "./chunk-F6W3JQ7K.js";
89
103
  import {
90
104
  Chip,
91
105
  chipRecipe,
92
106
  useChip
93
- } from "./chunk-FMZQW35T.js";
107
+ } from "./chunk-ZH6BHLQR.js";
94
108
  import {
95
109
  CloseButton,
96
110
  closeButtonBase
@@ -120,6 +134,11 @@ import {
120
134
  import {
121
135
  usePressState
122
136
  } from "./chunk-423RQBOX.js";
137
+ import "./chunk-EGLLDKN6.js";
138
+ import {
139
+ Divider,
140
+ dividerRecipe
141
+ } from "./chunk-ZH5XVNHG.js";
123
142
  import {
124
143
  InputGroup,
125
144
  InputGroupField,
@@ -145,21 +164,6 @@ import {
145
164
  IconContext,
146
165
  useIconContext
147
166
  } from "./chunk-3FV4COTM.js";
148
- import {
149
- InputOTP,
150
- OTP_ALPHANUMERIC,
151
- OTP_DIGITS,
152
- OTP_LETTERS,
153
- buildSlots,
154
- extractPastedCode,
155
- inputOTPRecipe,
156
- useInputOTP,
157
- useInputOTPBox
158
- } from "./chunk-X4HQ4H2V.js";
159
- import {
160
- useControllableState
161
- } from "./chunk-F6W3JQ7K.js";
162
- import "./chunk-EGLLDKN6.js";
163
167
  import {
164
168
  createRecipe,
165
169
  radiusAxis
@@ -194,6 +198,7 @@ export {
194
198
  Chip,
195
199
  CloseButton,
196
200
  Column,
201
+ Divider,
197
202
  FEEDBACK_OVERLAY,
198
203
  Grid,
199
204
  HIGHLIGHT_DURATION,
@@ -267,6 +272,7 @@ export {
267
272
  defaultTheme,
268
273
  deriveColors,
269
274
  deriveTint,
275
+ dividerRecipe,
270
276
  extractPastedCode,
271
277
  inputOTPRecipe,
272
278
  inputRecipe,
@@ -33,12 +33,12 @@ var _chunkTGZZ3RZUcjs = require('../chunk-TGZZ3RZU.cjs');
33
33
 
34
34
  var _chunkGPVNCJ3Zcjs = require('../chunk-GPVNCJ3Z.cjs');
35
35
  require('../chunk-7DPL3ZDS.cjs');
36
+ require('../chunk-EJQCQPET.cjs');
36
37
 
37
38
 
38
39
 
39
40
 
40
41
  var _chunkWR7YLDVVcjs = require('../chunk-WR7YLDVV.cjs');
41
- require('../chunk-EJQCQPET.cjs');
42
42
 
43
43
 
44
44
 
@@ -298,7 +298,7 @@ declare function resolveSlotAnimation(override: SlotAnimation | undefined, enabl
298
298
  * off — and it is the only shape that survives `asChild`, where the caller's own element
299
299
  * is the pressable and there is no sibling for the primitive to inject.
300
300
  */
301
- declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "disabled" | "style" | "children"> & ViewStyleProps & {
301
+ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "style" | "children" | "disabled"> & ViewStyleProps & {
302
302
  isPressed?: boolean;
303
303
  isDisabled?: boolean;
304
304
  asChild?: boolean;
@@ -492,7 +492,7 @@ declare const CloseButton: react.ForwardRefExoticComponent<{
492
492
  baseStyle?: react_native.StyleProp<react_native.ViewStyle>;
493
493
  glyphStyle?: react_native.StyleProp<react_native.ViewStyle>;
494
494
  style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
495
- } & Omit<PressableFeedbackProps, "isPressed" | "style" | "children"> & react.RefAttributes<View>>;
495
+ } & Omit<PressableFeedbackProps, "style" | "children" | "isPressed"> & react.RefAttributes<View>>;
496
496
 
497
497
  /** The two slots a component publishes for a `CloseButton`: its box and one cross bar. */
498
498
  type CloseButtonSlots = {
@@ -298,7 +298,7 @@ declare function resolveSlotAnimation(override: SlotAnimation | undefined, enabl
298
298
  * off — and it is the only shape that survives `asChild`, where the caller's own element
299
299
  * is the pressable and there is no sibling for the primitive to inject.
300
300
  */
301
- declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "disabled" | "style" | "children"> & ViewStyleProps & {
301
+ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "style" | "children" | "disabled"> & ViewStyleProps & {
302
302
  isPressed?: boolean;
303
303
  isDisabled?: boolean;
304
304
  asChild?: boolean;
@@ -492,7 +492,7 @@ declare const CloseButton: react.ForwardRefExoticComponent<{
492
492
  baseStyle?: react_native.StyleProp<react_native.ViewStyle>;
493
493
  glyphStyle?: react_native.StyleProp<react_native.ViewStyle>;
494
494
  style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
495
- } & Omit<PressableFeedbackProps, "isPressed" | "style" | "children"> & react.RefAttributes<View>>;
495
+ } & Omit<PressableFeedbackProps, "style" | "children" | "isPressed"> & react.RefAttributes<View>>;
496
496
 
497
497
  /** The two slots a component publishes for a `CloseButton`: its box and one cross bar. */
498
498
  type CloseButtonSlots = {
@@ -33,12 +33,12 @@ import {
33
33
  useFeedback
34
34
  } from "../chunk-BFMTUMTU.js";
35
35
  import "../chunk-423RQBOX.js";
36
+ import "../chunk-EGLLDKN6.js";
36
37
  import {
37
38
  Icon,
38
39
  IconContext,
39
40
  useIconContext
40
41
  } from "../chunk-3FV4COTM.js";
41
- import "../chunk-EGLLDKN6.js";
42
42
  import {
43
43
  createRecipe,
44
44
  radiusAxis
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaui/native",
3
- "version": "0.9.1-alpha.30",
3
+ "version": "0.9.1-alpha.31",
4
4
  "description": "Composition-first React Native UI components with native animations powered by Reanimated",
5
5
  "keywords": [
6
6
  "react-native",
@@ -77,6 +77,16 @@
77
77
  "default": "./dist/components/chip/index.cjs"
78
78
  }
79
79
  },
80
+ "./divider": {
81
+ "import": {
82
+ "types": "./dist/components/divider/index.d.ts",
83
+ "default": "./dist/components/divider/index.js"
84
+ },
85
+ "require": {
86
+ "types": "./dist/components/divider/index.d.cts",
87
+ "default": "./dist/components/divider/index.cjs"
88
+ }
89
+ },
80
90
  "./input": {
81
91
  "import": {
82
92
  "types": "./dist/components/input/index.d.ts",
@@ -3,13 +3,13 @@
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 _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.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
 
@@ -10,10 +10,10 @@ var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
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 _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
17
17
 
18
18
 
19
19
 
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SelectionFill
3
3
  } from "./chunk-BA2DBSAN.js";
4
+ import {
5
+ useControllableState
6
+ } from "./chunk-F6W3JQ7K.js";
4
7
  import {
5
8
  PressableFeedback
6
9
  } from "./chunk-BFMTUMTU.js";
7
10
  import {
8
11
  usePressState
9
12
  } from "./chunk-423RQBOX.js";
10
- import {
11
- useControllableState
12
- } from "./chunk-F6W3JQ7K.js";
13
13
  import {
14
14
  createRecipe,
15
15
  radiusAxis
@@ -9,10 +9,10 @@ var _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.cjs');
9
9
  var _chunk7DPL3ZDScjs = require('./chunk-7DPL3ZDS.cjs');
10
10
 
11
11
 
12
- var _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
12
+ var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
13
13
 
14
14
 
15
- var _chunkEJQCQPETcjs = require('./chunk-EJQCQPET.cjs');
15
+ var _chunkWR7YLDVVcjs = require('./chunk-WR7YLDVV.cjs');
16
16
 
17
17
 
18
18
 
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  usePressState
9
9
  } from "./chunk-423RQBOX.js";
10
- import {
11
- Icon
12
- } from "./chunk-3FV4COTM.js";
13
10
  import {
14
11
  warnDev
15
12
  } from "./chunk-EGLLDKN6.js";
13
+ import {
14
+ Icon
15
+ } from "./chunk-3FV4COTM.js";
16
16
  import {
17
17
  createRecipe,
18
18
  radiusAxis
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SelectionFill
3
3
  } from "./chunk-BA2DBSAN.js";
4
+ import {
5
+ useControllableState
6
+ } from "./chunk-F6W3JQ7K.js";
4
7
  import {
5
8
  PressableFeedback
6
9
  } from "./chunk-BFMTUMTU.js";
7
10
  import {
8
11
  usePressState
9
12
  } from "./chunk-423RQBOX.js";
10
- import {
11
- useControllableState
12
- } from "./chunk-F6W3JQ7K.js";
13
13
  import {
14
14
  createRecipe,
15
15
  radiusAxis
@@ -8,12 +8,12 @@ import {
8
8
  import {
9
9
  usePressState
10
10
  } from "./chunk-423RQBOX.js";
11
- import {
12
- Icon
13
- } from "./chunk-3FV4COTM.js";
14
11
  import {
15
12
  warnDev
16
13
  } from "./chunk-EGLLDKN6.js";
14
+ import {
15
+ Icon
16
+ } from "./chunk-3FV4COTM.js";
17
17
  import {
18
18
  createRecipe,
19
19
  radiusAxis
@@ -3,13 +3,13 @@
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 _chunkGPVNCJ3Zcjs = require('./chunk-GPVNCJ3Z.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