@instructure/ui-source-code-editor 10.5.1-snapshot-4 → 10.5.1-snapshot-7
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,9 +3,12 @@
|
|
|
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
|
-
## [10.5.1-snapshot-
|
|
6
|
+
## [10.5.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.5.1-snapshot-7) (2024-11-18)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** adjust border colors to meet a11y contrast standards ([2f47e06](https://github.com/instructure/instructure-ui/commit/2f47e066f7107c67e37ce8b7aff483586cf7a6b7))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -40,7 +40,7 @@ const generateComponentTheme = theme => {
|
|
|
40
40
|
color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey125125,
|
|
41
41
|
gutterBackground: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey1111,
|
|
42
42
|
borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
43
|
-
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.
|
|
43
|
+
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.grey3045,
|
|
44
44
|
borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
|
|
45
45
|
focusBorderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.blue4570,
|
|
46
46
|
horizontalPadding: spacing === null || spacing === void 0 ? void 0 : spacing.xSmall,
|
|
@@ -46,7 +46,7 @@ const generateComponentTheme = theme => {
|
|
|
46
46
|
color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey125125,
|
|
47
47
|
gutterBackground: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.grey1111,
|
|
48
48
|
borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
|
|
49
|
-
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.
|
|
49
|
+
borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts4 = colors.contrasts) === null || _colors$contrasts4 === void 0 ? void 0 : _colors$contrasts4.grey3045,
|
|
50
50
|
borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
|
|
51
51
|
focusBorderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts5 = colors.contrasts) === null || _colors$contrasts5 === void 0 ? void 0 : _colors$contrasts5.blue4570,
|
|
52
52
|
horizontalPadding: spacing === null || spacing === void 0 ? void 0 : spacing.xSmall,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-source-code-editor",
|
|
3
|
-
"version": "10.5.1-snapshot-
|
|
3
|
+
"version": "10.5.1-snapshot-7",
|
|
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": "10.5.1-snapshot-
|
|
27
|
-
"@instructure/ui-test-queries": "10.5.1-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "10.5.1-snapshot-
|
|
26
|
+
"@instructure/ui-babel-preset": "10.5.1-snapshot-7",
|
|
27
|
+
"@instructure/ui-test-queries": "10.5.1-snapshot-7",
|
|
28
|
+
"@instructure/ui-test-utils": "10.5.1-snapshot-7",
|
|
29
29
|
"@testing-library/jest-dom": "^6.4.6",
|
|
30
30
|
"@testing-library/react": "^16.0.1",
|
|
31
31
|
"vitest": "^2.1.1"
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
"@codemirror/search": "^6.5.6",
|
|
46
46
|
"@codemirror/state": "^6.4.1",
|
|
47
47
|
"@codemirror/view": "^6.34.1",
|
|
48
|
-
"@instructure/emotion": "10.5.1-snapshot-
|
|
49
|
-
"@instructure/shared-types": "10.5.1-snapshot-
|
|
50
|
-
"@instructure/ui-a11y-content": "10.5.1-snapshot-
|
|
51
|
-
"@instructure/ui-buttons": "10.5.1-snapshot-
|
|
52
|
-
"@instructure/ui-dom-utils": "10.5.1-snapshot-
|
|
53
|
-
"@instructure/ui-i18n": "10.5.1-snapshot-
|
|
54
|
-
"@instructure/ui-icons": "10.5.1-snapshot-
|
|
55
|
-
"@instructure/ui-prop-types": "10.5.1-snapshot-
|
|
56
|
-
"@instructure/ui-react-utils": "10.5.1-snapshot-
|
|
57
|
-
"@instructure/ui-test-locator": "10.5.1-snapshot-
|
|
58
|
-
"@instructure/ui-testable": "10.5.1-snapshot-
|
|
59
|
-
"@instructure/ui-text-input": "10.5.1-snapshot-
|
|
60
|
-
"@instructure/ui-themes": "10.5.1-snapshot-
|
|
61
|
-
"@instructure/ui-utils": "10.5.1-snapshot-
|
|
48
|
+
"@instructure/emotion": "10.5.1-snapshot-7",
|
|
49
|
+
"@instructure/shared-types": "10.5.1-snapshot-7",
|
|
50
|
+
"@instructure/ui-a11y-content": "10.5.1-snapshot-7",
|
|
51
|
+
"@instructure/ui-buttons": "10.5.1-snapshot-7",
|
|
52
|
+
"@instructure/ui-dom-utils": "10.5.1-snapshot-7",
|
|
53
|
+
"@instructure/ui-i18n": "10.5.1-snapshot-7",
|
|
54
|
+
"@instructure/ui-icons": "10.5.1-snapshot-7",
|
|
55
|
+
"@instructure/ui-prop-types": "10.5.1-snapshot-7",
|
|
56
|
+
"@instructure/ui-react-utils": "10.5.1-snapshot-7",
|
|
57
|
+
"@instructure/ui-test-locator": "10.5.1-snapshot-7",
|
|
58
|
+
"@instructure/ui-testable": "10.5.1-snapshot-7",
|
|
59
|
+
"@instructure/ui-text-input": "10.5.1-snapshot-7",
|
|
60
|
+
"@instructure/ui-themes": "10.5.1-snapshot-7",
|
|
61
|
+
"@instructure/ui-utils": "10.5.1-snapshot-7",
|
|
62
62
|
"@lezer/highlight": "1.2.1",
|
|
63
63
|
"prop-types": "^15.8.1"
|
|
64
64
|
},
|
|
@@ -40,7 +40,7 @@ const generateComponentTheme = (theme: Theme): SourceCodeEditorTheme => {
|
|
|
40
40
|
color: colors?.contrasts?.grey125125,
|
|
41
41
|
gutterBackground: colors?.contrasts?.grey1111,
|
|
42
42
|
borderWidth: borders?.widthSmall,
|
|
43
|
-
borderColor: colors?.contrasts?.
|
|
43
|
+
borderColor: colors?.contrasts?.grey3045,
|
|
44
44
|
borderRadius: borders?.radiusMedium,
|
|
45
45
|
focusBorderColor: colors?.contrasts?.blue4570,
|
|
46
46
|
horizontalPadding: spacing?.xSmall,
|