@instructure/ui-buttons 8.51.1-snapshot-8 → 8.51.1-snapshot-10

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
- ## [8.51.1-snapshot-8](https://github.com/instructure/instructure-ui/compare/v8.51.0...v8.51.1-snapshot-8) (2024-02-01)
6
+ ## [8.51.1-snapshot-10](https://github.com/instructure/instructure-ui/compare/v8.51.0...v8.51.1-snapshot-10) (2024-02-01)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-buttons
8
+
9
+ ### Bug Fixes
10
+
11
+ * **shared-types:** extend OtherHTMLAttributes with Element ([474fa4d](https://github.com/instructure/instructure-ui/commit/474fa4da4781acc347b993a7c64c52d101b00feb))
9
12
 
10
13
 
11
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-buttons",
3
- "version": "8.51.1-snapshot-8",
3
+ "version": "8.51.1-snapshot-10",
4
4
  "description": "Accessible button components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,28 +23,28 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.51.1-snapshot-8",
27
- "@instructure/ui-test-locator": "8.51.1-snapshot-8",
28
- "@instructure/ui-test-queries": "8.51.1-snapshot-8",
29
- "@instructure/ui-test-utils": "8.51.1-snapshot-8",
30
- "@instructure/ui-themes": "8.51.1-snapshot-8"
26
+ "@instructure/ui-babel-preset": "8.51.1-snapshot-10",
27
+ "@instructure/ui-test-locator": "8.51.1-snapshot-10",
28
+ "@instructure/ui-test-queries": "8.51.1-snapshot-10",
29
+ "@instructure/ui-test-utils": "8.51.1-snapshot-10",
30
+ "@instructure/ui-themes": "8.51.1-snapshot-10"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.23.2",
34
- "@instructure/console": "8.51.1-snapshot-8",
35
- "@instructure/emotion": "8.51.1-snapshot-8",
36
- "@instructure/shared-types": "8.51.1-snapshot-8",
37
- "@instructure/ui-a11y-content": "8.51.1-snapshot-8",
38
- "@instructure/ui-a11y-utils": "8.51.1-snapshot-8",
39
- "@instructure/ui-color-utils": "8.51.1-snapshot-8",
40
- "@instructure/ui-dom-utils": "8.51.1-snapshot-8",
41
- "@instructure/ui-icons": "8.51.1-snapshot-8",
42
- "@instructure/ui-position": "8.51.1-snapshot-8",
43
- "@instructure/ui-react-utils": "8.51.1-snapshot-8",
44
- "@instructure/ui-testable": "8.51.1-snapshot-8",
45
- "@instructure/ui-tooltip": "8.51.1-snapshot-8",
46
- "@instructure/ui-utils": "8.51.1-snapshot-8",
47
- "@instructure/ui-view": "8.51.1-snapshot-8",
34
+ "@instructure/console": "8.51.1-snapshot-10",
35
+ "@instructure/emotion": "8.51.1-snapshot-10",
36
+ "@instructure/shared-types": "8.51.1-snapshot-10",
37
+ "@instructure/ui-a11y-content": "8.51.1-snapshot-10",
38
+ "@instructure/ui-a11y-utils": "8.51.1-snapshot-10",
39
+ "@instructure/ui-color-utils": "8.51.1-snapshot-10",
40
+ "@instructure/ui-dom-utils": "8.51.1-snapshot-10",
41
+ "@instructure/ui-icons": "8.51.1-snapshot-10",
42
+ "@instructure/ui-position": "8.51.1-snapshot-10",
43
+ "@instructure/ui-react-utils": "8.51.1-snapshot-10",
44
+ "@instructure/ui-testable": "8.51.1-snapshot-10",
45
+ "@instructure/ui-tooltip": "8.51.1-snapshot-10",
46
+ "@instructure/ui-utils": "8.51.1-snapshot-10",
47
+ "@instructure/ui-view": "8.51.1-snapshot-10",
48
48
  "keycode": "^2.2.1",
49
49
  "prop-types": "^15.8.1"
50
50
  },
@@ -178,7 +178,7 @@ class BaseButton extends Component<BaseButtonProps> {
178
178
  }
179
179
  }
180
180
 
181
- handleClick = (event: React.MouseEvent<ViewProps>) => {
181
+ handleClick = (event: React.MouseEvent<ViewProps & Element>) => {
182
182
  const { onClick } = this.props
183
183
  const { interaction } = this
184
184
 
@@ -193,7 +193,7 @@ class BaseButton extends Component<BaseButtonProps> {
193
193
  }
194
194
  }
195
195
 
196
- handleKeyDown = (event: React.KeyboardEvent<ViewProps>) => {
196
+ handleKeyDown = (event: React.KeyboardEvent<ViewProps & Element>) => {
197
197
  const { onClick, onKeyDown, href } = this.props
198
198
  const { interaction } = this
199
199