@instructure/ui-source-code-editor 10.2.3-snapshot-13 → 10.2.3-snapshot-15
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 +1 -1
- package/es/SourceCodeEditor/SearchPanel.js +2 -2
- package/lib/SourceCodeEditor/SearchPanel.js +2 -2
- package/package.json +30 -30
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SourceCodeEditor/SourceCodeEditorLocator.d.ts +75 -1
- package/types/SourceCodeEditor/SourceCodeEditorLocator.d.ts.map +1 -1
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
|
-
## [10.2.3-snapshot-
|
|
6
|
+
## [10.2.3-snapshot-15](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-15) (2024-10-03)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-source-code-editor
|
|
9
9
|
|
|
@@ -104,7 +104,7 @@ export default function customSearch(searchConfig) {
|
|
|
104
104
|
const reactVersionMajor = Number(React.version.split('.')[0]);
|
|
105
105
|
if (reactVersionMajor >= 18) {
|
|
106
106
|
// webpack tries to evaluate imports compile time which would lead to an error on older react versions
|
|
107
|
-
import(
|
|
107
|
+
import(/* webpackIgnore: true */'react-dom/client').then(r => {
|
|
108
108
|
const root = r.createRoot(dom);
|
|
109
109
|
root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/React.createElement(SearchPanel, {
|
|
110
110
|
view: view,
|
|
@@ -112,7 +112,7 @@ export default function customSearch(searchConfig) {
|
|
|
112
112
|
})));
|
|
113
113
|
}).catch(e => {});
|
|
114
114
|
} else {
|
|
115
|
-
ReactDOM.render(
|
|
115
|
+
ReactDOM.render(/*#__PURE__*/React.createElement(SearchPanel, {
|
|
116
116
|
view: view,
|
|
117
117
|
searchConfig: searchConfig
|
|
118
118
|
}), dom);
|
|
@@ -114,7 +114,7 @@ function customSearch(searchConfig) {
|
|
|
114
114
|
const reactVersionMajor = Number(_react.default.version.split('.')[0]);
|
|
115
115
|
if (reactVersionMajor >= 18) {
|
|
116
116
|
// webpack tries to evaluate imports compile time which would lead to an error on older react versions
|
|
117
|
-
Promise.resolve().then(() => (0, _interopRequireWildcard2.default)(require(
|
|
117
|
+
Promise.resolve().then(() => (0, _interopRequireWildcard2.default)(require(/* webpackIgnore: true */'react-dom/client'))).then(r => {
|
|
118
118
|
const root = r.createRoot(dom);
|
|
119
119
|
root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/_react.default.createElement(SearchPanel, {
|
|
120
120
|
view: view,
|
|
@@ -122,7 +122,7 @@ function customSearch(searchConfig) {
|
|
|
122
122
|
})));
|
|
123
123
|
}).catch(e => {});
|
|
124
124
|
} else {
|
|
125
|
-
_reactDom.default.render(
|
|
125
|
+
_reactDom.default.render(/*#__PURE__*/_react.default.createElement(SearchPanel, {
|
|
126
126
|
view: view,
|
|
127
127
|
searchConfig: searchConfig
|
|
128
128
|
}), dom);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-source-code-editor",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-15",
|
|
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,43 +23,43 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
27
|
-
"@instructure/ui-test-queries": "10.2.3-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "10.2.3-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-15",
|
|
27
|
+
"@instructure/ui-test-queries": "10.2.3-snapshot-15",
|
|
28
|
+
"@instructure/ui-test-utils": "10.2.3-snapshot-15",
|
|
29
29
|
"@testing-library/jest-dom": "^6.4.6",
|
|
30
|
-
"@testing-library/react": "^
|
|
31
|
-
"vitest": "^2.
|
|
30
|
+
"@testing-library/react": "^16.0.1",
|
|
31
|
+
"vitest": "^2.1.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.
|
|
35
|
-
"@codemirror/autocomplete": "^6.
|
|
36
|
-
"@codemirror/commands": "^6.
|
|
37
|
-
"@codemirror/lang-css": "^6.
|
|
34
|
+
"@babel/runtime": "^7.25.6",
|
|
35
|
+
"@codemirror/autocomplete": "^6.18.1",
|
|
36
|
+
"@codemirror/commands": "^6.6.2",
|
|
37
|
+
"@codemirror/lang-css": "^6.3.0",
|
|
38
38
|
"@codemirror/lang-html": "^6.4.9",
|
|
39
39
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
40
40
|
"@codemirror/lang-json": "^6.0.1",
|
|
41
|
-
"@codemirror/lang-markdown": "^6.
|
|
42
|
-
"@codemirror/language": "^6.10.
|
|
43
|
-
"@codemirror/legacy-modes": "^6.4.
|
|
44
|
-
"@codemirror/lint": "^6.
|
|
41
|
+
"@codemirror/lang-markdown": "^6.3.0",
|
|
42
|
+
"@codemirror/language": "^6.10.3",
|
|
43
|
+
"@codemirror/legacy-modes": "^6.4.1",
|
|
44
|
+
"@codemirror/lint": "^6.8.2",
|
|
45
45
|
"@codemirror/search": "^6.5.6",
|
|
46
46
|
"@codemirror/state": "^6.4.1",
|
|
47
|
-
"@codemirror/view": "^6.
|
|
48
|
-
"@instructure/emotion": "10.2.3-snapshot-
|
|
49
|
-
"@instructure/shared-types": "10.2.3-snapshot-
|
|
50
|
-
"@instructure/ui-a11y-content": "10.2.3-snapshot-
|
|
51
|
-
"@instructure/ui-buttons": "10.2.3-snapshot-
|
|
52
|
-
"@instructure/ui-dom-utils": "10.2.3-snapshot-
|
|
53
|
-
"@instructure/ui-i18n": "10.2.3-snapshot-
|
|
54
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
55
|
-
"@instructure/ui-prop-types": "10.2.3-snapshot-
|
|
56
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
57
|
-
"@instructure/ui-test-locator": "10.2.3-snapshot-
|
|
58
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
59
|
-
"@instructure/ui-text-input": "10.2.3-snapshot-
|
|
60
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
61
|
-
"@instructure/ui-utils": "10.2.3-snapshot-
|
|
62
|
-
"@lezer/highlight": "1.2.
|
|
47
|
+
"@codemirror/view": "^6.34.1",
|
|
48
|
+
"@instructure/emotion": "10.2.3-snapshot-15",
|
|
49
|
+
"@instructure/shared-types": "10.2.3-snapshot-15",
|
|
50
|
+
"@instructure/ui-a11y-content": "10.2.3-snapshot-15",
|
|
51
|
+
"@instructure/ui-buttons": "10.2.3-snapshot-15",
|
|
52
|
+
"@instructure/ui-dom-utils": "10.2.3-snapshot-15",
|
|
53
|
+
"@instructure/ui-i18n": "10.2.3-snapshot-15",
|
|
54
|
+
"@instructure/ui-icons": "10.2.3-snapshot-15",
|
|
55
|
+
"@instructure/ui-prop-types": "10.2.3-snapshot-15",
|
|
56
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-15",
|
|
57
|
+
"@instructure/ui-test-locator": "10.2.3-snapshot-15",
|
|
58
|
+
"@instructure/ui-testable": "10.2.3-snapshot-15",
|
|
59
|
+
"@instructure/ui-text-input": "10.2.3-snapshot-15",
|
|
60
|
+
"@instructure/ui-themes": "10.2.3-snapshot-15",
|
|
61
|
+
"@instructure/ui-utils": "10.2.3-snapshot-15",
|
|
62
|
+
"@lezer/highlight": "1.2.1",
|
|
63
63
|
"prop-types": "^15.8.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|