From 995945b7654512b91043cdae44a85c216247fef0 Mon Sep 17 00:00:00 2001 From: nikek Date: Tue, 3 Mar 2020 17:45:58 +0100 Subject: [PATCH] add Alert component deps --- .../cli/templates/default-plugin/package.json.hbs | 3 +++ .../ExampleFetchComponent.tsx.hbs | 2 +- frontend/yarn.lock | 13 ++++++++++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/frontend/packages/cli/templates/default-plugin/package.json.hbs b/frontend/packages/cli/templates/default-plugin/package.json.hbs index f674201821850..e1b53882a8bd1 100644 --- a/frontend/packages/cli/templates/default-plugin/package.json.hbs +++ b/frontend/packages/cli/templates/default-plugin/package.json.hbs @@ -12,5 +12,8 @@ }, "devDependencies": { "@spotify/web-scripts": "^6.0.0" + }, + "dependencies": { + "@material-ui/lab": "4.0.0-alpha.45" } } diff --git a/frontend/packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs b/frontend/packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs index 882797b2630fb..8c1ebcf17d5c6 100644 --- a/frontend/packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs +++ b/frontend/packages/cli/templates/default-plugin/src/components/ExampleFetchComponent/ExampleFetchComponent.tsx.hbs @@ -57,7 +57,7 @@ export const DenseTable: FC = ({ users }) => { {users.map(user => ( - + {user.name.first} {user.name.last} diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 9cfb48c7e2f60..4941d0b8491b8 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2308,6 +2308,17 @@ dependencies: "@babel/runtime" "^7.4.4" +"@material-ui/lab@4.0.0-alpha.45": + version "4.0.0-alpha.45" + resolved "https://registry.npmjs.org/@material-ui/lab/-/lab-4.0.0-alpha.45.tgz#6e1abbdd6e44b9ef7b3eff8ef892a3da5dc52f10" + integrity sha512-zT6kUU87SHsPukiu3tlWg8V6o0tGS38c1b/xst/kPqX6eLbfqrROyxhHn1A8ZtHmqga1AKQdv/1llQoG80Afww== + dependencies: + "@babel/runtime" "^7.4.4" + "@material-ui/utils" "^4.7.1" + clsx "^1.0.4" + prop-types "^15.7.2" + react-is "^16.8.0" + "@material-ui/styles@^4.9.0": version "4.9.0" resolved "https://registry.npmjs.org/@material-ui/styles/-/styles-4.9.0.tgz#10c31859f6868cfa9d3adf6b6c3e32c9d676bc76" @@ -5057,7 +5068,7 @@ clone@^1.0.2: resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= -clsx@^1.0.2: +clsx@^1.0.2, clsx@^1.0.4: version "1.1.0" resolved "https://registry.npmjs.org/clsx/-/clsx-1.1.0.tgz#62937c6adfea771247c34b54d320fb99624f5702" integrity sha512-3avwM37fSK5oP6M5rQ9CNe99lwxhXDOeSWVPAOYF6OazUTgZCMb0yWlJpmdD74REy1gkEaFiub2ULv4fq9GUhA==