@xaui/native 0.9.1-alpha.38 → 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-2EGR4LWD.js +145 -0
- package/dist/chunk-37L7YGZV.cjs +425 -0
- package/dist/chunk-64MXEVT3.js +66 -0
- package/dist/{chunk-RAWGK2XK.cjs → chunk-76XDVA24.cjs} +43 -133
- package/dist/{chunk-Q3MQ7S2D.cjs → chunk-7KLBTMXV.cjs} +6 -4
- package/dist/chunk-EKS3W46M.cjs +66 -0
- package/dist/{chunk-ZF6KIHXH.js → chunk-GJSFKH4L.js} +15 -20
- package/dist/{chunk-ZNZ7HVRW.js → chunk-JKP4TPIL.js} +51 -217
- package/dist/chunk-LUPCPLND.cjs +145 -0
- package/dist/chunk-XAFP5JLK.js +425 -0
- package/dist/components/accordion/index.cjs +3 -2
- package/dist/components/accordion/index.js +2 -1
- package/dist/components/badge/index.d.cts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- 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/select/index.cjs +4 -2
- package/dist/components/select/index.d.cts +14 -25
- package/dist/components/select/index.d.ts +14 -25
- package/dist/components/select/index.js +3 -1
- package/dist/index.cjs +42 -5
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +44 -7
- package/dist/placement-DHa0Rrh1.d.cts +38 -0
- package/dist/placement-DHa0Rrh1.d.ts +38 -0
- package/dist/system/index.cjs +16 -2
- package/dist/system/index.d.cts +38 -2
- package/dist/system/index.d.ts +38 -2
- package/dist/system/index.js +15 -1
- package/package.json +11 -1
- /package/dist/{chunk-OJCCV65P.cjs → chunk-GGW43Q37.cjs} +0 -0
- /package/dist/{chunk-MESKS6AI.js → chunk-WHJTBTYM.js} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where a floating panel lands against the thing that opened it, as four numbers.
|
|
3
|
+
*
|
|
4
|
+
* Pure on purpose, and shared: positioning an overlay is the one part of a `Select`, a
|
|
5
|
+
* `Popover` or a `Menu` that is arithmetic rather than rendering, and arithmetic that runs
|
|
6
|
+
* once per open is arithmetic worth a test rather than a screenshot.
|
|
7
|
+
*
|
|
8
|
+
* Everything here is in the coordinate space of whatever the panel is laid out in — the
|
|
9
|
+
* caller subtracts the portal host's own origin before calling, because the trigger
|
|
10
|
+
* reports itself against the window and the panel is not laid out in the window.
|
|
11
|
+
*/
|
|
12
|
+
/** `start` and `end` rather than `left` and `right` (R13): the sides mirror in RTL. */
|
|
13
|
+
type Placement = 'top' | 'bottom' | 'start' | 'end';
|
|
14
|
+
/** Where the panel lines up along the edge it is pinned to. */
|
|
15
|
+
type Align = 'start' | 'center' | 'end';
|
|
16
|
+
/** The trigger's rectangle. */
|
|
17
|
+
type Anchor = {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* `trigger` matches the anchor exactly. `content-fit` hugs what the panel measured at,
|
|
25
|
+
* which the component bounds with a measure of its own. `full` is the screen less its
|
|
26
|
+
* insets — the way to say "yes, actually, all of it", which nothing else in the union can
|
|
27
|
+
* express: a number is a guess at the screen's width, and `content-fit` refuses on purpose.
|
|
28
|
+
*/
|
|
29
|
+
type AnchoredWidth = number | 'trigger' | 'content-fit' | 'full';
|
|
30
|
+
/** Screen edges the panel refuses to cross, in points. */
|
|
31
|
+
type Insets = {
|
|
32
|
+
top?: number;
|
|
33
|
+
bottom?: number;
|
|
34
|
+
start?: number;
|
|
35
|
+
end?: number;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export type { Align as A, Insets as I, Placement as P, AnchoredWidth as a, Anchor as b };
|
package/dist/system/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-GGW43Q37.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -7,6 +7,14 @@ var _chunkWDDXU3OHcjs = require('../chunk-WDDXU3OH.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkEKS3W46Mcjs = require('../chunk-EKS3W46M.cjs');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
10
18
|
var _chunkAAVCMCJ3cjs = require('../chunk-AAVCMCJ3.cjs');
|
|
11
19
|
|
|
12
20
|
|
|
@@ -97,4 +105,10 @@ var _chunkTK44VBIEcjs = require('../chunk-TK44VBIE.cjs');
|
|
|
97
105
|
|
|
98
106
|
|
|
99
107
|
|
|
100
|
-
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
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.INDICATOR_ROTATION = _chunkEKS3W46Mcjs.INDICATOR_ROTATION; exports.INDICATOR_SPRING = _chunkEKS3W46Mcjs.INDICATOR_SPRING; 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.anchoredEntering = _chunkEKS3W46Mcjs.anchoredEntering; exports.anchoredExiting = _chunkEKS3W46Mcjs.anchoredExiting; 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.overlayEntering = _chunkEKS3W46Mcjs.overlayEntering; exports.overlayExiting = _chunkEKS3W46Mcjs.overlayExiting; 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
|
@@ -11,7 +11,8 @@ export { C as CloseButtonProps } from '../close-button.type-CHsgZ3wO.cjs';
|
|
|
11
11
|
import { b as IconComponentProps, a as IconProps, I as IconContextValue } from '../icon.type-d_i9ma-i.cjs';
|
|
12
12
|
import { V as ViewStyleProps } from '../style-props.type-CfnoGEP7.cjs';
|
|
13
13
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-CfnoGEP7.cjs';
|
|
14
|
-
import 'react-native-reanimated';
|
|
14
|
+
import * as react_native_reanimated from 'react-native-reanimated';
|
|
15
|
+
import { P as Placement } from '../placement-DHa0Rrh1.cjs';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* The runtime half of R14. The type half lives in `system/style-props/`, and the two are
|
|
@@ -488,6 +489,41 @@ type SlotProps = MergeableProps & {
|
|
|
488
489
|
*/
|
|
489
490
|
declare const Slot: react.ForwardRefExoticComponent<Omit<SlotProps, "ref"> & react.RefAttributes<unknown>>;
|
|
490
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
|
+
|
|
491
527
|
/**
|
|
492
528
|
* The dismiss affordance shared by everything that can be dismissed — `Chip.Close`,
|
|
493
529
|
* `Alert.Close`, and the `Dialog`, `Snackbar` and `Sheet` of P5. Each of those is a
|
|
@@ -542,4 +578,4 @@ type CloseButtonSlots = {
|
|
|
542
578
|
*/
|
|
543
579
|
declare function closeButtonBase(theme: XAUITheme): CloseButtonSlots;
|
|
544
580
|
|
|
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 };
|
|
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.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ export { C as CloseButtonProps } from '../close-button.type-BUYuoSt2.js';
|
|
|
11
11
|
import { b as IconComponentProps, a as IconProps, I as IconContextValue } from '../icon.type-Kml72iSz.js';
|
|
12
12
|
import { V as ViewStyleProps } from '../style-props.type-CfnoGEP7.js';
|
|
13
13
|
export { D as DirectionalStyleKey, I as ImageStyleProps, S as StyleProps, T as TextStyleProps } from '../style-props.type-CfnoGEP7.js';
|
|
14
|
-
import 'react-native-reanimated';
|
|
14
|
+
import * as react_native_reanimated from 'react-native-reanimated';
|
|
15
|
+
import { P as Placement } from '../placement-DHa0Rrh1.js';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* The runtime half of R14. The type half lives in `system/style-props/`, and the two are
|
|
@@ -488,6 +489,41 @@ type SlotProps = MergeableProps & {
|
|
|
488
489
|
*/
|
|
489
490
|
declare const Slot: react.ForwardRefExoticComponent<Omit<SlotProps, "ref"> & react.RefAttributes<unknown>>;
|
|
490
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
|
+
|
|
491
527
|
/**
|
|
492
528
|
* The dismiss affordance shared by everything that can be dismissed — `Chip.Close`,
|
|
493
529
|
* `Alert.Close`, and the `Dialog`, `Snackbar` and `Sheet` of P5. Each of those is a
|
|
@@ -542,4 +578,4 @@ type CloseButtonSlots = {
|
|
|
542
578
|
*/
|
|
543
579
|
declare function closeButtonBase(theme: XAUITheme): CloseButtonSlots;
|
|
544
580
|
|
|
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 };
|
|
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,9 +1,17 @@
|
|
|
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
|
+
import {
|
|
8
|
+
INDICATOR_ROTATION,
|
|
9
|
+
INDICATOR_SPRING,
|
|
10
|
+
anchoredEntering,
|
|
11
|
+
anchoredExiting,
|
|
12
|
+
overlayEntering,
|
|
13
|
+
overlayExiting
|
|
14
|
+
} from "../chunk-64MXEVT3.js";
|
|
7
15
|
import {
|
|
8
16
|
CloseButton,
|
|
9
17
|
closeButtonBase
|
|
@@ -64,6 +72,8 @@ export {
|
|
|
64
72
|
FEEDBACK_OVERLAY,
|
|
65
73
|
HIGHLIGHT_DURATION,
|
|
66
74
|
HIGHLIGHT_OPACITY,
|
|
75
|
+
INDICATOR_ROTATION,
|
|
76
|
+
INDICATOR_SPRING,
|
|
67
77
|
Icon,
|
|
68
78
|
IconContext,
|
|
69
79
|
PRESS_DURATION,
|
|
@@ -82,6 +92,8 @@ export {
|
|
|
82
92
|
SCALE_REFERENCE_WIDTH,
|
|
83
93
|
SelectionFill,
|
|
84
94
|
Slot,
|
|
95
|
+
anchoredEntering,
|
|
96
|
+
anchoredExiting,
|
|
85
97
|
childrenToString,
|
|
86
98
|
closeButtonBase,
|
|
87
99
|
createRecipe,
|
|
@@ -89,6 +101,8 @@ export {
|
|
|
89
101
|
markOverlay,
|
|
90
102
|
mergeProps,
|
|
91
103
|
mergeRefs,
|
|
104
|
+
overlayEntering,
|
|
105
|
+
overlayExiting,
|
|
92
106
|
pressScaleFor,
|
|
93
107
|
radiusAxis,
|
|
94
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",
|
|
@@ -137,6 +137,16 @@
|
|
|
137
137
|
"default": "./dist/components/input-otp/index.cjs"
|
|
138
138
|
}
|
|
139
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
|
+
},
|
|
140
150
|
"./radio": {
|
|
141
151
|
"import": {
|
|
142
152
|
"types": "./dist/components/radio/index.d.ts",
|
|
File without changes
|
|
File without changes
|