@fluentui-react-native/apple-theme 0.29.0 → 0.29.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.
Files changed (95) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +1 -1
  3. package/lib/__tests__/apple-theme.test.d.ts +1 -1
  4. package/lib/__tests__/apple-theme.test.js +41 -42
  5. package/lib/appleColors.ios.d.ts +1 -1
  6. package/lib/appleColors.ios.js +174 -174
  7. package/lib/appleColors.macos.d.ts +1 -1
  8. package/lib/appleColors.macos.d.ts.map +1 -1
  9. package/lib/appleColors.macos.js +367 -369
  10. package/lib/appleColors.macos.js.map +1 -1
  11. package/lib/appleColors.types.ios.d.ts +15 -15
  12. package/lib/appleColors.types.ios.js +1 -1
  13. package/lib/appleColors.types.macos.d.ts +146 -146
  14. package/lib/appleColors.types.macos.js +1 -1
  15. package/lib/appleHighContrast.macos.d.ts +1 -1
  16. package/lib/appleHighContrast.macos.js +3 -3
  17. package/lib/appleShadows.ios.d.ts +1 -1
  18. package/lib/appleShadows.ios.js +4 -4
  19. package/lib/appleShadows.macos.d.ts +1 -1
  20. package/lib/appleShadows.macos.js +2 -2
  21. package/lib/appleTheme.ios.d.ts +1 -1
  22. package/lib/appleTheme.ios.js +122 -122
  23. package/lib/appleTheme.macos.d.ts +53 -53
  24. package/lib/appleTheme.macos.js +68 -68
  25. package/lib/appleTypography.ios.d.ts +1 -1
  26. package/lib/appleTypography.ios.js +50 -50
  27. package/lib/appleTypography.macos.d.ts +2 -2
  28. package/lib/appleTypography.macos.js +63 -63
  29. package/lib/createAppleTheme.d.ts +1 -1
  30. package/lib/createAppleTheme.ios.d.ts +1 -1
  31. package/lib/createAppleTheme.ios.js +14 -14
  32. package/lib/createAppleTheme.js +3 -3
  33. package/lib/createAppleTheme.macos.d.ts +1 -1
  34. package/lib/createAppleTheme.macos.d.ts.map +1 -1
  35. package/lib/createAppleTheme.macos.js +19 -23
  36. package/lib/createAppleTheme.macos.js.map +1 -1
  37. package/lib/createFontAliasTokens.ios.d.ts +1 -1
  38. package/lib/createFontAliasTokens.ios.js +2 -2
  39. package/lib/createMacOSAliasTokens.d.ts +1 -1
  40. package/lib/createMacOSAliasTokens.js +5 -5
  41. package/lib/createiOSAliasTokens.d.ts +1 -1
  42. package/lib/createiOSAliasTokens.js +5 -5
  43. package/lib/getMacOSTokens.d.ts +435 -443
  44. package/lib/getMacOSTokens.js +45 -35
  45. package/lib/index.d.ts +1 -1
  46. package/lib/index.js +1 -1
  47. package/lib-commonjs/__tests__/apple-theme.test.d.ts +1 -1
  48. package/lib-commonjs/__tests__/apple-theme.test.js +46 -47
  49. package/lib-commonjs/appleColors.ios.d.ts +1 -1
  50. package/lib-commonjs/appleColors.ios.js +180 -180
  51. package/lib-commonjs/appleColors.macos.d.ts +1 -1
  52. package/lib-commonjs/appleColors.macos.d.ts.map +1 -1
  53. package/lib-commonjs/appleColors.macos.js +372 -380
  54. package/lib-commonjs/appleColors.macos.js.map +1 -1
  55. package/lib-commonjs/appleColors.types.ios.d.ts +15 -15
  56. package/lib-commonjs/appleColors.types.ios.js +3 -3
  57. package/lib-commonjs/appleColors.types.macos.d.ts +146 -146
  58. package/lib-commonjs/appleColors.types.macos.js +3 -3
  59. package/lib-commonjs/appleHighContrast.macos.d.ts +1 -1
  60. package/lib-commonjs/appleHighContrast.macos.js +6 -6
  61. package/lib-commonjs/appleShadows.ios.d.ts +1 -1
  62. package/lib-commonjs/appleShadows.ios.js +9 -9
  63. package/lib-commonjs/appleShadows.macos.d.ts +1 -1
  64. package/lib-commonjs/appleShadows.macos.js +6 -6
  65. package/lib-commonjs/appleTheme.ios.d.ts +1 -1
  66. package/lib-commonjs/appleTheme.ios.js +128 -128
  67. package/lib-commonjs/appleTheme.macos.d.ts +53 -53
  68. package/lib-commonjs/appleTheme.macos.js +74 -74
  69. package/lib-commonjs/appleTypography.ios.d.ts +1 -1
  70. package/lib-commonjs/appleTypography.ios.js +53 -53
  71. package/lib-commonjs/appleTypography.macos.d.ts +2 -2
  72. package/lib-commonjs/appleTypography.macos.js +65 -65
  73. package/lib-commonjs/createAppleTheme.d.ts +1 -1
  74. package/lib-commonjs/createAppleTheme.ios.d.ts +1 -1
  75. package/lib-commonjs/createAppleTheme.ios.js +20 -20
  76. package/lib-commonjs/createAppleTheme.js +7 -7
  77. package/lib-commonjs/createAppleTheme.macos.d.ts +1 -1
  78. package/lib-commonjs/createAppleTheme.macos.d.ts.map +1 -1
  79. package/lib-commonjs/createAppleTheme.macos.js +27 -31
  80. package/lib-commonjs/createAppleTheme.macos.js.map +1 -1
  81. package/lib-commonjs/createFontAliasTokens.ios.d.ts +1 -1
  82. package/lib-commonjs/createFontAliasTokens.ios.js +10 -12
  83. package/lib-commonjs/createMacOSAliasTokens.d.ts +1 -1
  84. package/lib-commonjs/createMacOSAliasTokens.js +10 -10
  85. package/lib-commonjs/createiOSAliasTokens.d.ts +1 -1
  86. package/lib-commonjs/createiOSAliasTokens.js +10 -10
  87. package/lib-commonjs/getMacOSTokens.d.ts +435 -443
  88. package/lib-commonjs/getMacOSTokens.js +59 -51
  89. package/lib-commonjs/index.d.ts +1 -1
  90. package/lib-commonjs/index.js +10 -30
  91. package/package.json +27 -26
  92. package/src/appleColors.macos.ts +0 -2
  93. package/src/appleTypography.macos.ts +1 -1
  94. package/src/createAppleTheme.macos.ts +0 -4
  95. package/eslint.config.js +0 -3
