@fluentui-react-native/framework 0.6.4 → 0.7.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/.eslintrc.js CHANGED
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- extends: ['@uifabricshared/eslint-config-rules']
2
+ extends: ['@fluentui-react-native/eslint-config-rules'],
3
3
  };
package/CHANGELOG.json CHANGED
@@ -2,7 +2,159 @@
2
2
  "name": "@fluentui-react-native/framework",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 25 Oct 2021 19:22:27 GMT",
5
+ "date": "Thu, 16 Dec 2021 06:26:43 GMT",
6
+ "tag": "@fluentui-react-native/framework_v0.7.1",
7
+ "version": "0.7.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui-react-native/framework",
13
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.1",
14
+ "commit": "841d2998e8b97fabe0b6dac9c74c3d63d2b3bbd4"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui-react-native/framework",
19
+ "comment": "Bump @fluentui-react-native/tokens to v0.11.1",
20
+ "commit": "841d2998e8b97fabe0b6dac9c74c3d63d2b3bbd4"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 17 Nov 2021 19:28:07 GMT",
27
+ "tag": "@fluentui-react-native/framework_v0.7.0",
28
+ "version": "0.7.0",
29
+ "comments": {
30
+ "minor": [
31
+ {
32
+ "comment": "Update to react-native 0.64",
33
+ "author": "afoxman@microsoft.com",
34
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
35
+ "package": "@fluentui-react-native/framework"
36
+ }
37
+ ],
38
+ "patch": [
39
+ {
40
+ "comment": "Bump @fluentui-react-native/tokens to v0.11.0",
41
+ "author": "afoxman@microsoft.com",
42
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
43
+ "package": "@fluentui-react-native/framework"
44
+ },
45
+ {
46
+ "comment": "Bump @fluentui-react-native/composition to v0.7.0",
47
+ "author": "afoxman@microsoft.com",
48
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
49
+ "package": "@fluentui-react-native/framework"
50
+ },
51
+ {
52
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.0",
53
+ "author": "afoxman@microsoft.com",
54
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
55
+ "package": "@fluentui-react-native/framework"
56
+ },
57
+ {
58
+ "comment": "Bump @fluentui-react-native/merge-props to v0.4.0",
59
+ "author": "afoxman@microsoft.com",
60
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
61
+ "package": "@fluentui-react-native/framework"
62
+ },
63
+ {
64
+ "comment": "Bump @fluentui-react-native/use-slot to v0.2.0",
65
+ "author": "afoxman@microsoft.com",
66
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
67
+ "package": "@fluentui-react-native/framework"
68
+ },
69
+ {
70
+ "comment": "Bump @fluentui-react-native/use-slots to v0.6.0",
71
+ "author": "afoxman@microsoft.com",
72
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
73
+ "package": "@fluentui-react-native/framework"
74
+ },
75
+ {
76
+ "comment": "Bump @fluentui-react-native/use-tokens to v0.2.0",
77
+ "author": "afoxman@microsoft.com",
78
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
79
+ "package": "@fluentui-react-native/framework"
80
+ },
81
+ {
82
+ "comment": "Bump @fluentui-react-native/use-styling to v0.8.0",
83
+ "author": "afoxman@microsoft.com",
84
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
85
+ "package": "@fluentui-react-native/framework"
86
+ },
87
+ {
88
+ "comment": "Bump @fluentui-react-native/theme-types to v0.13.0",
89
+ "author": "afoxman@microsoft.com",
90
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
91
+ "package": "@fluentui-react-native/framework"
92
+ }
93
+ ]
94
+ }
95
+ },
96
+ {
97
+ "date": "Fri, 12 Nov 2021 16:07:20 GMT",
98
+ "tag": "@fluentui-react-native/framework_v0.6.6",
99
+ "version": "0.6.6",
100
+ "comments": {
101
+ "none": [
102
+ {
103
+ "comment": "Don't `export *` from external packages",
104
+ "author": "4123478+tido64@users.noreply.github.com",
105
+ "commit": "25673699e6c6c064b41f1246c2c995baa67a74ad",
106
+ "package": "@fluentui-react-native/framework"
107
+ }
108
+ ]
109
+ }
110
+ },
111
+ {
112
+ "date": "Thu, 11 Nov 2021 23:17:41 GMT",
113
+ "tag": "@fluentui-react-native/framework_v0.6.6",
114
+ "version": "0.6.6",
115
+ "comments": {
116
+ "none": [
117
+ {
118
+ "comment": "Rename uifabricshared/eslint-config-rules to fluentui-react-native/eslint-config-rules",
119
+ "author": "ruaraki@microsoft.com",
120
+ "commit": "110fba2a1721a914501404f6040f07656307549e",
121
+ "package": "@fluentui-react-native/framework"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "date": "Tue, 09 Nov 2021 23:04:33 GMT",
128
+ "tag": "@fluentui-react-native/framework_v0.6.6",
129
+ "version": "0.6.6",
130
+ "comments": {
131
+ "patch": [
132
+ {
133
+ "comment": "Bump @fluentui-react-native/default-theme to v0.8.11",
134
+ "author": "67026167+chiuam@users.noreply.github.com",
135
+ "commit": "8baa72ed4ec06f90a51cf757e1924e946f76a537",
136
+ "package": "@fluentui-react-native/framework"
137
+ }
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "date": "Mon, 01 Nov 2021 18:53:37 GMT",
143
+ "tag": "@fluentui-react-native/framework_v0.6.5",
144
+ "version": "0.6.5",
145
+ "comments": {
146
+ "patch": [
147
+ {
148
+ "comment": "Bump @fluentui-react-native/default-theme to v0.8.10",
149
+ "author": "ruaraki@microsoft.com",
150
+ "commit": "f05bda9db60753eb07b2688526ed158d690b8b63",
151
+ "package": "@fluentui-react-native/framework"
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ {
157
+ "date": "Mon, 25 Oct 2021 19:24:43 GMT",
6
158
  "tag": "@fluentui-react-native/framework_v0.6.4",
7
159
  "version": "0.6.4",
8
160
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,57 @@
1
1
  # Change Log - @fluentui-react-native/framework
2
2
 
3
- This log was last generated on Mon, 25 Oct 2021 19:22:27 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 16 Dec 2021 06:26:43 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.7.1
8
+
9
+ Thu, 16 Dec 2021 06:26:43 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @fluentui-react-native/default-theme to v0.9.1
14
+ - Bump @fluentui-react-native/tokens to v0.11.1
15
+
16
+ ## 0.7.0
17
+
18
+ Wed, 17 Nov 2021 19:28:07 GMT
19
+
20
+ ### Minor changes
21
+
22
+ - Update to react-native 0.64 (afoxman@microsoft.com)
23
+
24
+ ### Patches
25
+
26
+ - Bump @fluentui-react-native/tokens to v0.11.0 (afoxman@microsoft.com)
27
+ - Bump @fluentui-react-native/composition to v0.7.0 (afoxman@microsoft.com)
28
+ - Bump @fluentui-react-native/default-theme to v0.9.0 (afoxman@microsoft.com)
29
+ - Bump @fluentui-react-native/merge-props to v0.4.0 (afoxman@microsoft.com)
30
+ - Bump @fluentui-react-native/use-slot to v0.2.0 (afoxman@microsoft.com)
31
+ - Bump @fluentui-react-native/use-slots to v0.6.0 (afoxman@microsoft.com)
32
+ - Bump @fluentui-react-native/use-tokens to v0.2.0 (afoxman@microsoft.com)
33
+ - Bump @fluentui-react-native/use-styling to v0.8.0 (afoxman@microsoft.com)
34
+ - Bump @fluentui-react-native/theme-types to v0.13.0 (afoxman@microsoft.com)
35
+
36
+ ## 0.6.6
37
+
38
+ Tue, 09 Nov 2021 23:04:33 GMT
39
+
40
+ ### Patches
41
+
42
+ - Bump @fluentui-react-native/default-theme to v0.8.11 (67026167+chiuam@users.noreply.github.com)
43
+
44
+ ## 0.6.5
45
+
46
+ Mon, 01 Nov 2021 18:53:37 GMT
47
+
48
+ ### Patches
49
+
50
+ - Bump @fluentui-react-native/default-theme to v0.8.10 (ruaraki@microsoft.com)
51
+
7
52
  ## 0.6.4
8
53
 
9
- Mon, 25 Oct 2021 19:22:27 GMT
54
+ Mon, 25 Oct 2021 19:24:43 GMT
10
55
 
11
56
  ### Patches
12
57
 
package/lib/index.d.ts CHANGED
@@ -1,10 +1,15 @@
1
- export * from '@fluentui-react-native/memo-cache';
2
- export * from '@fluentui-react-native/merge-props';
3
- export * from '@fluentui-react-native/tokens';
4
- export * from '@fluentui-react-native/use-slot';
5
- export * from '@fluentui-react-native/use-slots';
6
- export * from '@fluentui-react-native/immutable-merge';
7
- export * from '@fluentui-react-native/theme-types';
1
+ export { GetMemoValue, getMemoCache, memoize } from '@fluentui-react-native/memo-cache';
2
+ export { StyleProp, mergeProps, mergeStyles } from '@fluentui-react-native/merge-props';
3
+ export { backgroundColorTokens, borderStyles, borderTokens, colorTokens, fontStyles, foregroundColorTokens, getPaletteFromTheme, layoutStyles, layoutTokens, shadowStyles, shadowTokens, textTokens, tokenBuilder, } from '@fluentui-react-native/tokens';
4
+ export type { FontStyleTokens, FontTokens, FontVariantTokens, IBackgroundColorTokens, IBorderTokens, IColorTokens, IForegroundColorTokens, IShadowTokens, LayoutTokens, TokenBuilder, } from '@fluentui-react-native/tokens';
5
+ export { renderSlot, stagedComponent, useSlot, withSlots } from '@fluentui-react-native/use-slot';
6
+ export type { ComposableFunction, FinalRender, NativeReactType, SlotFn, StagedRender } from '@fluentui-react-native/use-slot';
7
+ export { buildUseSlots } from '@fluentui-react-native/use-slots';
8
+ export type { GetSlotProps, Slots, UseSlotOptions, UseSlotsBase } from '@fluentui-react-native/use-slots';
9
+ export { immutableMerge, immutableMergeCore, processImmutable } from '@fluentui-react-native/immutable-merge';
10
+ export type { BuiltinRecursionHandlers, CustomRecursionHandler, MergeOptions, RecursionHandler, RecursionOption, } from '@fluentui-react-native/immutable-merge';
11
+ export { ThemeContext, useTheme } from '@fluentui-react-native/theme-types';
12
+ export type { AliasColorTokens, AppearanceOptions, Color, ControlColorTokens, FabricWebPalette, FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, OfficePalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, PartialTheme, PartialTypography, Spacing, TextStyling, Theme, ThemeColorDefinition, ThemeOptions, Typography, Variant, VariantValue, Variants, } from '@fluentui-react-native/theme-types';
8
13
  export * from './compose';
9
14
  export * from './compressible';
10
15
  export * from './useFluentTheme';
package/lib/index.js CHANGED
@@ -1,10 +1,10 @@
1
- export * from '@fluentui-react-native/memo-cache';
2
- export * from '@fluentui-react-native/merge-props';
3
- export * from '@fluentui-react-native/tokens';
4
- export * from '@fluentui-react-native/use-slot';
5
- export * from '@fluentui-react-native/use-slots';
6
- export * from '@fluentui-react-native/immutable-merge';
7
- export * from '@fluentui-react-native/theme-types';
1
+ export { getMemoCache, memoize } from '@fluentui-react-native/memo-cache';
2
+ export { mergeProps, mergeStyles } from '@fluentui-react-native/merge-props';
3
+ export { backgroundColorTokens, borderStyles, borderTokens, colorTokens, fontStyles, foregroundColorTokens, getPaletteFromTheme, layoutStyles, layoutTokens, shadowStyles, shadowTokens, textTokens, tokenBuilder, } from '@fluentui-react-native/tokens';
4
+ export { renderSlot, stagedComponent, useSlot, withSlots } from '@fluentui-react-native/use-slot';
5
+ export { buildUseSlots } from '@fluentui-react-native/use-slots';
6
+ export { immutableMerge, immutableMergeCore, processImmutable } from '@fluentui-react-native/immutable-merge';
7
+ export { ThemeContext, useTheme } from '@fluentui-react-native/theme-types';
8
8
  export * from './compose';
9
9
  export * from './compressible';
10
10
  export * from './useFluentTheme';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,YAAY,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAExF,OAAO,EAAa,UAAU,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,EACL,qBAAqB,EACrB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,UAAU,EACV,qBAAqB,EACrB,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,YAAY,GACb,MAAM,+BAA+B,CAAC;AAcvC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAGlG,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAGjE,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAS9G,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAkC5E,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -1,10 +1,15 @@
1
- export * from '@fluentui-react-native/memo-cache';
2
- export * from '@fluentui-react-native/merge-props';
3
- export * from '@fluentui-react-native/tokens';
4
- export * from '@fluentui-react-native/use-slot';
5
- export * from '@fluentui-react-native/use-slots';
6
- export * from '@fluentui-react-native/immutable-merge';
7
- export * from '@fluentui-react-native/theme-types';
1
+ export { GetMemoValue, getMemoCache, memoize } from '@fluentui-react-native/memo-cache';
2
+ export { StyleProp, mergeProps, mergeStyles } from '@fluentui-react-native/merge-props';
3
+ export { backgroundColorTokens, borderStyles, borderTokens, colorTokens, fontStyles, foregroundColorTokens, getPaletteFromTheme, layoutStyles, layoutTokens, shadowStyles, shadowTokens, textTokens, tokenBuilder, } from '@fluentui-react-native/tokens';
4
+ export type { FontStyleTokens, FontTokens, FontVariantTokens, IBackgroundColorTokens, IBorderTokens, IColorTokens, IForegroundColorTokens, IShadowTokens, LayoutTokens, TokenBuilder, } from '@fluentui-react-native/tokens';
5
+ export { renderSlot, stagedComponent, useSlot, withSlots } from '@fluentui-react-native/use-slot';
6
+ export type { ComposableFunction, FinalRender, NativeReactType, SlotFn, StagedRender } from '@fluentui-react-native/use-slot';
7
+ export { buildUseSlots } from '@fluentui-react-native/use-slots';
8
+ export type { GetSlotProps, Slots, UseSlotOptions, UseSlotsBase } from '@fluentui-react-native/use-slots';
9
+ export { immutableMerge, immutableMergeCore, processImmutable } from '@fluentui-react-native/immutable-merge';
10
+ export type { BuiltinRecursionHandlers, CustomRecursionHandler, MergeOptions, RecursionHandler, RecursionOption, } from '@fluentui-react-native/immutable-merge';
11
+ export { ThemeContext, useTheme } from '@fluentui-react-native/theme-types';
12
+ export type { AliasColorTokens, AppearanceOptions, Color, ControlColorTokens, FabricWebPalette, FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, OfficePalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, PartialTheme, PartialTypography, Spacing, TextStyling, Theme, ThemeColorDefinition, ThemeOptions, Typography, Variant, VariantValue, Variants, } from '@fluentui-react-native/theme-types';
8
13
  export * from './compose';
9
14
  export * from './compressible';
10
15
  export * from './useFluentTheme';
@@ -1,13 +1,40 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("@fluentui-react-native/memo-cache"), exports);
5
- tslib_1.__exportStar(require("@fluentui-react-native/merge-props"), exports);
6
- tslib_1.__exportStar(require("@fluentui-react-native/tokens"), exports);
7
- tslib_1.__exportStar(require("@fluentui-react-native/use-slot"), exports);
8
- tslib_1.__exportStar(require("@fluentui-react-native/use-slots"), exports);
9
- tslib_1.__exportStar(require("@fluentui-react-native/immutable-merge"), exports);
10
- tslib_1.__exportStar(require("@fluentui-react-native/theme-types"), exports);
4
+ var memo_cache_1 = require("@fluentui-react-native/memo-cache");
5
+ exports.getMemoCache = memo_cache_1.getMemoCache;
6
+ exports.memoize = memo_cache_1.memoize;
7
+ var merge_props_1 = require("@fluentui-react-native/merge-props");
8
+ exports.mergeProps = merge_props_1.mergeProps;
9
+ exports.mergeStyles = merge_props_1.mergeStyles;
10
+ var tokens_1 = require("@fluentui-react-native/tokens");
11
+ exports.backgroundColorTokens = tokens_1.backgroundColorTokens;
12
+ exports.borderStyles = tokens_1.borderStyles;
13
+ exports.borderTokens = tokens_1.borderTokens;
14
+ exports.colorTokens = tokens_1.colorTokens;
15
+ exports.fontStyles = tokens_1.fontStyles;
16
+ exports.foregroundColorTokens = tokens_1.foregroundColorTokens;
17
+ exports.getPaletteFromTheme = tokens_1.getPaletteFromTheme;
18
+ exports.layoutStyles = tokens_1.layoutStyles;
19
+ exports.layoutTokens = tokens_1.layoutTokens;
20
+ exports.shadowStyles = tokens_1.shadowStyles;
21
+ exports.shadowTokens = tokens_1.shadowTokens;
22
+ exports.textTokens = tokens_1.textTokens;
23
+ exports.tokenBuilder = tokens_1.tokenBuilder;
24
+ var use_slot_1 = require("@fluentui-react-native/use-slot");
25
+ exports.renderSlot = use_slot_1.renderSlot;
26
+ exports.stagedComponent = use_slot_1.stagedComponent;
27
+ exports.useSlot = use_slot_1.useSlot;
28
+ exports.withSlots = use_slot_1.withSlots;
29
+ var use_slots_1 = require("@fluentui-react-native/use-slots");
30
+ exports.buildUseSlots = use_slots_1.buildUseSlots;
31
+ var immutable_merge_1 = require("@fluentui-react-native/immutable-merge");
32
+ exports.immutableMerge = immutable_merge_1.immutableMerge;
33
+ exports.immutableMergeCore = immutable_merge_1.immutableMergeCore;
34
+ exports.processImmutable = immutable_merge_1.processImmutable;
35
+ var theme_types_1 = require("@fluentui-react-native/theme-types");
36
+ exports.ThemeContext = theme_types_1.ThemeContext;
37
+ exports.useTheme = theme_types_1.useTheme;
11
38
  tslib_1.__exportStar(require("./compose"), exports);
12
39
  tslib_1.__exportStar(require("./compressible"), exports);
13
40
  tslib_1.__exportStar(require("./useFluentTheme"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,4EAAkD;AAClD,6EAAmD;AACnD,wEAA8C;AAC9C,0EAAgD;AAChD,2EAAiD;AACjD,iFAAuD;AACvD,6EAAmD;AACnD,oDAA0B;AAC1B,yDAA+B;AAC/B,2DAAiC;AACjC,uDAA6B;AAC7B,sDAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,gEAAwF;AAAjE,oCAAA,YAAY,CAAA;AAAE,+BAAA,OAAO,CAAA;AAE5C,kEAAwF;AAApE,mCAAA,UAAU,CAAA;AAAE,oCAAA,WAAW,CAAA;AAE3C,wDAcuC;AAbrC,yCAAA,qBAAqB,CAAA;AACrB,gCAAA,YAAY,CAAA;AACZ,gCAAA,YAAY,CAAA;AACZ,+BAAA,WAAW,CAAA;AACX,8BAAA,UAAU,CAAA;AACV,yCAAA,qBAAqB,CAAA;AACrB,uCAAA,mBAAmB,CAAA;AACnB,gCAAA,YAAY,CAAA;AACZ,gCAAA,YAAY,CAAA;AACZ,gCAAA,YAAY,CAAA;AACZ,gCAAA,YAAY,CAAA;AACZ,8BAAA,UAAU,CAAA;AACV,gCAAA,YAAY,CAAA;AAed,4DAAkG;AAAzF,gCAAA,UAAU,CAAA;AAAE,qCAAA,eAAe,CAAA;AAAE,6BAAA,OAAO,CAAA;AAAE,+BAAA,SAAS,CAAA;AAGxD,8DAAiE;AAAxD,oCAAA,aAAa,CAAA;AAGtB,0EAA8G;AAArG,2CAAA,cAAc,CAAA;AAAE,+CAAA,kBAAkB,CAAA;AAAE,6CAAA,gBAAgB,CAAA;AAS7D,kEAA4E;AAAnE,qCAAA,YAAY,CAAA;AAAE,iCAAA,QAAQ,CAAA;AAkC/B,oDAA0B;AAC1B,yDAA+B;AAC/B,2DAAiC;AACjC,uDAA6B;AAC7B,sDAA4B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/framework",
3
- "version": "0.6.4",
3
+ "version": "0.7.1",
4
4
  "description": "Component framework used by fluentui react native controls",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -21,32 +21,32 @@
21
21
  "prettier-fix": "fluentui-scripts prettier --fix true"
22
22
  },
23
23
  "dependencies": {
24
- "@fluentui-react-native/composition": ">=0.6.12 <1.0.0",
25
- "@fluentui-react-native/default-theme": ">=0.8.9 <1.0.0",
24
+ "@fluentui-react-native/composition": ">=0.7.0 <1.0.0",
25
+ "@fluentui-react-native/default-theme": ">=0.9.1 <1.0.0",
26
26
  "@fluentui-react-native/immutable-merge": "^1.1.4",
27
- "@fluentui-react-native/merge-props": ">=0.3.5 <1.0.0",
28
- "@fluentui-react-native/theme-types": ">=0.12.3 <1.0.0",
29
- "@fluentui-react-native/use-styling": ">=0.7.2 <1.0.0",
30
- "@fluentui-react-native/use-slot": ">=0.1.7 <1.0.0",
31
- "@fluentui-react-native/use-slots": ">=0.5.9 <1.0.0",
32
- "@fluentui-react-native/use-tokens": ">=0.1.7 <1.0.0",
27
+ "@fluentui-react-native/merge-props": ">=0.4.0 <1.0.0",
28
+ "@fluentui-react-native/theme-types": ">=0.13.0 <1.0.0",
29
+ "@fluentui-react-native/use-styling": ">=0.8.0 <1.0.0",
30
+ "@fluentui-react-native/use-slot": ">=0.2.0 <1.0.0",
31
+ "@fluentui-react-native/use-slots": ">=0.6.0 <1.0.0",
32
+ "@fluentui-react-native/use-tokens": ">=0.2.0 <1.0.0",
33
33
  "@fluentui-react-native/memo-cache": "^1.1.5",
34
- "@fluentui-react-native/tokens": ">=0.10.2 <1.0.0",
34
+ "@fluentui-react-native/tokens": ">=0.11.1 <1.0.0",
35
35
  "tslib": "^1.13.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@types/react": ">=16.9.34 < 16.14.0",
39
- "@types/react-native": "^0.63.0",
38
+ "@fluentui-react-native/eslint-config-rules": "^0.1.1",
39
+ "@types/react": "^17.0.2",
40
+ "@types/react-native": "^0.64.0",
40
41
  "@uifabricshared/build-native": "^0.1.1",
41
- "@uifabricshared/eslint-config-rules": "^0.1.1",
42
- "react": "16.13.1",
43
- "react-dom": "16.13.1",
44
- "react-native": "^0.63.4",
45
- "react-native-web": "0.12.3"
42
+ "react": "17.0.1",
43
+ "react-dom": "17.0.1",
44
+ "react-native": "^0.64.3",
45
+ "react-native-web": "0.17.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "react": ">=16.13.1",
49
- "react-native": ">=0.63.4"
48
+ "react": ">=17.0.1",
49
+ "react-native": ">=0.64.3"
50
50
  },
51
51
  "author": "",
52
52
  "license": "MIT"
package/src/index.ts CHANGED
@@ -1,10 +1,84 @@
1
- export * from '@fluentui-react-native/memo-cache';
2
- export * from '@fluentui-react-native/merge-props';
3
- export * from '@fluentui-react-native/tokens';
4
- export * from '@fluentui-react-native/use-slot';
5
- export * from '@fluentui-react-native/use-slots';
6
- export * from '@fluentui-react-native/immutable-merge';
7
- export * from '@fluentui-react-native/theme-types';
1
+ export { GetMemoValue, getMemoCache, memoize } from '@fluentui-react-native/memo-cache';
2
+
3
+ export { StyleProp, mergeProps, mergeStyles } from '@fluentui-react-native/merge-props';
4
+
5
+ export {
6
+ backgroundColorTokens,
7
+ borderStyles,
8
+ borderTokens,
9
+ colorTokens,
10
+ fontStyles,
11
+ foregroundColorTokens,
12
+ getPaletteFromTheme,
13
+ layoutStyles,
14
+ layoutTokens,
15
+ shadowStyles,
16
+ shadowTokens,
17
+ textTokens,
18
+ tokenBuilder,
19
+ } from '@fluentui-react-native/tokens';
20
+ export type {
21
+ FontStyleTokens,
22
+ FontTokens,
23
+ FontVariantTokens,
24
+ IBackgroundColorTokens,
25
+ IBorderTokens,
26
+ IColorTokens,
27
+ IForegroundColorTokens,
28
+ IShadowTokens,
29
+ LayoutTokens,
30
+ TokenBuilder,
31
+ } from '@fluentui-react-native/tokens';
32
+
33
+ export { renderSlot, stagedComponent, useSlot, withSlots } from '@fluentui-react-native/use-slot';
34
+ export type { ComposableFunction, FinalRender, NativeReactType, SlotFn, StagedRender } from '@fluentui-react-native/use-slot';
35
+
36
+ export { buildUseSlots } from '@fluentui-react-native/use-slots';
37
+ export type { GetSlotProps, Slots, UseSlotOptions, UseSlotsBase } from '@fluentui-react-native/use-slots';
38
+
39
+ export { immutableMerge, immutableMergeCore, processImmutable } from '@fluentui-react-native/immutable-merge';
40
+ export type {
41
+ BuiltinRecursionHandlers,
42
+ CustomRecursionHandler,
43
+ MergeOptions,
44
+ RecursionHandler,
45
+ RecursionOption,
46
+ } from '@fluentui-react-native/immutable-merge';
47
+
48
+ export { ThemeContext, useTheme } from '@fluentui-react-native/theme-types';
49
+ export type {
50
+ AliasColorTokens,
51
+ AppearanceOptions,
52
+ Color,
53
+ ControlColorTokens,
54
+ FabricWebPalette,
55
+ FontFamilies,
56
+ FontFamily,
57
+ FontFamilyValue,
58
+ FontSize,
59
+ FontSizeValuePoints,
60
+ FontSizes,
61
+ FontWeight,
62
+ FontWeightValue,
63
+ FontWeights,
64
+ OfficePalette,
65
+ Palette,
66
+ PaletteBackgroundColors,
67
+ PaletteTextColors,
68
+ PartialPalette,
69
+ PartialTheme,
70
+ PartialTypography,
71
+ Spacing,
72
+ TextStyling,
73
+ Theme,
74
+ ThemeColorDefinition,
75
+ ThemeOptions,
76
+ Typography,
77
+ Variant,
78
+ VariantValue,
79
+ Variants,
80
+ } from '@fluentui-react-native/theme-types';
81
+
8
82
  export * from './compose';
9
83
  export * from './compressible';
10
84
  export * from './useFluentTheme';