@dxos/react-ui-tabs 0.7.5-labs.c0e040f → 0.7.5-labs.d199c0f
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/types/src/Tabs.d.ts
CHANGED
|
@@ -19,14 +19,14 @@ type TabsTabProps = ButtonProps & Pick<TabsPrimitive.TabsTriggerProps, 'value'>;
|
|
|
19
19
|
type TabsTabpanelProps = ThemedClassName<TabsPrimitive.TabsContentProps>;
|
|
20
20
|
type TabsTabPrimitiveProps = TabsPrimitive.TabsTriggerProps;
|
|
21
21
|
export declare const Tabs: {
|
|
22
|
-
Root: ({ children, classNames, activePart: propsActivePart, onActivePartChange, defaultActivePart, value: propsValue, onValueChange, defaultValue, orientation, activationMode, verticalVariant, attendableId, ...props }: TabsRootProps) =>
|
|
23
|
-
Tablist: ({ children, classNames, ...props }: TabsTablistProps) =>
|
|
24
|
-
Tab: ({ value, classNames, children, onClick, ...props }: TabsTabProps) =>
|
|
22
|
+
Root: ({ children, classNames, activePart: propsActivePart, onActivePartChange, defaultActivePart, value: propsValue, onValueChange, defaultValue, orientation, activationMode, verticalVariant, attendableId, ...props }: TabsRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
Tablist: ({ children, classNames, ...props }: TabsTablistProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
Tab: ({ value, classNames, children, onClick, ...props }: TabsTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
TabPrimitive: React.ForwardRefExoticComponent<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
-
TabGroupHeading: ({ children, classNames, ...props }: ThemedClassName<TabsTabGroupHeadingProps>) =>
|
|
27
|
-
Tabpanel: ({ classNames, children, ...props }: TabsTabpanelProps) =>
|
|
28
|
-
BackButton: ({ onClick, classNames, ...props }: ButtonProps) =>
|
|
29
|
-
Viewport: ({ classNames, children, ...props }: TabsViewportProps) =>
|
|
26
|
+
TabGroupHeading: ({ children, classNames, ...props }: ThemedClassName<TabsTabGroupHeadingProps>) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
Tabpanel: ({ classNames, children, ...props }: TabsTabpanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
BackButton: ({ onClick, classNames, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
Viewport: ({ classNames, children, ...props }: TabsViewportProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
};
|
|
31
31
|
export type { TabsActivePart, TabsRootProps, TabsTablistProps, TabsTabProps, TabsTabPrimitiveProps, TabsTabGroupHeadingProps, TabsTabpanelProps, TabsViewportProps, };
|
|
32
32
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
|
-
component: ({ children, classNames, activePart: propsActivePart, onActivePartChange, defaultActivePart, value: propsValue, onValueChange, defaultValue, orientation, activationMode, verticalVariant, attendableId, ...props }: import("./Tabs").TabsRootProps) =>
|
|
5
|
-
decorators: import("@storybook/react
|
|
3
|
+
component: ({ children, classNames, activePart: propsActivePart, onActivePartChange, defaultActivePart, value: propsValue, onValueChange, defaultValue, orientation, activationMode, verticalVariant, attendableId, ...props }: import("./Tabs").TabsRootProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
decorators: import("@storybook/react").Decorator[];
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
7
|
export declare const Tabs: {
|
|
9
|
-
render: () =>
|
|
8
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=Tabs.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/Tabs.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../src/Tabs.stories.tsx"],"names":[],"mappings":";;;;;AAsBA,wBAKE;AAEF,eAAO,MAAM,IAAI;;CAmChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/react-ui-tabs",
|
|
3
|
-
"version": "0.7.5-labs.
|
|
3
|
+
"version": "0.7.5-labs.d199c0f",
|
|
4
4
|
"description": "Components for facilitating a Tabs pattern.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "DXOS.org",
|
|
9
9
|
"sideEffects": true,
|
|
10
|
+
"type": "module",
|
|
10
11
|
"exports": {
|
|
11
12
|
".": {
|
|
12
13
|
"types": "./dist/types/src/index.d.ts",
|
|
@@ -30,8 +31,8 @@
|
|
|
30
31
|
"@radix-ui/react-slot": "1.1.2",
|
|
31
32
|
"@radix-ui/react-tabs": "1.1.3",
|
|
32
33
|
"@radix-ui/react-use-controllable-state": "1.1.0",
|
|
33
|
-
"@dxos/react-ui-attention": "0.7.5-labs.
|
|
34
|
-
"@dxos/util": "0.7.5-labs.
|
|
34
|
+
"@dxos/react-ui-attention": "0.7.5-labs.d199c0f",
|
|
35
|
+
"@dxos/util": "0.7.5-labs.d199c0f"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@types/react": "~18.2.0",
|
|
@@ -39,16 +40,16 @@
|
|
|
39
40
|
"react": "~18.2.0",
|
|
40
41
|
"react-dom": "~18.2.0",
|
|
41
42
|
"vite": "5.4.7",
|
|
42
|
-
"@dxos/random": "0.7.5-labs.
|
|
43
|
-
"@dxos/react-ui": "0.7.5-labs.
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
43
|
+
"@dxos/random": "0.7.5-labs.d199c0f",
|
|
44
|
+
"@dxos/react-ui": "0.7.5-labs.d199c0f",
|
|
45
|
+
"@dxos/react-ui-theme": "0.7.5-labs.d199c0f",
|
|
46
|
+
"@dxos/storybook-utils": "0.7.5-labs.d199c0f"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"react": "~18.2.0",
|
|
49
50
|
"react-dom": "~18.2.0",
|
|
50
|
-
"@dxos/react-ui": "0.7.5-labs.
|
|
51
|
-
"@dxos/react-ui-theme": "0.7.5-labs.
|
|
51
|
+
"@dxos/react-ui": "0.7.5-labs.d199c0f",
|
|
52
|
+
"@dxos/react-ui-theme": "0.7.5-labs.d199c0f"
|
|
52
53
|
},
|
|
53
54
|
"publishConfig": {
|
|
54
55
|
"access": "public"
|