@tamagui/toast 1.70.0 → 1.71.0
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/cjs/Toast.js +4 -4
- package/dist/cjs/Toast.js.map +1 -1
- package/dist/cjs/Toast.native.js +4 -4
- package/dist/cjs/Toast.native.js.map +1 -1
- package/dist/cjs/ToastAnnounce.js +14 -16
- package/dist/cjs/ToastAnnounce.js.map +1 -1
- package/dist/cjs/ToastAnnounce.native.js +14 -16
- package/dist/cjs/ToastAnnounce.native.js.map +1 -1
- package/dist/cjs/ToastImpl.js +9 -9
- package/dist/cjs/ToastImpl.js.map +1 -1
- package/dist/cjs/ToastImpl.native.js +9 -9
- package/dist/cjs/ToastImpl.native.js.map +1 -1
- package/dist/cjs/ToastProvider.js +3 -9
- package/dist/cjs/ToastProvider.js.map +1 -1
- package/dist/cjs/ToastProvider.native.js +3 -9
- package/dist/cjs/ToastProvider.native.js.map +1 -1
- package/dist/cjs/ToastViewport.js +6 -4
- package/dist/cjs/ToastViewport.js.map +1 -1
- package/dist/cjs/ToastViewport.native.js +6 -4
- package/dist/cjs/ToastViewport.native.js.map +1 -1
- package/dist/esm/Toast.js +4 -7
- package/dist/esm/Toast.js.map +1 -1
- package/dist/esm/ToastAnnounce.js +13 -16
- package/dist/esm/ToastAnnounce.js.map +1 -1
- package/dist/esm/ToastImpl.js +10 -9
- package/dist/esm/ToastImpl.js.map +1 -1
- package/dist/esm/ToastProvider.js +4 -7
- package/dist/esm/ToastProvider.js.map +1 -1
- package/dist/esm/ToastViewport.js +6 -3
- package/dist/esm/ToastViewport.js.map +1 -1
- package/dist/jsx/Toast.js +4 -7
- package/dist/jsx/Toast.js.map +1 -1
- package/dist/jsx/Toast.native.js +4 -7
- package/dist/jsx/Toast.native.js.map +1 -1
- package/dist/jsx/ToastAnnounce.js +10 -13
- package/dist/jsx/ToastAnnounce.js.map +1 -1
- package/dist/jsx/ToastAnnounce.native.js +10 -13
- package/dist/jsx/ToastAnnounce.native.js.map +1 -1
- package/dist/jsx/ToastImpl.js +10 -9
- package/dist/jsx/ToastImpl.js.map +1 -1
- package/dist/jsx/ToastImpl.native.js +10 -9
- package/dist/jsx/ToastImpl.native.js.map +1 -1
- package/dist/jsx/ToastProvider.js +4 -7
- package/dist/jsx/ToastProvider.js.map +1 -1
- package/dist/jsx/ToastProvider.native.js +4 -7
- package/dist/jsx/ToastProvider.native.js.map +1 -1
- package/dist/jsx/ToastViewport.js +6 -3
- package/dist/jsx/ToastViewport.js.map +1 -1
- package/dist/jsx/ToastViewport.native.js +6 -3
- package/dist/jsx/ToastViewport.native.js.map +1 -1
- package/package.json +13 -13
- package/src/Toast.tsx +5 -10
- package/src/ToastAnnounce.tsx +16 -16
- package/src/ToastImpl.tsx +10 -9
- package/src/ToastProvider.tsx +13 -20
- package/src/ToastViewport.tsx +8 -5
- package/types/Toast.d.ts +10 -3
- package/types/Toast.d.ts.map +1 -1
- package/types/ToastAnnounce.d.ts +5 -1
- package/types/ToastAnnounce.d.ts.map +1 -1
- package/types/ToastImpl.d.ts +1 -8
- package/types/ToastImpl.d.ts.map +1 -1
- package/types/ToastProvider.d.ts +10 -21
- package/types/ToastProvider.d.ts.map +1 -1
- package/types/ToastViewport.d.ts +2 -0
- package/types/ToastViewport.d.ts.map +1 -1
package/src/ToastImpl.tsx
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
TamaguiElement,
|
|
6
6
|
Theme,
|
|
7
7
|
composeEventHandlers,
|
|
8
|
+
createStyledContext,
|
|
8
9
|
isWeb,
|
|
9
10
|
styled,
|
|
10
11
|
useAnimationDriver,
|
|
@@ -23,12 +24,12 @@ import {
|
|
|
23
24
|
} from 'react-native'
|
|
24
25
|
|
|
25
26
|
import { TOAST_NAME } from './constants'
|
|
27
|
+
import { TOAST_CONTEXT } from './Toast'
|
|
26
28
|
import { ToastAnnounce } from './ToastAnnounce'
|
|
27
29
|
import {
|
|
28
30
|
Collection,
|
|
29
31
|
ScopedProps,
|
|
30
32
|
SwipeDirection,
|
|
31
|
-
createToastContext,
|
|
32
33
|
useToastProviderContext,
|
|
33
34
|
} from './ToastProvider'
|
|
34
35
|
import { VIEWPORT_PAUSE, VIEWPORT_RESUME } from './ToastViewport'
|
|
@@ -79,12 +80,12 @@ interface ToastProps extends Omit<ToastImplProps, keyof ToastImplPrivateProps> {
|
|
|
79
80
|
|
|
80
81
|
type SwipeEvent = GestureResponderEvent
|
|
81
82
|
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
)
|
|
83
|
+
const {
|
|
84
|
+
Provider: ToastInteractiveProvider,
|
|
85
|
+
useStyledContext: useToastInteractiveContext,
|
|
86
|
+
} = createStyledContext({
|
|
87
|
+
onClose() {},
|
|
88
|
+
})
|
|
88
89
|
|
|
89
90
|
type ToastImplPrivateProps = { open: boolean; onClose(): void }
|
|
90
91
|
type ToastImplFrameProps = GetProps<typeof ToastImplFrame>
|
|
@@ -162,7 +163,7 @@ const ToastImpl = React.forwardRef<TamaguiElement, ToastImplProps>(
|
|
|
162
163
|
...toastProps
|
|
163
164
|
} = props
|
|
164
165
|
const isPresent = useIsPresent()
|
|
165
|
-
const context = useToastProviderContext(
|
|
166
|
+
const context = useToastProviderContext(__scopeToast)
|
|
166
167
|
const [node, setNode] = React.useState<TamaguiElement | null>(null)
|
|
167
168
|
const composedRefs = useComposedRefs(forwardedRef, (node) => setNode(node))
|
|
168
169
|
const duration = durationProp || context.duration
|
|
@@ -346,7 +347,7 @@ const ToastImpl = React.forwardRef<TamaguiElement, ToastImplProps>(
|
|
|
346
347
|
{...panResponder?.panHandlers}
|
|
347
348
|
style={[{ margin: 'auto' }, animatedStyles]}
|
|
348
349
|
>
|
|
349
|
-
<Collection.ItemSlot
|
|
350
|
+
<Collection.ItemSlot __scopeCollection={__scopeToast || TOAST_CONTEXT}>
|
|
350
351
|
<ToastImplFrame
|
|
351
352
|
// Ensure toasts are announced as status list or status when focused
|
|
352
353
|
role="status"
|
package/src/ToastProvider.tsx
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { createCollection } from '@tamagui/collection'
|
|
2
|
-
import { NativeValue, TamaguiElement } from '@tamagui/core'
|
|
3
|
-
import type { Scope } from '@tamagui/create-context'
|
|
4
|
-
import { createContextScope } from '@tamagui/create-context'
|
|
2
|
+
import { NativeValue, TamaguiElement, createStyledContext } from '@tamagui/core'
|
|
5
3
|
import * as React from 'react'
|
|
6
4
|
|
|
5
|
+
import { TOAST_CONTEXT } from './Toast'
|
|
7
6
|
import { ToastImperativeProvider } from './ToastImperative'
|
|
8
7
|
import { BurntToastOptions } from './types'
|
|
9
8
|
|
|
@@ -13,8 +12,7 @@ import { BurntToastOptions } from './types'
|
|
|
13
12
|
|
|
14
13
|
const PROVIDER_NAME = 'ToastProvider'
|
|
15
14
|
|
|
16
|
-
const [Collection, useCollection
|
|
17
|
-
createCollection<TamaguiElement>('Toast')
|
|
15
|
+
const [Collection, useCollection] = createCollection<TamaguiElement>('Toast')
|
|
18
16
|
|
|
19
17
|
export type SwipeDirection = 'vertical' | 'up' | 'down' | 'horizontal' | 'left' | 'right'
|
|
20
18
|
|
|
@@ -33,13 +31,15 @@ type ToastProviderContextValue = {
|
|
|
33
31
|
isClosePausedRef: React.MutableRefObject<boolean>
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
type ScopedProps<P> = P & { __scopeToast?:
|
|
37
|
-
const [createToastContext, createToastScope] = createContextScope('Toast', [
|
|
38
|
-
|
|
39
|
-
])
|
|
40
|
-
const [ToastProviderProvider, useToastProviderContext] =
|
|
41
|
-
|
|
34
|
+
type ScopedProps<P> = P & { __scopeToast?: string }
|
|
35
|
+
// const [createToastContext, createToastScope] = createContextScope('Toast', [
|
|
36
|
+
// createCollectionScope,
|
|
37
|
+
// ])
|
|
38
|
+
// const [ToastProviderProvider, useToastProviderContext] =
|
|
39
|
+
// createToastContext<ToastProviderContextValue>(PROVIDER_NAME)
|
|
42
40
|
|
|
41
|
+
const { Provider: ToastProviderProvider, useStyledContext: useToastProviderContext } =
|
|
42
|
+
createStyledContext<ToastProviderContextValue>()
|
|
43
43
|
interface ToastProviderProps {
|
|
44
44
|
children?: React.ReactNode
|
|
45
45
|
/**
|
|
@@ -124,7 +124,7 @@ const ToastProvider: React.FC<ToastProviderProps> = (
|
|
|
124
124
|
}, [JSON.stringify([duration, burntOptions, native, notificationOptions])])
|
|
125
125
|
|
|
126
126
|
return (
|
|
127
|
-
<Collection.Provider
|
|
127
|
+
<Collection.Provider __scopeCollection={__scopeToast || TOAST_CONTEXT}>
|
|
128
128
|
<ToastProviderProvider
|
|
129
129
|
scope={__scopeToast}
|
|
130
130
|
id={id}
|
|
@@ -162,12 +162,5 @@ ToastProvider.propTypes = {
|
|
|
162
162
|
|
|
163
163
|
ToastProvider.displayName = PROVIDER_NAME
|
|
164
164
|
|
|
165
|
-
export {
|
|
166
|
-
Collection,
|
|
167
|
-
ToastProvider,
|
|
168
|
-
createToastContext,
|
|
169
|
-
createToastScope,
|
|
170
|
-
useCollection,
|
|
171
|
-
useToastProviderContext,
|
|
172
|
-
}
|
|
165
|
+
export { Collection, ToastProvider, useCollection, useToastProviderContext }
|
|
173
166
|
export type { ScopedProps, ToastProviderProps }
|
package/src/ToastViewport.tsx
CHANGED
|
@@ -6,6 +6,7 @@ import { YStack } from '@tamagui/stacks'
|
|
|
6
6
|
import { VisuallyHidden } from '@tamagui/visually-hidden'
|
|
7
7
|
import * as React from 'react'
|
|
8
8
|
|
|
9
|
+
import { TOAST_CONTEXT } from './Toast'
|
|
9
10
|
import {
|
|
10
11
|
Collection,
|
|
11
12
|
ScopedProps,
|
|
@@ -83,7 +84,7 @@ type ToastViewportProps = ToastViewportFrameProps & {
|
|
|
83
84
|
multipleToasts?: boolean
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
const ToastViewport = React.forwardRef<HTMLDivElement, ToastViewportProps
|
|
87
|
+
const ToastViewport = React.forwardRef<HTMLDivElement, ScopedProps<ToastViewportProps>>(
|
|
87
88
|
(props: ScopedProps<ToastViewportProps>, forwardedRef) => {
|
|
88
89
|
const {
|
|
89
90
|
__scopeToast,
|
|
@@ -93,8 +94,8 @@ const ToastViewport = React.forwardRef<HTMLDivElement, ToastViewportProps>(
|
|
|
93
94
|
multipleToasts,
|
|
94
95
|
...viewportProps
|
|
95
96
|
} = props
|
|
96
|
-
const context = useToastProviderContext(
|
|
97
|
-
const getItems = useCollection(__scopeToast)
|
|
97
|
+
const context = useToastProviderContext(__scopeToast)
|
|
98
|
+
const getItems = useCollection(__scopeToast || TOAST_CONTEXT)
|
|
98
99
|
const headFocusProxyRef = React.useRef<FocusProxyElement>(null)
|
|
99
100
|
const tailFocusProxyRef = React.useRef<FocusProxyElement>(null)
|
|
100
101
|
const wrapperRef = React.useRef<HTMLDivElement>(null)
|
|
@@ -262,6 +263,7 @@ const ToastViewport = React.forwardRef<HTMLDivElement, ToastViewportProps>(
|
|
|
262
263
|
>
|
|
263
264
|
{hasToasts && (
|
|
264
265
|
<FocusProxy
|
|
266
|
+
__scopeToast={__scopeToast}
|
|
265
267
|
viewportName={name}
|
|
266
268
|
ref={headFocusProxyRef}
|
|
267
269
|
onFocusFromOutsideViewport={() => {
|
|
@@ -276,7 +278,7 @@ const ToastViewport = React.forwardRef<HTMLDivElement, ToastViewportProps>(
|
|
|
276
278
|
* tabindex on the the list so that it can be focused when items are removed. we focus
|
|
277
279
|
* the list instead of the viewport so it announces number of items remaining.
|
|
278
280
|
*/}
|
|
279
|
-
<Collection.Slot
|
|
281
|
+
<Collection.Slot __scopeCollection={__scopeToast || TOAST_CONTEXT}>
|
|
280
282
|
<ToastViewportFrame
|
|
281
283
|
focusable={context.toastCount > 0}
|
|
282
284
|
ref={composedRefs}
|
|
@@ -294,6 +296,7 @@ const ToastViewport = React.forwardRef<HTMLDivElement, ToastViewportProps>(
|
|
|
294
296
|
</Collection.Slot>
|
|
295
297
|
{hasToasts && (
|
|
296
298
|
<FocusProxy
|
|
299
|
+
__scopeToast={__scopeToast}
|
|
297
300
|
viewportName={name}
|
|
298
301
|
ref={tailFocusProxyRef}
|
|
299
302
|
onFocusFromOutsideViewport={() => {
|
|
@@ -326,7 +329,7 @@ const FocusProxy = React.forwardRef<FocusProxyElement, ScopedProps<FocusProxyPro
|
|
|
326
329
|
(props, forwardedRef) => {
|
|
327
330
|
const { __scopeToast, onFocusFromOutsideViewport, viewportName, ...proxyProps } =
|
|
328
331
|
props
|
|
329
|
-
const context = useToastProviderContext(
|
|
332
|
+
const context = useToastProviderContext(__scopeToast)
|
|
330
333
|
const viewport = context.viewports[viewportName] as HTMLElement
|
|
331
334
|
|
|
332
335
|
return (
|
package/types/Toast.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import { GetProps, NativePlatform, NativeValue, TamaguiElement } from '@tamagui/
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { CustomData, useToast, useToastController, useToastState } from './ToastImperative';
|
|
4
4
|
import { ToastProps } from './ToastImpl';
|
|
5
|
-
import { ToastProvider, ToastProviderProps
|
|
5
|
+
import { ToastProvider, ToastProviderProps } from './ToastProvider';
|
|
6
6
|
import { ToastViewport, ToastViewportProps } from './ToastViewport';
|
|
7
|
+
export declare const TOAST_CONTEXT = "Toast";
|
|
7
8
|
declare const ToastTitle: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
8
9
|
style?: import("@tamagui/core").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
9
10
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
@@ -243,7 +244,9 @@ declare const ToastCloseFrame: import("@tamagui/core").TamaguiComponent<(Omit<im
|
|
|
243
244
|
}>;
|
|
244
245
|
type ToastCloseFrameProps = GetProps<typeof ToastCloseFrame>;
|
|
245
246
|
type ToastCloseProps = ToastCloseFrameProps & {};
|
|
246
|
-
declare const Toast: ((props: Omit<ToastProps &
|
|
247
|
+
declare const Toast: ((props: Omit<ToastProps & {
|
|
248
|
+
__scopeToast?: string | undefined;
|
|
249
|
+
} & React.RefAttributes<TamaguiElement>, "theme" | "themeInverse"> & import("@tamagui/core").ThemeableProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null) & {
|
|
247
250
|
Title: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/core").ExtendBaseTextProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
248
251
|
style?: import("@tamagui/core").StyleProp<import("react-native").TextStyle | React.CSSProperties | (React.CSSProperties & import("react-native").TextStyle)>;
|
|
249
252
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
@@ -375,6 +378,8 @@ declare const Toast: ((props: Omit<ToastProps & React.RefAttributes<TamaguiEleme
|
|
|
375
378
|
* @example <ToastAction altText="Undo (Alt+U)">Undo</ToastAction>
|
|
376
379
|
*/
|
|
377
380
|
altText: string;
|
|
381
|
+
} & {
|
|
382
|
+
__scopeToast?: string | undefined;
|
|
378
383
|
}) | Omit<Omit<import("react-native").ViewProps, "children" | "style" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
379
384
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
380
385
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{
|
|
@@ -440,6 +445,8 @@ declare const Toast: ((props: Omit<ToastProps & React.RefAttributes<TamaguiEleme
|
|
|
440
445
|
* @example <ToastAction altText="Undo (Alt+U)">Undo</ToastAction>
|
|
441
446
|
*/
|
|
442
447
|
altText: string;
|
|
448
|
+
} & {
|
|
449
|
+
__scopeToast?: string | undefined;
|
|
443
450
|
}, "ref">) & React.RefAttributes<TamaguiElement>>;
|
|
444
451
|
Close: React.ForwardRefExoticComponent<((Omit<import("react-native").ViewProps, "children" | "style" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
445
452
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
@@ -551,6 +558,6 @@ declare const Toast: ((props: Omit<ToastProps & React.RefAttributes<TamaguiEleme
|
|
|
551
558
|
[x: string]: undefined;
|
|
552
559
|
}>>, "ref">) & React.RefAttributes<TamaguiElement>>;
|
|
553
560
|
};
|
|
554
|
-
export { Toast, ToastProvider, ToastViewport,
|
|
561
|
+
export { Toast, ToastProvider, ToastViewport, useToast, useToastController, useToastState, };
|
|
555
562
|
export type { CustomData, ToastActionProps, ToastCloseProps, ToastDescriptionProps, NativePlatform as ToastNativePlatform, NativeValue as ToastNativeValue, ToastProps, ToastProviderProps, ToastTitleProps, ToastViewportProps, };
|
|
556
563
|
//# sourceMappingURL=Toast.d.ts.map
|
package/types/Toast.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../src/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,WAAW,EACX,cAAc,EAMf,MAAM,eAAe,CAAA;AAItB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,aAAa,EACd,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAGL,UAAU,EAEX,MAAM,aAAa,CAAA;AACpB,OAAO,
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../src/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,cAAc,EACd,WAAW,EACX,cAAc,EAMf,MAAM,eAAe,CAAA;AAItB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EACL,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,aAAa,EACd,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAGL,UAAU,EAEX,MAAM,aAAa,CAAA;AACpB,OAAO,EAAe,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAChF,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,aAAa,UAAU,CAAA;AAOpC,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAad,CAAA;AAEF,KAAK,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAUlD,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAepB,CAAA;AAEF,KAAK,qBAAqB,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAU9D,KAAK,gBAAgB,GAAG,eAAe,GAAG;IACxC;;;;;OAKG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AA+BD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnB,CAAA;AACF,KAAK,oBAAoB,GAAG,QAAQ,CAAC,OAAO,eAAe,CAAC,CAAA;AAC5D,KAAK,eAAe,GAAG,oBAAoB,GAAG,EAAE,CAAA;AA8DhD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAzGT;;;;;WAKG;iBACM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QANf;;;;;WAKG;iBACM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2GhB,CAAA;AAID,OAAO,EACL,KAAK,EACL,aAAa,EACb,aAAa,EAGb,QAAQ,EACR,kBAAkB,EAClB,aAAa,GACd,CAAA;AACD,YAAY,EAEV,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,cAAc,IAAI,mBAAmB,EAErC,WAAW,IAAI,gBAAgB,EAC/B,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,kBAAkB,GACnB,CAAA"}
|
package/types/ToastAnnounce.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ declare const ToastAnnounceExclude: React.ForwardRefExoticComponent<((Omit<impor
|
|
|
35
35
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
36
36
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>> & import("@tamagui/core").MediaProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>> & import("@tamagui/core").RNViewProps & {
|
|
37
37
|
altText?: string | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
__scopeToast?: string | undefined;
|
|
38
40
|
}) | Omit<Omit<import("react-native").ViewProps, "children" | "style" | "display" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & {
|
|
39
41
|
style?: import("@tamagui/core").StyleProp<import("react-native").ViewStyle | React.CSSProperties | (React.CSSProperties & import("react-native").ViewStyle)>;
|
|
40
42
|
} & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").RNViewProps & Omit<{}, string | number> & {
|
|
@@ -49,11 +51,13 @@ declare const ToastAnnounceExclude: React.ForwardRefExoticComponent<((Omit<impor
|
|
|
49
51
|
[x: string]: undefined;
|
|
50
52
|
}>> & {
|
|
51
53
|
altText?: string | undefined;
|
|
54
|
+
} & {
|
|
55
|
+
__scopeToast?: string | undefined;
|
|
52
56
|
}, "ref">) & React.RefAttributes<TamaguiElement>>;
|
|
53
57
|
interface ToastAnnounceProps extends Omit<GetProps<typeof VisuallyHidden>, 'children'>, ScopedProps<{
|
|
54
58
|
children: string[];
|
|
55
59
|
}> {
|
|
56
60
|
}
|
|
57
|
-
declare const ToastAnnounce: React.FC<ToastAnnounceProps
|
|
61
|
+
declare const ToastAnnounce: React.FC<ScopedProps<ToastAnnounceProps>>;
|
|
58
62
|
export { ToastAnnounce, ToastAnnounceProps, ToastAnnounceExclude, ToastAnnounceExcludeProps, };
|
|
59
63
|
//# sourceMappingURL=ToastAnnounce.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastAnnounce.d.ts","sourceRoot":"","sources":["../src/ToastAnnounce.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,cAAc,EAKf,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ToastAnnounce.d.ts","sourceRoot":"","sources":["../src/ToastAnnounce.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,cAAc,EAKf,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,WAAW,EAA2B,MAAM,iBAAiB,CAAA;AAEtE,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;EAE7B,CAAA;AACF,KAAK,8BAA8B,GAAG,QAAQ,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAChF,KAAK,yBAAyB,GAAG,8BAA8B,GAAG;IAChE,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;iDAcxB,CAAA;AAIF,UAAU,kBACR,SAAQ,IAAI,CAAC,QAAQ,CAAC,OAAO,cAAc,CAAC,EAAE,UAAU,CAAC,EACvD,WAAW,CAAC;IAAE,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;CAAG;AAE1C,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,kBAAkB,CAAC,CA4B5D,CAAA;AAmBD,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,yBAAyB,GAC1B,CAAA"}
|
package/types/ToastImpl.d.ts
CHANGED
|
@@ -125,14 +125,7 @@ interface ToastProps extends Omit<ToastImplProps, keyof ToastImplPrivateProps> {
|
|
|
125
125
|
forceMount?: true;
|
|
126
126
|
}
|
|
127
127
|
type SwipeEvent = GestureResponderEvent;
|
|
128
|
-
declare const useToastInteractiveContext: (
|
|
129
|
-
onClose(): void;
|
|
130
|
-
} | undefined>, options?: {
|
|
131
|
-
warn?: boolean | undefined;
|
|
132
|
-
fallback?: Partial<{
|
|
133
|
-
onClose(): void;
|
|
134
|
-
}> | undefined;
|
|
135
|
-
} | undefined) => {
|
|
128
|
+
declare const useToastInteractiveContext: (scope?: string | undefined) => {
|
|
136
129
|
onClose(): void;
|
|
137
130
|
};
|
|
138
131
|
type ToastImplPrivateProps = {
|
package/types/ToastImpl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastImpl.d.ts","sourceRoot":"","sources":["../src/ToastImpl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,cAAc,
|
|
1
|
+
{"version":3,"file":"ToastImpl.d.ts","sourceRoot":"","sources":["../src/ToastImpl.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,cAAc,EASf,MAAM,eAAe,CAAA;AACtB,OAAO,EAAe,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAEL,qBAAqB,EAGtB,MAAM,cAAc,CAAA;AAarB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBlB,CAAA;AACF,UAAU,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,MAAM,qBAAqB,CAAC;IAC5E;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,YAAY,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;IAClC;;;OAGG;IACH,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB;AAED,KAAK,UAAU,GAAG,qBAAqB,CAAA;AAEvC,QAAA,MAEoB,0BAA0B;;CAG5C,CAAA;AAEF,KAAK,qBAAqB,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,OAAO,IAAI,IAAI,CAAA;CAAE,CAAA;AAC/D,KAAK,mBAAmB,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAC1D,KAAK,cAAc,GAAG,qBAAqB,GACzC,mBAAmB,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,YAAY,CAAA;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAA;IACrD;;;;OAIG;IACH,OAAO,CAAC,IAAI,IAAI,CAAA;IAChB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,IAAI,CAAA;IACjB;;OAEG;IACH,YAAY,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IACtC;;OAEG;IACH,WAAW,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IACrC;;OAEG;IACH,aAAa,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IACvC;;OAEG;IACH,UAAU,CAAC,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAA;IACpC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ,CAAA;AAEH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IArDX;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;sBACe,gBAAgB,CAAC,iBAAiB,CAAC;IACrD;;;;OAIG;gBACS,IAAI;IAChB;;;;OAIG;iBACU,IAAI;IACjB;;OAEG;yBACkB,UAAU,GAAG,IAAI;IACtC;;OAEG;wBACiB,UAAU,GAAG,IAAI;IACrC;;OAEG;0BACmB,UAAU,GAAG,IAAI;IACvC;;OAEG;uBACgB,UAAU,GAAG,IAAI;IACpC;;;;OAIG;;IAEH;;OAEG;;wCAoPN,CAAA;AAoGD,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,0BAA0B,EAAE,CAAA;AAChF,YAAY,EAAE,UAAU,EAAE,CAAA"}
|
package/types/ToastProvider.d.ts
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { NativeValue, TamaguiElement } from '@tamagui/core';
|
|
2
|
-
import type { Scope } from '@tamagui/create-context';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import { BurntToastOptions } from './types';
|
|
5
4
|
declare const Collection: {
|
|
6
5
|
readonly Provider: React.FC<{
|
|
7
6
|
children?: React.ReactNode;
|
|
8
|
-
|
|
7
|
+
__scopeCollection: string;
|
|
9
8
|
}>;
|
|
10
|
-
readonly Slot: React.ForwardRefExoticComponent<import("@tamagui/collection/types/Collection").CollectionProps &
|
|
9
|
+
readonly Slot: React.ForwardRefExoticComponent<import("@tamagui/collection/types/Collection").CollectionProps & {
|
|
10
|
+
__scopeCollection?: string | undefined;
|
|
11
|
+
} & React.RefAttributes<TamaguiElement>>;
|
|
11
12
|
readonly ItemSlot: React.ForwardRefExoticComponent<{
|
|
12
13
|
children: React.ReactNode;
|
|
13
|
-
|
|
14
|
+
} & {
|
|
15
|
+
__scopeCollection?: string | undefined;
|
|
14
16
|
} & React.RefAttributes<TamaguiElement>>;
|
|
15
|
-
}, useCollection: (
|
|
17
|
+
}, useCollection: (__scopeCollection: any) => () => {
|
|
16
18
|
ref: React.RefObject<TamaguiElement>;
|
|
17
19
|
}[];
|
|
18
20
|
export type SwipeDirection = 'vertical' | 'up' | 'down' | 'horizontal' | 'left' | 'right';
|
|
@@ -31,22 +33,9 @@ type ToastProviderContextValue = {
|
|
|
31
33
|
isClosePausedRef: React.MutableRefObject<boolean>;
|
|
32
34
|
};
|
|
33
35
|
type ScopedProps<P> = P & {
|
|
34
|
-
__scopeToast?:
|
|
36
|
+
__scopeToast?: string;
|
|
35
37
|
};
|
|
36
|
-
declare const
|
|
37
|
-
(props: ContextValueType & {
|
|
38
|
-
scope: Scope<ContextValueType>;
|
|
39
|
-
children: React.ReactNode;
|
|
40
|
-
}): JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
}, (consumerName: string, scope: Scope<ContextValueType | undefined>, options?: {
|
|
43
|
-
warn?: boolean | undefined;
|
|
44
|
-
fallback?: Partial<ContextValueType> | undefined;
|
|
45
|
-
} | undefined) => ContextValueType], createToastScope: import("@tamagui/create-context").CreateScope;
|
|
46
|
-
declare const useToastProviderContext: (consumerName: string, scope: Scope<ToastProviderContextValue | undefined>, options?: {
|
|
47
|
-
warn?: boolean | undefined;
|
|
48
|
-
fallback?: Partial<ToastProviderContextValue> | undefined;
|
|
49
|
-
} | undefined) => ToastProviderContextValue;
|
|
38
|
+
declare const useToastProviderContext: (scope?: string | undefined) => ToastProviderContextValue;
|
|
50
39
|
interface ToastProviderProps {
|
|
51
40
|
children?: React.ReactNode;
|
|
52
41
|
/**
|
|
@@ -89,6 +78,6 @@ interface ToastProviderProps {
|
|
|
89
78
|
notificationOptions?: NotificationOptions;
|
|
90
79
|
}
|
|
91
80
|
declare const ToastProvider: React.FC<ToastProviderProps>;
|
|
92
|
-
export { Collection, ToastProvider,
|
|
81
|
+
export { Collection, ToastProvider, useCollection, useToastProviderContext };
|
|
93
82
|
export type { ScopedProps, ToastProviderProps };
|
|
94
83
|
//# sourceMappingURL=ToastProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../src/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../src/ToastProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAuB,MAAM,eAAe,CAAA;AAChF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAQ3C,QAAA,MAAO,UAAU;;;;;;;;;;;;;GAAE,aAAa;;GAA6C,CAAA;AAE7E,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,IAAI,GAAG,MAAM,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAA;AAEzF,KAAK,yBAAyB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,cAAc,CAAA;IAC9B,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC,CAAA;IAChD,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;IAC9D,UAAU,IAAI,IAAI,CAAA;IAClB,aAAa,IAAI,IAAI,CAAA;IACrB,8BAA8B,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;IAC/D,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;CAClD,CAAA;AAED,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAOnD,QAAA,MAA2D,uBAAuB,2DAChC,CAAA;AAClD,UAAU,kBAAkB;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAA;IACX;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC,CAAA;IACxE;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;CAC1C;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAkE/C,CAAA;AAcD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,uBAAuB,EAAE,CAAA;AAC5E,YAAY,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAA"}
|
package/types/ToastViewport.d.ts
CHANGED
|
@@ -106,6 +106,8 @@ declare const ToastViewport: React.ForwardRefExoticComponent<Omit<import("react-
|
|
|
106
106
|
* Pass this when you want to have multiple/duplicated toasts.
|
|
107
107
|
*/
|
|
108
108
|
multipleToasts?: boolean | undefined;
|
|
109
|
+
} & {
|
|
110
|
+
__scopeToast?: string | undefined;
|
|
109
111
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
110
112
|
export { ToastViewport, ToastViewportProps, VIEWPORT_DEFAULT_HOTKEY, VIEWPORT_PAUSE, VIEWPORT_RESUME, };
|
|
111
113
|
//# sourceMappingURL=ToastViewport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToastViewport.d.ts","sourceRoot":"","sources":["../src/ToastViewport.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAiB,MAAM,eAAe,CAAA;AAIvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ToastViewport.d.ts","sourceRoot":"","sources":["../src/ToastViewport.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAiB,MAAM,eAAe,CAAA;AAIvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,QAAA,MAAM,uBAAuB,UAAS,CAAA;AACtC,QAAA,MAAM,cAAc,wBAAwB,CAAA;AAC5C,QAAA,MAAM,eAAe,yBAAyB,CAAA;AA0B9C,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBtB,CAAA;AAEF,KAAK,uBAAuB,GAAG,QAAQ,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAClE,KAAK,kBAAkB,GAAG,uBAAuB,GAAG;IAClD;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA;AAED,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IArBjB;;;OAGG;;IAEH;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;;;wCAsOJ,CAAA;AAsFD,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,eAAe,GAChB,CAAA"}
|