comand-component-library 3.3.1 → 3.3.3
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/comand-component-library.css +1 -1
- package/dist/comand-component-library.umd.min.js +1 -1
- package/package.json +2 -2
- package/src/App.vue +25 -28
- package/src/components/CmdAddressData.vue +27 -7
- package/src/components/CmdBackToTopButton.vue +11 -1
- package/src/components/CmdBankAccountData.vue +8 -2
- package/src/components/CmdBox.vue +46 -5
- package/src/components/CmdBoxWrapper.vue +76 -24
- package/src/components/CmdHeadline.vue +14 -1
- package/src/components/CmdMainNavigation.vue +15 -3
- package/src/components/CmdSiteHeader.vue +15 -5
- package/src/components/CmdThumbnailScroller.vue +11 -5
- package/src/documentation/generated/CmdBoxPropertyDescriptions.json +12 -0
- package/src/documentation/generated/CmdBoxWrapperPropertyDescriptions.json +18 -3
@@ -4,9 +4,13 @@
|
|
4
4
|
<div v-if="$slots.topheader" class="top-header">
|
5
5
|
<slot name="topheader"></slot>
|
6
6
|
</div>
|
7
|
-
<!-- end for elements above header -->
|
7
|
+
<!-- end slot for elements above header -->
|
8
8
|
|
9
|
-
<header :class="[
|
9
|
+
<header :class="[
|
10
|
+
useGrid ? 'grid-container-create-columns': 'flex-container',
|
11
|
+
{'has-navigation': (cmdMainNavigation?.navigationEntries?.length && navigationInline) || $slots.navigation,
|
12
|
+
'one-child-only' : oneChildOnly}
|
13
|
+
]">
|
10
14
|
<!-- begin slots for logo and other header elements -->
|
11
15
|
<template v-if="$slots.logo || $slots.header || $slots.navigation">
|
12
16
|
<slot name="logo"></slot>
|
@@ -26,7 +30,7 @@
|
|
26
30
|
|
27
31
|
<!-- begin CmdMainNavigation -->
|
28
32
|
<CmdMainNavigation
|
29
|
-
v-if="cmdMainNavigation?.navigationEntries?.length"
|
33
|
+
v-if="cmdMainNavigation?.navigationEntries?.length && navigationInline"
|
30
34
|
:navigationEntries="cmdMainNavigation.navigationEntries"
|
31
35
|
:closeOffcanvas="closeOffcanvas"
|
32
36
|
/>
|
@@ -34,6 +38,14 @@
|
|
34
38
|
</template>
|
35
39
|
<!-- end content given by data -->
|
36
40
|
</header>
|
41
|
+
|
42
|
+
<!-- begin CmdMainNavigation -->
|
43
|
+
<CmdMainNavigation
|
44
|
+
v-if="cmdMainNavigation?.navigationEntries?.length && !navigationInline"
|
45
|
+
:navigationEntries="cmdMainNavigation.navigationEntries"
|
46
|
+
:closeOffcanvas="closeOffcanvas"
|
47
|
+
/>
|
48
|
+
<!-- end CmdMainNavigation -->
|
37
49
|
</div>
|
38
50
|
</template>
|
39
51
|
|
@@ -154,8 +166,6 @@ export default {
|
|
154
166
|
border-bottom: 0;
|
155
167
|
}
|
156
168
|
|
157
|
-
|
158
|
-
|
159
169
|
header {
|
160
170
|
padding-top: calc(var(--default-padding) * 2);
|
161
171
|
padding-bottom: calc(var(--default-padding) * 2);
|
@@ -287,17 +287,23 @@ export default {
|
|
287
287
|
& img {
|
288
288
|
width: auto;
|
289
289
|
}
|
290
|
-
}
|
291
|
-
}
|
292
290
|
|
293
|
-
|
294
|
-
|
295
|
-
|
291
|
+
& > ul > li img {
|
292
|
+
max-height: 7rem;
|
293
|
+
}
|
294
|
+
}
|
296
295
|
|
296
|
+
@media only screen and (max-width: $medium-max-width) {
|
297
297
|
&.gallery-scroller {
|
298
298
|
max-width: calc(100% - calc(var(--default-margin) * 3));
|
299
299
|
}
|
300
300
|
}
|
301
301
|
}
|
302
|
+
|
303
|
+
@media only screen and (max-width: $small-max-width) {
|
304
|
+
.cmd-thumbnail-scroller {
|
305
|
+
display: block;
|
306
|
+
}
|
307
|
+
}
|
302
308
|
/* end cmd-thumbnail-scroller ------------------------------------------------------------------------------------------ */
|
303
309
|
</style>
|
@@ -17,6 +17,18 @@
|
|
17
17
|
"activate if box should be collapsible"
|
18
18
|
]
|
19
19
|
},
|
20
|
+
"cutoffTextLines": {
|
21
|
+
"comments": [
|
22
|
+
"number of lines to show if text should be cutoff"
|
23
|
+
]
|
24
|
+
},
|
25
|
+
"fadeLastLine": {
|
26
|
+
"comments": [
|
27
|
+
"show fade-effect on last line",
|
28
|
+
"",
|
29
|
+
"cutoffTextLines-property must be large 0"
|
30
|
+
]
|
31
|
+
},
|
20
32
|
"useTransition": {
|
21
33
|
"comments": [
|
22
34
|
"use transition to expand and collapse box-body",
|
@@ -4,9 +4,16 @@
|
|
4
4
|
"activate if boxes should be arranged vertically (each box is a row) by default"
|
5
5
|
]
|
6
6
|
},
|
7
|
-
"
|
7
|
+
"stretchBoxesVertically": {
|
8
8
|
"comments": [
|
9
|
-
"
|
9
|
+
"stretch boxes inside vertically to same height",
|
10
|
+
"",
|
11
|
+
"will not take effect on collapsable boxes"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"allowUserToToggleOrientation": {
|
15
|
+
"comments": [
|
16
|
+
"activate if user can toggle grid- and row-orientation by himself"
|
10
17
|
]
|
11
18
|
},
|
12
19
|
"allowTogglingCollapsingBoxes": {
|
@@ -31,7 +38,10 @@
|
|
31
38
|
},
|
32
39
|
"boxesPerRow": {
|
33
40
|
"comments": [
|
34
|
-
"define the number of boxes per row (if view is grid-view)"
|
41
|
+
"define the number of boxes per row (if view is grid-view)",
|
42
|
+
"",
|
43
|
+
"useFlexbox-property must be set to true",
|
44
|
+
"slot may not be used"
|
35
45
|
]
|
36
46
|
},
|
37
47
|
"iconGridView": {
|
@@ -43,5 +53,10 @@
|
|
43
53
|
"comments": [
|
44
54
|
"define icon for row-view"
|
45
55
|
]
|
56
|
+
},
|
57
|
+
"cmdHeadline": {
|
58
|
+
"comments": [
|
59
|
+
"properties for CmdHeadline-component"
|
60
|
+
]
|
46
61
|
}
|
47
62
|
}
|