@xaui/native 0.9.1-alpha.37 → 0.9.1-alpha.39
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-OULTSBKU.js → chunk-26OGEFQI.js} +1 -1
- package/dist/chunk-2EGR4LWD.js +145 -0
- package/dist/{chunk-TJHYSSBZ.js → chunk-346QBNUD.js} +1 -1
- package/dist/chunk-37L7YGZV.cjs +425 -0
- package/dist/{chunk-PPWXLZGL.js → chunk-3GFRSZYR.js} +15 -23
- package/dist/{chunk-DKH6BNPF.cjs → chunk-3JXI2IHV.cjs} +13 -13
- package/dist/{chunk-7B3UBUC6.cjs → chunk-4KFKWBN5.cjs} +23 -2
- package/dist/{chunk-IGLKACSR.cjs → chunk-4KSKQD37.cjs} +5 -5
- package/dist/{chunk-UBOXW5WO.cjs → chunk-54CWXA34.cjs} +61 -61
- package/dist/chunk-64MXEVT3.js +66 -0
- package/dist/{chunk-ZJWEVFAO.cjs → chunk-66FOASTP.cjs} +9 -9
- package/dist/{chunk-5PPNDKRX.js → chunk-6CO6FM67.js} +16 -16
- package/dist/{chunk-DVDQSW7U.cjs → chunk-76XDVA24.cjs} +65 -190
- package/dist/{chunk-54FJOKAN.cjs → chunk-7GHM4GKL.cjs} +25 -25
- package/dist/chunk-7KLBTMXV.cjs +478 -0
- package/dist/{chunk-AP6RVIIK.cjs → chunk-7TOG4TVU.cjs} +21 -21
- package/dist/{chunk-LEWW24RQ.cjs → chunk-A7YB7YWX.cjs} +3 -3
- package/dist/{chunk-3P6M2R4S.cjs → chunk-AAVCMCJ3.cjs} +4 -4
- package/dist/{chunk-VFTT3Q4B.cjs → chunk-BNFIFRQA.cjs} +3 -3
- package/dist/{chunk-JXNFOOKC.js → chunk-DY3SUG5P.js} +5 -5
- package/dist/chunk-EKS3W46M.cjs +66 -0
- package/dist/{chunk-EOJ5MYAQ.js → chunk-EYD4H4X6.js} +4 -4
- package/dist/{chunk-RGKWNK4T.js → chunk-FBCWNXZC.js} +58 -58
- package/dist/{chunk-HXW4ANVB.js → chunk-FHUYHV6J.js} +25 -4
- package/dist/chunk-GJSFKH4L.js +586 -0
- package/dist/{chunk-6G3XWPNP.js → chunk-HA6BFY3A.js} +3 -3
- package/dist/{chunk-FTQHDJYL.cjs → chunk-HOI5425P.cjs} +9 -9
- package/dist/{chunk-XWY4DF37.js → chunk-JKP4TPIL.js} +86 -289
- package/dist/{chunk-YXPYOOHU.js → chunk-K72UDPVN.js} +27 -27
- package/dist/{chunk-NTD3NPRX.cjs → chunk-KSUV74BE.cjs} +2 -2
- package/dist/{chunk-UGF35NSE.js → chunk-LIUO6D3D.js} +75 -75
- package/dist/{chunk-E3X5ODKQ.js → chunk-LTX6TB5I.js} +1 -1
- package/dist/chunk-LUPCPLND.cjs +145 -0
- package/dist/{chunk-BORJJYDW.js → chunk-MXGER5PI.js} +2 -2
- package/dist/{chunk-GTT4NHS2.cjs → chunk-NCCRQK3P.cjs} +11 -11
- package/dist/chunk-NCTOTTVW.js +13 -0
- package/dist/{chunk-NKPTXTTS.js → chunk-QZ24MZRX.js} +3 -3
- package/dist/{chunk-7LSY4WFL.js → chunk-R7BU4CPS.js} +2 -2
- package/dist/{chunk-JB5LGQ54.cjs → chunk-RKCWYUGA.cjs} +3 -3
- package/dist/{chunk-SMW6ZWMH.js → chunk-S2WNWMNT.js} +1 -1
- package/dist/{chunk-WVLSQO6K.cjs → chunk-S4QUM4EE.cjs} +9 -9
- package/dist/{chunk-SO5UAGIU.js → chunk-SACDOFGF.js} +15 -15
- package/dist/{chunk-CUQTAPBU.cjs → chunk-SIP5J7HU.cjs} +17 -17
- package/dist/{chunk-O3A3DBSZ.js → chunk-SZLXPF3G.js} +1 -1
- package/dist/{chunk-437QULXO.cjs → chunk-TDTUAIFF.cjs} +5 -5
- package/dist/{chunk-DRMT346W.cjs → chunk-TGMVEHV7.cjs} +64 -64
- package/dist/{chunk-TDYPY2J7.js → chunk-TRETQZEW.js} +7 -7
- package/dist/{chunk-ITURCQMQ.cjs → chunk-URA25DU4.cjs} +5 -5
- package/dist/{chunk-4PTWZCOK.js → chunk-USF6EWYR.js} +7 -7
- package/dist/{chunk-P747CRAY.cjs → chunk-VZK3NLBH.cjs} +9 -9
- package/dist/chunk-WFEMJCXO.cjs +13 -0
- package/dist/chunk-XAFP5JLK.js +425 -0
- package/dist/{chunk-RVRVGG73.js → chunk-XNMZQSY5.js} +2 -2
- package/dist/{chunk-K4TWKF5U.cjs → chunk-XSQPVDFH.cjs} +15 -25
- package/dist/{chunk-JDSE4TQL.js → chunk-XTC2SLFT.js} +1 -1
- package/dist/{chunk-C5VDFRAD.cjs → chunk-XWNG2U4K.cjs} +2 -2
- package/dist/components/accordion/index.cjs +35 -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 +35 -0
- package/dist/components/alert/index.cjs +7 -7
- 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 -6
- package/dist/components/avatar/index.cjs +4 -4
- package/dist/components/avatar/index.d.cts +3 -3
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/avatar/index.js +3 -3
- package/dist/components/badge/index.cjs +3 -3
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/badge/index.js +2 -2
- package/dist/components/button/index.cjs +8 -7
- package/dist/components/button/index.d.cts +204 -204
- package/dist/components/button/index.d.ts +204 -204
- package/dist/components/button/index.js +7 -6
- package/dist/components/card/index.cjs +5 -5
- package/dist/components/card/index.d.cts +206 -206
- package/dist/components/card/index.d.ts +206 -206
- package/dist/components/card/index.js +4 -4
- package/dist/components/checkbox/index.cjs +5 -5
- package/dist/components/checkbox/index.d.cts +408 -408
- package/dist/components/checkbox/index.d.ts +408 -408
- package/dist/components/checkbox/index.js +4 -4
- package/dist/components/chip/index.cjs +7 -7
- package/dist/components/chip/index.d.cts +205 -205
- package/dist/components/chip/index.d.ts +205 -205
- package/dist/components/chip/index.js +6 -6
- package/dist/components/divider/index.cjs +3 -3
- package/dist/components/divider/index.d.cts +3 -3
- package/dist/components/divider/index.d.ts +3 -3
- package/dist/components/divider/index.js +2 -2
- package/dist/components/field-group/index.cjs +5 -5
- package/dist/components/field-group/index.d.cts +8 -8
- package/dist/components/field-group/index.d.ts +8 -8
- package/dist/components/field-group/index.js +4 -4
- package/dist/components/input-otp/index.cjs +3 -3
- 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 +2 -2
- package/dist/components/popover/index.cjs +37 -0
- package/dist/components/popover/index.d.cts +254 -0
- package/dist/components/popover/index.d.ts +254 -0
- package/dist/components/popover/index.js +37 -0
- package/dist/components/radio/index.cjs +5 -5
- package/dist/components/radio/index.d.cts +419 -419
- package/dist/components/radio/index.d.ts +419 -419
- package/dist/components/radio/index.js +4 -4
- package/dist/components/select/index.cjs +10 -7
- package/dist/components/select/index.d.cts +24 -45
- package/dist/components/select/index.d.ts +24 -45
- package/dist/components/select/index.js +9 -6
- package/dist/components/skeleton/index.d.cts +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/spinner/index.cjs +5 -4
- 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 -3
- package/dist/components/switch/index.cjs +5 -5
- package/dist/components/switch/index.d.cts +409 -409
- package/dist/components/switch/index.d.ts +409 -409
- package/dist/components/switch/index.js +4 -4
- package/dist/components/text-area/index.cjs +4 -4
- package/dist/components/text-area/index.js +3 -3
- package/dist/components/text-field/index.cjs +3 -3
- 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 +2 -2
- package/dist/components/typography/index.cjs +3 -3
- package/dist/components/typography/index.d.cts +5 -5
- package/dist/components/typography/index.d.ts +5 -5
- package/dist/components/typography/index.js +2 -2
- package/dist/components/view/index.cjs +3 -3
- package/dist/components/view/index.d.cts +8 -8
- package/dist/components/view/index.d.ts +8 -8
- package/dist/components/view/index.js +2 -2
- package/dist/index.cjs +89 -28
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +109 -48
- package/dist/placement-DHa0Rrh1.d.cts +38 -0
- package/dist/placement-DHa0Rrh1.d.ts +38 -0
- package/dist/system/index.cjs +24 -8
- package/dist/system/index.d.cts +83 -34
- package/dist/system/index.d.ts +83 -34
- package/dist/system/index.js +24 -8
- package/package.json +21 -1
- /package/dist/{chunk-OJCCV65P.cjs → chunk-GGW43Q37.cjs} +0 -0
- /package/dist/{chunk-MESKS6AI.js → chunk-WHJTBTYM.js} +0 -0
package/dist/system/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import { R as RadiusKey, X as XAUITheme } from '../theme.type-C2gNHpEx.js';
|
|
|
8
8
|
import { a as StyleFn, h as SlotStyle } from '../create-recipe-BdVd2ffi.js';
|
|
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-BdVd2ffi.js';
|
|
10
10
|
export { C as CloseButtonProps } from '../close-button.type-BUYuoSt2.js';
|
|
11
|
-
import { a as IconProps, I as IconContextValue } from '../icon.type-Kml72iSz.js';
|
|
12
|
-
export { b as IconComponentProps } from '../icon.type-Kml72iSz.js';
|
|
11
|
+
import { b as IconComponentProps, a as IconProps, I as IconContextValue } from '../icon.type-Kml72iSz.js';
|
|
13
12
|
import { V as ViewStyleProps } from '../style-props.type-CfnoGEP7.js';
|
|
14
13
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-CfnoGEP7.js';
|
|
15
|
-
import 'react-native-reanimated';
|
|
14
|
+
import * as react_native_reanimated from 'react-native-reanimated';
|
|
15
|
+
import { P as Placement } from '../placement-DHa0Rrh1.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* The runtime half of R14. The type half lives in `system/style-props/`, and the two are
|
|
@@ -46,6 +46,20 @@ type RestPropsOf<P> = Omit<P, StylePropKey>;
|
|
|
46
46
|
*/
|
|
47
47
|
declare function useStyleProps<P extends object>(props: P): [StylePropsOf<P>, RestPropsOf<P>];
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* The chevron the library ships, rather than requiring one from the caller: a control
|
|
51
|
+
* whose whole affordance is "there is more under here" cannot be written without it, and
|
|
52
|
+
* asking for an icon package to draw one arrow is a peer dependency for a chevron.
|
|
53
|
+
*
|
|
54
|
+
* It sits in `system/` because two components draw it — `Select` turns it half a turn
|
|
55
|
+
* when its list opens, `Accordion` when its panel does. §2 bis: promotion at the second
|
|
56
|
+
* use, never by anticipation.
|
|
57
|
+
*/
|
|
58
|
+
declare function ChevronDownIcon({ size, color, }: IconComponentProps): react.JSX.Element;
|
|
59
|
+
declare namespace ChevronDownIcon {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
49
63
|
/**
|
|
50
64
|
* The gap nobody else closes: an icon is a third-party component, so a slot context does
|
|
51
65
|
* not reach it and every call site ends up computing the colour by hand.
|
|
@@ -78,6 +92,36 @@ declare namespace Icon {
|
|
|
78
92
|
declare const IconContext: react.Context<IconContextValue>;
|
|
79
93
|
declare function useIconContext(): IconContextValue;
|
|
80
94
|
|
|
95
|
+
/**
|
|
96
|
+
* The `radius` axis, which is the same ten lines in every component that has one — a key
|
|
97
|
+
* of the radius scale, applied to one slot, overriding whatever `size` chose.
|
|
98
|
+
*
|
|
99
|
+
* It is written here rather than a third time in a recipe because that is the rule §2 bis
|
|
100
|
+
* states: extract at the second use, and by the end of P3 this axis exists in a dozen
|
|
101
|
+
* components. Nothing about it is component-specific except which slot carries the corner.
|
|
102
|
+
*
|
|
103
|
+
* ```ts
|
|
104
|
+
* variants: { size: { … }, radius: radiusAxis('root') }
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* **More than one slot when a second node has to square off with the first.** A `Switch`
|
|
108
|
+
* whose track lost its capsule and kept a circular knob is half-rounded, so the axis moves
|
|
109
|
+
* both: `radiusAxis('track', 'thumb')`.
|
|
110
|
+
*
|
|
111
|
+
* The same named corner on each, not an inset-corrected one. Nesting rules would say the
|
|
112
|
+
* inner radius is the outer less the gap, but here that reaches zero before the outer does
|
|
113
|
+
* — at `xs` a 3pt track would hold a sharp-cornered knob — and two matched corners read
|
|
114
|
+
* better than one correct one.
|
|
115
|
+
*
|
|
116
|
+
* Variadic rather than an array because every call but that one passes a single slot, and
|
|
117
|
+
* `radiusAxis('root')` reads better than `radiusAxis(['root'])`.
|
|
118
|
+
*
|
|
119
|
+
* The return type is a full `Record<RadiusKey, …>` rather than a partial one, so
|
|
120
|
+
* `createRecipe` still infers `radius="3xl"` as the axis's value union and a typo in a
|
|
121
|
+
* caller's `radius` is a type error rather than a silently ignored key.
|
|
122
|
+
*/
|
|
123
|
+
declare function radiusAxis<Slot extends string>(...slots: Slot[]): Record<RadiusKey, StyleFn<Slot>>;
|
|
124
|
+
|
|
81
125
|
type PortalProps = {
|
|
82
126
|
children: ReactNode;
|
|
83
127
|
};
|
|
@@ -323,36 +367,6 @@ declare const PressableFeedback: react.ForwardRefExoticComponent<Omit<react_nati
|
|
|
323
367
|
Ripple: typeof PressableFeedbackRipple;
|
|
324
368
|
};
|
|
325
369
|
|
|
326
|
-
/**
|
|
327
|
-
* The `radius` axis, which is the same ten lines in every component that has one — a key
|
|
328
|
-
* of the radius scale, applied to one slot, overriding whatever `size` chose.
|
|
329
|
-
*
|
|
330
|
-
* It is written here rather than a third time in a recipe because that is the rule §2 bis
|
|
331
|
-
* states: extract at the second use, and by the end of P3 this axis exists in a dozen
|
|
332
|
-
* components. Nothing about it is component-specific except which slot carries the corner.
|
|
333
|
-
*
|
|
334
|
-
* ```ts
|
|
335
|
-
* variants: { size: { … }, radius: radiusAxis('root') }
|
|
336
|
-
* ```
|
|
337
|
-
*
|
|
338
|
-
* **More than one slot when a second node has to square off with the first.** A `Switch`
|
|
339
|
-
* whose track lost its capsule and kept a circular knob is half-rounded, so the axis moves
|
|
340
|
-
* both: `radiusAxis('track', 'thumb')`.
|
|
341
|
-
*
|
|
342
|
-
* The same named corner on each, not an inset-corrected one. Nesting rules would say the
|
|
343
|
-
* inner radius is the outer less the gap, but here that reaches zero before the outer does
|
|
344
|
-
* — at `xs` a 3pt track would hold a sharp-cornered knob — and two matched corners read
|
|
345
|
-
* better than one correct one.
|
|
346
|
-
*
|
|
347
|
-
* Variadic rather than an array because every call but that one passes a single slot, and
|
|
348
|
-
* `radiusAxis('root')` reads better than `radiusAxis(['root'])`.
|
|
349
|
-
*
|
|
350
|
-
* The return type is a full `Record<RadiusKey, …>` rather than a partial one, so
|
|
351
|
-
* `createRecipe` still infers `radius="3xl"` as the axis's value union and a typo in a
|
|
352
|
-
* caller's `radius` is a type error rather than a silently ignored key.
|
|
353
|
-
*/
|
|
354
|
-
declare function radiusAxis<Slot extends string>(...slots: Slot[]): Record<RadiusKey, StyleFn<Slot>>;
|
|
355
|
-
|
|
356
370
|
type SelectionFillProps = {
|
|
357
371
|
/** Whether the control is on. The fill is the answer, and the mark rides on it. */
|
|
358
372
|
isVisible: boolean;
|
|
@@ -475,6 +489,41 @@ type SlotProps = MergeableProps & {
|
|
|
475
489
|
*/
|
|
476
490
|
declare const Slot: react.ForwardRefExoticComponent<Omit<SlotProps, "ref"> & react.RefAttributes<unknown>>;
|
|
477
491
|
|
|
492
|
+
/**
|
|
493
|
+
* A panel that grows out of the thing that opened it.
|
|
494
|
+
*
|
|
495
|
+
* It starts slightly small and offset **towards** the trigger, so the motion points back
|
|
496
|
+
* at what opened it: a panel below enters upwards, one above enters downwards, one beside
|
|
497
|
+
* enters sideways. That is the only reason placement reaches the animation at all.
|
|
498
|
+
*
|
|
499
|
+
* Shared by the `Select` and the `Popover`, which is the second use §2 bis waits for. It
|
|
500
|
+
* lives in `system/` rather than in `utils/` because a `Keyframe` is Reanimated's, and
|
|
501
|
+
* `utils/` has to stay importable by a test that never mounts anything.
|
|
502
|
+
*/
|
|
503
|
+
declare function anchoredEntering(placement: Placement): react_native_reanimated.ReanimatedKeyframe;
|
|
504
|
+
/**
|
|
505
|
+
* The mirror, shorter. Closing is an acknowledgement rather than an arrival, and a
|
|
506
|
+
* dismissal that takes as long as the opening feels like the control is arguing.
|
|
507
|
+
*/
|
|
508
|
+
declare function anchoredExiting(placement: Placement): react_native_reanimated.ReanimatedKeyframe;
|
|
509
|
+
declare const overlayEntering: react_native_reanimated.ReanimatedKeyframe;
|
|
510
|
+
declare const overlayExiting: react_native_reanimated.ReanimatedKeyframe;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* The chevron's turn, shared by the `Select` and the `Accordion`.
|
|
514
|
+
*
|
|
515
|
+
* HeroUI's numbers. Heavily damped against a very high stiffness: it arrives in about a
|
|
516
|
+
* fifth of a second and does not overshoot, which is what a turn of 180 degrees needs —
|
|
517
|
+
* an oscillating chevron reads as a bug rather than as motion.
|
|
518
|
+
*/
|
|
519
|
+
declare const INDICATOR_SPRING: {
|
|
520
|
+
readonly damping: 140;
|
|
521
|
+
readonly stiffness: 1000;
|
|
522
|
+
readonly mass: 4;
|
|
523
|
+
};
|
|
524
|
+
/** Degrees. Down when closed, up when open, turning anticlockwise as HeroUI's does. */
|
|
525
|
+
declare const INDICATOR_ROTATION: readonly [0, -180];
|
|
526
|
+
|
|
478
527
|
/**
|
|
479
528
|
* The dismiss affordance shared by everything that can be dismissed — `Chip.Close`,
|
|
480
529
|
* `Alert.Close`, and the `Dialog`, `Snackbar` and `Sheet` of P5. Each of those is a
|
|
@@ -529,4 +578,4 @@ type CloseButtonSlots = {
|
|
|
529
578
|
*/
|
|
530
579
|
declare function closeButtonBase(theme: XAUITheme): CloseButtonSlots;
|
|
531
580
|
|
|
532
|
-
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 };
|
|
581
|
+
export { AnimationProp, type AsChildProps, ChevronDownIcon, CloseButton, type CloseButtonSlots, FEEDBACK_OVERLAY, FeedbackContext, HIGHLIGHT_DURATION, HIGHLIGHT_OPACITY, INDICATOR_ROTATION, INDICATOR_SPRING, 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, anchoredEntering, anchoredExiting, childrenToString, closeButtonBase, createSlotContext, markOverlay, mergeProps, mergeRefs, overlayEntering, overlayExiting, pressScaleFor, radiusAxis, resolveAnimation, resolveSlotAnimation, rippleRadiusFor, useFeedback, useIconContext, useStyleProps };
|
package/dist/system/index.js
CHANGED
|
@@ -1,21 +1,30 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-WHJTBTYM.js";
|
|
2
2
|
import {
|
|
3
3
|
Portal,
|
|
4
4
|
PortalContext,
|
|
5
5
|
PortalHost
|
|
6
6
|
} from "../chunk-2PMXMKS5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
INDICATOR_ROTATION,
|
|
9
|
+
INDICATOR_SPRING,
|
|
10
|
+
anchoredEntering,
|
|
11
|
+
anchoredExiting,
|
|
12
|
+
overlayEntering,
|
|
13
|
+
overlayExiting
|
|
14
|
+
} from "../chunk-64MXEVT3.js";
|
|
10
15
|
import {
|
|
11
16
|
CloseButton,
|
|
12
17
|
closeButtonBase
|
|
13
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-EYD4H4X6.js";
|
|
14
19
|
import {
|
|
20
|
+
ChevronDownIcon,
|
|
15
21
|
Icon,
|
|
16
22
|
IconContext,
|
|
17
23
|
useIconContext
|
|
18
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-FHUYHV6J.js";
|
|
25
|
+
import {
|
|
26
|
+
SelectionFill
|
|
27
|
+
} from "../chunk-BA2DBSAN.js";
|
|
19
28
|
import {
|
|
20
29
|
FEEDBACK_OVERLAY,
|
|
21
30
|
HIGHLIGHT_DURATION,
|
|
@@ -37,15 +46,15 @@ import {
|
|
|
37
46
|
resolveSlotAnimation,
|
|
38
47
|
rippleRadiusFor,
|
|
39
48
|
useFeedback
|
|
40
|
-
} from "../chunk-
|
|
41
|
-
import "../chunk-EGLLDKN6.js";
|
|
49
|
+
} from "../chunk-LIUO6D3D.js";
|
|
42
50
|
import "../chunk-423RQBOX.js";
|
|
51
|
+
import "../chunk-EGLLDKN6.js";
|
|
43
52
|
import {
|
|
44
53
|
Slot,
|
|
45
54
|
childrenToString,
|
|
46
55
|
createSlotContext,
|
|
47
56
|
mergeProps
|
|
48
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-K72UDPVN.js";
|
|
49
58
|
import {
|
|
50
59
|
mergeRefs
|
|
51
60
|
} from "../chunk-36PRYGAM.js";
|
|
@@ -58,10 +67,13 @@ import {
|
|
|
58
67
|
useStyleProps
|
|
59
68
|
} from "../chunk-M63GFNKV.js";
|
|
60
69
|
export {
|
|
70
|
+
ChevronDownIcon,
|
|
61
71
|
CloseButton,
|
|
62
72
|
FEEDBACK_OVERLAY,
|
|
63
73
|
HIGHLIGHT_DURATION,
|
|
64
74
|
HIGHLIGHT_OPACITY,
|
|
75
|
+
INDICATOR_ROTATION,
|
|
76
|
+
INDICATOR_SPRING,
|
|
65
77
|
Icon,
|
|
66
78
|
IconContext,
|
|
67
79
|
PRESS_DURATION,
|
|
@@ -80,6 +92,8 @@ export {
|
|
|
80
92
|
SCALE_REFERENCE_WIDTH,
|
|
81
93
|
SelectionFill,
|
|
82
94
|
Slot,
|
|
95
|
+
anchoredEntering,
|
|
96
|
+
anchoredExiting,
|
|
83
97
|
childrenToString,
|
|
84
98
|
closeButtonBase,
|
|
85
99
|
createRecipe,
|
|
@@ -87,6 +101,8 @@ export {
|
|
|
87
101
|
markOverlay,
|
|
88
102
|
mergeProps,
|
|
89
103
|
mergeRefs,
|
|
104
|
+
overlayEntering,
|
|
105
|
+
overlayExiting,
|
|
90
106
|
pressScaleFor,
|
|
91
107
|
radiusAxis,
|
|
92
108
|
resolveAnimation,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xaui/native",
|
|
3
|
-
"version": "0.9.1-alpha.
|
|
3
|
+
"version": "0.9.1-alpha.39",
|
|
4
4
|
"description": "Composition-first React Native UI components with native animations powered by Reanimated",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
"default": "./dist/index.cjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"./accordion": {
|
|
31
|
+
"import": {
|
|
32
|
+
"types": "./dist/components/accordion/index.d.ts",
|
|
33
|
+
"default": "./dist/components/accordion/index.js"
|
|
34
|
+
},
|
|
35
|
+
"require": {
|
|
36
|
+
"types": "./dist/components/accordion/index.d.cts",
|
|
37
|
+
"default": "./dist/components/accordion/index.cjs"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
30
40
|
"./alert": {
|
|
31
41
|
"import": {
|
|
32
42
|
"types": "./dist/components/alert/index.d.ts",
|
|
@@ -127,6 +137,16 @@
|
|
|
127
137
|
"default": "./dist/components/input-otp/index.cjs"
|
|
128
138
|
}
|
|
129
139
|
},
|
|
140
|
+
"./popover": {
|
|
141
|
+
"import": {
|
|
142
|
+
"types": "./dist/components/popover/index.d.ts",
|
|
143
|
+
"default": "./dist/components/popover/index.js"
|
|
144
|
+
},
|
|
145
|
+
"require": {
|
|
146
|
+
"types": "./dist/components/popover/index.d.cts",
|
|
147
|
+
"default": "./dist/components/popover/index.cjs"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
130
150
|
"./radio": {
|
|
131
151
|
"import": {
|
|
132
152
|
"types": "./dist/components/radio/index.d.ts",
|
|
File without changes
|
|
File without changes
|