@appscode/design-system 2.2.66 → 2.2.67-alpha
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/main.scss +3 -2
- package/package.json +1 -1
- package/plugins/time-convert.js +0 -1
- package/vue-components/styles/base/utilities/_all.scss +1 -0
- package/vue-components/styles/base/utilities/_animation.scss +11 -0
- package/vue-components/styles/base/utilities/_colors.scss +8 -2
- package/vue-components/styles/base/utilities/_global.scss +3 -1
- package/vue-components/styles/components/_table.scss +3 -1
- package/vue-components/styles/components/form-fields/_all.scss +1 -0
- package/vue-components/styles/components/form-fields/_check-radio-switch.scss +230 -34
- package/vue-components/styles/components/form-fields/_custom-selectbox.scss +135 -0
- package/vue-components/styles/components/form-fields/_input.scss +2 -9
- package/vue-components/v3/accordion/Accordion.vue +14 -7
- package/vue-components/v3/breadcrumbs/Breadcrumb.vue +1 -1
- package/vue-components/v3/button/Buttons.vue +1 -1
- package/vue-components/v3/cards/FeatureCard.vue +1 -1
- package/vue-components/v3/code-preview/CodeBlock.vue +16 -5
- package/vue-components/v3/code-preview/CodeGroup.vue +13 -8
- package/vue-components/v3/dropdown/DropdownMenu.vue +1 -1
- package/vue-components/v3/editor/Editor.vue +2 -2
- package/vue-components/v3/editor/FilteredFileEditor.vue +2 -2
- package/vue-components/v3/editor/MonacoEditor.vue +1 -1
- package/vue-components/v3/editor/ResourceKeyValueEditor.vue +1 -1
- package/vue-components/v3/form-fields/AcInput.vue +1 -1
- package/vue-components/v3/form-fields/AcTextArea.vue +1 -1
- package/vue-components/v3/form-fields/CheckBox.vue +7 -11
- package/vue-components/v3/form-fields/CheckRadio.vue +2 -3
- package/vue-components/v3/form-fields/CustomSelect.vue +122 -0
- package/vue-components/v3/form-fields/ListInputField.vue +118 -0
- package/vue-components/v3/form-fields/Switch.vue +14 -10
- package/vue-components/v3/icons/ArrowDownIcon.vue +14 -0
- package/vue-components/v3/icons/CloseIcon.vue +14 -0
- package/vue-components/v3/icons/RefreshIcon.vue +18 -0
- package/vue-components/v3/modal/DialogModal.vue +1 -1
- package/vue-components/v3/navbar/NavbarItem.vue +2 -2
- package/vue-components/v3/navbar/Notification.vue +1 -1
- package/vue-components/v3/pagination/Pagination.vue +1 -1
- package/vue-components/v3/sidebar/AccentColorPicker.vue +2 -2
- package/vue-components/v3/sidebar/ClusterSwitcher.vue +2 -2
- package/vue-components/v3/sidebar/SidebarItem.vue +1 -1
- package/vue-components/v3/sidebar/SidebarItemWithDropDown.vue +1 -1
- package/vue-components/v3/table/InfoTable.vue +1 -1
- package/vue-components/v3/table/MultiInfoTable.vue +1 -1
- package/vue-components/v3/table/Table.vue +1 -1
- package/vue-components/v3/table/TableCell.vue +1 -3
- package/vue-components/v3/table/table-cell/CellValue.vue +2 -2
- package/vue-components/v3/table/table-cell/GenericCell.vue +1 -1
- package/plugins/vue-toaster.js +0 -85
|
@@ -17,7 +17,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
const ContentLoader = defineAsyncComponent(() =>
|
|
20
|
-
import("vue-content-loader").then(({ ContentLoader }) => ContentLoader)
|
|
20
|
+
import("vue-content-loader").then(({ ContentLoader }) => ContentLoader),
|
|
21
21
|
);
|
|
22
22
|
const ObjectCell = defineAsyncComponent(() => import("../../table/table-cell/ObjectCell.vue"));
|
|
23
23
|
const ArrayCell = defineAsyncComponent(() => import("../../table/table-cell/ArrayCell.vue"));
|
|
@@ -58,7 +58,7 @@ watch(
|
|
|
58
58
|
oldDivValue = n;
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
|
-
{ immediate: true }
|
|
61
|
+
{ immediate: true },
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
const primaryColor = computed(() => {
|
package/plugins/vue-toaster.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
position: "top-center",
|
|
3
|
-
theme: "toasted-primary",
|
|
4
|
-
iconPack: "fontawesome",
|
|
5
|
-
className: "ac-toast",
|
|
6
|
-
action: {
|
|
7
|
-
icon: "close",
|
|
8
|
-
class: "ac-toast-action",
|
|
9
|
-
onClick: (e, toastObject) => {
|
|
10
|
-
toastObject.goAway(0);
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
register: [
|
|
14
|
-
{
|
|
15
|
-
name: "success",
|
|
16
|
-
message: (payload) => {
|
|
17
|
-
if (payload) {
|
|
18
|
-
if (typeof payload === "string") return payload;
|
|
19
|
-
else if (payload.message) return payload.message;
|
|
20
|
-
else return "Operation Completed Successfully";
|
|
21
|
-
}
|
|
22
|
-
// if there is no message passed show default message
|
|
23
|
-
else return "Operation Completed Successfully";
|
|
24
|
-
},
|
|
25
|
-
options: {
|
|
26
|
-
icon: "fa-check",
|
|
27
|
-
duration: 2500,
|
|
28
|
-
type: "success",
|
|
29
|
-
className: "ac-toast is-success",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
name: "error",
|
|
34
|
-
message: (payload) => {
|
|
35
|
-
if (payload) {
|
|
36
|
-
if (typeof payload === "string") return payload;
|
|
37
|
-
else if (payload.response && payload.response.data && payload.response.data.message)
|
|
38
|
-
return payload.response.data.message;
|
|
39
|
-
else if (payload.message) return payload.message;
|
|
40
|
-
else return "Something Went Wrong";
|
|
41
|
-
} else return "Something Went Wrong";
|
|
42
|
-
},
|
|
43
|
-
options: {
|
|
44
|
-
icon: "fa-warning",
|
|
45
|
-
duration: 20000,
|
|
46
|
-
type: "error",
|
|
47
|
-
className: "ac-toast is-danger",
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "info",
|
|
52
|
-
message: (payload) => {
|
|
53
|
-
if (payload) {
|
|
54
|
-
if (typeof payload === "string") return payload;
|
|
55
|
-
else if (payload.message) return payload.message;
|
|
56
|
-
else return "Something Went Wrong";
|
|
57
|
-
} else return "Something Went Wrong";
|
|
58
|
-
},
|
|
59
|
-
options: {
|
|
60
|
-
icon: "fa-info",
|
|
61
|
-
duration: 20000,
|
|
62
|
-
type: "info",
|
|
63
|
-
className: "ac-toast is-info",
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: "warning",
|
|
68
|
-
message: (payload) => {
|
|
69
|
-
if (payload) {
|
|
70
|
-
if (typeof payload === "string") return payload;
|
|
71
|
-
else if (payload.message) return payload.message;
|
|
72
|
-
else return "Something Went Wrong";
|
|
73
|
-
}
|
|
74
|
-
// if there is no message passed show default message
|
|
75
|
-
else return "Something Went Wrong";
|
|
76
|
-
},
|
|
77
|
-
options: {
|
|
78
|
-
icon: "fa-warning",
|
|
79
|
-
duration: 2500,
|
|
80
|
-
type: "error",
|
|
81
|
-
className: "ac-toast is-warning",
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
};
|