@fluentui-react-native/experimental-expander 0.3.15 → 0.3.18

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 CHANGED
@@ -2,7 +2,58 @@
2
2
  "name": "@fluentui-react-native/experimental-expander",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 03 Mar 2022 20:18:16 GMT",
5
+ "date": "Wed, 16 Mar 2022 23:37:11 GMT",
6
+ "tag": "@fluentui-react-native/experimental-expander_v0.3.18",
7
+ "version": "0.3.18",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@fluentui-react-native/experimental-expander",
13
+ "commit": "accaa133a79013c665204b405704ca241c506999",
14
+ "comment": "fixes winUI dependency"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 07 Mar 2022 19:15:33 GMT",
21
+ "tag": "@fluentui-react-native/experimental-expander_v0.3.17",
22
+ "version": "0.3.17",
23
+ "comments": {
24
+ "patch": [
25
+ {
26
+ "author": "beachball",
27
+ "package": "@fluentui-react-native/experimental-expander",
28
+ "comment": "Bump @fluentui-react-native/framework to v0.7.17",
29
+ "commit": "d437b204aa63de4c9d4dd2f58ccf541c388ddaee"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Fri, 04 Mar 2022 23:43:10 GMT",
36
+ "tag": "@fluentui-react-native/experimental-expander_v0.3.16",
37
+ "version": "0.3.16",
38
+ "comments": {
39
+ "patch": [
40
+ {
41
+ "author": "ruaraki@microsoft.com",
42
+ "package": "@fluentui-react-native/experimental-expander",
43
+ "commit": "051e390caabfc13c4e53f9812f0ec7c5b56094a2",
44
+ "comment": "Bump @rnx-kit/eslint-plugin from 0.2.10 to 0.2.11"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui-react-native/experimental-expander",
49
+ "comment": "Bump @fluentui-react-native/framework to v0.7.16",
50
+ "commit": "051e390caabfc13c4e53f9812f0ec7c5b56094a2"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Thu, 03 Mar 2022 20:20:09 GMT",
6
57
  "tag": "@fluentui-react-native/experimental-expander_v0.3.15",
7
58
  "version": "0.3.15",
8
59
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,37 @@
1
1
  # Change Log - @fluentui-react-native/experimental-expander
2
2
 
3
- This log was last generated on Thu, 03 Mar 2022 20:18:16 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 16 Mar 2022 23:37:11 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.3.18
8
+
9
+ Wed, 16 Mar 2022 23:37:11 GMT
10
+
11
+ ### Patches
12
+
13
+ - fixes winUI dependency (email not defined)
14
+
15
+ ## 0.3.17
16
+
17
+ Mon, 07 Mar 2022 19:15:33 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @fluentui-react-native/framework to v0.7.17
22
+
23
+ ## 0.3.16
24
+
25
+ Fri, 04 Mar 2022 23:43:10 GMT
26
+
27
+ ### Patches
28
+
29
+ - Bump @rnx-kit/eslint-plugin from 0.2.10 to 0.2.11 (ruaraki@microsoft.com)
30
+ - Bump @fluentui-react-native/framework to v0.7.16
31
+
7
32
  ## 0.3.15
8
33
 
9
- Thu, 03 Mar 2022 20:18:16 GMT
34
+ Thu, 03 Mar 2022 20:20:09 GMT
10
35
 
11
36
  ### Patches
12
37
 
package/lib/Expander.js CHANGED
@@ -61,7 +61,7 @@ export var Expander = compose({
61
61
  root: buildProps(function (tokens) { return (__assign({}, tokens)); }),
62
62
  },
63
63
  slots: { root: ExpanderComponent },
64
- render: function (userProps, useSlots) {
64
+ useRender: function (userProps, useSlots) {
65
65
  var Root = useSlots(userProps).root;
66
66
  var _a = React.useState(userProps.expanded), expandedState = _a[0], setExpandedState = _a[1];
67
67
  var expanderHeight = expandedState ? userProps.expandedHeight : userProps.collapsedHeight;
@@ -1 +1 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,CAAC,IAAE,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,KAClH,QAAQ,CACJ,CACR;QAJmE,CAInE,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
@@ -83,7 +83,7 @@ exports.Expander = (0, framework_1.compose)({
83
83
  root: (0, framework_1.buildProps)(function (tokens) { return (__assign({}, tokens)); }),
84
84
  },
85
85
  slots: { root: ExpanderComponent },
86
- render: function (userProps, useSlots) {
86
+ useRender: function (userProps, useSlots) {
87
87
  var Root = useSlots(userProps).root;
88
88
  var _a = React.useState(userProps.expanded), expandedState = _a[0], setExpandedState = _a[1];
89
89
  var expanderHeight = expandedState ? userProps.expandedHeight : userProps.collapsedHeight;
@@ -1 +1 @@
1
- {"version":3,"file":"Expander.js","sourceRoot":"","sources":["../src/Expander.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qBAAqB;AACrB,2CAA+B;AAC/B,mDAAgG;AAChG,8DAAwG;AACxG,0EAA+E;AAE/E,IAAM,iBAAiB,GAAG,IAAA,uCAAqB,EAAC,cAAc,CAAC,CAAC;AAEhE,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO,CAAC,UAAC,OAAO,IAAK,OAAA,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,EAAvB,CAAuB,CAAC,CAAC;AAC3D,CAAC;AAEY,QAAA,QAAQ,GAAG,IAAA,mBAAO,EAAe;IAC5C,WAAW,EAAE,6BAAY;IACzB,MAAM,EAAE,CAAC,EAAE,EAAE,6BAAY,CAAC;IAC1B,SAAS,EAAE;QACT,IAAI,EAAE,IAAA,sBAAU,EAAC,UAAC,MAAM,IAAK,OAAA,cAAM,MAAM,EAAG,EAAf,CAAe,CAAC;KAC9C;IACD,KAAK,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAClC,MAAM,EA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SAAS,CAAgB,CAAC;QAC5B,CAAC,CAAC;QAEF,OAAO,UAAC,IAAuB;YAAE,kBAA8B;iBAA9B,UAA8B,EAA9B,qBAA8B,EAA9B,IAA8B;gBAA9B,iCAA8B;;YAAK,OAAA,CAClE,2BAAC,IAAI,eAAK,IAAA,sBAAU,EAAC,SAAS,EAAE,IAAI,CAAC,IAAE,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,KAClH,QAAQ,CACJ,CACR;QAJmE,CAInE,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/experimental-expander",
3
- "version": "0.3.15",
3
+ "version": "0.3.18",
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>",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@fluentui-react-native/component-cache": "^1.3.1",
30
- "@fluentui-react-native/framework": "0.7.15"
30
+ "@fluentui-react-native/framework": "0.7.17"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@fluentui-react-native/eslint-config-rules": "^0.1.1",
package/src/Expander.tsx CHANGED
@@ -17,7 +17,7 @@ export const Expander = compose<ExpanderType>({
17
17
  root: buildProps((tokens) => ({ ...tokens })),
18
18
  },
19
19
  slots: { root: ExpanderComponent },
20
- render: (userProps: ExpanderProps, useSlots: UseSlots<ExpanderType>) => {
20
+ useRender: (userProps: ExpanderProps, useSlots: UseSlots<ExpanderType>) => {
21
21
  const Root = useSlots(userProps).root;
22
22
  const [expandedState, setExpandedState] = React.useState(userProps.expanded);
23
23
  const expanderHeight = expandedState ? userProps.expandedHeight : userProps.collapsedHeight;
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+
4
+ <!-- Flags can be added here to effect the compilation of Microsoft.ReactNative -->
5
+ <PropertyGroup Label="Microsoft.ReactNative Build Flags">
6
+ <UseWinUI3>false</UseWinUI3>
7
+ <UseHermes>false</UseHermes>
8
+ <WinUI2xVersion>2.6.0</WinUI2xVersion>
9
+ </PropertyGroup>
10
+
11
+ </Project>
@@ -1,5 +1,6 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <Project ToolsVersion="16.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <Import Project="$(SolutionDir)\ExperimentalFeatures.props" Condition="Exists('$(SolutionDir)\ExperimentalFeatures.props')" />
3
4
  <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.props')" />
4
5
  <PropertyGroup Label="Globals">
5
6
  <CppWinRTOptimized>true</CppWinRTOptimized>
@@ -153,14 +154,14 @@
153
154
  <Error Condition="!Exists('$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppLib.targets'))" />
154
155
  </Target>
155
156
  <ImportGroup Label="ExtensionTargets">
156
- <Import Project="$(SolutionDir)\packages\Microsoft.UI.Xaml.2.6.0\build\native\Microsoft.UI.Xaml.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.UI.Xaml.2.6.0\build\native\Microsoft.UI.Xaml.targets')" />
157
+ <Import Project="$(SolutionDir)\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets" Condition="Exists('$(SolutionDir)\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" />
157
158
  <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.targets')" />
158
159
  </ImportGroup>
159
160
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
160
161
  <PropertyGroup>
161
162
  <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
162
163
  </PropertyGroup>
163
- <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.UI.Xaml.2.6.0\build\native\Microsoft.UI.Xaml.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.UI.Xaml.2.6.0\build\native\Microsoft.UI.Xaml.targets'))" />
164
+ <Error Condition="!Exists('$(SolutionDir)\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\$(WinUIPackageName).$(WinUIPackageVersion)\build\native\$(WinUIPackageName).targets'))" />
164
165
  <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.props'))" />
165
166
  <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.210621.3\build\native\Microsoft.Windows.CppWinRT.targets'))" />
166
167
  </Target>