@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
package/dist/chart.cjs CHANGED
@@ -545,6 +545,7 @@ function startFloatingScrollbars(targetRef) {
545
545
  const onResize = () => scheduleScan();
546
546
  window.addEventListener("resize", onResize);
547
547
  window.addEventListener("scroll", scheduleUpdateAll, true);
548
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
548
549
  scheduleScan();
549
550
  return () => {
550
551
  releaseProximity();
@@ -552,6 +553,7 @@ function startFloatingScrollbars(targetRef) {
552
553
  resizeObserver.disconnect();
553
554
  window.removeEventListener("resize", onResize);
554
555
  window.removeEventListener("scroll", scheduleUpdateAll, true);
556
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
555
557
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
556
558
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
557
559
  entries.forEach((entry) => entry.cleanup());
package/dist/chart.js CHANGED
@@ -56,11 +56,11 @@ import {
56
56
  smoothSvgPath,
57
57
  svgArcPath,
58
58
  transferCompositeValue
59
- } from "./chunk-F52O2MOV.js";
60
- import "./chunk-LKLPCYEP.js";
61
- import "./chunk-7SEGBB6V.js";
62
- import "./chunk-ETQJ2DQ2.js";
63
- import "./chunk-4OHS7RXE.js";
59
+ } from "./chunk-DEA5BI3R.js";
60
+ import "./chunk-NRLIOMXY.js";
61
+ import "./chunk-OTVK3HGP.js";
62
+ import "./chunk-YO5OJQEH.js";
63
+ import "./chunk-SRWUDTCS.js";
64
64
  export {
65
65
  BarChart,
66
66
  CHART_VIEWBOX_HEIGHT,
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  TextArea
3
- } from "./chunk-LKLPCYEP.js";
3
+ } from "./chunk-NRLIOMXY.js";
4
4
  import {
5
5
  Button
6
- } from "./chunk-7SEGBB6V.js";
6
+ } from "./chunk-OTVK3HGP.js";
7
7
  import {
8
8
  initializeDefaultScrollbars,
9
9
  withTitleTooltip
10
- } from "./chunk-4OHS7RXE.js";
10
+ } from "./chunk-SRWUDTCS.js";
11
11
 
12
12
  // src/components/ChartWhirlingLoading.tsx
13
13
  import { useEffect, useState } from "react";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Button
3
- } from "./chunk-7SEGBB6V.js";
3
+ } from "./chunk-OTVK3HGP.js";
4
4
  import {
5
5
  useOverlayMotion,
6
6
  withTitleTooltip
7
- } from "./chunk-4OHS7RXE.js";
7
+ } from "./chunk-SRWUDTCS.js";
8
8
 
9
9
  // src/components/Icon.tsx
10
10
  import { forwardRef } from "react";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Select
3
- } from "./chunk-ORSQAJ22.js";
3
+ } from "./chunk-KDG2P3JA.js";
4
4
  import {
5
5
  Icon
6
- } from "./chunk-JRXYM5YH.js";
6
+ } from "./chunk-HDN7EEGA.js";
7
7
  import {
8
8
  useFloatingPlaceholder
9
- } from "./chunk-ETQJ2DQ2.js";
9
+ } from "./chunk-YO5OJQEH.js";
10
10
  import {
11
11
  FloatingScrollbarProvider,
12
12
  PopupPortal,
13
13
  useControlSize,
14
14
  useControllableState,
15
15
  withTitleTooltip
16
- } from "./chunk-4OHS7RXE.js";
16
+ } from "./chunk-SRWUDTCS.js";
17
17
 
18
18
  // src/components/DatePicker.tsx
19
19
  import { useEffect, useId, useLayoutEffect as useLayoutEffect2, useMemo, useRef as useRef2, useState } from "react";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Dropdown,
3
3
  Input
4
- } from "./chunk-WCYVBO2N.js";
4
+ } from "./chunk-KSXTC3PD.js";
5
5
  import {
6
6
  Icon,
7
7
  Modal,
8
8
  isAnchorBehindOverlay,
9
9
  subscribeOverlayLayers
10
- } from "./chunk-JRXYM5YH.js";
10
+ } from "./chunk-HDN7EEGA.js";
11
11
  import {
12
12
  Button
13
- } from "./chunk-7SEGBB6V.js";
13
+ } from "./chunk-OTVK3HGP.js";
14
14
  import {
15
15
  useFloatingPlaceholder
16
- } from "./chunk-ETQJ2DQ2.js";
16
+ } from "./chunk-YO5OJQEH.js";
17
17
  import {
18
18
  ControlSizeContext,
19
19
  FloatingScrollbarProvider,
@@ -22,7 +22,7 @@ import {
22
22
  useControllableState,
23
23
  useOverlayMotion,
24
24
  withTitleTooltip
25
- } from "./chunk-4OHS7RXE.js";
25
+ } from "./chunk-SRWUDTCS.js";
26
26
 
