@fluentui-react-native/theme-types 0.14.0 → 0.14.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/CHANGELOG.json CHANGED
@@ -2,7 +2,22 @@
2
2
  "name": "@fluentui-react-native/theme-types",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 03 Mar 2022 20:18:16 GMT",
5
+ "date": "Thu, 31 Mar 2022 07:25:44 GMT",
6
+ "tag": "@fluentui-react-native/theme-types_v0.14.1",
7
+ "version": "0.14.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "4123478+tido64@users.noreply.github.com",
12
+ "package": "@fluentui-react-native/theme-types",
13
+ "commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
14
+ "comment": "Ban `export *` in index files for better tree-shakeability"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Thu, 03 Mar 2022 20:20:09 GMT",
6
21
  "tag": "@fluentui-react-native/theme-types_v0.14.0",
7
22
  "version": "0.14.0",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @fluentui-react-native/theme-types
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 Thu, 31 Mar 2022 07:25:44 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.14.1
8
+
9
+ Thu, 31 Mar 2022 07:25:44 GMT
10
+
11
+ ### Patches
12
+
13
+ - Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
14
+
7
15
  ## 0.14.0
8
16
 
9
- Thu, 03 Mar 2022 20:18:16 GMT
17
+ Thu, 03 Mar 2022 20:20:09 GMT
10
18
 
11
19
  ### Minor changes
12
20
 
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export * from './Color.types';
2
- export * from './Theme.types';
3
- export * from './Typography.types';
4
- export * from './context';
5
- export * from './palette.types';
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;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,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
@@ -1,6 +1,2 @@
1
- export * from './Color.types';
2
- export * from './Theme.types';
3
- export * from './Typography.types';
4
- export * from './context';
5
- export * from './palette.types';
1
+ export { ThemeContext, useTheme } from './context';
6
2
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
@@ -1,6 +1,6 @@
1
- export * from './Color.types';
2
- export * from './Theme.types';
3
- export * from './Typography.types';
4
- export * from './context';
5
- export * from './palette.types';
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;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,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"}
@@ -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
- __exportStar(require("./Color.types"), exports);
14
- __exportStar(require("./Theme.types"), exports);
15
- __exportStar(require("./Typography.types"), exports);
16
- __exportStar(require("./context"), exports);
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":";;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,qDAAmC;AACnC,4CAA0B;AAC1B,kDAAgC"}
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/theme-types",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -1,5 +1,31 @@
1
- export * from './Color.types';
2
- export * from './Theme.types';
3
- export * from './Typography.types';
4
- export * from './context';
5
- export * from './palette.types';
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';