classcard-ui 0.2.444 → 0.2.447
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/dist/classcard-ui.common.js +60 -58
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +60 -58
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CPageHeading/CPageHeading.vue +24 -22
- package/src/components/CTabs/CTabs.vue +2 -2
package/package.json
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
<div
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<div class="sticky top-0 z-10 bg-transparent backdrop-blur-xl">
|
|
4
|
+
<div
|
|
5
|
+
class="flex w-full flex-col items-start justify-between pt-4 pb-1 sm:flex-row sm:items-center"
|
|
6
|
+
>
|
|
7
|
+
<div>
|
|
8
|
+
<h2
|
|
9
|
+
class="mb-1 text-xl font-bold leading-7 text-gray-900 sm:truncate sm:text-xl"
|
|
10
|
+
>
|
|
11
|
+
{{ title }}
|
|
12
|
+
</h2>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="justify-self-end">
|
|
15
|
+
<slot></slot>
|
|
16
|
+
<div v-if="buttonType" class="flex pb-2 lg:mt-0 lg:ml-4">
|
|
17
|
+
<span class="sm:ml-3">
|
|
18
|
+
<c-button
|
|
19
|
+
:label="buttonType.label"
|
|
20
|
+
:icon="buttonType.icon"
|
|
21
|
+
:type="buttonType.type"
|
|
22
|
+
@action="emitAction"
|
|
23
|
+
></c-button>
|
|
24
|
+
</span>
|
|
25
|
+
</div>
|
|
24
26
|
</div>
|
|
25
27
|
</div>
|
|
26
28
|
</div>
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
<div>
|
|
53
53
|
<div v-for="tab in tabs" :key="tab.text">
|
|
54
|
-
|
|
55
|
-
<slot
|
|
54
|
+
<slot :name="tabPanelSlotName" v-if="tab.text == activeTab"></slot>
|
|
55
|
+
<!-- <slot></slot> -->
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|