comand-component-library 3.1.87 → 3.1.88

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.
@@ -24,6 +24,16 @@
24
24
  "day": "Fr",
25
25
  "fromTime": "08:00",
26
26
  "tillTime": "15:00"
27
+ },
28
+ {
29
+ "day": "Sa",
30
+ "fromTime": "08:00",
31
+ "tillTime": "15:00"
32
+ },
33
+ {
34
+ "day": "So",
35
+ "fromTime": "08:00",
36
+ "tillTime": "22:22"
27
37
  }
28
38
  ]
29
39
 
@@ -4,6 +4,12 @@
4
4
  /*
5
5
  - IMPORTS ------------------------
6
6
  - COMPONENTS AND GLOBAL STYLES ------------------------
7
+ * ------------------------
8
+ - main structure
9
+
10
+ A ------------------------
11
+ - avoid-scrolling
12
+
7
13
  E ------------------------
8
14
  - error-styles (for form-elements)
9
15
 
@@ -33,12 +39,23 @@
33
39
  @import 'variables'; /* scss-variables (only used for media-query-breakpoints) */
34
40
  /* ---------------------------------------------- END IMPORTS -------------------------------------------------- */
35
41
 
42
+ /* ---------------------------------------------- BEGIN COMPONENTS AND GLOBAL STYLES -------------------------------------------------- */
43
+ /* begin styles for main structure --------------------------------------------------------------------------------------------------------------------------------------------------- */
44
+ #page-wrapper {
45
+ display: flex;
46
+ flex-direction: column;
47
+ min-height: 100vh;
48
+
49
+ .cmd-site-footer {
50
+ margin-top: auto;
51
+ }
52
+ }
53
+
36
54
  body, .cmd-site-header, .cmd-site-footer, .cmd-copyright-information {
37
55
  transition: background linear .5s;
38
56
  }
57
+ /* end styles for main structure --------------------------------------------------------------------------------------------------------------------------------------------------- */
39
58
 
40
-
41
- /* ---------------------------------------------- BEGIN COMPONENTS AND GLOBAL STYLES -------------------------------------------------- */
42
59
  /* begin .avoid-scrolling --------------------------------------------------------------------------------------------------------------------------------------------------- */
43
60
  body.avoid-scrolling {
44
61
  overflow: hidden;
@@ -134,15 +134,26 @@ export default {
134
134
  type: Object,
135
135
  required: false
136
136
  },
137
+ /**
138
+ * option to set custom time format by function
139
+ */
137
140
  timeFormatter: {
138
141
  type: Function,
139
142
  required: false
140
143
  },
144
+ /**
145
+ * activate if component should update open-/closed-status on its own
146
+ */
141
147
  componentHandlesClosedStatus: {
142
148
  type: Boolean,
143
149
  default: true
144
150
  }
145
151
  },
152
+ created() {
153
+ setInterval(function () {
154
+ this.isClosed()
155
+ }, 5000)
156
+ },
146
157
  computed: {
147
158
  textOpenClosed() {
148
159
  return this.isClosed ? this.textClosed : this.textOpen
@@ -89,6 +89,10 @@ export default {
89
89
  padding: 0 var(--default-padding);
90
90
  }
91
91
 
92
+ .cmd-main-navigation nav {
93
+ width: auto;
94
+ }
95
+
92
96
  .top-header {
93
97
  .cmd-list-of-links {
94
98
  padding-top: calc(var(--default-padding) / 2);
@@ -46,12 +46,12 @@
46
46
  },
47
47
  "timeFormatter": {
48
48
  "comments": [
49
- "properties for CmdHeadline-component"
49
+ "option to set custom time format by function"
50
50
  ]
51
51
  },
52
52
  "componentHandlesClosedStatus": {
53
53
  "comments": [
54
- "properties for CmdHeadline-component"
54
+ "activate if component should update open-/closed-status on its own"
55
55
  ]
56
56
  }
57
57
  }