@instructure/ui-source-code-editor 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-source-code-editor
9
9
 
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
2
  const _excluded = ["label", "styles"];
3
- var _dec, _dec2, _dec3, _dec4, _class, _class2;
3
+ var _dec, _dec2, _dec3, _dec4, _class, _SourceCodeEditor;
4
4
  /*
5
5
  * The MIT License (MIT)
6
6
  *
@@ -60,7 +60,7 @@ import { propTypes, allowedProps } from './props';
60
60
  category: components
61
61
  ---
62
62
  **/
63
- let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = textDirectionContextConsumer(), _dec4 = testable(), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = class SourceCodeEditor extends Component {
63
+ let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = textDirectionContextConsumer(), _dec4 = testable(), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_SourceCodeEditor = class SourceCodeEditor extends Component {
64
64
  addAnimationFrame(callback) {
65
65
  if (typeof callback === 'function') {
66
66
  this._raf.push(requestAnimationFrame(callback));
@@ -493,7 +493,7 @@ let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generate
493
493
  css: styles === null || styles === void 0 ? void 0 : styles.codeEditorContainer
494
494
  })));
495
495
  }
496
- }, _class2.displayName = "SourceCodeEditor", _class2.componentId = 'SourceCodeEditor', _class2.propTypes = propTypes, _class2.allowedProps = allowedProps, _class2.defaultProps = {
496
+ }, _SourceCodeEditor.displayName = "SourceCodeEditor", _SourceCodeEditor.componentId = 'SourceCodeEditor', _SourceCodeEditor.propTypes = propTypes, _SourceCodeEditor.allowedProps = allowedProps, _SourceCodeEditor.defaultProps = {
497
497
  language: 'jsx',
498
498
  readOnly: false,
499
499
  editable: true,
@@ -509,6 +509,6 @@ let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generate
509
509
  indentWithTab: false,
510
510
  defaultValue: '',
511
511
  height: 'auto'
512
- }, _class2)) || _class) || _class) || _class) || _class);
512
+ }, _SourceCodeEditor)) || _class) || _class) || _class) || _class);
513
513
  export default SourceCodeEditor;
514
514
  export { SourceCodeEditor };
@@ -36,7 +36,7 @@ var _theme = _interopRequireDefault(require("./theme"));
36
36
  var _customKeybinding = require("./customKeybinding");
37
37
  var _props = require("./props");
38
38
  const _excluded = ["label", "styles"];
39
- var _dec, _dec2, _dec3, _dec4, _class, _class2;
39
+ var _dec, _dec2, _dec3, _dec4, _class, _SourceCodeEditor;
40
40
  /*
41
41
  * The MIT License (MIT)
42
42
  *
@@ -67,7 +67,7 @@ var _dec, _dec2, _dec3, _dec4, _class, _class2;
67
67
  category: components
68
68
  ---
69
69
  **/
70
- let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec4 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_class2 = class SourceCodeEditor extends _react.Component {
70
+ let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec4 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = _dec4(_class = (_SourceCodeEditor = class SourceCodeEditor extends _react.Component {
71
71
  addAnimationFrame(callback) {
72
72
  if (typeof callback === 'function') {
73
73
  this._raf.push((0, _requestAnimationFrame.requestAnimationFrame)(callback));
@@ -500,7 +500,7 @@ let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministic
500
500
  css: styles === null || styles === void 0 ? void 0 : styles.codeEditorContainer
501
501
  })));
502
502
  }
503
- }, _class2.displayName = "SourceCodeEditor", _class2.componentId = 'SourceCodeEditor', _class2.propTypes = _props.propTypes, _class2.allowedProps = _props.allowedProps, _class2.defaultProps = {
503
+ }, _SourceCodeEditor.displayName = "SourceCodeEditor", _SourceCodeEditor.componentId = 'SourceCodeEditor', _SourceCodeEditor.propTypes = _props.propTypes, _SourceCodeEditor.allowedProps = _props.allowedProps, _SourceCodeEditor.defaultProps = {
504
504
  language: 'jsx',
505
505
  readOnly: false,
506
506
  editable: true,
@@ -516,5 +516,5 @@ let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministic
516
516
  indentWithTab: false,
517
517
  defaultValue: '',
518
518
  height: 'auto'
519
- }, _class2)) || _class) || _class) || _class) || _class);
519
+ }, _SourceCodeEditor)) || _class) || _class) || _class) || _class);
520
520
  var _default = exports.default = SourceCodeEditor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-source-code-editor",
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,42 +23,42 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "9.0.2-snapshot-2",
27
- "@instructure/ui-test-queries": "9.0.2-snapshot-2",
28
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
29
- "@testing-library/jest-dom": "^6.1.4",
30
- "@testing-library/react": "^14.1.2"
26
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-3",
27
+ "@instructure/ui-test-queries": "9.0.2-snapshot-3",
28
+ "@instructure/ui-test-utils": "9.0.2-snapshot-3",
29
+ "@testing-library/jest-dom": "^6.4.5",
30
+ "@testing-library/react": "^15.0.7"
31
31
  },
