sellmate-design-system-react 3.4.0 → 3.6.0
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/SConfirmModal/README.md +1 -0
- package/dist/components/SConfirmModal/SConfirmModal.cjs +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.cjs.map +1 -1
- package/dist/components/SConfirmModal/SConfirmModal.d.ts +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.js +3 -1
- package/dist/components/SConfirmModal/SConfirmModal.js.map +1 -1
- package/dist/components/SDraggableItem/README.md +1 -0
- package/dist/components/SDraggableItem/SDraggableItem.cjs +2 -1
- package/dist/components/SDraggableItem/SDraggableItem.cjs.map +1 -1
- package/dist/components/SDraggableItem/SDraggableItem.d.ts +2 -0
- package/dist/components/SDraggableItem/SDraggableItem.js +2 -1
- package/dist/components/SDraggableItem/SDraggableItem.js.map +1 -1
- package/dist/components/SDraggableList/README.md +37 -0
- package/dist/components/SDraggableList/SDraggableList.cjs +143 -0
- package/dist/components/SDraggableList/SDraggableList.cjs.map +1 -0
- package/dist/components/SDraggableList/SDraggableList.d.ts +27 -0
- package/dist/components/SDraggableList/SDraggableList.js +141 -0
- package/dist/components/SDraggableList/SDraggableList.js.map +1 -0
- package/dist/components/SDraggableList/index.d.ts +1 -0
- package/dist/components/SExpansionItem/README.md +8 -0
- package/dist/components/SExpansionItem/SExpansionItem.cjs +52 -9
- package/dist/components/SExpansionItem/SExpansionItem.cjs.map +1 -1
- package/dist/components/SExpansionItem/SExpansionItem.d.ts +7 -0
- package/dist/components/SExpansionItem/SExpansionItem.js +53 -10
- package/dist/components/SExpansionItem/SExpansionItem.js.map +1 -1
- package/dist/components/SExpansionList/README.md +9 -0
- package/dist/components/SExpansionList/SExpansionList.cjs +3150 -0
- package/dist/components/SExpansionList/SExpansionList.cjs.map +1 -0
- package/dist/components/SExpansionList/SExpansionList.d.ts +3 -0
- package/dist/components/SExpansionList/SExpansionList.js +3148 -0
- package/dist/components/SExpansionList/SExpansionList.js.map +1 -0
- package/dist/components/SExpansionList/index.d.ts +1 -0
- package/dist/components/SList/README.md +15 -0
- package/dist/components/SListItem/README.md +21 -0
- package/dist/components/SListItem/SListItem.cjs +2858 -5
- package/dist/components/SListItem/SListItem.cjs.map +1 -1
- package/dist/components/SListItem/SListItem.d.ts +7 -0
- package/dist/components/SListItem/SListItem.js +2859 -6
- package/dist/components/SListItem/SListItem.js.map +1 -1
- package/dist/components/SModal/README.md +1 -1
- package/dist/components/SModal/SModal.cjs +3 -1
- package/dist/components/SModal/SModal.cjs.map +1 -1
- package/dist/components/SModal/SModal.js +3 -1
- package/dist/components/SModal/SModal.js.map +1 -1
- package/dist/components/SSectionHeaderCard/README.md +1 -0
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.cjs +15 -1
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.cjs.map +1 -1
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.d.ts +3 -0
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.js +15 -1
- package/dist/components/SSectionHeaderCard/SSectionHeaderCard.js.map +1 -1
- package/dist/components/SSectionHeaderCard/index.d.ts +1 -1
- package/dist/index.cjs +282 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +282 -35
- package/dist/index.js.map +1 -1
- package/dist/llms-full.txt +81 -1
- package/dist/llms.txt +2 -2
- package/dist/styles.css +59 -63
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
| Prop | Type | Default | Description |
|
|
18
18
|
|------|------|---------|-------------|
|
|
19
19
|
| `title` | `ReactNode` | — | 헤더 제목 |
|
|
20
|
+
| `titleSize?` | `SSectionHeaderCardTitleSize` | `'xs'` | 제목 크기 |
|
|
20
21
|
| `marker?` | `boolean` | `false` | 제목 앞 점 표시 여부 |
|
|
21
22
|
| `required?` | `boolean` | `false` | 제목 뒤 필수 별 표시 여부 |
|
|
22
23
|
| `helpText?` | `string[]` | — | 도움말 툴팁 메시지 |
|
|
@@ -3346,6 +3346,10 @@ var topBorderColorClass = {
|
|
|
3346
3346
|
default: "bg-(--cmp-sectionHeaderCard-topBorder-color-default)",
|
|
3347
3347
|
accent: "bg-(--cmp-sectionHeaderCard-topBorder-color-accent)"
|
|
3348
3348
|
};
|
|
3349
|
+
var titleSizeClass = {
|
|
3350
|
+
xs: "typo-heading-xs",
|
|
3351
|
+
sm: "typo-heading-sm"
|
|
3352
|
+
};
|
|
3349
3353
|
var SSectionHeaderCardBody = react.forwardRef(
|
|
3350
3354
|
function SSectionHeaderCardBody2({ className, children, ...rest }, ref) {
|
|
3351
3355
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className, ...rest, children });
|
|
@@ -3354,6 +3358,7 @@ var SSectionHeaderCardBody = react.forwardRef(
|
|
|
3354
3358
|
var SSectionHeaderCardHeader = react.forwardRef(
|
|
3355
3359
|
function SSectionHeaderCardHeader2({
|
|
3356
3360
|
title,
|
|
3361
|
+
titleSize = "xs",
|
|
3357
3362
|
marker = false,
|
|
3358
3363
|
required = false,
|
|
3359
3364
|
helpText,
|
|
@@ -3386,7 +3391,16 @@ var SSectionHeaderCardHeader = react.forwardRef(
|
|
|
3386
3391
|
children: [
|
|
3387
3392
|
marker && /* @__PURE__ */ jsxRuntime.jsx(SBadge, { color: "darkblue", className: "shrink-0" }),
|
|
3388
3393
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 shrink-0 items-center gap-[8px]", children: [
|
|
3389
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3394
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3395
|
+
"span",
|
|
3396
|
+
{
|
|
3397
|
+
className: cn(
|
|
3398
|
+
"min-w-0 truncate text-(--sys-color-fg-brand)",
|
|
3399
|
+
titleSizeClass[titleSize]
|
|
3400
|
+
),
|
|
3401
|
+
children: title
|
|
3402
|
+
}
|
|
3403
|
+
),
|
|
3390
3404
|
required && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3391
3405
|
SIcon,
|
|
3392
3406
|
{
|