@xaui/native 0.9.1-alpha.20 → 0.9.1-alpha.21

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 (41) hide show
  1. package/dist/{chunk-A4VD4MHK.cjs → chunk-4NE3SLTM.cjs} +63 -125
  2. package/dist/chunk-5LC6KVL3.cjs +68 -0
  3. package/dist/{chunk-6ARON3XT.cjs → chunk-APCBIHLR.cjs} +23 -50
  4. package/dist/chunk-BPBY7ON7.cjs +451 -0
  5. package/dist/{chunk-WXAME7KB.js → chunk-IBRVMLUF.js} +97 -157
  6. package/dist/{chunk-4EPS7UBO.js → chunk-ISVUXVFL.js} +18 -43
  7. package/dist/chunk-JL27KVRT.js +68 -0
  8. package/dist/chunk-RRRGLRRP.cjs +28 -0
  9. package/dist/chunk-SGHP76GU.js +28 -0
  10. package/dist/{chunk-MWXE7D4L.js → chunk-TUJBDS5M.js} +1 -1
  11. package/dist/{chunk-BHTFIZTQ.cjs → chunk-UL263KGM.cjs} +1 -1
  12. package/dist/chunk-YRCUALUQ.js +451 -0
  13. package/dist/components/button/index.cjs +5 -3
  14. package/dist/components/button/index.d.cts +3 -2
  15. package/dist/components/button/index.d.ts +3 -2
  16. package/dist/components/button/index.js +4 -2
  17. package/dist/components/card/index.cjs +20 -0
  18. package/dist/components/card/index.d.cts +620 -0
  19. package/dist/components/card/index.d.ts +620 -0
  20. package/dist/components/card/index.js +20 -0
  21. package/dist/components/typography/index.d.cts +1 -1
  22. package/dist/components/typography/index.d.ts +1 -1
  23. package/dist/{create-recipe-CPXFo2rk.d.ts → create-recipe-CC3NNCqF.d.ts} +6 -1
  24. package/dist/{create-recipe-C0XXjuow.d.cts → create-recipe-CPBFg7ym.d.cts} +6 -1
  25. package/dist/icon.type-BkcEPJbK.d.ts +73 -0
  26. package/dist/icon.type-Cs1tMX0W.d.cts +73 -0
  27. package/dist/index.cjs +21 -5
  28. package/dist/index.d.cts +4 -2
  29. package/dist/index.d.ts +4 -2
  30. package/dist/index.js +24 -8
  31. package/dist/{pressable-feedback.type-BwkKLQlX.d.ts → pressable-feedback.type-DsvWZXWC.d.ts} +4 -72
  32. package/dist/{pressable-feedback.type-1K8YEOb8.d.cts → pressable-feedback.type-wfeiJz5m.d.cts} +4 -72
  33. package/dist/system/index.cjs +4 -2
  34. package/dist/system/index.d.cts +5 -3
  35. package/dist/system/index.d.ts +5 -3
  36. package/dist/system/index.js +7 -5
  37. package/dist/theme/index.cjs +2 -2
  38. package/dist/theme/index.d.cts +1 -1
  39. package/dist/theme/index.d.ts +1 -1
  40. package/dist/theme/index.js +1 -1
  41. package/package.json +11 -1
@@ -41,7 +41,12 @@ type RecipeConfig<Slot extends string, Variant extends string, A extends Axes<Sl
41
41
  /** Where the variant's colours land — written once, and it holds for every variant. */
42
42
  paint?: StyleFn<Slot>;
43
43
  variants?: A;
44
- compoundVariants?: ReadonlyArray<CompoundVariant<Slot, Variant, A>>;
44
+ /**
45
+ * `NoInfer` for the same reason as `defaultVariants` below: a `when: { variant: 'x' }`
46
+ * names one variant, and letting inference read `Variant` off it collapses the recipe
47
+ * to that single value.
48
+ */
49
+ compoundVariants?: ReadonlyArray<CompoundVariant<Slot, NoInfer<Variant>, A>>;
45
50
  states?: Partial<Record<StateName, StyleFn<Slot>>>;
46
51
  /**
47
52
  * `NoInfer`, because this is the one place a single variant name appears on its own:
@@ -41,7 +41,12 @@ type RecipeConfig<Slot extends string, Variant extends string, A extends Axes<Sl
41
41
  /** Where the variant's colours land — written once, and it holds for every variant. */
42
42
  paint?: StyleFn<Slot>;
43
43
  variants?: A;
44
- compoundVariants?: ReadonlyArray<CompoundVariant<Slot, Variant, A>>;
44
+ /**
45
+ * `NoInfer` for the same reason as `defaultVariants` below: a `when: { variant: 'x' }`
46
+ * names one variant, and letting inference read `Variant` off it collapses the recipe
47
+ * to that single value.
48
+ */
49
+ compoundVariants?: ReadonlyArray<CompoundVariant<Slot, NoInfer<Variant>, A>>;
45
50
  states?: Partial<Record<StateName, StyleFn<Slot>>>;
