@appscode/design-system 1.0.43-alpha.22 → 1.0.43-alpha.221

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 (134) 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 +286 -126
  4. package/base/utilities/_derived-variables.scss +6 -1
  5. package/base/utilities/_grid.scss +29 -0
  6. package/base/utilities/_initial-variables.scss +27 -17
  7. package/base/utilities/_mixin.scss +1 -17
  8. package/base/utilities/_typography.scss +18 -14
  9. package/base/utilities/dark-theme.scss +9 -145
  10. package/components/_ac-accordion.scss +14 -5
  11. package/components/_ac-alert-box.scss +41 -7
  12. package/components/_ac-card.scss +48 -10
  13. package/components/_ac-code-highlight.scss +5 -1
  14. package/components/_ac-content-layout.scss +2 -2
  15. package/components/_ac-drag.scss +2 -0
  16. package/components/_ac-input.scss +64 -23
  17. package/components/_ac-modal.scss +1 -1
  18. package/components/_ac-multi-select.scss +247 -9
  19. package/components/_ac-options.scss +24 -9
  20. package/components/_ac-select-box.scss +13 -3
  21. package/components/_ac-table.scss +15 -5
  22. package/components/_ac-tabs.scss +46 -5
  23. package/components/_ac-tags.scss +85 -0
  24. package/components/_ac-terminal.scss +270 -0
  25. package/components/_all.scss +28 -0
  26. package/components/_app-drawer.scss +2 -2
  27. package/components/_breadcumb.scss +2 -0
  28. package/components/_buttons.scss +50 -37
  29. package/components/_card-body-wrapper.scss +2 -2
  30. package/components/_dashboard-header.scss +32 -0
  31. package/components/_direct-deploy.scss +69 -0
  32. package/components/_go-to-top.scss +1 -1
  33. package/components/_graph.scss +45 -0
  34. package/components/_image-upload.scss +5 -3
  35. package/components/_left-sidebar-menu.scss +121 -69
  36. package/components/_monaco-editor.scss +1 -1
  37. package/components/_navbar.scss +170 -10
  38. package/components/_overview-info.scss +3 -3
  39. package/components/_pagination.scss +8 -0
  40. package/components/_payment-card.scss +10 -1
  41. package/components/_preview-modal.scss +18 -5
  42. package/components/_pricing-table.scss +1 -1
  43. package/components/_progress-bar.scss +4 -4
  44. package/components/_subscription-card.scss +11 -4
  45. package/components/_table-of-content.scss +1 -1
  46. package/components/_tfa.scss +69 -0
  47. package/components/_transitions.scss +261 -0
  48. package/components/_wizard.scss +16 -3
  49. package/components/bbum/_all.scss +9 -0
  50. package/components/bbum/_card-team.scss +1 -1
  51. package/components/bbum/_information-center.scss +15 -1
  52. package/components/bbum/_sign-up-notification.scss +1 -1
  53. package/components/bbum/_single-post-preview.scss +2 -2
  54. package/components/bbum/_user-profile.scss +2 -3
  55. package/components/ui-builder/_ui-builder.scss +76 -1
  56. package/components/ui-builder/_vue-open-api.scss +104 -0
  57. package/layouts/_all.scss +2 -0
  58. package/layouts/_code-preview.scss +5 -2
  59. package/main.scss +6 -54
  60. package/package.json +4 -7
  61. package/plugins/caching.ts +243 -0
  62. package/plugins/theme.js +4 -0
  63. package/plugins/time-convert.js +49 -0
  64. package/plugins/vue-toaster.js +3 -0
  65. package/vue-components/v2/banner/Banner.vue +2 -2
  66. package/vue-components/v2/breadcrumbs/Breadcrumb.vue +97 -0
  67. package/vue-components/v2/button/Button.vue +5 -0
  68. package/vue-components/v2/button/DownloadBtn.vue +45 -0
  69. package/vue-components/v2/card/Card.vue +1 -0
  70. package/vue-components/v2/card/PaymentCards.vue +11 -2
  71. package/vue-components/v2/content/ContentTable.vue +12 -7
  72. package/vue-components/v2/editor/Editor.vue +43 -24
  73. package/vue-components/v2/editor/FilteredFileEditor.vue +189 -0
  74. package/vue-components/v2/editor/MonacoEditor.vue +125 -0
  75. package/vue-components/v2/editor/ResourceKeyValueEditor.vue +209 -0
  76. package/vue-components/v2/form-fields/Input.vue +1 -1
  77. package/vue-components/v2/loaders/ResourceLoader.vue +101 -0
  78. package/vue-components/v2/loaders/SidebarLoader.vue +43 -0
  79. package/vue-components/v2/modal/Modal.vue +38 -4
  80. package/vue-components/v2/modals/DeleteConfirmationModal.vue +79 -0
  81. package/vue-components/v2/modals/JsonShowModal.vue +12 -2
  82. package/vue-components/v2/navbar/Appdrawer.vue +10 -9
  83. package/vue-components/v2/navbar/ThemeMode.vue +50 -44
  84. package/vue-components/v2/navbar/User.vue +229 -17
  85. package/vue-components/v2/notification/Notification.vue +101 -0
  86. package/vue-components/v2/notification/NotificationItem.vue +44 -0
  87. package/vue-components/v2/pagination/Pagination.vue +16 -3
  88. package/vue-components/v2/preloader/Preloader.vue +5 -5
  89. package/vue-components/v2/sidebar/ClusterSwitcher.vue +126 -0
  90. package/vue-components/v2/sidebar/SidebarItem.vue +23 -1
  91. package/vue-components/v2/sidebar/SidebarItemWithDropDown.vue +19 -20
  92. package/vue-components/v2/tab/TabItem.vue +1 -1
  93. package/vue-components/v2/table/Table.vue +44 -8
  94. package/vue-components/v2/table/TableRow.vue +12 -2
  95. package/vue-components/v2/table/table-cell/CellValue.vue +33 -4
  96. package/vue-components/v2/table/table-cell/GenericCell.vue +56 -0
  97. package/vue-components/v2/table/table-cell/ObjectCell.vue +4 -1
  98. package/vue-components/v2/tabs/EditorTabs.vue +1 -1
  99. package/vue-components/v3/button/Button.vue +6 -1
  100. package/vue-components/v3/content/ContentHeader.vue +2 -1
  101. package/vue-components/v3/content/ContentTable.vue +20 -2
  102. package/vue-components/v3/editor/Editor.vue +42 -33
  103. package/vue-components/v3/editor/FilteredFileEditor.vue +186 -0
  104. package/vue-components/v3/editor/MonacoEditor.vue +131 -0
  105. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +125 -0
  106. package/vue-components/v3/form/Form.vue +63 -0
  107. package/vue-components/v3/form-fields/Input.vue +11 -10
  108. package/vue-components/v3/header/HeaderItem.vue +5 -0
  109. package/vue-components/v3/header/HeaderItems.vue +5 -0
  110. package/vue-components/v3/loaders/ResourceLoader.vue +83 -0
  111. package/vue-components/v3/loaders/SidebarLoader.vue +34 -0
  112. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +92 -0
  113. package/vue-components/v3/modal/Modal.vue +38 -6
  114. package/vue-components/v3/modals/DeleteConfirmationModal.vue +85 -0
  115. package/vue-components/v3/modals/JsonShowModal.vue +25 -16
  116. package/vue-components/v3/modals/LongRunningTasksModal.vue +337 -0
  117. package/vue-components/v3/navbar/Appdrawer.vue +12 -7
  118. package/vue-components/v3/navbar/ThemeMode.vue +49 -47
  119. package/vue-components/v3/navbar/User.vue +242 -18
  120. package/vue-components/v3/notification/Notification.vue +98 -0
  121. package/vue-components/v3/notification/NotificationItem.vue +52 -0
  122. package/vue-components/v3/pagination/Pagination.vue +16 -3
  123. package/vue-components/v3/sidebar/ClusterSwitcher.vue +133 -0
  124. package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +120 -0
  125. package/vue-components/v3/tab/TabItem.vue +1 -1
  126. package/vue-components/v3/table/MultiInfoTable.vue +143 -0
  127. package/vue-components/v3/table/Table.vue +47 -13
  128. package/vue-components/v3/table/TableContainer.vue +34 -0
  129. package/vue-components/v3/table/TableRow.vue +64 -3
  130. package/vue-components/v3/table/table-cell/CellValue.vue +28 -3
  131. package/vue-components/v3/table/table-cell/GenericCell.vue +75 -0
  132. package/vue-components/v3/table/table-cell/ObjectCell.vue +7 -2
  133. package/vue-components/v3/tabs/EditorTabs.vue +1 -1
  134. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +148 -0
