@fluentui-react-native/default-theme 0.26.6 → 0.26.7

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/default-theme",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 15 Jul 2025 23:21:17 GMT",
5
+ "date": "Wed, 16 Jul 2025 20:02:37 GMT",
6
+ "version": "0.26.7",
7
+ "tag": "@fluentui-react-native/default-theme_v0.26.7",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "jasonmo@microsoft.com",
12
+ "package": "@fluentui-react-native/default-theme",
13
+ "commit": "6ed0a256caf94e287c6a9120ec5d0458bd5c7bfc",
14
+ "comment": "create common framework-base package to share common utiltities more broadly"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Tue, 15 Jul 2025 23:27:23 GMT",
6
21
  "version": "0.26.6",
7
22
  "tag": "@fluentui-react-native/default-theme_v0.26.6",
8
23
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # Change Log - @fluentui-react-native/default-theme
2
2
 
3
- <!-- This log was last generated on Tue, 15 Jul 2025 23:21:17 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Wed, 16 Jul 2025 20:02:37 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 0.26.7
8
+
9
+ Wed, 16 Jul 2025 20:02:37 GMT
10
+
11
+ ### Patches
12
+
13
+ - create common framework-base package to share common utiltities more broadly (jasonmo@microsoft.com)
14
+
7
15
  ## 0.26.6
8
16
 
9
- Tue, 15 Jul 2025 23:21:17 GMT
17
+ Tue, 15 Jul 2025 23:27:23 GMT
10
18
 
11
19
  ### Patches
12
20
 
@@ -1,4 +1,4 @@
1
- import { memoize } from '@fluentui-react-native/memo-cache';
1
+ import { memoize } from '@fluentui-react-native/framework-base';
2
2
  import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
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,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAEtF,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IACzC,OAAO,kBAAkB,CAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,mBAAmB,CAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC"}
@@ -1,17 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createShadowAliasTokens = exports.createColorAliasTokens = void 0;
4
- const memo_cache_1 = require("@fluentui-react-native/memo-cache");
4
+ const framework_base_1 = require("@fluentui-react-native/framework-base");
5
5
  const theme_tokens_1 = require("@fluentui-react-native/theme-tokens");
6
6
  const theming_utils_1 = require("@fluentui-react-native/theming-utils");
7
7
  function createColorAliasTokensWorker(mode) {
8
8
  const aliasTokens = (0, theme_tokens_1.getAliasTokens)(mode);
9
9
  return (0, theming_utils_1.mapPipelineToTheme)(aliasTokens);
10
10
  }
11
- exports.createColorAliasTokens = (0, memo_cache_1.memoize)(createColorAliasTokensWorker);
11
+ exports.createColorAliasTokens = (0, framework_base_1.memoize)(createColorAliasTokensWorker);
12
12
  function createShadowAliasTokensWorker(mode) {
13
13
  const aliasTokens = (0, theme_tokens_1.getShadowTokens)(mode);
14
14
  return (0, theming_utils_1.mapPipelineToShadow)(aliasTokens);
15
15
  }
16
- exports.createShadowAliasTokens = (0, memo_cache_1.memoize)(createShadowAliasTokensWorker);
16
+ exports.createShadowAliasTokens = (0, framework_base_1.memoize)(createShadowAliasTokensWorker);
17
17
  //# sourceMappingURL=createAliasTokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,kEAA4D;AAC5D,sEAAsF;AAEtF,wEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,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,MAAM,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"}
1
+ {"version":3,"file":"createAliasTokens.js","sourceRoot":"","sources":["../src/createAliasTokens.ts"],"names":[],"mappings":";;;AAAA,0EAAgE;AAChE,sEAAsF;AAEtF,wEAA+F;AAE/F,SAAS,4BAA4B,CAAC,IAAuB;IAC3D,MAAM,WAAW,GAAG,IAAA,6BAAc,EAAC,IAAI,CAAC,CAAC;IACzC,OAAO,IAAA,kCAAkB,EAAC,WAAW,CAAC,CAAC;AACzC,CAAC;AAEY,QAAA,sBAAsB,GAAG,IAAA,wBAAO,EAAC,4BAA4B,CAAC,CAAC;AAE5E,SAAS,6BAA6B,CAAC,IAAuB;IAC5D,MAAM,WAAW,GAAG,IAAA,8BAAe,EAAC,IAAI,CAAC,CAAC;IAC1C,OAAO,IAAA,mCAAmB,EAAC,WAAW,CAAC,CAAC;AAC1C,CAAC;AAEY,QAAA,uBAAuB,GAAG,IAAA,wBAAO,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.26.6",
3
+ "version": "0.26.7",
4
4
  "description": "Typing only package for fluentui-react-native theme types",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,8 +35,8 @@
35
35
  "author": "",
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
- "@fluentui-react-native/memo-cache": "1.3.6",
39
- "@fluentui-react-native/theme": "0.11.5",
38
+ "@fluentui-react-native/framework-base": "0.1.1",
39
+ "@fluentui-react-native/theme": "0.11.6",
40
40
  "@fluentui-react-native/theme-tokens": "0.27.5",
41
41
  "@fluentui-react-native/theme-types": "0.39.5",
42
42
  "@fluentui-react-native/theming-utils": "0.26.5",
@@ -1,4 +1,4 @@
1
- import { memoize } from '@fluentui-react-native/memo-cache';
1
+ import { memoize } from '@fluentui-react-native/framework-base';
2
2
  import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
3
3
  import type { AliasColorTokens, AppearanceOptions, ThemeShadowDefinition } from '@fluentui-react-native/theme-types';
4
4
  import { mapPipelineToShadow, mapPipelineToTheme } from '@fluentui-react-native/theming-utils';