@appscode/design-system 1.1.0-alpha.12 → 1.1.0-alpha.14

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.
@@ -13,7 +13,7 @@
13
13
  justify-content: flex-start;
14
14
  position: relative;
15
15
  z-index: 1;
16
- min-width: 280px;
16
+ justify-content: flex-start;
17
17
 
18
18
  p {
19
19
  color: $ac-primary;
@@ -55,7 +55,6 @@
55
55
  }
56
56
  }
57
57
 
58
-
59
58
  .toast {
60
59
  box-shadow: $ac-shadow-sm;
61
60
  border: 1px solid $ac-white-light;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "1.1.0-alpha.12",
3
+ "version": "1.1.0-alpha.14",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -0,0 +1,51 @@
1
+ <script setup lang="ts">
2
+ const { showOptionButtons } = withDefaults(
3
+ defineProps<{ showOptionButtons: boolean }>(),
4
+ { showOptionButtons: false }
5
+ )
6
+ </script>
7
+ <template>
8
+ <div class="card-details">
9
+ <div class="c-header">
10
+ <div class="c-logo">
11
+ <img src="" alt="" />
12
+ </div>
13
+ <div class="c-content">
14
+ <div class="is-flex is-justify-content-space-between">
15
+ <h4><slot name="card-title" /></h4>
16
+ <div v-if="showOptionButtons" class="ac-options is-right">
17
+ <div class="option-dots">
18
+ <div class="icon">
19
+ <svg
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ fill="none"
22
+ viewBox="0 0 24 24"
23
+ stroke-width="1.5"
24
+ stroke="currentColor"
25
+ class="w-6 h-6"
26
+ >
27
+ <path
28
+ stroke-linecap="round"
29
+ stroke-linejoin="round"
30
+ d="M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"
31
+ ></path>
32
+ </svg>
33
+ </div>
34
+ </div>
35
+ <ul class="options-items is-hidden">
36
+ <div class="items-inner">
37
+ <slot name="option-buttons" />
38
+ </div>
39
+ </ul>
40
+ </div>
41
+ </div>
42
+ <div class="tags">
43
+ <slot name="card-tags" />
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <div class="c-body">
48
+ <slot name="card-body" />
49
+ </div>
50
+ </div>
51
+ </template>
@@ -0,0 +1,6 @@
1
+ <template>
2
+ <p>
3
+ <span><slot name="row-title" /></span>
4
+ <strong><slot name="row-value" /></strong>
5
+ </p>
6
+ </template>
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <div class="is-flex is-flex-wrap-wrap" style="gap: 8px">
3
+ <slot />
4
+ </div>
5
+ </template>