comand-component-library 4.3.27 → 5.0.0
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.js +7568 -7448
- package/dist/styles/demopage-only.css +35 -1
- package/package.json +47 -46
- package/src/ComponentLibrary.vue +2697 -2688
- package/src/assets/data/component-structure.json +1 -1
- package/src/assets/data/form-elements.json +224 -224
- package/src/assets/data/social-networks-page-by-json.json +43 -43
- package/src/assets/styles/component-library-global-styles.scss +296 -295
- package/src/componentSettingsDataAndControls.vue +1 -18
- package/src/components/CmdAccordion.vue +1 -1
- package/src/components/CmdAddressData.vue +6 -1
- package/src/components/CmdAddressDataItem.vue +6 -1
- package/src/components/CmdBasicForm.vue +2 -2
- package/src/components/CmdBox.vue +1103 -1086
- package/src/components/CmdBoxWrapper.vue +11 -1
- package/src/components/CmdBreadcrumbs.vue +2 -2
- package/src/components/CmdCodeOutput.vue +1 -1
- package/src/components/CmdContainer.vue +13 -1
- package/src/components/CmdCookieDisclaimer.vue +480 -480
- package/src/components/CmdFakeSelect.vue +930 -917
- package/src/components/CmdFlexibleScrollContainer.vue +42 -42
- package/src/components/CmdForm.vue +481 -481
- package/src/components/CmdFormElement.vue +1110 -1091
- package/src/components/CmdFormFilters.vue +146 -146
- package/src/components/CmdGoogleMaps.vue +1 -1
- package/src/components/CmdHeadline.vue +21 -4
- package/src/components/CmdIcon.vue +8 -2
- package/src/components/CmdImage.vue +27 -21
- package/src/components/CmdImageZoom.vue +9 -8
- package/src/components/CmdInputGroup.vue +436 -435
- package/src/components/CmdLink.vue +1 -1
- package/src/components/CmdList.vue +3 -3
- package/src/components/CmdListOfRequirements.vue +192 -192
- package/src/components/CmdLoginForm.vue +618 -618
- package/src/components/CmdMailToolFilter.vue +217 -217
- package/src/components/CmdMainNavigation.vue +581 -572
- package/src/components/CmdMultistepFormProgressBar.vue +9 -9
- package/src/components/CmdNewsletterSubscription.vue +199 -199
- package/src/components/CmdPagination.vue +4 -2
- package/src/components/CmdParagraph.vue +10 -4
- package/src/components/CmdProgressBar.vue +72 -72
- package/src/components/CmdSiteHeader.vue +382 -389
- package/src/components/CmdSiteSearch.vue +420 -420
- package/src/components/CmdSiteWrapper.vue +12 -5
- package/src/components/CmdSlideshow.vue +519 -519
- package/src/components/CmdSmartSearch.vue +291 -291
- package/src/components/CmdSystemMessage.vue +3 -2
- package/src/components/CmdTable.vue +401 -401
- package/src/components/CmdTabs.vue +262 -262
- package/src/components/CmdTag.vue +2 -2
- package/src/components/CmdTextImageBlock.vue +8 -2
- package/src/components/CmdThumbnailScroller.vue +0 -7
- package/src/components/CmdToast.vue +1 -1
- package/src/components/CmdToggleDarkMode.vue +13 -11
- package/src/components/CmdTooltip.vue +305 -301
- package/src/components/CmdUploadForm.vue +1299 -1305
- package/src/components/CmdWidthLimitationWrapper.vue +1 -1
- package/src/components/EditComponentWrapper.vue +5 -5
- package/src/index.js +5 -0
- package/src/main.js +4 -3
- package/src/utils/template.js +57 -0
- package/dist/styles/templates/casual.css +0 -3
- package/src/assets/styles/template.css +0 -1
|
@@ -115,7 +115,7 @@ export default {
|
|
|
115
115
|
*/
|
|
116
116
|
useFlexbox: {
|
|
117
117
|
type: Boolean,
|
|
118
|
-
default:
|
|
118
|
+
default: true
|
|
119
119
|
},
|
|
120
120
|
/**
|
|
121
121
|
* define the number of boxes per row (if view is grid-view)
|
|
@@ -282,6 +282,10 @@ export default {
|
|
|
282
282
|
.box {
|
|
283
283
|
align-self: stretch;
|
|
284
284
|
height: auto; /* must be set to auto if inner boxes have als stretchVertically-property activated */
|
|
285
|
+
|
|
286
|
+
&.collapsible:not(.open) {
|
|
287
|
+
align-self: flex-start;
|
|
288
|
+
}
|
|
285
289
|
}
|
|
286
290
|
|
|
287
291
|
&.box {
|
|
@@ -300,6 +304,8 @@ export default {
|
|
|
300
304
|
}
|
|
301
305
|
|
|
302
306
|
.row-view {
|
|
307
|
+
flex-direction: column;
|
|
308
|
+
|
|
303
309
|
.box.product {
|
|
304
310
|
.box-header {
|
|
305
311
|
border-top-right-radius: 0;
|
|
@@ -323,6 +329,10 @@ export default {
|
|
|
323
329
|
padding: var(--default-padding);
|
|
324
330
|
align-items: center;
|
|
325
331
|
|
|
332
|
+
.box-footer {
|
|
333
|
+
align-self: flex-start;
|
|
334
|
+
}
|
|
335
|
+
|
|
326
336
|
img {
|
|
327
337
|
margin-bottom: 0;
|
|
328
338
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<li v-if="breadcrumbLabel" class="breadcrumb-label">{{ breadcrumbLabel }}</li>
|
|
5
5
|
<li v-for="(link, index) in breadcrumbLinks || []" :key="index">
|
|
6
6
|
<CmdLink
|
|
7
|
-
v-if="
|
|
8
|
-
:linkType="link.type"
|
|
7
|
+
v-if="link.type === undefined || link.type === null || link.type === 'href' || link.type === 'router'"
|
|
8
|
+
:linkType="link.type || undefined"
|
|
9
9
|
:path="link.type === 'href' ? link.path : getRoute(link)"
|
|
10
10
|
:icon="{ iconClass: link.iconClass, type: link.iconType }"
|
|
11
11
|
:text="link.text"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<!-- end CmdIcon -->
|
|
9
9
|
</a>
|
|
10
10
|
<!-- begin preformatted code (keep in one line) -->
|
|
11
|
-
<pre v-if="preformatted"><code ref="code">
|
|
11
|
+
<pre v-if="preformatted" tabindex="0"><code ref="code">
|
|
12
12
|
<slot></slot>
|
|
13
13
|
</code></pre>
|
|
14
14
|
<!-- end preformatted code (keep in one line) -->
|
|
@@ -74,6 +74,13 @@ export default {
|
|
|
74
74
|
type: Boolean,
|
|
75
75
|
default: false
|
|
76
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* define classes for inner container
|
|
79
|
+
*/
|
|
80
|
+
innerClasses: {
|
|
81
|
+
type: [String, Array],
|
|
82
|
+
required: false
|
|
83
|
+
},
|
|
77
84
|
/**
|
|
78
85
|
* activate if items should not behave like flex-items (they are now shrunk to their content)
|
|
79
86
|
*
|
|
@@ -140,7 +147,12 @@ export default {
|
|
|
140
147
|
}
|
|
141
148
|
},
|
|
142
149
|
htmlClasses() {
|
|
143
|
-
|
|
150
|
+
let htmlClasses = [];
|
|
151
|
+
|
|
152
|
+
if (this.innerClasses !== undefined) {
|
|
153
|
+
// assign innerClasses (dpeending on type (array or string)) to htmlClasses-array
|
|
154
|
+
htmlClasses = Array.isArray(this.innerClasses) ? [...htmlClasses, ...this.innerClasses] : [...htmlClasses, this.innerClasses];
|
|
155
|
+
}
|
|
144
156
|
|
|
145
157
|
if (this.containerType !== 'default') {
|
|
146
158
|
if (this.containerType === "flex") {
|