comand-component-library 4.2.4 → 4.2.6
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 +1568 -1526
- package/dist/media/images/flags/denmark.svg +5 -0
- package/dist/media/images/flags/finland.svg +5 -0
- package/dist/media/images/flags/norway.svg +7 -0
- package/dist/media/images/flags/sweden.svg +5 -0
- package/dist/media/images/user-images/fake-user-1.jpg +0 -0
- package/dist/media/images/user-images/fake-user-10.jpg +0 -0
- package/dist/media/images/user-images/fake-user-11.jpg +0 -0
- package/dist/media/images/user-images/fake-user-12.jpg +0 -0
- package/dist/media/images/user-images/fake-user-13.jpg +0 -0
- package/dist/media/images/user-images/fake-user-14.jpg +0 -0
- package/dist/media/images/user-images/fake-user-15.jpg +0 -0
- package/dist/media/images/user-images/fake-user-16.jpg +0 -0
- package/dist/media/images/user-images/fake-user-2.jpg +0 -0
- package/dist/media/images/user-images/fake-user-3.jpg +0 -0
- package/dist/media/images/user-images/fake-user-4.jpg +0 -0
- package/dist/media/images/user-images/fake-user-5.jpg +0 -0
- package/dist/media/images/user-images/fake-user-6.jpg +0 -0
- package/dist/media/images/user-images/fake-user-7.jpg +0 -0
- package/dist/media/images/user-images/fake-user-8.jpg +0 -0
- package/dist/media/images/user-images/fake-user-9.jpg +0 -0
- package/dist/style.css +1 -1
- package/package.json +8 -5
- package/src/ComponentLibrary.vue +4 -12
- package/src/assets/lists-of-data/dial-codes.json +82 -0
- package/src/assets/lists-of-data/us-cities.json +19 -0
- package/src/components/CmdBox.vue +6 -6
- package/src/components/CmdCookieDisclaimer.vue +5 -5
- package/src/components/CmdCopyrightInformation.vue +4 -4
- package/src/components/CmdFakeSelect.vue +4 -4
- package/src/components/CmdFancyBox.vue +3 -3
- package/src/components/CmdFlexContainer.vue +109 -0
- package/src/components/CmdFormElement.vue +6 -0
- package/src/components/CmdFormFilters.vue +1 -1
- package/src/components/CmdImage.vue +1 -1
- package/src/components/CmdLink.vue +4 -0
- package/src/components/CmdLoginForm.vue +152 -3
- package/src/components/CmdMailToolEntry.vue +1 -1
- package/src/components/CmdMailToolFilter.vue +1 -1
- package/src/components/CmdMainNavigation.vue +1 -1
- package/src/components/CmdMultistepFormProgressBar.vue +13 -12
- package/src/components/CmdOpeningHours.vue +2 -2
- package/src/components/CmdSiteHeader.vue +4 -0
- package/src/components/CmdSlideshow.vue +6 -6
- package/src/components/CmdSmartSearch.vue +1 -1
- package/src/components/CmdSocialNetworks.vue +3 -3
- package/src/components/CmdSocialNetworksItem.vue +2 -2
- package/src/components/CmdSwitchLanguage.vue +1 -1
- package/src/components/CmdSystemMessage.vue +3 -3
- package/src/components/CmdTable.vue +1 -1
- package/src/components/CmdTabs.vue +3 -3
- package/src/components/CmdThumbnailScroller.vue +1 -1
- package/src/components/CmdToggleDarkMode.vue +3 -3
- package/src/components/EditComponentWrapper.vue +5 -5
- /package/src/assets/data/{export-data.js → export-example-data.js} +0 -0
- /package/src/assets/{data/all-countries.json → lists-of-data/countries.json} +0 -0
- /package/src/assets/{data/all-currencies.json → lists-of-data/currencies.json} +0 -0
@@ -144,14 +144,14 @@ export default {
|
|
144
144
|
background: var(--primary-color-reduced-opacity);
|
145
145
|
|
146
146
|
:is(span, [class*="icon-"]) {
|
147
|
-
color: var(--
|
147
|
+
color: var(--color-white);
|
148
148
|
font-size: var(--icon-size-medium) !important;
|
149
149
|
|
150
150
|
& + [class*="icon-"] {
|
151
151
|
&:last-child {
|
152
152
|
border: var(--default-border);
|
153
153
|
border-radius: var(--full-circle);
|
154
|
-
background: var(--
|
154
|
+
background: var(--color-white);
|
155
155
|
color: var(--color-scheme-text-color);
|
156
156
|
margin: 0;
|
157
157
|
position: absolute;
|
@@ -173,7 +173,7 @@ export default {
|
|
173
173
|
background: var(--primary-color);
|
174
174
|
|
175
175
|
:is(span, [class*="icon-"]) {
|
176
|
-
color: var(--
|
176
|
+
color: var(--color-white);
|
177
177
|
}
|
178
178
|
|
179
179
|
.number {
|
@@ -191,8 +191,8 @@ export default {
|
|
191
191
|
justify-content: center;
|
192
192
|
border-radius: var(--full-circle);
|
193
193
|
border: var(--default-border);
|
194
|
-
border-color: var(--
|
195
|
-
background: var(--
|
194
|
+
border-color: var(--color-white);
|
195
|
+
background: var(--color-white);
|
196
196
|
color: var(--primary-color-reduced-opacity);
|
197
197
|
}
|
198
198
|
}
|
@@ -212,12 +212,12 @@ export default {
|
|
212
212
|
background: var(--primary-color);
|
213
213
|
|
214
214
|
span, [class*="icon-"] {
|
215
|
-
color: var(--
|
215
|
+
color: var(--color-white);
|
216
216
|
}
|
217
217
|
|
218
218
|
&:hover, &:active, &:focus {
|
219
219
|
span, [class*="icon-"] {
|
220
|
-
color: var(--
|
220
|
+
color: var(--color-white);
|
221
221
|
|
222
222
|
& + [class*="icon-"] {
|
223
223
|
&:last-child {
|
@@ -229,8 +229,8 @@ export default {
|
|
229
229
|
}
|
230
230
|
|
231
231
|
.number {
|
232
|
-
background: var(--
|
233
|
-
border-color: var(--
|
232
|
+
background: var(--color-white);
|
233
|
+
border-color: var(--color-white);
|
234
234
|
color: var(--hyperlink-color) !important;
|
235
235
|
}
|
236
236
|
|
@@ -239,8 +239,7 @@ export default {
|
|
239
239
|
border-left-color: var(--border-color);
|
240
240
|
|
241
241
|
a {
|
242
|
-
|
243
|
-
color: var(--color-scheme-text-color);
|
242
|
+
color: var(--color-white);
|
244
243
|
|
245
244
|
span, span[class*='color'] {
|
246
245
|
color: inherit;
|
@@ -248,13 +247,15 @@ export default {
|
|
248
247
|
& + [class*="icon-"] {
|
249
248
|
&:last-child {
|
250
249
|
border-color: var(--border-color);
|
251
|
-
color: var(--
|
250
|
+
color: var(--color-white);
|
252
251
|
background: var(--secondary-color);
|
253
252
|
}
|
254
253
|
}
|
255
254
|
}
|
256
255
|
|
257
256
|
&:hover, &:active, &:focus {
|
257
|
+
background: var(--color-white);
|
258
|
+
|
258
259
|
span, [class*="icon-"] {
|
259
260
|
&:not(:last-child) {
|
260
261
|
color: var(--hyperlink-color);
|
@@ -465,7 +465,7 @@ export default {
|
|
465
465
|
font-weight: bold;
|
466
466
|
display: table;
|
467
467
|
margin-bottom: var(--default-margin);
|
468
|
-
color: var(--
|
468
|
+
color: var(--color-white);
|
469
469
|
background: var(--success-color);
|
470
470
|
border-radius: var(--default-border-radius);
|
471
471
|
|
@@ -477,7 +477,7 @@ export default {
|
|
477
477
|
> a {
|
478
478
|
&:hover, &:active, &:focus {
|
479
479
|
text-decoration: underline;
|
480
|
-
color: var(--
|
480
|
+
color: var(--color-white);
|
481
481
|
}
|
482
482
|
}
|
483
483
|
|
@@ -347,7 +347,7 @@ export default {
|
|
347
347
|
padding: var(--default-padding);
|
348
348
|
line-height: 100%;
|
349
349
|
font-size: 3rem;
|
350
|
-
color: var(--
|
350
|
+
color: var(--color-white);
|
351
351
|
background: var(--primary-color);
|
352
352
|
}
|
353
353
|
|
@@ -375,7 +375,7 @@ export default {
|
|
375
375
|
border: var(--primary-border);
|
376
376
|
|
377
377
|
&:hover, &:active, &:focus {
|
378
|
-
background: var(--
|
378
|
+
background: var(--color-white);
|
379
379
|
color: var(--hyperlink-color);
|
380
380
|
}
|
381
381
|
}
|
@@ -420,7 +420,7 @@ export default {
|
|
420
420
|
list-style-type: none;
|
421
421
|
margin: 0;
|
422
422
|
border-radius: var(--full-circle);
|
423
|
-
background: var(--light-gray);
|
423
|
+
background: var(--color-light-gray);
|
424
424
|
border: var(--default-border-reduced-opacity);
|
425
425
|
|
426
426
|
a {
|
@@ -434,7 +434,7 @@ export default {
|
|
434
434
|
border-color: var(--hyperlink-color);
|
435
435
|
|
436
436
|
a {
|
437
|
-
background: var(--
|
437
|
+
background: var(--color-white);
|
438
438
|
transition: var(--default-transition);
|
439
439
|
}
|
440
440
|
}
|
@@ -451,7 +451,7 @@ export default {
|
|
451
451
|
|
452
452
|
&:hover, &:active, &:focus, &.active {
|
453
453
|
border-color: var(--primary-color);
|
454
|
-
background: var(--
|
454
|
+
background: var(--color-white);
|
455
455
|
|
456
456
|
a {
|
457
457
|
background: var(--primary-color);
|
@@ -472,7 +472,7 @@ export default {
|
|
472
472
|
right: 5.5rem;
|
473
473
|
padding: 0 0.2rem;
|
474
474
|
border-radius: var(--default-border-radius);
|
475
|
-
background: var(--
|
475
|
+
background: var(--color-white-reduced-opacity);
|
476
476
|
}
|
477
477
|
}
|
478
478
|
|
@@ -374,12 +374,12 @@ export default {
|
|
374
374
|
border-color: var(--social-network-color);
|
375
375
|
|
376
376
|
> span {
|
377
|
-
color: var(--
|
377
|
+
color: var(--color-white);
|
378
378
|
}
|
379
379
|
|
380
380
|
&:hover, &:active, &:focus {
|
381
|
-
background: var(--
|
382
|
-
color: var(--
|
381
|
+
background: var(--color-white);
|
382
|
+
color: var(--color-white);
|
383
383
|
|
384
384
|
> span {
|
385
385
|
color: var(--social-network-color);
|
@@ -164,11 +164,11 @@ export default {
|
|
164
164
|
<style>
|
165
165
|
.cmd-social-networks-item {
|
166
166
|
.button {
|
167
|
-
--social-network-text-color: var(--
|
167
|
+
--social-network-text-color: var(--color-white);
|
168
168
|
--social-network-text-color-highlighted: var(--social-network-color);
|
169
169
|
--social-network-border-color: var(--social-network-color);
|
170
170
|
--social-network-background-color: var(--social-network-color);
|
171
|
-
--social-network-background-color-highlighted: var(--
|
171
|
+
--social-network-background-color-highlighted: var(--color-white);
|
172
172
|
|
173
173
|
background: var(--social-network-background-color);
|
174
174
|
border-color: var(--social-network-border-color);
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<script>
|
31
31
|
import {getRoute} from '../utilities.js'
|
32
32
|
import * as flags from "../assets/images/flags"
|
33
|
-
import {switchLanguage} from "@/assets/data/export-data.js";
|
33
|
+
import {switchLanguage} from "@/assets/data/export-example-data.js";
|
34
34
|
|
35
35
|
export default {
|
36
36
|
name: "CmdSwitchLanguage",
|
@@ -179,7 +179,7 @@ export default {
|
|
179
179
|
text-decoration: none;
|
180
180
|
z-index: 100;
|
181
181
|
line-height: 1;
|
182
|
-
background: var(--
|
182
|
+
background: var(--color-white);
|
183
183
|
border-radius: var(--full-circle);
|
184
184
|
|
185
185
|
[class*="icon-"] {
|
@@ -190,7 +190,7 @@ export default {
|
|
190
190
|
background: none;
|
191
191
|
|
192
192
|
[class*="icon-"] {
|
193
|
-
color: var(--
|
193
|
+
color: var(--color-white);
|
194
194
|
}
|
195
195
|
}
|
196
196
|
}
|
@@ -207,7 +207,7 @@ export default {
|
|
207
207
|
border-color: var(--hyperlink-color);
|
208
208
|
|
209
209
|
[class*="icon-"] {
|
210
|
-
color: var(--
|
210
|
+
color: var(--color-white);
|
211
211
|
}
|
212
212
|
}
|
213
213
|
}
|
@@ -156,13 +156,13 @@ export default {
|
|
156
156
|
|
157
157
|
&.active {
|
158
158
|
span, [class*="icon-"] {
|
159
|
-
color: var(--
|
159
|
+
color: var(--color-white);
|
160
160
|
}
|
161
161
|
|
162
162
|
&:hover, &:active {
|
163
163
|
a, a:focus {
|
164
164
|
color: var(--hyperlink-color);
|
165
|
-
background: var(--
|
165
|
+
background: var(--color-white);
|
166
166
|
|
167
167
|
span, [class*="icon-"] {
|
168
168
|
color: var(--hyperlink-color-highlighted);
|
@@ -171,7 +171,7 @@ export default {
|
|
171
171
|
}
|
172
172
|
|
173
173
|
a:focus {
|
174
|
-
color: var(--
|
174
|
+
color: var(--color-white);
|
175
175
|
|
176
176
|
span, span[class*="icon-"], .iconify {
|
177
177
|
color: inherit !important;
|
@@ -263,7 +263,7 @@ export default {
|
|
263
263
|
--yellow-hue: 60;
|
264
264
|
--yellow-saturation: 100%;
|
265
265
|
--yellow-lightness: 76.7%;
|
266
|
-
background: radial-gradient(ellipse at center, var(--
|
266
|
+
background: radial-gradient(ellipse at center, var(--color-white) 20%, hsl(var(--yellow-hue), var(--yellow-saturation), var(--yellow-lightness)) 30%, hsla(var(--yellow-hue), var(--yellow-saturation), var(--yellow-lightness), 0) 100%);
|
267
267
|
border-color: transparent;
|
268
268
|
box-shadow: 0 0 1rem hsl(var(--yellow-hue), var(--yellow-saturation), var(--yellow-lightness));
|
269
269
|
}
|
@@ -290,9 +290,9 @@ export default {
|
|
290
290
|
}
|
291
291
|
|
292
292
|
&::after {
|
293
|
-
background: radial-gradient(ellipse at center, var(--
|
293
|
+
background: radial-gradient(ellipse at center, var(--color-white) 50%, var(--color-medium-gray) 100%);
|
294
294
|
border-color: transparent;
|
295
|
-
box-shadow: .2rem .1rem .2rem
|
295
|
+
box-shadow: .2rem .1rem .2rem hsl(from var(--color-white) h s l / .3);
|
296
296
|
}
|
297
297
|
}
|
298
298
|
|
@@ -465,9 +465,9 @@ function buildComponentPath(component) {
|
|
465
465
|
right: auto; /* avoids container to be stretched */
|
466
466
|
flex-wrap: nowrap;
|
467
467
|
border: var(--default-border);
|
468
|
-
border-color: var(--
|
468
|
+
border-color: var(--color-white);
|
469
469
|
border-bottom: 0;
|
470
|
-
background: var(--
|
470
|
+
background: var(--color-white);
|
471
471
|
border-radius: var(--default-border-radius);
|
472
472
|
|
473
473
|
li {
|
@@ -542,8 +542,8 @@ function buildComponentPath(component) {
|
|
542
542
|
|
543
543
|
&.active {
|
544
544
|
//width: 100%; /* stretch inside flex-container */
|
545
|
-
background: var(--
|
546
|
-
border-color: var(--
|
545
|
+
background: var(--color-white);
|
546
|
+
border-color: var(--color-white);
|
547
547
|
min-height: 2.5rem;
|
548
548
|
|
549
549
|
.component-name {
|
@@ -554,7 +554,7 @@ function buildComponentPath(component) {
|
|
554
554
|
&.cmd-form-element {
|
555
555
|
:is(input[type="checkbox"], input[type="radio"]):checked {
|
556
556
|
& ~ .label-text span {
|
557
|
-
color: var(--
|
557
|
+
color: var(--color-white);
|
558
558
|
}
|
559
559
|
}
|
560
560
|
}
|
File without changes
|
File without changes
|
File without changes
|