@dgui/react-shared 1.5.0 → 1.6.0-next.2
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.d.ts +11 -0
- package/package.json +2 -2
package/dist/Types.d.ts
CHANGED
|
@@ -65,9 +65,20 @@ export type TabIndexProviderProps = PropsWithChildren<{
|
|
|
65
65
|
tabIndex?: number;
|
|
66
66
|
}>;
|
|
67
67
|
export type ProvidersProps = DrawerIndexProviderProps & DrawerToggleProviderProps & PropsWithChildren<{}> & TabIndexProviderProps;
|
|
68
|
+
export type DrawerPosition = 'left' | 'right';
|
|
68
69
|
export type ReactDigestProps = PropsWithChildren<{
|
|
70
|
+
drawerAnimationTime?: number;
|
|
71
|
+
drawerOpacity?: number;
|
|
72
|
+
drawerPosition?: DrawerPosition;
|
|
73
|
+
drawerWidth?: number;
|
|
69
74
|
swipe?: boolean;
|
|
70
75
|
}> & ProvidersProps;
|
|
76
|
+
export type ReactDigestDrawersProps = {
|
|
77
|
+
animationTime?: number;
|
|
78
|
+
opacity?: number;
|
|
79
|
+
position?: DrawerPosition;
|
|
80
|
+
width?: number;
|
|
81
|
+
};
|
|
71
82
|
export type ReactDigestDrawerProps = Omit<DrawerType, 'tabs'> & PropsWithChildren<{}> & {
|
|
72
83
|
tabId?: string;
|
|
73
84
|
};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dgui/react-shared",
|
|
3
3
|
"title": "Digested React GUI Shared Components",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.6.0-next.2",
|
|
6
6
|
"private": false,
|
|
7
7
|
"description": "Shared Components for a boilerplate React GUI",
|
|
8
8
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"reactjs",
|
|
71
71
|
"typescript"
|
|
72
72
|
],
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "8c5844894399aeab501e5cbd59678e7333e2a7b6"
|
|
74
74
|
}
|