27
27
  // src/components/usePressFeedback.ts
28
28
  import { useEffect, useRef } from "react";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  TextArea
3
- } from "./chunk-LKLPCYEP.js";
3
+ } from "./chunk-NRLIOMXY.js";
4
4
  import {
5
5
  Icon,
6
6
  Modal
7
- } from "./chunk-JRXYM5YH.js";
7
+ } from "./chunk-HDN7EEGA.js";
8
8
  import {
9
9
  Button
10
- } from "./chunk-7SEGBB6V.js";
10
+ } from "./chunk-OTVK3HGP.js";
11
11
  import {
12
12
  PopupPortal,
13
13
  hasFloatingScrollbarInteraction,
@@ -16,7 +16,7 @@ import {
16
16
  useControllableState,
17
17
  usePlaceholderMode,
18
18
  withTitleTooltip
19
- } from "./chunk-4OHS7RXE.js";
19
+ } from "./chunk-SRWUDTCS.js";
20
20
 
21
21
  // src/components/Navigation.tsx
22
22
  import { useEffect, useId, useLayoutEffect as useLayoutEffect3, useMemo, useRef as useRef3, useState } from "react";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Popover,
3
3
  Tooltip
4
- } from "./chunk-ORSQAJ22.js";
4
+ } from "./chunk-KDG2P3JA.js";
5
5
  import {
6
6
  Dropdown
7
- } from "./chunk-WCYVBO2N.js";
7
+ } from "./chunk-KSXTC3PD.js";
8
8
  import {
9
9
  TextArea
10
- } from "./chunk-LKLPCYEP.js";
10
+ } from "./chunk-NRLIOMXY.js";
11
11
  import {
12
12
  Icon,
13
13
  useOverlayLifecycle
14
- } from "./chunk-JRXYM5YH.js";
14
+ } from "./chunk-HDN7EEGA.js";
15
15
  import {
16
16
  Button
17
- } from "./chunk-7SEGBB6V.js";
17
+ } from "./chunk-OTVK3HGP.js";
18
18
  import {
19
19
  useControlSize,
20
20
  useControllableState,
21
21
  useOverlayMotion,
22
22
  withTitleTooltip
23
- } from "./chunk-4OHS7RXE.js";
23
+ } from "./chunk-SRWUDTCS.js";
24
24
 
25
25
  // src/components/Toolbar.tsx
26
26
  import { useLayoutEffect, useRef, useState } from "react";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useFloatingPlaceholder
3
- } from "./chunk-ETQJ2DQ2.js";
3
+ } from "./chunk-YO5OJQEH.js";
4
4
  import {
5
5
  useControlSize,
6
6
  withTitleTooltip
7
- } from "./chunk-4OHS7RXE.js";
7
+ } from "./chunk-SRWUDTCS.js";
8
8
 
9
9
  // src/components/TextArea.tsx
10
10
  import { forwardRef, useId, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useControlSize,
3
3
  withTitleTooltip
4
- } from "./chunk-4OHS7RXE.js";
4
+ } from "./chunk-SRWUDTCS.js";
5
5
 
6
6
  // src/components/Button.tsx
7
7
  import { forwardRef, useEffect, useRef } from "react";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Dropdown,
3
3
  Input
4
- } from "./chunk-WCYVBO2N.js";
4
+ } from "./chunk-KSXTC3PD.js";
5
5
  import {
6
6
  Icon
7
- } from "./chunk-JRXYM5YH.js";
7
+ } from "./chunk-HDN7EEGA.js";
8
8
  import {
9
9
  Button
10
- } from "./chunk-7SEGBB6V.js";
10
+ } from "./chunk-OTVK3HGP.js";
11
11
  import {
12
12
  useFloatingPlaceholder
13
- } from "./chunk-ETQJ2DQ2.js";
13
+ } from "./chunk-YO5OJQEH.js";
14
14
  import {
15
15
  withTitleTooltip
16
- } from "./chunk-4OHS7RXE.js";
16
+ } from "./chunk-SRWUDTCS.js";
17
17
 
