@instructure/ui-img 8.12.1-snapshot.7 → 8.13.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
7
+
8
+ ### Features
9
+
10
+ - **canvas-theme,ui-theme-tokens,ui-themes:** update canvas theme colors ([a72237d](https://github.com/instructure/instructure-ui/commit/a72237dc213b86aa8f18da2618559ea4c118e1dd))
11
+
6
12
  # [8.12.0](https://github.com/instructure/instructure-ui/compare/v8.11.1...v8.12.0) (2021-11-17)
7
13
 
8
14
  **Note:** Version bump only for package @instructure/ui-img
package/es/Img/index.js CHANGED
@@ -44,8 +44,8 @@ category: components
44
44
  @tsProps
45
45
  **/
46
46
  let Img = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Img extends Component {
47
- constructor(...args) {
48
- super(...args);
47
+ constructor() {
48
+ super(...arguments);
49
49
  this.ref = null;
50
50
 
51
51
  this.handleRef = el => {
package/lib/Img/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.Img = exports.default = void 0;
8
+ exports.default = exports.Img = void 0;
9
9
 
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
 
@@ -36,8 +36,8 @@ category: components
36
36
  @tsProps
37
37
  **/
38
38
  let Img = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Img extends _react.Component {
39
- constructor(...args) {
40
- super(...args);
39
+ constructor() {
40
+ super(...arguments);
41
41
  this.ref = null;
42
42
 
43
43
  this.handleRef = el => {
package/lib/Img/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-img",
3
- "version": "8.12.1-snapshot.7+1e7ac8219",
3
+ "version": "8.13.0",
4
4
  "description": "An accessible image component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,19 +25,19 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.12.1-snapshot.7+1e7ac8219",
29
- "@instructure/emotion": "8.12.1-snapshot.7+1e7ac8219",
30
- "@instructure/shared-types": "8.12.1-snapshot.7+1e7ac8219",
31
- "@instructure/ui-dom-utils": "8.12.1-snapshot.7+1e7ac8219",
32
- "@instructure/ui-react-utils": "8.12.1-snapshot.7+1e7ac8219",
33
- "@instructure/ui-testable": "8.12.1-snapshot.7+1e7ac8219",
34
- "@instructure/ui-view": "8.12.1-snapshot.7+1e7ac8219",
28
+ "@instructure/console": "8.13.0",
29
+ "@instructure/emotion": "8.13.0",
30
+ "@instructure/shared-types": "8.13.0",
31
+ "@instructure/ui-dom-utils": "8.13.0",
32
+ "@instructure/ui-react-utils": "8.13.0",
33
+ "@instructure/ui-testable": "8.13.0",
34
+ "@instructure/ui-view": "8.13.0",
35
35
  "prop-types": "^15"
36
36
  },
37
37
  "devDependencies": {
38
- "@instructure/ui-babel-preset": "8.12.1-snapshot.7+1e7ac8219",
39
- "@instructure/ui-test-locator": "8.12.1-snapshot.7+1e7ac8219",
40
- "@instructure/ui-test-utils": "8.12.1-snapshot.7+1e7ac8219"
38
+ "@instructure/ui-babel-preset": "8.13.0",
39
+ "@instructure/ui-test-locator": "8.13.0",
40
+ "@instructure/ui-test-utils": "8.13.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8 <=17"
@@ -45,6 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "sideEffects": false,
49
- "gitHead": "1e7ac821932a91fe9ef761c96f747c7ea1f3925a"
48
+ "sideEffects": false
50
49
  }
package/src/Img/README.md CHANGED
@@ -38,19 +38,19 @@ example: true
38
38
  <View textAlign="center" as="div">
39
39
  <Img
40
40
  src={placeholderImage(200, 200)}
41
- overlay={{color: '#008ee2', opacity: 9, blend: 'overlay'}}
41
+ overlay={{color: '#0374B5', opacity: 9, blend: 'overlay'}}
42
42
  alt="A placeholder image"
43
43
  margin="x-small"
44
44
  />
45
45
  <Img
46
46
  src={placeholderImage(200, 200)}
47
- overlay={{color: '#008ee2', opacity: 6, blend: 'multiply'}}
47
+ overlay={{color: '#0374B5', opacity: 6, blend: 'multiply'}}
48
48
  alt="A placeholder image"
49
49
  margin="x-small"
50
50
  />
51
51
  <Img
52
52
  src={placeholderImage(200, 200)}
53
- overlay={{color: '#008ee2', opacity: 3}}
53
+ overlay={{color: '#0374B5', opacity: 3}}
54
54
  alt="A placeholder image"
55
55
  margin="x-small"
56
56
  />
package/LICENSE.md DELETED
@@ -1,27 +0,0 @@
1
- ---
2
- title: The MIT License (MIT)
3
- category: Getting Started
4
- order: 9
5
- ---
6
-
7
- # The MIT License (MIT)
8
-
9
- Copyright (c) 2015 Instructure, Inc.
10
-
11
- **Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions.**
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.