@fluentui-react-native/win32-theme 0.39.3 → 0.39.5

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 (98) hide show
  1. package/.cache/tsconfig.tsbuildinfo +1 -0
  2. package/CHANGELOG.md +36 -0
  3. package/jest.config.cjs +1 -0
  4. package/lib/NativeModule/_mocks_/getThemingModule.native.js.map +1 -1
  5. package/lib/NativeModule/fallbackOfficeModule.js.map +1 -1
  6. package/lib/NativeModule/getThemingModule.js.map +1 -1
  7. package/lib/NativeModule/getThemingModule.native.js.map +1 -1
  8. package/lib/NativeModule/hostThemeSetting.d.ts.map +1 -1
  9. package/lib/NativeModule/hostThemeSetting.js.map +1 -1
  10. package/lib/__tests__/win32-theme.test.js.map +1 -1
  11. package/lib/createAliasesFromPalette.js.map +1 -1
  12. package/lib/createBrandedThemeWithAlias.js.map +1 -1
  13. package/lib/createFontAliasTokens.js.map +1 -1
  14. package/lib/createOfficeAliasTokens.js.map +1 -1
  15. package/lib/createOfficeTheme.js.map +1 -1
  16. package/lib/createPartialOfficeTheme.js.map +1 -1
  17. package/lib/getOfficeTokens.js.map +1 -1
  18. package/lib/getThemeTypography.js.map +1 -1
  19. package/lib/highContrast/tokens-alias.js.map +1 -1
  20. package/lib/paletteFromOfficeColors.js.map +1 -1
  21. package/package.json +18 -23
  22. package/babel.config.js +0 -1
  23. package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.d.ts +0 -6
  24. package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.d.ts.map +0 -1
  25. package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.js +0 -11
  26. package/lib-commonjs/NativeModule/_mocks_/getThemingModule.native.js.map +0 -1
  27. package/lib-commonjs/NativeModule/fallbackOfficeModule.d.ts +0 -5
  28. package/lib-commonjs/NativeModule/fallbackOfficeModule.d.ts.map +0 -1
  29. package/lib-commonjs/NativeModule/fallbackOfficeModule.js +0 -173
  30. package/lib-commonjs/NativeModule/fallbackOfficeModule.js.map +0 -1
  31. package/lib-commonjs/NativeModule/getThemingModule.d.ts +0 -7
  32. package/lib-commonjs/NativeModule/getThemingModule.d.ts.map +0 -1
  33. package/lib-commonjs/NativeModule/getThemingModule.js +0 -11
  34. package/lib-commonjs/NativeModule/getThemingModule.js.map +0 -1
  35. package/lib-commonjs/NativeModule/getThemingModule.native.d.ts +0 -4
  36. package/lib-commonjs/NativeModule/getThemingModule.native.d.ts.map +0 -1
  37. package/lib-commonjs/NativeModule/getThemingModule.native.js +0 -51
  38. package/lib-commonjs/NativeModule/getThemingModule.native.js.map +0 -1
  39. package/lib-commonjs/NativeModule/hostThemeSetting.d.ts +0 -3
  40. package/lib-commonjs/NativeModule/hostThemeSetting.d.ts.map +0 -1
  41. package/lib-commonjs/NativeModule/hostThemeSetting.js +0 -22
  42. package/lib-commonjs/NativeModule/hostThemeSetting.js.map +0 -1
  43. package/lib-commonjs/NativeModule/index.d.ts +0 -4
  44. package/lib-commonjs/NativeModule/index.d.ts.map +0 -1
  45. package/lib-commonjs/NativeModule/index.js +0 -9
  46. package/lib-commonjs/NativeModule/index.js.map +0 -1
  47. package/lib-commonjs/NativeModule/officeThemingModule.d.ts +0 -38
  48. package/lib-commonjs/NativeModule/officeThemingModule.d.ts.map +0 -1
  49. package/lib-commonjs/NativeModule/officeThemingModule.js +0 -3
  50. package/lib-commonjs/NativeModule/officeThemingModule.js.map +0 -1
  51. package/lib-commonjs/__tests__/win32-theme.test.d.ts +0 -2
  52. package/lib-commonjs/__tests__/win32-theme.test.d.ts.map +0 -1
  53. package/lib-commonjs/__tests__/win32-theme.test.js +0 -81
  54. package/lib-commonjs/__tests__/win32-theme.test.js.map +0 -1
  55. package/lib-commonjs/createAliasesFromPalette.d.ts +0 -3
  56. package/lib-commonjs/createAliasesFromPalette.d.ts.map +0 -1
  57. package/lib-commonjs/createAliasesFromPalette.js +0 -61
  58. package/lib-commonjs/createAliasesFromPalette.js.map +0 -1
  59. package/lib-commonjs/createBrandedThemeWithAlias.d.ts +0 -5
  60. package/lib-commonjs/createBrandedThemeWithAlias.d.ts.map +0 -1
  61. package/lib-commonjs/createBrandedThemeWithAlias.js +0 -73
  62. package/lib-commonjs/createBrandedThemeWithAlias.js.map +0 -1
  63. package/lib-commonjs/createFontAliasTokens.d.ts +0 -5
  64. package/lib-commonjs/createFontAliasTokens.d.ts.map +0 -1
  65. package/lib-commonjs/createFontAliasTokens.js +0 -12
  66. package/lib-commonjs/createFontAliasTokens.js.map +0 -1
  67. package/lib-commonjs/createOfficeAliasTokens.d.ts +0 -7
  68. package/lib-commonjs/createOfficeAliasTokens.d.ts.map +0 -1
  69. package/lib-commonjs/createOfficeAliasTokens.js +0 -17
  70. package/lib-commonjs/createOfficeAliasTokens.js.map +0 -1
  71. package/lib-commonjs/createOfficeTheme.d.ts +0 -13
  72. package/lib-commonjs/createOfficeTheme.d.ts.map +0 -1
  73. package/lib-commonjs/createOfficeTheme.js +0 -71
  74. package/lib-commonjs/createOfficeTheme.js.map +0 -1
  75. package/lib-commonjs/createPartialOfficeTheme.d.ts +0 -10
  76. package/lib-commonjs/createPartialOfficeTheme.d.ts.map +0 -1
  77. package/lib-commonjs/createPartialOfficeTheme.js +0 -33
  78. package/lib-commonjs/createPartialOfficeTheme.js.map +0 -1
  79. package/lib-commonjs/getOfficeTokens.d.ts +0 -479
  80. package/lib-commonjs/getOfficeTokens.d.ts.map +0 -1
  81. package/lib-commonjs/getOfficeTokens.js +0 -46
  82. package/lib-commonjs/getOfficeTokens.js.map +0 -1
  83. package/lib-commonjs/getThemeTypography.d.ts +0 -3
  84. package/lib-commonjs/getThemeTypography.d.ts.map +0 -1
  85. package/lib-commonjs/getThemeTypography.js +0 -39
  86. package/lib-commonjs/getThemeTypography.js.map +0 -1
  87. package/lib-commonjs/highContrast/tokens-alias.d.ts +0 -2
  88. package/lib-commonjs/highContrast/tokens-alias.d.ts.map +0 -1
  89. package/lib-commonjs/highContrast/tokens-alias.js +0 -23
  90. package/lib-commonjs/highContrast/tokens-alias.js.map +0 -1
  91. package/lib-commonjs/index.d.ts +0 -10
  92. package/lib-commonjs/index.d.ts.map +0 -1
  93. package/lib-commonjs/index.js +0 -23
  94. package/lib-commonjs/index.js.map +0 -1
  95. package/lib-commonjs/paletteFromOfficeColors.d.ts +0 -3
  96. package/lib-commonjs/paletteFromOfficeColors.d.ts.map +0 -1
  97. package/lib-commonjs/paletteFromOfficeColors.js +0 -119
  98. package/lib-commonjs/paletteFromOfficeColors.js.map +0 -1
