@sia.soul/sia-react-ui 0.1.97 → 0.1.99

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.
@@ -2074,6 +2074,26 @@ var FloatButton2 = Object.assign(FloatButtonRoot, {
2074
2074
  BackTop: FloatButtonBackTop
2075
2075
  });
2076
2076
 
2077
+ // src/components/Result.tsx
2078
+ import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
2079
+ var icons = {
2080
+ success: "circle-check",
2081
+ error: "circle-close",
2082
+ info: "info",
2083
+ warning: "warning"
2084
+ };
2085
+ function Result({ status = "info", title, subTitle, icon, extra, children, className = "", ...props }) {
2086
+ const resultIcon = icon === void 0 ? /* @__PURE__ */ jsx12(Icon, { name: icons[status], size: 72, variant: "filled" }) : icon;
2087
+ const present = (value) => value !== void 0 && value !== null && value !== false;
2088
+ return /* @__PURE__ */ jsxs12("div", { ...props, className: `sia-result sia-result--${status} ${className}`.trim(), children: [
2089
+ present(resultIcon) && /* @__PURE__ */ jsx12("div", { className: "sia-result__icon", "aria-hidden": "true", children: resultIcon }),
2090
+ present(title) && /* @__PURE__ */ jsx12("div", { className: "sia-result__title", children: title }),
2091
+ present(subTitle) && /* @__PURE__ */ jsx12("div", { className: "sia-result__subtitle", children: subTitle }),
2092
+ present(children) && /* @__PURE__ */ jsx12("div", { className: "sia-result__content", children }),
2093
+ present(extra) && /* @__PURE__ */ jsx12("div", { className: "sia-result__extra", children: extra })
2094
+ ] });
2095
+ }
2096
+
2077
2097
  export {
2078
2098
  Toolbar,
2079
2099
  Card,
@@ -2096,5 +2116,6 @@ export {
2096
2116
  Upload,
2097
2117
  Breadcrumb,
2098
2118
  Typography,
2099
- FloatButton2 as FloatButton
2119
+ FloatButton2 as FloatButton,
2120
+ Result
2100
2121
  };
@@ -2354,4 +2354,24 @@ declare const FloatButton: react.ForwardRefExoticComponent<FloatButtonProps & re
2354
2354
  BackTop: typeof FloatButtonBackTop;
2355
2355
  };
2356
2356
 
