@appscode/design-system 1.1.0-beta.8 → 1.1.0-beta.81
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/utilities/_all.scss +2 -2
- package/base/utilities/_colors.scss +105 -136
- package/base/utilities/_global.scss +25 -20
- package/base/utilities/_layouts.scss +0 -138
- package/base/utilities/_typography.scss +2 -2
- package/components/_ac-alert-box.scss +2 -2
- package/components/_ac-code-highlight.scss +9 -12
- package/components/_ac-drag.scss +4 -4
- package/components/_ac-modal.scss +2 -2
- package/components/_ac-select-box.scss +5 -5
- package/components/_ac-table.scss +7 -7
- package/components/_ac-tabs.scss +29 -26
- package/components/_all.scss +8 -5
- package/components/_buttons.scss +10 -10
- package/components/_getkeeper.scss +110 -0
- package/components/_graph.scss +10 -10
- package/components/_image-upload.scss +4 -4
- package/components/_input-card.scss +232 -0
- package/components/_input.scss +573 -0
- package/components/_left-sidebar-menu.scss +9 -13
- package/components/_monaco-editor.scss +2 -2
- package/components/_multi-select.scss +589 -0
- package/components/_navbar.scss +7 -7
- package/components/_nested-list.scss +2 -2
- package/components/_overview-info.scss +3 -3
- package/components/_pricing-table.scss +5 -5
- package/components/_progress-bar.scss +61 -74
- package/components/_subscription-card.scss +8 -10
- package/components/_table-of-content.scss +4 -4
- package/components/{_ac-terminal.scss → _terminal.scss} +63 -74
- package/components/_widget-menu.scss +7 -12
- package/components/_wizard.scss +13 -286
- package/components/ac-toaster/_ac-toasted.scss +4 -4
- package/components/bbum/_information-center.scss +8 -10
- package/components/bbum/_mobile-desktop.scss +9 -14
- package/components/bbum/_single-post-preview.scss +9 -9
- package/components/ui-builder/_ui-builder.scss +202 -18
- package/components/ui-builder/_vue-open-api.scss +63 -18
- package/icons/close-icon.svg +3 -0
- package/layouts/_code-preview.scss +6 -7
- package/package.json +1 -1
- package/vue-components/types/importFlow.ts +16 -0
- package/vue-components/types/notification.ts +3 -3
- package/vue-components/types/table.ts +1 -0
- package/vue-components/v2/banner/Banner.vue +1 -1
- package/vue-components/v2/button/Buttons.vue +1 -1
- package/vue-components/v2/modal/Modal.vue +1 -1
- package/vue-components/v3/alert/Alert.vue +2 -2
- package/vue-components/v3/banner/Banner.vue +2 -2
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +66 -4
- package/vue-components/v3/button/Button.vue +49 -786
- package/vue-components/v3/button/Buttons.vue +18 -2
- package/vue-components/v3/cards/Cluster.vue +37 -26
- package/vue-components/v3/cards/FeatureCard.vue +7 -11
- package/vue-components/v3/cards/FeatureCards.vue +1 -1
- package/vue-components/v3/cards/InfoCard.vue +1 -2
- package/vue-components/v3/cards/Monitoring.vue +6 -10
- package/vue-components/v3/cards/OverviewCard.vue +4 -0
- package/vue-components/v3/cards/OverviewCards.vue +10 -2
- package/vue-components/v3/cards/Vendor.vue +10 -6
- package/vue-components/v3/content/ContentHeader.vue +1 -1
- package/vue-components/v3/content/ContentTable.vue +1 -1
- package/vue-components/v3/dropdown/DropdownAction.vue +92 -0
- package/vue-components/v3/editor/Editor.vue +1 -1
- package/vue-components/v3/editor/FilteredFileEditor.vue +7 -0
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +3 -0
- package/vue-components/v3/footer/FooterArea.vue +8 -2
- package/vue-components/v3/footer/Info.vue +10 -8
- package/vue-components/v3/footer/Status.vue +24 -23
- package/vue-components/v3/footer/Usage.vue +20 -30
- package/vue-components/v3/form/Form.vue +0 -3
- package/vue-components/v3/form/FormFooter.vue +24 -0
- package/vue-components/v3/form-fields/AcSingleInput.vue +1 -508
- package/vue-components/v3/form-fields/FileUpload.vue +89 -0
- package/vue-components/v3/form-fields/Input.vue +2 -3
- package/vue-components/v3/header/Header.vue +1 -1
- package/vue-components/v3/loaders/InfoCardLoader.vue +18 -60
- package/vue-components/v3/loaders/SingleInfoCardLoader.vue +24 -0
- package/vue-components/v3/modal/Modal.vue +7 -12
- package/vue-components/v3/modals/JsonShowModal.vue +1 -0
- package/vue-components/v3/navbar/Navbar.vue +0 -159
- package/vue-components/v3/navbar/NavbarItem.vue +37 -15
- package/vue-components/v3/navbar/NavbarItemContent.vue +6 -3
- package/vue-components/v3/navbar/Notification.vue +35 -9
- package/vue-components/v3/navbar/User.vue +35 -31
- package/vue-components/v3/notification/AlertBox.vue +233 -3
- package/vue-components/v3/notification/Notification.vue +2 -2
- package/vue-components/v3/option-dots/Options.vue +17 -8
- package/vue-components/v3/pagination/Pagination.vue +27 -17
- package/vue-components/v3/preloader/Preloader.vue +1 -1
- package/vue-components/v3/searchbars/SearchBar.vue +1 -10
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +1 -765
- package/vue-components/v3/sidebar/Sidebar.vue +3 -30
- package/vue-components/v3/sidebar/SidebarBody.vue +9 -2
- package/vue-components/v3/sidebar/SidebarFooter.vue +6 -3
- package/vue-components/v3/sidebar/SidebarHeader.vue +6 -2
- package/vue-components/v3/sidebar/Steps.vue +55 -51
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabs.vue +78 -2
- package/vue-components/v3/sidebar/sidebar-tabs/SidebarTabsLayout.vue +12 -3
- package/vue-components/v3/table/Table.vue +14 -16
- package/vue-components/v3/table/TableCell.vue +1 -9
- package/vue-components/v3/table/TableRow.vue +2 -2
- package/vue-components/v3/table/table-cell/ArrayCell.vue +35 -32
- package/vue-components/v3/table/table-cell/CellValue.vue +14 -40
- package/vue-components/v3/table/table-cell/ObjectCell.vue +40 -38
- package/vue-components/v3/tag/Tag.vue +1 -0
- package/base/utilities/dark-theme.scss +0 -26
- package/components/_ac-card.scss +0 -0
- package/components/_ac-input.scss +0 -901
- package/components/_ac-multi-select.scss +0 -780
- package/vue-components/text.vue +0 -1
- package/vue-components/types/longRunningTasks.ts +0 -20
- package/vue-components/v3/long-running-tasks/LongRunningTaskItem.vue +0 -94
- package/vue-components/v3/modals/LongRunningTasksModal.vue +0 -402
- package/vue-components/v3/terminal/LongRunningTaskTerminal.vue +0 -151
- /package/components/{_ac-accordion.scss → _accordion.scss} +0 -0
- /package/components/{_ac-report.scss → _report.scss} +0 -0
|
@@ -9,7 +9,7 @@ interface Props {
|
|
|
9
9
|
|
|
10
10
|
const props = withDefaults(defineProps<Props>(), {
|
|
11
11
|
cellTitle: "cell title",
|
|
12
|
-
maxCharacterLength:
|
|
12
|
+
maxCharacterLength: 64,
|
|
13
13
|
obj: () => ({}),
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ const objKeys = computed(() => {
|
|
|
33
33
|
|
|
34
34
|
const printableStringObjs = computed(() => {
|
|
35
35
|
return objKeys.value.map((key) => {
|
|
36
|
-
let value = props.obj[key];
|
|
36
|
+
let value: string = props.obj[key] as string;
|
|
37
37
|
if (typeof value === "object" && value !== null) {
|
|
38
38
|
value = JSON.stringify(value);
|
|
39
39
|
}
|
|
@@ -46,10 +46,10 @@ const printableStringObjs = computed(() => {
|
|
|
46
46
|
|
|
47
47
|
const indexOfCharacterLengthExceed = computed(() => {
|
|
48
48
|
let idx = -1;
|
|
49
|
-
let cumulativeLen =
|
|
49
|
+
let cumulativeLen = 2;
|
|
50
50
|
for (const [index, po] of printableStringObjs.value.entries()) {
|
|
51
|
-
const newLen = cumulativeLen + po.print.length;
|
|
52
|
-
if (newLen > props.maxCharacterLength) {
|
|
51
|
+
const newLen = cumulativeLen + po.print.length + 2;
|
|
52
|
+
if (newLen + 4 > props.maxCharacterLength) {
|
|
53
53
|
idx = index;
|
|
54
54
|
break;
|
|
55
55
|
}
|
|
@@ -61,38 +61,40 @@ const indexOfCharacterLengthExceed = computed(() => {
|
|
|
61
61
|
</script>
|
|
62
62
|
|
|
63
63
|
<template>
|
|
64
|
-
<
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<template v-else> {{ printableStringOb.print }} </template>
|
|
80
|
-
</tag>
|
|
81
|
-
|
|
82
|
-
<tag
|
|
83
|
-
modifierClasses="is-info is-light"
|
|
84
|
-
v-if="indexOfCharacterLengthExceed !== printableStringObjs.length"
|
|
85
|
-
>
|
|
86
|
-
<a @click.prevent.stop="showFullData = true">
|
|
87
|
-
<ellipsis-icon />
|
|
88
|
-
<json-show-modal
|
|
89
|
-
:open="showFullData"
|
|
90
|
-
@closemodal="showFullData = false"
|
|
91
|
-
:editor-title="cellTitle"
|
|
92
|
-
:editor-content="obj"
|
|
64
|
+
<span>
|
|
65
|
+
<tags v-if="printableStringObjs.length">
|
|
66
|
+
<tag
|
|
67
|
+
v-for="printableStringOb in printableStringObjs.slice(
|
|
68
|
+
0,
|
|
69
|
+
indexOfCharacterLengthExceed
|
|
70
|
+
)"
|
|
71
|
+
:key="printableStringOb.key"
|
|
72
|
+
modifierClasses="is-primary is-light"
|
|
73
|
+
>
|
|
74
|
+
<value-with-modal
|
|
75
|
+
v-if="printableStringOb.exceededLength"
|
|
76
|
+
:title="printableStringOb.key"
|
|
77
|
+
:value="printableStringOb.value"
|
|
78
|
+
:print="printableStringOb.print"
|
|
93
79
|
/>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
80
|
+
<template v-else> {{ printableStringOb.print }} </template>
|
|
81
|
+
</tag>
|
|
82
|
+
|
|
83
|
+
<tag
|
|
84
|
+
modifierClasses="is-info is-light"
|
|
85
|
+
v-if="indexOfCharacterLengthExceed !== printableStringObjs.length"
|
|
86
|
+
>
|
|
87
|
+
<a @click.prevent.stop="showFullData = true">
|
|
88
|
+
<ellipsis-icon />
|
|
89
|
+
<json-show-modal
|
|
90
|
+
:open="showFullData"
|
|
91
|
+
@closemodal="showFullData = false"
|
|
92
|
+
:editor-title="cellTitle"
|
|
93
|
+
:editor-content="obj"
|
|
94
|
+
/>
|
|
95
|
+
</a>
|
|
96
|
+
</tag>
|
|
97
|
+
</tags>
|
|
98
|
+
<p v-else>-</p>
|
|
99
|
+
</span>
|
|
98
100
|
</template>
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
$dark-bg: var(--dark-bg);
|
|
2
|
-
$dark-bg-light: var(--dark-bg-light);
|
|
3
|
-
|
|
4
|
-
.is-dark-theme {
|
|
5
|
-
--ac-bg: var(--dark-bg);
|
|
6
|
-
--ac-white: #21272e;
|
|
7
|
-
--ac-link-black: #6969c0;
|
|
8
|
-
--ac-black: var(--ac-white-text);
|
|
9
|
-
--ac-text-heading: var(--ac-white-text);
|
|
10
|
-
--ac-text: #98a6b4;
|
|
11
|
-
// --ac-blue-light: #2e323c;
|
|
12
|
-
--ac-gray-darker: #a6a6a6;
|
|
13
|
-
--ac-gray-light: #424242;
|
|
14
|
-
--ac-gray-lightest: #777777;
|
|
15
|
-
--ac-white-light: #3f3f3f;
|
|
16
|
-
--ac-white-lighter: #2e323c;
|
|
17
|
-
--ac-white-lightest: #1f2229;
|
|
18
|
-
--ac-label-text: #8c8c8c;
|
|
19
|
-
--ac-bg-light-gray: #252830;
|
|
20
|
-
|
|
21
|
-
--ac-color-value: hsl(
|
|
22
|
-
var(--font-hsl-hue),
|
|
23
|
-
var(--font-hsl-saturation),
|
|
24
|
-
calc(var(--font-hsl-lightness) + 60%)
|
|
25
|
-
);
|
|
26
|
-
}
|
package/components/_ac-card.scss
DELETED
|
File without changes
|