comand-component-library 4.0.2 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +32 -32
- package/dist/comand-component-library.js +3315 -1486
- package/dist/comand-component-library.umd.cjs +3 -4
- package/dist/index.html +16 -16
- package/dist/style.css +1 -1
- package/dist/styles/demopage-only.css +4 -0
- package/dist/styles/templates/casual.css +3 -0
- package/package.json +4 -4
- package/src/App.vue +2117 -0
- package/src/ComponentLibrary.vue +275 -610
- package/src/assets/data/fake-select-options.json +3 -2
- package/src/assets/data/form-elements.json +1 -1
- package/src/assets/styles/{global-styles.scss → component-library-global-styles.scss} +27 -14
- package/src/componentSettingsDataAndControls.vue +705 -0
- package/src/components/CmdAddressData.vue +1 -2
- package/src/components/CmdBox.vue +106 -52
- package/src/components/CmdCopyrightInformation.vue +5 -3
- package/src/components/CmdFakeSelect.vue +149 -78
- package/src/components/CmdFancyBox.vue +2 -2
- package/src/components/CmdFormElement.vue +62 -36
- package/src/components/CmdGoogleMaps.vue +5 -0
- package/src/components/CmdHeadline.vue +13 -5
- package/src/components/CmdIcon.vue +6 -2
- package/src/components/CmdImage.vue +6 -1
- package/src/components/CmdImageGallery.vue +15 -4
- package/src/components/CmdInputGroup.vue +87 -35
- package/src/components/CmdListOfLinks.vue +20 -7
- package/src/components/CmdListOfRequirements.vue +10 -18
- package/src/components/CmdLoginForm.vue +14 -2
- package/src/components/CmdMainNavigation.vue +5 -1
- package/src/components/CmdMultistepFormProgressBar.vue +13 -8
- package/src/components/CmdNewsletterSubscription.vue +18 -1
- package/src/components/CmdOpeningHoursItem.vue +1 -3
- package/src/components/CmdPagination.vue +5 -1
- package/src/components/CmdSiteFooter.vue +12 -2
- package/src/components/CmdSiteHeader.vue +2 -1
- package/src/components/CmdSlideButton.vue +7 -1
- package/src/components/CmdSlideshow.vue +33 -5
- package/src/components/CmdSocialNetworks.vue +18 -13
- package/src/components/CmdSocialNetworksItem.vue +5 -1
- package/src/components/CmdSystemMessage.vue +7 -1
- package/src/components/CmdTabs.vue +7 -7
- package/src/components/CmdTextImageBlock.vue +11 -2
- package/src/components/CmdThumbnailScroller.vue +23 -5
- package/src/components/CmdToggleDarkMode.vue +2 -2
- package/src/components/CmdTooltip.vue +50 -15
- package/src/components/CmdTooltipForFormElements.vue +96 -0
- package/src/components/CmdUploadForm.vue +29 -24
- package/src/components/CmdWidthLimitationWrapper.vue +1 -1
- package/src/components/ComponentSettings.vue +1 -1
- package/src/components/EditComponentWrapper.vue +1 -1
- package/src/main.js +2 -2
- package/src/assets/data/accordion.json +0 -45
@@ -30,7 +30,7 @@
|
|
30
30
|
"name": "form-element-password-name",
|
31
31
|
"htmlClass": "form-element-password-class",
|
32
32
|
"id": "form-element-password-id",
|
33
|
-
"value": "
|
33
|
+
"value": "",
|
34
34
|
"fieldIconClass": "icon-cogs",
|
35
35
|
"labelText": "Password input",
|
36
36
|
"placeholder": "Placeholdertext",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
/* global-styles.scss - last update: 2022/06/11 - IT IS NOT RECOMMENDED TO EDIT THIS FILE (TO AVOID TROUBLESHOOTING AFTER UPDATING) - DO CHANGES IN template.css ONLY */
|
1
|
+
/* component-library-global-styles.scss - last update: 2022/06/11 - IT IS NOT RECOMMENDED TO EDIT THIS FILE (TO AVOID TROUBLESHOOTING AFTER UPDATING) - DO CHANGES IN template.css ONLY */
|
2
2
|
|
3
3
|
/* begin table of contents --------------------------------------------------------------------------------------------------------------------------------------------------- */
|
4
4
|
/*
|
@@ -48,17 +48,30 @@ html {
|
|
48
48
|
/* ---------------------------------------------- BEGIN COMPONENTS AND GLOBAL STYLES -------------------------------------------------- */
|
49
49
|
/* begin styles for main structure --------------------------------------------------------------------------------------------------------------------------------------------------- */
|
50
50
|
#page-wrapper {
|
51
|
-
scroll-padding-top: 10.5rem;
|
52
51
|
display: flex;
|
53
52
|
flex-direction: column;
|
54
53
|
scroll-snap-type: y mandatory;
|
55
|
-
|
56
|
-
|
54
|
+
overflow-y: scroll;
|
55
|
+
height: 100dvh;
|
57
56
|
scroll-behavior: smooth;
|
57
|
+
scroll-padding-top: 11.7rem;
|
58
|
+
}
|
59
|
+
|
60
|
+
main {
|
61
|
+
flex: 1 0 auto;
|
62
|
+
}
|
63
|
+
|
64
|
+
html {
|
65
|
+
height: auto;
|
66
|
+
scroll-behavior: unset;
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
body {
|
71
|
+
height: auto;
|
58
72
|
}
|
59
73
|
|
60
74
|
#component-library {
|
61
|
-
/*scroll-padding-top: unset !important;*/
|
62
75
|
scroll-snap-type: unset !important;
|
63
76
|
}
|
64
77
|
|
@@ -130,7 +143,7 @@ body.avoid-scrolling {
|
|
130
143
|
|
131
144
|
&:hover, &:active, &:focus {
|
132
145
|
border-color: var(--primary-color);
|
133
|
-
background: var(--default-background
|
146
|
+
background: var(--default-background);
|
134
147
|
}
|
135
148
|
}
|
136
149
|
|
@@ -291,26 +304,26 @@ html {
|
|
291
304
|
&.light-mode {
|
292
305
|
/* assign default colors for custom light-mode set by class */
|
293
306
|
--color-scheme-text-color: var(--light-mode-text-color);
|
294
|
-
--color-scheme-text-color-buttons: var(--light-mode-text-color-buttons);
|
295
|
-
--color-scheme-background-color: var(--light-mode-background-color);
|
296
307
|
--color-scheme-text-color-inverted: var(--dark-mode-text-color);
|
297
|
-
--color-scheme-
|
308
|
+
--color-scheme-text-color-buttons: var(--light-mode-text-color-buttons);
|
309
|
+
--color-scheme-background: var(--light-mode-background);
|
310
|
+
--color-scheme-background-inverted: var(--dark-mode-background);
|
298
311
|
--default-background-color-lightness: 97%;
|
299
312
|
}
|
300
313
|
|
301
314
|
--color-scheme-text-color-buttons: var(--dark-mode-text-color-buttons);
|
302
315
|
--color-scheme-text-color-inverted: var(--light-mode-text-color);
|
303
|
-
--color-scheme-background: var(--dark-mode-background
|
304
|
-
--color-scheme-background-inverted: var(--light-mode-background
|
316
|
+
--color-scheme-background: var(--dark-mode-background);
|
317
|
+
--color-scheme-background-inverted: var(--light-mode-background);
|
305
318
|
--default-background-color-lightness: 20%;
|
306
319
|
|
307
320
|
&.dark-mode {
|
308
321
|
/* assign default colors for custom dark-mode set by class */
|
309
322
|
--color-scheme-text-color: var(--dark-mode-text-color);
|
310
|
-
--color-scheme-text-color-buttons: var(--dark-mode-text-color-buttons);
|
311
|
-
--color-scheme-background-color: var(--dark-mode-background-color);
|
312
323
|
--color-scheme-text-color-inverted: var(--light-mode-text-color);
|
313
|
-
--color-scheme-
|
324
|
+
--color-scheme-text-color-buttons: var(--dark-mode-text-color-buttons);
|
325
|
+
--color-scheme-background: var(--dark-mode-background);
|
326
|
+
--color-scheme-background-inverted: var(--light-mode-background);
|
314
327
|
--default-background-color-lightness: 20%;
|
315
328
|
--hyperlink-color-lightness: 40%; /* hyperlink-color-lightness */
|
316
329
|
--hyperlink-color-highlighted-lightness: 50%; /* hyperlink-color-highlighted-lightness (used for highlighted hyperlinks) */
|