@tamagui/accordion 2.0.0-1769048466315 → 2.0.0-1769080004701
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/package.json +14 -14
- package/src/Accordion.tsx +2 -2
- package/types/Accordion.d.ts +3 -2
- package/types/Accordion.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/accordion",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-1769080004701",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"lint:fix": "biome check --write src"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tamagui/collapsible": "2.0.0-
|
|
27
|
-
"@tamagui/collection": "2.0.0-
|
|
28
|
-
"@tamagui/compose-refs": "2.0.0-
|
|
29
|
-
"@tamagui/constants": "2.0.0-
|
|
30
|
-
"@tamagui/core": "2.0.0-
|
|
31
|
-
"@tamagui/create-context": "2.0.0-
|
|
32
|
-
"@tamagui/helpers": "2.0.0-
|
|
33
|
-
"@tamagui/polyfill-dev": "2.0.0-
|
|
34
|
-
"@tamagui/stacks": "2.0.0-
|
|
35
|
-
"@tamagui/text": "2.0.0-
|
|
36
|
-
"@tamagui/use-controllable-state": "2.0.0-
|
|
37
|
-
"@tamagui/use-direction": "2.0.0-
|
|
26
|
+
"@tamagui/collapsible": "2.0.0-1769080004701",
|
|
27
|
+
"@tamagui/collection": "2.0.0-1769080004701",
|
|
28
|
+
"@tamagui/compose-refs": "2.0.0-1769080004701",
|
|
29
|
+
"@tamagui/constants": "2.0.0-1769080004701",
|
|
30
|
+
"@tamagui/core": "2.0.0-1769080004701",
|
|
31
|
+
"@tamagui/create-context": "2.0.0-1769080004701",
|
|
32
|
+
"@tamagui/helpers": "2.0.0-1769080004701",
|
|
33
|
+
"@tamagui/polyfill-dev": "2.0.0-1769080004701",
|
|
34
|
+
"@tamagui/stacks": "2.0.0-1769080004701",
|
|
35
|
+
"@tamagui/text": "2.0.0-1769080004701",
|
|
36
|
+
"@tamagui/use-controllable-state": "2.0.0-1769080004701",
|
|
37
|
+
"@tamagui/use-direction": "2.0.0-1769080004701"
|
|
38
38
|
},
|
|
39
39
|
"exports": {
|
|
40
40
|
"./package.json": "./package.json",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@tamagui/build": "2.0.0-
|
|
55
|
+
"@tamagui/build": "2.0.0-1769080004701",
|
|
56
56
|
"react": "*"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
package/src/Accordion.tsx
CHANGED
|
@@ -2,7 +2,7 @@ import { Collapsible } from '@tamagui/collapsible'
|
|
|
2
2
|
import { createCollection } from '@tamagui/collection'
|
|
3
3
|
import { useComposedRefs } from '@tamagui/compose-refs'
|
|
4
4
|
import { isWeb } from '@tamagui/constants'
|
|
5
|
-
import type { GetProps, GetRef,
|
|
5
|
+
import type { GetProps, GetRef, TamaguiElement } from '@tamagui/core'
|
|
6
6
|
import { View, createStyledContext, styled } from '@tamagui/core'
|
|
7
7
|
import { composeEventHandlers, withStaticProperties } from '@tamagui/helpers'
|
|
8
8
|
import { YStack } from '@tamagui/stacks'
|
|
@@ -227,7 +227,7 @@ const { Provider: AccordionImplProvider, useStyledContext: useAccordionContext }
|
|
|
227
227
|
createStyledContext<AccordionImplContextValue>()
|
|
228
228
|
|
|
229
229
|
type AccordionImplElement = TamaguiElement
|
|
230
|
-
type PrimitiveDivProps = GetProps<typeof
|
|
230
|
+
type PrimitiveDivProps = GetProps<typeof View>
|
|
231
231
|
interface AccordionImplProps extends PrimitiveDivProps {
|
|
232
232
|
/**
|
|
233
233
|
* Whether or not an accordion is disabled from user interaction.
|
package/types/Accordion.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Collapsible } from '@tamagui/collapsible';
|
|
2
|
-
import type { GetProps,
|
|
2
|
+
import type { GetProps, TamaguiElement } from '@tamagui/core';
|
|
3
|
+
import { View } from '@tamagui/core';
|
|
3
4
|
import { H1 } from '@tamagui/text';
|
|
4
5
|
import * as React from 'react';
|
|
5
6
|
type Direction = 'ltr' | 'rtl';
|
|
@@ -51,7 +52,7 @@ interface AccordionImplMultipleProps extends AccordionImplProps {
|
|
|
51
52
|
onValueChange?(value: string[]): void;
|
|
52
53
|
}
|
|
53
54
|
type AccordionImplElement = TamaguiElement;
|
|
54
|
-
type PrimitiveDivProps = GetProps<typeof
|
|
55
|
+
type PrimitiveDivProps = GetProps<typeof View>;
|
|
55
56
|
interface AccordionImplProps extends PrimitiveDivProps {
|
|
56
57
|
/**
|
|
57
58
|
* Whether or not an accordion is disabled from user interaction.
|
package/types/Accordion.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../src/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAIlD,OAAO,KAAK,EAAE,QAAQ,EAAU,
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../src/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAIlD,OAAO,KAAK,EAAE,QAAQ,EAAU,cAAc,EAAE,MAAM,eAAe,CAAA;AACrE,OAAO,EAAE,IAAI,EAA+B,MAAM,eAAe,CAAA;AAGjE,OAAO,EAAE,EAAE,EAAE,MAAM,eAAe,CAAA;AAGlC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK,CAAA;AAW9B,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,gBAAgB,CA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