@appscode/design-system 0.0.21-alpha.2 → 0.4.27

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 (165) hide show
  1. package/base/utilities/_all.scss +7 -0
  2. package/base/utilities/_customize-bulma.scss +191 -0
  3. package/base/utilities/_default.scss +319 -110
  4. package/base/utilities/_derived-variables.scss +8 -15
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +111 -72
  7. package/base/utilities/_mixin.scss +90 -10
  8. package/base/utilities/_typography.scss +29 -19
  9. package/base/utilities/dark-theme.scss +26 -0
  10. package/components/_ac-accordion.scss +15 -5
  11. package/components/_ac-alert-box.scss +109 -26
  12. package/components/_ac-card.scss +71 -24
  13. package/components/_ac-code-highlight.scss +7 -1
  14. package/components/_ac-content-layout.scss +5 -5
  15. package/components/_ac-drag.scss +8 -6
  16. package/components/_ac-input.scss +196 -38
  17. package/components/_ac-modal.scss +6 -5
  18. package/components/_ac-multi-select.scss +281 -23
  19. package/components/_ac-options.scss +31 -16
  20. package/components/_ac-report.scss +53 -0
  21. package/components/_ac-select-box.scss +15 -5
  22. package/components/_ac-table.scss +160 -39
  23. package/components/_ac-tabs.scss +86 -23
  24. package/components/_ac-tags.scss +87 -2
  25. package/components/_ac-terminal.scss +270 -0
  26. package/components/_all.scss +28 -0
  27. package/components/_app-drawer.scss +134 -0
  28. package/components/_breadcumb.scss +8 -3
  29. package/components/_buttons.scss +96 -62
  30. package/components/_card-body-wrapper.scss +3 -3
  31. package/components/_dashboard-header.scss +33 -1
  32. package/components/_direct-deploy.scss +69 -0
  33. package/components/_go-to-top.scss +1 -1
  34. package/components/_graph.scss +45 -0
  35. package/components/_image-upload.scss +6 -4
  36. package/components/_left-sidebar-menu.scss +212 -52
  37. package/components/_monaco-editor.scss +1 -1
  38. package/components/_navbar.scss +193 -31
  39. package/components/_overview-info.scss +4 -4
  40. package/components/_overview-page.scss +1 -2
  41. package/components/_pagination.scss +45 -7
  42. package/components/_payment-card.scss +28 -12
  43. package/components/_preloader.scss +1 -1
  44. package/components/_preview-modal.scss +22 -9
  45. package/components/_pricing-table.scss +1 -1
  46. package/components/_progress-bar.scss +5 -5
  47. package/components/_subscription-card.scss +15 -8
  48. package/components/_table-of-content.scss +1 -1
  49. package/components/_tfa.scss +69 -0
  50. package/components/_transitions.scss +261 -0
  51. package/components/_widget-menu.scss +9 -9
  52. package/components/_wizard.scss +33 -20
  53. package/components/ac-toaster/_ac-toasted.scss +40 -8
  54. package/components/bbum/_all.scss +9 -0
  55. package/components/bbum/_card-team.scss +18 -10
  56. package/components/bbum/_information-center.scss +19 -5
  57. package/components/bbum/_mobile-desktop.scss +6 -6
  58. package/components/bbum/_post.scss +5 -4
  59. package/components/bbum/_sign-up-notification.scss +6 -6
  60. package/components/bbum/_single-post-preview.scss +10 -10
  61. package/components/bbum/_user-profile.scss +97 -90
  62. package/components/ui-builder/_ui-builder.scss +98 -21
  63. package/components/ui-builder/_vue-open-api.scss +104 -0
  64. package/layouts/_404.scss +159 -0
  65. package/layouts/_all.scss +2 -0
  66. package/layouts/_code-preview.scss +19 -8
  67. package/main.scss +6 -53
  68. package/package.json +4 -7
  69. package/plugins/caching.ts +243 -0
  70. package/plugins/theme.js +142 -0
  71. package/plugins/time-convert.js +49 -0
  72. package/plugins/vue-toaster.js +10 -6
  73. package/vue-components/v2/banner/Banner.vue +2 -2
  74. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  75. package/vue-components/v2/button/Button.vue +10 -1
  76. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  77. package/vue-components/v2/card/Card.vue +1 -0
  78. package/vue-components/v2/card/CardContent.vue +5 -0
  79. package/vue-components/v2/card/CardHeader.vue +12 -0
  80. package/vue-components/v2/card/OverviewCard.vue +10 -0
  81. package/vue-components/v2/card/OverviewCards.vue +5 -0
  82. package/vue-components/v2/card/PaymentCard.vue +69 -0
  83. package/vue-components/v2/card/PaymentCardOptionButtons.vue +35 -0
  84. package/vue-components/v2/card/PaymentCards.vue +44 -0
  85. package/vue-components/v2/content/ContentHeader.vue +9 -5
  86. package/vue-components/v2/content/ContentTable.vue +12 -7
  87. package/vue-components/v2/editor/Editor.vue +38 -5
  88. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  89. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  90. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  91. package/vue-components/v2/form/Form.vue +12 -7
  92. package/vue-components/v2/form-fields/Input.vue +1 -1
  93. package/vue-components/v2/header/Header.vue +0 -1
  94. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  95. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  96. package/vue-components/v2/modal/Modal.vue +40 -7
  97. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  98. package/vue-components/v2/modals/JsonShowModal.vue +12 -3
  99. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  100. package/vue-components/v2/navbar/ThemeMode.vue +120 -0
  101. package/vue-components/v2/navbar/User.vue +229 -17
  102. package/vue-components/v2/notification/Notification.vue +101 -0
  103. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  104. package/vue-components/v2/pagination/Pagination.vue +24 -4
  105. package/vue-components/v2/preloader/Preloader.vue +5 -5
  106. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  107. package/vue-components/v2/sidebar/SidebarItem.vue +24 -2
  108. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  109. package/vue-components/v2/tab/TabItem.vue +1 -1
  110. package/vue-components/v2/table/FakeTableCell.vue +36 -0
  111. package/vue-components/v2/table/InfoTable.vue +13 -3
  112. package/vue-components/v2/table/NarrowTable.vue +0 -2
  113. package/vue-components/v2/table/Table.vue +170 -10
  114. package/vue-components/v2/table/TableRow.vue +29 -2
  115. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  116. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  117. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  118. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  119. package/vue-components/v3/button/Button.vue +78 -0
  120. package/vue-components/v3/content/ContentHeader.vue +55 -0
  121. package/vue-components/v3/content/ContentTable.vue +83 -0
  122. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  123. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  124. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  125. package/vue-components/v3/editor/Editor.vue +160 -0
  126. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  127. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  128. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  129. package/vue-components/v3/form/Form.vue +63 -0
  130. package/vue-components/v3/form-fields/Input.vue +22 -0
  131. package/vue-components/v3/header/Header.vue +45 -0
  132. package/vue-components/v3/header/HeaderItem.vue +5 -0
  133. package/vue-components/v3/header/HeaderItems.vue +5 -0
  134. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  135. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  136. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  137. package/vue-components/v3/modal/Modal.vue +158 -0
  138. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  139. package/vue-components/v3/modals/JsonShowModal.vue +96 -0
  140. package/vue-components/v3/modals/LongRunningTasksModal.vue +373 -0
  141. package/vue-components/v3/navbar/Appdrawer.vue +63 -0
  142. package/vue-components/v3/navbar/ThemeMode.vue +120 -0
  143. package/vue-components/v3/navbar/User.vue +288 -0
  144. package/vue-components/v3/notification/Notification.vue +98 -0
  145. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  146. package/vue-components/v3/pagination/Pagination.vue +172 -0
  147. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  148. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  149. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  150. package/vue-components/v3/tab/TabItem.vue +17 -0
  151. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  152. package/vue-components/v3/table/InfoTable.vue +105 -0
  153. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  154. package/vue-components/v3/table/Table.vue +272 -0
  155. package/vue-components/v3/table/TableCell.vue +28 -0
  156. package/vue-components/v3/table/TableContainer.vue +34 -0
  157. package/vue-components/v3/table/TableRow.vue +147 -0
  158. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  159. package/vue-components/v3/table/table-cell/CellValue.vue +133 -0
  160. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  161. package/vue-components/v3/table/table-cell/ObjectCell.vue +110 -0
  162. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  163. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  164. package/vue-components/v3/tag/Tag.vue +17 -0
  165. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -1,4 +1,6 @@
