@appscode/design-system 2.0.19-alpha.4 → 2.0.19-alpha.6

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.
Files changed (79) hide show
  1. package/main.scss +1 -15
  2. package/package.json +1 -1
  3. package/vue-components/styles/components/_all.scss +11 -20
  4. package/vue-components/styles/components/_breadcrumb.scss +32 -0
  5. package/vue-components/styles/components/_button.scss +51 -0
  6. package/vue-components/styles/components/alert/_alert-message.scss +16 -0
  7. package/vue-components/styles/components/alert/_alert.scss +123 -0
  8. package/vue-components/styles/components/alert/_all.scss +3 -0
  9. package/vue-components/styles/components/alert/_toast.scss +50 -0
  10. package/vue-components/styles/components/cards/_all.scss +8 -0
  11. package/vue-components/styles/components/cards/_cluster.scss +93 -0
  12. package/vue-components/styles/components/cards/_features.scss +26 -0
  13. package/vue-components/styles/components/cards/_info.scss +83 -0
  14. package/vue-components/styles/components/cards/_monitoring.scss +24 -0
  15. package/vue-components/styles/components/cards/_org.scss +59 -0
  16. package/vue-components/styles/components/cards/_vendor.scss +58 -0
  17. package/vue-components/styles/components/content/_all.scss +2 -0
  18. package/vue-components/styles/components/content/_content-header.scss +14 -0
  19. package/vue-components/styles/components/content/_content-layout.scss +4 -0
  20. package/vue-components/styles/components/editor/_all.scss +2 -0
  21. package/vue-components/styles/components/editor/_filtered-file-editor.scss +195 -0
  22. package/vue-components/styles/components/footer/_all.scss +3 -0
  23. package/vue-components/styles/components/footer/_footer-area.scss +26 -0
  24. package/vue-components/styles/components/footer/_footer-item.scss +14 -0
  25. package/vue-components/styles/components/footer/_footer-items.scss +5 -0
  26. package/vue-components/styles/components/form-fields/_all.scss +4 -0
  27. package/vue-components/styles/components/form-fields/_file-upload.scss +42 -0
  28. package/vue-components/styles/components/form-fields/_form-footer.scss +9 -0
  29. package/vue-components/styles/components/header/_all.scss +0 -0
  30. package/vue-components/styles/components/header/_header-item.scss +13 -0
  31. package/vue-components/styles/components/header/_header.scss +7 -0
  32. package/vue-components/styles/components/navbar/_all.scss +2 -0
  33. package/vue-components/styles/components/navbar/_notification.scss +103 -0
  34. package/vue-components/styles/components/select-box/_all.scss +2 -0
  35. package/vue-components/styles/components/sidebar/_all.scss +1 -0
  36. package/vue-components/styles/components/{_left-sidebar.scss → sidebar/_left-sidebar.scss} +21 -0
  37. package/vue-components/styles/components/ui-builder/_ui-builder.scss +1 -34
  38. package/vue-components/v3/alert/Alert.vue +1 -218
  39. package/vue-components/v3/alert/AlertMessage.vue +1 -16
  40. package/vue-components/v3/alert/Toast.vue +1 -50
  41. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +1 -33
  42. package/vue-components/v3/button/Button.vue +1 -1
  43. package/vue-components/v3/button/Buttons.vue +0 -8
  44. package/vue-components/v3/cards/Cluster.vue +2 -95
  45. package/vue-components/v3/cards/FeatureCard.vue +1 -25
  46. package/vue-components/v3/cards/FeatureCards.vue +5 -1
  47. package/vue-components/v3/cards/InfoCard.vue +1 -80
  48. package/vue-components/v3/cards/Monitoring.vue +1 -24
  49. package/vue-components/v3/cards/OrgCard.vue +1 -59
  50. package/vue-components/v3/cards/Payment.vue +3 -0
  51. package/vue-components/v3/cards/Vendor.vue +2 -58
  52. package/vue-components/v3/content/ContentHeader.vue +1 -14
  53. package/vue-components/v3/content/ContentLayout.vue +1 -7
  54. package/vue-components/v3/editor/FilteredFileEditor.vue +1 -195
  55. package/vue-components/v3/footer/FooterArea.vue +2 -27
  56. package/vue-components/v3/footer/FooterItem.vue +1 -15
  57. package/vue-components/v3/footer/FooterItems.vue +2 -7
  58. package/vue-components/v3/form/FormFooter.vue +1 -9
  59. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -1
  60. package/vue-components/v3/form-fields/FileUpload.vue +1 -42
  61. package/vue-components/v3/header/Header.vue +1 -7
  62. package/vue-components/v3/header/HeaderItem.vue +1 -13
  63. package/vue-components/v3/navbar/Navbar.vue +3 -1
  64. package/vue-components/v3/navbar/Notification.vue +1 -103
  65. package/vue-components/v3/sidebar/ClusterSwitcher.vue +3 -1
  66. package/vue-components/v3/sidebar/Sidebar.vue +1 -1
  67. package/vue-components/styles/components/_ac-alert-box.scss +0 -205
  68. package/vue-components/styles/components/_ac-content-layout.scss +0 -165
  69. package/vue-components/styles/components/_buttons.scss +0 -779
  70. /package/vue-components/styles/components/{_payment-card.scss → cards/_payment-card.scss} +0 -0
  71. /package/vue-components/styles/components/{_subscription-card.scss → cards/_subscription-card.scss} +0 -0
  72. /package/vue-components/styles/components/{_monaco-editor.scss → editor/_monaco-editor.scss} +0 -0
  73. /package/vue-components/styles/components/{_image-upload.scss → form-fields/_image-upload.scss} +0 -0
  74. /package/vue-components/styles/components/{_input-card.scss → form-fields/_input-card.scss} +0 -0
  75. /package/vue-components/styles/components/{_input.scss → form-fields/_input.scss} +0 -0
  76. /package/vue-components/styles/components/{_menu-content.scss → navbar/_menu-content.scss} +0 -0
  77. /package/vue-components/styles/components/{_navbar.scss → navbar/_navbar.scss} +0 -0
  78. /package/vue-components/styles/components/{_ac-select-box.scss → select-box/_ac-select-box.scss} +0 -0
  79. /package/vue-components/styles/components/{_multi-select.scss → select-box/_multi-select.scss} +0 -0