2357
- export { type MenuTheme 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, type FloatingTrigger as I, ICON_NAMES as J, Icon as K, type IconName as L, type IconProps as M, type IconVariant as N, Image as O, ImagePreview as P, type ImagePreviewConfig as Q, type ImagePreviewProps as R, type ImageProps as S, type TagStatus as T, Input as U, type InputProps as V, Menu as W, type MenuClickInfo as X, type MenuItem as Y, type MenuMode as Z, type MenuProps as _, Badge as a, type UploadHttpRequest as a$, type MessageConfig as a0, type MessageHandle as a1, type MessageKey as a2, type MessageType as a3, type NotificationConfig as a4, type NotificationPlacement as a5, type NotificationType as a6, Popconfirm as a7, type PopconfirmProps as a8, Popover as a9, type TagVariant as aA, Timeline as aB, type TimelineItem as aC, type TimelineProps as aD, Toolbar as aE, type ToolbarItem as aF, type ToolbarProps as aG, Tooltip as aH, type TooltipProps as aI, Tour as aJ, type TourProps as aK, type TourStep as aL, Tree as aM, type TreeDropPosition as aN, type TreeKey as aO, type TreeNode as aP, type TreeProps as aQ, Typography as aR, type TypographyLinkProps as aS, type TypographyProps as aT, type TypographyTitleProps as aU, type TypographyType as aV, Upload as aW, type UploadChangeInfo as aX, type UploadDraggerProps as aY, type UploadFile as aZ, type UploadFileStatus as a_, type PopoverProps as aa, Progress as ab, type ProgressProps as ac, type ProgressStatus as ad, Rate as ae, type RateProps as af, Segmented as ag, type SegmentedOption as ah, type SegmentedProps as ai, type SegmentedValue as aj, Spin as ak, type SpinProps as al, type StepItem as am, type StepStatus as an, Steps as ao, type StepsProps as ap, type TabItem as aq, Tabs as ar, type TabsContextMenuClickInfo as as, type TabsOrientation as at, type TabsPosition as au, type TabsProps as av, type TabsType as aw, Tag as ax, type TagProps as ay, type TagSize as az, type BadgeRibbonProps as b, type UploadItemActions as b0, type UploadProps as b1, type UploadRef as b2, type UploadRejectInfo as b3, type UploadRequestHandle as b4, type UploadRequestOptions as b5, Watermark as b6, type WatermarkFont as b7, type WatermarkProps as b8, message as b9, notification as ba, 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 };
2357
+ /** 结果页的语义状态,决定默认图标及其颜色。 */
2358
+ type ResultStatus = "success" | "error" | "info" | "warning";
2359
+ /** 操作结果展示的属性;不执行请求,不自动生成重试或返回操作。 */
2360
+ interface ResultProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2361
+ /** 状态图标的语义与颜色;不改变业务执行结果。默认 info。 */
2362
+ status?: ResultStatus;
2363
+ /** 结果标题,可传入文本或节点;未传时不占据标题空间。 */
2364
+ title?: ReactNode;
2365
+ /** 标题下的补充说明;长文本自动换行。 */
2366
+ subTitle?: ReactNode;
2367
+ /** 替换默认状态图标;null 或 false 隐藏图标及其占位,undefined 使用状态图标。 */
2368
+ icon?: ReactNode;
2369
+ /** 结果操作区,通常传入 Button;操作行为和加载状态由调用方管理。 */
2370
+ extra?: ReactNode;
2371
+ /** 补充详情,显示在说明之后、操作区之前;不自动添加边框。 */
2372
+ children?: ReactNode;
2373
+ }
2374
+ /** 用于导入、提交等操作完成后的结果展示,支持自定义图标、详情和操作。 */
2375
+ declare function Result({ status, title, subTitle, icon, extra, children, className, ...props }: ResultProps): react.JSX.Element;
2376
+
2377
+ export { type MenuTheme 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, type FloatingTrigger as I, ICON_NAMES as J, Icon as K, type IconName as L, type IconProps as M, type IconVariant as N, Image as O, ImagePreview as P, type ImagePreviewConfig as Q, type ImagePreviewProps as R, type ImageProps as S, type TagStatus as T, Input as U, type InputProps as V, Menu as W, type MenuClickInfo as X, type MenuItem as Y, type MenuMode as Z, type MenuProps as _, Badge as a, type UploadDraggerProps as a$, type MessageConfig as a0, type MessageHandle as a1, type MessageKey as a2, type MessageType as a3, type NotificationConfig as a4, type NotificationPlacement as a5, type NotificationType as a6, Popconfirm as a7, type PopconfirmProps as a8, Popover as a9, Tag as aA, type TagProps as aB, type TagSize as aC, type TagVariant as aD, Timeline as aE, type TimelineItem as aF, type TimelineProps as aG, Toolbar as aH, type ToolbarItem as aI, type ToolbarProps as aJ, Tooltip as aK, type TooltipProps as aL, Tour as aM, type TourProps as aN, type TourStep as aO, Tree as aP, type TreeDropPosition as aQ, type TreeKey as aR, type TreeNode as aS, type TreeProps as aT, Typography as aU, type TypographyLinkProps as aV, type TypographyProps as aW, type TypographyTitleProps as aX, type TypographyType as aY, Upload as aZ, type UploadChangeInfo as a_, type PopoverProps as aa, Progress as ab, type ProgressProps as ac, type ProgressStatus as ad, Rate as ae, type RateProps as af, Result as ag, type ResultProps as ah, type ResultStatus as ai, Segmented as aj, type SegmentedOption as ak, type SegmentedProps as al, type SegmentedValue as am, Spin as an, type SpinProps as ao, type StepItem as ap, type StepStatus as aq, Steps as ar, type StepsProps as as, type TabItem as at, Tabs as au, type TabsContextMenuClickInfo as av, type TabsOrientation as aw, type TabsPosition as ax, type TabsProps as ay, type TabsType as az, type BadgeRibbonProps as b, type UploadFile as b0, type UploadFileStatus as b1, type UploadHttpRequest as b2, type UploadItemActions as b3, type UploadProps as b4, type UploadRef as b5, type UploadRejectInfo as b6, type UploadRequestHandle as b7, type UploadRequestOptions as b8, Watermark as b9, type WatermarkFont as ba, type WatermarkProps as bb, message as bc, notification as bd, 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 };
@@ -2354,4 +2354,24 @@ declare const FloatButton: react.ForwardRefExoticComponent<FloatButtonProps & re
2354
2354
  BackTop: typeof FloatButtonBackTop;
