diff --git a/CHANGELOG.md b/CHANGELOG.md index 76727e7684..09947917d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - enrich commit mentions in markdown viewer by internal links ([#1210](https://github.com/scm-manager/scm-manager/pull/1210)) +### Changed +- Checkboxes can now be 'indeterminate' ([#1215](https://github.com/scm-manager/scm-manager/pull/1215)) + ### Fixed - Fixed installation of debian packages on distros without preinstalled `at` ([#1216](https://github.com/scm-manager/scm-manager/issues/1216) and [#1217](https://github.com/scm-manager/scm-manager/pull/1217)) diff --git a/package.json b/package.json index 7593e4656f..35682ca3de 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,7 @@ }, "devDependencies": { "babel-plugin-reflow": "^0.2.7", - "lerna": "^3.17.0", - "husky": "^4.2.5", - "lint-staged": "^10.2.11" + "lerna": "^3.17.0" }, "resolutions": { "babel-core": "7.0.0-bridge.0", @@ -34,12 +32,5 @@ "preset": "@scm-manager/jest-preset" }, "prettier": "@scm-manager/prettier-config", - "husky": { - "hooks": { - "pre-commit": "lint-staged --verbose" - } - }, - "lint-staged": { - "*.{js,jsx,ts,tsx}": "eslint" - } + "dependencies": {} } diff --git a/scm-ui/ui-components/src/Icon.tsx b/scm-ui/ui-components/src/Icon.tsx index 77b6591529..91edfbfd10 100644 --- a/scm-ui/ui-components/src/Icon.tsx +++ b/scm-ui/ui-components/src/Icon.tsx @@ -30,6 +30,7 @@ type Props = { name: string; color: string; className?: string; + onClick?: () => void; }; export default class Icon extends React.Component { @@ -39,12 +40,12 @@ export default class Icon extends React.Component { }; render() { - const { title, iconStyle, name, color, className } = this.props; + const { title, iconStyle, name, color, className, onClick } = this.props; if (title) { return ( - + ); } - return ; + return ; } } diff --git a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap index 71cc6c0ecd..dc41ae15bb 100644 --- a/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap +++ b/scm-ui/ui-components/src/__snapshots__/storyshots.test.ts.snap @@ -38182,14 +38182,13 @@ exports[`Storyshots Forms|Checkbox Default 1`] = ` >
+
+
+ +
+
`; @@ -38227,16 +38243,14 @@ exports[`Storyshots Forms|Checkbox Disabled 1`] = ` >