comand-component-library 4.0.72 → 4.0.74

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.
@@ -18,8 +18,10 @@
18
18
  "links": [
19
19
  {
20
20
  "path": "mailto:",
21
- "iconClass": "icon-mail",
22
- "tooltip": "Send mail"
21
+ "icon": {
22
+ "iconClass": "icon-mail",
23
+ "tooltip": "Send mail"
24
+ }
23
25
  }
24
26
  ]
25
27
  },
@@ -33,14 +35,18 @@
33
35
  "links": [
34
36
  {
35
37
  "path": "mailto:",
36
- "iconClass": "icon-mail",
37
- "tooltip": "Send mail"
38
+ "icon": {
39
+ "iconClass": "icon-mail",
40
+ "tooltip": "Send mail"
41
+ }
38
42
  },
39
43
  {
40
44
  "path": "https://www.comand-cms.com",
41
45
  "target": "comand",
42
- "iconClass": "icon-globe",
43
- "tooltip": "Visit website"
46
+ "icon": {
47
+ "iconClass": "icon-globe",
48
+ "tooltip": "Visit website"
49
+ }
44
50
  }
45
51
  ]
46
52
  },
@@ -58,19 +64,25 @@
58
64
  "links": [
59
65
  {
60
66
  "path": "mailto:",
61
- "iconClass": "icon-mail",
62
- "tooltip": "Send mail"
67
+ "icon": {
68
+ "iconClass": "icon-mail",
69
+ "tooltip": "Send mail"
70
+ }
63
71
  },
64
72
  {
65
73
  "path": "https://www.comand-cms.com",
66
74
  "target": "comand",
67
- "iconClass": "icon-globe",
68
- "tooltip": "Visit website"
75
+ "icon": {
76
+ "iconClass": "icon-globe",
77
+ "tooltip": "Visit website"
78
+ }
69
79
  },
70
80
  {
71
81
  "path": "tel:",
72
- "iconClass": "icon-phone",
73
- "tooltip": "Make call"
82
+ "icon": {
83
+ "iconClass": "icon-phone",
84
+ "tooltip": "Make call"
85
+ }
74
86
  }
75
87
  ]
76
88
  },
@@ -88,19 +100,25 @@
88
100
  "links": [
89
101
  {
90
102
  "path": "mailto:",
91
- "iconClass": "icon-mail",
92
- "tooltip": "Send mail"
103
+ "icon": {
104
+ "iconClass": "icon-mail",
105
+ "tooltip": "Send mail"
106
+ }
93
107
  },
94
108
  {
95
109
  "path": "https://www.comand-cms.com",
96
110
  "target": "comand",
97
- "iconClass": "icon-globe",
98
- "tooltip": "Visit website"
111
+ "icon": {
112
+ "iconClass": "icon-globe",
113
+ "tooltip": "Visit website"
114
+ }
99
115
  },
100
116
  {
101
117
  "path": "tel:",
102
- "iconClass": "icon-phone",
103
- "tooltip": "Make call"
118
+ "icon": {
119
+ "iconClass": "icon-phone",
120
+ "tooltip": "Make call"
121
+ }
104
122
  }
105
123
  ]
106
124
  },
@@ -118,19 +136,25 @@
118
136
  "links": [
119
137
  {
120
138
  "path": "mailto:",
121
- "iconClass": "icon-mail",
122
- "tooltip": "Send mail"
139
+ "icon": {
140
+ "iconClass": "icon-mail",
141
+ "tooltip": "Send mail"
142
+ }
123
143
  },
124
144
  {
125
145
  "path": "https://www.comand-cms.com",
126
146
  "target": "comand",
127
- "iconClass": "icon-globe",
128
- "tooltip": "Visit website"
147
+ "icon": {
148
+ "iconClass": "icon-globe",
149
+ "tooltip": "Visit website"
150
+ }
129
151
  },
130
152
  {
131
153
  "path": "tel:",
132
- "iconClass": "icon-phone",
133
- "tooltip": "Make call"
154
+ "icon": {
155
+ "iconClass": "icon-phone",
156
+ "tooltip": "Make call"
157
+ }
134
158
  }
135
159
  ]
136
160
  }
@@ -61,7 +61,7 @@
61
61
  <!-- begin content given slot -->
62
62
  <div v-if="useSlots?.includes('body')"
63
63
  class="inner-box-body-wrapper"
64
- :class="{'default-padding': useDefaultPadding, 'allow-scroll': allowContentToScroll}"
64
+ :class="{'box-body-padding': useBoxBodyPadding, 'allow-scroll': allowContentToScroll}"
65
65
  ref="boxBody"
66
66
  :style="allowContentToScroll ? 'max-height: ' + calculatedBodyHeight : null"
67
67
  >
@@ -112,7 +112,7 @@
112
112
  <!-- end CmdImage -->
113
113
 
114
114
  <div v-if="textBody"
115
- :class="{'default-padding': useDefaultPadding, 'allow-scroll': allowContentToScroll}">
115
+ :class="{'box-body-padding': useBoxBodyPadding, 'allow-scroll': allowContentToScroll}">
116
116
  <div v-if="cmdIcon !== undefined" class="body-icon-wrapper">
117
117
  <!-- begin CmdIcon -->
118
118
  <CmdIcon v-bind="cmdIcon" />
@@ -325,7 +325,7 @@ export default {
325
325
  *
326
326
  * @affectsStyling: true
327
327
  */
328
- useDefaultPadding: {
328
+ useBoxBodyPadding: {
329
329
  type: Boolean,
330
330
  default: true
331
331
  },
@@ -668,6 +668,10 @@ export default {
668
668
  flex-grow: 1;
669
669
  border-top: var(--box-border);
670
670
 
671
+ .box-body-padding {
672
+ padding: var(--box-body-padding);
673
+ }
674
+
671
675
  & > div:only-child {
672
676
  flex-grow: 1;
673
677
  }
@@ -100,7 +100,7 @@
100
100
  <li v-for="(navigationSubSubEntry, subsubindex) in navigationSubEntry.subentries"
101
101
  :key="subsubindex">
102
102
  <!-- begin type === href -->
103
- <a v-if="navigationEntry.type === 'href'"
103
+ <a v-if="navigationSubSubEntry.type === 'href'"
104
104
  :href="navigationSubSubEntry.path"
105
105
  :title="navigationSubSubEntry.tooltip"
106
106
  :target="navigationSubSubEntry.target"
@@ -117,7 +117,7 @@
117
117
  <!-- end type === href -->
118
118
 
119
119
  <!-- begin type === router -->
120
- <router-link v-if="navigationEntry.type === 'router'"
120
+ <router-link v-if="navigationSubSubEntry.type === 'router'"
121
121
  :to="getRoute(navigationSubSubEntry)"
122
122
  :target="navigationSubSubEntry.target">
123
123
  <!-- begin CmdIcon -->