@sia.soul/sia-react-ui 0.1.115 → 0.1.116

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Dropdown,
3
3
  Input
4
- } from "./chunk-SPIQSYWQ.js";
4
+ } from "./chunk-SATXB6X4.js";
5
5
  import {
6
6
  Icon,
7
7
  Modal
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Dropdown,
3
3
  Input
4
- } from "./chunk-SPIQSYWQ.js";
4
+ } from "./chunk-SATXB6X4.js";
5
5
  import {
6
6
  Icon
7
7
  } from "./chunk-XY7CXJS6.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Popover,
3
3
  Tooltip
4
- } from "./chunk-KPOK4HIQ.js";
4
+ } from "./chunk-7PPE6DJO.js";
5
5
  import {
6
6
  Dropdown
7
- } from "./chunk-SPIQSYWQ.js";
7
+ } from "./chunk-SATXB6X4.js";
8
8
  import {
9
9
  TextArea
10
10
  } from "./chunk-SCEHVGKV.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FloatingScrollbarProvider,
3
3
  Select
4
- } from "./chunk-KPOK4HIQ.js";
4
+ } from "./chunk-7PPE6DJO.js";
5
5
  import {
6
6
  Icon
7
7
  } from "./chunk-XY7CXJS6.js";
@@ -116,12 +116,13 @@ function MenuEntry({
116
116
  ...withTitleTooltip({ title: collapsed ? item.title ?? (typeof item.label === "string" ? item.label : void 0) : item.title }),
117
117
  disabled: item.disabled,
118
118
  "aria-current": isSelected ? "page" : void 0,
119
+ "data-menu-key": item.key,
119
120
  "data-applied": item.applied || void 0,
120
121
  "aria-expanded": hasChildren ? isOpen : void 0,
121
122
  onClick: (event) => hasChildren ? props.toggle(item.key) : props.select(item, path, event),
122
123
  children: [
123
124
  reserveIcon ? /* @__PURE__ */ jsx("span", { className: "sia-menu__icon", style: item.iconSize ? { width: item.iconSize, height: item.iconSize, flexBasis: item.iconSize } : void 0, "aria-hidden": !item.icon || void 0, children: item.icon }) : null,
124
- item.applied ? /* @__PURE__ */ jsx("span", { className: "sia-menu__applied", role: "img", "aria-label": item.appliedLabel ?? "\u5F53\u524D\u4F7F\u7528", children: /* @__PURE__ */ jsx(Icon, { name: "circle-check", size: 32 }) }) : null,
125
+ item.applied ? /* @__PURE__ */ jsx("span", { className: "sia-menu__applied", role: "img", "aria-label": item.appliedLabel ?? "\u5F53\u524D\u4F7F\u7528", children: /* @__PURE__ */ jsx(Icon, { name: "circle-check", variant: "filled", size: 32 }) }) : null,
125
126
  !collapsed ? /* @__PURE__ */ jsx("span", { className: "sia-menu__label", children: item.label }) : null,
126
127
  !collapsed && item.extra ? /* @__PURE__ */ jsx("span", { className: "sia-menu__extra", children: item.extra }) : null,
127
128
  !collapsed && hasChildren ? /* @__PURE__ */ jsx(Icon, { className: "sia-menu__expand-icon", name: "chevron-down", size: 13 }) : null
@@ -170,6 +171,7 @@ function Menu({
170
171
  gridColumns = 2,
171
172
  theme = "light",
172
173
  selectedKeys,
174
+ autoScrollSelected = false,
173
175
  defaultSelectedKeys = [],
174
176
  openKeys,
175
177
  defaultOpenKeys = [],
@@ -190,6 +192,30 @@ function Menu({
190
192
  const rootRef = useRef(null);
191
193
  const [selected, setSelected] = useControllableState({ value: selectedKeys, defaultValue: defaultSelectedKeys });
192
194
  const [open, setOpen] = useControllableState({ value: openKeys, defaultValue: defaultOpenKeys, onChange: (next) => onOpenChange?.([...next]) });
195
+ const revealedKey = useRef();
196
+ const firstSelected = selected[0];
197
+ useLayoutEffect(() => {
198
+ if (!autoScrollSelected || firstSelected === void 0) {
199
+ revealedKey.current = void 0;
200
+ return;
201
+ }
202
+ const root = rootRef.current;
203
+ if (!root || revealedKey.current === firstSelected || mode === "horizontal") return;
204
+ const reveal = () => {
205
+ if (revealedKey.current === firstSelected || root.clientHeight === 0) return;
206
+ const target = Array.from(root.querySelectorAll(".sia-menu__item")).find((element) => element.dataset.menuKey === firstSelected && element.getBoundingClientRect().height > 0);
207
+ if (!target) return;
208
+ const bounds = root.getBoundingClientRect(), item = target.getBoundingClientRect();
209
+ const top = bounds.top + root.clientTop, bottom = top + root.clientHeight;
210
+ if (item.top < top || item.bottom > bottom)
211
+ root.scrollTop += item.top - top - Math.max(0, (root.clientHeight - item.height) / 2);
212
+ revealedKey.current = firstSelected;
213
+ };
214
+ reveal();
215
+ const observer = new ResizeObserver(reveal);
216
+ observer.observe(root);
217
+ return () => observer.disconnect();
218
+ }, [autoScrollSelected, firstSelected, items, mode]);
193
219
  useEffect(() => {
194
220
  if (mode === "inline" || !open.length) return void 0;
195
221
  const closeOutside = (event) => {
@@ -500,7 +500,7 @@ type MenuItem = {
500
500
  icon?: ReactNode;
501
501
  /** 图标槽的宽高,单位 px;未指定时沿用菜单图标尺寸变量。图片图标应传入与图片相同的尺寸,避免挤压。 */
502
502
  iconSize?: number;
503
- /** 是否显示当前生效的半透明勾选水印,默认为 false;独立于 selectedKeys 的浏览选中状态,由业务在应用成功后更新。 */
503
+ /** 是否显示当前生效的实心圆形勾选标记,默认为 false;标记以92%不透明度显示,独立于 selectedKeys 的浏览选中状态,由业务在应用成功后更新。 */
504
504
  applied?: boolean;
505
505
  /** 生效水印的无障碍说明;默认为“当前使用”,仅 applied 为 true 时显示。 */
506
506
  appliedLabel?: string;
@@ -546,6 +546,13 @@ interface MenuProps extends Omit<HTMLAttributes<HTMLUListElement>, "onClick" | "
546
546
  theme?: MenuTheme;
547
547
  /** 当前选中项目的标识集合;传入后由外部控制。 */
548
548
  selectedKeys?: readonly string[];
549
+ /**
550
+ * 自动将首个选中项目滚动到菜单自身的可见区域,适用于可纵向滚动的列表、内嵌或网格菜单。
551
+ * 首次渲染、异步项目到达及首个选中标识改变时尝试定位;已完整可见时不滚动,超出时尽量居中。
552
+ * 仅调整菜单自身的滚动位置,不展开子菜单、不移动焦点;相同选中项的普通重渲染保留用户手动滚动位置。
553
+ * @defaultValue false
554
+ */
555
+ autoScrollSelected?: boolean;
549
556
  /**
550
557
  * 非受控模式下初始选中的项目标识集合。
551
558
  * @defaultValue []
@@ -599,7 +606,7 @@ interface MenuProps extends Omit<HTMLAttributes<HTMLUListElement>, "onClick" | "
599
606
  onOpenChange?: (keys: string[]) => void;
600
607
  }
601
608
  /** 菜单组件。 */
602
- declare function Menu({ items, mode, gridColumns, theme, selectedKeys, defaultSelectedKeys, openKeys, defaultOpenKeys, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, onClick, onSelect, onDeselect, onOpenChange, className, style, ...rest }: MenuProps): react.JSX.Element;
609
+ declare function Menu({ items, mode, gridColumns, theme, selectedKeys, autoScrollSelected, defaultSelectedKeys, openKeys, defaultOpenKeys, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, onClick, onSelect, onDeselect, onOpenChange, className, style, ...rest }: MenuProps): react.JSX.Element;
603
610
  /** Step的状态类型。 */
604
611
  type StepStatus = "wait" | "process" | "finish" | "error";
605
612
  /** Step的项目定义。 */
@@ -500,7 +500,7 @@ type MenuItem = {
500
500
  icon?: ReactNode;
501
501
  /** 图标槽的宽高,单位 px;未指定时沿用菜单图标尺寸变量。图片图标应传入与图片相同的尺寸,避免挤压。 */
502
502
  iconSize?: number;
503
- /** 是否显示当前生效的半透明勾选水印,默认为 false;独立于 selectedKeys 的浏览选中状态,由业务在应用成功后更新。 */
503
+ /** 是否显示当前生效的实心圆形勾选标记,默认为 false;标记以92%不透明度显示,独立于 selectedKeys 的浏览选中状态,由业务在应用成功后更新。 */
504
504
  applied?: boolean;
505
505
  /** 生效水印的无障碍说明;默认为“当前使用”,仅 applied 为 true 时显示。 */
506
506
  appliedLabel?: string;
@@ -546,6 +546,13 @@ interface MenuProps extends Omit<HTMLAttributes<HTMLUListElement>, "onClick" | "
546
546
  theme?: MenuTheme;
547
547
  /** 当前选中项目的标识集合;传入后由外部控制。 */
548
548
  selectedKeys?: readonly string[];
549
+ /**
550
+ * 自动将首个选中项目滚动到菜单自身的可见区域,适用于可纵向滚动的列表、内嵌或网格菜单。
551
+ * 首次渲染、异步项目到达及首个选中标识改变时尝试定位;已完整可见时不滚动,超出时尽量居中。
552
+ * 仅调整菜单自身的滚动位置,不展开子菜单、不移动焦点;相同选中项的普通重渲染保留用户手动滚动位置。
553
+ * @defaultValue false
554
+ */
555
+ autoScrollSelected?: boolean;
549
556
  /**
550
557
  * 非受控模式下初始选中的项目标识集合。
551
558
  * @defaultValue []
@@ -599,7 +606,7 @@ interface MenuProps extends Omit<HTMLAttributes<HTMLUListElement>, "onClick" | "
599
606
  onOpenChange?: (keys: string[]) => void;
600
607
  }
601
608
  /** 菜单组件。 */
602
- declare function Menu({ items, mode, gridColumns, theme, selectedKeys, defaultSelectedKeys, openKeys, defaultOpenKeys, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, onClick, onSelect, onDeselect, onOpenChange, className, style, ...rest }: MenuProps): react.JSX.Element;
609
+ declare function Menu({ items, mode, gridColumns, theme, selectedKeys, autoScrollSelected, defaultSelectedKeys, openKeys, defaultOpenKeys, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, onClick, onSelect, onDeselect, onOpenChange, className, style, ...rest }: MenuProps): react.JSX.Element;
603
610
  /** Step的状态类型。 */
604
611
  type StepStatus = "wait" | "process" | "finish" | "error";
605
612
  /** Step的项目定义。 */
package/dist/core.cjs CHANGED
@@ -1658,12 +1658,13 @@ function MenuEntry({
1658
1658
  ...withTitleTooltip({ title: collapsed ? item.title ?? (typeof item.label === "string" ? item.label : void 0) : item.title }),
1659
1659
  disabled: item.disabled,
1660
1660
  "aria-current": isSelected ? "page" : void 0,
1661
+ "data-menu-key": item.key,
1661
1662
  "data-applied": item.applied || void 0,
1662
1663
  "aria-expanded": hasChildren ? isOpen : void 0,
1663
1664
  onClick: (event) => hasChildren ? props.toggle(item.key) : props.select(item, path, event),
1664
1665
  children: [
1665
1666
  reserveIcon ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__icon", style: item.iconSize ? { width: item.iconSize, height: item.iconSize, flexBasis: item.iconSize } : void 0, "aria-hidden": !item.icon || void 0, children: item.icon }) : null,
1666
- item.applied ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__applied", role: "img", "aria-label": item.appliedLabel ?? "\u5F53\u524D\u4F7F\u7528", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "circle-check", size: 32 }) }) : null,
1667
+ item.applied ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__applied", role: "img", "aria-label": item.appliedLabel ?? "\u5F53\u524D\u4F7F\u7528", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "circle-check", variant: "filled", size: 32 }) }) : null,
1667
1668
  !collapsed ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__label", children: item.label }) : null,
1668
1669
  !collapsed && item.extra ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-menu__extra", children: item.extra }) : null,
1669
1670
  !collapsed && hasChildren ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { className: "sia-menu__expand-icon", name: "chevron-down", size: 13 }) : null
@@ -1712,6 +1713,7 @@ function Menu({
1712
1713
  gridColumns = 2,
1713
1714
  theme = "light",
1714
1715
  selectedKeys,
1716
+ autoScrollSelected = false,
1715
1717
  defaultSelectedKeys = [],
1716
1718
  openKeys,
1717
1719
  defaultOpenKeys = [],
@@ -1732,6 +1734,30 @@ function Menu({
1732
1734
  const rootRef = (0, import_react6.useRef)(null);
1733
1735
  const [selected, setSelected] = useControllableState({ value: selectedKeys, defaultValue: defaultSelectedKeys });
1734
1736
  const [open, setOpen] = useControllableState({ value: openKeys, defaultValue: defaultOpenKeys, onChange: (next) => onOpenChange?.([...next]) });
1737
+ const revealedKey = (0, import_react6.useRef)();
1738
+ const firstSelected = selected[0];
1739
+ (0, import_react6.useLayoutEffect)(() => {
1740
+ if (!autoScrollSelected || firstSelected === void 0) {
1741
+ revealedKey.current = void 0;
1742
+ return;
1743
+ }
1744
+ const root = rootRef.current;
1745
+ if (!root || revealedKey.current === firstSelected || mode === "horizontal") return;
1746
+ const reveal = () => {
1747
+ if (revealedKey.current === firstSelected || root.clientHeight === 0) return;
1748
+ const target = Array.from(root.querySelectorAll(".sia-menu__item")).find((element) => element.dataset.menuKey === firstSelected && element.getBoundingClientRect().height > 0);
1749
+ if (!target) return;
1750
+ const bounds = root.getBoundingClientRect(), item = target.getBoundingClientRect();
1751
+ const top = bounds.top + root.clientTop, bottom = top + root.clientHeight;
1752
+ if (item.top < top || item.bottom > bottom)
1753
+ root.scrollTop += item.top - top - Math.max(0, (root.clientHeight - item.height) / 2);
1754
+ revealedKey.current = firstSelected;
1755
+ };
1756
+ reveal();
1757
+ const observer = new ResizeObserver(reveal);
1758
+ observer.observe(root);
1759
+ return () => observer.disconnect();
1760
+ }, [autoScrollSelected, firstSelected, items, mode]);
1735
1761
  (0, import_react6.useEffect)(() => {
1736
1762
  if (mode === "inline" || !open.length) return void 0;
1737
1763
  const closeOutside = (event) => {
package/dist/core.css CHANGED
@@ -364,6 +364,18 @@ fieldset:disabled .sia-input-number__floating-placeholder {
364
364
  .sia-form--horizontal .sia-form-item__input-wrap > :is(.sia-radio, .sia-checkbox, .sia-radio-group, .sia-checkbox-group) {
365
365
  min-height: var(--sia-form-row-height);
366
366
  }
367
+ .sia-form--horizontal .sia-form-item--align-center {
368
+ align-items: center;
369
+ }
370
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__label {
371
+ padding-top: 0;
372
+ }
373
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__control > .sia-floating > .sia-form-item__input-wrap {
374
+ display: flex;
375
+ flex-direction: column;
376
+ justify-content: center;
377
+ min-height: var(--sia-form-row-height);
378
+ }
367
379
  }
368
380
  .sia-form.sia-form--vertical .sia-form-item__label {
369
381
  padding-top: 0;
@@ -5374,6 +5386,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5374
5386
  .sia-table__toolbar > div:last-child {
5375
5387
  flex-shrink: 0;
5376
5388
  flex-wrap: nowrap;
5389
+ gap: 4px;
5377
5390
  }
5378
5391
  .sia-tabs--horizontal > .sia-tabs__header > .sia-tabs__list {
5379
5392
  position: relative;
@@ -8254,9 +8267,9 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8254
8267
  transform: translateY(-50%);
8255
8268
  display: inline-flex;
8256
8269
  color: var(--sia-color-primary);
8257
- opacity: .18;
8270
+ opacity: .92;
8258
8271
  pointer-events: none;
8259
- z-index: -1;
8272
+ z-index: 1;
8260
8273
  }
8261
8274
  .sia-menu--grid,
8262
8275
  .sia-menu--grid .sia-menu__group > ul {
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, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-O6oDXbkG.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, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-CCb4CoSP.cjs';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-O_pNB3SQ.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-BAFXKVZB.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, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-uVaNwjTO.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, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-CJnRQZkv.js';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-BiL3Wjsd.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-vjX7B63I.js';
4
4
  import 'react';
package/dist/core.js CHANGED
@@ -11,15 +11,15 @@ import {
11
11
  Typography,
12
12
  Upload,
13
13
  message
14
- } from "./chunk-GNOZYUIH.js";
14
+ } from "./chunk-D2H37DUL.js";
15
15
  import "./chunk-RX242MUO.js";
16
16
  import {
17
17
  Select
18
- } from "./chunk-KPOK4HIQ.js";
18
+ } from "./chunk-7PPE6DJO.js";
19
19
  import {
20
20
  Input,
21
21
  Segmented
22
- } from "./chunk-SPIQSYWQ.js";
22
+ } from "./chunk-SATXB6X4.js";
23
23
  import "./chunk-SCEHVGKV.js";
24
24
  import {
25
25
  Icon,
package/dist/game.css CHANGED
@@ -373,6 +373,18 @@ fieldset:disabled .sia-input-number__floating-placeholder {
373
373
  .sia-form--horizontal .sia-form-item__input-wrap > :is(.sia-radio, .sia-checkbox, .sia-radio-group, .sia-checkbox-group) {
374
374
  min-height: var(--sia-form-row-height);
375
375
  }
376
+ .sia-form--horizontal .sia-form-item--align-center {
377
+ align-items: center;
378
+ }
379
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__label {
380
+ padding-top: 0;
381
+ }
382
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__control > .sia-floating > .sia-form-item__input-wrap {
383
+ display: flex;
384
+ flex-direction: column;
385
+ justify-content: center;
386
+ min-height: var(--sia-form-row-height);
387
+ }
376
388
  }
377
389
  .sia-form.sia-form--vertical .sia-form-item__label {
378
390
  padding-top: 0;
@@ -5383,6 +5395,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5383
5395
  .sia-table__toolbar > div:last-child {
5384
5396
  flex-shrink: 0;
5385
5397
  flex-wrap: nowrap;
5398
+ gap: 4px;
5386
5399
  }
5387
5400
  .sia-tabs--horizontal > .sia-tabs__header > .sia-tabs__list {
5388
5401
  position: relative;