@appscode/design-system 2.17.39 → 2.17.40

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.17.39",
3
+ "version": "2.17.40",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -6,12 +6,14 @@ interface Props {
6
6
  modifierClasses?: string;
7
7
  message?: string;
8
8
  hasCrossIcon?: boolean;
9
+ hasIcon?: boolean;
9
10
  }
10
11
 
11
12
  withDefaults(defineProps<Props>(), {
12
13
  modifierClasses: "",
13
14
  message: "",
14
15
  hasCrossIcon: false,
16
+ hasIcon: false,
15
17
  });
16
18
 
17
19
  const showAlert = ref(true);
@@ -25,7 +27,7 @@ function hideAlert() {
25
27
  <div class="message-body is-justify-content-space-between">
26
28
  <div class="is-flex is-flex-direction-column gap-4 is-fullwidth">
27
29
  <div class="is-flex is-align-items-center gap-8">
28
- <span class="status-icon">
30
+ <span class="status-icon" v-if="hasIcon">
29
31
  <slot name="icon"></slot>
30
32
  </span>
31
33
  <p v-if="message">{{ message }}</p>
@@ -4,7 +4,6 @@ import ArrowIcon from "../icons/ArrowIcon.vue";
4
4
  import AcButton from "../button/Button.vue";
5
5
  import HeaderItem from "../header/HeaderItem.vue";
6
6
  import HeaderItems from "../header/HeaderItems.vue";
7
- import HeroiconsArrowUturnLeft20Solid from "~icons/heroicons/arrow-uturn-left-20-solid.svg";
8
7
 
9
8
  interface Props {
10
9
  title?: string;