@instructure/ui-source-code-editor 8.53.3-snapshot-4 → 8.53.3-snapshot-6

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
- ## [8.53.3-snapshot-4](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-snapshot-4) (2024-02-19)
6
+ ## [8.53.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v8.53.2...v8.53.3-snapshot-6) (2024-02-20)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -99,8 +99,7 @@ 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
- const path = 'react-dom/client';
103
- import(path).then(r => {
102
+ import( /* webpackIgnore: true */'react-dom/client').then(r => {
104
103
  const root = r.createRoot(dom);
105
104
  root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/React.createElement(SearchPanel, {
106
105
  view: view,
@@ -109,8 +109,7 @@ 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
- const path = 'react-dom/client';
113
- (specifier => new Promise(r => r(`${specifier}`)).then(s => (0, _interopRequireWildcard2.default)(require(s))))(path).then(r => {
112
+ Promise.resolve().then(() => (0, _interopRequireWildcard2.default)(require( /* webpackIgnore: true */'react-dom/client'))).then(r => {
114
113
  const root = r.createRoot(dom);
115
114
  root.render(_SearchPanel || (_SearchPanel = /*#__PURE__*/_react.default.createElement(SearchPanel, {
116
115
  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-4",
3
+ "version": "8.53.3-snapshot-6",
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-4",
27
- "@instructure/ui-test-queries": "8.53.3-snapshot-4",
28
- "@instructure/ui-test-utils": "8.53.3-snapshot-4",
26
+ "@instructure/ui-babel-preset": "8.53.3-snapshot-6",
27
+ "@instructure/ui-test-queries": "8.53.3-snapshot-6",
28
+ "@instructure/ui-test-utils": "8.53.3-snapshot-6",
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-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",
47
+ "@instructure/emotion": "8.53.3-snapshot-6",
48
+ "@instructure/shared-types": "8.53.3-snapshot-6",
49
+ "@instructure/ui-a11y-content": "8.53.3-snapshot-6",
50
+ "@instructure/ui-buttons": "8.53.3-snapshot-6",
51
+ "@instructure/ui-dom-utils": "8.53.3-snapshot-6",
52
+ "@instructure/ui-i18n": "8.53.3-snapshot-6",
53
+ "@instructure/ui-icons": "8.53.3-snapshot-6",
54
+ "@instructure/ui-prop-types": "8.53.3-snapshot-6",
55
+ "@instructure/ui-react-utils": "8.53.3-snapshot-6",
56
+ "@instructure/ui-test-locator": "8.53.3-snapshot-6",
57
+ "@instructure/ui-testable": "8.53.3-snapshot-6",
58
+ "@instructure/ui-text-input": "8.53.3-snapshot-6",
59
+ "@instructure/ui-themes": "8.53.3-snapshot-6",
60
+ "@instructure/ui-utils": "8.53.3-snapshot-6",
61
61
  "@lezer/highlight": "1.1.6",
62
62
  "prop-types": "^15.8.1"
63
63
  },
@@ -140,8 +140,7 @@ 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
- const path = 'react-dom/client'
144
- import(path)
143
+ import(/* webpackIgnore: true */ 'react-dom/client')
145
144
  .then((r) => {
146
145
  const root = r.createRoot(dom)
147
146
  root.render(