@instructure/ui-text-input 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 CHANGED
@@ -3,11 +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-5](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.5.1-snapshot-5) (2024-11-14)
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
9
  ### Bug Fixes
10
10
 
11
+ * **many:** adjust border colors to meet a11y contrast standards ([2f47e06](https://github.com/instructure/instructure-ui/commit/2f47e066f7107c67e37ce8b7aff483586cf7a6b7))
11
12
  * **many:** fix regression where form elements without label got misaligned ([139f7f1](https://github.com/instructure/instructure-ui/commit/139f7f130cd7e8372af869a13cfd50cd6a97fd85))
12
13
 
13
14
 
@@ -46,7 +46,7 @@ const generateComponentTheme = theme => {
46
46
  fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
47
47
  borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
48
48
  borderStyle: borders === null || borders === void 0 ? void 0 : borders.style,
49
- borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey1214,
49
+ borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey3045,
50
50
  borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
51
51
  color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey125125,
52
52
  background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.white1010,
@@ -52,7 +52,7 @@ const generateComponentTheme = theme => {
52
52
  fontWeight: typography === null || typography === void 0 ? void 0 : typography.fontWeightNormal,
53
53
  borderWidth: borders === null || borders === void 0 ? void 0 : borders.widthSmall,
54
54
  borderStyle: borders === null || borders === void 0 ? void 0 : borders.style,
55
- borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey1214,
55
+ borderColor: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey3045,
56
56
  borderRadius: borders === null || borders === void 0 ? void 0 : borders.radiusMedium,
57
57
  color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.grey125125,
58
58
  background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts3 = colors.contrasts) === null || _colors$contrasts3 === void 0 ? void 0 : _colors$contrasts3.white1010,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text-input",
3
- "version": "10.5.1-snapshot-5",
3
+ "version": "10.6.0",
4
4
  "description": "A styled HTML text input component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.5.1-snapshot-5",
27
- "@instructure/ui-babel-preset": "10.5.1-snapshot-5",
28
- "@instructure/ui-badge": "10.5.1-snapshot-5",
29
- "@instructure/ui-color-utils": "10.5.1-snapshot-5",
30
- "@instructure/ui-test-utils": "10.5.1-snapshot-5",
31
- "@instructure/ui-themes": "10.5.1-snapshot-5",
26
+ "@instructure/ui-axe-check": "10.6.0",
27
+ "@instructure/ui-babel-preset": "10.6.0",
28
+ "@instructure/ui-badge": "10.6.0",
29
+ "@instructure/ui-color-utils": "10.6.0",
30
+ "@instructure/ui-test-utils": "10.6.0",
31
+ "@instructure/ui-themes": "10.6.0",
32
32
  "@testing-library/jest-dom": "^6.4.6",
33
33
  "@testing-library/react": "^16.0.1",
34
34
  "@testing-library/user-event": "^14.5.2",
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.25.6",
39
- "@instructure/emotion": "10.5.1-snapshot-5",
40
- "@instructure/shared-types": "10.5.1-snapshot-5",
41
- "@instructure/ui-dom-utils": "10.5.1-snapshot-5",
42
- "@instructure/ui-form-field": "10.5.1-snapshot-5",
43
- "@instructure/ui-icons": "10.5.1-snapshot-5",
44
- "@instructure/ui-prop-types": "10.5.1-snapshot-5",
45
- "@instructure/ui-react-utils": "10.5.1-snapshot-5",
46
- "@instructure/ui-tag": "10.5.1-snapshot-5",
47
- "@instructure/ui-testable": "10.5.1-snapshot-5",
39
+ "@instructure/emotion": "10.6.0",
40
+ "@instructure/shared-types": "10.6.0",
41
+ "@instructure/ui-dom-utils": "10.6.0",
42
+ "@instructure/ui-form-field": "10.6.0",
43
+ "@instructure/ui-icons": "10.6.0",
44
+ "@instructure/ui-prop-types": "10.6.0",
45
+ "@instructure/ui-react-utils": "10.6.0",
46
+ "@instructure/ui-tag": "10.6.0",
47
+ "@instructure/ui-testable": "10.6.0",
48
48
  "prop-types": "^15.8.1"
49
49
  },
50
50
  "peerDependencies": {
@@ -46,7 +46,7 @@ const generateComponentTheme = (theme: Theme): TextInputTheme => {
46
46
 
47
47
  borderWidth: borders?.widthSmall,
48
48
  borderStyle: borders?.style,
49
- borderColor: colors?.contrasts?.grey1214,
49
+ borderColor: colors?.contrasts?.grey3045,
50
50
  borderRadius: borders?.radiusMedium,
51
51
 
52
52
  color: colors?.contrasts?.grey125125,