@instructure/ui-color-picker 8.43.1 → 8.43.2-snapshot-3

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,6 +3,14 @@
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
+ ## [8.43.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v8.43.1...v8.43.2-snapshot-3) (2023-09-14)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-color-picker
9
+
10
+
11
+
12
+
13
+
6
14
  ## [8.43.1](https://github.com/instructure/instructure-ui/compare/v8.43.0...v8.43.1) (2023-09-11)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-color-picker
package/README.md CHANGED
@@ -13,7 +13,7 @@ A robust component for picking, mixing, validating colors
13
13
  ### Installation
14
14
 
15
15
  ```sh
16
- yarn add @instructure/ui-color-picker
16
+ npm install @instructure/ui-color-picker
17
17
  ```
18
18
 
19
19
  ### Components
@@ -211,7 +211,8 @@ let ColorPalette = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyl
211
211
  onKeyDown: e => this.handleKeyDown(e),
212
212
  onMouseDown: e => this.handlePaletteMouseDown(e),
213
213
  "aria-label": this.props.navigationExplanationScreenReaderLabel,
214
- id: this._id
214
+ id: this._id,
215
+ role: "button"
215
216
  }, jsx("div", {
216
217
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.indicator
217
218
  }), this.props.disabled && jsx("div", {
@@ -217,7 +217,8 @@ let ColorPalette = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec
217
217
  onKeyDown: e => this.handleKeyDown(e),
218
218
  onMouseDown: e => this.handlePaletteMouseDown(e),
219
219
  "aria-label": this.props.navigationExplanationScreenReaderLabel,
220
- id: this._id
220
+ id: this._id,
221
+ role: "button"
221
222
  }, (0, _emotion.jsx)("div", {
222
223
  css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.indicator
223
224
  }), this.props.disabled && (0, _emotion.jsx)("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-color-picker",
3
- "version": "8.43.1",
3
+ "version": "8.43.2-snapshot-3",
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",
@@ -13,44 +13,44 @@
13
13
  "homepage": "https://instructure.github.io/instructure-ui/",
14
14
  "bugs": "https://github.com/instructure/instructure-ui/issues",
15
15
  "scripts": {
16
- "lint": "run -T ui-scripts lint",
17
- "lint:fix": "run -T ui-scripts lint --fix",
18
- "clean": "run -T ui-scripts clean",
19
- "build": "run -T ui-scripts build --modules es,cjs",
20
- "build:watch": "run -T ui-scripts build --watch",
21
- "build:types": "run -T tsc -p tsconfig.build.json",
22
- "ts:check": "run -T tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
16
+ "lint": "ui-scripts lint",
17
+ "lint:fix": "ui-scripts lint --fix",
18
+ "clean": "ui-scripts clean",
19
+ "build": "ui-scripts build --modules es,cjs",
20
+ "build:watch": "ui-scripts build --watch",
21
+ "build:types": "tsc -p tsconfig.build.json",
22
+ "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
23
23
  },
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.22.15",
27
- "@instructure/console": "8.43.1",
28
- "@instructure/emotion": "8.43.1",
29
- "@instructure/shared-types": "8.43.1",
30
- "@instructure/ui-a11y-content": "8.43.1",
31
- "@instructure/ui-buttons": "8.43.1",
32
- "@instructure/ui-color-utils": "8.43.1",
33
- "@instructure/ui-dom-utils": "8.43.1",
34
- "@instructure/ui-drilldown": "8.43.1",
35
- "@instructure/ui-form-field": "8.43.1",
36
- "@instructure/ui-icons": "8.43.1",
37
- "@instructure/ui-pill": "8.43.1",
38
- "@instructure/ui-popover": "8.43.1",
39
- "@instructure/ui-react-utils": "8.43.1",
40
- "@instructure/ui-testable": "8.43.1",
41
- "@instructure/ui-text": "8.43.1",
42
- "@instructure/ui-text-input": "8.43.1",
43
- "@instructure/ui-themes": "8.43.1",
44
- "@instructure/ui-tooltip": "8.43.1",
45
- "@instructure/ui-utils": "8.43.1",
46
- "@instructure/ui-view": "8.43.1",
27
+ "@instructure/console": "8.43.2-snapshot-3",
28
+ "@instructure/emotion": "8.43.2-snapshot-3",
29
+ "@instructure/shared-types": "8.43.2-snapshot-3",
30
+ "@instructure/ui-a11y-content": "8.43.2-snapshot-3",
31
+ "@instructure/ui-buttons": "8.43.2-snapshot-3",
32
+ "@instructure/ui-color-utils": "8.43.2-snapshot-3",
33
+ "@instructure/ui-dom-utils": "8.43.2-snapshot-3",
34
+ "@instructure/ui-drilldown": "8.43.2-snapshot-3",
35
+ "@instructure/ui-form-field": "8.43.2-snapshot-3",
36
+ "@instructure/ui-icons": "8.43.2-snapshot-3",
37
+ "@instructure/ui-pill": "8.43.2-snapshot-3",
38
+ "@instructure/ui-popover": "8.43.2-snapshot-3",
39
+ "@instructure/ui-react-utils": "8.43.2-snapshot-3",
40
+ "@instructure/ui-testable": "8.43.2-snapshot-3",
41
+ "@instructure/ui-text": "8.43.2-snapshot-3",
42
+ "@instructure/ui-text-input": "8.43.2-snapshot-3",
43
+ "@instructure/ui-themes": "8.43.2-snapshot-3",
44
+ "@instructure/ui-tooltip": "8.43.2-snapshot-3",
45
+ "@instructure/ui-utils": "8.43.2-snapshot-3",
46
+ "@instructure/ui-view": "8.43.2-snapshot-3",
47
47
  "prop-types": "^15.8.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@instructure/ui-babel-preset": "8.43.1",
51
- "@instructure/ui-test-locator": "8.43.1",
52
- "@instructure/ui-test-queries": "8.43.1",
53
- "@instructure/ui-test-utils": "8.43.1"
50
+ "@instructure/ui-babel-preset": "8.43.2-snapshot-3",
51
+ "@instructure/ui-test-locator": "8.43.2-snapshot-3",
52
+ "@instructure/ui-test-queries": "8.43.2-snapshot-3",
53
+ "@instructure/ui-test-utils": "8.43.2-snapshot-3"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": ">=16.8 <=18"
@@ -239,6 +239,7 @@ class ColorPalette extends Component<ColorPaletteProps, ColorPaletteState> {
239
239
  onMouseDown={(e) => this.handlePaletteMouseDown(e)}
240
240
  aria-label={this.props.navigationExplanationScreenReaderLabel}
241
241
  id={this._id}
242
+ role="button"
242
243
  >
243
244
  <div css={this.props.styles?.indicator} />
244
245
  {this.props.disabled && (