@@ -1,70 +1,70 @@
1
1
  /**
2
2
  * The Typography is designed to match the styles defined in the Apple HIG:
3
- * https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/typography/
3
+ * https://developer.apple.com/design/human-interface-guidelines/typography
4
4
  * These mappings and variants are subject to change as we moved to a unified cross platform Fluent typography ramp
5
5
  * Github #598 also tracks pulling these values from a Native Module rather than hardcoding the numbers in JS.
6
6
  */
7
7
  export function fallbackAppleTypography() {
8
- const appleDict = {
9
- sizes: {
10
- caption: 10, // Caption 1
11
- secondary: 11, // Callout
12
- body: 13, // Body
13
- subheader: 16, // Subheadline
14
- header: 20, // Headline
15
- hero: 22, /// Title 1
16
- heroLarge: 26, // Large Title,
17
- },
18
- weights: {
19
- ultralight: '100',
20
- thin: '200',
21
- light: '300',
22
- regular: '400',
23
- medium: '500',
24
- semiBold: '600',
25
- bold: '700',
26
- heavy: '800',
27
- black: '900',
28
- },
29
- families: {
30
- primary: 'System',
31
- secondary: 'System',
32
- cursive: 'System',
33
- monospace: 'System',
34
- numeric: 'System',
35
- sansSerif: 'System',
36
- serif: 'System',
37
- },
38
- variants: {
39
- captionStandard: { face: 'primary', size: 'caption', weight: '500' },
40
- secondaryStandard: { face: 'primary', size: 'secondary', weight: '400' },
41
- secondarySemibold: { face: 'primary', size: 'secondary', weight: '600' },
42
- bodyStandard: { face: 'primary', size: 'body', weight: '400' },
43
- bodySemibold: { face: 'primary', size: 'body', weight: '600' },
44
- subheaderStandard: { face: 'primary', size: 'subheader', weight: '400' },
45
- subheaderSemibold: { face: 'primary', size: 'subheader', weight: '600' },
46
- headerStandard: { face: 'primary', size: 'header', weight: '700' },
47
- headerSemibold: { face: 'primary', size: 'header', weight: '800' },
48
- heroStandard: { face: 'primary', size: 'hero', weight: '400' },
49
- heroSemibold: { face: 'primary', size: 'hero', weight: '700' },
50
- heroLargeStandard: { face: 'primary', size: 'heroLarge', weight: '400' },
51
- heroLargeSemibold: { face: 'primary', size: 'heroLarge', weight: '700' },
52
- // mocked out
53
- caption1: { face: 'primary', size: 'caption', weight: '500' },
54
- body1: { face: 'primary', size: 'secondary', weight: '400' },
55
- body1Strong: { face: 'primary', size: 'secondary', weight: '600' },
56
- body2: { face: 'primary', size: 'body', weight: '400' },
57
- body2Strong: { face: 'primary', size: 'body', weight: '600' },
58
- subtitle1: { face: 'primary', size: 'header', weight: '700' },
59
- subtitle1Strong: { face: 'primary', size: 'header', weight: '800' },
60
- subtitle2: { face: 'primary', size: 'subheader', weight: '400' },
61
- subtitle2Strong: { face: 'primary', size: 'subheader', weight: '600' },
62
- title1: { face: 'primary', size: 'hero', weight: '400' },
63
- title1Strong: { face: 'primary', size: 'hero', weight: '700' },
64
- largeTitle: { face: 'primary', size: 'heroLarge', weight: '400' },
65
- display: { face: 'primary', size: 'heroLarge', weight: '700' },
66
- },
67
- };
68
- return appleDict;
8
+ const appleDict = {
9
+ sizes: {
10
+ caption: 10, // Caption 1
11
+ secondary: 11, // Callout
12
+ body: 13, // Body
13
+ subheader: 16, // Subheadline
14
+ header: 20, // Headline
15
+ hero: 22, /// Title 1
16
+ heroLarge: 26, // Large Title,
17
+ },
18
+ weights: {
19
+ ultralight: '100',
20
+ thin: '200',
21
+ light: '300',
22
+ regular: '400',
23
+ medium: '500',
24
+ semiBold: '600',
25
+ bold: '700',
26
+ heavy: '800',
27
+ black: '900',
28
+ },
29
+ families: {
30
+ primary: 'System',
31
+ secondary: 'System',
32
+ cursive: 'System',
33
+ monospace: 'System',
34
+ numeric: 'System',
35
+ sansSerif: 'System',
36
+ serif: 'System',
37
+ },
38
+ variants: {
39
+ captionStandard: { face: 'primary', size: 'caption', weight: '500' },
40
+ secondaryStandard: { face: 'primary', size: 'secondary', weight: '400' },
41
+ secondarySemibold: { face: 'primary', size: 'secondary', weight: '600' },
42
+ bodyStandard: { face: 'primary', size: 'body', weight: '400' },
43
+ bodySemibold: { face: 'primary', size: 'body', weight: '600' },
44
+ subheaderStandard: { face: 'primary', size: 'subheader', weight: '400' },
45
+ subheaderSemibold: { face: 'primary', size: 'subheader', weight: '600' },
46
+ headerStandard: { face: 'primary', size: 'header', weight: '700' },
47
+ headerSemibold: { face: 'primary', size: 'header', weight: '800' },
48
+ heroStandard: { face: 'primary', size: 'hero', weight: '400' },
49
+ heroSemibold: { face: 'primary', size: 'hero', weight: '700' },
50
+ heroLargeStandard: { face: 'primary', size: 'heroLarge', weight: '400' },
51
+ heroLargeSemibold: { face: 'primary', size: 'heroLarge', weight: '700' },
52
+ // mocked out
53
+ caption1: { face: 'primary', size: 'caption', weight: '500' },
54
+ body1: { face: 'primary', size: 'secondary', weight: '400' },
55
+ body1Strong: { face: 'primary', size: 'secondary', weight: '600' },
56
+ body2: { face: 'primary', size: 'body', weight: '400' },
57
+ body2Strong: { face: 'primary', size: 'body', weight: '600' },
58
+ subtitle1: { face: 'primary', size: 'header', weight: '700' },
59
+ subtitle1Strong: { face: 'primary', size: 'header', weight: '800' },
60
+ subtitle2: { face: 'primary', size: 'subheader', weight: '400' },
61
+ subtitle2Strong: { face: 'primary', size: 'subheader', weight: '600' },
62
+ title1: { face: 'primary', size: 'hero', weight: '400' },
63
+ title1Strong: { face: 'primary', size: 'hero', weight: '700' },
64
+ largeTitle: { face: 'primary', size: 'heroLarge', weight: '400' },
65
+ display: { face: 'primary', size: 'heroLarge', weight: '700' },
66
+ },
67
+ };
68
+ return appleDict;
69
69
  }
