@appscode/design-system 1.1.0-beta.9 → 1.1.0-beta.90

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 (117) hide show
  1. package/base/utilities/_all.scss +2 -2
  2. package/base/utilities/_colors.scss +105 -136
  3. package/base/utilities/_global.scss +25 -20
  4. package/base/utilities/_layouts.scss +0 -138
  5. package/base/utilities/_typography.scss +2 -2
  6. package/components/_ac-alert-box.scss +2 -2
  7. package/components/_ac-code-highlight.scss +9 -12
  8. package/components/_ac-drag.scss +4 -4
  9. package/components/_ac-modal.scss +2 -2
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +7 -7
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +8 -5
  14. package/components/_buttons.scss +10 -10
  15. package/components/_getkeeper.scss +110 -0
  16. package/components/_graph.scss +10 -10
  17. package/components/_image-upload.scss +4 -4
  18. package/components/_input-card.scss +232 -0
  19. package/components/_input.scss +573 -0
  20. package/components/_left-sidebar-menu.scss +9 -13
  21. package/components/_monaco-editor.scss +2 -2
  22. package/components/_multi-select.scss +589 -0
  23. package/components/_navbar.scss +7 -7
  24. package/components/_nested-list.scss +2 -2
  25. package/components/_overview-info.scss +3 -3
  26. package/components/_pricing-table.scss +5 -5
  27. package/components/_progress-bar.scss +61 -74
  28. package/components/_subscription-card.scss +8 -10
  29. package/components/_table-of-content.scss +4 -4
  30. package/components/{_ac-terminal.scss → _terminal.scss} +63 -74
  31. package/components/_widget-menu.scss +7 -12
  32. package/components/_wizard.scss +13 -286
  33. package/components/ac-toaster/_ac-toasted.scss +4 -4
  34. package/components/bbum/_information-center.scss +8 -10
  35. package/components/bbum/_mobile-desktop.scss +9 -14
  36. package/components/bbum/_single-post-preview.scss +9 -9
  37. package/components/ui-builder/_ui-builder.scss +202 -18
  38. package/components/ui-builder/_vue-open-api.scss +63 -18
  39. package/icons/close-icon.svg +3 -0
  40. package/layouts/_code-preview.scss +6 -7
  41. package/package.json +1 -1
  42. package/vue-components/types/notification.ts +3 -3
  43. package/vue-components/types/table.ts +1 -0
  44. package/vue-components/v2/banner/Banner.vue +1 -1
  45. package/vue-components/v2/button/Buttons.vue +1 -1
  46. package/vue-components/v2/modal/Modal.vue +1 -1
  47. package/vue-components/v3/alert/Alert.vue +2 -2
  48. package/vue-components/v3/banner/Banner.vue +2 -2
  49. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
  50. package/vue-components/v3/button/Button.vue +49 -786
  51. package/vue-components/v3/button/Buttons.vue +18 -2
  52. package/vue-components/v3/cards/Cluster.vue +37 -26
  53. package/vue-components/v3/cards/FeatureCard.vue +7 -11
  54. package/vue-components/v3/cards/FeatureCards.vue +1 -1
  55. package/vue-components/v3/cards/InfoCard.vue +1 -2
  56. package/vue-components/v3/cards/Monitoring.vue +6 -10
  57. package/vue-components/v3/cards/OverviewCard.vue +4 -0
  58. package/vue-components/v3/cards/OverviewCards.vue +10 -2
  59. package/vue-components/v3/cards/Vendor.vue +10 -6
  60. package/vue-components/v3/content/ContentHeader.vue +1 -1
  61. package/vue-components/v3/dropdown/DropdownAction.vue +95 -0
  62. package/vue-components/v3/editor/Editor.vue +20 -5
  63. package/vue-components/v3/editor/FilteredFileEditor.vue +9 -2
  64. package/vue-components/v3/editor/ResourceKeyValueEditor.vue +4 -1
  65. package/vue-components/v3/footer/FooterArea.vue +8 -2
  66. package/vue-components/v3/footer/Info.vue +10 -8
  67. package/vue-components/v3/footer/Status.vue +24 -23
  68. package/vue-components/v3/footer/Usage.vue +20 -30
  69. package/vue-components/v3/form/Form.vue +0 -3
  70. package/vue-components/v3/form/FormFooter.vue +24 -0
  71. package/vue-components/v3/form-fields/AcSingleInput.vue +1 -508
  72. package/vue-components/v3/form-fields/FileUpload.vue +89 -0
  73. package/vue-components/v3/form-fields/Input.vue +2 -3
  74. package/vue-components/v3/header/Header.vue +1 -1
  75. package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
  76. package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
  77. package/vue-components/v3/modal/Modal.vue +7 -12
  78. package/vue-components/v3/modals/JsonShowModal.vue +1 -0
  79. package/vue-components/v3/navbar/Appdrawer.vue +3 -1
  80. package/vue-components/v3/navbar/Navbar.vue +0 -159
  81. package/vue-components/v3/navbar/NavbarItem.vue +37 -15
  82. package/vue-components/v3/navbar/NavbarItemContent.vue +6 -8
  83. package/vue-components/v3/navbar/Notification.vue +38 -10
  84. package/vue-components/v3/navbar/User.vue +43 -31
  85. package/vue-components/v3/notification/AlertBox.vue +233 -3
  86. package/vue-components/v3/notification/Notification.vue +2 -2
  87. package/vue-components/v3/option-dots/Options.vue +17 -8
  88. package/vue-components/v3/pagination/Pagination.vue +27 -17
  89. package/vue-components/v3/preloader/Preloader.vue +1 -1
  90. package/vue-components/v3/searchbars/SearchBar.vue +1 -10
  91. package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -765
  92. package/vue-components/v3/sidebar/Sidebar.vue +2 -30
  93. package/vue-components/v3/sidebar/SidebarBody.vue +9 -2
  94. package/vue-components/v3/sidebar/SidebarFooter.vue +6 -3
  95. package/vue-components/v3/sidebar/SidebarHeader.vue +6 -2
  96. package/vue-components/v3/sidebar/Steps.vue +2 -2
  97. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
  98. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +15 -3
  99. package/vue-components/v3/tab/Tabs.vue +27 -0
  100. package/vue-components/v3/table/Table.vue +14 -16
  101. package/vue-components/v3/table/TableCell.vue +1 -9
  102. package/vue-components/v3/table/TableRow.vue +2 -2
  103. package/vue-components/v3/table/table-cell/ArrayCell.vue +35 -32
  104. package/vue-components/v3/table/table-cell/CellValue.vue +14 -40
  105. package/vue-components/v3/table/table-cell/ObjectCell.vue +40 -38
  106. package/vue-components/v3/tag/Tag.vue +1 -0
  107. package/base/utilities/dark-theme.scss +0 -26
  108. package/components/_ac-card.scss +0 -0
  109. package/components/_ac-input.scss +0 -901
  110. package/components/_ac-multi-select.scss +0 -780
  111. package/vue-components/text.vue +0 -1
  112. package/vue-components/types/longRunningTasks.ts +0 -20
  113. package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
  114. package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
  115. package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
  116. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  117. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -0,0 +1,573 @@
