@appscode/design-system 2.2.11 → 2.2.13

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.11",
3
+ "version": "2.2.13",
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,62 @@
1
+ <script setup lang="ts">
2
+ interface Props {
3
+ modifierClasses?: string;
4
+ }
5
+
6
+ withDefaults(defineProps<Props>(), {
7
+ modifierClasses: "",
8
+ });
9
+ </script>
10
+
11
+ <template>
12
+ <div :class="modifierClasses" class="session-card p-16 is-fullwidth">
13
+ <div class="is-flex is-justify-content-space-between">
14
+ <div class="left-content is-flex is-flex-direction-column">
15
+ <div class="is-flex gap-6">
16
+ <div class="is-flex gap-8">
17
+ <div class="status-holder">
18
+ <slot name="card-status"></slot>
19
+ </div>
20
+ <div class="icon">
21
+ <slot name="card-icon"></slot>
22
+ </div>
23
+ </div>
24
+
25
+ <div class="is-flex is-flex-direction-column">
26
+ <slot name="card-info"></slot>
27
+ </div>
28
+ </div>
29
+ <slot name="tag-line"></slot>
30
+ </div>
31
+
32
+ <div>
33
+ <slot name="card-button"></slot>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </template>
38
+
39
+ <style lang="scss" scoped>
40
+ .session-card {
41
+ border-bottom: 1px solid $color-border;
42
+ background-color: $secondary-light-gray;
43
+ &:last-child {
44
+ border-bottom: none;
45
+ }
46
+ .left-content {
47
+ .status-holder {
48
+ width: 16px;
49
+ height: 16px;
50
+ margin-top: 8px;
51
+ }
52
+ .icon {
53
+ width: 32px;
54
+ height: 32px;
55
+ svg {
56
+ width: 32px;
57
+ height: 32px;
58
+ }
59
+ }
60
+ }
61
+ }
62
+ </style>
@@ -50,6 +50,7 @@ const AcButton = defineAsyncComponent(() => import("./../button/Button.vue"));
50
50
  @click.stop="closeModal"
51
51
  title="Cancel"
52
52
  modifier-classes="is-outlined"
53
+ :disabled="isDeleteActive"
53
54
  data-testid="delete-confirmation-modal-close-button"
54
55
  />
55
56
  <ac-button