@appscode/design-system 2.0.2-alpha.1 → 2.0.4
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/{vue-components/styles/base → base}/utilities/_colors.scss +61 -0
- package/{vue-components/styles/base → base}/utilities/_grid.scss +1 -1
- package/{vue-components/styles/components → components}/_all.scss +1 -3
- package/{vue-components/styles/components → components}/ui-builder/_ui-builder.scss +17 -17
- package/{vue-components/styles/components → components}/ui-builder/_vue-open-api.scss +35 -35
- package/main.scss +4 -4
- package/package.json +1 -1
- package/vue-components/v3/button/Button.vue +59 -1
- package/vue-components/v3/form-fields/AcSingleInput.vue +1 -3
- package/vue-components/v3/sidebar/SidebarFooter.vue +13 -3
- package/vue-components/styles/components/_button.scss +0 -59
- /package/{vue-components/styles/base → base}/_video-player.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_all.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_customize-bulma.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_extended.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_global.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_layouts.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_mixin.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_spacing.scss +0 -0
- /package/{vue-components/styles/base → base}/utilities/_typography.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-alert-box.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-calendar.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-code-highlight.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-content-layout.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-drag.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-modal.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-options.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-select-box.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-table.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-tabs.scss +0 -0
- /package/{vue-components/styles/components → components}/_ac-tags.scss +0 -0
- /package/{vue-components/styles/components → components}/_accordion.scss +0 -0
- /package/{vue-components/styles/components → components}/_add-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_app-drawer.scss +0 -0
- /package/{vue-components/styles/components → components}/_breadcumb.scss +0 -0
- /package/{vue-components/styles/components → components}/_buttons.scss +0 -0
- /package/{vue-components/styles/components → components}/_card-body-wrapper.scss +0 -0
- /package/{vue-components/styles/components → components}/_dashboard-header.scss +0 -0
- /package/{vue-components/styles/components → components}/_direct-deploy.scss +0 -0
- /package/{vue-components/styles/components → components}/_getkeeper.scss +0 -0
- /package/{vue-components/styles/components → components}/_go-to-top.scss +0 -0
- /package/{vue-components/styles/components → components}/_graph.scss +0 -0
- /package/{vue-components/styles/components → components}/_image-upload.scss +0 -0
- /package/{vue-components/styles/components → components}/_input-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_input.scss +0 -0
- /package/{vue-components/styles/components → components}/_left-sidebar-menu.scss +0 -0
- /package/{vue-components/styles/components → components}/_monaco-editor.scss +0 -0
- /package/{vue-components/styles/components → components}/_multi-select.scss +0 -0
- /package/{vue-components/styles/components → components}/_navbar.scss +0 -0
- /package/{vue-components/styles/components → components}/_nested-list.scss +0 -0
- /package/{vue-components/styles/components → components}/_overview-info.scss +0 -0
- /package/{vue-components/styles/components → components}/_overview-page.scss +0 -0
- /package/{vue-components/styles/components → components}/_pagination.scss +0 -0
- /package/{vue-components/styles/components → components}/_payment-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_preloader.scss +0 -0
- /package/{vue-components/styles/components → components}/_preview-modal.scss +0 -0
- /package/{vue-components/styles/components → components}/_pricing-table.scss +0 -0
- /package/{vue-components/styles/components → components}/_progress-bar.scss +0 -0
- /package/{vue-components/styles/components → components}/_report.scss +0 -0
- /package/{vue-components/styles/components → components}/_subscription-card.scss +0 -0
- /package/{vue-components/styles/components → components}/_table-of-content.scss +0 -0
- /package/{vue-components/styles/components → components}/_terminal.scss +0 -0
- /package/{vue-components/styles/components → components}/_tfa.scss +0 -0
- /package/{vue-components/styles/components → components}/_transitions.scss +0 -0
- /package/{vue-components/styles/components → components}/_widget-menu.scss +0 -0
- /package/{vue-components/styles/components → components}/_wizard.scss +0 -0
- /package/{vue-components/styles/components → components}/ac-toaster/_ac-toasted.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_activities-header.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_all.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_card-team.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_information-center.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_left-sidebar.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_mobile-desktop.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_post.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_sign-up-notification.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_single-post-preview.scss +0 -0
- /package/{vue-components/styles/components → components}/bbum/_user-profile.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_404.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_all.scss +0 -0
- /package/{vue-components/styles/layouts → layouts}/_code-preview.scss +0 -0
|
@@ -305,6 +305,67 @@ $black-97: hsl($black-hue, $black-saturation, 97%);
|
|
|
305
305
|
2
|
|
306
306
|
);
|
|
307
307
|
|
|
308
|
+
|
|
309
|
+
// for yellow classes
|
|
310
|
+
@include generate-color-classes(
|
|
311
|
+
"text",
|
|
312
|
+
"yellow",
|
|
313
|
+
$yellow-hue,
|
|
314
|
+
$yellow-saturation,
|
|
315
|
+
10,
|
|
316
|
+
90,
|
|
317
|
+
10
|
|
318
|
+
);
|
|
319
|
+
@include generate-color-classes(
|
|
320
|
+
"bg",
|
|
321
|
+
"yellow",
|
|
322
|
+
$yellow-hue,
|
|
323
|
+
$yellow-saturation,
|
|
324
|
+
10,
|
|
325
|
+
90,
|
|
326
|
+
10
|
|
327
|
+
);
|
|
328
|
+
|
|
329
|
+
@include generate-color-classes(
|
|
330
|
+
"text",
|
|
331
|
+
"yellow",
|
|
332
|
+
$yellow-hue,
|
|
333
|
+
$yellow-saturation,
|
|
334
|
+
5,
|
|
335
|
+
5,
|
|
336
|
+
1
|
|
337
|
+
);
|
|
338
|
+
|
|
339
|
+
@include generate-color-classes(
|
|
340
|
+
"bg",
|
|
341
|
+
"yellow",
|
|
342
|
+
$yellow-hue,
|
|
343
|
+
$yellow-saturation,
|
|
344
|
+
5,
|
|
345
|
+
5,
|
|
346
|
+
1
|
|
347
|
+
);
|
|
348
|
+
|
|
349
|
+
@include generate-color-classes(
|
|
350
|
+
"text",
|
|
351
|
+
"yellow",
|
|
352
|
+
$yellow-hue,
|
|
353
|
+
$yellow-saturation,
|
|
354
|
+
93,
|
|
355
|
+
97,
|
|
356
|
+
2
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
@include generate-color-classes(
|
|
360
|
+
"bg",
|
|
361
|
+
"yellow",
|
|
362
|
+
$yellow-hue,
|
|
363
|
+
$yellow-saturation,
|
|
364
|
+
93,
|
|
365
|
+
97,
|
|
366
|
+
2
|
|
367
|
+
);
|
|
368
|
+
|
|
308
369
|
// for purple classes
|
|
309
370
|
@include generate-color-classes(
|
|
310
371
|
"text",
|
|
@@ -403,24 +403,24 @@
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
// buttons
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
406
|
+
.button {
|
|
407
|
+
&.ac-button {
|
|
408
|
+
&.is-medium {
|
|
409
|
+
font-size: 1rem;
|
|
410
|
+
height: 36px;
|
|
411
|
+
}
|
|
412
|
+
&.is-tinny {
|
|
413
|
+
height: 24px;
|
|
414
|
+
padding: 0 8px;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
418
|
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
419
|
+
.button[disabled] {
|
|
420
|
+
&.is-ghost {
|
|
421
|
+
border-color: transparent !important;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
424
|
|
|
425
425
|
p.is-error,
|
|
426
426
|
span.is-error {
|
|
@@ -619,41 +619,41 @@
|
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
// button scss
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
622
|
+
.button {
|
|
623
|
+
&.ac-button {
|
|
624
|
+
padding: 8px 16px;
|
|
625
|
+
font-weight: 500;
|
|
626
|
+
line-height: 1;
|
|
627
|
+
|
|
628
|
+
&.is-light {
|
|
629
|
+
&.is-loading {
|
|
630
|
+
&::after {
|
|
631
|
+
border-color: transparent transparent #1c1c1c #1c1c1c !important;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
&.is-ghost {
|
|
636
|
+
border-color: transparent !important;
|
|
637
|
+
}
|
|
638
|
+
&.is-square {
|
|
639
|
+
border: 1px solid $primary-95;
|
|
640
|
+
}
|
|
641
|
+
&.is-small {
|
|
642
|
+
padding: 4px 9px;
|
|
643
|
+
}
|
|
644
|
+
&.is-medium {
|
|
645
|
+
font-size: 1rem;
|
|
646
|
+
height: 36px;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
&:focus {
|
|
650
|
+
outline: none;
|
|
651
|
+
box-shadow: none;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
button.is-primary {
|
|
655
|
+
background-color: $primary;
|
|
656
|
+
}
|
|
657
657
|
|
|
658
658
|
.is-refresh {
|
|
659
659
|
i.fa {
|
package/main.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
2
|
// customize bulma css
|
|
3
|
-
@import "@/
|
|
3
|
+
@import "@/assets/design-system/base/utilities/_customize-bulma.scss";
|
|
4
4
|
|
|
5
5
|
// Third party CSS
|
|
6
6
|
@import "../node_modules/bulma/bulma.sass";
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
@import "vue-multiselect/dist/vue-multiselect.css";
|
|
12
12
|
|
|
13
13
|
// BASE
|
|
14
|
-
@import "
|
|
14
|
+
@import "./base/utilities/all";
|
|
15
15
|
|
|
16
16
|
// LAYOUTS
|
|
17
|
-
@import "
|
|
17
|
+
@import "./layouts/all";
|
|
18
18
|
|
|
19
19
|
// COMPONENTS
|
|
20
|
-
@import "
|
|
20
|
+
@import "./components/all";
|
|
21
21
|
|
|
22
22
|
// //BASE - Base styles, variables, mixins
|
|
23
23
|
// @import "base/video-player";
|
package/package.json
CHANGED
|
@@ -69,5 +69,63 @@ const showUnpluginIcon = computed(() => {
|
|
|
69
69
|
</template>
|
|
70
70
|
|
|
71
71
|
<style lang="scss" scoped>
|
|
72
|
-
|
|
72
|
+
.button {
|
|
73
|
+
&.ac-button {
|
|
74
|
+
padding: 8px 16px;
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
line-height: 1;
|
|
77
|
+
|
|
78
|
+
&.is-primary {
|
|
79
|
+
&.is-light {
|
|
80
|
+
color: $primary;
|
|
81
|
+
&:focus:not(:hover) {
|
|
82
|
+
color: inherit;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&.is-warning {
|
|
87
|
+
&.is-light {
|
|
88
|
+
color: $yellow-30;
|
|
89
|
+
&:focus:not(:hover) {
|
|
90
|
+
color: inherit;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.is-success {
|
|
96
|
+
&.is-light {
|
|
97
|
+
color: $green-30;
|
|
98
|
+
&:focus:not(:hover) {
|
|
99
|
+
color: inherit;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
&.is-light {
|
|
104
|
+
&.is-loading {
|
|
105
|
+
&::after {
|
|
106
|
+
border-color: transparent transparent #1c1c1c #1c1c1c !important;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
&.is-outlined {
|
|
110
|
+
&:hover {
|
|
111
|
+
border-color: inherit;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.is-small {
|
|
117
|
+
padding: 4px 12px;
|
|
118
|
+
&:not(.is-rounded) {
|
|
119
|
+
border-radius: 4px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
&.is-medium {
|
|
123
|
+
font-size: 1rem;
|
|
124
|
+
height: 36px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
button.is-primary {
|
|
129
|
+
background-color: $primary;
|
|
130
|
+
}
|
|
73
131
|
</style>
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { defineAsyncComponent } from "vue";
|
|
3
|
+
|
|
3
4
|
interface Props {
|
|
4
5
|
isColorpickerEnabled?: boolean;
|
|
5
|
-
|
|
6
|
+
hideFooter?: boolean;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
withDefaults(defineProps<Props>(), {
|
|
9
10
|
isColorpickerEnabled: false,
|
|
10
|
-
|
|
11
|
+
hideFooter: false,
|
|
11
12
|
});
|
|
13
|
+
|
|
12
14
|
defineEmits(["toggleSidebar"]);
|
|
13
15
|
const AccentColorPicker = defineAsyncComponent(
|
|
14
16
|
() => import("./AccentColorPicker.vue")
|
|
@@ -16,10 +18,11 @@ const AccentColorPicker = defineAsyncComponent(
|
|
|
16
18
|
</script>
|
|
17
19
|
|
|
18
20
|
<template>
|
|
19
|
-
<div class="sidebar-footer" :class="{ 'b-t-n':
|
|
21
|
+
<div class="sidebar-footer" :class="{ 'b-t-n': hideFooter }">
|
|
20
22
|
<!-- back button -->
|
|
21
23
|
<button
|
|
22
24
|
class="back-button is-transparent"
|
|
25
|
+
:class="{ 'back-button-hide': hideFooter }"
|
|
23
26
|
data-testid="sidebar-footer-back-button"
|
|
24
27
|
@click="$emit('toggleSidebar')"
|
|
25
28
|
>
|
|
@@ -64,6 +67,13 @@ const AccentColorPicker = defineAsyncComponent(
|
|
|
64
67
|
height: 30px;
|
|
65
68
|
border-top: 1px solid #3d5e7c;
|
|
66
69
|
|
|
70
|
+
.back-button-hide {
|
|
71
|
+
display: none !important;
|
|
72
|
+
color: $primary-20;
|
|
73
|
+
margin-bottom: 10px !important;
|
|
74
|
+
background-color: transparent;
|
|
75
|
+
}
|
|
76
|
+
|
|
67
77
|
.back-button {
|
|
68
78
|
display: flex;
|
|
69
79
|
padding: 5px 16px;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.button {
|
|
2
|
-
&.ac-button {
|
|
3
|
-
padding: 8px 16px;
|
|
4
|
-
font-weight: 500;
|
|
5
|
-
line-height: 1;
|
|
6
|
-
|
|
7
|
-
&.is-primary {
|
|
8
|
-
&.is-light {
|
|
9
|
-
color: $primary;
|
|
10
|
-
&:focus:not(:hover) {
|
|
11
|
-
color: inherit;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
&.is-warning {
|
|
16
|
-
&.is-light {
|
|
17
|
-
color: $yellow-30;
|
|
18
|
-
&:focus:not(:hover) {
|
|
19
|
-
color: inherit;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.is-success {
|
|
25
|
-
&.is-light {
|
|
26
|
-
color: $green-30;
|
|
27
|
-
&:focus:not(:hover) {
|
|
28
|
-
color: inherit;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
&.is-light {
|
|
33
|
-
&.is-loading {
|
|
34
|
-
&::after {
|
|
35
|
-
border-color: transparent transparent $primary-5 $primary-5 !important;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
&.is-outlined {
|
|
39
|
-
&:hover {
|
|
40
|
-
border-color: inherit;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.is-small {
|
|
46
|
-
padding: 4px 12px;
|
|
47
|
-
&:not(.is-rounded) {
|
|
48
|
-
border-radius: 4px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
&.is-medium {
|
|
52
|
-
font-size: 1rem;
|
|
53
|
-
height: 36px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
button.is-primary {
|
|
58
|
-
background-color: $primary;
|
|
59
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|