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.
@@ -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;
@@ -447,7 +447,7 @@ export default {
447
447
  ul {
448
448
  z-index: 1000; /* keep ul above overlay */
449
449
  height: 100%;
450
- background: var(--default-background);
450
+ background: var(--main-navigation-background);
451
451
  }
452
452
  }
453
453
  }