1
+ .ac-single-input {
2
+ position: relative;
3
+ z-index: 1;
4
+ margin-bottom: 16px;
5
+
6
+ &.is-disable {
7
+ opacity: 0.5;
8
+
9
+ input,
10
+ .button.is-information,
11
+ .eye i.fa {
12
+ cursor: not-allowed;
13
+ }
14
+ }
15
+
16
+ &.is-information {
17
+ input {
18
+ padding-right: 45px;
19
+
20
+ &[type="password"] {
21
+ padding-right: 80px;
22
+ }
23
+ }
24
+
25
+ span.eye i.fa {
26
+ right: 35px;
27
+ }
28
+ }
29
+
30
+ &.is-success {
31
+ input,
32
+ .ac-card,
33
+ textarea {
34
+ border: 1px solid $primary !important;
35
+ }
36
+
37
+ p {
38
+ color: $primary;
39
+ }
40
+ }
41
+
42
+ &.is-danger {
43
+ input,
44
+ .ac-card,
45
+ textarea {
46
+ border: 1px solid $danger;
47
+ }
48
+
49
+ p {
50
+ color: $danger;
51
+ }
52
+ }
53
+
54
+ &.is-loading {
55
+ input,
56
+ .ac-card,
57
+ textarea {
58
+ border: 1px solid $info;
59
+ opacity: 0.5;
60
+ }
61
+
62
+ p {
63
+ color: $info;
64
+ opacity: 0.5;
65
+ }
66
+ }
67
+
68
+ &.borderless-input {
69
+ input {
70
+ border: none;
71
+ font-size: 13px;
72
+ padding: 4px 7px;
73
+ height: 30px;
74
+ background-color: $white-100;
75
+ padding-right: 30px;
76
+
77
+ &[type="password"] {
78
+ padding-right: 30px;
79
+ }
80
+
81
+ &:focus {
82
+ outline: none;
83
+ border: none;
84
+ }
85
+ }
86
+
87
+ span.eye {
88
+ i.fa {
89
+ padding: 9px;
90
+ font-size: 12px;
91
+ }
92
+ }
93
+ }
94
+
95
+ &.is-normal {
96
+ input {
97
+ height: 45px;
98
+ font-size: 15px;
99
+ font-weight: 400;
100
+ }
101
+
102
+ .button {
103
+ &.is-information {
104
+ height: 45px;
105
+ width: 45px;
106
+ margin-top: 0;
107
+ }
108
+ }
109
+
110
+ span.eye i.fa {
111
+ padding: 14px 10px;
112
+ }
113
+
114
+ .ac-search-button {
115
+ margin-top: -22.5px;
116
+ }
117
+
118
+ label {
119
+ top: 13px;
120
+ font-size: 13px;
121
+
122
+ &.show-label {
123
+ font-size: 12px;
124
+ color: $black-40;
125
+ top: -9px;
126
+ font-weight: 500;
127
+ background-color: $white-100;
128
+ }
129
+ }
130
+
131
+ .control {
132
+ &.has-icons-right {
133
+ .icon {
134
+ height: 45px;
135
+ width: 30px;
136
+ font-size: 13px;
137
+ }
138
+ }
139
+ }
140
+ }
141
+
142
+ &.is-small {
143
+ input {
144
+ height: 36px;
145
+ font-size: 13px;
146
+ font-weight: 400;
147
+ }
148
+
149
+ .button {
150
+ &.is-information {
151
+ height: 36px;
152
+ width: 36px;
153
+ margin-top: 0;
154
+ padding: 10px;
155
+ }
156
+ }
157
+
158
+ span.eye i.fa {
159
+ padding: 10px;
160
+ }
161
+
162
+ .ac-search-button {
163
+ margin-top: -18px;
164
+ }
165
+
166
+ label {
167
+ top: 8px;
168
+ font-size: 13px;
169
+
170
+ &.switch-label {
171
+ top: 0;
172
+ }
173
+
174
+ &.show-label {
175
+ font-size: 12px;
176
+ top: -9px;
177
+ font-weight: 500;
178
+ color: $black-40;
179
+
180
+ &.is-required {
181
+ &:after {
182
+ width: calc(100% + 10px);
183
+ }
184
+ }
185
+ }
186
+ }
187
+
188
+ .control {
189
+ &.has-icons-right {
190
+ .icon {
191
+ height: 36px;
192
+ width: 25px;
193
+ font-size: 13px;
194
+ }
195
+ }
196
+ }
197
+ }
198
+
199
+ &.is-extra-small {
200
+ input {
201
+ height: 32px;
202
+ font-size: 13px;
203
+ font-weight: 400;
204
+ }
205
+
206
+ .button {
207
+ &.is-information {
208
+ height: 32px;
209
+ width: 32px;
210
+ margin-top: 0;
211
+ }
212
+ }
213
+
214
+ span.eye i.fa {
215
+ padding: 10px;
216
+ }
217
+
218
+ .ac-search-button {
219
+ margin-top: 0px;
220
+ top: 0;
221
+ display: flex;
222
+ align-items: center;
223
+ width: 40px;
224
+ justify-content: center;
225
+
226
+ svg {
227
+ width: 18px;
228
+ }
229
+ }
230
+
231
+ label {
232
+ top: 8px;
233
+ font-size: 13px;
234
+
235
+ &.switch-label {
236
+ top: 0;
237
+ }
238
+
239
+ &.show-label {
240
+ font-size: 12px;
241
+ top: -9px;
242
+ }
243
+ }
244
+
245
+ .control {
246
+ &.has-icons-right {
247
+ .icon {
248
+ height: 32px;
249
+ width: 25px;
250
+ font-size: 13px;
251
+ }
252
+ }
253
+ }
254
+ }
255
+
256
+ &:last-child {
257
+ margin-bottom: 0;
258
+ }
259
+
260
+ &.is-dark {
261
+ input {
262
+ background-color: $primary-10;
263
+ border-color: transparent;
264
+ color: $white-100;
265
+
266
+ &::placeholder {
267
+ color: $primary-10;
268
+ }
269
+
270
+ button {
271
+ i.fa {
272
+ color: $white-100;
273
+ }
274
+ }
275
+ }
276
+ }
277
+
278
+ label {
279
+ font-size: 13px;
280
+ left: 15px;
281
+ top: 11px;
282
+ cursor: text;
283
+ color: $primary-10;
284
+ position: absolute;
285
+ z-index: 2;
286
+ transition: 0.3s ease-in-out;
287
+
288
+ .is-required {
289
+ color: $danger;
290
+
291
+ img {
292
+ position: absolute;
293
+ top: 7px;
294
+ padding-left: 3px;
295
+ }
296
+ }
297
+
298
+ &.show-label {
299
+ top: -9px;
300
+ left: 10px;
301
+ padding: 0 5px;
302
+ font-size: 13px;
303
+ color: $black-40;
304
+
305
+ &:after {
306
+ position: absolute;
307
+ content: "";
308
+ left: 0;
309
+ top: 50%;
310
+ background-color: $white-100;
311
+ width: 100%;
312
+ height: 2px;
313
+ margin-top: -1px;
314
+ z-index: -1;
315
+ }
316
+
317
+ // &.is-required {
318
+ // &:after {
319
+ // width: calc(100% + 10px);
320
+ // }
321
+ // }
322
+ }
323
+ }
324
+
325
+ .button {
326
+ &.is-information {
327
+ background-color: transparent;
328
+ border: none;
329
+ position: absolute;
330
+ right: 0;
331
+ height: 32px;
332
+ width: 32px;
333
+ margin-top: 0;
334
+
335
+ &:focus {
336
+ outline: none;
337
+ box-shadow: none;
338
+ background-color: #e4e8ef;
339
+ transform: scale(0.8);
340
+ }
341
+ }
342
+ }
343
+
344
+ .ac-search-button {
345
+ background-color: transparent;
346
+ border: none;
347
+ position: absolute;
348
+ left: 0;
349
+ top: 50%;
350
+ width: 32px;
351
+ height: 100%;
352
+ margin-top: -15px;
353
+ color: $primary-20;
354
+ cursor: pointer;
355
+ }
356
+
357
+ .ac-dropdown-content {
358
+ position: absolute;
359
+ background-color: $primary-90;
360
+ width: 100%;
361
+ height: auto;
362
+ box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6);
363
+ border-radius: 4px;
364
+ overflow: hidden;
365
+
366
+ ul {
367
+ li {
368
+ a {
369
+ color: $primary-10;
370
+ display: block;
371
+ font-size: 13px;
372
+ padding: 8px 20px;
373
+ transition: 0.3s;
374
+
375
+ &:hover {
376
+ background-color: hsla(
377
+ var(--hsl-hue),
378
+ var(--hsl-saturation),
379
+ var(--hsl-lightness),
380
+ 0.2
381
+ );
382
+ color: $primary;
383
+ }
384
+ }
385
+ }
386
+ }
387
+ }
388
+
389
+ .ac-textarea {
390
+ .ac-label {
391
+ &.is-required {
392
+ &:after {
393
+ width: calc(100% + 10px);
394
+ }
395
+ }
396
+ }
397
+
398
+ textarea {
399
+ border: 1px solid $primary-80;
400
+ background-color: transparent;
401
+ padding: 10px 15px;
402
+ min-height: 50px;
403
+
404
+ &.bg-white {
405
+ background-color: transparent;
406
+ }
407
+
408
+ &:focus {
409
+ outline: none;
410
+ border: 1px solid $primary;
411
+ }
412
+ }
413
+ }
414
+
415
+ input,
416
+ .ac-card,
417
+ textarea {
418
+ background-color: $white-100;
419
+ color: $primary-10;
420
+ height: 45px;
421
+ font-weight: 400;
422
+ width: 100%;
423
+ border-radius: 4px;
424
+ border: 1px solid $primary-80;
425
+ padding: 8px 15px;
426
+ font-size: 13px;
427
+
428
+ &:hover {
429
+ border-color: $black-70;
430
+ }
431
+
432
+ &.bg-white {
433
+ background-color: $white-100;
434
+ }
435
+
436
+ &.StripeElement--focus {
437
+ border: 1px solid $primary;
438
+ }
439
+
440
+ &:focus {
441
+ border: 1px solid $primary;
442
+ outline: none;
443
+ background-color: $white-100;
444
+ }
445
+
446
+ &[type="password"] {
447
+ padding-right: 40px;
448
+ }
449
+
450
+ &[type="search"] {
451
+ padding-left: 30px;
452
+ }
453
+
454
+ transition: background-color 0.3s ease-in-out;
455
+ }
456
+
457
+ .ac-card {
458
+ height: 36px;
459
+ padding: 10px 20px;
460
+ }
461
+
462
+ textarea {
463
+ height: 55px;
464
+ }
465
+
466
+ b.isRequired {
467
+ color: $danger;
468
+ font-size: 13px;
469
+ position: absolute;
470
+ right: 5px;
471
+ z-index: 9;
472
+ }
473
+
474
+ span.eye {
475
+ i.fa {
476
+ color: $primary-80;
477
+ position: absolute;
478
+ cursor: pointer;
479
+ padding: 15px;
480
+ right: 0;
481
+ top: 0;
482
+ }
483
+ }
484
+
485
+ .is-danger {
486
+ font-size: 12px;
487
+ line-height: 22px;
488
+ color: $danger;
489
+ text-align: left;
490
+
491
+ i.fa {
492
+ padding-right: 10px;
493
+ }
494
+ }
495
+ }
496
+
497
+ .ac-input.ac-search {
498
+ width: 42px;
499
+ transition: 0.3s ease-in-out;
500
+ padding: 0;
501
+ }
502
+
503
+ .ac-search:focus {
504
+ width: 200px !important;
505
+ padding-right: 10px;
506
+ }
507
+
508
+ // check radio
509
+
510
+ .ac-single-radio {
511
+ .is-checkradio[type="radio"] + label {
512
+ padding-left: 25px;
513
+
514
+ &:before {
515
+ width: 16px;
516
+ height: 16px;
517
+ top: 4px;
518
+ background: transparent;
519
+ }
520
+
521
+ &:after {
522
+ width: 16px;
523
+ height: 16px;
524
+ top: 4px;
525
+ }
526
+ }
527
+ }
528
+
529
+ .is-checkradio[type="radio"] + label::after,
530
+ .is-checkradio[type="radio"] + label:after {
531
+ background: $primary;
532
+ }
533
+
534
+ .is-checkradio[type="checkbox"]:checked + label::before,
535
+ .is-checkradio[type="checkbox"]:checked + label:before,
536
+ .is-checkradio[type="radio"]:checked + label::before,
537
+ .is-checkradio[type="radio"]:checked + label:before {
538
+ border: 0.2rem solid $primary;
539
+ }
540
+
541
+ .is-checkradio[type="checkbox"]:hover:not([disabled]) + label::before,
542
+ .is-checkradio[type="checkbox"]:hover:not([disabled]) + label:before,
543
+ .is-checkradio[type="radio"]:hover:not([disabled]) + label::before,
544
+ .is-checkradio[type="radio"]:hover:not([disabled]) + label:before {
545
+ border-color: $primary-30 !important;
546
+ }
547
+
548
+ .is-checkradio[type="checkbox"] + label::after,
549
+ .is-checkradio[type="checkbox"] + label:after {
550
+ border-width: 0.2rem;
551
+ border-color: $primary;
552
+ }
553
+
554
+ // file upload
555
+ .file.ac-file {
556
+ .file-name {
557
+ border-color: $primary-80;
558
+ max-width: 100%;
559
+ width: 100%;
560
+ height: 36px;
561
+ display: flex;
562
+ align-items: center;
563
+ }
564
+ .file-label {
565
+ width: 100%;
566
+ }
567
+
568
+ .file-cta {
569
+ color: $primary-10;
570
+ height: 100%;
571
+ background-color: $primary-95;
572
+ }
573
+ }
@@ -98,7 +98,7 @@
98
98
  // height: calc(100vh - 80px);
