@agnos-ui/react-bootstrap 0.10.0-next.4 → 0.10.0
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.
|
@@ -24,6 +24,10 @@ export interface DrawerState {
|
|
|
24
24
|
* Flag to show whether the drawer is fully hidden.
|
|
25
25
|
*/
|
|
26
26
|
hidden: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Flag to show whether the drawer is vertically positioned.
|
|
29
|
+
*/
|
|
30
|
+
isVertical: boolean;
|
|
27
31
|
/**
|
|
28
32
|
* CSS classes to be applied on the widget main container
|
|
29
33
|
*
|
|
@@ -137,6 +141,12 @@ export interface DrawerProps {
|
|
|
137
141
|
* @defaultValue `false`
|
|
138
142
|
*/
|
|
139
143
|
bodyScroll: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* If `true` focuses the drawer when it is opened.
|
|
146
|
+
*
|
|
147
|
+
* @defaultValue `true`
|
|
148
|
+
*/
|
|
149
|
+
focusOnInit: boolean;
|
|
140
150
|
/**
|
|
141
151
|
* Event to be triggered when the transition is completed and the drawer is not visible.
|
|
142
152
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnos-ui/react-bootstrap",
|
|
3
3
|
"description": "Bootstrap-based component library for React.",
|
|
4
|
-
"version": "0.10.0
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"module": "./index.js",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@agnos-ui/core-bootstrap": "0.10.0
|
|
53
|
-
"@agnos-ui/react-headless": "0.10.0
|
|
52
|
+
"@agnos-ui/core-bootstrap": "0.10.0",
|
|
53
|
+
"@agnos-ui/react-headless": "0.10.0",
|
|
54
54
|
"clsx": "^2.1.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|