@appscode/design-system 2.17.38 → 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.38",
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": {
@@ -151,6 +151,7 @@
151
151
  .section-card:not(.reset-style) {
152
152
  border: 1px solid $color-border;
153
153
  border-radius: 4px;
154
+ height: -webkit-fill-available;
154
155
  .section-heading {
155
156
  border-bottom: 1px solid $color-border;
156
157
  background-color: $secondary-light-grey;
@@ -19,6 +19,8 @@ $scroll-highlight: darken($cool-gray, 10%);
19
19
  display: inline-flex;
20
20
  flex-direction: column;
21
21
  border-radius: 8px;
22
+ position: absolute;
23
+ z-index: 99;
22
24
  }
23
25
 
24
26
  /* ========== Header ========== */
@@ -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;