46
51
  /**
47
52
  * `NoInfer`, because this is the one place a single variant name appears on its own:
@@ -0,0 +1,73 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ import { ImageSourcePropType, StyleProp, ImageStyle } from 'react-native';
3
+ import { I as ImageStyleProps } from './style-props.type-B1BG5TCm.js';
4
+
5
+ /**
6
+ * The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
7
+ * `as` is handed. It is a convention rather than an interface anyone published, which is
8
+ * exactly why `Icon` exists: without it every call site computes the two values by hand.
9
+ */
10
+ type IconComponentProps = {
11
+ size?: number;
12
+ color?: string;
13
+ };
14
+ /** What every form takes, and the only lever the two non-rendering ones have. */
15
+ type IconBase = {
16
+ /** Overrides what the surrounding slot asked for. */
17
+ size?: number;
18
+ /** A raw value (R7), never a token. Overrides the slot's. */
19
+ color?: string;
20
+ };
21
+ /**
22
+ * An icon component — `size` and `color` are injected into it.
23
+ *
24
+ * No style props and no `style`: we do not render this node, the third party does, and
25
+ * there is no published interface that says it would accept either. Wrapping it in a view
26
+ * to make them work would add a level of depth to every icon in the library.
27
+ */
28
+ type IconAsProps = IconBase & {
29
+ as: ComponentType<IconComponentProps>;
30
+ children?: never;
31
+ source?: never;
32
+ };
33
+ /**
34
+ * A raw `react-native-svg` element, cloned with the resolved size and colour.
35
+ *
36
+ * No style props and no `style` either: the node is the caller's own element, and they can
37
+ * style it where they wrote it.
38
+ */
39
+ type IconChildrenProps = IconBase & {
40
+ as?: never;
41
+ children: ReactNode;
42
+ source?: never;
43
+ };
44
+ /**
45
+ * An image, tinted with the resolved colour — **the one form that carries R14**, because
46
+ * it is the one where we render the node.
47
+ */
48
+ type IconSourceProps = IconBase & ImageStyleProps & {
49
+ as?: never;
50
+ children?: never;
51
+ source: ImageSourcePropType;
52
+ style?: StyleProp<ImageStyle>;
53
+ };
54
+ /**
55
+ * Three forms, and the type says which one you are in.
56
+ *
57
+ * The union is what makes R14's boundary checkable rather than merely documented. When
58
+ * every form declared the style props, `<Icon as={Trash2} marginEnd={8} />` compiled and
59
+ * did nothing at all — the prop was dropped on the two forms that do not render the node,
60
+ * silently, and only a comment said so. Now it is a compile error that points at `size`
61
+ * and `color`, which are the levers those forms actually have.
62
+ *
63
+ * It also makes the three mutually exclusive, which they always were at runtime: `as`
64
+ * wins over children, and children over `source`.
65
+ */
66
+ type IconProps = IconAsProps | IconChildrenProps | IconSourceProps;
67
+ /** What a component root publishes so the icons inside it need no props at all. */
68
+ type IconContextValue = {
69
+ size?: number;
70
+ color?: string;
71
+ };
72
+
73
+ export type { IconComponentProps as I, IconContextValue as a, IconProps as b };
@@ -0,0 +1,73 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ import { ImageSourcePropType, StyleProp, ImageStyle } from 'react-native';
3
+ import { I as ImageStyleProps } from './style-props.type-B1BG5TCm.cjs';
4
+
5
+ /**
6
+ * The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
7
+ * `as` is handed. It is a convention rather than an interface anyone published, which is
8
+ * exactly why `Icon` exists: without it every call site computes the two values by hand.
9
+ */
10
+ type IconComponentProps = {
11
+ size?: number;
12
+ color?: string;
13
+ };
14
+ /** What every form takes, and the only lever the two non-rendering ones have. */
15
+ type IconBase = {
16
+ /** Overrides what the surrounding slot asked for. */
17
+ size?: number;
18
+ /** A raw value (R7), never a token. Overrides the slot's. */
19
+ color?: string;
20
+ };
21
+ /**
22
+ * An icon component — `size` and `color` are injected into it.
23
+ *
24
+ * No style props and no `style`: we do not render this node, the third party does, and
25
+ * there is no published interface that says it would accept either. Wrapping it in a view
26
+ * to make them work would add a level of depth to every icon in the library.
27
+ */
28
+ type IconAsProps = IconBase & {
29
+ as: ComponentType<IconComponentProps>;
30
+ children?: never;
31
+ source?: never;
32
+ };
33
+ /**
34
+ * A raw `react-native-svg` element, cloned with the resolved size and colour.
35
+ *
36
+ * No style props and no `style` either: the node is the caller's own element, and they can
37
+ * style it where they wrote it.
38
+ */
39
+ type IconChildrenProps = IconBase & {
40
+ as?: never;
41
+ children: ReactNode;
42
+ source?: never;
43
+ };
44
+ /**
45
+ * An image, tinted with the resolved colour — **the one form that carries R14**, because
46
+ * it is the one where we render the node.
47
+ */
48
+ type IconSourceProps = IconBase & ImageStyleProps & {
49
+ as?: never;
50
+ children?: never;
51
+ source: ImageSourcePropType;
52
+ style?: StyleProp<ImageStyle>;
53
+ };
54
+ /**
55
+ * Three forms, and the type says which one you are in.
56
+ *
57
+ * The union is what makes R14's boundary checkable rather than merely documented. When
58
+ * every form declared the style props, `<Icon as={Trash2} marginEnd={8} />` compiled and
59
+ * did nothing at all — the prop was dropped on the two forms that do not render the node,
60
+ * silently, and only a comment said so. Now it is a compile error that points at `size`
61
+ * and `color`, which are the levers those forms actually have.
62
+ *
63
+ * It also makes the three mutually exclusive, which they always were at runtime: `as`
64
+ * wins over children, and children over `source`.
65
+ */
66
+ type IconProps = IconAsProps | IconChildrenProps | IconSourceProps;
67
+ /** What a component root publishes so the icons inside it need no props at all. */
68
+ type IconContextValue = {
69
+ size?: number;
70
+ color?: string;
71
+ };
72
+
73
+ export type { IconComponentProps as I, IconContextValue as a, IconProps as b };
package/dist/index.cjs CHANGED
@@ -2,9 +2,18 @@
2
2
 
