@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.
package/dist/index.d.ts CHANGED
@@ -256,6 +256,7 @@ type DerivedColors = {
256
256
  };
257
257
  type DesaturationType = BadgeTileType.Specific | BadgeTileType.Latest;
258
258
  type BaseThemeObject = {
259
+ fontFamily: string;
259
260
  accent: string;
260
261
  background: string;
261
262
  errorPrimary: string;
package/dist/native.js CHANGED
@@ -1620,6 +1620,7 @@ var commonStyles = reactNative.StyleSheet.create({
1620
1620
  },
1621
1621
  });
1622
1622
  var defaultTheme = {
1623
+ fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif',
1623
1624
  background: '#F0F0F0',
1624
1625
  text: '#000000',
1625
1626
  primary: '#392ed7',
@@ -2299,7 +2300,13 @@ var Text = function (_a) {
2299
2300
  }
2300
2301
  };
2301
2302
  var variantStyle = getVariantStyle(variant);
2302
- return jsxRuntimeExports.jsx(reactNative.Text, __assign({ style: [variantStyle, style] }, props));
2303
+ return (jsxRuntimeExports.jsx(reactNative.Text, __assign({ style: [
2304
+ variantStyle,
2305
+ style,
2306
+ {
2307
+ fontFamily: theme.fontFamily,
2308
+ },
2309
+ ] }, props)));
2303
2310
  };
2304
2311
 
2305
2312
  var MAX_WIDTH = 1080;