@xaui/native 0.9.1-alpha.17 → 0.9.1-alpha.19

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 (49) hide show
  1. package/dist/{chunk-M2VYRHVS.cjs → chunk-2WMVDMFV.cjs} +2 -2
  2. package/dist/{chunk-ASXK7XU4.js → chunk-4EPS7UBO.js} +18 -17
  3. package/dist/{chunk-6N5JXRUZ.cjs → chunk-57SJ4LJF.cjs} +2 -20
  4. package/dist/{chunk-IZYRU7S2.cjs → chunk-6ARON3XT.cjs} +27 -26
  5. package/dist/{chunk-XJARE6SC.js → chunk-A3EGFI6T.js} +0 -18
  6. package/dist/{chunk-2UICXD3Q.cjs → chunk-A4VD4MHK.cjs} +109 -102
  7. package/dist/chunk-BFB6K4M7.cjs +31 -0
  8. package/dist/{chunk-BHAHJHAI.cjs → chunk-BHTFIZTQ.cjs} +34 -32
  9. package/dist/{chunk-5SU7FXWH.cjs → chunk-EVXZGNPA.cjs} +3 -148
  10. package/dist/{chunk-4K3LZS7M.js → chunk-EXX6ATAS.js} +2 -147
  11. package/dist/chunk-GGW42MY4.js +20 -0
  12. package/dist/chunk-MAYVGK6W.js +31 -0
  13. package/dist/chunk-MC7SY2QH.cjs +20 -0
  14. package/dist/{chunk-XQE5PXOD.js → chunk-MWXE7D4L.js} +4 -2
  15. package/dist/chunk-N7C4UNUL.js +150 -0
  16. package/dist/{chunk-6PZF4PI7.js → chunk-RMLFMRWL.js} +5 -3
  17. package/dist/{chunk-6VTBGBPP.cjs → chunk-UBA6AEY6.cjs} +10 -8
  18. package/dist/chunk-UVO4GFSW.cjs +150 -0
  19. package/dist/{chunk-F432IDIW.js → chunk-WXAME7KB.js} +113 -106
  20. package/dist/{chunk-L3AQNVRN.js → chunk-XHZBXYVU.js} +1 -1
  21. package/dist/components/button/index.cjs +7 -5
  22. package/dist/components/button/index.d.cts +3 -2
  23. package/dist/components/button/index.d.ts +3 -2
  24. package/dist/components/button/index.js +6 -4
  25. package/dist/components/typography/index.cjs +6 -4
  26. package/dist/components/typography/index.d.cts +4 -3
  27. package/dist/components/typography/index.d.ts +4 -3
  28. package/dist/components/typography/index.js +5 -3
  29. package/dist/components/view/index.cjs +10 -0
  30. package/dist/components/view/index.d.cts +77 -0
  31. package/dist/components/view/index.d.ts +77 -0
  32. package/dist/components/view/index.js +10 -0
  33. package/dist/{create-recipe-3_ElpCYt.d.cts → create-recipe-C0XXjuow.d.cts} +2 -30
  34. package/dist/{create-recipe-DImq1AZA.d.ts → create-recipe-CPXFo2rk.d.ts} +2 -30
  35. package/dist/index.cjs +19 -10
  36. package/dist/index.d.cts +4 -2
  37. package/dist/index.d.ts +4 -2
  38. package/dist/index.js +17 -8
  39. package/dist/{pressable-feedback.type-KcPvFf6f.d.ts → pressable-feedback.type-1K8YEOb8.d.cts} +48 -20
  40. package/dist/{pressable-feedback.type-C9kjAuVQ.d.cts → pressable-feedback.type-BwkKLQlX.d.ts} +48 -20
  41. package/dist/style-props.type-B1BG5TCm.d.cts +31 -0
  42. package/dist/style-props.type-B1BG5TCm.d.ts +31 -0
  43. package/dist/system/index.cjs +8 -5
  44. package/dist/system/index.d.cts +11 -6
  45. package/dist/system/index.d.ts +11 -6
  46. package/dist/system/index.js +8 -5
  47. package/dist/theme/index.cjs +4 -3
  48. package/dist/theme/index.js +3 -2
  49. package/package.json +11 -1
@@ -2,7 +2,8 @@ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import * as react_native from 'react-native';
4
4
  import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
