@fluentui-react-native/experimental-expander 0.8.0 → 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 +16 -1
- package/CHANGELOG.md +10 -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 +1 -1
- package/src/ExpanderNativeComponent.ts +4 -4
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
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",
|
|
6
21
|
"version": "0.8.0",
|
|
7
22
|
"tag": "@fluentui-react-native/experimental-expander_v0.8.0",
|
|
8
23
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
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
|
+
|
|
7
15
|
## 0.8.0
|
|
8
16
|
|
|
9
|
-
Thu, 11 Apr 2024 18:
|
|
17
|
+
Thu, 11 Apr 2024 18:08:37 GMT
|
|
10
18
|
|
|
11
19
|
### Minor changes
|
|
12
20
|
|
|
@@ -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,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,KAAK,EAAE,KAAK,CAAC,CAAC;IACvF,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,2BAA2B,CAAC,EAAE,UAAU,CAAC;IACzC,uBAAuB,CAAC,EAAE,UAAU,CAAC;IACrC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,yBAAyB,CAAC,EAAE,UAAU,CAAC;IACvC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,6BAA6B,CAAC,EAAE,UAAU,CAAC;IAC3C,yBAAyB,CAAC,EAAE,UAAU,CAAC;IAEvC,YAAY,CAAC,EAAE,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":"Expander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/B,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,4BAA4B,CAAC,EAAE,UAAU,CAAC;IAC1C,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,wBAAwB,CAAC,EAAE,UAAU,CAAC;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,UAAU,CAAC;IAChC,6BAA6B,CAAC,EAAE,UAAU,CAAC;IAC3C,yBAAyB,CAAC,EAAE,UAAU,CAAC;IAEvC,YAAY,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACxC,WAAW,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CACxC;;AAED,wBAEgC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/experimental-expander",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "A cross-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>",
|
|
@@ -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;
|