@gitkraken/gitkraken-components 11.0.0 → 11.0.1
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/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 11.0.1
|
|
4
|
+
- Fixed tooltip css so that tooltips on the commit notes and ref label icons are no longer 0 opacity. (CSS classes were modified by previous `react-bootstrap` bump.) ([#366](https://github.com/gitkraken/GitKrakenComponents/pull/366))
|
|
5
|
+
|
|
3
6
|
## 11.0.0
|
|
4
|
-
- **BREAKING CHANGE:** Upgraded from `react`/`react-dom` 16 to 17.
|
|
5
|
-
- **BREAKING CHANGE:** Upgraded `react-bootstrap` from 0.32.4 to 2.10.7
|
|
7
|
+
- **BREAKING CHANGE:** Upgraded from `react`/`react-dom` 16 to 17. ([#365](https://github.com/gitkraken/GitKrakenComponents/pull/365))
|
|
8
|
+
- **BREAKING CHANGE:** Upgraded `react-bootstrap` from 0.32.4 to 2.10.7 ([#365](https://github.com/gitkraken/GitKrakenComponents/pull/365))
|
|
6
9
|
- The full consequences of this on your project's CSS cannot be fully predicted, so you should test thoroughly. Known concerns which affected at least one project are listed below.
|
|
7
10
|
- The DIV wrapping the ref-creation text input no longer receives the `has-error` class, and the input no longer receives the `is-valid` class. Instead, the input receives the `is-invalid` class.
|
|
8
|
-
- Added `AzureDevopsIssueTrackerType` (in addition to the existing `AzureDevopsIssueTrackerType`)
|
|
11
|
+
- Added `AzureDevopsIssueTrackerType` (in addition to the existing `AzureDevopsIssueTrackerType`) ([262cbf8e](https://github.com/gitkraken/GitKrakenComponents/commit/262cbf8e81c8497676e93fde0d32fdf537fec706))
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { ReactElement
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { OverlayTriggerProps } from 'react-bootstrap';
|
|
4
3
|
import type { CssVariables, Style } from '../../../domain/generic/GenericTypes';
|
|
5
4
|
import type { GraphItemContext } from '../../../domain/graph/GraphTypes';
|
|
6
5
|
import type { ComponentTooltip } from '../../../domain/ui/UiTypes';
|
|
@@ -25,16 +24,10 @@ type Props = {
|
|
|
25
24
|
type AvatarState = {
|
|
26
25
|
tooltipText?: string;
|
|
27
26
|
};
|
|
28
|
-
interface OverlayTriggerExt extends React.FC<OverlayTriggerProps> {
|
|
29
|
-
show(): void;
|
|
30
|
-
}
|
|
31
27
|
export default class GraphAvatar extends React.Component<Props, AvatarState> {
|
|
32
|
-
overlayTriggerRef?: OverlayTriggerExt | null;
|
|
33
28
|
constructor(props: Props);
|
|
34
|
-
componentDidUpdate(prevProps: Props, prevState: AvatarState): void;
|
|
35
29
|
getDefaultAvatar: (height: number, width: number, top: number) => ReactElement<'div'>;
|
|
36
30
|
ensureTooltipText: () => void;
|
|
37
|
-
setOverlayTriggerRef: RefCallback<OverlayTriggerExt>;
|
|
38
31
|
getAvatarClassName(): string;
|
|
39
32
|
render(): ReactElement<any>;
|
|
40
33
|
}
|