5
- import { o as TextStyleProps, R as Recipe } from '../../create-recipe-3_ElpCYt.cjs';
5
+ import { T as TextStyleProps } from '../../style-props.type-B1BG5TCm.cjs';
6
+ import { R as Recipe } from '../../create-recipe-C0XXjuow.cjs';
6
7
  import { X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
7
8
 
8
9
  /**
@@ -75,7 +76,7 @@ declare const Typography: react.ForwardRefExoticComponent<Omit<react_native.Text
75
76
  asChild?: boolean;
76
77
  style?: react_native.StyleProp<react_native.TextStyle>;
77
78
  children?: react.ReactNode;
78
- } & Omit<TextStyleProps, "color" | "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
+ } & Omit<TextStyleProps, "color" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
80
 
80
81
  /**
81
82
  * A fragment of text, styled apart from the text around it.
@@ -100,7 +101,7 @@ declare const TextSpan: react.ForwardRefExoticComponent<Omit<react_native.TextPr
100
101
  asChild?: boolean;
101
102
  style?: react_native.StyleProp<react_native.TextStyle>;
102
103
  children?: react.ReactNode;
103
- } & Omit<TextStyleProps, "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
+ } & Omit<TextStyleProps, "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
105
 
105
106
  /** Every role produces the same one slot, so the recipe's style functions share a shape. */
106
107
  type StyleFn = (theme: XAUITheme) => Record<TypographySlot, TextStyle>;
@@ -2,7 +2,8 @@ import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import * as react_native from 'react-native';
4
4
  import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
5
- import { o as TextStyleProps, R as Recipe } from '../../create-recipe-DImq1AZA.js';
5
+ import { T as TextStyleProps } from '../../style-props.type-B1BG5TCm.js';
6
+ import { R as Recipe } from '../../create-recipe-CPXFo2rk.js';
6
7
  import { X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
7
8
 
8
9
  /**
@@ -75,7 +76,7 @@ declare const Typography: react.ForwardRefExoticComponent<Omit<react_native.Text
75
76
  asChild?: boolean;
76
77
  style?: react_native.StyleProp<react_native.TextStyle>;
77
78
  children?: react.ReactNode;
78
- } & Omit<TextStyleProps, "color" | "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
+ } & Omit<TextStyleProps, "color" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "variant" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
79
80
 
80
81
  /**
81
82
  * A fragment of text, styled apart from the text around it.
@@ -100,7 +101,7 @@ declare const TextSpan: react.ForwardRefExoticComponent<Omit<react_native.TextPr
100
101
  asChild?: boolean;
101
102
  style?: react_native.StyleProp<react_native.TextStyle>;
102
103
  children?: react.ReactNode;
103
- } & Omit<TextStyleProps, "pointerEvents" | "children" | "style" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
+ } & Omit<TextStyleProps, "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "disabled" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "pressRetentionOffset" | "asChild" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "minimumFontScale" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "suppressHighlighting" | "lineBreakStrategyIOS" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency"> & react.RefAttributes<Text>>;
104
105
 
105
106
  /** Every role produces the same one slot, so the recipe's style functions share a shape. */
106
107
  type StyleFn = (theme: XAUITheme) => Record<TypographySlot, TextStyle>;
@@ -2,9 +2,11 @@ import {
2
2
  TextSpan,
3
3
  Typography,
4
4
  typographyRecipe
5
- } from "../../chunk-6PZF4PI7.js";
6
- import "../../chunk-4K3LZS7M.js";
7
- import "../../chunk-XJARE6SC.js";
5
+ } from "../../chunk-RMLFMRWL.js";
6
+ import "../../chunk-N7C4UNUL.js";
7
+ import "../../chunk-EXX6ATAS.js";
8
+ import "../../chunk-A3EGFI6T.js";
9
+ import "../../chunk-GGW42MY4.js";
8
10
  export {
9
11
  TextSpan,
10
12
  Typography,
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkBFB6K4M7cjs = require('../../chunk-BFB6K4M7.cjs');
5
+ require('../../chunk-EVXZGNPA.cjs');
6
+ require('../../chunk-MC7SY2QH.cjs');
7
+
8
+
9
+
10
+ exports.Column = _chunkBFB6K4M7cjs.Column; exports.Row = _chunkBFB6K4M7cjs.Row;
@@ -0,0 +1,77 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import * as react_native from 'react-native';
4
+ import { View, ViewProps, StyleProp, ViewStyle } from 'react-native';
5
+ import { V as ViewStyleProps } from '../../style-props.type-B1BG5TCm.cjs';
6
+
7
+ /**
8
+ * A horizontal axis.
9
+ *
10
+ * ```tsx
11
+ * <Row gap={8} alignItems="center">
12
+ * <Button.Icon as={Trash2} />
13
+ * <Typography variant="h6">Supprimer</Typography>
14
+ * </Row>
15
+ * ```
16
+ *
17
+ * **It contributes one declaration**, `flexDirection: 'row'`, and everything else it looks
18
+ * like it offers comes from R14: `gap`, `alignItems`, `justifyContent`, `padding` and the
19
+ * rest are `ViewStyle` keys every node already exposes as props. That is deliberate — the
20
+ * legacy component invented `mainAxisAlignment`, `crossAxisAlignment` and `mainAxisSize`,
21
+ * a vocabulary to learn for saying what React Native already says.
22
+ *
23
+ * There is no `reversed` prop either. `row` already flips in an RTL layout, which is the
24
+ * case that matters, and a genuine reversal is `style={{ flexDirection: 'row-reverse' }}`.
25
+ */
26
+ declare const Row: react.ForwardRefExoticComponent<Omit<react_native.ViewProps, "style"> & {
27
+ asChild?: boolean;
28
+ style?: react_native.StyleProp<react_native.ViewStyle>;
29
+ children?: react.ReactNode;
30
+ } & Omit<ViewStyleProps, "flexDirection" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "asChild"> & react.RefAttributes<View>>;
31
+
32
+ /**
33
+ * A vertical axis.
34
+ *
35
+ * ```tsx
36
+ * <Column gap={16} padding={16}>
37
+ * <Typography variant="h3">Projets</Typography>
38
+ * <Typography variant="body-sm">Trois en cours, un archivé.</Typography>
39
+ * </Column>
40
+ * ```
41
+ *
42
+ * **It contributes one declaration**, `flexDirection: 'column'` — which is React Native's
43
+ * default, so this component exists for what it *says* rather than for what it changes.
44
+ * A column written as a column reads as a deliberate axis, and its siblings in a layout
45
+ * are then all named the same way; a bare `View` leaves the reader to infer it.
46
+ *
47
+ * Everything else comes from R14: `gap`, `alignItems`, `justifyContent`, `padding` are
48
+ * `ViewStyle` keys every node already exposes as props, under React Native's own names.
49
+ */
50
+ declare const Column: react.ForwardRefExoticComponent<Omit<react_native.ViewProps, "style"> & {
51
+ asChild?: boolean;
52
+ style?: react_native.StyleProp<react_native.ViewStyle>;
53
+ children?: react.ReactNode;
54
+ } & Omit<ViewStyleProps, "flexDirection" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "asChild"> & react.RefAttributes<View>>;
55
+
56
+ type AxisOwnProps = {
57
+ /** R12 — the child element becomes the axis, keeping its direction. */
58
+ asChild?: boolean;
59
+ style?: StyleProp<ViewStyle>;
60
+ children?: ReactNode;
61
+ };
62
+ /**
63
+ * Everything a `View` can be styled with, as props (R14), **minus `flexDirection`** — that
64
+ * one is the component's identity, and a `Row` that could be told to lay out as a column
65
+ * would only be a `View` with a longer name. Reversal and the rest go through `style`,
66
+ * which is the escape hatch for what has no readable prop.
67
+ *
68
+ * Note what is *not* declared here: no `mainAxisAlignment`, no `crossAxisAlignment`, no
69
+ * `gap` prop of our own. They are `justifyContent`, `alignItems` and `gap` — React
70
+ * Native's own names, carrying React Native's own values, and R14 already exposes every
71
+ * one of them. A vocabulary of ours would be a second set of words for the same thing.
72
+ */
73
+ type AxisProps = Omit<ViewProps, 'style'> & AxisOwnProps & Omit<ViewStyleProps, keyof AxisOwnProps | keyof ViewProps | 'flexDirection'>;
74
+ type RowProps = AxisProps;
75
+ type ColumnProps = AxisProps;
76
+
77
+ export { type AxisProps, Column, type ColumnProps, Row, type RowProps };
@@ -0,0 +1,77 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import * as react_native from 'react-native';
4
+ import { View, ViewProps, StyleProp, ViewStyle } from 'react-native';
5
+ import { V as ViewStyleProps } from '../../style-props.type-B1BG5TCm.js';
6
+
7
+ /**
8
+ * A horizontal axis.
9
+ *
10
+ * ```tsx
11
+ * <Row gap={8} alignItems="center">
12
+ * <Button.Icon as={Trash2} />
13
+ * <Typography variant="h6">Supprimer</Typography>
14
+ * </Row>
15
+ * ```
16
+ *
17
+ * **It contributes one declaration**, `flexDirection: 'row'`, and everything else it looks
18
+ * like it offers comes from R14: `gap`, `alignItems`, `justifyContent`, `padding` and the
19
+ * rest are `ViewStyle` keys every node already exposes as props. That is deliberate — the
20
+ * legacy component invented `mainAxisAlignment`, `crossAxisAlignment` and `mainAxisSize`,
21
+ * a vocabulary to learn for saying what React Native already says.
22
+ *
23
+ * There is no `reversed` prop either. `row` already flips in an RTL layout, which is the
24
+ * case that matters, and a genuine reversal is `style={{ flexDirection: 'row-reverse' }}`.
25
+ */
26
+ declare const Row: react.ForwardRefExoticComponent<Omit<react_native.ViewProps, "style"> & {
27
+ asChild?: boolean;
28
+ style?: react_native.StyleProp<react_native.ViewStyle>;
29
+ children?: react.ReactNode;
30
+ } & Omit<ViewStyleProps, "flexDirection" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "asChild"> & react.RefAttributes<View>>;
31
+
32
+ /**
33
+ * A vertical axis.
34
+ *
35
+ * ```tsx
36
+ * <Column gap={16} padding={16}>
37
+ * <Typography variant="h3">Projets</Typography>
38
+ * <Typography variant="body-sm">Trois en cours, un archivé.</Typography>
39
+ * </Column>
40
+ * ```
41
+ *
42
+ * **It contributes one declaration**, `flexDirection: 'column'` — which is React Native's
43
+ * default, so this component exists for what it *says* rather than for what it changes.
44
+ * A column written as a column reads as a deliberate axis, and its siblings in a layout
45
+ * are then all named the same way; a bare `View` leaves the reader to infer it.
46
+ *
47
+ * Everything else comes from R14: `gap`, `alignItems`, `justifyContent`, `padding` are
48
+ * `ViewStyle` keys every node already exposes as props, under React Native's own names.
49
+ */
50
+ declare const Column: react.ForwardRefExoticComponent<Omit<react_native.ViewProps, "style"> & {
51
+ asChild?: boolean;
52
+ style?: react_native.StyleProp<react_native.ViewStyle>;
53
+ children?: react.ReactNode;
54
+ } & Omit<ViewStyleProps, "flexDirection" | "pointerEvents" | "style" | "children" | "id" | "onLayout" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "hitSlop" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "asChild"> & react.RefAttributes<View>>;
55
+
56
+ type AxisOwnProps = {
57
+ /** R12 — the child element becomes the axis, keeping its direction. */
58
+ asChild?: boolean;
59
+ style?: StyleProp<ViewStyle>;
60
+ children?: ReactNode;
61
+ };
62
+ /**
63
+ * Everything a `View` can be styled with, as props (R14), **minus `flexDirection`** — that
64
+ * one is the component's identity, and a `Row` that could be told to lay out as a column
65
+ * would only be a `View` with a longer name. Reversal and the rest go through `style`,
66
+ * which is the escape hatch for what has no readable prop.
67
+ *
68
+ * Note what is *not* declared here: no `mainAxisAlignment`, no `crossAxisAlignment`, no
69
+ * `gap` prop of our own. They are `justifyContent`, `alignItems` and `gap` — React
70
+ * Native's own names, carrying React Native's own values, and R14 already exposes every
71
+ * one of them. A vocabulary of ours would be a second set of words for the same thing.
72
+ */
73
+ type AxisProps = Omit<ViewProps, 'style'> & AxisOwnProps & Omit<ViewStyleProps, keyof AxisOwnProps | keyof ViewProps | 'flexDirection'>;
74
+ type RowProps = AxisProps;
75
+ type ColumnProps = AxisProps;
76
+
77
+ export { type AxisProps, Column, type ColumnProps, Row, type RowProps };
@@ -0,0 +1,10 @@
1
+ import {
2
+ Column,
3
+ Row
4
+ } from "../../chunk-MAYVGK6W.js";
5
+ import "../../chunk-EXX6ATAS.js";
6
+ import "../../chunk-GGW42MY4.js";
7
+ export {
8
+ Column,
9
+ Row
10
+ };
@@ -1,33 +1,5 @@
1
- import { ImageStyle, TextStyle, ViewStyle } from 'react-native';
2
1
  import { X as XAUITheme, a as XAUIColors } from './theme.type-C2gNHpEx.cjs';
3
-
4
- /**
5
- * R13 — React Native mirrors a layout under RTL through the Start/End properties and only
6
- * those. A props API is exactly where someone writes `paddingLeft` without thinking, so
7
- * the type removes the temptation instead of leaving it to a review.
8
- */
9
- type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
10
- /**
11
- * `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
12
- * wins, so it stays the prop it has always been and is not exposed twice — the one name
13
- * where the two vocabularies collide.
14
- */
15
- type ComponentOwnedStyleKey = 'pointerEvents';
16
- /**
17
- * The style keys of a node, exposed as props (R14). Not a maintained list: it derives
18
- * from the React Native type, minus what R13 forbids.
19
- *
20
- * ```ts
21
- * type CardProps = ViewStyleProps & { variant?: CardVariant }
22
- * ```
23
- */
24
- type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
25
- /** A root, or any slot that renders a view. */
26
- type ViewStyleProps = StyleProps<ViewStyle>;
27
- /** A text slot — `color`, `fontSize`, `letterSpacing`… */
28
- type TextStyleProps = StyleProps<TextStyle>;
29
- /** An image slot — `resizeMode`, `tintColor`… */
30
- type ImageStyleProps = StyleProps<ImageStyle>;
2
+ import { ViewStyle, TextStyle } from 'react-native';
31
3
 
32
4
  /**
33
5
  * A slot is a view or a text node, and a recipe writes one object per slot, so the two
@@ -114,4 +86,4 @@ type Recipe<Slot extends string, Variant extends string, A extends Axes<Slot>> =
114
86
  */
115
87
  declare function createRecipe<Slot extends string, Variant extends string, const A extends Axes<Slot>>(config: RecipeConfig<Slot, Variant, A>): Recipe<Slot, Variant, A>;
116
88
 
117
- export { type Axes as A, type CompoundVariant as C, type DirectionalStyleKey as D, type ImageStyleProps as I, type Recipe as R, type Selection as S, type TintArgs as T, type ViewStyleProps as V, type ResolveArgs as a, type RecipeConfig as b, createRecipe as c, type ResolvedSelection as d, type ResolvedStyles as e, type SlotStyle as f, type SlotStyles as g, type StateName as h, type States as i, type StyleFn as j, type VariantColors as k, type VariantRole as l, type VariantTokens as m, type StyleProps as n, type TextStyleProps as o };
89
+ export { type Axes as A, type CompoundVariant as C, type Recipe as R, type Selection as S, type TintArgs as T, type VariantColors as V, type ResolveArgs as a, type RecipeConfig as b, createRecipe as c, type ResolvedSelection as d, type ResolvedStyles as e, type SlotStyle as f, type SlotStyles as g, type StateName as h, type States as i, type StyleFn as j, type VariantRole as k, type VariantTokens as l };
@@ -1,33 +1,5 @@
1
- import { ImageStyle, TextStyle, ViewStyle } from 'react-native';
2
1
  import { X as XAUITheme, a as XAUIColors } from './theme.type-C2gNHpEx.js';
3
-
4
- /**
5
- * R13 — React Native mirrors a layout under RTL through the Start/End properties and only
6
- * those. A props API is exactly where someone writes `paddingLeft` without thinking, so
7
- * the type removes the temptation instead of leaving it to a review.
8
- */
9
- type DirectionalStyleKey = 'left' | 'right' | 'paddingLeft' | 'paddingRight' | 'marginLeft' | 'marginRight' | 'borderLeftWidth' | 'borderRightWidth' | 'borderLeftColor' | 'borderRightColor' | 'borderTopLeftRadius' | 'borderTopRightRadius' | 'borderBottomLeftRadius' | 'borderBottomRightRadius';
10
- /**
11
- * `pointerEvents` is a style key *and* a `View` prop. R14 says the component's own prop
12
- * wins, so it stays the prop it has always been and is not exposed twice — the one name
13
- * where the two vocabularies collide.
14
- */
15
- type ComponentOwnedStyleKey = 'pointerEvents';
16
- /**
17
- * The style keys of a node, exposed as props (R14). Not a maintained list: it derives
18
- * from the React Native type, minus what R13 forbids.
19
- *
20
- * ```ts
21
- * type CardProps = ViewStyleProps & { variant?: CardVariant }
22
- * ```
23
- */
24
- type StyleProps<Style> = Omit<Style, DirectionalStyleKey | ComponentOwnedStyleKey>;
25
- /** A root, or any slot that renders a view. */
26
- type ViewStyleProps = StyleProps<ViewStyle>;
27
- /** A text slot — `color`, `fontSize`, `letterSpacing`… */
28
- type TextStyleProps = StyleProps<TextStyle>;
29
- /** An image slot — `resizeMode`, `tintColor`… */
30
- type ImageStyleProps = StyleProps<ImageStyle>;
2
+ import { ViewStyle, TextStyle } from 'react-native';
31
3
 
32
4
  /**
33
5
  * A slot is a view or a text node, and a recipe writes one object per slot, so the two
@@ -114,4 +86,4 @@ type Recipe<Slot extends string, Variant extends string, A extends Axes<Slot>> =
114
86
  */
115
87
  declare function createRecipe<Slot extends string, Variant extends string, const A extends Axes<Slot>>(config: RecipeConfig<Slot, Variant, A>): Recipe<Slot, Variant, A>;
116
88
 
117
- export { type Axes as A, type CompoundVariant as C, type DirectionalStyleKey as D, type ImageStyleProps as I, type Recipe as R, type Selection as S, type TintArgs as T, type ViewStyleProps as V, type ResolveArgs as a, type RecipeConfig as b, createRecipe as c, type ResolvedSelection as d, type ResolvedStyles as e, type SlotStyle as f, type SlotStyles as g, type StateName as h, type States as i, type StyleFn as j, type VariantColors as k, type VariantRole as l, type VariantTokens as m, type StyleProps as n, type TextStyleProps as o };
89
+ export { type Axes as A, type CompoundVariant as C, type Recipe as R, type Selection as S, type TintArgs as T, type VariantColors as V, type ResolveArgs as a, type RecipeConfig as b, createRecipe as c, type ResolvedSelection as d, type ResolvedStyles as e, type SlotStyle as f, type SlotStyles as g, type StateName as h, type States as i, type StyleFn as j, type VariantRole as k, type VariantTokens as l };
package/dist/index.cjs CHANGED
@@ -4,20 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkIZYRU7S2cjs = require('./chunk-IZYRU7S2.cjs');
7
+ var _chunk6ARON3XTcjs = require('./chunk-6ARON3XT.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk6VTBGBPPcjs = require('./chunk-6VTBGBPP.cjs');
12
+ var _chunkUBA6AEY6cjs = require('./chunk-UBA6AEY6.cjs');
13
13
 
14
14
 
15
15
 
16
+ var _chunkBFB6K4M7cjs = require('./chunk-BFB6K4M7.cjs');
16
17
 
17
- var _chunkM2VYRHVScjs = require('./chunk-M2VYRHVS.cjs');
18
18
 
19
19
 
20
20
 
21
+ var _chunk2WMVDMFVcjs = require('./chunk-2WMVDMFV.cjs');
21
22
 
22
23
 
23
24
 
@@ -39,20 +40,21 @@ var _chunkM2VYRHVScjs = require('./chunk-M2VYRHVS.cjs');
39
40
 
40
41
 
41
42
 
42
- var _chunk2UICXD3Qcjs = require('./chunk-2UICXD3Q.cjs');
43
43
 
44
44
 
45
45
 
46
+ var _chunkA4VD4MHKcjs = require('./chunk-A4VD4MHK.cjs');
46
47
 
47
48
 
49
+ var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
48
50
 
49
51
 
50
52
 
51
- var _chunk5SU7FXWHcjs = require('./chunk-5SU7FXWH.cjs');
52
53
 
53
54
 
54
55
 
55
56
 
57
+ var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
56
58
 
57
59
 
58
60
 
@@ -60,14 +62,19 @@ var _chunk5SU7FXWHcjs = require('./chunk-5SU7FXWH.cjs');
60
62
 
61
63
 
62
64
 
63
- var _chunkBHAHJHAIcjs = require('./chunk-BHAHJHAI.cjs');
64
65
 
65
66
 
66
67
 
67
68
 
69
+ var _chunkBHTFIZTQcjs = require('./chunk-BHTFIZTQ.cjs');
68
70
 
69
71
 
70
- var _chunk6N5JXRUZcjs = require('./chunk-6N5JXRUZ.cjs');
72
+
73
+
74
+
75
+
76
+ var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
77
+ require('./chunk-MC7SY2QH.cjs');
71
78
 
72
79
  // src/hooks/use-controllable-state.ts
73
80
  var _react = require('react');
@@ -97,7 +104,7 @@ function useControllableState({
97
104
  function useControlWarning(isControlled) {
98
105
  const wasControlled = _react.useRef.call(void 0, isControlled);
99
106
  if (wasControlled.current !== isControlled) {
100
- _chunkIZYRU7S2cjs.warnDev.call(void 0,
107
+ _chunk6ARON3XTcjs.warnDev.call(void 0,
101
108
  `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.`
102
109
  );
103
110
  wasControlled.current = isControlled;
@@ -107,7 +114,7 @@ function useControlWarning(isControlled) {
107
114
  // src/hooks/use-merged-ref.ts
108
115
 
109
116
  function useMergedRef(...refs) {
110
- return _react.useMemo.call(void 0, () => _chunk5SU7FXWHcjs.mergeRefs.call(void 0, ...refs), refs);
117
+ return _react.useMemo.call(void 0, () => _chunkEVXZGNPAcjs.mergeRefs.call(void 0, ...refs), refs);
111
118
  }
112
119
 
113
120
  // src/hooks/use-previous.ts
@@ -178,4 +185,6 @@ function usePrevious(value) {
178
185
 
179
186
 
180
187
 
181
- exports.Button = _chunkIZYRU7S2cjs.Button; exports.FEEDBACK_OVERLAY = _chunk2UICXD3Qcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunk2UICXD3Qcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunk2UICXD3Qcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk2UICXD3Qcjs.Icon; exports.IconContext = _chunk2UICXD3Qcjs.IconContext; exports.PRESS_DURATION = _chunk2UICXD3Qcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunk2UICXD3Qcjs.PRESS_SCALE; exports.Portal = _chunkM2VYRHVScjs.Portal; exports.PortalContext = _chunkM2VYRHVScjs.PortalContext; exports.PortalHost = _chunkM2VYRHVScjs.PortalHost; exports.PressableFeedback = _chunk2UICXD3Qcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunk2UICXD3Qcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunk2UICXD3Qcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunk2UICXD3Qcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunk2UICXD3Qcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunk2UICXD3Qcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunk2UICXD3Qcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunk2UICXD3Qcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunk2UICXD3Qcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunk5SU7FXWHcjs.Slot; exports.TextSpan = _chunk6VTBGBPPcjs.TextSpan; exports.ThemeContext = _chunk6N5JXRUZcjs.ThemeContext; exports.Typography = _chunk6VTBGBPPcjs.Typography; exports.XAUIProvider = _chunkBHAHJHAIcjs.XAUIProvider; exports.buildRadius = _chunkBHAHJHAIcjs.buildRadius; exports.buildShadows = _chunkBHAHJHAIcjs.buildShadows; exports.buttonRecipe = _chunkIZYRU7S2cjs.buttonRecipe; exports.childrenToString = _chunk5SU7FXWHcjs.childrenToString; exports.createRecipe = _chunk5SU7FXWHcjs.createRecipe; exports.createSlotContext = _chunk5SU7FXWHcjs.createSlotContext; exports.createTheme = _chunkBHAHJHAIcjs.createTheme; exports.defaultTheme = _chunkBHAHJHAIcjs.defaultTheme; exports.deriveColors = _chunkBHAHJHAIcjs.deriveColors; exports.deriveTint = _chunk6N5JXRUZcjs.deriveTint; exports.markOverlay = _chunk2UICXD3Qcjs.markOverlay; exports.mergeProps = _chunk5SU7FXWHcjs.mergeProps; exports.mergeRefs = _chunk5SU7FXWHcjs.mergeRefs; exports.palette = _chunkBHAHJHAIcjs.palette; exports.pressScaleFor = _chunk2UICXD3Qcjs.pressScaleFor; exports.primitives = _chunkBHAHJHAIcjs.primitives; exports.resolveAnimation = _chunk2UICXD3Qcjs.resolveAnimation; exports.resolveSlotAnimation = _chunk2UICXD3Qcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunk2UICXD3Qcjs.rippleRadiusFor; exports.sourceKeys = _chunkBHAHJHAIcjs.sourceKeys; exports.tokens = _chunkBHAHJHAIcjs.tokens; exports.typographyRecipe = _chunk6VTBGBPPcjs.typographyRecipe; exports.useButton = _chunkIZYRU7S2cjs.useButton; exports.useColorMode = _chunk6N5JXRUZcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunk2UICXD3Qcjs.useFeedback; exports.useIconContext = _chunk2UICXD3Qcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkIZYRU7S2cjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunk5SU7FXWHcjs.useStyleProps; exports.useThemeColor = _chunk6N5JXRUZcjs.useThemeColor; exports.useXAUITheme = _chunk6N5JXRUZcjs.useXAUITheme;
188
+
189
+
190
+ exports.Button = _chunk6ARON3XTcjs.Button; exports.Column = _chunkBFB6K4M7cjs.Column; 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.Row = _chunkBFB6K4M7cjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkA4VD4MHKcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkEVXZGNPAcjs.Slot; 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.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;
package/dist/index.d.cts CHANGED
@@ -1,11 +1,13 @@
1
1
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.cjs';
2
2
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.cjs';
3
+ export { AxisProps, Column, ColumnProps, Row, RowProps } from './components/view/index.cjs';
3
4
  import { RefCallback } from 'react';
4
5
  import { PossibleRef } from './system/index.cjs';
5
6
  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';
6
7
  import { GestureResponderEvent } from 'react-native';
7
- 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-C9kjAuVQ.cjs';
8
- export { A as Axes, C as CompoundVariant, D as DirectionalStyleKey, I as ImageStyleProps, 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, n as StyleProps, o as TextStyleProps, T as TintArgs, k as VariantColors, l as VariantRole, m as VariantTokens, V as ViewStyleProps, c as createRecipe } from './create-recipe-3_ElpCYt.cjs';
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';
10
+ export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.cjs';
9
11
  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';
10
12
  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';
11
13
  import 'react-native-reanimated';
package/dist/index.d.ts CHANGED
@@ -1,11 +1,13 @@
1
1
  export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.js';
2
2
  export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.js';
3
+ export { AxisProps, Column, ColumnProps, Row, RowProps } from './components/view/index.js';
3
4
  import { RefCallback } from 'react';
4
5
  import { PossibleRef } from './system/index.js';
5
6
  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';
6
7
  import { GestureResponderEvent } from 'react-native';
7
- 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-KcPvFf6f.js';
8
- export { A as Axes, C as CompoundVariant, D as DirectionalStyleKey, I as ImageStyleProps, 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, n as StyleProps, o as TextStyleProps, T as TintArgs, k as VariantColors, l as VariantRole, m as VariantTokens, V as ViewStyleProps, c as createRecipe } from './create-recipe-DImq1AZA.js';
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';
10
+ export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-B1BG5TCm.js';
9
11
  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';
10
12
  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';
11
13
  import 'react-native-reanimated';
package/dist/index.js CHANGED
@@ -4,17 +4,21 @@ import {
4
4
  useButton,
5
5
  usePressState,
6
6
  warnDev
7
- } from "./chunk-ASXK7XU4.js";
7
+ } from "./chunk-4EPS7UBO.js";
8
8
  import {
9
9
  TextSpan,
10
10
  Typography,
11
11
  typographyRecipe
12
- } from "./chunk-6PZF4PI7.js";
12
+ } from "./chunk-RMLFMRWL.js";
13
+ import {
14
+ Column,
15
+ Row
16
+ } from "./chunk-MAYVGK6W.js";
13
17
  import {
14
18
  Portal,
15
19
  PortalContext,
16
20
  PortalHost
17
- } from "./chunk-L3AQNVRN.js";
21
+ } from "./chunk-XHZBXYVU.js";
18
22
  import {
19
23
  FEEDBACK_OVERLAY,
20
24
  HIGHLIGHT_DURATION,
@@ -39,16 +43,18 @@ import {
39
43
  rippleRadiusFor,
40
44
  useFeedback,
41
45
  useIconContext
42
- } from "./chunk-F432IDIW.js";
46
+ } from "./chunk-WXAME7KB.js";
47
+ import {
48
+ createRecipe
49
+ } from "./chunk-N7C4UNUL.js";
43
50
  import {
44
51
  Slot,
45
52
  childrenToString,
46
- createRecipe,
47
53
  createSlotContext,
48
54
  mergeProps,
49
55
  mergeRefs,
50
56
  useStyleProps
51
- } from "./chunk-4K3LZS7M.js";
57
+ } from "./chunk-EXX6ATAS.js";
52
58
  import {
53
59
  XAUIProvider,
54
60
  buildRadius,
@@ -60,14 +66,15 @@ import {
60
66
  primitives,
61
67
  sourceKeys,
62
68
  tokens
63
- } from "./chunk-XQE5PXOD.js";
69
+ } from "./chunk-MWXE7D4L.js";
64
70
  import {
65
71
  ThemeContext,
66
72
  deriveTint,
67
73
  useColorMode,
68
74
  useThemeColor,
69
75
  useXAUITheme
70
- } from "./chunk-XJARE6SC.js";
76
+ } from "./chunk-A3EGFI6T.js";
77
+ import "./chunk-GGW42MY4.js";
71
78
 
72
79
  // src/hooks/use-controllable-state.ts
73
80
  import { useCallback, useRef, useState } from "react";
@@ -121,6 +128,7 @@ function usePrevious(value) {
121
128
  }
122
129
  export {
123
130
  Button,
131
+ Column,
124
132
  FEEDBACK_OVERLAY,
125
133
  HIGHLIGHT_DURATION,
126
134
  HIGHLIGHT_OPACITY,
@@ -139,6 +147,7 @@ export {
139
147
  RIPPLE_FADE_OUT_DELAY,
140
148
  RIPPLE_OPACITY,
141
149
  RIPPLE_START_SCALE,
150
+ Row,
142
151
  SCALE_REFERENCE_WIDTH,
143
152
  Slot,
144
153
  TextSpan,