@appscode/design-system 1.0.3-alpha.7 → 1.0.43-alpha.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/base/utilities/_default.scss +21 -1
- package/components/_ac-input.scss +58 -2
- package/components/_ac-table.scss +47 -15
- package/components/_breadcumb.scss +1 -1
- package/components/_left-sidebar-menu.scss +3 -2
- package/components/_navbar.scss +1 -1
- package/components/_preloader.scss +1 -1
- package/components/ui-builder/_ui-builder.scss +2 -2
- package/layouts/_404.scss +158 -0
- package/layouts/_code-preview.scss +1 -0
- package/package.json +1 -1
- package/plugins/vue-toaster.js +1 -0
- package/vue-components/v2/card/CardContent.vue +5 -0
- package/vue-components/v2/card/CardHeader.vue +12 -0
- package/vue-components/v2/card/OverviewCard.vue +10 -0
- package/vue-components/v2/card/OverviewCards.vue +5 -0
- package/vue-components/v2/card/PaymentCards.vue +6 -9
- package/vue-components/v2/content/ContentHeader.vue +1 -1
- package/vue-components/v2/header/Header.vue +0 -1
- package/vue-components/v2/modal/Modal.vue +2 -3
- package/vue-components/v2/modals/JsonShowModal.vue +0 -1
- package/vue-components/v2/navbar/Appdrawer.vue +8 -6
- package/vue-components/v2/pagination/Pagination.vue +8 -1
- package/vue-components/v2/sidebar/SidebarItem.vue +1 -1
- package/vue-components/v2/table/InfoTable.vue +13 -3
- package/vue-components/v2/table/Table.vue +75 -5
- package/vue-components/v3/button/Button.vue +73 -0
- package/vue-components/v3/content/ContentHeader.vue +54 -0
- package/vue-components/v3/content/ContentTable.vue +65 -0
- package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
- package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
- package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
- package/vue-components/v3/editor/Editor.vue +137 -0
- package/vue-components/v3/form-fields/Input.vue +21 -0
- package/vue-components/v3/header/Header.vue +45 -0
- package/vue-components/v3/modal/Modal.vue +126 -0
- package/vue-components/v3/modals/JsonShowModal.vue +87 -0
- package/vue-components/v3/navbar/Appdrawer.vue +58 -0
- package/vue-components/v3/navbar/User.vue +64 -0
- package/vue-components/v3/pagination/Pagination.vue +159 -0
- package/vue-components/v3/searchbars/SearchBar.vue +47 -0
- package/vue-components/v3/tab/TabItem.vue +17 -0
- package/vue-components/v3/table/FakeTableCell.vue +39 -0
- package/vue-components/v3/table/InfoTable.vue +105 -0
- package/vue-components/v3/table/Table.vue +238 -0
- package/vue-components/v3/table/TableCell.vue +28 -0
- package/vue-components/v3/table/TableRow.vue +60 -0
- package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
- package/vue-components/v3/table/table-cell/CellValue.vue +108 -0
- package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
- package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
- package/vue-components/v3/tabs/EditorTabs.vue +36 -0
- package/vue-components/v3/tag/Tag.vue +17 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tabs-body class="mt-20">
|
|
3
|
+
<tabs class="is-line">
|
|
4
|
+
<tab-item :is-active="activeTab === 'edit'">
|
|
5
|
+
<a @click.prevent="$emit('tabchange', 'edit')">Edit</a>
|
|
6
|
+
</tab-item>
|
|
7
|
+
<tab-item :is-active="activeTab === 'preview'">
|
|
8
|
+
<a @click.prevent="$emit('tabchange', 'preview')">Preview Changes</a>
|
|
9
|
+
</tab-item>
|
|
10
|
+
</tabs>
|
|
11
|
+
</tabs-body>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import { defineComponent, defineAsyncComponent } from "vue";
|
|
16
|
+
export default defineComponent({
|
|
17
|
+
props: {
|
|
18
|
+
activeTab: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: "",
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
emits: ["tabchange"],
|
|
24
|
+
components: {
|
|
25
|
+
TabsBody: defineAsyncComponent(() =>
|
|
26
|
+
import("../../v2/tab/TabsBody.vue").then((module) => module.default)
|
|
27
|
+
),
|
|
28
|
+
Tabs: defineAsyncComponent(() =>
|
|
29
|
+
import("../../v2/tab/Tabs.vue").then((module) => module.default)
|
|
30
|
+
),
|
|
31
|
+
TabItem: defineAsyncComponent(() =>
|
|
32
|
+
import("../tab/TabItem.vue").then((module) => module.default)
|
|
33
|
+
),
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tag" :class="modifierClasses">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import { defineComponent } from "vue";
|
|
9
|
+
export default defineComponent({
|
|
10
|
+
props: {
|
|
11
|
+
modifierClasses: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
</script>
|