sellmate-design-system-react 2.1.0 → 2.1.1
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/components/SActionModal/SActionModal.cjs +8 -2
- package/dist/components/SActionModal/SActionModal.cjs.map +1 -1
- package/dist/components/SActionModal/SActionModal.d.ts +11 -2
- package/dist/components/SActionModal/SActionModal.js +8 -2
- package/dist/components/SActionModal/SActionModal.js.map +1 -1
- package/dist/components/SChipInput/SChipInput.cjs +9 -2
- package/dist/components/SChipInput/SChipInput.cjs.map +1 -1
- package/dist/components/SChipInput/SChipInput.js +9 -2
- package/dist/components/SChipInput/SChipInput.js.map +1 -1
- package/dist/components/SConfirmModal/SConfirmModal.cjs +93 -4
- package/dist/components/SConfirmModal/SConfirmModal.cjs.map +1 -1
- package/dist/components/SConfirmModal/SConfirmModal.d.ts +2 -1
- package/dist/components/SConfirmModal/SConfirmModal.js +93 -4
- package/dist/components/SConfirmModal/SConfirmModal.js.map +1 -1
- package/dist/components/SExpansionItem/SExpansionItem.cjs +11 -11
- package/dist/components/SExpansionItem/SExpansionItem.cjs.map +1 -1
- package/dist/components/SExpansionItem/SExpansionItem.js +11 -11
- package/dist/components/SExpansionItem/SExpansionItem.js.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs +20 -19
- package/dist/components/SKeyValueTable/SKeyValueTable.cjs.map +1 -1
- package/dist/components/SKeyValueTable/SKeyValueTable.d.ts +57 -4
- package/dist/components/SKeyValueTable/SKeyValueTable.js +20 -19
- package/dist/components/SKeyValueTable/SKeyValueTable.js.map +1 -1
- package/dist/components/SLoadingModal/SLoadingModal.cjs +8 -2
- package/dist/components/SLoadingModal/SLoadingModal.cjs.map +1 -1
- package/dist/components/SLoadingModal/SLoadingModal.js +8 -2
- package/dist/components/SLoadingModal/SLoadingModal.js.map +1 -1
- package/dist/components/SModal/SModal.cjs +93 -4
- package/dist/components/SModal/SModal.cjs.map +1 -1
- package/dist/components/SModal/SModal.js +93 -4
- package/dist/components/SModal/SModal.js.map +1 -1
- package/dist/components/SModalContainer/SModalContainer.cjs +8 -2
- package/dist/components/SModalContainer/SModalContainer.cjs.map +1 -1
- package/dist/components/SModalContainer/SModalContainer.js +8 -2
- package/dist/components/SModalContainer/SModalContainer.js.map +1 -1
- package/dist/components/SSelect/SSelect.cjs +20 -19
- package/dist/components/SSelect/SSelect.cjs.map +1 -1
- package/dist/components/SSelect/SSelect.js +20 -19
- package/dist/components/SSelect/SSelect.js.map +1 -1
- package/dist/components/SStepper/SStepper.cjs +1 -1
- package/dist/components/SStepper/SStepper.cjs.map +1 -1
- package/dist/components/SStepper/SStepper.js +1 -1
- package/dist/components/SStepper/SStepper.js.map +1 -1
- package/dist/components/STable/STable.cjs +20 -19
- package/dist/components/STable/STable.cjs.map +1 -1
- package/dist/components/STable/STable.js +20 -19
- package/dist/components/STable/STable.js.map +1 -1
- package/dist/components/STimePicker/STimePicker.cjs +1 -1
- package/dist/components/STimePicker/STimePicker.cjs.map +1 -1
- package/dist/components/STimePicker/STimePicker.js +1 -1
- package/dist/components/STimePicker/STimePicker.js.map +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.cjs +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.cjs.map +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.js +1 -1
- package/dist/components/STimeRangePicker/STimeRangePicker.js.map +1 -1
- package/dist/index.cjs +67 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +67 -39
- package/dist/index.js.map +1 -1
- package/dist/styles.css +303 -195
- package/dist/theme.css +229 -121
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2918,7 +2918,7 @@ var SExpansionItem = forwardRef(
|
|
|
2918
2918
|
{
|
|
2919
2919
|
ref,
|
|
2920
2920
|
className: cn(
|
|
2921
|
-
"group/expansion-item overflow-hidden bg-[var(--cmp-
|
|
2921
|
+
"group/expansion-item overflow-hidden bg-[var(--cmp-listExpansionItem-title-bg-default)]",
|
|
2922
2922
|
// TODO: expansionItem/bordered/radius 및 border intent 토큰 생성 후 고정값을 토큰으로 교체한다.
|
|
2923
2923
|
bordered && "rounded-[8px] border border-[#E1E1E1] hover:border-[#AAAAAA] [&:has(>button:hover)]:border-[#AAAAAA]",
|
|
2924
2924
|
bordered && isExpanded && "!border-[#93C4FF]",
|
|
@@ -2940,14 +2940,14 @@ var SExpansionItem = forwardRef(
|
|
|
2940
2940
|
onToggle?.(next, event);
|
|
2941
2941
|
},
|
|
2942
2942
|
className: cn(
|
|
2943
|
-
"flex w-full items-center justify-between border-0 text-left text-[14px] font-bold leading-[24px] text-[var(--cmp-
|
|
2944
|
-
isExpanded && "border-b border-(--cmp-
|
|
2945
|
-
!isExpanded && "hover:bg-(--cmp-
|
|
2946
|
-
dense ? "min-h-8 py-(--cmp-
|
|
2947
|
-
"gap-(--cmp-
|
|
2948
|
-
"pr-(--cmp-
|
|
2949
|
-
depth === 2 ? "pl-[calc(var(--cmp-
|
|
2950
|
-
isExpanded && "bg-(--cmp-
|
|
2943
|
+
"flex w-full items-center justify-between border-0 text-left text-[14px] font-bold leading-[24px] text-[var(--cmp-listExpansionItem-title-text-default)] focus-visible:outline focus-visible:outline-2 focus-visible:outline-[var(--sys-color-border-accent)] disabled:cursor-not-allowed disabled:text-[var(--sys-color-disabled-text)] cursor-pointer",
|
|
2944
|
+
isExpanded && "border-b border-(--cmp-listExpansionItem-title-border)",
|
|
2945
|
+
!isExpanded && "hover:bg-(--cmp-listExpansionItem-title-bg-hover)",
|
|
2946
|
+
dense ? "min-h-8 py-(--cmp-listExpansionItem-title-paddingY-dense)" : "min-h-10 py-(--cmp-listExpansionItem-title-paddingY-normal)",
|
|
2947
|
+
"gap-(--cmp-listExpansionItem-title-gap)",
|
|
2948
|
+
"pr-(--cmp-listExpansionItem-title-paddingX)",
|
|
2949
|
+
depth === 2 ? "pl-[calc(var(--cmp-listExpansionItem-title-paddingX)+32px)]" : depth === 3 ? "pl-[calc(var(--cmp-listExpansionItem-title-paddingX)+64px)]" : "pl-(--cmp-listExpansionItem-title-paddingX)",
|
|
2950
|
+
isExpanded && "bg-(--cmp-listExpansionItem-title-bg-expanded) text-(--cmp-listExpansionItem-title-text-expanded)"
|
|
2951
2951
|
),
|
|
2952
2952
|
children: [
|
|
2953
2953
|
!leading && /* @__PURE__ */ jsx(
|
|
@@ -2972,7 +2972,7 @@ var SExpansionItem = forwardRef(
|
|
|
2972
2972
|
id,
|
|
2973
2973
|
"aria-hidden": !isExpanded,
|
|
2974
2974
|
className: cn(
|
|
2975
|
-
"grid overflow-hidden bg-[var(--cmp-
|
|
2975
|
+
"grid overflow-hidden bg-[var(--cmp-listExpansionItem-body-bg)] transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none",
|
|
2976
2976
|
isExpanded ? "grid-rows-[1fr]" : "grid-rows-[0fr]"
|
|
2977
2977
|
),
|
|
2978
2978
|
children: /* @__PURE__ */ jsx(
|
|
@@ -2980,7 +2980,7 @@ var SExpansionItem = forwardRef(
|
|
|
2980
2980
|
{
|
|
2981
2981
|
className: cn(
|
|
2982
2982
|
"min-h-0 overflow-hidden",
|
|
2983
|
-
bodyPadding && isExpanded && "p-(--cmp-
|
|
2983
|
+
bodyPadding && isExpanded && "p-(--cmp-listExpansionItem-body-padding)"
|
|
2984
2984
|
),
|
|
2985
2985
|
children
|
|
2986
2986
|
}
|
|
@@ -4811,11 +4811,17 @@ function SModalContainer({
|
|
|
4811
4811
|
/* @__PURE__ */ jsx(InsideModalProvider, { value: true, children: /* @__PURE__ */ jsx(PortalContainerProvider, { value: portalContainer, children }) })
|
|
4812
4812
|
]
|
|
4813
4813
|
}
|
|
4814
|
+
),
|
|
4815
|
+
/* @__PURE__ */ jsx(
|
|
4816
|
+
"div",
|
|
4817
|
+
{
|
|
4818
|
+
ref: setPortalContainer,
|
|
4819
|
+
className: "pointer-events-auto fixed left-0 top-0 z-[1001]"
|
|
4820
|
+
}
|
|
4814
4821
|
)
|
|
4815
4822
|
]
|
|
4816
4823
|
}
|
|
4817
|
-
) })
|
|
4818
|
-
/* @__PURE__ */ jsx("div", { ref: setPortalContainer, className: "pointer-events-auto fixed left-0 top-0 z-[1001]" })
|
|
4824
|
+
) })
|
|
4819
4825
|
] }) });
|
|
4820
4826
|
}
|
|
4821
4827
|
var TYPE_ICON = {
|
|
@@ -4894,10 +4900,24 @@ function SConfirmModal({
|
|
|
4894
4900
|
)
|
|
4895
4901
|
] }),
|
|
4896
4902
|
hasBody && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-[20px] text-center text-[12px] font-normal leading-[20px] text-[color:var(--cmp-modal-confirm-message-color)] w-full", children: [
|
|
4897
|
-
topMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: topMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
4903
|
+
topMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: topMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
4904
|
+
"p",
|
|
4905
|
+
{
|
|
4906
|
+
className: "m-0",
|
|
4907
|
+
dangerouslySetInnerHTML: { __html: sanitizeInlineHtml(m) }
|
|
4908
|
+
},
|
|
4909
|
+
i
|
|
4910
|
+
)) }),
|
|
4898
4911
|
tagNode != null && // tag 위치 content-box: 흰 박스 + 1px 테두리 + 패딩 + 14/700 (원본 sd-confirm-modal__content-box)
|
|
4899
4912
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-[8px] rounded-[8px] border border-solid border-[color:var(--color-grey-30)] bg-white px-[16px] py-[12px] text-[14px] font-bold leading-[22px] w-full", children: tagNode }),
|
|
4900
|
-
bottomMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: bottomMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
4913
|
+
bottomMessage.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-[2px]", children: bottomMessage.map((m, i) => /* @__PURE__ */ jsx(
|
|
4914
|
+
"p",
|
|
4915
|
+
{
|
|
4916
|
+
className: "m-0",
|
|
4917
|
+
dangerouslySetInnerHTML: { __html: sanitizeInlineHtml(m) }
|
|
4918
|
+
},
|
|
4919
|
+
i
|
|
4920
|
+
)) }),
|
|
4901
4921
|
optionNode != null && optionNode
|
|
4902
4922
|
] })
|
|
4903
4923
|
] }),
|
|
@@ -6241,7 +6261,7 @@ var STEPPER_LAYOUT = {
|
|
|
6241
6261
|
itemGap: V2("item-gap"),
|
|
6242
6262
|
dashWidth: V2("dash-width"),
|
|
6243
6263
|
sequenceRadius: V2("sequence-radius"),
|
|
6244
|
-
sequenceBorderWidth: V2("sequence-border-
|
|
6264
|
+
sequenceBorderWidth: V2("sequence-border-width"),
|
|
6245
6265
|
sequenceIcon: V2("sequence-icon")
|
|
6246
6266
|
};
|
|
6247
6267
|
var STEPPER_COLORS = {
|
|
@@ -6765,7 +6785,7 @@ var SSelect = forwardRef(function SSelect2({
|
|
|
6765
6785
|
);
|
|
6766
6786
|
onValueChange(multi ? mapped : mapped[0] ?? (emitValue ? "" : null));
|
|
6767
6787
|
};
|
|
6768
|
-
const commitOpen = (next) => {
|
|
6788
|
+
const commitOpen = (next, valueForRules) => {
|
|
6769
6789
|
setOpen(next);
|
|
6770
6790
|
onOpenChange?.(next);
|
|
6771
6791
|
if (next) {
|
|
@@ -6774,7 +6794,8 @@ var SSelect = forwardRef(function SSelect2({
|
|
|
6774
6794
|
setPendingOpen(false);
|
|
6775
6795
|
setSearch("");
|
|
6776
6796
|
if (rules && rules.length > 0) {
|
|
6777
|
-
|
|
6797
|
+
const current = valueForRules ?? selectedRef.current;
|
|
6798
|
+
setRuleError(runRules(multi ? current : current[0] ?? "", rules));
|
|
6778
6799
|
}
|
|
6779
6800
|
}
|
|
6780
6801
|
};
|
|
@@ -6858,7 +6879,7 @@ var SSelect = forwardRef(function SSelect2({
|
|
|
6858
6879
|
return;
|
|
6859
6880
|
}
|
|
6860
6881
|
emit2([nextValue]);
|
|
6861
|
-
commitOpen(false);
|
|
6882
|
+
commitOpen(false, [nextValue]);
|
|
6862
6883
|
};
|
|
6863
6884
|
const handleSelectAll = () => {
|
|
6864
6885
|
emit2(allSelected ? [] : allValues);
|
|
@@ -7098,7 +7119,7 @@ var SSelect = forwardRef(function SSelect2({
|
|
|
7098
7119
|
if (index >= 0) setFocusedIndex(index);
|
|
7099
7120
|
}
|
|
7100
7121
|
}
|
|
7101
|
-
) : /* @__PURE__ */ jsx("div", { className: "px-[12px] py-[12px] text-left text-[12px] leading-[20px] text-[color:var(--cmp-
|
|
7122
|
+
) : /* @__PURE__ */ jsx("div", { className: "px-[12px] py-[12px] text-left text-[12px] leading-[20px] text-[color:var(--cmp-listBoxItem-content-disabled)]", children: "\uD45C\uC2DC\uD560 \uD56D\uBAA9\uC774 \uC5C6\uC2B5\uB2C8\uB2E4." })
|
|
7102
7123
|
]
|
|
7103
7124
|
}
|
|
7104
7125
|
)
|
|
@@ -7126,10 +7147,10 @@ function ItemList({
|
|
|
7126
7147
|
const selectedSet = useMemo(() => new Set(selected), [selected]);
|
|
7127
7148
|
const itemBase = cn(
|
|
7128
7149
|
"group/select-item flex w-full cursor-pointer select-none items-center gap-[8px] border-none bg-transparent text-left text-[12px] leading-[20px] outline-none",
|
|
7129
|
-
"text-[color:var(--cmp-
|
|
7130
|
-
"disabled:cursor-not-allowed disabled:text-[color:var(--cmp-
|
|
7150
|
+
"text-[color:var(--cmp-listBoxItem-content-default)]",
|
|
7151
|
+
"disabled:cursor-not-allowed disabled:text-[color:var(--cmp-listBoxItem-content-disabled)]"
|
|
7131
7152
|
);
|
|
7132
|
-
const activeClass = "hover:bg-[var(--cmp-
|
|
7153
|
+
const activeClass = "hover:bg-[var(--cmp-listBoxItem-bg-hover)] hover:text-[color:var(--cmp-listBoxItem-content-hover)] focus-visible:bg-[var(--cmp-listBoxItem-bg-hover)] focus-visible:text-[color:var(--cmp-listBoxItem-content-hover)]";
|
|
7133
7154
|
return /* @__PURE__ */ jsxs("div", { role: "listbox", "aria-multiselectable": multi || void 0, children: [
|
|
7134
7155
|
showSelectAll && /* @__PURE__ */ jsxs(
|
|
7135
7156
|
"button",
|
|
@@ -7139,7 +7160,7 @@ function ItemList({
|
|
|
7139
7160
|
"data-select-active": focusedValue === "__select_all__" ? "true" : void 0,
|
|
7140
7161
|
className: cn(
|
|
7141
7162
|
itemBase,
|
|
7142
|
-
focusedValue === "__select_all__" && "bg-[var(--cmp-
|
|
7163
|
+
focusedValue === "__select_all__" && "bg-[var(--cmp-listBoxItem-bg-hover)] text-[color:var(--cmp-listBoxItem-content-hover)]"
|
|
7143
7164
|
),
|
|
7144
7165
|
style: { paddingTop: 4, paddingBottom: 4, paddingRight: 12, paddingLeft: 12 },
|
|
7145
7166
|
onMouseEnter: () => onHoverValue("__select_all__"),
|
|
@@ -7156,7 +7177,7 @@ function ItemList({
|
|
|
7156
7177
|
const rowKey = `${o.value}-${idx}`;
|
|
7157
7178
|
if (o.isGroup) {
|
|
7158
7179
|
const isDepth1 = o.depth === 1;
|
|
7159
|
-
const groupTone = isDepth1 ? "border-t border-solid border-[color:var(--cmp-
|
|
7180
|
+
const groupTone = isDepth1 ? "border-t border-solid border-[color:var(--cmp-listBoxItem-depth1-border-color)] bg-[var(--cmp-listBoxItem-depth1-bg-default)] font-bold" : "bg-[var(--cmp-listBoxItem-depth2-middle-bg)] font-medium";
|
|
7160
7181
|
if (multi) {
|
|
7161
7182
|
const leafValues = groupLeafValues.get(idx) ?? [];
|
|
7162
7183
|
const total = leafValues.length;
|
|
@@ -7174,12 +7195,12 @@ function ItemList({
|
|
|
7174
7195
|
"data-select-focused": groupFocused ? "true" : void 0,
|
|
7175
7196
|
"data-select-active": groupFocused ? "true" : void 0,
|
|
7176
7197
|
className: cn(
|
|
7177
|
-
"flex w-full select-none items-center gap-[8px] border-none py-[4px] pr-[12px] text-left text-[12px] leading-[20px] text-[color:var(--cmp-
|
|
7198
|
+
"flex w-full select-none items-center gap-[8px] border-none py-[4px] pr-[12px] text-left text-[12px] leading-[20px] text-[color:var(--cmp-listBoxItem-content-default)]",
|
|
7178
7199
|
groupTone,
|
|
7179
|
-
groupDisabled ? "cursor-not-allowed text-[color:var(--cmp-
|
|
7180
|
-
groupDisabled && isDepth1 && "bg-[var(--cmp-
|
|
7200
|
+
groupDisabled ? "cursor-not-allowed text-[color:var(--cmp-listBoxItem-content-disabled)]" : "cursor-pointer",
|
|
7201
|
+
groupDisabled && isDepth1 && "bg-[var(--cmp-listBoxItem-depth1-bg-disabled)]",
|
|
7181
7202
|
// 포커스 하이라이트는 depth 배경보다 뒤에 둬 tailwind-merge 로 이기게 한다.
|
|
7182
|
-
groupFocused && !groupDisabled && "bg-[var(--cmp-
|
|
7203
|
+
groupFocused && !groupDisabled && "bg-[var(--cmp-listBoxItem-bg-hover)] text-[color:var(--cmp-listBoxItem-content-hover)]"
|
|
7183
7204
|
),
|
|
7184
7205
|
style: { paddingLeft: padLeft },
|
|
7185
7206
|
onMouseEnter: () => onHoverValue(`__group_${idx}__`),
|
|
@@ -7199,7 +7220,7 @@ function ItemList({
|
|
|
7199
7220
|
{
|
|
7200
7221
|
className: cn(
|
|
7201
7222
|
"shrink-0 font-medium",
|
|
7202
|
-
groupFocused ? "text-white" : "text-[color:var(--cmp-
|
|
7223
|
+
groupFocused ? "text-white" : "text-[color:var(--cmp-listBoxItem-content-disabled)]"
|
|
7203
7224
|
),
|
|
7204
7225
|
children: [
|
|
7205
7226
|
"(",
|
|
@@ -7219,12 +7240,12 @@ function ItemList({
|
|
|
7219
7240
|
"div",
|
|
7220
7241
|
{
|
|
7221
7242
|
className: cn(
|
|
7222
|
-
"select-none py-[4px] pr-[12px] text-[12px] leading-[20px] text-[color:var(--cmp-
|
|
7243
|
+
"select-none py-[4px] pr-[12px] text-[12px] leading-[20px] text-[color:var(--cmp-listBoxItem-content-default)]",
|
|
7223
7244
|
groupTone,
|
|
7224
7245
|
// 하위가 전부 비활성이면(select.config 에서 bubble-up) 어미 그룹도 비활성 처리:
|
|
7225
7246
|
// 텍스트는 회색(#888), depth1 그룹은 파란 배경 대신 회색(#EEE)으로 (depth2 는 #F6F6F6 유지)
|
|
7226
|
-
o.disabled && "cursor-not-allowed text-[color:var(--cmp-
|
|
7227
|
-
o.disabled && isDepth1 && "bg-[var(--cmp-
|
|
7247
|
+
o.disabled && "cursor-not-allowed text-[color:var(--cmp-listBoxItem-content-disabled)]",
|
|
7248
|
+
o.disabled && isDepth1 && "bg-[var(--cmp-listBoxItem-depth1-bg-disabled)]"
|
|
7228
7249
|
),
|
|
7229
7250
|
style: { paddingLeft: padLeft },
|
|
7230
7251
|
children: o.label
|
|
@@ -7244,8 +7265,8 @@ function ItemList({
|
|
|
7244
7265
|
"data-select-active": focusedValue === o.value ? "true" : void 0,
|
|
7245
7266
|
className: cn(
|
|
7246
7267
|
itemBase,
|
|
7247
|
-
isSelected && !multi && "font-bold text-[color:var(--cmp-
|
|
7248
|
-
focusedValue === o.value && "bg-[var(--cmp-
|
|
7268
|
+
isSelected && !multi && "font-bold text-[color:var(--cmp-listBoxItem-content-selected)]",
|
|
7269
|
+
focusedValue === o.value && "bg-[var(--cmp-listBoxItem-bg-hover)] text-[color:var(--cmp-listBoxItem-content-hover)]",
|
|
7249
7270
|
// 비활성 항목은 hover/focus 스타일 대상에서 제외한다.
|
|
7250
7271
|
// (:hover 는 disabled 버튼에도 매칭되므로 클래스 자체를 붙이지 않아야 한다)
|
|
7251
7272
|
!o.disabled && activeClass
|
|
@@ -10865,7 +10886,7 @@ var SChipInput = forwardRef(function SChipInput2({
|
|
|
10865
10886
|
"aria-selected": selected || active,
|
|
10866
10887
|
className: cn(
|
|
10867
10888
|
"s-chip-input__suggestion-item flex shrink-0 cursor-pointer items-center gap-8 overflow-hidden text-ellipsis whitespace-nowrap px-12 py-4 text-12 leading-20",
|
|
10868
|
-
selected ? "cursor-default overflow-visible font-bold text-(--cmp-
|
|
10889
|
+
selected ? "cursor-default overflow-visible font-bold text-(--cmp-listBoxItem-content-selected)" : active ? "bg-(--cmp-listBoxItem-bg-hover) font-medium text-(--cmp-listBoxItem-content-hover)" : "text-(--cmp-listBoxItem-content-default)"
|
|
10869
10890
|
),
|
|
10870
10891
|
onMouseDown: (e) => {
|
|
10871
10892
|
e.preventDefault();
|
|
@@ -10873,7 +10894,14 @@ var SChipInput = forwardRef(function SChipInput2({
|
|
|
10873
10894
|
},
|
|
10874
10895
|
children: [
|
|
10875
10896
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: item }),
|
|
10876
|
-
selected && /* @__PURE__ */ jsx(
|
|
10897
|
+
selected && /* @__PURE__ */ jsx(
|
|
10898
|
+
SIcon,
|
|
10899
|
+
{
|
|
10900
|
+
name: "check",
|
|
10901
|
+
size: 12,
|
|
10902
|
+
color: "var(--cmp-listBoxItem-content-selected)"
|
|
10903
|
+
}
|
|
10904
|
+
)
|
|
10877
10905
|
]
|
|
10878
10906
|
},
|
|
10879
10907
|
item
|
|
@@ -11163,7 +11191,7 @@ function TimeSelector({
|
|
|
11163
11191
|
setInputDraft({});
|
|
11164
11192
|
};
|
|
11165
11193
|
const inputStyle = {
|
|
11166
|
-
width: "var(--cmp-timepicker-selector-input-width)",
|
|
11194
|
+
width: "var(--cmp-timepicker-selector-time-input-width)",
|
|
11167
11195
|
height: "var(--cmp-textinput-sm-height)",
|
|
11168
11196
|
borderRadius: "var(--cmp-textinput-sm-radius)",
|
|
11169
11197
|
border: "var(--cmp-textinput-borderWidth) solid var(--cmp-textinput-border-default)",
|
|
@@ -11604,7 +11632,7 @@ function RangeTimeSelector({
|
|
|
11604
11632
|
setInputDraft({});
|
|
11605
11633
|
};
|
|
11606
11634
|
const inputStyle = {
|
|
11607
|
-
width: "var(--cmp-timepicker-selector-input-width)",
|
|
11635
|
+
width: "var(--cmp-timepicker-selector-time-input-width)",
|
|
11608
11636
|
height: "var(--cmp-textinput-sm-height)",
|
|
11609
11637
|
borderRadius: "var(--cmp-textinput-sm-radius)",
|
|
11610
11638
|
border: "var(--cmp-textinput-borderWidth) solid var(--cmp-textinput-border-default)",
|