@tamagui/collapsible 1.0.1-beta.99 → 1.0.1-rc.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.
@@ -1,254 +1,248 @@
1
- import { useComposedRefs } from '@tamagui/compose-refs'
2
- import {
3
- Stack,
4
- StackProps,
5
- TamaguiElement,
6
- composeEventHandlers,
7
- useIsomorphicLayoutEffect,
8
- } from '@tamagui/core'
9
- import { useId } from '@tamagui/core'
10
- import { createContextScope } from '@tamagui/create-context'
11
- import type { Scope } from '@tamagui/create-context'
12
- // import { Presence } from '@tamagui/react-presence'
13
- import { useControllableState } from '@tamagui/use-controllable-state'
14
- import * as React from 'react'
15
-
16
- /* -------------------------------------------------------------------------------------------------
17
- * Collapsible
18
- * -----------------------------------------------------------------------------------------------*/
19
-
20
- const COLLAPSIBLE_NAME = 'Collapsible'
21
-
22
- type ScopedProps<P> = P & { __scopeCollapsible?: Scope }
23
- const [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME)
24
-
25
- type CollapsibleContextValue = {
26
- contentId: string
27
- disabled?: boolean
28
- open: boolean
29
- onOpenToggle(): void
30
- }
31
-
32
- const [CollapsibleProvider, useCollapsibleContext] =
33
- createCollapsibleContext<CollapsibleContextValue>(COLLAPSIBLE_NAME)
34
-
35
- type CollapsibleElement = TamaguiElement
36
- interface CollapsibleProps extends StackProps {
37
- defaultOpen?: boolean
38
- open?: boolean
39
- disabled?: boolean
40
- onOpenChange?(open: boolean): void
41
- }
42
-
43
- const Collapsible = React.forwardRef<CollapsibleElement, CollapsibleProps>(
44
- (props: ScopedProps<CollapsibleProps>, forwardedRef) => {
45
- const {
46
- __scopeCollapsible,
47
- open: openProp,
48
- defaultOpen,
49
- disabled,
50
- onOpenChange,
51
- ...collapsibleProps
52
- } = props
53
-
54
- const [open, setOpen] = useControllableState({
55
- prop: openProp,
56
- defaultProp: defaultOpen || false,
57
- onChange: onOpenChange,
58
- })
59
-
60
- return (
61
- <CollapsibleProvider
62
- scope={__scopeCollapsible}
63
- disabled={disabled}
64
- contentId={useId() || ''}
65
- open={open}
66
- onOpenToggle={React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen])}
67
- >
68
- <Stack
69
- data-state={getState(open)}
70
- data-disabled={disabled ? '' : undefined}
71
- {...collapsibleProps}
72
- // @ts-expect-error
73
- ref={forwardedRef}
74
- />
75
- </CollapsibleProvider>
76
- )
77
- }
78
- )
79
-
80
- Collapsible.displayName = COLLAPSIBLE_NAME
81
-
82
- /* -------------------------------------------------------------------------------------------------
83
- * CollapsibleTrigger
84
- * -----------------------------------------------------------------------------------------------*/
85
-
86
- const TRIGGER_NAME = 'CollapsibleTrigger'
87
-
88
- type CollapsibleTriggerElement = TamaguiElement
89
- interface CollapsibleTriggerProps extends StackProps {}
90
-
91
- const CollapsibleTrigger = React.forwardRef<CollapsibleTriggerElement, CollapsibleTriggerProps>(
92
- (props: ScopedProps<CollapsibleTriggerProps>, forwardedRef) => {
93
- const { __scopeCollapsible, ...triggerProps } = props
94
- const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible)
95
- return (
96
- <Stack
97
- type="button"
98
- aria-controls={context.contentId}
99
- aria-expanded={context.open || false}
100
- data-state={getState(context.open)}
101
- data-disabled={context.disabled ? '' : undefined}
102
- disabled={context.disabled}
103
- {...triggerProps}
104
- // @ts-expect-error
105
- ref={forwardedRef}
106
- onPress={composeEventHandlers(props.onPress, context.onOpenToggle)}
107
- />
108
- )
109
- }
110
- )
111
-
112
- CollapsibleTrigger.displayName = TRIGGER_NAME
113
-
114
- /* -------------------------------------------------------------------------------------------------
115
- * CollapsibleContent
116
- * -----------------------------------------------------------------------------------------------*/
117
-
118
- const CONTENT_NAME = 'CollapsibleContent'
119
-
120
- type CollapsibleContentElement = CollapsibleContentImplElement
121
- interface CollapsibleContentProps extends Omit<CollapsibleContentImplProps, 'present'> {
122
- /**
123
- * Used to force mounting when more control is needed. Useful when
124
- * controlling animation with React animation libraries.
125
- */
126
- forceMount?: true
127
- }
128
-
129
- const CollapsibleContent = React.forwardRef<CollapsibleContentElement, CollapsibleContentProps>(
130
- (props: ScopedProps<CollapsibleContentProps>, forwardedRef) => {
131
- const { forceMount, ...contentProps } = props
132
- const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible)
133
- return (
134
- // <Presence present={forceMount || context.open}>
135
- <>
136
- {({ present }) => (
137
- <CollapsibleContentImpl {...contentProps} ref={forwardedRef} present={present} />
138
- )}
139
- </>
140
- // </Presence>
141
- )
142
- }
143
- )
144
-
145
- CollapsibleContent.displayName = CONTENT_NAME
146
-
147
- /* -----------------------------------------------------------------------------------------------*/
148
-
149
- type CollapsibleContentImplElement = TamaguiElement
150
- interface CollapsibleContentImplProps extends StackProps {
151
- present: boolean
152
- }
153
-
154
- const CollapsibleContentImpl = React.forwardRef<
155
- CollapsibleContentImplElement,
156
- CollapsibleContentImplProps
157
- >((props: ScopedProps<CollapsibleContentImplProps>, forwardedRef) => {
158
- const { __scopeCollapsible, present, children, ...contentProps } = props
159
- const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible)
160
- const [isPresent, setIsPresent] = React.useState(present)
161
- const ref = React.useRef<CollapsibleContentImplElement>(null)
162
- const composedRefs = useComposedRefs(forwardedRef, ref)
163
- const heightRef = React.useRef<number | undefined>(0)
164
- const height = heightRef.current
165
- const widthRef = React.useRef<number | undefined>(0)
166
- const width = widthRef.current
167
- // when opening we want it to immediately open to retrieve dimensions
168
- // when closing we delay `present` to retrieve dimensions before closing
169
- const isOpen = context.open || isPresent
170
- const isMountAnimationPreventedRef = React.useRef(isOpen)
171
- const originalStylesRef = React.useRef<Record<string, string>>()
172
-
173
- React.useEffect(() => {
174
- const rAF = requestAnimationFrame(() => (isMountAnimationPreventedRef.current = false))
175
- return () => cancelAnimationFrame(rAF)
176
- }, [])
177
-
178
- // useIsomorphicLayoutEffect(() => {
179
- // const node = ref.current
180
- // if (node) {
181
- // originalStylesRef.current = originalStylesRef.current || {
182
- // transitionDuration: node.style.transitionDuration,
183
- // animationDuration: node.style.animationDuration,
184
- // animationFillMode: node.style.animationFillMode,
185
- // }
186
- // // block any animations/transitions so the element renders at its full dimensions
187
- // node.style.transitionDuration = '0s'
188
- // node.style.animationDuration = '0s'
189
- // node.style.animationFillMode = 'none'
190
-
191
- // // get width and height from full dimensions
192
- // const rect = node.getBoundingClientRect()
193
- // heightRef.current = rect.height
194
- // widthRef.current = rect.width
195
-
196
- // // kick off any animations/transitions that were originally set up if it isn't the initial mount
197
- // if (!isMountAnimationPreventedRef.current) {
198
- // node.style.transitionDuration = originalStylesRef.current.transitionDuration
199
- // node.style.animationDuration = originalStylesRef.current.animationDuration
200
- // node.style.animationFillMode = originalStylesRef.current.animationFillMode
201
- // }
202
-
203
- // setIsPresent(present)
204
- // }
205
- // /**
206
- // * depends on `context.open` because it will change to `false`
207
- // * when a close is triggered but `present` will be `false` on
208
- // * animation end (so when close finishes). This allows us to
209
- // * retrieve the dimensions *before* closing.
210
- // */
211
- // }, [context.open, present])
212
-
213
- return (
214
- <Stack
215
- data-state={getState(context.open)}
216
- data-disabled={context.disabled ? '' : undefined}
217
- id={context.contentId}
218
- hidden={!isOpen}
219
- {...contentProps}
220
- // @ts-expect-error
221
- ref={composedRefs}
222
- // style={{
223
- // [`--radix-collapsible-content-height` as any]: height ? `${height}px` : undefined,
224
- // [`--radix-collapsible-content-width` as any]: width ? `${width}px` : undefined,
225
- // ...props.style,
226
- // }}
227
- >
228
- {isOpen && children}
229
- </Stack>
230
- )
231
- })
232
-
233
- /* -----------------------------------------------------------------------------------------------*/
234
-
235
- function getState(open?: boolean) {
236
- return open ? 'open' : 'closed'
237
- }
238
-
239
- const Root = Collapsible
240
- const Trigger = CollapsibleTrigger
241
- const Content = CollapsibleContent
242
-
243
- export {
244
- createCollapsibleScope,
245
- //
246
- Collapsible,
247
- CollapsibleTrigger,
248
- CollapsibleContent,
249
- //
250
- Root,
251
- Trigger,
252
- Content,
253
- }
254
- export type { CollapsibleProps, CollapsibleTriggerProps, CollapsibleContentProps }
1
+ export const Collapsible = {}
2
+
3
+ // import { useComposedRefs } from '@tamagui/compose-refs'
4
+ // import { Stack, StackProps, TamaguiElement, composeEventHandlers, useId } from '@tamagui/core'
5
+ // import type { Scope } from '@tamagui/create-context'
6
+ // import { createContextScope } from '@tamagui/create-context'
7
+ // // import { Presence } from '@tamagui/react-presence'
8
+ // import { useControllableState } from '@tamagui/use-controllable-state'
9
+ // import * as React from 'react'
10
+
11
+ // /* -------------------------------------------------------------------------------------------------
12
+ // * Collapsible
13
+ // * -----------------------------------------------------------------------------------------------*/
14
+
15
+ // const COLLAPSIBLE_NAME = 'Collapsible'
16
+
17
+ // type ScopedProps<P> = P & { __scopeCollapsible?: Scope }
18
+ // const [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME)
19
+
20
+ // type CollapsibleContextValue = {
21
+ // contentId: string
22
+ // disabled?: boolean
23
+ // open: boolean
24
+ // onOpenToggle(): void
25
+ // }
26
+
27
+ // const [CollapsibleProvider, useCollapsibleContext] =
28
+ // createCollapsibleContext<CollapsibleContextValue>(COLLAPSIBLE_NAME)
29
+
30
+ // type CollapsibleElement = TamaguiElement
31
+ // interface CollapsibleProps extends StackProps {
32
+ // defaultOpen?: boolean
33
+ // open?: boolean
34
+ // disabled?: boolean
35
+ // onOpenChange?(open: boolean): void
36
+ // }
37
+
38
+ // const Collapsible = React.forwardRef<CollapsibleElement, CollapsibleProps>(
39
+ // (props: ScopedProps<CollapsibleProps>, forwardedRef) => {
40
+ // const {
41
+ // __scopeCollapsible,
42
+ // open: openProp,
43
+ // defaultOpen,
44
+ // disabled,
45
+ // onOpenChange,
46
+ // ...collapsibleProps
47
+ // } = props
48
+
49
+ // const [open, setOpen] = useControllableState({
50
+ // prop: openProp,
51
+ // defaultProp: defaultOpen || false,
52
+ // onChange: onOpenChange,
53
+ // })
54
+
55
+ // return (
56
+ // <CollapsibleProvider
57
+ // scope={__scopeCollapsible}
58
+ // disabled={disabled}
59
+ // contentId={useId() || ''}
60
+ // open={open}
61
+ // onOpenToggle={React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen])}
62
+ // >
63
+ // <Stack
64
+ // data-state={getState(open)}
65
+ // data-disabled={disabled ? '' : undefined}
66
+ // {...collapsibleProps}
67
+ // ref={forwardedRef}
68
+ // />
69
+ // </CollapsibleProvider>
70
+ // )
71
+ // }
72
+ // )
73
+
74
+ // Collapsible.displayName = COLLAPSIBLE_NAME
75
+
76
+ // /* -------------------------------------------------------------------------------------------------
77
+ // * CollapsibleTrigger
78
+ // * -----------------------------------------------------------------------------------------------*/
79
+
80
+ // const TRIGGER_NAME = 'CollapsibleTrigger'
81
+
82
+ // type CollapsibleTriggerElement = TamaguiElement
83
+ // interface CollapsibleTriggerProps extends StackProps {}
84
+
85
+ // const CollapsibleTrigger = React.forwardRef<CollapsibleTriggerElement, CollapsibleTriggerProps>(
86
+ // (props: ScopedProps<CollapsibleTriggerProps>, forwardedRef) => {
87
+ // const { __scopeCollapsible, ...triggerProps } = props
88
+ // const context = useCollapsibleContext(TRIGGER_NAME, __scopeCollapsible)
89
+ // return (
90
+ // <Stack
91
+ // type="button"
92
+ // aria-controls={context.contentId}
93
+ // aria-expanded={context.open || false}
94
+ // data-state={getState(context.open)}
95
+ // data-disabled={context.disabled ? '' : undefined}
96
+ // disabled={context.disabled}
97
+ // {...triggerProps}
98
+ // ref={forwardedRef}
99
+ // //
100
+ // // onPress={composeEventHandlers(props.onPress, context.onOpenToggle)}
101
+ // />
102
+ // )
103
+ // }
104
+ // )
105
+
106
+ // CollapsibleTrigger.displayName = TRIGGER_NAME
107
+
108
+ // /* -------------------------------------------------------------------------------------------------
109
+ // * CollapsibleContent
110
+ // * -----------------------------------------------------------------------------------------------*/
111
+
112
+ // const CONTENT_NAME = 'CollapsibleContent'
113
+
114
+ // type CollapsibleContentElement = CollapsibleContentImplElement
115
+ // interface CollapsibleContentProps extends Omit<CollapsibleContentImplProps, 'present'> {
116
+ // /**
117
+ // * Used to force mounting when more control is needed. Useful when
118
+ // * controlling animation with React animation libraries.
119
+ // */
120
+ // forceMount?: true
121
+ // }
122
+
123
+ // const CollapsibleContent = React.forwardRef<CollapsibleContentElement, CollapsibleContentProps>(
124
+ // (props: ScopedProps<CollapsibleContentProps>, forwardedRef) => {
125
+ // const { forceMount, ...contentProps } = props
126
+ // const context = useCollapsibleContext(CONTENT_NAME, props.__scopeCollapsible)
127
+ // return (
128
+ // // <Presence present={forceMount || context.open}>
129
+ // <>
130
+ // {({ present }) => (
131
+ // <CollapsibleContentImpl {...contentProps} ref={forwardedRef} present={present} />
132
+ // )}
133
+ // </>
134
+ // // </Presence>
135
+ // )
136
+ // }
137
+ // )
138
+
139
+ // CollapsibleContent.displayName = CONTENT_NAME
140
+
141
+ // /* -----------------------------------------------------------------------------------------------*/
142
+
143
+ // type CollapsibleContentImplElement = TamaguiElement
144
+ // interface CollapsibleContentImplProps extends StackProps {
145
+ // present: boolean
146
+ // }
147
+
148
+ // const CollapsibleContentImpl = React.forwardRef<
149
+ // CollapsibleContentImplElement,
150
+ // CollapsibleContentImplProps
151
+ // >((props: ScopedProps<CollapsibleContentImplProps>, forwardedRef) => {
152
+ // const { __scopeCollapsible, present, children, ...contentProps } = props
153
+ // const context = useCollapsibleContext(CONTENT_NAME, __scopeCollapsible)
154
+ // const [isPresent, setIsPresent] = React.useState(present)
155
+ // const ref = React.useRef<CollapsibleContentImplElement>(null)
156
+ // const composedRefs = useComposedRefs(forwardedRef, ref)
157
+ // const heightRef = React.useRef<number | undefined>(0)
158
+ // const height = heightRef.current
159
+ // const widthRef = React.useRef<number | undefined>(0)
160
+ // const width = widthRef.current
161
+ // // when opening we want it to immediately open to retrieve dimensions
162
+ // // when closing we delay `present` to retrieve dimensions before closing
163
+ // const isOpen = context.open || isPresent
164
+ // const isMountAnimationPreventedRef = React.useRef(isOpen)
165
+ // const originalStylesRef = React.useRef<Record<string, string>>()
166
+
167
+ // React.useEffect(() => {
168
+ // const rAF = requestAnimationFrame(() => (isMountAnimationPreventedRef.current = false))
169
+ // return () => cancelAnimationFrame(rAF)
170
+ // }, [])
171
+
172
+ // // useIsomorphicLayoutEffect(() => {
173
+ // // const node = ref.current
174
+ // // if (node) {
175
+ // // originalStylesRef.current = originalStylesRef.current || {
176
+ // // transitionDuration: node.style.transitionDuration,
177
+ // // animationDuration: node.style.animationDuration,
178
+ // // animationFillMode: node.style.animationFillMode,
179
+ // // }
180
+ // // // block any animations/transitions so the element renders at its full dimensions
181
+ // // node.style.transitionDuration = '0s'
182
+ // // node.style.animationDuration = '0s'
183
+ // // node.style.animationFillMode = 'none'
184
+
185
+ // // // get width and height from full dimensions
186
+ // // const rect = node.getBoundingClientRect()
187
+ // // heightRef.current = rect.height
188
+ // // widthRef.current = rect.width
189
+
190
+ // // // kick off any animations/transitions that were originally set up if it isn't the initial mount
191
+ // // if (!isMountAnimationPreventedRef.current) {
192
+ // // node.style.transitionDuration = originalStylesRef.current.transitionDuration
193
+ // // node.style.animationDuration = originalStylesRef.current.animationDuration
194
+ // // node.style.animationFillMode = originalStylesRef.current.animationFillMode
195
+ // // }
196
+
197
+ // // setIsPresent(present)
198
+ // // }
199
+ // // /**
200
+ // // * depends on `context.open` because it will change to `false`
201
+ // // * when a close is triggered but `present` will be `false` on
202
+ // // * animation end (so when close finishes). This allows us to
203
+ // // * retrieve the dimensions *before* closing.
204
+ // // */
205
+ // // }, [context.open, present])
206
+
207
+ // return (
208
+ // <Stack
209
+ // data-state={getState(context.open)}
210
+ // data-disabled={context.disabled ? '' : undefined}
211
+ // id={context.contentId}
212
+ // hidden={!isOpen}
213
+ // {...contentProps}
214
+ // // @ts-expect-error
215
+ // ref={composedRefs}
216
+ // // style={{
217
+ // // [`--radix-collapsible-content-height` as any]: height ? `${height}px` : undefined,
218
+ // // [`--radix-collapsible-content-width` as any]: width ? `${width}px` : undefined,
219
+ // // ...props.style,
220
+ // // }}
221
+ // >
222
+ // {isOpen && children}
223
+ // </Stack>
224
+ // )
225
+ // })
226
+
227
+ // /* -----------------------------------------------------------------------------------------------*/
228
+
229
+ // function getState(open?: boolean) {
230
+ // return open ? 'open' : 'closed'
231
+ // }
232
+
233
+ // const Root = Collapsible
234
+ // const Trigger = CollapsibleTrigger
235
+ // const Content = CollapsibleContent
236
+
237
+ // export {
238
+ // createCollapsibleScope,
239
+ // //
240
+ // Collapsible,
241
+ // CollapsibleTrigger,
242
+ // CollapsibleContent,
243
+ // //
244
+ // Root,
245
+ // Trigger,
246
+ // Content,
247
+ // }
248
+ // export type { CollapsibleProps, CollapsibleTriggerProps, CollapsibleContentProps }
@@ -1,26 +1,2 @@
1
- import { StackProps, TamaguiElement } from '@tamagui/core';
2
- import * as React from 'react';
3
- declare const createCollapsibleScope: import("@tamagui/create-context").CreateScope;
4
- interface CollapsibleProps extends StackProps {
5
- defaultOpen?: boolean;
6
- open?: boolean;
7
- disabled?: boolean;
8
- onOpenChange?(open: boolean): void;
9
- }
10
- declare const Collapsible: React.ForwardRefExoticComponent<CollapsibleProps & React.RefAttributes<TamaguiElement>>;
11
- interface CollapsibleTriggerProps extends StackProps {
12
- }
13
- declare const CollapsibleTrigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<TamaguiElement>>;
14
- interface CollapsibleContentProps extends Omit<CollapsibleContentImplProps, 'present'> {
15
- forceMount?: true;
16
- }
17
- declare const CollapsibleContent: React.ForwardRefExoticComponent<CollapsibleContentProps & React.RefAttributes<TamaguiElement>>;
18
- interface CollapsibleContentImplProps extends StackProps {
19
- present: boolean;
20
- }
21
- declare const Root: React.ForwardRefExoticComponent<CollapsibleProps & React.RefAttributes<TamaguiElement>>;
22
- declare const Trigger: React.ForwardRefExoticComponent<CollapsibleTriggerProps & React.RefAttributes<TamaguiElement>>;
23
- declare const Content: React.ForwardRefExoticComponent<CollapsibleContentProps & React.RefAttributes<TamaguiElement>>;
24
- export { createCollapsibleScope, Collapsible, CollapsibleTrigger, CollapsibleContent, Root, Trigger, Content, };
25
- export type { CollapsibleProps, CollapsibleTriggerProps, CollapsibleContentProps };
1
+ export declare const Collapsible: {};
26
2
  //# sourceMappingURL=Collapsible.d.ts.map
