@xaui/native 0.9.1-alpha.36 → 0.9.1-alpha.38
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-B6OKVLC7.js → chunk-26OGEFQI.js} +4 -4
- package/dist/{chunk-V5IVMZQJ.js → chunk-2PMXMKS5.js} +13 -8
- package/dist/{chunk-QZO57TPX.js → chunk-346QBNUD.js} +4 -4
- package/dist/{chunk-PPWXLZGL.js → chunk-3GFRSZYR.js} +15 -23
- package/dist/{chunk-GPZSTEEI.cjs → chunk-3JXI2IHV.cjs} +17 -17
- package/dist/{chunk-ISPOIMGX.cjs → chunk-4KFKWBN5.cjs} +26 -5
- package/dist/{chunk-N2U63JUX.cjs → chunk-4KSKQD37.cjs} +10 -10
- package/dist/{chunk-ZU3XQZ63.cjs → chunk-54CWXA34.cjs} +66 -66
- package/dist/{chunk-EFPWXJAJ.cjs → chunk-66FOASTP.cjs} +16 -16
- package/dist/{chunk-E5ZW7MBW.js → chunk-6CO6FM67.js} +17 -17
- package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
- package/dist/{chunk-2L7FOIWY.cjs → chunk-7TOG4TVU.cjs} +26 -26
- package/dist/{chunk-6N5ZCEAB.cjs → chunk-A7YB7YWX.cjs} +10 -10
- package/dist/{chunk-FVKIQBHS.cjs → chunk-AAVCMCJ3.cjs} +4 -4
- package/dist/{chunk-HQVVQGYV.cjs → chunk-ACAPTWE3.cjs} +16 -12
- package/dist/{chunk-LCDHTLSG.cjs → chunk-BNFIFRQA.cjs} +7 -7
- package/dist/{chunk-6U5IUUAR.js → chunk-DY3SUG5P.js} +5 -5
- package/dist/{chunk-RSGIJ6RI.js → chunk-EYD4H4X6.js} +2 -2
- package/dist/{chunk-DL2PGB5G.js → chunk-FBCWNXZC.js} +59 -59
- package/dist/{chunk-OWE5IID7.js → chunk-FHUYHV6J.js} +28 -7
- package/dist/{chunk-K7GAHNMJ.js → chunk-HA6BFY3A.js} +6 -6
- package/dist/{chunk-MFXZHLOU.cjs → chunk-HOI5425P.cjs} +16 -16
- package/dist/{chunk-VWATEE5O.js → chunk-IKJVLJKT.js} +15 -15
- package/dist/{chunk-YXPYOOHU.js → chunk-K72UDPVN.js} +27 -27
- package/dist/{chunk-2LNE4PWB.cjs → chunk-KSUV74BE.cjs} +5 -5
- package/dist/{chunk-UCW25LL6.js → chunk-LIUO6D3D.js} +76 -76
- package/dist/{chunk-U3HFQHGZ.js → chunk-LTX6TB5I.js} +4 -4
- package/dist/{chunk-OSCW7I4H.js → chunk-M63GFNKV.js} +19 -4
- package/dist/chunk-MESKS6AI.js +0 -0
- package/dist/{chunk-SAGMDVFU.js → chunk-MXGER5PI.js} +5 -5
- package/dist/{chunk-GHKJ6MUH.cjs → chunk-NCCRQK3P.cjs} +14 -14
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/chunk-OJCCV65P.cjs +1 -0
- package/dist/chunk-Q3MQ7S2D.cjs +476 -0
- package/dist/{chunk-CVCE7TW5.js → chunk-QZ24MZRX.js} +4 -4
- package/dist/{chunk-5GMU7ESV.js → chunk-R7BU4CPS.js} +3 -3
- package/dist/chunk-RAWGK2XK.cjs +971 -0
- package/dist/{chunk-PGQWUASE.cjs → chunk-RKCWYUGA.cjs} +6 -6
- package/dist/{chunk-3YZSUDZ2.js → chunk-S2WNWMNT.js} +4 -4
- package/dist/{chunk-XARBUUIE.cjs → chunk-S4QUM4EE.cjs} +12 -12
- package/dist/{chunk-OMV5MUTM.js → chunk-SACDOFGF.js} +16 -16
- package/dist/{chunk-FYCDRRJ2.cjs → chunk-SIP5J7HU.cjs} +25 -25
- package/dist/{chunk-AQXNEV6J.cjs → chunk-SNIHUKDA.cjs} +16 -16
- package/dist/{chunk-2OZPOWFB.js → chunk-SZLXPF3G.js} +4 -4
- package/dist/{chunk-RPOKLFRB.cjs → chunk-TDTUAIFF.cjs} +12 -12
- package/dist/{chunk-2SCE7TFZ.cjs → chunk-TGMVEHV7.cjs} +68 -68
- package/dist/{chunk-K3AVOT6L.cjs → chunk-TK44VBIE.cjs} +22 -7
- package/dist/{chunk-KZVHC4FL.js → chunk-TRETQZEW.js} +7 -7
- package/dist/{chunk-AZRMOWRG.cjs → chunk-URA25DU4.cjs} +10 -10
- package/dist/{chunk-BAPXLO5N.js → chunk-USF6EWYR.js} +7 -7
- package/dist/{chunk-TE7KVFE4.cjs → chunk-VZK3NLBH.cjs} +11 -11
- package/dist/{chunk-5BNIIDQD.cjs → chunk-WDDXU3OH.cjs} +14 -9
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/{chunk-JB5XANQY.js → chunk-WKCQ6VGW.js} +15 -11
- package/dist/{chunk-DOLWSO7A.js → chunk-XNMZQSY5.js} +5 -5
- package/dist/{chunk-K4TWKF5U.cjs → chunk-XSQPVDFH.cjs} +15 -25
- package/dist/{chunk-4XFEEBPU.js → chunk-XTC2SLFT.js} +2 -2
- package/dist/{chunk-ADQVA2FQ.cjs → chunk-XWNG2U4K.cjs} +5 -5
- package/dist/chunk-ZF6KIHXH.js +591 -0
- package/dist/chunk-ZNZ7HVRW.js +1106 -0
- package/dist/components/accordion/index.cjs +34 -0
- package/dist/components/accordion/index.d.cts +299 -0
- package/dist/components/accordion/index.d.ts +299 -0
- package/dist/components/accordion/index.js +34 -0
- package/dist/components/alert/index.cjs +7 -8
- package/dist/components/alert/index.d.cts +2 -2
- package/dist/components/alert/index.d.ts +2 -2
- package/dist/components/alert/index.js +6 -7
- package/dist/components/avatar/index.cjs +5 -6
- package/dist/components/avatar/index.d.cts +2 -2
- package/dist/components/avatar/index.d.ts +2 -2
- package/dist/components/avatar/index.js +4 -5
- package/dist/components/badge/index.cjs +4 -5
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +3 -4
- package/dist/components/button/index.cjs +8 -8
- package/dist/components/button/index.d.cts +41 -41
- package/dist/components/button/index.d.ts +41 -41
- package/dist/components/button/index.js +7 -7
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +43 -43
- package/dist/components/card/index.d.ts +43 -43
- package/dist/components/card/index.js +4 -5
- package/dist/components/checkbox/index.cjs +5 -6
- package/dist/components/checkbox/index.d.cts +82 -82
- package/dist/components/checkbox/index.d.ts +82 -82
- package/dist/components/checkbox/index.js +4 -5
- package/dist/components/chip/index.cjs +7 -8
- package/dist/components/chip/index.d.cts +42 -42
- package/dist/components/chip/index.d.ts +42 -42
- package/dist/components/chip/index.js +6 -7
- package/dist/components/divider/index.cjs +4 -5
- package/dist/components/divider/index.d.cts +3 -3
- package/dist/components/divider/index.d.ts +3 -3
- package/dist/components/divider/index.js +3 -4
- package/dist/components/field-group/index.cjs +6 -7
- package/dist/components/field-group/index.d.cts +2 -2
- package/dist/components/field-group/index.d.ts +2 -2
- package/dist/components/field-group/index.js +5 -6
- package/dist/components/input-otp/index.cjs +4 -5
- package/dist/components/input-otp/index.d.cts +2 -2
- package/dist/components/input-otp/index.d.ts +2 -2
- package/dist/components/input-otp/index.js +3 -4
- package/dist/components/radio/index.cjs +5 -6
- package/dist/components/radio/index.d.cts +82 -82
- package/dist/components/radio/index.d.ts +82 -82
- package/dist/components/radio/index.js +4 -5
- package/dist/components/select/index.cjs +48 -0
- package/dist/components/select/index.d.cts +509 -0
- package/dist/components/select/index.d.ts +509 -0
- package/dist/components/select/index.js +48 -0
- package/dist/components/skeleton/index.cjs +3 -4
- package/dist/components/skeleton/index.d.cts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +2 -3
- package/dist/components/spinner/index.cjs +5 -5
- package/dist/components/spinner/index.d.cts +1 -1
- package/dist/components/spinner/index.d.ts +1 -1
- package/dist/components/spinner/index.js +4 -4
- package/dist/components/switch/index.cjs +5 -6
- package/dist/components/switch/index.d.cts +81 -81
- package/dist/components/switch/index.d.ts +81 -81
- package/dist/components/switch/index.js +4 -5
- package/dist/components/text-area/index.cjs +5 -6
- package/dist/components/text-area/index.js +4 -5
- package/dist/components/text-field/index.cjs +4 -5
- package/dist/components/text-field/index.d.cts +3 -3
- package/dist/components/text-field/index.d.ts +3 -3
- package/dist/components/text-field/index.js +3 -4
- package/dist/components/typography/index.cjs +4 -5
- package/dist/components/typography/index.d.cts +5 -5
- package/dist/components/typography/index.d.ts +5 -5
- package/dist/components/typography/index.js +3 -4
- package/dist/components/view/index.cjs +4 -5
- package/dist/components/view/index.d.cts +3 -3
- package/dist/components/view/index.d.ts +3 -3
- package/dist/components/view/index.js +3 -4
- package/dist/index.cjs +91 -31
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +125 -65
- package/dist/system/index.cjs +13 -11
- package/dist/system/index.d.cts +61 -35
- package/dist/system/index.d.ts +61 -35
- package/dist/system/index.js +13 -11
- package/dist/theme/index.cjs +4 -3
- package/dist/theme/index.d.cts +21 -1
- package/dist/theme/index.d.ts +21 -1
- package/dist/theme/index.js +3 -2
- package/package.json +21 -1
- package/dist/chunk-FJ5TLRT3.js +0 -21
- package/dist/chunk-HT7H35GU.cjs +0 -21
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionContentProps, AccordionContextValue, AccordionIndicator, AccordionIndicatorProps, AccordionItem, AccordionItemContextValue, AccordionItemProps, AccordionItemRenderState, AccordionProps, AccordionRoot, AccordionSelectionMode, AccordionSize, AccordionSlot, AccordionTrigger, AccordionTriggerProps, AccordionValue, AccordionVariant, accordionLayoutTransition, accordionRecipe, useAccordion, useAccordionItem } from './components/accordion/index.cjs';
|
|
1
2
|
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.cjs';
|
|
2
3
|
export { Avatar, AvatarContextValue, AvatarFallbackProps, AvatarImageProps, AvatarInitialsProps, AvatarProps, AvatarSize, AvatarSlot, AvatarVariant, avatarRecipe, useAvatar } from './components/avatar/index.cjs';
|
|
3
4
|
export { Badge, BadgePlacement, BadgeProps, BadgeSize, BadgeSlot, BadgeVariant, badgeRecipe, placementInsets } from './components/badge/index.cjs';
|
|
@@ -10,6 +11,7 @@ export { TextField, TextFieldDescription, TextFieldError, TextFieldField, TextFi
|
|
|
10
11
|
export { FieldGroup, FieldGroupContextValue, FieldGroupField, FieldGroupFieldProps, FieldGroupIcon, FieldGroupIconProps, FieldGroupPrefix, FieldGroupPrefixProps, FieldGroupProps, FieldGroupRoot, FieldGroupSide, FieldGroupSuffix, FieldGroupSuffixProps, decoratorPadding, useFieldGroup } from './components/field-group/index.cjs';
|
|
11
12
|
export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.cjs';
|
|
12
13
|
export { Radio, RadioContextValue, RadioIndicator, RadioIndicatorProps, RadioLabel, RadioLabelProps, RadioProps, RadioRoot, RadioSize, RadioSlot, RadioVariant, radioRecipe, useRadio } from './components/radio/index.cjs';
|
|
14
|
+
export { CheckIcon, Select, SelectAlign, SelectAnchor, SelectContent, SelectContentProps, SelectContextValue, SelectIndicator, SelectIndicatorProps, SelectInsets, SelectItem, SelectItemContextValue, SelectItemDescription, SelectItemDescriptionProps, SelectItemIndicator, SelectItemIndicatorProps, SelectItemLabel, SelectItemLabelProps, SelectItemProps, SelectItemRenderState, SelectLabel, SelectLabelProps, SelectOverlay, SelectOverlayProps, SelectPlacement, SelectProps, SelectRoot, SelectSize, SelectSlot, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, SelectVariant, SelectWidth, selectRecipe, useSelect, useSelectItem } from './components/select/index.cjs';
|
|
13
15
|
export { Skeleton, SkeletonProps, SkeletonSlot, skeletonRecipe } from './components/skeleton/index.cjs';
|
|
14
16
|
export { Spinner, SpinnerProps, SpinnerSize, SpinnerSlot, SpinnerVariant, spinnerRecipe } from './components/spinner/index.cjs';
|
|
15
17
|
export { Switch, SwitchContextValue, SwitchLabel, SwitchLabelProps, SwitchProps, SwitchRoot, SwitchSize, SwitchSlot, SwitchThumb, SwitchThumbProps, SwitchTrack, SwitchTrackProps, SwitchVariant, switchRecipe, useSwitch } from './components/switch/index.cjs';
|
|
@@ -18,7 +20,7 @@ export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, T
|
|
|
18
20
|
export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.cjs';
|
|
19
21
|
import { RefCallback } from 'react';
|
|
20
22
|
import { PossibleRef } from './system/index.cjs';
|
|
21
|
-
export { AsChildProps, CloseButton, CloseButtonSlots, 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, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
23
|
+
export { AsChildProps, ChevronDownIcon, CloseButton, CloseButtonSlots, 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, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
22
24
|
import { GestureResponderEvent, ViewStyle } from 'react-native';
|
|
23
25
|
export { C as CloseButtonProps } from './close-button.type-CHsgZ3wO.cjs';
|
|
24
26
|
export { b as IconComponentProps, I as IconContextValue, a as IconProps } from './icon.type-d_i9ma-i.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Accordion, AccordionContent, AccordionContentProps, AccordionContextValue, AccordionIndicator, AccordionIndicatorProps, AccordionItem, AccordionItemContextValue, AccordionItemProps, AccordionItemRenderState, AccordionProps, AccordionRoot, AccordionSelectionMode, AccordionSize, AccordionSlot, AccordionTrigger, AccordionTriggerProps, AccordionValue, AccordionVariant, accordionLayoutTransition, accordionRecipe, useAccordion, useAccordionItem } from './components/accordion/index.js';
|
|
1
2
|
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.js';
|
|
2
3
|
export { Avatar, AvatarContextValue, AvatarFallbackProps, AvatarImageProps, AvatarInitialsProps, AvatarProps, AvatarSize, AvatarSlot, AvatarVariant, avatarRecipe, useAvatar } from './components/avatar/index.js';
|
|
3
4
|
export { Badge, BadgePlacement, BadgeProps, BadgeSize, BadgeSlot, BadgeVariant, badgeRecipe, placementInsets } from './components/badge/index.js';
|
|
@@ -10,6 +11,7 @@ export { TextField, TextFieldDescription, TextFieldError, TextFieldField, TextFi
|
|
|
10
11
|
export { FieldGroup, FieldGroupContextValue, FieldGroupField, FieldGroupFieldProps, FieldGroupIcon, FieldGroupIconProps, FieldGroupPrefix, FieldGroupPrefixProps, FieldGroupProps, FieldGroupRoot, FieldGroupSide, FieldGroupSuffix, FieldGroupSuffixProps, decoratorPadding, useFieldGroup } from './components/field-group/index.js';
|
|
11
12
|
export { InputOTP, InputOTPBoxContextValue, InputOTPBoxProps, InputOTPCaretProps, InputOTPContextValue, InputOTPGroupProps, InputOTPHandle, InputOTPPattern, InputOTPPlaceholderProps, InputOTPProps, InputOTPRenderState, InputOTPSeparatorProps, InputOTPSize, InputOTPSlot, InputOTPValueProps, InputOTPVariant, OTPSlotState, OTP_ALPHANUMERIC, OTP_DIGITS, OTP_LETTERS, buildSlots, extractPastedCode, inputOTPRecipe, useInputOTP, useInputOTPBox } from './components/input-otp/index.js';
|
|
12
13
|
export { Radio, RadioContextValue, RadioIndicator, RadioIndicatorProps, RadioLabel, RadioLabelProps, RadioProps, RadioRoot, RadioSize, RadioSlot, RadioVariant, radioRecipe, useRadio } from './components/radio/index.js';
|
|
14
|
+
export { CheckIcon, Select, SelectAlign, SelectAnchor, SelectContent, SelectContentProps, SelectContextValue, SelectIndicator, SelectIndicatorProps, SelectInsets, SelectItem, SelectItemContextValue, SelectItemDescription, SelectItemDescriptionProps, SelectItemIndicator, SelectItemIndicatorProps, SelectItemLabel, SelectItemLabelProps, SelectItemProps, SelectItemRenderState, SelectLabel, SelectLabelProps, SelectOverlay, SelectOverlayProps, SelectPlacement, SelectProps, SelectRoot, SelectSize, SelectSlot, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, SelectVariant, SelectWidth, selectRecipe, useSelect, useSelectItem } from './components/select/index.js';
|
|
13
15
|
export { Skeleton, SkeletonProps, SkeletonSlot, skeletonRecipe } from './components/skeleton/index.js';
|
|
14
16
|
export { Spinner, SpinnerProps, SpinnerSize, SpinnerSlot, SpinnerVariant, spinnerRecipe } from './components/spinner/index.js';
|
|
15
17
|
export { Switch, SwitchContextValue, SwitchLabel, SwitchLabelProps, SwitchProps, SwitchRoot, SwitchSize, SwitchSlot, SwitchThumb, SwitchThumbProps, SwitchTrack, SwitchTrackProps, SwitchVariant, switchRecipe, useSwitch } from './components/switch/index.js';
|
|
@@ -18,7 +20,7 @@ export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, T
|
|
|
18
20
|
export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.js';
|
|
19
21
|
import { RefCallback } from 'react';
|
|
20
22
|
import { PossibleRef } from './system/index.js';
|
|
21
|
-
export { AsChildProps, CloseButton, CloseButtonSlots, 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, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
|
|
23
|
+
export { AsChildProps, ChevronDownIcon, CloseButton, CloseButtonSlots, 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, SelectionFill, SelectionFillProps, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
|
|
22
24
|
import { GestureResponderEvent, ViewStyle } from 'react-native';
|
|
23
25
|
export { C as CloseButtonProps } from './close-button.type-BUYuoSt2.js';
|
|
24
26
|
export { b as IconComponentProps, I as IconContextValue, a as IconProps } from './icon.type-Kml72iSz.js';
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Switch,
|
|
3
|
+
SwitchLabel,
|
|
4
|
+
SwitchRoot,
|
|
5
|
+
SwitchThumb,
|
|
6
|
+
SwitchTrack,
|
|
7
|
+
switchRecipe,
|
|
8
|
+
useSwitch
|
|
9
|
+
} from "./chunk-FBCWNXZC.js";
|
|
10
|
+
import {
|
|
11
|
+
TextArea,
|
|
12
|
+
useTextArea
|
|
13
|
+
} from "./chunk-R7BU4CPS.js";
|
|
1
14
|
import {
|
|
2
15
|
TextSpan,
|
|
3
16
|
Typography,
|
|
4
17
|
typographyRecipe
|
|
5
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SZLXPF3G.js";
|
|
6
19
|
import {
|
|
7
20
|
Column,
|
|
8
21
|
Grid,
|
|
9
22
|
Row,
|
|
10
23
|
Stack,
|
|
11
24
|
useGrid
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import
|
|
14
|
-
Portal,
|
|
15
|
-
PortalContext,
|
|
16
|
-
PortalHost
|
|
17
|
-
} from "./chunk-V5IVMZQJ.js";
|
|
25
|
+
} from "./chunk-XTC2SLFT.js";
|
|
26
|
+
import "./chunk-MESKS6AI.js";
|
|
18
27
|
import {
|
|
19
28
|
XAUIProvider,
|
|
20
29
|
buildRadius,
|
|
@@ -26,11 +35,16 @@ import {
|
|
|
26
35
|
primitives,
|
|
27
36
|
sourceKeys,
|
|
28
37
|
tokens
|
|
29
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WKCQ6VGW.js";
|
|
39
|
+
import {
|
|
40
|
+
Chip,
|
|
41
|
+
chipRecipe,
|
|
42
|
+
useChip
|
|
43
|
+
} from "./chunk-USF6EWYR.js";
|
|
30
44
|
import {
|
|
31
45
|
Divider,
|
|
32
46
|
dividerRecipe
|
|
33
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-26OGEFQI.js";
|
|
34
48
|
import {
|
|
35
49
|
FieldGroup,
|
|
36
50
|
FieldGroupField,
|
|
@@ -40,7 +54,17 @@ import {
|
|
|
40
54
|
FieldGroupSuffix,
|
|
41
55
|
decoratorPadding,
|
|
42
56
|
useFieldGroup
|
|
43
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-QZ24MZRX.js";
|
|
58
|
+
import {
|
|
59
|
+
TextField,
|
|
60
|
+
TextFieldDescription,
|
|
61
|
+
TextFieldError,
|
|
62
|
+
TextFieldField,
|
|
63
|
+
TextFieldLabel,
|
|
64
|
+
TextFieldRoot,
|
|
65
|
+
textFieldRecipe,
|
|
66
|
+
useTextField
|
|
67
|
+
} from "./chunk-S2WNWMNT.js";
|
|
44
68
|
import {
|
|
45
69
|
InputOTP,
|
|
46
70
|
OTP_ALPHANUMERIC,
|
|
@@ -51,7 +75,7 @@ import {
|
|
|
51
75
|
inputOTPRecipe,
|
|
52
76
|
useInputOTP,
|
|
53
77
|
useInputOTPBox
|
|
54
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-SACDOFGF.js";
|
|
55
79
|
import {
|
|
56
80
|
Radio,
|
|
57
81
|
RadioIndicator,
|
|
@@ -59,71 +83,95 @@ import {
|
|
|
59
83
|
RadioRoot,
|
|
60
84
|
radioRecipe,
|
|
61
85
|
useRadio
|
|
62
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-XNMZQSY5.js";
|
|
87
|
+
import {
|
|
88
|
+
CheckIcon,
|
|
89
|
+
Select,
|
|
90
|
+
Select2,
|
|
91
|
+
SelectContent,
|
|
92
|
+
SelectIndicator,
|
|
93
|
+
SelectItem,
|
|
94
|
+
SelectItemDescription,
|
|
95
|
+
SelectItemIndicator,
|
|
96
|
+
SelectItemLabel,
|
|
97
|
+
SelectLabel,
|
|
98
|
+
SelectOverlay,
|
|
99
|
+
SelectTrigger,
|
|
100
|
+
SelectValue,
|
|
101
|
+
selectRecipe,
|
|
102
|
+
useSelect,
|
|
103
|
+
useSelectItem
|
|
104
|
+
} from "./chunk-ZNZ7HVRW.js";
|
|
105
|
+
import {
|
|
106
|
+
Portal,
|
|
107
|
+
PortalContext,
|
|
108
|
+
PortalHost
|
|
109
|
+
} from "./chunk-2PMXMKS5.js";
|
|
63
110
|
import {
|
|
64
111
|
Skeleton,
|
|
65
112
|
skeletonRecipe
|
|
66
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-IKJVLJKT.js";
|
|
67
114
|
import {
|
|
68
115
|
Spinner,
|
|
69
116
|
spinnerRecipe
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
} from "./chunk-5GMU7ESV.js";
|
|
84
|
-
import {
|
|
85
|
-
TextField,
|
|
86
|
-
TextFieldDescription,
|
|
87
|
-
TextFieldError,
|
|
88
|
-
TextFieldField,
|
|
89
|
-
TextFieldLabel,
|
|
90
|
-
TextFieldRoot,
|
|
91
|
-
textFieldRecipe,
|
|
92
|
-
useTextField
|
|
93
|
-
} from "./chunk-3YZSUDZ2.js";
|
|
117
|
+
} from "./chunk-LTX6TB5I.js";
|
|
118
|
+
import {
|
|
119
|
+
Accordion,
|
|
120
|
+
AccordionContent,
|
|
121
|
+
AccordionIndicator,
|
|
122
|
+
AccordionItem,
|
|
123
|
+
AccordionRoot,
|
|
124
|
+
AccordionTrigger,
|
|
125
|
+
LAYOUT,
|
|
126
|
+
accordionRecipe,
|
|
127
|
+
useAccordion,
|
|
128
|
+
useAccordionItem
|
|
129
|
+
} from "./chunk-ZF6KIHXH.js";
|
|
94
130
|
import {
|
|
95
131
|
Alert,
|
|
96
132
|
alertRecipe,
|
|
97
133
|
useAlert
|
|
98
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-HA6BFY3A.js";
|
|
135
|
+
import {
|
|
136
|
+
CloseButton,
|
|
137
|
+
closeButtonBase
|
|
138
|
+
} from "./chunk-EYD4H4X6.js";
|
|
99
139
|
import {
|
|
100
140
|
Avatar,
|
|
101
141
|
avatarRecipe,
|
|
102
142
|
useAvatar
|
|
103
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-6CO6FM67.js";
|
|
104
144
|
import {
|
|
105
145
|
Badge,
|
|
106
146
|
badgeRecipe,
|
|
107
147
|
placementInsets
|
|
108
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-346QBNUD.js";
|
|
109
149
|
import {
|
|
110
150
|
Button,
|
|
111
151
|
buttonRecipe,
|
|
112
152
|
useButton
|
|
113
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-TRETQZEW.js";
|
|
114
154
|
import {
|
|
115
155
|
ROTATION_DURATION,
|
|
116
|
-
useMergedRef,
|
|
117
156
|
usePrevious,
|
|
118
157
|
useRotation
|
|
119
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-3GFRSZYR.js";
|
|
159
|
+
import {
|
|
160
|
+
useMergedRef
|
|
161
|
+
} from "./chunk-NCTOTTVW.js";
|
|
162
|
+
import {
|
|
163
|
+
ChevronDownIcon,
|
|
164
|
+
Icon,
|
|
165
|
+
IconContext,
|
|
166
|
+
useIconContext
|
|
167
|
+
} from "./chunk-FHUYHV6J.js";
|
|
120
168
|
import {
|
|
121
169
|
CARD_BACKGROUND,
|
|
122
170
|
Card,
|
|
123
171
|
cardRecipe,
|
|
124
172
|
markBackground,
|
|
125
173
|
useCard
|
|
126
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-DY3SUG5P.js";
|
|
127
175
|
import {
|
|
128
176
|
Checkbox,
|
|
129
177
|
CheckboxIndicator,
|
|
@@ -131,27 +179,13 @@ import {
|
|
|
131
179
|
CheckboxRoot,
|
|
132
180
|
checkboxRecipe,
|
|
133
181
|
useCheckbox
|
|
134
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-MXGER5PI.js";
|
|
135
183
|
import {
|
|
136
184
|
SelectionFill
|
|
137
185
|
} from "./chunk-BA2DBSAN.js";
|
|
138
186
|
import {
|
|
139
187
|
useControllableState
|
|
140
188
|
} from "./chunk-F6W3JQ7K.js";
|
|
141
|
-
import {
|
|
142
|
-
Chip,
|
|
143
|
-
chipRecipe,
|
|
144
|
-
useChip
|
|
145
|
-
} from "./chunk-BAPXLO5N.js";
|
|
146
|
-
import {
|
|
147
|
-
CloseButton,
|
|
148
|
-
closeButtonBase
|
|
149
|
-
} from "./chunk-RSGIJ6RI.js";
|
|
150
|
-
import {
|
|
151
|
-
Icon,
|
|
152
|
-
IconContext,
|
|
153
|
-
useIconContext
|
|
154
|
-
} from "./chunk-OWE5IID7.js";
|
|
155
189
|
import {
|
|
156
190
|
FEEDBACK_OVERLAY,
|
|
157
191
|
HIGHLIGHT_DURATION,
|
|
@@ -173,7 +207,7 @@ import {
|
|
|
173
207
|
resolveSlotAnimation,
|
|
174
208
|
rippleRadiusFor,
|
|
175
209
|
useFeedback
|
|
176
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-LIUO6D3D.js";
|
|
177
211
|
import {
|
|
178
212
|
usePressState
|
|
179
213
|
} from "./chunk-423RQBOX.js";
|
|
@@ -183,7 +217,7 @@ import {
|
|
|
183
217
|
childrenToString,
|
|
184
218
|
createSlotContext,
|
|
185
219
|
mergeProps
|
|
186
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-K72UDPVN.js";
|
|
187
221
|
import {
|
|
188
222
|
mergeRefs
|
|
189
223
|
} from "./chunk-36PRYGAM.js";
|
|
@@ -191,9 +225,6 @@ import {
|
|
|
191
225
|
createRecipe,
|
|
192
226
|
radiusAxis
|
|
193
227
|
} from "./chunk-4GTAZM2C.js";
|
|
194
|
-
import {
|
|
195
|
-
useStyleProps
|
|
196
|
-
} from "./chunk-OSCW7I4H.js";
|
|
197
228
|
import {
|
|
198
229
|
ThemeContext,
|
|
199
230
|
deriveTint,
|
|
@@ -201,18 +232,28 @@ import {
|
|
|
201
232
|
useThemeColor,
|
|
202
233
|
useXAUITheme
|
|
203
234
|
} from "./chunk-A3EGFI6T.js";
|
|
204
|
-
import
|
|
235
|
+
import {
|
|
236
|
+
useStyleProps
|
|
237
|
+
} from "./chunk-M63GFNKV.js";
|
|
205
238
|
export {
|
|
239
|
+
Accordion,
|
|
240
|
+
AccordionContent,
|
|
241
|
+
AccordionIndicator,
|
|
242
|
+
AccordionItem,
|
|
243
|
+
AccordionRoot,
|
|
244
|
+
AccordionTrigger,
|
|
206
245
|
Alert,
|
|
207
246
|
Avatar,
|
|
208
247
|
Badge,
|
|
209
248
|
Button,
|
|
210
249
|
CARD_BACKGROUND,
|
|
211
250
|
Card,
|
|
251
|
+
CheckIcon,
|
|
212
252
|
Checkbox,
|
|
213
253
|
CheckboxIndicator,
|
|
214
254
|
CheckboxLabel,
|
|
215
255
|
CheckboxRoot,
|
|
256
|
+
ChevronDownIcon,
|
|
216
257
|
Chip,
|
|
217
258
|
CloseButton,
|
|
218
259
|
Column,
|
|
@@ -253,6 +294,18 @@ export {
|
|
|
253
294
|
RadioRoot,
|
|
254
295
|
Row,
|
|
255
296
|
SCALE_REFERENCE_WIDTH,
|
|
297
|
+
Select2 as Select,
|
|
298
|
+
SelectContent,
|
|
299
|
+
SelectIndicator,
|
|
300
|
+
SelectItem,
|
|
301
|
+
SelectItemDescription,
|
|
302
|
+
SelectItemIndicator,
|
|
303
|
+
SelectItemLabel,
|
|
304
|
+
SelectLabel,
|
|
305
|
+
SelectOverlay,
|
|
306
|
+
Select as SelectRoot,
|
|
307
|
+
SelectTrigger,
|
|
308
|
+
SelectValue,
|
|
256
309
|
SelectionFill,
|
|
257
310
|
Skeleton,
|
|
258
311
|
Slot,
|
|
@@ -274,6 +327,8 @@ export {
|
|
|
274
327
|
ThemeContext,
|
|
275
328
|
Typography,
|
|
276
329
|
XAUIProvider,
|
|
330
|
+
LAYOUT as accordionLayoutTransition,
|
|
331
|
+
accordionRecipe,
|
|
277
332
|
alertRecipe,
|
|
278
333
|
avatarRecipe,
|
|
279
334
|
badgeRecipe,
|
|
@@ -309,6 +364,7 @@ export {
|
|
|
309
364
|
resolveAnimation,
|
|
310
365
|
resolveSlotAnimation,
|
|
311
366
|
rippleRadiusFor,
|
|
367
|
+
selectRecipe,
|
|
312
368
|
skeletonRecipe,
|
|
313
369
|
sourceKeys,
|
|
314
370
|
spinnerRecipe,
|
|
@@ -316,6 +372,8 @@ export {
|
|
|
316
372
|
textFieldRecipe,
|
|
317
373
|
tokens,
|
|
318
374
|
typographyRecipe,
|
|
375
|
+
useAccordion,
|
|
376
|
+
useAccordionItem,
|
|
319
377
|
useAlert,
|
|
320
378
|
useAvatar,
|
|
321
379
|
useButton,
|
|
@@ -335,6 +393,8 @@ export {
|
|
|
335
393
|
usePrevious,
|
|
336
394
|
useRadio,
|
|
337
395
|
useRotation,
|
|
396
|
+
useSelect,
|
|
397
|
+
useSelectItem,
|
|
338
398
|
useStyleProps,
|
|
339
399
|
useSwitch,
|
|
340
400
|
useTextArea,
|
package/dist/system/index.cjs
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-OJCCV65P.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
var _chunkWDDXU3OHcjs = require('../chunk-WDDXU3OH.cjs');
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
|
|
9
9
|
|
|
10
|
+
var _chunkAAVCMCJ3cjs = require('../chunk-AAVCMCJ3.cjs');
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
var _chunkFVKIQBHScjs = require('../chunk-FVKIQBHS.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
var _chunk4KFKWBN5cjs = require('../chunk-4KFKWBN5.cjs');
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
var _chunkF6CQ6CBIcjs = require('../chunk-F6CQ6CBI.cjs');
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
|
|
@@ -36,7 +38,7 @@ var _chunkISPOIMGXcjs = require('../chunk-ISPOIMGX.cjs');
|
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
var
|
|
41
|
+
var _chunkTGMVEHV7cjs = require('../chunk-TGMVEHV7.cjs');
|
|
40
42
|
require('../chunk-7DPL3ZDS.cjs');
|
|
41
43
|
require('../chunk-EJQCQPET.cjs');
|
|
42
44
|
|
|
@@ -44,7 +46,7 @@ require('../chunk-EJQCQPET.cjs');
|
|
|
44
46
|
|
|
45
47
|
|
|
46
48
|
|
|
47
|
-
var
|
|
49
|
+
var _chunk7GHM4GKLcjs = require('../chunk-7GHM4GKL.cjs');
|
|
48
50
|
|
|
49
51
|
|
|
50
52
|
var _chunkH4E4HDEPcjs = require('../chunk-H4E4HDEP.cjs');
|
|
@@ -52,11 +54,11 @@ var _chunkH4E4HDEPcjs = require('../chunk-H4E4HDEP.cjs');
|
|
|
52
54
|
|
|
53
55
|
|
|
54
56
|
var _chunkFNEUOBCVcjs = require('../chunk-FNEUOBCV.cjs');
|
|
57
|
+
require('../chunk-57SJ4LJF.cjs');
|
|
55
58
|
|
|
56
59
|
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
require('../chunk-HT7H35GU.cjs');
|
|
60
|
+
var _chunkTK44VBIEcjs = require('../chunk-TK44VBIE.cjs');
|
|
61
|
+
|
|
60
62
|
|
|
61
63
|
|
|
62
64
|
|
|
@@ -95,4 +97,4 @@ require('../chunk-HT7H35GU.cjs');
|
|
|
95
97
|
|
|
96
98
|
|
|
97
99
|
|
|
98
|
-
exports.CloseButton =
|
|
100
|
+
exports.ChevronDownIcon = _chunk4KFKWBN5cjs.ChevronDownIcon; exports.CloseButton = _chunkAAVCMCJ3cjs.CloseButton; exports.FEEDBACK_OVERLAY = _chunkTGMVEHV7cjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkTGMVEHV7cjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkTGMVEHV7cjs.HIGHLIGHT_OPACITY; exports.Icon = _chunk4KFKWBN5cjs.Icon; exports.IconContext = _chunk4KFKWBN5cjs.IconContext; exports.PRESS_DURATION = _chunkTGMVEHV7cjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkTGMVEHV7cjs.PRESS_SCALE; exports.Portal = _chunkWDDXU3OHcjs.Portal; exports.PortalContext = _chunkWDDXU3OHcjs.PortalContext; exports.PortalHost = _chunkWDDXU3OHcjs.PortalHost; exports.PressableFeedback = _chunkTGMVEHV7cjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkTGMVEHV7cjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkTGMVEHV7cjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkTGMVEHV7cjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkTGMVEHV7cjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkTGMVEHV7cjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkTGMVEHV7cjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkTGMVEHV7cjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkTGMVEHV7cjs.SCALE_REFERENCE_WIDTH; exports.SelectionFill = _chunkF6CQ6CBIcjs.SelectionFill; exports.Slot = _chunk7GHM4GKLcjs.Slot; exports.childrenToString = _chunk7GHM4GKLcjs.childrenToString; exports.closeButtonBase = _chunkAAVCMCJ3cjs.closeButtonBase; exports.createRecipe = _chunkFNEUOBCVcjs.createRecipe; exports.createSlotContext = _chunk7GHM4GKLcjs.createSlotContext; exports.markOverlay = _chunkTGMVEHV7cjs.markOverlay; exports.mergeProps = _chunk7GHM4GKLcjs.mergeProps; exports.mergeRefs = _chunkH4E4HDEPcjs.mergeRefs; exports.pressScaleFor = _chunkTGMVEHV7cjs.pressScaleFor; exports.radiusAxis = _chunkFNEUOBCVcjs.radiusAxis; exports.resolveAnimation = _chunkTGMVEHV7cjs.resolveAnimation; exports.resolveSlotAnimation = _chunkTGMVEHV7cjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkTGMVEHV7cjs.rippleRadiusFor; exports.useFeedback = _chunkTGMVEHV7cjs.useFeedback; exports.useIconContext = _chunk4KFKWBN5cjs.useIconContext; exports.useStyleProps = _chunkTK44VBIEcjs.useStyleProps;
|
package/dist/system/index.d.cts
CHANGED
|
@@ -8,8 +8,7 @@ import { R as RadiusKey, X as XAUITheme } from '../theme.type-C2gNHpEx.cjs';
|
|
|
8
8
|
import { a as StyleFn, h as SlotStyle } from '../create-recipe-dC7wMfnj.cjs';
|
|
9
9
|
export { A as Axes, C as CompoundVariant, R as Recipe, d as RecipeConfig, b as ResolveArgs, e as ResolvedSelection, f as ResolvedStyles, g as Selection, S as SlotStyles, i as StateName, j as States, T as TintArgs, V as VariantColors, k as VariantRole, l as VariantTokens, c as createRecipe } from '../create-recipe-dC7wMfnj.cjs';
|
|
10
10
|
export { C as CloseButtonProps } from '../close-button.type-CHsgZ3wO.cjs';
|
|
11
|
-
import { a as IconProps, I as IconContextValue } from '../icon.type-d_i9ma-i.cjs';
|
|
12
|
-
export { b as IconComponentProps } from '../icon.type-d_i9ma-i.cjs';
|
|
11
|
+
import { b as IconComponentProps, a as IconProps, I as IconContextValue } from '../icon.type-d_i9ma-i.cjs';
|
|
13
12
|
import { V as ViewStyleProps } from '../style-props.type-CfnoGEP7.cjs';
|
|
14
13
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-CfnoGEP7.cjs';
|
|
15
14
|
import 'react-native-reanimated';
|
|
@@ -46,6 +45,20 @@ type RestPropsOf<P> = Omit<P, StylePropKey>;
|
|
|
46
45
|
*/
|
|
47
46
|
declare function useStyleProps<P extends object>(props: P): [StylePropsOf<P>, RestPropsOf<P>];
|
|
48
47
|
|
|
48
|
+
/**
|
|
49
|
+
* The chevron the library ships, rather than requiring one from the caller: a control
|
|
50
|
+
* whose whole affordance is "there is more under here" cannot be written without it, and
|
|
51
|
+
* asking for an icon package to draw one arrow is a peer dependency for a chevron.
|
|
52
|
+
*
|
|
53
|
+
* It sits in `system/` because two components draw it — `Select` turns it half a turn
|
|
54
|
+
* when its list opens, `Accordion` when its panel does. §2 bis: promotion at the second
|
|
55
|
+
* use, never by anticipation.
|
|
56
|
+
*/
|
|
57
|
+
declare function ChevronDownIcon({ size, color, }: IconComponentProps): react.JSX.Element;
|
|
58
|
+
declare namespace ChevronDownIcon {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
49
62
|
/**
|
|
50
63
|
* The gap nobody else closes: an icon is a third-party component, so a slot context does
|
|
51
64
|
* not reach it and every call site ends up computing the colour by hand.
|
|
@@ -78,6 +91,36 @@ declare namespace Icon {
|
|
|
78
91
|
declare const IconContext: react.Context<IconContextValue>;
|
|
79
92
|
declare function useIconContext(): IconContextValue;
|
|
80
93
|
|
|
94
|
+
/**
|
|
95
|
+
* The `radius` axis, which is the same ten lines in every component that has one — a key
|
|
96
|
+
* of the radius scale, applied to one slot, overriding whatever `size` chose.
|
|
97
|
+
*
|
|
98
|
+
* It is written here rather than a third time in a recipe because that is the rule §2 bis
|
|
99
|
+
* states: extract at the second use, and by the end of P3 this axis exists in a dozen
|
|
100
|
+
* components. Nothing about it is component-specific except which slot carries the corner.
|
|
101
|
+
*
|
|
102
|
+
* ```ts
|
|
103
|
+
* variants: { size: { … }, radius: radiusAxis('root') }
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* **More than one slot when a second node has to square off with the first.** A `Switch`
|
|
107
|
+
* whose track lost its capsule and kept a circular knob is half-rounded, so the axis moves
|
|
108
|
+
* both: `radiusAxis('track', 'thumb')`.
|
|
109
|
+
*
|
|
110
|
+
* The same named corner on each, not an inset-corrected one. Nesting rules would say the
|
|
111
|
+
* inner radius is the outer less the gap, but here that reaches zero before the outer does
|
|
112
|
+
* — at `xs` a 3pt track would hold a sharp-cornered knob — and two matched corners read
|
|
113
|
+
* better than one correct one.
|
|
114
|
+
*
|
|
115
|
+
* Variadic rather than an array because every call but that one passes a single slot, and
|
|
116
|
+
* `radiusAxis('root')` reads better than `radiusAxis(['root'])`.
|
|
117
|
+
*
|
|
118
|
+
* The return type is a full `Record<RadiusKey, …>` rather than a partial one, so
|
|
119
|
+
* `createRecipe` still infers `radius="3xl"` as the axis's value union and a typo in a
|
|
120
|
+
* caller's `radius` is a type error rather than a silently ignored key.
|
|
121
|
+
*/
|
|
122
|
+
declare function radiusAxis<Slot extends string>(...slots: Slot[]): Record<RadiusKey, StyleFn<Slot>>;
|
|
123
|
+
|
|
81
124
|
type PortalProps = {
|
|
82
125
|
children: ReactNode;
|
|
83
126
|
};
|
|
@@ -100,6 +143,19 @@ declare namespace Portal {
|
|
|
100
143
|
type PortalMethods = {
|
|
101
144
|
addPortal: (key: string, element: ReactNode) => void;
|
|
102
145
|
removePortal: (key: string) => void;
|
|
146
|
+
/**
|
|
147
|
+
* Where the host's own view sits in the window, in points.
|
|
148
|
+
*
|
|
149
|
+
* An overlay is measured against a trigger that reports window coordinates, but it is
|
|
150
|
+
* rendered inside this host — so it is laid out against the host's origin, not the
|
|
151
|
+
* window's. Anything the two differ by (a status bar, a safe-area inset, a host mounted
|
|
152
|
+
* below a header) is exactly the distance the overlay would be wrong by. Subtracting it
|
|
153
|
+
* is what makes `measureInWindow` on the trigger mean the same thing on both sides.
|
|
154
|
+
*/
|
|
155
|
+
origin: {
|
|
156
|
+
x: number;
|
|
157
|
+
y: number;
|
|
158
|
+
};
|
|
103
159
|
};
|
|
104
160
|
/**
|
|
105
161
|
* `null` outside a host, and `Portal` treats that as "render nothing" rather than
|
|
@@ -298,7 +354,7 @@ declare function resolveSlotAnimation(override: SlotAnimation | undefined, enabl
|
|
|
298
354
|
* off — and it is the only shape that survives `asChild`, where the caller's own element
|
|
299
355
|
* is the pressable and there is no sibling for the primitive to inject.
|
|
300
356
|
*/
|
|
301
|
-
declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "
|
|
357
|
+
declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_native.PressableProps, "style" | "children" | "disabled"> & ViewStyleProps & {
|
|
302
358
|
isPressed?: boolean;
|
|
303
359
|
isDisabled?: boolean;
|
|
304
360
|
asChild?: boolean;
|
|
@@ -310,36 +366,6 @@ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_nati
|
|
|
310
366
|
Ripple: typeof PressableFeedbackRipple;
|
|
311
367
|
};
|
|
312
368
|
|
|
313
|
-
/**
|
|
314
|
-
* The `radius` axis, which is the same ten lines in every component that has one — a key
|
|
315
|
-
* of the radius scale, applied to one slot, overriding whatever `size` chose.
|
|
316
|
-
*
|
|
317
|
-
* It is written here rather than a third time in a recipe because that is the rule §2 bis
|
|
318
|
-
* states: extract at the second use, and by the end of P3 this axis exists in a dozen
|
|
319
|
-
* components. Nothing about it is component-specific except which slot carries the corner.
|
|
320
|
-
*
|
|
321
|
-
* ```ts
|
|
322
|
-
* variants: { size: { … }, radius: radiusAxis('root') }
|
|
323
|
-
* ```
|
|
324
|
-
*
|
|
325
|
-
* **More than one slot when a second node has to square off with the first.** A `Switch`
|
|
326
|
-
* whose track lost its capsule and kept a circular knob is half-rounded, so the axis moves
|
|
327
|
-
* both: `radiusAxis('track', 'thumb')`.
|
|
328
|
-
*
|
|
329
|
-
* The same named corner on each, not an inset-corrected one. Nesting rules would say the
|
|
330
|
-
* inner radius is the outer less the gap, but here that reaches zero before the outer does
|
|
331
|
-
* — at `xs` a 3pt track would hold a sharp-cornered knob — and two matched corners read
|
|
332
|
-
* better than one correct one.
|
|
333
|
-
*
|
|
334
|
-
* Variadic rather than an array because every call but that one passes a single slot, and
|
|
335
|
-
* `radiusAxis('root')` reads better than `radiusAxis(['root'])`.
|
|
336
|
-
*
|
|
337
|
-
* The return type is a full `Record<RadiusKey, …>` rather than a partial one, so
|
|
338
|
-
* `createRecipe` still infers `radius="3xl"` as the axis's value union and a typo in a
|
|
339
|
-
* caller's `radius` is a type error rather than a silently ignored key.
|
|
340
|
-
*/
|
|
341
|
-
declare function radiusAxis<Slot extends string>(...slots: Slot[]): Record<RadiusKey, StyleFn<Slot>>;
|
|
342
|
-
|
|
343
369
|
type SelectionFillProps = {
|
|
344
370
|
/** Whether the control is on. The fill is the answer, and the mark rides on it. */
|
|
345
371
|
isVisible: boolean;
|
|
@@ -492,7 +518,7 @@ declare const CloseButton: react.ForwardRefExoticComponent<{
|
|
|
492
518
|
baseStyle?: react_native.StyleProp<react_native.ViewStyle>;
|
|
493
519
|
glyphStyle?: react_native.StyleProp<react_native.ViewStyle>;
|
|
494
520
|
style?: react_native.StyleProp<react_native.ViewStyle> | ((state: react_native.PressableStateCallbackType) => react_native.StyleProp<react_native.ViewStyle>);
|
|
495
|
-
} & Omit<PressableFeedbackProps, "
|
|
521
|
+
} & Omit<PressableFeedbackProps, "style" | "children" | "isPressed"> & react.RefAttributes<View>>;
|
|
496
522
|
|
|
497
523
|
/** The two slots a component publishes for a `CloseButton`: its box and one cross bar. */
|
|
498
524
|
type CloseButtonSlots = {
|
|
@@ -516,4 +542,4 @@ type CloseButtonSlots = {
|
|
|
516
542
|
*/
|
|
517
543
|
declare function closeButtonBase(theme: XAUITheme): CloseButtonSlots;
|
|
518
544
|
|
|
519
|
-
export { AnimationProp, type AsChildProps, CloseButton, type CloseButtonSlots, FEEDBACK_OVERLAY, FeedbackContext, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, IconContextValue, IconProps, type MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, type PortalHostProps, type PortalMethods, type PortalProps, type PossibleRef, PressableFeedback, type PressableFeedbackHighlightProps, PressableFeedbackProps, type PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, ResolvedAnimation, SCALE_REFERENCE_WIDTH, SelectionFill, type SelectionFillProps, Slot, SlotAnimation, type SlotProps, SlotStyle, StyleFn, ViewStyleProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps };
|
|
545
|
+
export { AnimationProp, type AsChildProps, ChevronDownIcon, CloseButton, type CloseButtonSlots, FEEDBACK_OVERLAY, FeedbackContext, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconComponentProps, IconContext, IconContextValue, IconProps, type MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, type PortalHostProps, type PortalMethods, type PortalProps, type PossibleRef, PressableFeedback, type PressableFeedbackHighlightProps, PressableFeedbackProps, type PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, ResolvedAnimation, SCALE_REFERENCE_WIDTH, SelectionFill, type SelectionFillProps, Slot, SlotAnimation, type SlotProps, SlotStyle, StyleFn, ViewStyleProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps };
|