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.
Files changed (53) hide show
  1. package/README.md +32 -32
  2. package/dist/comand-component-library.js +3315 -1486
  3. package/dist/comand-component-library.umd.cjs +3 -4
  4. package/dist/index.html +16 -16
  5. package/dist/style.css +1 -1
  6. package/dist/styles/demopage-only.css +4 -0
  7. package/dist/styles/templates/casual.css +3 -0
  8. package/package.json +4 -4
  9. package/src/App.vue +2117 -0
  10. package/src/ComponentLibrary.vue +275 -610
  11. package/src/assets/data/fake-select-options.json +3 -2
  12. package/src/assets/data/form-elements.json +1 -1
  13. package/src/assets/styles/{global-styles.scss → component-library-global-styles.scss} +27 -14
  14. package/src/componentSettingsDataAndControls.vue +705 -0
  15. package/src/components/CmdAddressData.vue +1 -2
  16. package/src/components/CmdBox.vue +106 -52
  17. package/src/components/CmdCopyrightInformation.vue +5 -3
  18. package/src/components/CmdFakeSelect.vue +149 -78
  19. package/src/components/CmdFancyBox.vue +2 -2
  20. package/src/components/CmdFormElement.vue +62 -36
  21. package/src/components/CmdGoogleMaps.vue +5 -0
  22. package/src/components/CmdHeadline.vue +13 -5
  23. package/src/components/CmdIcon.vue +6 -2
  24. package/src/components/CmdImage.vue +6 -1
  25. package/src/components/CmdImageGallery.vue +15 -4
  26. package/src/components/CmdInputGroup.vue +87 -35
  27. package/src/components/CmdListOfLinks.vue +20 -7
  28. package/src/components/CmdListOfRequirements.vue +10 -18
  29. package/src/components/CmdLoginForm.vue +14 -2
  30. package/src/components/CmdMainNavigation.vue +5 -1
  31. package/src/components/CmdMultistepFormProgressBar.vue +13 -8
  32. package/src/components/CmdNewsletterSubscription.vue +18 -1
  33. package/src/components/CmdOpeningHoursItem.vue +1 -3
  34. package/src/components/CmdPagination.vue +5 -1
  35. package/src/components/CmdSiteFooter.vue +12 -2
  36. package/src/components/CmdSiteHeader.vue +2 -1
  37. package/src/components/CmdSlideButton.vue +7 -1
  38. package/src/components/CmdSlideshow.vue +33 -5
  39. package/src/components/CmdSocialNetworks.vue +18 -13
  40. package/src/components/CmdSocialNetworksItem.vue +5 -1
  41. package/src/components/CmdSystemMessage.vue +7 -1
  42. package/src/components/CmdTabs.vue +7 -7
  43. package/src/components/CmdTextImageBlock.vue +11 -2
  44. package/src/components/CmdThumbnailScroller.vue +23 -5
  45. package/src/components/CmdToggleDarkMode.vue +2 -2
  46. package/src/components/CmdTooltip.vue +50 -15
  47. package/src/components/CmdTooltipForFormElements.vue +96 -0
  48. package/src/components/CmdUploadForm.vue +29 -24
  49. package/src/components/CmdWidthLimitationWrapper.vue +1 -1
  50. package/src/components/ComponentSettings.vue +1 -1
  51. package/src/components/EditComponentWrapper.vue +1 -1
  52. package/src/main.js +2 -2
  53. package/src/assets/data/accordion.json +0 -45
