@appscode/design-system 1.1.0-beta.72 → 1.1.0-beta.74
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.
- package/package.json +1 -1
- package/vue-components/v3/button/Button.vue +20 -787
- package/vue-components/v3/cards/FeatureCard.vue +6 -10
- package/vue-components/v3/cards/Monitoring.vue +6 -10
- package/vue-components/v3/editor/Editor.vue +1 -1
- package/vue-components/v3/editor/FilteredFileEditor.vue +3 -0
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +3 -0
- package/vue-components/v3/modals/JsonShowModal.vue +1 -0
- package/vue-components/v3/navbar/User.vue +5 -18
package/package.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { computed } from "vue";
|
|
3
|
+
|
|
2
4
|
interface Props {
|
|
3
5
|
title?: string;
|
|
4
6
|
tooltip?: string;
|
|
@@ -18,6 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
18
20
|
disabled: false,
|
|
19
21
|
iconClass: "",
|
|
20
22
|
iconImage: "",
|
|
23
|
+
|
|
21
24
|
iconImageWidth: undefined,
|
|
22
25
|
modifierClasses: "is-primary",
|
|
23
26
|
titleModifierClass: "",
|
|
@@ -28,6 +31,11 @@ const emit = defineEmits(["click"]);
|
|
|
28
31
|
const handleClick = (e: Event) => {
|
|
29
32
|
if (!props.disabled) emit("click", e);
|
|
30
33
|
};
|
|
34
|
+
|
|
35
|
+
const showUnpluginIcon = computed(() => {
|
|
36
|
+
if (props.iconClass.includes("unplugin")) return true;
|
|
37
|
+
else return false;
|
|
38
|
+
});
|
|
31
39
|
</script>
|
|
32
40
|
|
|
33
41
|
<template>
|
|
@@ -38,15 +46,23 @@ const handleClick = (e: Event) => {
|
|
|
38
46
|
@click="handleClick"
|
|
39
47
|
:title="tooltip"
|
|
40
48
|
>
|
|
41
|
-
<span
|
|
49
|
+
<span
|
|
50
|
+
v-if="iconClass || iconImage"
|
|
51
|
+
class="icon is-small"
|
|
52
|
+
:class="showUnpluginIcon ? iconClass : ''"
|
|
53
|
+
>
|
|
42
54
|
<img
|
|
43
55
|
v-if="iconImage"
|
|
44
56
|
:src="iconImage"
|
|
45
57
|
alt="icon"
|
|
46
58
|
:width="iconImageWidth"
|
|
47
59
|
/>
|
|
60
|
+
|
|
61
|
+
<slot name="icon" v-else-if="showUnpluginIcon" />
|
|
62
|
+
|
|
48
63
|
<i v-else :class="`fa fa-${iconClass}`" aria-hidden="true" />
|
|
49
64
|
</span>
|
|
65
|
+
|
|
50
66
|
<span v-if="title" :class="titleModifierClass">{{ title }}</span>
|
|
51
67
|
<slot />
|
|
52
68
|
</button>
|
|
@@ -58,6 +74,7 @@ const handleClick = (e: Event) => {
|
|
|
58
74
|
padding: 8px 16px;
|
|
59
75
|
font-weight: 500;
|
|
60
76
|
line-height: 1;
|
|
77
|
+
|
|
61
78
|
&.is-primary {
|
|
62
79
|
&.is-light {
|
|
63
80
|
color: $primary;
|
|
@@ -81,14 +98,9 @@ const handleClick = (e: Event) => {
|
|
|
81
98
|
}
|
|
82
99
|
}
|
|
83
100
|
}
|
|
84
|
-
|
|
85
|
-
border-color: transparent !important;
|
|
86
|
-
}
|
|
87
|
-
&.is-square {
|
|
88
|
-
border: 1px solid $primary-95;
|
|
89
|
-
}
|
|
101
|
+
|
|
90
102
|
&.is-small {
|
|
91
|
-
padding: 4px
|
|
103
|
+
padding: 4px 12px;
|
|
92
104
|
}
|
|
93
105
|
&.is-medium {
|
|
94
106
|
font-size: 1rem;
|
|
@@ -99,783 +111,4 @@ const handleClick = (e: Event) => {
|
|
|
99
111
|
button.is-primary {
|
|
100
112
|
background-color: $primary;
|
|
101
113
|
}
|
|
102
|
-
// .button {
|
|
103
|
-
// transition: 86ms ease-in-out;
|
|
104
|
-
|
|
105
|
-
// // ac-button
|
|
106
|
-
// &.ac-button {
|
|
107
|
-
// border-color: $primary;
|
|
108
|
-
// border-radius: 4px;
|
|
109
|
-
// font-size: 14px;
|
|
110
|
-
// font-family: $font-paragraph;
|
|
111
|
-
// letter-spacing: 0.2px;
|
|
112
|
-
// color: $primary;
|
|
113
|
-
// font-weight: 500;
|
|
114
|
-
// height: 36px;
|
|
115
|
-
// padding-left: 25px;
|
|
116
|
-
// padding-right: 25px;
|
|
117
|
-
// line-height: 1;
|
|
118
|
-
// &:focus-visible {
|
|
119
|
-
// outline: none;
|
|
120
|
-
// }
|
|
121
|
-
|
|
122
|
-
// &:hover {
|
|
123
|
-
// border-color: hsla(
|
|
124
|
-
// var(--hsl-hue),
|
|
125
|
-
// var(--hsl-saturation),
|
|
126
|
-
// calc(var(--hsl-lightness) - 9%),
|
|
127
|
-
// 1
|
|
128
|
-
// );
|
|
129
|
-
// color: hsla(
|
|
130
|
-
// var(--hsl-hue),
|
|
131
|
-
// var(--hsl-saturation),
|
|
132
|
-
// calc(var(--hsl-lightness) - 9%),
|
|
133
|
-
// 1
|
|
134
|
-
// );
|
|
135
|
-
// }
|
|
136
|
-
|
|
137
|
-
// &.underline-button {
|
|
138
|
-
// text-decoration-line: underline;
|
|
139
|
-
// border: none;
|
|
140
|
-
// padding: 0;
|
|
141
|
-
// height: unset;
|
|
142
|
-
// letter-spacing: 1px;
|
|
143
|
-
|
|
144
|
-
// &.is-primary {
|
|
145
|
-
// color: $primary;
|
|
146
|
-
// background-color: transparent;
|
|
147
|
-
|
|
148
|
-
// &:hover {
|
|
149
|
-
// background-color: unset;
|
|
150
|
-
// }
|
|
151
|
-
// }
|
|
152
|
-
// }
|
|
153
|
-
|
|
154
|
-
// &.is-disabled {
|
|
155
|
-
// opacity: 0.5 !important;
|
|
156
|
-
// }
|
|
157
|
-
|
|
158
|
-
// &.is-rounded {
|
|
159
|
-
// border-radius: 9999px;
|
|
160
|
-
// }
|
|
161
|
-
|
|
162
|
-
// .ac-icon {
|
|
163
|
-
// margin-left: 25px;
|
|
164
|
-
// background-color: $white-100;
|
|
165
|
-
// color: $primary;
|
|
166
|
-
// padding: 2px 6px;
|
|
167
|
-
// border-radius: 4px;
|
|
168
|
-
// width: 20px;
|
|
169
|
-
// height: 20px;
|
|
170
|
-
// display: flex;
|
|
171
|
-
// align-items: center;
|
|
172
|
-
// justify-content: center;
|
|
173
|
-
// font-size: 12px;
|
|
174
|
-
// }
|
|
175
|
-
|
|
176
|
-
// &.is-small {
|
|
177
|
-
// height: 36px;
|
|
178
|
-
// font-size: 13px;
|
|
179
|
-
// letter-spacing: 0px;
|
|
180
|
-
// font-weight: 500;
|
|
181
|
-
// padding-left: 25px;
|
|
182
|
-
// padding-right: 25px;
|
|
183
|
-
// }
|
|
184
|
-
|
|
185
|
-
// &.is-extra-small {
|
|
186
|
-
// height: 32px;
|
|
187
|
-
// font-size: 12px;
|
|
188
|
-
// letter-spacing: 0px;
|
|
189
|
-
// font-weight: 500;
|
|
190
|
-
// padding-left: 20px;
|
|
191
|
-
// padding-right: 20px;
|
|
192
|
-
// }
|
|
193
|
-
|
|
194
|
-
// &.is-tiny {
|
|
195
|
-
// height: 28px;
|
|
196
|
-
// font-size: 11px;
|
|
197
|
-
// letter-spacing: 0px;
|
|
198
|
-
// font-weight: 400;
|
|
199
|
-
// padding-left: 15px;
|
|
200
|
-
// padding-right: 15px;
|
|
201
|
-
// line-height: 1;
|
|
202
|
-
// }
|
|
203
|
-
// &.is-extra-tiny {
|
|
204
|
-
// height: 22px;
|
|
205
|
-
// font-size: 11px;
|
|
206
|
-
// letter-spacing: 0px;
|
|
207
|
-
// font-weight: 400;
|
|
208
|
-
// padding-left: 10px;
|
|
209
|
-
// padding-right: 10px;
|
|
210
|
-
// line-height: 1;
|
|
211
|
-
// }
|
|
212
|
-
// &.is-normal {
|
|
213
|
-
// height: 45px;
|
|
214
|
-
// font-size: 15px;
|
|
215
|
-
// letter-spacing: 0px;
|
|
216
|
-
// font-weight: 500;
|
|
217
|
-
// padding-left: 25px;
|
|
218
|
-
// padding-right: 25px;
|
|
219
|
-
// }
|
|
220
|
-
|
|
221
|
-
// &.is-medium {
|
|
222
|
-
// height: 58px;
|
|
223
|
-
// font-size: 18px;
|
|
224
|
-
// padding-left: 45px;
|
|
225
|
-
// padding-right: 45px;
|
|
226
|
-
// }
|
|
227
|
-
|
|
228
|
-
// &.is-large {
|
|
229
|
-
// height: 48px;
|
|
230
|
-
// font-size: 16px;
|
|
231
|
-
// padding-left: 45px;
|
|
232
|
-
// padding-right: 45px;
|
|
233
|
-
// }
|
|
234
|
-
|
|
235
|
-
// &.is-square {
|
|
236
|
-
// width: 52px;
|
|
237
|
-
// height: 52px;
|
|
238
|
-
// padding: 0;
|
|
239
|
-
// &:hover {
|
|
240
|
-
// svg {
|
|
241
|
-
// color: $white-100;
|
|
242
|
-
// }
|
|
243
|
-
// }
|
|
244
|
-
// &.is-gray {
|
|
245
|
-
// background-color: $primary-90;
|
|
246
|
-
// color: $black-80;
|
|
247
|
-
// border-color: transparent;
|
|
248
|
-
|
|
249
|
-
// img {
|
|
250
|
-
// width: 16px;
|
|
251
|
-
// }
|
|
252
|
-
|
|
253
|
-
// i.fa {
|
|
254
|
-
// font-size: 18px;
|
|
255
|
-
// color: $black-80;
|
|
256
|
-
// }
|
|
257
|
-
|
|
258
|
-
// &:hover {
|
|
259
|
-
// background-color: $black-80;
|
|
260
|
-
// }
|
|
261
|
-
// }
|
|
262
|
-
|
|
263
|
-
// &.is-outlined-gray {
|
|
264
|
-
// border: 1px solid $primary-90;
|
|
265
|
-
// font-size: 15px;
|
|
266
|
-
// }
|
|
267
|
-
|
|
268
|
-
// &.is-transparent {
|
|
269
|
-
// background-color: transparent;
|
|
270
|
-
// color: $black-40;
|
|
271
|
-
|
|
272
|
-
// &:hover {
|
|
273
|
-
// background-color: $primary-90;
|
|
274
|
-
// color: $black-5;
|
|
275
|
-
// }
|
|
276
|
-
|
|
277
|
-
// &:focus {
|
|
278
|
-
// background-color: $primary-90;
|
|
279
|
-
// color: $black-5;
|
|
280
|
-
// }
|
|
281
|
-
// }
|
|
282
|
-
|
|
283
|
-
// &.transparent-bg {
|
|
284
|
-
// background-color: transparent;
|
|
285
|
-
// border: 1px solid $primary-10;
|
|
286
|
-
|
|
287
|
-
// img {
|
|
288
|
-
// &:hover {
|
|
289
|
-
// filter: brightness(1) !important;
|
|
290
|
-
// }
|
|
291
|
-
// }
|
|
292
|
-
// }
|
|
293
|
-
|
|
294
|
-
// &.is-normal {
|
|
295
|
-
// height: 45px;
|
|
296
|
-
// width: 45px;
|
|
297
|
-
// }
|
|
298
|
-
|
|
299
|
-
// &.is-small {
|
|
300
|
-
// width: 36px;
|
|
301
|
-
// height: 36px;
|
|
302
|
-
// font-size: 15px;
|
|
303
|
-
// }
|
|
304
|
-
// &.is-extra-small {
|
|
305
|
-
// width: 32px;
|
|
306
|
-
// height: 32px;
|
|
307
|
-
// font-size: 14px;
|
|
308
|
-
// }
|
|
309
|
-
// &.is-tinny {
|
|
310
|
-
// width: 25px;
|
|
311
|
-
// height: 25px;
|
|
312
|
-
// font-size: 12px;
|
|
313
|
-
|
|
314
|
-
// i.fa {
|
|
315
|
-
// font-size: 13px;
|
|
316
|
-
// }
|
|
317
|
-
// }
|
|
318
|
-
// }
|
|
319
|
-
|
|
320
|
-
// &.is-transparent {
|
|
321
|
-
// padding: 0;
|
|
322
|
-
// height: auto;
|
|
323
|
-
// border: none;
|
|
324
|
-
// font-size: 14px;
|
|
325
|
-
// font-weight: 500;
|
|
326
|
-
// background-color: transparent;
|
|
327
|
-
// color: $primary-10;
|
|
328
|
-
|
|
329
|
-
// &.is-primary {
|
|
330
|
-
// background-color: transparent;
|
|
331
|
-
// color: $primary;
|
|
332
|
-
|
|
333
|
-
// &:hover {
|
|
334
|
-
// background-color: transparent;
|
|
335
|
-
// color: $primary;
|
|
336
|
-
// }
|
|
337
|
-
// }
|
|
338
|
-
|
|
339
|
-
// &.is-danger {
|
|
340
|
-
// background-color: transparent;
|
|
341
|
-
// color: $danger;
|
|
342
|
-
|
|
343
|
-
// &:hover {
|
|
344
|
-
// background-color: transparent;
|
|
345
|
-
// color: $danger;
|
|
346
|
-
// }
|
|
347
|
-
// }
|
|
348
|
-
|
|
349
|
-
// &.is-small {
|
|
350
|
-
// letter-spacing: 0px;
|
|
351
|
-
// font-size: 13px;
|
|
352
|
-
// }
|
|
353
|
-
|
|
354
|
-
// &:focus {
|
|
355
|
-
// box-shadow: none;
|
|
356
|
-
// outline: none;
|
|
357
|
-
// }
|
|
358
|
-
// }
|
|
359
|
-
|
|
360
|
-
// &.is-white {
|
|
361
|
-
// background-color: $white-100;
|
|
362
|
-
// border: none;
|
|
363
|
-
// }
|
|
364
|
-
|
|
365
|
-
// &.is-light {
|
|
366
|
-
// background-color: $primary-90;
|
|
367
|
-
// border: none;
|
|
368
|
-
|
|
369
|
-
// &:hover {
|
|
370
|
-
// background-color: darken(#e7e7e7, 9);
|
|
371
|
-
// }
|
|
372
|
-
// }
|
|
373
|
-
|
|
374
|
-
// &.is-dark {
|
|
375
|
-
// background-color: $black-30;
|
|
376
|
-
// border: none;
|
|
377
|
-
// color: $white-100;
|
|
378
|
-
|
|
379
|
-
// &:hover {
|
|
380
|
-
// background-color: $primary-20;
|
|
381
|
-
// }
|
|
382
|
-
// }
|
|
383
|
-
|
|
384
|
-
// &.is-black {
|
|
385
|
-
// background-color: $primary-10;
|
|
386
|
-
// border: none;
|
|
387
|
-
// color: $white-100;
|
|
388
|
-
|
|
389
|
-
// &:hover {
|
|
390
|
-
// background-color: hsla(0, 0, calc(var(--hsl-lightness) - 9%), 1);
|
|
391
|
-
// }
|
|
392
|
-
// }
|
|
393
|
-
|
|
394
|
-
// &.is-text {
|
|
395
|
-
// background-color: $white-100;
|
|
396
|
-
// border: none;
|
|
397
|
-
|
|
398
|
-
// &:hover {
|
|
399
|
-
// box-shadow: none;
|
|
400
|
-
// box-shadow: none;
|
|
401
|
-
// color: hsla(
|
|
402
|
-
// var(--hsl-hue),
|
|
403
|
-
// var(--hsl-saturation),
|
|
404
|
-
// calc(var(--hsl-lightness) - 10%),
|
|
405
|
-
// 1
|
|
406
|
-
// );
|
|
407
|
-
// }
|
|
408
|
-
|
|
409
|
-
// &:focus {
|
|
410
|
-
// box-shadow: none;
|
|
411
|
-
// box-shadow: none;
|
|
412
|
-
// color: hsla(
|
|
413
|
-
// var(--hsl-hue),
|
|
414
|
-
// var(--hsl-saturation),
|
|
415
|
-
// calc(var(--hsl-lightness) - 10%),
|
|
416
|
-
// 1
|
|
417
|
-
// );
|
|
418
|
-
// }
|
|
419
|
-
// }
|
|
420
|
-
|
|
421
|
-
// &.is-static {
|
|
422
|
-
// border: none;
|
|
423
|
-
// background-color: $primary-90;
|
|
424
|
-
// color: $white-100;
|
|
425
|
-
// }
|
|
426
|
-
|
|
427
|
-
// // ac-button from mixin
|
|
428
|
-
// &.is-primary {
|
|
429
|
-
// @include ac-button($primary);
|
|
430
|
-
// }
|
|
431
|
-
|
|
432
|
-
// &.is-link {
|
|
433
|
-
// @include ac-button($info);
|
|
434
|
-
// }
|
|
435
|
-
|
|
436
|
-
// &.is-info {
|
|
437
|
-
// @include ac-button($info);
|
|
438
|
-
// }
|
|
439
|
-
|
|
440
|
-
// &.is-success {
|
|
441
|
-
// @include ac-button($success);
|
|
442
|
-
// }
|
|
443
|
-
|
|
444
|
-
// &.is-warning {
|
|
445
|
-
// @include ac-button($warning);
|
|
446
|
-
// }
|
|
447
|
-
|
|
448
|
-
// &.is-danger {
|
|
449
|
-
// @include ac-button($danger);
|
|
450
|
-
// }
|
|
451
|
-
|
|
452
|
-
// &.is-green {
|
|
453
|
-
// @include ac-button($success);
|
|
454
|
-
// }
|
|
455
|
-
// }
|
|
456
|
-
|
|
457
|
-
// // play button
|
|
458
|
-
// &.ac-play-button {
|
|
459
|
-
// width: 60px;
|
|
460
|
-
// height: 60px;
|
|
461
|
-
// background-color: transparent;
|
|
462
|
-
// transition: 0.3s ease-in-out;
|
|
463
|
-
// border: 2px solid $black-30;
|
|
464
|
-
// color: $black-30;
|
|
465
|
-
|
|
466
|
-
// i.fa {
|
|
467
|
-
// padding-left: 5px;
|
|
468
|
-
// }
|
|
469
|
-
|
|
470
|
-
// // ac-button from mixin
|
|
471
|
-
// &.is-primary {
|
|
472
|
-
// @include ac-play-button($primary);
|
|
473
|
-
// }
|
|
474
|
-
|
|
475
|
-
// &.is-link {
|
|
476
|
-
// @include ac-play-button($info);
|
|
477
|
-
// }
|
|
478
|
-
|
|
479
|
-
// &.is-info {
|
|
480
|
-
// @include ac-play-button($info);
|
|
481
|
-
// }
|
|
482
|
-
|
|
483
|
-
// &.is-success {
|
|
484
|
-
// @include ac-play-button($success);
|
|
485
|
-
// }
|
|
486
|
-
|
|
487
|
-
// &.is-warning {
|
|
488
|
-
// @include ac-play-button($warning);
|
|
489
|
-
// }
|
|
490
|
-
|
|
491
|
-
// &.is-danger {
|
|
492
|
-
// @include ac-play-button($danger);
|
|
493
|
-
// }
|
|
494
|
-
|
|
495
|
-
// &.is-large {
|
|
496
|
-
// width: auto;
|
|
497
|
-
// display: inline-block;
|
|
498
|
-
// padding: 0 25px 0 4px;
|
|
499
|
-
// height: 53px;
|
|
500
|
-
// border: 1px solid $primary;
|
|
501
|
-
|
|
502
|
-
// .ac-play {
|
|
503
|
-
// width: 44px;
|
|
504
|
-
// height: 44px;
|
|
505
|
-
// font-size: 16px;
|
|
506
|
-
// line-height: 44px;
|
|
507
|
-
// display: inline-block;
|
|
508
|
-
// border: 1px solid $primary;
|
|
509
|
-
// border-radius: 50%;
|
|
510
|
-
// margin-right: 10px;
|
|
511
|
-
// }
|
|
512
|
-
|
|
513
|
-
// span {
|
|
514
|
-
// font-size: 16px;
|
|
515
|
-
// font-weight: 600;
|
|
516
|
-
// color: $primary;
|
|
517
|
-
// }
|
|
518
|
-
// }
|
|
519
|
-
// }
|
|
520
|
-
// }
|
|
521
|
-
|
|
522
|
-
// .ac-play-button-wrapper {
|
|
523
|
-
// display: flex;
|
|
524
|
-
// align-items: center;
|
|
525
|
-
|
|
526
|
-
// .ac-play-button {
|
|
527
|
-
// height: 52px;
|
|
528
|
-
// width: 52px;
|
|
529
|
-
// margin-bottom: 0;
|
|
530
|
-
// margin-right: 10px;
|
|
531
|
-
// background-color: $primary;
|
|
532
|
-
|
|
533
|
-
// i.fa {
|
|
534
|
-
// color: $white-100;
|
|
535
|
-
// }
|
|
536
|
-
// }
|
|
537
|
-
|
|
538
|
-
// p {
|
|
539
|
-
// font-size: 16px;
|
|
540
|
-
// font-weight: 600;
|
|
541
|
-
// display: block;
|
|
542
|
-
// color: $primary-10;
|
|
543
|
-
|
|
544
|
-
// span {
|
|
545
|
-
// font-size: 12px;
|
|
546
|
-
// display: block;
|
|
547
|
-
// font-weight: 400;
|
|
548
|
-
// }
|
|
549
|
-
// }
|
|
550
|
-
|
|
551
|
-
// &:hover {
|
|
552
|
-
// p {
|
|
553
|
-
// color: $primary;
|
|
554
|
-
// }
|
|
555
|
-
// }
|
|
556
|
-
// }
|
|
557
|
-
|
|
558
|
-
// // counter button start
|
|
559
|
-
// .ac-counter-button {
|
|
560
|
-
// background-color: transparent;
|
|
561
|
-
// border: 1px solid $primary-10;
|
|
562
|
-
// border-radius: 4px;
|
|
563
|
-
// height: 46px;
|
|
564
|
-
// overflow: hidden;
|
|
565
|
-
// display: inline-flex;
|
|
566
|
-
// align-items: center;
|
|
567
|
-
|
|
568
|
-
// .ac-counter {
|
|
569
|
-
// min-width: 50px;
|
|
570
|
-
// text-align: left;
|
|
571
|
-
// padding: 0;
|
|
572
|
-
// height: 100%;
|
|
573
|
-
// overflow: hidden;
|
|
574
|
-
|
|
575
|
-
// input[type="number"] {
|
|
576
|
-
// border: none;
|
|
577
|
-
// height: 100%;
|
|
578
|
-
// padding: 10px;
|
|
579
|
-
// font-size: 15px;
|
|
580
|
-
// font-weight: 500;
|
|
581
|
-
// color: $primary-20;
|
|
582
|
-
// background-color: transparent;
|
|
583
|
-
// width: 100%;
|
|
584
|
-
// -moz-appearance: textfield;
|
|
585
|
-
|
|
586
|
-
// /* Chrome, Safari, Edge, Opera */
|
|
587
|
-
// &::-webkit-outer-spin-button,
|
|
588
|
-
// &::-webkit-inner-spin-button {
|
|
589
|
-
// -webkit-appearance: none;
|
|
590
|
-
// margin: 0;
|
|
591
|
-
// }
|
|
592
|
-
|
|
593
|
-
// &:focus {
|
|
594
|
-
// outline: none;
|
|
595
|
-
// background-color: $white-100;
|
|
596
|
-
// }
|
|
597
|
-
// }
|
|
598
|
-
// }
|
|
599
|
-
|
|
600
|
-
// // .ac-counter-button .ac-counter {
|
|
601
|
-
// // padding: 0;
|
|
602
|
-
// // height: 100%;
|
|
603
|
-
// // }
|
|
604
|
-
|
|
605
|
-
// .ac-counter-arrow-wrapper {
|
|
606
|
-
// height: 100%;
|
|
607
|
-
// color: $primary-10;
|
|
608
|
-
// border-left: 1px solid $primary-10;
|
|
609
|
-
|
|
610
|
-
// .ac-counter-arrow {
|
|
611
|
-
// background-color: transparent;
|
|
612
|
-
// border: none;
|
|
613
|
-
// cursor: pointer;
|
|
614
|
-
// color: $primary-10;
|
|
615
|
-
// height: 23px;
|
|
616
|
-
|
|
617
|
-
// &:hover {
|
|
618
|
-
// color: $primary-10;
|
|
619
|
-
// }
|
|
620
|
-
|
|
621
|
-
// &:first-child {
|
|
622
|
-
// border-bottom: 1px solid $primary-10;
|
|
623
|
-
// }
|
|
624
|
-
// }
|
|
625
|
-
// }
|
|
626
|
-
// }
|
|
627
|
-
|
|
628
|
-
// // counter button end
|
|
629
|
-
|
|
630
|
-
// // up down button start
|
|
631
|
-
// .up-down-buttons {
|
|
632
|
-
// border-radius: 4px;
|
|
633
|
-
// overflow: hidden;
|
|
634
|
-
// margin-right: 10px;
|
|
635
|
-
// position: relative;
|
|
636
|
-
// z-index: 1;
|
|
637
|
-
// max-width: 44px;
|
|
638
|
-
|
|
639
|
-
// &.is-small {
|
|
640
|
-
// max-width: 36px;
|
|
641
|
-
|
|
642
|
-
// .up-down-button {
|
|
643
|
-
// width: 36px;
|
|
644
|
-
// height: 18px;
|
|
645
|
-
// }
|
|
646
|
-
// }
|
|
647
|
-
|
|
648
|
-
// .up-down-button {
|
|
649
|
-
// background-color: $primary-90;
|
|
650
|
-
// border: none;
|
|
651
|
-
// display: block;
|
|
652
|
-
// cursor: pointer;
|
|
653
|
-
// width: 44px;
|
|
654
|
-
// height: 22.5px;
|
|
655
|
-
// color: #a4a4a4;
|
|
656
|
-
|
|
657
|
-
// &.is-info {
|
|
658
|
-
// background-color: $primary;
|
|
659
|
-
// color: $white-100;
|
|
660
|
-
// transition: 0.3s;
|
|
661
|
-
// }
|
|
662
|
-
|
|
663
|
-
// &:disabled {
|
|
664
|
-
// cursor: not-allowed;
|
|
665
|
-
// opacity: 0.8;
|
|
666
|
-
// }
|
|
667
|
-
// }
|
|
668
|
-
// }
|
|
669
|
-
|
|
670
|
-
// // up down button end
|
|
671
|
-
|
|
672
|
-
// .ac-options:not(.list-button) {
|
|
673
|
-
// button {
|
|
674
|
-
// display: flex;
|
|
675
|
-
// flex-direction: column;
|
|
676
|
-
|
|
677
|
-
// span {
|
|
678
|
-
// width: 5px;
|
|
679
|
-
// height: 5px;
|
|
680
|
-
// border-radius: 50%;
|
|
681
|
-
// background-color: $primary-20;
|
|
682
|
-
// margin-bottom: 3px;
|
|
683
|
-
|
|
684
|
-
// &:last-child {
|
|
685
|
-
// margin-bottom: 0;
|
|
686
|
-
// }
|
|
687
|
-
// }
|
|
688
|
-
// }
|
|
689
|
-
// }
|
|
690
|
-
|
|
691
|
-
// // dark theme start
|
|
692
|
-
// .is-dark-theme {
|
|
693
|
-
// .button.ac-button.is-primary.is-light {
|
|
694
|
-
// background-color: $primary;
|
|
695
|
-
// color: $white-100;
|
|
696
|
-
// &:hover {
|
|
697
|
-
// opacity: 0.8;
|
|
698
|
-
// }
|
|
699
|
-
// }
|
|
700
|
-
// .button.ac-button.is-danger.is-light {
|
|
701
|
-
// background-color: $danger;
|
|
702
|
-
// color: $white-100;
|
|
703
|
-
// &:hover {
|
|
704
|
-
// opacity: 0.8;
|
|
705
|
-
// }
|
|
706
|
-
// }
|
|
707
|
-
// .button.ac-button {
|
|
708
|
-
// --ac-white: #ffffff;
|
|
709
|
-
// &.is-white {
|
|
710
|
-
// --ac-white: #2e323c;
|
|
711
|
-
// }
|
|
712
|
-
// }
|
|
713
|
-
// .button.ac-button.is-text {
|
|
714
|
-
// background-color: transparent;
|
|
715
|
-
// }
|
|
716
|
-
// }
|
|
717
|
-
// // dark theme end
|
|
718
|
-
// /****************************************
|
|
719
|
-
// Responsive Classes
|
|
720
|
-
// *****************************************/
|
|
721
|
-
// // Extra small devices (portrait phones, less than 576px)
|
|
722
|
-
// @media (max-width: 575.98px) {
|
|
723
|
-
// .button {
|
|
724
|
-
// &.ac-button {
|
|
725
|
-
// font-size: 14px;
|
|
726
|
-
// letter-spacing: 0px;
|
|
727
|
-
// font-weight: 500;
|
|
728
|
-
// height: 30px;
|
|
729
|
-
// padding-left: 20px;
|
|
730
|
-
// padding-right: 20px;
|
|
731
|
-
|
|
732
|
-
// &.is-medium {
|
|
733
|
-
// height: 38px;
|
|
734
|
-
// font-size: 15px;
|
|
735
|
-
// }
|
|
736
|
-
|
|
737
|
-
// &.is-large {
|
|
738
|
-
// height: 42px;
|
|
739
|
-
// font-size: 16px;
|
|
740
|
-
// }
|
|
741
|
-
|
|
742
|
-
// .ac-icon {
|
|
743
|
-
// padding: 3px;
|
|
744
|
-
// font-size: 10px;
|
|
745
|
-
// }
|
|
746
|
-
// }
|
|
747
|
-
|
|
748
|
-
// &.ac-play-button {
|
|
749
|
-
// width: 50px;
|
|
750
|
-
// height: 50px;
|
|
751
|
-
// }
|
|
752
|
-
// }
|
|
753
|
-
|
|
754
|
-
// .ac-counter-button {
|
|
755
|
-
// height: 42px;
|
|
756
|
-
// }
|
|
757
|
-
// }
|
|
758
|
-
|
|
759
|
-
// // Small devices (landscape phones, 576px and up)
|
|
760
|
-
// @media (min-width: 576px) and (max-width: 767.98px) {
|
|
761
|
-
// .button {
|
|
762
|
-
// &.ac-button {
|
|
763
|
-
// font-size: 14px;
|
|
764
|
-
// letter-spacing: 0px;
|
|
765
|
-
// font-weight: 500;
|
|
766
|
-
// height: 36px;
|
|
767
|
-
// padding-left: 30px;
|
|
768
|
-
// padding-right: 30px;
|
|
769
|
-
|
|
770
|
-
// &.is-medium {
|
|
771
|
-
// height: 38px;
|
|
772
|
-
// font-size: 15px;
|
|
773
|
-
// }
|
|
774
|
-
|
|
775
|
-
// &.is-large {
|
|
776
|
-
// height: 42px;
|
|
777
|
-
// font-size: 16px;
|
|
778
|
-
// }
|
|
779
|
-
|
|
780
|
-
// .ac-icon {
|
|
781
|
-
// padding: 3px;
|
|
782
|
-
// font-size: 10px;
|
|
783
|
-
// }
|
|
784
|
-
// }
|
|
785
|
-
|
|
786
|
-
// &.ac-play-button {
|
|
787
|
-
// width: 50px;
|
|
788
|
-
// height: 50px;
|
|
789
|
-
// }
|
|
790
|
-
// }
|
|
791
|
-
|
|
792
|
-
// .ac-counter-button {
|
|
793
|
-
// height: 42px;
|
|
794
|
-
// }
|
|
795
|
-
// }
|
|
796
|
-
|
|
797
|
-
// // Medium devices (tablets, 768px and up)
|
|
798
|
-
// @media (min-width: 768px) and (max-width: 991.98px) {
|
|
799
|
-
// .button {
|
|
800
|
-
// &.ac-button {
|
|
801
|
-
// font-size: 14px;
|
|
802
|
-
// letter-spacing: 0px;
|
|
803
|
-
// font-weight: 500;
|
|
804
|
-
// height: 36px;
|
|
805
|
-
// padding-left: 30px;
|
|
806
|
-
// padding-right: 30px;
|
|
807
|
-
|
|
808
|
-
// &.is-small {
|
|
809
|
-
// letter-spacing: 0px;
|
|
810
|
-
// line-height: 1;
|
|
811
|
-
// }
|
|
812
|
-
|
|
813
|
-
// &.is-medium {
|
|
814
|
-
// height: 38px;
|
|
815
|
-
// font-size: 15px;
|
|
816
|
-
// }
|
|
817
|
-
|
|
818
|
-
// &.is-large {
|
|
819
|
-
// height: 42px;
|
|
820
|
-
// font-size: 16px;
|
|
821
|
-
// }
|
|
822
|
-
|
|
823
|
-
// .ac-icon {
|
|
824
|
-
// padding: 3px;
|
|
825
|
-
// font-size: 10px;
|
|
826
|
-
// }
|
|
827
|
-
// }
|
|
828
|
-
|
|
829
|
-
// &.ac-play-button {
|
|
830
|
-
// width: 50px;
|
|
831
|
-
// height: 50px;
|
|
832
|
-
// }
|
|
833
|
-
// }
|
|
834
|
-
|
|
835
|
-
// .ac-counter-button {
|
|
836
|
-
// height: 42px;
|
|
837
|
-
// }
|
|
838
|
-
// }
|
|
839
|
-
|
|
840
|
-
// // Large devices (desktops, 992px and up)
|
|
841
|
-
// @media (min-width: 992px) and (max-width: 1199.98px) {
|
|
842
|
-
// .button {
|
|
843
|
-
// &.ac-button {
|
|
844
|
-
// font-size: 15px;
|
|
845
|
-
// letter-spacing: 0px;
|
|
846
|
-
// font-weight: 500;
|
|
847
|
-
// height: 38px;
|
|
848
|
-
// padding-left: 30px;
|
|
849
|
-
// padding-right: 30px;
|
|
850
|
-
|
|
851
|
-
// &.is-medium {
|
|
852
|
-
// height: 40px;
|
|
853
|
-
// font-size: 15px;
|
|
854
|
-
// }
|
|
855
|
-
|
|
856
|
-
// &.is-large {
|
|
857
|
-
// height: 44px;
|
|
858
|
-
// font-size: 16px;
|
|
859
|
-
// }
|
|
860
|
-
|
|
861
|
-
// .ac-icon {
|
|
862
|
-
// padding: 3px;
|
|
863
|
-
// font-size: 10px;
|
|
864
|
-
// }
|
|
865
|
-
// }
|
|
866
|
-
|
|
867
|
-
// &.ac-play-button {
|
|
868
|
-
// width: 50px;
|
|
869
|
-
// height: 50px;
|
|
870
|
-
// }
|
|
871
|
-
// }
|
|
872
|
-
|
|
873
|
-
// .ac-counter-button {
|
|
874
|
-
// height: 42px;
|
|
875
|
-
// }
|
|
876
|
-
// }
|
|
877
|
-
|
|
878
|
-
// // Extra large devices (large desktops, 1200px and up)
|
|
879
|
-
// @media (min-width: 1200px) {
|
|
880
|
-
// }
|
|
881
114
|
</style>
|
|
@@ -21,11 +21,11 @@ withDefaults(
|
|
|
21
21
|
Required
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
|
-
<div class="c-title is-flex is-align-items-center">
|
|
25
|
-
<div class="icon
|
|
24
|
+
<div class="c-title is-flex gap-8 is-align-items-center">
|
|
25
|
+
<div class="icon">
|
|
26
26
|
<slot name="card-logo" />
|
|
27
27
|
</div>
|
|
28
|
-
<
|
|
28
|
+
<h5><slot name="card-title" /></h5>
|
|
29
29
|
</div>
|
|
30
30
|
<!-- <span class="tag has-background-dark-light has-text-dark is-rounded"
|
|
31
31
|
>Dark</span
|
|
@@ -53,15 +53,11 @@ withDefaults(
|
|
|
53
53
|
left: 20px;
|
|
54
54
|
top: -9px;
|
|
55
55
|
}
|
|
56
|
-
.c-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
font-size: 18px;
|
|
60
|
-
color: #061b2d;
|
|
61
|
-
}
|
|
56
|
+
.c-title {
|
|
57
|
+
h5 {
|
|
58
|
+
width: calc(100% - 28px);
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
|
-
|
|
65
61
|
.c-body {
|
|
66
62
|
p {
|
|
67
63
|
color: #0c365a;
|
|
@@ -18,8 +18,8 @@ withDefaults(defineProps<Props>(), {
|
|
|
18
18
|
>
|
|
19
19
|
REQUIRED
|
|
20
20
|
</div>
|
|
21
|
-
<div class="c-title is-flex is-align-items-center">
|
|
22
|
-
<div class="icon
|
|
21
|
+
<div class="c-title is-flex gap-8 is-align-items-center">
|
|
22
|
+
<div class="icon">
|
|
23
23
|
<svg
|
|
24
24
|
width="24"
|
|
25
25
|
height="24"
|
|
@@ -50,7 +50,7 @@ withDefaults(defineProps<Props>(), {
|
|
|
50
50
|
></path>
|
|
51
51
|
</svg>
|
|
52
52
|
</div>
|
|
53
|
-
<
|
|
53
|
+
<h5>{{ title }}</h5>
|
|
54
54
|
</div>
|
|
55
55
|
<div class="tag has-background-success-light has-text-success is-rounded">
|
|
56
56
|
ENABLED
|
|
@@ -76,15 +76,11 @@ withDefaults(defineProps<Props>(), {
|
|
|
76
76
|
left: 20px;
|
|
77
77
|
top: -9px;
|
|
78
78
|
}
|
|
79
|
-
.c-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
font-size: 18px;
|
|
83
|
-
color: #061b2d;
|
|
84
|
-
}
|
|
79
|
+
.c-title {
|
|
80
|
+
h5 {
|
|
81
|
+
width: calc(100% - 28px);
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
|
-
|
|
88
84
|
.c-body {
|
|
89
85
|
p {
|
|
90
86
|
color: #0c365a;
|
|
@@ -10,6 +10,7 @@ interface Props {
|
|
|
10
10
|
previewYamls?: Array<PreviewYamlType>;
|
|
11
11
|
showMinimap?: boolean;
|
|
12
12
|
editorHeight?: number;
|
|
13
|
+
wordWrap?: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -20,6 +21,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
20
21
|
previewYamls: () => [],
|
|
21
22
|
showMinimap: false,
|
|
22
23
|
editorHeight: 60,
|
|
24
|
+
wordWrap: "on",
|
|
23
25
|
});
|
|
24
26
|
|
|
25
27
|
const emit = defineEmits(["setActiveKey"]);
|
|
@@ -174,6 +176,7 @@ watch(
|
|
|
174
176
|
:read-only="isEditorReadOnly"
|
|
175
177
|
:editor-height="editorHeight"
|
|
176
178
|
:show-minimap="showMinimap"
|
|
179
|
+
:word-wrap="wordWrap"
|
|
177
180
|
/>
|
|
178
181
|
</div>
|
|
179
182
|
</template>
|
|
@@ -14,6 +14,7 @@ interface Props {
|
|
|
14
14
|
deleteModalStatus?: string;
|
|
15
15
|
editorHeight?: number;
|
|
16
16
|
hideHeader?: boolean;
|
|
17
|
+
editorWordWrap?: string;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -28,6 +29,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
28
29
|
deleteModalStatus: "closed",
|
|
29
30
|
editorHeight: 60,
|
|
30
31
|
hideHeader: false,
|
|
32
|
+
editorWordWrap: "on",
|
|
31
33
|
});
|
|
32
34
|
|
|
33
35
|
const emit = defineEmits(["activeKey"]);
|
|
@@ -95,6 +97,7 @@ watch(
|
|
|
95
97
|
:show-minimap="showMinimap"
|
|
96
98
|
:editor-height="editorHeight"
|
|
97
99
|
@setActiveKey="setActiveKey"
|
|
100
|
+
:word-wrap="editorWordWrap"
|
|
98
101
|
/>
|
|
99
102
|
</template>
|
|
100
103
|
</content-table>
|
|
@@ -222,24 +222,6 @@ watch(dropDownStatus, (n) => {
|
|
|
222
222
|
</li>
|
|
223
223
|
</transition-group>
|
|
224
224
|
</li>
|
|
225
|
-
<li key="dashboard">
|
|
226
|
-
<router-link
|
|
227
|
-
v-if="isPlatformDomain"
|
|
228
|
-
to="/dashboard"
|
|
229
|
-
data-testid="user-dashboard-link"
|
|
230
|
-
>
|
|
231
|
-
<span class="icon"><HeroiconsChartPie /></span>
|
|
232
|
-
<span> Dashboard</span>
|
|
233
|
-
</router-link>
|
|
234
|
-
<a
|
|
235
|
-
v-else
|
|
236
|
-
:href="`${serverDomain}/dashboard`"
|
|
237
|
-
data-testid="user-dashboard-link"
|
|
238
|
-
>
|
|
239
|
-
<span class="icon"><HeroiconsChartPie /></span>
|
|
240
|
-
<span> Dashboard</span>
|
|
241
|
-
</a>
|
|
242
|
-
</li>
|
|
243
225
|
<li key="signout" @click="$emit('on-logout')">
|
|
244
226
|
<a
|
|
245
227
|
data-testid="user-logout-link"
|
|
@@ -355,9 +337,14 @@ watch(dropDownStatus, (n) => {
|
|
|
355
337
|
|
|
356
338
|
&.is-open {
|
|
357
339
|
ul {
|
|
340
|
+
padding: 8px;
|
|
358
341
|
max-height: 200px;
|
|
359
342
|
visibility: visible;
|
|
360
343
|
transition: max-height 0.25s ease-out;
|
|
344
|
+
li {
|
|
345
|
+
padding: 0;
|
|
346
|
+
border: 1px solid $primary-95;
|
|
347
|
+
}
|
|
361
348
|
}
|
|
362
349
|
}
|
|
363
350
|
a {
|