@sia.soul/sia-react-ui 0.1.25 → 0.1.26

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/index.css CHANGED
@@ -2393,7 +2393,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2393
2393
  padding-inline: 16px;
2394
2394
  }
2395
2395
  .sia-message {
2396
- font-size: var(--sia-font-size, 16px);
2396
+ font-size: calc(var(--sia-font-size, 16px) - 1px);
2397
2397
  display: flex;
2398
2398
  align-items: center;
2399
2399
  gap: 9px;
@@ -6224,7 +6224,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
6224
6224
  width: max-content;
6225
6225
  overflow: hidden;
6226
6226
  color: var(--sia-color-text);
6227
- font-size: var(--sia-font-size);
6227
+ font-size: calc(var(--sia-font-size) + 1px);
6228
6228
  background: var(--sia-color-surface);
6229
6229
  border: 1px solid var(--sia-color-border);
6230
6230
  border-radius: 10px;
@@ -6236,7 +6236,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
6236
6236
  }
6237
6237
  .sia-time-panel .sia-date-panel__time > strong {
6238
6238
  font-variant-numeric: tabular-nums;
6239
- font-size: 15px;
6239
+ font-size: 16px;
6240
6240
  }
6241
6241
  .sia-time-panel .sia-date-panel__time-columns {
6242
6242
  grid-auto-columns: 64px;
@@ -6399,6 +6399,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
6399
6399
  }
6400
6400
  }
6401
6401
  .sia-date-panel {
6402
+ font-size: calc(1em + 1px);
6402
6403
  width: 282px;
6403
6404
  max-width: calc(100vw - 16px);
6404
6405
  max-height: min(640px, calc(100vh - 16px));
@@ -6502,7 +6503,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
6502
6503
  color: var(--sia-color-primary-text);
6503
6504
  background: color-mix(in srgb, var(--sia-color-primary) 10%, transparent);
6504
6505
  border-radius: 4px;
6505
- font-size: 11px;
6506
+ font-size: 12px;
6506
6507
  font-weight: 600;
6507
6508
  }
6508
6509
  .sia-date-panel__nav {
@@ -6645,9 +6646,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
6645
6646
  }
6646
6647
  .sia-date-panel__time-columns > div {
6647
6648
  height: 100%;
6648
- overflow: var(--sia-scroll-overflow, auto);
6649
+ overflow: auto;
6649
6650
  padding: 4px;
6650
- scrollbar-width: thin;
6651
6651
  }