@@ -1,479 +0,0 @@
1
- export declare function getOfficeAliasTokens(officeTheme: string): any;
2
- export declare function getOfficeShadowTokens(officeTheme: string): {
3
- shadow16: {
4
- color: string;
5
- x: number;
6
- y: number;
7
- blur: number;
8
- }[];
9
- shadow2: {
10
- color: string;
11
- x: number;
12
- y: number;
13
- blur: number;
14
- }[];
15
- shadow28: {
16
- color: string;
17
- x: number;
18
- y: number;
19
- blur: number;
20
- }[];
21
- shadow4: {
22
- color: string;
23
- x: number;
24
- y: number;
25
- blur: number;
26
- }[];
27
- shadow64: {
28
- color: string;
29
- x: number;
30
- y: number;
31
- blur: number;
32
- }[];
33
- shadow8: {
34
- color: string;
35
- x: number;
36
- y: number;
37
- blur: number;
38
- }[];
39
- shadowBrand16: {
40
- color: string;
41
- x: number;
42
- y: number;
43
- blur: number;
44
- }[];
45
- shadowBrand2: {
46
- color: string;
47
- x: number;
48
- y: number;
49
- blur: number;
50
- }[];
51
- shadowBrand28: {
52
- color: string;
53
- x: number;
54
- y: number;
55
- blur: number;
56
- }[];
57
- shadowBrand4: {
58
- color: string;
59
- x: number;
60
- y: number;
61
- blur: number;
62
- }[];
63
- shadowBrand64: {
64
- color: string;
65
- x: number;
66
- y: number;
67
- blur: number;
68
- }[];
69
- shadowBrand8: {
70
- color: string;
71
- x: number;
72
- y: number;
73
- blur: number;
74
- }[];
75
- } | {
76
- body1: {
77
- fontFamily: string;
78
- fontLineHeight: number;
79
- fontSize: number;
80
- fontWeight: string;
81
- };
82
- body1Strong: {
83
- fontFamily: string;
84
- fontLineHeight: number;
85
- fontSize: number;
86
- fontWeight: string;
87
- };
88
- body2: {
89
- fontFamily: string;
90
- fontLineHeight: number;
91
- fontSize: number;
92
- fontWeight: string;
93
- };
94
- body2Strong: {
95
- fontFamily: string;
96
- fontLineHeight: number;
97
- fontSize: number;
98
- fontWeight: string;
99
- };
100
- brandBackground: {
101
- rest: string;
102
- hover: string;
103
- pressed: string;
104
- selected: string;
105
- };
106
- brandBackground2: {
107
- rest: string;
108
- };
109
- brandBackgroundStatic: {
110
- rest: string;
111
- };
112
- brandForeground1: {
113
- rest: string;
114
- };
115
- brandForeground2: {
116
- rest: string;
117
- };
118
- brandForegroundLink: {
119
- rest: string;
120
- hover: string;
121
- pressed: string;
122
- selected: string;
123
- };
124
- brandStroke1: {
125
- rest: string;
126
- };
127
- brandStroke2: {
128
- rest: string;
129
- };
130
- caption1: {
131
- fontFamily: string;
132
- fontLineHeight: number;
133
- fontSize: number;
134
- fontWeight: string;
135
- };
136
- compoundBrandBackground1: {
137
- rest: string;
138
- hover: string;
139
- pressed: string;
140
- };
141
- compoundBrandForeground1: {
142
- rest: string;
143
- hover: string;
144
- pressed: string;
145
- };
146
- compoundBrandStroke1: {
147
- rest: string;
148
- hover: string;
149
- pressed: string;
150
- };
151
- dangerBackground1: {
152
- rest: string;
153
- };
154
- dangerBackground2: {
155
- rest: string;
156
- };
157
- dangerBackground3: {
158
- rest: string;
159
- };
160
- dangerBorder1: {
161
- rest: string;
162
- };
163
- dangerBorder2: {
164
- rest: string;
165
- };
166
- dangerBorderActive: {
167
- rest: string;
168
- };
169
- dangerForeground1: {
170
- rest: string;
171
- };
172
- dangerForeground2: {
173
- rest: string;
174
- };
175
- dangerForeground3: {
176
- rest: string;
177
- };
178
- dangerForegroundInverted: {
179
- rest: string;
180
- };
181
- display: {
182
- fontFamily: string;
183
- fontLineHeight: number;
184
- fontSize: number;
185
- fontWeight: string;
186
- };
187
- largeTitle: {
188
- fontFamily: string;
189
- fontLineHeight: number;
190
- fontSize: number;
191
- fontWeight: string;
192
- };
193
- neutralBackground1: {
194
- rest: string;
195
- hover: string;
196
- pressed: string;
197
- selected: string;
198
- };
199
- neutralBackground2: {
200
- rest: string;
201
- hover: string;
202
- pressed: string;
203
- selected: string;
204
- };
205
- neutralBackground3: {
206
- rest: string;
207
- hover: string;
208
- pressed: string;
209
- selected: string;
210
- };
211
- neutralBackground4: {
212
- rest: string;
213
- hover: string;
214
- pressed: string;
215
- selected: string;
216
- };
217
- neutralBackground5: {
218
- rest: string;
219
- hover: string;
220
- pressed: string;
221
- selected: string;
222
- };
223
- neutralBackground6: {
224
- rest: string;
225
- };
226
- neutralBackgroundDisabled: {
227
- rest: string;
228
- };
229
- neutralBackgroundInverted: {
230
- rest: string;
231
- };
232
- neutralForeground1: {
233
- rest: string;
234
- hover: string;
235
- pressed: string;
236
- selected: string;
237
- };
238
- neutralForeground2: {
239
- rest: string;
240
- hover: string;
241
- pressed: string;
242
- brandHover: string;
243
- brandPressed: string;
244
- brandSelected: string;
245
- selected: string;
246
- };
247
- neutralForeground3: {
248
- rest: string;
249
- hover: string;
250
- pressed: string;
251
- brandHover: string;
252
- brandPressed: string;
253
- brandSelected: string;
254
- selected: string;
255
- };
256
- neutralForeground4: {
257
- rest: string;
258
- };
259
- neutralForegroundDisabled: {
260
- rest: string;
261
- };
262
- neutralForegroundInverted: {
263
- rest: string;
264
- };
265
- neutralForegroundInvertedLink: {
266
- rest: string;
267
- hover: string;
268
- pressed: string;
269
- selected: string;
270
- };
271
- neutralForegroundOnBrand: {
272
- rest: string;
273
- hover: string;
274
- pressed: string;
275
- selected: string;
276
- };
277
- neutralStencil1: {
278
- rest: string;
279
- };
280
- neutralStencil2: {
281
- rest: string;
282
- };
283
- neutralStroke1: {
284
- rest: string;
285
- hover: string;
286
- pressed: string;
287
- selected: string;
288
- };
289
- neutralStroke2: {
290
- rest: string;
291
- };
292
- neutralStroke3: {
293
- rest: string;
294
- };
295
- neutralStrokeAccessible: {
296
- rest: string;
297
- hover: string;
298
- pressed: string;
299
- selected: string;
300
- };
301
- neutralStrokeDisabled: {
302
- rest: string;
303
- };
304
- outofofficeBackground1: {
305
- rest: string;
306
- };
307
- outofofficeBackground2: {
308
- rest: string;
309
- };
310
- outofofficeBackground3: {
311
- rest: string;
312
- };
313
- outofofficeBorder1: {
314
- rest: string;
315
- };
316
- outofofficeBorder2: {
317
- rest: string;
318
- };
319
- outofofficeBorderActive: {
320
- rest: string;
321
- };
322
- outofofficeForeground1: {
323
- rest: string;
324
- };
325
- outofofficeForeground2: {
326
- rest: string;
327
- };
328
- outofofficeForeground3: {
329
- rest: string;
330
- };
331
- severeBackground1: {
332
- rest: string;
333
- };
334
- severeBackground2: {
335
- rest: string;
336
- };
337
- severeBackground3: {
338
- rest: string;
339
- };
340
- severeBorder1: {
341
- rest: string;
342
- };
343
- severeBorder2: {
344
- rest: string;
345
- };
346
- severeBorderActive: {
347
- rest: string;
348
- };
349
- severeForeground1: {
350
- rest: string;
351
- };
352
- severeForeground2: {
353
- rest: string;
354
- };
355
- severeForeground3: {
356
- rest: string;
357
- };
358
- strokeFocus1: {
359
- rest: string;
360
- };
361
- strokeFocus2: {
362
- rest: string;
363
- };
364
- subtitle1: {
365
- fontFamily: string;
366
- fontLineHeight: number;
367
- fontSize: number;
368
- fontWeight: string;
369
- };
370
- subtitle1Strong: {
371
- fontFamily: string;
372
- fontLineHeight: number;
373
- fontSize: number;
374
- fontWeight: string;
375
- };
376
- subtitle2: {
377
- fontFamily: string;
378
- fontLineHeight: number;
379
- fontSize: number;
380
- fontWeight: string;
381
- };
382
- subtitle2Strong: {
383
- fontFamily: string;
384
- fontLineHeight: number;
385
- fontSize: number;
386
- fontWeight: string;
387
- };
388
- subtleBackground: {
389
- rest: string;
390
- hover: string;
391
- pressed: string;
392
- selected: string;
393
- };
394
- successBackground1: {
395
- rest: string;
396
- };
397
- successBackground2: {
398
- rest: string;
399
- };
400
- successBackground3: {
401
- rest: string;
402
- };
403
- successBorder1: {
404
- rest: string;
405
- };
406
- successBorder2: {
407
- rest: string;
408
- };
409
- successBorderActive: {
410
- rest: string;
411
- };
412
- successForeground1: {
413
- rest: string;
414
- };
415
- successForeground2: {
416
- rest: string;
417
- };
418
- successForeground3: {
419
- rest: string;
420
- };
421
- successForegroundInverted: {
422
- rest: string;
423
- };
424
- title1: {
425
- fontFamily: string;
426
- fontLineHeight: number;
427
- fontSize: number;
428
- fontWeight: string;
429
- };
430
- title1Strong: {
431
- fontFamily: string;
432
- fontLineHeight: number;
433
- fontSize: number;
434
- fontWeight: string;
435
- };
436
- transparentBackground: {
437
- rest: string;
438
- hover: string;
439
- pressed: string;
440
- selected: string;
441
- };
442
- transparentStroke: {
443
- rest: string;
444
- hover: string;
445
- pressed: string;
446
- disabled: string;
447
- };
448
- warningBackground1: {
449
- rest: string;
450
- };
451
- warningBackground2: {
452
- rest: string;
453
- };
454
- warningBackground3: {
455
- rest: string;
456
- };
457
- warningBorder1: {
458
- rest: string;
459
- };
460
- warningBorder2: {
461
- rest: string;
462
- };
463
- warningBorderActive: {
464
- rest: string;
465
- };
466
- warningForeground1: {
467
- rest: string;
468
- };
469
- warningForeground2: {
470
- rest: string;
471
- };
472
- warningForeground3: {
473
- rest: string;
474
- };
475
- warningForegroundInverted: {
476
- rest: string;
477
- };
478
- };
479
- //# sourceMappingURL=getOfficeTokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getOfficeTokens.d.ts","sourceRoot":"","sources":["../src/getOfficeTokens.ts"],"names":[],"mappings":"AAUA,wBAAgB,oBAAoB,CAAC,WAAW,EAAE,MAAM,OAYvD;AAED,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYxD"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getOfficeAliasTokens = getOfficeAliasTokens;
7
- exports.getOfficeShadowTokens = getOfficeShadowTokens;
8
- const tokens_aliases_json_1 = __importDefault(require("@fluentui-react-native/design-tokens-win32/black/tokens-aliases.json"));
9
- const tokens_shadow_json_1 = __importDefault(require("@fluentui-react-native/design-tokens-win32/black/tokens-shadow.json"));
10
- const tokens_aliases_json_2 = __importDefault(require("@fluentui-react-native/design-tokens-win32/colorful/tokens-aliases.json"));
11
- const tokens_shadow_json_2 = __importDefault(require("@fluentui-react-native/design-tokens-win32/colorful/tokens-shadow.json"));
12
- const tokens_aliases_json_3 = __importDefault(require("@fluentui-react-native/design-tokens-win32/darkgray/tokens-aliases.json"));
13
- const tokens_shadow_json_3 = __importDefault(require("@fluentui-react-native/design-tokens-win32/darkgray/tokens-shadow.json"));
14
- const tokens_shadow_json_4 = __importDefault(require("@fluentui-react-native/design-tokens-win32/hc/tokens-shadow.json"));
15
- const tokens_alias_1 = require("./highContrast/tokens-alias");
16
- function getOfficeAliasTokens(officeTheme) {
17
- if (officeTheme === 'White' || officeTheme === 'Colorful') {
18
- return tokens_aliases_json_2.default;
19
- }
20
- else if (officeTheme === 'DarkGray') {
21
- return tokens_aliases_json_3.default;
22
- }
23
- else if (officeTheme === 'Black') {
24
- return tokens_aliases_json_1.default;
25
- }
26
- else if (officeTheme === 'HighContrast') {
27
- return tokens_alias_1.hcAliasTokens;
28
- }
29
- return tokens_aliases_json_2.default;
30
- }
31
- function getOfficeShadowTokens(officeTheme) {
32
- if (officeTheme === 'White' || officeTheme === 'Colorful') {
33
- return tokens_shadow_json_2.default;
34
- }
35
- else if (officeTheme === 'DarkGray') {
36
- return tokens_shadow_json_3.default;
37
- }
38
- else if (officeTheme === 'Black') {
39
- return tokens_shadow_json_1.default;
40
- }
41
- else if (officeTheme === 'HighContrast') {
42
- return tokens_shadow_json_4.default;
43
- }
44
- return tokens_aliases_json_2.default;
45
- }
46
- //# sourceMappingURL=getOfficeTokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getOfficeTokens.js","sourceRoot":"","sources":["../src/getOfficeTokens.ts"],"names":[],"mappings":";;;;;;;AAAA,+HAAoG;AACpG,6HAAoG;AACpG,kIAA0G;AAC1G,gIAA0G;AAC1G,kIAA0G;AAC1G,gIAA0G;AAC1G,0HAA8F;AAE9F,8DAA4D;AAE5D,8BAAqC,WAAmB,EAAE;IACxD,IAAI,WAAW,KAAK,OAAO,IAAI,WAAW,KAAK,UAAU,EAAE,CAAC;QAC1D,OAAO,6BAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,WAAW,KAAK,UAAU,EAAE,CAAC;QACtC,OAAO,6BAAmB,CAAC;IAC7B,CAAC;SAAM,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;QACnC,OAAO,6BAAgB,CAAC;IAC1B,CAAC;SAAM,IAAI,WAAW,KAAK,cAAc,EAAE,CAAC;QAC1C,OAAO,4BAAa,CAAC;IACvB,CAAC;IAED,OAAO,6BAAmB,CAAC;AAAA,CAC5B;AAED,+BAAsC,WAAmB,EAAE;IACzD,IAAI,WAAW,KAAK,OAAO,IAAI,WAAW,KAAK,UAAU,EAAE,CAAC;QAC1D,OAAO,4BAAoB,CAAC;IAC9B,CAAC;SAAM,IAAI,WAAW,KAAK,UAAU,EAAE,CAAC;QACtC,OAAO,4BAAoB,CAAC;IAC9B,CAAC;SAAM,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;QACnC,OAAO,4BAAiB,CAAC;IAC3B,CAAC;SAAM,IAAI,WAAW,KAAK,cAAc,EAAE,CAAC;QAC1C,OAAO,4BAAc,CAAC;IACxB,CAAC;IAED,OAAO,6BAAmB,CAAC;AAAA,CAC5B"}
@@ -1,3 +0,0 @@
1
- import type { Typography } from '@fluentui-react-native/theme-types';
2
- export declare function win32Typography(): Typography;
3
- //# sourceMappingURL=getThemeTypography.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getThemeTypography.d.ts","sourceRoot":"","sources":["../src/getThemeTypography.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,oCAAoC,CAAC;AAI/E,wBAAgB,eAAe,IAAI,UAAU,CAiC5C"}
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.win32Typography = win32Typography;
4
- const default_theme_1 = require("@fluentui-react-native/default-theme");
5
- const createFontAliasTokens_1 = require("./createFontAliasTokens");
6
- function win32Typography() {
7
- const win32Dict = {
8
- sizes: default_theme_1.defaultFluentTheme.typography.sizes,
9
- weights: default_theme_1.defaultFluentTheme.typography.weights,
10
- // hard coded until we support new fontFamily format
11
- families: {
12
- primary: 'Segoe UI',
13
- secondary: 'Segoe UI Semibold',
14
- cursive: 'System',
15
- monospace: 'Consolas',
16
- sansSerif: 'System',
17
- serif: 'System',
18
- numeric: 'Bahnschrift',
19
- },
20
- variants: {
21
- captionStandard: { face: 'primary', size: 'caption', weight: 'regular' },
22
- secondaryStandard: { face: 'primary', size: 'secondary', weight: 'regular' },
23
- secondarySemibold: { face: 'primary', size: 'secondary', weight: 'semiBold' },
24
- bodyStandard: { face: 'primary', size: 'body', weight: 'regular' },
25
- bodySemibold: { face: 'primary', size: 'body', weight: 'semiBold' },
26
- subheaderStandard: { face: 'primary', size: 'subheader', weight: 'regular' },
27
- subheaderSemibold: { face: 'primary', size: 'subheader', weight: 'semiBold' },
28
- headerStandard: { face: 'primary', size: 'header', weight: 'regular' },
29
- headerSemibold: { face: 'primary', size: 'header', weight: 'semiBold' },
30
- heroStandard: { face: 'primary', size: 'hero', weight: 'regular' },
31
- heroSemibold: { face: 'primary', size: 'hero', weight: 'semiBold' },
32
- heroLargeStandard: { face: 'primary', size: 'heroLarge', weight: 'regular' },
33
- heroLargeSemibold: { face: 'primary', size: 'heroLarge', weight: 'semiBold' },
34
- ...(0, createFontAliasTokens_1.createFontAliasTokens)(),
35
- },
36
- };
37
- return win32Dict;
38
- }
39
- //# sourceMappingURL=getThemeTypography.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getThemeTypography.js","sourceRoot":"","sources":["../src/getThemeTypography.ts"],"names":[],"mappings":";;;AAAA,wEAA0E;AAG1E,mEAAgE;AAEhE,2BAA8C;IAC5C,MAAM,SAAS,GAAG;QAChB,KAAK,EAAE,kCAAkB,CAAC,UAAU,CAAC,KAAK;QAC1C,OAAO,EAAE,kCAAkB,CAAC,UAAU,CAAC,OAAO;QAC9C,oDAAoD;QACpD,QAAQ,EAAE;YACR,OAAO,EAAE,UAAU;YACnB,SAAS,EAAE,mBAAmB;YAC9B,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,UAAU;YACrB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,aAAa;SACvB;QACD,QAAQ,EAAE;YACR,eAAe,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE;YACxE,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE;YAC5E,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE;YAC7E,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE;YAClE,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE;YACnE,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE;YAC5E,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE;YAC7E,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE;YACtE,cAAc,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE;YACvE,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE;YAClE,YAAY,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE;YACnE,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE;YAC5E,iBAAiB,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE;YAC7E,GAAG,IAAA,6CAAqB,GAAE;SACf;KACd,CAAC;IAEF,OAAO,SAAS,CAAC;AAAA,CAClB"}
@@ -1,2 +0,0 @@
1
- export declare const hcAliasTokens: any;
2
- //# sourceMappingURL=tokens-alias.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokens-alias.d.ts","sourceRoot":"","sources":["../../src/highContrast/tokens-alias.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,KAAkC,CAAC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.hcAliasTokens = void 0;
7
- const react_native_1 = require("react-native");
8
- const tokens_aliases_json_1 = __importDefault(require("@fluentui-react-native/design-tokens-win32/hc/tokens-aliases.json"));
9
- exports.hcAliasTokens = processAliasTokens(tokens_aliases_json_1.default);
10
- function processAliasTokens(aliasTokens) {
11
- for (const key in aliasTokens) {
12
- for (const innerKey in aliasTokens[key]) {
13
- const entry = aliasTokens[key][innerKey];
14
- if (typeof entry === 'string' && entry.includes('PlatformColor')) {
15
- const color = entry.substring(14, entry.length - 1);
16
- // eslint-disable-next-line @react-native/platform-colors
17
- aliasTokens[key][innerKey] = (0, react_native_1.PlatformColor)(color);
18
- }
19
- }
20
- }
21
- return aliasTokens;
22
- }
23
- //# sourceMappingURL=tokens-alias.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tokens-alias.js","sourceRoot":"","sources":["../../src/highContrast/tokens-alias.ts"],"names":[],"mappings":";;;;;;AAAA,+CAA6C;AAE7C,4HAA4F;AAE/E,QAAA,aAAa,GAAG,kBAAkB,CAAC,6BAAW,CAAC,CAAC;AAE7D,SAAS,kBAAkB,CAAC,WAAgB,EAAE;IAC5C,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QAC9B,KAAK,MAAM,QAAQ,IAAI,WAAW,CAAC,GAAG,CAAC,EAAE,CAAC;YACxC,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;YACzC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC;gBACjE,MAAM,KAAK,GAAG,KAAK,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;gBACpD,yDAAyD;gBACzD,WAAW,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,GAAG,IAAA,4BAAa,EAAC,KAAK,CAAC,CAAC;YACpD,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,WAAW,CAAC;AAAA,CACpB"}
@@ -1,10 +0,0 @@
1
- export { createOfficeTheme } from './createOfficeTheme';
2
- export { createPartialOfficeTheme } from './createPartialOfficeTheme';
3
- export { fallbackGetPalette, fallbackOfficeModule, getThemingModule } from './NativeModule/index';
4
- export type { CxxException, IEventEmitter, NativeColorNames, NativeColorRamps, OfficeThemingModule, PlatformDefaultsChangedArgs, PlatformDefaultsChangedCallback, } from './NativeModule/index';
5
- export { paletteFromOfficeColors } from './paletteFromOfficeColors';
6
- export { createOfficeColorAliasTokens as createOfficeAliasTokens } from './createOfficeAliasTokens';
7
- export { createFontAliasTokens } from './createFontAliasTokens';
8
- export { createBrandedThemeWithAlias, getCurrentBrandAliasTokens } from './createBrandedThemeWithAlias';
9
- export { win32Typography } from './getThemeTypography';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAClG,YAAY,EACV,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,4BAA4B,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AACxG,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.win32Typography = exports.getCurrentBrandAliasTokens = exports.createBrandedThemeWithAlias = exports.createFontAliasTokens = exports.createOfficeAliasTokens = exports.paletteFromOfficeColors = exports.getThemingModule = exports.fallbackOfficeModule = exports.fallbackGetPalette = exports.createPartialOfficeTheme = exports.createOfficeTheme = void 0;
4
- const createOfficeTheme_1 = require("./createOfficeTheme");
5
- Object.defineProperty(exports, "createOfficeTheme", { enumerable: true, get: function () { return createOfficeTheme_1.createOfficeTheme; } });
6
- const createPartialOfficeTheme_1 = require("./createPartialOfficeTheme");
7
- Object.defineProperty(exports, "createPartialOfficeTheme", { enumerable: true, get: function () { return createPartialOfficeTheme_1.createPartialOfficeTheme; } });
8
- const index_1 = require("./NativeModule/index");
9
- Object.defineProperty(exports, "fallbackGetPalette", { enumerable: true, get: function () { return index_1.fallbackGetPalette; } });
10
- Object.defineProperty(exports, "fallbackOfficeModule", { enumerable: true, get: function () { return index_1.fallbackOfficeModule; } });
11
- Object.defineProperty(exports, "getThemingModule", { enumerable: true, get: function () { return index_1.getThemingModule; } });
12
- const paletteFromOfficeColors_1 = require("./paletteFromOfficeColors");
13
- Object.defineProperty(exports, "paletteFromOfficeColors", { enumerable: true, get: function () { return paletteFromOfficeColors_1.paletteFromOfficeColors; } });
14
- const createOfficeAliasTokens_1 = require("./createOfficeAliasTokens");
15
- Object.defineProperty(exports, "createOfficeAliasTokens", { enumerable: true, get: function () { return createOfficeAliasTokens_1.createOfficeColorAliasTokens; } });
16
- const createFontAliasTokens_1 = require("./createFontAliasTokens");
17
- Object.defineProperty(exports, "createFontAliasTokens", { enumerable: true, get: function () { return createFontAliasTokens_1.createFontAliasTokens; } });
18
- const createBrandedThemeWithAlias_1 = require("./createBrandedThemeWithAlias");
19
- Object.defineProperty(exports, "createBrandedThemeWithAlias", { enumerable: true, get: function () { return createBrandedThemeWithAlias_1.createBrandedThemeWithAlias; } });
20
- Object.defineProperty(exports, "getCurrentBrandAliasTokens", { enumerable: true, get: function () { return createBrandedThemeWithAlias_1.getCurrentBrandAliasTokens; } });
21
- const getThemeTypography_1 = require("./getThemeTypography");
22
- Object.defineProperty(exports, "win32Typography", { enumerable: true, get: function () { return getThemeTypography_1.win32Typography; } });
23
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2DAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAC1B,yEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AACjC,gDAAkG;AAAzF,2GAAA,kBAAkB,OAAA;AAAE,6GAAA,oBAAoB,OAAA;AAAE,yGAAA,gBAAgB,OAAA;AAUnE,uEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,uEAAoG;AAA3F,kIAAA,4BAA4B,OAA2B;AAChE,mEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAC9B,+EAAwG;AAA/F,0IAAA,2BAA2B,OAAA;AAAE,yIAAA,0BAA0B,OAAA;AAChE,6DAAuD;AAA9C,qHAAA,eAAe,OAAA"}
@@ -1,3 +0,0 @@
1
- import type { Palette, OfficePalette } from '@fluentui-react-native/theme-types';
2
- export declare function paletteFromOfficeColors(p: OfficePalette): Palette;
3
- //# sourceMappingURL=paletteFromOfficeColors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"paletteFromOfficeColors.d.ts","sourceRoot":"","sources":["../src/paletteFromOfficeColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAEjF,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,aAAa,GAAG,OAAO,CA2IjE"}