@wlloyalty/wll-react-sdk 1.0.93 → 1.0.94

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.
@@ -7,6 +7,7 @@ export type DerivedColors = {
7
7
  };
8
8
  export type DesaturationType = BadgeTileType.Specific | BadgeTileType.Latest;
9
9
  export type BaseThemeObject = {
10
+ fontFamily: string;
10
11
  accent: string;
11
12
  background: string;
12
13
  errorPrimary: string;
@@ -6,6 +6,7 @@ export declare const storyBookThemes: {
6
6
  background: string;
7
7
  surface: string;
8
8
  surfaceText: string;
9
+ fontFamily: string;
9
10
  errorPrimary: string;
10
11
  negative: string;
11
12
  pageButtonBackground: string;
@@ -19,6 +20,7 @@ export declare const storyBookThemes: {
19
20
  background: string;
20
21
  surface: string;
21
22
  surfaceText: string;
23
+ fontFamily: string;
22
24
  errorPrimary: string;
23
25
  negative: string;
24
26
  pageButtonBackground: string;
@@ -33,6 +35,7 @@ export declare const storyBookThemes: {
33
35
  accent: string;
34
36
  surface: string;
35
37
  surfaceText: string;
38
+ fontFamily: string;
36
39
  errorPrimary: string;
37
40
  negative: string;
38
41
  pageButtonBackground: string;
@@ -45,6 +48,7 @@ export declare const storyBookThemes: {
45
48
  background: string;
46
49
  surface: string;
47
50
  surfaceText: string;
51
+ fontFamily: string;
48
52
  errorPrimary: string;
49
53
  negative: string;
50
54
  pageButtonBackground: string;
@@ -58,6 +62,7 @@ export declare const storyBookThemes: {
58
62
  background: string;
59
63
  surface: string;
60
64
  surfaceText: string;
65
+ fontFamily: string;
61
66
  errorPrimary: string;
62
67
  negative: string;
63
68
  pageButtonBackground: string;
package/dist/web.js CHANGED
@@ -7949,6 +7949,7 @@ var commonStyles = StyleSheet$1.create({
7949
7949
  }
7950
7950
  });
7951
7951
  var defaultTheme = {
7952
+ fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif',
7952
7953
  background: '#F0F0F0',
7953
7954
  text: '#000000',
7954
7955
  primary: '#392ed7',
@@ -18900,7 +18901,9 @@ var Text = function (_a) {
18900
18901
  };
18901
18902
  var variantStyle = getVariantStyle(variant);
18902
18903
  return /*#__PURE__*/React__namespace.createElement(Text$3, __assign({
18903
- style: [variantStyle, style]
18904
+ style: [variantStyle, style, {
18905
+ fontFamily: theme.fontFamily
18906
+ }]
18904
18907
  }, props));
18905
18908
  };
18906
18909