@instructure/ui-source-code-editor 11.7.3-snapshot-32 → 11.7.3-snapshot-37

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
- ## [11.7.3-snapshot-32](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-32) (2026-05-07)
6
+ ## [11.7.3-snapshot-37](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-37) (2026-05-07)
7
7
 
8
8
 
9
9
  ### Bug Fixes
@@ -45,7 +45,7 @@ import { omitProps, passthroughProps, withDeterministicId } from '@instructure/u
45
45
  import { requestAnimationFrame } from '@instructure/ui-dom-utils';
46
46
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
47
47
  import { textDirectionContextConsumer } from '@instructure/ui-i18n';
48
- import { withStyleLegacy as withStyle } from '@instructure/emotion';
48
+ import { withStyle } from '@instructure/emotion';
49
49
  import customSearch from "./SearchPanel.js";
50
50
  import generateStyle from "./styles.js";
51
51
  import generateComponentTheme from "./theme.js";
@@ -45,7 +45,7 @@ import { omitProps, passthroughProps, withDeterministicId } from '@instructure/u
45
45
  import { requestAnimationFrame } from '@instructure/ui-dom-utils';
46
46
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
47
47
  import { textDirectionContextConsumer } from '@instructure/ui-i18n';
48
- import { withStyle } from '@instructure/emotion';
48
+ import { withStyleNew } from '@instructure/emotion';
49
49
  import customSearch from "./SearchPanel.js";
50
50
  import generateStyle from "./styles.js";
51
51
  import { rtlHorizontalArrowKeymap } from "./customKeybinding.js";
@@ -56,7 +56,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
56
56
  category: components
57
57
  ---
58
58
  **/
59
- let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle), _dec3 = textDirectionContextConsumer(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends Component {
59
+ let SourceCodeEditor = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec3 = textDirectionContextConsumer(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends Component {
60
60
  static displayName = "SourceCodeEditor";
61
61
  static componentId = 'SourceCodeEditor';
62
62
  static allowedProps = allowedProps;
@@ -64,7 +64,7 @@ var _dec, _dec2, _dec3, _class;
64
64
  category: components
65
65
  ---
66
66
  **/
67
- let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleLegacy)(_styles.default, _theme.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
67
+ let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
68
68
  static displayName = "SourceCodeEditor";
69
69
  static componentId = 'SourceCodeEditor';
70
70
  static allowedProps = _props.allowedProps;
@@ -63,7 +63,7 @@ var _dec, _dec2, _dec3, _class;
63
63
  category: components
64
64
  ---
65
65
  **/
66
- let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
66
+ let SourceCodeEditor = exports.SourceCodeEditor = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec3 = (0, _textDirectionContextConsumer.textDirectionContextConsumer)(), _dec(_class = _dec2(_class = _dec3(_class = class SourceCodeEditor extends _react.Component {
67
67
  static displayName = "SourceCodeEditor";
68
68
  static componentId = 'SourceCodeEditor';
69
69
  static allowedProps = _props.allowedProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-source-code-editor",
3
- "version": "11.7.3-snapshot-32",
3
+ "version": "11.7.3-snapshot-37",
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",
@@ -29,24 +29,24 @@
29
29
  "@codemirror/state": "^6.4.1",
30
30
  "@codemirror/view": "^6.34.1",
31
31
  "@lezer/highlight": "1.2.1",
32
- "@instructure/shared-types": "11.7.3-snapshot-32",
33
- "@instructure/ui-a11y-content": "11.7.3-snapshot-32",
34
- "@instructure/ui-dom-utils": "11.7.3-snapshot-32",
35
- "@instructure/ui-buttons": "11.7.3-snapshot-32",
36
- "@instructure/emotion": "11.7.3-snapshot-32",
37
- "@instructure/ui-i18n": "11.7.3-snapshot-32",
38
- "@instructure/ui-icons": "11.7.3-snapshot-32",
39
- "@instructure/ui-react-utils": "11.7.3-snapshot-32",
40
- "@instructure/ui-text-input": "11.7.3-snapshot-32",
41
- "@instructure/ui-themes": "11.7.3-snapshot-32",
42
- "@instructure/ui-utils": "11.7.3-snapshot-32"
32
+ "@instructure/emotion": "11.7.3-snapshot-37",
33
+ "@instructure/shared-types": "11.7.3-snapshot-37",
34
+ "@instructure/ui-a11y-content": "11.7.3-snapshot-37",
35
+ "@instructure/ui-buttons": "11.7.3-snapshot-37",
36
+ "@instructure/ui-dom-utils": "11.7.3-snapshot-37",
37
+ "@instructure/ui-icons": "11.7.3-snapshot-37",
38
+ "@instructure/ui-text-input": "11.7.3-snapshot-37",
39
+ "@instructure/ui-react-utils": "11.7.3-snapshot-37",
40
+ "@instructure/ui-i18n": "11.7.3-snapshot-37",
41
+ "@instructure/ui-utils": "11.7.3-snapshot-37",
42
+ "@instructure/ui-themes": "11.7.3-snapshot-37"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@testing-library/jest-dom": "^6.6.3",
46
46
  "@testing-library/react": "15.0.7",
47
47
  "@testing-library/user-event": "^14.6.1",
48
48
  "vitest": "^3.2.2",
49
- "@instructure/ui-babel-preset": "11.7.3-snapshot-32"
49
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-37"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18 <=19",
@@ -87,7 +87,7 @@ import type { RequestAnimationFrameType } from '@instructure/ui-dom-utils'
87
87
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
88
88
  import { textDirectionContextConsumer } from '@instructure/ui-i18n'
89
89
 
90
- import { withStyleLegacy as withStyle } from '@instructure/emotion'
90
+ import { withStyle } from '@instructure/emotion'
91
91
 
92
92
  import customSearch from './SearchPanel'
93
93
 
@@ -87,7 +87,7 @@ import type { RequestAnimationFrameType } from '@instructure/ui-dom-utils'
87
87
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
88
88
  import { textDirectionContextConsumer } from '@instructure/ui-i18n'
89
89
 
90
- import { withStyle } from '@instructure/emotion'
90
+ import { withStyleNew } from '@instructure/emotion'
91
91
 
92
92
  import customSearch from './SearchPanel'
93
93
 
@@ -104,7 +104,7 @@ category: components
104
104
  ---
105
105
  **/
106
106
  @withDeterministicId()
107
- @withStyle(generateStyle)
107
+ @withStyleNew(generateStyle)
108
108
  @textDirectionContextConsumer()
109
109
  class SourceCodeEditor extends Component<SourceCodeEditorProps> {
110
110
  static readonly componentId = 'SourceCodeEditor'