99
99
  // overflow-y: auto;
100
100
  // padding-top: 4px;
101
- // scrollbar-color: $white-100-light transparent;
101
+ // scrollbar-color: $white-100 transparent;
102
102
 
103
103
  // /* width */
104
104
  // &::-webkit-scrollbar {
@@ -257,7 +257,7 @@
257
257
 
258
258
  // // &:active {
259
259
  // // i.fa {
260
- // // background-color: $white-100-lighter;
260
+ // // background-color: $primary-90;
261
261
  // // width: 25px;
262
262
  // // height: 25px;
263
263
  // // text-align: center;
@@ -313,7 +313,7 @@
313
313
  // }
314
314
 
315
315
  // .multiselect__input {
316
- // background-color: $ac-bg-light-gray !important;
316
+ // background-color: transparent-light-gray !important;
317
317
  // top: 13px;
318
318
 
319
319
  // &::placeholder {
@@ -324,7 +324,7 @@
324
324
  // }
325
325
 
326
326
  // .multiselect__single {
327
- // background-color: $ac-bg-light-gray !important;
327
+ // background-color: transparent-light-gray !important;
328
328
  // top: 14px !important;
329
329
 
330
330
  // img {
@@ -452,7 +452,7 @@ Responsive Classes
452
452
  // ul {