18
18
  // src/components/RichTextEditor.tsx
19
19
  import { useEffect, useMemo, useRef, useState } from "react";
@@ -487,6 +487,7 @@ function startFloatingScrollbars(targetRef) {
487
487
  const onResize = () => scheduleScan();
488
488
  window.addEventListener("resize", onResize);
489
489
  window.addEventListener("scroll", scheduleUpdateAll, true);
490
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
490
491
  scheduleScan();
491
492
  return () => {
492
493
  releaseProximity();
@@ -494,6 +495,7 @@ function startFloatingScrollbars(targetRef) {
494
495
  resizeObserver.disconnect();
495
496
  window.removeEventListener("resize", onResize);
496
497
  window.removeEventListener("scroll", scheduleUpdateAll, true);
498
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
497
499
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
498
500
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
499
501
  entries.forEach((entry) => entry.cleanup());
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useFloatingPlaceholder
3
- } from "./chunk-ETQJ2DQ2.js";
3
+ } from "./chunk-YO5OJQEH.js";
4
4
  import {
5
5
  withTitleTooltip
6
- } from "./chunk-4OHS7RXE.js";
6
+ } from "./chunk-SRWUDTCS.js";
7
7
 
8
8
  // src/components/MarkdownEditor.tsx
9
9
  import { useEffect, useRef, useState } from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePlaceholderMode
3
- } from "./chunk-4OHS7RXE.js";
3
+ } from "./chunk-SRWUDTCS.js";
4
4
 
5
5
  // src/components/FloatingPlaceholder.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -74,7 +74,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
74
74
  /** 主体之外的补充内容或操作区。 */
75
75
  extra?: ReactNode;
76
76
  /**
77
- * 点击卡片非交互区域切换选中,支持 Enter 和空格键;选中时显示主题色浅背景及右上角三角勾选标记。
77
+ * 点击卡片非交互区域切换选中,支持 Enter 和空格键;悬停时底色加深,鼠标按下时进一步加深并缩小至 98%,内部独立控件不触发整卡按压。选中时显示主题色浅背景及右上角三角勾选标记;禁用时不显示交互反馈,减少动态效果时仅保留颜色反馈。
78
78
  * @defaultValue false
79
79
  */
80
80
  selectable?: boolean;
@@ -99,7 +99,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
99
99
  disabled?: boolean;
100
100
  /** 用户切换选中时通知新的布尔状态;禁用时不触发。 */
101
101
  onSelectedChange?: (selected: boolean) => void;
102
- /** 点击卡片非交互区域或聚焦卡片后按 Enter/空格时执行;提供后使用按钮语义和框架交互样式。disabled 为 true 或 selectable 为 true 时不触发,内部按钮、链接及表单控件保持独立操作。 */
102
+ /** 点击卡片非交互区域或聚焦卡片后按 Enter/空格时执行;提供后使用按钮语义,悬停混入主题色,鼠标按下加深并缩小至 98%,键盘聚焦显示轮廓。减少动态效果时保留颜色反馈并取消缩放和过渡。disabled 为 true 或 selectable 为 true 时不触发,内部按钮、链接及表单控件保持独立操作。 */
103
103
  onAction?: () => void;
104
104
  /** 鼠标移入或键盘聚焦卡片时从底部滑入的操作区;触屏设备始终显示。 */
105
105
  hoverActions?: ReactNode;
@@ -2470,7 +2470,7 @@ interface FloatingScrollbarProviderProps {
2470
2470
  /** 仅接管指定容器;不传时接管页面中的滚动容器。 */
2471
2471
  targetRef?: RefObject<HTMLElement | null>;
2472
2472
  }
2473
- /** 为页面或指定容器接入不占布局空间的浮动滚动条,悬停、滚动和拖动时显示,离开后自动隐藏;默认入口自动启用,显式全局 Provider 可暂停接管。原生标记只跳过容器自身,内部滚动容器仍独立接管;Table 视口保留其专用轨道。 */
2473
+ /** 为页面或指定容器接入不占布局空间的浮动滚动条,悬停、滚动和拖动时显示,离开后自动隐藏;框架弹层动画结束后自动校准位置,无需滚动触发。默认入口自动启用,显式全局 Provider 可暂停接管。原生标记只跳过容器自身,内部滚动容器仍独立接管;Table 视口保留其专用轨道。 */
2474
2474
  declare function FloatingScrollbarProvider({ disabled, targetRef }: FloatingScrollbarProviderProps): null;
