@commercetools-uikit/accessible-button 19.22.5 → 19.22.6
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/README.md
CHANGED
|
@@ -56,7 +56,7 @@ export default Example;
|
|
|
56
56
|
| `isToggled` | `boolean` | | `false` | If `true`, indicates that this element is in a toggled state.
<br/>
This prop is only used if `isToggleButton` is `true`. |
|
|
57
57
|
| `isDisabled` | `boolean` | | | If `true`, indicates that the element is in a disabled state. |
|
|
58
58
|
| `className` | `string` | | | Allow to override the styles by passing a `className` prop.
<br/>
Custom styles can also be passed using the [`css` prop from emotion](https://emotion.sh/docs/css-prop#style-precedence). |
|
|
59
|
-
| `onClick` | `Function`<br/>[See signature.](#signature-
|
|
59
|
+
| `onClick` | `Function`<br/>[See signature.](#signature-onclick) | | | Event handler when the button is clicked, or the user presses `ENTER` or `SPACE`. |
|
|
60
60
|
| `buttonAttributes` | `Record` | | `{}` | Any HTML attributes to be forwarded to the HTML element. |
|
|
61
61
|
|
|
62
62
|
## Signatures
|
|
@@ -133,7 +133,7 @@ AccessibleButton.displayName = 'AccessibleButton';
|
|
|
133
133
|
var AccessibleButton$1 = AccessibleButton;
|
|
134
134
|
|
|
135
135
|
// NOTE: This string will be replaced on build time with the package version.
|
|
136
|
-
var version = "19.22.
|
|
136
|
+
var version = "19.22.6";
|
|
137
137
|
|
|
138
138
|
exports["default"] = AccessibleButton$1;
|
|
139
139
|
exports.getNormalizedButtonStyles = getNormalizedButtonStyles;
|
|
@@ -121,7 +121,7 @@ AccessibleButton.displayName = 'AccessibleButton';
|
|
|
121
121
|
var AccessibleButton$1 = AccessibleButton;
|
|
122
122
|
|
|
123
123
|
// NOTE: This string will be replaced on build time with the package version.
|
|
124
|
-
var version = "19.22.
|
|
124
|
+
var version = "19.22.6";
|
|
125
125
|
|
|
126
126
|
exports["default"] = AccessibleButton$1;
|
|
127
127
|
exports.getNormalizedButtonStyles = getNormalizedButtonStyles;
|
|
@@ -116,6 +116,6 @@ AccessibleButton.displayName = 'AccessibleButton';
|
|
|
116
116
|
var AccessibleButton$1 = AccessibleButton;
|
|
117
117
|
|
|
118
118
|
// NOTE: This string will be replaced on build time with the package version.
|
|
119
|
-
var version = "19.22.
|
|
119
|
+
var version = "19.22.6";
|
|
120
120
|
|
|
121
121
|
export { AccessibleButton$1 as default, getNormalizedButtonStyles, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/accessible-button",
|
|
3
3
|
"description": "A React component that you can use to wrap your buttons in an accessible <button/> element.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.6",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
25
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
25
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
26
26
|
"@emotion/react": "^11.10.5",
|
|
27
27
|
"@emotion/styled": "^11.10.5",
|
|
28
28
|
"@types/react-is": "^17.0.3",
|