@xaui/native 0.9.1-alpha.24 → 0.9.1-alpha.26

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 (45) hide show
  1. package/dist/chunk-3LKGVKQY.cjs +145 -0
  2. package/dist/chunk-5OXZIZRZ.cjs +72 -0
  3. package/dist/{chunk-LIQTGAI7.cjs → chunk-BULNTP5N.cjs} +6 -7
  4. package/dist/{chunk-J4QE34AU.js → chunk-I6UCYAO2.js} +20 -21
  5. package/dist/{chunk-P2XA4DV7.cjs → chunk-JCKVYYZO.cjs} +86 -14
  6. package/dist/{chunk-GBPWTFTU.cjs → chunk-OHEHPQLC.cjs} +10 -1
  7. package/dist/{chunk-MRYLLKML.js → chunk-PQHC65AG.js} +15 -15
  8. package/dist/chunk-TR2TGPDQ.js +72 -0
  9. package/dist/{chunk-GG2WWCBK.js → chunk-TZG3DERP.js} +10 -1
  10. package/dist/{chunk-6RO26ORT.js → chunk-V2FQN6ZK.js} +85 -13
  11. package/dist/chunk-WEMZ4VMC.js +145 -0
  12. package/dist/{chunk-EWBBDVTM.cjs → chunk-WVCAFORA.cjs} +15 -15
  13. package/dist/components/alert/index.cjs +1 -1
  14. package/dist/components/alert/index.js +1 -1
  15. package/dist/components/button/index.cjs +3 -3
  16. package/dist/components/button/index.js +2 -2
  17. package/dist/components/chip/index.cjs +3 -3
  18. package/dist/components/chip/index.js +2 -2
  19. package/dist/components/input/index.cjs +12 -2
  20. package/dist/components/input/index.d.cts +109 -117
  21. package/dist/components/input/index.d.ts +109 -117
  22. package/dist/components/input/index.js +11 -1
  23. package/dist/components/input-group/index.cjs +26 -0
  24. package/dist/components/input-group/index.d.cts +270 -0
  25. package/dist/components/input-group/index.d.ts +270 -0
  26. package/dist/components/input-group/index.js +26 -0
  27. package/dist/components/input-otp/index.cjs +2 -2
  28. package/dist/components/input-otp/index.js +1 -1
  29. package/dist/components/text-area/index.cjs +13 -0
  30. package/dist/components/text-area/index.d.cts +73 -0
  31. package/dist/components/text-area/index.d.ts +73 -0
  32. package/dist/components/text-area/index.js +13 -0
  33. package/dist/index.cjs +44 -10
  34. package/dist/index.d.cts +4 -1
  35. package/dist/index.d.ts +4 -1
  36. package/dist/index.js +49 -15
  37. package/dist/input.type-BUMDlzL9.d.cts +167 -0
  38. package/dist/input.type-D2qgi03E.d.ts +167 -0
  39. package/dist/system/index.cjs +2 -2
  40. package/dist/system/index.js +5 -5
  41. package/dist/theme/index.cjs +2 -2
  42. package/dist/theme/index.js +1 -1
  43. package/package.json +21 -1
  44. package/dist/{chunk-4J26FA6O.js → chunk-3WISQT22.js} +3 -3
  45. package/dist/{chunk-AV5LMFS3.cjs → chunk-I7G77Q65.cjs} +2 -2
@@ -8,7 +8,7 @@ import {
8
8
  inputOTPRecipe,
9
9
  useInputOTP,
10
10
  useInputOTPBox
11
- } from "../../chunk-J4QE34AU.js";
11
+ } from "../../chunk-I6UCYAO2.js";
12
12
  import "../../chunk-EGLLDKN6.js";
13
13
  import "../../chunk-3JATAB7S.js";