2475
2475
 
2476
2476
  export { type MenuClickInfo as $, type FloatButtonGroupProps as A, type BadgeProps as B, Calendar as C, Dropdown as D, type FloatButtonProps as E, FILLED_ICON_NAMES as F, type FloatButtonShape as G, type FloatingPlacement as H, FloatingScrollbarProvider as I, type FloatingScrollbarProviderProps as J, type FloatingTrigger as K, ICON_NAMES as L, Icon as M, type IconName as N, type IconProps as O, type IconVariant as P, Image as Q, ImagePreview as R, type ImagePreviewConfig as S, type TagStatus as T, ImagePreviewGroup as U, type ImagePreviewGroupProps as V, type ImagePreviewProps as W, type ImageProps as X, Input as Y, type InputProps as Z, Menu as _, Badge as a, type TypographyLinkProps as a$, type MenuItem as a0, type MenuMode as a1, type MenuProps as a2, type MenuTheme as a3, type MessageConfig as a4, type MessageHandle as a5, type MessageKey as a6, type MessageType as a7, type NotificationConfig as a8, type NotificationPlacement as a9, Tabs as aA, type TabsContextMenuClickInfo as aB, type TabsOrientation as aC, type TabsPosition as aD, type TabsProps as aE, type TabsType as aF, Tag as aG, type TagProps as aH, type TagSize as aI, type TagVariant as aJ, Timeline as aK, type TimelineItem as aL, type TimelineProps as aM, Toolbar as aN, type ToolbarItem as aO, type ToolbarProps as aP, Tooltip as aQ, type TooltipProps as aR, Tour as aS, type TourProps as aT, type TourStep as aU, Tree as aV, type TreeDropPosition as aW, type TreeKey as aX, type TreeNode as aY, type TreeProps as aZ, Typography as a_, type NotificationType as aa, Popconfirm as ab, type PopconfirmProps as ac, Popover as ad, type PopoverProps as ae, Progress as af, type ProgressProps as ag, type ProgressStatus as ah, Rate as ai, type RateProps as aj, Result as ak, type ResultProps as al, type ResultStatus as am, Segmented as an, type SegmentedOption as ao, type SegmentedProps as ap, type SegmentedValue as aq, Skeleton as ar, type SkeletonProps as as, Spin as at, type SpinProps as au, type StepItem as av, type StepStatus as aw, Steps as ax, type StepsProps as ay, type TabItem as az, type BadgeRibbonProps as b, type TypographyProps as b0, type TypographyTitleProps as b1, type TypographyType as b2, Upload as b3, type UploadChangeInfo as b4, type UploadDraggerProps as b5, type UploadFile as b6, type UploadFileStatus as b7, type UploadHttpRequest as b8, type UploadItemActions as b9, type UploadProps as ba, type UploadRef as bb, type UploadRejectInfo as bc, type UploadRequestHandle as bd, type UploadRequestOptions as be, Watermark as bf, type WatermarkFont as bg, type WatermarkProps as bh, message as bi, notification as bj, type BadgeStatus as c, Breadcrumb as d, type BreadcrumbItem as e, type BreadcrumbProps as f, type CalendarProps as g, Card as h, type CardAccent as i, type CardProps as j, Carousel as k, type CarouselProps as l, type CarouselRef as m, Collapse as n, type CollapseItem as o, type CollapseKey as p, type CollapseProps as q, type DropdownButtonProps as r, type DropdownMenuProps as s, type DropdownOpenSource as t, type DropdownPlacement as u, type DropdownProps as v, type DropdownTrigger as w, type FilledIconName as x, FloatButton as y, type FloatButtonBackTopProps as z };
@@ -74,7 +74,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
74
74
  /** 主体之外的补充内容或操作区。 */
75
75
  extra?: ReactNode;