@@ -14,7 +14,7 @@ withDefaults(defineProps<Props>(), {
14
14
 
15
15
  <template>
16
16
  <!-- use "is-selected" for select item -->
17
- <div class="ac-single-card has-text-centered">
17
+ <div class="ac-single-card vendor-card has-text-centered">
18
18
  <div class="ac-card-logo">
19
19
  <div class="card-status" />
20
20
  <img :src="logo" alt="vendor logo" />
@@ -29,61 +29,5 @@ withDefaults(defineProps<Props>(), {
29
29
  </template>
30
30
 
31
31
  <style lang="scss" scoped>
32
- .ac-single-card {
33
- border: 1px solid $primary-90;
34
- transition: 0.3s ease-in-out;
35
- border-radius: 2px;
36
- display: flex;
37
- flex-direction: column;
38
- justify-content: space-between;
39
- background-color: $primary-97;
40
- min-width: 215px;
41
- padding: 30px 20px 20px;
42
- cursor: pointer;
43
-
44
- .ac-card-name {
45
- p {
46
- font-size: 13px;
47
- color: $primary-10;
48
- line-height: 1;
49
- font-weight: 500;
50
-
51
- &.free {
52
- color: $primary;
53
- }
54
- }
55
- }
56
- .ac-card-logo {
57
- width: 70px;
58
- height: 70px;
59
- border: 1px solid $primary-90;
60
- background-color: $white-100;
61
- border-radius: 50%;
62
- padding: 16px;
63
- margin-inline: auto;
64
- margin-bottom: 20px;
65
- display: flex;
66
- align-items: center;
67
- overflow: hidden;
68
-
69
- img {
70
- width: 100%;
71
- height: auto;
72
- }
73
- }
74
- &.is-selected {
75
- border: 1px solid $primary !important;
76
- }
77
- &:hover {
78
- border: 1px solid $primary;
79
-
80
- .ac-card-title {
81
- h4 {
82
- a {
83
- color: $primary;
84
- }
85
- }
86
- }
87
- }
88
- }
32
+ @import "../../../vue-components/styles/components/cards/vendor";
89
33
  </style>
@@ -47,18 +47,5 @@ withDefaults(defineProps<Props>(), {
47
47
  </div>
48
48
  </template>
49
49
  <style lang="scss" scoped>
50
- .ac-content-header {
51
- display: flex;
52
- align-items: center;
53
- justify-content: space-between;
54
- padding: 4px 20px;
55
- min-height: 40px;
56
- .ac-content-title {
57
- h4,
58
- h5,
59
- h6 {
60
- color: $primary-10;
61
- }
62
- }
63
- }
50
+ @import "../../../vue-components/styles/components/content/content-header";
64
51
  </style>
@@ -10,11 +10,5 @@
10
10
  </div>
11
11
  </template>
12
12
  <style lang="scss">
13
- .ac-content-layout {
14
- // margin: 20px;
15
- // margin-top: 8px;
16
- // border: 1px solid $primary-95;
17
- margin-bottom: 16px;
18
- border-radius: 4px;
19
- }
13
+ @import "../../../vue-components/styles/components/content/content-layout";
20
14
  </style>
@@ -185,199 +185,5 @@ watch(
185
185
  </div>
186
186
  </template>
187
187
  <style lang="scss" scoped>
188
- // .preview-icon {
189
- // width: 60px;
190
- // height: 60px;
191
- // background-color: rgba(25, 113, 189, 0.4);
192
- // box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.16);
193
- // border-radius: 4px 0px 0px 4px;
194
- // position: fixed;
195
- // right: 0;
196
- // top: 400px;
197
- // border: none;
198
- // cursor: pointer;
199
- // color: $white-100;
200
- // z-index: 9999;
201
- // transition: 0.3s ease-in-out;
202
-
203
- // img {
204
- // margin-bottom: 4px;
205
- // }
206
-
207
- // &:hover {
208
- // background-color: $primary;
209
- // }
210
- // }
211
-
212
- .ac-preview {
213
- padding-inline: 20px;
214
- // position: fixed;
215
- // width: calc(100% - 90px);
216
- // height: 100%;
217
- // top: 50px;
218
- // right: -100%;
219
- // z-index: 99999;
220
- // transition: 0.3s;
221
-
222
- // &.is-active {
223
- // right: 0;
224
-
225
- // &.is-not-fixed {
226
- // width: 100%;
227
-
228
- // .ac-preview-body {
229
- // padding: 20px 0 0;
230
- // }
231
- // }
232
- // }
233
-
234
- .ac-preview-inner {
235
- // background-color: $white-100;
236
- // border-radius: 10px 0px 0px 10px;
237
- // height: calc(100% - 90px);
238
-
239
- &:after {
240
- // position: absolute;
241
- // content: "";
242
- // left: -90px;
243
- // top: -50px;
244
- // width: calc(100% + 90px);
245
- // height: 100%;
246
- // background-color: $white-100;
247
-
248
- // remove opacity for fix cluster ui project
249
- // opacity: 0.8;
250
- // z-index: -1;
251
- }
252
-
253
- // .ac-preview-header {
254
- // padding: 20px;
255
- // border-bottom: 1px solid $black-60;
256
-
257
- // h5 {
258
- // font-style: normal;
259
- // font-weight: 500;
260
- // font-size: 24px;
261
- // line-height: 28px;
262
-
263
- // color: $primary-10;
264
- // }
265
-
266
- // .ms-back-button {
267
- // .is-transparent {
268
- // font-style: normal;
269
- // font-weight: normal;
270
- // font-size: 16px;
271
- // line-height: 100%;
272
- // color: $black-80;
273
- // cursor: pointer;
274
-
275
- // i.fa {
276
- // color: $black-80;
277
- // padding-left: 5px;
278
- // }
279
- // }
280
- // }
281
- // }
282
-
283
- .ac-preview-body {
284
- display: flex;
285
- // margin-top: 10px;
286
- // padding: 20px;
287
-
288
- .left-content {
289
- width: 250px;
290
- margin-right: 15px;
291
-
292
- .ac-files {
293
- ul {
294
- margin: 0;
295
- padding: 0;
296
- list-style: none;
297
-
298
- li {
299
- &.is-active {
300
- a {
301
- background-color: $primary;
302
- border-radius: 5px;
303
- color: $white-100;
304
- padding: 10px 10px;
305
- margin-left: -10px;
306
- border-top: 1px solid transparent;
307
-
308
- span {
309
- img {
310
- filter: brightness(100);
311
- }
312
- }
313
- }
314
-
315
- &:last-child {
316
- &.is-active {
317
- a {
318
- border-top: 1px solid transparent;
319
- }
320
- }
321
- }
322
- }
323
-
324
- a {
325
- padding: 10px 0px;
326
- display: flex;
327
- font-style: normal;
328
- font-weight: 500;
329
- font-size: 14px;
330
- line-height: 100%;
331
- color: $primary-10;
332
- border-top: 1px solid $primary-90;
333
-
334
- span {
335
- img {
336
- margin-right: 5px;
337
- height: 13px;
338
- }
339
- }
340
- }
341
-
342
- &:last-child {
343
- a {
344
- border-bottom: 1px solid $primary-90;
345
- }
346
- }
347
- }
348
- }
349
- }
350
- }
351
-
352
- .right-content {
353
- width: calc(100% - 265px);
354
-
355
- .code-preview {
356
- background-color: $primary-90;
357
- border-radius: 4px;
358
- display: flex;
359
-
360
- .code-left {
361
- width: 50%;
362
- }
363
-
364
- .code-right {
365
- width: 50%;
366
- }
367
- }
368
- }
369
- }
370
- }
371
- }
372
- .left-content {
373
- .ac-files {
374
- max-height: 350px;
375
- overflow-y: auto;
376
- padding: 10px;
377
- span {
378
- width: 20px;
379
- white-space: nowrap;
380
- }
381
- }
382
- }
188
+ @import "../../../vue-components/styles/components/editor/filtered-file-editor";
383
189
  </style>
@@ -10,31 +10,6 @@
10
10
  </div>
11
11
  </template>
12
12
 
13
- <style lang="scss" scoped>
14
- .footer-area {
15
- position: fixed;
16
- bottom: 0;
17
- display: flex;
18
- align-items: center;
19
- justify-content: space-between;
20
- width: calc(100% - 250px);
21
- min-height: 30px;
22
- padding: 0 20px;
23
- background: $primary-20;
24
- border-top: 1px solid #3d5e7c;
25
- z-index: 9999;
26
- transition: 0.3s ease-in-out;
27
- }
28
-
29
- .footer-left,
30
- .footer-right {
31
- display: flex;
32
- align-items: center;
33
- gap: 32px;
34
- }
35
- .sidebar-collapsed {
36
- .footer-area {
37
- width: calc(100% - 60px);
38
- }
39
- }
13
+ <style lang="scss">
14
+ @import "../../../vue-components/styles/components/footer/footer-area";
40
15
  </style>
@@ -13,20 +13,6 @@ withDefaults(defineProps<Props>(), {
13
13
  <slot />
14
14
  </div>
15
15
  </template>
16
-
17
16
  <style lang="scss">
18
- .footer-item {
19
- display: flex;
20
- align-items: center;
21
- gap: 4px;
22
- font-weight: 500;
23
- color: $primary-90;
24
- font-size: 12px;
25
- &.has-text-danger {
26
- color: $red-80 !important;
27
- }
28
- &.has-text-success {
29
- color: $green-50 !important;
30
- }
31
- }
17
+ @import "../../../vue-components/styles/components/footer/footer-item";
32
18
  </style>
@@ -5,11 +5,6 @@
5
5
  <slot />
6
6
  </div>
7
7
  </template>
8
-
9
- <style lang="scss" scoped>
10
- .footer-items {
11
- display: flex;
12
- align-items: center;
13
- gap: 16px;
14
- }
8
+ <style lang="scss">
9
+ @import "../../../vue-components/styles/components/footer/footer-items";
15
10
  </style>
@@ -12,13 +12,5 @@
12
12
  </template>
13
13
 
14
14
  <style lang="scss" scoped>
15
- .form-footer {
16
- display: flex;
17
- align-items: center;
18
- justify-content: space-between;
19
- margin-left: -20px;
20
- margin-right: -20px;
21
- border-top: 1px solid $primary-90;
22
- padding: 16px 20px;
23
- }
15
+ @import "../../../vue-components/styles/components/form-fields/form-footer";
24
16
  </style>
@@ -19,5 +19,5 @@ withDefaults(defineProps<Props>(), {
19
19
  </template>
20
20
 
21
21
  <style lang="scss">
22
- @import "../../../vue-components/styles/components/input";
22
+ @import "../../../vue-components/styles/components/form-fields/input";
23
23
  </style>
@@ -44,46 +44,5 @@
44
44
 
45
45
  <style lang="scss" scoped>
46
46
  // file upload large
47
- .file-upload {
48
- border: 1px dashed $primary-80;
49
- border-radius: 4px;
50
- &:hover {
51
- background-color: $primary-97;
52
-
53
- label {
54
- .upload-icon {
55
- border: 1px solid $primary-80;
56
- svg {
57
- color: $primary-10;
58
- }
59
- }
60
- }
61
- }
62
- label {
63
- cursor: pointer;
64
- padding: 32px;
65
- display: block;
66
- .upload-icon {
67
- border: 1px solid $primary-90;
68
- display: inline-flex;
69
- align-items: center;
70
- justify-content: center;
71
- border-radius: 50%;
72
- width: 100px;
73
- height: 100px;
74
- margin-bottom: 24px;
75
- padding: 24px;
76
-
77
- svg {
78
- color: $primary-30;
79
- }
80
- }
81
- p {
82
- color: $primary-10;
83
- strong {
84
- font-weight: 600;
85
- }
86
- }
87
- }
88
- }
47
+ @import "../../../vue-components/styles/components/form-fields/file-upload";
89
48
  </style>
@@ -39,13 +39,7 @@ withDefaults(defineProps<Props>(), {
39
39
  </template>
40
40
 
41
41
  <style lang="scss" scoped>
42
- .inner-header {
43
- padding: 6px 20px;
44
- border-bottom: 1px solid $primary-95;
45
- position: sticky;
46
- background: $white-100;
47
- z-index: 99;
48
- }
42
+ @import "../../../vue-components/styles/components/header/header";
49
43
 
50
44
  // footer control start
51
45
  // .form-footer-controls {
@@ -7,17 +7,5 @@
7
7
  </template>
8
8
 
9
9
  <style lang="scss" scoped>
10
- .header-item {
11
- display: inline-block;
12
- margin-left: 8px;
13
- vertical-align: middle;
14
-
15
- &:first-child {
16
- margin-left: 0;
17
- }
18
-
19
- .select:not(.is-multiple) {
20
- height: auto;
21
- }
22
- }
10
+ @import "../../../vue-components/styles/components/header/header-item";
23
11
  </style>
@@ -44,4 +44,6 @@ withDefaults(defineProps<Props>(), {
44
44
  </div>
45
45
  </template>
46
46
 
47
- <style lang="scss" scoped></style>
47
+ <style lang="scss">
48
+ @import "../../../vue-components/styles/components/navbar/navbar";
49
+ </style>
@@ -101,107 +101,5 @@ function notificationTime(time: number) {
101
101
  </template>
102
102
 
103
103
  <style lang="scss" scoped>
104
- .notification-count {
105
- position: absolute;
106
- background-color: $primary;
107
- color: $white-100;
108
- padding: 4px;
109
- font-size: 11px;
110
- line-height: 1;
111
- border-radius: 50px;
112
- min-width: 20px;
113
- height: 20px;
114
- right: -10px;
115
- top: -8px;
116
- border: 1px solid $primary-97;
117
- opacity: 1;
118
- z-index: 9;
119
- }
120
- .dropdown-inner {
121
- border-radius: 4px;
122
- overflow: hidden;
123
- background-color: $white-100;
124
- border: 1px solid $primary-90;
125
- }
126
- .notification-header {
127
- display: flex;
128
- align-items: center;
129
- justify-content: space-between;
130
- border-bottom: 1px solid $primary-90;
131
- padding: 8px 16px;
132
- h5 {
133
- color: $primary-5;
134
- }
135
- span {
136
- display: flex;
137
- color: $primary-30;
138
- padding: 2px 8px;
139
- border-radius: 4px;
140
- background-color: $primary-95;
141
- }
142
- }
143
- .notification-body {
144
- max-height: calc(100vh - 100px);
145
- overflow-y: auto;
146
- a {
147
- display: flex;
148
- color: $primary-20;
149
- padding: 16px;
150
- border-bottom: 1px solid $primary-95;
151
- transition: 0.3s ease-in-out;
152
- justify-content: space-between;
153
-
154
- &:hover {
155
- background-color: $primary-97;
156
- }
157
- .round-icon {
158
- width: 36px;
159
- height: 36px;
160
- background-color: $primary-95;
161
- color: $primary;
162
- font-size: 14px;
163
- display: flex;
164
- align-items: center;
165
- justify-content: center;
166
- border-radius: 50%;
167
- margin-right: 8px;
168
- line-height: 1;
169
- font-weight: 500;
170
- }
171
-
172
- .notification-content {
173
- width: calc(100% - 60px);
174
- h6 {
175
- font-size: 14px;
176
- font-weight: 500;
177
- }
178
-
179
- p {
180
- font-size: 12px;
181
- }
182
- }
183
-
184
- span {
185
- font-size: 11px;
186
- color: $primary-30;
187
- }
188
- }
189
- }
190
- .notification-footer {
191
- button {
192
- background-color: transparent;
193
- border: none;
194
- display: flex;
195
- align-items: center;
196
- justify-content: center;
197
- width: 100%;
198
- padding: 8px;
199
- color: $primary;
200
- cursor: pointer;
201
- transition: 0.3s ease-in-out;
202
- &:hover {
203
- text-decoration: underline;
204
- }
205
- }
206
- }
104
+ @import "../../../vue-components/styles/components/navbar/notification";
207
105
  </style>
@@ -115,4 +115,6 @@ watch(
115
115
  </template>
116
116
  </multiselect>
117
117
  </template>
118
- <style lang="scss"></style>
118
+ <style lang="scss">
119
+ @import "../../../vue-components/styles/components/select-box/multi-select";
120
+ </style>
@@ -35,5 +35,5 @@ withDefaults(defineProps<Props>(), {
35
35
  </template>
36
36
 
37
37
  <style lang="scss">
38
- @import "../../../vue-components/styles/components/left-sidebar";
38
+ @import "../../../vue-components/styles/components/sidebar/left-sidebar";
39
39
  </style>