be-components 0.2.2 → 0.2.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.
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _reactNative = require("react-native");
9
- require("../font.css");
9
+ require("../Font.css");
10
10
  var _colors = _interopRequireDefault(require("../constants/colors"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
12
  const Text = ({
@@ -16,7 +16,7 @@
16
16
  url('./Assets/fonts/Barlow-Regular.ttf')
17
17
  }
18
18
 
19
- @font-face {
19
+ @font-face {
20
20
  font-family: 'barlow-light';
21
21
  src: local('Barlow-Light'),
22
22
  url('./Assets/fonts/Barlow-Light.ttf')
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Text as RNText } from 'react-native';
3
- import '../font.css';
3
+ import '../Font.css';
4
4
  import Colors from '../constants/colors';
5
5
  const Text = ({
6
6
  weight,
@@ -16,7 +16,7 @@
16
16
  url('./Assets/fonts/Barlow-Regular.ttf')
17
17
  }
18
18
 
19
- @font-face {
19
+ @font-face {
20
20
  font-family: 'barlow-light';
21
21
  src: local('Barlow-Light'),
22
22
  url('./Assets/fonts/Barlow-Light.ttf')
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import '../font.css';
2
+ import '../Font.css';
3
3
  export interface TextProps {
4
4
  weight?: 'bold' | 'semibold' | 'regular' | 'light';
5
5
  color?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "be-components",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Components for BettorEdge Apps",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Text as RNText } from 'react-native';
3
- import '../font.css';
3
+ import '../Font.css';
4
4
  import Colors from '../constants/colors';
5
5
 
6
6
 
package/src/Font.css CHANGED
@@ -16,7 +16,7 @@
16
16
  url('./Assets/fonts/Barlow-Regular.ttf')
17
17
  }
18
18
 
19
- @font-face {
19
+ @font-face {
20
20
  font-family: 'barlow-light';
21
21
  src: local('Barlow-Light'),
22
22
  url('./Assets/fonts/Barlow-Light.ttf')