@xaui/native 0.9.1-alpha.26 → 0.9.1-alpha.27
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.
- package/dist/chunk-2EBB5BO3.cjs +361 -0
- package/dist/{chunk-PQHC65AG.js → chunk-56KVKM27.js} +15 -15
- package/dist/{chunk-BULNTP5N.cjs → chunk-63TWVWHG.cjs} +9 -45
- package/dist/chunk-7EIHHOHP.cjs +42 -0
- package/dist/{chunk-WVCAFORA.cjs → chunk-CQRUNV6S.cjs} +15 -15
- package/dist/chunk-F6W3JQ7K.js +42 -0
- package/dist/chunk-LGVIZAB2.js +503 -0
- package/dist/{chunk-I6UCYAO2.js → chunk-N4UJYDOW.js} +23 -56
- package/dist/components/alert/index.cjs +1 -1
- package/dist/components/alert/index.d.cts +1 -1
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/button/index.cjs +3 -3
- package/dist/components/button/index.d.cts +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/card/index.d.cts +1 -1
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/checkbox/index.cjs +23 -0
- package/dist/components/checkbox/index.d.cts +1137 -0
- package/dist/components/checkbox/index.d.ts +1137 -0
- package/dist/components/checkbox/index.js +23 -0
- package/dist/components/chip/index.cjs +3 -3
- package/dist/components/chip/index.d.cts +1 -1
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/chip/index.js +2 -2
- package/dist/components/input/index.d.cts +3 -3
- package/dist/components/input/index.d.ts +3 -3
- package/dist/components/input-otp/index.cjs +3 -2
- package/dist/components/input-otp/index.d.cts +3 -3
- package/dist/components/input-otp/index.d.ts +3 -3
- package/dist/components/input-otp/index.js +2 -1
- package/dist/components/typography/index.d.cts +1 -1
- package/dist/components/typography/index.d.ts +1 -1
- package/dist/{create-recipe-dBN_ewZc.d.cts → create-recipe-CWvI5ot3.d.cts} +8 -1
- package/dist/{create-recipe-C4JkINrA.d.ts → create-recipe-DUo8doTt.d.ts} +8 -1
- package/dist/index.cjs +28 -12
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +31 -15
- package/dist/system/index.cjs +1 -1
- package/dist/system/index.d.cts +2 -2
- package/dist/system/index.d.ts +2 -2
- package/dist/system/index.js +1 -1
- package/package.json +11 -1
- package/dist/{chunk-3WISQT22.js → chunk-EHARM2EN.js} +3 -3
- package/dist/{chunk-I7G77Q65.cjs → chunk-H7DVR52Z.cjs} +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Checkbox,
|
|
3
|
+
CheckboxIndicator,
|
|
4
|
+
CheckboxLabel,
|
|
5
|
+
CheckboxRoot,
|
|
6
|
+
checkboxRecipe,
|
|
7
|
+
useCheckbox
|
|
8
|
+
} from "../../chunk-LGVIZAB2.js";
|
|
9
|
+
import "../../chunk-F6W3JQ7K.js";
|
|
10
|
+
import "../../chunk-4HELPMAK.js";
|
|
11
|
+
import "../../chunk-EGLLDKN6.js";
|
|
12
|
+
import "../../chunk-3JATAB7S.js";
|
|
13
|
+
import "../../chunk-PMO62QK4.js";
|
|
14
|
+
import "../../chunk-A3EGFI6T.js";
|
|
15
|
+
import "../../chunk-GGW42MY4.js";
|
|
16
|
+
export {
|
|
17
|
+
Checkbox,
|
|
18
|
+
CheckboxIndicator,
|
|
19
|
+
CheckboxLabel,
|
|
20
|
+
CheckboxRoot,
|
|
21
|
+
checkboxRecipe,
|
|
22
|
+
useCheckbox
|
|
23
|
+
};
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkH7DVR52Zcjs = require('../../chunk-H7DVR52Z.cjs');
|
|
6
6
|
require('../../chunk-J2JJLKLG.cjs');
|
|
7
7
|
require('../../chunk-IG4Q3WQO.cjs');
|
|
8
|
-
require('../../chunk-B4W2XNBP.cjs');
|
|
9
8
|
require('../../chunk-EJQCQPET.cjs');
|
|
9
|
+
require('../../chunk-B4W2XNBP.cjs');
|
|
10
10
|
require('../../chunk-YXVKQMCK.cjs');
|
|
11
11
|
require('../../chunk-HUZ4AUM2.cjs');
|
|
12
12
|
require('../../chunk-57SJ4LJF.cjs');
|
|
@@ -15,4 +15,4 @@ require('../../chunk-MC7SY2QH.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.Chip =
|
|
18
|
+
exports.Chip = _chunkH7DVR52Zcjs.Chip; exports.chipRecipe = _chunkH7DVR52Zcjs.chipRecipe; exports.useChip = _chunkH7DVR52Zcjs.useChip;
|
|
@@ -7,7 +7,7 @@ import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable
|
|
|
7
7
|
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
8
8
|
import { a as IconContextValue, b as IconProps } from '../../icon.type-CF4KiMKl.cjs';
|
|
9
9
|
import { C as CloseButtonProps } from '../../close-button.type-CHsgZ3wO.cjs';
|
|
10
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
10
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-CWvI5ot3.cjs';
|
|
11
11
|
import 'react-native-reanimated';
|
|
12
12
|
|
|
13
13
|
type ChipSlot = 'root' | 'label' | 'icon' | 'dot' | 'avatar' | 'close' | 'closeGlyph';
|
|
@@ -7,7 +7,7 @@ import { P as PressableFeedbackProps, a as AnimationProp } from '../../pressable
|
|
|
7
7
|
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
8
8
|
import { a as IconContextValue, b as IconProps } from '../../icon.type-Dq4_qePa.js';
|
|
9
9
|
import { C as CloseButtonProps } from '../../close-button.type-BUYuoSt2.js';
|
|
10
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
10
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-DUo8doTt.js';
|
|
11
11
|
import 'react-native-reanimated';
|
|
12
12
|
|
|
13
13
|
type ChipSlot = 'root' | 'label' | 'icon' | 'dot' | 'avatar' | 'close' | 'closeGlyph';
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
Chip,
|
|
3
3
|
chipRecipe,
|
|
4
4
|
useChip
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-EHARM2EN.js";
|
|
6
6
|
import "../../chunk-A4RGJBP2.js";
|
|
7
7
|
import "../../chunk-4HELPMAK.js";
|
|
8
|
-
import "../../chunk-ICR42HHG.js";
|
|
9
8
|
import "../../chunk-EGLLDKN6.js";
|
|
9
|
+
import "../../chunk-ICR42HHG.js";
|
|
10
10
|
import "../../chunk-3JATAB7S.js";
|
|
11
11
|
import "../../chunk-PMO62QK4.js";
|
|
12
12
|
import "../../chunk-A3EGFI6T.js";
|
|
@@ -5,7 +5,7 @@ import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type
|
|
|
5
5
|
import { R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
6
6
|
import { i as InputVariant, g as InputSize, e as InputLabelPlacement, b as InputContextValue, h as InputSlot } from '../../input.type-BUMDlzL9.cjs';
|
|
7
7
|
export { c as InputDescriptionProps, d as InputErrorProps, I as InputFieldProps, f as InputLabelProps, a as InputProps } from '../../input.type-BUMDlzL9.cjs';
|
|
8
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
8
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-CWvI5ot3.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A text field, with the label, the hint and the error that make it usable.
|
|
@@ -57,7 +57,7 @@ declare const InputRoot: react.ForwardRefExoticComponent<{
|
|
|
57
57
|
isDisabled?: boolean;
|
|
58
58
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
59
59
|
children?: react.ReactNode;
|
|
60
|
-
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
60
|
+
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "labelPlacement"> & {
|
|
61
61
|
asChild?: boolean;
|
|
62
62
|
} & react.RefAttributes<View>>;
|
|
63
63
|
|
|
@@ -187,7 +187,7 @@ declare const Input: react.ForwardRefExoticComponent<{
|
|
|
187
187
|
isDisabled?: boolean;
|
|
188
188
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
189
189
|
children?: react.ReactNode;
|
|
190
|
-
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
190
|
+
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "labelPlacement"> & {
|
|
191
191
|
asChild?: boolean;
|
|
192
192
|
} & react.RefAttributes<react_native.View>> & {
|
|
193
193
|
Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
@@ -5,7 +5,7 @@ import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type
|
|
|
5
5
|
import { R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
6
6
|
import { i as InputVariant, g as InputSize, e as InputLabelPlacement, b as InputContextValue, h as InputSlot } from '../../input.type-D2qgi03E.js';
|
|
7
7
|
export { c as InputDescriptionProps, d as InputErrorProps, I as InputFieldProps, f as InputLabelProps, a as InputProps } from '../../input.type-D2qgi03E.js';
|
|
8
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
8
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-DUo8doTt.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A text field, with the label, the hint and the error that make it usable.
|
|
@@ -57,7 +57,7 @@ declare const InputRoot: react.ForwardRefExoticComponent<{
|
|
|
57
57
|
isDisabled?: boolean;
|
|
58
58
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
59
59
|
children?: react.ReactNode;
|
|
60
|
-
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
60
|
+
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "labelPlacement"> & {
|
|
61
61
|
asChild?: boolean;
|
|
62
62
|
} & react.RefAttributes<View>>;
|
|
63
63
|
|
|
@@ -187,7 +187,7 @@ declare const Input: react.ForwardRefExoticComponent<{
|
|
|
187
187
|
isDisabled?: boolean;
|
|
188
188
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
189
189
|
children?: react.ReactNode;
|
|
190
|
-
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
190
|
+
}> & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "labelPlacement"> & {
|
|
191
191
|
asChild?: boolean;
|
|
192
192
|
} & react.RefAttributes<react_native.View>> & {
|
|
193
193
|
Label: react.ForwardRefExoticComponent<react_native.TextProps & Omit<TextStyleProps, keyof react_native.TextProps> & {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk63TWVWHGcjs = require('../../chunk-63TWVWHG.cjs');
|
|
12
|
+
require('../../chunk-7EIHHOHP.cjs');
|
|
12
13
|
require('../../chunk-EJQCQPET.cjs');
|
|
13
14
|
require('../../chunk-YXVKQMCK.cjs');
|
|
14
15
|
require('../../chunk-HUZ4AUM2.cjs');
|
|
@@ -24,4 +25,4 @@ require('../../chunk-MC7SY2QH.cjs');
|
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
|
|
27
|
-
exports.InputOTP =
|
|
28
|
+
exports.InputOTP = _chunk63TWVWHGcjs.InputOTP; exports.OTP_ALPHANUMERIC = _chunk63TWVWHGcjs.OTP_ALPHANUMERIC; exports.OTP_DIGITS = _chunk63TWVWHGcjs.OTP_DIGITS; exports.OTP_LETTERS = _chunk63TWVWHGcjs.OTP_LETTERS; exports.buildSlots = _chunk63TWVWHGcjs.buildSlots; exports.extractPastedCode = _chunk63TWVWHGcjs.extractPastedCode; exports.inputOTPRecipe = _chunk63TWVWHGcjs.inputOTPRecipe; exports.useInputOTP = _chunk63TWVWHGcjs.useInputOTP; exports.useInputOTPBox = _chunk63TWVWHGcjs.useInputOTPBox;
|
|
@@ -4,7 +4,7 @@ import * as react_native from 'react-native';
|
|
|
4
4
|
import { StyleProp, ViewStyle, TextStyle, TextInput, ViewProps, TextProps, TextInputProps } from 'react-native';
|
|
5
5
|
import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
|
|
6
6
|
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
7
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
7
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-CWvI5ot3.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The two decisions this component makes that are worth pinning down: which box shows
|
|
@@ -240,7 +240,7 @@ declare namespace InputOTPCaret {
|
|
|
240
240
|
declare const useInputOTP: () => InputOTPContextValue;
|
|
241
241
|
declare const useInputOTPBox: () => InputOTPBoxContextValue;
|
|
242
242
|
|
|
243
|
-
declare const inputOTPRecipe: Recipe<"value" | "separator" | "group" | "root" | "
|
|
243
|
+
declare const inputOTPRecipe: Recipe<"value" | "separator" | "group" | "root" | "box" | "placeholder" | "caret", InputOTPVariant, {
|
|
244
244
|
readonly size: {
|
|
245
245
|
readonly sm: (theme: XAUITheme) => SlotStyles<InputOTPSlot>;
|
|
246
246
|
readonly md: (theme: XAUITheme) => SlotStyles<InputOTPSlot>;
|
|
@@ -298,7 +298,7 @@ declare const InputOTP: react.ForwardRefExoticComponent<{
|
|
|
298
298
|
textInputProps?: Omit<react_native.TextInputProps, "value" | "defaultValue" | "onChangeText" | "onFocus" | "onBlur" | "editable" | "maxLength" | "style">;
|
|
299
299
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
300
300
|
children?: react.ReactNode;
|
|
301
|
-
}> & Omit<ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "pattern" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
301
|
+
}> & Omit<ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "pattern" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "defaultValue" | "placeholder" | "inputMode" | "maxLength" | "onChangeText" | "onComplete" | "textInputProps"> & react.RefAttributes<InputOTPHandle>> & {
|
|
302
302
|
Group: react.ForwardRefExoticComponent<Omit<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & {
|
|
303
303
|
children?: react.ReactNode;
|
|
304
304
|
}, "children"> & {
|
|
@@ -4,7 +4,7 @@ import * as react_native from 'react-native';
|
|
|
4
4
|
import { StyleProp, ViewStyle, TextStyle, TextInput, ViewProps, TextProps, TextInputProps } from 'react-native';
|
|
5
5
|
import { V as ViewStyleProps, T as TextStyleProps } from '../../style-props.type-CfnoGEP7.js';
|
|
6
6
|
import { S as Size, R as RadiusKey, X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
7
|
-
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-
|
|
7
|
+
import { R as Recipe, g as SlotStyles, j as StyleFn } from '../../create-recipe-DUo8doTt.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The two decisions this component makes that are worth pinning down: which box shows
|
|
@@ -240,7 +240,7 @@ declare namespace InputOTPCaret {
|
|
|
240
240
|
declare const useInputOTP: () => InputOTPContextValue;
|
|
241
241
|
declare const useInputOTPBox: () => InputOTPBoxContextValue;
|
|
242
242
|
|
|
243
|
-
declare const inputOTPRecipe: Recipe<"value" | "separator" | "group" | "root" | "
|
|
243
|
+
declare const inputOTPRecipe: Recipe<"value" | "separator" | "group" | "root" | "box" | "placeholder" | "caret", InputOTPVariant, {
|
|
244
244
|
readonly size: {
|
|
245
245
|
readonly sm: (theme: XAUITheme) => SlotStyles<InputOTPSlot>;
|
|
246
246
|
readonly md: (theme: XAUITheme) => SlotStyles<InputOTPSlot>;
|
|
@@ -298,7 +298,7 @@ declare const InputOTP: react.ForwardRefExoticComponent<{
|
|
|
298
298
|
textInputProps?: Omit<react_native.TextInputProps, "value" | "defaultValue" | "onChangeText" | "onFocus" | "onBlur" | "editable" | "maxLength" | "style">;
|
|
299
299
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
300
300
|
children?: react.ReactNode;
|
|
301
|
-
}> & Omit<ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "pattern" | "isDisabled" | "radius" | "size" | "variant" | "
|
|
301
|
+
}> & Omit<ViewStyleProps, "color" | "value" | "pointerEvents" | "style" | "children" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "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" | "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" | "pattern" | "isDisabled" | "radius" | "size" | "variant" | "isInvalid" | "defaultValue" | "placeholder" | "inputMode" | "maxLength" | "onChangeText" | "onComplete" | "textInputProps"> & react.RefAttributes<InputOTPHandle>> & {
|
|
302
302
|
Group: react.ForwardRefExoticComponent<Omit<react_native.ViewProps & Omit<ViewStyleProps, keyof react_native.ViewProps> & {
|
|
303
303
|
children?: react.ReactNode;
|
|
304
304
|
}, "children"> & {
|
|
@@ -8,7 +8,8 @@ import {
|
|
|
8
8
|
inputOTPRecipe,
|
|
9
9
|
useInputOTP,
|
|
10
10
|
useInputOTPBox
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-N4UJYDOW.js";
|
|
12
|
+
import "../../chunk-F6W3JQ7K.js";
|
|
12
13
|
import "../../chunk-EGLLDKN6.js";
|
|
13
14
|
import "../../chunk-3JATAB7S.js";
|
|
14
15
|
import "../../chunk-PMO62QK4.js";
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
|
|
5
5
|
import { T as TextStyleProps } from '../../style-props.type-CfnoGEP7.cjs';
|
|
6
|
-
import { R as Recipe } from '../../create-recipe-
|
|
6
|
+
import { R as Recipe } from '../../create-recipe-CWvI5ot3.cjs';
|
|
7
7
|
import { X as XAUITheme } from '../../theme.type-C2gNHpEx.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { TextProps, StyleProp, TextStyle, Text } from 'react-native';
|
|
5
5
|
import { T as TextStyleProps } from '../../style-props.type-CfnoGEP7.js';
|
|
6
|
-
import { R as Recipe } from '../../create-recipe-
|
|
6
|
+
import { R as Recipe } from '../../create-recipe-DUo8doTt.js';
|
|
7
7
|
import { X as XAUITheme } from '../../theme.type-C2gNHpEx.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -19,8 +19,15 @@ type SlotStyles<Slot extends string> = Partial<Record<Slot, SlotStyle>>;
|
|
|
19
19
|
* **A state that reads a role must find it declared on every variant.** The merge is a
|
|
20
20
|
* shallow spread, so a `borderColor: colors.borderFocus` on a variant that names no
|
|
21
21
|
* `borderFocus` writes `undefined` over the colour `paint` had set.
|
|
22
|
+
*
|
|
23
|
+
* `bgSelected` and `fgSelected` are the same reasoning for a control that **toggles**:
|
|
24
|
+
* `bg` is the box at rest and `bgSelected` is the box once it is on, with `fgSelected`
|
|
25
|
+
* the mark that has to read against it. They are roles rather than tokens named in an
|
|
26
|
+
* `isSelected` axis for one reason — **the tint pass re-runs `paint` and the states, not
|
|
27
|
+
* the axes** — and that is what makes a raw `color` the colour a `Checkbox` checks in,
|
|
28
|
+
* rather than a colour that disappears the moment it is ticked.
|
|
22
29
|
*/
|
|
23
|
-
type VariantRole = 'bg' | 'bgPressed' | 'fg' | 'border' | 'borderFocus';
|
|
30
|
+
type VariantRole = 'bg' | 'bgPressed' | 'bgSelected' | 'fg' | 'fgSelected' | 'border' | 'borderFocus';
|
|
24
31
|
/** Token names per role — no colour value ever appears in a recipe. */
|
|
25
32
|
type VariantTokens = Partial<Record<VariantRole, keyof XAUIColors>>;
|
|
26
33
|
/** The same roles resolved: theme colours, or the slices of a raw `color`. */
|
|
@@ -19,8 +19,15 @@ type SlotStyles<Slot extends string> = Partial<Record<Slot, SlotStyle>>;
|
|
|
19
19
|
* **A state that reads a role must find it declared on every variant.** The merge is a
|
|
20
20
|
* shallow spread, so a `borderColor: colors.borderFocus` on a variant that names no
|
|
21
21
|
* `borderFocus` writes `undefined` over the colour `paint` had set.
|
|
22
|
+
*
|
|
23
|
+
* `bgSelected` and `fgSelected` are the same reasoning for a control that **toggles**:
|
|
24
|
+
* `bg` is the box at rest and `bgSelected` is the box once it is on, with `fgSelected`
|
|
25
|
+
* the mark that has to read against it. They are roles rather than tokens named in an
|
|
26
|
+
* `isSelected` axis for one reason — **the tint pass re-runs `paint` and the states, not
|
|
27
|
+
* the axes** — and that is what makes a raw `color` the colour a `Checkbox` checks in,
|
|
28
|
+
* rather than a colour that disappears the moment it is ticked.
|
|
22
29
|
*/
|
|
23
|
-
type VariantRole = 'bg' | 'bgPressed' | 'fg' | 'border' | 'borderFocus';
|
|
30
|
+
type VariantRole = 'bg' | 'bgPressed' | 'bgSelected' | 'fg' | 'fgSelected' | 'border' | 'borderFocus';
|
|
24
31
|
/** Token names per role — no colour value ever appears in a recipe. */
|
|
25
32
|
type VariantTokens = Partial<Record<VariantRole, keyof XAUIColors>>;
|
|
26
33
|
/** The same roles resolved: theme colours, or the slices of a raw `color`. */
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunk63TWVWHGcjs = require('./chunk-63TWVWHG.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
4
15
|
var _chunk5OXZIZRZcjs = require('./chunk-5OXZIZRZ.cjs');
|
|
5
16
|
|
|
6
17
|
|
|
@@ -40,7 +51,7 @@ var _chunkJ4JFIC4Wcjs = require('./chunk-J4JFIC4W.cjs');
|
|
|
40
51
|
|
|
41
52
|
|
|
42
53
|
|
|
43
|
-
var
|
|
54
|
+
var _chunkCQRUNV6Scjs = require('./chunk-CQRUNV6S.cjs');
|
|
44
55
|
|
|
45
56
|
|
|
46
57
|
|
|
@@ -52,22 +63,22 @@ var _chunk6FBGCF5Tcjs = require('./chunk-6FBGCF5T.cjs');
|
|
|
52
63
|
|
|
53
64
|
|
|
54
65
|
|
|
55
|
-
var _chunkI7G77Q65cjs = require('./chunk-I7G77Q65.cjs');
|
|
56
66
|
|
|
57
67
|
|
|
58
68
|
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
|
|
69
|
+
var _chunk2EBB5BO3cjs = require('./chunk-2EBB5BO3.cjs');
|
|
62
70
|
|
|
63
71
|
|
|
72
|
+
var _chunk7EIHHOHPcjs = require('./chunk-7EIHHOHP.cjs');
|
|
64
73
|
|
|
65
74
|
|
|
66
75
|
|
|
67
76
|
|
|
77
|
+
var _chunkH7DVR52Zcjs = require('./chunk-H7DVR52Z.cjs');
|
|
68
78
|
|
|
69
79
|
|
|
70
80
|
|
|
81
|
+
var _chunkJ2JJLKLGcjs = require('./chunk-J2JJLKLG.cjs');
|
|
71
82
|
|
|
72
83
|
|
|
73
84
|
|
|
@@ -79,7 +90,6 @@ var _chunkJ2JJLKLGcjs = require('./chunk-J2JJLKLG.cjs');
|
|
|
79
90
|
|
|
80
91
|
|
|
81
92
|
|
|
82
|
-
var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
|
|
83
93
|
|
|
84
94
|
|
|
85
95
|
|
|
@@ -89,12 +99,12 @@ var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
|
|
|
89
99
|
|
|
90
100
|
|
|
91
101
|
|
|
92
|
-
var _chunk3LKGVKQYcjs = require('./chunk-3LKGVKQY.cjs');
|
|
93
102
|
|
|
94
103
|
|
|
104
|
+
var _chunkIG4Q3WQOcjs = require('./chunk-IG4Q3WQO.cjs');
|
|
105
|
+
require('./chunk-EJQCQPET.cjs');
|
|
95
106
|
|
|
96
107
|
|
|
97
|
-
var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
|
|
98
108
|
|
|
99
109
|
|
|
100
110
|
|
|
@@ -102,11 +112,12 @@ var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
|
|
|
102
112
|
|
|
103
113
|
|
|
104
114
|
|
|
115
|
+
var _chunk3LKGVKQYcjs = require('./chunk-3LKGVKQY.cjs');
|
|
105
116
|
|
|
106
117
|
|
|
107
|
-
var _chunkJCKVYYZOcjs = require('./chunk-JCKVYYZO.cjs');
|
|
108
118
|
|
|
109
119
|
|
|
120
|
+
var _chunkB4W2XNBPcjs = require('./chunk-B4W2XNBP.cjs');
|
|
110
121
|
|
|
111
122
|
|
|
112
123
|
|
|
@@ -116,8 +127,7 @@ var _chunkJCKVYYZOcjs = require('./chunk-JCKVYYZO.cjs');
|
|
|
116
127
|
|
|
117
128
|
|
|
118
129
|
|
|
119
|
-
var
|
|
120
|
-
require('./chunk-EJQCQPET.cjs');
|
|
130
|
+
var _chunkJCKVYYZOcjs = require('./chunk-JCKVYYZO.cjs');
|
|
121
131
|
|
|
122
132
|
|
|
123
133
|
|
|
@@ -259,4 +269,10 @@ function usePrevious(value) {
|
|
|
259
269
|
|
|
260
270
|
|
|
261
271
|
|
|
262
|
-
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
exports.Alert = _chunkJ4JFIC4Wcjs.Alert; exports.Button = _chunkCQRUNV6Scjs.Button; exports.CARD_BACKGROUND = _chunk6FBGCF5Tcjs.CARD_BACKGROUND; exports.Card = _chunk6FBGCF5Tcjs.Card; exports.Checkbox = _chunk2EBB5BO3cjs.Checkbox; exports.CheckboxIndicator = _chunk2EBB5BO3cjs.CheckboxIndicator; exports.CheckboxLabel = _chunk2EBB5BO3cjs.CheckboxLabel; exports.CheckboxRoot = _chunk2EBB5BO3cjs.CheckboxRoot; exports.Chip = _chunkH7DVR52Zcjs.Chip; exports.CloseButton = _chunkJ2JJLKLGcjs.CloseButton; exports.Column = _chunkIBEX4XGVcjs.Column; exports.FEEDBACK_OVERLAY = _chunkIG4Q3WQOcjs.FEEDBACK_OVERLAY; exports.Grid = _chunkIBEX4XGVcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkIG4Q3WQOcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkIG4Q3WQOcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkB4W2XNBPcjs.Icon; exports.IconContext = _chunkB4W2XNBPcjs.IconContext; exports.Input = _chunkJCKVYYZOcjs.Input; exports.InputDescription = _chunkJCKVYYZOcjs.InputDescription; exports.InputError = _chunkJCKVYYZOcjs.InputError; exports.InputField = _chunkJCKVYYZOcjs.InputField; exports.InputGroup = _chunk3LKGVKQYcjs.InputGroup; exports.InputGroupField = _chunk3LKGVKQYcjs.InputGroupField; exports.InputGroupIcon = _chunk3LKGVKQYcjs.InputGroupIcon; exports.InputGroupPrefix = _chunk3LKGVKQYcjs.InputGroupPrefix; exports.InputGroupRoot = _chunk3LKGVKQYcjs.InputGroupRoot; exports.InputGroupSuffix = _chunk3LKGVKQYcjs.InputGroupSuffix; exports.InputLabel = _chunkJCKVYYZOcjs.InputLabel; exports.InputOTP = _chunk63TWVWHGcjs.InputOTP; exports.InputRoot = _chunkJCKVYYZOcjs.InputRoot; exports.OTP_ALPHANUMERIC = _chunk63TWVWHGcjs.OTP_ALPHANUMERIC; exports.OTP_DIGITS = _chunk63TWVWHGcjs.OTP_DIGITS; exports.OTP_LETTERS = _chunk63TWVWHGcjs.OTP_LETTERS; exports.PRESS_DURATION = _chunkIG4Q3WQOcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkIG4Q3WQOcjs.PRESS_SCALE; exports.Portal = _chunk6HXWQ5AUcjs.Portal; exports.PortalContext = _chunk6HXWQ5AUcjs.PortalContext; exports.PortalHost = _chunk6HXWQ5AUcjs.PortalHost; exports.PressableFeedback = _chunkIG4Q3WQOcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkIG4Q3WQOcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkIG4Q3WQOcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkIG4Q3WQOcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkIG4Q3WQOcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkIG4Q3WQOcjs.RIPPLE_START_SCALE; exports.Row = _chunkIBEX4XGVcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkIG4Q3WQOcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkHUZ4AUM2cjs.Slot; exports.Stack = _chunkIBEX4XGVcjs.Stack; exports.TextArea = _chunk5OXZIZRZcjs.TextArea; exports.TextSpan = _chunkY7U6ACMBcjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkY7U6ACMBcjs.Typography; exports.XAUIProvider = _chunkOHEHPQLCcjs.XAUIProvider; exports.alertRecipe = _chunkJ4JFIC4Wcjs.alertRecipe; exports.buildRadius = _chunkOHEHPQLCcjs.buildRadius; exports.buildShadows = _chunkOHEHPQLCcjs.buildShadows; exports.buildSlots = _chunk63TWVWHGcjs.buildSlots; exports.buttonRecipe = _chunkCQRUNV6Scjs.buttonRecipe; exports.cardRecipe = _chunk6FBGCF5Tcjs.cardRecipe; exports.checkboxRecipe = _chunk2EBB5BO3cjs.checkboxRecipe; exports.childrenToString = _chunkHUZ4AUM2cjs.childrenToString; exports.chipRecipe = _chunkH7DVR52Zcjs.chipRecipe; exports.closeButtonBase = _chunkJ2JJLKLGcjs.closeButtonBase; exports.createRecipe = _chunkYXVKQMCKcjs.createRecipe; exports.createSlotContext = _chunkHUZ4AUM2cjs.createSlotContext; exports.createTheme = _chunkOHEHPQLCcjs.createTheme; exports.decoratorPadding = _chunk3LKGVKQYcjs.decoratorPadding; exports.defaultTheme = _chunkOHEHPQLCcjs.defaultTheme; exports.deriveColors = _chunkOHEHPQLCcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.extractPastedCode = _chunk63TWVWHGcjs.extractPastedCode; exports.inputOTPRecipe = _chunk63TWVWHGcjs.inputOTPRecipe; exports.inputRecipe = _chunkJCKVYYZOcjs.inputRecipe; exports.markBackground = _chunk6FBGCF5Tcjs.markBackground; exports.markOverlay = _chunkIG4Q3WQOcjs.markOverlay; exports.mergeProps = _chunkHUZ4AUM2cjs.mergeProps; exports.mergeRefs = _chunkHUZ4AUM2cjs.mergeRefs; exports.palette = _chunkOHEHPQLCcjs.palette; exports.pressScaleFor = _chunkIG4Q3WQOcjs.pressScaleFor; exports.primitives = _chunkOHEHPQLCcjs.primitives; exports.radiusAxis = _chunkYXVKQMCKcjs.radiusAxis; exports.resolveAnimation = _chunkIG4Q3WQOcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkIG4Q3WQOcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkIG4Q3WQOcjs.rippleRadiusFor; exports.sourceKeys = _chunkOHEHPQLCcjs.sourceKeys; exports.tokens = _chunkOHEHPQLCcjs.tokens; exports.typographyRecipe = _chunkY7U6ACMBcjs.typographyRecipe; exports.useAlert = _chunkJ4JFIC4Wcjs.useAlert; exports.useButton = _chunkCQRUNV6Scjs.useButton; exports.useCard = _chunk6FBGCF5Tcjs.useCard; exports.useCheckbox = _chunk2EBB5BO3cjs.useCheckbox; exports.useChip = _chunkH7DVR52Zcjs.useChip; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = _chunk7EIHHOHPcjs.useControllableState; exports.useFeedback = _chunkIG4Q3WQOcjs.useFeedback; exports.useGrid = _chunkIBEX4XGVcjs.useGrid; exports.useIconContext = _chunkB4W2XNBPcjs.useIconContext; exports.useInput = _chunkJCKVYYZOcjs.useInput; exports.useInputGroup = _chunk3LKGVKQYcjs.useInputGroup; exports.useInputOTP = _chunk63TWVWHGcjs.useInputOTP; exports.useInputOTPBox = _chunk63TWVWHGcjs.useInputOTPBox; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkIG4Q3WQOcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkHUZ4AUM2cjs.useStyleProps; exports.useTextArea = _chunk5OXZIZRZcjs.useTextArea; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.cjs';
|
|
2
2
|
export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.cjs';
|
|
3
3
|
export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.cjs';
|
|
4
|
+
export { Checkbox, CheckboxContextValue, CheckboxIndicator, CheckboxIndicatorProps, CheckboxLabel, CheckboxLabelProps, CheckboxProps, CheckboxRoot, CheckboxSize, CheckboxSlot, CheckboxVariant, checkboxRecipe, useCheckbox } from './components/checkbox/index.cjs';
|
|
4
5
|
export { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.cjs';
|
|
5
6
|
export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot, inputRecipe, useInput } from './components/input/index.cjs';
|
|
6
7
|
export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.cjs';
|
|
@@ -14,7 +15,7 @@ export { AsChildProps, CloseButton, CloseButtonSlots, FEEDBACK_OVERLAY, HIGHLIGH
|
|
|
14
15
|
import { GestureResponderEvent } from 'react-native';
|
|
15
16
|
export { C as CloseButtonProps } from './close-button.type-CHsgZ3wO.cjs';
|
|
16
17
|
export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-CF4KiMKl.cjs';
|
|
17
|
-
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-
|
|
18
|
+
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-CWvI5ot3.cjs';
|
|
18
19
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.cjs';
|
|
19
20
|
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';
|
|
20
21
|
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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.js';
|
|
2
2
|
export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.js';
|
|
3
3
|
export { CARD_BACKGROUND, Card, CardBackgroundProps, CardBodyProps, CardContextValue, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardSize, CardSlot, CardTitleProps, CardVariant, cardRecipe, markBackground, useCard } from './components/card/index.js';
|
|
4
|
+
export { Checkbox, CheckboxContextValue, CheckboxIndicator, CheckboxIndicatorProps, CheckboxLabel, CheckboxLabelProps, CheckboxProps, CheckboxRoot, CheckboxSize, CheckboxSlot, CheckboxVariant, checkboxRecipe, useCheckbox } from './components/checkbox/index.js';
|
|
4
5
|
export { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.js';
|
|
5
6
|
export { Input, InputDescription, InputError, InputField, InputLabel, InputRoot, inputRecipe, useInput } from './components/input/index.js';
|
|
6
7
|
export { InputGroup, InputGroupContextValue, InputGroupField, InputGroupFieldProps, InputGroupIcon, InputGroupIconProps, InputGroupPrefix, InputGroupPrefixProps, InputGroupProps, InputGroupRoot, InputGroupSide, InputGroupSuffix, InputGroupSuffixProps, decoratorPadding, useInputGroup } from './components/input-group/index.js';
|
|
@@ -14,7 +15,7 @@ export { AsChildProps, CloseButton, CloseButtonSlots, FEEDBACK_OVERLAY, HIGHLIGH
|
|
|
14
15
|
import { GestureResponderEvent } from 'react-native';
|
|
15
16
|
export { C as CloseButtonProps } from './close-button.type-BUYuoSt2.js';
|
|
16
17
|
export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-Dq4_qePa.js';
|
|
17
|
-
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-
|
|
18
|
+
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-DUo8doTt.js';
|
|
18
19
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
|
|
19
20
|
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';
|
|
20
21
|
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';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InputOTP,
|
|
3
|
+
OTP_ALPHANUMERIC,
|
|
4
|
+
OTP_DIGITS,
|
|
5
|
+
OTP_LETTERS,
|
|
6
|
+
buildSlots,
|
|
7
|
+
extractPastedCode,
|
|
8
|
+
inputOTPRecipe,
|
|
9
|
+
useInputOTP,
|
|
10
|
+
useInputOTPBox
|
|
11
|
+
} from "./chunk-N4UJYDOW.js";
|
|
1
12
|
import {
|
|
2
13
|
TextArea,
|
|
3
14
|
useTextArea
|
|
@@ -40,7 +51,7 @@ import {
|
|
|
40
51
|
Button,
|
|
41
52
|
buttonRecipe,
|
|
42
53
|
useButton
|
|
43
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-56KVKM27.js";
|
|
44
55
|
import {
|
|
45
56
|
CARD_BACKGROUND,
|
|
46
57
|
Card,
|
|
@@ -48,11 +59,22 @@ import {
|
|
|
48
59
|
markBackground,
|
|
49
60
|
useCard
|
|
50
61
|
} from "./chunk-ZTA47PO5.js";
|
|
62
|
+
import {
|
|
63
|
+
Checkbox,
|
|
64
|
+
CheckboxIndicator,
|
|
65
|
+
CheckboxLabel,
|
|
66
|
+
CheckboxRoot,
|
|
67
|
+
checkboxRecipe,
|
|
68
|
+
useCheckbox
|
|
69
|
+
} from "./chunk-LGVIZAB2.js";
|
|
70
|
+
import {
|
|
71
|
+
useControllableState
|
|
72
|
+
} from "./chunk-F6W3JQ7K.js";
|
|
51
73
|
import {
|
|
52
74
|
Chip,
|
|
53
75
|
chipRecipe,
|
|
54
76
|
useChip
|
|
55
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-EHARM2EN.js";
|
|
56
78
|
import {
|
|
57
79
|
CloseButton,
|
|
58
80
|
closeButtonBase
|
|
@@ -80,6 +102,7 @@ import {
|
|
|
80
102
|
useFeedback,
|
|
81
103
|
usePressState
|
|
82
104
|
} from "./chunk-4HELPMAK.js";
|
|
105
|
+
import "./chunk-EGLLDKN6.js";
|
|
83
106
|
import {
|
|
84
107
|
InputGroup,
|
|
85
108
|
InputGroupField,
|
|
@@ -105,19 +128,6 @@ import {
|
|
|
105
128
|
inputRecipe,
|
|
106
129
|
useInput
|
|
107
130
|
} from "./chunk-V2FQN6ZK.js";
|
|
108
|
-
import {
|
|
109
|
-
InputOTP,
|
|
110
|
-
OTP_ALPHANUMERIC,
|
|
111
|
-
OTP_DIGITS,
|
|
112
|
-
OTP_LETTERS,
|
|
113
|
-
buildSlots,
|
|
114
|
-
extractPastedCode,
|
|
115
|
-
inputOTPRecipe,
|
|
116
|
-
useControllableState,
|
|
117
|
-
useInputOTP,
|
|
118
|
-
useInputOTPBox
|
|
119
|
-
} from "./chunk-I6UCYAO2.js";
|
|
120
|
-
import "./chunk-EGLLDKN6.js";
|
|
121
131
|
import {
|
|
122
132
|
createRecipe,
|
|
123
133
|
radiusAxis
|
|
@@ -159,6 +169,10 @@ export {
|
|
|
159
169
|
Button,
|
|
160
170
|
CARD_BACKGROUND,
|
|
161
171
|
Card,
|
|
172
|
+
Checkbox,
|
|
173
|
+
CheckboxIndicator,
|
|
174
|
+
CheckboxLabel,
|
|
175
|
+
CheckboxRoot,
|
|
162
176
|
Chip,
|
|
163
177
|
CloseButton,
|
|
164
178
|
Column,
|
|
@@ -212,6 +226,7 @@ export {
|
|
|
212
226
|
buildSlots,
|
|
213
227
|
buttonRecipe,
|
|
214
228
|
cardRecipe,
|
|
229
|
+
checkboxRecipe,
|
|
215
230
|
childrenToString,
|
|
216
231
|
chipRecipe,
|
|
217
232
|
closeButtonBase,
|
|
@@ -242,6 +257,7 @@ export {
|
|
|
242
257
|
useAlert,
|
|
243
258
|
useButton,
|
|
244
259
|
useCard,
|
|
260
|
+
useCheckbox,
|
|
245
261
|
useChip,
|
|
246
262
|
useColorMode,
|
|
247
263
|
useControllableState,
|