@plasmicpkgs/plasmic-tabs 0.0.89 → 0.0.91
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/index.d.ts +5 -5
- package/dist/tabs.d.ts +30 -30
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import registerComponent from '@plasmicapp/host/registerComponent';
|
|
2
|
-
export declare function registerAll(loader?: {
|
|
3
|
-
registerComponent: typeof registerComponent;
|
|
4
|
-
}): void;
|
|
5
|
-
export * from './tabs';
|
|
1
|
+
import registerComponent from '@plasmicapp/host/registerComponent';
|
|
2
|
+
export declare function registerAll(loader?: {
|
|
3
|
+
registerComponent: typeof registerComponent;
|
|
4
|
+
}): void;
|
|
5
|
+
export * from './tabs';
|
package/dist/tabs.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { CodeComponentMeta } from '@plasmicapp/host/registerComponent';
|
|
2
|
-
import React, { ReactElement, ReactNode } from 'react';
|
|
3
|
-
export interface TabsProviderProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
initialKey?: string;
|
|
6
|
-
previewKey?: string;
|
|
7
|
-
previewAll?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export
|
|
10
|
-
export declare const TabsContainerMeta: CodeComponentMeta<TabsProviderProps>;
|
|
11
|
-
export declare function TabsContainer({ children, initialKey, previewKey, previewAll, }: TabsProviderProps): React.JSX.Element;
|
|
12
|
-
export interface TabUnderlineProps {
|
|
13
|
-
className?: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const TabUnderlineMeta: CodeComponentMeta<TabUnderlineProps>;
|
|
16
|
-
export declare function TabUnderline({ className }: TabUnderlineProps): React.JSX.Element | null;
|
|
17
|
-
export interface TabButtonProps {
|
|
18
|
-
className?: string;
|
|
19
|
-
children?: ReactNode;
|
|
20
|
-
tabKey?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare const TabButtonMeta: CodeComponentMeta<TabButtonProps>;
|
|
23
|
-
export declare function TabButton({ className, children, tabKey }: TabButtonProps): React.JSX.Element;
|
|
24
|
-
export interface TabContentProps {
|
|
25
|
-
children?: ReactNode;
|
|
26
|
-
tabKey?: string;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare const TabContentMeta: CodeComponentMeta<TabContentProps>;
|
|
30
|
-
export declare function TabContent({ children, className, tabKey, }: TabContentProps): ReactElement;
|
|
1
|
+
import { CodeComponentMeta } from '@plasmicapp/host/registerComponent';
|
|
2
|
+
import React, { ReactElement, ReactNode } from 'react';
|
|
3
|
+
export interface TabsProviderProps {
|
|
4
|
+
children?: ReactNode;
|
|
5
|
+
initialKey?: string;
|
|
6
|
+
previewKey?: string;
|
|
7
|
+
previewAll?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type MountMode = 'mountOneAtATime' | 'mountAllEagerly' | 'mountLazily';
|
|
10
|
+
export declare const TabsContainerMeta: CodeComponentMeta<TabsProviderProps>;
|
|
11
|
+
export declare function TabsContainer({ children, initialKey, previewKey, previewAll, }: TabsProviderProps): React.JSX.Element;
|
|
12
|
+
export interface TabUnderlineProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const TabUnderlineMeta: CodeComponentMeta<TabUnderlineProps>;
|
|
16
|
+
export declare function TabUnderline({ className }: TabUnderlineProps): React.JSX.Element | null;
|
|
17
|
+
export interface TabButtonProps {
|
|
18
|
+
className?: string;
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
tabKey?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const TabButtonMeta: CodeComponentMeta<TabButtonProps>;
|
|
23
|
+
export declare function TabButton({ className, children, tabKey }: TabButtonProps): React.JSX.Element;
|
|
24
|
+
export interface TabContentProps {
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
tabKey?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const TabContentMeta: CodeComponentMeta<TabContentProps>;
|
|
30
|
+
export declare function TabContent({ children, className, tabKey, }: TabContentProps): ReactElement;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
2
|
+
"version": "0.0.91",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"scripts": {
|
|
16
16
|
"start": "tsdx watch",
|
|
17
17
|
"build": "tsdx build",
|
|
18
|
-
"test": "TEST_CWD=`pwd`
|
|
18
|
+
"test": "TEST_CWD=`pwd` pnpm -w test --passWithNoTests",
|
|
19
19
|
"lint": "tsdx lint",
|
|
20
20
|
"prepublishOnly": "npm run build",
|
|
21
21
|
"size": "size-limit",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"tslib": "^2.3.1"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@plasmicapp/host": "2.0.
|
|
61
|
+
"@plasmicapp/host": "2.0.7",
|
|
62
62
|
"constate": "^3.3.2"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "6087f1621240c66b20d4a8fcf02c8bf889c554aa"
|
|
65
65
|
}
|