@jobber/components 6.20.2 → 6.20.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.
|
@@ -29,7 +29,7 @@ function DataListActions({ children, itemsToExpose = 2, }) {
|
|
|
29
29
|
}
|
|
30
30
|
const actionLabel = getActionLabel();
|
|
31
31
|
// If the action is always visible, we don't want a tooltip.
|
|
32
|
-
if (props.
|
|
32
|
+
if (props.alwaysVisible) {
|
|
33
33
|
return (React.createElement(Button.Button, { ariaLabel: actionLabel, key: props.label, icon: props.icon, label: actionLabel, onClick: () => {
|
|
34
34
|
var _a;
|
|
35
35
|
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, activeItem);
|
|
@@ -27,7 +27,7 @@ function DataListActions({ children, itemsToExpose = 2, }) {
|
|
|
27
27
|
}
|
|
28
28
|
const actionLabel = getActionLabel();
|
|
29
29
|
// If the action is always visible, we don't want a tooltip.
|
|
30
|
-
if (props.
|
|
30
|
+
if (props.alwaysVisible) {
|
|
31
31
|
return (React.createElement(Button, { ariaLabel: actionLabel, key: props.label, icon: props.icon, label: actionLabel, onClick: () => {
|
|
32
32
|
var _a;
|
|
33
33
|
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, activeItem);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "6.20.
|
|
3
|
+
"version": "6.20.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -489,5 +489,5 @@
|
|
|
489
489
|
"> 1%",
|
|
490
490
|
"IE 10"
|
|
491
491
|
],
|
|
492
|
-
"gitHead": "
|
|
492
|
+
"gitHead": "ddff7718a1ca076e1c703f522d0ebae772274696"
|
|
493
493
|
}
|