70
- //# sourceMappingURL=appleTypography.macos.js.map
70
+ //# sourceMappingURL=appleTypography.macos.js.map
@@ -1,3 +1,3 @@
1
1
  import { ThemeReference } from '@fluentui-react-native/theme';
2
2
  export declare function createAppleTheme(): ThemeReference;
3
- //# sourceMappingURL=createAppleTheme.d.ts.map
3
+ //# sourceMappingURL=createAppleTheme.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import { ThemeReference } from '@fluentui-react-native/theme';
2
2
  export declare function createAppleTheme(): ThemeReference;
3
- //# sourceMappingURL=createAppleTheme.ios.d.ts.map
3
+ //# sourceMappingURL=createAppleTheme.ios.d.ts.map
@@ -3,18 +3,18 @@ import { NativeAppearanceAdditions } from '@fluentui-react-native/experimental-a
3
3
  import { ThemeReference } from '@fluentui-react-native/theme';
4
4
  import { getBaseAppleThemeIOS } from './appleTheme.ios';
5
5
  export function createAppleTheme() {
6
- const appleThemeReference = new ThemeReference({}, () => {
7
- const isLightMode = Appearance.getColorScheme() === 'light';
8
- const isElevated = NativeAppearanceAdditions.userInterfaceLevel() === 'elevated';
9
- return getBaseAppleThemeIOS(isLightMode, isElevated);
10
- });
11
- Appearance.addChangeListener(() => {
12
- appleThemeReference.invalidate();
13
- });
14
- const eventEmitter = new NativeEventEmitter(NativeAppearanceAdditions);
15
- eventEmitter.addListener('appearanceChanged', (_newTraits) => {
16
- appleThemeReference.invalidate();
17
- });
18
- return appleThemeReference;
6
+ const appleThemeReference = new ThemeReference({}, () => {
7
+ const isLightMode = Appearance.getColorScheme() === 'light';
8
+ const isElevated = NativeAppearanceAdditions.userInterfaceLevel() === 'elevated';
9
+ return getBaseAppleThemeIOS(isLightMode, isElevated);
10
+ });
11
+ Appearance.addChangeListener(() => {
12
+ appleThemeReference.invalidate();
13
+ });
14
+ const eventEmitter = new NativeEventEmitter(NativeAppearanceAdditions);
15
+ eventEmitter.addListener('appearanceChanged', (_newTraits) => {
16
+ appleThemeReference.invalidate();
17
+ });
18
+ return appleThemeReference;
19
19
  }
