@appscode/design-system 1.1.0-beta.3 → 1.1.0-beta.31

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 (85) hide show
  1. package/base/utilities/_colors.scss +81 -186
  2. package/base/utilities/_global.scss +24 -18
  3. package/base/utilities/_typography.scss +2 -2
  4. package/base/utilities/dark-theme.scss +2 -8
  5. package/components/_ac-alert-box.scss +8 -8
  6. package/components/_ac-code-highlight.scss +9 -12
  7. package/components/_ac-drag.scss +4 -4
  8. package/components/_ac-modal.scss +2 -2
  9. package/components/_ac-multi-select.scss +18 -18
  10. package/components/_ac-select-box.scss +5 -5
  11. package/components/_ac-table.scss +10 -10
  12. package/components/_ac-tabs.scss +29 -26
  13. package/components/_all.scss +6 -4
  14. package/components/_buttons.scss +10 -10
  15. package/components/_image-upload.scss +6 -6
  16. package/components/_input-card.scss +232 -0
  17. package/components/_input.scss +947 -0
  18. package/components/_left-sidebar-menu.scss +9 -13
  19. package/components/_monaco-editor.scss +2 -2
  20. package/components/_navbar.scss +7 -7
  21. package/components/_nested-list.scss +2 -2
  22. package/components/_overview-info.scss +3 -3
  23. package/components/_pricing-table.scss +5 -5
  24. package/components/_progress-bar.scss +61 -74
  25. package/components/_subscription-card.scss +8 -10
  26. package/components/_table-of-content.scss +4 -4
  27. package/components/{_ac-terminal.scss → _terminal.scss} +55 -38
  28. package/components/_widget-menu.scss +7 -12
  29. package/components/_wizard.scss +518 -793
  30. package/components/ac-toaster/_ac-toasted.scss +6 -11
  31. package/components/bbum/_information-center.scss +8 -10
  32. package/components/bbum/_mobile-desktop.scss +9 -14
  33. package/components/bbum/_single-post-preview.scss +9 -9
  34. package/components/ui-builder/_ui-builder.scss +193 -11
  35. package/components/ui-builder/_vue-open-api.scss +49 -13
  36. package/layouts/_code-preview.scss +6 -7
  37. package/main.scss +4 -4
  38. package/package.json +1 -1
  39. package/plugins/theme.js +11 -9
  40. package/plugins/vue-toaster.js +1 -1
  41. package/vue-components/types/importFlow.ts +16 -0
  42. package/vue-components/v2/banner/Banner.vue +1 -1
  43. package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
  44. package/vue-components/v2/modal/Modal.vue +1 -1
  45. package/vue-components/v2/pagination/Pagination.vue +1 -0
  46. package/vue-components/v3/alert/Alert.vue +7 -7
  47. package/vue-components/v3/banner/Banner.vue +2 -2
  48. package/vue-components/v3/breadcrumbs/Breadcrumb.vue +4 -2
  49. package/vue-components/v3/button/Button.vue +26 -11
  50. package/vue-components/v3/cards/Cluster.vue +3 -4
  51. package/vue-components/v3/cards/Counter.vue +12 -0
  52. package/vue-components/v3/cards/FeatureCard.vue +31 -0
  53. package/vue-components/v3/cards/InfoCard.vue +4 -9
  54. package/vue-components/v3/cards/Monitoring.vue +1 -1
  55. package/vue-components/v3/cards/Vendor.vue +67 -5
  56. package/vue-components/v3/content/ContentTable.vue +7 -2
  57. package/vue-components/v3/editor/FilteredFileEditor.vue +200 -3
  58. package/vue-components/v3/footer/Info.vue +10 -8
  59. package/vue-components/v3/footer/Status.vue +21 -23
  60. package/vue-components/v3/footer/Usage.vue +20 -30
  61. package/vue-components/v3/form/Form.vue +0 -3
  62. package/vue-components/v3/form-fields/AcSingleInput.vue +9 -1
  63. package/vue-components/v3/header/Header.vue +5 -4
  64. package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
  65. package/vue-components/v3/modal/Modal.vue +1 -1
  66. package/vue-components/v3/navbar/Navbar.vue +3 -1
  67. package/vue-components/v3/navbar/User.vue +4 -4
  68. package/vue-components/v3/notification/AlertBox.vue +234 -4
  69. package/vue-components/v3/option-dots/Options.vue +2 -1
  70. package/vue-components/v3/pagination/Pagination.vue +2 -1
  71. package/vue-components/v3/preloader/Preloader.vue +1 -1
  72. package/vue-components/v3/searchbars/SearchBar.vue +10 -2
  73. package/vue-components/v3/sidebar/ClusterSwitcher.vue +35 -31
  74. package/vue-components/v3/sidebar/Sidebar.vue +5 -9
  75. package/vue-components/v3/sidebar/SidebarFooter.vue +3 -3
  76. package/vue-components/v3/sidebar/SidebarHeader.vue +3 -3
  77. package/vue-components/v3/sidebar/Steps.vue +152 -0
  78. package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +26 -2
  79. package/vue-components/v3/table/InfoTable.vue +6 -4
  80. package/vue-components/v3/table/Table.vue +38 -31
  81. package/vue-components/v3/table/TableRow.vue +2 -2
  82. package/components/_ac-card.scss +0 -589
  83. package/components/_ac-input.scss +0 -394
  84. /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
  85. /package/components/{_ac-report.scss → _report.scss} +0 -0
