@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,425 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useAnchoredPosition
|
|
3
|
+
} from "./chunk-2EGR4LWD.js";
|
|
4
|
+
import {
|
|
5
|
+
Portal
|
|
6
|
+
} from "./chunk-2PMXMKS5.js";
|
|
7
|
+
import {
|
|
8
|
+
anchoredEntering,
|
|
9
|
+
anchoredExiting,
|
|
10
|
+
overlayEntering,
|
|
11
|
+
overlayExiting
|
|
12
|
+
} from "./chunk-64MXEVT3.js";
|
|
13
|
+
import {
|
|
14
|
+
useMergedRef
|
|
15
|
+
} from "./chunk-NCTOTTVW.js";
|
|
16
|
+
import {
|
|
17
|
+
useControllableState
|
|
18
|
+
} from "./chunk-F6W3JQ7K.js";
|
|
19
|
+
import {
|
|
20
|
+
PressableFeedback
|
|
21
|
+
} from "./chunk-LIUO6D3D.js";
|
|
22
|
+
import {
|
|
23
|
+
usePressState
|
|
24
|
+
} from "./chunk-423RQBOX.js";
|
|
25
|
+
import {
|
|
26
|
+
createSlotContext
|
|
27
|
+
} from "./chunk-K72UDPVN.js";
|
|
28
|
+
import {
|
|
29
|
+
createRecipe,
|
|
30
|
+
radiusAxis
|
|
31
|
+
} from "./chunk-4GTAZM2C.js";
|
|
32
|
+
import {
|
|
33
|
+
useXAUITheme
|
|
34
|
+
} from "./chunk-A3EGFI6T.js";
|
|
35
|
+
import {
|
|
36
|
+
useStyleProps
|
|
37
|
+
} from "./chunk-M63GFNKV.js";
|
|
38
|
+
|
|
39
|
+
// src/components/popover/popover-close.tsx
|
|
40
|
+
import { forwardRef, useCallback } from "react";
|
|
41
|
+
|
|
42
|
+
// src/components/popover/popover.context.ts
|
|
43
|
+
var [PopoverProvider, usePopover] = createSlotContext("Popover");
|
|
44
|
+
|
|
45
|
+
// src/components/popover/popover-close.tsx
|
|
46
|
+
import { jsx } from "react/jsx-runtime";
|
|
47
|
+
var PopoverClose = forwardRef(
|
|
48
|
+
function PopoverClose2({
|
|
49
|
+
children,
|
|
50
|
+
asChild = false,
|
|
51
|
+
accessibilityRole = "button",
|
|
52
|
+
style,
|
|
53
|
+
onPress,
|
|
54
|
+
onPressIn,
|
|
55
|
+
onPressOut,
|
|
56
|
+
...props
|
|
57
|
+
}, ref) {
|
|
58
|
+
const { close } = usePopover();
|
|
59
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
60
|
+
const [isPressed, press] = usePressState({ onPressIn, onPressOut });
|
|
61
|
+
const handlePress = useCallback(
|
|
62
|
+
(event) => {
|
|
63
|
+
onPress?.(event);
|
|
64
|
+
close();
|
|
65
|
+
},
|
|
66
|
+
[close, onPress]
|
|
67
|
+
);
|
|
68
|
+
return /* @__PURE__ */ jsx(
|
|
69
|
+
PressableFeedback,
|
|
70
|
+
{
|
|
71
|
+
ref,
|
|
72
|
+
isPressed,
|
|
73
|
+
asChild,
|
|
74
|
+
accessibilityRole,
|
|
75
|
+
...rest,
|
|
76
|
+
style: [
|
|
77
|
+
styleProps,
|
|
78
|
+
typeof style === "function" ? style({ pressed: isPressed }) : style
|
|
79
|
+
],
|
|
80
|
+
onPress: handlePress,
|
|
81
|
+
onPressIn: press.onPressIn,
|
|
82
|
+
onPressOut: press.onPressOut,
|
|
83
|
+
children
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
PopoverClose.displayName = "XAUI.Popover.Close";
|
|
89
|
+
|
|
90
|
+
// src/components/popover/popover-content.tsx
|
|
91
|
+
import { forwardRef as forwardRef2 } from "react";
|
|
92
|
+
import Animated from "react-native-reanimated";
|
|
93
|
+
|
|
94
|
+
// src/components/popover/popover.recipe.ts
|
|
95
|
+
var SLOTS = ["trigger", "overlay", "content", "title", "description"];
|
|
96
|
+
function popoverMeasure(fontSize) {
|
|
97
|
+
return fontSize * 13;
|
|
98
|
+
}
|
|
99
|
+
var popoverRecipe = createRecipe({
|
|
100
|
+
slots: SLOTS,
|
|
101
|
+
base: (theme) => ({
|
|
102
|
+
overlay: { position: "absolute", top: 0, bottom: 0, start: 0, end: 0 },
|
|
103
|
+
content: {
|
|
104
|
+
position: "absolute",
|
|
105
|
+
backgroundColor: theme.colors.overlay,
|
|
106
|
+
// HeroUI's twelve by sixteen: a panel is read, not scanned, so it is wider-padded
|
|
107
|
+
// than it is tall-padded.
|
|
108
|
+
paddingVertical: theme.spacing(3),
|
|
109
|
+
paddingHorizontal: theme.spacing(4),
|
|
110
|
+
// Their `--radius-3xl` on a base of 8 is 24 points; our base is 12, so the same 24
|
|
111
|
+
// is `2xl`. Reading their key rather than their number puts a pill on it.
|
|
112
|
+
borderRadius: theme.radius["2xl"],
|
|
113
|
+
borderCurve: "continuous",
|
|
114
|
+
gap: theme.spacing(1.5),
|
|
115
|
+
...theme.shadows.overlay
|
|
116
|
+
},
|
|
117
|
+
title: {
|
|
118
|
+
fontFamily: theme.fontFamilies.body,
|
|
119
|
+
fontWeight: theme.fontWeights.medium,
|
|
120
|
+
fontSize: theme.fontSizes.lg,
|
|
121
|
+
lineHeight: theme.lineHeights.lg,
|
|
122
|
+
color: theme.colors.overlayForeground
|
|
123
|
+
},
|
|
124
|
+
description: {
|
|
125
|
+
fontFamily: theme.fontFamilies.body,
|
|
126
|
+
fontSize: theme.fontSizes.md,
|
|
127
|
+
lineHeight: theme.lineHeights.md,
|
|
128
|
+
color: theme.colors.muted
|
|
129
|
+
}
|
|
130
|
+
}),
|
|
131
|
+
variantTokens: { default: {} },
|
|
132
|
+
variants: { radius: radiusAxis("content") },
|
|
133
|
+
states: {
|
|
134
|
+
disabled: (theme) => ({ trigger: { opacity: theme.opacity.disabled } })
|
|
135
|
+
},
|
|
136
|
+
defaultVariants: { variant: "default" }
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
// src/components/popover/popover-content.tsx
|
|
140
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
141
|
+
var DEFAULT_OFFSET = 9;
|
|
142
|
+
var DEFAULT_INSETS = {
|
|
143
|
+
top: 12,
|
|
144
|
+
bottom: 12,
|
|
145
|
+
start: 12,
|
|
146
|
+
end: 12
|
|
147
|
+
};
|
|
148
|
+
var PopoverContent = forwardRef2(
|
|
149
|
+
function PopoverContent2({
|
|
150
|
+
children,
|
|
151
|
+
placement = "bottom",
|
|
152
|
+
align = "center",
|
|
153
|
+
width = "content-fit",
|
|
154
|
+
offset = DEFAULT_OFFSET,
|
|
155
|
+
alignOffset = 0,
|
|
156
|
+
avoidCollisions = true,
|
|
157
|
+
insets,
|
|
158
|
+
style,
|
|
159
|
+
onLayout,
|
|
160
|
+
...props
|
|
161
|
+
}, ref) {
|
|
162
|
+
const context = usePopover();
|
|
163
|
+
const { contentStyle, isOpen, anchor } = context;
|
|
164
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
165
|
+
const theme = useXAUITheme();
|
|
166
|
+
const { position, onContentLayout, measuringStyle } = useAnchoredPosition({
|
|
167
|
+
anchor,
|
|
168
|
+
isOpen,
|
|
169
|
+
placement,
|
|
170
|
+
align,
|
|
171
|
+
width,
|
|
172
|
+
offset,
|
|
173
|
+
alignOffset,
|
|
174
|
+
avoidCollisions,
|
|
175
|
+
insets: { ...DEFAULT_INSETS, ...insets },
|
|
176
|
+
maxWidth: popoverMeasure(theme.fontSizes.md),
|
|
177
|
+
onLayout
|
|
178
|
+
});
|
|
179
|
+
if (!isOpen || anchor === null) return null;
|
|
180
|
+
return /* @__PURE__ */ jsx2(Portal, { children: /* @__PURE__ */ jsx2(PopoverProvider, { value: context, children: /* @__PURE__ */ jsx2(
|
|
181
|
+
Animated.View,
|
|
182
|
+
{
|
|
183
|
+
ref,
|
|
184
|
+
entering: position ? anchoredEntering(position.placement) : void 0,
|
|
185
|
+
exiting: position ? anchoredExiting(position.placement) : void 0,
|
|
186
|
+
onLayout: onContentLayout,
|
|
187
|
+
...rest,
|
|
188
|
+
style: [
|
|
189
|
+
contentStyle,
|
|
190
|
+
position === null ? measuringStyle : {
|
|
191
|
+
top: position.top,
|
|
192
|
+
start: position.start,
|
|
193
|
+
width: position.width,
|
|
194
|
+
maxHeight: position.maxHeight
|
|
195
|
+
},
|
|
196
|
+
styleProps,
|
|
197
|
+
style
|
|
198
|
+
],
|
|
199
|
+
children
|
|
200
|
+
},
|
|
201
|
+
position?.placement ?? "measuring"
|
|
202
|
+
) }) });
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
PopoverContent.displayName = "XAUI.Popover.Content";
|
|
206
|
+
|
|
207
|
+
// src/components/popover/popover-description.tsx
|
|
208
|
+
import { forwardRef as forwardRef3 } from "react";
|
|
209
|
+
import { Text } from "react-native";
|
|
210
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
211
|
+
var PopoverDescription = forwardRef3(
|
|
212
|
+
function PopoverDescription2({ children, style, ...props }, ref) {
|
|
213
|
+
const { descriptionStyle } = usePopover();
|
|
214
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
215
|
+
return /* @__PURE__ */ jsx3(Text, { ref, ...rest, style: [descriptionStyle, styleProps, style], children });
|
|
216
|
+
}
|
|
217
|
+
);
|
|
218
|
+
PopoverDescription.displayName = "XAUI.Popover.Description";
|
|
219
|
+
|
|
220
|
+
// src/components/popover/popover-overlay.tsx
|
|
221
|
+
import { forwardRef as forwardRef4 } from "react";
|
|
222
|
+
import { Pressable } from "react-native";
|
|
223
|
+
import Animated2 from "react-native-reanimated";
|
|
224
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
225
|
+
var AnimatedPressable = Animated2.createAnimatedComponent(Pressable);
|
|
226
|
+
var PopoverOverlay = forwardRef4(
|
|
227
|
+
function PopoverOverlay2({ children, isDismissable = true, style, ...props }, ref) {
|
|
228
|
+
const context = usePopover();
|
|
229
|
+
const { overlayStyle, isOpen, close } = context;
|
|
230
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
231
|
+
if (!isOpen) return null;
|
|
232
|
+
return /* @__PURE__ */ jsx4(Portal, { children: /* @__PURE__ */ jsx4(PopoverProvider, { value: context, children: /* @__PURE__ */ jsx4(
|
|
233
|
+
AnimatedPressable,
|
|
234
|
+
{
|
|
235
|
+
ref,
|
|
236
|
+
entering: overlayEntering,
|
|
237
|
+
exiting: overlayExiting,
|
|
238
|
+
accessibilityRole: "none",
|
|
239
|
+
importantForAccessibility: "no",
|
|
240
|
+
onPress: isDismissable ? close : void 0,
|
|
241
|
+
...rest,
|
|
242
|
+
style: [overlayStyle, styleProps, style],
|
|
243
|
+
children
|
|
244
|
+
}
|
|
245
|
+
) }) });
|
|
246
|
+
}
|
|
247
|
+
);
|
|
248
|
+
PopoverOverlay.displayName = "XAUI.Popover.Overlay";
|
|
249
|
+
|
|
250
|
+
// src/components/popover/popover-title.tsx
|
|
251
|
+
import { forwardRef as forwardRef5 } from "react";
|
|
252
|
+
import { Text as Text2 } from "react-native";
|
|
253
|
+
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
254
|
+
var PopoverTitle = forwardRef5(
|
|
255
|
+
function PopoverTitle2({ children, accessibilityRole = "header", style, ...props }, ref) {
|
|
256
|
+
const { titleStyle } = usePopover();
|
|
257
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
258
|
+
return /* @__PURE__ */ jsx5(
|
|
259
|
+
Text2,
|
|
260
|
+
{
|
|
261
|
+
ref,
|
|
262
|
+
accessibilityRole,
|
|
263
|
+
...rest,
|
|
264
|
+
style: [titleStyle, styleProps, style],
|
|
265
|
+
children
|
|
266
|
+
}
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
);
|
|
270
|
+
PopoverTitle.displayName = "XAUI.Popover.Title";
|
|
271
|
+
|
|
272
|
+
// src/components/popover/popover-trigger.tsx
|
|
273
|
+
import { forwardRef as forwardRef6, useCallback as useCallback3 } from "react";
|
|
274
|
+
|
|
275
|
+
// src/hooks/use-anchor-ref.ts
|
|
276
|
+
import { useCallback as useCallback2, useEffect, useRef } from "react";
|
|
277
|
+
function useAnchorRef({ isOpen, onAnchor, onLayout }) {
|
|
278
|
+
const node = useRef(null);
|
|
279
|
+
const latest = useRef(onAnchor);
|
|
280
|
+
latest.current = onAnchor;
|
|
281
|
+
const measure = useCallback2(() => {
|
|
282
|
+
node.current?.measureInWindow((x, y, width, height) => {
|
|
283
|
+
latest.current({ x, y, width, height });
|
|
284
|
+
});
|
|
285
|
+
}, []);
|
|
286
|
+
const handleLayout = useCallback2(
|
|
287
|
+
(event) => {
|
|
288
|
+
onLayout?.(event);
|
|
289
|
+
measure();
|
|
290
|
+
},
|
|
291
|
+
[measure, onLayout]
|
|
292
|
+
);
|
|
293
|
+
useEffect(() => {
|
|
294
|
+
if (isOpen) measure();
|
|
295
|
+
}, [isOpen, measure]);
|
|
296
|
+
return { node, measure, onLayout: handleLayout };
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// src/components/popover/popover-trigger.tsx
|
|
300
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
301
|
+
var PopoverTrigger = forwardRef6(
|
|
302
|
+
function PopoverTrigger2({
|
|
303
|
+
children,
|
|
304
|
+
asChild = false,
|
|
305
|
+
accessibilityRole = "button",
|
|
306
|
+
accessibilityState,
|
|
307
|
+
style,
|
|
308
|
+
onLayout,
|
|
309
|
+
onPress,
|
|
310
|
+
onPressIn,
|
|
311
|
+
onPressOut,
|
|
312
|
+
...props
|
|
313
|
+
}, ref) {
|
|
314
|
+
const { triggerStyle, isOpen, isDisabled, toggle, setAnchor } = usePopover();
|
|
315
|
+
const [styleProps, rest] = useStyleProps(props);
|
|
316
|
+
const [isPressed, press] = usePressState({ onPressIn, onPressOut });
|
|
317
|
+
const anchor = useAnchorRef({ isOpen, onAnchor: setAnchor, onLayout });
|
|
318
|
+
const refs = useMergedRef(anchor.node, ref);
|
|
319
|
+
const handlePress = useCallback3(
|
|
320
|
+
(event) => {
|
|
321
|
+
onPress?.(event);
|
|
322
|
+
anchor.measure();
|
|
323
|
+
toggle();
|
|
324
|
+
},
|
|
325
|
+
[anchor, onPress, toggle]
|
|
326
|
+
);
|
|
327
|
+
return /* @__PURE__ */ jsx6(
|
|
328
|
+
PressableFeedback,
|
|
329
|
+
{
|
|
330
|
+
ref: refs,
|
|
331
|
+
isPressed,
|
|
332
|
+
isDisabled,
|
|
333
|
+
asChild,
|
|
334
|
+
accessibilityRole,
|
|
335
|
+
accessibilityState: {
|
|
336
|
+
disabled: isDisabled,
|
|
337
|
+
expanded: isOpen,
|
|
338
|
+
...accessibilityState
|
|
339
|
+
},
|
|
340
|
+
...rest,
|
|
341
|
+
onLayout: anchor.onLayout,
|
|
342
|
+
style: [
|
|
343
|
+
triggerStyle,
|
|
344
|
+
styleProps,
|
|
345
|
+
typeof style === "function" ? style({ pressed: isPressed }) : style
|
|
346
|
+
],
|
|
347
|
+
onPress: handlePress,
|
|
348
|
+
onPressIn: press.onPressIn,
|
|
349
|
+
onPressOut: press.onPressOut,
|
|
350
|
+
children
|
|
351
|
+
}
|
|
352
|
+
);
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
PopoverTrigger.displayName = "XAUI.Popover.Trigger";
|
|
356
|
+
|
|
357
|
+
// src/components/popover/popover.tsx
|
|
358
|
+
import { useCallback as useCallback4, useMemo, useState } from "react";
|
|
359
|
+
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
360
|
+
function Popover({
|
|
361
|
+
children,
|
|
362
|
+
radius,
|
|
363
|
+
isOpen: controlledOpen,
|
|
364
|
+
defaultOpen = false,
|
|
365
|
+
onOpenChange,
|
|
366
|
+
isDisabled = false
|
|
367
|
+
}) {
|
|
368
|
+
const theme = useXAUITheme();
|
|
369
|
+
const [anchor, setAnchor] = useState(null);
|
|
370
|
+
const [isOpen, setOpen] = useControllableState({
|
|
371
|
+
value: controlledOpen,
|
|
372
|
+
defaultValue: defaultOpen,
|
|
373
|
+
onChange: onOpenChange
|
|
374
|
+
});
|
|
375
|
+
const styles = popoverRecipe.resolve({
|
|
376
|
+
theme,
|
|
377
|
+
selection: { radius },
|
|
378
|
+
states: { disabled: isDisabled }
|
|
379
|
+
});
|
|
380
|
+
const open = useCallback4(() => setOpen(true), [setOpen]);
|
|
381
|
+
const close = useCallback4(() => setOpen(false), [setOpen]);
|
|
382
|
+
const toggle = useCallback4(() => setOpen((current) => !current), [setOpen]);
|
|
383
|
+
const context = useMemo(
|
|
384
|
+
() => ({
|
|
385
|
+
triggerStyle: styles.trigger,
|
|
386
|
+
overlayStyle: styles.overlay,
|
|
387
|
+
contentStyle: styles.content,
|
|
388
|
+
titleStyle: styles.title,
|
|
389
|
+
descriptionStyle: styles.description,
|
|
390
|
+
isOpen,
|
|
391
|
+
isDisabled,
|
|
392
|
+
open,
|
|
393
|
+
close,
|
|
394
|
+
toggle,
|
|
395
|
+
anchor,
|
|
396
|
+
setAnchor
|
|
397
|
+
}),
|
|
398
|
+
[styles, isOpen, isDisabled, open, close, toggle, anchor]
|
|
399
|
+
);
|
|
400
|
+
return /* @__PURE__ */ jsx7(PopoverProvider, { value: context, children });
|
|
401
|
+
}
|
|
402
|
+
Popover.displayName = "XAUI.Popover.Root";
|
|
403
|
+
|
|
404
|
+
// src/components/popover/index.ts
|
|
405
|
+
var Popover2 = Object.assign(Popover, {
|
|
406
|
+
Trigger: PopoverTrigger,
|
|
407
|
+
Overlay: PopoverOverlay,
|
|
408
|
+
Content: PopoverContent,
|
|
409
|
+
Title: PopoverTitle,
|
|
410
|
+
Description: PopoverDescription,
|
|
411
|
+
Close: PopoverClose
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
export {
|
|
415
|
+
usePopover,
|
|
416
|
+
PopoverClose,
|
|
417
|
+
popoverRecipe,
|
|
418
|
+
PopoverContent,
|
|
419
|
+
PopoverDescription,
|
|
420
|
+
PopoverOverlay,
|
|
421
|
+
PopoverTitle,
|
|
422
|
+
PopoverTrigger,
|
|
423
|
+
Popover,
|
|
424
|
+
Popover2
|
|
425
|
+
};
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7KLBTMXVcjs = require('../../chunk-7KLBTMXV.cjs');
|
|
13
|
+
require('../../chunk-EKS3W46M.cjs');
|
|
13
14
|
require('../../chunk-4KFKWBN5.cjs');
|
|
14
15
|
require('../../chunk-7EIHHOHP.cjs');
|
|
15
16
|
require('../../chunk-TGMVEHV7.cjs');
|
|
@@ -31,4 +32,4 @@ require('../../chunk-TK44VBIE.cjs');
|
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
34
|
-
exports.Accordion =
|
|
35
|
+
exports.Accordion = _chunk7KLBTMXVcjs.Accordion; exports.AccordionContent = _chunk7KLBTMXVcjs.AccordionContent; exports.AccordionIndicator = _chunk7KLBTMXVcjs.AccordionIndicator; exports.AccordionItem = _chunk7KLBTMXVcjs.AccordionItem; exports.AccordionRoot = _chunk7KLBTMXVcjs.AccordionRoot; exports.AccordionTrigger = _chunk7KLBTMXVcjs.AccordionTrigger; exports.accordionLayoutTransition = _chunk7KLBTMXVcjs.LAYOUT; exports.accordionRecipe = _chunk7KLBTMXVcjs.accordionRecipe; exports.useAccordion = _chunk7KLBTMXVcjs.useAccordion; exports.useAccordionItem = _chunk7KLBTMXVcjs.useAccordionItem;
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
accordionRecipe,
|
|
10
10
|
useAccordion,
|
|
11
11
|
useAccordionItem
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-GJSFKH4L.js";
|
|
13
|
+
import "../../chunk-64MXEVT3.js";
|
|
13
14
|
import "../../chunk-FHUYHV6J.js";
|
|
14
15
|
import "../../chunk-F6W3JQ7K.js";
|
|
15
16
|
import "../../chunk-LIUO6D3D.js";
|
|
@@ -115,7 +115,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react_native.ViewProps
|
|
|
115
115
|
asChild?: boolean;
|
|
116
116
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
117
117
|
children?: react.ReactNode;
|
|
118
|
-
} & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "size" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "variant" | "radius" | "asChild" | "
|
|
118
|
+
} & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "size" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "variant" | "radius" | "asChild" | "placement" | "isDot"> & react.RefAttributes<View>>;
|
|
119
119
|
|
|
120
120
|
declare const badgeRecipe: Recipe<"label" | "root", BadgeVariant, {
|
|
121
121
|
readonly size: {
|
|
@@ -115,7 +115,7 @@ declare const Badge: react.ForwardRefExoticComponent<Omit<react_native.ViewProps
|
|
|
115
115
|
asChild?: boolean;
|
|
116
116
|
style?: react_native.StyleProp<react_native.ViewStyle>;
|
|
117
117
|
children?: react.ReactNode;
|
|
118
|
-
} & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "size" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "variant" | "radius" | "asChild" | "
|
|
118
|
+
} & Omit<ViewStyleProps, "color" | "pointerEvents" | "style" | "children" | "size" | "hitSlop" | "id" | "needsOffscreenAlphaCompositing" | "onLayout" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "onBlur" | "onFocus" | "renderToHardwareTextureAndroid" | "focusable" | "tabIndex" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "screenReaderFocusable" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "accessibilityRespondsToUserInteraction" | "variant" | "radius" | "asChild" | "placement" | "isDot"> & react.RefAttributes<View>>;
|
|
119
119
|
|
|
120
120
|
declare const badgeRecipe: Recipe<"label" | "root", BadgeVariant, {
|
|
121
121
|
readonly size: {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk37L7YGZVcjs = require('../../chunk-37L7YGZV.cjs');
|
|
13
|
+
require('../../chunk-LUPCPLND.cjs');
|
|
14
|
+
require('../../chunk-WDDXU3OH.cjs');
|
|
15
|
+
require('../../chunk-EKS3W46M.cjs');
|
|
16
|
+
require('../../chunk-WFEMJCXO.cjs');
|
|
17
|
+
require('../../chunk-7EIHHOHP.cjs');
|
|
18
|
+
require('../../chunk-TGMVEHV7.cjs');
|
|
19
|
+
require('../../chunk-7DPL3ZDS.cjs');
|
|
20
|
+
require('../../chunk-EJQCQPET.cjs');
|
|
21
|
+
require('../../chunk-7GHM4GKL.cjs');
|
|
22
|
+
require('../../chunk-H4E4HDEP.cjs');
|
|
23
|
+
require('../../chunk-FNEUOBCV.cjs');
|
|
24
|
+
require('../../chunk-57SJ4LJF.cjs');
|
|
25
|
+
require('../../chunk-TK44VBIE.cjs');
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
exports.Popover = _chunk37L7YGZVcjs.Popover2; exports.PopoverClose = _chunk37L7YGZVcjs.PopoverClose; exports.PopoverContent = _chunk37L7YGZVcjs.PopoverContent; exports.PopoverDescription = _chunk37L7YGZVcjs.PopoverDescription; exports.PopoverOverlay = _chunk37L7YGZVcjs.PopoverOverlay; exports.PopoverRoot = _chunk37L7YGZVcjs.Popover; exports.PopoverTitle = _chunk37L7YGZVcjs.PopoverTitle; exports.PopoverTrigger = _chunk37L7YGZVcjs.PopoverTrigger; exports.popoverRecipe = _chunk37L7YGZVcjs.popoverRecipe; exports.usePopover = _chunk37L7YGZVcjs.usePopover;
|