@instructure/ui-source-code-editor 11.7.4-snapshot-129 → 11.7.4-snapshot-132
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/package.json +13 -13
- package/src/SourceCodeEditor/v2/README.md +10 -10
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.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-132](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-132) (2026-07-23)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-source-code-editor",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-132",
|
|
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.3",
|
|
32
|
-
"@instructure/
|
|
33
|
-
"@instructure/
|
|
34
|
-
"@instructure/ui-
|
|
35
|
-
"@instructure/
|
|
36
|
-
"@instructure/ui-dom-utils": "11.7.4-snapshot-
|
|
37
|
-
"@instructure/ui-
|
|
38
|
-
"@instructure/ui-
|
|
39
|
-
"@instructure/ui-
|
|
40
|
-
"@instructure/ui-
|
|
41
|
-
"@instructure/ui-utils": "11.7.4-snapshot-
|
|
42
|
-
"@instructure/ui-
|
|
32
|
+
"@instructure/emotion": "11.7.4-snapshot-132",
|
|
33
|
+
"@instructure/shared-types": "11.7.4-snapshot-132",
|
|
34
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-132",
|
|
35
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-132",
|
|
36
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-132",
|
|
37
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-132",
|
|
38
|
+
"@instructure/ui-icons": "11.7.4-snapshot-132",
|
|
39
|
+
"@instructure/ui-text-input": "11.7.4-snapshot-132",
|
|
40
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-132",
|
|
41
|
+
"@instructure/ui-utils": "11.7.4-snapshot-132",
|
|
42
|
+
"@instructure/ui-themes": "11.7.4-snapshot-132"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@testing-library/jest-dom": "^6.9.1",
|
|
46
46
|
"@testing-library/react": "16.3.2",
|
|
47
47
|
"@testing-library/user-event": "^14.6.1",
|
|
48
48
|
"vitest": "^4.1.9",
|
|
49
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-
|
|
49
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-132"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18 <=19",
|
|
@@ -204,7 +204,7 @@ type: example
|
|
|
204
204
|
</RadioInputGroup>
|
|
205
205
|
</Flex.Item>
|
|
206
206
|
|
|
207
|
-
<Flex.Item padding="0 0 0
|
|
207
|
+
<Flex.Item padding="0 0 0 general.space2xl" shouldGrow shouldShrink>
|
|
208
208
|
<FormField label="SourceCodeEditor with syntax highlight">
|
|
209
209
|
<SourceCodeEditor
|
|
210
210
|
label={`${currentLanguage} SourceCodeEditor with syntax highlight`}
|
|
@@ -249,7 +249,7 @@ type: example
|
|
|
249
249
|
return (
|
|
250
250
|
<View display="block" background="primary">
|
|
251
251
|
<Flex alignItems="start">
|
|
252
|
-
<Flex.Item shouldGrow shouldShrink padding="0
|
|
252
|
+
<Flex.Item shouldGrow shouldShrink padding="0 general.space2xl 0 0">
|
|
253
253
|
<FormField
|
|
254
254
|
label="Controlled code editor"
|
|
255
255
|
id="controlledCodeEditor"
|
|
@@ -273,7 +273,7 @@ type: example
|
|
|
273
273
|
/>
|
|
274
274
|
</FormField>
|
|
275
275
|
</Flex.Item>
|
|
276
|
-
<Flex.Item size="50%" padding="0 0 0
|
|
276
|
+
<Flex.Item size="50%" padding="0 0 0 general.space2xl">
|
|
277
277
|
<FormFieldGroup
|
|
278
278
|
description="Set value from the outside"
|
|
279
279
|
name="setValue"
|
|
@@ -322,7 +322,7 @@ type: example
|
|
|
322
322
|
})
|
|
323
323
|
|
|
324
324
|
return (
|
|
325
|
-
<View display="block" padding="
|
|
325
|
+
<View display="block" padding="general.spaceXl general.spaceXl general.spaceMd" background="primary">
|
|
326
326
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
327
327
|
<FormFieldGroup description="Settings" rowSpacing="small">
|
|
328
328
|
{Object.keys(settings).map((prop) => (
|
|
@@ -375,7 +375,7 @@ type: example
|
|
|
375
375
|
})
|
|
376
376
|
|
|
377
377
|
return (
|
|
378
|
-
<View display="block" padding="
|
|
378
|
+
<View display="block" padding="general.spaceXl general.spaceXl general.spaceMd" background="primary">
|
|
379
379
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
380
380
|
<FormFieldGroup description="Settings" rowSpacing="small">
|
|
381
381
|
{[
|
|
@@ -487,7 +487,7 @@ type: example
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
return (
|
|
490
|
-
<View display="block" padding="
|
|
490
|
+
<View display="block" padding="general.spaceXl general.spaceXl general.spaceMd" background="primary">
|
|
491
491
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
492
492
|
<FormFieldGroup description="Settings">
|
|
493
493
|
<Checkbox
|
|
@@ -579,7 +579,7 @@ type: example
|
|
|
579
579
|
>
|
|
580
580
|
<View
|
|
581
581
|
display="block"
|
|
582
|
-
padding="
|
|
582
|
+
padding="general.spaceXl general.spaceXl general.spaceMd"
|
|
583
583
|
background="primary"
|
|
584
584
|
>
|
|
585
585
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
@@ -669,7 +669,7 @@ type: example
|
|
|
669
669
|
const editorRef = useRef(null)
|
|
670
670
|
|
|
671
671
|
return (
|
|
672
|
-
<View display="block" padding="
|
|
672
|
+
<View display="block" padding="general.spaceXl general.spaceXl general.spaceMd" background="primary">
|
|
673
673
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
674
674
|
<Button
|
|
675
675
|
onClick={() => {
|
|
@@ -718,11 +718,11 @@ type: example
|
|
|
718
718
|
const viewProps = {
|
|
719
719
|
as: 'div',
|
|
720
720
|
background: 'primary-inverse',
|
|
721
|
-
padding: '
|
|
721
|
+
padding: 'general.spaceMd'
|
|
722
722
|
}
|
|
723
723
|
|
|
724
724
|
return (
|
|
725
|
-
<View display="block" padding="
|
|
725
|
+
<View display="block" padding="general.spaceXl general.spaceXl general.spaceMd" background="primary">
|
|
726
726
|
<View display="block" margin="general.spaceMd none general.space2xl">
|
|
727
727
|
<RadioInputGroup
|
|
728
728
|
name="attachmentExample"
|