@sia.soul/sia-react-ui 0.1.144 → 0.1.146

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.
Files changed (36) hide show
  1. package/dist/chart.cjs +2 -0
  2. package/dist/chart.js +5 -5
  3. package/dist/{chunk-F52O2MOV.js → chunk-DEA5BI3R.js} +3 -3
  4. package/dist/{chunk-JRXYM5YH.js → chunk-HDN7EEGA.js} +2 -2
  5. package/dist/{chunk-566S64IP.js → chunk-HPPF5JGF.js} +4 -4
  6. package/dist/{chunk-ORSQAJ22.js → chunk-KDG2P3JA.js} +5 -5
  7. package/dist/{chunk-WCYVBO2N.js → chunk-KSXTC3PD.js} +4 -4
  8. package/dist/{chunk-MD4CGSOR.js → chunk-LY73KGUH.js} +6 -6
  9. package/dist/{chunk-LKLPCYEP.js → chunk-NRLIOMXY.js} +2 -2
  10. package/dist/{chunk-7SEGBB6V.js → chunk-OTVK3HGP.js} +1 -1
  11. package/dist/{chunk-4TYHSAR3.js → chunk-ROV3QYE6.js} +5 -5
  12. package/dist/{chunk-4OHS7RXE.js → chunk-SRWUDTCS.js} +2 -0
  13. package/dist/{chunk-PD3K5U5Y.js → chunk-XXFYFLZA.js} +2 -2
  14. package/dist/{chunk-ETQJ2DQ2.js → chunk-YO5OJQEH.js} +1 -1
  15. package/dist/{core-COaZfusa.d.cts → core-8jfdF5IF.d.cts} +3 -3
  16. package/dist/{core-CvfsQGuT.d.ts → core-BbgdopTV.d.ts} +3 -3
  17. package/dist/core.cjs +2 -0
  18. package/dist/core.css +94 -34
  19. package/dist/core.d.cts +1 -1
  20. package/dist/core.d.ts +1 -1
  21. package/dist/core.js +8 -8
  22. package/dist/game.cjs +2 -0
  23. package/dist/game.css +94 -34
  24. package/dist/game.js +3 -3
  25. package/dist/index.cjs +1638 -1369
  26. package/dist/index.css +104 -34
  27. package/dist/index.d.cts +54 -8
  28. package/dist/index.d.ts +54 -8
  29. package/dist/index.js +402 -137
  30. package/dist/markdown-editor.cjs +2 -0
  31. package/dist/markdown-editor.js +3 -3
  32. package/dist/rich-text-editor.cjs +2 -0
  33. package/dist/rich-text-editor.js +7 -7
  34. package/dist/select-date-range.cjs +2 -0
  35. package/dist/select-date-range.js +8 -8
  36. package/package.json +1 -1
@@ -499,6 +499,7 @@ function startFloatingScrollbars(targetRef) {
499
499
  const onResize = () => scheduleScan();
500
500
  window.addEventListener("resize", onResize);
501
501
  window.addEventListener("scroll", scheduleUpdateAll, true);
502
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
502
503
  scheduleScan();
503
504
  return () => {
504
505
  releaseProximity();
@@ -506,6 +507,7 @@ function startFloatingScrollbars(targetRef) {
506
507
  resizeObserver.disconnect();
507
508
  window.removeEventListener("resize", onResize);
508
509
  window.removeEventListener("scroll", scheduleUpdateAll, true);
510
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
509
511
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
510
512
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
511
513
  entries.forEach((entry) => entry.cleanup());
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  MarkdownEditor
3
- } from "./chunk-PD3K5U5Y.js";
4
- import "./chunk-ETQJ2DQ2.js";
3
+ } from "./chunk-XXFYFLZA.js";
4
+ import "./chunk-YO5OJQEH.js";
5
5
  import {
6
6
  initializeDefaultScrollbars
7
- } from "./chunk-4OHS7RXE.js";
7
+ } from "./chunk-SRWUDTCS.js";
8
8
 