14
14
  import "../../chunk-PMO62QK4.js";
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk5OXZIZRZcjs = require('../../chunk-5OXZIZRZ.cjs');
5
+ require('../../chunk-JCKVYYZO.cjs');
6
+ require('../../chunk-YXVKQMCK.cjs');
7
+ require('../../chunk-HUZ4AUM2.cjs');
8
+ require('../../chunk-57SJ4LJF.cjs');
9
+ require('../../chunk-MC7SY2QH.cjs');
10
+
11
+
12
+
13
+ exports.TextArea = _chunk5OXZIZRZcjs.TextArea; exports.useTextArea = _chunk5OXZIZRZcjs.useTextArea;
@@ -0,0 +1,73 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { I as InputFieldProps, a as InputProps } from '../../input.type-BUMDlzL9.cjs';
4
+ import * as react_native from 'react-native';
5
+ import { T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
6
+ import '../../theme.type-C2gNHpEx.cjs';
7
+
8
+ type TextAreaOwnProps = {
9
+ /**
10
+ * How many lines tall the field starts. It is a **raw value**, not a token: it resolves
11
+ * outside the style cache from the line height the size chose, the same path `color`
12
+ * takes — which is what lets `rows={7}` exist without seven entries in the cache.
13
+ *
14
+ * @default 3
15
+ */
16
+ rows?: number;
17
+ /**
18
+ * The ceiling, in lines. Past it the field stops growing and scrolls; unset, it grows
19
+ * with the text for as long as the text goes on.
20
+ */
21
+ maxRows?: number;
22
+ children?: ReactNode;
23
+ };
24
+ /**
25
+ * Everything the `Input` root understands, plus the two the shape of a multiline field
26
+ * needs. They sit on the **root** rather than on `TextArea.Field` for the reason `size`
27
+ * and `variant` do: the root is where the field's shape is decided, and the slot reads
28
+ * what it resolved.
29
+ */
30
+ type TextAreaProps = Omit<InputProps, 'children'> & TextAreaOwnProps;
31
+ /**
32
+ * Everything `Input.Field` accepts except `multiline`, which this sets — it is the same
33
+ * `TextInput`, and the same props, with the three things several lines need.
34
+ */
35
+ type TextAreaFieldProps = Omit<InputFieldProps, 'multiline'>;
36
+ /**
37
+ * The one thing the `Input`'s own context cannot carry, because `rows` is not the
38
+ * `Input`'s business: a single-line field has no use for it, and a prop that does nothing
39
+ * in the common case is a prop that reads as broken.
40
+ */
41
+ type TextAreaContextValue = {
42
+ rows: number;
43
+ maxRows: number | undefined;
44
+ };
45
+
46
+ declare const useTextArea: () => TextAreaContextValue;
47
+
48
+ /**
49
+ * Three of the four slots **are** the `Input`'s, re-exported rather than wrapped.
50
+ *
51
+ * A wrapper would add three components to the tree to change a `displayName` string, and
52
+ * the string it would change is the one that tells you the truth: a `XAUI.Input.Label`
53
+ * showing up inside a `XAUI.TextArea.Root` is exactly what is happening. Only the field
54
+ * differs, and it is the only one written here.
55
+ */
56
+ declare const TextArea: react.ForwardRefExoticComponent<Omit<InputProps, "children"> & {
57
+ rows?: number;
58
+ maxRows?: number;
59
+ children?: react.ReactNode;
60
+ } & react.RefAttributes<react_native.View>> & {
61
+ Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
62
+ children?: react.ReactNode;
63
+ } & react.RefAttributes<react_native.Text>>;
64
+ Field: react.ForwardRefExoticComponent<TextAreaFieldProps & react.RefAttributes<react_native.TextInput>>;
65
+ Description: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
66
+ children?: react.ReactNode;
67
+ } & react.RefAttributes<react_native.Text>>;
68
+ Error: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
69
+ children?: react.ReactNode;
70
+ } & react.RefAttributes<react_native.Text>>;
71
+ };
72
+
73
+ export { TextArea, type TextAreaContextValue, type TextAreaFieldProps, type TextAreaProps, useTextArea };
@@ -0,0 +1,73 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import { I as InputFieldProps, a as InputProps } from '../../input.type-D2qgi03E.js';
4
+ import * as react_native from 'react-native';
5
+ import { T as TextStyleProps } from '../../style-props.type-CfnoGEP7.js';
6
+ import '../../theme.type-C2gNHpEx.js';
7
+
8
+ type TextAreaOwnProps = {
9
+ /**
10
+ * How many lines tall the field starts. It is a **raw value**, not a token: it resolves
11
+ * outside the style cache from the line height the size chose, the same path `color`
12
+ * takes — which is what lets `rows={7}` exist without seven entries in the cache.
13
+ *
14
+ * @default 3
15
+ */
16
+ rows?: number;
17
+ /**
18
+ * The ceiling, in lines. Past it the field stops growing and scrolls; unset, it grows
19
+ * with the text for as long as the text goes on.
20
+ */
21
+ maxRows?: number;
22
+ children?: ReactNode;
23
+ };
24
+ /**
25
+ * Everything the `Input` root understands, plus the two the shape of a multiline field
26
+ * needs. They sit on the **root** rather than on `TextArea.Field` for the reason `size`
27
+ * and `variant` do: the root is where the field's shape is decided, and the slot reads
28
+ * what it resolved.
29
+ */
30
+ type TextAreaProps = Omit<InputProps, 'children'> & TextAreaOwnProps;
31
+ /**
32
+ * Everything `Input.Field` accepts except `multiline`, which this sets — it is the same
33
+ * `TextInput`, and the same props, with the three things several lines need.
34
+ */
35
+ type TextAreaFieldProps = Omit<InputFieldProps, 'multiline'>;
36
+ /**
37
+ * The one thing the `Input`'s own context cannot carry, because `rows` is not the
38
+ * `Input`'s business: a single-line field has no use for it, and a prop that does nothing
39
+ * in the common case is a prop that reads as broken.
40
+ */
41
+ type TextAreaContextValue = {
42
+ rows: number;
43
+ maxRows: number | undefined;
44
+ };
45
+
46
+ declare const useTextArea: () => TextAreaContextValue;
47
+
48
+ /**
49
+ * Three of the four slots **are** the `Input`'s, re-exported rather than wrapped.
50
+ *
51
+ * A wrapper would add three components to the tree to change a `displayName` string, and
52
+ * the string it would change is the one that tells you the truth: a `XAUI.Input.Label`
53
+ * showing up inside a `XAUI.TextArea.Root` is exactly what is happening. Only the field
54
+ * differs, and it is the only one written here.
55
+ */
56
+ declare const TextArea: react.ForwardRefExoticComponent<Omit<InputProps, "children"> & {
57
+ rows?: number;
58
+ maxRows?: number;
59
+ children?: react.ReactNode;
60
+ } & react.RefAttributes<react_native.View>> & {
61
+ Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
62
+ children?: react.ReactNode;
63
+ } & react.RefAttributes<react_native.Text>>;
64
+ Field: react.ForwardRefExoticComponent<TextAreaFieldProps & react.RefAttributes<react_native.TextInput>>;
65
+ Description: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
66
+ children?: react.ReactNode;
67
+ } & react.RefAttributes<react_native.Text>>;
68
+ Error: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
69
+ children?: react.ReactNode;
70
+ } & react.RefAttributes<react_native.Text>>;
71
+ };
72
+
73
+ export { TextArea, type TextAreaContextValue, type TextAreaFieldProps, type TextAreaProps, useTextArea };
@@ -0,0 +1,13 @@
1
+ import {
2
+ TextArea,
3
+ useTextArea
4
+ } from "../../chunk-TR2TGPDQ.js";
5
+ import "../../chunk-V2FQN6ZK.js";
6
+ import "../../chunk-3JATAB7S.js";
7
+ import "../../chunk-PMO62QK4.js";
8
+ import "../../chunk-A3EGFI6T.js";
9
+ import "../../chunk-GGW42MY4.js";
10
+ export {
11
+ TextArea,
12
+ useTextArea
13
+ };
package/dist/index.cjs CHANGED
@@ -1,6 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
+ var _chunk5OXZIZRZcjs = require('./chunk-5OXZIZRZ.cjs');
5
+
6
+
7
+
8
+
9
+ var _chunkY7U6ACMBcjs = require('./chunk-Y7U6ACMB.cjs');
10
+
11
+
12
+
4
13
 
