@backstage/plugin-catalog-react 1.0.1 → 1.1.0-next.2

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,5 +1,41 @@
1
1
  # @backstage/plugin-catalog-react
2
2
 
3
+ ## 1.1.0-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 57f41fb8d6: Make Menu item on filters accessible through keyboard
8
+ - Updated dependencies
9
+ - @backstage/core-components@0.9.4-next.1
10
+ - @backstage/catalog-model@1.0.2-next.0
11
+ - @backstage/core-plugin-api@1.0.2-next.1
12
+ - @backstage/integration@1.2.0-next.1
13
+ - @backstage/plugin-permission-common@0.6.1-next.0
14
+ - @backstage/plugin-permission-react@0.4.1-next.1
15
+ - @backstage/catalog-client@1.0.2-next.0
16
+ - @backstage/plugin-catalog-common@1.0.2-next.0
17
+
18
+ ## 1.1.0-next.1
19
+
20
+ ### Patch Changes
21
+
22
+ - 0418447669: Added menu parent role for menu items accessibility
23
+ - Updated dependencies
24
+ - @backstage/core-components@0.9.4-next.0
25
+ - @backstage/core-plugin-api@1.0.2-next.0
26
+ - @backstage/plugin-permission-react@0.4.1-next.0
27
+
28
+ ## 1.1.0-next.0
29
+
30
+ ### Minor Changes
31
+
32
+ - 4274844a8c: Use InfoCardVariants on custom cards variant attribute
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies
37
+ - @backstage/integration@1.2.0-next.0
38
+
3
39
  ## 1.0.1
4
40
 
5
41
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-react",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-next.2",
4
4
  "main": "../dist/index.esm.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
14
14
  import { CompoundEntityRef } from '@backstage/catalog-model';
15
15
  import { Entity } from '@backstage/catalog-model';
16
16
  import { IconButton } from '@material-ui/core';
17
+ import { InfoCardVariants } from '@backstage/core-components';
17
18
  import { LinkProps } from '@backstage/core-components';
18
19
  import { Observable } from '@backstage/types';
19
20
  import { Overrides } from '@material-ui/core/styles/overrides';
@@ -383,7 +384,7 @@ export declare const EntityTable: {
383
384
  */
384
385
  export declare interface EntityTableProps<T extends Entity> {
385
386
  title: string;
386
- variant?: 'gridItem';
387
+ variant?: InfoCardVariants;
387
388
  entities: T[];
388
389
  emptyContent?: ReactNode;
389
390
  columns: TableColumn<T>[];
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
14
14
  import { CompoundEntityRef } from '@backstage/catalog-model';
15
15
  import { Entity } from '@backstage/catalog-model';
16
16
  import { IconButton } from '@material-ui/core';
17
+ import { InfoCardVariants } from '@backstage/core-components';
17
18
  import { LinkProps } from '@backstage/core-components';
18
19
  import { Observable } from '@backstage/types';
19
20
  import { Overrides } from '@material-ui/core/styles/overrides';
@@ -383,7 +384,7 @@ export declare const EntityTable: {
383
384
  */
384
385
  export declare interface EntityTableProps<T extends Entity> {
385
386
  title: string;
386
- variant?: 'gridItem';
387
+ variant?: InfoCardVariants;
387
388
  entities: T[];
388
389
  emptyContent?: ReactNode;
389
390
  columns: TableColumn<T>[];
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ import { ComponentProps } from 'react';
14
14
  import { CompoundEntityRef } from '@backstage/catalog-model';
15
15
  import { Entity } from '@backstage/catalog-model';
16
16
  import { IconButton } from '@material-ui/core';
17
+ import { InfoCardVariants } from '@backstage/core-components';
17
18
  import { LinkProps } from '@backstage/core-components';
18
19
  import { Observable } from '@backstage/types';
19
20
  import { Overrides } from '@material-ui/core/styles/overrides';
@@ -383,7 +384,7 @@ export declare const EntityTable: {
383
384
  */
384
385
  export declare interface EntityTableProps<T extends Entity> {
385
386
  title: string;
386
- variant?: 'gridItem';
387
+ variant?: InfoCardVariants;
387
388
  entities: T[];
388
389
  emptyContent?: ReactNode;
389
390
  columns: TableColumn<T>[];
package/dist/index.esm.js CHANGED
@@ -2025,7 +2025,8 @@ const UserListPicker = (props) => {
2025
2025
  className: classes.groupWrapper
2026
2026
  }, /* @__PURE__ */ React.createElement(List, {
2027
2027
  disablePadding: true,
2028
- dense: true
2028
+ dense: true,
2029
+ role: "menu"
2029
2030
  }, group.items.map((item) => {
2030
2031
  var _a2, _b;
2031
2032
  return /* @__PURE__ */ React.createElement(MenuItem, {
@@ -2036,7 +2037,8 @@ const UserListPicker = (props) => {
2036
2037
  selected: item.id === ((_a2 = filters.user) == null ? void 0 : _a2.value),
2037
2038
  className: classes.menuItem,
2038
2039
  disabled: filterCounts[item.id] === 0,
2039
- "data-testid": `user-picker-${item.id}`
2040
+ "data-testid": `user-picker-${item.id}`,
2041
+ tabIndex: 0
2040
2042
  }, item.icon && /* @__PURE__ */ React.createElement(ListItemIcon, {
2041
2043
  className: classes.listIcon
2042
2044
  }, /* @__PURE__ */ React.createElement(item.icon, {