@sia.soul/sia-react-ui 0.1.165 → 0.1.167
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/chart.cjs +4553 -4513
- package/dist/chart.d.cts +1850 -1843
- package/dist/chart.d.ts +1850 -1843
- package/dist/chart.js +1 -1
- package/dist/chunk-2FZI7TP6.js +0 -0
- package/dist/{chunk-WR5YBY2A.js → chunk-5CGJVE4C.js} +57 -43
- package/dist/{chunk-2EC653G5.js → chunk-5KTQXNGL.js} +2 -2
- package/dist/{chunk-NHGCGOF2.js → chunk-A7TLMWMM.js} +4754 -4714
- package/dist/{chunk-G5EJJFUI.js → chunk-FSO46WEJ.js} +14 -6
- package/dist/{chunk-SX4LLT3H.js → chunk-KDNOLFDJ.js} +2 -2
- package/dist/{chunk-DKQ5UCN6.js → chunk-S6FA6NN3.js} +519 -220
- package/dist/{chunk-23FQ5ARA.js → chunk-XS7AVCHO.js} +27 -17
- package/dist/{core-r-smfiNN.d.cts → core-C7Was4Vc.d.cts} +11 -12
- package/dist/{core-XtqUDbbD.d.ts → core-D7C32Rdq.d.ts} +11 -12
- package/dist/core.cjs +267 -235
- package/dist/core.css +3125 -5327
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +4 -4
- package/dist/game.cjs +14 -6
- package/dist/game.css +1666 -3147
- package/dist/game.js +1 -1
- package/dist/index.cjs +6498 -6060
- package/dist/index.css +8721 -8545
- package/dist/index.d.cts +127 -111
- package/dist/index.d.ts +127 -111
- package/dist/index.js +817 -749
- package/dist/markdown-editor.css +461 -0
- package/dist/markdown-editor.js +2 -1
- package/dist/rich-text-editor.cjs +38 -20
- package/dist/rich-text-editor.css +461 -0
- package/dist/rich-text-editor.js +4 -3
- package/dist/{select-date-range-E1N5-oXv.d.ts → select-date-range-AOleKBXc.d.ts} +6 -9
- package/dist/{select-date-range-BnlISSPV.d.cts → select-date-range-BtTkMElI.d.cts} +6 -9
- package/dist/select-date-range.cjs +529 -222
- package/dist/select-date-range.d.cts +1 -1
- package/dist/select-date-range.d.ts +1 -1
- package/dist/select-date-range.js +4 -4
- package/package.json +5 -1
- /package/dist/{chunk-V4I32DPL.js → chunk-GKWSCL5Q.js} +0 -0
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-
|
|
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-C7Was4Vc.cjs';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-xLR4Yt57.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-Dxevc0f6.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-
|
|
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-D7C32Rdq.js';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-B59TIes7.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-tsENCXQI.js';
|
|
4
4
|
import 'react';
|
package/dist/core.js
CHANGED
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
Typography,
|
|
12
12
|
Upload,
|
|
13
13
|
message
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5CGJVE4C.js";
|
|
15
15
|
import "./chunk-RX242MUO.js";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KDNOLFDJ.js";
|
|
19
19
|
import {
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XS7AVCHO.js";
|
|
23
23
|
import "./chunk-J6BPKBEL.js";
|
|
24
24
|
import {
|
|
25
25
|
Icon,
|
|
26
26
|
Modal,
|
|
27
27
|
Skeleton
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-FSO46WEJ.js";
|
|
29
29
|
import {
|
|
30
30
|
Button
|
|
31
31
|
} from "./chunk-PAWEP65C.js";
|
package/dist/game.cjs
CHANGED
|
@@ -3155,19 +3155,27 @@ function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, au
|
|
|
3155
3155
|
closeRef.current();
|
|
3156
3156
|
return;
|
|
3157
3157
|
}
|
|
3158
|
-
|
|
3159
|
-
|
|
3158
|
+
const panel = panelRef.current;
|
|
3159
|
+
if (event.key !== "Tab" || !panel) return;
|
|
3160
|
+
const focusable = focusableElements(panel);
|
|
3160
3161
|
if (focusable.length === 0) {
|
|
3161
3162
|
event.preventDefault();
|
|
3162
|
-
|
|
3163
|
+
panel.focus();
|
|
3163
3164
|
return;
|
|
3164
3165
|
}
|
|
3165
3166
|
const first = focusable[0];
|
|
3166
3167
|
const last = focusable.at(-1);
|
|
3167
|
-
|
|
3168
|
+
const active = document.activeElement;
|
|
3169
|
+
const insidePanel = active instanceof Node && panel.contains(active);
|
|
3170
|
+
if (!insidePanel || active === panel) {
|
|
3171
|
+
event.preventDefault();
|
|
3172
|
+
(event.shiftKey ? last : first).focus();
|
|
3173
|
+
return;
|
|
3174
|
+
}
|
|
3175
|
+
if (event.shiftKey && active === first) {
|
|
3168
3176
|
event.preventDefault();
|
|
3169
3177
|
last.focus();
|
|
3170
|
-
} else if (!event.shiftKey &&
|
|
3178
|
+
} else if (!event.shiftKey && active === last) {
|
|
3171
3179
|
event.preventDefault();
|
|
3172
3180
|
first.focus();
|
|
3173
3181
|
}
|
|
@@ -3182,7 +3190,7 @@ function useOverlayLifecycle(open, panelRef, onRequestClose, keyboard = true, au
|
|
|
3182
3190
|
unlockBody();
|
|
3183
3191
|
previouslyFocused?.focus({ preventScroll: true });
|
|
3184
3192
|
};
|
|
3185
|
-
}, [keyboard, open, panelRef
|
|
3193
|
+
}, [keyboard, open, panelRef]);
|
|
3186
3194
|
(0, import_react11.useEffect)(() => {
|
|
3187
3195
|
if (!open) return;
|
|
3188
3196
|
const timer = window.setTimeout(() => {
|