@instructure/ui-source-code-editor 11.7.3-snapshot-3 → 11.7.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
- ## [11.7.3-snapshot-3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-3) (2026-04-28)
6
+ ## [11.7.3-snapshot-6](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3-snapshot-6) (2026-04-29)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-source-code-editor
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-source-code-editor",
3
- "version": "11.7.3-snapshot-3",
3
+ "version": "11.7.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",
@@ -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/emotion": "11.7.3-snapshot-3",
33
- "@instructure/shared-types": "11.7.3-snapshot-3",
34
- "@instructure/ui-buttons": "11.7.3-snapshot-3",
35
- "@instructure/ui-dom-utils": "11.7.3-snapshot-3",
36
- "@instructure/ui-a11y-content": "11.7.3-snapshot-3",
37
- "@instructure/ui-i18n": "11.7.3-snapshot-3",
38
- "@instructure/ui-icons": "11.7.3-snapshot-3",
39
- "@instructure/ui-react-utils": "11.7.3-snapshot-3",
40
- "@instructure/ui-themes": "11.7.3-snapshot-3",
41
- "@instructure/ui-text-input": "11.7.3-snapshot-3",
42
- "@instructure/ui-utils": "11.7.3-snapshot-3"
32
+ "@instructure/emotion": "11.7.3-snapshot-6",
33
+ "@instructure/shared-types": "11.7.3-snapshot-6",
34
+ "@instructure/ui-buttons": "11.7.3-snapshot-6",
35
+ "@instructure/ui-dom-utils": "11.7.3-snapshot-6",
36
+ "@instructure/ui-a11y-content": "11.7.3-snapshot-6",
37
+ "@instructure/ui-i18n": "11.7.3-snapshot-6",
38
+ "@instructure/ui-icons": "11.7.3-snapshot-6",
39
+ "@instructure/ui-text-input": "11.7.3-snapshot-6",
40
+ "@instructure/ui-react-utils": "11.7.3-snapshot-6",
41
+ "@instructure/ui-themes": "11.7.3-snapshot-6",
42
+ "@instructure/ui-utils": "11.7.3-snapshot-6"
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-3"
49
+ "@instructure/ui-babel-preset": "11.7.3-snapshot-6"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "react": ">=18 <=19",
@@ -24,15 +24,13 @@
24
24
 
25
25
  import type { TagStyle } from '@codemirror/language'
26
26
 
27
- import type {
28
- CodeEditorTheme,
29
- OtherHTMLAttributes
30
- } from '@instructure/shared-types'
27
+ import type { OtherHTMLAttributes } from '@instructure/shared-types'
31
28
  import type {
32
29
  WithStyleProps,
33
30
  StyleObject,
34
31
  ComponentStyle
35
32
  } from '@instructure/emotion'
33
+ import type { NewComponentTypes } from '@instructure/ui-themes'
36
34
  import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
37
35
  import type { TextDirectionContextConsumerProps } from '@instructure/ui-i18n'
38
36
  import type { SearchConfig } from './SearchPanel'
@@ -213,7 +211,7 @@ type AllowedPropKeys = Readonly<Array<PropKeys>>
213
211
 
214
212
  type SourceCodeEditorProps = SourceCodeEditorOwnProps &
215
213
  WithStyleProps<
216
- CodeEditorTheme,
214
+ ReturnType<NewComponentTypes['SourceCodeEditor']>,
217
215
  // The highlightStyle is a unique one, not compatible with our style syntax,
218
216
  // but isn't used for the css prop anyway
219
217
  Record<keyof SourceCodeEditorStyle, any>