sellmate-design-system-react 9.0.0-beta.107 → 9.0.0-beta.109
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/SSystemActionButton/SSystemActionButton.d.ts +2 -1
- package/dist/components/SSystemActionButton/systemActionButton.config.d.ts +3 -1
- package/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/styles.css +11 -6
- package/dist/theme.css +8 -6
- package/package.json +1 -1
|
@@ -178,7 +178,8 @@ export type SSystemActionButtonProps = SSystemActionButtonAccountProps | SSystem
|
|
|
178
178
|
* `type` 이 정하고(`account` `switch` `select` `subSelect` `status`), 타입마다 다른 값만
|
|
179
179
|
* `option` 으로 받는다. 선행 아이콘은 `account` 가 `user` 고정, `status` 는 태그가 자리를 차지해
|
|
180
180
|
* 없고, `subSelect` 는 `option.icon` 이 필수다. **`select` · `switch` 만 아이콘이 선택이다** —
|
|
181
|
-
* 주지 않으면 아이콘 프레임 없이 라벨부터 시작한다(`option` 자체를 생략해도 된다).
|
|
181
|
+
* 주지 않으면 아이콘 프레임 없이 라벨부터 시작한다(`option` 자체를 생략해도 된다). 이때 좌측 여백은
|
|
182
|
+
* 라벨이 첫 요소일 때의 토큰을 쓴다 — `status` 는 태그가 첫 요소여도 이 토큰의 대상이 아니다.
|
|
182
183
|
*
|
|
183
184
|
* `account` 는 **언제나 계정 리스트박스(`SAccountListBox`)의 트리거**다 — 눌러도 아무것도 뜨지
|
|
184
185
|
* 않는 계정 행은 없으므로 `option` 이 필수이고, 누르면 이메일·이름·권한과 계정 설정·언어 변경·
|
|
@@ -78,8 +78,10 @@ export declare const SYSTEM_ACTION_BUTTON_LAYOUT: {
|
|
|
78
78
|
readonly iconRadius: string;
|
|
79
79
|
/** 아이콘 프레임 ↔ 라벨 간격 */
|
|
80
80
|
readonly iconLabelGap: string;
|
|
81
|
-
/** 좌측 여백 */
|
|
81
|
+
/** 좌측 여백 — 선행 아이콘 프레임이 첫 요소일 때 */
|
|
82
82
|
readonly paddingLeft: string;
|
|
83
|
+
/** 좌측 여백 — 선행 아이콘이 없는 `select`·`switch` 에서 라벨이 첫 요소일 때 (`status` 는 대상이 아니다) */
|
|
84
|
+
readonly paddingLeftLabelFirst: string;
|
|
83
85
|
/** 우측 여백 */
|
|
84
86
|
readonly paddingRight: string;
|
|
85
87
|
/** 액션 텍스트 ↔ 액션 아이콘 간격 */
|
package/dist/index.cjs
CHANGED
|
@@ -11576,8 +11576,10 @@ var SYSTEM_ACTION_BUTTON_LAYOUT = {
|
|
|
11576
11576
|
iconRadius: item2("icon-radius"),
|
|
11577
11577
|
/** 아이콘 프레임 ↔ 라벨 간격 */
|
|
11578
11578
|
iconLabelGap: item2("iconLabelGap"),
|
|
11579
|
-
/** 좌측 여백 */
|
|
11579
|
+
/** 좌측 여백 — 선행 아이콘 프레임이 첫 요소일 때 */
|
|
11580
11580
|
paddingLeft: action("paddingLeft"),
|
|
11581
|
+
/** 좌측 여백 — 선행 아이콘이 없는 `select`·`switch` 에서 라벨이 첫 요소일 때 (`status` 는 대상이 아니다) */
|
|
11582
|
+
paddingLeftLabelFirst: action("labelFirst-paddingLeft"),
|
|
11581
11583
|
/** 우측 여백 */
|
|
11582
11584
|
paddingRight: action("paddingRight"),
|
|
11583
11585
|
/** 액션 텍스트 ↔ 액션 아이콘 간격 */
|
|
@@ -11649,7 +11651,8 @@ var SSystemActionButton = /* @__PURE__ */ react.forwardRef(
|
|
|
11649
11651
|
"--sab-action-icon": c.actionIcon,
|
|
11650
11652
|
"minHeight": SYSTEM_ACTION_BUTTON_LAYOUT.height,
|
|
11651
11653
|
"borderRadius": SYSTEM_ACTION_BUTTON_LAYOUT.radius,
|
|
11652
|
-
|
|
11654
|
+
// labelFirst 는 아이콘 없는 select·switch 의 값이다. status 는 태그가 자리를 차지해도 대상이 아니다.
|
|
11655
|
+
"paddingLeft": resolvedIcon || status ? SYSTEM_ACTION_BUTTON_LAYOUT.paddingLeft : SYSTEM_ACTION_BUTTON_LAYOUT.paddingLeftLabelFirst,
|
|
11653
11656
|
"paddingRight": SYSTEM_ACTION_BUTTON_LAYOUT.paddingRight,
|
|
11654
11657
|
"gap": SYSTEM_ACTION_BUTTON_LAYOUT.iconLabelGap,
|
|
11655
11658
|
...style
|
|
@@ -21556,6 +21559,8 @@ function SRadio({
|
|
|
21556
21559
|
const labelInteractiveProps = native ? {} : {
|
|
21557
21560
|
"role": "radio",
|
|
21558
21561
|
"aria-checked": checked,
|
|
21562
|
+
// 활성일 때는 속성 자체를 내보내지 않는다(aria-disabled="false" 도 노출하지 않는다).
|
|
21563
|
+
"aria-disabled": disabled || void 0,
|
|
21559
21564
|
"tabIndex": disabled ? -1 : 0,
|
|
21560
21565
|
"onClick": select,
|
|
21561
21566
|
"onKeyDown": (e) => {
|
|
@@ -26036,7 +26041,7 @@ var STimelineImpl = /* @__PURE__ */ react.forwardRef(function STimeline({ groups
|
|
|
26036
26041
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
26037
26042
|
"li",
|
|
26038
26043
|
{
|
|
26039
|
-
className: "grid grid-cols-[52px_var(--cmp-timeline-rail-dot-size)_minmax(0,1fr)]",
|
|
26044
|
+
className: "grid grid-cols-[52px_var(--cmp-timeline-rail-dot-size)_minmax(0,1fr)] pl-[var(--cmp-timeline-detailItem-paddingLeft)]",
|
|
26040
26045
|
children: [
|
|
26041
26046
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "typo-body-sm-medium whitespace-nowrap pr-[var(--cmp-timeline-entry-horizontalGap)] text-right text-[color:var(--cmp-timeline-time-color)]", children: entry.time }),
|
|
26042
26047
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "aria-hidden": true, className: "relative", children: [
|