5
14
 
6
15
 
@@ -21,7 +30,7 @@ var _chunk6HXWQ5AUcjs = require('./chunk-6HXWQ5AU.cjs');
21
30
 
22
31
 
23
32
 
24
- var _chunkGBPWTFTUcjs = require('./chunk-GBPWTFTU.cjs');
33
+ var _chunkOHEHPQLCcjs = require('./chunk-OHEHPQLC.cjs');
25
34
 
26
35
 
27
36
 
@@ -31,7 +40,7 @@ var _chunkJ4JFIC4Wcjs = require('./chunk-J4JFIC4W.cjs');
31
40
 
32
41
 
33
42
 
34
- var _chunkEWBBDVTMcjs = require('./chunk-EWBBDVTM.cjs');
43
+ var _chunkWVCAFORAcjs = require('./chunk-WVCAFORA.cjs');
35
44
 
36
45
 
37
46
 
@@ -43,7 +52,7 @@ var _chunk6FBGCF5Tcjs = require('./chunk-6FBGCF5T.cjs');
43
52
 
44
53
 
45
54
 
46
- var _chunkAV5LMFS3cjs = require('./chunk-AV5LMFS3.cjs');
55
+ var _chunkI7G77Q65cjs = require('./chunk-I7G77Q65.cjs');
47
56
 