453
453
  // max-height: 0;
454
454
  // transition: max-height 0.2s ease-out;
455
- // background-color: $ac-bg;
455
+ // background-color: transparent;
456
456
 
457
457
  // li {
458
458
  // a {
@@ -470,17 +470,13 @@ Responsive Classes
470
470
  }
471
471
 
472
472
  // Small devices (landscape phones, 576px and up)
473
- @media (min-width: 576px) and (max-width: 767.98px) {
474
- }
473
+ @media (min-width: 576px) and (max-width: 767.98px) {}
475
474
 
476
475
  // Medium devices (tablets, 768px and up)
477
- @media (min-width: 768px) and (max-width: 991.98px) {
478
- }
476
+ @media (min-width: 768px) and (max-width: 991.98px) {}
479
477
 
480
478
  // Large devices (desktops, 992px and up)
481
- @media (min-width: 992px) and (max-width: 1199.98px) {
482
- }
479
+ @media (min-width: 992px) and (max-width: 1199.98px) {}
483
480
 
484
481
  // Extra large devices (large desktops, 1200px and up)
485
- @media (min-width: 1200px) {
486
- }
482
+ @media (min-width: 1200px) {}
@@ -1,6 +1,6 @@
1
1
  .editor {
2
2
  border: none;
3
- background-color: $white-100-light !important;
3
+ background-color: $white-100 !important;
4
4
  }
5
5
 
6
6
  .decorationsOverviewRuler {
@@ -63,4 +63,4 @@
63
63
  height: 6px !important;
64
64
  }
65
65
  }
66
- }
66
+ }