76
76
  /**
77
- * 点击卡片非交互区域切换选中,支持 Enter 和空格键;选中时显示主题色浅背景及右上角三角勾选标记。
77
+ * 点击卡片非交互区域切换选中,支持 Enter 和空格键;悬停时底色加深,鼠标按下时进一步加深并缩小至 98%,内部独立控件不触发整卡按压。选中时显示主题色浅背景及右上角三角勾选标记;禁用时不显示交互反馈,减少动态效果时仅保留颜色反馈。
78
78
  * @defaultValue false
79
79
  */
80
80
  selectable?: boolean;
@@ -99,7 +99,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
99
99
  disabled?: boolean;
100
100
  /** 用户切换选中时通知新的布尔状态;禁用时不触发。 */
101
101
  onSelectedChange?: (selected: boolean) => void;
102
- /** 点击卡片非交互区域或聚焦卡片后按 Enter/空格时执行;提供后使用按钮语义和框架交互样式。disabled 为 true 或 selectable 为 true 时不触发,内部按钮、链接及表单控件保持独立操作。 */
102
+ /** 点击卡片非交互区域或聚焦卡片后按 Enter/空格时执行;提供后使用按钮语义,悬停混入主题色,鼠标按下加深并缩小至 98%,键盘聚焦显示轮廓。减少动态效果时保留颜色反馈并取消缩放和过渡。disabled 为 true 或 selectable 为 true 时不触发,内部按钮、链接及表单控件保持独立操作。 */
103
103
  onAction?: () => void;
104
104
  /** 鼠标移入或键盘聚焦卡片时从底部滑入的操作区;触屏设备始终显示。 */
105
105
  hoverActions?: ReactNode;
@@ -2470,7 +2470,7 @@ interface FloatingScrollbarProviderProps {
2470
2470
  /** 仅接管指定容器;不传时接管页面中的滚动容器。 */
2471
2471
  targetRef?: RefObject<HTMLElement | null>;
2472
2472
  }
2473
- /** 为页面或指定容器接入不占布局空间的浮动滚动条,悬停、滚动和拖动时显示,离开后自动隐藏;默认入口自动启用,显式全局 Provider 可暂停接管。原生标记只跳过容器自身,内部滚动容器仍独立接管;Table 视口保留其专用轨道。 */
2473
+ /** 为页面或指定容器接入不占布局空间的浮动滚动条,悬停、滚动和拖动时显示,离开后自动隐藏;框架弹层动画结束后自动校准位置,无需滚动触发。默认入口自动启用,显式全局 Provider 可暂停接管。原生标记只跳过容器自身,内部滚动容器仍独立接管;Table 视口保留其专用轨道。 */
2474
2474
  declare function FloatingScrollbarProvider({ disabled, targetRef }: FloatingScrollbarProviderProps): null;
2475
2475
 
2476
2476
  export { type MenuClickInfo as $, type FloatButtonGroupProps as A, type BadgeProps as B, Calendar as C, Dropdown as D, type FloatButtonProps as E, FILLED_ICON_NAMES as F, type FloatButtonShape as G, type FloatingPlacement as H, FloatingScrollbarProvider as I, type FloatingScrollbarProviderProps as J, type FloatingTrigger as K, ICON_NAMES as L, Icon as M, type IconName as N, type IconProps as O, type IconVariant as P, Image as Q, ImagePreview as R, type ImagePreviewConfig as S, type TagStatus as T, ImagePreviewGroup as U, type ImagePreviewGroupProps as V, type ImagePreviewProps as W, type ImageProps as X, Input as Y, type InputProps as Z, Menu as _, Badge as a, type TypographyLinkProps as a$, type MenuItem as a0, type MenuMode as a1, type MenuProps as a2, type MenuTheme as a3, type MessageConfig as a4, type MessageHandle as a5, type MessageKey as a6, type MessageType as a7, type NotificationConfig as a8, type NotificationPlacement as a9, Tabs as aA, type TabsContextMenuClickInfo as aB, type TabsOrientation as aC, type TabsPosition as aD, type TabsProps as aE, type TabsType as aF, Tag as aG, type TagProps as aH, type TagSize as aI, type TagVariant as aJ, Timeline as aK, type TimelineItem as aL, type TimelineProps as aM, Toolbar as aN, type ToolbarItem as aO, type ToolbarProps as aP, Tooltip as aQ, type TooltipProps as aR, Tour as aS, type TourProps as aT, type TourStep as aU, Tree as aV, type TreeDropPosition as aW, type TreeKey as aX, type TreeNode as aY, type TreeProps as aZ, Typography as a_, type NotificationType as aa, Popconfirm as ab, type PopconfirmProps as ac, Popover as ad, type PopoverProps as ae, Progress as af, type ProgressProps as ag, type ProgressStatus as ah, Rate as ai, type RateProps as aj, Result as ak, type ResultProps as al, type ResultStatus as am, Segmented as an, type SegmentedOption as ao, type SegmentedProps as ap, type SegmentedValue as aq, Skeleton as ar, type SkeletonProps as as, Spin as at, type SpinProps as au, type StepItem as av, type StepStatus as aw, Steps as ax, type StepsProps as ay, type TabItem as az, type BadgeRibbonProps as b, type TypographyProps as b0, type TypographyTitleProps as b1, type TypographyType as b2, Upload as b3, type UploadChangeInfo as b4, type UploadDraggerProps as b5, type UploadFile as b6, type UploadFileStatus as b7, type UploadHttpRequest as b8, type UploadItemActions as b9, type UploadProps as ba, type UploadRef as bb, type UploadRejectInfo as bc, type UploadRequestHandle as bd, type UploadRequestOptions as be, Watermark as bf, type WatermarkFont as bg, type WatermarkProps as bh, message as bi, notification as bj, type BadgeStatus as c, Breadcrumb as d, type BreadcrumbItem as e, type BreadcrumbProps as f, type CalendarProps as g, Card as h, type CardAccent as i, type CardProps as j, Carousel as k, type CarouselProps as l, type CarouselRef as m, Collapse as n, type CollapseItem as o, type CollapseKey as p, type CollapseProps as q, type DropdownButtonProps as r, type DropdownMenuProps as s, type DropdownOpenSource as t, type DropdownPlacement as u, type DropdownProps as v, type DropdownTrigger as w, type FilledIconName as x, FloatButton as y, type FloatButtonBackTopProps as z };
