@atlaskit/menu 1.1.2 → 1.1.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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`192d35cfdbd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192d35cfdbd) - Defaults native button usage to type="button" to prevent unintended submittig of forms.
8
+
3
9
  ## 1.1.2
4
10
 
5
11
  ### Patch Changes
@@ -65,6 +65,7 @@ function (props, ref) {
65
65
  isSelected: isSelected,
66
66
  isDisabled: isDisabled
67
67
  })],
68
+ type: "button",
68
69
  "data-testid": testId,
69
70
  disabled: isDisabled,
70
71
  onClick: onClick,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -46,6 +46,7 @@ const ButtonItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef( // Type needed on
46
46
  isSelected,
47
47
  isDisabled
48
48
  })],
49
+ type: "button",
49
50
  "data-testid": testId,
50
51
  disabled: isDisabled,
51
52
  onClick: onClick,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -51,6 +51,7 @@ function (props, ref) {
51
51
  isSelected: isSelected,
52
52
  isDisabled: isDisabled
53
53
  })],
54
+ type: "button",
54
55
  "data-testid": testId,
55
56
  disabled: isDisabled,
56
57
  onClick: onClick,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"