@conscience-technology/ovenn 0.7.0 → 0.7.2
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/assets/components/AIMessage/AIMessage.module.css +21 -0
- package/assets/components/AIMessage/AIMessage.tsx +27 -7
- package/assets/components/AttachmentItem/AttachmentItem.module.css +41 -10
- package/assets/components/AttachmentItem/AttachmentItem.tsx +25 -8
- package/assets/components/AttachmentThumb/AttachmentThumb.module.css +9 -10
- package/assets/components/Callout/Callout.module.css +53 -7
- package/assets/components/Callout/Callout.tsx +26 -2
- package/assets/components/Callout/index.ts +1 -1
- package/assets/components/ChatComposer/ChatComposer.module.css +17 -0
- package/assets/components/ChatComposer/ChatComposer.tsx +131 -0
- package/assets/components/ChatComposer/index.ts +2 -0
- package/assets/components/ChatInput/ChatInput.module.css +192 -30
- package/assets/components/ChatInput/ChatInput.tsx +137 -45
- package/assets/components/ChatInput/SendButton.tsx +4 -1
- package/assets/components/ChatInput/index.ts +5 -0
- package/assets/components/ChatMessage/ChatMessage.module.css +19 -0
- package/assets/components/ChatMessage/ChatMessage.tsx +63 -0
- package/assets/components/ChatMessage/index.ts +2 -0
- package/assets/components/ChatReactions/ChatReactions.module.css +15 -0
- package/assets/components/ChatReactions/ChatReactions.tsx +58 -0
- package/assets/components/ChatReactions/index.ts +2 -0
- package/assets/components/CodeBlock/CodeBlock.module.css +106 -10
- package/assets/components/CodeBlock/CodeBlock.tsx +114 -29
- package/assets/components/CodeBlock/SyntaxHighlight.tsx +20 -0
- package/assets/components/CodeBlock/diff-lines.ts +21 -0
- package/assets/components/CodeBlock/index.ts +2 -1
- package/assets/components/CodeBlock/line-preview.ts +7 -0
- package/assets/components/CodeBlock/syntax-highlighter.ts +96 -0
- package/assets/components/CodeBlock/use-syntax-tokens.ts +17 -0
- package/assets/components/ColorField/ColorField.module.css +19 -196
- package/assets/components/ColorField/ColorField.tsx +116 -109
- package/assets/components/Combobox/Combobox.module.css +21 -4
- package/assets/components/Combobox/Combobox.tsx +37 -21
- package/assets/components/CommandPalette/CommandPalette.module.css +1 -1
- package/assets/components/ControlGroup/ControlGroup.module.css +13 -6
- package/assets/components/DatePicker/DateField.tsx +72 -25
- package/assets/components/DatePicker/DatePicker.module.css +28 -59
- package/assets/components/DatePicker/DatePicker.tsx +76 -40
- package/assets/components/Drawer/Drawer.module.css +12 -15
- package/assets/components/Drawer/Drawer.tsx +15 -23
- package/assets/components/EmojiPicker/EmojiGlyph.module.css +2 -0
- package/assets/components/EmojiPicker/EmojiGlyph.tsx +12 -0
- package/assets/components/EmojiPicker/EmojiPicker.module.css +43 -0
- package/assets/components/EmojiPicker/EmojiPicker.tsx +143 -0
- package/assets/components/EmojiPicker/UNICODE-LICENSE.txt +39 -0
- package/assets/components/EmojiPicker/data.ts +41 -0
- package/assets/components/EmojiPicker/emojiData-0.json +1 -0
- package/assets/components/EmojiPicker/emojiData-1.json +1 -0
- package/assets/components/EmojiPicker/emojiData-2.json +1 -0
- package/assets/components/EmojiPicker/emojiData-3.json +1 -0
- package/assets/components/EmojiPicker/emojiData.sources.json +35 -0
- package/assets/components/EmojiPicker/emojiData.ts +8 -0
- package/assets/components/EmojiPicker/emojiFallbacks.json +1 -0
- package/assets/components/EmojiPicker/index.ts +4 -0
- package/assets/components/EmptyState/EmptyState.module.css +2 -2
- package/assets/components/FileIcon/FileIcon.module.css +4 -6
- package/assets/components/Icon/LucideFamilyIcon.tsx +2 -0
- package/assets/components/Icon/SolarFamilyIcon.tsx +4 -0
- package/assets/components/Input/Input.module.css +33 -10
- package/assets/components/Input/Input.tsx +20 -9
- package/assets/components/MessageActions/MessageActions.module.css +2 -2
- package/assets/components/Onboarding/Onboarding.module.css +1 -1
- package/assets/components/ProgressBar/ProgressBar.module.css +38 -4
- package/assets/components/ProgressBar/ProgressBar.tsx +5 -1
- package/assets/components/RadioCard/RadioCard.module.css +18 -0
- package/assets/components/RadioCard/RadioCard.tsx +48 -7
- package/assets/components/Select/Select.module.css +9 -7
- package/assets/components/Select/Select.tsx +15 -2
- package/assets/components/Tabs/Tabs.module.css +1 -1
- package/assets/components/Tabs/Tabs.tsx +2 -2
- package/assets/components/Textarea/Textarea.module.css +28 -231
- package/assets/components/Textarea/Textarea.tsx +2 -2
- package/assets/components/TimePicker/TimePicker.module.css +16 -4
- package/assets/components/TimePicker/TimePicker.tsx +66 -8
- package/assets/components/Toast/Toast.module.css +18 -0
- package/assets/components/Toast/Toast.tsx +1 -1
- package/assets/components/Tooltip/Tooltip.tsx +33 -7
- package/assets/components/UserMessage/UserMessage.module.css +110 -1
- package/assets/components/UserMessage/UserMessage.tsx +138 -16
- package/assets/components/UserMessage/index.ts +4 -0
- package/assets/components/_data.ts +10 -5
- package/assets/components/_utils.css +31 -5
- package/assets/components/component-registry.json +1595 -107
- package/assets/components/index.ts +7 -0
- package/assets/components/tokens.css +83 -0
- package/assets/prompts/ASSEMBLY.md +11 -0
- package/assets/prompts/CATALOG.md +110 -106
- package/assets/prompts/PRINCIPLES.md +11 -1
- package/assets/prompts/TEMPLATE_PREVIEWS.md +21 -0
- package/assets/prompts/WORKFLOW_DESIGN.md +2 -0
- package/assets/prompts/axes/font.md +6 -0
- package/assets/prompts/axes/material.md +1 -1
- package/assets/prompts/axes/motion.md +2 -0
- package/assets/prompts/axes/palette.md +9 -2
- package/assets/prompts/axes/voice.md +4 -0
- package/assets/prompts/components/README.md +3 -3
- package/assets/prompts/components/_variants.md +35 -35
- package/assets/prompts/components/accordion.md +15 -15
- package/assets/prompts/components/ai-message.md +14 -12
- package/assets/prompts/components/app-frame.md +16 -16
- package/assets/prompts/components/attachment-item.md +36 -30
- package/assets/prompts/components/attachment-thumb.md +14 -12
- package/assets/prompts/components/avatar-upload.md +10 -10
- package/assets/prompts/components/avatar.md +16 -16
- package/assets/prompts/components/badge.md +4 -4
- package/assets/prompts/components/breadcrumb.md +24 -24
- package/assets/prompts/components/bubble.md +13 -13
- package/assets/prompts/components/button-group.md +1 -1
- package/assets/prompts/components/button.md +36 -36
- package/assets/prompts/components/calendar.md +29 -29
- package/assets/prompts/components/callout.md +39 -23
- package/assets/prompts/components/canvas-edge.md +5 -2
- package/assets/prompts/components/canvas-node.md +3 -3
- package/assets/prompts/components/canvas.md +5 -2
- package/assets/prompts/components/card.md +21 -21
- package/assets/prompts/components/chart-bar.md +7 -7
- package/assets/prompts/components/chart-pie.md +3 -3
- package/assets/prompts/components/chart-radar.md +3 -3
- package/assets/prompts/components/chart-radial.md +4 -4
- package/assets/prompts/components/chat-composer.md +71 -0
- package/assets/prompts/components/chat-input.md +82 -27
- package/assets/prompts/components/chat-message.md +48 -0
- package/assets/prompts/components/chat-reactions.md +38 -0
- package/assets/prompts/components/checkbox-card.md +3 -3
- package/assets/prompts/components/checkbox.md +17 -17
- package/assets/prompts/components/chip.md +32 -32
- package/assets/prompts/components/code-block.md +109 -66
- package/assets/prompts/components/code.md +4 -4
- package/assets/prompts/components/color-area.md +9 -9
- package/assets/prompts/components/color-field.md +17 -13
- package/assets/prompts/components/color-picker.md +6 -6
- package/assets/prompts/components/color-slider.md +8 -8
- package/assets/prompts/components/color-swatch-picker.md +8 -8
- package/assets/prompts/components/color-swatch.md +9 -9
- package/assets/prompts/components/combobox.md +5 -2
- package/assets/prompts/components/command-palette.md +26 -26
- package/assets/prompts/components/comment.md +5 -2
- package/assets/prompts/components/context-menu.md +22 -22
- package/assets/prompts/components/control-group.md +4 -4
- package/assets/prompts/components/date-picker.md +31 -23
- package/assets/prompts/components/disclosure.md +10 -10
- package/assets/prompts/components/drawer.md +19 -18
- package/assets/prompts/components/dropdown-menu.md +21 -21
- package/assets/prompts/components/emoji-picker.md +45 -0
- package/assets/prompts/components/empty-state.md +20 -18
- package/assets/prompts/components/event-chip.md +11 -11
- package/assets/prompts/components/event-list-item.md +21 -21
- package/assets/prompts/components/file-icon.md +18 -19
- package/assets/prompts/components/gallery-item.md +19 -19
- package/assets/prompts/components/generated-image.md +10 -10
- package/assets/prompts/components/hint.md +19 -19
- package/assets/prompts/components/icon-button.md +16 -16
- package/assets/prompts/components/icon.md +12 -9
- package/assets/prompts/components/input.md +49 -46
- package/assets/prompts/components/kanban.md +34 -34
- package/assets/prompts/components/list-item.md +39 -39
- package/assets/prompts/components/menu-item.md +41 -41
- package/assets/prompts/components/message-actions.md +6 -6
- package/assets/prompts/components/message-quote.md +7 -7
- package/assets/prompts/components/message-sources.md +10 -10
- package/assets/prompts/components/message-state.md +17 -17
- package/assets/prompts/components/message-table.md +5 -5
- package/assets/prompts/components/mini-calendar.md +6 -1
- package/assets/prompts/components/modal.md +39 -39
- package/assets/prompts/components/multi-select.md +4 -1
- package/assets/prompts/components/onboarding.md +19 -19
- package/assets/prompts/components/page-header.md +31 -31
- package/assets/prompts/components/pagination.md +17 -17
- package/assets/prompts/components/progress-bar.md +14 -11
- package/assets/prompts/components/quotation-bar.md +10 -10
- package/assets/prompts/components/radio-card.md +7 -6
- package/assets/prompts/components/radio.md +9 -9
- package/assets/prompts/components/select.md +28 -25
- package/assets/prompts/components/shortcut.md +11 -11
- package/assets/prompts/components/sidebar.md +56 -56
- package/assets/prompts/components/skeleton.md +7 -4
- package/assets/prompts/components/slider.md +18 -18
- package/assets/prompts/components/spinner.md +16 -16
- package/assets/prompts/components/stepper.md +14 -14
- package/assets/prompts/components/switch.md +19 -20
- package/assets/prompts/components/tab-strip.md +31 -31
- package/assets/prompts/components/table-cell.md +4 -4
- package/assets/prompts/components/table-header.md +16 -16
- package/assets/prompts/components/table-row-edit.md +19 -19
- package/assets/prompts/components/table-row-select.md +9 -9
- package/assets/prompts/components/table-row.md +18 -18
- package/assets/prompts/components/tabs.md +26 -25
- package/assets/prompts/components/tag.md +6 -6
- package/assets/prompts/components/textarea.md +16 -15
- package/assets/prompts/components/time-picker.md +21 -14
- package/assets/prompts/components/timeline-view.md +4 -4
- package/assets/prompts/components/toast.md +42 -41
- package/assets/prompts/components/toolbar.md +23 -23
- package/assets/prompts/components/tooltip.md +15 -14
- package/assets/prompts/components/top-loader.md +11 -11
- package/assets/prompts/components/topbar.md +35 -35
- package/assets/prompts/components/tree-nav.md +9 -9
- package/assets/prompts/components/user-message.md +23 -12
- package/assets/prompts/design-examples/README.md +1 -1
- package/assets/prompts/design-examples/ai-chat-full-page.png +0 -0
- package/assets/prompts/design-examples/catalog.json +124 -1
- package/assets/prompts/design-examples/sources/ai-chat-full-page/ChatExperience.module.css +346 -0
- package/assets/prompts/design-examples/sources/ai-chat-full-page/ChatExperience.tsx +375 -0
- package/assets/prompts/design-examples/sources/ai-chat-full-page/FullPageChat.tsx +8 -0
- package/assets/prompts/design-examples/sources/ai-chat-full-page/REFERENCE.md +19 -0
- package/assets/prompts/design-examples/sources/ai-chat-full-page/useChatDemo.ts +139 -0
- package/assets/prompts/design-examples/sources/ai-chat-full-page/useDemoTextStream.ts +30 -0
- package/assets/prompts/primitives/emerge.md +2 -0
- package/assets/prompts/templates/README.md +1 -1
- package/assets/prompts/templates/ains.md +7 -0
- package/assets/prompts/templates/minimal.md +6 -0
- package/assets/prompts/templates/onboarding.md +156 -0
- package/assets/prompts/templates/workspace.md +13 -8
- package/assets/prompts/tokens/color.md +7 -2
- package/assets/prompts/tokens/radius.md +22 -0
- package/assets/prompts/use-cases/chart-chart-area.md +40 -40
- package/assets/prompts/use-cases/chart-chart-bar.md +34 -34
- package/assets/prompts/use-cases/chart-chart-pie.md +14 -14
- package/assets/prompts/use-cases/chart-chart-radar.md +24 -24
- package/assets/prompts/use-cases/chart-chart-radial.md +14 -14
- package/assets/prompts/use-cases/chart-segmented-chart.md +32 -32
- package/assets/prompts/use-cases/chat-chat-composer.md +529 -0
- package/assets/prompts/use-cases/chat-chat-input.md +1766 -0
- package/assets/prompts/use-cases/data-comment.md +39 -39
- package/assets/prompts/use-cases/data-data-table.md +34 -34
- package/assets/prompts/use-cases/data-list-item.md +16 -16
- package/assets/prompts/use-cases/data-metric-card.md +18 -18
- package/assets/prompts/use-cases/data-table-row.md +19 -19
- package/assets/prompts/use-cases/data-table-toolbar.md +10 -10
- package/assets/prompts/use-cases/feedback-drawer.md +35 -30
- package/assets/prompts/use-cases/feedback-progress-bar.md +23 -18
- package/assets/prompts/use-cases/general-toolbar.md +16 -16
- package/assets/prompts/use-cases/general-tooltip.md +26 -26
- package/assets/prompts/use-cases/input-checkbox.md +27 -27
- package/assets/prompts/use-cases/structure-card.md +9 -9
- package/assets/prompts/use-cases/structure-page-header.md +17 -17
- package/assets/prompts/use-cases/structure-sidebar.md +20 -20
- package/assets/prompts/use-cases/structure-topbar.md +38 -42
- package/assets/skills/ovenn-wireframe/SKILL.md +17 -4
- package/package.json +6 -2
- package/src/utils/design-examples.js +3 -4
- package/assets/prompts/templates/glass-button.md +0 -337
|
@@ -87,7 +87,7 @@ type Strings = {
|
|
|
87
87
|
|
|
88
88
|
const en: Strings = {
|
|
89
89
|
title: "Tooltip",
|
|
90
|
-
lead: "
|
|
90
|
+
lead: "Shows a short explanation on hover or focus. Use it for icon labels, disabled reasons, and shortcuts. Use Popover for interactive content.",
|
|
91
91
|
playgroundDesc: "Toggle the knobs below to inspect combinations.",
|
|
92
92
|
|
|
93
93
|
saveLabel: "Save",
|
|
@@ -176,8 +176,8 @@ const en: Strings = {
|
|
|
176
176
|
|
|
177
177
|
const ko: Strings = {
|
|
178
178
|
title: "Tooltip",
|
|
179
|
-
lead: "
|
|
180
|
-
playgroundDesc: "
|
|
179
|
+
lead: "요소에 마우스를 올리거나 키보드로 포커스하면 짧은 설명을 보여줘요. 아이콘 버튼의 뜻, 비활성 이유, 단축키를 안내할 때 사용해요. 긴 설명이나 클릭할 콘텐츠는 Popover로 구성해 주세요.",
|
|
180
|
+
playgroundDesc: "옵션을 바꿔 모양과 동작을 확인해 보세요.",
|
|
181
181
|
|
|
182
182
|
saveLabel: "저장",
|
|
183
183
|
searchLabel: "검색",
|
|
@@ -188,15 +188,15 @@ const ko: Strings = {
|
|
|
188
188
|
right: "오른쪽",
|
|
189
189
|
down: "아래",
|
|
190
190
|
left: "왼쪽",
|
|
191
|
-
cantSaveReason: "변경사항이 없어 저장할 수
|
|
192
|
-
noDeletePermission: "권한이 없어 삭제할 수
|
|
193
|
-
alreadySubmitted: "이미 제출된
|
|
191
|
+
cantSaveReason: "변경사항이 없어 저장할 수 없어요",
|
|
192
|
+
noDeletePermission: "권한이 없어 삭제할 수 없어요",
|
|
193
|
+
alreadySubmitted: "이미 제출된 항목이에요",
|
|
194
194
|
editLabel: "편집",
|
|
195
|
-
alwaysOpenLabel: "
|
|
195
|
+
alwaysOpenLabel: "상태를 제어하는 툴팁",
|
|
196
196
|
alwaysOpenCaption: "외부 상태로 제어",
|
|
197
197
|
|
|
198
198
|
usage: {
|
|
199
|
-
heading: "
|
|
199
|
+
heading: "사용법",
|
|
200
200
|
desc: (
|
|
201
201
|
<>
|
|
202
202
|
트리거 하나를 자식으로, 설명은 <Code>content</Code>로.
|
|
@@ -204,45 +204,45 @@ const ko: Strings = {
|
|
|
204
204
|
),
|
|
205
205
|
},
|
|
206
206
|
placement: {
|
|
207
|
-
heading: "
|
|
208
|
-
desc: "기본 방향은 위쪽. 뷰포트에 부딪히면 자동으로 반대편으로
|
|
207
|
+
heading: "위치",
|
|
208
|
+
desc: "기본 방향은 위쪽. 뷰포트에 부딪히면 자동으로 반대편으로 이동해요.",
|
|
209
209
|
},
|
|
210
210
|
withIconButton: {
|
|
211
|
-
heading: "
|
|
211
|
+
heading: "아이콘 버튼 조합",
|
|
212
212
|
desc: (
|
|
213
213
|
<>
|
|
214
|
-
아이콘만 있는 버튼은
|
|
214
|
+
아이콘만 있는 버튼은 뜻을 알기 어려울 수 있어요. Tooltip으로 라벨을 보완하되 접근성을 위해 <Code>aria-label</Code>도 함께 지정해 주세요.
|
|
215
215
|
</>
|
|
216
216
|
),
|
|
217
217
|
},
|
|
218
218
|
withDisabled: {
|
|
219
|
-
heading: "
|
|
220
|
-
desc: "disabled 요소는 포인터 이벤트를 못 받으니 Tooltip을 걸려면 트리거를 감싸는 래퍼가
|
|
219
|
+
heading: "비활성 이유",
|
|
220
|
+
desc: "disabled 요소는 포인터 이벤트를 못 받으니 Tooltip을 걸려면 트리거를 감싸는 래퍼가 필요해요.",
|
|
221
221
|
},
|
|
222
222
|
withShortcut: {
|
|
223
|
-
heading: "
|
|
223
|
+
heading: "단축키 조합",
|
|
224
224
|
desc: (
|
|
225
225
|
<>
|
|
226
|
-
기능 이름과 단축키를
|
|
226
|
+
기능 이름과 단축키를 함께 보여줘요. <Code>content</Code>에 JSX를 넘기면 라벨과 키를 나란히 놓을 수 있어요.
|
|
227
227
|
</>
|
|
228
228
|
),
|
|
229
229
|
},
|
|
230
230
|
controlled: {
|
|
231
|
-
heading: "
|
|
231
|
+
heading: "열림 상태 제어",
|
|
232
232
|
desc: (
|
|
233
233
|
<>
|
|
234
|
-
<Code>open</Code>으로 강제로 열어두거나 외부에서
|
|
234
|
+
<Code>open</Code>으로 강제로 열어두거나 외부에서 제어해요. 온보딩 힌트에 유용해요.
|
|
235
235
|
</>
|
|
236
236
|
),
|
|
237
237
|
},
|
|
238
238
|
api: {
|
|
239
|
-
heading: "
|
|
239
|
+
heading: "속성",
|
|
240
240
|
desc: (
|
|
241
241
|
<>
|
|
242
|
-
Portal 렌더링, <Code>aria-describedby</Code> 자동 연결, keyboard focus 트리거, ESC dismiss, 뷰포트 자동 회피가 기본에
|
|
242
|
+
Portal 렌더링, <Code>aria-describedby</Code> 자동 연결, keyboard focus 트리거, ESC dismiss, 뷰포트 자동 회피가 기본에 포함돼요.
|
|
243
243
|
</>
|
|
244
244
|
),
|
|
245
|
-
columns: { prop: "
|
|
245
|
+
columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
|
|
246
246
|
rows: {
|
|
247
247
|
content: "툴팁 안에 표시할 내용.",
|
|
248
248
|
children: "툴팁을 붙일 트리거. 반드시 단일 자식.",
|
|
@@ -253,7 +253,7 @@ const ko: Strings = {
|
|
|
253
253
|
followMouse: "트리거 위 마우스를 따라 꼭지 이동. arrowOffset은 무시.",
|
|
254
254
|
arrow: "꼭지 표시 여부.",
|
|
255
255
|
open: "controlled open 상태.",
|
|
256
|
-
onOpenChange: "open 상태 변경
|
|
256
|
+
onOpenChange: "open 상태 변경 처리 함수.",
|
|
257
257
|
delayDuration: "hover 후 등장 지연(ms).",
|
|
258
258
|
},
|
|
259
259
|
},
|
|
@@ -434,7 +434,7 @@ export default function TooltipPage() {
|
|
|
434
434
|
|
|
435
435
|
<section id="with-icon-button">
|
|
436
436
|
<h2>{t.withIconButton.heading}</h2>
|
|
437
|
-
<p className="desc">{t.withIconButton.desc}</p>
|
|
437
|
+
<p className="desc">{t.withIconButton.desc} {ko ? "버튼 사이로 이동하면 새 버튼의 툴팁으로 바로 전환돼요." : "Moving between buttons immediately switches to the new tooltip."}</p>
|
|
438
438
|
<ExampleBlock
|
|
439
439
|
code={`<Tooltip content="${strings.en.searchLabel}">
|
|
440
440
|
<IconButton icon={<Icon name="search" />} aria-label="${strings.en.searchLabel}" />
|
|
@@ -538,9 +538,9 @@ export default function TooltipPage() {
|
|
|
538
538
|
<section id="motion-standard">
|
|
539
539
|
<h2>{ko ? "애니메이션 표준" : "Animation standard"}</h2>
|
|
540
540
|
<DocsTable columns={[{ key: "phase", label: ko ? "단계" : "Phase", width: 150 }, { key: "behavior", label: ko ? "동작" : "Behavior", flex: true }]} rows={[
|
|
541
|
-
{ phase: ko ? "완료" : "Confirmation", behavior: ko ? "성공한 뒤 체크와 완료 문구를 1200ms
|
|
542
|
-
{ phase: ko ? "닫힘" : "Dismissal", behavior: ko ? "포인터 이탈·포커스 해제 시
|
|
543
|
-
{ phase: ko ? "표면·접근성" : "Surface and motion", behavior: ko ? "표면의 등장·퇴장은 공용 m-float을
|
|
541
|
+
{ phase: ko ? "완료" : "Confirmation", behavior: ko ? "성공한 뒤 체크와 완료 문구를 1200ms 표시해요. Copy가 160ms 동안 완전히 사라진 뒤 체크는 크기를 유지하며 360ms 동안 왼쪽부터 드러나고, 완료 문구는 240ms 동안 거의 제자리에서 페이드돼요." : "After success, show a check and confirmation for 1200ms. Copy fades out completely over 160ms. Then the check reveals from left to right over 360ms at a fixed size and the label fades in over 240ms with minimal vertical movement." },
|
|
542
|
+
{ phase: ko ? "닫힘" : "Dismissal", behavior: ko ? "포인터 이탈·포커스 해제 시 닫아요. 종료 중에는 완료 문구를 유지하고, 다음 열림에 원래 라벨로 복원해요." : "Dismiss on pointer leave or blur. Keep the result throughout exit; restore the original label on the next opening." },
|
|
543
|
+
{ phase: ko ? "표면·접근성" : "Surface and motion", behavior: ko ? "표면의 등장·퇴장은 공용 m-float을 사용해요. 테마 모션과 모션 감소 설정을 따라요." : "Use the shared m-float animation for the surface. Respect the theme motion setting and reduced-motion preference." },
|
|
544
544
|
]} />
|
|
545
545
|
</section>
|
|
546
546
|
|
|
@@ -82,7 +82,7 @@ type Strings = {
|
|
|
82
82
|
|
|
83
83
|
const en: Strings = {
|
|
84
84
|
title: "Checkbox",
|
|
85
|
-
lead: "
|
|
85
|
+
lead: "Select multiple items in forms or filters. Use Switch for settings that apply immediately.",
|
|
86
86
|
|
|
87
87
|
usage: {
|
|
88
88
|
heading: "Usage",
|
|
@@ -127,7 +127,7 @@ const en: Strings = {
|
|
|
127
127
|
|
|
128
128
|
withLongLabel: {
|
|
129
129
|
heading: "With Long Label",
|
|
130
|
-
desc: "
|
|
130
|
+
desc: "The indicator stays aligned with the first line when the label wraps.",
|
|
131
131
|
label: "I have read the privacy policy and terms of service and agree to the stated conditions. This is a required field; signup will not proceed without agreement.",
|
|
132
132
|
},
|
|
133
133
|
|
|
@@ -151,14 +151,14 @@ const en: Strings = {
|
|
|
151
151
|
|
|
152
152
|
const ko: Strings = {
|
|
153
153
|
title: "Checkbox",
|
|
154
|
-
lead: "폼이나 필터에서
|
|
154
|
+
lead: "폼이나 필터에서 여러 항목을 선택해요. 바로 적용되는 설정을 켜고 끌 때는 Switch를 써보세요.",
|
|
155
155
|
|
|
156
156
|
usage: {
|
|
157
|
-
heading: "
|
|
157
|
+
heading: "사용법",
|
|
158
158
|
desc: (
|
|
159
159
|
<>
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
<Code>input[type=checkbox]</Code>의 기본 선택 동작과 접근성을 유지해요.{" "}
|
|
161
|
+
선택 표시는 CSS로 그리며 Palette와 Mode 설정을 따라가요.
|
|
162
162
|
</>
|
|
163
163
|
),
|
|
164
164
|
sampleLabel: "동의합니다",
|
|
@@ -170,49 +170,49 @@ const ko: Strings = {
|
|
|
170
170
|
},
|
|
171
171
|
|
|
172
172
|
variants: {
|
|
173
|
-
heading: "
|
|
173
|
+
heading: "스타일과 상태",
|
|
174
174
|
desc: (
|
|
175
175
|
<>
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
기본, <Code>disabled</Code>, <Code>invalid</Code> 상태를 지원해요. <Code>invalid</Code>를 설정하면
|
|
177
|
+
테두리와 선택 배경을 오류 색으로 표시해요.
|
|
178
178
|
</>
|
|
179
179
|
),
|
|
180
180
|
defaultLabel: "기본",
|
|
181
|
-
defaultChecked: "기본,
|
|
181
|
+
defaultChecked: "기본, 선택됨",
|
|
182
182
|
disabled: "비활성",
|
|
183
|
-
disabledChecked: "비활성,
|
|
183
|
+
disabledChecked: "비활성, 선택됨",
|
|
184
184
|
invalid: "검증 실패",
|
|
185
|
-
invalidChecked: "검증 실패,
|
|
185
|
+
invalidChecked: "검증 실패, 선택됨",
|
|
186
186
|
},
|
|
187
187
|
|
|
188
188
|
withGroup: {
|
|
189
|
-
heading: "
|
|
190
|
-
desc: "
|
|
189
|
+
heading: "그룹으로 묶기",
|
|
190
|
+
desc: "각 항목을 따로 선택하거나 해제해요. 그룹 전체를 설명하는 라벨도 함께 넣어주세요.",
|
|
191
191
|
design: "디자인",
|
|
192
192
|
dev: "개발",
|
|
193
193
|
research: "리서치",
|
|
194
194
|
},
|
|
195
195
|
|
|
196
196
|
withLongLabel: {
|
|
197
|
-
heading: "
|
|
198
|
-
desc: "라벨이
|
|
197
|
+
heading: "긴 라벨",
|
|
198
|
+
desc: "라벨이 여러 줄이어도 선택 표시는 첫째 줄 가운데에 맞춰져요.",
|
|
199
199
|
label: "개인정보 처리방침과 서비스 이용약관을 모두 읽었고, 명시된 조건에 동의합니다. 필수 항목이며 미동의 시 가입이 진행되지 않습니다.",
|
|
200
200
|
},
|
|
201
201
|
|
|
202
202
|
api: {
|
|
203
|
-
heading: "
|
|
203
|
+
heading: "속성",
|
|
204
204
|
desc: (
|
|
205
205
|
<>
|
|
206
206
|
나머지 <Code>input[type=checkbox]</Code> 속성(<Code>checked</Code>,{" "}
|
|
207
207
|
<Code>defaultChecked</Code>, <Code>onChange</Code>, <Code>name</Code>,{" "}
|
|
208
|
-
<Code>value</Code> 등)은 그대로
|
|
208
|
+
<Code>value</Code> 등)은 그대로 전달해요.
|
|
209
209
|
</>
|
|
210
210
|
),
|
|
211
|
-
columns: { prop: "
|
|
211
|
+
columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
|
|
212
212
|
rows: {
|
|
213
|
-
children: "
|
|
214
|
-
invalid: "
|
|
215
|
-
disabled: "
|
|
213
|
+
children: "오른쪽에 표시할 라벨이에요. 생략하면 선택 표시만 보여줘요.",
|
|
214
|
+
invalid: "검증 오류를 표시해요. 테두리와 선택 배경에 오류 색을 사용해요.",
|
|
215
|
+
disabled: "흐리게 표시하고 입력을 막아요.",
|
|
216
216
|
},
|
|
217
217
|
},
|
|
218
218
|
};
|
|
@@ -242,10 +242,11 @@ export type { Strings };
|
|
|
242
242
|
````tsx
|
|
243
243
|
"use client";
|
|
244
244
|
|
|
245
|
+
import { PreviewButton } from "@/app/_components/PreviewButton";
|
|
246
|
+
|
|
245
247
|
import { useState } from "react";
|
|
246
248
|
import { usePathname } from "next/navigation";
|
|
247
249
|
import { Checkbox, type CheckboxVariant } from "@/components/Checkbox";
|
|
248
|
-
import { Button } from "@/components/Button";
|
|
249
250
|
import { Code } from "@/components/Code";
|
|
250
251
|
import { ExampleBlock } from "../../../../_components/ExampleBlock";
|
|
251
252
|
import { Playground } from "../../../../_components/Playground";
|
|
@@ -261,7 +262,7 @@ function TaskExample() {
|
|
|
261
262
|
<Checkbox key={generation} variant="task" onComplete={() => setFinished(true)}>
|
|
262
263
|
Review onboarding screens
|
|
263
264
|
</Checkbox>
|
|
264
|
-
{finished && <
|
|
265
|
+
{finished && <PreviewButton autoFocus onClick={() => { setGeneration(value => value + 1); setFinished(false); }}>Reset example</PreviewButton>}
|
|
265
266
|
</form>;
|
|
266
267
|
}
|
|
267
268
|
|
|
@@ -297,7 +298,6 @@ export default function CheckboxPage() {
|
|
|
297
298
|
</section>
|
|
298
299
|
|
|
299
300
|
<Playground
|
|
300
|
-
desc={t.playground.desc}
|
|
301
301
|
axes={[{ label: "variant", value: pgVariant, options: ["default", "task"], onChange: value => setPgVariant(value as CheckboxVariant) }]}
|
|
302
302
|
toggles={[
|
|
303
303
|
{ group: "label", label: "label", value: pgLabel, onChange: setPgLabel },
|
|
@@ -410,11 +410,11 @@ export default function CheckboxPage() {
|
|
|
410
410
|
rows={[
|
|
411
411
|
{
|
|
412
412
|
prop: <Code>variant</Code>, type: <Code>'default' | 'task'</Code>, default: <Code>'default'</Code>,
|
|
413
|
-
desc: localeFromPathname(pathname) === "ko" ? "task는
|
|
413
|
+
desc: localeFromPathname(pathname) === "ko" ? "task는 완료하면 취소선을 표시한 뒤 접히며 사라져요." : "task draws a strike, then collapses and fades out on completion.",
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
prop: <Code>onComplete</Code>, type: <Code>() => void</Code>, default: "",
|
|
417
|
-
desc: localeFromPathname(pathname) === "ko" ? "완료
|
|
417
|
+
desc: localeFromPathname(pathname) === "ko" ? "완료 동작이 끝나면 호출해요. 이때 사용처에서 항목을 제거해주세요." : "Called after the task completion motion; the host can then remove the item.",
|
|
418
418
|
},
|
|
419
419
|
{
|
|
420
420
|
prop: <Code>children</Code>,
|
|
@@ -150,20 +150,20 @@ const ko: Strings = {
|
|
|
150
150
|
<>
|
|
151
151
|
콘텐츠 묶음의 <strong>표면</strong>. 역할은 셋뿐 (배경, radius, padding). 안쪽에
|
|
152
152
|
뭐가 들어가든 Card는 모르고, 제목이나 설명, 액션 같은 안쪽 구조는 전용 어휘(PageHeader,
|
|
153
|
-
ListItem, MetricCard 등)가
|
|
153
|
+
ListItem, MetricCard 등)가 담당해요.
|
|
154
154
|
</>
|
|
155
155
|
),
|
|
156
156
|
usage: {
|
|
157
|
-
heading: "
|
|
157
|
+
heading: "사용법",
|
|
158
158
|
desc: (
|
|
159
159
|
<>
|
|
160
160
|
children은 자유. 어떤 ReactNode든 Card 안에. 기본은 <Code>line</Code>, <Code>md</Code>.
|
|
161
161
|
</>
|
|
162
162
|
),
|
|
163
163
|
},
|
|
164
|
-
playgroundDesc: "variant, size, shape를
|
|
164
|
+
playgroundDesc: "variant, size, shape를 조합해 보세요. shape 축은 이 데모 안에서만 override돼요.",
|
|
165
165
|
variants: {
|
|
166
|
-
heading: "
|
|
166
|
+
heading: "표현",
|
|
167
167
|
desc: (
|
|
168
168
|
<>
|
|
169
169
|
네 가지 톤. <Code>line</Code> 테두리만, <Code>soft</Code> bg-subtle만,
|
|
@@ -173,19 +173,19 @@ const ko: Strings = {
|
|
|
173
173
|
),
|
|
174
174
|
},
|
|
175
175
|
sizes: {
|
|
176
|
-
heading: "
|
|
176
|
+
heading: "크기",
|
|
177
177
|
desc: (
|
|
178
178
|
<>
|
|
179
179
|
padding + radius 세트. Card는 폭을 결정하지 않고 size는 <strong>추천 바깥 폭</strong>에
|
|
180
180
|
따라 선택: <Code>sm</Code> ≤ 240px, <Code>md</Code> 240~480px,{" "}
|
|
181
181
|
<Code>lg</Code> 480~720px, <Code>xl</Code> ≥ 720px. Shape 축에 따라 radius가
|
|
182
|
-
자동
|
|
182
|
+
자동 반응해요. Playground의 shape 토글로 비교해 보세요.
|
|
183
183
|
</>
|
|
184
184
|
),
|
|
185
185
|
},
|
|
186
186
|
api: {
|
|
187
|
-
heading: "
|
|
188
|
-
columns: { prop: "
|
|
187
|
+
heading: "속성",
|
|
188
|
+
columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
|
|
189
189
|
rows: {
|
|
190
190
|
variant:
|
|
191
191
|
"톤. line과 soft는 각각 선·배경 중심 기본형(조합은 PRINCIPLES §5b 적용), elevated는 shadow만, framed는 shadow+border 조합.",
|
|
@@ -213,7 +213,7 @@ const ko: Strings = {
|
|
|
213
213
|
lg: "lg. 넓은 1컬럼 블록",
|
|
214
214
|
xl: "xl. 랜딩, 메인 블록",
|
|
215
215
|
},
|
|
216
|
-
sizesPaddingNote: "안쪽 padding과 radius가 size별로 자연스럽게
|
|
216
|
+
sizesPaddingNote: "안쪽 padding과 radius가 size별로 자연스럽게 스왑돼요.",
|
|
217
217
|
widthLabel: "폭",
|
|
218
218
|
};
|
|
219
219
|
|
|
@@ -29,7 +29,7 @@ get_guide(topic="use-cases/structure-page-header", sections=["사례 목록", "
|
|
|
29
29
|
|
|
30
30
|
```tsx
|
|
31
31
|
<section id="use-cases">
|
|
32
|
-
<h2>In Use</h2>
|
|
32
|
+
<h2>{pathname?.startsWith("/ko") ? "사용 사례" : "In Use"}</h2>
|
|
33
33
|
<h3>{localeFromPathname(pathname) === "en" ? "Activity page" : "제목만 있는 활동 페이지"}</h3>
|
|
34
34
|
<ExampleBlock previewWidth="full"><TitleOnlyHeaderExample /></ExampleBlock>
|
|
35
35
|
<h3>{localeFromPathname(pathname) === "en" ? "Workspace settings" : "설명이 있는 설정 페이지"}</h3>
|
|
@@ -185,29 +185,29 @@ const en: Strings = {
|
|
|
185
185
|
|
|
186
186
|
const ko: Strings = {
|
|
187
187
|
title: "Page Header",
|
|
188
|
-
lead: "
|
|
188
|
+
lead: "본문 맨 위에서 페이지 제목과 주요 작업을 보여줘요. 앱 전체의 탐색은 Topbar에 두고, 현재 페이지의 정보는 Page Header에 담아요.",
|
|
189
189
|
usage: {
|
|
190
|
-
heading: "
|
|
190
|
+
heading: "사용법",
|
|
191
191
|
desc: (
|
|
192
192
|
<>
|
|
193
193
|
<Code>PageHeader.Title</Code>만 필수, 나머지 슬롯은 선택. <Code>Actions</Code>가 들어오면
|
|
194
|
-
Title과 같은 가로줄로 자동
|
|
194
|
+
Title과 같은 가로줄로 자동 분리돼요.
|
|
195
195
|
</>
|
|
196
196
|
),
|
|
197
197
|
},
|
|
198
198
|
playgroundDesc: "슬롯을 토글해 조합을 확인하세요.",
|
|
199
199
|
sizes: {
|
|
200
|
-
heading: "
|
|
200
|
+
heading: "크기",
|
|
201
201
|
desc: (
|
|
202
202
|
<>
|
|
203
|
-
<Code>size</Code>는 Title·Lead 타이포와 아래 margin을 세트로
|
|
203
|
+
<Code>size</Code>는 Title·Lead 타이포와 아래 margin을 세트로 바꿔요. 기본
|
|
204
204
|
<Code>md</Code>는 일반 운영 페이지, <Code>sm</Code>은 설정·서브페이지,
|
|
205
205
|
<Code>lg</Code>는 랜딩·docs 인덱스.
|
|
206
206
|
</>
|
|
207
207
|
),
|
|
208
208
|
},
|
|
209
209
|
withActions: {
|
|
210
|
-
heading: "
|
|
210
|
+
heading: "작업 버튼",
|
|
211
211
|
desc: (
|
|
212
212
|
<>
|
|
213
213
|
<Code>Actions</Code>는 Title과 같은 줄에 자동 분리. 보조 액션은 IconButton으로,
|
|
@@ -216,18 +216,18 @@ const ko: Strings = {
|
|
|
216
216
|
),
|
|
217
217
|
},
|
|
218
218
|
fullStack: {
|
|
219
|
-
heading: "
|
|
219
|
+
heading: "전체 조합",
|
|
220
220
|
desc: "Eyebrow·Title·Lead·Meta·Actions 전체 조립. 명세·릴리스 노트처럼 맥락이 두꺼운 자리에.",
|
|
221
221
|
},
|
|
222
222
|
api: {
|
|
223
|
-
heading: "
|
|
223
|
+
heading: "속성",
|
|
224
224
|
desc: (
|
|
225
225
|
<>
|
|
226
226
|
Compound 패턴. 서브컴포넌트는 <Code>Eyebrow</Code>, <Code>Title</Code>,
|
|
227
227
|
<Code>Lead</Code>, <Code>Meta</Code>, <Code>Actions</Code>.
|
|
228
228
|
</>
|
|
229
229
|
),
|
|
230
|
-
columns: { prop: "
|
|
230
|
+
columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
|
|
231
231
|
rows: {
|
|
232
232
|
size: "Title·Lead 타이포와 아래 margin 세트.",
|
|
233
233
|
title: "필수. 페이지 제목. h1 렌더.",
|
|
@@ -239,26 +239,26 @@ const ko: Strings = {
|
|
|
239
239
|
},
|
|
240
240
|
samples: {
|
|
241
241
|
billingTitle: "Billing",
|
|
242
|
-
billingLead: "구독 플랜과 결제 수단을
|
|
242
|
+
billingLead: "구독 플랜과 결제 수단을 관리해요.",
|
|
243
243
|
teamMembersTitle: "Team members",
|
|
244
244
|
teamMembersEyebrow: "Settings",
|
|
245
|
-
teamMembersLead: "워크스페이스에 초대된 사용자와 권한을
|
|
245
|
+
teamMembersLead: "워크스페이스에 초대된 사용자와 권한을 관리해요.",
|
|
246
246
|
teamMembersCount: "12 members",
|
|
247
247
|
lastInvited: "last invited oct 10",
|
|
248
248
|
exportBtn: "export",
|
|
249
249
|
inviteBtn: "invite",
|
|
250
250
|
apiKeysTitle: "API keys",
|
|
251
|
-
apiKeysLead: "개발자 토큰을 발급하고
|
|
251
|
+
apiKeysLead: "개발자 토큰을 발급하고 폐기해요.",
|
|
252
252
|
landingTitle: "디자인 시스템 하나로 끝",
|
|
253
|
-
landingLead: "9축 토큰 스왑으로 브랜드·밀도·형태를 즉시
|
|
253
|
+
landingLead: "9축 토큰 스왑으로 브랜드·밀도·형태를 즉시 바꿔요.",
|
|
254
254
|
docsTitle: "Documents",
|
|
255
|
-
docsLead: "팀 문서와 공유 링크를
|
|
255
|
+
docsLead: "팀 문서와 공유 링크를 관리해요.",
|
|
256
256
|
newDoc: "new doc",
|
|
257
257
|
shareLabel: "share",
|
|
258
258
|
moreLabel: "more",
|
|
259
259
|
specEyebrow: "Spec",
|
|
260
260
|
specTitle: "Checkout flow v2",
|
|
261
|
-
specLead: "결제 단계의 폼 밀도와 오류 복구를
|
|
261
|
+
specLead: "결제 단계의 폼 밀도와 오류 복구를 개선해요.",
|
|
262
262
|
draft: "draft",
|
|
263
263
|
updated: "updated oct 14",
|
|
264
264
|
author: "heeyoung",
|
|
@@ -508,7 +508,7 @@ export default function PageHeaderPage() {
|
|
|
508
508
|
</section>
|
|
509
509
|
|
|
510
510
|
<section id="use-cases">
|
|
511
|
-
<h2>In Use</h2>
|
|
511
|
+
<h2>{pathname?.startsWith("/ko") ? "사용 사례" : "In Use"}</h2>
|
|
512
512
|
<h3>{localeFromPathname(pathname) === "en" ? "Activity page" : "제목만 있는 활동 페이지"}</h3>
|
|
513
513
|
<ExampleBlock previewWidth="full"><TitleOnlyHeaderExample /></ExampleBlock>
|
|
514
514
|
<h3>{localeFromPathname(pathname) === "en" ? "Workspace settings" : "설명이 있는 설정 페이지"}</h3>
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### 사례 목록
|
|
6
6
|
|
|
7
|
-
- AI chat
|
|
8
|
-
- Workspace
|
|
9
|
-
- File cabinet
|
|
7
|
+
- AI chat: conversations
|
|
8
|
+
- Workspace: teams and projects
|
|
9
|
+
- File cabinet: folder hierarchy
|
|
10
10
|
|
|
11
11
|
문서: /en/components/structure/sidebar#use-cases
|
|
12
12
|
|
|
@@ -72,7 +72,7 @@ type Strings = {
|
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
const en: Strings = {
|
|
75
|
-
useCases: { heading: "Use Cases", chat: "AI chat
|
|
75
|
+
useCases: { heading: "Use Cases", chat: "AI chat: conversations", workspace: "Workspace: teams and projects", files: "File cabinet: folder hierarchy" },
|
|
76
76
|
title: "Sidebar",
|
|
77
77
|
lead: (
|
|
78
78
|
<>
|
|
@@ -154,63 +154,63 @@ const en: Strings = {
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const ko: Strings = {
|
|
157
|
-
useCases: { heading: "사용 사례", chat: "AI
|
|
157
|
+
useCases: { heading: "사용 사례", chat: "AI 챗: 대화 이력", workspace: "워크스페이스: 팀과 프로젝트", files: "파일함: 폴더 계층" },
|
|
158
158
|
title: "Sidebar",
|
|
159
159
|
lead: (
|
|
160
160
|
<>
|
|
161
161
|
페이지 간 이동을 담당하는 좌측 네비게이션. 항목은 <Code>MenuItem</Code>을 재사용하고
|
|
162
|
-
<Code>collapsed</Code>로 icon-only 축소 상태에 들어갈 수
|
|
162
|
+
<Code>collapsed</Code>로 icon-only 축소 상태에 들어갈 수 있어요.
|
|
163
163
|
</>
|
|
164
164
|
),
|
|
165
165
|
usage: {
|
|
166
|
-
heading: "
|
|
166
|
+
heading: "사용법",
|
|
167
167
|
desc: (
|
|
168
168
|
<>
|
|
169
169
|
<Code>Sidebar.Header</Code>, <Code>Sidebar.Body</Code>, <Code>Sidebar.Footer</Code> 세
|
|
170
|
-
구역을
|
|
170
|
+
구역을 조립해요. 안쪽 여백은 사용처에서 정해요.
|
|
171
171
|
</>
|
|
172
172
|
),
|
|
173
173
|
},
|
|
174
174
|
playgroundDesc:
|
|
175
|
-
"prop·슬롯 조합을 토글해
|
|
175
|
+
"prop·슬롯 조합을 토글해 비교해 보세요. rail을 켜면 좌측 활동 바가 붙은 2단 쉘로 전환.",
|
|
176
176
|
withSections: {
|
|
177
|
-
heading: "
|
|
177
|
+
heading: "섹션 구분",
|
|
178
178
|
desc: (
|
|
179
179
|
<>
|
|
180
|
-
<Code>Sidebar.Section</Code>으로 묶고 <Code>Sidebar.Separator</Code>로 그룹을
|
|
180
|
+
<Code>Sidebar.Section</Code>으로 묶고 <Code>Sidebar.Separator</Code>로 그룹을 나눠요.
|
|
181
181
|
Section 헤더는 색상 톤이 낮아 자연스러운 그룹 라벨 역할.
|
|
182
182
|
</>
|
|
183
183
|
),
|
|
184
184
|
},
|
|
185
185
|
withRail: {
|
|
186
|
-
heading: "
|
|
186
|
+
heading: "세로 선",
|
|
187
187
|
desc: (
|
|
188
188
|
<>
|
|
189
189
|
VS Code나 Linear 스타일 2단 쉘. <Code>Sidebar.Rail</Code>이 세로 아이콘 트랙을 공급하고
|
|
190
|
-
<Code>Sidebar.Main</Code>이 Header·Body·Footer를
|
|
190
|
+
<Code>Sidebar.Main</Code>이 Header·Body·Footer를 담아요. Rail 안 Item은 icon-only + Tooltip
|
|
191
191
|
모드로 자동 전환.
|
|
192
192
|
</>
|
|
193
193
|
),
|
|
194
194
|
},
|
|
195
195
|
collapsed: {
|
|
196
|
-
heading: "
|
|
196
|
+
heading: "접힌 상태",
|
|
197
197
|
desc: (
|
|
198
198
|
<>
|
|
199
199
|
<Code>collapsed</Code> prop으로 icon-only 축소 상태. 라벨 숨기고 폭이 좁아지며 Item은
|
|
200
|
-
자동으로 Tooltip 모드. 바깥 Shell이 애니메이션으로 폭을
|
|
200
|
+
자동으로 Tooltip 모드. 바깥 Shell이 애니메이션으로 폭을 전환해요.
|
|
201
201
|
</>
|
|
202
202
|
),
|
|
203
203
|
},
|
|
204
204
|
api: {
|
|
205
|
-
heading: "
|
|
205
|
+
heading: "속성",
|
|
206
206
|
desc: (
|
|
207
207
|
<>
|
|
208
|
-
Sidebar는
|
|
208
|
+
Sidebar는 다음 하위 컴포넌트를 조합해요: <Code>Rail</Code>, <Code>Main</Code>,
|
|
209
209
|
<Code>Header</Code>, <Code>Body</Code>, <Code>Footer</Code>, <Code>Section</Code>,
|
|
210
210
|
<Code>Separator</Code>, <Code>Item</Code>, <Code>Brand</Code>, <Code>Profile</Code>.
|
|
211
211
|
</>
|
|
212
212
|
),
|
|
213
|
-
columns: { prop: "
|
|
213
|
+
columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
|
|
214
214
|
rows: {
|
|
215
215
|
collapsed: "icon-only 축소 상태. 라벨 숨기고 폭 좁아지며 Item 자동 Tooltip 모드.",
|
|
216
216
|
fade: "Body 상단·하단 스크롤 fade mask.",
|
|
@@ -925,8 +925,8 @@ const copy = {
|
|
|
925
925
|
},
|
|
926
926
|
ko: {
|
|
927
927
|
fileCabinet: "파일함", sharedFiles: "공유 파일", archive: "보관함", designFolder: "디자인", researchFolder: "리서치", brief: "디자인 브리프.pdf", wireframes: "와이어프레임.fig", interview: "인터뷰 기록.md", findings: "리서치 결과.pdf", contract: "계약서.pdf", invoice: "청구서.xlsx",
|
|
928
|
-
overview: "개요", tasks: "작업", files: "파일", today: "오늘", yesterday: "어제", older: "12월 12일", research: "리서치 보드", assets: "브랜드 에셋", documentation: "API 문서", release: "릴리스 노트", newChat: "새 대화", search: "대화 검색", recent: "최근 대화", untitled: "새로운 대화", noChats: "검색된 대화가
|
|
929
|
-
favorites: "즐겨찾기", removeFavorite: "즐겨찾기 해제", noFavorites: "즐겨찾기가
|
|
928
|
+
overview: "개요", tasks: "작업", files: "파일", today: "오늘", yesterday: "어제", older: "12월 12일", research: "리서치 보드", assets: "브랜드 에셋", documentation: "API 문서", release: "릴리스 노트", newChat: "새 대화", search: "대화 검색", recent: "최근 대화", untitled: "새로운 대화", noChats: "검색된 대화가 없어요", profile: "계정", name: "이름", email: "이메일",
|
|
929
|
+
favorites: "즐겨찾기", removeFavorite: "즐겨찾기 해제", noFavorites: "즐겨찾기가 없어요", projects: "프로젝트", switchWorkspace: "워크스페이스 전환", design: "디자인팀", engineering: "개발팀", website: "웹사이트 개편", system: "디자인 시스템", mobile: "모바일 앱",
|
|
930
930
|
chats: ["제품 출시 계획", "웹사이트 문구 검토", "디자인 시스템 로드맵", "고객 인터뷰 질문", "릴리스 노트", "탐색 구조 아이디어", "접근성 검토", "스프린트 계획", "온보딩 흐름", "API 문서", "리서치 요약", "팀 회고"],
|
|
931
931
|
},
|
|
932
932
|
};
|