@appscode/design-system 2.1.3 → 2.1.5

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.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -116,7 +116,7 @@
116
116
 
117
117
  strong {
118
118
  max-width: calc(100% - 65px);
119
- line-break: anywhere;
119
+ line-break: auto;
120
120
  white-space: break-spaces;
121
121
  display: flex;
122
122
  align-items: center;
@@ -1,7 +1,11 @@
1
+ <script setup lang="ts">
2
+ withDefaults(defineProps<{ bannerClass: string }>(), { bannerClass: "has-text-danger" });
3
+ </script>
4
+
1
5
  <template>
2
6
  <div class="sign-up-notification mb-20">
3
7
  <div class="has-text-centered">
4
- <h3><slot name="banner-title">Error!</slot></h3>
8
+ <h3 :class="bannerClass"><slot name="banner-title">Error!</slot></h3>
5
9
  <slot><p>Oops!! There was an error while loading!</p></slot>
6
10
  </div>
7
11
  </div>