@tamagui/collapsible 1.0.1-beta.68 → 1.0.1-beta.71

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/collapsible",
3
- "version": "1.0.1-beta.68",
4
- "sideEffects": true,
3
+ "version": "1.0.1-beta.71",
4
+ "sideEffects": false,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "main": "dist/cjs",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@gorhom/bottom-sheet": "^4.3.1",
21
- "@tamagui/compose-refs": "^1.0.1-beta.68",
22
- "@tamagui/core": "^1.0.1-beta.68",
23
- "@tamagui/create-context": "^1.0.1-beta.68",
24
- "@tamagui/polyfill-dev": "^1.0.1-beta.68",
25
- "@tamagui/stacks": "^1.0.1-beta.68",
26
- "@tamagui/use-controllable-state": "^1.0.1-beta.68",
21
+ "@tamagui/compose-refs": "^1.0.1-beta.71",
22
+ "@tamagui/core": "^1.0.1-beta.71",
23
+ "@tamagui/create-context": "^1.0.1-beta.71",
24
+ "@tamagui/polyfill-dev": "^1.0.1-beta.71",
25
+ "@tamagui/stacks": "^1.0.1-beta.71",
26
+ "@tamagui/use-controllable-state": "^1.0.1-beta.71",
27
27
  "react-native-reanimated": "~2.8.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -32,7 +32,7 @@
32
32
  "react-native-gesture-handler": "*"
33
33
  },
34
34
  "devDependencies": {
35
- "@tamagui/build": "^1.0.1-beta.68",
35
+ "@tamagui/build": "^1.0.1-beta.71",
36
36
  "react": "*",
37
37
  "react-dom": "*",
38
38
  "react-native-gesture-handler": "*"
@@ -0,0 +1,26 @@
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 };
26
+ //# sourceMappingURL=Collapsible.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export * from './Collapsible';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}