3
3
 
4
4
 
5
+ var _chunkAPCBIHLRcjs = require('./chunk-APCBIHLR.cjs');
5
6
 
6
7
 
7
- var _chunk6ARON3XTcjs = require('./chunk-6ARON3XT.cjs');
8
+
9
+
10
+
11
+
12
+ var _chunkBPBY7ON7cjs = require('./chunk-BPBY7ON7.cjs');
13
+
14
+
15
+
16
+ var _chunkRRRGLRRPcjs = require('./chunk-RRRGLRRP.cjs');
8
17
 
9
18
 
10
19
 
@@ -26,6 +35,7 @@ var _chunk2WMVDMFVcjs = require('./chunk-2WMVDMFV.cjs');
26
35
 
27
36
 
28
37
 
38
+ var _chunk5LC6KVL3cjs = require('./chunk-5LC6KVL3.cjs');
29
39
 
30
40
 
31
41
 
@@ -46,7 +56,8 @@ var _chunk2WMVDMFVcjs = require('./chunk-2WMVDMFV.cjs');
46
56
 
47
57
 
48
58
 
49
- var _chunkA4VD4MHKcjs = require('./chunk-A4VD4MHK.cjs');
59
+
60
+ var _chunk4NE3SLTMcjs = require('./chunk-4NE3SLTM.cjs');
50
61
 
51
62
 
52
63
  var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
@@ -69,7 +80,7 @@ var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
69
80
 
70
81
 
71
82
 
72
- var _chunkBHTFIZTQcjs = require('./chunk-BHTFIZTQ.cjs');
83
+ var _chunkUL263KGMcjs = require('./chunk-UL263KGM.cjs');
73
84
 
74
85
 
75
86
 
