comand-component-library 3.1.67 → 3.1.68
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -789,6 +789,21 @@
|
|
789
789
|
<p>LoginData: {{loginData}}</p>
|
790
790
|
</CmdWidthLimitationWrapper>
|
791
791
|
|
792
|
+
<!-- begin list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
793
|
+
<a id="section-list-of-links"></a>
|
794
|
+
<CmdWidthLimitationWrapper>
|
795
|
+
<h2 class="headline-demopage">List Of Links</h2>
|
796
|
+
<h3>Vertical</h3>
|
797
|
+
<CmdListOfLinks :links="listOfLinksData" />
|
798
|
+
<h3>Horizontal (aligned left)</h3>
|
799
|
+
<CmdListOfLinks orientation="horizontal" align="left" :links="listOfLinksData" />
|
800
|
+
<h3>Horizontal (aligned center)</h3>
|
801
|
+
<CmdListOfLinks orientation="horizontal" align="center" :links="listOfLinksData" />
|
802
|
+
<h3>Horizontal (aligned right)</h3>
|
803
|
+
<CmdListOfLinks orientation="horizontal" align="right" :links="listOfLinksData" />
|
804
|
+
</CmdWidthLimitationWrapper>
|
805
|
+
<!-- end list-of-links ------------------------------------------------------------------------------------------------------------------------------------------------------->
|
806
|
+
|
792
807
|
<a id="section-main-navigation"></a>
|
793
808
|
<CmdWidthLimitationWrapper>
|
794
809
|
<h2 class="headline-demopage">Main Navigation</h2>
|
@@ -947,7 +962,7 @@
|
|
947
962
|
|
948
963
|
<CmdWidthLimitationWrapper id="site-footer" inner-component="footer">
|
949
964
|
<CmdSwitchLanguage :languages="languagesData" @click="doSomething"/>
|
950
|
-
<CmdListOfLinks :links="
|
965
|
+
<CmdListOfLinks :links="listOfLinksData"
|
951
966
|
:cmdCustomHeadline="{headlineText: 'List of links', headlineLevel: 6}"
|
952
967
|
/>
|
953
968
|
<CmdOpeningHours :openingHours="openingHoursData"
|
@@ -997,7 +1012,7 @@ import fakeSelectCountriesData from '@/assets/data/fake-select-countries.json'
|
|
997
1012
|
import fakeSelectFilterOptionsData from '@/assets/data/fake-select-filter-options.json'
|
998
1013
|
import fakeSelectOptionsData from '@/assets/data/fake-select-options.json'
|
999
1014
|
import fakeSelectOptionsWithIconsData from '@/assets/data/fake-select-options-with-icons.json'
|
1000
|
-
import
|
1015
|
+
import listOfLinksData from '@/assets/data/list-of-links.json'
|
1001
1016
|
import imageGalleryData from '@/assets/data/image-gallery.json'
|
1002
1017
|
import languagesData from '@/assets/data/switch-language.json'
|
1003
1018
|
import multistepsData from '@/assets/data/multistep-form-progress-bar.json'
|
@@ -1170,7 +1185,7 @@ export default {
|
|
1170
1185
|
fakeSelectFilterOptionsData,
|
1171
1186
|
fakeSelectOptionsData,
|
1172
1187
|
fakeSelectOptionsWithIconsData,
|
1173
|
-
|
1188
|
+
listOfLinksData,
|
1174
1189
|
imageGalleryData,
|
1175
1190
|
languagesData,
|
1176
1191
|
multistepsData,
|
@@ -137,6 +137,7 @@ export default {
|
|
137
137
|
ul {
|
138
138
|
flex-direction: column;
|
139
139
|
gap: calc(var(--default-gap) / 2);
|
140
|
+
margin: 0;
|
140
141
|
|
141
142
|
li {
|
142
143
|
list-style: none;
|
@@ -145,23 +146,24 @@ export default {
|
|
145
146
|
}
|
146
147
|
|
147
148
|
&.horizontal {
|
149
|
+
flex-direction: row;
|
150
|
+
|
148
151
|
ul {
|
149
|
-
flex-direction: row;
|
150
152
|
gap: var(--default-gap);
|
153
|
+
flex-direction: row;
|
151
154
|
|
152
155
|
> li {
|
153
156
|
flex: none;
|
154
157
|
display: flex;
|
155
|
-
align-items: center;
|
156
158
|
}
|
157
159
|
}
|
158
160
|
|
159
161
|
&.align-center {
|
160
|
-
|
162
|
+
justify-content: center;
|
161
163
|
}
|
162
164
|
|
163
165
|
&.align-right {
|
164
|
-
|
166
|
+
justify-content: flex-end;
|
165
167
|
}
|
166
168
|
}
|
167
169
|
}
|
@@ -72,7 +72,6 @@ export default {
|
|
72
72
|
grid-area: site-header;
|
73
73
|
display: flex;
|
74
74
|
flex-direction: column;
|
75
|
-
gap: var(--default-gap);
|
76
75
|
border-bottom: var(--default-border);
|
77
76
|
background: var(--pure-white);
|
78
77
|
|
@@ -83,6 +82,7 @@ export default {
|
|
83
82
|
|
84
83
|
header, .cmd-main-navigation nav, .cmd-list-of-links > ul {
|
85
84
|
max-width: var(--max-width);
|
85
|
+
width: 100%; /* stretch flex-item */
|
86
86
|
margin: 0 auto;
|
87
87
|
padding: 0 var(--default-padding);
|
88
88
|
}
|