comand-component-library 4.0.27 → 4.0.29
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -2
- package/dist/comand-component-library.js +9 -8
- package/dist/comand-component-library.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/ComponentLibrary.vue +4 -6
- package/src/assets/data/address-data.json +1 -1
- package/src/assets/styles/component-library-global-styles.scss +1 -1
- package/src/components/CmdAddressData.vue +9 -0
- package/src/components/CmdAddressDataItem.vue +2 -1
- package/src/components/CmdBox.vue +10 -0
- package/src/components/CmdFancyBox.vue +1 -1
- package/src/components/CmdOpeningHours.vue +1 -0
- package/src/components/CmdSiteHeader.vue +1 -1
- package/src/components/CmdTooltip.vue +4 -4
- package/src/main.js +3 -3
- package/src/pages/PageWrapper.vue +7 -3
package/src/main.js
CHANGED
@@ -17,13 +17,13 @@ import directiveTelephone from "./directives/telephone"
|
|
17
17
|
import directiveFocus from "./directives/focus"
|
18
18
|
|
19
19
|
/* begin imports css from comand-component-library ---------------------------------------------------------------------------------------- */
|
20
|
-
import 'comand-ui-iconfonts/base-iconfont/base-iconfont.css'
|
20
|
+
import 'comand-ui-iconfonts/src/fonts/base-iconfont/base-iconfont.css'
|
21
21
|
|
22
22
|
/* import additional iconfont containing company-logos */
|
23
|
-
import 'comand-ui-iconfonts/logos-iconfont/logos-iconfont.css'
|
23
|
+
import 'comand-ui-iconfonts/src/fonts/logos-iconfont/logos-iconfont.css'
|
24
24
|
|
25
25
|
/* import additional iconfont containing editmode-iconfont-icons */
|
26
|
-
import 'comand-ui-iconfonts/editmode-iconfont/editmode-iconfont.css'
|
26
|
+
import 'comand-ui-iconfonts/src/fonts/editmode-iconfont/editmode-iconfont.css'
|
27
27
|
|
28
28
|
/* import css for global-styles */
|
29
29
|
import '@/assets/styles/component-library-global-styles.scss'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<a id="anchor-back-to-top"></a>
|
3
|
-
<div :class="{'overflow-hidden': offCanvasOpen}"
|
3
|
+
<div :class="{'overflow-hidden': offCanvasOpen}" class="page-wrapper" :id="templateId"
|
4
4
|
:style="{'scroll-padding-top': heightSiteHeader + 'px'}">
|
5
5
|
<!-- begin cmd-site-header -->
|
6
6
|
<CmdSiteHeader
|
@@ -104,7 +104,7 @@
|
|
104
104
|
<CmdBackToTopButton
|
105
105
|
href="#anchor-back-to-top"
|
106
106
|
:iconBackToTop="iconBackToTop"
|
107
|
-
scroll-container="
|
107
|
+
scroll-container=".page-wrapper"
|
108
108
|
/>
|
109
109
|
<!-- end cmd-back-to-top-button -->
|
110
110
|
|
@@ -154,6 +154,10 @@ export default {
|
|
154
154
|
}
|
155
155
|
},
|
156
156
|
props: {
|
157
|
+
templateId: {
|
158
|
+
type: String,
|
159
|
+
default: null
|
160
|
+
},
|
157
161
|
topHeaderNavigationEntries: {
|
158
162
|
default: []
|
159
163
|
},
|
@@ -195,7 +199,7 @@ export default {
|
|
195
199
|
|
196
200
|
if (siteHeader.length > 0) {
|
197
201
|
const resizeObserver = new ResizeObserver(entries => {
|
198
|
-
// get height of site-header to set scroll-padding on
|
202
|
+
// get height of site-header to set scroll-padding on .page-wrapper
|
199
203
|
this.heightSiteHeader = entries[0].target.offsetHeight
|
200
204
|
})
|
201
205
|
resizeObserver.observe(siteHeader[0])
|