@instructure/ui-select 9.5.2-snapshot-7 → 9.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,17 +3,17 @@
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
- ## [9.5.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v9.5.1...v9.5.2-snapshot-7) (2024-07-31)
6
+ # [9.6.0](https://github.com/instructure/instructure-ui/compare/v9.5.2...v9.6.0) (2024-08-14)
7
7
 
8
+ **Note:** Version bump only for package @instructure/ui-select
8
9
 
9
- ### Features
10
10
 
11
- * **many:** rewrite color system ([1e5809e](https://github.com/instructure/instructure-ui/commit/1e5809e28dee8c2a71703a429609b8d2f95d76e6))
12
11
 
13
12
 
14
- ### BREAKING CHANGES
15
13
 
16
- * **many:** Breaks color overrides in certain cases
14
+ ## [9.5.2](https://github.com/instructure/instructure-ui/compare/v9.5.1...v9.5.2) (2024-08-05)
15
+
16
+ **Note:** Version bump only for package @instructure/ui-select
17
17
 
18
18
 
19
19
 
@@ -28,7 +28,6 @@
28
28
  * @return {Object} The final theme object with the overrides and component variables
29
29
  */
30
30
  const generateComponentTheme = theme => {
31
- var _colors$contrasts, _colors$contrasts2;
32
31
  const colors = theme.colors,
33
32
  typography = theme.typography;
34
33
  const componentVariables = {
@@ -38,8 +37,8 @@ const generateComponentTheme = theme => {
38
37
  smallIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeXSmall,
39
38
  mediumIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
40
39
  largeIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
41
- color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey125125,
42
- background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010
40
+ color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
41
+ background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
43
42
  };
44
43
  return {
45
44
  ...componentVariables
@@ -34,7 +34,6 @@ exports.default = void 0;
34
34
  * @return {Object} The final theme object with the overrides and component variables
35
35
  */
36
36
  const generateComponentTheme = theme => {
37
- var _colors$contrasts, _colors$contrasts2;
38
37
  const colors = theme.colors,
39
38
  typography = theme.typography;
40
39
  const componentVariables = {
@@ -44,8 +43,8 @@ const generateComponentTheme = theme => {
44
43
  smallIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeXSmall,
45
44
  mediumIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeSmall,
46
45
  largeIconSize: typography === null || typography === void 0 ? void 0 : typography.fontSizeMedium,
47
- color: colors === null || colors === void 0 ? void 0 : (_colors$contrasts = colors.contrasts) === null || _colors$contrasts === void 0 ? void 0 : _colors$contrasts.grey125125,
48
- background: colors === null || colors === void 0 ? void 0 : (_colors$contrasts2 = colors.contrasts) === null || _colors$contrasts2 === void 0 ? void 0 : _colors$contrasts2.white1010
46
+ color: colors === null || colors === void 0 ? void 0 : colors.textDarkest,
47
+ background: colors === null || colors === void 0 ? void 0 : colors.backgroundLightest
49
48
  };
50
49
  return {
51
50
  ...componentVariables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-select",
3
- "version": "9.5.2-snapshot-7",
3
+ "version": "9.6.0",
4
4
  "description": "A component for select and autocomplete behavior.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,13 +23,13 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "9.5.2-snapshot-7",
27
- "@instructure/ui-babel-preset": "9.5.2-snapshot-7",
28
- "@instructure/ui-color-utils": "9.5.2-snapshot-7",
29
- "@instructure/ui-scripts": "9.5.2-snapshot-7",
30
- "@instructure/ui-test-locator": "9.5.2-snapshot-7",
31
- "@instructure/ui-test-utils": "9.5.2-snapshot-7",
32
- "@instructure/ui-themes": "9.5.2-snapshot-7",
26
+ "@instructure/ui-axe-check": "9.6.0",
27
+ "@instructure/ui-babel-preset": "9.6.0",
28
+ "@instructure/ui-color-utils": "9.6.0",
29
+ "@instructure/ui-scripts": "9.6.0",
30
+ "@instructure/ui-test-locator": "9.6.0",
31
+ "@instructure/ui-test-utils": "9.6.0",
32
+ "@instructure/ui-themes": "9.6.0",
33
33
  "@testing-library/jest-dom": "^6.4.6",
34
34
  "@testing-library/react": "^15.0.7",
35
35
  "@testing-library/user-event": "^14.5.2",
@@ -37,22 +37,22 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/runtime": "^7.24.5",
40
- "@instructure/emotion": "9.5.2-snapshot-7",
41
- "@instructure/shared-types": "9.5.2-snapshot-7",
42
- "@instructure/ui-dom-utils": "9.5.2-snapshot-7",
43
- "@instructure/ui-form-field": "9.5.2-snapshot-7",
44
- "@instructure/ui-icons": "9.5.2-snapshot-7",
45
- "@instructure/ui-options": "9.5.2-snapshot-7",
46
- "@instructure/ui-popover": "9.5.2-snapshot-7",
47
- "@instructure/ui-position": "9.5.2-snapshot-7",
48
- "@instructure/ui-prop-types": "9.5.2-snapshot-7",
49
- "@instructure/ui-react-utils": "9.5.2-snapshot-7",
50
- "@instructure/ui-selectable": "9.5.2-snapshot-7",
51
- "@instructure/ui-testable": "9.5.2-snapshot-7",
52
- "@instructure/ui-text-input": "9.5.2-snapshot-7",
53
- "@instructure/ui-utils": "9.5.2-snapshot-7",
54
- "@instructure/ui-view": "9.5.2-snapshot-7",
55
- "@instructure/uid": "9.5.2-snapshot-7",
40
+ "@instructure/emotion": "9.6.0",
41
+ "@instructure/shared-types": "9.6.0",
42
+ "@instructure/ui-dom-utils": "9.6.0",
43
+ "@instructure/ui-form-field": "9.6.0",
44
+ "@instructure/ui-icons": "9.6.0",
45
+ "@instructure/ui-options": "9.6.0",
46
+ "@instructure/ui-popover": "9.6.0",
47
+ "@instructure/ui-position": "9.6.0",
48
+ "@instructure/ui-prop-types": "9.6.0",
49
+ "@instructure/ui-react-utils": "9.6.0",
50
+ "@instructure/ui-selectable": "9.6.0",
51
+ "@instructure/ui-testable": "9.6.0",
52
+ "@instructure/ui-text-input": "9.6.0",
53
+ "@instructure/ui-utils": "9.6.0",
54
+ "@instructure/ui-view": "9.6.0",
55
+ "@instructure/uid": "9.6.0",
56
56
  "prop-types": "^15.8.1"
57
57
  },
58
58
  "peerDependencies": {
@@ -41,8 +41,8 @@ const generateComponentTheme = (theme: Theme): SelectTheme => {
41
41
  mediumIconSize: typography?.fontSizeSmall,
42
42
  largeIconSize: typography?.fontSizeMedium,
43
43
 
44
- color: colors?.contrasts?.grey125125,
45
- background: colors?.contrasts?.white1010
44
+ color: colors?.textDarkest,
45
+ background: colors?.backgroundLightest
46
46
  }
47
47
 
48
48
  return {