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.
Files changed (57) hide show
  1. package/dist/comand-component-library.js +1568 -1526
  2. package/dist/media/images/flags/denmark.svg +5 -0
  3. package/dist/media/images/flags/finland.svg +5 -0
  4. package/dist/media/images/flags/norway.svg +7 -0
  5. package/dist/media/images/flags/sweden.svg +5 -0
  6. package/dist/media/images/user-images/fake-user-1.jpg +0 -0
  7. package/dist/media/images/user-images/fake-user-10.jpg +0 -0
  8. package/dist/media/images/user-images/fake-user-11.jpg +0 -0
  9. package/dist/media/images/user-images/fake-user-12.jpg +0 -0
  10. package/dist/media/images/user-images/fake-user-13.jpg +0 -0
  11. package/dist/media/images/user-images/fake-user-14.jpg +0 -0
  12. package/dist/media/images/user-images/fake-user-15.jpg +0 -0
  13. package/dist/media/images/user-images/fake-user-16.jpg +0 -0
  14. package/dist/media/images/user-images/fake-user-2.jpg +0 -0
  15. package/dist/media/images/user-images/fake-user-3.jpg +0 -0
  16. package/dist/media/images/user-images/fake-user-4.jpg +0 -0
  17. package/dist/media/images/user-images/fake-user-5.jpg +0 -0
  18. package/dist/media/images/user-images/fake-user-6.jpg +0 -0
  19. package/dist/media/images/user-images/fake-user-7.jpg +0 -0
  20. package/dist/media/images/user-images/fake-user-8.jpg +0 -0
  21. package/dist/media/images/user-images/fake-user-9.jpg +0 -0
  22. package/dist/style.css +1 -1
  23. package/package.json +8 -5
  24. package/src/ComponentLibrary.vue +4 -12
  25. package/src/assets/lists-of-data/dial-codes.json +82 -0
  26. package/src/assets/lists-of-data/us-cities.json +19 -0
  27. package/src/components/CmdBox.vue +6 -6
  28. package/src/components/CmdCookieDisclaimer.vue +5 -5
  29. package/src/components/CmdCopyrightInformation.vue +4 -4
  30. package/src/components/CmdFakeSelect.vue +4 -4
  31. package/src/components/CmdFancyBox.vue +3 -3
  32. package/src/components/CmdFlexContainer.vue +109 -0
  33. package/src/components/CmdFormElement.vue +6 -0
  34. package/src/components/CmdFormFilters.vue +1 -1
  35. package/src/components/CmdImage.vue +1 -1
  36. package/src/components/CmdLink.vue +4 -0
  37. package/src/components/CmdLoginForm.vue +152 -3
  38. package/src/components/CmdMailToolEntry.vue +1 -1
  39. package/src/components/CmdMailToolFilter.vue +1 -1
  40. package/src/components/CmdMainNavigation.vue +1 -1
  41. package/src/components/CmdMultistepFormProgressBar.vue +13 -12
  42. package/src/components/CmdOpeningHours.vue +2 -2
  43. package/src/components/CmdSiteHeader.vue +4 -0
  44. package/src/components/CmdSlideshow.vue +6 -6
  45. package/src/components/CmdSmartSearch.vue +1 -1
  46. package/src/components/CmdSocialNetworks.vue +3 -3
  47. package/src/components/CmdSocialNetworksItem.vue +2 -2
  48. package/src/components/CmdSwitchLanguage.vue +1 -1
  49. package/src/components/CmdSystemMessage.vue +3 -3
  50. package/src/components/CmdTable.vue +1 -1
  51. package/src/components/CmdTabs.vue +3 -3
  52. package/src/components/CmdThumbnailScroller.vue +1 -1
  53. package/src/components/CmdToggleDarkMode.vue +3 -3
  54. package/src/components/EditComponentWrapper.vue +5 -5
  55. /package/src/assets/data/{export-data.js → export-example-data.js} +0 -0
  56. /package/src/assets/{data/all-countries.json → lists-of-data/countries.json} +0 -0
  57. /package/src/assets/{data/all-currencies.json → lists-of-data/currencies.json} +0 -0