package/dist/core.cjs CHANGED
@@ -529,6 +529,7 @@ function startFloatingScrollbars(targetRef) {
529
529
  const onResize = () => scheduleScan();
530
530
  window.addEventListener("resize", onResize);
531
531
  window.addEventListener("scroll", scheduleUpdateAll, true);
532
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
532
533
  scheduleScan();
533
534
  return () => {
534
535
  releaseProximity();
@@ -536,6 +537,7 @@ function startFloatingScrollbars(targetRef) {
536
537
  resizeObserver.disconnect();
537
538
  window.removeEventListener("resize", onResize);
538
539
  window.removeEventListener("scroll", scheduleUpdateAll, true);
540
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
539
541
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
540
542
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
541
543
  entries.forEach((entry) => entry.cleanup());
package/dist/core.css CHANGED
@@ -2553,7 +2553,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2553
2553
  .sia-card {
2554
2554
  --sia-card-accent: var(--sia-color-primary);
2555
2555
  color: var(--sia-color-text);
2556
- background: var(--sia-color-surface);
2556
+ background: var(--sia-card-background, var(--sia-color-surface));
2557
2557
  border: 1px solid color-mix(in srgb, var(--sia-color-border) 75%, var(--sia-color-surface));
2558
2558
  border-radius: var(--sia-radius);
2559
2559
  }
@@ -2637,6 +2637,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2637
2637
  .sia-card--actionable {
2638
2638
  cursor: pointer;
2639
2639
  }
2640
+ .sia-card--actionable:not([aria-disabled=true]) {
2641
+ transition:
2642
+ background-color 140ms ease,
2643
+ border-color 140ms ease,
2644
+ transform 100ms ease;
2645
+ }
2646
+ .sia-card--actionable:not([aria-disabled=true]):hover {
2647
+ background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
2648
+ border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
2649
+ }
2650
+ .sia-card--actionable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2651
+ background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-card-background, var(--sia-color-surface)));
2652
+ border-color: var(--sia-color-primary);
2653
+ transform: scale(.98);
2654
+ }
2655
+ @media (prefers-reduced-motion: reduce) {
2656
+ .sia-card--actionable:not([aria-disabled=true]) {
2657
+ transition: none;
2658
+ }
2659
+ .sia-card--actionable:not([aria-disabled=true]):active {
2660
+ transform: none;
2661
+ }
2662
+ }
2640
2663
  .sia-card--selectable[data-sia-interaction-cursor=default],
