@vidispine/cra-template-vdt 22.4.0-pre.2 → 22.4.0-pre.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidispine/cra-template-vdt",
3
- "version": "22.4.0-pre.2",
3
+ "version": "22.4.0-pre.4",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -20,9 +20,9 @@
20
20
  "template.json"
21
21
  ],
22
22
  "devDependencies": {
23
- "@vidispine/eslint-config": "22.4.0-pre.2",
24
- "@vidispine/eslint-config-mdx": "22.4.0-pre.2",
25
- "@vidispine/prettier-config": "22.4.0-pre.2",
23
+ "@vidispine/eslint-config": "22.4.0-pre.4",
24
+ "@vidispine/eslint-config-mdx": "22.4.0-pre.4",
25
+ "@vidispine/prettier-config": "22.4.0-pre.4",
26
26
  "eslint": "8.23.1",
27
27
  "prettier": "2.7.1"
28
28
  },
@@ -18,7 +18,7 @@ const styles = (theme) => ({
18
18
  drawerPaper: {
19
19
  position: 'relative',
20
20
  whiteSpace: 'nowrap',
21
- width: theme.spacing(20),
21
+ width: theme.spacing(22),
22
22
  transition: theme.transitions.create('width', {
23
23
  easing: theme.transitions.easing.sharp,
24
24
  duration: theme.transitions.duration.enteringScreen,
@@ -32,9 +32,12 @@ const styles = (theme) => ({
32
32
  }),
33
33
  width: theme.spacing(7),
34
34
  [theme.breakpoints.up('sm')]: {
35
- width: theme.spacing(9),
35
+ width: theme.spacing(8),
36
36
  },
37
37
  },
38
+ listItemIcon: {
39
+ minWidth: 48,
40
+ },
38
41
  appBarSpacer: theme.mixins.toolbar,
39
42
  });
40
43
 
@@ -50,7 +53,7 @@ function Drawer({ classes, open }) {
50
53
  <div className={classes.appBarSpacer} />
51
54
  <List>
52
55
  <ListItem button component={NavLink} activeClassName="Mui-selected" to={SearchItemPath()}>
53
- <ListItemIcon>
56
+ <ListItemIcon className={classes.listItemIcon}>
54
57
  <WebAssetIcon />
55
58
  </ListItemIcon>
56
59
  <ListItemText primary="Items" />
@@ -61,7 +64,7 @@ function Drawer({ classes, open }) {
61
64
  activeClassName="Mui-selected"
62
65
  to={SearchCollectionPath()}
63
66
  >
64
- <ListItemIcon>
67
+ <ListItemIcon className={classes.listItemIcon}>
65
68
  <CollectionsIcon />
66
69
  </ListItemIcon>
67
70
  <ListItemText primary="Collections" />
@@ -1,4 +1,4 @@
1
- import { withStyles, Card, CardHeader, CardContent } from '@material-ui/core';
1
+ import { withStyles, Card, CardContent } from '@material-ui/core';
2
2
 
3
3
  import { SearchInput, CollectionList } from '@vidispine/vdt-materialui';
4
4
 
@@ -20,12 +20,12 @@ function SearchCollection({ classes }) {
20
20
  return (
21
21
  <div className={classes.root}>
22
22
  <Card variant="outlined">
23
- <CardHeader title="Search For Collections" />
24
23
  <CardContent>
25
24
  <SearchInput
26
25
  className={classes.SearchInput}
27
26
  onSubmit={onSearchCollection}
28
27
  submitting={isLoading}
28
+ searchPlaceholder="Search for collections"
29
29
  />
30
30
  <CollectionList
31
31
  className={classes.ItemList}
@@ -1,4 +1,4 @@
1
- import { withStyles, Card, CardHeader, CardContent } from '@material-ui/core';
1
+ import { withStyles, Card, CardContent } from '@material-ui/core';
2
2
 
3
3
  import { SearchInput, ItemList } from '@vidispine/vdt-materialui';
4
4
 
@@ -20,12 +20,12 @@ function SearchItem({ classes }) {
20
20
  return (
21
21
  <div className={classes.root}>
22
22
  <Card variant="outlined">
23
- <CardHeader title="Search For Items" />
24
23
  <CardContent>
25
24
  <SearchInput
26
25
  className={classes.SearchInput}
27
26
  onSubmit={onSearchItem}
28
27
  submitting={isLoading}
28
+ searchPlaceholder="Search for items"
29
29
  />
30
30
  <ItemList
31
31
  className={classes.ItemList}
package/template.json CHANGED
@@ -7,9 +7,9 @@
7
7
  "@material-ui/core": "^4.12.4",
8
8
  "@material-ui/icons": "^4.11.3",
9
9
  "@material-ui/lab": "^4.0.0-alpha.61",
10
- "@vidispine/vdt-api": "22.4.0-pre.2",
11
- "@vidispine/vdt-materialui": "22.4.0-pre.2",
12
- "@vidispine/vdt-react": "22.4.0-pre.2",
10
+ "@vidispine/vdt-api": "22.4.0-pre.4",
11
+ "@vidispine/vdt-materialui": "22.4.0-pre.4",
12
+ "@vidispine/vdt-react": "22.4.0-pre.4",
13
13
  "clsx": "^1.2.1",
14
14
  "react": "^17.0.2",
15
15
  "react-dom": "^17.0.2",
@@ -18,8 +18,9 @@
18
18
  "typeface-roboto": "^1.1.13"
19
19
  },
20
20
  "devDependencies": {
21
- "@vidispine/eslint-config": "22.4.0-pre.2",
22
- "@vidispine/prettier-config": "22.4.0-pre.2",
21
+ "@vidispine/eslint-config": "22.4.0-pre.4",
22
+ "@vidispine/prettier-config": "22.4.0-pre.4",
23
+ "eslint": "^8.25.0",
23
24
  "http-proxy-middleware": "^2.0.6",
24
25
  "prettier": "^2.7.1"
25
26
  },