@appscode/design-system 2.6.22-alpha-0.0.14 → 2.6.22-alpha-0.0.16

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.6.22-alpha-0.0.14",
3
+ "version": "2.6.22-alpha-0.0.16",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -44,6 +44,9 @@
44
44
  border-color: transparent transparent $ac-primary $ac-primary !important;
45
45
  }
46
46
  }
47
+ &.is-soft:not(:hover) {
48
+ border-color: hsl(var(--primary-hue), 30%, 80%);
49
+ }
47
50
  }
48
51
  }
49
52
  &.is-warning {
@@ -56,6 +59,9 @@
56
59
  border-color: transparent;
57
60
  }
58
61
  }
62
+ &.is-soft:not(:hover) {
63
+ border-color: hsl($yellow-hue, 30%, 80%);
64
+ }
59
65
  }
60
66
  &.is-info {
61
67
  &.is-light {
@@ -67,6 +73,9 @@
67
73
  border-color: transparent;
68
74
  }
69
75
  }
76
+ &.is-soft:not(:hover) {
77
+ border-color: hsl($blue-hue, 30%, 80%);
78
+ }
70
79
  }
71
80
  &.is-danger {
72
81
  &.is-light {
@@ -78,6 +87,9 @@
78
87
  border-color: transparent;
79
88
  }
80
89
  }
90
+ &.is-soft:not(:hover) {
91
+ border-color: hsl($red-hue, 30%, 80%);
92
+ }
81
93
  }
82
94
 
83
95
  &.is-success {
@@ -90,6 +102,9 @@
90
102
  border-color: transparent;
91
103
  }
92
104
  }
105
+ &.is-soft:not(:hover) {
106
+ border-color: hsl($green-hue, 30%, 80%);
107
+ }
93
108
  }
94
109
  &.is-light {
95
110
  &.is-loading {
@@ -17,7 +17,6 @@
17
17
  height: 100%;
18
18
  background-color: #e7f4ee;
19
19
  background-image: url("../../images/banners/banner-overlay.png");
20
- background-color: lightgray;
21
20
  background-position: 0% 0%;
22
21
  backdrop-filter: blur(142px);
23
22
  z-index: -1;
@@ -25,11 +24,15 @@
25
24
  }
26
25
 
27
26
  .solid-tab {
27
+ ul {
28
+ border-color: transparent !important;
29
+ }
28
30
  li {
29
31
  a {
30
32
  padding: 16px 0px !important;
31
33
  margin-right: 32px;
32
34
  transition: 0.3s ease-in-out;
35
+ border-bottom-color: transparent;
33
36
  }
34
37
 
35
38
  &.is-active,
@@ -167,7 +170,10 @@
167
170
  .avatar-group {
168
171
  display: flex;
169
172
  gap: 4px;
170
-
173
+ .more-avatar {
174
+ margin-left: -8px;
175
+ z-index: 9;
176
+ }
171
177
  .avatar-link {
172
178
  display: inline-block;
173
179
  &:hover {
@@ -1,16 +1,20 @@
1
- <script lang="ts" setup>
1
+ <script setup lang="ts">
2
2
  import { ref } from 'vue';
3
3
  import ArrowIcon from '../icons/ArrowIcon.vue';
4
4
  import AcButton from "../button/Button.vue";
5
+ import HeaderItem from '../header/HeaderItem.vue';
6
+ import HeaderItems from '../header/HeaderItems.vue';
5
7
 
6
8
  interface Props {
7
9
  title?: string,
8
- isExpandable?: boolean
10
+ isExpandable?: boolean,
11
+ custom?: boolean
9
12
  }
10
13
 
11
14
  withDefaults(defineProps<Props>(), {
12
15
  title: '',
13
- isExpandable: false
16
+ isExpandable: false,
17
+ custom: false
14
18
  })
15
19
 
16
20
  const isOpen = ref(true)
@@ -21,9 +25,17 @@ const isOpen = ref(true)
21
25
  <div class="container px-5">
22
26
  <div class="columns is-multiline">
23
27
  <div class="section-card is-fullwidth">
24
- <div
25
- class="section-heading is-fullwidth is-flex is-align-items-center is-justify-content-space-between">
26
- <h4>{{ title }}</h4>
28
+ <div class="section-heading is-fullwidth is-flex is-align-items-center is-justify-content-space-between">
29
+ <header-items>
30
+ <header-item>
31
+ <div v-if="custom">
32
+ <slot name="custom-header" />
33
+ </div>
34
+ <div v-else>
35
+ <h4 :key="title">{{ title }}</h4>
36
+ </div>
37
+ </header-item>
38
+ </header-items>
27
39
  <!-- Add buttons here -->
28
40
  <div class="buttons is-right">
29
41
  <slot name="header-buttons" />