@appscode/design-system 1.1.0-alpha.13 → 1.1.0-alpha.15
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
|
@@ -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>
|