@esportsplus/ui 0.13.2 → 0.13.4

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.
@@ -28,7 +28,7 @@ export { default as page } from './page/index.js';
28
28
  export { default as root } from './root/index.js';
29
29
  export * as row from './row/index.js';
30
30
  export { default as scrollbar } from './scrollbar/index.js';
31
- export * as sidebar from './sidebar/index.js';
31
+ export { default as sidebar } from './sidebar/index.js';
32
32
  export { default as site } from './site/index.js';
33
33
  export * as text from './text/index.js';
34
34
  export * as thumbnail from './thumbnail/index.js';
@@ -28,7 +28,7 @@ export { default as page } from './page/index.js';
28
28
  export { default as root } from './root/index.js';
29
29
  export * as row from './row/index.js';
30
30
  export { default as scrollbar } from './scrollbar/index.js';
31
- export * as sidebar from './sidebar/index.js';
31
+ export { default as sidebar } from './sidebar/index.js';
32
32
  export { default as site } from './site/index.js';
33
33
  export * as text from './text/index.js';
34
34
  export * as thumbnail from './thumbnail/index.js';
@@ -10,6 +10,7 @@ export default (data, content) => {
10
10
  });
11
11
  return html `
12
12
  <div
13
+ class='scrollbar-container'
13
14
  onscroll='${function () {
14
15
  if (width === undefined) {
15
16
  width = this.offsetWidth - this.clientWidth;
@@ -22,7 +23,9 @@ export default (data, content) => {
22
23
  }}'
23
24
  ${omit(data, ['scrollbar'])}
24
25
  >
25
- ${content}
26
+ <div class="scrollbar-container-content">
27
+ ${content}
28
+ </div>
26
29
 
27
30
  <div
28
31
  class='
package/package.json CHANGED
@@ -47,7 +47,7 @@
47
47
  "private": false,
48
48
  "sideEffects": false,
49
49
  "type": "module",
50
- "version": "0.13.2",
50
+ "version": "0.13.4",
51
51
  "scripts": {
52
52
  "build": "run-s build:vite build:ts",
53
53
  "build:ts": "tsc && tsc-alias",
@@ -28,7 +28,7 @@ export { default as page } from './page';
28
28
  export { default as root } from './root';
29
29
  export * as row from './row';
30
30
  export { default as scrollbar } from './scrollbar';
31
- export * as sidebar from './sidebar';
31
+ export { default as sidebar } from './sidebar';
32
32
  export { default as site } from './site';
33
33
  export * as text from './text';
34
34
  export * as thumbnail from './thumbnail';
@@ -17,6 +17,7 @@ export default (data: Record<string, unknown> & { scrollbar?: Record<string, unk
17
17
 
18
18
  return html`
19
19
  <div
20
+ class='scrollbar-container'
20
21
  onscroll='${function(this: HTMLElement) {
21
22
  if (width === undefined) {
22
23
  width = this.offsetWidth - this.clientWidth;
@@ -31,7 +32,9 @@ export default (data: Record<string, unknown> & { scrollbar?: Record<string, unk
31
32
  }}'
32
33
  ${omit(data, ['scrollbar'])}
33
34
  >
34
- ${content}
35
+ <div class="scrollbar-container-content">
36
+ ${content}
37
+ </div>
35
38
 
36
39
  <div
37
40
  class='