20
- //# sourceMappingURL=createAppleTheme.ios.js.map
20
+ //# sourceMappingURL=createAppleTheme.ios.js.map
@@ -1,7 +1,7 @@
1
1
  import { createDefaultTheme } from '@fluentui-react-native/default-theme';
2
2
  import { ThemeReference } from '@fluentui-react-native/theme';
3
3
  export function createAppleTheme() {
4
- console.warn('Platform is not supported by apple theme, using default theme');
5
- return new ThemeReference(createDefaultTheme());
4
+ console.warn('Platform is not supported by apple theme, using default theme');
5
+ return new ThemeReference(createDefaultTheme());
6
6
  }
7
- //# sourceMappingURL=createAppleTheme.js.map
7
+ //# sourceMappingURL=createAppleTheme.js.map
@@ -1,3 +1,3 @@
1
1
  import { ThemeReference } from '@fluentui-react-native/theme';
2
2
  export declare function createAppleTheme(): ThemeReference;
3
- //# sourceMappingURL=createAppleTheme.macos.d.ts.map
3
+ //# sourceMappingURL=createAppleTheme.macos.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAppleTheme.macos.d.ts","sourceRoot":"","sources":["../src/createAppleTheme.macos.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAU9D,wBAAgB,gBAAgB,IAAI,cAAc,CAmBjD"}
1
+ {"version":3,"file":"createAppleTheme.macos.d.ts","sourceRoot":"","sources":["../src/createAppleTheme.macos.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAU9D,wBAAgB,gBAAgB,IAAI,cAAc,CAiBjD"}
@@ -6,30 +6,26 @@ import { setIsHighContrast } from './appleHighContrast.macos';
6
6
  import { getBaseAppleThemeMacOS } from './appleTheme.macos';
7
7
  let appleThemeReference;
8
8
  export function createAppleTheme() {
9
- appleThemeReference = new ThemeReference({}, () => {
10
- const appearance = Appearance.getColorScheme();
11
- const mode = getCurrentAppearance(appearance, 'light');
12
- return getBaseAppleThemeMacOS(mode);
13
- });
14
- // Fetch initial system settings for high contrast mode
15
- highContrastHandler();
16
- // Invalidate theme and set prop when high contrast setting changes
17
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
18
- // @ts-ignore
19
- AccessibilityInfo.addEventListener('highContrastChanged', () => {
9
+ appleThemeReference = new ThemeReference({}, () => {
10
+ const appearance = Appearance.getColorScheme();
11
+ const mode = getCurrentAppearance(appearance, 'light');
12
+ return getBaseAppleThemeMacOS(mode);
13
+ });
14
+ // Fetch initial system settings for high contrast mode
20
15
  highContrastHandler();
21
- });
22
- Appearance.addChangeListener(() => {
23
- appleThemeReference.invalidate();
24
- });
25
- return appleThemeReference;
16
+ // Invalidate theme and set prop when high contrast setting changes
17
+ AccessibilityInfo.addEventListener('highContrastChanged', () => {
18
+ highContrastHandler();
19
+ });
20
+ Appearance.addChangeListener(() => {
21
+ appleThemeReference.invalidate();
22
+ });
23
+ return appleThemeReference;
26
24
  }
27
25
  function highContrastHandler() {
28
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
29
- // @ts-ignore
30
- AccessibilityInfo.isHighContrastEnabled().then((isEnabled) => {
31
- setIsHighContrast(isEnabled);
32
- appleThemeReference.invalidate();
33
- });
26
+ AccessibilityInfo.isHighContrastEnabled().then((isEnabled) => {
27
+ setIsHighContrast(isEnabled);
28
+ appleThemeReference.invalidate();
29
+ });
34
30
  }
35
- //# sourceMappingURL=createAppleTheme.macos.js.map
31
+ //# sourceMappingURL=createAppleTheme.macos.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAppleTheme.macos.js","sourceRoot":"","sources":["../src/createAppleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,IAAI,mBAAmC,CAAC;AAExC,MAAM,UAAU,gBAAgB,GAAmB;IACjD,mBAAmB,GAAG,IAAI,cAAc,CAAC,EAAW,EAAE,GAAG,EAAE,CAAC;QAC1D,MAAM,UAAU,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC;QAC/C,MAAM,IAAI,GAAG,oBAAoB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QACvD,OAAO,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAAA,CACrC,CAAC,CAAC;IACH,uDAAuD;IACvD,mBAAmB,EAAE,CAAC;IACtB,mEAAmE;IACnE,6DAA6D;IAC7D,aAAa;IACb,iBAAiB,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,GAAG,EAAE,CAAC;QAC9D,mBAAmB,EAAE,CAAC;IAAA,CACvB,CAAC,CAAC;IAEH,UAAU,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC;QACjC,mBAAmB,CAAC,UAAU,EAAE,CAAC;IAAA,CAClC,CAAC,CAAC;IACH,OAAO,mBAAmB,CAAC;AAAA,CAC5B;AAED,SAAS,mBAAmB,GAAG;IAC7B,6DAA6D;IAC7D,aAAa;IACb,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC;QAC5D,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAC7B,mBAAmB,CAAC,UAAU,EAAE,CAAC;IAAA,CAClC,CAAC,CAAC;AAAA,CACJ"}
1
+ {"version":3,"file":"createAppleTheme.macos.js","sourceRoot":"","sources":["../src/createAppleTheme.macos.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,IAAI,mBAAmC,CAAC;AAExC,MAAM,UAAU,gBAAgB,GAAmB;IACjD,mBAAmB,GAAG,IAAI,cAAc,CAAC,EAAW,EAAE,GAAG,EAAE,CAAC;QAC1D,MAAM,UAAU,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC;QAC/C,MAAM,IAAI,GAAG,oBAAoB,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QACvD,OAAO,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAAA,CACrC,CAAC,CAAC;IACH,uDAAuD;IACvD,mBAAmB,EAAE,CAAC;IACtB,mEAAmE;IACnE,iBAAiB,CAAC,gBAAgB,CAAC,qBAAqB,EAAE,GAAG,EAAE,CAAC;QAC9D,mBAAmB,EAAE,CAAC;IAAA,CACvB,CAAC,CAAC;IAEH,UAAU,CAAC,iBAAiB,CAAC,GAAG,EAAE,CAAC;QACjC,mBAAmB,CAAC,UAAU,EAAE,CAAC;IAAA,CAClC,CAAC,CAAC;IACH,OAAO,mBAAmB,CAAC;AAAA,CAC5B;AAED,SAAS,mBAAmB,GAAG;IAC7B,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC;QAC5D,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAC7B,mBAAmB,CAAC,UAAU,EAAE,CAAC;IAAA,CAClC,CAAC,CAAC;AAAA,CACJ"}
@@ -2,4 +2,4 @@ import type { Variants } from '@fluentui-react-native/theme-types';
2
2
  declare function createFontAliasTokensWorker(): Partial<Variants>;
3
3
  export declare const createFontAliasTokens: typeof createFontAliasTokensWorker;
4
4
  export {};
5
- //# sourceMappingURL=createFontAliasTokens.ios.d.ts.map
5
+ //# sourceMappingURL=createFontAliasTokens.ios.d.ts.map
@@ -2,7 +2,7 @@ import aliasTokens from '@fluentui-react-native/design-tokens-ios/light/tokens-a
2
2
  import { memoize } from '@fluentui-react-native/framework-base';
3
3
  import { mapFontPipelineToTheme } from '@fluentui-react-native/theming-utils';
4
4
  function createFontAliasTokensWorker() {
5
- return mapFontPipelineToTheme(aliasTokens);
5
+ return mapFontPipelineToTheme(aliasTokens);
6
6
  }
7
7
  export const createFontAliasTokens = memoize(createFontAliasTokensWorker);
8
- //# sourceMappingURL=createFontAliasTokens.ios.js.map
8
+ //# sourceMappingURL=createFontAliasTokens.ios.js.map
@@ -5,4 +5,4 @@ export declare const createMacOSColorAliasTokens: typeof createMacOSColorAliasTo
5
5
  declare function createMacOSShadowAliasTokensWorker(mode: AppearanceOptions, isHighContrast: boolean): ThemeShadowDefinition;
6
6
  export declare const createMacOSShadowAliasTokens: typeof createMacOSShadowAliasTokensWorker;
7
7
  export {};
8
- //# sourceMappingURL=createMacOSAliasTokens.d.ts.map
8
+ //# sourceMappingURL=createMacOSAliasTokens.d.ts.map
@@ -2,13 +2,13 @@ import { memoize } from '@fluentui-react-native/framework-base';
2
2
  import { mapPipelineToTheme, mapPipelineToShadow } from '@fluentui-react-native/theming-utils';
3
3
  import { getMacOSAliasTokens, getMacOSShadowTokens } from './getMacOSTokens';
4
4
  function createMacOSColorAliasTokensWorker(mode, isHighContrast) {
5
- const aliasTokens = getMacOSAliasTokens(mode, isHighContrast);
6
- return mapPipelineToTheme(aliasTokens);
5
+ const aliasTokens = getMacOSAliasTokens(mode, isHighContrast);
6
+ return mapPipelineToTheme(aliasTokens);
7
7
  }
8
8
  export const createMacOSColorAliasTokens = memoize(createMacOSColorAliasTokensWorker);
9
9
  function createMacOSShadowAliasTokensWorker(mode, isHighContrast) {
10
- const aliasTokens = getMacOSShadowTokens(mode, isHighContrast);
11
- return mapPipelineToShadow(aliasTokens);
10
+ const aliasTokens = getMacOSShadowTokens(mode, isHighContrast);
11
+ return mapPipelineToShadow(aliasTokens);
12
12
  }
13
13
  export const createMacOSShadowAliasTokens = memoize(createMacOSShadowAliasTokensWorker);
14
- //# sourceMappingURL=createMacOSAliasTokens.js.map
14
+ //# sourceMappingURL=createMacOSAliasTokens.js.map
@@ -5,4 +5,4 @@ export declare const createiOSColorAliasTokens: typeof createiOSColorAliasTokens
5
5
  declare function createiOSShadowAliasTokensWorker(mode: AppearanceOptions): ThemeShadowDefinition;
6
6
  export declare const createiOSShadowAliasTokens: typeof createiOSShadowAliasTokensWorker;
7
7
  export {};
8
- //# sourceMappingURL=createiOSAliasTokens.d.ts.map
8
+ //# sourceMappingURL=createiOSAliasTokens.d.ts.map
@@ -2,13 +2,13 @@ import { memoize } from '@fluentui-react-native/framework-base';
2
2
  import { getAliasTokens, getShadowTokens } from '@fluentui-react-native/theme-tokens';
3
3
  import { mapPipelineToTheme, mapPipelineToShadow } from '@fluentui-react-native/theming-utils';
4
4
  function createiOSColorAliasTokensWorker(mode) {
5
- const aliasTokens = getAliasTokens(mode);
6
- return mapPipelineToTheme(aliasTokens);
5
+ const aliasTokens = getAliasTokens(mode);
6
+ return mapPipelineToTheme(aliasTokens);
7
7
  }
8
8
  export const createiOSColorAliasTokens = memoize(createiOSColorAliasTokensWorker);
9
9
  function createiOSShadowAliasTokensWorker(mode) {
10
- const aliasTokens = getShadowTokens(mode);
11
- return mapPipelineToShadow(aliasTokens);
10
+ const aliasTokens = getShadowTokens(mode);
11
+ return mapPipelineToShadow(aliasTokens);
12
12
  }
13
13
  export const createiOSShadowAliasTokens = memoize(createiOSShadowAliasTokensWorker);
14
- //# sourceMappingURL=createiOSAliasTokens.js.map
14
+ //# sourceMappingURL=createiOSAliasTokens.js.map