@appscode/design-system 2.2.48 → 2.2.49

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": "@appscode/design-system",
3
- "version": "2.2.48",
3
+ "version": "2.2.49",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -11,6 +11,16 @@
11
11
  padding: 30px 20px 20px;
12
12
  cursor: pointer;
13
13
 
14
+ &.is-small {
15
+ padding: 16px;
16
+ .ac-card-logo {
17
+ width: 48px;
18
+ height: 48px;
19
+ margin-bottom: 12px;
20
+ padding: 8px;
21
+ }
22
+ }
23
+
14
24
  .ac-card-name {
15
25
  p {
16
26
  font-size: 13px;
@@ -3,18 +3,20 @@ interface Props {
3
3
  title?: string;
4
4
  subTitle?: string;
5
5
  logo?: string;
6
+ size?: string;
6
7
  }
7
8
 
8
9
  withDefaults(defineProps<Props>(), {
9
10
  title: "no title",
10
11
  subTitle: "",
11
12
  logo: "https://bb-developer-v1.web.app/_nuxt/img/azure-logo.4fa9281.svg",
13
+ size: "",
12
14
  });
13
15
  </script>
14
16
 
15
17
  <template>
16
18
  <!-- use "is-selected" for select item -->
17
- <div class="ac-single-card vendor-card has-text-centered">
19
+ <div class="ac-single-card vendor-card has-text-centered" :class="size">
18
20
  <div class="ac-card-logo">
19
21
  <div class="card-status" />
20
22
  <img :src="logo" alt="vendor logo" />