@cas-smartdesign/header-layout 3.0.1 → 3.0.2

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.
package/dist/docs/doc.mjs CHANGED
@@ -278,8 +278,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),A=h,v=f),w===void 0&&(
278
278
  <li>Add event listener to <code>header-switch</code> event and set a <code>minimumHeaderHeight</code> value. The event is fired when <code>shouldShowNormalHeader</code> flag changes therefore it is possible to change the only header element accordingly.</li>
279
279
  </ul>
280
280
  <p>In addition to the above mentioned approaches the element also dispatches <code>header-layout-scroll</code> CustomEvents with the <code>scrollTop</code> detail, allowing the consumer elements to do optimized layout changes.</p>
281
- <h2 id="examples">Examples</h2>
282
- `;document.querySelector("#markdown-container").innerHTML=na;Yo(Object.assign({"./examples/declarative/index.ts":$r,"./examples/manual-switch-content/index.ts":Fr,"./examples/manual-switch-style/index.ts":Vr}));
281
+ `,ra=document.querySelector("#markdown-container");ra.innerHTML=na;Yo(Object.assign({"./examples/declarative/index.ts":$r,"./examples/manual-switch-content/index.ts":Fr,"./examples/manual-switch-style/index.ts":Vr}),document.querySelector(".markdown-body"));
283
282
  function __vite__mapDeps(indexes) {
284
283
  if (!__vite__mapDeps.viteFileDeps) {
285
284
  __vite__mapDeps.viteFileDeps = []
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/header-layout",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "A scrollable layout element with sticky header.",
5
5
  "main": "dist/header-layout-with-externals.js",
6
6
  "module": "dist/header-layout.mjs",
7
7
  "types": "dist/header-layout.d.ts",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "dependencies": {
10
- "@cas-smartdesign/element-base": "^5.0.1"
10
+ "@cas-smartdesign/element-base": "^5.0.2"
11
11
  },
12
12
  "files": [
13
13
  "dist",
@@ -18,8 +18,8 @@
18
18
  "access": "public"
19
19
  },
20
20
  "devDependencies": {
21
- "@cas-smartdesign/license-generator": "^1.6.1",
22
- "@cas-smartdesign/element-preview": "^0.2.1"
21
+ "@cas-smartdesign/element-preview": "^0.2.2",
22
+ "@cas-smartdesign/license-generator": "^1.6.3"
23
23
  },
24
24
  "scripts": {
25
25
  "version": "pnpm version",
package/readme.md CHANGED
@@ -12,5 +12,3 @@ It is also possible to configure the header in a way to add both normal and smal
12
12
  - Add event listener to `header-switch` event and set a `minimumHeaderHeight` value. The event is fired when `shouldShowNormalHeader` flag changes therefore it is possible to change the only header element accordingly.
13
13
 
14
14
  In addition to the above mentioned approaches the element also dispatches `header-layout-scroll` CustomEvents with the `scrollTop` detail, allowing the consumer elements to do optimized layout changes.
15
-
16
- ## Examples