2355
2355
  };
2356
2356
 
2357
- export { type MenuTheme 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, type FloatingTrigger as I, ICON_NAMES as J, Icon as K, type IconName as L, type IconProps as M, type IconVariant as N, Image as O, ImagePreview as P, type ImagePreviewConfig as Q, type ImagePreviewProps as R, type ImageProps as S, type TagStatus as T, Input as U, type InputProps as V, Menu as W, type MenuClickInfo as X, type MenuItem as Y, type MenuMode as Z, type MenuProps as _, Badge as a, type UploadHttpRequest as a$, type MessageConfig as a0, type MessageHandle as a1, type MessageKey as a2, type MessageType as a3, type NotificationConfig as a4, type NotificationPlacement as a5, type NotificationType as a6, Popconfirm as a7, type PopconfirmProps as a8, Popover as a9, type TagVariant as aA, Timeline as aB, type TimelineItem as aC, type TimelineProps as aD, Toolbar as aE, type ToolbarItem as aF, type ToolbarProps as aG, Tooltip as aH, type TooltipProps as aI, Tour as aJ, type TourProps as aK, type TourStep as aL, Tree as aM, type TreeDropPosition as aN, type TreeKey as aO, type TreeNode as aP, type TreeProps as aQ, Typography as aR, type TypographyLinkProps as aS, type TypographyProps as aT, type TypographyTitleProps as aU, type TypographyType as aV, Upload as aW, type UploadChangeInfo as aX, type UploadDraggerProps as aY, type UploadFile as aZ, type UploadFileStatus as a_, type PopoverProps as aa, Progress as ab, type ProgressProps as ac, type ProgressStatus as ad, Rate as ae, type RateProps as af, Segmented as ag, type SegmentedOption as ah, type SegmentedProps as ai, type SegmentedValue as aj, Spin as ak, type SpinProps as al, type StepItem as am, type StepStatus as an, Steps as ao, type StepsProps as ap, type TabItem as aq, Tabs as ar, type TabsContextMenuClickInfo as as, type TabsOrientation as at, type TabsPosition as au, type TabsProps as av, type TabsType as aw, Tag as ax, type TagProps as ay, type TagSize as az, type BadgeRibbonProps as b, type UploadItemActions as b0, type UploadProps as b1, type UploadRef as b2, type UploadRejectInfo as b3, type UploadRequestHandle as b4, type UploadRequestOptions as b5, Watermark as b6, type WatermarkFont as b7, type WatermarkProps as b8, message as b9, notification as ba, 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 };
2357
+ /** 结果页的语义状态,决定默认图标及其颜色。 */
2358
+ type ResultStatus = "success" | "error" | "info" | "warning";
2359
+ /** 操作结果展示的属性;不执行请求,不自动生成重试或返回操作。 */
2360
+ interface ResultProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2361
+ /** 状态图标的语义与颜色;不改变业务执行结果。默认 info。 */
2362
+ status?: ResultStatus;
2363
+ /** 结果标题,可传入文本或节点;未传时不占据标题空间。 */
2364
+ title?: ReactNode;
2365
+ /** 标题下的补充说明;长文本自动换行。 */
2366
+ subTitle?: ReactNode;
2367
+ /** 替换默认状态图标;null 或 false 隐藏图标及其占位,undefined 使用状态图标。 */
2368
+ icon?: ReactNode;
2369
+ /** 结果操作区,通常传入 Button;操作行为和加载状态由调用方管理。 */
2370
+ extra?: ReactNode;
2371
+ /** 补充详情,显示在说明之后、操作区之前;不自动添加边框。 */
2372
+ children?: ReactNode;
2373
+ }
2374
+ /** 用于导入、提交等操作完成后的结果展示,支持自定义图标、详情和操作。 */
2375
+ declare function Result({ status, title, subTitle, icon, extra, children, className, ...props }: ResultProps): react.JSX.Element;
2376
+
2377
+ export { type MenuTheme 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, type FloatingTrigger as I, ICON_NAMES as J, Icon as K, type IconName as L, type IconProps as M, type IconVariant as N, Image as O, ImagePreview as P, type ImagePreviewConfig as Q, type ImagePreviewProps as R, type ImageProps as S, type TagStatus as T, Input as U, type InputProps as V, Menu as W, type MenuClickInfo as X, type MenuItem as Y, type MenuMode as Z, type MenuProps as _, Badge as a, type UploadDraggerProps as a$, type MessageConfig as a0, type MessageHandle as a1, type MessageKey as a2, type MessageType as a3, type NotificationConfig as a4, type NotificationPlacement as a5, type NotificationType as a6, Popconfirm as a7, type PopconfirmProps as a8, Popover as a9, Tag as aA, type TagProps as aB, type TagSize as aC, type TagVariant as aD, Timeline as aE, type TimelineItem as aF, type TimelineProps as aG, Toolbar as aH, type ToolbarItem as aI, type ToolbarProps as aJ, Tooltip as aK, type TooltipProps as aL, Tour as aM, type TourProps as aN, type TourStep as aO, Tree as aP, type TreeDropPosition as aQ, type TreeKey as aR, type TreeNode as aS, type TreeProps as aT, Typography as aU, type TypographyLinkProps as aV, type TypographyProps as aW, type TypographyTitleProps as aX, type TypographyType as aY, Upload as aZ, type UploadChangeInfo as a_, type PopoverProps as aa, Progress as ab, type ProgressProps as ac, type ProgressStatus as ad, Rate as ae, type RateProps as af, Result as ag, type ResultProps as ah, type ResultStatus as ai, Segmented as aj, type SegmentedOption as ak, type SegmentedProps as al, type SegmentedValue as am, Spin as an, type SpinProps as ao, type StepItem as ap, type StepStatus as aq, Steps as ar, type StepsProps as as, type TabItem as at, Tabs as au, type TabsContextMenuClickInfo as av, type TabsOrientation as aw, type TabsPosition as ax, type TabsProps as ay, type TabsType as az, type BadgeRibbonProps as b, type UploadFile as b0, type UploadFileStatus as b1, type UploadHttpRequest as b2, type UploadItemActions as b3, type UploadProps as b4, type UploadRef as b5, type UploadRejectInfo as b6, type UploadRequestHandle as b7, type UploadRequestOptions as b8, Watermark as b9, type WatermarkFont as ba, type WatermarkProps as bb, message as bc, notification as bd, 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
@@ -29,6 +29,7 @@ __export(core_exports, {
29
29
  Input: () => Input,
30
30
  Modal: () => Modal2,
31
31
  Progress: () => Progress,
32
+ Result: () => Result,
32
33
  Segmented: () => Segmented,
33
34
  Select: () => Select,
34
35
  Tabs: () => Tabs,
@@ -5658,6 +5659,26 @@ var FloatButton2 = Object.assign(FloatButtonRoot, {
5658
5659
  /** 滚动超过指定距离后显示的返回顶部按钮。 */
5659
5660
  BackTop: FloatButtonBackTop
5660
5661
  });
5662
+
5663
+ // src/components/Result.tsx
5664
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5665
+ var icons = {
5666
+ success: "circle-check",
5667
+ error: "circle-close",
5668
+ info: "info",
5669
+ warning: "warning"
5670
+ };
5671
+ function Result({ status = "info", title, subTitle, icon, extra, children, className = "", ...props }) {
5672
+ const resultIcon = icon === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { name: icons[status], size: 72, variant: "filled" }) : icon;
5673
+ const present = (value) => value !== void 0 && value !== null && value !== false;
5674
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { ...props, className: `sia-result sia-result--${status} ${className}`.trim(), children: [
5675
+ present(resultIcon) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "sia-result__icon", "aria-hidden": "true", children: resultIcon }),
5676
+ present(title) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "sia-result__title", children: title }),
5677
+ present(subTitle) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "sia-result__subtitle", children: subTitle }),
5678
+ present(children) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "sia-result__content", children }),
5679
+ present(extra) && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "sia-result__extra", children: extra })
5680
+ ] });
5681
+ }
5661
5682
  // Annotate the CommonJS export names for ESM import in node:
