@appscode/design-system 1.1.0-alpha.9 → 1.1.0-beta.10
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/base/_video-player.scss +65 -0
- package/base/utilities/_all.scss +6 -5
- package/base/utilities/_colors.scss +408 -0
- package/base/utilities/_customize-bulma.scss +23 -27
- package/base/utilities/_extended.scss +3 -2
- package/base/utilities/{_default.scss → _global.scss} +185 -331
- package/base/utilities/_layouts.scss +157 -0
- package/base/utilities/_mixin.scss +11 -11
- package/base/utilities/_spacing.scss +96 -0
- package/base/utilities/_typography.scss +56 -24
- package/base/utilities/dark-theme.scss +1 -1
- package/components/_ac-accordion.scss +117 -117
- package/components/_ac-alert-box.scss +205 -263
- package/components/_ac-calendar.scss +4 -4
- package/components/_ac-card.scss +0 -597
- package/components/_ac-code-highlight.scss +6 -6
- package/components/_ac-content-layout.scss +165 -165
- package/components/_ac-drag.scss +11 -11
- package/components/_ac-input.scss +477 -452
- package/components/_ac-modal.scss +212 -212
- package/components/_ac-multi-select.scss +780 -751
- package/components/_ac-options.scss +122 -123
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +503 -502
- package/components/_ac-tabs.scss +39 -38
- package/components/_ac-tags.scss +116 -116
- package/components/_ac-terminal.scss +95 -51
- package/components/_add-card.scss +3 -3
- package/components/_all.scss +29 -26
- package/components/_app-drawer.scss +0 -134
- package/components/_breadcumb.scss +0 -71
- package/components/_buttons.scss +779 -779
- package/components/_card-body-wrapper.scss +5 -5
- package/components/_dashboard-header.scss +0 -115
- package/components/_direct-deploy.scss +8 -8
- package/components/_go-to-top.scss +1 -1
- package/components/_image-upload.scss +5 -5
- package/components/_left-sidebar-menu.scss +448 -579
- package/components/_monaco-editor.scss +1 -1
- package/components/_navbar.scss +786 -752
- package/components/_nested-list.scss +1 -1
- package/components/_overview-info.scss +7 -7
- package/components/_overview-page.scss +4 -4
- package/components/_pagination.scss +106 -124
- package/components/_payment-card.scss +21 -21
- package/components/_preloader.scss +1 -1
- package/components/_preview-modal.scss +18 -18
- package/components/_pricing-table.scss +10 -10
- package/components/_progress-bar.scss +12 -12
- package/components/_subscription-card.scss +14 -14
- package/components/_table-of-content.scss +4 -4
- package/components/_tfa.scss +9 -9
- package/components/_widget-menu.scss +247 -247
- package/components/_wizard.scss +557 -559
- package/components/ac-toaster/_ac-toasted.scss +7 -12
- package/components/bbum/_activities-header.scss +1 -1
- package/components/bbum/_card-team.scss +12 -12
- package/components/bbum/_information-center.scss +13 -13
- package/components/bbum/_left-sidebar.scss +8 -8
- package/components/bbum/_mobile-desktop.scss +7 -7
- package/components/bbum/_post.scss +5 -5
- package/components/bbum/_sign-up-notification.scss +10 -10
- package/components/bbum/_single-post-preview.scss +21 -21
- package/components/bbum/_user-profile.scss +10 -10
- package/components/ui-builder/_ui-builder.scss +15 -15
- package/components/ui-builder/_vue-open-api.scss +515 -2
- package/layouts/_code-preview.scss +11 -11
- package/main.scss +26 -10
- package/package.json +1 -1
- package/plugins/theme.js +11 -9
- package/plugins/vue-toaster.js +1 -1
- package/vue-components/plugins/time-convert.js +49 -0
- package/vue-components/text.vue +1 -0
- package/vue-components/types/cluster.ts +6 -0
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/types/longRunningTasks.ts +20 -0
- package/vue-components/types/notification.ts +6 -0
- package/vue-components/types/previewYaml.ts +8 -0
- package/vue-components/types/table.ts +54 -0
- package/vue-components/types/theme.ts +10 -0
- package/vue-components/types/user.ts +22 -0
- package/vue-components/v2/card/Card.vue +1 -1
- package/vue-components/v2/card/OverviewCards.vue +17 -2
- package/vue-components/v2/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v2/editor/ResourceKeyValueEditor.vue +21 -21
- package/vue-components/v2/icons/Ellipsis.vue +2 -1
- package/vue-components/v2/modal/Modal.vue +0 -5
- package/vue-components/v2/navbar/Appdrawer.vue +37 -12
- package/vue-components/v2/navbar/Navbar.vue +3 -3
- package/vue-components/v2/navbar/NavbarItem.vue +3 -1
- package/vue-components/v2/navbar/NavbarItemContent.vue +1 -1
- package/vue-components/v2/navbar/User.vue +5 -22
- package/vue-components/v2/pagination/Pagination.vue +66 -0
- package/vue-components/v2/sidebar/SidebarItem.vue +10 -7
- package/vue-components/v3/accordion/Accordion.vue +151 -0
- package/vue-components/v3/alert/Alert.vue +238 -0
- package/vue-components/v3/alert/Toast.vue +79 -0
- package/vue-components/v3/banner/Banner.vue +10 -0
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +104 -0
- package/vue-components/v3/button/Button.vue +839 -58
- package/vue-components/v3/button/Buttons.vue +6 -0
- package/vue-components/v3/button/DownloadBtn.vue +31 -0
- package/vue-components/v3/cards/Card.vue +32 -0
- package/vue-components/v3/cards/CardContent.vue +7 -0
- package/vue-components/v3/cards/CardHeader.vue +14 -0
- package/vue-components/v3/cards/Cards.vue +7 -0
- package/vue-components/v3/cards/Cluster.vue +149 -0
- package/vue-components/v3/cards/Counter.vue +39 -0
- package/vue-components/v3/cards/FeatureCard.vue +71 -0
- package/vue-components/v3/cards/FeatureCards.vue +6 -0
- package/vue-components/v3/cards/InfoCard.vue +243 -0
- package/vue-components/v3/cards/Monitoring.vue +94 -0
- package/vue-components/v3/cards/OverviewCard.vue +24 -0
- package/vue-components/v3/cards/OverviewCards.vue +31 -0
- package/vue-components/v3/cards/Payment.vue +62 -0
- package/vue-components/v3/cards/Vendor.vue +85 -0
- package/vue-components/v3/content/ContentHeader.vue +39 -30
- package/vue-components/v3/content/ContentLayout.vue +20 -0
- package/vue-components/v3/content/ContentTable.vue +43 -62
- package/vue-components/v3/dropdown/DropdownDivider.vue +2 -0
- package/vue-components/v3/dropdown/DropdownItem.vue +2 -0
- package/vue-components/v3/dropdown/DropdownMenu.vue +85 -91
- package/vue-components/v3/editor/Editor.vue +100 -113
- package/vue-components/v3/editor/FilteredFileEditor.vue +317 -127
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +70 -94
- package/vue-components/v3/footer/FooterArea.vue +34 -0
- package/vue-components/v3/footer/FooterItem.vue +32 -0
- package/vue-components/v3/footer/FooterItems.vue +15 -0
- package/vue-components/v3/footer/Info.vue +23 -0
- package/vue-components/v3/footer/Status.vue +42 -0
- package/vue-components/v3/footer/Usage.vue +44 -0
- package/vue-components/v3/form/Form.vue +24 -33
- package/vue-components/v3/form/FormFooterControl.vue +7 -0
- package/vue-components/v3/form/FormFooterControls.vue +7 -0
- package/vue-components/v3/form-fields/AcSingleInput.vue +528 -0
- package/vue-components/v3/form-fields/Input.vue +19 -14
- package/vue-components/v3/header/Header.vue +119 -25
- package/vue-components/v3/header/HeaderItem.vue +18 -0
- package/vue-components/v3/header/HeaderItems.vue +4 -0
- package/vue-components/v3/icons/Ellipsis.vue +2 -0
- package/vue-components/v3/loaders/InfoCardLoader.vue +65 -0
- package/vue-components/v3/loaders/ResourceLoader.vue +4 -12
- package/vue-components/v3/loaders/SidebarLoader.vue +4 -12
- package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +17 -15
- package/vue-components/v3/modal/Modal.vue +292 -96
- package/vue-components/v3/modals/DeleteConfirmationModal.vue +37 -50
- package/vue-components/v3/modals/JsonShowModal.vue +62 -68
- package/vue-components/v3/modals/LongRunningTasksModal.vue +145 -143
- package/vue-components/v3/navbar/Appdrawer.vue +196 -51
- package/vue-components/v3/navbar/Navbar.vue +298 -0
- package/vue-components/v3/navbar/NavbarItem.vue +81 -0
- package/vue-components/v3/navbar/NavbarItemContent.vue +284 -0
- package/vue-components/v3/navbar/Notification.vue +179 -0
- package/vue-components/v3/navbar/ThemeMode.vue +128 -112
- package/vue-components/v3/navbar/User.vue +383 -268
- package/vue-components/v3/notification/AlertBox.vue +41 -44
- package/vue-components/v3/notification/Notification.vue +49 -43
- package/vue-components/v3/notification/NotificationItem.vue +51 -19
- package/vue-components/v3/option-dots/Options.vue +188 -0
- package/vue-components/v3/pagination/Pagination.vue +203 -99
- package/vue-components/v3/preloader/Preloader.vue +23 -0
- package/vue-components/v3/searchbars/SearchBar.vue +59 -34
- package/vue-components/v3/sidebar/AccentColorPicker.vue +97 -0
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +835 -81
- package/vue-components/v3/sidebar/Sidebar.vue +267 -0
- package/vue-components/v3/sidebar/SidebarBody.vue +7 -0
- package/vue-components/v3/sidebar/SidebarFooter.vue +80 -0
- package/vue-components/v3/sidebar/SidebarHeader.vue +124 -0
- package/vue-components/v3/sidebar/SidebarItem.vue +62 -0
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +101 -104
- package/vue-components/v3/sidebar/SidebarMenuList.vue +9 -0
- package/vue-components/v3/sidebar/Steps.vue +152 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +128 -0
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +29 -0
- package/vue-components/v3/sidebar/sidebar-tabs/TabsContent.vue +99 -0
- package/vue-components/v3/tab/TabItem.vue +10 -12
- package/vue-components/v3/tab/Tabs.vue +9 -0
- package/vue-components/v3/tab/TabsBody.vue +7 -0
- package/vue-components/v3/table/EmptyTableInfo.vue +8 -0
- package/vue-components/v3/table/FakeTableCell.vue +22 -31
- package/vue-components/v3/table/InfoTable.vue +89 -61
- package/vue-components/v3/table/MultiInfoTable.vue +72 -95
- package/vue-components/v3/table/Table.vue +589 -151
- package/vue-components/v3/table/TableCell.vue +20 -23
- package/vue-components/v3/table/TableContainer.vue +50 -28
- package/vue-components/v3/table/TableRow.vue +63 -85
- package/vue-components/v3/table/table-cell/ArrayCell.vue +67 -79
- package/vue-components/v3/table/table-cell/CellValue.vue +97 -103
- package/vue-components/v3/table/table-cell/GenericCell.vue +43 -42
- package/vue-components/v3/table/table-cell/ObjectCell.vue +67 -79
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +22 -31
- package/vue-components/v3/tabs/EditorTabs.vue +18 -24
- package/vue-components/v3/tag/Tag.vue +15 -12
- package/vue-components/v3/tag/Tags.vue +7 -0
- package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +26 -23
- package/base/utilities/_derived-variables.scss +0 -25
- package/base/utilities/_initial-variables.scss +0 -215
- package/components/_basic-card.scss +0 -128
- package/mixins/stickyContent.js +0 -141
- package/plugins/caching.ts +0 -243
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
interface Props {
|
|
3
|
+
modifierClasses?: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
withDefaults(defineProps<Props>(), {
|
|
7
|
+
modifierClasses: "",
|
|
8
|
+
});
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<div class="footer-item" :class="modifierClasses">
|
|
13
|
+
<slot />
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<style lang="scss">
|
|
18
|
+
.footer-item {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 4px;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
color: $primary-90;
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
&.has-text-danger {
|
|
26
|
+
color: $red-80 !important;
|
|
27
|
+
}
|
|
28
|
+
&.has-text-success {
|
|
29
|
+
color: $green-50 !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { ref, defineAsyncComponent } from "vue";
|
|
3
|
+
|
|
4
|
+
const FooterItems = defineAsyncComponent(() => import("./FooterItems.vue"));
|
|
5
|
+
const FooterItem = defineAsyncComponent(() => import("./FooterItem.vue"));
|
|
6
|
+
|
|
7
|
+
const dataObj = ref([
|
|
8
|
+
{ key: "VERSION:", value: "10.5.8" },
|
|
9
|
+
{ key: "NAMESPACE:", value: "demo" },
|
|
10
|
+
{ key: "MODE:", value: "Standalone" },
|
|
11
|
+
]);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<footer-items>
|
|
16
|
+
<footer-item v-for="(data, idx) in dataObj" :key="idx">
|
|
17
|
+
<span class="">{{ data.key }}</span>
|
|
18
|
+
<span>{{ data.value }}</span>
|
|
19
|
+
</footer-item>
|
|
20
|
+
</footer-items>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<style lang="scss" scoped></style>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { ref, defineAsyncComponent } from "vue";
|
|
3
|
+
const FooterItems = defineAsyncComponent(() => import("./FooterItems.vue"));
|
|
4
|
+
const FooterItem = defineAsyncComponent(() => import("./FooterItem.vue"));
|
|
5
|
+
const HeroiconsCheckBadge = defineAsyncComponent(
|
|
6
|
+
() => import("~icons/heroicons/check-badge")
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
const status = ref([
|
|
10
|
+
{
|
|
11
|
+
icon: "HeroiconsCheckCircle",
|
|
12
|
+
label: "Not Exposed",
|
|
13
|
+
classType: "has-text-warning",
|
|
14
|
+
},
|
|
15
|
+
{ icon: "HeroiconsXCircle", label: "TLS", classType: "has-text-danger" },
|
|
16
|
+
{
|
|
17
|
+
icon: "HeroiconsCheckBadge",
|
|
18
|
+
label: "Backup",
|
|
19
|
+
classType: "has-text-success",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
icon: "HeroiconsXCircle",
|
|
23
|
+
label: "Monitoring",
|
|
24
|
+
classType: "has-text-danger",
|
|
25
|
+
},
|
|
26
|
+
]);
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<footer-items>
|
|
31
|
+
<footer-item
|
|
32
|
+
v-for="(item, idx) in status"
|
|
33
|
+
:key="idx"
|
|
34
|
+
:modifier-classes="item.classType"
|
|
35
|
+
>
|
|
36
|
+
<span class="icon"><HeroiconsCheckBadge :size="20" /></span
|
|
37
|
+
><span>{{ item.label }}</span>
|
|
38
|
+
</footer-item>
|
|
39
|
+
</footer-items>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<style lang="scss" scoped></style>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import { defineAsyncComponent, ref } from "vue";
|
|
3
|
+
const FooterItems = defineAsyncComponent(() => import("./FooterItems.vue"));
|
|
4
|
+
const FooterItem = defineAsyncComponent(() => import("./FooterItem.vue"));
|
|
5
|
+
|
|
6
|
+
const HeroiconsCpuChip = defineAsyncComponent(
|
|
7
|
+
() => import("~icons/heroicons/cpu-chip")
|
|
8
|
+
);
|
|
9
|
+
|
|
10
|
+
const usages = ref([
|
|
11
|
+
{
|
|
12
|
+
icon: "HeroiconsCpuChip",
|
|
13
|
+
useData: {
|
|
14
|
+
limit: "500m",
|
|
15
|
+
usage: "500m",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
icon: "HeroiconsCpuChip",
|
|
20
|
+
useData: {
|
|
21
|
+
limit: "1G",
|
|
22
|
+
usage: "1G",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
icon: "HeroiconsCpuChip",
|
|
27
|
+
useData: {
|
|
28
|
+
limit: "10Gi",
|
|
29
|
+
usage: "10Gi",
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
]);
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<template>
|
|
36
|
+
<footer-items>
|
|
37
|
+
<footer-item v-for="(type, idx) in usages" :key="idx">
|
|
38
|
+
<span class="icon"><HeroiconsCpuChip :size="20" /></span
|
|
39
|
+
><span>{{ type.useData.limit }}/{{ type.useData.usage }}</span>
|
|
40
|
+
</footer-item>
|
|
41
|
+
</footer-items>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<style lang="scss" scoped></style>
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { defineAsyncComponent } from "vue";
|
|
3
|
+
|
|
4
|
+
const FormFooterControl = defineAsyncComponent(
|
|
5
|
+
() => import("./FormFooterControl.vue")
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
interface Props {
|
|
9
|
+
isContainer?: boolean;
|
|
10
|
+
hasFooter?: boolean;
|
|
11
|
+
reducePaddingTop?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
withDefaults(defineProps<Props>(), {
|
|
15
|
+
isContainer: false,
|
|
16
|
+
hasFooter: true,
|
|
17
|
+
reducePaddingTop: false,
|
|
18
|
+
});
|
|
19
|
+
</script>
|
|
20
|
+
|
|
1
21
|
<template>
|
|
2
22
|
<div class="form-wrapper">
|
|
3
23
|
<div
|
|
@@ -22,42 +42,13 @@
|
|
|
22
42
|
container: isContainer,
|
|
23
43
|
}"
|
|
24
44
|
>
|
|
25
|
-
<form-footer-
|
|
45
|
+
<form-footer-control>
|
|
26
46
|
<slot name="form-left-controls" />
|
|
27
|
-
</form-footer-
|
|
28
|
-
<form-footer-
|
|
47
|
+
</form-footer-control>
|
|
48
|
+
<form-footer-control>
|
|
29
49
|
<slot name="form-right-controls" />
|
|
30
|
-
</form-footer-
|
|
50
|
+
</form-footer-control>
|
|
31
51
|
</div>
|
|
32
52
|
</div>
|
|
33
53
|
</div>
|
|
34
54
|
</template>
|
|
35
|
-
|
|
36
|
-
<script>
|
|
37
|
-
import { defineComponent, defineAsyncComponent, h } from "vue";
|
|
38
|
-
|
|
39
|
-
export default defineComponent({
|
|
40
|
-
props: {
|
|
41
|
-
isContainer: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false,
|
|
44
|
-
},
|
|
45
|
-
hasFooter: {
|
|
46
|
-
type: Boolean,
|
|
47
|
-
default: true,
|
|
48
|
-
},
|
|
49
|
-
reducePaddingTop: {
|
|
50
|
-
type: Boolean,
|
|
51
|
-
default: false,
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
components: {
|
|
56
|
-
FormFooterControls: defineAsyncComponent(() =>
|
|
57
|
-
import("../../v2/form/FormFooterControl.vue").then(
|
|
58
|
-
(module) => module.default
|
|
59
|
-
)
|
|
60
|
-
),
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
</script>
|