2641
2664
  .sia-card--actionable[data-sia-interaction-cursor=default] {
2642
2665
  cursor: default;
@@ -2693,6 +2716,33 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2693
2716
  border-color: var(--sia-color-primary);
2694
2717
  box-shadow: inset 0 0 0 1px var(--sia-color-primary);
2695
2718
  }
2719
+ .sia-card--selectable:not([aria-disabled=true]) {
2720
+ transition:
2721
+ background-color 140ms ease,
2722
+ border-color 140ms ease,
2723
+ transform 100ms ease;
2724
+ }
2725
+ .sia-card--selectable:not([aria-disabled=true]):hover {
2726
+ background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
2727
+ border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
2728
+ }
2729
+ .sia-card--selectable.sia-card--selected:not([aria-disabled=true]):hover {
2730
+ background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-color-surface));
2731
+ border-color: var(--sia-color-primary);
2732
+ }
2733
+ .sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2734
+ background: color-mix(in srgb, var(--sia-color-primary) 24%, var(--sia-card-background, var(--sia-color-surface)));
2735
+ border-color: var(--sia-color-primary);
2736
+ transform: scale(.98);
2737
+ }
2738
+ @media (prefers-reduced-motion: reduce) {
2739
+ .sia-card--selectable:not([aria-disabled=true]) {
2740
+ transition: none;
2741
+ }
2742
+ .sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2743
+ transform: none;
2744
+ }
2745
+ }
2696
2746
  .sia-card.sia-card--borderless {
2697
2747
  border: 0;
2698
2748
  box-shadow: none;
@@ -5516,6 +5566,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5516
5566
  margin-bottom: 8px;
5517
5567
  }
5518
5568
  .sia-sortable-list {
5569
+ position: relative;
5519
5570
  display: flex;
5520
5571
  gap: 16px;
5521
5572
  overflow: auto;
@@ -5531,7 +5582,25 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5531
5582
  min-width: 0;
5532
5583
  }
5533
5584
  .sia-sortable-list__item.is-dragging {
5534
- opacity: .5;
5585
+ z-index: 2;
5586
+ filter: drop-shadow(0 6px 8px rgb(0 0 0 / 16%));
5587
+ }
5588
+ .sia-sortable-list__placeholder {
5589
+ position: absolute;
5590
+ box-sizing: border-box;
5591
+ border: 2px dashed var(--sia-color-primary);
5592
+ border-radius: var(--sia-radius-md, 6px);
5593
+ background: var(--sia-color-primary-light);
5594
+ pointer-events: none;
5595
+ }
5596
+ .sia-sortable-list.is-sorting {
5597
+ user-select: none;
5598
+ }
5599
+ .sia-sortable-list.is-sorting .sia-sortable-list__handle {
5600
+ cursor: grabbing;
5601
+ }
5602
+ .sia-sortable-list__handle {
5603
+ touch-action: none;
5535
5604
  }
5536
5605
  .sia-sortable-list__handle {
5537
5606
  display: flex;
@@ -5560,38 +5629,6 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5560
5629
  background: transparent;
5561
5630
  text-align: start;
5562
5631
  }