5662
5683
  0 && (module.exports = {
5663
5684
  Breadcrumb,
@@ -5669,6 +5690,7 @@ var FloatButton2 = Object.assign(FloatButtonRoot, {
5669
5690
  Input,
5670
5691
  Modal,
5671
5692
  Progress,
5693
+ Result,
5672
5694
  Segmented,
5673
5695
  Select,
5674
5696
  Tabs,
package/dist/core.css CHANGED
@@ -2052,7 +2052,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2052
2052
  height: calc(var(--sia-switch-height, 22px) - 4px);
2053
2053
  background-color: #fff;
2054
2054
  border-radius: 999px;
2055
- box-shadow: 0 1px 2px rgb(0 0 0 / 35%);
2055
+ box-shadow: 0 2px 4px rgb(0 35 11 / 20%);
2056
2056
  transition: left 160ms ease, width 160ms ease;
2057
2057
  }
2058
2058
  .sia-switch-input:checked + .sia-switch--standard {
@@ -11072,3 +11072,53 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
11072
11072
  animation: none;
11073
11073
  }
11074
11074
  }
11075
+
11076
+ /* src/components/result.css */
11077
+ .sia-result {
11078
+ padding: 48px 32px;
11079
+ min-width: 0;
11080
+ text-align: center;
11081
+ color: var(--sia-color-text);
11082
+ overflow-wrap: anywhere;
11083
+ }
11084
+ .sia-result__icon {
11085
+ display: flex;
11086
+ justify-content: center;
11087
+ margin-bottom: 24px;
11088
+ color: var(--sia-color-primary);
11089
+ }
11090
+ .sia-result--success .sia-result__icon {
11091
+ color: var(--sia-color-success, #52c41a);
11092
+ }
11093
+ .sia-result--error .sia-result__icon {
11094
+ color: var(--sia-color-danger, #ff4d4f);
11095
+ }
11096
+ .sia-result--warning .sia-result__icon {
11097
+ color: var(--sia-color-warning, #faad14);
11098
+ }
11099
+ .sia-result__title {
11100
+ font-size: 24px;
11101
+ line-height: 1.35;
11102
+ }
11103
+ .sia-result__subtitle {
11104
+ margin-top: 8px;
11105
+ font-size: 14px;
11106
+ line-height: 1.6;
11107
+ color: var(--sia-color-text-secondary);
11108
+ }
11109
+ .sia-result__content {
11110
+ margin-top: 24px;
11111
+ text-align: start;
11112
+ }
11113
+ .sia-result__extra {
11114
+ display: flex;
11115
+ flex-wrap: wrap;
11116
+ justify-content: center;
11117
+ gap: 8px;
11118
+ margin-top: 24px;
11119
+ }
11120
+ @media (max-width: 480px) {
11121
+ .sia-result {
11122
+ padding: 32px 16px;
11123
+ }
11124
+ }
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 Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-CkK9RRi0.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-BTmyjw4F.cjs';
2
2
  export { f as Button, B as ButtonProps, e as ButtonSize, g as ButtonVariant, h as Modal, d as ModalActionResult, M as ModalOpenConfig, i as ModalProps, j as ModalType, a as OverlayApiHandle, k as Select, S as SelectOption, c as SelectProps, m as SelectValue } from './Select-DQpfyK7I.cjs';
3
3
  import 'react';
4
4
  import './shared-Bx4B28Wh.cjs';
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 Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, aq as TabItem, ar as Tabs, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, T as TagStatus, aA as TagVariant, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, b1 as UploadProps, b5 as UploadRequestOptions, b9 as message } from './core-uAx1caJB.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-Bn1emNZn.js';
2
2
  export { f as Button, B as ButtonProps, e as ButtonSize, g as ButtonVariant, h as Modal, d as ModalActionResult, M as ModalOpenConfig, i as ModalProps, j as ModalType, a as OverlayApiHandle, k as Select, S as SelectOption, c as SelectProps, m as SelectValue } from './Select-DmT9pFRW.js';
3
3
  import 'react';
4
4
  import './shared-Bx4B28Wh.js';
package/dist/core.js CHANGED
@@ -4,13 +4,14 @@ import {
4
4
  Collapse,
5
5
  FloatButton,
6
6
  Progress,
7
+ Result,
7
8
  Tabs,
8
9
  Tag,
9
10
  Toolbar,
10
11
  Typography,
11
12
  Upload,
12
13
  message
13
- } from "./chunk-FGGBNWBT.js";
14
+ } from "./chunk-67Q2GI3D.js";
14
15
  import {
15
16
  Select
16
17
  } from "./chunk-DJTV4X6L.js";
@@ -34,6 +35,7 @@ export {
34
35
  Input,
35
36
  Modal,
36
37
  Progress,
38
+ Result,
37
39
  Segmented,
38
40
  Select,
39
41
  Tabs,
package/dist/index.cjs CHANGED
@@ -106,6 +106,7 @@ __export(index_exports, {
106
106
  RadarChart: () => RadarChart,
107
107
  Radio: () => Radio2,
108
108
  Rate: () => Rate,
109
+ Result: () => Result,
109
110
  RichTextContent: () => RichTextContent,
110
111
  RichTextEditor: () => RichTextEditor,
111
112
  Row: () => Row,
@@ -25169,6 +25170,26 @@ var NumberRange = (0, import_react98.forwardRef)(function NumberRange2({
25169
25170
  }
25170
25171
  );
25171
25172
  });
25173
+
25174
+ // src/components/Result.tsx
25175
+ var import_jsx_runtime95 = require("react/jsx-runtime");
25176
+ var icons = {
25177
+ success: "circle-check",
25178
+ error: "circle-close",
25179
+ info: "info",
25180
+ warning: "warning"
25181
+ };
25182
+ function Result({ status = "info", title, subTitle, icon, extra, children, className = "", ...props }) {
25183
+ const resultIcon = icon === void 0 ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Icon, { name: icons[status], size: 72, variant: "filled" }) : icon;
25184
+ const present = (value) => value !== void 0 && value !== null && value !== false;
25185
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { ...props, className: `sia-result sia-result--${status} ${className}`.trim(), children: [
25186
+ present(resultIcon) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "sia-result__icon", "aria-hidden": "true", children: resultIcon }),
25187
+ present(title) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "sia-result__title", children: title }),
25188
+ present(subTitle) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "sia-result__subtitle", children: subTitle }),
25189
+ present(children) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "sia-result__content", children }),
25190
+ present(extra) && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "sia-result__extra", children: extra })
25191
+ ] });
25192
+ }
25172
25193
  // Annotate the CommonJS export names for ESM import in node:
