@appscode/design-system 2.17.34-alpha → 2.17.35

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.34-alpha",
3
+ "version": "2.17.35",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -3,6 +3,7 @@ import { defineProps, defineEmits, type Component, defineAsyncComponent } from "
3
3
  import AcButton from "../../v3/button/Button.vue";
4
4
  const Skeletons = defineAsyncComponent(() => import("../skeleton/Skeletons.vue"));
5
5
  const Skeleton = defineAsyncComponent(() => import("../skeleton/Skeleton.vue"));
6
+
6
7
  interface UsageRow {
7
8
  icon?: Component;
8
9
  label: string;
@@ -11,7 +12,7 @@ interface UsageRow {
11
12
 
12
13
  type Header = string | { label: string; button?: boolean; text?: string };
13
14
 
14
- const props = withDefaults(
15
+ withDefaults(
15
16
  defineProps<{
16
17
  title?: string;
17
18
  thead?: Header[];
@@ -57,6 +58,15 @@ const handleHeaderButtonClick = (index: number) => {
57
58
  </div>
58
59
  </div>
59
60
 
61
+ <div v-if="tbody.length === 0 && !isLoaderActive" class="table-row">
62
+ <div class="table-cell" :style="{ gridColumn: `1 / -1`, textAlign: 'center' }">
63
+ <strong>
64
+ Resource Not Found
65
+ <i class="pl-5 fa fa-exclamation-circle" aria-hidden="true"></i>
66
+ </strong>
67
+ </div>
68
+ </div>
69
+
60
70
  <div v-for="(row, rowIndex) in tbody" :key="rowIndex" class="table-row">
61
71
  <div class="table-cell">
62
72
  <div class="is-flex gap-8">
@@ -12,7 +12,7 @@ interface UsageRow {
12
12
 
13
13
  type Header = string | { label: string; button?: boolean; text?: string };
14
14
 
15
- const props = withDefaults(
15
+ withDefaults(
16
16
  defineProps<{
17
17
  title?: string;
18
18
  thead?: Header[];
@@ -34,13 +34,6 @@ const appList = [
34
34
  port: "5996",
35
35
  sub_title: "Manage your databases",
36
36
  },
37
- {
38
- name: "observe",
39
- icon_url: "https://cdn.appscode.com/images/products/others/logos/perses.svg",
40
- title: "Perses",
41
- port: "5997",
42
- sub_title: "Analyze your activities",
43
- },
44
37
  {
45
38
  name: "grafana",
46
39
  icon_url: "https://cdn.appscode.com/images/products/others/logos/grafana.svg",