comand-component-library 4.2.68 → 4.2.70
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.js +2159 -2131
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/ComponentLibrary.vue +1 -1
- package/src/assets/styles/component-library-global-styles.scss +1 -1
- package/src/assets/styles/variables.scss +1 -1
- package/src/componentSettingsDataAndControls.vue +1004 -988
- package/src/components/CmdAddressData.vue +18 -1
- package/src/components/CmdMainNavigation.vue +1 -1
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<!-- begin list with labels -->
|
|
20
20
|
<template v-if="showLabels && (showLabelTexts|| showLabelIcons) && !showIconsOnly">
|
|
21
21
|
<!-- begin default view -->
|
|
22
|
-
<dl v-if="!editModeContext">
|
|
22
|
+
<dl v-if="!editModeContext" :class="{'auto-columns': contentOrientation === 'horizontal'}">
|
|
23
23
|
<!-- begin cmd-address-data-item -->
|
|
24
24
|
<CmdAddressDataItem
|
|
25
25
|
v-for="(entry, index) in addressData"
|
|
@@ -191,6 +191,17 @@ export default {
|
|
|
191
191
|
type: Boolean,
|
|
192
192
|
default: false
|
|
193
193
|
},
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
*/
|
|
197
|
+
contentOrientation: {
|
|
198
|
+
type: String,
|
|
199
|
+
default: "vertical",
|
|
200
|
+
validator(value) {
|
|
201
|
+
return value === "vertical" ||
|
|
202
|
+
value === "horizontal"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
194
205
|
/**
|
|
195
206
|
* show an icon (if exists) in front of label-text
|
|
196
207
|
*/
|
|
@@ -314,6 +325,12 @@ export default {
|
|
|
314
325
|
dl {
|
|
315
326
|
grid-row-gap: calc(var(--default-gap) / 2);
|
|
316
327
|
|
|
328
|
+
&.auto-columns {
|
|
329
|
+
dt:has([class*="icon-"]) {
|
|
330
|
+
align-items: baseline;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
317
334
|
dt {
|
|
318
335
|
display: flex;
|
|
319
336
|
align-items: center;
|