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
|
@@ -2,9 +2,12 @@ import { type HTMLAttributes, type ReactNode } from 'react';
|
|
|
2
2
|
export type SSectionHeaderCardBodyChildren = ReactNode;
|
|
3
3
|
export type SSectionHeaderCardChildren = ReactNode;
|
|
4
4
|
export type SSectionHeaderCardThickness = false | 'default' | 'accent';
|
|
5
|
+
export type SSectionHeaderCardTitleSize = 'xs' | 'sm';
|
|
5
6
|
export interface SSectionHeaderCardHeaderProps extends Omit<HTMLAttributes<HTMLDivElement>, 'slot' | 'title'> {
|
|
6
7
|
/** 헤더 제목 */
|
|
7
8
|
title: ReactNode;
|
|
9
|
+
/** 제목 크기 */
|
|
10
|
+
titleSize?: SSectionHeaderCardTitleSize;
|
|
8
11
|
/** 제목 앞 점 표시 여부 */
|
|
9
12
|
marker?: boolean;
|
|
10
13
|
/** 제목 뒤 필수 별 표시 여부 */
|
|
@@ -3324,6 +3324,10 @@ var topBorderColorClass = {
|
|
|
3324
3324
|
default: "bg-(--cmp-sectionHeaderCard-topBorder-color-default)",
|
|
3325
3325
|
accent: "bg-(--cmp-sectionHeaderCard-topBorder-color-accent)"
|
|
3326
3326
|
};
|
|
3327
|
+
var titleSizeClass = {
|
|
3328
|
+
xs: "typo-heading-xs",
|
|
3329
|
+
sm: "typo-heading-sm"
|
|
3330
|
+
};
|
|
3327
3331
|
var SSectionHeaderCardBody = forwardRef(
|
|
3328
3332
|
function SSectionHeaderCardBody2({ className, children, ...rest }, ref) {
|
|
3329
3333
|
return /* @__PURE__ */ jsx("div", { ref, className, ...rest, children });
|
|
@@ -3332,6 +3336,7 @@ var SSectionHeaderCardBody = forwardRef(
|
|
|
3332
3336
|
var SSectionHeaderCardHeader = forwardRef(
|
|
3333
3337
|
function SSectionHeaderCardHeader2({
|
|
3334
3338
|
title,
|
|
3339
|
+
titleSize = "xs",
|
|
3335
3340
|
marker = false,
|
|
3336
3341
|
required = false,
|
|
3337
3342
|
helpText,
|
|
@@ -3364,7 +3369,16 @@ var SSectionHeaderCardHeader = forwardRef(
|
|
|
3364
3369
|
children: [
|
|
3365
3370
|
marker && /* @__PURE__ */ jsx(SBadge, { color: "darkblue", className: "shrink-0" }),
|
|
3366
3371
|
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 shrink-0 items-center gap-[8px]", children: [
|
|
3367
|
-
/* @__PURE__ */ jsx(
|
|
3372
|
+
/* @__PURE__ */ jsx(
|
|
3373
|
+
"span",
|
|
3374
|
+
{
|
|
3375
|
+
className: cn(
|
|
3376
|
+
"min-w-0 truncate text-(--sys-color-fg-brand)",
|
|
3377
|
+
titleSizeClass[titleSize]
|
|
3378
|
+
),
|
|
3379
|
+
children: title
|
|
3380
|
+
}
|
|
3381
|
+
),
|
|
3368
3382
|
required && /* @__PURE__ */ jsx(
|
|
3369
3383
|
SIcon,
|
|
3370
3384
|
{
|