@instructure/ui-options 10.5.1-snapshot-5 → 10.6.0
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 +5 -2
- package/es/Options/Item/theme.js +1 -1
- package/lib/Options/Item/theme.js +1 -1
- package/package.json +13 -13
- package/src/Options/Item/theme.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
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
|
-
|
|
6
|
+
# [10.6.0](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.6.0) (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
|
|
package/es/Options/Item/theme.js
CHANGED
|
@@ -59,7 +59,7 @@ const generateComponentTheme = theme => {
|
|
|
59
59
|
descriptionFontWeight: typography.fontWeightNormal,
|
|
60
60
|
descriptionLineHeight: typography.lineHeight,
|
|
61
61
|
descriptionPaddingStart: '0.25em',
|
|
62
|
-
descriptionColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.
|
|
62
|
+
descriptionColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.grey5782
|
|
63
63
|
};
|
|
64
64
|
return {
|
|
65
65
|
...componentVariables,
|
|
@@ -65,7 +65,7 @@ const generateComponentTheme = theme => {
|
|
|
65
65
|
descriptionFontWeight: typography.fontWeightNormal,
|
|
66
66
|
descriptionLineHeight: typography.lineHeight,
|
|
67
67
|
descriptionPaddingStart: '0.25em',
|
|
68
|
-
descriptionColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.
|
|
68
|
+
descriptionColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts7 = colors.contrasts) === null || _colors$contrasts7 === void 0 ? void 0 : _colors$contrasts7.grey5782
|
|
69
69
|
};
|
|
70
70
|
return {
|
|
71
71
|
...componentVariables,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-options",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.6.0",
|
|
4
4
|
"description": "A view-only component for composing interactive lists and menus.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,21 +23,21 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "10.
|
|
27
|
-
"@instructure/ui-color-utils": "10.
|
|
28
|
-
"@instructure/ui-test-locator": "10.
|
|
29
|
-
"@instructure/ui-test-utils": "10.
|
|
30
|
-
"@instructure/ui-themes": "10.
|
|
26
|
+
"@instructure/ui-babel-preset": "10.6.0",
|
|
27
|
+
"@instructure/ui-color-utils": "10.6.0",
|
|
28
|
+
"@instructure/ui-test-locator": "10.6.0",
|
|
29
|
+
"@instructure/ui-test-utils": "10.6.0",
|
|
30
|
+
"@instructure/ui-themes": "10.6.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.25.6",
|
|
34
|
-
"@instructure/emotion": "10.
|
|
35
|
-
"@instructure/shared-types": "10.
|
|
36
|
-
"@instructure/ui-icons": "10.
|
|
37
|
-
"@instructure/ui-prop-types": "10.
|
|
38
|
-
"@instructure/ui-react-utils": "10.
|
|
39
|
-
"@instructure/ui-testable": "10.
|
|
40
|
-
"@instructure/ui-view": "10.
|
|
34
|
+
"@instructure/emotion": "10.6.0",
|
|
35
|
+
"@instructure/shared-types": "10.6.0",
|
|
36
|
+
"@instructure/ui-icons": "10.6.0",
|
|
37
|
+
"@instructure/ui-prop-types": "10.6.0",
|
|
38
|
+
"@instructure/ui-react-utils": "10.6.0",
|
|
39
|
+
"@instructure/ui-testable": "10.6.0",
|
|
40
|
+
"@instructure/ui-view": "10.6.0",
|
|
41
41
|
"prop-types": "^15.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -64,7 +64,7 @@ const generateComponentTheme = (theme: Theme): OptionsItemTheme => {
|
|
|
64
64
|
descriptionFontWeight: typography.fontWeightNormal,
|
|
65
65
|
descriptionLineHeight: typography.lineHeight,
|
|
66
66
|
descriptionPaddingStart: '0.25em',
|
|
67
|
-
descriptionColor: colors?.contrasts?.
|
|
67
|
+
descriptionColor: colors?.contrasts?.grey5782
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
return {
|