@appscode/design-system 2.6.22-alpha-0.0.11 → 2.6.22-alpha-0.0.13

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/main.scss CHANGED
@@ -29,5 +29,6 @@
29
29
  @import "@/components/vue-components/styles/components/ui-builder/ui-builder";
30
30
  @import "@/components/vue-components/styles/components/dropdown";
31
31
  @import "@/components/vue-components/styles/components/badge-tags";
32
+ @import "@/components/vue-components/styles/components/platform-design";
32
33
 
33
34
  // @import "@/components/vue-components/styles/theme/appscode.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.6.22-alpha-0.0.11",
3
+ "version": "2.6.22-alpha-0.0.13",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -32,10 +32,12 @@
32
32
  @import "tfa";
33
33
  @import "transitions";
34
34
  @import "steps";
35
+ @import "platform-design";
35
36
 
36
37
  // @import "pricing-table";
37
38
  // @import "overview-info";
38
39
  // @import "overview-page"
39
40
  // @import "nested-list";
41
+
40
42
  @import "ui-builder/ui-builder";
41
43
  @import "ui-builder/vue-open-api";
@@ -0,0 +1,149 @@
1
+ .profile-banner {
2
+ // background-color: #e3f0ea;
3
+ background-image: url("../../images/banners/banner-background.png");
4
+ padding-top: 16px;
5
+ min-height: 120px;
6
+ position: relative;
7
+ z-index: 1;
8
+ border-bottom: 1px solid $color-border;
9
+ overflow: hidden;
10
+
11
+ &::after {
12
+ position: absolute;
13
+ content: "";
14
+ left: 0;
15
+ top: 0;
16
+ width: 100%;
17
+ height: 100%;
18
+ background-color: #ddd;
19
+ background-image: url("../../images/banners/banner-overlay.png");
20
+ background-color: lightgray;
21
+ background-position: 0% 0%;
22
+ backdrop-filter: blur(142px);
23
+ z-index: -1;
24
+ }
25
+ }
26
+
27
+ .solid-tab {
28
+ li {
29
+ a {
30
+ padding: 16px 0px !important;
31
+ margin-right: 32px;
32
+ transition: 0.3s ease-in-out;
33
+ }
34
+
35
+ &.is-active,
36
+ &:hover {
37
+ a {
38
+ border-bottom-color: transparent !important;
39
+ position: relative;
40
+
41
+ &::after {
42
+ position: absolute;
43
+ content: "";
44
+ left: 0;
45
+ bottom: 5px;
46
+ width: 100%;
47
+ height: 4px;
48
+ border-radius: 4px 4px 0 0;
49
+ z-index: 1;
50
+ background-color: $ac-primary;
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ .body-bottom {
58
+ .cluster {
59
+ background-color: $primary-light-gray;
60
+ }
61
+ }
62
+
63
+ .filterable-searchbar {
64
+ width: 100%;
65
+ position: relative;
66
+
67
+ .search-filter {
68
+ border: 1px solid $color-border;
69
+ background-color: #fff;
70
+ position: absolute;
71
+ z-index: 9;
72
+ right: 8px;
73
+ height: 36px;
74
+ top: 8px;
75
+ padding: 8px 16px;
76
+ border-radius: 4px;
77
+ }
78
+
79
+ .searchbar {
80
+ width: 100%;
81
+ }
82
+
83
+ .ac-single-input {
84
+ input {
85
+ background-color: $primary-light-gray;
86
+ height: 52px;
87
+ }
88
+
89
+ label {
90
+ top: 16px;
91
+ }
92
+ }
93
+ }
94
+
95
+ // sidebar items
96
+ .sidebar-style-2 {
97
+ border: 1px solid $color-border;
98
+ border-radius: 4px;
99
+ box-shadow: 8px 4px 14px 0px rgba(0, 0, 0, 0.05);
100
+
101
+ .left-sidebar {
102
+ width: 250px;
103
+ }
104
+
105
+ .sidebar-items {
106
+ display: flex;
107
+ flex-direction: column;
108
+
109
+ .sidebar-item {
110
+ display: flex;
111
+ align-items: center;
112
+ gap: 8px;
113
+ color: $color-text;
114
+ padding: 8px 16px;
115
+ transition: 0.1s ease-in-out;
116
+
117
+ &:last-child {
118
+ margin-bottom: 8px;
119
+ }
120
+
121
+ &:hover {
122
+ background-color: $primary-light-gray;
123
+ }
124
+
125
+ &.is-active {
126
+ background-color: $ac-primary;
127
+ color: $white-100;
128
+ }
129
+ }
130
+
131
+ label {
132
+ padding: 8px 16px;
133
+ border-bottom: 1px solid $color-border;
134
+ text-transform: uppercase;
135
+ font-weight: 400;
136
+ color: #616161;
137
+ }
138
+ }
139
+ }
140
+
141
+ .section-card {
142
+ border: 1px solid $color-border;
143
+ border-radius: 4px;
144
+ .section-heading {
145
+ border-bottom: 1px solid $color-border;
146
+ background-color: $secondary-light-grey;
147
+ padding: 8px 16px;
148
+ }
149
+ }
@@ -5,17 +5,8 @@ withDefaults(defineProps<{ direction?: "up" | "down" }>(), {
5
5
  </script>
6
6
 
7
7
  <template>
8
- <svg
9
- xmlns="http://www.w3.org/2000/svg"
10
- fill="none"
11
- height="16px"
12
- width="16px"
13
- viewBox="0 0 24 24"
14
- stroke-width="1.5"
15
- stroke="currentColor"
16
- class="size-6"
17
- :style="direction === 'up' ? 'transform: rotate(0deg)' : 'transform: rotate(-180deg)'"
18
- >
8
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" height="16px" width="16px" viewBox="0 0 24 24" stroke-width="1.5"
9
+ stroke="currentColor" :style="direction === 'up' ? 'transform: rotate(0deg)' : 'transform: rotate(-180deg)'">
19
10
  <path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" />
20
11
  </svg>
21
12
  </template>
@@ -0,0 +1,43 @@
1
+ <script lang="ts" setup>
2
+ import { ref } from 'vue';
3
+ import ArrowIcon from '../icons/ArrowIcon.vue';
4
+ import AcButton from "../button/Button.vue";
5
+
6
+ interface Props {
7
+ title?: string,
8
+ isExpandable?: boolean
9
+ }
10
+
11
+ withDefaults(defineProps<Props>(), {
12
+ title: '',
13
+ isExpandable: false
14
+ })
15
+
16
+ const isOpen = ref(true)
17
+ </script>
18
+
19
+ <template>
20
+ <div class="content-body mt-10">
21
+ <div class="container px-5">
22
+ <div class="columns is-multiline">
23
+ <div class="section-card is-fullwidth">
24
+ <div
25
+ class="section-heading is-fullwidth is-flex is-align-items-center is-justify-content-space-between">
26
+ <h4>{{ title }}</h4>
27
+ <!-- Add buttons here -->
28
+ <div class="buttons is-right">
29
+ <slot name="header-buttons" />
30
+ <AcButton modifier-classes="is-white" v-if="isExpandable" @click="isOpen = !isOpen">
31
+ <ArrowIcon :direction="isOpen ? 'down' : 'up'" />
32
+ </AcButton>
33
+ </div>
34
+ </div>
35
+
36
+ <div v-show="isOpen" class="section-body">
37
+ <slot name="section-body" />
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </template>