@backstage/core-components 0.6.1 → 0.7.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.
- package/CHANGELOG.md +82 -0
- package/dist/index.d.ts +397 -96
- package/dist/index.esm.js +197 -103
- package/dist/index.esm.js.map +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,87 @@
|
|
|
1
1
|
# @backstage/core-components
|
|
2
2
|
|
|
3
|
+
## 0.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c11a37710a: Added a warning variant to `DismissableBanner` component. If you are using a
|
|
8
|
+
custom theme, you will need to add the optional `palette.banner.warning` color,
|
|
9
|
+
otherwise this variant will fall back to the `palette.banner.error` color.
|
|
10
|
+
- 5826c17b7d: Allow for `cellStyle` property on `TableColumn` to be a function as well as `React.CSSProperties` as per the Material UI Table component
|
|
11
|
+
- e0861b92ff: Add new way to override color selection to progress bar/gauge components.
|
|
12
|
+
|
|
13
|
+
`Gauge`, `LinearGauge` and `GaugeCard` all accept a `getColor` prop,
|
|
14
|
+
which is a function of the type:
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
export type GaugePropsGetColor = (args: {
|
|
18
|
+
palette: Palette;
|
|
19
|
+
value: number;
|
|
20
|
+
inverse?: boolean;
|
|
21
|
+
max?: number;
|
|
22
|
+
}) => string;
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Return a standard CSS color string (e.g. "red", "#f02020"), and the gauge will
|
|
26
|
+
be set to that color.
|
|
27
|
+
|
|
28
|
+
If the prop is omitted, the default implementation is unchanged from previous
|
|
29
|
+
versions.
|
|
30
|
+
|
|
31
|
+
- 021986e8a3: fixed route resolving (issue #7741) when user cannot select a tab in any of the tabbed pages (like the Catalog page) if it shares the same initial letters as a preceding tab. (i.e. where tab with a path of /ci is followed by a path of /ci-2, user cannot select /ci-2 as /ci will always be selected first).
|
|
32
|
+
- a39a2105ef: Add Theme Overrides for Sidebar
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
- @backstage/theme@0.2.13
|
|
35
|
+
- @backstage/core-plugin-api@0.1.13
|
|
36
|
+
|
|
37
|
+
## 0.7.2
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- afd5c82ce1: Updates the d3 dependencies
|
|
42
|
+
- c6c2942daa: Deprecated `DismissbleBannerClassKey` and fixed the typo to make `DismissableBannerClassKey`
|
|
43
|
+
- Updated dependencies
|
|
44
|
+
- @backstage/config@0.1.11
|
|
45
|
+
- @backstage/theme@0.2.12
|
|
46
|
+
- @backstage/errors@0.1.4
|
|
47
|
+
- @backstage/core-plugin-api@0.1.12
|
|
48
|
+
|
|
49
|
+
## 0.7.1
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- e535ea766a: Switched to relying on the built-in support for async loading in `react-syntax-highlighter`. This should provide further improvements to async rendering and lazy loading, and avoid test flakiness that was happening because of the significant number or resources being loaded in lazily all at once.
|
|
54
|
+
- 2023a9683f: Fixed invalid wrap in DismissableBanner component
|
|
55
|
+
- 36e67d2f24: Internal updates to apply more strict checks to throw errors.
|
|
56
|
+
- Updated dependencies
|
|
57
|
+
- @backstage/errors@0.1.3
|
|
58
|
+
- @backstage/core-plugin-api@0.1.11
|
|
59
|
+
|
|
60
|
+
## 0.7.0
|
|
61
|
+
|
|
62
|
+
### Minor Changes
|
|
63
|
+
|
|
64
|
+
- 5c42360577: Add documentation and more type safety around DependencyGraph
|
|
65
|
+
- a20cbf00d2: The syntax highlighting library used by the `CodeSnippet` component is now lazy loaded. This most likely has no effect on existing code, but may break tests as the content of the `CodeSnippet` is now rendered asynchronously.
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- 75bc878221: Internal refactor to avoid importing all of `@material-ui/core`.
|
|
70
|
+
- 6ec56d5a57: update the null check to use the optional chaining operator in case of non-null assertion operator is not working in function extractInitials(values: string)
|
|
71
|
+
- 81c2a1af86: Resolve a warning in `<Button>` related to not using `React.forwardRef`.
|
|
72
|
+
- 53470ada54: Fix search in Firefox. When the search was performed by pressing enter, the query parameter was first set but then reverted back.
|
|
73
|
+
- b488d8b69f: Change the Table search field placeholder to "Filter" and change icon accordingly
|
|
74
|
+
|
|
75
|
+
We had feedback that users expected the catalog table search field to have more sophisticated behaviour
|
|
76
|
+
than simple filtering. This change sets the search field placeholder to read "Filter"
|
|
77
|
+
to avoid confusion with the search feature. The icon is updated to match. This change is applied
|
|
78
|
+
generally in core-components so this change is made consistently across the app given the search
|
|
79
|
+
field is present on all pages via the sidebar.
|
|
80
|
+
|
|
81
|
+
- 2435d7a49b: Deprecated HomepageTimer in favor of HeaderWorldClock which is found in the [home plugin](https://github.com/backstage/backstage/tree/master/plugins/home)
|
|
82
|
+
- Updated dependencies
|
|
83
|
+
- @backstage/theme@0.2.11
|
|
84
|
+
|
|
3
85
|
## 0.6.1
|
|
4
86
|
|
|
5
87
|
### Patch Changes
|