@@ -54,14 +54,22 @@
54
54
  opacity: 0.5 !important;
55
55
  }
56
56
 
57
+ &.is-rounded {
58
+ border-radius: 9999px;
59
+ }
60
+
57
61
  .ac-icon {
58
62
  margin-left: 25px;
59
63
  background-color: $ac-white;
60
64
  color: $ac-primary;
61
65
  padding: 2px 6px;
62
66
  border-radius: 4px;
63
- width: 28px;
64
- height: 28px;
67
+ width: 20px;
68
+ height: 20px;
69
+ display: flex;
70
+ align-items: center;
71
+ justify-content: center;
72
+ font-size: 12px;
65
73
  }
66
74
 
67
75
  &.is-small {
@@ -127,7 +135,11 @@
127
135
  width: 52px;
128
136
  height: 52px;
129
137
  padding: 0;
130
-
138
+ &:hover {
139
+ svg {
140
+ color: $ac-white;
141
+ }
142
+ }
131
143
  &.is-gray {
132
144
  background-color: $ac-white-light;
133
145
  color: $ac-gray-lightest;
@@ -154,7 +166,7 @@
154
166
 
155
167
  &.is-transparent {
156
168
  background-color: transparent;
157
- color: #666;
169
+ color: $ac-gray-darker;
158
170
 
159
171
  &:hover {
160
172
  background-color: $ac-white-lighter;
@@ -169,7 +181,7 @@
169
181
 
170
182
  &.transparent-bg {
171
183
  background-color: transparent;
172
- border: 1px solid $ac-border;
184
+ border: 1px solid $ac-label-text;
173
185
 
174
186
  img {
175
187
  &:hover {
@@ -210,7 +222,8 @@
210
222
  border: none;
211
223
  font-size: 14px;
212
224
  font-weight: 500;
213
- color: $ac-gray-lightest;
225
+ background-color: transparent;
226
+ color: $ac-color-text;
214
227
 
215
228
  &.is-primary {
216
229
  background-color: transparent;
@@ -405,33 +418,6 @@
405
418
  }
406
419
  }
407
420
 
408
- // group buttons
409
- .buttons {
410
- &.are-medium {
411
- .button {
412
- &.ac-button {
413
- @extend .is-medium;
414
- }
415
- }
416
- }
417
-
418
- &.are-small {
419
- .button {
420
- &.ac-button {
421
- @extend .is-small;
422
- }
423
- }
424
- }
425
-
426
- &.are-large {
427
- .button {
428
- &.ac-button {
429
- @extend .is-large;
430
- }
431
- }
432
- }
433
- }
434
-
435
421
  .ac-play-button-wrapper {
436
422
  display: flex;
437
423
  align-items: center;
@@ -471,7 +457,7 @@
471
457
  // counter button start
472
458
  .ac-counter-button {
473
459
  background-color: transparent;
474
- border: 1px solid $ac-border;
460
+ border: 1px solid $ac-label-text;
475
461
  border-radius: 4px;
476
462
  height: 46px;
477
463
  overflow: hidden;
@@ -518,13 +504,13 @@
518
504
  .ac-counter-arrow-wrapper {
519
505
  height: 100%;
520
506
  color: $ac-color-text;
521
- border-left: 1px solid $ac-border;
507
+ border-left: 1px solid $ac-label-text;
522
508
 
523
509
  .ac-counter-arrow {
524
510
  background-color: transparent;
525
511
  border: none;
526
512
  cursor: pointer;
527
- color: $ac-border;
513
+ color: $ac-label-text;
528
514
  height: 23px;
529
515
 
530
516
  &:hover {
@@ -532,7 +518,7 @@
532
518
  }
533
519
 
534
520
  &:first-child {
535
- border-bottom: 1px solid $ac-border;
521
+ border-bottom: 1px solid $ac-label-text;
536
522
  }
537
523
  }
538
524
  }
@@ -601,6 +587,33 @@
601
587
  }
602
588
  }
603
589
 
590
+ // dark theme start
591
+ .is-dark-theme {
592
+ .button.ac-button.is-primary.is-light {
593
+ background-color: $ac-primary;
594
+ color: $ac-white;
595
+ &:hover {
596
+ opacity: 0.8;
597
+ }
598
+ }
599
+ .button.ac-button.is-danger.is-light {
600
+ background-color: $ac-danger;
601
+ color: $ac-white;
602
+ &:hover {
603
+ opacity: 0.8;
604
+ }
605
+ }
606
+ .button.ac-button {
607
+ --ac-white: #ffffff;
608
+ &.is-white {
609
+ --ac-white: #2e323c;
610
+ }
611
+ }
612
+ .button.ac-button.is-text {
613
+ background-color: transparent;
614
+ }
615
+ }
616
+ // dark theme end
604
617
  /****************************************
605
618
  Responsive Classes
606
619
  *****************************************/
@@ -4,7 +4,7 @@
4
4
  box-shadow: none;
5
5
 
6
6
  .card-header {
7
- background-color: $table-header;
7
+ background-color: $ac-blue-light;
8
8
  border-radius: 4px 4px 0px 0px;
9
9
  padding: 10px 20px;
10
10
  box-shadow: none;
@@ -24,7 +24,7 @@
24
24
  font-weight: normal;
25
25
  font-size: 14px;
26
26
  line-height: 16px;
27
- color: #6f6f8d;
27
+ color: $ac-color-value;
28
28
  margin-top: 10px;
29
29
  }
30
30
  }
@@ -81,3 +81,35 @@
81
81
  }
82
82
  }
83
83
  }
84
+
85
+ .resource {
86
+ display: flex;
87
+ align-items: center;
88
+ border-left: 1px solid $ac-white-light;
89
+ padding: 0 1.5rem;
90
+ margin-top: -10px;
91
+ margin-bottom: -10px;
92
+ .r-icon {
93
+ display: flex;
94
+ align-items: center;
95
+ max-width: 40px;
96
+ }
97
+
98
+ .r-data {
99
+ margin-left: 0.8rem;
100
+ .request,
101
+ .limit {
102
+ font-weight: 500;
103
+ min-width: 50px;
104
+ text-align: center;
105
+ }
106
+ .request {
107
+ font-weight: 300;
108
+ }
109
+ hr {
110
+ margin: 0;
111
+ padding: 0;
112
+ background-color: $ac-white-light;
113
+ }
114
+ }
115
+ }
@@ -0,0 +1,69 @@
1
+ .direct-deploy {
2
+ h5 {
3
+ font-weight: 500;
4
+ font-size: 18px;
5
+ line-height: 21px;
6
+ color: $ac-color-heading;
7
+ margin-bottom: 10px;
8
+ .fa {
9
+ color: $ac-primary;
10
+ }
11
+ }
12
+
13
+ p {
14
+ font-size: 14px;
15
+ line-height: 160%;
16
+ color: $ac-color-heading;
17
+ margin-bottom: 20px;
18
+ }
19
+
20
+ .check-permission {
21
+ font-weight: normal;
22
+ font-size: 14px;
23
+ line-height: 16px;
24
+ color: $ac-color-heading;
25
+ }
26
+
27
+ .button {
28
+ margin: 10px 0;
29
+ }
30
+
31
+ .msg {
32
+ font-size: 12px;
33
+ line-height: 14px;
34
+ color: $ac-color-value;
35
+ }
36
+ .buttons {
37
+ &.is-gray {
38
+ .button {
39
+ &.ac-primary {
40
+ background-color: $ac-blue-light;
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+
47
+ h5 {
48
+ &.toc-title {
49
+ font-style: normal;
50
+ font-weight: 500;
51
+ font-size: 16px;
52
+ line-height: 19px;
53
+ color: $ac-color-value;
54
+ }
55
+ }
56
+ .is-gray {
57
+ .button {
58
+ border: none;
59
+ background-color: $ac-blue-light;
60
+ }
61
+ }
62
+
63
+ .card-content {
64
+ &.is-table-of-content {
65
+ display: grid;
66
+ grid-template-columns: 65% 35%;
67
+ grid-gap: 15px;
68
+ }
69
+ }
@@ -11,7 +11,7 @@
11
11
  line-height: 40px;
12
12
  border-radius: 50%;
13
13
  color: $ac-white;
14
- background-color: rgba($ac-primary, 0.5);
14
+ background-color: rgba(25, 113, 189, 0.5);
15
15
  border: none;
16
16
  opacity: 0;
17
17
  cursor: pointer;
@@ -0,0 +1,45 @@
1
+ .graph-tooltip-wrapper {
2
+ background-color: var(--ac-white);
3
+ border: 1px solid var(--ac-white-light);
4
+
5
+ box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
6
+ border-radius: 4px;
7
+ overflow: hidden;
8
+ h6 {
9
+ padding: 10px 20px;
10
+ border-bottom: 1px solid var(--ac-white-light);
11
+ }
12
+ .table-wrapper {
13
+ padding: 10px 20px;
14
+ tr {
15
+ td {
16
+ &:first-child {
17
+ font-weight: 450;
18
+ padding-right: 10px;
19
+ color: var(--ac-text-heading);
20
+ }
21
+ padding: 4px 0;
22
+ font-size: 13px;
23
+ }
24
+ }
25
+ }
26
+ }
27
+
28
+ .is-hovering .label text tspan {
29
+ stroke: var(--ac-white);
30
+ fill: var(--ac-white);
31
+ stroke-width: 0.3px;
32
+ }
33
+ .is-selected .label text tspan {
34
+ stroke: var(--ac-white);
35
+ fill: var(--ac-white);
36
+ stroke-width: 0.3px;
37
+ }
38
+ .label text tspan {
39
+ stroke: var(--ac-black);
40
+ fill: var(--ac-black);
41
+ stroke-width: 0.3px;
42
+ }
43
+ .edgeLabel .label text tspan {
44
+ stroke-width: 0px;
45
+ }
@@ -1,6 +1,6 @@
1
1
  .ac-upload-image {
2
2
  background-color: $ac-bg;
3
- border: 1px dashed $ac-border;
3
+ border: 1px dashed $ac-label-text;
4
4
  border-radius: 4px;
5
5
  overflow: hidden;
6
6
 
@@ -22,21 +22,23 @@
22
22
  border-radius: 50%;
23
23
  overflow: hidden;
24
24
  margin: 0 auto 30px;
25
+ border: 1px solid $ac-white-light;
25
26
  }
26
27
 
27
28
  .drag-and-drop-msg {
28
29
  font-size: 13px;
30
+ color: $ac-color-value;
29
31
  font-weight: 400;
30
32
  margin-bottom: 10px;
31
33
 
32
34
  span {
33
- color: $ac-border;
35
+ color: $ac-label-text;
34
36
  }
35
37
  }
36
38
 
37
39
  .img-size-msg {
38
40
  font-size: 12px;
39
- color: $ac-border;
41
+ color: $ac-label-text;
40
42
  }
41
43
  }
42
44