@fluentui-react-native/framework 0.6.5 → 0.7.2

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,174 @@
2
2
  "name": "@fluentui-react-native/framework",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 01 Nov 2021 18:51:49 GMT",
5
+ "date": "Fri, 17 Dec 2021 01:23:52 GMT",
6
+ "tag": "@fluentui-react-native/framework_v0.7.2",
7
+ "version": "0.7.2",
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.2",
14
+ "commit": "511aeb31982a5fb9dd2f7196c0c7217cc4a3dbc6"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 16 Dec 2021 23:00:57 GMT",
21
+ "tag": "@fluentui-react-native/framework_v0.7.1",
22
+ "version": "0.7.1",
23
+ "comments": {
24
+ "none": [
25
+ {
26
+ "author": "dannyvv@microsoft.com",
27
+ "package": "@fluentui-react-native/framework",
28
+ "commit": "25b3989739737bc598a5d699a941af4c0b4a421f",
29
+ "comment": "📦 applying package updates ***NO_CI***"
30
+ }
31
+ ]
32
+ }
33
+ },
34
+ {
35
+ "date": "Thu, 16 Dec 2021 19:10:31 GMT",
36
+ "tag": "@fluentui-react-native/framework_v0.7.1",
37
+ "version": "0.7.1",
38
+ "comments": {
39
+ "patch": [
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui-react-native/framework",
43
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.1",
44
+ "commit": "6a9f067ae2510481b6ff3512c10c08e7de84f86e"
45
+ },
46
+ {
47
+ "author": "beachball",
48
+ "package": "@fluentui-react-native/framework",
49
+ "comment": "Bump @fluentui-react-native/tokens to v0.11.1",
50
+ "commit": "6a9f067ae2510481b6ff3512c10c08e7de84f86e"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Wed, 17 Nov 2021 19:28:07 GMT",
57
+ "tag": "@fluentui-react-native/framework_v0.7.0",
58
+ "version": "0.7.0",
59
+ "comments": {
60
+ "minor": [
61
+ {
62
+ "comment": "Update to react-native 0.64",
63
+ "author": "afoxman@microsoft.com",
64
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
65
+ "package": "@fluentui-react-native/framework"
66
+ }
67
+ ],
68
+ "patch": [
69
+ {
70
+ "comment": "Bump @fluentui-react-native/tokens to v0.11.0",
71
+ "author": "afoxman@microsoft.com",
72
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
73
+ "package": "@fluentui-react-native/framework"
74
+ },
75
+ {
76
+ "comment": "Bump @fluentui-react-native/composition to v0.7.0",
77
+ "author": "afoxman@microsoft.com",
78
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
79
+ "package": "@fluentui-react-native/framework"
80
+ },
81
+ {
82
+ "comment": "Bump @fluentui-react-native/default-theme to v0.9.0",
83
+ "author": "afoxman@microsoft.com",
84
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
85
+ "package": "@fluentui-react-native/framework"
86
+ },
87
+ {
88
+ "comment": "Bump @fluentui-react-native/merge-props to v0.4.0",
89
+ "author": "afoxman@microsoft.com",
90
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
91
+ "package": "@fluentui-react-native/framework"
92
+ },
93
+ {
94
+ "comment": "Bump @fluentui-react-native/use-slot to v0.2.0",
95
+ "author": "afoxman@microsoft.com",
96
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
97
+ "package": "@fluentui-react-native/framework"
98
+ },
99
+ {
100
+ "comment": "Bump @fluentui-react-native/use-slots to v0.6.0",
101
+ "author": "afoxman@microsoft.com",
102
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
103
+ "package": "@fluentui-react-native/framework"
104
+ },
105
+ {
106
+ "comment": "Bump @fluentui-react-native/use-tokens to v0.2.0",
107
+ "author": "afoxman@microsoft.com",
108
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
109
+ "package": "@fluentui-react-native/framework"
110
+ },
111
+ {
112
+ "comment": "Bump @fluentui-react-native/use-styling to v0.8.0",
113
+ "author": "afoxman@microsoft.com",
114
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
115
+ "package": "@fluentui-react-native/framework"
116
+ },
117
+ {
118
+ "comment": "Bump @fluentui-react-native/theme-types to v0.13.0",
119
+ "author": "afoxman@microsoft.com",
120
+ "commit": "f16d742b5c2d5b97e49ac1ef7b740cbf89fc42e6",
121
+ "package": "@fluentui-react-native/framework"
122
+ }
123
+ ]
124
+ }
125
+ },
126
+ {
127
+ "date": "Fri, 12 Nov 2021 16:07:20 GMT",
128
+ "tag": "@fluentui-react-native/framework_v0.6.6",
129
+ "version": "0.6.6",
130
+ "comments": {
131
+ "none": [
132
+ {
133
+ "comment": "Don't `export *` from external packages",
134
+ "author": "4123478+tido64@users.noreply.github.com",
135
+ "commit": "25673699e6c6c064b41f1246c2c995baa67a74ad",
136
+ "package": "@fluentui-react-native/framework"
137
+ }
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "date": "Thu, 11 Nov 2021 23:17:41 GMT",
143
+ "tag": "@fluentui-react-native/framework_v0.6.6",
144
+ "version": "0.6.6",
145
+ "comments": {
146
+ "none": [
147
+ {
148
+ "comment": "Rename uifabricshared/eslint-config-rules to fluentui-react-native/eslint-config-rules",
149
+ "author": "ruaraki@microsoft.com",
150
+ "commit": "110fba2a1721a914501404f6040f07656307549e",
151
+ "package": "@fluentui-react-native/framework"
152
+ }
153
+ ]
154
+ }
155
+ },
156
+ {
157
+ "date": "Tue, 09 Nov 2021 23:04:33 GMT",
158
+ "tag": "@fluentui-react-native/framework_v0.6.6",
159
+ "version": "0.6.6",
160
+ "comments": {
161
+ "patch": [
162
+ {
163
+ "comment": "Bump @fluentui-react-native/default-theme to v0.8.11",
164
+ "author": "67026167+chiuam@users.noreply.github.com",
165
+ "commit": "8baa72ed4ec06f90a51cf757e1924e946f76a537",
166
+ "package": "@fluentui-react-native/framework"
167
+ }
168
+ ]
169
+ }
170
+ },
171
+ {
172
+ "date": "Mon, 01 Nov 2021 18:53:37 GMT",
6
173
  "tag": "@fluentui-react-native/framework_v0.6.5",
7
174
  "version": "0.6.5",
8
175
  "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, 01 Nov 2021 18:51:49 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 17 Dec 2021 01:23:52 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.7.2
8
+
9
+ Fri, 17 Dec 2021 01:23:52 GMT
10
+
11
+ ### Patches
12
+
13
+ - Bump @fluentui-react-native/default-theme to v0.9.2
14
+
15
+ ## 0.7.1
16
+
17
+ Thu, 16 Dec 2021 19:10:31 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @fluentui-react-native/default-theme to v0.9.1
22
+ - Bump @fluentui-react-native/tokens to v0.11.1
23
+
24
+ ## 0.7.0
25
+
26
+ Wed, 17 Nov 2021 19:28:07 GMT
27
+
28
+ ### Minor changes
29
+
30
+ - Update to react-native 0.64 (afoxman@microsoft.com)
31
+
32
+ ### Patches
33
+
34
+ - Bump @fluentui-react-native/tokens to v0.11.0 (afoxman@microsoft.com)
35
+ - Bump @fluentui-react-native/composition to v0.7.0 (afoxman@microsoft.com)
36
+ - Bump @fluentui-react-native/default-theme to v0.9.0 (afoxman@microsoft.com)
37
+ - Bump @fluentui-react-native/merge-props to v0.4.0 (afoxman@microsoft.com)
38
+ - Bump @fluentui-react-native/use-slot to v0.2.0 (afoxman@microsoft.com)
39
+ - Bump @fluentui-react-native/use-slots to v0.6.0 (afoxman@microsoft.com)
40
+ - Bump @fluentui-react-native/use-tokens to v0.2.0 (afoxman@microsoft.com)
41
+ - Bump @fluentui-react-native/use-styling to v0.8.0 (afoxman@microsoft.com)
42
+ - Bump @fluentui-react-native/theme-types to v0.13.0 (afoxman@microsoft.com)
43
+
44
+ ## 0.6.6
45
+
46
+ Tue, 09 Nov 2021 23:04:33 GMT
47
+
48
+ ### Patches
49
+
50
+ - Bump @fluentui-react-native/default-theme to v0.8.11 (67026167+chiuam@users.noreply.github.com)
51
+
7
52
  ## 0.6.5
8
53
 
9
- Mon, 01 Nov 2021 18:51:49 GMT
54
+ Mon, 01 Nov 2021 18:53:37 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.5",
3
+ "version": "0.7.2",
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.10 <1.0.0",
24
+ "@fluentui-react-native/composition": ">=0.7.0 <1.0.0",
25
+ "@fluentui-react-native/default-theme": ">=0.9.2 <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.4 <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.3 <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';