@sia.soul/sia-react-ui 0.1.145 → 0.1.147
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/{Button-C8W8ZHWV.d.ts → Button-B59TIes7.d.ts} +1 -1
- package/dist/{Button-CxKBjLda.d.cts → Button-xLR4Yt57.d.cts} +1 -1
- package/dist/{Select-bKLket9n.d.cts → Select-DKfT3fJR.d.cts} +1 -1
- package/dist/{Select-CTSd8zum.d.ts → Select-Wolx4zNc.d.ts} +1 -1
- package/dist/chart.cjs +2 -23
- package/dist/chart.js +5 -5
- package/dist/{chunk-ORSQAJ22.js → chunk-4PYHSNRA.js} +5 -5
- package/dist/{chunk-F52O2MOV.js → chunk-6SSZVJO4.js} +3 -3
- package/dist/{chunk-WCYVBO2N.js → chunk-EZTF5TA2.js} +4 -4
- package/dist/{chunk-LKLPCYEP.js → chunk-NRLIOMXY.js} +2 -2
- package/dist/{chunk-7SEGBB6V.js → chunk-PU2V3VB5.js} +1 -24
- package/dist/{chunk-566S64IP.js → chunk-QLS2IXU4.js} +4 -4
- package/dist/{chunk-4OHS7RXE.js → chunk-SRWUDTCS.js} +2 -0
- package/dist/{chunk-MD4CGSOR.js → chunk-TH7BNDV4.js} +6 -6
- package/dist/{chunk-4TYHSAR3.js → chunk-W4HDN7MD.js} +5 -5
- package/dist/{chunk-PD3K5U5Y.js → chunk-XXFYFLZA.js} +2 -2
- package/dist/{chunk-JRXYM5YH.js → chunk-YHVFLSZW.js} +2 -2
- package/dist/{chunk-ETQJ2DQ2.js → chunk-YO5OJQEH.js} +1 -1
- package/dist/{core-CvfsQGuT.d.ts → core-BJa8K9R8.d.ts} +5 -5
- package/dist/{core-COaZfusa.d.cts → core-DC4cb_KT.d.cts} +5 -5
- package/dist/core.cjs +2 -23
- package/dist/core.css +74 -1
- package/dist/core.d.cts +3 -3
- package/dist/core.d.ts +3 -3
- package/dist/core.js +8 -8
- package/dist/game.cjs +2 -23
- package/dist/game.css +74 -1
- package/dist/game.d.cts +1 -1
- package/dist/game.d.ts +1 -1
- package/dist/game.js +3 -3
- package/dist/index.cjs +1403 -1316
- package/dist/index.css +84 -1
- package/dist/index.d.cts +55 -9
- package/dist/index.d.ts +55 -9
- package/dist/index.js +167 -61
- package/dist/markdown-editor.cjs +2 -0
- package/dist/markdown-editor.js +3 -3
- package/dist/rich-text-editor.cjs +2 -23
- package/dist/rich-text-editor.js +7 -7
- package/dist/{select-date-range-Dad0IdD4.d.cts → select-date-range-C5bNGxaY.d.cts} +1 -1
- package/dist/{select-date-range-C8cacfmb.d.ts → select-date-range-DfhpX7vv.d.ts} +1 -1
- package/dist/select-date-range.cjs +2 -23
- package/dist/select-date-range.d.cts +3 -3
- package/dist/select-date-range.d.ts +3 -3
- package/dist/select-date-range.js +8 -8
- package/package.json +1 -1
package/dist/core.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-
|
|
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-
|
|
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-DC4cb_KT.cjs';
|
|
2
|
+
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-xLR4Yt57.cjs';
|
|
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-DKfT3fJR.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './shared-Bx4B28Wh.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-
|
|
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-
|
|
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-BJa8K9R8.js';
|
|
2
|
+
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-B59TIes7.js';
|
|
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-Wolx4zNc.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import './shared-Bx4B28Wh.js';
|
package/dist/core.js
CHANGED
|
@@ -11,29 +11,29 @@ import {
|
|
|
11
11
|
Typography,
|
|
12
12
|
Upload,
|
|
13
13
|
message
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TH7BNDV4.js";
|
|
15
15
|
import "./chunk-RX242MUO.js";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4PYHSNRA.js";
|
|
19
19
|
import {
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-EZTF5TA2.js";
|
|
23
|
+
import "./chunk-NRLIOMXY.js";
|
|
24
24
|
import {
|
|
25
25
|
Icon,
|
|
26
26
|
Modal,
|
|
27
27
|
Skeleton
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YHVFLSZW.js";
|
|
29
29
|
import {
|
|
30
30
|
Button
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-PU2V3VB5.js";
|
|
32
|
+
import "./chunk-YO5OJQEH.js";
|
|
33
33
|
import {
|
|
34
34
|
FloatingScrollbarProvider,
|
|
35
35
|
initializeDefaultScrollbars
|
|
36
|
-
} from "./chunk-
|
|
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());
|
|
@@ -1419,32 +1421,10 @@ var Button = (0, import_react6.forwardRef)(function Button2({
|
|
|
1419
1421
|
}, forwardedRef) {
|
|
1420
1422
|
const size = useControlSize(sizeProp);
|
|
1421
1423
|
const localRef = (0, import_react6.useRef)(null);
|
|
1422
|
-
const bounceRef = (0, import_react6.useRef)(null);
|
|
1423
1424
|
const waveTimerRef = (0, import_react6.useRef)();
|
|
1424
1425
|
(0, import_react6.useEffect)(() => () => {
|
|
1425
|
-
bounceRef.current?.cancel();
|
|
1426
1426
|
window.clearTimeout(waveTimerRef.current);
|
|
1427
1427
|
}, []);
|
|
1428
|
-
function playBounce(button) {
|
|
1429
|
-
if (!button.animate || window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
|
|
1430
|
-
const current = getComputedStyle(button).scale;
|
|
1431
|
-
bounceRef.current?.cancel();
|
|
1432
|
-
const base = getComputedStyle(button).scale;
|
|
1433
|
-
const [x = 1, y = x] = base === "none" ? [] : base.split(/\s+/).map(Number);
|
|
1434
|
-
const scaled = (factor) => `${x * factor} ${y * factor}`;
|
|
1435
|
-
const animation = button.animate([
|
|
1436
|
-
{ scale: current === "none" ? "1" : current, offset: 0 },
|
|
1437
|
-
// 宽按钮保持等比缩放,以更明显的过冲表现弹性但不改变布局占位。
|
|
1438
|
-
{ scale: scaled(0.9), offset: 0.2 },
|
|
1439
|
-
{ scale: scaled(1.09), offset: 0.52 },
|
|
1440
|
-
{ scale: scaled(0.96), offset: 0.78 },
|
|
1441
|
-
{ scale: scaled(1), offset: 1 }
|
|
1442
|
-
], { duration: 320, easing: "cubic-bezier(.3, 0, .25, 1)" });
|
|
1443
|
-
bounceRef.current = animation;
|
|
1444
|
-
animation.onfinish = () => {
|
|
1445
|
-
if (bounceRef.current === animation) bounceRef.current = null;
|
|
1446
|
-
};
|
|
1447
|
-
}
|
|
1448
1428
|
function setRef(node) {
|
|
1449
1429
|
localRef.current = node;
|
|
1450
1430
|
if (typeof forwardedRef === "function") forwardedRef(node);
|
|
@@ -1453,7 +1433,6 @@ var Button = (0, import_react6.forwardRef)(function Button2({
|
|
|
1453
1433
|
function handleClick(event) {
|
|
1454
1434
|
const button = localRef.current;
|
|
1455
1435
|
if (disabled || loading) return;
|
|
1456
|
-
if (button) playBounce(button);
|
|
1457
1436
|
if (button && variant === "primary") {
|
|
1458
1437
|
const rect = button.getBoundingClientRect();
|
|
1459
1438
|
button.style.setProperty("--sia-wave-x", `${event.detail === 0 ? button.offsetWidth / 2 : (event.clientX - rect.left) * button.offsetWidth / rect.width}px`);
|
package/dist/game.css
CHANGED
|
@@ -2604,7 +2604,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2604
2604
|
.sia-card {
|
|
2605
2605
|
--sia-card-accent: var(--sia-color-primary);
|
|
2606
2606
|
color: var(--sia-color-text);
|
|
2607
|
-
background: var(--sia-color-surface);
|
|
2607
|
+
background: var(--sia-card-background, var(--sia-color-surface));
|
|
2608
2608
|
border: 1px solid color-mix(in srgb, var(--sia-color-border) 75%, var(--sia-color-surface));
|
|
2609
2609
|
border-radius: var(--sia-radius);
|
|
2610
2610
|
}
|
|
@@ -2688,6 +2688,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2688
2688
|
.sia-card--actionable {
|
|
2689
2689
|
cursor: pointer;
|
|
2690
2690
|
}
|
|
2691
|
+
.sia-card--actionable:not([aria-disabled=true]) {
|
|
2692
|
+
transition:
|
|
2693
|
+
background-color 140ms ease,
|
|
2694
|
+
border-color 140ms ease,
|
|
2695
|
+
transform 100ms ease;
|
|
2696
|
+
}
|
|
2697
|
+
.sia-card--actionable:not([aria-disabled=true]):hover {
|
|
2698
|
+
background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
|
|
2699
|
+
border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
|
|
2700
|
+
}
|
|
2701
|
+
.sia-card--actionable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
|
|
2702
|
+
background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-card-background, var(--sia-color-surface)));
|
|
2703
|
+
border-color: var(--sia-color-primary);
|
|
2704
|
+
transform: scale(.98);
|
|
2705
|
+
}
|
|
2706
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2707
|
+
.sia-card--actionable:not([aria-disabled=true]) {
|
|
2708
|
+
transition: none;
|
|
2709
|
+
}
|
|
2710
|
+
.sia-card--actionable:not([aria-disabled=true]):active {
|
|
2711
|
+
transform: none;
|
|
2712
|
+
}
|
|
2713
|
+
}
|
|
2691
2714
|
.sia-card--selectable[data-sia-interaction-cursor=default],
|
|
2692
2715
|
.sia-card--actionable[data-sia-interaction-cursor=default] {
|
|
2693
2716
|
cursor: default;
|
|
@@ -2744,6 +2767,33 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2744
2767
|
border-color: var(--sia-color-primary);
|
|
2745
2768
|
box-shadow: inset 0 0 0 1px var(--sia-color-primary);
|
|
2746
2769
|
}
|
|
2770
|
+
.sia-card--selectable:not([aria-disabled=true]) {
|
|
2771
|
+
transition:
|
|
2772
|
+
background-color 140ms ease,
|
|
2773
|
+
border-color 140ms ease,
|
|
2774
|
+
transform 100ms ease;
|
|
2775
|
+
}
|
|
2776
|
+
.sia-card--selectable:not([aria-disabled=true]):hover {
|
|
2777
|
+
background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
|
|
2778
|
+
border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
|
|
2779
|
+
}
|
|
2780
|
+
.sia-card--selectable.sia-card--selected:not([aria-disabled=true]):hover {
|
|
2781
|
+
background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-color-surface));
|
|
2782
|
+
border-color: var(--sia-color-primary);
|
|
2783
|
+
}
|
|
2784
|
+
.sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
|
|
2785
|
+
background: color-mix(in srgb, var(--sia-color-primary) 24%, var(--sia-card-background, var(--sia-color-surface)));
|
|
2786
|
+
border-color: var(--sia-color-primary);
|
|
2787
|
+
transform: scale(.98);
|
|
2788
|
+
}
|
|
2789
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2790
|
+
.sia-card--selectable:not([aria-disabled=true]) {
|
|
2791
|
+
transition: none;
|
|
2792
|
+
}
|
|
2793
|
+
.sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
|
|
2794
|
+
transform: none;
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2747
2797
|
.sia-card.sia-card--borderless {
|
|
2748
2798
|
border: 0;
|
|
2749
2799
|
box-shadow: none;
|
|
@@ -5685,6 +5735,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5685
5735
|
.sia-query-form__fields {
|
|
5686
5736
|
position: relative;
|
|
5687
5737
|
}
|
|
5738
|
+
.sia-virtual-grid {
|
|
5739
|
+
position: relative;
|
|
5740
|
+
flex: 1;
|
|
5741
|
+
height: 100%;
|
|
5742
|
+
min-width: 0;
|
|
5743
|
+
min-height: 0;
|
|
5744
|
+
overflow: auto;
|
|
5745
|
+
overscroll-behavior: contain;
|
|
5746
|
+
overflow-anchor: none;
|
|
5747
|
+
}
|
|
5748
|
+
.sia-virtual-grid__spacer {
|
|
5749
|
+
position: relative;
|
|
5750
|
+
width: 100%;
|
|
5751
|
+
}
|
|
5752
|
+
.sia-virtual-grid__row {
|
|
5753
|
+
position: absolute;
|
|
5754
|
+
inset-inline: 0;
|
|
5755
|
+
display: grid;
|
|
5756
|
+
}
|
|
5757
|
+
.sia-virtual-grid__item {
|
|
5758
|
+
min-width: 0;
|
|
5759
|
+
height: 100%;
|
|
5760
|
+
}
|
|
5688
5761
|
|
|
5689
5762
|
/* src/game/game.css */
|
|
5690
5763
|
.sia-game {
|
package/dist/game.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { B as ButtonProps } from './Button-
|
|
3
|
+
import { B as ButtonProps } from './Button-xLR4Yt57.cjs';
|
|
4
4
|
import './shared-Bx4B28Wh.cjs';
|
|
5
5
|
|
|
6
6
|
/** 放置游戏的可序列化数值;攻击、防御、气血均为非负整数。 */
|
package/dist/game.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
|
-
import { B as ButtonProps } from './Button-
|
|
3
|
+
import { B as ButtonProps } from './Button-B59TIes7.js';
|
|
4
4
|
import './shared-Bx4B28Wh.js';
|
|
5
5
|
|
|
6
6
|
/** 放置游戏的可序列化数值;攻击、防御、气血均为非负整数。 */
|
package/dist/game.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-RX242MUO.js";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YHVFLSZW.js";
|
|
5
5
|
import {
|
|
6
6
|
Button
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PU2V3VB5.js";
|
|
8
8
|
import {
|
|
9
9
|
initializeDefaultScrollbars
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SRWUDTCS.js";
|
|
11
11
|
|
|
12
12
|
// src/game/hex-rules.ts
|
|
13
13
|
var DEFAULT_GAME_ABILITIES = [
|