package/types/index.d.ts CHANGED
File without changes
@@ -1 +0,0 @@
1
- {"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../src/Collapsible.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,cAAc,EAGf,MAAM,eAAe,CAAA;AAMtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,QAAA,MAAiC,sBAAsB,+CAAwC,CAAA;AAa/F,UAAU,gBAAiB,SAAQ,UAAU;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAA;CACnC;AAED,QAAA,MAAM,WAAW,yFAmChB,CAAA;AAWD,UAAU,uBAAwB,SAAQ,UAAU;CAAG;AAEvD,QAAA,MAAM,kBAAkB,gGAmBvB,CAAA;AAWD,UAAU,uBAAwB,SAAQ,IAAI,CAAC,2BAA2B,EAAE,SAAS,CAAC;IAKpF,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB;AAED,QAAA,MAAM,kBAAkB,gGAcvB,CAAA;AAOD,UAAU,2BAA4B,SAAQ,UAAU;IACtD,OAAO,EAAE,OAAO,CAAA;CACjB;AAuFD,QAAA,MAAM,IAAI,yFAAc,CAAA;AACxB,QAAA,MAAM,OAAO,gGAAqB,CAAA;AAClC,QAAA,MAAM,OAAO,gGAAqB,CAAA;AAElC,OAAO,EACL,sBAAsB,EAEtB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAElB,IAAI,EACJ,OAAO,EACP,OAAO,GACR,CAAA;AACD,YAAY,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}