@xaui/native 0.9.1-alpha.21 → 0.9.1-alpha.22
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-RMLFMRWL.js → chunk-2U6JR7BF.js} +5 -5
- package/dist/{chunk-N7C4UNUL.js → chunk-3JATAB7S.js} +23 -1
- package/dist/chunk-4MHJOWM4.cjs +364 -0
- package/dist/{chunk-2WMVDMFV.cjs → chunk-6HXWQ5AU.cjs} +2 -2
- package/dist/chunk-6WW4CSPY.cjs +82 -0
- package/dist/chunk-AHL33YAO.js +425 -0
- package/dist/{chunk-XHZBXYVU.js → chunk-AKXG43S4.js} +1 -1
- package/dist/{chunk-4NE3SLTM.cjs → chunk-BH5DSJVX.cjs} +102 -73
- package/dist/{chunk-BPBY7ON7.cjs → chunk-BNWS26PX.cjs} +19 -21
- package/dist/{chunk-5LC6KVL3.cjs → chunk-DXGQ43IV.cjs} +3 -3
- package/dist/{chunk-ISVUXVFL.js → chunk-FNQF4KQV.js} +19 -71
- package/dist/{chunk-YRCUALUQ.js → chunk-FTCTTBLG.js} +7 -9
- package/dist/{chunk-JL27KVRT.js → chunk-FVP5FUVS.js} +3 -3
- package/dist/{chunk-UL263KGM.cjs → chunk-GBPWTFTU.cjs} +10 -10
- package/dist/{chunk-TUJBDS5M.js → chunk-GG2WWCBK.js} +10 -10
- package/dist/{chunk-EVXZGNPA.cjs → chunk-HUZ4AUM2.cjs} +98 -98
- package/dist/chunk-I6PE5UUH.cjs +425 -0
- package/dist/{chunk-33QILJJH.cjs → chunk-IBEX4XGV.cjs} +11 -11
- package/dist/{chunk-IBRVMLUF.js → chunk-KM2TI5IC.js} +107 -80
- package/dist/chunk-OGC4RKE3.js +364 -0
- package/dist/{chunk-JXLRHKCQ.js → chunk-OYZYWWJ6.js} +1 -1
- package/dist/{chunk-EXX6ATAS.js → chunk-PMO62QK4.js} +101 -101
- package/dist/{chunk-UBA6AEY6.cjs → chunk-RAWOJ3N3.cjs} +8 -8
- package/dist/{chunk-APCBIHLR.cjs → chunk-VDRRD6GM.cjs} +29 -81
- package/dist/{chunk-UVO4GFSW.cjs → chunk-YXVKQMCK.cjs} +23 -1
- package/dist/chunk-ZQ3JSWRO.js +82 -0
- package/dist/close-button.type-BUYuoSt2.d.ts +36 -0
- package/dist/close-button.type-CHsgZ3wO.d.cts +36 -0
- package/dist/components/alert/index.cjs +17 -0
- package/dist/components/alert/index.d.cts +169 -0
- package/dist/components/alert/index.d.ts +169 -0
- package/dist/components/alert/index.js +17 -0
- package/dist/components/button/index.cjs +6 -7
- package/dist/components/button/index.d.cts +193 -244
- package/dist/components/button/index.d.ts +193 -244
- package/dist/components/button/index.js +5 -6
- package/dist/components/card/index.cjs +5 -6
- package/dist/components/card/index.d.cts +193 -193
- package/dist/components/card/index.d.ts +193 -193
- package/dist/components/card/index.js +4 -5
- package/dist/components/chip/index.cjs +17 -0
- package/dist/components/chip/index.d.cts +608 -0
- package/dist/components/chip/index.d.ts +608 -0
- package/dist/components/chip/index.js +17 -0
- package/dist/components/typography/index.cjs +4 -4
- package/dist/components/typography/index.d.cts +4 -4
- package/dist/components/typography/index.d.ts +4 -4
- package/dist/components/typography/index.js +3 -3
- package/dist/components/view/index.cjs +3 -3
- package/dist/components/view/index.d.cts +7 -7
- package/dist/components/view/index.d.ts +7 -7
- package/dist/components/view/index.js +2 -2
- package/dist/{create-recipe-CC3NNCqF.d.ts → create-recipe-CbXika57.d.ts} +4 -3
- package/dist/{create-recipe-CPBFg7ym.d.cts → create-recipe-jHlk434p.d.cts} +4 -3
- package/dist/{icon.type-Cs1tMX0W.d.cts → icon.type-CF4KiMKl.d.cts} +1 -1
- package/dist/{icon.type-BkcEPJbK.d.ts → icon.type-Dq4_qePa.d.ts} +1 -1
- package/dist/index.cjs +36 -14
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +55 -33
- package/dist/{pressable-feedback.type-wfeiJz5m.d.cts → pressable-feedback.type-BA2C9sSz.d.cts} +1 -1
- package/dist/{pressable-feedback.type-DsvWZXWC.d.ts → pressable-feedback.type-Bs4dQlGj.d.ts} +1 -1
- package/dist/{style-props.type-B1BG5TCm.d.cts → style-props.type-CfnoGEP7.d.cts} +1 -1
- package/dist/{style-props.type-B1BG5TCm.d.ts → style-props.type-CfnoGEP7.d.ts} +1 -1
- package/dist/system/index.cjs +15 -7
- package/dist/system/index.d.cts +174 -100
- package/dist/system/index.d.ts +174 -100
- package/dist/system/index.js +15 -7
- package/dist/theme/index.cjs +2 -2
- package/dist/theme/index.d.cts +10 -10
- package/dist/theme/index.d.ts +10 -10
- package/dist/theme/index.js +1 -1
- package/package.json +21 -1
- package/dist/chunk-RRRGLRRP.cjs +0 -28
- package/dist/chunk-SGHP76GU.js +0 -28
package/dist/index.cjs
CHANGED
|
@@ -2,65 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var _chunkAPCBIHLRcjs = require('./chunk-APCBIHLR.cjs');
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
var _chunkBPBY7ON7cjs = require('./chunk-BPBY7ON7.cjs');
|
|
13
11
|
|
|
12
|
+
var _chunkGBPWTFTUcjs = require('./chunk-GBPWTFTU.cjs');
|
|
14
13
|
|
|
15
14
|
|
|
16
|
-
var _chunkRRRGLRRPcjs = require('./chunk-RRRGLRRP.cjs');
|
|
17
15
|
|
|
18
16
|
|
|
17
|
+
var _chunk4MHJOWM4cjs = require('./chunk-4MHJOWM4.cjs');
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
var _chunkUBA6AEY6cjs = require('./chunk-UBA6AEY6.cjs');
|
|
22
20
|
|
|
23
21
|
|
|
22
|
+
var _chunkVDRRD6GMcjs = require('./chunk-VDRRD6GM.cjs');
|
|
24
23
|
|
|
25
24
|
|
|
26
25
|
|
|
27
26
|
|
|
28
|
-
var _chunk33QILJJHcjs = require('./chunk-33QILJJH.cjs');
|
|
29
27
|
|
|
30
28
|
|
|
29
|
+
var _chunkBNWS26PXcjs = require('./chunk-BNWS26PX.cjs');
|
|
31
30
|
|
|
32
31
|
|
|
33
|
-
var _chunk2WMVDMFVcjs = require('./chunk-2WMVDMFV.cjs');
|
|
34
32
|
|
|
35
33
|
|
|
34
|
+
var _chunkI6PE5UUHcjs = require('./chunk-I6PE5UUH.cjs');
|
|
36
35
|
|
|
37
36
|
|
|
38
|
-
var _chunk5LC6KVL3cjs = require('./chunk-5LC6KVL3.cjs');
|
|
39
37
|
|
|
40
38
|
|
|
39
|
+
var _chunkRAWOJ3N3cjs = require('./chunk-RAWOJ3N3.cjs');
|
|
41
40
|
|
|
42
41
|
|
|
43
42
|
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
|
|
46
|
+
var _chunkIBEX4XGVcjs = require('./chunk-IBEX4XGV.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
|
|
51
|
+
var _chunk6HXWQ5AUcjs = require('./chunk-6HXWQ5AU.cjs');
|
|
51
52
|
|
|
52
53
|
|
|
53
54
|
|
|
55
|
+
var _chunk6WW4CSPYcjs = require('./chunk-6WW4CSPY.cjs');
|
|
54
56
|
|
|
55
57
|
|
|
56
58
|
|
|
57
59
|
|
|
60
|
+
var _chunkDXGQ43IVcjs = require('./chunk-DXGQ43IV.cjs');
|
|
58
61
|
|
|
59
62
|
|
|
60
|
-
var _chunk4NE3SLTMcjs = require('./chunk-4NE3SLTM.cjs');
|
|
61
63
|
|
|
62
64
|
|
|
63
|
-
var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
|
|
@@ -68,7 +69,6 @@ var _chunkUVO4GFSWcjs = require('./chunk-UVO4GFSW.cjs');
|
|
|
68
69
|
|
|
69
70
|
|
|
70
71
|
|
|
71
|
-
var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
|
|
@@ -80,7 +80,12 @@ var _chunkEVXZGNPAcjs = require('./chunk-EVXZGNPA.cjs');
|
|
|
80
80
|
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
|
|
83
|
+
|
|
84
|
+
var _chunkBH5DSJVXcjs = require('./chunk-BH5DSJVX.cjs');
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
var _chunkYXVKQMCKcjs = require('./chunk-YXVKQMCK.cjs');
|
|
84
89
|
|
|
85
90
|
|
|
86
91
|
|
|
@@ -88,6 +93,14 @@ var _chunkUL263KGMcjs = require('./chunk-UL263KGM.cjs');
|
|
|
88
93
|
|
|
89
94
|
|
|
90
95
|
var _chunk57SJ4LJFcjs = require('./chunk-57SJ4LJF.cjs');
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
var _chunkHUZ4AUM2cjs = require('./chunk-HUZ4AUM2.cjs');
|
|
91
104
|
require('./chunk-MC7SY2QH.cjs');
|
|
92
105
|
|
|
93
106
|
// src/hooks/use-controllable-state.ts
|
|
@@ -118,7 +131,7 @@ function useControllableState({
|
|
|
118
131
|
function useControlWarning(isControlled) {
|
|
119
132
|
const wasControlled = _react.useRef.call(void 0, isControlled);
|
|
120
133
|
if (wasControlled.current !== isControlled) {
|
|
121
|
-
|
|
134
|
+
_chunkBH5DSJVXcjs.warnDev.call(void 0,
|
|
122
135
|
`a component switched from ${wasControlled.current ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}. Decide for the life of the component: pass \`value\` always, or never. Passing \`undefined\` for a value you do control reads as "uncontrolled" here.`
|
|
123
136
|
);
|
|
124
137
|
wasControlled.current = isControlled;
|
|
@@ -128,7 +141,7 @@ function useControlWarning(isControlled) {
|
|
|
128
141
|
// src/hooks/use-merged-ref.ts
|
|
129
142
|
|
|
130
143
|
function useMergedRef(...refs) {
|
|
131
|
-
return _react.useMemo.call(void 0, () =>
|
|
144
|
+
return _react.useMemo.call(void 0, () => _chunkHUZ4AUM2cjs.mergeRefs.call(void 0, ...refs), refs);
|
|
132
145
|
}
|
|
133
146
|
|
|
134
147
|
// src/hooks/use-previous.ts
|
|
@@ -209,4 +222,13 @@ function usePrevious(value) {
|
|
|
209
222
|
|
|
210
223
|
|
|
211
224
|
|
|
212
|
-
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
exports.Alert = _chunk4MHJOWM4cjs.Alert; exports.Button = _chunkVDRRD6GMcjs.Button; exports.CARD_BACKGROUND = _chunkBNWS26PXcjs.CARD_BACKGROUND; exports.Card = _chunkBNWS26PXcjs.Card; exports.Chip = _chunkI6PE5UUHcjs.Chip; exports.CloseButton = _chunk6WW4CSPYcjs.CloseButton; exports.Column = _chunkIBEX4XGVcjs.Column; exports.FEEDBACK_OVERLAY = _chunkBH5DSJVXcjs.FEEDBACK_OVERLAY; exports.Grid = _chunkIBEX4XGVcjs.Grid; exports.HIGHLIGHT_DURATION = _chunkBH5DSJVXcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkBH5DSJVXcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkDXGQ43IVcjs.Icon; exports.IconContext = _chunkDXGQ43IVcjs.IconContext; exports.PRESS_DURATION = _chunkBH5DSJVXcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkBH5DSJVXcjs.PRESS_SCALE; exports.Portal = _chunk6HXWQ5AUcjs.Portal; exports.PortalContext = _chunk6HXWQ5AUcjs.PortalContext; exports.PortalHost = _chunk6HXWQ5AUcjs.PortalHost; exports.PressableFeedback = _chunkBH5DSJVXcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkBH5DSJVXcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkBH5DSJVXcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkBH5DSJVXcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkBH5DSJVXcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkBH5DSJVXcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkBH5DSJVXcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkBH5DSJVXcjs.RIPPLE_START_SCALE; exports.Row = _chunkIBEX4XGVcjs.Row; exports.SCALE_REFERENCE_WIDTH = _chunkBH5DSJVXcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkHUZ4AUM2cjs.Slot; exports.Stack = _chunkIBEX4XGVcjs.Stack; exports.TextSpan = _chunkRAWOJ3N3cjs.TextSpan; exports.ThemeContext = _chunk57SJ4LJFcjs.ThemeContext; exports.Typography = _chunkRAWOJ3N3cjs.Typography; exports.XAUIProvider = _chunkGBPWTFTUcjs.XAUIProvider; exports.alertRecipe = _chunk4MHJOWM4cjs.alertRecipe; exports.buildRadius = _chunkGBPWTFTUcjs.buildRadius; exports.buildShadows = _chunkGBPWTFTUcjs.buildShadows; exports.buttonRecipe = _chunkVDRRD6GMcjs.buttonRecipe; exports.cardRecipe = _chunkBNWS26PXcjs.cardRecipe; exports.childrenToString = _chunkHUZ4AUM2cjs.childrenToString; exports.chipRecipe = _chunkI6PE5UUHcjs.chipRecipe; exports.closeButtonBase = _chunk6WW4CSPYcjs.closeButtonBase; exports.createRecipe = _chunkYXVKQMCKcjs.createRecipe; exports.createSlotContext = _chunkHUZ4AUM2cjs.createSlotContext; exports.createTheme = _chunkGBPWTFTUcjs.createTheme; exports.defaultTheme = _chunkGBPWTFTUcjs.defaultTheme; exports.deriveColors = _chunkGBPWTFTUcjs.deriveColors; exports.deriveTint = _chunk57SJ4LJFcjs.deriveTint; exports.markBackground = _chunkBNWS26PXcjs.markBackground; exports.markOverlay = _chunkBH5DSJVXcjs.markOverlay; exports.mergeProps = _chunkHUZ4AUM2cjs.mergeProps; exports.mergeRefs = _chunkHUZ4AUM2cjs.mergeRefs; exports.palette = _chunkGBPWTFTUcjs.palette; exports.pressScaleFor = _chunkBH5DSJVXcjs.pressScaleFor; exports.primitives = _chunkGBPWTFTUcjs.primitives; exports.radiusAxis = _chunkYXVKQMCKcjs.radiusAxis; exports.resolveAnimation = _chunkBH5DSJVXcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkBH5DSJVXcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkBH5DSJVXcjs.rippleRadiusFor; exports.sourceKeys = _chunkGBPWTFTUcjs.sourceKeys; exports.tokens = _chunkGBPWTFTUcjs.tokens; exports.typographyRecipe = _chunkRAWOJ3N3cjs.typographyRecipe; exports.useAlert = _chunk4MHJOWM4cjs.useAlert; exports.useButton = _chunkVDRRD6GMcjs.useButton; exports.useCard = _chunkBNWS26PXcjs.useCard; exports.useChip = _chunkI6PE5UUHcjs.useChip; exports.useColorMode = _chunk57SJ4LJFcjs.useColorMode; exports.useControllableState = useControllableState; exports.useFeedback = _chunkBH5DSJVXcjs.useFeedback; exports.useGrid = _chunkIBEX4XGVcjs.useGrid; exports.useIconContext = _chunkDXGQ43IVcjs.useIconContext; exports.useMergedRef = useMergedRef; exports.usePressState = _chunkBH5DSJVXcjs.usePressState; exports.usePrevious = usePrevious; exports.useStyleProps = _chunkHUZ4AUM2cjs.useStyleProps; exports.useThemeColor = _chunk57SJ4LJFcjs.useThemeColor; exports.useXAUITheme = _chunk57SJ4LJFcjs.useXAUITheme;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.cjs';
|
|
1
2
|
export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.cjs';
|
|
2
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 { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.cjs';
|
|
3
5
|
export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.cjs';
|
|
4
6
|
export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.cjs';
|
|
5
7
|
import { RefCallback } from 'react';
|
|
6
8
|
import { PossibleRef } from './system/index.cjs';
|
|
7
|
-
export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
9
|
+
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, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.cjs';
|
|
8
10
|
import { GestureResponderEvent } from 'react-native';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
11
|
+
export { C as CloseButtonProps } from './close-button.type-CHsgZ3wO.cjs';
|
|
12
|
+
export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-CF4KiMKl.cjs';
|
|
13
|
+
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-jHlk434p.cjs';
|
|
14
|
+
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.cjs';
|
|
12
15
|
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';
|
|
13
16
|
export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.cjs';
|
|
14
|
-
export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-
|
|
17
|
+
export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-BA2C9sSz.cjs';
|
|
15
18
|
import 'react-native-reanimated';
|
|
16
19
|
|
|
17
20
|
type ControllableStateOptions<T> = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
|
+
export { Alert, AlertCloseProps, AlertContentProps, AlertContextValue, AlertDescriptionProps, AlertIconProps, AlertProps, AlertSize, AlertSlot, AlertTitleProps, AlertVariant, alertRecipe, useAlert } from './components/alert/index.js';
|
|
1
2
|
export { Button, ButtonContextValue, ButtonIconProps, ButtonLabelProps, ButtonProps, ButtonSize, ButtonSlot, ButtonSpinnerProps, ButtonVariant, buttonRecipe, useButton } from './components/button/index.js';
|
|
2
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 { Chip, ChipAvatarProps, ChipCloseProps, ChipContextValue, ChipDotProps, ChipIconProps, ChipLabelProps, ChipProps, ChipSize, ChipSlot, ChipVariant, chipRecipe, useChip } from './components/chip/index.js';
|
|
3
5
|
export { TextSpan, TextSpanProps, Typography, TypographyProps, TypographySlot, TypographyVariant, typographyRecipe } from './components/typography/index.js';
|
|
4
6
|
export { AxisProps, Column, ColumnProps, Grid, GridContextValue, GridItemProps, GridProps, Row, RowProps, Stack, StackItemProps, StackProps, useGrid } from './components/view/index.js';
|
|
5
7
|
import { RefCallback } from 'react';
|
|
6
8
|
import { PossibleRef } from './system/index.js';
|
|
7
|
-
export { AsChildProps, FEEDBACK_OVERLAY, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, Icon, IconContext, MergeableProps, PRESS_DURATION, PRESS_SCALE, Portal, PortalContext, PortalHost, PortalHostProps, PortalMethods, PortalProps, PressableFeedback, PressableFeedbackHighlightProps, PressableFeedbackRippleProps, RIPPLE_CONFIRM_DURATION, RIPPLE_EXPAND_DURATION, RIPPLE_FADE_IN, RIPPLE_FADE_OUT, RIPPLE_FADE_OUT_DELAY, RIPPLE_OPACITY, RIPPLE_START_SCALE, SCALE_REFERENCE_WIDTH, Slot, SlotProps, childrenToString, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
|
|
9
|
+
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, Slot, SlotProps, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps } from './system/index.js';
|
|
8
10
|
import { GestureResponderEvent } from 'react-native';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
11
|
+
export { C as CloseButtonProps } from './close-button.type-BUYuoSt2.js';
|
|
12
|
+
export { I as IconComponentProps, a as IconContextValue, b as IconProps } from './icon.type-Dq4_qePa.js';
|
|
13
|
+
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-CbXika57.js';
|
|
14
|
+
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps, V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
|
|
12
15
|
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';
|
|
13
16
|
export { C as ColorMode, F as FontSizeKey, b as FontWeightKey, R as RadiusKey, S as Size, a as XAUIColors, c as XAUIDerivedColors, d as XAUIPrimitiveColors, e as XAUIRadius, f as XAUIShadow, g as XAUISourceColors, X as XAUITheme, h as XAUIThemeConfig, i as XAUIThemeSet } from './theme.type-C2gNHpEx.js';
|
|
14
|
-
export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-
|
|
17
|
+
export { A as AnimationConfig, a as AnimationProp, F as FeedbackContext, P as PressableFeedbackProps, R as RadiusStyle, b as ResolvedAnimation, c as RippleWave, S as SlotAnimation } from './pressable-feedback.type-Bs4dQlGj.js';
|
|
15
18
|
import 'react-native-reanimated';
|
|
16
19
|
|
|
17
20
|
type ControllableStateOptions<T> = {
|
package/dist/index.js
CHANGED
|
@@ -1,41 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
XAUIProvider,
|
|
3
|
+
buildRadius,
|
|
4
|
+
buildShadows,
|
|
5
|
+
createTheme,
|
|
6
|
+
defaultTheme,
|
|
7
|
+
deriveColors,
|
|
8
|
+
palette,
|
|
9
|
+
primitives,
|
|
10
|
+
sourceKeys,
|
|
11
|
+
tokens
|
|
12
|
+
} from "./chunk-GG2WWCBK.js";
|
|
13
|
+
import {
|
|
14
|
+
Alert,
|
|
15
|
+
alertRecipe,
|
|
16
|
+
useAlert
|
|
17
|
+
} from "./chunk-OGC4RKE3.js";
|
|
1
18
|
import {
|
|
2
19
|
Button,
|
|
3
20
|
buttonRecipe,
|
|
4
21
|
useButton
|
|
5
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FNQF4KQV.js";
|
|
6
23
|
import {
|
|
7
24
|
CARD_BACKGROUND,
|
|
8
25
|
Card,
|
|
9
26
|
cardRecipe,
|
|
10
27
|
markBackground,
|
|
11
28
|
useCard
|
|
12
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FTCTTBLG.js";
|
|
13
30
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
31
|
+
Chip,
|
|
32
|
+
chipRecipe,
|
|
33
|
+
useChip
|
|
34
|
+
} from "./chunk-AHL33YAO.js";
|
|
17
35
|
import {
|
|
18
36
|
TextSpan,
|
|
19
37
|
Typography,
|
|
20
38
|
typographyRecipe
|
|
21
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2U6JR7BF.js";
|
|
22
40
|
import {
|
|
23
41
|
Column,
|
|
24
42
|
Grid,
|
|
25
43
|
Row,
|
|
26
44
|
Stack,
|
|
27
45
|
useGrid
|
|
28
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-OYZYWWJ6.js";
|
|
29
47
|
import {
|
|
30
48
|
Portal,
|
|
31
49
|
PortalContext,
|
|
32
50
|
PortalHost
|
|
33
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-AKXG43S4.js";
|
|
52
|
+
import {
|
|
53
|
+
CloseButton,
|
|
54
|
+
closeButtonBase
|
|
55
|
+
} from "./chunk-ZQ3JSWRO.js";
|
|
34
56
|
import {
|
|
35
57
|
Icon,
|
|
36
58
|
IconContext,
|
|
37
59
|
useIconContext
|
|
38
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-FVP5FUVS.js";
|
|
39
61
|
import {
|
|
40
62
|
FEEDBACK_OVERLAY,
|
|
41
63
|
HIGHLIGHT_DURATION,
|
|
@@ -56,31 +78,14 @@ import {
|
|
|
56
78
|
resolveAnimation,
|
|
57
79
|
resolveSlotAnimation,
|
|
58
80
|
rippleRadiusFor,
|
|
59
|
-
useFeedback
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./chunk-N7C4UNUL.js";
|
|
64
|
-
import {
|
|
65
|
-
Slot,
|
|
66
|
-
childrenToString,
|
|
67
|
-
createSlotContext,
|
|
68
|
-
mergeProps,
|
|
69
|
-
mergeRefs,
|
|
70
|
-
useStyleProps
|
|
71
|
-
} from "./chunk-EXX6ATAS.js";
|
|
81
|
+
useFeedback,
|
|
82
|
+
usePressState,
|
|
83
|
+
warnDev
|
|
84
|
+
} from "./chunk-KM2TI5IC.js";
|
|
72
85
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
createTheme,
|
|
77
|
-
defaultTheme,
|
|
78
|
-
deriveColors,
|
|
79
|
-
palette,
|
|
80
|
-
primitives,
|
|
81
|
-
sourceKeys,
|
|
82
|
-
tokens
|
|
83
|
-
} from "./chunk-TUJBDS5M.js";
|
|
86
|
+
createRecipe,
|
|
87
|
+
radiusAxis
|
|
88
|
+
} from "./chunk-3JATAB7S.js";
|
|
84
89
|
import {
|
|
85
90
|
ThemeContext,
|
|
86
91
|
deriveTint,
|
|
@@ -88,6 +93,14 @@ import {
|
|
|
88
93
|
useThemeColor,
|
|
89
94
|
useXAUITheme
|
|
90
95
|
} from "./chunk-A3EGFI6T.js";
|
|
96
|
+
import {
|
|
97
|
+
Slot,
|
|
98
|
+
childrenToString,
|
|
99
|
+
createSlotContext,
|
|
100
|
+
mergeProps,
|
|
101
|
+
mergeRefs,
|
|
102
|
+
useStyleProps
|
|
103
|
+
} from "./chunk-PMO62QK4.js";
|
|
91
104
|
import "./chunk-GGW42MY4.js";
|
|
92
105
|
|
|
93
106
|
// src/hooks/use-controllable-state.ts
|
|
@@ -141,9 +154,12 @@ function usePrevious(value) {
|
|
|
141
154
|
return previous.current;
|
|
142
155
|
}
|
|
143
156
|
export {
|
|
157
|
+
Alert,
|
|
144
158
|
Button,
|
|
145
159
|
CARD_BACKGROUND,
|
|
146
160
|
Card,
|
|
161
|
+
Chip,
|
|
162
|
+
CloseButton,
|
|
147
163
|
Column,
|
|
148
164
|
FEEDBACK_OVERLAY,
|
|
149
165
|
Grid,
|
|
@@ -172,11 +188,14 @@ export {
|
|
|
172
188
|
ThemeContext,
|
|
173
189
|
Typography,
|
|
174
190
|
XAUIProvider,
|
|
191
|
+
alertRecipe,
|
|
175
192
|
buildRadius,
|
|
176
193
|
buildShadows,
|
|
177
194
|
buttonRecipe,
|
|
178
195
|
cardRecipe,
|
|
179
196
|
childrenToString,
|
|
197
|
+
chipRecipe,
|
|
198
|
+
closeButtonBase,
|
|
180
199
|
createRecipe,
|
|
181
200
|
createSlotContext,
|
|
182
201
|
createTheme,
|
|
@@ -190,14 +209,17 @@ export {
|
|
|
190
209
|
palette,
|
|
191
210
|
pressScaleFor,
|
|
192
211
|
primitives,
|
|
212
|
+
radiusAxis,
|
|
193
213
|
resolveAnimation,
|
|
194
214
|
resolveSlotAnimation,
|
|
195
215
|
rippleRadiusFor,
|
|
196
216
|
sourceKeys,
|
|
197
217
|
tokens,
|
|
198
218
|
typographyRecipe,
|
|
219
|
+
useAlert,
|
|
199
220
|
useButton,
|
|
200
221
|
useCard,
|
|
222
|
+
useChip,
|
|
201
223
|
useColorMode,
|
|
202
224
|
useControllableState,
|
|
203
225
|
useFeedback,
|
package/dist/{pressable-feedback.type-wfeiJz5m.d.cts → pressable-feedback.type-BA2C9sSz.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { PressableProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { SharedValue } from 'react-native-reanimated';
|
|
4
|
-
import { V as ViewStyleProps } from './style-props.type-
|
|
4
|
+
import { V as ViewStyleProps } from './style-props.type-CfnoGEP7.cjs';
|
|
5
5
|
|
|
6
6
|
type AnimationConfig = {
|
|
7
7
|
scale?: boolean;
|
package/dist/{pressable-feedback.type-DsvWZXWC.d.ts → pressable-feedback.type-Bs4dQlGj.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { PressableProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
3
|
import { SharedValue } from 'react-native-reanimated';
|
|
4
|
-
import { V as ViewStyleProps } from './style-props.type-
|
|
4
|
+
import { V as ViewStyleProps } from './style-props.type-CfnoGEP7.js';
|
|
5
5
|
|
|
6
6
|
type AnimationConfig = {
|
|
7
7
|
scale?: boolean;
|
package/dist/system/index.cjs
CHANGED
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk6HXWQ5AUcjs = require('../chunk-6HXWQ5AU.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
var _chunk6WW4CSPYcjs = require('../chunk-6WW4CSPY.cjs');
|
|
9
10
|
|
|
10
|
-
var _chunk5LC6KVL3cjs = require('../chunk-5LC6KVL3.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
var _chunkDXGQ43IVcjs = require('../chunk-DXGQ43IV.cjs');
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
@@ -29,19 +30,23 @@ var _chunk5LC6KVL3cjs = require('../chunk-5LC6KVL3.cjs');
|
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
var _chunk4NE3SLTMcjs = require('../chunk-4NE3SLTM.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var _chunkUVO4GFSWcjs = require('../chunk-UVO4GFSW.cjs');
|
|
36
35
|
|
|
36
|
+
var _chunkBH5DSJVXcjs = require('../chunk-BH5DSJVX.cjs');
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
+
var _chunkYXVKQMCKcjs = require('../chunk-YXVKQMCK.cjs');
|
|
41
|
+
require('../chunk-57SJ4LJF.cjs');
|
|
40
42
|
|
|
41
43
|
|
|
42
44
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
var _chunkHUZ4AUM2cjs = require('../chunk-HUZ4AUM2.cjs');
|
|
45
50
|
require('../chunk-MC7SY2QH.cjs');
|
|
46
51
|
|
|
47
52
|
|
|
@@ -77,4 +82,7 @@ require('../chunk-MC7SY2QH.cjs');
|
|
|
77
82
|
|
|
78
83
|
|
|
79
84
|
|
|
80
|
-
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
exports.CloseButton = _chunk6WW4CSPYcjs.CloseButton; exports.FEEDBACK_OVERLAY = _chunkBH5DSJVXcjs.FEEDBACK_OVERLAY; exports.HIGHLIGHT_DURATION = _chunkBH5DSJVXcjs.HIGHLIGHT_DURATION; exports.HIGHLIGHT_OPACITY = _chunkBH5DSJVXcjs.HIGHLIGHT_OPACITY; exports.Icon = _chunkDXGQ43IVcjs.Icon; exports.IconContext = _chunkDXGQ43IVcjs.IconContext; exports.PRESS_DURATION = _chunkBH5DSJVXcjs.PRESS_DURATION; exports.PRESS_SCALE = _chunkBH5DSJVXcjs.PRESS_SCALE; exports.Portal = _chunk6HXWQ5AUcjs.Portal; exports.PortalContext = _chunk6HXWQ5AUcjs.PortalContext; exports.PortalHost = _chunk6HXWQ5AUcjs.PortalHost; exports.PressableFeedback = _chunkBH5DSJVXcjs.PressableFeedback; exports.RIPPLE_CONFIRM_DURATION = _chunkBH5DSJVXcjs.RIPPLE_CONFIRM_DURATION; exports.RIPPLE_EXPAND_DURATION = _chunkBH5DSJVXcjs.RIPPLE_EXPAND_DURATION; exports.RIPPLE_FADE_IN = _chunkBH5DSJVXcjs.RIPPLE_FADE_IN; exports.RIPPLE_FADE_OUT = _chunkBH5DSJVXcjs.RIPPLE_FADE_OUT; exports.RIPPLE_FADE_OUT_DELAY = _chunkBH5DSJVXcjs.RIPPLE_FADE_OUT_DELAY; exports.RIPPLE_OPACITY = _chunkBH5DSJVXcjs.RIPPLE_OPACITY; exports.RIPPLE_START_SCALE = _chunkBH5DSJVXcjs.RIPPLE_START_SCALE; exports.SCALE_REFERENCE_WIDTH = _chunkBH5DSJVXcjs.SCALE_REFERENCE_WIDTH; exports.Slot = _chunkHUZ4AUM2cjs.Slot; exports.childrenToString = _chunkHUZ4AUM2cjs.childrenToString; exports.closeButtonBase = _chunk6WW4CSPYcjs.closeButtonBase; exports.createRecipe = _chunkYXVKQMCKcjs.createRecipe; exports.createSlotContext = _chunkHUZ4AUM2cjs.createSlotContext; exports.markOverlay = _chunkBH5DSJVXcjs.markOverlay; exports.mergeProps = _chunkHUZ4AUM2cjs.mergeProps; exports.mergeRefs = _chunkHUZ4AUM2cjs.mergeRefs; exports.pressScaleFor = _chunkBH5DSJVXcjs.pressScaleFor; exports.radiusAxis = _chunkYXVKQMCKcjs.radiusAxis; exports.resolveAnimation = _chunkBH5DSJVXcjs.resolveAnimation; exports.resolveSlotAnimation = _chunkBH5DSJVXcjs.resolveSlotAnimation; exports.rippleRadiusFor = _chunkBH5DSJVXcjs.rippleRadiusFor; exports.useFeedback = _chunkBH5DSJVXcjs.useFeedback; exports.useIconContext = _chunkDXGQ43IVcjs.useIconContext; exports.useStyleProps = _chunkHUZ4AUM2cjs.useStyleProps;
|