@fluentui/react-drawer 9.0.0-beta.39 → 9.0.0-beta.40
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/CHANGELOG.json +16 -1
- package/CHANGELOG.md +11 -2
- package/dist/index.d.ts +1 -2
- package/lib/shared/DrawerBase.types.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
"name": "@fluentui/react-drawer",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 02 Nov 2023 17:38:19 GMT",
|
|
6
|
+
"tag": "@fluentui/react-drawer_v9.0.0-beta.40",
|
|
7
|
+
"version": "9.0.0-beta.40",
|
|
8
|
+
"comments": {
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "marcosvmmoura@gmail.com",
|
|
12
|
+
"package": "@fluentui/react-drawer",
|
|
13
|
+
"commit": "b4b696c7dd574454581ff697b03381650eb00f9c",
|
|
14
|
+
"comment": "breaking: open prop now only accepts a boolean instead of MotionShorthand "
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 01 Nov 2023 12:55:59 GMT",
|
|
6
21
|
"tag": "@fluentui/react-drawer_v9.0.0-beta.39",
|
|
7
22
|
"version": "9.0.0-beta.39",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-drawer
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 02 Nov 2023 17:38:19 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.0-beta.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-drawer_v9.0.0-beta.40)
|
|
8
|
+
|
|
9
|
+
Thu, 02 Nov 2023 17:38:19 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-drawer_v9.0.0-beta.39..@fluentui/react-drawer_v9.0.0-beta.40)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- breaking: open prop now only accepts a boolean instead of MotionShorthand ([PR #29736](https://github.com/microsoft/fluentui/pull/29736) by marcosvmmoura@gmail.com)
|
|
15
|
+
|
|
7
16
|
## [9.0.0-beta.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-drawer_v9.0.0-beta.39)
|
|
8
17
|
|
|
9
|
-
Wed, 01 Nov 2023 12:
|
|
18
|
+
Wed, 01 Nov 2023 12:55:59 GMT
|
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-drawer_v9.0.0-beta.38..@fluentui/react-drawer_v9.0.0-beta.39)
|
|
11
20
|
|
|
12
21
|
### Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { ComponentState } from '@fluentui/react-utilities';
|
|
|
5
5
|
import type { DialogProps } from '@fluentui/react-dialog';
|
|
6
6
|
import type { DialogSurfaceSlots } from '@fluentui/react-dialog';
|
|
7
7
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
8
|
-
import { MotionShorthand } from '@fluentui/react-motion-preview';
|
|
9
8
|
import { MotionState } from '@fluentui/react-motion-preview';
|
|
10
9
|
import * as React_2 from 'react';
|
|
11
10
|
import type { Slot } from '@fluentui/react-utilities';
|
|
@@ -39,7 +38,7 @@ declare type DrawerBaseProps = {
|
|
|
39
38
|
*
|
|
40
39
|
* @default false
|
|
41
40
|
*/
|
|
42
|
-
open?:
|
|
41
|
+
open?: boolean;
|
|
43
42
|
};
|
|
44
43
|
|
|
45
44
|
declare type DrawerBaseState = Required<Pick<DrawerBaseProps, 'position' | 'size'>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["DrawerBase.types.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["DrawerBase.types.ts"],"sourcesContent":["import { MotionState } from '@fluentui/react-motion-preview';\n\nexport type DrawerBaseProps = {\n /**\n * Position of the drawer.\n *\n * @default 'start'\n */\n position?: 'start' | 'end';\n\n /**\n * Size of the drawer.\n *\n * - 'small' - Drawer is 320px wide.\n * - 'medium' - Drawer is 592px wide.\n * - 'large' - Drawer is 940px wide.\n * - 'full' - Drawer is 100vw wide.\n *\n * @default 'small'\n */\n size?: 'small' | 'medium' | 'large' | 'full';\n\n /**\n * Controls the open state of the Drawer\n *\n * @default false\n */\n open?: boolean;\n};\n\nexport type DrawerBaseState = Required<Pick<DrawerBaseProps, 'position' | 'size'>> & {\n motion: MotionState<HTMLDivElement>;\n};\n"],"names":[],"mappings":"AAAA,WAgCE"}
|