sellmate-design-system-react 3.0.0 → 3.2.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/AGENTS.md +695 -0
- package/README.md +106 -0
- package/bin/sellmate-ds.mjs +337 -0
- package/dist/components/SActionModal/README.md +41 -0
- package/dist/components/SBadge/README.md +25 -0
- package/dist/components/SBarcodeInput/README.md +64 -0
- package/dist/components/SButton/README.md +49 -0
- package/dist/components/SCalendar/README.md +42 -0
- package/dist/components/SCallout/README.md +29 -0
- package/dist/components/SCard/README.md +12 -0
- package/dist/components/SCheckbox/README.md +44 -0
- package/dist/components/SChip/README.md +57 -0
- package/dist/components/SChipInput/README.md +77 -0
- package/dist/components/SCircleProgress/README.md +35 -0
- package/dist/components/SConfirmModal/README.md +61 -0
- package/dist/components/SDatePicker/README.md +62 -0
- package/dist/components/SDateRangePicker/README.md +64 -0
- package/dist/components/SDivider/README.md +25 -0
- package/dist/components/SDraggableItem/README.md +40 -0
- package/dist/components/SDropdownButton/README.md +50 -0
- package/dist/components/SExpansionItem/README.md +40 -0
- package/dist/components/SField/README.md +91 -0
- package/dist/components/SFilePicker/README.md +72 -0
- package/dist/components/SForm/README.md +31 -0
- package/dist/components/SGhostButton/README.md +76 -0
- package/dist/components/SGnb/README.md +56 -0
- package/dist/components/SGuide/README.md +34 -0
- package/dist/components/SIcon/README.md +91 -0
- package/dist/components/SInput/README.md +66 -0
- package/dist/components/SKeyValueTable/README.md +59 -0
- package/dist/components/SLayout/README.md +42 -0
- package/dist/components/SLinearProgress/README.md +17 -0
- package/dist/components/SList/README.md +14 -0
- package/dist/components/SListItem/README.md +19 -0
- package/dist/components/SLoadingContainer/README.md +29 -0
- package/dist/components/SLoadingModal/README.md +52 -0
- package/dist/components/SModal/README.md +192 -0
- package/dist/components/SModalContainer/README.md +49 -0
- package/dist/components/SNumberInput/README.md +74 -0
- package/dist/components/SPage/README.md +25 -0
- package/dist/components/SPagination/README.md +40 -0
- package/dist/components/SPopover/README.md +54 -0
- package/dist/components/SPopup/README.md +38 -0
- package/dist/components/SPortal/README.md +51 -0
- package/dist/components/SRadio/README.md +57 -0
- package/dist/components/SRadioButton/README.md +24 -0
- package/dist/components/SScrollArea/README.md +16 -0
- package/dist/components/SSectionHeaderCard/README.md +51 -0
- package/dist/components/SSelect/README.md +79 -0
- package/dist/components/SStepper/README.md +30 -0
- package/dist/components/SSwitch/README.md +24 -0
- package/dist/components/STable/README.md +82 -0
- package/dist/components/STableBar/README.md +28 -0
- package/dist/components/STabs/README.md +37 -0
- package/dist/components/STag/README.md +44 -0
- package/dist/components/STextLink/README.md +48 -0
- package/dist/components/STextarea/README.md +60 -0
- package/dist/components/STimePicker/README.md +65 -0
- package/dist/components/STimeRangePicker/README.md +63 -0
- package/dist/components/SToast/README.md +70 -0
- package/dist/components/SToggle/README.md +22 -0
- package/dist/components/STooltip/README.md +57 -0
- package/dist/llms-full.txt +3530 -0
- package/dist/llms.txt +882 -0
- package/dist/styles.css +221 -0
- package/dist/theme.css +8 -0
- package/eslint/index.mjs +69 -0
- package/eslint/lib/class-names.mjs +119 -0
- package/eslint/lib/table-column.mjs +53 -0
- package/eslint/rules/component-group-gap.mjs +186 -0
- package/eslint/rules/no-arbitrary-class.mjs +91 -0
- package/eslint/rules/no-off-scale-spacing.mjs +67 -0
- package/eslint/rules/no-raw-html-control.mjs +117 -0
- package/eslint/rules/prefer-typo-preset.mjs +73 -0
- package/eslint/rules/require-locale-number.mjs +78 -0
- package/eslint/rules/table-numeric-align.mjs +93 -0
- package/eslint/scale.gen.mjs +16 -0
- package/package.json +15 -4
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# SLoadingContainer
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SLoadingContainer
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `open?` | `boolean` | `false` | 오버레이 표시 여부 (Stencil의 show()/hide() 명령형 API → 제어 prop으로 대체) |
|
|
12
|
+
| `message?` | `string` | — | 스피너 하단 메시지 |
|
|
13
|
+
| `zIndex?` | `number` | `1200` | z-index. 기본값(1200)은 토스트(1100)·모달(1000/1001) 위 — 전체 화면을 막는 최상단 블로킹 오버레이 |
|
|
14
|
+
| `className?` | `string` | — | |
|
|
15
|
+
| `style?` | `CSSProperties` | — | |
|
|
16
|
+
|
|
17
|
+
## Dependencies
|
|
18
|
+
|
|
19
|
+
### Depends on
|
|
20
|
+
|
|
21
|
+
- [SCircleProgress](../SCircleProgress)
|
|
22
|
+
|
|
23
|
+
### Graph
|
|
24
|
+
|
|
25
|
+
```mermaid
|
|
26
|
+
graph TD;
|
|
27
|
+
SLoadingContainer --> SCircleProgress
|
|
28
|
+
style SLoadingContainer fill:#f9f,stroke:#333,stroke-width:4px
|
|
29
|
+
```
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# SLoadingModal
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SLoadingModal
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `open?` | `boolean` | — | |
|
|
12
|
+
| `persistent?` | `boolean` | — | true면 백드롭·ESC로 안 닫히고 흔들림 (sd-modal-container persistent). 로딩 중 닫힘 방지에 유용 |
|
|
13
|
+
| `state?` | `LoadingModalState` | `'loading'` | 상태 (loading: 스피너, error: 경고 아이콘) |
|
|
14
|
+
| `progress?` | `number` | — | 진행률 (0–100) — 지정 시 determinate 스피너 |
|
|
15
|
+
| `message?` | `string \| string[]` | — | 메시지 (없으면 state 기본값) |
|
|
16
|
+
| `useButton?` | `boolean` | `false` | 하단 버튼 표시 |
|
|
17
|
+
| `buttonLabel?` | `string` | — | 버튼 레이블 (없으면 state 기본값) |
|
|
18
|
+
| `width?` | `number \| string` | `520` | |
|
|
19
|
+
| `height?` | `number \| string` | `320` | |
|
|
20
|
+
|
|
21
|
+
#### Events
|
|
22
|
+
|
|
23
|
+
| Event | Type | Description |
|
|
24
|
+
|-------|------|-------------|
|
|
25
|
+
| `onOpenChange` | `(open: boolean) => void` | |
|
|
26
|
+
| `onClose` | `() => void` | 닫기(X) 버튼 클릭 (sdClose) — error 상태에서만 노출 |
|
|
27
|
+
| `onButtonClick` | `() => void` | 버튼 클릭 (sdClick) |
|
|
28
|
+
|
|
29
|
+
## Dependencies
|
|
30
|
+
|
|
31
|
+
### Used by
|
|
32
|
+
|
|
33
|
+
- [SModal](../SModal)
|
|
34
|
+
|
|
35
|
+
### Depends on
|
|
36
|
+
|
|
37
|
+
- [SButton](../SButton)
|
|
38
|
+
- [SCircleProgress](../SCircleProgress)
|
|
39
|
+
- [SIcon](../SIcon)
|
|
40
|
+
- [SModalContainer](../SModalContainer)
|
|
41
|
+
|
|
42
|
+
### Graph
|
|
43
|
+
|
|
44
|
+
```mermaid
|
|
45
|
+
graph TD;
|
|
46
|
+
SLoadingModal --> SButton
|
|
47
|
+
SLoadingModal --> SCircleProgress
|
|
48
|
+
SLoadingModal --> SIcon
|
|
49
|
+
SLoadingModal --> SModalContainer
|
|
50
|
+
SModal --> SLoadingModal
|
|
51
|
+
style SLoadingModal fill:#f9f,stroke:#333,stroke-width:4px
|
|
52
|
+
```
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# SModal
|
|
2
|
+
|
|
3
|
+
> 수작성 문서 — SModal 은 컴포넌트가 아니라 **명령형 모달 서비스**라 `docs:gen`(Props/Events 표) 대상이 아니다.
|
|
4
|
+
|
|
5
|
+
버튼 핸들러에서 바로 호출해 모달을 띄우는 명령형 API. 선언형 `<SConfirmModal open>` / `<SLoadingModal open>` 을 **대체하지 않고 추가로** 제공한다. (원본 디자인 시스템 `sdModal` 파리티)
|
|
6
|
+
|
|
7
|
+
호출 시마다 `document.body` 에 컨테이너를 만들어 모달을 렌더하고, 닫힘 애니메이션이 끝나면 자동으로 언마운트한다. 모든 메서드는 체이닝 핸들 [`SModalRef`](#smodalref) 를 반환한다.
|
|
8
|
+
|
|
9
|
+
| 메서드 | 띄우는 모달 | 용도 | 주요 콜백/제어 |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| [`SModal.confirm(options)`](#smodalconfirm) | `SConfirmModal` | 확인/취소 | `onOk` / `onCancel` / `onClose` |
|
|
12
|
+
| [`SModal.loading(options?)`](#smodalloading) | `SLoadingModal` | 로딩·에러 (persistent 기본 true) | `onClick` / `update` |
|
|
13
|
+
| [`SModal.create({ component })`](#smodalcreate) | `SActionModal` | 액션 모달 | `modalRef` 주입 → `ok/cancel/close/submit` |
|
|
14
|
+
|
|
15
|
+
> **띄울 수 있는 모달은 `SActionModal` / `SConfirmModal` / `SLoadingModal` 세 가지뿐이고, 위 메서드가 1:1 로 대응한다.** 그 밖의 스타일로 모달을 띄우는 경로는 제공하지 않는다. `create` 는 컨테이너를 덧씌우지 않고 `component` 를 **그대로** 렌더하므로, `component` 는 루트에 `SActionModal` 을 렌더해야 한다 — 그러지 않으면 딤·카드 없이 콘텐츠만 뜨며, 개발 모드에서 `console.warn` 으로 경고한다.
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
import { SModal } from 'sellmate-design-system-react';
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## SModal.confirm
|
|
24
|
+
|
|
25
|
+
아이콘 + 제목 + 메시지 + 확인/취소 버튼. `type` 에 따라 아이콘·메인 버튼 색이 결정된다.
|
|
26
|
+
|
|
27
|
+
```tsx
|
|
28
|
+
SModal.confirm({
|
|
29
|
+
type: 'negative', // 'positive' | 'negative' | 'default'
|
|
30
|
+
modalTitle: '삭제하시겠습니까?',
|
|
31
|
+
topMessage: ['이 작업은 되돌릴 수 없습니다.'],
|
|
32
|
+
mainButtonLabel: '삭제',
|
|
33
|
+
subButtonLabel: '취소',
|
|
34
|
+
})
|
|
35
|
+
.onOk(() => deleteItem())
|
|
36
|
+
.onCancel(() => {});
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**옵션 (`SConfirmOptions`)** — 선언형 `SConfirmModalProps` 에서 제어 흐름 props(`open`/`onOpenChange`/`onOk`/`onCancel`/`onClose`)를 제외한 전부. 주요 키: `type`, `modalTitle`, `topMessage`/`bottomMessage`, `mainButtonLabel`/`mainButtonName`, `subButtonLabel`, `tagSlot`/`optionSlot`, `persistent`.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## SModal.loading
|
|
44
|
+
|
|
45
|
+
스피너/에러 모달. 로딩 중 임의 닫힘을 막기 위해 **`persistent` 기본값이 `true`** 다(백드롭·ESC로 안 닫힘). "띄우고 → 작업 → 결과 반영" 흐름을 `update()` / `close()` 로 제어한다.
|
|
46
|
+
|
|
47
|
+
```tsx
|
|
48
|
+
const ref = SModal.loading({ message: '업로드 중...' });
|
|
49
|
+
try {
|
|
50
|
+
await upload();
|
|
51
|
+
ref.close();
|
|
52
|
+
} catch {
|
|
53
|
+
ref.update({ state: 'error', message: '업로드 실패' }) // 표시 중 상태 갱신
|
|
54
|
+
.onClick(() => retry()); // 「다시 시도」 버튼
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
진행률:
|
|
59
|
+
|
|
60
|
+
```tsx
|
|
61
|
+
const ref = SModal.loading({ progress: 0, message: '파일 업로드 중...' });
|
|
62
|
+
ref.update({ progress: 60 }); // 0–100
|
|
63
|
+
ref.update({ progress: 100 });
|
|
64
|
+
ref.close();
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
> **버튼 클릭은 자동 닫힘이 아니다.** error 상태의 버튼(기본 "다시 시도")은 `onClick` 만 발화하고 모달은 유지된다. consumer 가 `update()`(다시 로딩) / `close()` 로 후속 동작을 결정한다.
|
|
68
|
+
|
|
69
|
+
**옵션 (`SLoadingOptions`)** — `state`('loading' | 'error'), `progress`(0–100), `message`(string | string[]), `useButton`, `buttonLabel`, `width`/`height`, `persistent`.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## SModal.create
|
|
74
|
+
|
|
75
|
+
**`SActionModal` 을 루트로 렌더하는 컴포넌트**를 띄운다. `create` 는 컨테이너를 덧씌우지 않고 `component` 를 **그대로** 렌더하며, 표시 제어(`open` / `onOpenChange` / `onClose`)와 [`modalRef`](#smodalref) 를 주입하고 닫힘 애니메이션 종료 후 언마운트를 담당한다.
|
|
76
|
+
|
|
77
|
+
컴포넌트는 주입받은 `open` / `onOpenChange` / `onClose` 를 **SActionModal 에 그대로 전달**해야 한다. 전달하지 않으면 모달이 열리지도, 닫히지도 않는다.
|
|
78
|
+
|
|
79
|
+
```tsx
|
|
80
|
+
import { SModal, SActionModal, type SModalCreateComponentProps } from 'sellmate-design-system-react';
|
|
81
|
+
|
|
82
|
+
// componentProps 로 넘긴 값 + 주입 prop 을 함께 받는다
|
|
83
|
+
interface OrderModalProps extends SModalCreateComponentProps {
|
|
84
|
+
orderId: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
function OrderModal({ open, onOpenChange, onClose, modalRef, orderId }: OrderModalProps) {
|
|
88
|
+
return (
|
|
89
|
+
<SActionModal
|
|
90
|
+
open={open}
|
|
91
|
+
onOpenChange={onOpenChange}
|
|
92
|
+
onClose={onClose}
|
|
93
|
+
modalTitle="주문 처리"
|
|
94
|
+
button={{ label: '처리', onClick: () => modalRef.ok() }}
|
|
95
|
+
>
|
|
96
|
+
<p>주문번호 {orderId} 를 접수합니다.</p>
|
|
97
|
+
</SActionModal>
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
SModal.create({ component: OrderModal, componentProps: { orderId: 'ORD-001' } })
|
|
102
|
+
.onOk(() => toast('저장 완료'))
|
|
103
|
+
.onDismissed(() => cleanup());
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
**옵션 (`SCreateOptions<P>`)**
|
|
107
|
+
|
|
108
|
+
| 키 | 타입 | 설명 |
|
|
109
|
+
|---|---|---|
|
|
110
|
+
| `component` | `ComponentType<P & SModalCreateComponentProps>` | 루트에 `SActionModal` 을 렌더하는 컴포넌트 |
|
|
111
|
+
| `componentProps?` | `P` | 컴포넌트에 전달할 추가 props |
|
|
112
|
+
|
|
113
|
+
**주입되는 prop (`SModalCreateComponentProps`)**
|
|
114
|
+
|
|
115
|
+
| 키 | 타입 | 설명 |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| `open` | `boolean` | SActionModal 의 `open` 에 그대로 전달 |
|
|
118
|
+
| `onOpenChange` | `(open: boolean) => void` | SActionModal 의 `onOpenChange` 에 그대로 전달 |
|
|
119
|
+
| `onClose` | `() => void` | SActionModal 의 `onClose` 에 그대로 전달 |
|
|
120
|
+
| `modalRef` | `SModalRef` | `ok()`/`cancel()`/`close()`/`submit()` 으로 자기 모달 제어 |
|
|
121
|
+
|
|
122
|
+
### 비동기 제출 — 응답 보고 닫기
|
|
123
|
+
|
|
124
|
+
SActionModal `button` 의 푸터 버튼은 클릭 시 **즉시 닫힌다**. 저장 API 응답에 따라 닫힘 여부를 정해야 하면 푸터 버튼 대신 **본문에 버튼을 두고** `modalRef` 로 닫힘 시점을 직접 제어한다.
|
|
125
|
+
|
|
126
|
+
```tsx
|
|
127
|
+
function OrderModal({ open, onOpenChange, onClose, modalRef, orderId }: OrderModalProps) {
|
|
128
|
+
const [error, setError] = useState('');
|
|
129
|
+
const handleSubmit = async () => {
|
|
130
|
+
try {
|
|
131
|
+
await save(orderId);
|
|
132
|
+
modalRef.ok(); // 성공 → onOk + 닫기
|
|
133
|
+
} catch {
|
|
134
|
+
setError('저장 실패'); // 실패 → 모달 유지
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
return (
|
|
138
|
+
// button 을 주지 않으면 푸터가 렌더되지 않는다
|
|
139
|
+
<SActionModal open={open} onOpenChange={onOpenChange} onClose={onClose} persistent modalTitle="주문 처리">
|
|
140
|
+
{error && <p>{error}</p>}
|
|
141
|
+
<SButton label="저장" onClick={handleSubmit} />
|
|
142
|
+
<SButton label="취소" onClick={() => modalRef.cancel()} />
|
|
143
|
+
</SActionModal>
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## SModalRef
|
|
151
|
+
|
|
152
|
+
모든 `SModal.*` 호출이 반환하고, `create` 에서는 컴포넌트 prop 으로도 주입되는 제어 핸들. 콜백 등록(체이닝)과 트리거/갱신 메서드를 함께 제공한다. 모달 종류에 따라 관련 있는 메서드만 실제로 발화한다.
|
|
153
|
+
|
|
154
|
+
### 콜백 등록 (체이닝)
|
|
155
|
+
|
|
156
|
+
| 메서드 | 발화 시점 |
|
|
157
|
+
|---|---|
|
|
158
|
+
| `onOk(fn)` | 확인 버튼(confirm) 또는 `ok()` |
|
|
159
|
+
| `onCancel(fn)` | 취소 버튼(confirm) 또는 `cancel()` |
|
|
160
|
+
| `onClose(fn)` | 닫기(X) 버튼 또는 `close()` |
|
|
161
|
+
| `onClick(fn)` | 단일 버튼 모달(loading error)의 버튼 클릭 — **닫힘 없음** |
|
|
162
|
+
| `onSubmit(fn)` | create 커스텀 모달의 `submit()` — **닫힘 없음** |
|
|
163
|
+
| `onDismissed(fn)` | 사유 무관 완전히 닫혀 언마운트된 뒤(백드롭·ESC 포함) |
|
|
164
|
+
|
|
165
|
+
### 트리거 / 제어
|
|
166
|
+
|
|
167
|
+
| 메서드 | 동작 |
|
|
168
|
+
|---|---|
|
|
169
|
+
| `ok()` | `onOk` 발화 + 닫기 (저장/처리 성공) |
|
|
170
|
+
| `cancel()` | `onCancel` 발화 + 닫기 (작업 취소) |
|
|
171
|
+
| `close()` | `onClose` 발화 + 닫기 (중립적 닫기) |
|
|
172
|
+
| `submit()` | `onSubmit` 발화 (닫힘 없음) |
|
|
173
|
+
| `update(patch)` | 표시 중 옵션 갱신 (loading→error, progress 등). create 는 미지원. |
|
|
174
|
+
|
|
175
|
+
모든 닫힘은 애니메이션 종료 후 `onDismissed` 로 수렴한다. 이미 닫힘이 시작된 뒤의 중복 트리거는 무시된다.
|
|
176
|
+
|
|
177
|
+
---
|
|
178
|
+
|
|
179
|
+
## 주의사항
|
|
180
|
+
|
|
181
|
+
- **선언형과 공존**: 서비스는 추가 API다. open 상태가 앱 상태/라우트에 묶인 경우엔 선언형 `<SConfirmModal open>` / `<SLoadingModal open>` 이 더 적합하다.
|
|
182
|
+
- **백드롭·ESC = 중립적 닫힘**: 특정 콜백(onClose 등) 없이 `onDismissed` 만 발화한다. 명시적 버튼·메서드만 onOk/onCancel/onClose 를 발화한다.
|
|
183
|
+
- **Context 미상속**: `create` 의 커스텀 컴포넌트는 새 React 트리(createRoot)에서 렌더되어 부모의 Context Provider(Theme·Store 등)를 상속하지 않는다. 필요하면 컴포넌트 내부에서 직접 Provider 로 감싸라. (confirm/loading 은 토큰이 `:root` CSS 변수라 무관)
|
|
184
|
+
- **`create` 의 `component` 는 SActionModal 을 루트로**: `create` 는 컨테이너를 덧씌우지 않으므로, 본문만 렌더하는 컴포넌트를 넘기면 딤·카드 없이 콘텐츠가 그대로 화면에 붙는다. TypeScript 는 이를 막지 못한다(`component` 타입이 아무 컴포넌트나 허용). 개발 모드에서는 마운트 직후 렌더 결과로 이를 감지해 `console.warn` 으로 경고한다 — 세 모달은 모두 Portal 로 `body` 에 렌더되므로 `create` 가 만든 host 는 비어 있어야 하는데, host 에 엘리먼트가 남아 있으면 모달이 아닌 것으로 판정한다.
|
|
185
|
+
|
|
186
|
+
## Dependencies
|
|
187
|
+
|
|
188
|
+
### Depends on
|
|
189
|
+
|
|
190
|
+
- [SActionModal](../SActionModal)
|
|
191
|
+
- [SConfirmModal](../SConfirmModal)
|
|
192
|
+
- [SLoadingModal](../SLoadingModal)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# SModalContainer
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SModalContainer
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `open?` | `boolean` | — | 표시 여부 (제어) |
|
|
12
|
+
| `ariaTitle?` | `string` | `'모달'` | 접근성 제목 (스크린리더용). 시각 제목은 children이 담당 |
|
|
13
|
+
| `showClose?` | `boolean` | `false` | 우측 상단 닫기 버튼 |
|
|
14
|
+
| `persistent?` | `boolean` | `false` | true면 백드롭 클릭·ESC로 닫히지 않고 흔들림(shake) 애니메이션 (sd-modal-container persistent) |
|
|
15
|
+
| `width?` | `number \| string` | — | 너비/높이 |
|
|
16
|
+
| `height?` | `number \| string` | — | |
|
|
17
|
+
| `children?` | `ReactNode` | — | |
|
|
18
|
+
| `className?` | `string` | — | |
|
|
19
|
+
| `style?` | `CSSProperties` | — | |
|
|
20
|
+
|
|
21
|
+
#### Events
|
|
22
|
+
|
|
23
|
+
| Event | Type | Description |
|
|
24
|
+
|-------|------|-------------|
|
|
25
|
+
| `onOpenChange` | `(open: boolean) => void` | 표시 상태 변경 |
|
|
26
|
+
| `onClose` | `() => void` | 닫기(X) 버튼 클릭 시 발생 (sd-modal-container 닫기 버튼 대응) |
|
|
27
|
+
|
|
28
|
+
## Dependencies
|
|
29
|
+
|
|
30
|
+
### Used by
|
|
31
|
+
|
|
32
|
+
- [SActionModal](../SActionModal)
|
|
33
|
+
- [SConfirmModal](../SConfirmModal)
|
|
34
|
+
- [SLoadingModal](../SLoadingModal)
|
|
35
|
+
|
|
36
|
+
### Depends on
|
|
37
|
+
|
|
38
|
+
- [SGhostButton](../SGhostButton)
|
|
39
|
+
|
|
40
|
+
### Graph
|
|
41
|
+
|
|
42
|
+
```mermaid
|
|
43
|
+
graph TD;
|
|
44
|
+
SModalContainer --> SGhostButton
|
|
45
|
+
SActionModal --> SModalContainer
|
|
46
|
+
SConfirmModal --> SModalContainer
|
|
47
|
+
SLoadingModal --> SModalContainer
|
|
48
|
+
style SModalContainer fill:#f9f,stroke:#333,stroke-width:4px
|
|
49
|
+
```
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# SNumberInput
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SNumberInput
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `value?` | `string \| number \| null` | — | 입력 값 |
|
|
12
|
+
| `size?` | `SNumberInputSize` | `'sm'` | 크기 |
|
|
13
|
+
| `min?` | `number` | `Number.NEGATIVE_INFINITY` | 최솟값 |
|
|
14
|
+
| `max?` | `number` | `Number.POSITIVE_INFINITY` | 최댓값 |
|
|
15
|
+
| `step?` | `number` | `1` | 스텝 단위 |
|
|
16
|
+
| `useButton?` | `boolean` | `false` | 증감 버튼 표시 |
|
|
17
|
+
| `useDecimal?` | `boolean` | `false` | 소수점 입력 허용 |
|
|
18
|
+
| `maxDecimalLength?` | `number` | — | 소수점 이하 최대 자리수 |
|
|
19
|
+
| `inputPrefix?` | `string` | `''` | 입력 앞 접두 텍스트 |
|
|
20
|
+
| `inputSuffix?` | `string` | `''` | 입력 뒤 접미 텍스트 |
|
|
21
|
+
| `inputClass?` | `string` | — | 네이티브 input className |
|
|
22
|
+
| `inputStyle?` | `CSSProperties` | — | 네이티브 input style |
|
|
23
|
+
| `autoFocus?` | `boolean` | — | 마운트 시 자동 포커스 |
|
|
24
|
+
| `name?` | `string` | — | 폼 연동 name |
|
|
25
|
+
| `placeholder?` | `string` | `'입력해 주세요.'` | |
|
|
26
|
+
| `disabled?` | `boolean` | `false` | |
|
|
27
|
+
| `readOnly?` | `boolean` | `false` | |
|
|
28
|
+
| `rules?` | `Rule[]` | — | 유효성 규칙 — blur 시 검증 |
|
|
29
|
+
| `status?` | `SFieldStatus` | — | |
|
|
30
|
+
| `focused?` | `boolean` | — | |
|
|
31
|
+
| `hovered?` | `boolean` | — | |
|
|
32
|
+
| `label?` | `string` | — | |
|
|
33
|
+
| `labelWidth?` | `number \| string` | — | |
|
|
34
|
+
| `icon?` | `SIconName` | — | |
|
|
35
|
+
| `iconColor?` | `SColor` | — | |
|
|
36
|
+
| `labelTooltip?` | `string` | — | |
|
|
37
|
+
| `labelTooltipProps?` | `Partial<STooltipProps>` | — | |
|
|
38
|
+
| `addonLabel?` | `string` | — | |
|
|
39
|
+
| `addonAlign?` | `SFieldAddonAlign` | — | |
|
|
40
|
+
| `hint?` | `string` | — | |
|
|
41
|
+
| `error?` | `boolean` | — | |
|
|
42
|
+
| `errorMessage?` | `string` | — | |
|
|
43
|
+
| `width?` | `number \| string` | — | |
|
|
44
|
+
| `className?` | `string` | — | |
|
|
45
|
+
| `style?` | `CSSProperties` | — | |
|
|
46
|
+
|
|
47
|
+
#### Events
|
|
48
|
+
|
|
49
|
+
| Event | Type | Description |
|
|
50
|
+
|-------|------|-------------|
|
|
51
|
+
| `onValueChange` | `(value: number \| null) => void` | 값 변경 (sdUpdate) — number|null 전달 |
|
|
52
|
+
| `onFocus` | `(e: React.FocusEvent<HTMLInputElement>) => void` | 포커스 이벤트 (sdFocus) |
|
|
53
|
+
| `onBlur` | `(e: React.FocusEvent<HTMLInputElement>) => void` | 블러 이벤트 (sdBlur) |
|
|
54
|
+
|
|
55
|
+
## Dependencies
|
|
56
|
+
|
|
57
|
+
### Used by
|
|
58
|
+
|
|
59
|
+
- [SKeyValueTable](../SKeyValueTable)
|
|
60
|
+
|
|
61
|
+
### Depends on
|
|
62
|
+
|
|
63
|
+
- [SField](../SField)
|
|
64
|
+
- [SIcon](../SIcon)
|
|
65
|
+
|
|
66
|
+
### Graph
|
|
67
|
+
|
|
68
|
+
```mermaid
|
|
69
|
+
graph TD;
|
|
70
|
+
SNumberInput --> SField
|
|
71
|
+
SNumberInput --> SIcon
|
|
72
|
+
SKeyValueTable --> SNumberInput
|
|
73
|
+
style SNumberInput fill:#f9f,stroke:#333,stroke-width:4px
|
|
74
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# SPage
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SPage
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `background?` | `SPageBackground` | `'frame'` | 페이지 배경 표면. frame=흰 콘텐츠 면, neutral=옅은 회색 면, screen=앱 바탕. 스크롤바 처리도 여기 묶여 있다 — 셋 다 구분선+트랙 배경이고, 트랙 색만 neutral 에서 흰색이 된다. |
|
|
12
|
+
|
|
13
|
+
## Dependencies
|
|
14
|
+
|
|
15
|
+
### Depends on
|
|
16
|
+
|
|
17
|
+
- [SLayout](../SLayout)
|
|
18
|
+
|
|
19
|
+
### Graph
|
|
20
|
+
|
|
21
|
+
```mermaid
|
|
22
|
+
graph TD;
|
|
23
|
+
SPage --> SLayout
|
|
24
|
+
style SPage fill:#f9f,stroke:#333,stroke-width:4px
|
|
25
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# SPagination
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SPagination
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `currentPage?` | `number` | `1` | 현재 페이지 |
|
|
12
|
+
| `lastPage?` | `number` | `1` | 마지막 페이지 |
|
|
13
|
+
| `simple?` | `boolean` | `false` | 단순 모드 (현재/마지막만 표시) |
|
|
14
|
+
| `className?` | `string` | — | |
|
|
15
|
+
| `style?` | `CSSProperties` | — | |
|
|
16
|
+
|
|
17
|
+
#### Events
|
|
18
|
+
|
|
19
|
+
| Event | Type | Description |
|
|
20
|
+
|-------|------|-------------|
|
|
21
|
+
| `onPageChange` | `(page: number) => void` | 페이지 변경 (sdPageChange) |
|
|
22
|
+
|
|
23
|
+
## Dependencies
|
|
24
|
+
|
|
25
|
+
### Used by
|
|
26
|
+
|
|
27
|
+
- [STable](../STable)
|
|
28
|
+
|
|
29
|
+
### Depends on
|
|
30
|
+
|
|
31
|
+
- [SIcon](../SIcon)
|
|
32
|
+
|
|
33
|
+
### Graph
|
|
34
|
+
|
|
35
|
+
```mermaid
|
|
36
|
+
graph TD;
|
|
37
|
+
SPagination --> SIcon
|
|
38
|
+
STable --> SPagination
|
|
39
|
+
style SPagination fill:#f9f,stroke:#333,stroke-width:4px
|
|
40
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# SPopover
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SPopover
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `open?` | `boolean` | — | 표시 여부 (제어). onOpenChange 와 함께 사용 |
|
|
12
|
+
| `defaultOpen?` | `boolean` | — | 기본 표시 여부 (비제어) |
|
|
13
|
+
| `placement?` | `SPopoverPlacement` | `'bottom'` | 표시 방향 |
|
|
14
|
+
| `type?` | `SPopoverType` | `'default'` | 색상 타입 (default: 다크 / danger·warning·accent: 라이트 배경) |
|
|
15
|
+
| `menuTitle` | `string` | — | 메뉴 제목 (필수) |
|
|
16
|
+
| `titleIcon?` | `SIconName` | — | 제목 좌측 아이콘 (선택) |
|
|
17
|
+
| `children?` | `ReactNode` | — | 본문 내용 |
|
|
18
|
+
| `trigger?` | `ReactNode` | — | 커스텀 트리거. 없으면 아이콘 트리거 렌더 |
|
|
19
|
+
| `icon?` | `SIconName` | `'helpOutline'` | 기본(아이콘) 트리거 설정 |
|
|
20
|
+
| `iconSize?` | `number` | `12` | |
|
|
21
|
+
| `color?` | `SColor` | `'#01BB4B'` | 트리거 아이콘 색상. 팔레트 키(`grey_65`, `red_95` …) 또는 임의 CSS 색상 |
|
|
22
|
+
| `leftLinkLabel?` | `string` | — | 하단 좌측 링크 레이블 (선택). 스타일은 chevron 링크로 고정 |
|
|
23
|
+
| `buttonLabel` | `string` | — | 하단 우측 버튼 레이블 (필수). 색상/스타일은 type 별로 고정 |
|
|
24
|
+
| `ariaLabel?` | `string` | — | |
|
|
25
|
+
| `menuClassName?` | `string` | — | |
|
|
26
|
+
| `style?` | `CSSProperties` | — | |
|
|
27
|
+
|
|
28
|
+
#### Events
|
|
29
|
+
|
|
30
|
+
| Event | Type | Description |
|
|
31
|
+
|-------|------|-------------|
|
|
32
|
+
| `onOpenChange` | `(open: boolean) => void` | 표시 상태 변경 (sdShowChange) |
|
|
33
|
+
| `onLeftLinkClick` | `() => void` | 하단 좌측 링크 클릭 |
|
|
34
|
+
| `onButtonClick` | `() => void` | 하단 우측 버튼 클릭 |
|
|
35
|
+
|
|
36
|
+
## Dependencies
|
|
37
|
+
|
|
38
|
+
### Depends on
|
|
39
|
+
|
|
40
|
+
- [SButton](../SButton)
|
|
41
|
+
- [SGhostButton](../SGhostButton)
|
|
42
|
+
- [SIcon](../SIcon)
|
|
43
|
+
- [STextLink](../STextLink)
|
|
44
|
+
|
|
45
|
+
### Graph
|
|
46
|
+
|
|
47
|
+
```mermaid
|
|
48
|
+
graph TD;
|
|
49
|
+
SPopover --> SButton
|
|
50
|
+
SPopover --> SGhostButton
|
|
51
|
+
SPopover --> SIcon
|
|
52
|
+
SPopover --> STextLink
|
|
53
|
+
style SPopover fill:#f9f,stroke:#333,stroke-width:4px
|
|
54
|
+
```
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# SPopup
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SPopup
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `popupTitle?` | `string` | `''` | 헤더 제목 |
|
|
12
|
+
| `type?` | `SPopupType` | `'default'` | 타입 (헤더 색상) |
|
|
13
|
+
| `useFooter?` | `boolean` | `true` | 하단 footer 표시 여부 |
|
|
14
|
+
| `submitButton?` | `SPopupSubmitButton` | — | 확인 버튼 설정 |
|
|
15
|
+
| `footerLeft?` | `ReactNode` | — | footer 좌측 영역 |
|
|
16
|
+
| `children?` | `ReactNode` | — | 본문 |
|
|
17
|
+
| `className?` | `string` | — | |
|
|
18
|
+
| `style?` | `CSSProperties` | — | |
|
|
19
|
+
|
|
20
|
+
#### Events
|
|
21
|
+
|
|
22
|
+
| Event | Type | Description |
|
|
23
|
+
|-------|------|-------------|
|
|
24
|
+
| `onSubmit` | `() => void` | 확인 버튼 클릭 (sdSubmit) |
|
|
25
|
+
|
|
26
|
+
## Dependencies
|
|
27
|
+
|
|
28
|
+
### Depends on
|
|
29
|
+
|
|
30
|
+
- [SButton](../SButton)
|
|
31
|
+
|
|
32
|
+
### Graph
|
|
33
|
+
|
|
34
|
+
```mermaid
|
|
35
|
+
graph TD;
|
|
36
|
+
SPopup --> SButton
|
|
37
|
+
style SPopup fill:#f9f,stroke:#333,stroke-width:4px
|
|
38
|
+
```
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# SPortal
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SPortal
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `open` | `boolean` | — | 표시 여부 (제어). onClose 와 함께 사용한다. |
|
|
12
|
+
| `anchorRef` | `RefObject<HTMLElement \| null>` | — | 위치 기준이 되는 앵커 엘리먼트 ref (sd-portal `parentRef` 대응). 트리거 버튼 등에 그대로 걸면 그 엘리먼트에 붙어서 뜬다. |
|
|
13
|
+
| `placement?` | `SPortalPlacement` | `'bottom'` | 표시 방향 (공간이 부족하면 자동으로 반대 방향으로 전환). |
|
|
14
|
+
| `align?` | `SPortalAlign` | `'start'` | 교차축 정렬 (start·center·end). |
|
|
15
|
+
| `offset?` | `number` | `4` | 앵커로부터의 간격 px (sd-portal offset[1]). |
|
|
16
|
+
| `alignOffset?` | `number` | `0` | 정렬축 오프셋 px (sd-portal offset[0]). |
|
|
17
|
+
| `fit?` | `boolean` | `false` | 앵커 너비에 맞춰 최소 너비를 잡는다. |
|
|
18
|
+
| `maxHeight?` | `number` | — | 콘텐츠 최대 높이 px. 넘치면 세로 스크롤. |
|
|
19
|
+
| `autoClose?` | `boolean` | `false` | 콘텐츠 내부를 클릭하면 자동으로 닫는다. |
|
|
20
|
+
| `persistent?` | `boolean` | `false` | 외부 클릭 · ESC 로 닫히지 않게 한다. |
|
|
21
|
+
| `viewportPadding?` | `number` | `0` | 뷰포트 경계 여백 px (충돌 회피 패딩). |
|
|
22
|
+
| `children?` | `ReactNode` | — | 본문 내용 (콘텐츠 자유). |
|
|
23
|
+
| `className?` | `string` | — | |
|
|
24
|
+
| `style?` | `CSSProperties` | — | |
|
|
25
|
+
| `ariaLabel?` | `string` | — | |
|
|
26
|
+
|
|
27
|
+
#### Events
|
|
28
|
+
|
|
29
|
+
| Event | Type | Description |
|
|
30
|
+
|-------|------|-------------|
|
|
31
|
+
| `onClose` | `() => void` | 외부 클릭 · ESC 등으로 닫힘이 요청될 때 (sd-portal `sdClose` 대응). |
|
|
32
|
+
| `onOpenChange` | `(open: boolean) => void` | 열림/닫힘 변경 전체 콜백 (선택). |
|
|
33
|
+
| `onOpenAutoFocus` | `(event: Event) => void` | 열릴 때 포커스 이동 처리 (기본은 Radix가 콘텐츠로 포커스를 옮김). e.preventDefault()로 막을 수 있다. |
|
|
34
|
+
| `onCloseAutoFocus` | `(event: Event) => void` | 닫힐 때 포커스 복귀 처리 (기본은 Radix가 앵커로 포커스를 되돌림). e.preventDefault()로 막을 수 있다. |
|
|
35
|
+
| `onPointerDownOutside` | `(event: Event) => void` | 바깥 영역 pointerdown 으로 닫힘이 시작될 때 (앵커 위 클릭·persistent 는 제외). |
|
|
36
|
+
|
|
37
|
+
## Dependencies
|
|
38
|
+
|
|
39
|
+
### Used by
|
|
40
|
+
|
|
41
|
+
- [SChipInput](../SChipInput)
|
|
42
|
+
- [SSelect](../SSelect)
|
|
43
|
+
|
|
44
|
+
### Graph
|
|
45
|
+
|
|
46
|
+
```mermaid
|
|
47
|
+
graph TD;
|
|
48
|
+
SChipInput --> SPortal
|
|
49
|
+
SSelect --> SPortal
|
|
50
|
+
style SPortal fill:#f9f,stroke:#333,stroke-width:4px
|
|
51
|
+
```
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# SRadio
|
|
2
|
+
|
|
3
|
+
> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.
|
|
4
|
+
|
|
5
|
+
### SRadioGroup
|
|
6
|
+
|
|
7
|
+
#### Props
|
|
8
|
+
|
|
9
|
+
| Prop | Type | Default | Description |
|
|
10
|
+
|------|------|---------|-------------|
|
|
11
|
+
| `options?` | `SRadioOption[]` | `[]` | 옵션 목록 |
|
|
12
|
+
| `value?` | `SRadioValue \| null` | — | 현재 선택 값 |
|
|
13
|
+
| `direction?` | `'vertical' \| 'horizontal'` | `'vertical'` | 배치 방향 |
|
|
14
|
+
| `disabled?` | `boolean` | `false` | 전체 비활성 |
|
|
15
|
+
| `groupName?` | `string` | — | 라디오 name 속성 (form-agnostic 그룹핑) |
|
|
16
|
+
| `className?` | `string` | — | |
|
|
17
|
+
| `style?` | `CSSProperties` | — | |
|
|
18
|
+
|
|
19
|
+
#### Events
|
|
20
|
+
|
|
21
|
+
| Event | Type | Description |
|
|
22
|
+
|-------|------|-------------|
|
|
23
|
+
| `onValueChange` | `(val: SRadioValue) => void` | 선택 변경 (sdUpdate) |
|
|
24
|
+
|
|
25
|
+
### SRadio
|
|
26
|
+
|
|
27
|
+
#### Props
|
|
28
|
+
|
|
29
|
+
| Prop | Type | Default | Description |
|
|
30
|
+
|------|------|---------|-------------|
|
|
31
|
+
| `val` | `SRadioValue` | — | 이 라디오의 값 |
|
|
32
|
+
| `value?` | `SRadioValue \| null` | — | 그룹의 현재 선택 값 |
|
|
33
|
+
| `label?` | `string` | — | 라벨 |
|
|
34
|
+
| `disabled?` | `boolean` | `false` | 비활성 |
|
|
35
|
+
| `name?` | `string` | — | native radio name (form-agnostic 그룹핑) |
|
|
36
|
+
| `className?` | `string` | — | |
|
|
37
|
+
| `style?` | `CSSProperties` | — | |
|
|
38
|
+
|
|
39
|
+
#### Events
|
|
40
|
+
|
|
41
|
+
| Event | Type | Description |
|
|
42
|
+
|-------|------|-------------|
|
|
43
|
+
| `onValueChange` | `(val: SRadioValue) => void` | 선택 변경 (sdUpdate) — 선택된 val 전달 |
|
|
44
|
+
|
|
45
|
+
## Dependencies
|
|
46
|
+
|
|
47
|
+
### Used by
|
|
48
|
+
|
|
49
|
+
- [SKeyValueTable](../SKeyValueTable)
|
|
50
|
+
|
|
51
|
+
### Graph
|
|
52
|
+
|
|
53
|
+
```mermaid
|
|
54
|
+
graph TD;
|
|
55
|
+
SKeyValueTable --> SRadio
|
|
56
|
+
style SRadio fill:#f9f,stroke:#333,stroke-width:4px
|
|
57
|
+
```
|