@fluentui-react-native/theme-types 0.14.0 → 0.14.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/CHANGELOG.json +46 -1
- package/CHANGELOG.md +26 -2
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -5
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.d.ts +5 -5
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +4 -15
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +31 -5
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/theme-types",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Thu,
|
|
5
|
+
"date": "Thu, 28 Apr 2022 19:07:57 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/theme-types_v0.14.3",
|
|
7
|
+
"version": "0.14.3",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/theme-types",
|
|
13
|
+
"commit": "8cff404ca31eaa61017551a1d73fd3fdae7da132",
|
|
14
|
+
"comment": "Revert \"Add Text props and test new Variant types (#1615)\""
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 27 Apr 2022 19:30:38 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/theme-types_v0.14.2",
|
|
22
|
+
"version": "0.14.2",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "email not defined",
|
|
27
|
+
"package": "@fluentui-react-native/theme-types",
|
|
28
|
+
"commit": "f3481f50e20c6ab33f7f3ffca63e9f1e424fe2c1",
|
|
29
|
+
"comment": "initial Text implementation"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"date": "Thu, 31 Mar 2022 07:27:48 GMT",
|
|
36
|
+
"tag": "@fluentui-react-native/theme-types_v0.14.1",
|
|
37
|
+
"version": "0.14.1",
|
|
38
|
+
"comments": {
|
|
39
|
+
"patch": [
|
|
40
|
+
{
|
|
41
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
42
|
+
"package": "@fluentui-react-native/theme-types",
|
|
43
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
|
|
44
|
+
"comment": "Ban `export *` in index files for better tree-shakeability"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"date": "Thu, 03 Mar 2022 20:20:09 GMT",
|
|
6
51
|
"tag": "@fluentui-react-native/theme-types_v0.14.0",
|
|
7
52
|
"version": "0.14.0",
|
|
8
53
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/theme-types
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 28 Apr 2022 19:07:57 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.14.3
|
|
8
|
+
|
|
9
|
+
Thu, 28 Apr 2022 19:07:57 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Revert "Add Text props and test new Variant types (#1615)" (sanajmi@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.14.2
|
|
16
|
+
|
|
17
|
+
Wed, 27 Apr 2022 19:30:38 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- initial Text implementation (email not defined)
|
|
22
|
+
|
|
23
|
+
## 0.14.1
|
|
24
|
+
|
|
25
|
+
Thu, 31 Mar 2022 07:27:48 GMT
|
|
26
|
+
|
|
27
|
+
### Patches
|
|
28
|
+
|
|
29
|
+
- Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
|
|
30
|
+
|
|
7
31
|
## 0.14.0
|
|
8
32
|
|
|
9
|
-
Thu, 03 Mar 2022 20:
|
|
33
|
+
Thu, 03 Mar 2022 20:20:09 GMT
|
|
10
34
|
|
|
11
35
|
### Minor changes
|
|
12
36
|
|
package/lib/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export type { AliasColorTokens, Color, ControlColorTokens, FabricWebPalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, ThemeColorDefinition, } from './Color.types';
|
|
2
|
+
export type { AppearanceOptions, PartialTheme, Spacing, Theme, ThemeOptions } from './Theme.types';
|
|
3
|
+
export type { FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, PartialTypography, TextStyling, Typography, Variant, VariantValue, Variants, } from './Typography.types';
|
|
4
|
+
export { ThemeContext, useTheme } from './context';
|
|
5
|
+
export type { OfficePalette } from './palette.types';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,KAAK,EACL,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACnG,YAAY,EACV,YAAY,EACZ,UAAU,EACV,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,OAAO,EACP,YAAY,EACZ,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
1
|
+
export type { AliasColorTokens, Color, ControlColorTokens, FabricWebPalette, Palette, PaletteBackgroundColors, PaletteTextColors, PartialPalette, ThemeColorDefinition, } from './Color.types';
|
|
2
|
+
export type { AppearanceOptions, PartialTheme, Spacing, Theme, ThemeOptions } from './Theme.types';
|
|
3
|
+
export type { FontFamilies, FontFamily, FontFamilyValue, FontSize, FontSizeValuePoints, FontSizes, FontWeight, FontWeightValue, FontWeights, PartialTypography, TextStyling, Typography, Variant, VariantValue, Variants, } from './Typography.types';
|
|
4
|
+
export { ThemeContext, useTheme } from './context';
|
|
5
|
+
export type { OfficePalette } from './palette.types';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,gBAAgB,EAChB,KAAK,EACL,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACnG,YAAY,EACV,YAAY,EACZ,UAAU,EACV,eAAe,EACf,QAAQ,EACR,mBAAmB,EACnB,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,UAAU,EACV,OAAO,EACP,YAAY,EACZ,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
__exportStar(require("./palette.types"), exports);
|
|
3
|
+
exports.useTheme = exports.ThemeContext = void 0;
|
|
4
|
+
var context_1 = require("./context");
|
|
5
|
+
Object.defineProperty(exports, "ThemeContext", { enumerable: true, get: function () { return context_1.ThemeContext; } });
|
|
6
|
+
Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return context_1.useTheme; } });
|
|
18
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AA6BA,qCAAmD;AAA1C,uGAAA,YAAY,OAAA;AAAE,mGAAA,QAAQ,OAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export type {
|
|
2
|
+
AliasColorTokens,
|
|
3
|
+
Color,
|
|
4
|
+
ControlColorTokens,
|
|
5
|
+
FabricWebPalette,
|
|
6
|
+
Palette,
|
|
7
|
+
PaletteBackgroundColors,
|
|
8
|
+
PaletteTextColors,
|
|
9
|
+
PartialPalette,
|
|
10
|
+
ThemeColorDefinition,
|
|
11
|
+
} from './Color.types';
|
|
12
|
+
export type { AppearanceOptions, PartialTheme, Spacing, Theme, ThemeOptions } from './Theme.types';
|
|
13
|
+
export type {
|
|
14
|
+
FontFamilies,
|
|
15
|
+
FontFamily,
|
|
16
|
+
FontFamilyValue,
|
|
17
|
+
FontSize,
|
|
18
|
+
FontSizeValuePoints,
|
|
19
|
+
FontSizes,
|
|
20
|
+
FontWeight,
|
|
21
|
+
FontWeightValue,
|
|
22
|
+
FontWeights,
|
|
23
|
+
PartialTypography,
|
|
24
|
+
TextStyling,
|
|
25
|
+
Typography,
|
|
26
|
+
Variant,
|
|
27
|
+
VariantValue,
|
|
28
|
+
Variants,
|
|
29
|
+
} from './Typography.types';
|
|
30
|
+
export { ThemeContext, useTheme } from './context';
|
|
31
|
+
export type { OfficePalette } from './palette.types';
|