6652
6652
  .sia-date-panel__time-columns > div + div {
6653
6653
  border-inline-start: 1px solid var(--sia-color-border);
@@ -9683,6 +9683,10 @@ button.sia-treemap__tile:focus-visible,
9683
9683
  text-align: center;
9684
9684
  color: var(--sia-color-text-secondary, #777);
9685
9685
  }
9686
+ .sia-date-panel button,
9687
+ .sia-time-panel button {
9688
+ font: inherit;
9689
+ }
9686
9690
 
9687
9691
  /* src/title-tooltip.css */
9688
9692
  body > .sia-title-tooltip[data-sia-popup-layer] {
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { T as TagStatus, B as BadgeProps } from './core-tbb9ZiBY.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 TagVariant, aA as Timeline, aB as TimelineItem, aC as TimelineProps, aD as Toolbar, aE as ToolbarItem, aF as ToolbarProps, aG as Tooltip, aH as TooltipProps, aI as Tour, aJ as TourProps, aK as TourStep, aL as Tree, aM as TreeDropPosition, aN as TreeKey, aO as TreeNode, aP as TreeProps, aQ as Typography, aR as TypographyLinkProps, aS as TypographyProps, aT as TypographyTitleProps, aU as TypographyType, aV as Upload, aW as UploadChangeInfo, aX as UploadDraggerProps, aY as UploadFile, aZ as UploadFileStatus, a_ as UploadProps, a$ as UploadRequestOptions, b0 as Watermark, b1 as WatermarkFont, b2 as WatermarkProps, b3 as message, b4 as notification } from './core-tbb9ZiBY.cjs';
1
+ import { T as TagStatus, B as BadgeProps } from './core-BM-wnJRa.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 TagVariant, aA as Timeline, aB as TimelineItem, aC as TimelineProps, aD as Toolbar, aE as ToolbarItem, aF as ToolbarProps, aG as Tooltip, aH as TooltipProps, aI as Tour, aJ as TourProps, aK as TourStep, aL as Tree, aM as TreeDropPosition, aN as TreeKey, aO as TreeNode, aP as TreeProps, aQ as Typography, aR as TypographyLinkProps, aS as TypographyProps, aT as TypographyTitleProps, aU as TypographyType, aV as Upload, aW as UploadChangeInfo, aX as UploadDraggerProps, aY as UploadFile, aZ as UploadFileStatus, a_ as UploadProps, a$ as UploadRequestOptions, b0 as Watermark, b1 as WatermarkFont, b2 as WatermarkProps, b3 as message, b4 as notification } from './core-BM-wnJRa.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';
6
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-W_xpkpOW.cjs';
7
- export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-W_xpkpOW.cjs';
8
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-C9w8z3G8.cjs';
6
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-YJbT-MF1.cjs';
7
+ export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-YJbT-MF1.cjs';
8
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-CtA-B8DB.cjs';
9
9
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.cjs';
10
10
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.cjs';
11
11
  import * as Monaco from 'monaco-editor';
@@ -163,8 +163,8 @@ interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultVal
163
163
  */
164
164
  showSearch?: boolean;
165
165
  /**
166
- 是否允许清空当前选择或输入值。
167
- * @defaultValue false
166
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
167
+ * @defaultValue true
168
168
  */
169
169
  allowClear?: boolean;
170
170
  /**
@@ -1093,8 +1093,8 @@ interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "default
1093
1093
  */
1094
1094
  disabled?: boolean;
1095
1095
  /**
1096
- 是否允许清空当前选择或输入值。
1097
- * @defaultValue false
1096
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
1097
+ * @defaultValue true
1098
1098
  */
1099
1099
  allowClear?: boolean;
1100
1100
  /**
@@ -1238,8 +1238,8 @@ interface TreeSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultV
1238
1238
  */
1239
1239
  showSearch?: boolean;
1240
1240
  /**
1241
- 是否允许清空当前选择或输入值。
1242
- * @defaultValue false
1241
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
1242
+ * @defaultValue true
1243
1243
  */
1244
1244
  allowClear?: boolean;
1245
1245
  /**
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { T as TagStatus, B as BadgeProps } from './core-BOzLwiXG.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 TagVariant, aA as Timeline, aB as TimelineItem, aC as TimelineProps, aD as Toolbar, aE as ToolbarItem, aF as ToolbarProps, aG as Tooltip, aH as TooltipProps, aI as Tour, aJ as TourProps, aK as TourStep, aL as Tree, aM as TreeDropPosition, aN as TreeKey, aO as TreeNode, aP as TreeProps, aQ as Typography, aR as TypographyLinkProps, aS as TypographyProps, aT as TypographyTitleProps, aU as TypographyType, aV as Upload, aW as UploadChangeInfo, aX as UploadDraggerProps, aY as UploadFile, aZ as UploadFileStatus, a_ as UploadProps, a$ as UploadRequestOptions, b0 as Watermark, b1 as WatermarkFont, b2 as WatermarkProps, b3 as message, b4 as notification } from './core-BOzLwiXG.js';
1
+ import { T as TagStatus, B as BadgeProps } from './core-CLqv6btD.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 TagVariant, aA as Timeline, aB as TimelineItem, aC as TimelineProps, aD as Toolbar, aE as ToolbarItem, aF as ToolbarProps, aG as Tooltip, aH as TooltipProps, aI as Tour, aJ as TourProps, aK as TourStep, aL as Tree, aM as TreeDropPosition, aN as TreeKey, aO as TreeNode, aP as TreeProps, aQ as Typography, aR as TypographyLinkProps, aS as TypographyProps, aT as TypographyTitleProps, aU as TypographyType, aV as Upload, aW as UploadChangeInfo, aX as UploadDraggerProps, aY as UploadFile, aZ as UploadFileStatus, a_ as UploadProps, a$ as UploadRequestOptions, b0 as Watermark, b1 as WatermarkFont, b2 as WatermarkProps, b3 as message, b4 as notification } from './core-CLqv6btD.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';
6
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-O_yY51vc.js';
7
- export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-O_yY51vc.js';
8
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-BjqFUeU6.js';
6
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-CCrPqULn.js';
7
+ export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-CCrPqULn.js';
8
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-D9W_mmMq.js';
9
9
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.js';
10
10
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.js';
11
11
  import * as Monaco from 'monaco-editor';
@@ -163,8 +163,8 @@ interface CascaderProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultVal
163
163
  */
164
164
  showSearch?: boolean;
165
165
  /**
166
- 是否允许清空当前选择或输入值。
167
- * @defaultValue false
166
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
167
+ * @defaultValue true
168
168
  */
169
169
  allowClear?: boolean;
170
170
  /**
@@ -1093,8 +1093,8 @@ interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "default
1093
1093
  */
1094
1094
  disabled?: boolean;
1095
1095
  /**
1096
- 是否允许清空当前选择或输入值。
1097
- * @defaultValue false
1096
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
1097
+ * @defaultValue true
1098
1098
  */
1099
1099
  allowClear?: boolean;
1100
1100
  /**
@@ -1238,8 +1238,8 @@ interface TreeSelectProps extends Omit<HTMLAttributes<HTMLDivElement>, "defaultV
1238
1238
  */
1239
1239
  showSearch?: boolean;
1240
1240
  /**
1241
- 是否允许清空当前选择或输入值。
1242
- * @defaultValue false
1241
+ * 是否允许清空当前选择或输入值;默认启用,显式传入 false 可关闭。
1242
+ * @defaultValue true
1243
1243
  */
1244
1244
  allowClear?: boolean;
1245
1245
  /**
package/dist/index.js CHANGED
@@ -80,7 +80,7 @@ import {
80
80
  Watermark,
81
81
  message,
82
82
  notification
83
- } from "./chunk-W52CNNWW.js";
83
+ } from "./chunk-NAOV53NK.js";
84
84
  import {
85
85
  TextArea
86
86
  } from "./chunk-YQDHCORW.js";
@@ -90,12 +90,12 @@ import {
90
90
  import {
91
91
  RichTextContent,
92
92
  RichTextEditor
93
- } from "./chunk-RWODH2LW.js";
93
+ } from "./chunk-LK56NX5F.js";
94
94
  import {
95
95
  DatePicker,
96
96
  SelectDateRange,
97
97
  TimePanel
98
- } from "./chunk-IYO2JSGQ.js";
98
+ } from "./chunk-IQU4GGLM.js";
99
99
  import {
100
100
  Checkbox,
101
101
  FloatingScrollbarProvider,
@@ -110,7 +110,7 @@ import {
110
110
  Tree,
111
111
  useOverlayLifecycle,
112
112
  useScrollbarProximity
113
- } from "./chunk-QCBKT5FV.js";
113
+ } from "./chunk-5MW3NE2V.js";
114
114
  import {
115
115
  Dropdown,
116
116
  FILLED_ICON_NAMES,
@@ -120,7 +120,7 @@ import {
120
120
  Menu,
121
121
  Segmented,
122
122
  Steps
123
- } from "./chunk-27ZYAKII.js";
123
+ } from "./chunk-YF2I6SDB.js";
124
124
  import {
125
125
  Button
126
126
  } from "./chunk-IYNS423D.js";
@@ -333,7 +333,7 @@ function Cascader({
333
333
  size: sizeProp,
334
334
  multiple = false,
335
335
  showSearch = false,
336
- allowClear = false,
336
+ allowClear = true,
337
337
  changeOnSelect = false,
338
338
  expandTrigger = "click",
339
339
  placeholder = "\u8BF7\u9009\u62E9",
@@ -2095,7 +2095,7 @@ function ColorPicker({
2095
2095
  defaultMode = "solid",
2096
2096
  modes = DEFAULT_MODES,
2097
2097
  disabled = false,
2098
- allowClear = false,
2098
+ allowClear = true,
2099
2099
  showText = false,
2100
2100
  showAlpha = false,
2101
2101
  presets,
@@ -2534,7 +2534,7 @@ function TreeSelect({
2534
2534
  multiple = false,
2535
2535
  treeCheckable = false,
2536
2536
  showSearch = false,
2537
- allowClear = false,
2537
+ allowClear = true,
2538
2538
  treeDefaultExpandAll = false,
2539
2539
  placeholder = "\u8BF7\u9009\u62E9",
2540
2540
  placeholderMode,
@@ -1653,7 +1653,7 @@ var Input = (0, import_react8.forwardRef)(function Input2({
1653
1653
  size: sizeProp,
1654
1654
  prefix,
1655
1655
  suffix,
1656
- allowClear = false,
1656
+ allowClear = true,
1657
1657
  onClear,
1658
1658
  showCount = false,
1659
1659
  placeholderMode,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  RichTextContent,
3
3
  RichTextEditor
4
- } from "./chunk-RWODH2LW.js";
5
- import "./chunk-27ZYAKII.js";
4
+ } from "./chunk-LK56NX5F.js";
5
+ import "./chunk-YF2I6SDB.js";
6
6
  import "./chunk-IYNS423D.js";
7
7
  import "./chunk-RAO3JHDL.js";
8
8
  export {
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { InputHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties } from 'react';
3
3
  import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
4
- import { S as SelectOption, m as SelectValue } from './Select-W_xpkpOW.cjs';
4
+ import { S as SelectOption, m as SelectValue } from './Select-YJbT-MF1.cjs';
5
5
 
6
6
  /** 日期选择附带的时间选择配置。 */
7
7
  type DatePickerShowTime = boolean | {
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { InputHTMLAttributes, ReactNode, HTMLAttributes, CSSProperties } from 'react';
3
3
  import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-Bx4B28Wh.js';
4
- import { S as SelectOption, m as SelectValue } from './Select-O_yY51vc.js';
4
+ import { S as SelectOption, m as SelectValue } from './Select-CCrPqULn.js';
5
5
 
6
6
  /** 日期选择附带的时间选择配置。 */
7
7
  type DatePickerShowTime = boolean | {