@appscode/design-system 2.0.6-alpha.2 → 2.0.6-alpha.3
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 +1 -1
- package/vue-components/styles/components/_payment-card.scss +1 -1
- package/vue-components/styles/components/bbum/_sign-up-notification.scss +2 -2
- package/vue-components/styles/components/bbum/_single-post-preview.scss +6 -6
- package/vue-components/styles/components/bbum/_user-profile.scss +0 -4
- package/vue-components/styles/layouts/_404.scss +0 -4
- package/vue-components/v3/alert/AlertMessage.vue +61 -0
- package/vue-components/v3/cards/Cluster.vue +5 -1
- package/vue-components/v3/navbar/User.vue +1 -5
package/package.json
CHANGED
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
content: "";
|
|
86
86
|
width: 100%;
|
|
87
87
|
height: 100%;
|
|
88
|
-
background-image: url("~@appscode/design-system-images/payment-card/expire-msg-bg.svg");
|
|
88
|
+
// background-image: url("~@appscode/design-system-images/payment-card/expire-msg-bg.svg");
|
|
89
89
|
top: 0;
|
|
90
90
|
left: 0;
|
|
91
91
|
z-index: -1;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
height: 100%;
|
|
13
13
|
left: 15px;
|
|
14
14
|
bottom: 0;
|
|
15
|
-
background-image: url("~@appscode/design-system-images/icons/bb-large-icon.svg");
|
|
15
|
+
// background-image: url("~@appscode/design-system-images/icons/bb-large-icon.svg");
|
|
16
16
|
background-size: cover;
|
|
17
17
|
background-position: center;
|
|
18
18
|
background-repeat: no-repeat;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
background-position: center;
|
|
32
32
|
background-repeat: no-repeat;
|
|
33
33
|
width: 214px;
|
|
34
|
-
background-image: url("~@appscode/design-system-images/icons/bb-large-icon-2.svg");
|
|
34
|
+
// background-image: url("~@appscode/design-system-images/icons/bb-large-icon-2.svg");
|
|
35
35
|
z-index: -1;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
background-repeat: no-repeat;
|
|
115
115
|
background-size: cover;
|
|
116
116
|
|
|
117
|
-
&.banner-1 {
|
|
118
|
-
|
|
119
|
-
}
|
|
117
|
+
// &.banner-1 {
|
|
118
|
+
// background-image: url("~@appscode/design-system-images/banner/post-banner-1.jpg");
|
|
119
|
+
// }
|
|
120
120
|
|
|
121
|
-
&.banner-2 {
|
|
122
|
-
|
|
123
|
-
}
|
|
121
|
+
// &.banner-2 {
|
|
122
|
+
// background-image: url("~@appscode/design-system-images/banner/post-banner-2.jpg");
|
|
123
|
+
// }
|
|
124
124
|
|
|
125
125
|
img {
|
|
126
126
|
width: 100%;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
interface Props {
|
|
3
|
+
modifierClasses?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
withDefaults(defineProps<Props>(), {
|
|
8
|
+
modifierClasses: "",
|
|
9
|
+
message:
|
|
10
|
+
"Lorem, ipsum dolor sit amet consectetur adipisicing elit. Ut eum deserunt facilis natus ipsum eligendi! Consequuntur illo repudiandae at eius nam, ab omnis eveniet obcaecati.",
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<div :class="modifierClasses" class="message is-success">
|
|
16
|
+
<div class="message-body">
|
|
17
|
+
<span class="status-icon">
|
|
18
|
+
<slot name="icon"></slot>
|
|
19
|
+
</span>
|
|
20
|
+
<p>{{ message }}</p>
|
|
21
|
+
|
|
22
|
+
<button class="button is-text">
|
|
23
|
+
<span class="icon"
|
|
24
|
+
><svg
|
|
25
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
26
|
+
fill="none"
|
|
27
|
+
viewBox="0 0 24 24"
|
|
28
|
+
stroke-width="1.5"
|
|
29
|
+
stroke="currentColor"
|
|
30
|
+
class="w-6 h-6"
|
|
31
|
+
>
|
|
32
|
+
<path
|
|
33
|
+
stroke-linecap="round"
|
|
34
|
+
stroke-linejoin="round"
|
|
35
|
+
d="M6 18L18 6M6 6l12 12"
|
|
36
|
+
/>
|
|
37
|
+
</svg>
|
|
38
|
+
</span>
|
|
39
|
+
</button>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<style lang="scss" scoped>
|
|
45
|
+
.message {
|
|
46
|
+
.message-body {
|
|
47
|
+
display: flex;
|
|
48
|
+
padding: 16px;
|
|
49
|
+
gap: 12px;
|
|
50
|
+
align-items: center;
|
|
51
|
+
p {
|
|
52
|
+
line-height: 160%;
|
|
53
|
+
width: calc(100% - 48px);
|
|
54
|
+
}
|
|
55
|
+
.status-icon {
|
|
56
|
+
display: flex;
|
|
57
|
+
width: 24px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
</style>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { defineAsyncComponent } from "vue";
|
|
3
|
+
import SvgSpinners270Ring from "~icons/svg-spinners/270-ring";
|
|
3
4
|
interface Props {
|
|
4
5
|
clusterData?: {
|
|
5
6
|
name?: string;
|
|
6
7
|
providerIcon?: string;
|
|
7
|
-
tags?: Array<{ value: string; class: string }>;
|
|
8
|
+
tags?: Array<{ value: string; class: string; isSpinner?: boolean }>;
|
|
8
9
|
details?: Array<{ title: string; value: string }>;
|
|
9
10
|
};
|
|
10
11
|
modifierClasses?: string;
|
|
@@ -47,6 +48,9 @@ const OptionDots = defineAsyncComponent(
|
|
|
47
48
|
:key="idx + tag.value"
|
|
48
49
|
:class="tag.class"
|
|
49
50
|
:data-testid="idx === 0 ? 'cluster-status-text' : undefined"
|
|
51
|
+
class="is-flex is-align-center gap-4"
|
|
52
|
+
><span v-if="tag?.isSpinner || false" class="is-flex gap-4"
|
|
53
|
+
><SvgSpinners270Ring /></span
|
|
50
54
|
>{{ tag.value }}</span
|
|
51
55
|
>
|
|
52
56
|
</div>
|
|
@@ -115,11 +115,7 @@ watch(dropDownStatus, (n) => {
|
|
|
115
115
|
|
|
116
116
|
<template #navbar-content>
|
|
117
117
|
<navbar-item-content class="navbar-dropdown-wrapper">
|
|
118
|
-
<div
|
|
119
|
-
v-if="user.username"
|
|
120
|
-
class="user-profile-wrapper"
|
|
121
|
-
@mouseleave="onMouseLeave()"
|
|
122
|
-
>
|
|
118
|
+
<div v-if="user.username" class="user-profile-wrapper">
|
|
123
119
|
<a
|
|
124
120
|
:href="`${serverDomain}/${user.username}`"
|
|
125
121
|
:title="user.username.toUpperCase()"
|