@sb1/ffe-buttons-react 16.0.3 → 16.0.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/es/BaseButton.js +1 -0
- package/es/ExpandButton.js +2 -1
- package/lib/BaseButton.js +1 -0
- package/lib/ExpandButton.js +2 -1
- package/package.json +4 -4
package/es/BaseButton.js
CHANGED
package/es/ExpandButton.js
CHANGED
|
@@ -30,7 +30,8 @@ var ExpandButton = function ExpandButton(props) {
|
|
|
30
30
|
}, className),
|
|
31
31
|
ref: innerRef
|
|
32
32
|
}, rest), isExpanded && /*#__PURE__*/React.createElement(KryssIkon, {
|
|
33
|
-
className: "ffe-button__icon"
|
|
33
|
+
className: "ffe-button__icon",
|
|
34
|
+
"aria-hidden": "true"
|
|
34
35
|
}), !isExpanded && /*#__PURE__*/React.createElement(Fragment, null, leftIcon && /*#__PURE__*/React.cloneElement(leftIcon, {
|
|
35
36
|
'aria-hidden': true,
|
|
36
37
|
className: 'ffe-button__icon ffe-button__icon--left'
|
package/lib/BaseButton.js
CHANGED
|
@@ -63,6 +63,7 @@ var BaseButton = function BaseButton(props) {
|
|
|
63
63
|
'aria-hidden': 'true'
|
|
64
64
|
})), supportsSpinner && isLoading && /*#__PURE__*/_react.default.createElement("span", {
|
|
65
65
|
"aria-label": ariaLoadingMessage,
|
|
66
|
+
role: "img",
|
|
66
67
|
className: "ffe-button__spinner"
|
|
67
68
|
}));
|
|
68
69
|
};
|
package/lib/ExpandButton.js
CHANGED
|
@@ -48,7 +48,8 @@ var ExpandButton = function ExpandButton(props) {
|
|
|
48
48
|
}, className),
|
|
49
49
|
ref: innerRef
|
|
50
50
|
}, rest), isExpanded && /*#__PURE__*/_react.default.createElement(_kryssIkon.default, {
|
|
51
|
-
className: "ffe-button__icon"
|
|
51
|
+
className: "ffe-button__icon",
|
|
52
|
+
"aria-hidden": "true"
|
|
52
53
|
}), !isExpanded && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, leftIcon && /*#__PURE__*/_react.default.cloneElement(leftIcon, {
|
|
53
54
|
'aria-hidden': true,
|
|
54
55
|
className: 'ffe-button__icon ffe-button__icon--left'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sb1/ffe-buttons-react",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.6",
|
|
4
4
|
"description": "React implementation of ffe-buttons",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ffe"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"test:watch": "ffe-buildtool jest --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sb1/ffe-icons-react": "^7.3.
|
|
31
|
+
"@sb1/ffe-icons-react": "^7.3.3",
|
|
32
32
|
"classnames": "^2.3.1",
|
|
33
33
|
"prop-types": "^15.7.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@sb1/ffe-buildtool": "^0.4.
|
|
36
|
+
"@sb1/ffe-buildtool": "^0.4.1",
|
|
37
37
|
"eslint": "^5.9.0",
|
|
38
38
|
"react": "^16.9.0",
|
|
39
39
|
"react-collapse": "^4.0.3",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "20645a84ff31b513ef2568a7eefbed950f7e1c40"
|
|
50
50
|
}
|