1
1
  .ac-system-left-sidebar {
2
+ min-height: calc(100vh - 50px);
3
+
2
4
  &.is-expanded {
3
5
  .ac-left-sidebar-wrapper {
4
6
  &.style-2 {
@@ -12,10 +14,36 @@
12
14
  }
13
15
  }
14
16
  }
17
+
18
+ &.is-close {
19
+ .ac-left-sidebar-wrapper {
20
+ .ac-lef-sidebar-inner {
21
+ .ac-left-sidebar {
22
+ .menu-list {
23
+ &.ac-menu-list {
24
+ li {
25
+ a {
26
+ &.ac-dropdown-button {
27
+ .ac-arrow-down {
28
+ right: 0px !important;
29
+ }
30
+ }
31
+
32
+ span {
33
+ margin-right: 0px;
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
15
43
  }
16
44
 
17
45
  .ac-left-sidebar-wrapper {
18
- background-color: $ac-white;
46
+ background-color: $ac-white-lightest;
19
47
  width: 100%;
20
48
  position: sticky;
21
49
  top: 50px;
@@ -59,7 +87,7 @@
59
87
  li {
60
88
  a {
61
89
  padding: 12px 15px 12px 26px !important;
62
- font-weight: 400;
90
+ font-weight: 500;
63
91
 
64
92
  &:hover {
65
93
  &::after {
@@ -67,7 +95,7 @@
67
95
  }
68
96
 
69
97
  span {
70
- color: $ac-black;
98
+ color: $ac-link-black;
71
99
  }
72
100
  }
73
101
 
@@ -83,7 +111,7 @@
83
111
  li {
84
112
  a {
85
113
  padding-left: 25px;
86
- background: $ac-white;
114
+ background-color: $ac-white;
87
115
  }
88
116
  }
89
117
  }
@@ -109,7 +137,7 @@
109
137
  .ac-lef-sidebar-inner {
110
138
  .ac-left-sidebar {
111
139
  .ac-product-logo {
112
- background: $ac-white;
140
+ background-color: transparent;
113
141
  border-bottom: 1px solid $ac-white-light;
114
142
  height: 50px;
115
143
  display: flex;
@@ -119,7 +147,7 @@
119
147
 
120
148
  .ac-product-version {
121
149
  font-size: 12px;
122
- font-weight: $ac-weight-medium;
150
+ font-weight: 500;
123
151
  color: $ac-link-black;
124
152
  }
125
153
  }
@@ -129,12 +157,17 @@
129
157
  height: calc(100vh - 100px);
130
158
  overflow-y: auto;
131
159
  padding-top: 8px;
160
+ scrollbar-color: $ac-white-light transparent;
132
161
 
133
162
  /* width */
134
163
  &::-webkit-scrollbar {
135
164
  display: none;
136
165
  }
137
166
 
167
+ &::-webkit-scrollbar {
168
+ display: none;
169
+ }
170
+
138
171
  li {
139
172
  &.is-open {
140
173
  a {
@@ -150,7 +183,7 @@
150
183
  li {
151
184
  a {
152
185
  strong {
153
- font-weight: $ac-weight-normal;
186
+ font-weight: 500;
154
187
  }
155
188
  }
156
189
  }
@@ -159,10 +192,10 @@
159
192
 
160
193
  a {
161
194
  font-style: normal;
162
- font-weight: $ac-weight-normal;
195
+ font-weight: 500;
163
196
  font-size: $font-size-small;
164
197
  line-height: 16px;
165
- color: $ac-black;
198
+ color: $ac-link-black;
166
199
  position: relative;
167
200
  z-index: 1;
168
201
  padding: 10px 15px 10px 24px;
@@ -177,7 +210,7 @@
177
210
  top: 0;
178
211
  width: 0;
179
212
  height: 100%;
180
- background-color: #f2f2f2;
213
+ background-color: $ac-white-lighter;
181
214
  border-radius: 0 50px 50px 0;
182
215
  z-index: -1;
183
216
  transition: 0.3s ease-in-out;
@@ -185,8 +218,12 @@
185
218
 
186
219
  strong {
187
220
  max-width: calc(100% - 65px);
188
- line-break: anywhere;
189
- font-weight: $ac-weight-normal;
221
+ // line-break: anywhere;
222
+ white-space: break-spaces;
223
+ display: flex;
224
+ align-items: center;
225
+ overflow: hidden;
226
+ font-weight: 500;
190
227
  }
191
228
 
192
229
  &.ac-dropdown-button {
@@ -210,7 +247,7 @@
210
247
  }
211
248
 
212
249
  span {
213
- color: $ac-black;
250
+ color: $ac-link-black;
214
251
 
215
252
  img {
216
253
  filter: grayscale(0);
@@ -223,6 +260,10 @@
223
260
  background-color: transparent;
224
261
 
225
262
  span {
263
+ i.fa {
264
+ color: $ac-primary;
265
+ }
266
+
226
267
  img {
227
268
  filter: grayscale(0);
228
269
  }
@@ -232,7 +273,12 @@
232
273
  &::before {
233
274
  background: linear-gradient(
234
275
  89.41deg,
235
- rgba(25, 113, 189, 0.2) 0.06%,
276
+ hsla(
277
+ var(--hsl-hue),
278
+ var(--hsl-saturation),
279
+ var(--hsl-lightness),
280
+ 0.2
281
+ ),
236
282
  rgba(25, 113, 189, 0) 138.7%
237
283
  );
238
284
  position: absolute;
@@ -249,6 +295,7 @@
249
295
  background-color: $ac-primary;
250
296
  height: 100%;
251
297
  width: 4px;
298
+ z-index: 9;
252
299
  }
253
300
  }
254
301
 
@@ -289,54 +336,167 @@
289
336
  }
290
337
  }
291
338
  }
339
+ }
292
340
 
293
- &.is-dark-sidebar {
294
- background-color: $ac-bg-dark;
341
+ // widget menu end
342
+ // cluster switcher start
343
+ .ac-left-sidebar {
344
+ .ac-options.is-right {
345
+ .option-dots {
346
+ transition: 0.3s;
347
+
348
+ i.fa {
349
+ &.fa-angle-left {
350
+ font-size: 18px;
351
+ }
352
+ }
295
353
 
296
- .ac-lef-sidebar-inner {
297
- .ac-product-logo {
298
- .ac-product-version {
299
- color: $ac-primary;
354
+ &:active {
355
+ i.fa {
356
+ background-color: $ac-white-lighter;
357
+ width: 25px;
358
+ height: 25px;
359
+ text-align: center;
360
+ line-height: 25px;
361
+ border-radius: 50%;
300
362
  }
301
363
  }
302
364
 
303
- .menu-list {
304
- &.ac-menu-list {
305
- height: calc(100vh - 130px);
306
- overflow-y: auto;
307
- padding-top: 8px;
365
+ &:hover {
366
+ color: $ac-primary !important;
367
+ transform: scale(1.2);
368
+ }
369
+ }
370
+ }
308
371
 
309
- li {
310
- a {
311
- color: $ac-white !important;
312
- background-color: $ac-bg-dark;
372
+ .is-cluster-logo {
373
+ display: flex;
374
+ align-items: center;
375
+ margin-left: -8px;
376
+ padding: 5px;
377
+ }
313
378
 
314
- &:hover {
315
- color: $ac-white !important;
379
+ .multiselect {
380
+ height: 50px;
316
381
 
317
- span {
318
- color: $ac-black;
319
- }
320
- }
382
+ // commented out to set full width select box when right content is not present
383
+ // width: 234px;
321
384
 
322
- &:after {
323
- background-color: $ac-color-text;
324
- }
325
- }
385
+ left: 0px;
386
+ top: -5px;
326
387
 
327
- &.is-active {
328
- color: $ac-primary !important;
388
+ .multiselect__select {
389
+ height: 50px;
390
+ top: 4px;
391
+ }
329
392
 
330
- &:after,
331
- &::before {
332
- background: linear-gradient(
333
- 89.41deg,
334
- rgba(25, 113, 189, 0.2) 0.06%,
335
- rgba(25, 113, 189, 0) 138.7%
336
- );
393
+ .multiselect__tags {
394
+ border: none !important;
395
+ background-color: $ac-bg-light-gray;
396
+ min-height: 54px;
397
+ border-radius: 0;
337
398
 
338
- &::before {
339
- background-color: $ac-primary;
399
+ .multiselect__placeholder {
400
+ padding-top: 12px !important;
401
+ font-size: 14px;
402
+ }
403
+
404
+ .multiselect__input {
405
+ background-color: $ac-bg-light-gray !important;
406
+ top: 13px;
407
+
408
+ &::placeholder {
409
+ font-size: 12px;
410
+ font-weight: 500;
411
+ }
412
+ }
413
+ }
414
+
415
+ .multiselect__single {
416
+ background-color: $ac-bg-light-gray !important;
417
+ top: 14px !important;
418
+
419
+ img {
420
+ width: 20px;
421
+ margin-right: 8px;
422
+ }
423
+
424
+ span {
425
+ span {
426
+ overflow: hidden;
427
+ text-overflow: ellipsis;
428
+ display: -webkit-box;
429
+ line-clamp: 1;
430
+ -webkit-line-clamp: 1;
431
+ box-orient: vertical;
432
+ -webkit-box-orient: vertical;
433
+ }
434
+ }
435
+ }
436
+ }
437
+
438
+ .multiselect__content-wrapper {
439
+ border: 1px solid $ac-white-light;
440
+
441
+ .multiselect__content {
442
+ .multiselect__element {
443
+ .multiselect__option {
444
+ display: flex;
445
+ align-items: center;
446
+ font-size: 14px;
447
+
448
+ img {
449
+ width: 25px;
450
+ }
451
+
452
+ p {
453
+ color: $ac-color-text;
454
+ font-weight: 500;
455
+ }
456
+
457
+ .location {
458
+ color: $ac-color-text;
459
+ font-weight: 400;
460
+ opacity: 0.8;
461
+ }
462
+ }
463
+ }
464
+ }
465
+ }
466
+ }
467
+
468
+ // cluster switcher end
469
+
470
+ // dark theme start
471
+ .is-dark-theme {
472
+ body {
473
+ .ac-system-body {
474
+ .ac-system-left-sidebar {
475
+ background-color: var(--dark-bg);
476
+ }
477
+ }
478
+
479
+ .ac-left-sidebar-wrapper {
480
+ .ac-lef-sidebar-inner {
481
+ .ac-left-sidebar {
482
+ .menu-list {
483
+ &.ac-menu-list {
484
+ li {
485
+ a {
486
+ &.is-active {
487
+ font-weight: 500;
488
+ color: $ac-full-white !important;
489
+
490
+ span {
491
+ i.fa {
492
+ color: $ac-primary;
493
+ }
494
+ }
495
+
496
+ &:after {
497
+ background: var(--dark-bg-light) !important;
498
+ }
499
+ }
340
500
  }
341
501
  }
342
502
  }
@@ -347,7 +507,7 @@
347
507
  }
348
508
  }
349
509
 
350
- // widget menu end
510
+ // dark theme end
351
511
  /****************************************
352
512
  Responsive Classes
353
513
  *****************************************/
@@ -409,7 +569,7 @@ Responsive Classes
409
569
  }
410
570
 
411
571
  span {
412
- color: $ac-black;
572
+ color: $ac-link-black;
413
573
  }
414
574
  }
415
575
  }
@@ -1,6 +1,6 @@
1
1
  .editor {
2
2
  border: none;
3
- background: #f5f7f9 !important;
3
+ background-color: $ac-white-light !important;
4
4
  }
5
5
 
6
6
  .decorationsOverviewRuler {