@@ -187,7 +187,7 @@ export default {
187
187
  .cmd-mail-tool-filter {
188
188
  display: flex;
189
189
  padding: var(--default-padding);
190
- background: var(--light-gray);
190
+ background: var(--color-light-gray);
191
191
 
192
192
  & > * {
193
193
  flex: 1;
@@ -438,7 +438,7 @@ export default {
438
438
  left: 0;
439
439
  height: 100dvh;
440
440
  display: block;
441
- background: var(--pure-black-reduced-opacity);
441
+ background: var(--color-black-reduced-opacity);
442
442
  }
443
443
 
444
444
  ul {
@@ -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(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white);
195
- background: var(--pure-white);
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(--pure-white);
215
+ color: var(--color-white);
216
216
  }
217
217
 
218
218
  &:hover, &:active, &:focus {
219
219
  span, [class*="icon-"] {
220
- color: var(--pure-white);
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(--pure-white);
233
- border-color: var(--pure-white);
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
- background: none;
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(--pure-white);
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(--pure-white);
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(--pure-white);
480
+ color: var(--color-white);
481
481
  }
482
482
  }
483
483
 
@@ -217,6 +217,10 @@ export default {
217
217
  }
218
218
  }
219
219
 
220
+ li a {
221
+ text-decoration: none;
222
+ }
223
+
220
224
  header, .cmd-main-navigation nav, .cmd-list-of-links {
221
225
  max-width: var(--max-width);
222
226
  width: 100%; /* stretch flex-item */
@@ -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(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white-reduced-opacity);
475
+ background: var(--color-white-reduced-opacity);
476
476
  }
477
477
  }
478
478
 
@@ -183,7 +183,7 @@ export default {
183
183
  background: var(--hyperlink-color);
184
184
 
185
185
  span, span[class*="icon"] {
186
- color: var(--pure-white);
186
+ color: var(--color-white);
187
187
  }
188
188
  }
189
189
  }
@@ -374,12 +374,12 @@ export default {
374
374
  border-color: var(--social-network-color);
375
375
 
376
376
  > span {
377
- color: var(--pure-white);
377
+ color: var(--color-white);
378
378
  }
379
379
 
380
380
  &:hover, &:active, &:focus {
381
- background: var(--pure-white);
382
- color: var(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white);
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(--pure-white);
210
+ color: var(--color-white);
211
211
  }
212
212
  }
213
213
  }
@@ -350,7 +350,7 @@ export default {
350
350
  a[class*='icon-'] {
351
351
  &, &:hover, &:active, &:focus {
352
352
  font-size: var(--icon-size-small);
353
- color: var(--pure-white);
353
+ color: var(--color-white);
354
354
  }
355
355
  }
356
356
  }
@@ -156,13 +156,13 @@ export default {
156
156
 
157
157
  &.active {
158
158
  span, [class*="icon-"] {
159
- color: var(--pure-white);
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(--pure-white);
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(--pure-white);
174
+ color: var(--color-white);
175
175
 
176
176
  span, span[class*="icon-"], .iconify {
177
177
  color: inherit !important;
@@ -448,7 +448,7 @@ export default {
448
448
  figcaption {
449
449
  background: var(--primary-color);
450
450
  opacity: 1;
451
- color: var(--pure-white);
451
+ color: var(--color-white);
452
452
  }
453
453
  }
454
454
 
@@ -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(--pure-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%);
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(--pure-white) 50%, var(--medium-gray) 100%);
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 hsla(var(--pure-white-hue), var(--pure-white-saturation), var(--pure-white-lightness), .3);
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(--pure-white);
468
+ border-color: var(--color-white);
469
469
  border-bottom: 0;
470
- background: var(--pure-white);
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(--pure-white);
546
- border-color: var(--pure-white);
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(--pure-white);
557
+ color: var(--color-white);
558
558
  }
559
559
  }
560
560
  }