@sia.soul/sia-react-ui 0.1.20 → 0.1.22
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/Select-4hGJt3RJ.d.cts +142 -0
- package/dist/Select-BNSE67xn.d.ts +142 -0
- package/dist/chart.d.cts +2498 -0
- package/dist/chart.d.ts +2498 -0
- package/dist/{chunk-4HB6GC24.js → chunk-3TRRBMXY.js} +37 -8
- package/dist/{chunk-3RWL67CK.js → chunk-7RNS52YG.js} +38 -5
- package/dist/{chunk-SUMXP2SF.js → chunk-KLI65JVD.js} +12 -4
- package/dist/{chunk-I3EF5SF2.js → chunk-RWGSZW32.js} +1 -1
- package/dist/{chunk-LO3BUBWU.js → chunk-VN6PIPP7.js} +2 -2
- package/dist/{core-CdoVqv0o.d.ts → core-C5OnrCi4.d.cts} +1207 -3
- package/dist/{core-CM79w-7A.d.cts → core-DeZknKwc.d.ts} +1207 -3
- package/dist/core.cjs +77 -13
- package/dist/core.css +29 -5
- package/dist/core.d.cts +3 -3
- package/dist/core.d.ts +3 -3
- package/dist/core.js +3 -3
- package/dist/index.cjs +167 -25
- package/dist/index.css +29 -5
- package/dist/index.d.cts +1697 -8
- package/dist/index.d.ts +1697 -8
- package/dist/index.js +89 -17
- package/dist/markdown-editor.d.cts +41 -1
- package/dist/markdown-editor.d.ts +41 -1
- package/dist/rich-text-editor.cjs +11 -3
- package/dist/rich-text-editor.d.cts +46 -1
- package/dist/rich-text-editor.d.ts +46 -1
- package/dist/rich-text-editor.js +2 -2
- package/dist/{select-date-range-4tEYkA5O.d.cts → select-date-range-CGRb3-W8.d.ts} +116 -2
- package/dist/{select-date-range-D-ynrB5k.d.ts → select-date-range-DDmYGDD4.d.cts} +116 -2
- package/dist/select-date-range.cjs +36 -7
- package/dist/select-date-range.d.cts +3 -3
- package/dist/select-date-range.d.ts +3 -3
- package/dist/select-date-range.js +3 -3
- package/dist/{shared-DAYZvZVu.d.cts → shared-Bx4B28Wh.d.cts} +3 -0
- package/dist/{shared-DAYZvZVu.d.ts → shared-Bx4B28Wh.d.ts} +3 -0
- package/package.json +1 -1
- package/dist/Select-Cz3hzQl_.d.ts +0 -57
- package/dist/Select-Da9CLN0X.d.cts +0 -57
package/dist/core.cjs
CHANGED
|
@@ -1368,6 +1368,7 @@ function DropdownRoot({
|
|
|
1368
1368
|
open,
|
|
1369
1369
|
defaultOpen = false,
|
|
1370
1370
|
disabled = false,
|
|
1371
|
+
showTriggerIcon = true,
|
|
1371
1372
|
arrow = false,
|
|
1372
1373
|
autoFocus = false,
|
|
1373
1374
|
openDelay = 80,
|
|
@@ -1528,6 +1529,10 @@ function DropdownRoot({
|
|
|
1528
1529
|
className: "sia-dropdown__menu"
|
|
1529
1530
|
}
|
|
1530
1531
|
);
|
|
1532
|
+
const triggerNode = showTriggerIcon && (0, import_react7.isValidElement)(children) && children.type === Button && children.props.children !== void 0 && children.props.children !== null ? (0, import_react7.cloneElement)(children, {}, /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "sia-dropdown__trigger-content", children: [
|
|
1533
|
+
children.props.children,
|
|
1534
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { name: "chevron-down", size: 14, className: "sia-dropdown__trigger-icon" })
|
|
1535
|
+
] })) : children;
|
|
1531
1536
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
1532
1537
|
"span",
|
|
1533
1538
|
{
|
|
@@ -1543,7 +1548,7 @@ function DropdownRoot({
|
|
|
1543
1548
|
onKeyDown: handleKeyDown,
|
|
1544
1549
|
...props,
|
|
1545
1550
|
children: [
|
|
1546
|
-
|
|
1551
|
+
triggerNode,
|
|
1547
1552
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1548
1553
|
"span",
|
|
1549
1554
|
{
|
|
@@ -1590,7 +1595,7 @@ function DropdownButton({
|
|
|
1590
1595
|
}) {
|
|
1591
1596
|
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: `sia-dropdown-button ${className}`.trim(), children: [
|
|
1592
1597
|
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Button, { ...buttonProps, disabled, onClick, children }),
|
|
1593
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DropdownRoot, { ...dropdownProps, disabled, trigger, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1598
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(DropdownRoot, { ...dropdownProps, disabled, trigger, showTriggerIcon: false, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
1594
1599
|
Button,
|
|
1595
1600
|
{
|
|
1596
1601
|
...buttonProps,
|
|
@@ -1602,7 +1607,10 @@ function DropdownButton({
|
|
|
1602
1607
|
) })
|
|
1603
1608
|
] });
|
|
1604
1609
|
}
|
|
1605
|
-
var Dropdown = Object.assign(DropdownRoot, {
|
|
1610
|
+
var Dropdown = Object.assign(DropdownRoot, {
|
|
1611
|
+
/** 组合主操作按钮与下拉菜单的按钮组件。 */
|
|
1612
|
+
Button: DropdownButton
|
|
1613
|
+
});
|
|
1606
1614
|
|
|
1607
1615
|
// src/components/Tabs.tsx
|
|
1608
1616
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
@@ -1895,7 +1903,10 @@ function CheckboxGroup({
|
|
|
1895
1903
|
children
|
|
1896
1904
|
] }) }) });
|
|
1897
1905
|
}
|
|
1898
|
-
var Checkbox2 = Object.assign(CheckboxRoot, {
|
|
1906
|
+
var Checkbox2 = Object.assign(CheckboxRoot, {
|
|
1907
|
+
/** 组合多个子项并统一管理布局或选择状态。 */
|
|
1908
|
+
Group: CheckboxGroup
|
|
1909
|
+
});
|
|
1899
1910
|
|
|
1900
1911
|
// src/components/FloatingDisplay.tsx
|
|
1901
1912
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
@@ -2511,12 +2522,19 @@ function preset(type, defaults = {}) {
|
|
|
2511
2522
|
});
|
|
2512
2523
|
}
|
|
2513
2524
|
var Modal2 = Object.assign(ModalRoot, {
|
|
2525
|
+
/** 直接打开实例,返回可用于更新或关闭的操作句柄。 */
|
|
2514
2526
|
open: openModal,
|
|
2527
|
+
/** 显示普通信息提示。 */
|
|
2515
2528
|
info: preset("info", { title: "\u63D0\u793A" }),
|
|
2529
|
+
/** 显示成功提示。 */
|
|
2516
2530
|
success: preset("success", { title: "\u64CD\u4F5C\u6210\u529F" }),
|
|
2531
|
+
/** 显示警告提示。 */
|
|
2517
2532
|
warning: preset("warning", { title: "\u8BF7\u6CE8\u610F" }),
|
|
2533
|
+
/** 显示错误提示。 */
|
|
2518
2534
|
error: preset("error", { title: "\u64CD\u4F5C\u5931\u8D25" }),
|
|
2535
|
+
/** 打开确认弹框,支持异步确认;返回 false 可阻止关闭。 */
|
|
2519
2536
|
confirm: preset("confirm", { title: "\u786E\u8BA4\u64CD\u4F5C" }),
|
|
2537
|
+
/** 关闭由此 API 打开的所有弹层。 */
|
|
2520
2538
|
destroyAll() {
|
|
2521
2539
|
[...modalHandles].forEach((handle) => handle.destroy());
|
|
2522
2540
|
}
|
|
@@ -2653,6 +2671,8 @@ function SelectionPanel({
|
|
|
2653
2671
|
const search = searchValue ?? localSearch;
|
|
2654
2672
|
const [scrollTop, setScrollTop] = (0, import_react16.useState)(0);
|
|
2655
2673
|
const [active, setActive] = (0, import_react16.useState)();
|
|
2674
|
+
const [keyboardActive, setKeyboardActive] = (0, import_react16.useState)(false);
|
|
2675
|
+
const [deselectedHover, setDeselectedHover] = (0, import_react16.useState)();
|
|
2656
2676
|
const listRef = (0, import_react16.useRef)(null);
|
|
2657
2677
|
const id = (0, import_react16.useId)();
|
|
2658
2678
|
const selected = (0, import_react16.useMemo)(() => new Set(value), [value]);
|
|
@@ -2697,9 +2717,11 @@ function SelectionPanel({
|
|
|
2697
2717
|
if (listRef.current) listRef.current.scrollTop = 0;
|
|
2698
2718
|
setActive(void 0);
|
|
2699
2719
|
}, [search, selectedOnly, count]);
|
|
2700
|
-
function toggle(option) {
|
|
2720
|
+
function toggle(option, keyboard = false) {
|
|
2701
2721
|
if (disabled || loading || option.disabled || option.optionType === "divider") return;
|
|
2702
2722
|
setActive(option.value);
|
|
2723
|
+
setKeyboardActive(keyboard);
|
|
2724
|
+
setDeselectedHover(!keyboard && !multiple && allowDeselect && selected.has(option.value) ? option.value : void 0);
|
|
2703
2725
|
onChange(multiple ? selected.has(option.value) ? value.filter((item) => item !== option.value) : [...value, option.value] : allowDeselect && selected.has(option.value) ? [] : [option.value]);
|
|
2704
2726
|
}
|
|
2705
2727
|
function batch(operation) {
|
|
@@ -2749,6 +2771,10 @@ function SelectionPanel({
|
|
|
2749
2771
|
className: "sia-selection-panel__list",
|
|
2750
2772
|
style: { maxHeight },
|
|
2751
2773
|
onScroll: (event) => setScrollTop(event.currentTarget.scrollTop),
|
|
2774
|
+
onPointerDown: () => setKeyboardActive(false),
|
|
2775
|
+
onBlur: (event) => {
|
|
2776
|
+
if (!event.currentTarget.contains(event.relatedTarget)) setKeyboardActive(false);
|
|
2777
|
+
},
|
|
2752
2778
|
"aria-activedescendant": active !== void 0 ? `${id}-${typeof active}-${active}` : void 0,
|
|
2753
2779
|
onKeyDown: (event) => {
|
|
2754
2780
|
if (event.target instanceof HTMLInputElement) return;
|
|
@@ -2756,6 +2782,8 @@ function SelectionPanel({
|
|
|
2756
2782
|
const index = enabled.findIndex((option) => option.value === active);
|
|
2757
2783
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(event.key)) {
|
|
2758
2784
|
event.preventDefault();
|
|
2785
|
+
setKeyboardActive(true);
|
|
2786
|
+
setDeselectedHover(void 0);
|
|
2759
2787
|
const next = event.key === "Home" ? 0 : event.key === "End" ? enabled.length - 1 : Math.max(0, Math.min(enabled.length - 1, index + (event.key === "ArrowDown" ? 1 : -1)));
|
|
2760
2788
|
const option = enabled[next];
|
|
2761
2789
|
setActive(option.value);
|
|
@@ -2766,7 +2794,7 @@ function SelectionPanel({
|
|
|
2766
2794
|
}
|
|
2767
2795
|
} else if ((event.key === "Enter" || event.key === " ") && index >= 0) {
|
|
2768
2796
|
event.preventDefault();
|
|
2769
|
-
toggle(enabled[index]);
|
|
2797
|
+
toggle(enabled[index], true);
|
|
2770
2798
|
}
|
|
2771
2799
|
},
|
|
2772
2800
|
children: loading ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { role: "status", children: "\u52A0\u8F7D\u4E2D\u2026" }) : !rows.length ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "sia-selection-panel__empty", children: "\u6682\u65E0\u5339\u914D\u9009\u9879" }) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: { height: totalHeight, position: "relative" }, children: renderedRows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
@@ -2782,7 +2810,11 @@ function SelectionPanel({
|
|
|
2782
2810
|
tabIndex: -1,
|
|
2783
2811
|
"aria-selected": selected.has(option.value),
|
|
2784
2812
|
"aria-disabled": disabled || option.disabled || void 0,
|
|
2785
|
-
className: `sia-selection-panel__option${active === option.value ? " is-active" : ""}`,
|
|
2813
|
+
className: `sia-selection-panel__option${keyboardActive && active === option.value ? " is-active" : ""}`,
|
|
2814
|
+
"data-deselected-hover": deselectedHover === option.value || void 0,
|
|
2815
|
+
onPointerLeave: () => {
|
|
2816
|
+
if (deselectedHover === option.value) setDeselectedHover(void 0);
|
|
2817
|
+
},
|
|
2786
2818
|
onClick: (event) => {
|
|
2787
2819
|
if (!event.target.closest(".sia-checkbox")) toggle(option);
|
|
2788
2820
|
},
|
|
@@ -3234,7 +3266,8 @@ function defaultFilterOption(query, option) {
|
|
|
3234
3266
|
var Select = (0, import_react20.forwardRef)(function Select2({
|
|
3235
3267
|
options,
|
|
3236
3268
|
mode = "single",
|
|
3237
|
-
popupMode
|
|
3269
|
+
popupMode: popupModeProp,
|
|
3270
|
+
modalThreshold = 15,
|
|
3238
3271
|
modalConfig,
|
|
3239
3272
|
value,
|
|
3240
3273
|
defaultValue,
|
|
@@ -3243,7 +3276,7 @@ var Select = (0, import_react20.forwardRef)(function Select2({
|
|
|
3243
3276
|
placeholderMode,
|
|
3244
3277
|
size: sizeProp,
|
|
3245
3278
|
status = "default",
|
|
3246
|
-
allowClear =
|
|
3279
|
+
allowClear = true,
|
|
3247
3280
|
loading = false,
|
|
3248
3281
|
showSearch = false,
|
|
3249
3282
|
showValue = false,
|
|
@@ -3276,6 +3309,9 @@ var Select = (0, import_react20.forwardRef)(function Select2({
|
|
|
3276
3309
|
const searchRef = (0, import_react20.useRef)(null);
|
|
3277
3310
|
const listRef = (0, import_react20.useRef)(null);
|
|
3278
3311
|
const [open, setOpen] = (0, import_react20.useState)(false);
|
|
3312
|
+
const automaticMode = popupModeProp ?? (options.length > modalThreshold ? "modal" : "dropdown");
|
|
3313
|
+
const [openedMode, setOpenedMode] = (0, import_react20.useState)(automaticMode);
|
|
3314
|
+
const popupMode = open ? openedMode : automaticMode;
|
|
3279
3315
|
const [modalValues, setModalValues] = (0, import_react20.useState)([]);
|
|
3280
3316
|
const [selectedOnly, setSelectedOnly] = (0, import_react20.useState)(false);
|
|
3281
3317
|
const [query, setQuery] = (0, import_react20.useState)("");
|
|
@@ -3347,9 +3383,10 @@ var Select = (0, import_react20.forwardRef)(function Select2({
|
|
|
3347
3383
|
}
|
|
3348
3384
|
function openDropdown() {
|
|
3349
3385
|
if (disabled || loading) return;
|
|
3386
|
+
setOpenedMode(automaticMode);
|
|
3350
3387
|
const selectedIndex = filteredOptions.findIndex((option) => selectedValueSet.has(option.value) && !option.disabled);
|
|
3351
3388
|
setActiveIndex(selectedIndex >= 0 ? selectedIndex : firstEnabledIndex());
|
|
3352
|
-
if (
|
|
3389
|
+
if (automaticMode === "modal") {
|
|
3353
3390
|
setModalValues([...selectedValues]);
|
|
3354
3391
|
setSelectedOnly(false);
|
|
3355
3392
|
}
|
|
@@ -3780,7 +3817,12 @@ function UploadDragger({ hint = "\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0
|
|
|
3780
3817
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { children: hint })
|
|
3781
3818
|
] }) });
|
|
3782
3819
|
}
|
|
3783
|
-
var Upload = Object.assign(UploadRoot, {
|
|
3820
|
+
var Upload = Object.assign(UploadRoot, {
|
|
3821
|
+
/** 支持拖入文件上传的区域组件。 */
|
|
3822
|
+
Dragger: UploadDragger,
|
|
3823
|
+
/** beforeUpload 返回此标记时忽略该文件,不加入上传列表。 */
|
|
3824
|
+
LIST_IGNORE
|
|
3825
|
+
});
|
|
3784
3826
|
|
|
3785
3827
|
// src/components/Message.tsx
|
|
3786
3828
|
var import_client3 = require("react-dom/client");
|
|
@@ -3860,12 +3902,19 @@ function shortcut(type) {
|
|
|
3860
3902
|
return (content, duration) => openMessage({ content, duration, type });
|
|
3861
3903
|
}
|
|
3862
3904
|
var message = {
|
|
3905
|
+
/** 直接打开实例,返回可用于更新或关闭的操作句柄。 */
|
|
3863
3906
|
open: openMessage,
|
|
3907
|
+
/** 显示普通信息提示。 */
|
|
3864
3908
|
info: shortcut("info"),
|
|
3909
|
+
/** 显示成功提示。 */
|
|
3865
3910
|
success: shortcut("success"),
|
|
3911
|
+
/** 显示警告提示。 */
|
|
3866
3912
|
warning: shortcut("warning"),
|
|
3913
|
+
/** 显示错误提示。 */
|
|
3867
3914
|
error: shortcut("error"),
|
|
3915
|
+
/** 显示持续加载提示。 */
|
|
3868
3916
|
loading: shortcut("loading"),
|
|
3917
|
+
/** 关闭指定实例;未指定标识时关闭所有实例。 */
|
|
3869
3918
|
destroy(key) {
|
|
3870
3919
|
if (key !== void 0) {
|
|
3871
3920
|
closeMessage(key);
|
|
@@ -3873,6 +3922,7 @@ var message = {
|
|
|
3873
3922
|
}
|
|
3874
3923
|
[...messageItems].forEach((item) => closeMessage(item.key));
|
|
3875
3924
|
},
|
|
3925
|
+
/** 配置消息默认持续时间和最大同时显示数量。 */
|
|
3876
3926
|
config(config) {
|
|
3877
3927
|
if (config.duration !== void 0) defaultDuration = config.duration;
|
|
3878
3928
|
if (config.maxCount !== void 0) maxCount = Math.max(1, config.maxCount);
|
|
@@ -4112,7 +4162,16 @@ function Link({ disabled, className = "", onClick, href, target, rel, ...props }
|
|
|
4112
4162
|
function TypographyRoot({ className = "", ...props }) {
|
|
4113
4163
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { ...props, className: `sia-typography ${className}`.trim() });
|
|
4114
4164
|
}
|
|
4115
|
-
var Typography = Object.assign(TypographyRoot, {
|
|
4165
|
+
var Typography = Object.assign(TypographyRoot, {
|
|
4166
|
+
/** 语义化标题,支持标题级别、复制和编辑。 */
|
|
4167
|
+
Title,
|
|
4168
|
+
/** 行内文本,支持强调、复制、编辑和省略。 */
|
|
4169
|
+
Text,
|
|
4170
|
+
/** 段落文本,支持复制、编辑和省略。 */
|
|
4171
|
+
Paragraph,
|
|
4172
|
+
/** 具有排版样式的链接。 */
|
|
4173
|
+
Link
|
|
4174
|
+
});
|
|
4116
4175
|
|
|
4117
4176
|
// src/components/FloatButton.tsx
|
|
4118
4177
|
var import_react24 = require("react");
|
|
@@ -4243,7 +4302,12 @@ function FloatButtonBackTop({ target, visibilityHeight = 400, behavior = "smooth
|
|
|
4243
4302
|
element?.scrollTo({ top: 0, behavior: window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : behavior });
|
|
4244
4303
|
} });
|
|
4245
4304
|
}
|
|
4246
|
-
var FloatButton2 = Object.assign(FloatButtonRoot, {
|
|
4305
|
+
var FloatButton2 = Object.assign(FloatButtonRoot, {
|
|
4306
|
+
/** 组合多个子项并统一管理布局或选择状态。 */
|
|
4307
|
+
Group: FloatButtonGroup,
|
|
4308
|
+
/** 滚动超过指定距离后显示的返回顶部按钮。 */
|
|
4309
|
+
BackTop: FloatButtonBackTop
|
|
4310
|
+
});
|
|
4247
4311
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4248
4312
|
0 && (module.exports = {
|
|
4249
4313
|
Breadcrumb,
|
package/dist/core.css
CHANGED
|
@@ -4757,15 +4757,22 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
4757
4757
|
display: flex;
|
|
4758
4758
|
flex-wrap: wrap;
|
|
4759
4759
|
align-items: center;
|
|
4760
|
-
gap: 12px;
|
|
4760
|
+
gap: var(--sia-query-field-gap, 12px);
|
|
4761
4761
|
padding-top: 8px;
|
|
4762
4762
|
}
|
|
4763
4763
|
.sia-query-form__field {
|
|
4764
|
-
|
|
4765
|
-
|
|
4764
|
+
--sia-query-item-width: var(--sia-query-field-width, 220px);
|
|
4765
|
+
flex: 0 1 var(--sia-query-item-width);
|
|
4766
|
+
width: var(--sia-query-item-width);
|
|
4766
4767
|
min-width: 0;
|
|
4767
4768
|
max-width: 100%;
|
|
4768
4769
|
}
|
|
4770
|
+
.sia-query-form__field:has(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical) > :nth-child(2)) {
|
|
4771
|
+
--sia-query-item-width: calc(var(--sia-query-field-width, 220px) + var(--sia-query-field-width, 220px) + var(--sia-query-field-gap, 12px));
|
|
4772
|
+
}
|
|
4773
|
+
.sia-query-form__field :is(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical)) {
|
|
4774
|
+
width: 100%;
|
|
4775
|
+
}
|
|
4769
4776
|
.sia-query-form__field[hidden] {
|
|
4770
4777
|
display: none;
|
|
4771
4778
|
}
|
|
@@ -4848,7 +4855,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
4848
4855
|
@media (max-width: 600px) {
|
|
4849
4856
|
.sia-query-form__fields.is-collapsed > .sia-query-form__field {
|
|
4850
4857
|
flex-basis: auto !important;
|
|
4851
|
-
width: var(--sia-query-
|
|
4858
|
+
width: var(--sia-query-item-width) !important;
|
|
4852
4859
|
}
|
|
4853
4860
|
}
|
|
4854
4861
|
.sia-query-form__quick > .sia-badge:has(.sia-badge__count) {
|
|
@@ -7377,6 +7384,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7377
7384
|
cursor: not-allowed;
|
|
7378
7385
|
opacity: .55;
|
|
7379
7386
|
}
|
|
7387
|
+
.sia-dropdown__trigger-content {
|
|
7388
|
+
display: inline-flex;
|
|
7389
|
+
align-items: center;
|
|
7390
|
+
gap: 8px;
|
|
7391
|
+
}
|
|
7392
|
+
.sia-dropdown__trigger-icon {
|
|
7393
|
+
flex: none;
|
|
7394
|
+
}
|
|
7380
7395
|
.sia-dropdown__context-anchor {
|
|
7381
7396
|
position: fixed;
|
|
7382
7397
|
width: 0;
|
|
@@ -7514,6 +7529,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7514
7529
|
gap: 4px;
|
|
7515
7530
|
white-space: nowrap;
|
|
7516
7531
|
}
|
|
7532
|
+
.sia-pagination__current-count {
|
|
7533
|
+
white-space: nowrap;
|
|
7534
|
+
}
|
|
7517
7535
|
.sia-pagination__size-select.sia-select {
|
|
7518
7536
|
width: 94px;
|
|
7519
7537
|
}
|
|
@@ -8529,6 +8547,12 @@ body > .sia-popup-portal[data-sia-popup-layer] {
|
|
|
8529
8547
|
position: relative;
|
|
8530
8548
|
display: inline-flex;
|
|
8531
8549
|
}
|
|
8550
|
+
.sia-floating.sia-table__cell-tooltip {
|
|
8551
|
+
display: block;
|
|
8552
|
+
min-width: 0;
|
|
8553
|
+
overflow: hidden;
|
|
8554
|
+
text-overflow: ellipsis;
|
|
8555
|
+
}
|
|
8532
8556
|
.sia-floating__overlay {
|
|
8533
8557
|
--sia-floating-color: rgb(24 24 27 / 94%);
|
|
8534
8558
|
--sia-floating-arrow-border: transparent;
|
|
@@ -9579,7 +9603,7 @@ button.sia-treemap__tile:focus-visible,
|
|
|
9579
9603
|
min-width: 0;
|
|
9580
9604
|
font: inherit;
|
|
9581
9605
|
}
|
|
9582
|
-
.sia-selection-panel__option:hover,
|
|
9606
|
+
.sia-selection-panel__option:hover:not([data-deselected-hover=true]),
|
|
9583
9607
|
.sia-selection-panel__option.is-active {
|
|
9584
9608
|
background: var(--sia-color-fill-secondary, #f2f5f8);
|
|
9585
9609
|
}
|
package/dist/core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { h as Breadcrumb, i as BreadcrumbItem, j as BreadcrumbProps, k as Button, B as ButtonProps, c as ButtonSize, l as ButtonVariant, n as Card, o as CardAccent, p as CardProps, t as Collapse, u as CollapseItem, v as CollapseKey, w as CollapseProps, H as FilledIconName, I as FloatButton, J as FloatButtonBackTopProps, K as FloatButtonGroupProps, L as FloatButtonProps, N as FloatButtonShape, S as Icon, U as IconName, V as IconProps, W as IconVariant, a0 as Input, a1 as InputProps, a8 as MessageConfig, a9 as MessageHandle, aa as MessageKey, ab as MessageType, ac as Modal, b as ModalActionResult, M as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-
|
|
2
|
-
export { c as Select, S as SelectOption, b as SelectProps, e as SelectValue } from './Select-
|
|
1
|
+
export { h as Breadcrumb, i as BreadcrumbItem, j as BreadcrumbProps, k as Button, B as ButtonProps, c as ButtonSize, l as ButtonVariant, n as Card, o as CardAccent, p as CardProps, t as Collapse, u as CollapseItem, v as CollapseKey, w as CollapseProps, H as FilledIconName, I as FloatButton, J as FloatButtonBackTopProps, K as FloatButtonGroupProps, L as FloatButtonProps, N as FloatButtonShape, S as Icon, U as IconName, V as IconProps, W as IconVariant, a0 as Input, a1 as InputProps, a8 as MessageConfig, a9 as MessageHandle, aa as MessageKey, ab as MessageType, ac as Modal, b as ModalActionResult, M as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-C5OnrCi4.cjs';
|
|
2
|
+
export { c as Select, S as SelectOption, b as SelectProps, e as SelectValue } from './Select-4hGJt3RJ.cjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './shared-
|
|
4
|
+
import './shared-Bx4B28Wh.cjs';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { h as Breadcrumb, i as BreadcrumbItem, j as BreadcrumbProps, k as Button, B as ButtonProps, c as ButtonSize, l as ButtonVariant, n as Card, o as CardAccent, p as CardProps, t as Collapse, u as CollapseItem, v as CollapseKey, w as CollapseProps, H as FilledIconName, I as FloatButton, J as FloatButtonBackTopProps, K as FloatButtonGroupProps, L as FloatButtonProps, N as FloatButtonShape, S as Icon, U as IconName, V as IconProps, W as IconVariant, a0 as Input, a1 as InputProps, a8 as MessageConfig, a9 as MessageHandle, aa as MessageKey, ab as MessageType, ac as Modal, b as ModalActionResult, M as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-
|
|
2
|
-
export { c as Select, S as SelectOption, b as SelectProps, e as SelectValue } from './Select-
|
|
1
|
+
export { h as Breadcrumb, i as BreadcrumbItem, j as BreadcrumbProps, k as Button, B as ButtonProps, c as ButtonSize, l as ButtonVariant, n as Card, o as CardAccent, p as CardProps, t as Collapse, u as CollapseItem, v as CollapseKey, w as CollapseProps, H as FilledIconName, I as FloatButton, J as FloatButtonBackTopProps, K as FloatButtonGroupProps, L as FloatButtonProps, N as FloatButtonShape, S as Icon, U as IconName, V as IconProps, W as IconVariant, a0 as Input, a1 as InputProps, a8 as MessageConfig, a9 as MessageHandle, aa as MessageKey, ab as MessageType, ac as Modal, b as ModalActionResult, M as ModalOpenConfig, ad as ModalProps, ae as ModalType, a as OverlayApiHandle, am as Progress, an as ProgressProps, ao as ProgressStatus, ar as Segmented, as as SegmentedOption, at as SegmentedProps, au as SegmentedValue, aB as TabItem, aC as Tabs, aE as TabsOrientation, aF as TabsPosition, aG as TabsProps, aH as TabsType, aI as Tag, aJ as TagProps, T as TagStatus, aK as TagVariant, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, bb as message } from './core-DeZknKwc.js';
|
|
2
|
+
export { c as Select, S as SelectOption, b as SelectProps, e as SelectValue } from './Select-BNSE67xn.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './shared-
|
|
4
|
+
import './shared-Bx4B28Wh.js';
|
package/dist/core.js
CHANGED
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
Typography,
|
|
10
10
|
Upload,
|
|
11
11
|
message
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7RNS52YG.js";
|
|
13
13
|
import "./chunk-YT6E3X2K.js";
|
|
14
14
|
import {
|
|
15
15
|
Modal,
|
|
16
16
|
Select
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3TRRBMXY.js";
|
|
18
18
|
import {
|
|
19
19
|
Icon,
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KLI65JVD.js";
|
|
23
23
|
import {
|
|
24
24
|
Button
|
|
25
25
|
} from "./chunk-TZGUBGA4.js";
|