@s2life/mcp 0.2.0 → 0.3.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/README.md +14 -0
- package/catalog.mjs +18 -0
- package/manifest.json +917 -713
- package/package.json +2 -1
- package/server.mjs +10 -5
package/manifest.json
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
+
"derived": {
|
|
4
|
+
"importTemplate": "import { NAME } from '@s2life/ui';",
|
|
5
|
+
"sourceRoot": "packages/ui/src/",
|
|
6
|
+
"kindDefault": "component",
|
|
7
|
+
"requiredDefault": false,
|
|
8
|
+
"optionalTypeSuffix": " | undefined",
|
|
9
|
+
"optionalTypeSuffixExceptions": [
|
|
10
|
+
"ReactNode"
|
|
11
|
+
],
|
|
12
|
+
"description": "import는 importTemplate의 NAME을 name으로 치환한다. source는 sourceRoot + 항목의 source다. kind 생략은 kindDefault, props[].required 생략은 requiredDefault다. 선택 prop의 type에는 optionalTypeSuffix를 붙이되 optionalTypeSuffixExceptions의 타입은 이미 undefined를 포함하므로 그대로 쓴다. get_component와 list_components는 복원된 값을 응답한다."
|
|
13
|
+
},
|
|
3
14
|
"tokens": [
|
|
4
15
|
{
|
|
5
16
|
"name": "color-brand-50",
|
|
@@ -4075,25 +4086,336 @@
|
|
|
4075
4086
|
}
|
|
4076
4087
|
],
|
|
4077
4088
|
"components": [
|
|
4089
|
+
{
|
|
4090
|
+
"name": "Carousel",
|
|
4091
|
+
"category": "media",
|
|
4092
|
+
"purpose": "배너·콘텐츠 슬라이드를 네이티브 가로 스크롤과 scroll-snap으로 넘긴다.",
|
|
4093
|
+
"useWhen": [
|
|
4094
|
+
"배너 슬라이드",
|
|
4095
|
+
"콘텐츠를 한 장씩 가로로 넘길 때"
|
|
4096
|
+
],
|
|
4097
|
+
"dont": [
|
|
4098
|
+
"Swiper·Embla·transform 이동·기본 순환을 추가하지 마라",
|
|
4099
|
+
"자동재생 정지 버튼을 숨기거나 사용자 조작 후 재개하지 마라"
|
|
4100
|
+
],
|
|
4101
|
+
"rules": [
|
|
4102
|
+
{
|
|
4103
|
+
"text": "트랙은 이름 있는 캐러셀 group과 tabindex=0, 슬라이드는 순번·전체 개수의 group이다. 현재값은 IntersectionObserver threshold=0.6으로만 읽는다. 이전·다음은 한 폭 scrollBy하며 처음·끝에서 비활성이다. 점은 scrollTo·aria-current와 크기 차이를 쓴다. autoplay는 정지 버튼을 항상 동반한다. 버튼·호버·내부 포커스·reduce·document.hidden·사용자 직접 넘김에서 멈춘다. 호버·포커스·숨김은 해제 후 재개하지만 직접 넘김은 영구 종료한다. 자동 넘김은 aria-live=off, 직접 넘김 뒤 polite로 순번을 알린다. reduce는 시작하지 않고 변경을 구독하며 컴포넌트 CSS에서 scroll-behavior:auto를 지정한다.",
|
|
4104
|
+
"source": "DESIGN.md 23"
|
|
4105
|
+
}
|
|
4106
|
+
],
|
|
4107
|
+
"related": [
|
|
4108
|
+
"MediaViewer"
|
|
4109
|
+
],
|
|
4110
|
+
"keywords": [
|
|
4111
|
+
"캐러셀",
|
|
4112
|
+
"배너",
|
|
4113
|
+
"슬라이드",
|
|
4114
|
+
"슬라이더",
|
|
4115
|
+
"자동 넘김",
|
|
4116
|
+
"가로 스크롤",
|
|
4117
|
+
"배너 슬라이드"
|
|
4118
|
+
],
|
|
4119
|
+
"parts": [
|
|
4120
|
+
"CarouselSlide"
|
|
4121
|
+
],
|
|
4122
|
+
"source": "components/carousel/carousel.tsx",
|
|
4123
|
+
"props": [
|
|
4124
|
+
{
|
|
4125
|
+
"name": "label",
|
|
4126
|
+
"type": "string",
|
|
4127
|
+
"required": true,
|
|
4128
|
+
"doc": "캐러셀 그룹의 이름. 예: 출고 안내 배너."
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"name": "children",
|
|
4132
|
+
"type": "ReactNode",
|
|
4133
|
+
"required": true
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
"name": "autoplay",
|
|
4137
|
+
"type": "number",
|
|
4138
|
+
"doc": "자동 넘김 간격(ms). 지정하면 정지 버튼도 항상 함께 제공한다."
|
|
4139
|
+
},
|
|
4140
|
+
{
|
|
4141
|
+
"name": "showArrows",
|
|
4142
|
+
"type": "boolean"
|
|
4143
|
+
},
|
|
4144
|
+
{
|
|
4145
|
+
"name": "showDots",
|
|
4146
|
+
"type": "boolean"
|
|
4147
|
+
}
|
|
4148
|
+
],
|
|
4149
|
+
"extends": [],
|
|
4150
|
+
"slots": [
|
|
4151
|
+
"carousel",
|
|
4152
|
+
"carousel-announcement",
|
|
4153
|
+
"carousel-controls",
|
|
4154
|
+
"carousel-dot",
|
|
4155
|
+
"carousel-dots",
|
|
4156
|
+
"carousel-next",
|
|
4157
|
+
"carousel-pause",
|
|
4158
|
+
"carousel-previous",
|
|
4159
|
+
"carousel-stopped",
|
|
4160
|
+
"carousel-track"
|
|
4161
|
+
]
|
|
4162
|
+
},
|
|
4163
|
+
{
|
|
4164
|
+
"name": "CarouselSlide",
|
|
4165
|
+
"partOf": "Carousel",
|
|
4166
|
+
"purpose": "슬라이드 부품. 직접 자식으로 배치하며 순번·전체 개수는 부모가 제공한다. 자체 Tab 정지점은 추가하지 않으며 내부 링크는 네이티브 Tab 경로에 남는다.",
|
|
4167
|
+
"source": "components/carousel/carousel.tsx",
|
|
4168
|
+
"props": [],
|
|
4169
|
+
"extends": [
|
|
4170
|
+
"React.ComponentProps<'div'>"
|
|
4171
|
+
],
|
|
4172
|
+
"slots": [
|
|
4173
|
+
"carousel-slide"
|
|
4174
|
+
]
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
"name": "MediaViewer",
|
|
4178
|
+
"category": "media",
|
|
4179
|
+
"purpose": "이미지 확대와 동영상 팝업·플로팅 표시를 제공한다.",
|
|
4180
|
+
"useWhen": [
|
|
4181
|
+
"이미지 크게 보기",
|
|
4182
|
+
"영상 보면서 작업",
|
|
4183
|
+
"이미지나 영상을 확대해서 볼 때"
|
|
4184
|
+
],
|
|
4185
|
+
"dont": [
|
|
4186
|
+
"커스텀 플레이어·자동 재생을 만들지 마라",
|
|
4187
|
+
"pan·zoom·끌어서 옮기기는 현재 범위가 아니다"
|
|
4188
|
+
],
|
|
4189
|
+
"rules": [
|
|
4190
|
+
{
|
|
4191
|
+
"text": "popup은 DialogContent wide, floating은 manual popover로 바깥 입력·스크롤을 유지한다. 닫기 버튼과 패널 안 Escape를 제공한다. 이미지는 alt 필수·종횡비 보존, 로딩 Skeleton과 오류 ErrorState는 같은 예약 상자를 쓴다. 동영상은 controls·preload=metadata·자막 track을 쓰며 poster를 권장한다. PiP는 기능 탐지·disablePictureInPicture를 존중하고 실제 클릭으로 열고 해제한다.",
|
|
4192
|
+
"source": "DESIGN.md 22"
|
|
4193
|
+
}
|
|
4194
|
+
],
|
|
4195
|
+
"related": [
|
|
4196
|
+
"Dialog",
|
|
4197
|
+
"Thumbnail",
|
|
4198
|
+
"Skeleton",
|
|
4199
|
+
"ErrorState"
|
|
4200
|
+
],
|
|
4201
|
+
"keywords": [
|
|
4202
|
+
"이미지 확대",
|
|
4203
|
+
"라이트박스",
|
|
4204
|
+
"사진 크게",
|
|
4205
|
+
"동영상 재생",
|
|
4206
|
+
"영상 팝업",
|
|
4207
|
+
"떠 있는 창",
|
|
4208
|
+
"화면 속 화면",
|
|
4209
|
+
"PiP",
|
|
4210
|
+
"이미지 크게 보기",
|
|
4211
|
+
"영상 보면서 작업"
|
|
4212
|
+
],
|
|
4213
|
+
"source": "components/media-viewer/media-viewer.tsx",
|
|
4214
|
+
"props": [
|
|
4215
|
+
{
|
|
4216
|
+
"name": "media",
|
|
4217
|
+
"type": "Media",
|
|
4218
|
+
"required": true
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"name": "open",
|
|
4222
|
+
"type": "boolean",
|
|
4223
|
+
"required": true
|
|
4224
|
+
},
|
|
4225
|
+
{
|
|
4226
|
+
"name": "onOpenChange",
|
|
4227
|
+
"type": "(open: boolean) => void",
|
|
4228
|
+
"required": true
|
|
4229
|
+
},
|
|
4230
|
+
{
|
|
4231
|
+
"name": "mode",
|
|
4232
|
+
"type": "\"floating\" | \"popup\"",
|
|
4233
|
+
"doc": "popup은 모달 확대, floating은 페이지를 계속 사용하는 구석 창이다."
|
|
4234
|
+
},
|
|
4235
|
+
{
|
|
4236
|
+
"name": "placement",
|
|
4237
|
+
"type": "\"bottom-end\" | \"bottom-start\" | \"top-end\" | \"top-start\""
|
|
4238
|
+
},
|
|
4239
|
+
{
|
|
4240
|
+
"name": "title",
|
|
4241
|
+
"type": "string"
|
|
4242
|
+
}
|
|
4243
|
+
],
|
|
4244
|
+
"extends": [],
|
|
4245
|
+
"slots": [
|
|
4246
|
+
"button",
|
|
4247
|
+
"dialog-close-icon",
|
|
4248
|
+
"dialog-content",
|
|
4249
|
+
"dialog-header",
|
|
4250
|
+
"dialog-overlay",
|
|
4251
|
+
"dialog-title",
|
|
4252
|
+
"error-state",
|
|
4253
|
+
"media-viewer",
|
|
4254
|
+
"media-viewer-body",
|
|
4255
|
+
"media-viewer-close",
|
|
4256
|
+
"media-viewer-header",
|
|
4257
|
+
"media-viewer-image",
|
|
4258
|
+
"media-viewer-pip",
|
|
4259
|
+
"media-viewer-stage",
|
|
4260
|
+
"media-viewer-video",
|
|
4261
|
+
"skeleton",
|
|
4262
|
+
"state-description",
|
|
4263
|
+
"state-graphic",
|
|
4264
|
+
"state-title"
|
|
4265
|
+
]
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
"name": "Collapsible",
|
|
4269
|
+
"category": "disclosure",
|
|
4270
|
+
"purpose": "고급 설정 같은 임의 내용을 접고 펼친다. 트리거는 항상 보인다.",
|
|
4271
|
+
"useWhen": [
|
|
4272
|
+
"고급 설정 접기",
|
|
4273
|
+
"패널을 접고 펼칠 때"
|
|
4274
|
+
],
|
|
4275
|
+
"dont": [
|
|
4276
|
+
"긴 글의 줄 제한에는 ClampText를 쓴다",
|
|
4277
|
+
"아코디언으로 쓰지 마라"
|
|
4278
|
+
],
|
|
4279
|
+
"rules": [
|
|
4280
|
+
{
|
|
4281
|
+
"text": "트리거 라벨은 앱이 준다. ARIA·data-state는 Radix가 소유한다. 높이는 Radix 변수로 전환하며 reduce에서는 0이다. 닫으면 자식이 제거되므로 입력값 보존은 Content forceMount를 쓴다.",
|
|
4282
|
+
"source": "DESIGN.md 21"
|
|
4283
|
+
}
|
|
4284
|
+
],
|
|
4285
|
+
"related": [
|
|
4286
|
+
"ClampText"
|
|
4287
|
+
],
|
|
4288
|
+
"keywords": [
|
|
4289
|
+
"접기",
|
|
4290
|
+
"펼치기",
|
|
4291
|
+
"아코디언 아님",
|
|
4292
|
+
"고급 설정",
|
|
4293
|
+
"고급 설정 접기"
|
|
4294
|
+
],
|
|
4295
|
+
"parts": [
|
|
4296
|
+
"CollapsibleTrigger",
|
|
4297
|
+
"CollapsibleContent"
|
|
4298
|
+
],
|
|
4299
|
+
"source": "components/collapsible/collapsible.tsx",
|
|
4300
|
+
"props": [],
|
|
4301
|
+
"extends": [
|
|
4302
|
+
"React.ComponentProps<typeof Primitive.Root>"
|
|
4303
|
+
],
|
|
4304
|
+
"slots": [
|
|
4305
|
+
"collapsible"
|
|
4306
|
+
]
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
"name": "CollapsibleTrigger",
|
|
4310
|
+
"partOf": "Collapsible",
|
|
4311
|
+
"purpose": "항상 보이는 접고 펴기 버튼. 라벨은 앱이 제공한다.",
|
|
4312
|
+
"source": "components/collapsible/collapsible.tsx",
|
|
4313
|
+
"props": [],
|
|
4314
|
+
"extends": [
|
|
4315
|
+
"React.ComponentProps<typeof Primitive.Trigger>"
|
|
4316
|
+
],
|
|
4317
|
+
"slots": [
|
|
4318
|
+
"collapsible-trigger"
|
|
4319
|
+
]
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"name": "CollapsibleContent",
|
|
4323
|
+
"partOf": "Collapsible",
|
|
4324
|
+
"purpose": "접을 내용. forceMount는 닫힌 자식과 입력값을 유지한다.",
|
|
4325
|
+
"source": "components/collapsible/collapsible.tsx",
|
|
4326
|
+
"props": [],
|
|
4327
|
+
"extends": [
|
|
4328
|
+
"React.ComponentProps<typeof Primitive.Content>"
|
|
4329
|
+
],
|
|
4330
|
+
"slots": [
|
|
4331
|
+
"collapsible-content"
|
|
4332
|
+
]
|
|
4333
|
+
},
|
|
4334
|
+
{
|
|
4335
|
+
"name": "ClampText",
|
|
4336
|
+
"category": "disclosure",
|
|
4337
|
+
"purpose": "긴 글을 N줄로 자르고 넘칠 때만 더보기·간략히를 제공한다.",
|
|
4338
|
+
"useWhen": [
|
|
4339
|
+
"상품 설명·비고 등 긴 설명 더보기"
|
|
4340
|
+
],
|
|
4341
|
+
"dont": [
|
|
4342
|
+
"넘치지 않을 때 버튼을 렌더하지 마라",
|
|
4343
|
+
"전역과 다른 줄바꿈 규칙을 넣지 마라"
|
|
4344
|
+
],
|
|
4345
|
+
"rules": [
|
|
4346
|
+
{
|
|
4347
|
+
"text": "기본 2줄. ResizeObserver와 MutationObserver(childList·characterData·subtree), fonts.ready로 재측정한다. 펼친 상태도 접힌 치수로 판정한다. 전체 글은 DOM에 남아 복사할 수 있다. 버튼은 글 id로 controls·describedby를 연결하고 제어·비제어를 지원한다. 전환은 즉시 적용한다.",
|
|
4348
|
+
"source": "DESIGN.md 21"
|
|
4349
|
+
}
|
|
4350
|
+
],
|
|
4351
|
+
"related": [
|
|
4352
|
+
"Collapsible"
|
|
4353
|
+
],
|
|
4354
|
+
"keywords": [
|
|
4355
|
+
"더보기",
|
|
4356
|
+
"간략히",
|
|
4357
|
+
"말줄임",
|
|
4358
|
+
"긴 글",
|
|
4359
|
+
"긴 설명 더보기"
|
|
4360
|
+
],
|
|
4361
|
+
"source": "components/clamp-text/clamp-text.tsx",
|
|
4362
|
+
"props": [
|
|
4363
|
+
{
|
|
4364
|
+
"name": "lines",
|
|
4365
|
+
"type": "number",
|
|
4366
|
+
"doc": "접었을 때 보여줄 줄 수. 기본 2."
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
"name": "expanded",
|
|
4370
|
+
"type": "boolean",
|
|
4371
|
+
"doc": "제어하려면 주고, 아니면 스스로 관리한다."
|
|
4372
|
+
},
|
|
4373
|
+
{
|
|
4374
|
+
"name": "onExpandedChange",
|
|
4375
|
+
"type": "((expanded: boolean) => void)"
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
"name": "moreLabel",
|
|
4379
|
+
"type": "string"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"name": "lessLabel",
|
|
4383
|
+
"type": "string"
|
|
4384
|
+
}
|
|
4385
|
+
],
|
|
4386
|
+
"extends": [
|
|
4387
|
+
"React.ComponentProps<'div'>"
|
|
4388
|
+
],
|
|
4389
|
+
"slots": [
|
|
4390
|
+
"clamp-text",
|
|
4391
|
+
"clamp-text-content",
|
|
4392
|
+
"clamp-text-trigger"
|
|
4393
|
+
]
|
|
4394
|
+
},
|
|
4078
4395
|
{
|
|
4079
4396
|
"name": "Combobox",
|
|
4080
4397
|
"category": "form",
|
|
4081
|
-
"purpose": "많은 옵션에서 검색해 단일
|
|
4398
|
+
"purpose": "많은 옵션에서 검색해 단일 값 또는 multiple로 여러 개를 고른다.",
|
|
4082
4399
|
"useWhen": [
|
|
4083
4400
|
"20개를 넘는 후보에서 타이핑으로 찾을 때",
|
|
4084
|
-
"초성으로 찾기"
|
|
4401
|
+
"초성으로 찾기",
|
|
4402
|
+
"검색해서 여러 개 고르기"
|
|
4085
4403
|
],
|
|
4086
4404
|
"dont": [
|
|
4087
4405
|
"조합 중 결과 없음·Enter 선택·화살표 이동·Escape 닫기 금지",
|
|
4088
|
-
"
|
|
4406
|
+
"가상 스크롤은 제공하지 않는다"
|
|
4089
4407
|
],
|
|
4090
4408
|
"rules": [
|
|
4091
4409
|
{
|
|
4092
|
-
"text": "shouldFilter=false로 자체 한글 필터를 쓴다. NFC·공백·대소문자 정규화, 초성·자모 매칭을 지원하고 filter로 교체한다. 조합 중 0개면 직전의 비어 있지 않은 결과를 유지한다. 활성은 cmdk aria-selected·aria-activedescendant, 고른 값은 체크 표시로 구분한다. 500개 초과의 서버 필터링은 앱 책임이다.",
|
|
4410
|
+
"text": "shouldFilter=false로 자체 한글 필터를 쓴다. NFC·공백·대소문자 정규화, 초성·자모 매칭을 지원하고 filter로 교체한다. 조합 중 0개면 직전의 비어 있지 않은 결과를 유지한다. 단일 모드 활성은 cmdk aria-selected·aria-activedescendant, 고른 값은 체크 표시로 구분한다. 500개 초과의 서버 필터링은 앱 책임이다.",
|
|
4093
4411
|
"source": "DESIGN.md 18"
|
|
4094
4412
|
},
|
|
4095
4413
|
{
|
|
4096
|
-
"text": "
|
|
4414
|
+
"text": "multiple은 string[] 값과 콜백을 쓰며 검색 입력 앞에 28px 태그를 둔다. 24px 해제 버튼은 라벨 선택 해제로 읽고 칩 묶음은 roving tabindex 하나·좌우 이동·Delete/Backspace 제거 후 이웃 포커스를 쓴다. 빈 입력 Backspace는 첫 회 강조·두 번째 제거, 다른 키는 강조 해제다. 조합 중 강조·삭제하지 않는다. 칩 영역은 2줄·58px 내부 스크롤로 320px 툴바의 컨트롤 높이를 38→68px에 제한한다. 선택해도 목록을 닫거나 다음 칸으로 이동하지 않는다. 검색 없이 고르기만 하면 MultiSelect다.",
|
|
4415
|
+
"source": "DESIGN.md 20"
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
"text": "단일 선택은 FormFlow 안 Enter로 열고 조합 종료 후 선택·닫힘 시 공용 focusNextFormStop으로 다음 Tab 정지점에 간다. 트리거에 data-form-control=advance를 붙이지 않는다. 폼 밖 선택·Escape는 트리거로 복귀한다.",
|
|
4097
4419
|
"source": "DESIGN.md 11.5"
|
|
4098
4420
|
},
|
|
4099
4421
|
{
|
|
@@ -4103,6 +4425,7 @@
|
|
|
4103
4425
|
],
|
|
4104
4426
|
"related": [
|
|
4105
4427
|
"Select",
|
|
4428
|
+
"MultiSelect",
|
|
4106
4429
|
"Field"
|
|
4107
4430
|
],
|
|
4108
4431
|
"keywords": [
|
|
@@ -4114,81 +4437,173 @@
|
|
|
4114
4437
|
"목록에서 찾기",
|
|
4115
4438
|
"타이핑으로 찾기",
|
|
4116
4439
|
"초성으로 찾기",
|
|
4117
|
-
"많은 옵션에서 검색해 선택"
|
|
4440
|
+
"많은 옵션에서 검색해 선택",
|
|
4441
|
+
"검색해서 여러 개 고르기",
|
|
4442
|
+
"태그 선택"
|
|
4118
4443
|
],
|
|
4119
|
-
"
|
|
4120
|
-
"source": "packages/ui/src/components/combobox/combobox.tsx",
|
|
4444
|
+
"source": "components/combobox/combobox.tsx",
|
|
4121
4445
|
"props": [
|
|
4122
4446
|
{
|
|
4123
|
-
"name": "
|
|
4124
|
-
"type": "
|
|
4125
|
-
"required": true
|
|
4447
|
+
"name": "multiple",
|
|
4448
|
+
"type": "boolean"
|
|
4126
4449
|
},
|
|
4127
4450
|
{
|
|
4128
4451
|
"name": "value",
|
|
4129
|
-
"type": "string |
|
|
4130
|
-
"required": false
|
|
4452
|
+
"type": "string | string[]"
|
|
4131
4453
|
},
|
|
4132
4454
|
{
|
|
4133
4455
|
"name": "onValueChange",
|
|
4134
|
-
"type": "((value: string) => void) |
|
|
4135
|
-
|
|
4456
|
+
"type": "((value: string) => void) | ((value: string[]) => void)"
|
|
4457
|
+
},
|
|
4458
|
+
{
|
|
4459
|
+
"name": "ref",
|
|
4460
|
+
"type": "RefObject<HTMLButtonElement | null> | RefObject<HTMLInputElement | null> | ((instance: HTMLButtonElement | null) => void | (() => VoidOrUndefinedOnly)) | ((instance: HTMLInputElement | null) => void | (() => VoidOrUndefinedOnly)) | null"
|
|
4461
|
+
},
|
|
4462
|
+
{
|
|
4463
|
+
"name": "options",
|
|
4464
|
+
"type": "ComboboxOption[]",
|
|
4465
|
+
"required": true
|
|
4136
4466
|
},
|
|
4137
4467
|
{
|
|
4138
4468
|
"name": "placeholder",
|
|
4139
|
-
"type": "string
|
|
4140
|
-
"required": false
|
|
4469
|
+
"type": "string"
|
|
4141
4470
|
},
|
|
4142
4471
|
{
|
|
4143
4472
|
"name": "searchPlaceholder",
|
|
4144
|
-
"type": "string
|
|
4145
|
-
"required": false
|
|
4473
|
+
"type": "string"
|
|
4146
4474
|
},
|
|
4147
4475
|
{
|
|
4148
4476
|
"name": "emptyText",
|
|
4149
|
-
"type": "string
|
|
4150
|
-
"required": false
|
|
4477
|
+
"type": "string"
|
|
4151
4478
|
},
|
|
4152
4479
|
{
|
|
4153
4480
|
"name": "filter",
|
|
4154
|
-
"type": "((query: string, option: ComboboxOption) => boolean)
|
|
4155
|
-
"required": false
|
|
4481
|
+
"type": "((query: string, option: ComboboxOption) => boolean)"
|
|
4156
4482
|
},
|
|
4157
4483
|
{
|
|
4158
4484
|
"name": "disabled",
|
|
4159
|
-
"type": "boolean
|
|
4160
|
-
"required": false
|
|
4485
|
+
"type": "boolean"
|
|
4161
4486
|
},
|
|
4162
4487
|
{
|
|
4163
4488
|
"name": "invalid",
|
|
4164
|
-
"type": "boolean
|
|
4165
|
-
"required": false
|
|
4489
|
+
"type": "boolean"
|
|
4166
4490
|
},
|
|
4167
4491
|
{
|
|
4168
4492
|
"name": "required",
|
|
4169
|
-
"type": "boolean
|
|
4170
|
-
"required": false
|
|
4493
|
+
"type": "boolean"
|
|
4171
4494
|
},
|
|
4172
4495
|
{
|
|
4173
4496
|
"name": "maxHeight",
|
|
4174
|
-
"type": "string | number
|
|
4175
|
-
"required": false
|
|
4497
|
+
"type": "string | number"
|
|
4176
4498
|
}
|
|
4177
4499
|
],
|
|
4178
4500
|
"extends": [
|
|
4179
|
-
"Pick<React.ComponentPropsWithRef<'button'>,\n 'id' | '
|
|
4501
|
+
"Pick<React.ComponentPropsWithRef<'button'>,\n 'id' | 'className' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-invalid' | 'aria-required'>"
|
|
4180
4502
|
],
|
|
4181
4503
|
"slots": [
|
|
4182
4504
|
"combobox",
|
|
4505
|
+
"combobox-chip",
|
|
4506
|
+
"combobox-chip-area",
|
|
4507
|
+
"combobox-chip-remove",
|
|
4508
|
+
"combobox-chips",
|
|
4183
4509
|
"combobox-content",
|
|
4184
4510
|
"combobox-empty",
|
|
4185
4511
|
"combobox-input",
|
|
4186
4512
|
"combobox-list",
|
|
4513
|
+
"combobox-multiple",
|
|
4514
|
+
"combobox-multiple-control",
|
|
4187
4515
|
"combobox-option",
|
|
4188
4516
|
"combobox-trigger",
|
|
4189
4517
|
"combobox-value"
|
|
4518
|
+
]
|
|
4519
|
+
},
|
|
4520
|
+
{
|
|
4521
|
+
"name": "MultiSelect",
|
|
4522
|
+
"category": "form",
|
|
4523
|
+
"purpose": "요약 트리거와 체크 목록으로 여러 사업장을 고른다.",
|
|
4524
|
+
"useWhen": [
|
|
4525
|
+
"여러 사업장 고르기",
|
|
4526
|
+
"검색 없이 여러 개 선택할 때"
|
|
4190
4527
|
],
|
|
4191
|
-
"
|
|
4528
|
+
"dont": [
|
|
4529
|
+
"검색은 Combobox multiple을 쓴다",
|
|
4530
|
+
"고를 때 닫거나 data-form-control=advance를 붙이지 마라"
|
|
4531
|
+
],
|
|
4532
|
+
"rules": [
|
|
4533
|
+
{
|
|
4534
|
+
"text": "트리거 높이는 control-h-md로 고정하고 요약을 말줄임·title로 보존한다. 목록은 listbox·aria-multiselectable, option·aria-selected와 체크 아이콘을 쓴다. 화살표·Home/End는 aria-activedescendant를 옮기고 Space/Enter는 토글한다. Escape로 닫고 트리거로 복귀한다. 전체 해제와 선택 개수를 제공한다.",
|
|
4535
|
+
"source": "DESIGN.md 20"
|
|
4536
|
+
}
|
|
4537
|
+
],
|
|
4538
|
+
"related": [
|
|
4539
|
+
"Select",
|
|
4540
|
+
"Combobox",
|
|
4541
|
+
"Field"
|
|
4542
|
+
],
|
|
4543
|
+
"keywords": [
|
|
4544
|
+
"다중 선택",
|
|
4545
|
+
"여러 개 선택",
|
|
4546
|
+
"복수 선택",
|
|
4547
|
+
"태그 선택",
|
|
4548
|
+
"체크 목록",
|
|
4549
|
+
"여러 사업장 고르기"
|
|
4550
|
+
],
|
|
4551
|
+
"source": "components/multi-select/multi-select.tsx",
|
|
4552
|
+
"props": [
|
|
4553
|
+
{
|
|
4554
|
+
"name": "options",
|
|
4555
|
+
"type": "MultiSelectOption[]",
|
|
4556
|
+
"required": true
|
|
4557
|
+
},
|
|
4558
|
+
{
|
|
4559
|
+
"name": "value",
|
|
4560
|
+
"type": "string[]"
|
|
4561
|
+
},
|
|
4562
|
+
{
|
|
4563
|
+
"name": "onValueChange",
|
|
4564
|
+
"type": "((value: string[]) => void)"
|
|
4565
|
+
},
|
|
4566
|
+
{
|
|
4567
|
+
"name": "placeholder",
|
|
4568
|
+
"type": "string"
|
|
4569
|
+
},
|
|
4570
|
+
{
|
|
4571
|
+
"name": "summary",
|
|
4572
|
+
"type": "((selected: { value: string; label: string; }[]) => string)",
|
|
4573
|
+
"doc": "요약 문구를 앱이 바꾼다. 기본은 \"{첫 라벨} 외 {n-1}개\"다."
|
|
4574
|
+
},
|
|
4575
|
+
{
|
|
4576
|
+
"name": "clearLabel",
|
|
4577
|
+
"type": "string"
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "disabled",
|
|
4581
|
+
"type": "boolean"
|
|
4582
|
+
},
|
|
4583
|
+
{
|
|
4584
|
+
"name": "invalid",
|
|
4585
|
+
"type": "boolean"
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"name": "required",
|
|
4589
|
+
"type": "boolean"
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"name": "maxHeight",
|
|
4593
|
+
"type": "string | number"
|
|
4594
|
+
}
|
|
4595
|
+
],
|
|
4596
|
+
"extends": [
|
|
4597
|
+
"Pick<React.ComponentPropsWithRef<'button'>,\n 'id' | 'ref' | 'className' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-invalid' | 'aria-required'>"
|
|
4598
|
+
],
|
|
4599
|
+
"slots": [
|
|
4600
|
+
"multi-select-content",
|
|
4601
|
+
"multi-select-footer",
|
|
4602
|
+
"multi-select-list",
|
|
4603
|
+
"multi-select-option",
|
|
4604
|
+
"multi-select-trigger",
|
|
4605
|
+
"multi-select-value"
|
|
4606
|
+
]
|
|
4192
4607
|
},
|
|
4193
4608
|
{
|
|
4194
4609
|
"name": "Tabs",
|
|
@@ -4221,61 +4636,53 @@
|
|
|
4221
4636
|
"TabsTrigger",
|
|
4222
4637
|
"TabsContent"
|
|
4223
4638
|
],
|
|
4224
|
-
"
|
|
4225
|
-
"source": "packages/ui/src/components/tabs/tabs.tsx",
|
|
4639
|
+
"source": "components/tabs/tabs.tsx",
|
|
4226
4640
|
"props": [],
|
|
4227
4641
|
"extends": [
|
|
4228
4642
|
"React.ComponentProps<typeof Primitive.Root>"
|
|
4229
4643
|
],
|
|
4230
4644
|
"slots": [
|
|
4231
4645
|
"tabs"
|
|
4232
|
-
]
|
|
4233
|
-
"import": "import { Tabs } from '@s2life/ui';"
|
|
4646
|
+
]
|
|
4234
4647
|
},
|
|
4235
4648
|
{
|
|
4236
4649
|
"name": "TabsList",
|
|
4237
4650
|
"partOf": "Tabs",
|
|
4238
4651
|
"purpose": "탭 헤더를 한 줄로 배치하고 넘치면 스크롤한다.",
|
|
4239
|
-
"
|
|
4240
|
-
"source": "packages/ui/src/components/tabs/tabs.tsx",
|
|
4652
|
+
"source": "components/tabs/tabs.tsx",
|
|
4241
4653
|
"props": [],
|
|
4242
4654
|
"extends": [
|
|
4243
4655
|
"React.ComponentProps<typeof Primitive.List>"
|
|
4244
4656
|
],
|
|
4245
4657
|
"slots": [
|
|
4246
4658
|
"tabs-list"
|
|
4247
|
-
]
|
|
4248
|
-
"import": "import { TabsList } from '@s2life/ui';"
|
|
4659
|
+
]
|
|
4249
4660
|
},
|
|
4250
4661
|
{
|
|
4251
4662
|
"name": "TabsTrigger",
|
|
4252
4663
|
"partOf": "Tabs",
|
|
4253
4664
|
"purpose": "패널을 선택하는 탭 버튼이다.",
|
|
4254
|
-
"
|
|
4255
|
-
"source": "packages/ui/src/components/tabs/tabs.tsx",
|
|
4665
|
+
"source": "components/tabs/tabs.tsx",
|
|
4256
4666
|
"props": [],
|
|
4257
4667
|
"extends": [
|
|
4258
4668
|
"React.ComponentProps<typeof Primitive.Trigger>"
|
|
4259
4669
|
],
|
|
4260
4670
|
"slots": [
|
|
4261
4671
|
"tabs-trigger"
|
|
4262
|
-
]
|
|
4263
|
-
"import": "import { TabsTrigger } from '@s2life/ui';"
|
|
4672
|
+
]
|
|
4264
4673
|
},
|
|
4265
4674
|
{
|
|
4266
4675
|
"name": "TabsContent",
|
|
4267
4676
|
"partOf": "Tabs",
|
|
4268
4677
|
"purpose": "선택한 상세 패널을 표시한다.",
|
|
4269
|
-
"
|
|
4270
|
-
"source": "packages/ui/src/components/tabs/tabs.tsx",
|
|
4678
|
+
"source": "components/tabs/tabs.tsx",
|
|
4271
4679
|
"props": [],
|
|
4272
4680
|
"extends": [
|
|
4273
4681
|
"React.ComponentProps<typeof Primitive.Content>"
|
|
4274
4682
|
],
|
|
4275
4683
|
"slots": [
|
|
4276
4684
|
"tabs-content"
|
|
4277
|
-
]
|
|
4278
|
-
"import": "import { TabsContent } from '@s2life/ui';"
|
|
4685
|
+
]
|
|
4279
4686
|
},
|
|
4280
4687
|
{
|
|
4281
4688
|
"name": "Breadcrumb",
|
|
@@ -4311,58 +4718,50 @@
|
|
|
4311
4718
|
"BreadcrumbSeparator",
|
|
4312
4719
|
"BreadcrumbEllipsis"
|
|
4313
4720
|
],
|
|
4314
|
-
"
|
|
4315
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4721
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4316
4722
|
"props": [],
|
|
4317
4723
|
"extends": [
|
|
4318
4724
|
"React.ComponentProps<'nav'>"
|
|
4319
4725
|
],
|
|
4320
4726
|
"slots": [
|
|
4321
4727
|
"breadcrumb"
|
|
4322
|
-
]
|
|
4323
|
-
"import": "import { Breadcrumb } from '@s2life/ui';"
|
|
4728
|
+
]
|
|
4324
4729
|
},
|
|
4325
4730
|
{
|
|
4326
4731
|
"name": "BreadcrumbList",
|
|
4327
4732
|
"partOf": "Breadcrumb",
|
|
4328
4733
|
"purpose": "경로 항목의 순서 목록이다.",
|
|
4329
|
-
"
|
|
4330
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4734
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4331
4735
|
"props": [],
|
|
4332
4736
|
"extends": [
|
|
4333
4737
|
"React.ComponentProps<'ol'>"
|
|
4334
4738
|
],
|
|
4335
4739
|
"slots": [
|
|
4336
4740
|
"breadcrumb-list"
|
|
4337
|
-
]
|
|
4338
|
-
"import": "import { BreadcrumbList } from '@s2life/ui';"
|
|
4741
|
+
]
|
|
4339
4742
|
},
|
|
4340
4743
|
{
|
|
4341
4744
|
"name": "BreadcrumbItem",
|
|
4342
4745
|
"partOf": "Breadcrumb",
|
|
4343
4746
|
"purpose": "경로의 개별 항목이다.",
|
|
4344
|
-
"
|
|
4345
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4747
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4346
4748
|
"props": [],
|
|
4347
4749
|
"extends": [
|
|
4348
4750
|
"React.ComponentProps<'li'>"
|
|
4349
4751
|
],
|
|
4350
4752
|
"slots": [
|
|
4351
4753
|
"breadcrumb-item"
|
|
4352
|
-
]
|
|
4353
|
-
"import": "import { BreadcrumbItem } from '@s2life/ui';"
|
|
4754
|
+
]
|
|
4354
4755
|
},
|
|
4355
4756
|
{
|
|
4356
4757
|
"name": "BreadcrumbLink",
|
|
4357
4758
|
"partOf": "Breadcrumb",
|
|
4358
4759
|
"purpose": "라우터를 지정하지 않는 상위 경로 링크다.",
|
|
4359
|
-
"
|
|
4360
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4760
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4361
4761
|
"props": [
|
|
4362
4762
|
{
|
|
4363
4763
|
"name": "asChild",
|
|
4364
|
-
"type": "boolean
|
|
4365
|
-
"required": false
|
|
4764
|
+
"type": "boolean"
|
|
4366
4765
|
}
|
|
4367
4766
|
],
|
|
4368
4767
|
"extends": [
|
|
@@ -4370,45 +4769,39 @@
|
|
|
4370
4769
|
],
|
|
4371
4770
|
"slots": [
|
|
4372
4771
|
"breadcrumb-link"
|
|
4373
|
-
]
|
|
4374
|
-
"import": "import { BreadcrumbLink } from '@s2life/ui';"
|
|
4772
|
+
]
|
|
4375
4773
|
},
|
|
4376
4774
|
{
|
|
4377
4775
|
"name": "BreadcrumbPage",
|
|
4378
4776
|
"partOf": "Breadcrumb",
|
|
4379
4777
|
"purpose": "링크가 아닌 현재 경로 항목이다.",
|
|
4380
|
-
"
|
|
4381
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4778
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4382
4779
|
"props": [],
|
|
4383
4780
|
"extends": [
|
|
4384
4781
|
"React.ComponentProps<'span'>"
|
|
4385
4782
|
],
|
|
4386
4783
|
"slots": [
|
|
4387
4784
|
"breadcrumb-page"
|
|
4388
|
-
]
|
|
4389
|
-
"import": "import { BreadcrumbPage } from '@s2life/ui';"
|
|
4785
|
+
]
|
|
4390
4786
|
},
|
|
4391
4787
|
{
|
|
4392
4788
|
"name": "BreadcrumbSeparator",
|
|
4393
4789
|
"partOf": "Breadcrumb",
|
|
4394
4790
|
"purpose": "보조기기가 읽지 않는 경로 구분자다.",
|
|
4395
|
-
"
|
|
4396
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4791
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4397
4792
|
"props": [],
|
|
4398
4793
|
"extends": [
|
|
4399
4794
|
"React.ComponentProps<'li'>"
|
|
4400
4795
|
],
|
|
4401
4796
|
"slots": [
|
|
4402
4797
|
"breadcrumb-separator"
|
|
4403
|
-
]
|
|
4404
|
-
"import": "import { BreadcrumbSeparator } from '@s2life/ui';"
|
|
4798
|
+
]
|
|
4405
4799
|
},
|
|
4406
4800
|
{
|
|
4407
4801
|
"name": "BreadcrumbEllipsis",
|
|
4408
4802
|
"partOf": "Breadcrumb",
|
|
4409
4803
|
"purpose": "접힌 경로 수를 읽을 수 있는 생략 표시다.",
|
|
4410
|
-
"
|
|
4411
|
-
"source": "packages/ui/src/components/breadcrumb/breadcrumb.tsx",
|
|
4804
|
+
"source": "components/breadcrumb/breadcrumb.tsx",
|
|
4412
4805
|
"props": [
|
|
4413
4806
|
{
|
|
4414
4807
|
"name": "count",
|
|
@@ -4421,8 +4814,7 @@
|
|
|
4421
4814
|
],
|
|
4422
4815
|
"slots": [
|
|
4423
4816
|
"breadcrumb-ellipsis"
|
|
4424
|
-
]
|
|
4425
|
-
"import": "import { BreadcrumbEllipsis } from '@s2life/ui';"
|
|
4817
|
+
]
|
|
4426
4818
|
},
|
|
4427
4819
|
{
|
|
4428
4820
|
"name": "Dialog",
|
|
@@ -4460,51 +4852,48 @@
|
|
|
4460
4852
|
"DialogFooter",
|
|
4461
4853
|
"DialogClose"
|
|
4462
4854
|
],
|
|
4463
|
-
"
|
|
4464
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4855
|
+
"source": "components/dialog/dialog.tsx",
|
|
4465
4856
|
"props": [],
|
|
4466
4857
|
"extends": [],
|
|
4467
|
-
"slots": []
|
|
4468
|
-
"import": "import { Dialog } from '@s2life/ui';"
|
|
4858
|
+
"slots": []
|
|
4469
4859
|
},
|
|
4470
4860
|
{
|
|
4471
4861
|
"name": "DialogTrigger",
|
|
4472
4862
|
"partOf": "Dialog",
|
|
4473
4863
|
"purpose": "입력 창을 여는 트리거다.",
|
|
4474
|
-
"
|
|
4475
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4864
|
+
"source": "components/dialog/dialog.tsx",
|
|
4476
4865
|
"props": [],
|
|
4477
4866
|
"extends": [
|
|
4478
4867
|
"React.ComponentProps<typeof Primitive.Trigger>"
|
|
4479
4868
|
],
|
|
4480
4869
|
"slots": [
|
|
4481
4870
|
"dialog-trigger"
|
|
4482
|
-
]
|
|
4483
|
-
"import": "import { DialogTrigger } from '@s2life/ui';"
|
|
4871
|
+
]
|
|
4484
4872
|
},
|
|
4485
4873
|
{
|
|
4486
4874
|
"name": "DialogContent",
|
|
4487
4875
|
"partOf": "Dialog",
|
|
4488
4876
|
"purpose": "입력 창의 포털과 닫기 보호다.",
|
|
4489
|
-
"
|
|
4490
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4877
|
+
"source": "components/dialog/dialog.tsx",
|
|
4491
4878
|
"props": [
|
|
4879
|
+
{
|
|
4880
|
+
"name": "size",
|
|
4881
|
+
"type": "\"default\" | \"wide\"",
|
|
4882
|
+
"doc": "default는 기존 36rem, wide는 미디어처럼 뷰포트 폭이 필요한 내용에 쓴다."
|
|
4883
|
+
},
|
|
4492
4884
|
{
|
|
4493
4885
|
"name": "dismissible",
|
|
4494
|
-
"type": "boolean
|
|
4495
|
-
"required": false,
|
|
4886
|
+
"type": "boolean",
|
|
4496
4887
|
"doc": "false면 바깥 클릭·Escape로 닫히지 않는다. 명시적 닫기 버튼은 계속 동작한다."
|
|
4497
4888
|
},
|
|
4498
4889
|
{
|
|
4499
4890
|
"name": "onDismissAttempt",
|
|
4500
|
-
"type": "(() => void)
|
|
4501
|
-
"required": false,
|
|
4891
|
+
"type": "(() => void)",
|
|
4502
4892
|
"doc": "dismissible=false일 때 닫으려는 시도를 알린다. 앱에서 확인 AlertDialog를 연다."
|
|
4503
4893
|
},
|
|
4504
4894
|
{
|
|
4505
4895
|
"name": "showClose",
|
|
4506
|
-
"type": "boolean
|
|
4507
|
-
"required": false,
|
|
4896
|
+
"type": "boolean",
|
|
4508
4897
|
"doc": "우상단 닫기 버튼. 끄면 앱이 직접 출구를 제공해야 한다."
|
|
4509
4898
|
}
|
|
4510
4899
|
],
|
|
@@ -4515,83 +4904,72 @@
|
|
|
4515
4904
|
"dialog-close-icon",
|
|
4516
4905
|
"dialog-content",
|
|
4517
4906
|
"dialog-overlay"
|
|
4518
|
-
]
|
|
4519
|
-
"import": "import { DialogContent } from '@s2life/ui';"
|
|
4907
|
+
]
|
|
4520
4908
|
},
|
|
4521
4909
|
{
|
|
4522
4910
|
"name": "DialogHeader",
|
|
4523
4911
|
"partOf": "Dialog",
|
|
4524
4912
|
"purpose": "입력 창 제목·설명 그룹이다.",
|
|
4525
|
-
"
|
|
4526
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4913
|
+
"source": "components/dialog/dialog.tsx",
|
|
4527
4914
|
"props": [],
|
|
4528
4915
|
"extends": [
|
|
4529
4916
|
"React.ComponentProps<'div'>"
|
|
4530
4917
|
],
|
|
4531
4918
|
"slots": [
|
|
4532
4919
|
"dialog-header"
|
|
4533
|
-
]
|
|
4534
|
-
"import": "import { DialogHeader } from '@s2life/ui';"
|
|
4920
|
+
]
|
|
4535
4921
|
},
|
|
4536
4922
|
{
|
|
4537
4923
|
"name": "DialogTitle",
|
|
4538
4924
|
"partOf": "Dialog",
|
|
4539
4925
|
"purpose": "입력 창의 필수 제목이다.",
|
|
4540
|
-
"
|
|
4541
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4926
|
+
"source": "components/dialog/dialog.tsx",
|
|
4542
4927
|
"props": [],
|
|
4543
4928
|
"extends": [
|
|
4544
4929
|
"React.ComponentProps<typeof Primitive.Title>"
|
|
4545
4930
|
],
|
|
4546
4931
|
"slots": [
|
|
4547
4932
|
"dialog-title"
|
|
4548
|
-
]
|
|
4549
|
-
"import": "import { DialogTitle } from '@s2life/ui';"
|
|
4933
|
+
]
|
|
4550
4934
|
},
|
|
4551
4935
|
{
|
|
4552
4936
|
"name": "DialogDescription",
|
|
4553
4937
|
"partOf": "Dialog",
|
|
4554
4938
|
"purpose": "입력 창의 필수 설명이다.",
|
|
4555
|
-
"
|
|
4556
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4939
|
+
"source": "components/dialog/dialog.tsx",
|
|
4557
4940
|
"props": [],
|
|
4558
4941
|
"extends": [
|
|
4559
4942
|
"React.ComponentProps<typeof Primitive.Description>"
|
|
4560
4943
|
],
|
|
4561
4944
|
"slots": [
|
|
4562
4945
|
"dialog-description"
|
|
4563
|
-
]
|
|
4564
|
-
"import": "import { DialogDescription } from '@s2life/ui';"
|
|
4946
|
+
]
|
|
4565
4947
|
},
|
|
4566
4948
|
{
|
|
4567
4949
|
"name": "DialogFooter",
|
|
4568
4950
|
"partOf": "Dialog",
|
|
4569
4951
|
"purpose": "입력 창 하단의 액션 그룹이다.",
|
|
4570
|
-
"
|
|
4571
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4952
|
+
"source": "components/dialog/dialog.tsx",
|
|
4572
4953
|
"props": [],
|
|
4573
4954
|
"extends": [
|
|
4574
4955
|
"React.ComponentProps<'div'>"
|
|
4575
4956
|
],
|
|
4576
4957
|
"slots": [
|
|
4577
4958
|
"dialog-footer"
|
|
4578
|
-
]
|
|
4579
|
-
"import": "import { DialogFooter } from '@s2life/ui';"
|
|
4959
|
+
]
|
|
4580
4960
|
},
|
|
4581
4961
|
{
|
|
4582
4962
|
"name": "DialogClose",
|
|
4583
4963
|
"partOf": "Dialog",
|
|
4584
4964
|
"purpose": "닫기 보호 중에도 동작하는 명시적 닫기다.",
|
|
4585
|
-
"
|
|
4586
|
-
"source": "packages/ui/src/components/dialog/dialog.tsx",
|
|
4965
|
+
"source": "components/dialog/dialog.tsx",
|
|
4587
4966
|
"props": [],
|
|
4588
4967
|
"extends": [
|
|
4589
4968
|
"React.ComponentProps<typeof Primitive.Close>"
|
|
4590
4969
|
],
|
|
4591
4970
|
"slots": [
|
|
4592
4971
|
"dialog-close"
|
|
4593
|
-
]
|
|
4594
|
-
"import": "import { DialogClose } from '@s2life/ui';"
|
|
4972
|
+
]
|
|
4595
4973
|
},
|
|
4596
4974
|
{
|
|
4597
4975
|
"name": "AlertDialog",
|
|
@@ -4631,34 +5009,29 @@
|
|
|
4631
5009
|
"AlertDialogAction",
|
|
4632
5010
|
"AlertDialogCancel"
|
|
4633
5011
|
],
|
|
4634
|
-
"
|
|
4635
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5012
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4636
5013
|
"props": [],
|
|
4637
5014
|
"extends": [],
|
|
4638
|
-
"slots": []
|
|
4639
|
-
"import": "import { AlertDialog } from '@s2life/ui';"
|
|
5015
|
+
"slots": []
|
|
4640
5016
|
},
|
|
4641
5017
|
{
|
|
4642
5018
|
"name": "AlertDialogTrigger",
|
|
4643
5019
|
"partOf": "AlertDialog",
|
|
4644
5020
|
"purpose": "확인 창을 여는 트리거다.",
|
|
4645
|
-
"
|
|
4646
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5021
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4647
5022
|
"props": [],
|
|
4648
5023
|
"extends": [
|
|
4649
5024
|
"React.ComponentProps<typeof Primitive.Trigger>"
|
|
4650
5025
|
],
|
|
4651
5026
|
"slots": [
|
|
4652
5027
|
"alert-dialog-trigger"
|
|
4653
|
-
]
|
|
4654
|
-
"import": "import { AlertDialogTrigger } from '@s2life/ui';"
|
|
5028
|
+
]
|
|
4655
5029
|
},
|
|
4656
5030
|
{
|
|
4657
5031
|
"name": "AlertDialogContent",
|
|
4658
5032
|
"partOf": "AlertDialog",
|
|
4659
5033
|
"purpose": "파괴적 선택 확인의 포털이다.",
|
|
4660
|
-
"
|
|
4661
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5034
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4662
5035
|
"props": [],
|
|
4663
5036
|
"extends": [
|
|
4664
5037
|
"React.ComponentProps<typeof Primitive.Content>"
|
|
@@ -4666,80 +5039,69 @@
|
|
|
4666
5039
|
"slots": [
|
|
4667
5040
|
"alert-dialog-content",
|
|
4668
5041
|
"alert-dialog-overlay"
|
|
4669
|
-
]
|
|
4670
|
-
"import": "import { AlertDialogContent } from '@s2life/ui';"
|
|
5042
|
+
]
|
|
4671
5043
|
},
|
|
4672
5044
|
{
|
|
4673
5045
|
"name": "AlertDialogHeader",
|
|
4674
5046
|
"partOf": "AlertDialog",
|
|
4675
5047
|
"purpose": "확인 제목·설명 그룹이다.",
|
|
4676
|
-
"
|
|
4677
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5048
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4678
5049
|
"props": [],
|
|
4679
5050
|
"extends": [
|
|
4680
5051
|
"React.ComponentProps<'div'>"
|
|
4681
5052
|
],
|
|
4682
5053
|
"slots": [
|
|
4683
5054
|
"alert-dialog-header"
|
|
4684
|
-
]
|
|
4685
|
-
"import": "import { AlertDialogHeader } from '@s2life/ui';"
|
|
5055
|
+
]
|
|
4686
5056
|
},
|
|
4687
5057
|
{
|
|
4688
5058
|
"name": "AlertDialogTitle",
|
|
4689
5059
|
"partOf": "AlertDialog",
|
|
4690
5060
|
"purpose": "확인 창의 필수 제목이다.",
|
|
4691
|
-
"
|
|
4692
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5061
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4693
5062
|
"props": [],
|
|
4694
5063
|
"extends": [
|
|
4695
5064
|
"React.ComponentProps<typeof Primitive.Title>"
|
|
4696
5065
|
],
|
|
4697
5066
|
"slots": [
|
|
4698
5067
|
"alert-dialog-title"
|
|
4699
|
-
]
|
|
4700
|
-
"import": "import { AlertDialogTitle } from '@s2life/ui';"
|
|
5068
|
+
]
|
|
4701
5069
|
},
|
|
4702
5070
|
{
|
|
4703
5071
|
"name": "AlertDialogDescription",
|
|
4704
5072
|
"partOf": "AlertDialog",
|
|
4705
5073
|
"purpose": "되돌릴 수 없는 결과의 설명이다.",
|
|
4706
|
-
"
|
|
4707
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5074
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4708
5075
|
"props": [],
|
|
4709
5076
|
"extends": [
|
|
4710
5077
|
"React.ComponentProps<typeof Primitive.Description>"
|
|
4711
5078
|
],
|
|
4712
5079
|
"slots": [
|
|
4713
5080
|
"alert-dialog-description"
|
|
4714
|
-
]
|
|
4715
|
-
"import": "import { AlertDialogDescription } from '@s2life/ui';"
|
|
5081
|
+
]
|
|
4716
5082
|
},
|
|
4717
5083
|
{
|
|
4718
5084
|
"name": "AlertDialogFooter",
|
|
4719
5085
|
"partOf": "AlertDialog",
|
|
4720
5086
|
"purpose": "확인·취소 액션 그룹이다.",
|
|
4721
|
-
"
|
|
4722
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5087
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4723
5088
|
"props": [],
|
|
4724
5089
|
"extends": [
|
|
4725
5090
|
"React.ComponentProps<'div'>"
|
|
4726
5091
|
],
|
|
4727
5092
|
"slots": [
|
|
4728
5093
|
"alert-dialog-footer"
|
|
4729
|
-
]
|
|
4730
|
-
"import": "import { AlertDialogFooter } from '@s2life/ui';"
|
|
5094
|
+
]
|
|
4731
5095
|
},
|
|
4732
5096
|
{
|
|
4733
5097
|
"name": "AlertDialogAction",
|
|
4734
5098
|
"partOf": "AlertDialog",
|
|
4735
5099
|
"purpose": "확정 동작과 기존 danger 변형이다.",
|
|
4736
|
-
"
|
|
4737
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5100
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4738
5101
|
"props": [
|
|
4739
5102
|
{
|
|
4740
5103
|
"name": "variant",
|
|
4741
|
-
"type": "\"danger\" | \"ghost\" | \"primary\" | \"secondary\" | null
|
|
4742
|
-
"required": false
|
|
5104
|
+
"type": "\"danger\" | \"ghost\" | \"primary\" | \"secondary\" | null"
|
|
4743
5105
|
}
|
|
4744
5106
|
],
|
|
4745
5107
|
"extends": [
|
|
@@ -4748,23 +5110,20 @@
|
|
|
4748
5110
|
],
|
|
4749
5111
|
"slots": [
|
|
4750
5112
|
"alert-dialog-action"
|
|
4751
|
-
]
|
|
4752
|
-
"import": "import { AlertDialogAction } from '@s2life/ui';"
|
|
5113
|
+
]
|
|
4753
5114
|
},
|
|
4754
5115
|
{
|
|
4755
5116
|
"name": "AlertDialogCancel",
|
|
4756
5117
|
"partOf": "AlertDialog",
|
|
4757
5118
|
"purpose": "초기 포커스를 받는 필수 취소 버튼이다.",
|
|
4758
|
-
"
|
|
4759
|
-
"source": "packages/ui/src/components/dialog/alert-dialog.tsx",
|
|
5119
|
+
"source": "components/dialog/alert-dialog.tsx",
|
|
4760
5120
|
"props": [],
|
|
4761
5121
|
"extends": [
|
|
4762
5122
|
"React.ComponentProps<typeof Primitive.Cancel>"
|
|
4763
5123
|
],
|
|
4764
5124
|
"slots": [
|
|
4765
5125
|
"alert-dialog-cancel"
|
|
4766
|
-
]
|
|
4767
|
-
"import": "import { AlertDialogCancel } from '@s2life/ui';"
|
|
5126
|
+
]
|
|
4768
5127
|
},
|
|
4769
5128
|
{
|
|
4770
5129
|
"name": "Select",
|
|
@@ -4784,7 +5143,8 @@
|
|
|
4784
5143
|
],
|
|
4785
5144
|
"related": [
|
|
4786
5145
|
"Field",
|
|
4787
|
-
"Combobox"
|
|
5146
|
+
"Combobox",
|
|
5147
|
+
"MultiSelect"
|
|
4788
5148
|
],
|
|
4789
5149
|
"keywords": [
|
|
4790
5150
|
"선택 필터",
|
|
@@ -4803,21 +5163,19 @@
|
|
|
4803
5163
|
"SelectScrollUpButton",
|
|
4804
5164
|
"SelectScrollDownButton"
|
|
4805
5165
|
],
|
|
4806
|
-
"
|
|
4807
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5166
|
+
"source": "components/select/select.tsx",
|
|
4808
5167
|
"props": [],
|
|
4809
5168
|
"extends": [
|
|
4810
|
-
"React.ComponentProps<typeof SelectPrimitive.Root>"
|
|
5169
|
+
"React.ComponentProps<typeof SelectPrimitive.Root>",
|
|
5170
|
+
"Pick<React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>, 'id' | 'aria-describedby' | 'aria-invalid' | 'aria-label' | 'aria-labelledby'>"
|
|
4811
5171
|
],
|
|
4812
|
-
"slots": []
|
|
4813
|
-
"import": "import { Select } from '@s2life/ui';"
|
|
5172
|
+
"slots": []
|
|
4814
5173
|
},
|
|
4815
5174
|
{
|
|
4816
5175
|
"name": "SelectTrigger",
|
|
4817
5176
|
"partOf": "Select",
|
|
4818
5177
|
"purpose": "선택 필터를 여는 38px 버튼",
|
|
4819
|
-
"
|
|
4820
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5178
|
+
"source": "components/select/select.tsx",
|
|
4821
5179
|
"props": [],
|
|
4822
5180
|
"extends": [
|
|
4823
5181
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>"
|
|
@@ -4825,129 +5183,114 @@
|
|
|
4825
5183
|
"slots": [
|
|
4826
5184
|
"select-icon",
|
|
4827
5185
|
"select-trigger"
|
|
4828
|
-
]
|
|
4829
|
-
"import": "import { SelectTrigger } from '@s2life/ui';"
|
|
5186
|
+
]
|
|
4830
5187
|
},
|
|
4831
5188
|
{
|
|
4832
5189
|
"name": "SelectValue",
|
|
4833
5190
|
"partOf": "Select",
|
|
4834
5191
|
"purpose": "선택값 또는 플레이스홀더",
|
|
4835
|
-
"
|
|
4836
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5192
|
+
"source": "components/select/select.tsx",
|
|
4837
5193
|
"props": [],
|
|
4838
5194
|
"extends": [
|
|
4839
5195
|
"React.ComponentProps<typeof SelectPrimitive.Value>"
|
|
4840
5196
|
],
|
|
4841
5197
|
"slots": [
|
|
4842
5198
|
"select-value"
|
|
4843
|
-
]
|
|
4844
|
-
"import": "import { SelectValue } from '@s2life/ui';"
|
|
5199
|
+
]
|
|
4845
5200
|
},
|
|
4846
5201
|
{
|
|
4847
5202
|
"name": "SelectContent",
|
|
4848
5203
|
"partOf": "Select",
|
|
4849
5204
|
"purpose": "포털의 선택 목록",
|
|
4850
|
-
"
|
|
4851
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5205
|
+
"source": "components/select/select.tsx",
|
|
4852
5206
|
"props": [],
|
|
4853
5207
|
"extends": [
|
|
4854
5208
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>"
|
|
4855
5209
|
],
|
|
4856
5210
|
"slots": [
|
|
4857
5211
|
"select-content",
|
|
5212
|
+
"select-scroll-down-button",
|
|
5213
|
+
"select-scroll-up-button",
|
|
4858
5214
|
"select-viewport"
|
|
4859
|
-
]
|
|
4860
|
-
"import": "import { SelectContent } from '@s2life/ui';"
|
|
5215
|
+
]
|
|
4861
5216
|
},
|
|
4862
5217
|
{
|
|
4863
5218
|
"name": "SelectGroup",
|
|
4864
5219
|
"partOf": "Select",
|
|
4865
5220
|
"purpose": "선택 항목 그룹",
|
|
4866
|
-
"
|
|
4867
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5221
|
+
"source": "components/select/select.tsx",
|
|
4868
5222
|
"props": [],
|
|
4869
5223
|
"extends": [
|
|
4870
5224
|
"React.ComponentProps<typeof SelectPrimitive.Group>"
|
|
4871
5225
|
],
|
|
4872
5226
|
"slots": [
|
|
4873
5227
|
"select-group"
|
|
4874
|
-
]
|
|
4875
|
-
"import": "import { SelectGroup } from '@s2life/ui';"
|
|
5228
|
+
]
|
|
4876
5229
|
},
|
|
4877
5230
|
{
|
|
4878
5231
|
"name": "SelectLabel",
|
|
4879
5232
|
"partOf": "Select",
|
|
4880
5233
|
"purpose": "선택 그룹 레이블",
|
|
4881
|
-
"
|
|
4882
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5234
|
+
"source": "components/select/select.tsx",
|
|
4883
5235
|
"props": [],
|
|
4884
5236
|
"extends": [
|
|
4885
5237
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>"
|
|
4886
5238
|
],
|
|
4887
5239
|
"slots": [
|
|
4888
5240
|
"select-label"
|
|
4889
|
-
]
|
|
4890
|
-
"import": "import { SelectLabel } from '@s2life/ui';"
|
|
5241
|
+
]
|
|
4891
5242
|
},
|
|
4892
5243
|
{
|
|
4893
5244
|
"name": "SelectItem",
|
|
4894
5245
|
"partOf": "Select",
|
|
4895
5246
|
"purpose": "단일 선택 옵션",
|
|
4896
|
-
"
|
|
4897
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5247
|
+
"source": "components/select/select.tsx",
|
|
4898
5248
|
"props": [],
|
|
4899
5249
|
"extends": [
|
|
4900
5250
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>"
|
|
4901
5251
|
],
|
|
4902
5252
|
"slots": [
|
|
4903
5253
|
"select-item"
|
|
4904
|
-
]
|
|
4905
|
-
"import": "import { SelectItem } from '@s2life/ui';"
|
|
5254
|
+
]
|
|
4906
5255
|
},
|
|
4907
5256
|
{
|
|
4908
5257
|
"name": "SelectSeparator",
|
|
4909
5258
|
"partOf": "Select",
|
|
4910
5259
|
"purpose": "선택 그룹 구분선",
|
|
4911
|
-
"
|
|
4912
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5260
|
+
"source": "components/select/select.tsx",
|
|
4913
5261
|
"props": [],
|
|
4914
5262
|
"extends": [
|
|
4915
5263
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>"
|
|
4916
5264
|
],
|
|
4917
5265
|
"slots": [
|
|
4918
5266
|
"select-separator"
|
|
4919
|
-
]
|
|
4920
|
-
"import": "import { SelectSeparator } from '@s2life/ui';"
|
|
5267
|
+
]
|
|
4921
5268
|
},
|
|
4922
5269
|
{
|
|
4923
5270
|
"name": "SelectScrollUpButton",
|
|
4924
5271
|
"partOf": "Select",
|
|
4925
5272
|
"purpose": "목록 위로 스크롤",
|
|
4926
|
-
"
|
|
4927
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5273
|
+
"source": "components/select/select.tsx",
|
|
4928
5274
|
"props": [],
|
|
4929
5275
|
"extends": [
|
|
4930
5276
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>"
|
|
4931
5277
|
],
|
|
4932
5278
|
"slots": [
|
|
4933
5279
|
"select-scroll-up-button"
|
|
4934
|
-
]
|
|
4935
|
-
"import": "import { SelectScrollUpButton } from '@s2life/ui';"
|
|
5280
|
+
]
|
|
4936
5281
|
},
|
|
4937
5282
|
{
|
|
4938
5283
|
"name": "SelectScrollDownButton",
|
|
4939
5284
|
"partOf": "Select",
|
|
4940
5285
|
"purpose": "목록 아래로 스크롤",
|
|
4941
|
-
"
|
|
4942
|
-
"source": "packages/ui/src/components/select/select.tsx",
|
|
5286
|
+
"source": "components/select/select.tsx",
|
|
4943
5287
|
"props": [],
|
|
4944
5288
|
"extends": [
|
|
4945
5289
|
"React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>"
|
|
4946
5290
|
],
|
|
4947
5291
|
"slots": [
|
|
4948
5292
|
"select-scroll-down-button"
|
|
4949
|
-
]
|
|
4950
|
-
"import": "import { SelectScrollDownButton } from '@s2life/ui';"
|
|
5293
|
+
]
|
|
4951
5294
|
},
|
|
4952
5295
|
{
|
|
4953
5296
|
"name": "DropdownMenu",
|
|
@@ -4988,59 +5331,50 @@
|
|
|
4988
5331
|
"DropdownMenuSubTrigger",
|
|
4989
5332
|
"DropdownMenuRadioGroup"
|
|
4990
5333
|
],
|
|
4991
|
-
"
|
|
4992
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5334
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
4993
5335
|
"props": [],
|
|
4994
5336
|
"extends": [],
|
|
4995
|
-
"slots": []
|
|
4996
|
-
"import": "import { DropdownMenu } from '@s2life/ui';"
|
|
5337
|
+
"slots": []
|
|
4997
5338
|
},
|
|
4998
5339
|
{
|
|
4999
5340
|
"name": "DropdownMenuTrigger",
|
|
5000
5341
|
"partOf": "DropdownMenu",
|
|
5001
5342
|
"purpose": "행 액션 열기",
|
|
5002
|
-
"
|
|
5003
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5343
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5004
5344
|
"props": [],
|
|
5005
5345
|
"extends": [
|
|
5006
5346
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>"
|
|
5007
5347
|
],
|
|
5008
5348
|
"slots": [
|
|
5009
5349
|
"dropdown-menu-trigger"
|
|
5010
|
-
]
|
|
5011
|
-
"import": "import { DropdownMenuTrigger } from '@s2life/ui';"
|
|
5350
|
+
]
|
|
5012
5351
|
},
|
|
5013
5352
|
{
|
|
5014
5353
|
"name": "DropdownMenuContent",
|
|
5015
5354
|
"partOf": "DropdownMenu",
|
|
5016
5355
|
"purpose": "포털 액션 목록",
|
|
5017
|
-
"
|
|
5018
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5356
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5019
5357
|
"props": [],
|
|
5020
5358
|
"extends": [
|
|
5021
5359
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>"
|
|
5022
5360
|
],
|
|
5023
5361
|
"slots": [
|
|
5024
5362
|
"dropdown-menu-content"
|
|
5025
|
-
]
|
|
5026
|
-
"import": "import { DropdownMenuContent } from '@s2life/ui';"
|
|
5363
|
+
]
|
|
5027
5364
|
},
|
|
5028
5365
|
{
|
|
5029
5366
|
"name": "DropdownMenuItem",
|
|
5030
5367
|
"partOf": "DropdownMenu",
|
|
5031
5368
|
"purpose": "액션 실행 항목",
|
|
5032
|
-
"
|
|
5033
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5369
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5034
5370
|
"props": [
|
|
5035
5371
|
{
|
|
5036
5372
|
"name": "inset",
|
|
5037
|
-
"type": "boolean
|
|
5038
|
-
"required": false
|
|
5373
|
+
"type": "boolean"
|
|
5039
5374
|
},
|
|
5040
5375
|
{
|
|
5041
5376
|
"name": "destructive",
|
|
5042
|
-
"type": "boolean
|
|
5043
|
-
"required": false
|
|
5377
|
+
"type": "boolean"
|
|
5044
5378
|
}
|
|
5045
5379
|
],
|
|
5046
5380
|
"extends": [
|
|
@@ -5049,50 +5383,43 @@
|
|
|
5049
5383
|
"slots": [
|
|
5050
5384
|
"dropdown-menu-destructive-icon",
|
|
5051
5385
|
"dropdown-menu-item"
|
|
5052
|
-
]
|
|
5053
|
-
"import": "import { DropdownMenuItem } from '@s2life/ui';"
|
|
5386
|
+
]
|
|
5054
5387
|
},
|
|
5055
5388
|
{
|
|
5056
5389
|
"name": "DropdownMenuCheckboxItem",
|
|
5057
5390
|
"partOf": "DropdownMenu",
|
|
5058
5391
|
"purpose": "체크형 메뉴 항목",
|
|
5059
|
-
"
|
|
5060
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5392
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5061
5393
|
"props": [],
|
|
5062
5394
|
"extends": [
|
|
5063
5395
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>"
|
|
5064
5396
|
],
|
|
5065
5397
|
"slots": [
|
|
5066
5398
|
"dropdown-menu-checkbox-item"
|
|
5067
|
-
]
|
|
5068
|
-
"import": "import { DropdownMenuCheckboxItem } from '@s2life/ui';"
|
|
5399
|
+
]
|
|
5069
5400
|
},
|
|
5070
5401
|
{
|
|
5071
5402
|
"name": "DropdownMenuRadioItem",
|
|
5072
5403
|
"partOf": "DropdownMenu",
|
|
5073
5404
|
"purpose": "라디오형 메뉴 항목",
|
|
5074
|
-
"
|
|
5075
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5405
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5076
5406
|
"props": [],
|
|
5077
5407
|
"extends": [
|
|
5078
5408
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>"
|
|
5079
5409
|
],
|
|
5080
5410
|
"slots": [
|
|
5081
5411
|
"dropdown-menu-radio-item"
|
|
5082
|
-
]
|
|
5083
|
-
"import": "import { DropdownMenuRadioItem } from '@s2life/ui';"
|
|
5412
|
+
]
|
|
5084
5413
|
},
|
|
5085
5414
|
{
|
|
5086
5415
|
"name": "DropdownMenuLabel",
|
|
5087
5416
|
"partOf": "DropdownMenu",
|
|
5088
5417
|
"purpose": "메뉴 그룹 이름",
|
|
5089
|
-
"
|
|
5090
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5418
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5091
5419
|
"props": [
|
|
5092
5420
|
{
|
|
5093
5421
|
"name": "inset",
|
|
5094
|
-
"type": "boolean
|
|
5095
|
-
"required": false
|
|
5422
|
+
"type": "boolean"
|
|
5096
5423
|
}
|
|
5097
5424
|
],
|
|
5098
5425
|
"extends": [
|
|
@@ -5100,102 +5427,87 @@
|
|
|
5100
5427
|
],
|
|
5101
5428
|
"slots": [
|
|
5102
5429
|
"dropdown-menu-label"
|
|
5103
|
-
]
|
|
5104
|
-
"import": "import { DropdownMenuLabel } from '@s2life/ui';"
|
|
5430
|
+
]
|
|
5105
5431
|
},
|
|
5106
5432
|
{
|
|
5107
5433
|
"name": "DropdownMenuSeparator",
|
|
5108
5434
|
"partOf": "DropdownMenu",
|
|
5109
5435
|
"purpose": "메뉴 구분선",
|
|
5110
|
-
"
|
|
5111
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5436
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5112
5437
|
"props": [],
|
|
5113
5438
|
"extends": [
|
|
5114
5439
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>"
|
|
5115
5440
|
],
|
|
5116
5441
|
"slots": [
|
|
5117
5442
|
"dropdown-menu-separator"
|
|
5118
|
-
]
|
|
5119
|
-
"import": "import { DropdownMenuSeparator } from '@s2life/ui';"
|
|
5443
|
+
]
|
|
5120
5444
|
},
|
|
5121
5445
|
{
|
|
5122
5446
|
"name": "DropdownMenuShortcut",
|
|
5123
5447
|
"partOf": "DropdownMenu",
|
|
5124
5448
|
"purpose": "메뉴 단축키 표시",
|
|
5125
|
-
"
|
|
5126
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5449
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5127
5450
|
"props": [],
|
|
5128
5451
|
"extends": [
|
|
5129
5452
|
"React.HTMLAttributes<HTMLSpanElement>"
|
|
5130
5453
|
],
|
|
5131
5454
|
"slots": [
|
|
5132
5455
|
"dropdown-menu-shortcut"
|
|
5133
|
-
]
|
|
5134
|
-
"import": "import { DropdownMenuShortcut } from '@s2life/ui';"
|
|
5456
|
+
]
|
|
5135
5457
|
},
|
|
5136
5458
|
{
|
|
5137
5459
|
"name": "DropdownMenuGroup",
|
|
5138
5460
|
"partOf": "DropdownMenu",
|
|
5139
5461
|
"purpose": "메뉴 항목 그룹",
|
|
5140
|
-
"
|
|
5141
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5462
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5142
5463
|
"props": [],
|
|
5143
5464
|
"extends": [
|
|
5144
5465
|
"React.ComponentProps<typeof DropdownMenuPrimitive.Group>"
|
|
5145
5466
|
],
|
|
5146
5467
|
"slots": [
|
|
5147
5468
|
"dropdown-menu-group"
|
|
5148
|
-
]
|
|
5149
|
-
"import": "import { DropdownMenuGroup } from '@s2life/ui';"
|
|
5469
|
+
]
|
|
5150
5470
|
},
|
|
5151
5471
|
{
|
|
5152
5472
|
"name": "DropdownMenuPortal",
|
|
5153
5473
|
"partOf": "DropdownMenu",
|
|
5154
5474
|
"purpose": "메뉴 포털",
|
|
5155
|
-
"
|
|
5156
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5475
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5157
5476
|
"props": [],
|
|
5158
5477
|
"extends": [],
|
|
5159
|
-
"slots": []
|
|
5160
|
-
"import": "import { DropdownMenuPortal } from '@s2life/ui';"
|
|
5478
|
+
"slots": []
|
|
5161
5479
|
},
|
|
5162
5480
|
{
|
|
5163
5481
|
"name": "DropdownMenuSub",
|
|
5164
5482
|
"partOf": "DropdownMenu",
|
|
5165
5483
|
"purpose": "하위 메뉴 루트",
|
|
5166
|
-
"
|
|
5167
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5484
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5168
5485
|
"props": [],
|
|
5169
5486
|
"extends": [],
|
|
5170
|
-
"slots": []
|
|
5171
|
-
"import": "import { DropdownMenuSub } from '@s2life/ui';"
|
|
5487
|
+
"slots": []
|
|
5172
5488
|
},
|
|
5173
5489
|
{
|
|
5174
5490
|
"name": "DropdownMenuSubContent",
|
|
5175
5491
|
"partOf": "DropdownMenu",
|
|
5176
5492
|
"purpose": "하위 메뉴 목록",
|
|
5177
|
-
"
|
|
5178
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5493
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5179
5494
|
"props": [],
|
|
5180
5495
|
"extends": [
|
|
5181
5496
|
"React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>"
|
|
5182
5497
|
],
|
|
5183
5498
|
"slots": [
|
|
5184
5499
|
"dropdown-menu-sub-content"
|
|
5185
|
-
]
|
|
5186
|
-
"import": "import { DropdownMenuSubContent } from '@s2life/ui';"
|
|
5500
|
+
]
|
|
5187
5501
|
},
|
|
5188
5502
|
{
|
|
5189
5503
|
"name": "DropdownMenuSubTrigger",
|
|
5190
5504
|
"partOf": "DropdownMenu",
|
|
5191
5505
|
"purpose": "하위 메뉴 열기",
|
|
5192
|
-
"
|
|
5193
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5506
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5194
5507
|
"props": [
|
|
5195
5508
|
{
|
|
5196
5509
|
"name": "inset",
|
|
5197
|
-
"type": "boolean
|
|
5198
|
-
"required": false
|
|
5510
|
+
"type": "boolean"
|
|
5199
5511
|
}
|
|
5200
5512
|
],
|
|
5201
5513
|
"extends": [
|
|
@@ -5203,23 +5515,20 @@
|
|
|
5203
5515
|
],
|
|
5204
5516
|
"slots": [
|
|
5205
5517
|
"dropdown-menu-sub-trigger"
|
|
5206
|
-
]
|
|
5207
|
-
"import": "import { DropdownMenuSubTrigger } from '@s2life/ui';"
|
|
5518
|
+
]
|
|
5208
5519
|
},
|
|
5209
5520
|
{
|
|
5210
5521
|
"name": "DropdownMenuRadioGroup",
|
|
5211
5522
|
"partOf": "DropdownMenu",
|
|
5212
5523
|
"purpose": "라디오 메뉴 그룹",
|
|
5213
|
-
"
|
|
5214
|
-
"source": "packages/ui/src/components/dropdown-menu/dropdown-menu.tsx",
|
|
5524
|
+
"source": "components/dropdown-menu/dropdown-menu.tsx",
|
|
5215
5525
|
"props": [],
|
|
5216
5526
|
"extends": [
|
|
5217
5527
|
"React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>"
|
|
5218
5528
|
],
|
|
5219
5529
|
"slots": [
|
|
5220
5530
|
"dropdown-menu-radio-group"
|
|
5221
|
-
]
|
|
5222
|
-
"import": "import { DropdownMenuRadioGroup } from '@s2life/ui';"
|
|
5531
|
+
]
|
|
5223
5532
|
},
|
|
5224
5533
|
{
|
|
5225
5534
|
"name": "Toaster",
|
|
@@ -5244,16 +5553,14 @@
|
|
|
5244
5553
|
"토스트",
|
|
5245
5554
|
"저장 알림"
|
|
5246
5555
|
],
|
|
5247
|
-
"
|
|
5248
|
-
"source": "packages/ui/src/components/toast/toast.tsx",
|
|
5556
|
+
"source": "components/toast/toast.tsx",
|
|
5249
5557
|
"props": [],
|
|
5250
5558
|
"extends": [
|
|
5251
5559
|
"React.ComponentProps<typeof Sonner>"
|
|
5252
5560
|
],
|
|
5253
5561
|
"slots": [
|
|
5254
5562
|
"toaster"
|
|
5255
|
-
]
|
|
5256
|
-
"import": "import { Toaster } from '@s2life/ui';"
|
|
5563
|
+
]
|
|
5257
5564
|
},
|
|
5258
5565
|
{
|
|
5259
5566
|
"name": "DatePicker",
|
|
@@ -5279,40 +5586,33 @@
|
|
|
5279
5586
|
"기간 필터",
|
|
5280
5587
|
"달력"
|
|
5281
5588
|
],
|
|
5282
|
-
"
|
|
5283
|
-
"source": "packages/ui/src/components/date-picker/date-picker.tsx",
|
|
5589
|
+
"source": "components/date-picker/date-picker.tsx",
|
|
5284
5590
|
"props": [
|
|
5285
5591
|
{
|
|
5286
5592
|
"name": "invalid",
|
|
5287
|
-
"type": "boolean
|
|
5288
|
-
"required": false
|
|
5593
|
+
"type": "boolean"
|
|
5289
5594
|
},
|
|
5290
5595
|
{
|
|
5291
5596
|
"name": "numeric",
|
|
5292
|
-
"type": "boolean
|
|
5293
|
-
"required": false,
|
|
5597
|
+
"type": "boolean",
|
|
5294
5598
|
"doc": "숫자·금액 입력. 고정폭 숫자와 우측 정렬을 적용한다."
|
|
5295
5599
|
},
|
|
5296
5600
|
{
|
|
5297
5601
|
"name": "defaultMonth",
|
|
5298
|
-
"type": "Date
|
|
5299
|
-
"required": false
|
|
5602
|
+
"type": "Date"
|
|
5300
5603
|
},
|
|
5301
5604
|
{
|
|
5302
5605
|
"name": "today",
|
|
5303
|
-
"type": "Date
|
|
5304
|
-
"required": false,
|
|
5606
|
+
"type": "Date",
|
|
5305
5607
|
"doc": "빠른 선택의 기준일. 기본은 운영자의 로컬 오늘이며 스토리에서는 고정할 수 있다."
|
|
5306
5608
|
},
|
|
5307
5609
|
{
|
|
5308
5610
|
"name": "mode",
|
|
5309
|
-
"type": "\"range\" | \"single\"
|
|
5310
|
-
"required": false
|
|
5611
|
+
"type": "\"range\" | \"single\""
|
|
5311
5612
|
},
|
|
5312
5613
|
{
|
|
5313
5614
|
"name": "value",
|
|
5314
|
-
"type": "Date | DateRange
|
|
5315
|
-
"required": false
|
|
5615
|
+
"type": "Date | DateRange"
|
|
5316
5616
|
},
|
|
5317
5617
|
{
|
|
5318
5618
|
"name": "onChange",
|
|
@@ -5320,13 +5620,20 @@
|
|
|
5320
5620
|
"required": true
|
|
5321
5621
|
}
|
|
5322
5622
|
],
|
|
5323
|
-
"extends": [
|
|
5623
|
+
"extends": [
|
|
5624
|
+
"Omit<React.ComponentProps<typeof Input>, 'value' | 'defaultValue' | 'onChange' | 'type'>"
|
|
5625
|
+
],
|
|
5324
5626
|
"slots": [
|
|
5627
|
+
"button",
|
|
5628
|
+
"calendar",
|
|
5325
5629
|
"date-picker",
|
|
5326
5630
|
"date-picker-error",
|
|
5327
|
-
"date-picker-presets"
|
|
5328
|
-
|
|
5329
|
-
|
|
5631
|
+
"date-picker-presets",
|
|
5632
|
+
"input",
|
|
5633
|
+
"input-action",
|
|
5634
|
+
"input-control",
|
|
5635
|
+
"popover-content"
|
|
5636
|
+
]
|
|
5330
5637
|
},
|
|
5331
5638
|
{
|
|
5332
5639
|
"name": "Button",
|
|
@@ -5341,7 +5648,7 @@
|
|
|
5341
5648
|
],
|
|
5342
5649
|
"rules": [
|
|
5343
5650
|
{
|
|
5344
|
-
"text": "danger는 되돌릴 수 없는 작업에만 쓴다.",
|
|
5651
|
+
"text": "danger는 되돌릴 수 없는 작업에만 쓴다. asChild는 단일 링크에 스타일을 합치며 양쪽 아이콘도 링크 안에 보존한다.",
|
|
5345
5652
|
"source": "DESIGN.md 6"
|
|
5346
5653
|
}
|
|
5347
5654
|
],
|
|
@@ -5354,30 +5661,30 @@
|
|
|
5354
5661
|
"삭제",
|
|
5355
5662
|
"액션"
|
|
5356
5663
|
],
|
|
5357
|
-
"
|
|
5358
|
-
"source": "packages/ui/src/components/button.tsx",
|
|
5664
|
+
"source": "components/button.tsx",
|
|
5359
5665
|
"props": [
|
|
5666
|
+
{
|
|
5667
|
+
"name": "asChild",
|
|
5668
|
+
"type": "boolean",
|
|
5669
|
+
"doc": "단일 자식 링크 등에 스타일·이벤트·ref를 합친다."
|
|
5670
|
+
},
|
|
5360
5671
|
{
|
|
5361
5672
|
"name": "leadingIcon",
|
|
5362
5673
|
"type": "ReactNode",
|
|
5363
|
-
"required": false,
|
|
5364
5674
|
"doc": "라벨 왼쪽 아이콘. 동작을 설명하는 것만 쓴다."
|
|
5365
5675
|
},
|
|
5366
5676
|
{
|
|
5367
5677
|
"name": "trailingIcon",
|
|
5368
5678
|
"type": "ReactNode",
|
|
5369
|
-
"required": false,
|
|
5370
5679
|
"doc": "라벨 오른쪽 아이콘. 방향·열림 상태 표시에만 쓴다."
|
|
5371
5680
|
},
|
|
5372
5681
|
{
|
|
5373
5682
|
"name": "variant",
|
|
5374
|
-
"type": "\"danger\" | \"ghost\" | \"primary\" | \"secondary\" | null
|
|
5375
|
-
"required": false
|
|
5683
|
+
"type": "\"danger\" | \"ghost\" | \"primary\" | \"secondary\" | null"
|
|
5376
5684
|
},
|
|
5377
5685
|
{
|
|
5378
5686
|
"name": "size",
|
|
5379
|
-
"type": "\"lg\" | \"md\" | \"sm\" | null
|
|
5380
|
-
"required": false
|
|
5687
|
+
"type": "\"lg\" | \"md\" | \"sm\" | null"
|
|
5381
5688
|
}
|
|
5382
5689
|
],
|
|
5383
5690
|
"extends": [
|
|
@@ -5386,8 +5693,7 @@
|
|
|
5386
5693
|
],
|
|
5387
5694
|
"slots": [
|
|
5388
5695
|
"button"
|
|
5389
|
-
]
|
|
5390
|
-
"import": "import { Button } from '@s2life/ui';"
|
|
5696
|
+
]
|
|
5391
5697
|
},
|
|
5392
5698
|
{
|
|
5393
5699
|
"name": "Input",
|
|
@@ -5426,18 +5732,15 @@
|
|
|
5426
5732
|
"수량",
|
|
5427
5733
|
"금액 입력"
|
|
5428
5734
|
],
|
|
5429
|
-
"
|
|
5430
|
-
"source": "packages/ui/src/components/input.tsx",
|
|
5735
|
+
"source": "components/input.tsx",
|
|
5431
5736
|
"props": [
|
|
5432
5737
|
{
|
|
5433
5738
|
"name": "invalid",
|
|
5434
|
-
"type": "boolean
|
|
5435
|
-
"required": false
|
|
5739
|
+
"type": "boolean"
|
|
5436
5740
|
},
|
|
5437
5741
|
{
|
|
5438
5742
|
"name": "numeric",
|
|
5439
|
-
"type": "boolean
|
|
5440
|
-
"required": false,
|
|
5743
|
+
"type": "boolean",
|
|
5441
5744
|
"doc": "숫자·금액 입력. 고정폭 숫자와 우측 정렬을 적용한다."
|
|
5442
5745
|
}
|
|
5443
5746
|
],
|
|
@@ -5448,8 +5751,7 @@
|
|
|
5448
5751
|
"input",
|
|
5449
5752
|
"input-action",
|
|
5450
5753
|
"input-control"
|
|
5451
|
-
]
|
|
5452
|
-
"import": "import { Input } from '@s2life/ui';"
|
|
5754
|
+
]
|
|
5453
5755
|
},
|
|
5454
5756
|
{
|
|
5455
5757
|
"name": "Textarea",
|
|
@@ -5479,23 +5781,19 @@
|
|
|
5479
5781
|
"비고",
|
|
5480
5782
|
"긴 글"
|
|
5481
5783
|
],
|
|
5482
|
-
"
|
|
5483
|
-
"source": "packages/ui/src/components/textarea/textarea.tsx",
|
|
5784
|
+
"source": "components/textarea/textarea.tsx",
|
|
5484
5785
|
"props": [
|
|
5485
5786
|
{
|
|
5486
5787
|
"name": "invalid",
|
|
5487
|
-
"type": "boolean
|
|
5488
|
-
"required": false
|
|
5788
|
+
"type": "boolean"
|
|
5489
5789
|
},
|
|
5490
5790
|
{
|
|
5491
5791
|
"name": "autoGrow",
|
|
5492
|
-
"type": "boolean
|
|
5493
|
-
"required": false
|
|
5792
|
+
"type": "boolean"
|
|
5494
5793
|
},
|
|
5495
5794
|
{
|
|
5496
5795
|
"name": "maxHeight",
|
|
5497
|
-
"type": "MaxHeight<string | number>
|
|
5498
|
-
"required": false,
|
|
5796
|
+
"type": "MaxHeight<string | number>",
|
|
5499
5797
|
"doc": "자동 높이 상한. 기본 240px는 본문 약 10줄이며 이후에는 칸 안에서 스크롤한다."
|
|
5500
5798
|
}
|
|
5501
5799
|
],
|
|
@@ -5504,8 +5802,7 @@
|
|
|
5504
5802
|
],
|
|
5505
5803
|
"slots": [
|
|
5506
5804
|
"textarea"
|
|
5507
|
-
]
|
|
5508
|
-
"import": "import { Textarea } from '@s2life/ui';"
|
|
5805
|
+
]
|
|
5509
5806
|
},
|
|
5510
5807
|
{
|
|
5511
5808
|
"name": "RadioGroup",
|
|
@@ -5544,23 +5841,20 @@
|
|
|
5544
5841
|
"parts": [
|
|
5545
5842
|
"RadioGroupItem"
|
|
5546
5843
|
],
|
|
5547
|
-
"
|
|
5548
|
-
"source": "packages/ui/src/components/radio-group/radio-group.tsx",
|
|
5844
|
+
"source": "components/radio-group/radio-group.tsx",
|
|
5549
5845
|
"props": [],
|
|
5550
5846
|
"extends": [
|
|
5551
5847
|
"React.ComponentProps<typeof Primitive.Root>"
|
|
5552
5848
|
],
|
|
5553
5849
|
"slots": [
|
|
5554
5850
|
"radio-group"
|
|
5555
|
-
]
|
|
5556
|
-
"import": "import { RadioGroup } from '@s2life/ui';"
|
|
5851
|
+
]
|
|
5557
5852
|
},
|
|
5558
5853
|
{
|
|
5559
5854
|
"name": "RadioGroupItem",
|
|
5560
5855
|
"partOf": "RadioGroup",
|
|
5561
5856
|
"purpose": "하나의 라디오 선택지와 선택 점이다. FormFlow 안 Enter는 다음 칸, 화살표는 선택이다.",
|
|
5562
|
-
"
|
|
5563
|
-
"source": "packages/ui/src/components/radio-group/radio-group.tsx",
|
|
5857
|
+
"source": "components/radio-group/radio-group.tsx",
|
|
5564
5858
|
"props": [],
|
|
5565
5859
|
"extends": [
|
|
5566
5860
|
"React.ComponentProps<typeof Primitive.Item>"
|
|
@@ -5568,8 +5862,7 @@
|
|
|
5568
5862
|
"slots": [
|
|
5569
5863
|
"radio-group-indicator",
|
|
5570
5864
|
"radio-group-item"
|
|
5571
|
-
]
|
|
5572
|
-
"import": "import { RadioGroupItem } from '@s2life/ui';"
|
|
5865
|
+
]
|
|
5573
5866
|
},
|
|
5574
5867
|
{
|
|
5575
5868
|
"name": "Switch",
|
|
@@ -5606,8 +5899,7 @@
|
|
|
5606
5899
|
"켜기 끄기",
|
|
5607
5900
|
"즉시 적용"
|
|
5608
5901
|
],
|
|
5609
|
-
"
|
|
5610
|
-
"source": "packages/ui/src/components/switch/switch.tsx",
|
|
5902
|
+
"source": "components/switch/switch.tsx",
|
|
5611
5903
|
"props": [],
|
|
5612
5904
|
"extends": [
|
|
5613
5905
|
"React.ComponentProps<typeof Primitive.Root>"
|
|
@@ -5615,8 +5907,7 @@
|
|
|
5615
5907
|
"slots": [
|
|
5616
5908
|
"switch",
|
|
5617
5909
|
"switch-thumb"
|
|
5618
|
-
]
|
|
5619
|
-
"import": "import { Switch } from '@s2life/ui';"
|
|
5910
|
+
]
|
|
5620
5911
|
},
|
|
5621
5912
|
{
|
|
5622
5913
|
"name": "Label",
|
|
@@ -5644,13 +5935,11 @@
|
|
|
5644
5935
|
"레이블",
|
|
5645
5936
|
"입력 이름"
|
|
5646
5937
|
],
|
|
5647
|
-
"
|
|
5648
|
-
"source": "packages/ui/src/components/label/label.tsx",
|
|
5938
|
+
"source": "components/label/label.tsx",
|
|
5649
5939
|
"props": [
|
|
5650
5940
|
{
|
|
5651
5941
|
"name": "required",
|
|
5652
|
-
"type": "boolean
|
|
5653
|
-
"required": false
|
|
5942
|
+
"type": "boolean"
|
|
5654
5943
|
}
|
|
5655
5944
|
],
|
|
5656
5945
|
"extends": [
|
|
@@ -5659,8 +5948,7 @@
|
|
|
5659
5948
|
"slots": [
|
|
5660
5949
|
"label",
|
|
5661
5950
|
"label-required"
|
|
5662
|
-
]
|
|
5663
|
-
"import": "import { Label } from '@s2life/ui';"
|
|
5951
|
+
]
|
|
5664
5952
|
},
|
|
5665
5953
|
{
|
|
5666
5954
|
"name": "StatusChip",
|
|
@@ -5690,25 +5978,21 @@
|
|
|
5690
5978
|
"배송 상태",
|
|
5691
5979
|
"상태 표시"
|
|
5692
5980
|
],
|
|
5693
|
-
"
|
|
5694
|
-
"source": "packages/ui/src/components/status-chip.tsx",
|
|
5981
|
+
"source": "components/status-chip.tsx",
|
|
5695
5982
|
"props": [
|
|
5696
5983
|
{
|
|
5697
5984
|
"name": "icon",
|
|
5698
5985
|
"type": "ReactNode",
|
|
5699
|
-
"required": false,
|
|
5700
5986
|
"doc": "톤 기본 아이콘을 다른 것으로 바꿀 때만 쓴다."
|
|
5701
5987
|
},
|
|
5702
5988
|
{
|
|
5703
5989
|
"name": "hideIcon",
|
|
5704
|
-
"type": "boolean
|
|
5705
|
-
"required": false,
|
|
5990
|
+
"type": "boolean",
|
|
5706
5991
|
"doc": "아이콘을 숨긴다. 같은 열의 모든 셀이 이미 상태 열임이 명확하고\n라벨 텍스트만으로 충분할 때에 한해 쓴다. 색만 남는 상태가 되므로 기본값은 false."
|
|
5707
5992
|
},
|
|
5708
5993
|
{
|
|
5709
5994
|
"name": "tone",
|
|
5710
|
-
"type": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\" | null
|
|
5711
|
-
"required": false
|
|
5995
|
+
"type": "\"danger\" | \"info\" | \"neutral\" | \"success\" | \"warning\" | null"
|
|
5712
5996
|
}
|
|
5713
5997
|
],
|
|
5714
5998
|
"extends": [
|
|
@@ -5717,8 +6001,7 @@
|
|
|
5717
6001
|
],
|
|
5718
6002
|
"slots": [
|
|
5719
6003
|
"status-chip"
|
|
5720
|
-
]
|
|
5721
|
-
"import": "import { StatusChip } from '@s2life/ui';"
|
|
6004
|
+
]
|
|
5722
6005
|
},
|
|
5723
6006
|
{
|
|
5724
6007
|
"name": "Card",
|
|
@@ -5751,76 +6034,66 @@
|
|
|
5751
6034
|
"CardBody",
|
|
5752
6035
|
"CardFooter"
|
|
5753
6036
|
],
|
|
5754
|
-
"
|
|
5755
|
-
"source": "packages/ui/src/components/card.tsx",
|
|
6037
|
+
"source": "components/card.tsx",
|
|
5756
6038
|
"props": [],
|
|
5757
6039
|
"extends": [
|
|
5758
6040
|
"React.HTMLAttributes<HTMLDivElement>"
|
|
5759
6041
|
],
|
|
5760
6042
|
"slots": [
|
|
5761
6043
|
"card"
|
|
5762
|
-
]
|
|
5763
|
-
"import": "import { Card } from '@s2life/ui';"
|
|
6044
|
+
]
|
|
5764
6045
|
},
|
|
5765
6046
|
{
|
|
5766
6047
|
"name": "CardHeader",
|
|
5767
6048
|
"partOf": "Card",
|
|
5768
6049
|
"purpose": "카드의 제목과 보조 동작 영역",
|
|
5769
|
-
"
|
|
5770
|
-
"source": "packages/ui/src/components/card.tsx",
|
|
6050
|
+
"source": "components/card.tsx",
|
|
5771
6051
|
"props": [],
|
|
5772
6052
|
"extends": [
|
|
5773
6053
|
"React.HTMLAttributes<HTMLDivElement>"
|
|
5774
6054
|
],
|
|
5775
6055
|
"slots": [
|
|
5776
6056
|
"card-header"
|
|
5777
|
-
]
|
|
5778
|
-
"import": "import { CardHeader } from '@s2life/ui';"
|
|
6057
|
+
]
|
|
5779
6058
|
},
|
|
5780
6059
|
{
|
|
5781
6060
|
"name": "CardTitle",
|
|
5782
6061
|
"partOf": "Card",
|
|
5783
6062
|
"purpose": "카드의 제목",
|
|
5784
|
-
"
|
|
5785
|
-
"source": "packages/ui/src/components/card.tsx",
|
|
6063
|
+
"source": "components/card.tsx",
|
|
5786
6064
|
"props": [],
|
|
5787
6065
|
"extends": [
|
|
5788
6066
|
"React.HTMLAttributes<HTMLHeadingElement>"
|
|
5789
6067
|
],
|
|
5790
6068
|
"slots": [
|
|
5791
6069
|
"card-title"
|
|
5792
|
-
]
|
|
5793
|
-
"import": "import { CardTitle } from '@s2life/ui';"
|
|
6070
|
+
]
|
|
5794
6071
|
},
|
|
5795
6072
|
{
|
|
5796
6073
|
"name": "CardBody",
|
|
5797
6074
|
"partOf": "Card",
|
|
5798
6075
|
"purpose": "카드의 본문 영역",
|
|
5799
|
-
"
|
|
5800
|
-
"source": "packages/ui/src/components/card.tsx",
|
|
6076
|
+
"source": "components/card.tsx",
|
|
5801
6077
|
"props": [],
|
|
5802
6078
|
"extends": [
|
|
5803
6079
|
"React.HTMLAttributes<HTMLDivElement>"
|
|
5804
6080
|
],
|
|
5805
6081
|
"slots": [
|
|
5806
6082
|
"card-body"
|
|
5807
|
-
]
|
|
5808
|
-
"import": "import { CardBody } from '@s2life/ui';"
|
|
6083
|
+
]
|
|
5809
6084
|
},
|
|
5810
6085
|
{
|
|
5811
6086
|
"name": "CardFooter",
|
|
5812
6087
|
"partOf": "Card",
|
|
5813
6088
|
"purpose": "카드의 하단 보조 정보 영역",
|
|
5814
|
-
"
|
|
5815
|
-
"source": "packages/ui/src/components/card.tsx",
|
|
6089
|
+
"source": "components/card.tsx",
|
|
5816
6090
|
"props": [],
|
|
5817
6091
|
"extends": [
|
|
5818
6092
|
"React.HTMLAttributes<HTMLDivElement>"
|
|
5819
6093
|
],
|
|
5820
6094
|
"slots": [
|
|
5821
6095
|
"card-footer"
|
|
5822
|
-
]
|
|
5823
|
-
"import": "import { CardFooter } from '@s2life/ui';"
|
|
6096
|
+
]
|
|
5824
6097
|
},
|
|
5825
6098
|
{
|
|
5826
6099
|
"name": "Checkbox",
|
|
@@ -5847,13 +6120,11 @@
|
|
|
5847
6120
|
"선택",
|
|
5848
6121
|
"혼합"
|
|
5849
6122
|
],
|
|
5850
|
-
"
|
|
5851
|
-
"source": "packages/ui/src/components/checkbox.tsx",
|
|
6123
|
+
"source": "components/checkbox.tsx",
|
|
5852
6124
|
"props": [
|
|
5853
6125
|
{
|
|
5854
6126
|
"name": "indeterminate",
|
|
5855
|
-
"type": "boolean
|
|
5856
|
-
"required": false
|
|
6127
|
+
"type": "boolean"
|
|
5857
6128
|
}
|
|
5858
6129
|
],
|
|
5859
6130
|
"extends": [
|
|
@@ -5862,8 +6133,7 @@
|
|
|
5862
6133
|
"slots": [
|
|
5863
6134
|
"checkbox",
|
|
5864
6135
|
"checkbox-control"
|
|
5865
|
-
]
|
|
5866
|
-
"import": "import { Checkbox } from '@s2life/ui';"
|
|
6136
|
+
]
|
|
5867
6137
|
},
|
|
5868
6138
|
{
|
|
5869
6139
|
"name": "DataTable",
|
|
@@ -5877,7 +6147,7 @@
|
|
|
5877
6147
|
],
|
|
5878
6148
|
"rules": [
|
|
5879
6149
|
{
|
|
5880
|
-
"text": "값은 최소 너비·말줄임·전체값 보존을 함께 쓴다.",
|
|
6150
|
+
"text": "값은 최소 너비·말줄임·전체값 보존을 함께 쓴다. @s2life/ui의 createDataTableColumnHelper<T>()로 h.columns([h.accessor(...)])를 만든다. TanStack 직접 설치는 필요 없다.",
|
|
5881
6151
|
"source": "DESIGN.md 4"
|
|
5882
6152
|
}
|
|
5883
6153
|
],
|
|
@@ -5898,8 +6168,7 @@
|
|
|
5898
6168
|
"일괄 선택",
|
|
5899
6169
|
"주문 목록"
|
|
5900
6170
|
],
|
|
5901
|
-
"
|
|
5902
|
-
"source": "packages/ui/src/components/data-table/data-table.tsx",
|
|
6171
|
+
"source": "components/data-table/data-table.tsx",
|
|
5903
6172
|
"props": [
|
|
5904
6173
|
{
|
|
5905
6174
|
"name": "data",
|
|
@@ -5908,13 +6177,12 @@
|
|
|
5908
6177
|
},
|
|
5909
6178
|
{
|
|
5910
6179
|
"name": "totalCount",
|
|
5911
|
-
"type": "number
|
|
5912
|
-
"required": false,
|
|
6180
|
+
"type": "number",
|
|
5913
6181
|
"doc": "서버 전체 건수. 생략하면 로드된 data.length를 전체로 간주한다."
|
|
5914
6182
|
},
|
|
5915
6183
|
{
|
|
5916
6184
|
"name": "columns",
|
|
5917
|
-
"type": "
|
|
6185
|
+
"type": "DataTableColumns<T>",
|
|
5918
6186
|
"required": true
|
|
5919
6187
|
},
|
|
5920
6188
|
{
|
|
@@ -5924,119 +6192,97 @@
|
|
|
5924
6192
|
},
|
|
5925
6193
|
{
|
|
5926
6194
|
"name": "selectionMode",
|
|
5927
|
-
"type": "SelectionMode
|
|
5928
|
-
"required": false
|
|
6195
|
+
"type": "SelectionMode"
|
|
5929
6196
|
},
|
|
5930
6197
|
{
|
|
5931
6198
|
"name": "selectedIds",
|
|
5932
|
-
"type": "string[]
|
|
5933
|
-
"required": false
|
|
6199
|
+
"type": "string[]"
|
|
5934
6200
|
},
|
|
5935
6201
|
{
|
|
5936
6202
|
"name": "onSelectedIdsChange",
|
|
5937
|
-
"type": "((ids: string[]) => void)
|
|
5938
|
-
"required": false
|
|
6203
|
+
"type": "((ids: string[]) => void)"
|
|
5939
6204
|
},
|
|
5940
6205
|
{
|
|
5941
6206
|
"name": "pinnedStart",
|
|
5942
|
-
"type": "string[]
|
|
5943
|
-
"required": false
|
|
6207
|
+
"type": "string[]"
|
|
5944
6208
|
},
|
|
5945
6209
|
{
|
|
5946
6210
|
"name": "pinnedEnd",
|
|
5947
|
-
"type": "string[]
|
|
5948
|
-
"required": false
|
|
6211
|
+
"type": "string[]"
|
|
5949
6212
|
},
|
|
5950
6213
|
{
|
|
5951
6214
|
"name": "revisitedRowId",
|
|
5952
|
-
"type": "string
|
|
5953
|
-
"required": false
|
|
6215
|
+
"type": "string"
|
|
5954
6216
|
},
|
|
5955
6217
|
{
|
|
5956
6218
|
"name": "onRowClick",
|
|
5957
|
-
"type": "((row: T) => void)
|
|
5958
|
-
"required": false
|
|
6219
|
+
"type": "((row: T) => void)"
|
|
5959
6220
|
},
|
|
5960
6221
|
{
|
|
5961
6222
|
"name": "density",
|
|
5962
|
-
"type": "\"comfortable\" | \"compact\" | \"default\"
|
|
5963
|
-
"required": false
|
|
6223
|
+
"type": "\"comfortable\" | \"compact\" | \"default\""
|
|
5964
6224
|
},
|
|
5965
6225
|
{
|
|
5966
6226
|
"name": "state",
|
|
5967
|
-
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\"
|
|
5968
|
-
"required": false
|
|
6227
|
+
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\""
|
|
5969
6228
|
},
|
|
5970
6229
|
{
|
|
5971
6230
|
"name": "emptyMessage",
|
|
5972
|
-
"type": "string
|
|
5973
|
-
"required": false
|
|
6231
|
+
"type": "string"
|
|
5974
6232
|
},
|
|
5975
6233
|
{
|
|
5976
6234
|
"name": "errorMessage",
|
|
5977
|
-
"type": "string
|
|
5978
|
-
"required": false
|
|
6235
|
+
"type": "string"
|
|
5979
6236
|
},
|
|
5980
6237
|
{
|
|
5981
6238
|
"name": "emptyAction",
|
|
5982
|
-
"type": "{ label: string; onClick: () => void; }
|
|
5983
|
-
"required": false
|
|
6239
|
+
"type": "{ label: string; onClick: () => void; }"
|
|
5984
6240
|
},
|
|
5985
6241
|
{
|
|
5986
6242
|
"name": "onRetry",
|
|
5987
|
-
"type": "(() => void)
|
|
5988
|
-
"required": false
|
|
6243
|
+
"type": "(() => void)"
|
|
5989
6244
|
},
|
|
5990
6245
|
{
|
|
5991
6246
|
"name": "exportFileName",
|
|
5992
|
-
"type": "string
|
|
5993
|
-
"required": false
|
|
6247
|
+
"type": "string"
|
|
5994
6248
|
},
|
|
5995
6249
|
{
|
|
5996
6250
|
"name": "exportValue",
|
|
5997
|
-
"type": "Record<string, (row: T) => string>
|
|
5998
|
-
"required": false,
|
|
6251
|
+
"type": "Record<string, (row: T) => string>",
|
|
5999
6252
|
"doc": "셀 표시와 원본 값을 분리한다. 금액은 쉼표 없는 문자열을 반환한다."
|
|
6000
6253
|
},
|
|
6001
6254
|
{
|
|
6002
6255
|
"name": "align",
|
|
6003
|
-
"type": "Record<string, \"center\" | \"end\" | \"start\">
|
|
6004
|
-
"required": false,
|
|
6256
|
+
"type": "Record<string, \"center\" | \"end\" | \"start\">",
|
|
6005
6257
|
"doc": "컬럼별 정렬. 지정하지 않은 컬럼은 데이터로 추론한다(숫자면 'end')."
|
|
6006
6258
|
},
|
|
6007
6259
|
{
|
|
6008
6260
|
"name": "caption",
|
|
6009
|
-
"type": "string
|
|
6010
|
-
"required": false,
|
|
6261
|
+
"type": "string",
|
|
6011
6262
|
"doc": "생략 시에도 caption을 제공하지만, 실제 업무 대상과 범위를 설명하는 문장을 권장한다."
|
|
6012
6263
|
},
|
|
6013
6264
|
{
|
|
6014
6265
|
"name": "className",
|
|
6015
|
-
"type": "string
|
|
6016
|
-
"required": false
|
|
6266
|
+
"type": "string"
|
|
6017
6267
|
},
|
|
6018
6268
|
{
|
|
6019
6269
|
"name": "virtualize",
|
|
6020
|
-
"type": "number | boolean
|
|
6021
|
-
"required": false,
|
|
6270
|
+
"type": "number | boolean",
|
|
6022
6271
|
"doc": "행 수가 임계값을 넘으면 가상화한다. true는 항상 켬, false는 끔. 기본 100."
|
|
6023
6272
|
},
|
|
6024
6273
|
{
|
|
6025
6274
|
"name": "hasMore",
|
|
6026
|
-
"type": "boolean
|
|
6027
|
-
"required": false,
|
|
6275
|
+
"type": "boolean",
|
|
6028
6276
|
"doc": "더 불러올 데이터가 남았는지 명시한다."
|
|
6029
6277
|
},
|
|
6030
6278
|
{
|
|
6031
6279
|
"name": "onLoadMore",
|
|
6032
|
-
"type": "(() => void)
|
|
6033
|
-
"required": false,
|
|
6280
|
+
"type": "(() => void)",
|
|
6034
6281
|
"doc": "같은 로드 길이에서는 한 번만 호출한다."
|
|
6035
6282
|
},
|
|
6036
6283
|
{
|
|
6037
6284
|
"name": "loadingMore",
|
|
6038
|
-
"type": "boolean
|
|
6039
|
-
"required": false,
|
|
6285
|
+
"type": "boolean",
|
|
6040
6286
|
"doc": "전체 로딩과 달리 기존 행 아래에 로딩 표시를 덧붙인다."
|
|
6041
6287
|
}
|
|
6042
6288
|
],
|
|
@@ -6044,6 +6290,7 @@
|
|
|
6044
6290
|
"UseDataTableOptions<T>"
|
|
6045
6291
|
],
|
|
6046
6292
|
"slots": [
|
|
6293
|
+
"button",
|
|
6047
6294
|
"data-table",
|
|
6048
6295
|
"data-table-body",
|
|
6049
6296
|
"data-table-cell",
|
|
@@ -6057,9 +6304,14 @@
|
|
|
6057
6304
|
"data-table-sort",
|
|
6058
6305
|
"data-table-spacer",
|
|
6059
6306
|
"data-table-table",
|
|
6060
|
-
"data-table-toolbar"
|
|
6061
|
-
|
|
6062
|
-
|
|
6307
|
+
"data-table-toolbar",
|
|
6308
|
+
"empty-state",
|
|
6309
|
+
"error-state",
|
|
6310
|
+
"skeleton",
|
|
6311
|
+
"state-description",
|
|
6312
|
+
"state-graphic",
|
|
6313
|
+
"state-title"
|
|
6314
|
+
]
|
|
6063
6315
|
},
|
|
6064
6316
|
{
|
|
6065
6317
|
"name": "SELECTION_COLUMN_ID",
|
|
@@ -6084,11 +6336,10 @@
|
|
|
6084
6336
|
"선택 열 식별자"
|
|
6085
6337
|
],
|
|
6086
6338
|
"kind": "constant",
|
|
6087
|
-
"source": "
|
|
6339
|
+
"source": "components/data-table/selection-column.tsx",
|
|
6088
6340
|
"props": [],
|
|
6089
6341
|
"extends": [],
|
|
6090
|
-
"slots": []
|
|
6091
|
-
"import": "import { SELECTION_COLUMN_ID } from '@s2life/ui';"
|
|
6342
|
+
"slots": []
|
|
6092
6343
|
},
|
|
6093
6344
|
{
|
|
6094
6345
|
"name": "ChartFrame",
|
|
@@ -6115,13 +6366,11 @@
|
|
|
6115
6366
|
"차트 프레임",
|
|
6116
6367
|
"범례"
|
|
6117
6368
|
],
|
|
6118
|
-
"
|
|
6119
|
-
"source": "packages/ui/src/components/chart/chart-frame.tsx",
|
|
6369
|
+
"source": "components/chart/chart-frame.tsx",
|
|
6120
6370
|
"props": [
|
|
6121
6371
|
{
|
|
6122
6372
|
"name": "title",
|
|
6123
|
-
"type": "string
|
|
6124
|
-
"required": false
|
|
6373
|
+
"type": "string"
|
|
6125
6374
|
},
|
|
6126
6375
|
{
|
|
6127
6376
|
"name": "summary",
|
|
@@ -6130,63 +6379,51 @@
|
|
|
6130
6379
|
},
|
|
6131
6380
|
{
|
|
6132
6381
|
"name": "legend",
|
|
6133
|
-
"type": "ChartLegendItem[]
|
|
6134
|
-
"required": false
|
|
6382
|
+
"type": "ChartLegendItem[]"
|
|
6135
6383
|
},
|
|
6136
6384
|
{
|
|
6137
6385
|
"name": "empty",
|
|
6138
|
-
"type": "boolean
|
|
6139
|
-
"required": false
|
|
6386
|
+
"type": "boolean"
|
|
6140
6387
|
},
|
|
6141
6388
|
{
|
|
6142
6389
|
"name": "state",
|
|
6143
|
-
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\"
|
|
6144
|
-
"required": false
|
|
6390
|
+
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\""
|
|
6145
6391
|
},
|
|
6146
6392
|
{
|
|
6147
6393
|
"name": "emptyMessage",
|
|
6148
|
-
"type": "string
|
|
6149
|
-
"required": false
|
|
6394
|
+
"type": "string"
|
|
6150
6395
|
},
|
|
6151
6396
|
{
|
|
6152
6397
|
"name": "errorMessage",
|
|
6153
|
-
"type": "string
|
|
6154
|
-
"required": false
|
|
6398
|
+
"type": "string"
|
|
6155
6399
|
},
|
|
6156
6400
|
{
|
|
6157
6401
|
"name": "onRetry",
|
|
6158
|
-
"type": "(() => void)
|
|
6159
|
-
"required": false
|
|
6402
|
+
"type": "(() => void)"
|
|
6160
6403
|
},
|
|
6161
6404
|
{
|
|
6162
6405
|
"name": "height",
|
|
6163
|
-
"type": "number
|
|
6164
|
-
"required": false
|
|
6406
|
+
"type": "number"
|
|
6165
6407
|
},
|
|
6166
6408
|
{
|
|
6167
6409
|
"name": "skeletonVariant",
|
|
6168
|
-
"type": "\"bullet\" | \"plot\"
|
|
6169
|
-
"required": false
|
|
6410
|
+
"type": "\"bullet\" | \"plot\""
|
|
6170
6411
|
},
|
|
6171
6412
|
{
|
|
6172
6413
|
"name": "skeletonRows",
|
|
6173
|
-
"type": "number
|
|
6174
|
-
"required": false
|
|
6414
|
+
"type": "number"
|
|
6175
6415
|
},
|
|
6176
6416
|
{
|
|
6177
6417
|
"name": "loadingLabel",
|
|
6178
|
-
"type": "string
|
|
6179
|
-
"required": false
|
|
6418
|
+
"type": "string"
|
|
6180
6419
|
},
|
|
6181
6420
|
{
|
|
6182
6421
|
"name": "skeleton",
|
|
6183
|
-
"type": "ReactNode"
|
|
6184
|
-
"required": false
|
|
6422
|
+
"type": "ReactNode"
|
|
6185
6423
|
},
|
|
6186
6424
|
{
|
|
6187
6425
|
"name": "className",
|
|
6188
|
-
"type": "string
|
|
6189
|
-
"required": false
|
|
6426
|
+
"type": "string"
|
|
6190
6427
|
},
|
|
6191
6428
|
{
|
|
6192
6429
|
"name": "children",
|
|
@@ -6196,15 +6433,25 @@
|
|
|
6196
6433
|
],
|
|
6197
6434
|
"extends": [],
|
|
6198
6435
|
"slots": [
|
|
6436
|
+
"button",
|
|
6199
6437
|
"chart-empty",
|
|
6200
6438
|
"chart-error",
|
|
6201
6439
|
"chart-frame",
|
|
6202
6440
|
"chart-legend",
|
|
6203
6441
|
"chart-loading",
|
|
6204
6442
|
"chart-plot",
|
|
6205
|
-
"chart-
|
|
6206
|
-
|
|
6207
|
-
|
|
6443
|
+
"chart-skeleton",
|
|
6444
|
+
"chart-skeleton-bullet-row",
|
|
6445
|
+
"chart-skeleton-bullets",
|
|
6446
|
+
"chart-skeleton-plot",
|
|
6447
|
+
"chart-title",
|
|
6448
|
+
"empty-state",
|
|
6449
|
+
"error-state",
|
|
6450
|
+
"skeleton",
|
|
6451
|
+
"state-description",
|
|
6452
|
+
"state-graphic",
|
|
6453
|
+
"state-title"
|
|
6454
|
+
]
|
|
6208
6455
|
},
|
|
6209
6456
|
{
|
|
6210
6457
|
"name": "TrendBand",
|
|
@@ -6235,8 +6482,7 @@
|
|
|
6235
6482
|
"상하한",
|
|
6236
6483
|
"편차"
|
|
6237
6484
|
],
|
|
6238
|
-
"
|
|
6239
|
-
"source": "packages/ui/src/components/chart/trend-band.tsx",
|
|
6485
|
+
"source": "components/chart/trend-band.tsx",
|
|
6240
6486
|
"props": [
|
|
6241
6487
|
{
|
|
6242
6488
|
"name": "data",
|
|
@@ -6255,30 +6501,25 @@
|
|
|
6255
6501
|
},
|
|
6256
6502
|
{
|
|
6257
6503
|
"name": "yLow",
|
|
6258
|
-
"type": "((d: T) => number)
|
|
6259
|
-
"required": false,
|
|
6504
|
+
"type": "((d: T) => number)",
|
|
6260
6505
|
"doc": "두 경계가 모두 있을 때만 분포 밴드를 그린다."
|
|
6261
6506
|
},
|
|
6262
6507
|
{
|
|
6263
6508
|
"name": "yHigh",
|
|
6264
|
-
"type": "((d: T) => number)
|
|
6265
|
-
"required": false
|
|
6509
|
+
"type": "((d: T) => number)"
|
|
6266
6510
|
},
|
|
6267
6511
|
{
|
|
6268
6512
|
"name": "yDomain",
|
|
6269
|
-
"type": "\"auto\" | \"zero\" | [number, number]
|
|
6270
|
-
"required": false,
|
|
6513
|
+
"type": "\"auto\" | \"zero\" | [number, number]",
|
|
6271
6514
|
"doc": "y축 기준. 'auto'(기본) = 데이터 범위로 프레이밍, 'zero' = 0 포함, 또는 직접 지정"
|
|
6272
6515
|
},
|
|
6273
6516
|
{
|
|
6274
6517
|
"name": "height",
|
|
6275
|
-
"type": "number
|
|
6276
|
-
"required": false
|
|
6518
|
+
"type": "number"
|
|
6277
6519
|
},
|
|
6278
6520
|
{
|
|
6279
6521
|
"name": "valueFormat",
|
|
6280
|
-
"type": "((value: number) => string)
|
|
6281
|
-
"required": false
|
|
6522
|
+
"type": "((value: number) => string)"
|
|
6282
6523
|
},
|
|
6283
6524
|
{
|
|
6284
6525
|
"name": "summary",
|
|
@@ -6288,46 +6529,57 @@
|
|
|
6288
6529
|
},
|
|
6289
6530
|
{
|
|
6290
6531
|
"name": "title",
|
|
6291
|
-
"type": "string
|
|
6292
|
-
"required": false
|
|
6532
|
+
"type": "string"
|
|
6293
6533
|
},
|
|
6294
6534
|
{
|
|
6295
6535
|
"name": "className",
|
|
6296
|
-
"type": "string
|
|
6297
|
-
"required": false
|
|
6536
|
+
"type": "string"
|
|
6298
6537
|
},
|
|
6299
6538
|
{
|
|
6300
6539
|
"name": "state",
|
|
6301
|
-
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\"
|
|
6302
|
-
"required": false
|
|
6540
|
+
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\""
|
|
6303
6541
|
},
|
|
6304
6542
|
{
|
|
6305
6543
|
"name": "emptyMessage",
|
|
6306
|
-
"type": "string
|
|
6307
|
-
"required": false
|
|
6544
|
+
"type": "string"
|
|
6308
6545
|
},
|
|
6309
6546
|
{
|
|
6310
6547
|
"name": "errorMessage",
|
|
6311
|
-
"type": "string
|
|
6312
|
-
"required": false
|
|
6548
|
+
"type": "string"
|
|
6313
6549
|
},
|
|
6314
6550
|
{
|
|
6315
6551
|
"name": "onRetry",
|
|
6316
|
-
"type": "(() => void)
|
|
6317
|
-
"required": false
|
|
6552
|
+
"type": "(() => void)"
|
|
6318
6553
|
}
|
|
6319
6554
|
],
|
|
6320
6555
|
"extends": [
|
|
6321
6556
|
"Pick<ChartFrameProps, 'state' | 'emptyMessage' | 'errorMessage' | 'onRetry'>"
|
|
6322
6557
|
],
|
|
6323
6558
|
"slots": [
|
|
6559
|
+
"button",
|
|
6560
|
+
"chart-empty",
|
|
6561
|
+
"chart-error",
|
|
6562
|
+
"chart-frame",
|
|
6563
|
+
"chart-legend",
|
|
6564
|
+
"chart-loading",
|
|
6565
|
+
"chart-plot",
|
|
6566
|
+
"chart-skeleton",
|
|
6567
|
+
"chart-skeleton-bullet-row",
|
|
6568
|
+
"chart-skeleton-bullets",
|
|
6569
|
+
"chart-skeleton-plot",
|
|
6570
|
+
"chart-title",
|
|
6571
|
+
"empty-state",
|
|
6572
|
+
"error-state",
|
|
6573
|
+
"skeleton",
|
|
6574
|
+
"state-description",
|
|
6575
|
+
"state-graphic",
|
|
6576
|
+
"state-title",
|
|
6324
6577
|
"trend-band",
|
|
6325
6578
|
"trend-band-area",
|
|
6326
6579
|
"trend-band-line",
|
|
6327
6580
|
"trend-band-point",
|
|
6328
6581
|
"trend-band-value"
|
|
6329
|
-
]
|
|
6330
|
-
"import": "import { TrendBand } from '@s2life/ui';"
|
|
6582
|
+
]
|
|
6331
6583
|
},
|
|
6332
6584
|
{
|
|
6333
6585
|
"name": "BulletRow",
|
|
@@ -6357,8 +6609,7 @@
|
|
|
6357
6609
|
"목표 대비",
|
|
6358
6610
|
"실적 비교"
|
|
6359
6611
|
],
|
|
6360
|
-
"
|
|
6361
|
-
"source": "packages/ui/src/components/chart/bullet-row.tsx",
|
|
6612
|
+
"source": "components/chart/bullet-row.tsx",
|
|
6362
6613
|
"props": [
|
|
6363
6614
|
{
|
|
6364
6615
|
"name": "metrics",
|
|
@@ -6372,39 +6623,32 @@
|
|
|
6372
6623
|
},
|
|
6373
6624
|
{
|
|
6374
6625
|
"name": "title",
|
|
6375
|
-
"type": "string
|
|
6376
|
-
"required": false
|
|
6626
|
+
"type": "string"
|
|
6377
6627
|
},
|
|
6378
6628
|
{
|
|
6379
6629
|
"name": "className",
|
|
6380
|
-
"type": "string
|
|
6381
|
-
"required": false
|
|
6630
|
+
"type": "string"
|
|
6382
6631
|
},
|
|
6383
6632
|
{
|
|
6384
6633
|
"name": "skeletonRows",
|
|
6385
|
-
"type": "number
|
|
6386
|
-
"required": false,
|
|
6634
|
+
"type": "number",
|
|
6387
6635
|
"doc": "앱이 지표 개수를 알면 넘겨라. 실제 개수와 안 맞으면 로딩이 끝날 때 화면이 밀린다. 기본 3."
|
|
6388
6636
|
},
|
|
6389
6637
|
{
|
|
6390
6638
|
"name": "state",
|
|
6391
|
-
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\"
|
|
6392
|
-
"required": false
|
|
6639
|
+
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\""
|
|
6393
6640
|
},
|
|
6394
6641
|
{
|
|
6395
6642
|
"name": "emptyMessage",
|
|
6396
|
-
"type": "string
|
|
6397
|
-
"required": false
|
|
6643
|
+
"type": "string"
|
|
6398
6644
|
},
|
|
6399
6645
|
{
|
|
6400
6646
|
"name": "errorMessage",
|
|
6401
|
-
"type": "string
|
|
6402
|
-
"required": false
|
|
6647
|
+
"type": "string"
|
|
6403
6648
|
},
|
|
6404
6649
|
{
|
|
6405
6650
|
"name": "onRetry",
|
|
6406
|
-
"type": "(() => void)
|
|
6407
|
-
"required": false
|
|
6651
|
+
"type": "(() => void)"
|
|
6408
6652
|
}
|
|
6409
6653
|
],
|
|
6410
6654
|
"extends": [
|
|
@@ -6419,9 +6663,26 @@
|
|
|
6419
6663
|
"bullet-status",
|
|
6420
6664
|
"bullet-target",
|
|
6421
6665
|
"bullet-track",
|
|
6422
|
-
"bullet-value"
|
|
6423
|
-
|
|
6424
|
-
|
|
6666
|
+
"bullet-value",
|
|
6667
|
+
"button",
|
|
6668
|
+
"chart-empty",
|
|
6669
|
+
"chart-error",
|
|
6670
|
+
"chart-frame",
|
|
6671
|
+
"chart-legend",
|
|
6672
|
+
"chart-loading",
|
|
6673
|
+
"chart-plot",
|
|
6674
|
+
"chart-skeleton",
|
|
6675
|
+
"chart-skeleton-bullet-row",
|
|
6676
|
+
"chart-skeleton-bullets",
|
|
6677
|
+
"chart-skeleton-plot",
|
|
6678
|
+
"chart-title",
|
|
6679
|
+
"empty-state",
|
|
6680
|
+
"error-state",
|
|
6681
|
+
"skeleton",
|
|
6682
|
+
"state-description",
|
|
6683
|
+
"state-graphic",
|
|
6684
|
+
"state-title"
|
|
6685
|
+
]
|
|
6425
6686
|
},
|
|
6426
6687
|
{
|
|
6427
6688
|
"name": "CompositionArea",
|
|
@@ -6452,8 +6713,7 @@
|
|
|
6452
6713
|
"비율 변화",
|
|
6453
6714
|
"시간별 구성"
|
|
6454
6715
|
],
|
|
6455
|
-
"
|
|
6456
|
-
"source": "packages/ui/src/components/chart/composition-area.tsx",
|
|
6716
|
+
"source": "components/chart/composition-area.tsx",
|
|
6457
6717
|
"props": [
|
|
6458
6718
|
{
|
|
6459
6719
|
"name": "data",
|
|
@@ -6473,8 +6733,7 @@
|
|
|
6473
6733
|
},
|
|
6474
6734
|
{
|
|
6475
6735
|
"name": "height",
|
|
6476
|
-
"type": "number
|
|
6477
|
-
"required": false
|
|
6736
|
+
"type": "number"
|
|
6478
6737
|
},
|
|
6479
6738
|
{
|
|
6480
6739
|
"name": "summary",
|
|
@@ -6483,46 +6742,57 @@
|
|
|
6483
6742
|
},
|
|
6484
6743
|
{
|
|
6485
6744
|
"name": "title",
|
|
6486
|
-
"type": "string
|
|
6487
|
-
"required": false
|
|
6745
|
+
"type": "string"
|
|
6488
6746
|
},
|
|
6489
6747
|
{
|
|
6490
6748
|
"name": "className",
|
|
6491
|
-
"type": "string
|
|
6492
|
-
"required": false
|
|
6749
|
+
"type": "string"
|
|
6493
6750
|
},
|
|
6494
6751
|
{
|
|
6495
6752
|
"name": "state",
|
|
6496
|
-
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\"
|
|
6497
|
-
"required": false
|
|
6753
|
+
"type": "\"empty\" | \"error\" | \"idle\" | \"loading\""
|
|
6498
6754
|
},
|
|
6499
6755
|
{
|
|
6500
6756
|
"name": "emptyMessage",
|
|
6501
|
-
"type": "string
|
|
6502
|
-
"required": false
|
|
6757
|
+
"type": "string"
|
|
6503
6758
|
},
|
|
6504
6759
|
{
|
|
6505
6760
|
"name": "errorMessage",
|
|
6506
|
-
"type": "string
|
|
6507
|
-
"required": false
|
|
6761
|
+
"type": "string"
|
|
6508
6762
|
},
|
|
6509
6763
|
{
|
|
6510
6764
|
"name": "onRetry",
|
|
6511
|
-
"type": "(() => void)
|
|
6512
|
-
"required": false
|
|
6765
|
+
"type": "(() => void)"
|
|
6513
6766
|
}
|
|
6514
6767
|
],
|
|
6515
6768
|
"extends": [
|
|
6516
6769
|
"Pick<ChartFrameProps, 'state' | 'emptyMessage' | 'errorMessage' | 'onRetry'>"
|
|
6517
6770
|
],
|
|
6518
6771
|
"slots": [
|
|
6772
|
+
"button",
|
|
6773
|
+
"chart-empty",
|
|
6774
|
+
"chart-error",
|
|
6775
|
+
"chart-frame",
|
|
6776
|
+
"chart-legend",
|
|
6777
|
+
"chart-loading",
|
|
6778
|
+
"chart-plot",
|
|
6779
|
+
"chart-skeleton",
|
|
6780
|
+
"chart-skeleton-bullet-row",
|
|
6781
|
+
"chart-skeleton-bullets",
|
|
6782
|
+
"chart-skeleton-plot",
|
|
6783
|
+
"chart-title",
|
|
6519
6784
|
"composition-area",
|
|
6520
6785
|
"composition-label",
|
|
6521
6786
|
"composition-series",
|
|
6522
6787
|
"composition-single",
|
|
6523
|
-
"composition-value"
|
|
6524
|
-
|
|
6525
|
-
|
|
6788
|
+
"composition-value",
|
|
6789
|
+
"empty-state",
|
|
6790
|
+
"error-state",
|
|
6791
|
+
"skeleton",
|
|
6792
|
+
"state-description",
|
|
6793
|
+
"state-graphic",
|
|
6794
|
+
"state-title"
|
|
6795
|
+
]
|
|
6526
6796
|
},
|
|
6527
6797
|
{
|
|
6528
6798
|
"name": "EmptyState",
|
|
@@ -6549,8 +6819,7 @@
|
|
|
6549
6819
|
"데이터 없음",
|
|
6550
6820
|
"필터 초기화"
|
|
6551
6821
|
],
|
|
6552
|
-
"
|
|
6553
|
-
"source": "packages/ui/src/components/state/empty-state.tsx",
|
|
6822
|
+
"source": "components/state/empty-state.tsx",
|
|
6554
6823
|
"props": [
|
|
6555
6824
|
{
|
|
6556
6825
|
"name": "title",
|
|
@@ -6559,33 +6828,29 @@
|
|
|
6559
6828
|
},
|
|
6560
6829
|
{
|
|
6561
6830
|
"name": "description",
|
|
6562
|
-
"type": "string
|
|
6563
|
-
"required": false
|
|
6831
|
+
"type": "string"
|
|
6564
6832
|
},
|
|
6565
6833
|
{
|
|
6566
6834
|
"name": "graphic",
|
|
6567
|
-
"type": "ReactNode"
|
|
6568
|
-
"required": false
|
|
6835
|
+
"type": "ReactNode"
|
|
6569
6836
|
},
|
|
6570
6837
|
{
|
|
6571
6838
|
"name": "action",
|
|
6572
|
-
"type": "{ label: string; onClick: () => void; }
|
|
6573
|
-
"required": false
|
|
6839
|
+
"type": "{ label: string; onClick: () => void; }"
|
|
6574
6840
|
},
|
|
6575
6841
|
{
|
|
6576
6842
|
"name": "className",
|
|
6577
|
-
"type": "string
|
|
6578
|
-
"required": false
|
|
6843
|
+
"type": "string"
|
|
6579
6844
|
}
|
|
6580
6845
|
],
|
|
6581
6846
|
"extends": [],
|
|
6582
6847
|
"slots": [
|
|
6848
|
+
"button",
|
|
6583
6849
|
"empty-state",
|
|
6584
6850
|
"state-description",
|
|
6585
6851
|
"state-graphic",
|
|
6586
6852
|
"state-title"
|
|
6587
|
-
]
|
|
6588
|
-
"import": "import { EmptyState } from '@s2life/ui';"
|
|
6853
|
+
]
|
|
6589
6854
|
},
|
|
6590
6855
|
{
|
|
6591
6856
|
"name": "ErrorState",
|
|
@@ -6611,8 +6876,7 @@
|
|
|
6611
6876
|
"재시도",
|
|
6612
6877
|
"데이터 오류"
|
|
6613
6878
|
],
|
|
6614
|
-
"
|
|
6615
|
-
"source": "packages/ui/src/components/state/empty-state.tsx",
|
|
6879
|
+
"source": "components/state/empty-state.tsx",
|
|
6616
6880
|
"props": [
|
|
6617
6881
|
{
|
|
6618
6882
|
"name": "title",
|
|
@@ -6621,33 +6885,29 @@
|
|
|
6621
6885
|
},
|
|
6622
6886
|
{
|
|
6623
6887
|
"name": "description",
|
|
6624
|
-
"type": "string
|
|
6625
|
-
"required": false
|
|
6888
|
+
"type": "string"
|
|
6626
6889
|
},
|
|
6627
6890
|
{
|
|
6628
6891
|
"name": "graphic",
|
|
6629
|
-
"type": "ReactNode"
|
|
6630
|
-
"required": false
|
|
6892
|
+
"type": "ReactNode"
|
|
6631
6893
|
},
|
|
6632
6894
|
{
|
|
6633
6895
|
"name": "onRetry",
|
|
6634
|
-
"type": "(() => void)
|
|
6635
|
-
"required": false
|
|
6896
|
+
"type": "(() => void)"
|
|
6636
6897
|
},
|
|
6637
6898
|
{
|
|
6638
6899
|
"name": "className",
|
|
6639
|
-
"type": "string
|
|
6640
|
-
"required": false
|
|
6900
|
+
"type": "string"
|
|
6641
6901
|
}
|
|
6642
6902
|
],
|
|
6643
6903
|
"extends": [],
|
|
6644
6904
|
"slots": [
|
|
6905
|
+
"button",
|
|
6645
6906
|
"error-state",
|
|
6646
6907
|
"state-description",
|
|
6647
6908
|
"state-graphic",
|
|
6648
6909
|
"state-title"
|
|
6649
|
-
]
|
|
6650
|
-
"import": "import { ErrorState } from '@s2life/ui';"
|
|
6910
|
+
]
|
|
6651
6911
|
},
|
|
6652
6912
|
{
|
|
6653
6913
|
"name": "Avatar",
|
|
@@ -6673,8 +6933,7 @@
|
|
|
6673
6933
|
"이니셜",
|
|
6674
6934
|
"사용자 사진"
|
|
6675
6935
|
],
|
|
6676
|
-
"
|
|
6677
|
-
"source": "packages/ui/src/components/avatar/avatar.tsx",
|
|
6936
|
+
"source": "components/avatar/avatar.tsx",
|
|
6678
6937
|
"props": [
|
|
6679
6938
|
{
|
|
6680
6939
|
"name": "name",
|
|
@@ -6683,23 +6942,19 @@
|
|
|
6683
6942
|
},
|
|
6684
6943
|
{
|
|
6685
6944
|
"name": "src",
|
|
6686
|
-
"type": "string
|
|
6687
|
-
"required": false
|
|
6945
|
+
"type": "string"
|
|
6688
6946
|
},
|
|
6689
6947
|
{
|
|
6690
6948
|
"name": "size",
|
|
6691
|
-
"type": "\"lg\" | \"md\" | \"sm\"
|
|
6692
|
-
"required": false
|
|
6949
|
+
"type": "\"lg\" | \"md\" | \"sm\""
|
|
6693
6950
|
},
|
|
6694
6951
|
{
|
|
6695
6952
|
"name": "decorative",
|
|
6696
|
-
"type": "boolean
|
|
6697
|
-
"required": false
|
|
6953
|
+
"type": "boolean"
|
|
6698
6954
|
},
|
|
6699
6955
|
{
|
|
6700
6956
|
"name": "className",
|
|
6701
|
-
"type": "string
|
|
6702
|
-
"required": false
|
|
6957
|
+
"type": "string"
|
|
6703
6958
|
}
|
|
6704
6959
|
],
|
|
6705
6960
|
"extends": [],
|
|
@@ -6707,8 +6962,7 @@
|
|
|
6707
6962
|
"avatar",
|
|
6708
6963
|
"avatar-fallback",
|
|
6709
6964
|
"avatar-image"
|
|
6710
|
-
]
|
|
6711
|
-
"import": "import { Avatar } from '@s2life/ui';"
|
|
6965
|
+
]
|
|
6712
6966
|
},
|
|
6713
6967
|
{
|
|
6714
6968
|
"name": "Thumbnail",
|
|
@@ -6735,13 +6989,11 @@
|
|
|
6735
6989
|
"상품 사진",
|
|
6736
6990
|
"이미지 실패"
|
|
6737
6991
|
],
|
|
6738
|
-
"
|
|
6739
|
-
"source": "packages/ui/src/components/thumbnail/thumbnail.tsx",
|
|
6992
|
+
"source": "components/thumbnail/thumbnail.tsx",
|
|
6740
6993
|
"props": [
|
|
6741
6994
|
{
|
|
6742
6995
|
"name": "src",
|
|
6743
|
-
"type": "string
|
|
6744
|
-
"required": false
|
|
6996
|
+
"type": "string"
|
|
6745
6997
|
},
|
|
6746
6998
|
{
|
|
6747
6999
|
"name": "alt",
|
|
@@ -6750,22 +7002,20 @@
|
|
|
6750
7002
|
},
|
|
6751
7003
|
{
|
|
6752
7004
|
"name": "ratio",
|
|
6753
|
-
"type": "AspectRatio
|
|
6754
|
-
"required": false
|
|
7005
|
+
"type": "AspectRatio"
|
|
6755
7006
|
},
|
|
6756
7007
|
{
|
|
6757
7008
|
"name": "className",
|
|
6758
|
-
"type": "string
|
|
6759
|
-
"required": false
|
|
7009
|
+
"type": "string"
|
|
6760
7010
|
}
|
|
6761
7011
|
],
|
|
6762
7012
|
"extends": [],
|
|
6763
7013
|
"slots": [
|
|
7014
|
+
"skeleton",
|
|
6764
7015
|
"thumbnail",
|
|
6765
7016
|
"thumbnail-fallback",
|
|
6766
7017
|
"thumbnail-image"
|
|
6767
|
-
]
|
|
6768
|
-
"import": "import { Thumbnail } from '@s2life/ui';"
|
|
7018
|
+
]
|
|
6769
7019
|
},
|
|
6770
7020
|
{
|
|
6771
7021
|
"name": "Skeleton",
|
|
@@ -6797,46 +7047,38 @@
|
|
|
6797
7047
|
"콘텐츠 대기",
|
|
6798
7048
|
"로딩 중"
|
|
6799
7049
|
],
|
|
6800
|
-
"
|
|
6801
|
-
"source": "packages/ui/src/components/loading/skeleton.tsx",
|
|
7050
|
+
"source": "components/loading/skeleton.tsx",
|
|
6802
7051
|
"props": [
|
|
6803
7052
|
{
|
|
6804
7053
|
"name": "variant",
|
|
6805
|
-
"type": "\"block\" | \"circle\" | \"text\"
|
|
6806
|
-
"required": false,
|
|
7054
|
+
"type": "\"block\" | \"circle\" | \"text\"",
|
|
6807
7055
|
"doc": "text는 행간 대신 글자 높이(0.65em)를 칠한다."
|
|
6808
7056
|
},
|
|
6809
7057
|
{
|
|
6810
7058
|
"name": "width",
|
|
6811
|
-
"type": "string | number
|
|
6812
|
-
"required": false
|
|
7059
|
+
"type": "string | number"
|
|
6813
7060
|
},
|
|
6814
7061
|
{
|
|
6815
7062
|
"name": "height",
|
|
6816
|
-
"type": "string | number
|
|
6817
|
-
"required": false
|
|
7063
|
+
"type": "string | number"
|
|
6818
7064
|
},
|
|
6819
7065
|
{
|
|
6820
7066
|
"name": "textStyle",
|
|
6821
|
-
"type": "SkeletonTextStyle
|
|
6822
|
-
"required": false
|
|
7067
|
+
"type": "SkeletonTextStyle"
|
|
6823
7068
|
},
|
|
6824
7069
|
{
|
|
6825
7070
|
"name": "animation",
|
|
6826
|
-
"type": "\"none\" | \"pulse\" | \"shimmer\"
|
|
6827
|
-
"required": false
|
|
7071
|
+
"type": "\"none\" | \"pulse\" | \"shimmer\""
|
|
6828
7072
|
},
|
|
6829
7073
|
{
|
|
6830
7074
|
"name": "className",
|
|
6831
|
-
"type": "string
|
|
6832
|
-
"required": false
|
|
7075
|
+
"type": "string"
|
|
6833
7076
|
}
|
|
6834
7077
|
],
|
|
6835
7078
|
"extends": [],
|
|
6836
7079
|
"slots": [
|
|
6837
7080
|
"skeleton"
|
|
6838
|
-
]
|
|
6839
|
-
"import": "import { Skeleton } from '@s2life/ui';"
|
|
7081
|
+
]
|
|
6840
7082
|
},
|
|
6841
7083
|
{
|
|
6842
7084
|
"name": "SkeletonText",
|
|
@@ -6861,36 +7103,31 @@
|
|
|
6861
7103
|
"문단 로딩",
|
|
6862
7104
|
"텍스트 스켈레톤"
|
|
6863
7105
|
],
|
|
6864
|
-
"
|
|
6865
|
-
"source": "packages/ui/src/components/loading/skeleton.tsx",
|
|
7106
|
+
"source": "components/loading/skeleton.tsx",
|
|
6866
7107
|
"props": [
|
|
6867
7108
|
{
|
|
6868
7109
|
"name": "lines",
|
|
6869
|
-
"type": "number
|
|
6870
|
-
"required": false
|
|
7110
|
+
"type": "number"
|
|
6871
7111
|
},
|
|
6872
7112
|
{
|
|
6873
7113
|
"name": "textStyle",
|
|
6874
|
-
"type": "SkeletonTextStyle
|
|
6875
|
-
"required": false
|
|
7114
|
+
"type": "SkeletonTextStyle"
|
|
6876
7115
|
},
|
|
6877
7116
|
{
|
|
6878
7117
|
"name": "lastLineWidth",
|
|
6879
|
-
"type": "string
|
|
6880
|
-
"required": false
|
|
7118
|
+
"type": "string"
|
|
6881
7119
|
},
|
|
6882
7120
|
{
|
|
6883
7121
|
"name": "className",
|
|
6884
|
-
"type": "string
|
|
6885
|
-
"required": false
|
|
7122
|
+
"type": "string"
|
|
6886
7123
|
}
|
|
6887
7124
|
],
|
|
6888
7125
|
"extends": [],
|
|
6889
7126
|
"slots": [
|
|
7127
|
+
"skeleton",
|
|
6890
7128
|
"skeleton-text",
|
|
6891
7129
|
"skeleton-text-line"
|
|
6892
|
-
]
|
|
6893
|
-
"import": "import { SkeletonText } from '@s2life/ui';"
|
|
7130
|
+
]
|
|
6894
7131
|
},
|
|
6895
7132
|
{
|
|
6896
7133
|
"name": "CardSkeleton",
|
|
@@ -6918,25 +7155,28 @@
|
|
|
6918
7155
|
"카드 불러오는 중",
|
|
6919
7156
|
"카드 불러오기"
|
|
6920
7157
|
],
|
|
6921
|
-
"
|
|
6922
|
-
"source": "packages/ui/src/components/loading/skeleton-patterns.tsx",
|
|
7158
|
+
"source": "components/loading/skeleton-patterns.tsx",
|
|
6923
7159
|
"props": [
|
|
6924
7160
|
{
|
|
6925
7161
|
"name": "label",
|
|
6926
|
-
"type": "string
|
|
6927
|
-
"required": false
|
|
7162
|
+
"type": "string"
|
|
6928
7163
|
},
|
|
6929
7164
|
{
|
|
6930
7165
|
"name": "className",
|
|
6931
|
-
"type": "string
|
|
6932
|
-
"required": false
|
|
7166
|
+
"type": "string"
|
|
6933
7167
|
}
|
|
6934
7168
|
],
|
|
6935
7169
|
"extends": [],
|
|
6936
7170
|
"slots": [
|
|
6937
|
-
"card
|
|
6938
|
-
|
|
6939
|
-
|
|
7171
|
+
"card",
|
|
7172
|
+
"card-body",
|
|
7173
|
+
"card-footer",
|
|
7174
|
+
"card-header",
|
|
7175
|
+
"card-skeleton",
|
|
7176
|
+
"skeleton",
|
|
7177
|
+
"skeleton-text",
|
|
7178
|
+
"skeleton-text-line"
|
|
7179
|
+
]
|
|
6940
7180
|
},
|
|
6941
7181
|
{
|
|
6942
7182
|
"name": "ListSkeleton",
|
|
@@ -6964,23 +7204,19 @@
|
|
|
6964
7204
|
"목록 불러오는 중",
|
|
6965
7205
|
"목록 불러오기"
|
|
6966
7206
|
],
|
|
6967
|
-
"
|
|
6968
|
-
"source": "packages/ui/src/components/loading/skeleton-patterns.tsx",
|
|
7207
|
+
"source": "components/loading/skeleton-patterns.tsx",
|
|
6969
7208
|
"props": [
|
|
6970
7209
|
{
|
|
6971
7210
|
"name": "rows",
|
|
6972
|
-
"type": "number
|
|
6973
|
-
"required": false
|
|
7211
|
+
"type": "number"
|
|
6974
7212
|
},
|
|
6975
7213
|
{
|
|
6976
7214
|
"name": "label",
|
|
6977
|
-
"type": "string
|
|
6978
|
-
"required": false
|
|
7215
|
+
"type": "string"
|
|
6979
7216
|
},
|
|
6980
7217
|
{
|
|
6981
7218
|
"name": "className",
|
|
6982
|
-
"type": "string
|
|
6983
|
-
"required": false
|
|
7219
|
+
"type": "string"
|
|
6984
7220
|
}
|
|
6985
7221
|
],
|
|
6986
7222
|
"extends": [
|
|
@@ -6988,9 +7224,9 @@
|
|
|
6988
7224
|
],
|
|
6989
7225
|
"slots": [
|
|
6990
7226
|
"list-skeleton",
|
|
6991
|
-
"list-skeleton-row"
|
|
6992
|
-
|
|
6993
|
-
|
|
7227
|
+
"list-skeleton-row",
|
|
7228
|
+
"skeleton"
|
|
7229
|
+
]
|
|
6994
7230
|
},
|
|
6995
7231
|
{
|
|
6996
7232
|
"name": "FormSkeleton",
|
|
@@ -7018,23 +7254,19 @@
|
|
|
7018
7254
|
"폼 불러오는 중",
|
|
7019
7255
|
"폼 불러오기"
|
|
7020
7256
|
],
|
|
7021
|
-
"
|
|
7022
|
-
"source": "packages/ui/src/components/loading/skeleton-patterns.tsx",
|
|
7257
|
+
"source": "components/loading/skeleton-patterns.tsx",
|
|
7023
7258
|
"props": [
|
|
7024
7259
|
{
|
|
7025
7260
|
"name": "fields",
|
|
7026
|
-
"type": "number
|
|
7027
|
-
"required": false
|
|
7261
|
+
"type": "number"
|
|
7028
7262
|
},
|
|
7029
7263
|
{
|
|
7030
7264
|
"name": "label",
|
|
7031
|
-
"type": "string
|
|
7032
|
-
"required": false
|
|
7265
|
+
"type": "string"
|
|
7033
7266
|
},
|
|
7034
7267
|
{
|
|
7035
7268
|
"name": "className",
|
|
7036
|
-
"type": "string
|
|
7037
|
-
"required": false
|
|
7269
|
+
"type": "string"
|
|
7038
7270
|
}
|
|
7039
7271
|
],
|
|
7040
7272
|
"extends": [
|
|
@@ -7042,9 +7274,11 @@
|
|
|
7042
7274
|
],
|
|
7043
7275
|
"slots": [
|
|
7044
7276
|
"form-skeleton",
|
|
7045
|
-
"form-skeleton-field"
|
|
7046
|
-
|
|
7047
|
-
|
|
7277
|
+
"form-skeleton-field",
|
|
7278
|
+
"skeleton",
|
|
7279
|
+
"skeleton-text",
|
|
7280
|
+
"skeleton-text-line"
|
|
7281
|
+
]
|
|
7048
7282
|
},
|
|
7049
7283
|
{
|
|
7050
7284
|
"name": "ChartSkeleton",
|
|
@@ -7072,38 +7306,31 @@
|
|
|
7072
7306
|
"차트 불러오는 중",
|
|
7073
7307
|
"차트 불러오기"
|
|
7074
7308
|
],
|
|
7075
|
-
"
|
|
7076
|
-
"source": "packages/ui/src/components/loading/skeleton-patterns.tsx",
|
|
7309
|
+
"source": "components/loading/skeleton-patterns.tsx",
|
|
7077
7310
|
"props": [
|
|
7078
7311
|
{
|
|
7079
7312
|
"name": "height",
|
|
7080
|
-
"type": "number
|
|
7081
|
-
"required": false
|
|
7313
|
+
"type": "number"
|
|
7082
7314
|
},
|
|
7083
7315
|
{
|
|
7084
7316
|
"name": "legend",
|
|
7085
|
-
"type": "boolean
|
|
7086
|
-
"required": false
|
|
7317
|
+
"type": "boolean"
|
|
7087
7318
|
},
|
|
7088
7319
|
{
|
|
7089
7320
|
"name": "variant",
|
|
7090
|
-
"type": "\"bullet\" | \"plot\"
|
|
7091
|
-
"required": false
|
|
7321
|
+
"type": "\"bullet\" | \"plot\""
|
|
7092
7322
|
},
|
|
7093
7323
|
{
|
|
7094
7324
|
"name": "rows",
|
|
7095
|
-
"type": "number
|
|
7096
|
-
"required": false
|
|
7325
|
+
"type": "number"
|
|
7097
7326
|
},
|
|
7098
7327
|
{
|
|
7099
7328
|
"name": "label",
|
|
7100
|
-
"type": "string
|
|
7101
|
-
"required": false
|
|
7329
|
+
"type": "string"
|
|
7102
7330
|
},
|
|
7103
7331
|
{
|
|
7104
7332
|
"name": "className",
|
|
7105
|
-
"type": "string
|
|
7106
|
-
"required": false
|
|
7333
|
+
"type": "string"
|
|
7107
7334
|
}
|
|
7108
7335
|
],
|
|
7109
7336
|
"extends": [
|
|
@@ -7113,9 +7340,9 @@
|
|
|
7113
7340
|
"chart-skeleton",
|
|
7114
7341
|
"chart-skeleton-bullet-row",
|
|
7115
7342
|
"chart-skeleton-bullets",
|
|
7116
|
-
"chart-skeleton-plot"
|
|
7117
|
-
|
|
7118
|
-
|
|
7343
|
+
"chart-skeleton-plot",
|
|
7344
|
+
"skeleton"
|
|
7345
|
+
]
|
|
7119
7346
|
},
|
|
7120
7347
|
{
|
|
7121
7348
|
"name": "ProgressTrack",
|
|
@@ -7144,13 +7371,11 @@
|
|
|
7144
7371
|
"예상 시간",
|
|
7145
7372
|
"진행 바"
|
|
7146
7373
|
],
|
|
7147
|
-
"
|
|
7148
|
-
"source": "packages/ui/src/components/loading/progress-track.tsx",
|
|
7374
|
+
"source": "components/loading/progress-track.tsx",
|
|
7149
7375
|
"props": [
|
|
7150
7376
|
{
|
|
7151
7377
|
"name": "value",
|
|
7152
|
-
"type": "number
|
|
7153
|
-
"required": false,
|
|
7378
|
+
"type": "number",
|
|
7154
7379
|
"doc": "0~1. 생략하면 불확정 진행률."
|
|
7155
7380
|
},
|
|
7156
7381
|
{
|
|
@@ -7160,13 +7385,11 @@
|
|
|
7160
7385
|
},
|
|
7161
7386
|
{
|
|
7162
7387
|
"name": "etaSeconds",
|
|
7163
|
-
"type": "number
|
|
7164
|
-
"required": false
|
|
7388
|
+
"type": "number"
|
|
7165
7389
|
},
|
|
7166
7390
|
{
|
|
7167
7391
|
"name": "className",
|
|
7168
|
-
"type": "string
|
|
7169
|
-
"required": false
|
|
7392
|
+
"type": "string"
|
|
7170
7393
|
}
|
|
7171
7394
|
],
|
|
7172
7395
|
"extends": [],
|
|
@@ -7176,8 +7399,7 @@
|
|
|
7176
7399
|
"progress-fill",
|
|
7177
7400
|
"progress-percent",
|
|
7178
7401
|
"progress-track"
|
|
7179
|
-
]
|
|
7180
|
-
"import": "import { ProgressTrack } from '@s2life/ui';"
|
|
7402
|
+
]
|
|
7181
7403
|
},
|
|
7182
7404
|
{
|
|
7183
7405
|
"name": "TaskProgress",
|
|
@@ -7209,8 +7431,7 @@
|
|
|
7209
7431
|
"작업 단계",
|
|
7210
7432
|
"백그라운드 작업"
|
|
7211
7433
|
],
|
|
7212
|
-
"
|
|
7213
|
-
"source": "packages/ui/src/components/loading/task-progress.tsx",
|
|
7434
|
+
"source": "components/loading/task-progress.tsx",
|
|
7214
7435
|
"props": [
|
|
7215
7436
|
{
|
|
7216
7437
|
"name": "title",
|
|
@@ -7219,39 +7440,39 @@
|
|
|
7219
7440
|
},
|
|
7220
7441
|
{
|
|
7221
7442
|
"name": "value",
|
|
7222
|
-
"type": "number
|
|
7223
|
-
"required": false
|
|
7443
|
+
"type": "number"
|
|
7224
7444
|
},
|
|
7225
7445
|
{
|
|
7226
7446
|
"name": "steps",
|
|
7227
|
-
"type": "{ label: string; done: boolean; }[]
|
|
7228
|
-
"required": false
|
|
7447
|
+
"type": "{ label: string; done: boolean; }[]"
|
|
7229
7448
|
},
|
|
7230
7449
|
{
|
|
7231
7450
|
"name": "etaSeconds",
|
|
7232
|
-
"type": "number
|
|
7233
|
-
"required": false
|
|
7451
|
+
"type": "number"
|
|
7234
7452
|
},
|
|
7235
7453
|
{
|
|
7236
7454
|
"name": "onDismiss",
|
|
7237
|
-
"type": "(() => void)
|
|
7238
|
-
"required": false
|
|
7455
|
+
"type": "(() => void)"
|
|
7239
7456
|
},
|
|
7240
7457
|
{
|
|
7241
7458
|
"name": "className",
|
|
7242
|
-
"type": "string
|
|
7243
|
-
"required": false
|
|
7459
|
+
"type": "string"
|
|
7244
7460
|
}
|
|
7245
7461
|
],
|
|
7246
7462
|
"extends": [],
|
|
7247
7463
|
"slots": [
|
|
7464
|
+
"button",
|
|
7465
|
+
"progress-bar",
|
|
7466
|
+
"progress-eta",
|
|
7467
|
+
"progress-fill",
|
|
7468
|
+
"progress-percent",
|
|
7469
|
+
"progress-track",
|
|
7248
7470
|
"task-document",
|
|
7249
7471
|
"task-motion",
|
|
7250
7472
|
"task-progress",
|
|
7251
7473
|
"task-step",
|
|
7252
7474
|
"task-steps"
|
|
7253
|
-
]
|
|
7254
|
-
"import": "import { TaskProgress } from '@s2life/ui';"
|
|
7475
|
+
]
|
|
7255
7476
|
},
|
|
7256
7477
|
{
|
|
7257
7478
|
"name": "Tooltip",
|
|
@@ -7282,8 +7503,7 @@
|
|
|
7282
7503
|
"컨트롤 설명",
|
|
7283
7504
|
"UI 설명"
|
|
7284
7505
|
],
|
|
7285
|
-
"
|
|
7286
|
-
"source": "packages/ui/src/components/guide/tooltip.tsx",
|
|
7506
|
+
"source": "components/guide/tooltip.tsx",
|
|
7287
7507
|
"props": [
|
|
7288
7508
|
{
|
|
7289
7509
|
"name": "children",
|
|
@@ -7298,16 +7518,14 @@
|
|
|
7298
7518
|
},
|
|
7299
7519
|
{
|
|
7300
7520
|
"name": "disabled",
|
|
7301
|
-
"type": "boolean
|
|
7302
|
-
"required": false
|
|
7521
|
+
"type": "boolean"
|
|
7303
7522
|
}
|
|
7304
7523
|
],
|
|
7305
7524
|
"extends": [],
|
|
7306
7525
|
"slots": [
|
|
7307
7526
|
"guide-bubble",
|
|
7308
7527
|
"guide-tooltip"
|
|
7309
|
-
]
|
|
7310
|
-
"import": "import { Tooltip } from '@s2life/ui';"
|
|
7528
|
+
]
|
|
7311
7529
|
},
|
|
7312
7530
|
{
|
|
7313
7531
|
"name": "Hint",
|
|
@@ -7336,8 +7554,7 @@
|
|
|
7336
7554
|
"한 번",
|
|
7337
7555
|
"맥락형 안내"
|
|
7338
7556
|
],
|
|
7339
|
-
"
|
|
7340
|
-
"source": "packages/ui/src/components/guide/hint.tsx",
|
|
7557
|
+
"source": "components/guide/hint.tsx",
|
|
7341
7558
|
"props": [
|
|
7342
7559
|
{
|
|
7343
7560
|
"name": "children",
|
|
@@ -7356,8 +7573,7 @@
|
|
|
7356
7573
|
},
|
|
7357
7574
|
{
|
|
7358
7575
|
"name": "body",
|
|
7359
|
-
"type": "string
|
|
7360
|
-
"required": false
|
|
7576
|
+
"type": "string"
|
|
7361
7577
|
},
|
|
7362
7578
|
{
|
|
7363
7579
|
"name": "onDismiss",
|
|
@@ -7366,16 +7582,15 @@
|
|
|
7366
7582
|
},
|
|
7367
7583
|
{
|
|
7368
7584
|
"name": "action",
|
|
7369
|
-
"type": "{ label: string; onClick: () => void; }
|
|
7370
|
-
"required": false
|
|
7585
|
+
"type": "{ label: string; onClick: () => void; }"
|
|
7371
7586
|
}
|
|
7372
7587
|
],
|
|
7373
7588
|
"extends": [],
|
|
7374
7589
|
"slots": [
|
|
7590
|
+
"button",
|
|
7375
7591
|
"guide-bubble",
|
|
7376
7592
|
"guide-hint"
|
|
7377
|
-
]
|
|
7378
|
-
"import": "import { Hint } from '@s2life/ui';"
|
|
7593
|
+
]
|
|
7379
7594
|
},
|
|
7380
7595
|
{
|
|
7381
7596
|
"name": "Tour",
|
|
@@ -7412,8 +7627,7 @@
|
|
|
7412
7627
|
"둘러보기",
|
|
7413
7628
|
"시작 안내"
|
|
7414
7629
|
],
|
|
7415
|
-
"
|
|
7416
|
-
"source": "packages/ui/src/components/guide/tour.tsx",
|
|
7630
|
+
"source": "components/guide/tour.tsx",
|
|
7417
7631
|
"props": [
|
|
7418
7632
|
{
|
|
7419
7633
|
"name": "steps",
|
|
@@ -7446,12 +7660,14 @@
|
|
|
7446
7660
|
"required": true
|
|
7447
7661
|
}
|
|
7448
7662
|
],
|
|
7449
|
-
"extends": [
|
|
7663
|
+
"extends": [
|
|
7664
|
+
"ReturnType<typeof useTour>"
|
|
7665
|
+
],
|
|
7450
7666
|
"slots": [
|
|
7667
|
+
"button",
|
|
7451
7668
|
"guide-bubble",
|
|
7452
7669
|
"guide-hint"
|
|
7453
|
-
]
|
|
7454
|
-
"import": "import { Tour } from '@s2life/ui';"
|
|
7670
|
+
]
|
|
7455
7671
|
},
|
|
7456
7672
|
{
|
|
7457
7673
|
"name": "Field",
|
|
@@ -7483,8 +7699,7 @@
|
|
|
7483
7699
|
"오류 문구",
|
|
7484
7700
|
"유효성 검사"
|
|
7485
7701
|
],
|
|
7486
|
-
"
|
|
7487
|
-
"source": "packages/ui/src/components/form/field.tsx",
|
|
7702
|
+
"source": "components/form/field.tsx",
|
|
7488
7703
|
"props": [
|
|
7489
7704
|
{
|
|
7490
7705
|
"name": "label",
|
|
@@ -7493,18 +7708,15 @@
|
|
|
7493
7708
|
},
|
|
7494
7709
|
{
|
|
7495
7710
|
"name": "description",
|
|
7496
|
-
"type": "ReactNode"
|
|
7497
|
-
"required": false
|
|
7711
|
+
"type": "ReactNode"
|
|
7498
7712
|
},
|
|
7499
7713
|
{
|
|
7500
7714
|
"name": "error",
|
|
7501
|
-
"type": "ReactNode"
|
|
7502
|
-
"required": false
|
|
7715
|
+
"type": "ReactNode"
|
|
7503
7716
|
},
|
|
7504
7717
|
{
|
|
7505
7718
|
"name": "required",
|
|
7506
|
-
"type": "boolean
|
|
7507
|
-
"required": false
|
|
7719
|
+
"type": "boolean"
|
|
7508
7720
|
},
|
|
7509
7721
|
{
|
|
7510
7722
|
"name": "children",
|
|
@@ -7521,8 +7733,7 @@
|
|
|
7521
7733
|
"field-error",
|
|
7522
7734
|
"field-label",
|
|
7523
7735
|
"field-required"
|
|
7524
|
-
]
|
|
7525
|
-
"import": "import { Field } from '@s2life/ui';"
|
|
7736
|
+
]
|
|
7526
7737
|
},
|
|
7527
7738
|
{
|
|
7528
7739
|
"name": "FormFlow",
|
|
@@ -7537,7 +7748,7 @@
|
|
|
7537
7748
|
],
|
|
7538
7749
|
"rules": [
|
|
7539
7750
|
{
|
|
7540
|
-
"text": "Tab 순서를 따르며 단일 행 Shift+Enter는 이전 칸이다. data-form-control=advance는 Enter를 이동으로 계약한다. Switch·RadioGroupItem은 값 변경 없이 이동하고 Combobox는 닫힌 Enter로 열고 선택 후 focusNextFormStop으로 이동한다. textarea Enter·Shift+Enter는 줄바꿈이다. 제출·실제 액션 버튼은 네이티브 동작을 유지한다.",
|
|
7751
|
+
"text": "Tab 순서를 따르며 단일 행 Shift+Enter는 이전 칸이다. data-form-control=advance는 Enter를 이동으로 계약한다. Switch·RadioGroupItem은 값 변경 없이 이동하고 단일 Combobox는 닫힌 Enter로 열고 선택 후 focusNextFormStop으로 이동한다. MultiSelect·multiple은 선택 뒤 머문다. textarea Enter·Shift+Enter는 줄바꿈이다. 제출·실제 액션 버튼은 네이티브 동작을 유지한다.",
|
|
7541
7752
|
"source": "DESIGN.md 11.5"
|
|
7542
7753
|
},
|
|
7543
7754
|
{
|
|
@@ -7559,24 +7770,20 @@
|
|
|
7559
7770
|
"다음 칸",
|
|
7560
7771
|
"이전 칸"
|
|
7561
7772
|
],
|
|
7562
|
-
"
|
|
7563
|
-
"source": "packages/ui/src/components/form/form-flow.tsx",
|
|
7773
|
+
"source": "components/form/form-flow.tsx",
|
|
7564
7774
|
"props": [
|
|
7565
7775
|
{
|
|
7566
7776
|
"name": "onSubmit",
|
|
7567
|
-
"type": "((event: FormEvent<HTMLFormElement>) => void | boolean | Promise<void | boolean>)
|
|
7568
|
-
"required": false,
|
|
7777
|
+
"type": "((event: FormEvent<HTMLFormElement>) => void | boolean | Promise<void | boolean>)",
|
|
7569
7778
|
"doc": "false 반환 또는 preventDefault는 실패다. 비동기 저장은 완료될 때 resolve한다."
|
|
7570
7779
|
},
|
|
7571
7780
|
{
|
|
7572
7781
|
"name": "restartOnSubmit",
|
|
7573
|
-
"type": "boolean
|
|
7574
|
-
"required": false
|
|
7782
|
+
"type": "boolean"
|
|
7575
7783
|
},
|
|
7576
7784
|
{
|
|
7577
7785
|
"name": "onSubmitError",
|
|
7578
|
-
"type": "((error: unknown) => void)
|
|
7579
|
-
"required": false
|
|
7786
|
+
"type": "((error: unknown) => void)"
|
|
7580
7787
|
}
|
|
7581
7788
|
],
|
|
7582
7789
|
"extends": [
|
|
@@ -7585,8 +7792,7 @@
|
|
|
7585
7792
|
],
|
|
7586
7793
|
"slots": [
|
|
7587
7794
|
"form-flow"
|
|
7588
|
-
]
|
|
7589
|
-
"import": "import { FormFlow } from '@s2life/ui';"
|
|
7795
|
+
]
|
|
7590
7796
|
},
|
|
7591
7797
|
{
|
|
7592
7798
|
"name": "Peek",
|
|
@@ -7619,8 +7825,7 @@
|
|
|
7619
7825
|
"행 상세",
|
|
7620
7826
|
"레코드 내용"
|
|
7621
7827
|
],
|
|
7622
|
-
"
|
|
7623
|
-
"source": "packages/ui/src/components/peek/peek.tsx",
|
|
7828
|
+
"source": "components/peek/peek.tsx",
|
|
7624
7829
|
"props": [
|
|
7625
7830
|
{
|
|
7626
7831
|
"name": "children",
|
|
@@ -7649,19 +7854,18 @@
|
|
|
7649
7854
|
},
|
|
7650
7855
|
{
|
|
7651
7856
|
"name": "action",
|
|
7652
|
-
"type": "{ label: string; onClick: () => void; }
|
|
7653
|
-
"required": false,
|
|
7857
|
+
"type": "{ label: string; onClick: () => void; }",
|
|
7654
7858
|
"doc": "요약에서 상세로 이동하는 단일 읽기 액션."
|
|
7655
7859
|
}
|
|
7656
7860
|
],
|
|
7657
7861
|
"extends": [],
|
|
7658
7862
|
"slots": [
|
|
7863
|
+
"button",
|
|
7659
7864
|
"guide-bubble",
|
|
7660
7865
|
"peek",
|
|
7661
7866
|
"peek-item",
|
|
7662
7867
|
"peek-items"
|
|
7663
|
-
]
|
|
7664
|
-
"import": "import { Peek } from '@s2life/ui';"
|
|
7868
|
+
]
|
|
7665
7869
|
}
|
|
7666
7870
|
],
|
|
7667
7871
|
"principles": [
|
|
@@ -7717,7 +7921,7 @@
|
|
|
7717
7921
|
},
|
|
7718
7922
|
{
|
|
7719
7923
|
"topic": "폼",
|
|
7720
|
-
"text": "Enter 이동은 FormFlow 옵트인. Tab 순서를 따른다. textarea Enter·Shift+Enter는 줄바꿈, 단일 행 Shift+Enter는 이전 칸이다. data-form-control=advance는 값 변경 없이 이동하며 Combobox는 선택 후
|
|
7924
|
+
"text": "Enter 이동은 FormFlow 옵트인. Tab 순서를 따른다. textarea Enter·Shift+Enter는 줄바꿈, 단일 행 Shift+Enter는 이전 칸이다. data-form-control=advance는 값 변경 없이 이동하며 단일 Combobox는 선택 후 이동하며 MultiSelect·multiple은 선택 뒤 머문다.",
|
|
7721
7925
|
"source": "DESIGN.md 11.5"
|
|
7722
7926
|
},
|
|
7723
7927
|
{
|