48
57
 
49
58
 
@@ -52,7 +61,6 @@ var _chunkJ2JJLKLGcjs = require('./chunk-J2JJLKLG.cjs');
52
61
 
53
62
 
54
63
 
55
- var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
56
64
 
57
65
 
58
66
 
@@ -70,21 +78,23 @@ var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
70
78
 
71
79
 
72
80
 
81
+
82
+ var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
73
83
 
74
84
 
75
85
 
76
86
 
77
87
 
78
- var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
79
88
 
80
89
 
81
90
 
82
91
 
83
- var _chunkP2XA4DV7cjs = require('./chunk-P2XA4DV7.cjs');
92
+ var _chunk3LKGVKQYcjs = require('./chunk-3LKGVKQY.cjs');
84
93
 
85
94
 
86
95
 
87
96
 
97
+ var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
88
98
 
89
99
 
90
100
 
@@ -92,13 +102,22 @@ var _chunkP2XA4DV7cjs = require('./chunk-P2XA4DV7.cjs');
92
102
 
93
103
 
94
104
 
95
- var _chunkLIQTGAI7cjs = require('./chunk-LIQTGAI7.cjs');
96
- require('./chunk-EJQCQPET.cjs');
105
+
106
+
107
+ var _chunkJCKVYYZOcjs = require('./chunk-JCKVYYZO.cjs');
108
+
109
+
110
+
97
111
 
98
112
 
99
113
 
100
114
 
101
- var _chunkY7U6ACMBcjs = require('./chunk-Y7U6ACMB.cjs');
115
+
116
+
117
+
118
+
119
+ var _chunkBULNTP5Ncjs = require('./chunk-BULNTP5N.cjs');
120
+ require('./chunk-EJQCQPET.cjs');
102
121
 
103
122
 
104
123
 
