@fluentui-react-native/drawer 0.2.13 → 0.3.1
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 +67 -1
- package/CHANGELOG.md +24 -2
- package/lib/Drawer.types.d.ts +3 -3
- package/lib/Drawer.types.d.ts.map +1 -1
- package/lib/Drawer.types.js.map +1 -1
- package/lib-commonjs/Drawer.types.d.ts +3 -3
- package/lib-commonjs/Drawer.types.d.ts.map +1 -1
- package/lib-commonjs/Drawer.types.js.map +1 -1
- package/package.json +9 -8
- package/src/Drawer.types.ts +11 -3
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,73 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/drawer",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 20 Dec 2023 00:00:53 GMT",
|
|
6
|
+
"version": "0.3.1",
|
|
7
|
+
"tag": "@fluentui-react-native/drawer_v0.3.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/drawer",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/framework to v0.13.0",
|
|
14
|
+
"commit": "not available"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/drawer",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.25.1",
|
|
20
|
+
"commit": "not available"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/drawer",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.26.1",
|
|
26
|
+
"commit": "not available"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Thu, 09 Nov 2023 02:39:08 GMT",
|
|
33
|
+
"version": "0.3.0",
|
|
34
|
+
"tag": "@fluentui-react-native/drawer_v0.3.0",
|
|
35
|
+
"comments": {
|
|
36
|
+
"minor": [
|
|
37
|
+
{
|
|
38
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
39
|
+
"package": "@fluentui-react-native/drawer",
|
|
40
|
+
"commit": "4a6a9cd63396c6e8fc6ffbfec7137652928e40ef",
|
|
41
|
+
"comment": "Update to react-native 0.72"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/drawer",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/framework to v0.12.0",
|
|
47
|
+
"commit": "not available"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/drawer",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.25.0",
|
|
53
|
+
"commit": "not available"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/drawer",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/theme-tokens to v0.26.0",
|
|
59
|
+
"commit": "not available"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/drawer",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/use-styling to v0.12.0",
|
|
65
|
+
"commit": "not available"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"date": "Tue, 07 Nov 2023 20:20:33 GMT",
|
|
6
72
|
"version": "0.2.13",
|
|
7
73
|
"tag": "@fluentui-react-native/drawer_v0.2.13",
|
|
8
74
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,34 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/drawer
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 20 Dec 2023 00:00:53 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.3.1
|
|
8
|
+
|
|
9
|
+
Wed, 20 Dec 2023 00:00:53 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/framework to v0.13.0
|
|
14
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.25.1
|
|
15
|
+
- Bump @fluentui-react-native/theme-tokens to v0.26.1
|
|
16
|
+
|
|
17
|
+
## 0.3.0
|
|
18
|
+
|
|
19
|
+
Thu, 09 Nov 2023 02:39:08 GMT
|
|
20
|
+
|
|
21
|
+
### Minor changes
|
|
22
|
+
|
|
23
|
+
- Update to react-native 0.72 (30809111+acoates-ms@users.noreply.github.com)
|
|
24
|
+
- Bump @fluentui-react-native/framework to v0.12.0
|
|
25
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.25.0
|
|
26
|
+
- Bump @fluentui-react-native/theme-tokens to v0.26.0
|
|
27
|
+
- Bump @fluentui-react-native/use-styling to v0.12.0
|
|
28
|
+
|
|
7
29
|
## 0.2.13
|
|
8
30
|
|
|
9
|
-
Tue, 07 Nov 2023 20:
|
|
31
|
+
Tue, 07 Nov 2023 20:20:33 GMT
|
|
10
32
|
|
|
11
33
|
### Patches
|
|
12
34
|
|
package/lib/Drawer.types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Animated, ColorValue, FlexAlignType, ModalProps, TouchableWithoutFeedbackProps, ViewProps } from 'react-native';
|
|
1
|
+
import type { Animated, ColorValue, DimensionValue, FlexAlignType, ModalProps, TouchableWithoutFeedbackProps, ViewProps } from 'react-native';
|
|
2
2
|
import type { InteractionEvent, PressableFocusProps } from '@fluentui-react-native/interactive-hooks';
|
|
3
3
|
export declare const DrawerName = "Drawer";
|
|
4
4
|
/**
|
|
@@ -70,13 +70,13 @@ export interface DrawerTokens {
|
|
|
70
70
|
* Note: Only applicable when position is 'left' or 'right'
|
|
71
71
|
* @default '100%'
|
|
72
72
|
* */
|
|
73
|
-
width?:
|
|
73
|
+
width?: DimensionValue;
|
|
74
74
|
/**
|
|
75
75
|
* The height of the Drawer
|
|
76
76
|
* Note: Only applicable when position is 'bottom'
|
|
77
77
|
* @default '40%'
|
|
78
78
|
* */
|
|
79
|
-
height?:
|
|
79
|
+
height?: DimensionValue;
|
|
80
80
|
/**
|
|
81
81
|
* The shadow color of the Drawer
|
|
82
82
|
* @platform iOS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAEtG,eAAO,MAAM,UAAU,WAAW,CAAC;AAEnC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AAE7D,MAAM,WAAW,YAAY;IAC3B;;SAEK;IACL,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;SAEK;IACL,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;SAEK;IACL,qBAAqB,CAAC,EAAE,UAAU,CAAC;IAEnC;;SAEK;IACL,kBAAk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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.types.js","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Drawer.types.js","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"AAYA,MAAM,CAAC,IAAM,UAAU,GAAG,QAAQ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Animated, ColorValue, FlexAlignType, ModalProps, TouchableWithoutFeedbackProps, ViewProps } from 'react-native';
|
|
1
|
+
import type { Animated, ColorValue, DimensionValue, FlexAlignType, ModalProps, TouchableWithoutFeedbackProps, ViewProps } from 'react-native';
|
|
2
2
|
import type { InteractionEvent, PressableFocusProps } from '@fluentui-react-native/interactive-hooks';
|
|
3
3
|
export declare const DrawerName = "Drawer";
|
|
4
4
|
/**
|
|
@@ -70,13 +70,13 @@ export interface DrawerTokens {
|
|
|
70
70
|
* Note: Only applicable when position is 'left' or 'right'
|
|
71
71
|
* @default '100%'
|
|
72
72
|
* */
|
|
73
|
-
width?:
|
|
73
|
+
width?: DimensionValue;
|
|
74
74
|
/**
|
|
75
75
|
* The height of the Drawer
|
|
76
76
|
* Note: Only applicable when position is 'bottom'
|
|
77
77
|
* @default '40%'
|
|
78
78
|
* */
|
|
79
|
-
height?:
|
|
79
|
+
height?: DimensionValue;
|
|
80
80
|
/**
|
|
81
81
|
* The shadow color of the Drawer
|
|
82
82
|
* @platform iOS
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Drawer.types.d.ts","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,cAAc,EACd,aAAa,EACb,UAAU,EACV,6BAA6B,EAC7B,SAAS,EACV,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C,CAAA;aAAE,EAAE,CAAC;SAChI,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,KAAK,EAAE,6BAA6B,CAAC;IACrC,YAAY,EAAE,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAChD,OAAO,EAAE,QAAQ,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC3C,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,WAAW,CAAC;IACnB,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,EAAE,eAAe,CAAC;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.types.js","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Drawer.types.js","sourceRoot":"","sources":["../src/Drawer.types.ts"],"names":[],"mappings":";;;AAYa,QAAA,UAAU,GAAG,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/drawer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "A cross-platform Drawer component using the Fluent Design System",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -22,20 +22,21 @@
|
|
|
22
22
|
"directory": "packages/components/Drawer"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fluentui-react-native/framework": "0.
|
|
26
|
-
"@fluentui-react-native/interactive-hooks": ">=0.
|
|
27
|
-
"@fluentui-react-native/theme-tokens": "^0.
|
|
28
|
-
"@fluentui-react-native/use-styling": ">=0.
|
|
25
|
+
"@fluentui-react-native/framework": "0.13.0",
|
|
26
|
+
"@fluentui-react-native/interactive-hooks": ">=0.25.1 <1.0.0",
|
|
27
|
+
"@fluentui-react-native/theme-tokens": "^0.26.1",
|
|
28
|
+
"@fluentui-react-native/use-styling": ">=0.12.0 <1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
32
32
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
33
|
+
"@react-native/metro-config": "^0.72.0",
|
|
33
34
|
"react": "18.2.0",
|
|
34
|
-
"react-native": "^0.
|
|
35
|
+
"react-native": "^0.72.0"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"react": "18.2.0",
|
|
38
|
-
"react-native": "^0.
|
|
39
|
+
"react-native": "^0.72.0"
|
|
39
40
|
},
|
|
40
41
|
"author": "",
|
|
41
42
|
"license": "MIT",
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"microsoft/react-native"
|
|
47
48
|
],
|
|
48
49
|
"requirements": [
|
|
49
|
-
"react-native@0.
|
|
50
|
+
"react-native@0.72"
|
|
50
51
|
],
|
|
51
52
|
"capabilities": [
|
|
52
53
|
"core",
|
package/src/Drawer.types.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
Animated,
|
|
3
|
+
ColorValue,
|
|
4
|
+
DimensionValue,
|
|
5
|
+
FlexAlignType,
|
|
6
|
+
ModalProps,
|
|
7
|
+
TouchableWithoutFeedbackProps,
|
|
8
|
+
ViewProps,
|
|
9
|
+
} from 'react-native';
|
|
2
10
|
|
|
3
11
|
import type { InteractionEvent, PressableFocusProps } from '@fluentui-react-native/interactive-hooks';
|
|
4
12
|
|
|
@@ -92,14 +100,14 @@ export interface DrawerTokens {
|
|
|
92
100
|
* Note: Only applicable when position is 'left' or 'right'
|
|
93
101
|
* @default '100%'
|
|
94
102
|
* */
|
|
95
|
-
width?:
|
|
103
|
+
width?: DimensionValue;
|
|
96
104
|
|
|
97
105
|
/**
|
|
98
106
|
* The height of the Drawer
|
|
99
107
|
* Note: Only applicable when position is 'bottom'
|
|
100
108
|
* @default '40%'
|
|
101
109
|
* */
|
|
102
|
-
height?:
|
|
110
|
+
height?: DimensionValue;
|
|
103
111
|
|
|
104
112
|
/**
|
|
105
113
|
* The shadow color of the Drawer
|