@@ -491,7 +491,7 @@ export default {
491
491
  /**
492
492
  * set icon for delete-icons
493
493
  */
494
- deleteIcon: {
494
+ iconDelete: {
495
495
  type: Object,
496
496
  default() {
497
497
  return {
@@ -1063,8 +1063,30 @@ export default {
1063
1063
  justify-content: center;
1064
1064
  }
1065
1065
 
1066
+ /* begin box for simple-mode */
1067
+ &.box {
1068
+ display: inline-flex;
1069
+ flex-direction: column;
1070
+ background: var(--default-background);
1071
+
1072
+ text-decoration: none;
1073
+ text-align: center;
1074
+ padding: var(--default-padding);
1075
+
1076
+ span {
1077
+ margin: 0;
1078
+
1079
+ &[class*="icon-"] {
1080
+ font-size: 5rem;
1081
+ }
1082
+ }
1083
+ }
1084
+ /* end box for simple-mode */
1085
+
1066
1086
  .box {
1067
- background: var(--color-scheme-background-color);
1087
+ box-shadow: none;
1088
+ background: var(--color-scheme-background);
1089
+ border: var(--default-border);
1068
1090
 
1069
1091
  dl {
1070
1092
  justify-content: center;
@@ -1108,11 +1130,11 @@ export default {
1108
1130
 
1109
1131
  progress {
1110
1132
  &[value] {
1111
- background: var(--color-scheme-background-color);
1133
+ background: var(--color-scheme-background);
1112
1134
 
1113
1135
  &::-moz-progress-bar {
1114
- border-top-left-radius: var(--border-radius);
1115
- border-bottom-left-radius: var(--border-radius);
1136
+ border-top-left-radius: var(--default-border-radius);
1137
+ border-bottom-left-radius: var(--default-border-radius);
1116
1138
  background: var(--primary-color);
1117
1139
  }
1118
1140
  }
@@ -1127,7 +1149,7 @@ export default {
1127
1149
  top: .2rem;
1128
1150
  padding: .1rem .2rem;
1129
1151
  line-height: 100%;
1130
- background: var(--color-scheme-background-color);
1152
+ background: var(--color-scheme-background);
1131
1153
  }
1132
1154
  }
1133
1155
  }
@@ -1194,7 +1216,7 @@ export default {
1194
1216
  .drop-area, &.drop-area {
1195
1217
  border: var(--default-border);
1196
1218
  border-style: dashed;
1197
- background: var(--color-scheme-background-color);
1219
+ background: var(--color-scheme-background);
1198
1220
  padding: var(--default-padding);
1199
1221
  text-align: center;
1200
1222
 
@@ -1206,23 +1228,6 @@ export default {
1206
1228
  font-size: 5rem;
1207
1229
  }
1208
1230
  }
1209
-
1210
- &.box {
1211
- display: inline-flex;
1212
- flex-direction: column;
1213
- background: var(--default-background-color);
1214
- text-decoration: none;
1215
- text-align: center;
1216
- padding: var(--default-padding);
1217
-
1218
- span {
1219
- margin: 0;
1220
-
1221
- &[class*="icon-"] {
1222
- font-size: 5rem;
1223
- }
1224
- }
1225
- }
1226
1231
  }
1227
1232
 
1228
1233
  /* end cmd-upload-form ---------------------------------------------------------------------------------------------- */
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="cmd-width-limitation-wrapper" :class="{'sticky': sticky}">
3
3
  <!-- begin slot-content in section -->
4
- <section v-if="innerWrapper" :class="setInnerClass" :id="{anchorId: anchorId}">
4
+ <section v-if="innerWrapper" :class="setInnerClass" :id="anchorId">
5
5
  <!-- begin cmd-headline -->
6
6
  <CmdHeadline
7
7
  v-if="cmdHeadline"
@@ -4,6 +4,7 @@
4
4
  :collapsible="true"
5
5
  :cmdHeadline="{headlineText: readableName(componentName), headlineLevel: 4, headlineIcon: {iconClass: 'icon-settings-template'}}"
6
6
  :openCollapsedBox="true"
7
+ :allowContentToScroll="true"
7
8
  boxBodyClass="settings-body"
8
9
  >
9
10
  <template v-slot:body>
@@ -24,7 +25,6 @@
24
25
  </template>
25
26
 
26
27
  <script>
27
-
28
28
  export default {
29
29
  name: "ComponentSettings",
30
30
  data() {
@@ -485,7 +485,7 @@ function buildComponentPath(component) {
485
485
  font-size: 1rem;
486
486
  display: block;
487
487
  padding: 0.5rem;
488
- background: var(--button-background-color);
488
+ background: var(--button-background);
489
489
 
490
490
  &:before {
491
491
  content: "";
package/src/main.js CHANGED
@@ -24,7 +24,7 @@ import '@/assets/styles/logos-iconfont.css'
24
24
  import '@/assets/styles/editmode-iconfont.css'
25
25
 
26
26
  /* import css for global-styles */
27
- import '@/assets/styles/global-styles.scss'
27
+ import '@/assets/styles/component-library-global-styles.scss'
28
28
 
29
29
  /* import css for global transitions */
30
30
  import '@/assets/styles/transitions.scss'
@@ -36,7 +36,7 @@ import '@/assets/styles/template.css'
36
36
  import "prismjs/themes/prism.css"
37
37
 
38
38
  /* import css for demopage only */
39
- //import 'comand-frontend-framework/public/demopage-only.css'
39
+ import 'comand-frontend-framework/demopage-only.css'
40
40
  /* end imports css from comand-component-library ---------------------------------------------------------------------------------------- */
41
41
 
42
42
  import router from "./router"
@@ -1,45 +0,0 @@
1
- {
2
- "accordionData1": [
3
- {
4
- "headlineText": "First",
5
- "headlineLevel": 5,
6
- "iconClass": "icon-globe",
7
- "content": "Content 1",
8
- "status": false
9
- },
10
- {
11
- "headlineText": "Second",
12
- "headlineLevel": 5,
13
- "iconClass": "icon-user-profile",
14
- "content": "Content 2",
15
- "status": true
16
- },
17
- {
18
- "headlineText": "Third",
19
- "headlineLevel": 5,
20
- "iconClass": "icon-home",
21
- "content": "Content 3",
22
- "status": false
23
- }
24
- ],
25
- "accordionData2": [
26
- {
27
- "headlineText": "First",
28
- "headlineLevel": 5,
29
- "content": "Content 1",
30
- "status": false
31
- },
32
- {
33
- "headlineText": "Second",
34
- "headlineLevel": 5,
35
- "content": "Content 2",
36
- "status": false
37
- },
38
- {
39
- "headlineText": "Third",
40
- "headlineLevel": 5,
41
- "content": "Content 3",
42
- "status": false
43
- }
44
- ]
45
- }