@scm-manager/ui-components 2.26.2-20211016-112023 → 2.27.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-manager/ui-components",
3
- "version": "2.26.2-20211016-112023",
3
+ "version": "2.27.0",
4
4
  "description": "UI Components for SCM-Manager and its plugins",
5
5
  "main": "src/index.ts",
6
6
  "files": [
@@ -25,7 +25,7 @@
25
25
  "@scm-manager/jest-preset": "^2.13.0",
26
26
  "@scm-manager/prettier-config": "^2.10.1",
27
27
  "@scm-manager/tsconfig": "^2.12.0",
28
- "@scm-manager/ui-tests": "^2.26.2-20211016-112023",
28
+ "@scm-manager/ui-tests": "^2.27.0",
29
29
  "@storybook/addon-actions": "^6.3.12",
30
30
  "@storybook/addon-storyshots": "^6.3.12",
31
31
  "@storybook/builder-webpack5": "^6.3.12",
@@ -67,9 +67,9 @@
67
67
  "worker-plugin": "^3.2.0"
68
68
  },
69
69
  "dependencies": {
70
- "@scm-manager/ui-api": "^2.26.2-20211016-112023",
71
- "@scm-manager/ui-extensions": "^2.26.2-20211016-112023",
72
- "@scm-manager/ui-types": "^2.26.2-20211016-112023",
70
+ "@scm-manager/ui-api": "^2.27.0",
71
+ "@scm-manager/ui-extensions": "^2.27.0",
72
+ "@scm-manager/ui-types": "^2.27.0",
73
73
  "classnames": "^2.2.6",
74
74
  "date-fns": "^2.4.1",
75
75
  "deepmerge": "^4.2.2",
@@ -49,6 +49,12 @@ const InheritFlexShrinkDiv = styled.div`
49
49
  pointer-events: all;
50
50
  `;
51
51
 
52
+ const InvisibleButton = styled.button`
53
+ background: none;
54
+ border: none;
55
+ cursor: pointer;
56
+ `;
57
+
52
58
  const CardColumn: FC<Props> = ({
53
59
  link,
54
60
  avatar,
@@ -69,7 +75,7 @@ const CardColumn: FC<Props> = ({
69
75
  createLink = <Link className="overlay-column" to={link} />;
70
76
  } else if (action) {
71
77
  createLink = (
72
- <button
78
+ <InvisibleButton
73
79
  className="overlay-column"
74
80
  onClick={(e) => {
75
81
  e.preventDefault();