32
32
  "dependencies": {
33
- "@babel/runtime": "^7.23.2",
34
- "@codemirror/autocomplete": "^6.10.2",
35
- "@codemirror/commands": "^6.3.0",
33
+ "@babel/runtime": "^7.24.5",
34
+ "@codemirror/autocomplete": "^6.16.0",
35
+ "@codemirror/commands": "^6.5.0",
36
36
  "@codemirror/lang-css": "^6.2.1",
37
- "@codemirror/lang-html": "^6.4.6",
38
- "@codemirror/lang-javascript": "^6.2.1",
37
+ "@codemirror/lang-html": "^6.4.9",
38
+ "@codemirror/lang-javascript": "^6.2.2",
39
39
  "@codemirror/lang-json": "^6.0.1",
40
- "@codemirror/lang-markdown": "^6.2.2",
41
- "@codemirror/language": "^6.9.1",
42
- "@codemirror/legacy-modes": "^6.3.3",
43
- "@codemirror/lint": "^6.4.2",
44
- "@codemirror/search": "^6.5.4",
45
- "@codemirror/state": "^6.3.0",
46
- "@codemirror/view": "^6.21.3",
47
- "@instructure/emotion": "9.0.2-snapshot-2",
48
- "@instructure/shared-types": "9.0.2-snapshot-2",
49
- "@instructure/ui-a11y-content": "9.0.2-snapshot-2",
50
- "@instructure/ui-buttons": "9.0.2-snapshot-2",
51
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
52
- "@instructure/ui-i18n": "9.0.2-snapshot-2",
53
- "@instructure/ui-icons": "9.0.2-snapshot-2",
54
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
55
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
56
- "@instructure/ui-test-locator": "9.0.2-snapshot-2",
57
- "@instructure/ui-testable": "9.0.2-snapshot-2",
58
- "@instructure/ui-text-input": "9.0.2-snapshot-2",
59
- "@instructure/ui-themes": "9.0.2-snapshot-2",
60
- "@instructure/ui-utils": "9.0.2-snapshot-2",
61
- "@lezer/highlight": "1.1.6",
40
+ "@codemirror/lang-markdown": "^6.2.5",
41
+ "@codemirror/language": "^6.10.1",
42
+ "@codemirror/legacy-modes": "^6.4.0",
43
+ "@codemirror/lint": "^6.7.1",
44
+ "@codemirror/search": "^6.5.6",
45
+ "@codemirror/state": "^6.4.1",
46
+ "@codemirror/view": "^6.26.3",
47
+ "@instructure/emotion": "9.0.2-snapshot-3",
48
+ "@instructure/shared-types": "9.0.2-snapshot-3",
49
+ "@instructure/ui-a11y-content": "9.0.2-snapshot-3",
50
+ "@instructure/ui-buttons": "9.0.2-snapshot-3",
51
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-3",
52
+ "@instructure/ui-i18n": "9.0.2-snapshot-3",
53
+ "@instructure/ui-icons": "9.0.2-snapshot-3",
54
+ "@instructure/ui-prop-types": "9.0.2-snapshot-3",
55
+ "@instructure/ui-react-utils": "9.0.2-snapshot-3",
56
+ "@instructure/ui-test-locator": "9.0.2-snapshot-3",
57
+ "@instructure/ui-testable": "9.0.2-snapshot-3",
58
+ "@instructure/ui-text-input": "9.0.2-snapshot-3",
59
+ "@instructure/ui-themes": "9.0.2-snapshot-3",
60
+ "@instructure/ui-utils": "9.0.2-snapshot-3",
61
+ "@lezer/highlight": "1.2.0",
62
62
  "prop-types": "^15.8.1"
63
63
  },
64
64
  "peerDependencies": {