@backstage/plugin-catalog-react 1.1.0 → 1.1.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 +47 -0
- package/alpha/package.json +1 -1
- package/dist/index.esm.js +21 -16
- package/dist/index.esm.js.map +1 -1
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @backstage/plugin-catalog-react
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1f70704580: Accessibility updates:
|
|
8
|
+
|
|
9
|
+
- Wrapped the `EntityLifecyclePicker`, `EntityOwnerPicker`, `EntityTagPicker`, in `label` elements
|
|
10
|
+
- Changed group name `Typography` component to `span` (from default `h6`), added `aria-label` to the `List` component, and `role` of `menuitem` to the container of the `MenuItem` component
|
|
11
|
+
|
|
12
|
+
- 568f2d1e75: Table component no longer has drag and drop columns by default
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- @backstage/plugin-catalog-common@1.0.3
|
|
15
|
+
- @backstage/core-components@0.9.5
|
|
16
|
+
- @backstage/integration@1.2.1
|
|
17
|
+
- @backstage/catalog-client@1.0.3
|
|
18
|
+
- @backstage/core-plugin-api@1.0.3
|
|
19
|
+
- @backstage/plugin-permission-common@0.6.2
|
|
20
|
+
- @backstage/catalog-model@1.0.3
|
|
21
|
+
- @backstage/plugin-permission-react@0.4.2
|
|
22
|
+
|
|
23
|
+
## 1.1.1-next.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- @backstage/core-components@0.9.5-next.1
|
|
29
|
+
- @backstage/catalog-client@1.0.3-next.0
|
|
30
|
+
- @backstage/core-plugin-api@1.0.3-next.0
|
|
31
|
+
- @backstage/integration@1.2.1-next.1
|
|
32
|
+
- @backstage/plugin-permission-common@0.6.2-next.0
|
|
33
|
+
- @backstage/catalog-model@1.0.3-next.0
|
|
34
|
+
- @backstage/plugin-permission-react@0.4.2-next.0
|
|
35
|
+
- @backstage/plugin-catalog-common@1.0.3-next.0
|
|
36
|
+
|
|
37
|
+
## 1.1.1-next.0
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- 1f70704580: Accessibility updates:
|
|
42
|
+
|
|
43
|
+
- Wrapped the `EntityLifecyclePicker`, `EntityOwnerPicker`, `EntityTagPicker`, in `label` elements
|
|
44
|
+
- Changed group name `Typography` component to `span` (from default `h6`), added `aria-label` to the `List` component, and `role` of `menuitem` to the container of the `MenuItem` component
|
|
45
|
+
|
|
46
|
+
- Updated dependencies
|
|
47
|
+
- @backstage/core-components@0.9.5-next.0
|
|
48
|
+
- @backstage/integration@1.2.1-next.0
|
|
49
|
+
|
|
3
50
|
## 1.1.0
|
|
4
51
|
|
|
5
52
|
### Minor Changes
|
package/alpha/package.json
CHANGED
package/dist/index.esm.js
CHANGED
|
@@ -728,9 +728,9 @@ const EntityLifecyclePicker = () => {
|
|
|
728
728
|
pb: 1,
|
|
729
729
|
pt: 1
|
|
730
730
|
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
731
|
-
variant: "button"
|
|
732
|
-
|
|
733
|
-
|
|
731
|
+
variant: "button",
|
|
732
|
+
component: "label"
|
|
733
|
+
}, "Lifecycle", /* @__PURE__ */ React.createElement(Autocomplete, {
|
|
734
734
|
multiple: true,
|
|
735
735
|
options: availableLifecycles,
|
|
736
736
|
value: selectedLifecycles,
|
|
@@ -752,7 +752,7 @@ const EntityLifecyclePicker = () => {
|
|
|
752
752
|
className: classes.input,
|
|
753
753
|
variant: "outlined"
|
|
754
754
|
})
|
|
755
|
-
}));
|
|
755
|
+
})));
|
|
756
756
|
};
|
|
757
757
|
|
|
758
758
|
const useStyles$a = makeStyles({
|
|
@@ -796,10 +796,10 @@ const EntityOwnerPicker = () => {
|
|
|
796
796
|
pb: 1,
|
|
797
797
|
pt: 1
|
|
798
798
|
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
799
|
-
variant: "button"
|
|
800
|
-
|
|
799
|
+
variant: "button",
|
|
800
|
+
component: "label"
|
|
801
|
+
}, "Owner", /* @__PURE__ */ React.createElement(Autocomplete, {
|
|
801
802
|
multiple: true,
|
|
802
|
-
"aria-label": "Owner",
|
|
803
803
|
options: availableOwners,
|
|
804
804
|
value: selectedOwners,
|
|
805
805
|
onChange: (_, value) => setSelectedOwners(value),
|
|
@@ -820,7 +820,7 @@ const EntityOwnerPicker = () => {
|
|
|
820
820
|
className: classes.input,
|
|
821
821
|
variant: "outlined"
|
|
822
822
|
})
|
|
823
|
-
}));
|
|
823
|
+
})));
|
|
824
824
|
};
|
|
825
825
|
|
|
826
826
|
const useStyles$9 = makeStyles((_theme) => ({
|
|
@@ -1024,7 +1024,8 @@ const EntityTable = (props) => {
|
|
|
1024
1024
|
search: false,
|
|
1025
1025
|
paging: false,
|
|
1026
1026
|
actionsColumnIndex: -1,
|
|
1027
|
-
padding: "dense"
|
|
1027
|
+
padding: "dense",
|
|
1028
|
+
draggable: false
|
|
1028
1029
|
},
|
|
1029
1030
|
data: entities
|
|
1030
1031
|
});
|
|
@@ -1080,10 +1081,10 @@ const EntityTagPicker = () => {
|
|
|
1080
1081
|
pb: 1,
|
|
1081
1082
|
pt: 1
|
|
1082
1083
|
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
1083
|
-
variant: "button"
|
|
1084
|
-
|
|
1084
|
+
variant: "button",
|
|
1085
|
+
component: "label"
|
|
1086
|
+
}, "Tags", /* @__PURE__ */ React.createElement(Autocomplete, {
|
|
1085
1087
|
multiple: true,
|
|
1086
|
-
"aria-label": "Tags",
|
|
1087
1088
|
options: availableTags,
|
|
1088
1089
|
value: selectedTags,
|
|
1089
1090
|
onChange: (_, value) => setSelectedTags(value),
|
|
@@ -1104,7 +1105,7 @@ const EntityTagPicker = () => {
|
|
|
1104
1105
|
className: classes.input,
|
|
1105
1106
|
variant: "outlined"
|
|
1106
1107
|
})
|
|
1107
|
-
}));
|
|
1108
|
+
})));
|
|
1108
1109
|
};
|
|
1109
1110
|
|
|
1110
1111
|
const EntityTypePicker = (props) => {
|
|
@@ -2032,16 +2033,19 @@ const UserListPicker = (props) => {
|
|
|
2032
2033
|
key: group.name
|
|
2033
2034
|
}, /* @__PURE__ */ React.createElement(Typography, {
|
|
2034
2035
|
variant: "subtitle2",
|
|
2036
|
+
component: "span",
|
|
2035
2037
|
className: classes.title
|
|
2036
2038
|
}, group.name), /* @__PURE__ */ React.createElement(Card, {
|
|
2037
2039
|
className: classes.groupWrapper
|
|
2038
2040
|
}, /* @__PURE__ */ React.createElement(List, {
|
|
2039
2041
|
disablePadding: true,
|
|
2040
2042
|
dense: true,
|
|
2041
|
-
role: "menu"
|
|
2043
|
+
role: "menu",
|
|
2044
|
+
"aria-label": group.name
|
|
2042
2045
|
}, group.items.map((item) => {
|
|
2043
2046
|
var _a2, _b;
|
|
2044
2047
|
return /* @__PURE__ */ React.createElement(MenuItem, {
|
|
2048
|
+
role: "none presentation",
|
|
2045
2049
|
key: item.id,
|
|
2046
2050
|
button: true,
|
|
2047
2051
|
divider: true,
|
|
@@ -2050,14 +2054,15 @@ const UserListPicker = (props) => {
|
|
|
2050
2054
|
className: classes.menuItem,
|
|
2051
2055
|
disabled: filterCounts[item.id] === 0,
|
|
2052
2056
|
"data-testid": `user-picker-${item.id}`,
|
|
2053
|
-
tabIndex: 0
|
|
2057
|
+
tabIndex: 0,
|
|
2058
|
+
ContainerProps: { role: "menuitem" }
|
|
2054
2059
|
}, item.icon && /* @__PURE__ */ React.createElement(ListItemIcon, {
|
|
2055
2060
|
className: classes.listIcon
|
|
2056
2061
|
}, /* @__PURE__ */ React.createElement(item.icon, {
|
|
2057
2062
|
fontSize: "small"
|
|
2058
2063
|
})), /* @__PURE__ */ React.createElement(ListItemText$1, null, /* @__PURE__ */ React.createElement(Typography, {
|
|
2059
2064
|
variant: "body1"
|
|
2060
|
-
}, item.label)), /* @__PURE__ */ React.createElement(ListItemSecondaryAction, null, (_b = filterCounts[item.id]) != null ? _b : "-"));
|
|
2065
|
+
}, item.label, " ")), /* @__PURE__ */ React.createElement(ListItemSecondaryAction, null, (_b = filterCounts[item.id]) != null ? _b : "-"));
|
|
2061
2066
|
}))))));
|
|
2062
2067
|
};
|
|
2063
2068
|
|