@fluentui-react-native/default-theme 0.15.2 → 0.16.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.json +79 -1
  2. package/CHANGELOG.md +26 -2
  3. package/lib/createAliasTokens.js +1 -1
  4. package/lib/createAliasTokens.js.map +1 -1
  5. package/lib-commonjs/createAliasTokens.js +3 -3
  6. package/lib-commonjs/createAliasTokens.js.map +1 -1
  7. package/package.json +20 -11
  8. package/src/__tests__/__snapshots__/default-theme.test.ts.snap +535 -1949
  9. package/src/createAliasTokens.ts +1 -1
  10. package/lib/getTokens.d.ts +0 -302
  11. package/lib/getTokens.d.ts.map +0 -1
  12. package/lib/getTokens.js +0 -38
  13. package/lib/getTokens.js.map +0 -1
  14. package/lib/highContrast/tokens-alias.d.ts +0 -2
  15. package/lib/highContrast/tokens-alias.d.ts.map +0 -1
  16. package/lib/highContrast/tokens-alias.js +0 -16
  17. package/lib/highContrast/tokens-alias.js.map +0 -1
  18. package/lib/highContrast/tokens-alias.win32.d.ts +0 -2
  19. package/lib/highContrast/tokens-alias.win32.d.ts.map +0 -1
  20. package/lib/highContrast/tokens-alias.win32.js +0 -16
  21. package/lib/highContrast/tokens-alias.win32.js.map +0 -1
  22. package/lib-commonjs/getTokens.d.ts +0 -302
  23. package/lib-commonjs/getTokens.d.ts.map +0 -1
  24. package/lib-commonjs/getTokens.js +0 -46
  25. package/lib-commonjs/getTokens.js.map +0 -1
  26. package/lib-commonjs/highContrast/tokens-alias.d.ts +0 -2
  27. package/lib-commonjs/highContrast/tokens-alias.d.ts.map +0 -1
  28. package/lib-commonjs/highContrast/tokens-alias.js +0 -22
  29. package/lib-commonjs/highContrast/tokens-alias.js.map +0 -1
  30. package/lib-commonjs/highContrast/tokens-alias.win32.d.ts +0 -2
  31. package/lib-commonjs/highContrast/tokens-alias.win32.d.ts.map +0 -1
  32. package/lib-commonjs/highContrast/tokens-alias.win32.js +0 -22
  33. package/lib-commonjs/highContrast/tokens-alias.win32.js.map +0 -1
  34. package/src/getTokens.ts +0 -36
  35. package/src/highContrast/tokens-alias.ts +0 -18
  36. package/src/highContrast/tokens-alias.win32.ts +0 -18
package/CHANGELOG.json CHANGED
@@ -2,7 +2,85 @@
2
2
  "name": "@fluentui-react-native/default-theme",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 21 Sep 2022 20:58:28 GMT",
