@instructure/ui-editable 9.0.2-snapshot-2 → 9.0.2-snapshot-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.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
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
- ## [9.0.2-snapshot-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-editable
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _class, _class2;
1
+ var _dec, _class, _InPlaceEdit;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -40,7 +40,7 @@ import { propTypes, allowedProps } from './props';
40
40
  category: components
41
41
  ---
42
42
  **/
43
- let InPlaceEdit = (_dec = withStyle(generateStyle, null), _dec(_class = (_class2 = class InPlaceEdit extends Component {
43
+ let InPlaceEdit = (_dec = withStyle(generateStyle, null), _dec(_class = (_InPlaceEdit = class InPlaceEdit extends Component {
44
44
  constructor(props) {
45
45
  super(props);
46
46
  this.ref = null;
@@ -141,12 +141,12 @@ let InPlaceEdit = (_dec = withStyle(generateStyle, null), _dec(_class = (_class2
141
141
  elementRef: this.handleRef
142
142
  });
143
143
  }
144
- }, _class2.displayName = "InPlaceEdit", _class2.componentId = 'InPlaceEdit', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
144
+ }, _InPlaceEdit.displayName = "InPlaceEdit", _InPlaceEdit.componentId = 'InPlaceEdit', _InPlaceEdit.propTypes = propTypes, _InPlaceEdit.allowedProps = allowedProps, _InPlaceEdit.defaultProps = {
145
145
  readOnly: false,
146
146
  showFocusRing: true,
147
147
  inline: true,
148
148
  editButtonPlacement: 'end'
149
- }, _class2.renderDefaultEditButton = ({
149
+ }, _InPlaceEdit.renderDefaultEditButton = ({
150
150
  isVisible,
151
151
  readOnly,
152
152
  label,
@@ -161,6 +161,6 @@ let InPlaceEdit = (_dec = withStyle(generateStyle, null), _dec(_class = (_class2
161
161
  withBackground: false,
162
162
  withBorder: false
163
163
  }, buttonProps), isVisible ? IconEditLine : null);
164
- }, _class2)) || _class);
164
+ }, _InPlaceEdit)) || _class);
165
165
  export default InPlaceEdit;
166
166
  export { InPlaceEdit };
@@ -16,7 +16,7 @@ var _View = require("@instructure/ui-view/lib/View");
16
16
  var _Editable = require("../Editable");
17
17
  var _styles = _interopRequireDefault(require("./styles"));
18
18
  var _props = require("./props");
19
- var _dec, _class, _class2;
19
+ var _dec, _class, _InPlaceEdit;
20
20
  /*
21
21
  * The MIT License (MIT)
22
22
  *
@@ -46,7 +46,7 @@ var _dec, _class, _class2;
46
46
  category: components
47
47
  ---
48
48
  **/
49
- let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_class2 = class InPlaceEdit extends _react.Component {
49
+ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_InPlaceEdit = class InPlaceEdit extends _react.Component {
50
50
  constructor(props) {
51
51
  super(props);
52
52
  this.ref = null;
@@ -147,12 +147,12 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
147
147
  elementRef: this.handleRef
148
148
  });
149
149
  }
150
- }, _class2.displayName = "InPlaceEdit", _class2.componentId = 'InPlaceEdit', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
150
+ }, _InPlaceEdit.displayName = "InPlaceEdit", _InPlaceEdit.componentId = 'InPlaceEdit', _InPlaceEdit.propTypes = _props.propTypes, _InPlaceEdit.allowedProps = _props.allowedProps, _InPlaceEdit.defaultProps = {
151
151
  readOnly: false,
152
152
  showFocusRing: true,
153
153
  inline: true,
154
154
  editButtonPlacement: 'end'
155
- }, _class2.renderDefaultEditButton = ({
155
+ }, _InPlaceEdit.renderDefaultEditButton = ({
156
156
  isVisible,
157
157
  readOnly,
158
158
  label,
@@ -167,5 +167,5 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
167
167
  withBackground: false,
168
168
  withBorder: false
169
169
  }, buttonProps), isVisible ? _IconEditLine.IconEditLine : null);
170
- }, _class2)) || _class);
170
+ }, _InPlaceEdit)) || _class);
171
171
  var _default = exports.default = InPlaceEdit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-editable",
3
- "version": "9.0.2-snapshot-2",
3
+ "version": "9.0.2-snapshot-3",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,24 +23,24 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "9.0.2-snapshot-2",
27
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
28
- "@testing-library/jest-dom": "^6.1.4",
29
- "@testing-library/react": "^14.1.2",
30
- "@testing-library/user-event": "^14.5.1"
26
+ "@instructure/ui-axe-check": "9.0.2-snapshot-3",
27
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-3",
28
+ "@testing-library/jest-dom": "^6.4.5",
29
+ "@testing-library/react": "^15.0.7",
30
+ "@testing-library/user-event": "^14.5.2"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/runtime": "^7.23.2",
34
- "@instructure/console": "9.0.2-snapshot-2",
35
- "@instructure/emotion": "9.0.2-snapshot-2",
36
- "@instructure/ui-a11y-content": "9.0.2-snapshot-2",
37
- "@instructure/ui-buttons": "9.0.2-snapshot-2",
38
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
39
- "@instructure/ui-flex": "9.0.2-snapshot-2",
40
- "@instructure/ui-focusable": "9.0.2-snapshot-2",
41
- "@instructure/ui-icons": "9.0.2-snapshot-2",
42
- "@instructure/ui-utils": "9.0.2-snapshot-2",
43
- "@instructure/ui-view": "9.0.2-snapshot-2",
33
+ "@babel/runtime": "^7.24.5",
34
+ "@instructure/console": "9.0.2-snapshot-3",
35
+ "@instructure/emotion": "9.0.2-snapshot-3",
36
+ "@instructure/ui-a11y-content": "9.0.2-snapshot-3",
37
+ "@instructure/ui-buttons": "9.0.2-snapshot-3",
38
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-3",
39
+ "@instructure/ui-flex": "9.0.2-snapshot-3",
40
+ "@instructure/ui-focusable": "9.0.2-snapshot-3",
41
+ "@instructure/ui-icons": "9.0.2-snapshot-3",
42
+ "@instructure/ui-utils": "9.0.2-snapshot-3",
43
+ "@instructure/ui-view": "9.0.2-snapshot-3",
44
44
  "prop-types": "^15.8.1"
45
45
  },
46
46
  "peerDependencies": {