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