5
+ "date": "Fri, 30 Sep 2022 08:02:25 GMT",
6
+ "tag": "@fluentui-react-native/default-theme_v0.16.0",
7
+ "version": "0.16.0",
8
+ "comments": {
9
+ "minor": [
10
+ {
11
+ "author": "email not defined",
12
+ "package": "@fluentui-react-native/default-theme",
13
+ "commit": "609f7988754b77b86f2ed51d0ce4714fb2152293",
14
+ "comment": "Used alias tokens from theme-tokens pacakge"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui-react-native/default-theme",
19
+ "comment": "Bump @fluentui-react-native/theme-tokens to v0.19.2",
20
+ "commit": "609f7988754b77b86f2ed51d0ce4714fb2152293"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui-react-native/default-theme",
25
+ "comment": "Bump @fluentui-react-native/theme-types to v0.20.0",
26
+ "commit": "609f7988754b77b86f2ed51d0ce4714fb2152293"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui-react-native/default-theme",
31
+ "comment": "Bump @fluentui-react-native/theme to v0.7.4",
32
+ "commit": "609f7988754b77b86f2ed51d0ce4714fb2152293"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui-react-native/default-theme",
37
+ "comment": "Bump @fluentui-react-native/theming-utils to v0.16.0",
38
+ "commit": "609f7988754b77b86f2ed51d0ce4714fb2152293"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Fri, 30 Sep 2022 00:54:35 GMT",
45
+ "tag": "@fluentui-react-native/default-theme_v0.15.3",
46
+ "version": "0.15.3",
47
+ "comments": {
48
+ "patch": [
49
+ {
50
+ "author": "krsiler@microsoft.com",
51
+ "package": "@fluentui-react-native/default-theme",
52
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b",
53
+ "comment": "Update react-native to 0.68"
54
+ },
55
+ {
56
+ "author": "beachball",
57
+ "package": "@fluentui-react-native/default-theme",
58
+ "comment": "Bump @fluentui-react-native/theme-tokens to v0.19.1",
59
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
60
+ },
61
+ {
62
+ "author": "beachball",
63
+ "package": "@fluentui-react-native/default-theme",
64
+ "comment": "Bump @fluentui-react-native/theme-types to v0.19.2",
65
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
66
+ },
67
+ {
68
+ "author": "beachball",
69
+ "package": "@fluentui-react-native/default-theme",
70
+ "comment": "Bump @fluentui-react-native/theme to v0.7.3",
71
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
72
+ },
73
+ {
74
+ "author": "beachball",
75
+ "package": "@fluentui-react-native/default-theme",
76
+ "comment": "Bump @fluentui-react-native/theming-utils to v0.15.3",
77
+ "commit": "de9ddf75304295843613e144473e4fef3190f14b"
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ {
83
+ "date": "Wed, 21 Sep 2022 21:00:40 GMT",
6
84
  "tag": "@fluentui-react-native/default-theme_v0.15.2",
7
85
  "version": "0.15.2",
8
86
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,36 @@
1
1
  # Change Log - @fluentui-react-native/default-theme
2
2
 
3
- This log was last generated on Wed, 21 Sep 2022 20:58:28 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 30 Sep 2022 08:02:25 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.16.0
8
+
9
+ Fri, 30 Sep 2022 08:02:25 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Used alias tokens from theme-tokens pacakge (email not defined)
14
+ - Bump @fluentui-react-native/theme-tokens to v0.19.2
15
+ - Bump @fluentui-react-native/theme-types to v0.20.0
16
+ - Bump @fluentui-react-native/theme to v0.7.4
17
+ - Bump @fluentui-react-native/theming-utils to v0.16.0
18
+
19
+ ## 0.15.3
20
+
21
+ Fri, 30 Sep 2022 00:54:35 GMT
22
+
23
+ ### Patches
24
+
25
+ - Update react-native to 0.68 (krsiler@microsoft.com)
26
+ - Bump @fluentui-react-native/theme-tokens to v0.19.1
27
+ - Bump @fluentui-react-native/theme-types to v0.19.2
28
+ - Bump @fluentui-react-native/theme to v0.7.3
29
+ - Bump @fluentui-react-native/theming-utils to v0.15.3
30
+
7
31
  ## 0.15.2
8
32
 
9
- Wed, 21 Sep 2022 20:58:28 GMT
33
+ Wed, 21 Sep 2022 21:00:40 GMT
10
34
 
11
35
  ### Patches
12
36
 
@@ -1,4 +1,4 @@
1
- import { getAliasTokens, getShadowTokens } from './getTokens';
1
+ import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
2
2
  import { memoize } from '@fluentui-react-native/memo-cache';
3
3
  import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';
4
4
  function createColorAliasTokensWorker(mode) {
@@ -1 +1 @@
1
- {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,IAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,IAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,IAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,IAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,IAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,IAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createShadowAliasTokens = exports.createColorAliasTokens = void 0;
4
- var getTokens_1 = require("./getTokens");
4
+ var theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
5
5
  var memo_cache_1 = require("@fluentui-react-native/memo-cache");
6
6
  var theming_utils_1 = require("@fluentui-react-native/theming-utils");
7
7
  function createColorAliasTokensWorker(mode) {
8
- var aliasTokens = (0, getTokens_1.getAliasTokens)(mode);
8
+ var aliasTokens = (0, theme_tokens_1.getAliasTokens)(mode);
9
9
  return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
10
10
  }
11
11
  exports.createColorAliasTokens = (0, memo_cache_1.memoize)(createColorAliasTokensWorker);
12
12
  function createShadowAliasTokensWorker(mode) {
13
- var aliasTokens = (0, getTokens_1.getShadowTokens)(mode);
13
+ var aliasTokens = (0, theme_tokens_1.getShadowTokens)(mode);
14
14
  return (0, theming_utils_1.mapPipelineToShadow)(aliasTokens);
15
15
  }
16
16
  exports.createShadowAliasTokens = (0, memo_cache_1.memoize)(createShadowAliasTokensWorker);
@@ -1 +1 @@
1
- {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,yCAA8D;AAE9D,gEAA4D;AAC5D,sEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,IAAM,WAAW,GAAG,IAAA,0BAAc,EAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,sBAAsB,GAAG,IAAA,oBAAO,EAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,IAAM,WAAW,GAAG,IAAA,2BAAe,EAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAEY,QAAA,uBAAuB,GAAG,IAAA,oBAAO,EAAC,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,oEAAsF;AAEtF,gEAA4D;AAC5D,sEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,IAAM,WAAW,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,sBAAsB,GAAG,IAAA,oBAAO,EAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,IAAM,WAAW,GAAG,IAAA,8BAAe,EAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAEY,QAAA,uBAAuB,GAAG,IAAA,oBAAO,EAAC,6BAA6B,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/default-theme",
3
- "version": "0.15.2",
3
+ "version": "0.16.0",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,24 +27,33 @@
27
27
  "author": "",
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@fluentui-react-native/design-tokens-win32": "^0.13.0",
31
- "@fluentui-react-native/design-tokens-windows": "^0.13.0",
32
30
  "@fluentui-react-native/memo-cache": "^1.1.7",
33
- "@fluentui-react-native/theme-tokens": "^0.19.0",
34
- "@fluentui-react-native/theme-types": ">=0.19.1 <1.0.0",
35
- "@fluentui-react-native/theme": ">=0.7.2 <1.0.0",
36
- "@fluentui-react-native/theming-utils": ">=0.15.2 <1.0.0",
31
+ "@fluentui-react-native/theme-tokens": "^0.19.2",
32
+ "@fluentui-react-native/theme-types": ">=0.20.0 <1.0.0",
33
+ "@fluentui-react-native/theme": ">=0.7.4 <1.0.0",
34
+ "@fluentui-react-native/theming-utils": ">=0.16.0 <1.0.0",
37
35
  "assert-never": "^1.2.1"
38
36
  },
39
37
  "devDependencies": {
40
38
  "@fluentui-react-native/eslint-config-rules": "^0.1.1",
41
- "@types/react": "^17.0.2",
42
39
  "@fluentui-react-native/scripts": "^0.1.1",
40
+ "@types/react": "^17.0.2",
43
41
  "react": "17.0.2",
44
- "react-native": "^0.66.0"
42
+ "react-native": "^0.68.0"
45
43
  },
46
44
  "peerDependencies": {
47
- "react": ">=17.0.2",
48
- "react-native": ">=0.66.0"
45
+ "react": "17.0.2",
46
+ "react-native": "^0.68.0"
47
+ },
48
+ "rnx-kit": {
49
+ "reactNativeVersion": "^0.68",
50
+ "reactNativeDevVersion": "^0.68",
51
+ "kitType": "library",
52
+ "capabilities": [
53
+ "core",
54
+ "core-android",
55
+ "core-ios",
56
+ "react"
57
+ ]
49
58
  }
50
59
  }