@instructure/ui-text 8.12.1-snapshot.43 → 8.12.1-snapshot.47

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.
@@ -40,7 +40,8 @@ export default {
40
40
  },
41
41
  filter: props => {
42
42
  return (// Only generate a 1 variation for non-'primary' color
43
- props.color !== 'primary' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.size !== 'medium' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal') || props.size !== 'medium' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal')
43
+ props.color !== 'primary' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.size !== 'medium' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal') || // Only generate a 1 variation for non-'medium' size
44
+ props.size !== 'medium' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal')
44
45
  );
45
46
  }
46
47
  };
@@ -47,7 +47,8 @@ var _default = {
47
47
  },
48
48
  filter: props => {
49
49
  return (// Only generate a 1 variation for non-'primary' color
50
- props.color !== 'primary' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.size !== 'medium' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal') || props.size !== 'medium' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal')
50
+ props.color !== 'primary' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.size !== 'medium' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal') || // Only generate a 1 variation for non-'medium' size
51
+ props.size !== 'medium' && (props.fontStyle !== 'normal' || props.letterSpacing !== 'normal' || props.lineHeight !== 'default' || props.transform !== 'none' || props.weight !== 'normal' || props.wrap !== 'normal')
51
52
  );
52
53
  }
53
54
  };
package/lib/Text/index.js CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.Text = exports.default = void 0;
8
+ exports.default = exports.Text = void 0;
9
9
 
10
10
  var _react = require("react");
11
11
 
package/lib/Text/props.js CHANGED
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text",
3
- "version": "8.12.1-snapshot.43+3eb834049",
3
+ "version": "8.12.1-snapshot.47+70bc15c4e",
4
4
  "description": "A component for styling textual content",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,16 +25,16 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.12.1-snapshot.43+3eb834049",
29
- "@instructure/emotion": "8.12.1-snapshot.43+3eb834049",
30
- "@instructure/shared-types": "8.12.1-snapshot.43+3eb834049",
31
- "@instructure/ui-react-utils": "8.12.1-snapshot.43+3eb834049",
28
+ "@instructure/console": "8.12.1-snapshot.47+70bc15c4e",
29
+ "@instructure/emotion": "8.12.1-snapshot.47+70bc15c4e",
30
+ "@instructure/shared-types": "8.12.1-snapshot.47+70bc15c4e",
31
+ "@instructure/ui-react-utils": "8.12.1-snapshot.47+70bc15c4e",
32
32
  "prop-types": "^15"
33
33
  },
34
34
  "devDependencies": {
35
- "@instructure/ui-babel-preset": "8.12.1-snapshot.43+3eb834049",
36
- "@instructure/ui-test-utils": "8.12.1-snapshot.43+3eb834049",
37
- "@instructure/ui-themes": "8.12.1-snapshot.43+3eb834049"
35
+ "@instructure/ui-babel-preset": "8.12.1-snapshot.47+70bc15c4e",
36
+ "@instructure/ui-test-utils": "8.12.1-snapshot.47+70bc15c4e",
37
+ "@instructure/ui-themes": "8.12.1-snapshot.47+70bc15c4e"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": ">=16.8 <=17"
@@ -43,5 +43,5 @@
43
43
  "access": "public"
44
44
  },
45
45
  "sideEffects": false,
46
- "gitHead": "3eb834049428e487ae55ea3ef61fec3eb973156d"
46
+ "gitHead": "70bc15c4e8d89589a1372954f7a230ddde5ef71b"
47
47
  }