5563
- .sia-sortable-list__item.is-drop-before::before,
5564
- .sia-sortable-list__item.is-drop-after::after {
5565
- content: "";
5566
- position: absolute;
5567
- background: var(--sia-color-primary);
5568
- pointer-events: none;
5569
- z-index: 1;
5570
- }
5571
- .sia-sortable-list--horizontal .is-drop-before::before {
5572
- top: 0;
5573
- bottom: 0;
5574
- left: -9px;
5575
- width: 2px;
5576
- }
5577
- .sia-sortable-list--horizontal .is-drop-after::after {
5578
- top: 0;
5579
- bottom: 0;
5580
- right: -9px;
5581
- width: 2px;
5582
- }
5583
- .sia-sortable-list--vertical .is-drop-before::before {
5584
- left: 0;
5585
- right: 0;
5586
- top: -9px;
5587
- height: 2px;
5588
- }
5589
- .sia-sortable-list--vertical .is-drop-after::after {
5590
- left: 0;
5591
- right: 0;
5592
- bottom: -9px;
5593
- height: 2px;
5594
- }
5595
5632
  .sia-popover.sia-popover--wide {
5596
5633
  width: 760px;
5597
5634
  max-width: calc(100vw - 32px);
@@ -5647,6 +5684,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5647
5684
  .sia-query-form__fields {
5648
5685
  position: relative;
5649
5686
  }
5687
+ .sia-virtual-grid {
5688
+ position: relative;
5689
+ flex: 1;
5690
+ height: 100%;
5691
+ min-width: 0;
5692
+ min-height: 0;
5693
+ overflow: auto;
5694
+ overscroll-behavior: contain;
5695
+ overflow-anchor: none;
5696
+ }
5697
+ .sia-virtual-grid__spacer {
5698
+ position: relative;
5699
+ width: 100%;
5700
+ }
5701
+ .sia-virtual-grid__row {
5702
+ position: absolute;
5703
+ inset-inline: 0;
5704
+ display: grid;
5705
+ }
5706
+ .sia-virtual-grid__item {
5707
+ min-width: 0;
5708
+ height: 100%;
5709
+ }
5650
5710
 
5651
5711
  /* src/overlay-borders.css */
5652
5712
  .sia-select__dropdown.sia-select__dropdown,
package/dist/core.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-COaZfusa.cjs';
1
+ export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-8jfdF5IF.cjs';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-CxKBjLda.cjs';
3
3
  export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-bKLket9n.cjs';
4
4
  import 'react';
package/dist/core.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-CvfsQGuT.js';
1
+ export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, M as Icon, N as IconName, O as IconProps, P as IconVariant, Y as Input, Z as InputProps, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, af as Progress, ag as ProgressProps, ah as ProgressStatus, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, az as TabItem, aA as Tabs, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, T as TagStatus, aJ as TagVariant, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, ba as UploadProps, be as UploadRequestOptions, bi as message } from './core-BbgdopTV.js';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-C8W8ZHWV.js';
3
3
  export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-CTSd8zum.js';
4
4
  import 'react';
package/dist/core.js CHANGED
@@ -11,29 +11,29 @@ import {
11
11
  Typography,
12
12
  Upload,
13
13
  message
14
- } from "./chunk-MD4CGSOR.js";
14
+ } from "./chunk-LY73KGUH.js";
15
15
  import "./chunk-RX242MUO.js";
16
16
  import {
17
17
  Select
18
- } from "./chunk-ORSQAJ22.js";
18
+ } from "./chunk-KDG2P3JA.js";
19
19
  import {
20
20
  Input,
21
21
  Segmented
22
- } from "./chunk-WCYVBO2N.js";
23
- import "./chunk-LKLPCYEP.js";
22
+ } from "./chunk-KSXTC3PD.js";
23
+ import "./chunk-NRLIOMXY.js";
24
24
  import {
25
25
  Icon,
26
26
  Modal,
27
27
  Skeleton
28
- } from "./chunk-JRXYM5YH.js";
28
+ } from "./chunk-HDN7EEGA.js";
29
29
  import {
30
30
  Button
31
- } from "./chunk-7SEGBB6V.js";
32
- import "./chunk-ETQJ2DQ2.js";
31
+ } from "./chunk-OTVK3HGP.js";
32
+ import "./chunk-YO5OJQEH.js";
33
33
  import {
34
34
  FloatingScrollbarProvider,
35
35
  initializeDefaultScrollbars
36
- } from "./chunk-4OHS7RXE.js";
36
+ } from "./chunk-SRWUDTCS.js";
37
37
 
38
38
  // src/core.ts
39
39
  initializeDefaultScrollbars();
package/dist/game.cjs CHANGED
@@ -510,6 +510,7 @@ function startFloatingScrollbars(targetRef) {
510
510
  const onResize = () => scheduleScan();
511
511
  window.addEventListener("resize", onResize);
512
512
  window.addEventListener("scroll", scheduleUpdateAll, true);
513
+ window.addEventListener("sia-overlay-motion-end", scheduleUpdateAll);
513
514
  scheduleScan();
514
515
  return () => {
515
516
  releaseProximity();
@@ -517,6 +518,7 @@ function startFloatingScrollbars(targetRef) {
517
518
  resizeObserver.disconnect();
518
519
  window.removeEventListener("resize", onResize);
519
520
  window.removeEventListener("scroll", scheduleUpdateAll, true);
521
+ window.removeEventListener("sia-overlay-motion-end", scheduleUpdateAll);
520
522
  if (scanFrame) window.cancelAnimationFrame(scanFrame);
521
523
  if (updateFrame) window.cancelAnimationFrame(updateFrame);
522
524
  entries.forEach((entry) => entry.cleanup());