@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.
Files changed (53) hide show
  1. package/base/utilities/_default.scss +21 -1
  2. package/components/_ac-input.scss +58 -2
  3. package/components/_ac-table.scss +47 -15
  4. package/components/_breadcumb.scss +1 -1
  5. package/components/_left-sidebar-menu.scss +3 -2
  6. package/components/_navbar.scss +1 -1
  7. package/components/_preloader.scss +1 -1
  8. package/components/ui-builder/_ui-builder.scss +2 -2
  9. package/layouts/_404.scss +158 -0
  10. package/layouts/_code-preview.scss +1 -0
  11. package/package.json +1 -1
  12. package/plugins/vue-toaster.js +1 -0
  13. package/vue-components/v2/card/CardContent.vue +5 -0
  14. package/vue-components/v2/card/CardHeader.vue +12 -0
  15. package/vue-components/v2/card/OverviewCard.vue +10 -0
  16. package/vue-components/v2/card/OverviewCards.vue +5 -0
  17. package/vue-components/v2/card/PaymentCards.vue +6 -9
  18. package/vue-components/v2/content/ContentHeader.vue +1 -1
  19. package/vue-components/v2/header/Header.vue +0 -1
  20. package/vue-components/v2/modal/Modal.vue +2 -3
  21. package/vue-components/v2/modals/JsonShowModal.vue +0 -1
  22. package/vue-components/v2/navbar/Appdrawer.vue +8 -6
  23. package/vue-components/v2/pagination/Pagination.vue +8 -1
  24. package/vue-components/v2/sidebar/SidebarItem.vue +1 -1
  25. package/vue-components/v2/table/InfoTable.vue +13 -3
  26. package/vue-components/v2/table/Table.vue +75 -5
  27. package/vue-components/v3/button/Button.vue +73 -0
  28. package/vue-components/v3/content/ContentHeader.vue +54 -0
  29. package/vue-components/v3/content/ContentTable.vue +65 -0
  30. package/vue-components/v3/dropdown/DropdownDivider.vue +3 -0
  31. package/vue-components/v3/dropdown/DropdownItem.vue +5 -0
  32. package/vue-components/v3/dropdown/DropdownMenu.vue +111 -0
  33. package/vue-components/v3/editor/Editor.vue +137 -0
  34. package/vue-components/v3/form-fields/Input.vue +21 -0
  35. package/vue-components/v3/header/Header.vue +45 -0
  36. package/vue-components/v3/modal/Modal.vue +126 -0
  37. package/vue-components/v3/modals/JsonShowModal.vue +87 -0
  38. package/vue-components/v3/navbar/Appdrawer.vue +58 -0
  39. package/vue-components/v3/navbar/User.vue +64 -0
  40. package/vue-components/v3/pagination/Pagination.vue +159 -0
  41. package/vue-components/v3/searchbars/SearchBar.vue +47 -0
  42. package/vue-components/v3/tab/TabItem.vue +17 -0
  43. package/vue-components/v3/table/FakeTableCell.vue +39 -0
  44. package/vue-components/v3/table/InfoTable.vue +105 -0
  45. package/vue-components/v3/table/Table.vue +238 -0
  46. package/vue-components/v3/table/TableCell.vue +28 -0
  47. package/vue-components/v3/table/TableRow.vue +60 -0
  48. package/vue-components/v3/table/table-cell/ArrayCell.vue +111 -0
  49. package/vue-components/v3/table/table-cell/CellValue.vue +108 -0
  50. package/vue-components/v3/table/table-cell/ObjectCell.vue +105 -0
  51. package/vue-components/v3/table/table-cell/ValueWithModal.vue +43 -0
  52. package/vue-components/v3/tabs/EditorTabs.vue +36 -0
  53. 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>