@fluentui-react-native/experimental-expander 0.7.13 → 0.8.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 +31 -1
- package/CHANGELOG.md +18 -2
- package/lib/ExpanderNativeComponent.d.ts +4 -4
- package/lib/ExpanderNativeComponent.d.ts.map +1 -1
- package/lib/ExpanderNativeComponent.js +1 -8
- package/lib-commonjs/ExpanderNativeComponent.d.ts +4 -4
- package/lib-commonjs/ExpanderNativeComponent.d.ts.map +1 -1
- package/package.json +11 -10
- package/src/ExpanderNativeComponent.ts +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,37 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/experimental-expander",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 15 Apr 2024 21:29:44 GMT",
|
|
6
|
+
"version": "0.8.1",
|
|
7
|
+
"tag": "@fluentui-react-native/experimental-expander_v0.8.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
12
|
+
"package": "@fluentui-react-native/experimental-expander",
|
|
13
|
+
"commit": "b2f0ae646a08ddcaf36b18f969a2908b3d8da59f",
|
|
14
|
+
"comment": "Ensure build output has the generated view configs"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 11 Apr 2024 18:08:37 GMT",
|
|
21
|
+
"version": "0.8.0",
|
|
22
|
+
"tag": "@fluentui-react-native/experimental-expander_v0.8.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/experimental-expander",
|
|
28
|
+
"commit": "6164473627c321b03d301376c48227f4abd8e947",
|
|
29
|
+
"comment": "Update to RN 0.73"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Fri, 29 Mar 2024 18:07:00 GMT",
|
|
6
36
|
"version": "0.7.13",
|
|
7
37
|
"tag": "@fluentui-react-native/experimental-expander_v0.7.13",
|
|
8
38
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/experimental-expander
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 15 Apr 2024 21:29:44 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.8.1
|
|
8
|
+
|
|
9
|
+
Mon, 15 Apr 2024 21:29:44 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Ensure build output has the generated view configs (30809111+acoates-ms@users.noreply.github.com)
|
|
14
|
+
|
|
15
|
+
## 0.8.0
|
|
16
|
+
|
|
17
|
+
Thu, 11 Apr 2024 18:08:37 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Update to RN 0.73 (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
|
|
7
23
|
## 0.7.13
|
|
8
24
|
|
|
9
|
-
Fri, 29 Mar 2024 18:
|
|
25
|
+
Fri, 29 Mar 2024 18:07:00 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import type { ColorValue, HostComponent, ViewProps } from 'react-native';
|
|
7
|
-
import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
7
|
+
import type { DirectEventHandler, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
8
|
export interface NativeProps extends ViewProps {
|
|
9
|
-
expandDirection?: 'up' | 'down'
|
|
9
|
+
expandDirection?: WithDefault<'up' | 'down', 'down'>;
|
|
10
10
|
expanded?: boolean;
|
|
11
11
|
enabled?: boolean;
|
|
12
12
|
width?: Double;
|
|
13
13
|
height?: Double;
|
|
14
|
-
contentHorizontalAlignment?: 'center' | 'left' | 'right' | 'stretch'
|
|
15
|
-
contentVerticalAlignment?: 'bottom' | 'center' | 'stretch' | 'top'
|
|
14
|
+
contentHorizontalAlignment?: WithDefault<'center' | 'left' | 'right' | 'stretch', 'stretch'>;
|
|
15
|
+
contentVerticalAlignment?: WithDefault<'bottom' | 'center' | 'stretch' | 'top', 'top'>;
|
|
16
16
|
headerBackground?: ColorValue;
|
|
17
17
|
headerForeground?: ColorValue;
|
|
18
18
|
headerForegroundPointerOver?: ColorValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAGzG,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,eAAe,CAAC,EAAE,WAAW,CAAC,IAAI,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;IACrD,QAA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E,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACxC;;AAED,wBAEgC"}
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* @format
|
|
5
|
-
*/
|
|
6
|
-
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
7
|
-
export default codegenNativeComponent('ExpanderView');
|
|
8
|
-
//# sourceMappingURL=ExpanderNativeComponent.js.map
|
|
1
|
+
var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.__INTERNAL_VIEW_CONFIG=void 0;var _codegenNativeComponent=_interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));var NativeComponentRegistry=require('react-native/Libraries/NativeComponent/NativeComponentRegistry');var _require=require('react-native/Libraries/NativeComponent/ViewConfigIgnore'),ConditionallyIgnoredEventHandlers=_require.ConditionallyIgnoredEventHandlers;var nativeComponentName='ExpanderView';var __INTERNAL_VIEW_CONFIG=exports.__INTERNAL_VIEW_CONFIG={uiViewClassName:'ExpanderView',directEventTypes:{topCollapsing:{registrationName:'onCollapsing'},topExpanding:{registrationName:'onExpanding'}},validAttributes:Object.assign({expandDirection:true,expanded:true,enabled:true,width:true,height:true,contentHorizontalAlignment:true,contentVerticalAlignment:true,headerBackground:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerForeground:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerForegroundPointerOver:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerForegroundPressed:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerBorderBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerBorderPointerOverBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerBorderPressedBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerDisabledForeground:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerDisabledBorderBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},headerBorderThickness:true,contentBackground:{process:require('react-native/Libraries/StyleSheet/processColor').default},contentBorderBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronBackground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronForeground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronPointerOverBackground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronPointerOverForeground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronPressedBackground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronPressedForeground:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronBorderThickness:true,chevronBorderBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronBorderPointerOverBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default},chevronBorderPressedBrush:{process:require('react-native/Libraries/StyleSheet/processColor').default}},ConditionallyIgnoredEventHandlers({onCollapsing:true,onExpanding:true}))};var _default=exports.default=NativeComponentRegistry.get(nativeComponentName,function(){return __INTERNAL_VIEW_CONFIG;});
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* @format
|
|
5
5
|
*/
|
|
6
6
|
import type { ColorValue, HostComponent, ViewProps } from 'react-native';
|
|
7
|
-
import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
7
|
+
import type { DirectEventHandler, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
8
8
|
export interface NativeProps extends ViewProps {
|
|
9
|
-
expandDirection?: 'up' | 'down'
|
|
9
|
+
expandDirection?: WithDefault<'up' | 'down', 'down'>;
|
|
10
10
|
expanded?: boolean;
|
|
11
11
|
enabled?: boolean;
|
|
12
12
|
width?: Double;
|
|
13
13
|
height?: Double;
|
|
14
|
-
contentHorizontalAlignment?: 'center' | 'left' | 'right' | 'stretch'
|
|
15
|
-
contentVerticalAlignment?: 'bottom' | 'center' | 'stretch' | 'top'
|
|
14
|
+
contentHorizontalAlignment?: WithDefault<'center' | 'left' | 'right' | 'stretch', 'stretch'>;
|
|
15
|
+
contentVerticalAlignment?: WithDefault<'bottom' | 'center' | 'stretch' | 'top', 'top'>;
|
|
16
16
|
headerBackground?: ColorValue;
|
|
17
17
|
headerForeground?: ColorValue;
|
|
18
18
|
headerForegroundPointerOver?: ColorValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"ExpanderNativeComponent.d.ts","sourceRoot":"","sources":["../src/ExpanderNativeComponent.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,2CAA2C,CAAC;AAGzG,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,eAAe,CAAC,EAAE,WAAW,CAAC,IAAI,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0BAA0B,CAAC,EAAE,WAAW,CAAC,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,EAAE,SAAS,CAAC,CAAC;IAC7F,wBAAwB,CAAC,EAAE,WAAW,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-platform Native Expander component using the Fluent Design System. Currently only implemented on windows",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -26,22 +26,23 @@
|
|
|
26
26
|
"directory": "packages/experimental/Expander"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@fluentui-react-native/framework": "0.
|
|
29
|
+
"@fluentui-react-native/framework": "0.14.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@fluentui-react-native/eslint-config-rules": "0.1.1",
|
|
33
33
|
"@fluentui-react-native/scripts": "0.1.1",
|
|
34
|
-
"@react-native/
|
|
34
|
+
"@react-native/babel-preset": "^0.73.0",
|
|
35
|
+
"@react-native/metro-config": "^0.73.0",
|
|
35
36
|
"react": "18.2.0",
|
|
36
|
-
"react-native": "^0.
|
|
37
|
-
"react-native-windows": "^0.
|
|
37
|
+
"react-native": "^0.73.0",
|
|
38
|
+
"react-native-windows": "^0.73.0"
|
|
38
39
|
},
|
|
39
40
|
"peerDependencies": {
|
|
40
|
-
"@office-iss/react-native-win32": "^0.
|
|
41
|
+
"@office-iss/react-native-win32": "^0.73.0",
|
|
41
42
|
"react": "18.2.0",
|
|
42
|
-
"react-native": "^0.
|
|
43
|
-
"react-native-macos": "^0.
|
|
44
|
-
"react-native-windows": "^0.
|
|
43
|
+
"react-native": "^0.73.0",
|
|
44
|
+
"react-native-macos": "^0.73.0",
|
|
45
|
+
"react-native-windows": "^0.73.0"
|
|
45
46
|
},
|
|
46
47
|
"rnx-kit": {
|
|
47
48
|
"kitType": "library",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"microsoft/react-native"
|
|
51
52
|
],
|
|
52
53
|
"requirements": [
|
|
53
|
-
"react-native@0.
|
|
54
|
+
"react-native@0.73"
|
|
54
55
|
],
|
|
55
56
|
"capabilities": [
|
|
56
57
|
"core",
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
import type { ColorValue, HostComponent, ViewProps } from 'react-native';
|
|
8
8
|
|
|
9
|
-
import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
9
|
+
import type { DirectEventHandler, Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
10
10
|
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
|
|
11
11
|
|
|
12
12
|
export interface NativeProps extends ViewProps {
|
|
13
|
-
expandDirection?: 'up' | 'down'
|
|
13
|
+
expandDirection?: WithDefault<'up' | 'down', 'down'>;
|
|
14
14
|
expanded?: boolean;
|
|
15
15
|
enabled?: boolean;
|
|
16
16
|
width?: Double;
|
|
17
17
|
height?: Double;
|
|
18
|
-
contentHorizontalAlignment?: 'center' | 'left' | 'right' | 'stretch'
|
|
19
|
-
contentVerticalAlignment?: 'bottom' | 'center' | 'stretch' | 'top'
|
|
18
|
+
contentHorizontalAlignment?: WithDefault<'center' | 'left' | 'right' | 'stretch', 'stretch'>;
|
|
19
|
+
contentVerticalAlignment?: WithDefault<'bottom' | 'center' | 'stretch' | 'top', 'top'>;
|
|
20
20
|
headerBackground?: ColorValue;
|
|
21
21
|
headerForeground?: ColorValue;
|
|
22
22
|
headerForegroundPointerOver?: ColorValue;
|