@instructure/ui-source-code-editor 8.53.3-snapshot-3 → 8.53.3-snapshot-4
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 -1
- package/lib/SourceCodeEditor/SearchPanel.js +2 -1
- package/package.json +18 -18
- package/src/SourceCodeEditor/SearchPanel.tsx +2 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SourceCodeEditor/SearchPanel.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
|
-
## [8.53.3-snapshot-
|
|
6
|
+
## [8.53.3-snapshot-4](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-snapshot-4) (2024-02-19)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
@@ -99,7 +99,8 @@ export default function customSearch(searchConfig) {
|
|
|
99
99
|
const dom = document.createElement('div');
|
|
100
100
|
dom.style.padding = '8px';
|
|
101
101
|
if (!React.version.startsWith('16.')) {
|
|
102
|
-
|
|
102
|
+
const path = 'react-dom/client';
|
|
103
|
+
import(path).then(r => {
|
|
103
104
|
const root = r.createRoot(dom);
|
|
104
105
|
root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/React.createElement(SearchPanel, {
|
|
105
106
|
view: view,
|
|
@@ -109,7 +109,8 @@ function customSearch(searchConfig) {
|
|
|
109
109
|
const dom = document.createElement('div');
|
|
110
110
|
dom.style.padding = '8px';
|
|
111
111
|
if (!_react.default.version.startsWith('16.')) {
|
|
112
|
-
|
|
112
|
+
const path = 'react-dom/client';
|
|
113
|
+
(specifier => new Promise(r => r(`${specifier}`)).then(s => (0, _interopRequireWildcard2.default)(require(s))))(path).then(r => {
|
|
113
114
|
const root = r.createRoot(dom);
|
|
114
115
|
root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/_react.default.createElement(SearchPanel, {
|
|
115
116
|
view: view,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-source-code-editor",
|
|
3
|
-
"version": "8.53.3-snapshot-
|
|
3
|
+
"version": "8.53.3-snapshot-4",
|
|
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,9 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.53.3-snapshot-
|
|
27
|
-
"@instructure/ui-test-queries": "8.53.3-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "8.53.3-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "8.53.3-snapshot-4",
|
|
27
|
+
"@instructure/ui-test-queries": "8.53.3-snapshot-4",
|
|
28
|
+
"@instructure/ui-test-utils": "8.53.3-snapshot-4",
|
|
29
29
|
"@testing-library/jest-dom": "^6.1.4",
|
|
30
30
|
"@testing-library/react": "^14.0.0"
|
|
31
31
|
},
|
|
@@ -44,20 +44,20 @@
|
|
|
44
44
|
"@codemirror/search": "^6.5.4",
|
|
45
45
|
"@codemirror/state": "^6.3.0",
|
|
46
46
|
"@codemirror/view": "^6.21.3",
|
|
47
|
-
"@instructure/emotion": "8.53.3-snapshot-
|
|
48
|
-
"@instructure/shared-types": "8.53.3-snapshot-
|
|
49
|
-
"@instructure/ui-a11y-content": "8.53.3-snapshot-
|
|
50
|
-
"@instructure/ui-buttons": "8.53.3-snapshot-
|
|
51
|
-
"@instructure/ui-dom-utils": "8.53.3-snapshot-
|
|
52
|
-
"@instructure/ui-i18n": "8.53.3-snapshot-
|
|
53
|
-
"@instructure/ui-icons": "8.53.3-snapshot-
|
|
54
|
-
"@instructure/ui-prop-types": "8.53.3-snapshot-
|
|
55
|
-
"@instructure/ui-react-utils": "8.53.3-snapshot-
|
|
56
|
-
"@instructure/ui-test-locator": "8.53.3-snapshot-
|
|
57
|
-
"@instructure/ui-testable": "8.53.3-snapshot-
|
|
58
|
-
"@instructure/ui-text-input": "8.53.3-snapshot-
|
|
59
|
-
"@instructure/ui-themes": "8.53.3-snapshot-
|
|
60
|
-
"@instructure/ui-utils": "8.53.3-snapshot-
|
|
47
|
+
"@instructure/emotion": "8.53.3-snapshot-4",
|
|
48
|
+
"@instructure/shared-types": "8.53.3-snapshot-4",
|
|
49
|
+
"@instructure/ui-a11y-content": "8.53.3-snapshot-4",
|
|
50
|
+
"@instructure/ui-buttons": "8.53.3-snapshot-4",
|
|
51
|
+
"@instructure/ui-dom-utils": "8.53.3-snapshot-4",
|
|
52
|
+
"@instructure/ui-i18n": "8.53.3-snapshot-4",
|
|
53
|
+
"@instructure/ui-icons": "8.53.3-snapshot-4",
|
|
54
|
+
"@instructure/ui-prop-types": "8.53.3-snapshot-4",
|
|
55
|
+
"@instructure/ui-react-utils": "8.53.3-snapshot-4",
|
|
56
|
+
"@instructure/ui-test-locator": "8.53.3-snapshot-4",
|
|
57
|
+
"@instructure/ui-testable": "8.53.3-snapshot-4",
|
|
58
|
+
"@instructure/ui-text-input": "8.53.3-snapshot-4",
|
|
59
|
+
"@instructure/ui-themes": "8.53.3-snapshot-4",
|
|
60
|
+
"@instructure/ui-utils": "8.53.3-snapshot-4",
|
|
61
61
|
"@lezer/highlight": "1.1.6",
|
|
62
62
|
"prop-types": "^15.8.1"
|
|
63
63
|
},
|
|
@@ -140,7 +140,8 @@ export default function customSearch(searchConfig: SearchConfig | undefined) {
|
|
|
140
140
|
const dom = document.createElement('div')
|
|
141
141
|
dom.style.padding = '8px'
|
|
142
142
|
if (!React.version.startsWith('16.')) {
|
|
143
|
-
|
|
143
|
+
const path = 'react-dom/client'
|
|
144
|
+
import(path)
|
|
144
145
|
.then((r) => {
|
|
145
146
|
const root = r.createRoot(dom)
|
|
146
147
|
root.render(
|