@operato/headroom 8.0.0-beta.1 → 8.0.0-beta.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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.0.0-beta.2](https://github.com/hatiolab/operato/compare/v8.0.0-beta.1...v8.0.0-beta.2) (2025-01-08)
7
+
8
+
9
+ ### :bug: Bug Fix
10
+
11
+ * typo .npmignore ([d9c0c8c](https://github.com/hatiolab/operato/commit/d9c0c8c79abc688c3c2cfb6c37fcb689483a5977))
12
+
13
+
14
+
6
15
  ## [8.0.0-beta.1](https://github.com/hatiolab/operato/compare/v8.0.0-beta.0...v8.0.0-beta.1) (2025-01-08)
7
16
 
8
17
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/headroom",
3
3
  "description": "Webcomponent headroom following open-wc recommendations",
4
4
  "author": "heartyoh",
5
- "version": "8.0.0-beta.1",
5
+ "version": "8.0.0-beta.2",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "license": "MIT",
@@ -62,5 +62,5 @@
62
62
  "prettier --write"
63
63
  ]
64
64
  },
65
- "gitHead": "d5b28a2e9deb632c0dc80132f6a7196dd6fe4220"
65
+ "gitHead": "ee1b5124995accb99272d3b5854f3df1d8746dda"
66
66
  }
package/demo/index.html DELETED
@@ -1,59 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en-GB">
3
- <head>
4
- <meta charset="utf-8" />
5
- <style>
6
- body {
7
- background: #fafafa;
8
-
9
- padding: 0;
10
- margin: 0;
11
- overflow: auto;
12
- }
13
-
14
- #head {
15
- height: 200px;
16
- background-color: red;
17
-
18
- display: flex;
19
- align-items: center;
20
- align-content: center;
21
- text-align: center;
22
- }
23
-
24
- h1 {
25
- flex: 1;
26
- }
27
-
28
- #content {
29
- height: 2000px;
30
- }
31
-
32
- .headroom {
33
- will-change: transform;
34
- transition: transform 200ms linear;
35
- }
36
-
37
- .headroom--pinned {
38
- transform: translateY(0%);
39
- }
40
-
41
- .headroom--unpinned {
42
- transform: translateY(-100%);
43
- }
44
- </style>
45
- </head>
46
- <body>
47
- <script type="module">
48
- import Headroom from '../dist/src/headroom.js'
49
-
50
- const head = document.querySelector('#head')
51
-
52
- var headroom = new Headroom(head)
53
- headroom.init()
54
- </script>
55
-
56
- <div id="head"><h1>HEAD ROOM AREA</h1></div>
57
- <div id="content">CONTENT AREA</div>
58
- </body>
59
- </html>