@@ -107,7 +118,7 @@ function useControllableState({
107
118
  function useControlWarning(isControlled) {
108
119
  const wasControlled = _react.useRef.call(void 0, isControlled);
109
120
  if (wasControlled.current !== isControlled) {
110
- _chunk6ARON3XTcjs.warnDev.call(void 0,
121
+ _chunkRRRGLRRPcjs.warnDev.call(void 0,
111
122
  `a component switched from ${wasControlled.current ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}. Decide for the life of the component: pass \`value\` always, or never. Passing \`undefined\` for a value you do control reads as "uncontrolled" here.`
112
123
  );
113
124
  wasControlled.current = isControlled;
@@ -193,4 +204,9 @@ function usePrevious(value) {
193
204
 
194
205
 
195
206
 
196
- exports.Button = _chunk6ARON3XTcjs.Button; exports.Column = _chunk33QILJJHcjs.Column; exports.FEEDBACK_OVERLAY = _chunkA4VD4MHKcjs.FEEDBACK_OVERLAY; exports.Grid = _chunk33QILJJHcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkA4VD4MHKcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkA4VD4MHKcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkA4VD4MHKcjs.Icon; exports.IconContext = _chunkA4VD4MHKcjs.IconContext; exports.PRESS_DURATION = _chunkA4VD4MHKcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkA4VD4MHKcjs.PRESS_SCALE; exports.Portal = _chunk2WMVDMFVcjs.Portal; exports.PortalContext = _chunk2WMVDMFVcjs.PortalContext; exports.PortalHost = _chunk2WMVDMFVcjs.PortalHost; exports.PressableFeedback = _chunkA4VD4MHKcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkA4VD4MHKcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkA4VD4MHKcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkA4VD4MHKcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkA4VD4MHKcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkA4VD4MHKcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkA4VD4MHKcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkA4VD4MHKcjs.RIPPLE_START_SCALE; exports.Row = _chunk33QILJJHcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkA4VD4MHKcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkEVXZGNPAcjs.Slot; exports.Stack = _chunk33QILJJHcjs.Stack; exports.TextSpan = _chunkUBA6AEY6cjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkUBA6AEY6cjs.Typography; exports.XAUIProvider = _chunkBHTFIZTQcjs.XAUIProvider; exports.buildRadius = _chunkBHTFIZTQcjs.buildRadius; exports.buildShadows = _chunkBHTFIZTQcjs.buildShadows; exports.buttonRecipe = _chunk6ARON3XTcjs.buttonRecipe; exports.childrenToString = _chunkEVXZGNPAcjs.childrenToString; exports.createRecipe = _chunkUVO4GFSWcjs.createRecipe; exports.createSlotContext = _chunkEVXZGNPAcjs.createSlotContext; exports.createTheme = _chunkBHTFIZTQcjs.createTheme; exports.defaultTheme = _chunkBHTFIZTQcjs.defaultTheme; exports.deriveColors = _chunkBHTFIZTQcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.markOverlay = _chunkA4VD4MHKcjs.markOverlay; exports.mergeProps = _chunkEVXZGNPAcjs.mergeProps; exports.mergeRefs = _chunkEVXZGNPAcjs.mergeRefs; exports.palette = _chunkBHTFIZTQcjs.palette; exports.pressScaleFor = _chunkA4VD4MHKcjs.pressScaleFor; exports.primitives = _chunkBHTFIZTQcjs.primitives; exports.resolveAnimation = _chunkA4VD4MHKcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkA4VD4MHKcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkA4VD4MHKcjs.rippleRadiusFor; exports.sourceKeys = _chunkBHTFIZTQcjs.sourceKeys; exports.tokens = _chunkBHTFIZTQcjs.tokens; exports.typographyRecipe = _chunkUBA6AEY6cjs.typographyRecipe; exports.useButton = _chunk6ARON3XTcjs.useButton; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunkA4VD4MHKcjs.useFeedback; exports.useGrid = _chunk33QILJJHcjs.useGrid; exports.useIconContext = _chunkA4VD4MHKcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunk6ARON3XTcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkEVXZGNPAcjs.useStyleProps; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
207
+
208
+
209
+
210
+
211
+
212
+ exports.Button = _chunkAPCBIHLRcjs.Button; exports.CARD_BACKGROUND = _chunkBPBY7ON7cjs.CARD_BACKGROUND; exports.Card = _chunkBPBY7ON7cjs.Card; exports.Column = _chunk33QILJJHcjs.Column; exports.FEEDBACK_OVERLAY = _chunk4NE3SLTMcjs.FEEDBACK_OVERLAY; exports.Grid = _chunk33QILJJHcjs.Grid; exports.HIGHLIGHT_DURATION = _chunk4NE3SLTMcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunk4NE3SLTMcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk5LC6KVL3cjs.Icon; exports.IconContext = _chunk5LC6KVL3cjs.IconContext; exports.PRESS_DURATION = _chunk4NE3SLTMcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunk4NE3SLTMcjs.PRESS_SCALE; exports.Portal = _chunk2WMVDMFVcjs.Portal; exports.PortalContext = _chunk2WMVDMFVcjs.PortalContext; exports.PortalHost = _chunk2WMVDMFVcjs.PortalHost; exports.PressableFeedback = _chunk4NE3SLTMcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunk4NE3SLTMcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunk4NE3SLTMcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunk4NE3SLTMcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunk4NE3SLTMcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunk4NE3SLTMcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunk4NE3SLTMcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunk4NE3SLTMcjs.RIPPLE_START_SCALE; exports.Row = _chunk33QILJJHcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunk4NE3SLTMcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkEVXZGNPAcjs.Slot; exports.Stack = _chunk33QILJJHcjs.Stack; exports.TextSpan = _chunkUBA6AEY6cjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkUBA6AEY6cjs.Typography; exports.XAUIProvider = _chunkUL263KGMcjs.XAUIProvider; exports.buildRadius = _chunkUL263KGMcjs.buildRadius; exports.buildShadows = _chunkUL263KGMcjs.buildShadows; exports.buttonRecipe = _chunkAPCBIHLRcjs.buttonRecipe; exports.cardRecipe = _chunkBPBY7ON7cjs.cardRecipe; exports.childrenToString = _chunkEVXZGNPAcjs.childrenToString; exports.createRecipe = _chunkUVO4GFSWcjs.createRecipe; exports.createSlotContext = _chunkEVXZGNPAcjs.createSlotContext; exports.createTheme = _chunkUL263KGMcjs.createTheme; exports.defaultTheme = _chunkUL263KGMcjs.defaultTheme; exports.deriveColors = _chunkUL263KGMcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.markBackground = _chunkBPBY7ON7cjs.markBackground; exports.markOverlay = _chunk4NE3SLTMcjs.markOverlay; exports.mergeProps = _chunkEVXZGNPAcjs.mergeProps; exports.mergeRefs = _chunkEVXZGNPAcjs.mergeRefs; exports.palette = _chunkUL263KGMcjs.palette; exports.pressScaleFor = _chunk4NE3SLTMcjs.pressScaleFor; exports.primitives = _chunkUL263KGMcjs.primitives; exports.resolveAnimation = _chunk4NE3SLTMcjs.resolveAnimation; exports.resolveSlotAnimation = _chunk4NE3SLTMcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunk4NE3SLTMcjs.rippleRadiusFor; exports.sourceKeys = _chunkUL263KGMcjs.sourceKeys; exports.tokens = _chunkUL263KGMcjs.tokens; exports.typographyRecipe = _chunkUBA6AEY6cjs.typographyRecipe; exports.useButton = _chunkAPCBIHLRcjs.useButton; exports.useCard = _chunkBPBY7ON7cjs.useCard; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunk4NE3SLTMcjs.useFeedback; exports.useGrid = _chunk33QILJJHcjs.useGrid; exports.useIconContext = _chunk5LC6KVL3cjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkRRRGLRRPcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkEVXZGNPAcjs.useStyleProps; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
package/dist/index.d.cts CHANGED
@@ -1,15 +1,17 @@
1
1
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.cjs';
2
+ export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.cjs';
2
3
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.cjs';
3
4
  export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.cjs';
4
5
  import { RefCallback } from 'react';
5
6
  import { PossibleRef } from './system/index.cjs';
6
7
  export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
7
8
  import { GestureResponderEvent } from 'react-native';
8
- export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-1K8YEOb8.cjs';
9
- export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-C0XXjuow.cjs';
9
+ export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-Cs1tMX0W.cjs';
10
+ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-CPBFg7ym.cjs';
10
11
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.cjs';
11
12
  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';
12
13
  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';
14
+ 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-wfeiJz5m.cjs';
13
15
  import 'react-native-reanimated';
14
16
 
15
17
  type ControllableStateOptions<T> = {
package/dist/index.d.ts CHANGED
@@ -1,15 +1,17 @@
1
1
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.js';
2
+ export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.js';
2
3
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.js';
3
4
  export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.js';
4
5
  import { RefCallback } from 'react';
5
6
  import { PossibleRef } from './system/index.js';
6
7
  export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
7
8
  import { GestureResponderEvent } from 'react-native';
8
- export { A as AnimationConfig, c as AnimationProp, F as FeedbackContext, I as IconComponentProps, a as IconContextValue, b as IconProps, P as PressableFeedbackProps, R as RadiusStyle, d as ResolvedAnimation, e as RippleWave, S as SlotAnimation } from './pressable-feedback.type-BwkKLQlX.js';
9
- export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-CPXFo2rk.js';
9
+ export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-BkcEPJbK.js';
10
+ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from './create-recipe-CC3NNCqF.js';
10
11
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.js';
11
12
  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';
12
13
  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';
14
+ 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-DsvWZXWC.js';
13
15
  import 'react-native-reanimated';
14
16
 
15
17
  type ControllableStateOptions<T> = {
package/dist/index.js CHANGED
@@ -1,10 +1,19 @@
1
1
  import {
2
2
  Button,
3
3
  buttonRecipe,
4
- useButton,
4
+ useButton
5
+ } from "./chunk-ISVUXVFL.js";
6
+ import {
7
+ CARD_BACKGROUND,
8
+ Card,
9
+ cardRecipe,
10
+ markBackground,
11
+ useCard
12
+ } from "./chunk-YRCUALUQ.js";
13
+ import {
5
14
  usePressState,
6
15
  warnDev
7
- } from "./chunk-4EPS7UBO.js";
16
+ } from "./chunk-SGHP76GU.js";
8
17
  import {
9
18
  TextSpan,
10
19
  Typography,
@@ -22,12 +31,15 @@ import {
22
31
  PortalContext,
23
32
  PortalHost
24
33
  } from "./chunk-XHZBXYVU.js";
34
+ import {
35
+ Icon,
36
+ IconContext,
37
+ useIconContext
38
+ } from "./chunk-JL27KVRT.js";
25
39
  import {
26
40
  FEEDBACK_OVERLAY,
27
41
  HIGHLIGHT_DURATION,
28
42
  HIGHLIGHT_OPACITY,
29
- Icon,
30
- IconContext,
31
43
  PRESS_DURATION,
32
44
  PRESS_SCALE,
33
45
  PressableFeedback,
@@ -44,9 +56,8 @@ import {
44
56
  resolveAnimation,
45
57
  resolveSlotAnimation,
46
58
  rippleRadiusFor,
47
- useFeedback,
48
- useIconContext
49
- } from "./chunk-WXAME7KB.js";
59
+ useFeedback
60
+ } from "./chunk-IBRVMLUF.js";
50
61
  import {
51
62
  createRecipe
52
63
  } from "./chunk-N7C4UNUL.js";
@@ -69,7 +80,7 @@ import {
69
80
  primitives,
70
81
  sourceKeys,
71
82
  tokens
72
- } from "./chunk-MWXE7D4L.js";
83
+ } from "./chunk-TUJBDS5M.js";
73
84
  import {
74
85
  ThemeContext,
75
86
  deriveTint,
@@ -131,6 +142,8 @@ function usePrevious(value) {
131
142
  }
132
143
  export {
133
144
  Button,
145
+ CARD_BACKGROUND,
146
+ Card,
134
147
  Column,
135
148
  FEEDBACK_OVERLAY,
136
149
  Grid,
@@ -162,6 +175,7 @@ export {
162
175
  buildRadius,
163
176
  buildShadows,
164
177
  buttonRecipe,
178
+ cardRecipe,
165
179
  childrenToString,
166
180
  createRecipe,
167
181
  createSlotContext,
@@ -169,6 +183,7 @@ export {
169
183
  defaultTheme,
170
184
  deriveColors,
171
185
  deriveTint,
186
+ markBackground,
172
187
  markOverlay,
173
188
  mergeProps,
174
189
  mergeRefs,
@@ -182,6 +197,7 @@ export {
182
197
  tokens,
183
198
  typographyRecipe,
184
199
  useButton,
200
+ useCard,
185
201
  useColorMode,
186
202
  useControllableState,
187
203
  useFeedback,
@@ -1,75 +1,7 @@
1
- import { ComponentType, ReactNode } from 'react';
2
- import { ImageSourcePropType, StyleProp, ImageStyle, PressableProps, ViewStyle } from 'react-native';
3
- import { I as ImageStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.js';
1
+ import { ReactNode } from 'react';
2
+ import { PressableProps, StyleProp, ViewStyle } from 'react-native';
4
3
  import { SharedValue } from 'react-native-reanimated';
5
-
6
- /**
7
- * The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
8
- * `as` is handed. It is a convention rather than an interface anyone published, which is
9
- * exactly why `Icon` exists: without it every call site computes the two values by hand.
10
- */
11
- type IconComponentProps = {
12
- size?: number;
13
- color?: string;
14
- };
15
- /** What every form takes, and the only lever the two non-rendering ones have. */
16
- type IconBase = {
17
- /** Overrides what the surrounding slot asked for. */
18
- size?: number;
19
- /** A raw value (R7), never a token. Overrides the slot's. */
20
- color?: string;
21
- };
22
- /**
23
- * An icon component — `size` and `color` are injected into it.
24
- *
25
- * No style props and no `style`: we do not render this node, the third party does, and
26
- * there is no published interface that says it would accept either. Wrapping it in a view
27
- * to make them work would add a level of depth to every icon in the library.
28
- */
29
- type IconAsProps = IconBase & {
30
- as: ComponentType<IconComponentProps>;
31
- children?: never;
32
- source?: never;
33
- };
34
- /**
35
- * A raw `react-native-svg` element, cloned with the resolved size and colour.
36
- *
37
- * No style props and no `style` either: the node is the caller's own element, and they can
38
- * style it where they wrote it.
39
- */
40
- type IconChildrenProps = IconBase & {
41
- as?: never;
42
- children: ReactNode;
43
- source?: never;
44
- };
45
- /**
46
- * An image, tinted with the resolved colour — **the one form that carries R14**, because
47
- * it is the one where we render the node.
48
- */
49
- type IconSourceProps = IconBase & ImageStyleProps & {
50
- as?: never;
51
- children?: never;
52
- source: ImageSourcePropType;
53
- style?: StyleProp<ImageStyle>;
54
- };
55
- /**
56
- * Three forms, and the type says which one you are in.
57
- *
58
- * The union is what makes R14's boundary checkable rather than merely documented. When
59
- * every form declared the style props, `<Icon as={Trash2} marginEnd={8} />` compiled and
60
- * did nothing at all — the prop was dropped on the two forms that do not render the node,
61
- * silently, and only a comment said so. Now it is a compile error that points at `size`
62
- * and `color`, which are the levers those forms actually have.
63
- *
64
- * It also makes the three mutually exclusive, which they always were at runtime: `as`
65
- * wins over children, and children over `source`.
66
- */
67
- type IconProps = IconAsProps | IconChildrenProps | IconSourceProps;
68
- /** What a component root publishes so the icons inside it need no props at all. */
69
- type IconContextValue = {
70
- size?: number;
71
- color?: string;
72
- };
4
+ import { V as ViewStyleProps } from './style-props.type-B1BG5TCm.js';
73
5
 
74
6
  type AnimationConfig = {
75
7
  scale?: boolean;
@@ -192,4 +124,4 @@ type FeedbackContext = {
192
124
  waves?: readonly [RippleWave, RippleWave];
193
125
  };
194
126
 
195
- export type { AnimationConfig as A, FeedbackContext as F, IconComponentProps as I, PressableFeedbackProps as P, RadiusStyle as R, SlotAnimation as S, IconContextValue as a, IconProps as b, AnimationProp as c, ResolvedAnimation as d, RippleWave as e };
127
+ export type { AnimationConfig as A, FeedbackContext as F, PressableFeedbackProps as P, RadiusStyle as R, SlotAnimation as S, AnimationProp as a, ResolvedAnimation as b, RippleWave as c };
@@ -1,75 +1,7 @@
1
- import { ComponentType, ReactNode } from 'react';
2
- import { ImageSourcePropType, StyleProp, ImageStyle, PressableProps, ViewStyle } from 'react-native';
3
- import { I as ImageStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.cjs';
1
+ import { ReactNode } from 'react';
2
+ import { PressableProps, StyleProp, ViewStyle } from 'react-native';
4
3
  import { SharedValue } from 'react-native-reanimated';
5
-
6
- /**
7
- * The props Lucide, Ionicons and `react-native-vector-icons` all accept — the shape
8
- * `as` is handed. It is a convention rather than an interface anyone published, which is
9
- * exactly why `Icon` exists: without it every call site computes the two values by hand.
10
- */
11
- type IconComponentProps = {
12
- size?: number;
13
- color?: string;
14
- };
15
- /** What every form takes, and the only lever the two non-rendering ones have. */
16
- type IconBase = {
17
- /** Overrides what the surrounding slot asked for. */
18
- size?: number;
19
- /** A raw value (R7), never a token. Overrides the slot's. */
20
- color?: string;
21
- };
22
- /**
23
- * An icon component — `size` and `color` are injected into it.
24
- *
25
- * No style props and no `style`: we do not render this node, the third party does, and
26
- * there is no published interface that says it would accept either. Wrapping it in a view
27
- * to make them work would add a level of depth to every icon in the library.
28
- */
29
- type IconAsProps = IconBase & {
30
- as: ComponentType<IconComponentProps>;
31
- children?: never;
32
- source?: never;
33
- };
34
- /**
35
- * A raw `react-native-svg` element, cloned with the resolved size and colour.
36
- *
37
- * No style props and no `style` either: the node is the caller's own element, and they can
38
- * style it where they wrote it.
39
- */
40
- type IconChildrenProps = IconBase & {
41
- as?: never;
42
- children: ReactNode;
43
- source?: never;
44
- };
45
- /**
46
- * An image, tinted with the resolved colour — **the one form that carries R14**, because
47
- * it is the one where we render the node.
48
- */
49
- type IconSourceProps = IconBase & ImageStyleProps & {
50
- as?: never;
51
- children?: never;
52
- source: ImageSourcePropType;
53
- style?: StyleProp<ImageStyle>;
54
- };
55
- /**
56
- * Three forms, and the type says which one you are in.
57
- *
58
- * The union is what makes R14's boundary checkable rather than merely documented. When
59
- * every form declared the style props, `<Icon as={Trash2} marginEnd={8} />` compiled and
60
- * did nothing at all — the prop was dropped on the two forms that do not render the node,
61
- * silently, and only a comment said so. Now it is a compile error that points at `size`
62
- * and `color`, which are the levers those forms actually have.
63
- *
64
- * It also makes the three mutually exclusive, which they always were at runtime: `as`
65
- * wins over children, and children over `source`.
66
- */
67
- type IconProps = IconAsProps | IconChildrenProps | IconSourceProps;
68
- /** What a component root publishes so the icons inside it need no props at all. */
69
- type IconContextValue = {
70
- size?: number;
71
- color?: string;
72
- };
4
+ import { V as ViewStyleProps } from './style-props.type-B1BG5TCm.cjs';
73
5
 
74
6
  type AnimationConfig = {
75
7
  scale?: boolean;
@@ -192,4 +124,4 @@ type FeedbackContext = {
192
124
  waves?: readonly [RippleWave, RippleWave];
193
125
  };
194
126
 
195
- export type { AnimationConfig as A, FeedbackContext as F, IconComponentProps as I, PressableFeedbackProps as P, RadiusStyle as R, SlotAnimation as S, IconContextValue as a, IconProps as b, AnimationProp as c, ResolvedAnimation as d, RippleWave as e };
127
+ export type { AnimationConfig as A, FeedbackContext as F, PressableFeedbackProps as P, RadiusStyle as R, SlotAnimation as S, AnimationProp as a, ResolvedAnimation as b, RippleWave as c };
@@ -7,6 +7,7 @@ var _chunk2WMVDMFVcjs = require('../chunk-2WMVDMFV.cjs');
7
7
 
8
8
 
9
9
 
10
+ var _chunk5LC6KVL3cjs = require('../chunk-5LC6KVL3.cjs');
10
11
 
11
12
 
12
13
 
@@ -27,7 +28,8 @@ var _chunk2WMVDMFVcjs = require('../chunk-2WMVDMFV.cjs');
27
28
 
28
29
 
29
30
 
30
- var _chunkA4VD4MHKcjs = require('../chunk-A4VD4MHK.cjs');
31
+
32
+ var _chunk4NE3SLTMcjs = require('../chunk-4NE3SLTM.cjs');
31
33
 
32
34
 
33
35
  var _chunkUVO4GFSWcjs = require('../chunk-UVO4GFSW.cjs');
@@ -75,4 +77,4 @@ require('../chunk-MC7SY2QH.cjs');
75
77
 
76
78
 
77
79
 
78
- exports.FEEDBACK_OVERLAY = _chunkA4VD4MHKcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkA4VD4MHKcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkA4VD4MHKcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkA4VD4MHKcjs.Icon; exports.IconContext = _chunkA4VD4MHKcjs.IconContext; exports.PRESS_DURATION = _chunkA4VD4MHKcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkA4VD4MHKcjs.PRESS_SCALE; exports.Portal = _chunk2WMVDMFVcjs.Portal; exports.PortalContext = _chunk2WMVDMFVcjs.PortalContext; exports.PortalHost = _chunk2WMVDMFVcjs.PortalHost; exports.PressableFeedback = _chunkA4VD4MHKcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkA4VD4MHKcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkA4VD4MHKcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkA4VD4MHKcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkA4VD4MHKcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkA4VD4MHKcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkA4VD4MHKcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkA4VD4MHKcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkA4VD4MHKcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkEVXZGNPAcjs.Slot; exports.childrenToString = _chunkEVXZGNPAcjs.childrenToString; exports.createRecipe = _chunkUVO4GFSWcjs.createRecipe; exports.createSlotContext = _chunkEVXZGNPAcjs.createSlotContext; exports.markOverlay = _chunkA4VD4MHKcjs.markOverlay; exports.mergeProps = _chunkEVXZGNPAcjs.mergeProps; exports.mergeRefs = _chunkEVXZGNPAcjs.mergeRefs; exports.pressScaleFor = _chunkA4VD4MHKcjs.pressScaleFor; exports.resolveAnimation = _chunkA4VD4MHKcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkA4VD4MHKcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkA4VD4MHKcjs.rippleRadiusFor; exports.useFeedback = _chunkA4VD4MHKcjs.useFeedback; exports.useIconContext = _chunkA4VD4MHKcjs.useIconContext; exports.useStyleProps = _chunkEVXZGNPAcjs.useStyleProps;
80
+ exports.FEEDBACK_OVERLAY = _chunk4NE3SLTMcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunk4NE3SLTMcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunk4NE3SLTMcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk5LC6KVL3cjs.Icon; exports.IconContext = _chunk5LC6KVL3cjs.IconContext; exports.PRESS_DURATION = _chunk4NE3SLTMcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunk4NE3SLTMcjs.PRESS_SCALE; exports.Portal = _chunk2WMVDMFVcjs.Portal; exports.PortalContext = _chunk2WMVDMFVcjs.PortalContext; exports.PortalHost = _chunk2WMVDMFVcjs.PortalHost; exports.PressableFeedback = _chunk4NE3SLTMcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunk4NE3SLTMcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunk4NE3SLTMcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunk4NE3SLTMcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunk4NE3SLTMcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunk4NE3SLTMcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunk4NE3SLTMcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunk4NE3SLTMcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunk4NE3SLTMcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkEVXZGNPAcjs.Slot; exports.childrenToString = _chunkEVXZGNPAcjs.childrenToString; exports.createRecipe = _chunkUVO4GFSWcjs.createRecipe; exports.createSlotContext = _chunkEVXZGNPAcjs.createSlotContext; exports.markOverlay = _chunk4NE3SLTMcjs.markOverlay; exports.mergeProps = _chunkEVXZGNPAcjs.mergeProps; exports.mergeRefs = _chunkEVXZGNPAcjs.mergeRefs; exports.pressScaleFor = _chunk4NE3SLTMcjs.pressScaleFor; exports.resolveAnimation = _chunk4NE3SLTMcjs.resolveAnimation; exports.resolveSlotAnimation = _chunk4NE3SLTMcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunk4NE3SLTMcjs.rippleRadiusFor; exports.useFeedback = _chunk4NE3SLTMcjs.useFeedback; exports.useIconContext = _chunk5LC6KVL3cjs.useIconContext; exports.useStyleProps = _chunkEVXZGNPAcjs.useStyleProps;
@@ -1,12 +1,14 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, Provider, Ref, RefCallback } from 'react';
3
- import { b as IconProps, a as IconContextValue, S as SlotAnimation, F as FeedbackContext, c as AnimationProp, d as ResolvedAnimation } from '../pressable-feedback.type-1K8YEOb8.cjs';
4
- export { A as AnimationConfig, I as IconComponentProps, P as PressableFeedbackProps, R as RadiusStyle, e as RippleWave } from '../pressable-feedback.type-1K8YEOb8.cjs';
3
+ import { b as IconProps, a as IconContextValue } from '../icon.type-Cs1tMX0W.cjs';
4
+ export { I as IconComponentProps } from '../icon.type-Cs1tMX0W.cjs';
5
5
  import { V as ViewStyleProps } from '../style-props.type-B1BG5TCm.cjs';
6
6
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-B1BG5TCm.cjs';
7
+ import { S as SlotAnimation, F as FeedbackContext, a as AnimationProp, b as ResolvedAnimation } from '../pressable-feedback.type-wfeiJz5m.cjs';
8
+ export { A as AnimationConfig, P as PressableFeedbackProps, R as RadiusStyle, c as RippleWave } from '../pressable-feedback.type-wfeiJz5m.cjs';
7
9
  import * as react_native from 'react-native';
8
10
  import { StyleProp, ViewStyle } from 'react-native';
9
- export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from '../create-recipe-C0XXjuow.cjs';
11
+ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from '../create-recipe-CPBFg7ym.cjs';
10
12
  import 'react-native-reanimated';
11
13
  import '../theme.type-C2gNHpEx.cjs';
12
14
 
@@ -1,12 +1,14 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, Provider, Ref, RefCallback } from 'react';
3
- import { b as IconProps, a as IconContextValue, S as SlotAnimation, F as FeedbackContext, c as AnimationProp, d as ResolvedAnimation } from '../pressable-feedback.type-BwkKLQlX.js';
4
- export { A as AnimationConfig, I as IconComponentProps, P as PressableFeedbackProps, R as RadiusStyle, e as RippleWave } from '../pressable-feedback.type-BwkKLQlX.js';
3
+ import { b as IconProps, a as IconContextValue } from '../icon.type-BkcEPJbK.js';
4
+ export { I as IconComponentProps } from '../icon.type-BkcEPJbK.js';
5
5
  import { V as ViewStyleProps } from '../style-props.type-B1BG5TCm.js';
6
6
  export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-B1BG5TCm.js';
7
+ import { S as SlotAnimation, F as FeedbackContext, a as AnimationProp, b as ResolvedAnimation } from '../pressable-feedback.type-DsvWZXWC.js';
8
+ export { A as AnimationConfig, P as PressableFeedbackProps, R as RadiusStyle, c as RippleWave } from '../pressable-feedback.type-DsvWZXWC.js';
7
9
  import * as react_native from 'react-native';
8
10
  import { StyleProp, ViewStyle } from 'react-native';
9
- export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from '../create-recipe-CPXFo2rk.js';
11
+ export { A as Axes, C as CompoundVariant, R as Recipe, b as RecipeConfig, a as ResolveArgs, d as ResolvedSelection, e as ResolvedStyles, S as Selection, f as SlotStyle, g as SlotStyles, h as StateName, i as States, j as StyleFn, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from '../create-recipe-CC3NNCqF.js';
10
12
  import 'react-native-reanimated';
11
13
  import '../theme.type-C2gNHpEx.js';
12
14