@instructure/ui-tree-browser 8.25.1-snapshot.0 → 8.26.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,10 @@
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.26.0](https://github.com/instructure/instructure-ui/compare/v8.25.0...v8.26.0) (2022-06-30)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-tree-browser
9
+
6
10
  # [8.25.0](https://github.com/instructure/instructure-ui/compare/v8.24.5...v8.25.0) (2022-06-03)
7
11
 
8
12
  **Note:** Version bump only for package @instructure/ui-tree-browser
@@ -118,8 +118,6 @@ let TreeButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec
118
118
  }
119
119
 
120
120
  renderItemImage() {
121
- var _Img;
122
-
123
121
  const _this$props4 = this.props,
124
122
  thumbnail = _this$props4.thumbnail,
125
123
  itemIcon = _this$props4.itemIcon,
@@ -128,11 +126,11 @@ let TreeButton = (_dec = withStyle(generateStyles, generateComponentTheme), _dec
128
126
  if (thumbnail) {
129
127
  return jsx("div", {
130
128
  css: styles === null || styles === void 0 ? void 0 : styles.thumbnail
131
- }, _Img || (_Img = jsx(Img, {
129
+ }, jsx(Img, {
132
130
  src: thumbnail,
133
131
  constrain: "cover",
134
132
  alt: ""
135
- })));
133
+ }));
136
134
  }
137
135
 
138
136
  if (itemIcon) {
@@ -72,8 +72,6 @@ let TreeNode = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2
72
72
  }
73
73
 
74
74
  renderItemImage() {
75
- var _Img;
76
-
77
75
  const _this$props3 = this.props,
78
76
  thumbnail = _this$props3.thumbnail,
79
77
  itemIcon = _this$props3.itemIcon,
@@ -82,11 +80,11 @@ let TreeNode = (_dec = withStyle(generateStyles, generateComponentTheme), _dec2
82
80
  if (thumbnail) {
83
81
  return jsx("div", {
84
82
  css: styles === null || styles === void 0 ? void 0 : styles.thumbnail
85
- }, _Img || (_Img = jsx(Img, {
83
+ }, jsx(Img, {
86
84
  src: thumbnail,
87
85
  constrain: "cover",
88
86
  alt: ""
89
- })));
87
+ }));
90
88
  }
91
89
 
92
90
  if (itemIcon) {
@@ -11,7 +11,7 @@ var _react = require("react");
11
11
 
12
12
  var _testable = require("@instructure/ui-testable/lib/testable.js");
13
13
 
14
- var _Img2 = require("@instructure/ui-img/lib/Img");
14
+ var _Img = require("@instructure/ui-img/lib/Img");
15
15
 
16
16
  var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
17
17
 
@@ -110,8 +110,6 @@ let TreeButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
110
110
  }
111
111
 
112
112
  renderItemImage() {
113
- var _Img;
114
-
115
113
  const _this$props4 = this.props,
116
114
  thumbnail = _this$props4.thumbnail,
117
115
  itemIcon = _this$props4.itemIcon,
@@ -120,11 +118,11 @@ let TreeButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
120
118
  if (thumbnail) {
121
119
  return (0, _emotion.jsx)("div", {
122
120
  css: styles === null || styles === void 0 ? void 0 : styles.thumbnail
123
- }, _Img || (_Img = (0, _emotion.jsx)(_Img2.Img, {
121
+ }, (0, _emotion.jsx)(_Img.Img, {
124
122
  src: thumbnail,
125
123
  constrain: "cover",
126
124
  alt: ""
127
- })));
125
+ }));
128
126
  }
129
127
 
130
128
  if (itemIcon) {
@@ -9,7 +9,7 @@ exports.default = exports.TreeNode = void 0;
9
9
 
10
10
  var _react = require("react");
11
11
 
12
- var _Img2 = require("@instructure/ui-img/lib/Img");
12
+ var _Img = require("@instructure/ui-img/lib/Img");
13
13
 
14
14
  var _callRenderProp = require("@instructure/ui-react-utils/lib/callRenderProp.js");
15
15
 
@@ -63,8 +63,6 @@ let TreeNode = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default),
63
63
  }
64
64
 
65
65
  renderItemImage() {
66
- var _Img;
67
-
68
66
  const _this$props3 = this.props,
69
67
  thumbnail = _this$props3.thumbnail,
70
68
  itemIcon = _this$props3.itemIcon,
@@ -73,11 +71,11 @@ let TreeNode = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default),
73
71
  if (thumbnail) {
74
72
  return (0, _emotion.jsx)("div", {
75
73
  css: styles === null || styles === void 0 ? void 0 : styles.thumbnail
76
- }, _Img || (_Img = (0, _emotion.jsx)(_Img2.Img, {
74
+ }, (0, _emotion.jsx)(_Img.Img, {
77
75
  src: thumbnail,
78
76
  constrain: "cover",
79
77
  alt: ""
80
- })));
78
+ }));
81
79
  }
82
80
 
83
81
  if (itemIcon) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-tree-browser",
3
- "version": "8.25.1-snapshot.0+59b6babce",
3
+ "version": "8.26.0",
4
4
  "description": "A component for displaying a hierarchical view of information",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,22 +23,22 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.25.1-snapshot.0+59b6babce",
27
- "@instructure/ui-color-utils": "8.25.1-snapshot.0+59b6babce",
28
- "@instructure/ui-test-locator": "8.25.1-snapshot.0+59b6babce",
29
- "@instructure/ui-test-utils": "8.25.1-snapshot.0+59b6babce",
30
- "@instructure/ui-themes": "8.25.1-snapshot.0+59b6babce"
26
+ "@instructure/ui-babel-preset": "8.26.0",
27
+ "@instructure/ui-color-utils": "8.26.0",
28
+ "@instructure/ui-test-locator": "8.26.0",
29
+ "@instructure/ui-test-utils": "8.26.0",
30
+ "@instructure/ui-themes": "8.26.0"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/emotion": "8.25.1-snapshot.0+59b6babce",
35
- "@instructure/shared-types": "8.25.1-snapshot.0+59b6babce",
36
- "@instructure/ui-icons": "8.25.1-snapshot.0+59b6babce",
37
- "@instructure/ui-img": "8.25.1-snapshot.0+59b6babce",
38
- "@instructure/ui-prop-types": "8.25.1-snapshot.0+59b6babce",
39
- "@instructure/ui-react-utils": "8.25.1-snapshot.0+59b6babce",
40
- "@instructure/ui-testable": "8.25.1-snapshot.0+59b6babce",
41
- "@instructure/ui-utils": "8.25.1-snapshot.0+59b6babce",
34
+ "@instructure/emotion": "8.26.0",
35
+ "@instructure/shared-types": "8.26.0",
36
+ "@instructure/ui-icons": "8.26.0",
37
+ "@instructure/ui-img": "8.26.0",
38
+ "@instructure/ui-prop-types": "8.26.0",
39
+ "@instructure/ui-react-utils": "8.26.0",
40
+ "@instructure/ui-testable": "8.26.0",
41
+ "@instructure/ui-utils": "8.26.0",
42
42
  "keycode": "^2",
43
43
  "prop-types": "^15"
44
44
  },
@@ -48,6 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "sideEffects": false,
52
- "gitHead": "59b6babce07a9242111475156f544ec11c1a9283"
51
+ "sideEffects": false
53
52
  }