@@ -225,4 +244,19 @@ function usePrevious(value) {
225
244
 
226
245
 
227
246
 
228
- exports.Alert = _chunkJ4JFIC4Wcjs.Alert; exports.Button = _chunkEWBBDVTMcjs.Button; exports.CARD_BACKGROUND = _chunk6FBGCF5Tcjs.CARD_BACKGROUND; exports.Card = _chunk6FBGCF5Tcjs.Card; exports.Chip = _chunkAV5LMFS3cjs.Chip; exports.CloseButton = _chunkJ2JJLKLGcjs.CloseButton; exports.Column = _chunkIBEX4XGVcjs.Column; exports.FEEDBACK_OVERLAY = _chunkIG4Q3WQOcjs.FEEDBACK_OVERLAY; exports.Grid = _chunkIBEX4XGVcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkIG4Q3WQOcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkIG4Q3WQOcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkB4W2XNBPcjs.Icon; exports.IconContext = _chunkB4W2XNBPcjs.IconContext; exports.Input = _chunkP2XA4DV7cjs.Input; exports.InputOTP = _chunkLIQTGAI7cjs.InputOTP; exports.OTP_ALPHANUMERIC = _chunkLIQTGAI7cjs.OTP_ALPHANUMERIC; exports.OTP_DIGITS = _chunkLIQTGAI7cjs.OTP_DIGITS; exports.OTP_LETTERS = _chunkLIQTGAI7cjs.OTP_LETTERS; exports.PRESS_DURATION = _chunkIG4Q3WQOcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkIG4Q3WQOcjs.PRESS_SCALE; exports.Portal = _chunk6HXWQ5AUcjs.Portal; exports.PortalContext = _chunk6HXWQ5AUcjs.PortalContext; exports.PortalHost = _chunk6HXWQ5AUcjs.PortalHost; exports.PressableFeedback = _chunkIG4Q3WQOcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkIG4Q3WQOcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkIG4Q3WQOcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkIG4Q3WQOcjs.RIPPLE_START_SCALE; exports.Row = _chunkIBEX4XGVcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkIG4Q3WQOcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkHUZ4AUM2cjs.Slot; exports.Stack = _chunkIBEX4XGVcjs.Stack; exports.TextSpan = _chunkY7U6ACMBcjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkY7U6ACMBcjs.Typography; exports.XAUIProvider = _chunkGBPWTFTUcjs.XAUIProvider; exports.alertRecipe = _chunkJ4JFIC4Wcjs.alertRecipe; exports.buildRadius = _chunkGBPWTFTUcjs.buildRadius; exports.buildShadows = _chunkGBPWTFTUcjs.buildShadows; exports.buildSlots = _chunkLIQTGAI7cjs.buildSlots; exports.buttonRecipe = _chunkEWBBDVTMcjs.buttonRecipe; exports.cardRecipe = _chunk6FBGCF5Tcjs.cardRecipe; exports.childrenToString = _chunkHUZ4AUM2cjs.childrenToString; exports.chipRecipe = _chunkAV5LMFS3cjs.chipRecipe; exports.closeButtonBase = _chunkJ2JJLKLGcjs.closeButtonBase; exports.createRecipe = _chunkYXVKQMCKcjs.createRecipe; exports.createSlotContext = _chunkHUZ4AUM2cjs.createSlotContext; exports.createTheme = _chunkGBPWTFTUcjs.createTheme; exports.defaultTheme = _chunkGBPWTFTUcjs.defaultTheme; exports.deriveColors = _chunkGBPWTFTUcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.extractPastedCode = _chunkLIQTGAI7cjs.extractPastedCode; exports.inputOTPRecipe = _chunkLIQTGAI7cjs.inputOTPRecipe; exports.inputRecipe = _chunkP2XA4DV7cjs.inputRecipe; exports.markBackground = _chunk6FBGCF5Tcjs.markBackground; exports.markOverlay = _chunkIG4Q3WQOcjs.markOverlay; exports.mergeProps = _chunkHUZ4AUM2cjs.mergeProps; exports.mergeRefs = _chunkHUZ4AUM2cjs.mergeRefs; exports.palette = _chunkGBPWTFTUcjs.palette; exports.pressScaleFor = _chunkIG4Q3WQOcjs.pressScaleFor; exports.primitives = _chunkGBPWTFTUcjs.primitives; exports.radiusAxis = _chunkYXVKQMCKcjs.radiusAxis; exports.resolveAnimation = _chunkIG4Q3WQOcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkIG4Q3WQOcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkIG4Q3WQOcjs.rippleRadiusFor; exports.sourceKeys = _chunkGBPWTFTUcjs.sourceKeys; exports.tokens = _chunkGBPWTFTUcjs.tokens; exports.typographyRecipe = _chunkY7U6ACMBcjs.typographyRecipe; exports.useAlert = _chunkJ4JFIC4Wcjs.useAlert; exports.useButton = _chunkEWBBDVTMcjs.useButton; exports.useCard = _chunk6FBGCF5Tcjs.useCard; exports.useChip = _chunkAV5LMFS3cjs.useChip; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = _chunkLIQTGAI7cjs.useControllableState; exports.useFeedback = _chunkIG4Q3WQOcjs.useFeedback; exports.useGrid = _chunkIBEX4XGVcjs.useGrid; exports.useIconContext = _chunkB4W2XNBPcjs.useIconContext; exports.useInput = _chunkP2XA4DV7cjs.useInput; exports.useInputOTP = _chunkLIQTGAI7cjs.useInputOTP; exports.useInputOTPBox = _chunkLIQTGAI7cjs.useInputOTPBox; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkIG4Q3WQOcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkHUZ4AUM2cjs.useStyleProps; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+ exports.Alert = _chunkJ4JFIC4Wcjs.Alert; exports.Button = _chunkWVCAFORAcjs.Button; exports.CARD_BACKGROUND = _chunk6FBGCF5Tcjs.CARD_BACKGROUND; exports.Card = _chunk6FBGCF5Tcjs.Card; exports.Chip = _chunkI7G77Q65cjs.Chip; exports.CloseButton = _chunkJ2JJLKLGcjs.CloseButton; exports.Column = _chunkIBEX4XGVcjs.Column; exports.FEEDBACK_OVERLAY = _chunkIG4Q3WQOcjs.FEEDBACK_OVERLAY; exports.Grid = _chunkIBEX4XGVcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkIG4Q3WQOcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkIG4Q3WQOcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkB4W2XNBPcjs.Icon; exports.IconContext = _chunkB4W2XNBPcjs.IconContext; exports.Input = _chunkJCKVYYZOcjs.Input; exports.InputDescription = _chunkJCKVYYZOcjs.InputDescription; exports.InputError = _chunkJCKVYYZOcjs.InputError; exports.InputField = _chunkJCKVYYZOcjs.InputField; exports.InputGroup = _chunk3LKGVKQYcjs.InputGroup; exports.InputGroupField = _chunk3LKGVKQYcjs.InputGroupField; exports.InputGroupIcon = _chunk3LKGVKQYcjs.InputGroupIcon; exports.InputGroupPrefix = _chunk3LKGVKQYcjs.InputGroupPrefix; exports.InputGroupRoot = _chunk3LKGVKQYcjs.InputGroupRoot; exports.InputGroupSuffix = _chunk3LKGVKQYcjs.InputGroupSuffix; exports.InputLabel = _chunkJCKVYYZOcjs.InputLabel; exports.InputOTP = _chunkBULNTP5Ncjs.InputOTP; exports.InputRoot = _chunkJCKVYYZOcjs.InputRoot; exports.OTP_ALPHANUMERIC = _chunkBULNTP5Ncjs.OTP_ALPHANUMERIC; exports.OTP_DIGITS = _chunkBULNTP5Ncjs.OTP_DIGITS; exports.OTP_LETTERS = _chunkBULNTP5Ncjs.OTP_LETTERS; exports.PRESS_DURATION = _chunkIG4Q3WQOcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkIG4Q3WQOcjs.PRESS_SCALE; exports.Portal = _chunk6HXWQ5AUcjs.Portal; exports.PortalContext = _chunk6HXWQ5AUcjs.PortalContext; exports.PortalHost = _chunk6HXWQ5AUcjs.PortalHost; exports.PressableFeedback = _chunkIG4Q3WQOcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkIG4Q3WQOcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkIG4Q3WQOcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkIG4Q3WQOcjs.RIPPLE_START_SCALE; exports.Row = _chunkIBEX4XGVcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkIG4Q3WQOcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkHUZ4AUM2cjs.Slot; exports.Stack = _chunkIBEX4XGVcjs.Stack; exports.TextArea = _chunk5OXZIZRZcjs.TextArea; exports.TextSpan = _chunkY7U6ACMBcjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkY7U6ACMBcjs.Typography; exports.XAUIProvider = _chunkOHEHPQLCcjs.XAUIProvider; exports.alertRecipe = _chunkJ4JFIC4Wcjs.alertRecipe; exports.buildRadius = _chunkOHEHPQLCcjs.buildRadius; exports.buildShadows = _chunkOHEHPQLCcjs.buildShadows; exports.buildSlots = _chunkBULNTP5Ncjs.buildSlots; exports.buttonRecipe = _chunkWVCAFORAcjs.buttonRecipe; exports.cardRecipe = _chunk6FBGCF5Tcjs.cardRecipe; exports.childrenToString = _chunkHUZ4AUM2cjs.childrenToString; exports.chipRecipe = _chunkI7G77Q65cjs.chipRecipe; exports.closeButtonBase = _chunkJ2JJLKLGcjs.closeButtonBase; exports.createRecipe = _chunkYXVKQMCKcjs.createRecipe; exports.createSlotContext = _chunkHUZ4AUM2cjs.createSlotContext; exports.createTheme = _chunkOHEHPQLCcjs.createTheme; exports.decoratorPadding = _chunk3LKGVKQYcjs.decoratorPadding; exports.defaultTheme = _chunkOHEHPQLCcjs.defaultTheme; exports.deriveColors = _chunkOHEHPQLCcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.extractPastedCode = _chunkBULNTP5Ncjs.extractPastedCode; exports.inputOTPRecipe = _chunkBULNTP5Ncjs.inputOTPRecipe; exports.inputRecipe = _chunkJCKVYYZOcjs.inputRecipe; exports.markBackground = _chunk6FBGCF5Tcjs.markBackground; exports.markOverlay = _chunkIG4Q3WQOcjs.markOverlay; exports.mergeProps = _chunkHUZ4AUM2cjs.mergeProps; exports.mergeRefs = _chunkHUZ4AUM2cjs.mergeRefs; exports.palette = _chunkOHEHPQLCcjs.palette; exports.pressScaleFor = _chunkIG4Q3WQOcjs.pressScaleFor; exports.primitives = _chunkOHEHPQLCcjs.primitives; exports.radiusAxis = _chunkYXVKQMCKcjs.radiusAxis; exports.resolveAnimation = _chunkIG4Q3WQOcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkIG4Q3WQOcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkIG4Q3WQOcjs.rippleRadiusFor; exports.sourceKeys = _chunkOHEHPQLCcjs.sourceKeys; exports.tokens = _chunkOHEHPQLCcjs.tokens; exports.typographyRecipe = _chunkY7U6ACMBcjs.typographyRecipe; exports.useAlert = _chunkJ4JFIC4Wcjs.useAlert; exports.useButton = _chunkWVCAFORAcjs.useButton; exports.useCard = _chunk6FBGCF5Tcjs.useCard; exports.useChip = _chunkI7G77Q65cjs.useChip; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = _chunkBULNTP5Ncjs.useControllableState; exports.useFeedback = _chunkIG4Q3WQOcjs.useFeedback; exports.useGrid = _chunkIBEX4XGVcjs.useGrid; exports.useIconContext = _chunkB4W2XNBPcjs.useIconContext; exports.useInput = _chunkJCKVYYZOcjs.useInput; exports.useInputGroup = _chunk3LKGVKQYcjs.useInputGroup; exports.useInputOTP = _chunkBULNTP5Ncjs.useInputOTP; exports.useInputOTPBox = _chunkBULNTP5Ncjs.useInputOTPBox; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkIG4Q3WQOcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkHUZ4AUM2cjs.useStyleProps; exports.useTextArea = _chunk5OXZIZRZcjs.useTextArea; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
package/dist/index.d.cts CHANGED
@@ -2,8 +2,10 @@ export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDesc
2
2
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.cjs';
3
3
  export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.cjs';
4
4
  export { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.cjs';
5
- export { Input, InputContextValue, InputDescriptionProps, InputErrorProps, InputFieldProps, InputLabelPlacement, InputLabelProps, InputProps, InputSize, InputSlot, InputVariant, inputRecipe, useInput } from './components/input/index.cjs';
5
+ export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot, inputRecipe, useInput } from './components/input/index.cjs';
6
+ export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.cjs';
6
7
  export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.cjs';
8
+ export { TextArea, TextAreaContextValue, TextAreaFieldProps, TextAreaProps, useTextArea } from './components/text-area/index.cjs';
7
9
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.cjs';
8
10
  export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.cjs';
9
11
  import { RefCallback } from 'react';
@@ -16,6 +18,7 @@ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as R
16
18
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.cjs';
17
19
  export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.cjs';
18
20
  export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.cjs';
21
+ export { b as InputContextValue, c as InputDescriptionProps, d as InputErrorProps, I as InputFieldProps, e as InputLabelPlacement, f as InputLabelProps, a as InputProps, g as InputSize, h as InputSlot, i as InputVariant } from './input.type-BUMDlzL9.cjs';
19
22
  export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-BA2C9sSz.cjs';
20
23
  import 'react-native-reanimated';
21
24
 
package/dist/index.d.ts CHANGED
@@ -2,8 +2,10 @@ export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDesc
2
2
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.js';
3
3
  export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.js';
4
4
  export { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.js';
5
- export { Input, InputContextValue, InputDescriptionProps, InputErrorProps, InputFieldProps, InputLabelPlacement, InputLabelProps, InputProps, InputSize, InputSlot, InputVariant, inputRecipe, useInput } from './components/input/index.js';
5
+ export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot, inputRecipe, useInput } from './components/input/index.js';
6
+ export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.js';
6
7
  export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.js';
8
+ export { TextArea, TextAreaContextValue, TextAreaFieldProps, TextAreaProps, useTextArea } from './components/text-area/index.js';
7
9
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.js';
8
10
  export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.js';
9
11
  import { RefCallback } from 'react';
@@ -16,6 +18,7 @@ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as R
16
18
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
17
19
  export { ColorModePreference, PaletteFamily, PaletteShade, ThemeContext, XAUIProvider, XAUIProviderProps, XAUITint, buildRadius, buildShadows, createTheme, defaultTheme, deriveColors, deriveTint, palette, primitives, sourceKeys, tokens, useColorMode, useThemeColor, useXAUITheme } from './theme/index.js';
18
20
  export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.js';
21
+ export { b as InputContextValue, c as InputDescriptionProps, d as InputErrorProps, I as InputFieldProps, e as InputLabelPlacement, f as InputLabelProps, a as InputProps, g as InputSize, h as InputSlot, i as InputVariant } from './input.type-D2qgi03E.js';
19
22
  export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-Bs4dQlGj.js';
20
23
  import 'react-native-reanimated';
21
24
 
package/dist/index.js CHANGED
@@ -1,3 +1,12 @@
1
+ import {
2
+ TextArea,
3
+ useTextArea
4
+ } from "./chunk-TR2TGPDQ.js";
5
+ import {
6
+ TextSpan,
7
+ Typography,
8
+ typographyRecipe
9
+ } from "./chunk-G52TQJBI.js";
1
10
  import {
2
11
  Column,
3
12
  Grid,
@@ -21,7 +30,7 @@ import {
21
30
  primitives,
22
31
  sourceKeys,
23
32
  tokens
24
- } from "./chunk-GG2WWCBK.js";
33
+ } from "./chunk-TZG3DERP.js";
25
34
  import {
26
35
  Alert,
27
36
  alertRecipe,
@@ -31,7 +40,7 @@ import {
31
40
  Button,
32
41
  buttonRecipe,
33
42
  useButton
34
- } from "./chunk-MRYLLKML.js";
43
+ } from "./chunk-PQHC65AG.js";
35
44
  import {
36
45
  CARD_BACKGROUND,
37
46
  Card,
@@ -43,16 +52,11 @@ import {
43
52
  Chip,
44
53
  chipRecipe,
45
54
  useChip
46
- } from "./chunk-4J26FA6O.js";
55
+ } from "./chunk-3WISQT22.js";
47
56
  import {
48
57
  CloseButton,
49
58
  closeButtonBase
50
59
  } from "./chunk-A4RGJBP2.js";
51
- import {
52
- Icon,
53
- IconContext,
54
- useIconContext
55
- } from "./chunk-ICR42HHG.js";
56
60
  import {
57
61
  FEEDBACK_OVERLAY,
58
62
  HIGHLIGHT_DURATION,
@@ -76,11 +80,31 @@ import {
76
80
  useFeedback,
77
81
  usePressState
78
82
  } from "./chunk-4HELPMAK.js";
83
+ import {
84
+ InputGroup,
85
+ InputGroupField,
86
+ InputGroupIcon,
87
+ InputGroupPrefix,
88
+ InputGroupRoot,
89
+ InputGroupSuffix,
90
+ decoratorPadding,
91
+ useInputGroup
92
+ } from "./chunk-WEMZ4VMC.js";
93
+ import {
94
+ Icon,
95
+ IconContext,
96
+ useIconContext
97
+ } from "./chunk-ICR42HHG.js";
79
98
  import {
80
99
  Input,
100
+ InputDescription,
101
+ InputError,
102
+ InputField,
103
+ InputLabel,
104
+ InputRoot,
81
105
  inputRecipe,
82
106
  useInput
83
- } from "./chunk-6RO26ORT.js";
107
+ } from "./chunk-V2FQN6ZK.js";
84
108
  import {
85
109
  InputOTP,
86
110
  OTP_ALPHANUMERIC,
@@ -92,13 +116,8 @@ import {
92
116
  useControllableState,
93
117
  useInputOTP,
94
118
  useInputOTPBox
95
- } from "./chunk-J4QE34AU.js";
119
+ } from "./chunk-I6UCYAO2.js";
96
120
  import "./chunk-EGLLDKN6.js";
97
- import {
98
- TextSpan,
99
- Typography,
100
- typographyRecipe
101
- } from "./chunk-G52TQJBI.js";
102
121
  import {
103
122
  createRecipe,
104
123
  radiusAxis
@@ -150,7 +169,18 @@ export {
150
169
  Icon,
151
170
  IconContext,
152
171
  Input,
172
+ InputDescription,
173
+ InputError,
174
+ InputField,
175
+ InputGroup,
176
+ InputGroupField,
177
+ InputGroupIcon,
178
+ InputGroupPrefix,
179
+ InputGroupRoot,
180
+ InputGroupSuffix,
181
+ InputLabel,
153
182
  InputOTP,
183
+ InputRoot,
154
184
  OTP_ALPHANUMERIC,
155
185
  OTP_DIGITS,
156
186
  OTP_LETTERS,
@@ -171,6 +201,7 @@ export {
171
201
  SCALE_REFERENCE_WIDTH,
172
202
  Slot,
173
203
  Stack,
204
+ TextArea,
174
205
  TextSpan,
175
206
  ThemeContext,
176
207
  Typography,
@@ -187,6 +218,7 @@ export {
187
218
  createRecipe,
188
219
  createSlotContext,
189
220
  createTheme,
221
+ decoratorPadding,
190
222
  defaultTheme,
191
223
  deriveColors,
192
224
  deriveTint,
@@ -217,12 +249,14 @@ export {
217
249
  useGrid,
218
250
  useIconContext,
219
251
  useInput,
252
+ useInputGroup,
220
253
  useInputOTP,
221
254
  useInputOTPBox,
222
255
  useMergedRef,
223
256
  usePressState,
224
257
  usePrevious,
225
258
  useStyleProps,
259
+ useTextArea,
226
260
  useThemeColor,
227
261
  useXAUITheme
228
262
  };