25173
25194
  0 && (module.exports = {
25174
25195
  Alert,
@@ -25247,6 +25268,7 @@ var NumberRange = (0, import_react98.forwardRef)(function NumberRange2({
25247
25268
  RadarChart,
25248
25269
  Radio,
25249
25270
  Rate,
25271
+ Result,
25250
25272
  RichTextContent,
25251
25273
  RichTextEditor,
25252
25274
  Row,
package/dist/index.css CHANGED
@@ -2052,7 +2052,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2052
2052
  height: calc(var(--sia-switch-height, 22px) - 4px);
2053
2053
  background-color: #fff;
2054
2054
  border-radius: 999px;
2055
- box-shadow: 0 1px 2px rgb(0 0 0 / 35%);
2055
+ box-shadow: 0 2px 4px rgb(0 35 11 / 20%);
2056
2056
  transition: left 160ms ease, width 160ms ease;
2057
2057
  }
2058
2058
  .sia-switch-input:checked + .sia-switch--standard {
@@ -12112,3 +12112,53 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
12112
12112
  .sia-chart__mark:focus > .sia-chart__mixed-hollow-symbol {
12113
12113
  stroke-width: 4;
12114
12114
  }
12115
+
12116
+ /* src/components/result.css */
12117
+ .sia-result {
12118
+ padding: 48px 32px;
12119
+ min-width: 0;
12120
+ text-align: center;
12121
+ color: var(--sia-color-text);
12122
+ overflow-wrap: anywhere;
12123
+ }
12124
+ .sia-result__icon {
12125
+ display: flex;
12126
+ justify-content: center;
12127
+ margin-bottom: 24px;
12128
+ color: var(--sia-color-primary);
12129
+ }
12130
+ .sia-result--success .sia-result__icon {
12131
+ color: var(--sia-color-success, #52c41a);
12132
+ }
12133
+ .sia-result--error .sia-result__icon {
12134
+ color: var(--sia-color-danger, #ff4d4f);
12135
+ }
12136
+ .sia-result--warning .sia-result__icon {
12137
+ color: var(--sia-color-warning, #faad14);
12138
+ }
12139
+ .sia-result__title {
12140
+ font-size: 24px;
12141
+ line-height: 1.35;
12142
+ }
12143
+ .sia-result__subtitle {
12144
+ margin-top: 8px;
12145
+ font-size: 14px;
12146
+ line-height: 1.6;
12147
+ color: var(--sia-color-text-secondary);
12148
+ }
12149
+ .sia-result__content {
12150
+ margin-top: 24px;
12151
+ text-align: start;
12152
+ }
12153
+ .sia-result__extra {
12154
+ display: flex;
12155
+ flex-wrap: wrap;
12156
+ justify-content: center;
12157
+ gap: 8px;
12158
+ margin-top: 24px;
12159
+ }
12160
+ @media (max-width: 480px) {
12161
+ .sia-result {
12162
+ padding: 32px 16px;
12163
+ }
12164
+ }
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TagStatus, B as BadgeProps } from './core-CkK9RRi0.cjs';
2
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, ak as Spin, al as SpinProps, am as StepItem, an as StepStatus, ao as Steps, ap as StepsProps, aq as TabItem, ar as Tabs, as as TabsContextMenuClickInfo, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, aA as TagVariant, aB as Timeline, aC as TimelineItem, aD as TimelineProps, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aH as Tooltip, aI as TooltipProps, aJ as Tour, aK as TourProps, aL as TourStep, aM as Tree, aN as TreeDropPosition, aO as TreeKey, aP as TreeNode, aQ as TreeProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, a$ as UploadHttpRequest, b0 as UploadItemActions, b1 as UploadProps, b2 as UploadRef, b3 as UploadRejectInfo, b4 as UploadRequestHandle, b5 as UploadRequestOptions, b6 as Watermark, b7 as WatermarkFont, b8 as WatermarkProps, b9 as message, ba as notification } from './core-CkK9RRi0.cjs';
1
+ import { T as TagStatus, B as BadgeProps } from './core-BTmyjw4F.cjs';
2
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-BTmyjw4F.cjs';
3
3
  import * as react from 'react';
4
4
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as TagStatus, B as BadgeProps } from './core-uAx1caJB.js';
2
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Segmented, ah as SegmentedOption, ai as SegmentedProps, aj as SegmentedValue, ak as Spin, al as SpinProps, am as StepItem, an as StepStatus, ao as Steps, ap as StepsProps, aq as TabItem, ar as Tabs, as as TabsContextMenuClickInfo, at as TabsOrientation, au as TabsPosition, av as TabsProps, aw as TabsType, ax as Tag, ay as TagProps, az as TagSize, aA as TagVariant, aB as Timeline, aC as TimelineItem, aD as TimelineProps, aE as Toolbar, aF as ToolbarItem, aG as ToolbarProps, aH as Tooltip, aI as TooltipProps, aJ as Tour, aK as TourProps, aL as TourStep, aM as Tree, aN as TreeDropPosition, aO as TreeKey, aP as TreeNode, aQ as TreeProps, aR as Typography, aS as TypographyLinkProps, aT as TypographyProps, aU as TypographyTitleProps, aV as TypographyType, aW as Upload, aX as UploadChangeInfo, aY as UploadDraggerProps, aZ as UploadFile, a_ as UploadFileStatus, a$ as UploadHttpRequest, b0 as UploadItemActions, b1 as UploadProps, b2 as UploadRef, b3 as UploadRejectInfo, b4 as UploadRequestHandle, b5 as UploadRequestOptions, b6 as Watermark, b7 as WatermarkFont, b8 as WatermarkProps, b9 as message, ba as notification } from './core-uAx1caJB.js';
1
+ import { T as TagStatus, B as BadgeProps } from './core-Bn1emNZn.js';
2
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-Bn1emNZn.js';
3
3
  import * as react from 'react';
4
4
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
package/dist/index.js CHANGED
@@ -70,6 +70,7 @@ import {
70
70
  Popconfirm,
71
71
  Progress,
72
72
  Rate,
73
+ Result,
73
74
  Spin,
74
75
  Tabs,
75
76
  Tag,
@@ -80,7 +81,7 @@ import {
80
81
  Watermark,
81
82
  message,
82
83
  notification
83
- } from "./chunk-FGGBNWBT.js";
84
+ } from "./chunk-67Q2GI3D.js";
84
85
  import {
85
86
  MarkdownEditor
86
87
  } from "./chunk-TUXNOSCT.js";
@@ -9852,6 +9853,7 @@ export {
9852
9853
  RadarChart,
9853
9854
  Radio2 as Radio,
9854
9855
  Rate,
9856
+ Result,
9855
9857
  RichTextContent,
9856
9858
  RichTextEditor,
9857
9859
  Row,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sia.soul/sia-react-ui",
3
- "version": "0.1.97",
3
+ "version": "0.1.99",
4
4
  "description": "Sia Design components and tokens for React",
5
5
  "publishConfig": {
6
6
  "access": "public",