@@ -1,394 +0,0 @@
1
- // Input fields
2
-
3
- .ac-file-upload {
4
- margin-bottom: 20px;
5
-
6
- &:last-child {
7
- margin-bottom: 0;
8
- }
9
-
10
- &.style-2 {
11
- label {
12
- &.file-label {
13
- position: relative;
14
- z-index: 1;
15
-
16
- span.ac-placeholder {
17
- position: absolute;
18
- left: 180px;
19
- top: 10px;
20
- z-index: 1;
21
- font-size: 13px;
22
- color: $ac-label-text;
23
- font-weight: 400;
24
- }
25
- }
26
-
27
- .file-cta {
28
- background-color: $primary;
29
- margin-top: 3.5px;
30
- margin-left: 3px;
31
- height: 26px;
32
-
33
- .file-label {
34
- color: $white-100;
35
- font-weight: 400;
36
- }
37
- }
38
- }
39
- }
40
-
41
- label {
42
- background-color: transparent;
43
- height: 36px;
44
- font-weight: 400;
45
- border-radius: 4px;
46
- border: 1px solid $ac-label-text;
47
- font-size: 13px;
48
-
49
- .file-cta {
50
- background-color: transparent;
51
- border: none;
52
- }
53
-
54
- &:hover {
55
- border-color: $black-80;
56
- }
57
-
58
- &.bg-white {
59
- background-color: $white-100;
60
- }
61
-
62
- &:focus {
63
- border: 1px solid $primary;
64
- outline: none;
65
- background-color: $white-100;
66
- }
67
- }
68
- }
69
-
70
- input#captcha {
71
- background-color: $white-100;
72
- height: 36px;
73
- font-weight: 400;
74
- width: 100%;
75
- border-radius: 4px;
76
- border: 1px solid $primary-90;
77
- padding: 8px 15px;
78
- font-size: 13px;
79
- transition: background-color 0.3s ease-in-out;
80
-
81
- &:focus {
82
- outline: none;
83
- border-bottom: 1px solid $ac-label-text;
84
- }
85
- }
86
-
87
- // AC-Checkbox
88
- .ac-single-checkbox {
89
- .is-checkradio {
90
- position: unset !important;
91
- }
92
-
93
- .is-checkradio[type="checkbox"].ac-checkbox + label::before {
94
- height: 16px;
95
- width: 16px;
96
- background-color: $primary-90;
97
- }
98
-
99
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::before {
100
- background-color: $primary;
101
- border-color: $primary;
102
- }
103
-
104
- .is-checkradio[type="checkbox"].ac-checkbox + label::after {
105
- top: 6px;
106
- left: 6px;
107
- border-color: $black-80;
108
- width: 0.3rem;
109
- height: 0.5rem;
110
- }
111
-
112
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label::after {
113
- border-color: $white-100;
114
- }
115
-
116
- .is-checkradio[type="checkbox"].ac-checkbox + label {
117
- color: $primary-10;
118
- font-size: 13px !important;
119
- padding-left: 25px;
120
- user-select: none;
121
- }
122
-
123
- .is-checkradio[type="checkbox"].ac-checkbox:checked + label {
124
- color: $primary !important;
125
- }
126
-
127
- .is-checkradio[type="checkbox"].ac-checkbox + label {
128
- color: $primary-10;
129
- font-size: 13px;
130
- padding-left: 25px;
131
- user-select: none;
132
- }
133
-
134
- .is-checkradio[type="checkbox"],
135
- .is-checkradio[type="radio"] {
136
- display: none;
137
- }
138
- }
139
-
140
- .ac-single-radio {
141
- &.is-selected {
142
- .is-checkradio[type="radio"].ac-radio + label {
143
- color: $primary;
144
- }
145
- }
146
- }
147
-
148
- .is-checkradio[type="checkbox"] + label::before,
149
- .is-checkradio[type="checkbox"] + label:before {
150
- top: 3px;
151
- }
152
-
153
- // AC-Switch
154
- .ac-single-switch {
155
- label {
156
- user-select: none;
157
- font-size: 13px;
158
- font-weight: 400;
159
- color: $primary-10;
160
-
161
- &::before {
162
- background-color: #cad3df;
163
- }
164
- }
165
-
166
- .button.is-information {
167
- margin-top: 6px;
168
- }
169
-
170
- &.is-small {
171
- label {
172
- font-size: 13px !important;
173
- }
174
- .switch[type="checkbox"] + label {
175
- font-size: 13px;
176
- padding-top: 0;
177
- padding-left: 40px;
178
- height: auto;
179
-
180
- &::before {
181
- width: 30px;
182
- height: 16.2px;
183
- }
184
-
185
- &::after {
186
- top: 2px;
187
- left: 2px;
188
- width: 12px;
189
- height: 12px;
190
- }
191
- }
192
-
193
- .switch[type="checkbox"]:checked + label {
194
- &::after {
195
- left: 15px;
196
- }
197
- }
198
- }
199
-
200
- .switch {
201
- &[type="checkbox"] + label {
202
- padding-top: 3px;
203
- &::before {
204
- background-color: $ac-gray-light;
205
- }
206
- }
207
-
208
- &.ac-switch {
209
- &.is-primary {
210
- @include ac-switch($primary);
211
- }
212
-
213
- &.is-link {
214
- @include ac-switch($info);
215
- }
216
-
217
- &.is-info {
218
- @include ac-switch($info);
219
- }
220
-
221
- &.is-success {
222
- @include ac-switch($success);
223
- }
224
-
225
- &.is-warning {
226
- @include ac-switch($warning);
227
- }
228
-
229
- &.is-danger {
230
- @include ac-switch($danger);
231
- }
232
- }
233
- }
234
- }
235
-
236
- .ac-single-switch.is-small .switch[type="checkbox"] + label,
237
- .buttons.are-small
238
- .ac-single-switch.button.ac-button
239
- .switch[type="checkbox"]
240
- + label {
241
- height: 19px;
242
- }
243
-
244
- // transparent input
245
- .transparent-input {
246
- display: flex;
247
- align-items: center;
248
- width: calc(100% - 100px);
249
-
250
- span {
251
- width: 100%;
252
- }
253
-
254
- input {
255
- border: none;
256
- background-color: transparent;
257
- font-size: 18px;
258
- font-weight: 400;
259
- font-family: $font-heading;
260
- color: $primary-20;
261
- width: 100%;
262
- padding: 5px 0;
263
-
264
- &:focus {
265
- outline: none;
266
- border-bottom: 1px solid $ac-label-text;
267
- }
268
- }
269
- }
270
-
271
- // AC-Radio
272
- .ac-single-radio {
273
- .is-checkradio[type="radio"] {
274
- & + label {
275
- padding-left: 25px;
276
- font-size: 13px;
277
- padding: 0.3rem 0.5rem 0.2rem 1.5rem;
278
-
279
- &::after {
280
- background-color: $primary;
281
- width: 16px;
282
- height: 16px;
283
- top: 5px;
284
- }
285
-
286
- &:after {
287
- background-color: $primary;
288
- }
289
-
290
- &:before {
291
- border-color: $primary;
292
- width: 16px;
293
- height: 16px;
294
- top: 5px;
295
- }
296
- }
297
-
298
- &:hover {
299
- &:not([disabled]) {
300
- & + label {
301
- &:before {
302
- border-color: $primary !important;
303
- }
304
- }
305
- }
306
- }
307
- }
308
-
309
- .is-checkradio[type="radio"]:checked {
310
- & + label {
311
- color: $primary;
312
- }
313
- }
314
- }
315
- // dark theme start
316
- .is-dark-theme {
317
- .ac-single-input {
318
- input,
319
- .file-input,
320
- .ac-dropdown-content {
321
- background-color: transparent;
322
- }
323
-
324
- label {
325
- color: $ac-label-text;
326
- }
327
- .button.is-information:focus {
328
- background-color: $dark-bg-light;
329
- }
330
- }
331
- }
332
- // dark theme end
333
- /****************************************
334
- Responsive Classes
335
- *****************************************/
336
- // Extra small devices (portrait phones, less than 576px)
337
- @media (max-width: 575.98px) {
338
- .ac-single-input {
339
- input {
340
- height: 36px;
341
- font-size: 13px;
342
- font-weight: 400;
343
- }
344
-
345
- label {
346
- top: 9px;
347
- font-size: 13px;
348
-
349
- &.show-label {
350
- top: -9px;
351
- font-size: 12px;
352
- }
353
- }
354
-
355
- textarea {
356
- font-size: 13px;
357
- }
358
-
359
- span {
360
- &.eye {
361
- i.fa {
362
- padding: 10px;
363
- }
364
- }
365
- }
366
-
367
- .ac-search-button {
368
- margin-top: -18px;
369
- }
370
- }
371
-
372
- .ac-file-upload {
373
- label {
374
- height: 36px;
375
- font-size: 13px;
376
- }
377
- }
378
- }
379
-
380
- // Small devices (landscape phones, 576px and up)
381
- @media (min-width: 576px) and (max-width: 767.98px) {
382
- }
383
-
384
- // Medium devices (tablets, 768px and up)
385
- @media (min-width: 768px) and (max-width: 991.98px) {
386
- }
387
-
388
- // Large devices (desktops, 992px and up)
389
- @media (min-width: 992px) and (max-width: 1199.98px) {
390
- }
391
-
392
- // Extra large devices (large desktops, 1200px and up)
393
- @media (min-width: 1200px) {
394
- }
File without changes