9
9
  // src/markdown-editor.ts
10
10
  initializeDefaultScrollbars();
@@ -508,6 +508,7 @@ function startFloatingScrollbars(targetRef) {
508
508
  const onResize = () => scheduleScan();
509
509
  window.addEventListener("resize", onResize);
510
510
  window.addEventListener("scroll", scheduleUpdateAll, true);
511
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
511
512
  scheduleScan();
512
513
  return () => {
513
514
  releaseProximity();
@@ -515,6 +516,7 @@ function startFloatingScrollbars(targetRef) {
515
516
  resizeObserver.disconnect();
516
517
  window.removeEventListener("resize", onResize);
517
518
  window.removeEventListener("scroll", scheduleUpdateAll, true);
519
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
518
520
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
519
521
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
520
522
  entries.forEach((entry) => entry.cleanup());
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  RichTextContent,
3
3
  RichTextEditor
4
- } from "./chunk-4TYHSAR3.js";
5
- import "./chunk-WCYVBO2N.js";
6
- import "./chunk-LKLPCYEP.js";
7
- import "./chunk-JRXYM5YH.js";
8
- import "./chunk-7SEGBB6V.js";
9
- import "./chunk-ETQJ2DQ2.js";
4
+ } from "./chunk-ROV3QYE6.js";
5
+ import "./chunk-KSXTC3PD.js";
6
+ import "./chunk-NRLIOMXY.js";
7
+ import "./chunk-HDN7EEGA.js";
8
+ import "./chunk-OTVK3HGP.js";
9
+ import "./chunk-YO5OJQEH.js";
10
10
  import {
11
11
  initializeDefaultScrollbars
12
- } from "./chunk-4OHS7RXE.js";
12
+ } from "./chunk-SRWUDTCS.js";
13
13
 
14
14
  // src/rich-text-editor.ts
15
15
  initializeDefaultScrollbars();
@@ -502,6 +502,7 @@ function startFloatingScrollbars(targetRef) {
502
502
  const onResize = () => scheduleScan();
503
503
  window.addEventListener("resize", onResize);
504
504
  window.addEventListener("scroll", scheduleUpdateAll, true);
505
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
505
506
  scheduleScan();
506
507
  return () => {
507
508
  releaseProximity();
@@ -509,6 +510,7 @@ function startFloatingScrollbars(targetRef) {
509
510
  resizeObserver.disconnect();
510
511
  window.removeEventListener("resize", onResize);
511
512
  window.removeEventListener("scroll", scheduleUpdateAll, true);
513
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
512
514
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
513
515
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
514
516
  entries.forEach((entry) => entry.cleanup());
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SelectDateRange
3
- } from "./chunk-566S64IP.js";
4
- import "./chunk-ORSQAJ22.js";
5
- import "./chunk-WCYVBO2N.js";
6
- import "./chunk-LKLPCYEP.js";
7
- import "./chunk-JRXYM5YH.js";
8
- import "./chunk-7SEGBB6V.js";
9
- import "./chunk-ETQJ2DQ2.js";
3
+ } from "./chunk-HPPF5JGF.js";
4
+ import "./chunk-KDG2P3JA.js";
5
+ import "./chunk-KSXTC3PD.js";
6
+ import "./chunk-NRLIOMXY.js";
7
+ import "./chunk-HDN7EEGA.js";
8
+ import "./chunk-OTVK3HGP.js";
9
+ import "./chunk-YO5OJQEH.js";
10
10
  import {
11
11
  initializeDefaultScrollbars
12
- } from "./chunk-4OHS7RXE.js";
12
+ } from "./chunk-SRWUDTCS.js";
13
13
 
14
14
  // src/select-date-range.ts
15
15
  initializeDefaultScrollbars();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sia.soul/sia-react-ui",
3
- "version": "0.1.144",
3
+ "version": "0.1.146",
4
4
  "description": "Sia Design components and tokens for React",
5
5
  "publishConfig": {
6
6
  "access": "public",