@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.
Files changed (242) hide show
  1. package/assets/components/AIMessage/AIMessage.module.css +21 -0
  2. package/assets/components/AIMessage/AIMessage.tsx +27 -7
  3. package/assets/components/AttachmentItem/AttachmentItem.module.css +41 -10
  4. package/assets/components/AttachmentItem/AttachmentItem.tsx +25 -8
  5. package/assets/components/AttachmentThumb/AttachmentThumb.module.css +9 -10
  6. package/assets/components/Callout/Callout.module.css +53 -7
  7. package/assets/components/Callout/Callout.tsx +26 -2
  8. package/assets/components/Callout/index.ts +1 -1
  9. package/assets/components/ChatComposer/ChatComposer.module.css +17 -0
  10. package/assets/components/ChatComposer/ChatComposer.tsx +131 -0
  11. package/assets/components/ChatComposer/index.ts +2 -0
  12. package/assets/components/ChatInput/ChatInput.module.css +192 -30
  13. package/assets/components/ChatInput/ChatInput.tsx +137 -45
  14. package/assets/components/ChatInput/SendButton.tsx +4 -1
  15. package/assets/components/ChatInput/index.ts +5 -0
  16. package/assets/components/ChatMessage/ChatMessage.module.css +19 -0
  17. package/assets/components/ChatMessage/ChatMessage.tsx +63 -0
  18. package/assets/components/ChatMessage/index.ts +2 -0
  19. package/assets/components/ChatReactions/ChatReactions.module.css +15 -0
  20. package/assets/components/ChatReactions/ChatReactions.tsx +58 -0
  21. package/assets/components/ChatReactions/index.ts +2 -0
  22. package/assets/components/CodeBlock/CodeBlock.module.css +106 -10
  23. package/assets/components/CodeBlock/CodeBlock.tsx +114 -29
  24. package/assets/components/CodeBlock/SyntaxHighlight.tsx +20 -0
  25. package/assets/components/CodeBlock/diff-lines.ts +21 -0
  26. package/assets/components/CodeBlock/index.ts +2 -1
  27. package/assets/components/CodeBlock/line-preview.ts +7 -0
  28. package/assets/components/CodeBlock/syntax-highlighter.ts +96 -0
  29. package/assets/components/CodeBlock/use-syntax-tokens.ts +17 -0
  30. package/assets/components/ColorField/ColorField.module.css +19 -196
  31. package/assets/components/ColorField/ColorField.tsx +116 -109
  32. package/assets/components/Combobox/Combobox.module.css +21 -4
  33. package/assets/components/Combobox/Combobox.tsx +37 -21
  34. package/assets/components/CommandPalette/CommandPalette.module.css +1 -1
  35. package/assets/components/ControlGroup/ControlGroup.module.css +13 -6
  36. package/assets/components/DatePicker/DateField.tsx +72 -25
  37. package/assets/components/DatePicker/DatePicker.module.css +28 -59
  38. package/assets/components/DatePicker/DatePicker.tsx +76 -40
  39. package/assets/components/Drawer/Drawer.module.css +12 -15
  40. package/assets/components/Drawer/Drawer.tsx +15 -23
  41. package/assets/components/EmojiPicker/EmojiGlyph.module.css +2 -0
  42. package/assets/components/EmojiPicker/EmojiGlyph.tsx +12 -0
  43. package/assets/components/EmojiPicker/EmojiPicker.module.css +43 -0
  44. package/assets/components/EmojiPicker/EmojiPicker.tsx +143 -0
  45. package/assets/components/EmojiPicker/UNICODE-LICENSE.txt +39 -0
  46. package/assets/components/EmojiPicker/data.ts +41 -0
  47. package/assets/components/EmojiPicker/emojiData-0.json +1 -0
  48. package/assets/components/EmojiPicker/emojiData-1.json +1 -0
  49. package/assets/components/EmojiPicker/emojiData-2.json +1 -0
  50. package/assets/components/EmojiPicker/emojiData-3.json +1 -0
  51. package/assets/components/EmojiPicker/emojiData.sources.json +35 -0
  52. package/assets/components/EmojiPicker/emojiData.ts +8 -0
  53. package/assets/components/EmojiPicker/emojiFallbacks.json +1 -0
  54. package/assets/components/EmojiPicker/index.ts +4 -0
  55. package/assets/components/EmptyState/EmptyState.module.css +2 -2
  56. package/assets/components/FileIcon/FileIcon.module.css +4 -6
  57. package/assets/components/Icon/LucideFamilyIcon.tsx +2 -0
  58. package/assets/components/Icon/SolarFamilyIcon.tsx +4 -0
  59. package/assets/components/Input/Input.module.css +33 -10
  60. package/assets/components/Input/Input.tsx +20 -9
  61. package/assets/components/MessageActions/MessageActions.module.css +2 -2
  62. package/assets/components/Onboarding/Onboarding.module.css +1 -1
  63. package/assets/components/ProgressBar/ProgressBar.module.css +38 -4
  64. package/assets/components/ProgressBar/ProgressBar.tsx +5 -1
  65. package/assets/components/RadioCard/RadioCard.module.css +18 -0
  66. package/assets/components/RadioCard/RadioCard.tsx +48 -7
  67. package/assets/components/Select/Select.module.css +9 -7
  68. package/assets/components/Select/Select.tsx +15 -2
  69. package/assets/components/Tabs/Tabs.module.css +1 -1
  70. package/assets/components/Tabs/Tabs.tsx +2 -2
  71. package/assets/components/Textarea/Textarea.module.css +28 -231
  72. package/assets/components/Textarea/Textarea.tsx +2 -2
  73. package/assets/components/TimePicker/TimePicker.module.css +16 -4
  74. package/assets/components/TimePicker/TimePicker.tsx +66 -8
  75. package/assets/components/Toast/Toast.module.css +18 -0
  76. package/assets/components/Toast/Toast.tsx +1 -1
  77. package/assets/components/Tooltip/Tooltip.tsx +33 -7
  78. package/assets/components/UserMessage/UserMessage.module.css +110 -1
  79. package/assets/components/UserMessage/UserMessage.tsx +138 -16
  80. package/assets/components/UserMessage/index.ts +4 -0
  81. package/assets/components/_data.ts +10 -5
  82. package/assets/components/_utils.css +31 -5
  83. package/assets/components/component-registry.json +1595 -107
  84. package/assets/components/index.ts +7 -0
  85. package/assets/components/tokens.css +83 -0
  86. package/assets/prompts/ASSEMBLY.md +11 -0
  87. package/assets/prompts/CATALOG.md +110 -106
  88. package/assets/prompts/PRINCIPLES.md +11 -1
  89. package/assets/prompts/TEMPLATE_PREVIEWS.md +21 -0
  90. package/assets/prompts/WORKFLOW_DESIGN.md +2 -0
  91. package/assets/prompts/axes/font.md +6 -0
  92. package/assets/prompts/axes/material.md +1 -1
  93. package/assets/prompts/axes/motion.md +2 -0
  94. package/assets/prompts/axes/palette.md +9 -2
  95. package/assets/prompts/axes/voice.md +4 -0
  96. package/assets/prompts/components/README.md +3 -3
  97. package/assets/prompts/components/_variants.md +35 -35
  98. package/assets/prompts/components/accordion.md +15 -15
  99. package/assets/prompts/components/ai-message.md +14 -12
  100. package/assets/prompts/components/app-frame.md +16 -16
  101. package/assets/prompts/components/attachment-item.md +36 -30
  102. package/assets/prompts/components/attachment-thumb.md +14 -12
  103. package/assets/prompts/components/avatar-upload.md +10 -10
  104. package/assets/prompts/components/avatar.md +16 -16
  105. package/assets/prompts/components/badge.md +4 -4
  106. package/assets/prompts/components/breadcrumb.md +24 -24
  107. package/assets/prompts/components/bubble.md +13 -13
  108. package/assets/prompts/components/button-group.md +1 -1
  109. package/assets/prompts/components/button.md +36 -36
  110. package/assets/prompts/components/calendar.md +29 -29
  111. package/assets/prompts/components/callout.md +39 -23
  112. package/assets/prompts/components/canvas-edge.md +5 -2
  113. package/assets/prompts/components/canvas-node.md +3 -3
  114. package/assets/prompts/components/canvas.md +5 -2
  115. package/assets/prompts/components/card.md +21 -21
  116. package/assets/prompts/components/chart-bar.md +7 -7
  117. package/assets/prompts/components/chart-pie.md +3 -3
  118. package/assets/prompts/components/chart-radar.md +3 -3
  119. package/assets/prompts/components/chart-radial.md +4 -4
  120. package/assets/prompts/components/chat-composer.md +71 -0
  121. package/assets/prompts/components/chat-input.md +82 -27
  122. package/assets/prompts/components/chat-message.md +48 -0
  123. package/assets/prompts/components/chat-reactions.md +38 -0
  124. package/assets/prompts/components/checkbox-card.md +3 -3
  125. package/assets/prompts/components/checkbox.md +17 -17
  126. package/assets/prompts/components/chip.md +32 -32
  127. package/assets/prompts/components/code-block.md +109 -66
  128. package/assets/prompts/components/code.md +4 -4
  129. package/assets/prompts/components/color-area.md +9 -9
  130. package/assets/prompts/components/color-field.md +17 -13
  131. package/assets/prompts/components/color-picker.md +6 -6
  132. package/assets/prompts/components/color-slider.md +8 -8
  133. package/assets/prompts/components/color-swatch-picker.md +8 -8
  134. package/assets/prompts/components/color-swatch.md +9 -9
  135. package/assets/prompts/components/combobox.md +5 -2
  136. package/assets/prompts/components/command-palette.md +26 -26
  137. package/assets/prompts/components/comment.md +5 -2
  138. package/assets/prompts/components/context-menu.md +22 -22
  139. package/assets/prompts/components/control-group.md +4 -4
  140. package/assets/prompts/components/date-picker.md +31 -23
  141. package/assets/prompts/components/disclosure.md +10 -10
  142. package/assets/prompts/components/drawer.md +19 -18
  143. package/assets/prompts/components/dropdown-menu.md +21 -21
  144. package/assets/prompts/components/emoji-picker.md +45 -0
  145. package/assets/prompts/components/empty-state.md +20 -18
  146. package/assets/prompts/components/event-chip.md +11 -11
  147. package/assets/prompts/components/event-list-item.md +21 -21
  148. package/assets/prompts/components/file-icon.md +18 -19
  149. package/assets/prompts/components/gallery-item.md +19 -19
  150. package/assets/prompts/components/generated-image.md +10 -10
  151. package/assets/prompts/components/hint.md +19 -19
  152. package/assets/prompts/components/icon-button.md +16 -16
  153. package/assets/prompts/components/icon.md +12 -9
  154. package/assets/prompts/components/input.md +49 -46
  155. package/assets/prompts/components/kanban.md +34 -34
  156. package/assets/prompts/components/list-item.md +39 -39
  157. package/assets/prompts/components/menu-item.md +41 -41
  158. package/assets/prompts/components/message-actions.md +6 -6
  159. package/assets/prompts/components/message-quote.md +7 -7
  160. package/assets/prompts/components/message-sources.md +10 -10
  161. package/assets/prompts/components/message-state.md +17 -17
  162. package/assets/prompts/components/message-table.md +5 -5
  163. package/assets/prompts/components/mini-calendar.md +6 -1
  164. package/assets/prompts/components/modal.md +39 -39
  165. package/assets/prompts/components/multi-select.md +4 -1
  166. package/assets/prompts/components/onboarding.md +19 -19
  167. package/assets/prompts/components/page-header.md +31 -31
  168. package/assets/prompts/components/pagination.md +17 -17
  169. package/assets/prompts/components/progress-bar.md +14 -11
  170. package/assets/prompts/components/quotation-bar.md +10 -10
  171. package/assets/prompts/components/radio-card.md +7 -6
  172. package/assets/prompts/components/radio.md +9 -9
  173. package/assets/prompts/components/select.md +28 -25
  174. package/assets/prompts/components/shortcut.md +11 -11
  175. package/assets/prompts/components/sidebar.md +56 -56
  176. package/assets/prompts/components/skeleton.md +7 -4
  177. package/assets/prompts/components/slider.md +18 -18
  178. package/assets/prompts/components/spinner.md +16 -16
  179. package/assets/prompts/components/stepper.md +14 -14
  180. package/assets/prompts/components/switch.md +19 -20
  181. package/assets/prompts/components/tab-strip.md +31 -31
  182. package/assets/prompts/components/table-cell.md +4 -4
  183. package/assets/prompts/components/table-header.md +16 -16
  184. package/assets/prompts/components/table-row-edit.md +19 -19
  185. package/assets/prompts/components/table-row-select.md +9 -9
  186. package/assets/prompts/components/table-row.md +18 -18
  187. package/assets/prompts/components/tabs.md +26 -25
  188. package/assets/prompts/components/tag.md +6 -6
  189. package/assets/prompts/components/textarea.md +16 -15
  190. package/assets/prompts/components/time-picker.md +21 -14
  191. package/assets/prompts/components/timeline-view.md +4 -4
  192. package/assets/prompts/components/toast.md +42 -41
  193. package/assets/prompts/components/toolbar.md +23 -23
  194. package/assets/prompts/components/tooltip.md +15 -14
  195. package/assets/prompts/components/top-loader.md +11 -11
  196. package/assets/prompts/components/topbar.md +35 -35
  197. package/assets/prompts/components/tree-nav.md +9 -9
  198. package/assets/prompts/components/user-message.md +23 -12
  199. package/assets/prompts/design-examples/README.md +1 -1
  200. package/assets/prompts/design-examples/ai-chat-full-page.png +0 -0
  201. package/assets/prompts/design-examples/catalog.json +124 -1
  202. package/assets/prompts/design-examples/sources/ai-chat-full-page/ChatExperience.module.css +346 -0
  203. package/assets/prompts/design-examples/sources/ai-chat-full-page/ChatExperience.tsx +375 -0
  204. package/assets/prompts/design-examples/sources/ai-chat-full-page/FullPageChat.tsx +8 -0
  205. package/assets/prompts/design-examples/sources/ai-chat-full-page/REFERENCE.md +19 -0
  206. package/assets/prompts/design-examples/sources/ai-chat-full-page/useChatDemo.ts +139 -0
  207. package/assets/prompts/design-examples/sources/ai-chat-full-page/useDemoTextStream.ts +30 -0
  208. package/assets/prompts/primitives/emerge.md +2 -0
  209. package/assets/prompts/templates/README.md +1 -1
  210. package/assets/prompts/templates/ains.md +7 -0
  211. package/assets/prompts/templates/minimal.md +6 -0
  212. package/assets/prompts/templates/onboarding.md +156 -0
  213. package/assets/prompts/templates/workspace.md +13 -8
  214. package/assets/prompts/tokens/color.md +7 -2
  215. package/assets/prompts/tokens/radius.md +22 -0
  216. package/assets/prompts/use-cases/chart-chart-area.md +40 -40
  217. package/assets/prompts/use-cases/chart-chart-bar.md +34 -34
  218. package/assets/prompts/use-cases/chart-chart-pie.md +14 -14
  219. package/assets/prompts/use-cases/chart-chart-radar.md +24 -24
  220. package/assets/prompts/use-cases/chart-chart-radial.md +14 -14
  221. package/assets/prompts/use-cases/chart-segmented-chart.md +32 -32
  222. package/assets/prompts/use-cases/chat-chat-composer.md +529 -0
  223. package/assets/prompts/use-cases/chat-chat-input.md +1766 -0
  224. package/assets/prompts/use-cases/data-comment.md +39 -39
  225. package/assets/prompts/use-cases/data-data-table.md +34 -34
  226. package/assets/prompts/use-cases/data-list-item.md +16 -16
  227. package/assets/prompts/use-cases/data-metric-card.md +18 -18
  228. package/assets/prompts/use-cases/data-table-row.md +19 -19
  229. package/assets/prompts/use-cases/data-table-toolbar.md +10 -10
  230. package/assets/prompts/use-cases/feedback-drawer.md +35 -30
  231. package/assets/prompts/use-cases/feedback-progress-bar.md +23 -18
  232. package/assets/prompts/use-cases/general-toolbar.md +16 -16
  233. package/assets/prompts/use-cases/general-tooltip.md +26 -26
  234. package/assets/prompts/use-cases/input-checkbox.md +27 -27
  235. package/assets/prompts/use-cases/structure-card.md +9 -9
  236. package/assets/prompts/use-cases/structure-page-header.md +17 -17
  237. package/assets/prompts/use-cases/structure-sidebar.md +20 -20
  238. package/assets/prompts/use-cases/structure-topbar.md +38 -42
  239. package/assets/skills/ovenn-wireframe/SKILL.md +17 -4
  240. package/package.json +6 -2
  241. package/src/utils/design-examples.js +3 -4
  242. package/assets/prompts/templates/glass-button.md +0 -337
@@ -0,0 +1,156 @@
1
+ # onboarding@1.0.0
2
+
3
+ 생성된 설치 아티팩트. 변형과 exact 보존 정책은 PRINCIPLES/ASSEMBLY 원본을 따른다.
4
+
5
+ ## OnboardingSidebar.tsx
6
+
7
+ ```tsx
8
+ "use client";
9
+
10
+ import { useEffect, useRef, useState, type ReactNode } from "react";
11
+ import { Stepper } from "@/components/ovenn/Stepper";
12
+ type Locale = "ko" | "en";
13
+ import styles from "./OnboardingSidebar.module.css";
14
+
15
+ const strings = {
16
+ ko: { name: "Onboarding", blurb: "짙은 차콜 패널과 번호·완료 상태를 표시하는 단계 탐색 사이드바.", label: "온보딩 단계", steps: [
17
+ { title: "프로덕트 분위기", hint: "모서리 · 모션의 기본 조합" },
18
+ { title: "정보 밀도", hint: "한 화면에 얼마나 빽빽하게 담을지." },
19
+ { title: "컬러 & 톤", hint: "팔레트 선택 + 브랜드 색." },
20
+ { title: "표면 재질", hint: "솔리드 또는 글래스" },
21
+ { title: "레이아웃", hint: "사이드바 · 탑바 조합." },
22
+ { title: "요약 & 적용", hint: "선택을 확인하고 프로젝트에 반영." },
23
+ ] },
24
+ en: { name: "Onboarding", blurb: "A charcoal step sidebar with numbered markers and completion states.", label: "Onboarding steps", steps: [
25
+ { title: "Product tone", hint: "Default corners and motion" },
26
+ { title: "Density", hint: "Information per screen" },
27
+ { title: "Color and tone", hint: "Palette and brand color" },
28
+ { title: "Material", hint: "Solid or glass surfaces" },
29
+ { title: "Layout", hint: "Sidebar and topbar composition" },
30
+ { title: "Review and apply", hint: "Confirm your selections" },
31
+ ] },
32
+ };
33
+
34
+ export type OnboardingSidebarProps = {
35
+ steps: readonly { id: string; title: ReactNode; hint?: ReactNode; disabled?: boolean }[];
36
+ activeIndex: number;
37
+ onStepClick: (index: number) => void;
38
+ brand?: ReactNode;
39
+ label?: string;
40
+ presentation?: "responsive" | "desktop";
41
+ };
42
+
43
+ export function OnboardingSidebar({ steps, activeIndex, onStepClick, brand, label = "Onboarding", presentation = "responsive" }: OnboardingSidebarProps) {
44
+ const railRef = useRef<HTMLElement>(null);
45
+ const navigationRef = useRef<HTMLDivElement>(null);
46
+ const [compact, setCompact] = useState(false);
47
+ const [shortHeight, setShortHeight] = useState(false);
48
+ useEffect(() => {
49
+ if (presentation === "desktop") return;
50
+ const rail = railRef.current;
51
+ if (!rail) return;
52
+ // The containing slot, rather than the page viewport, determines orientation.
53
+ const slot = rail.parentElement ?? rail;
54
+ const width = window.matchMedia("(max-width: 900px)");
55
+ const updateWidth = () => setCompact(width.matches && slot.clientWidth <= 600);
56
+ const observer = new ResizeObserver(updateWidth);
57
+ updateWidth();
58
+ width.addEventListener("change", updateWidth);
59
+ observer.observe(slot);
60
+ const height = window.matchMedia("(max-height: 800px)");
61
+ const update = () => setShortHeight(height.matches);
62
+ update();
63
+ height.addEventListener("change", update);
64
+ return () => { observer.disconnect(); width.removeEventListener("change", updateWidth); height.removeEventListener("change", update); };
65
+ }, [presentation]);
66
+ useEffect(() => {
67
+ const viewport = navigationRef.current;
68
+ const current = viewport?.querySelector<HTMLElement>('[aria-current="step"]');
69
+ if (!viewport || !current) return;
70
+ const frame = viewport.getBoundingClientRect();
71
+ const item = current.getBoundingClientRect();
72
+ if (compact) {
73
+ if (item.left < frame.left) viewport.scrollLeft += item.left - frame.left;
74
+ else if (item.right > frame.right) viewport.scrollLeft += item.right - frame.right;
75
+ } else {
76
+ if (item.top < frame.top) viewport.scrollTop += item.top - frame.top;
77
+ else if (item.bottom > frame.bottom) viewport.scrollTop += item.bottom - frame.bottom;
78
+ }
79
+ }, [compact, activeIndex]);
80
+ return <aside ref={railRef} className={styles.root} data-mode="dark" data-compact={compact || undefined} aria-label={label}>
81
+ <div className={styles.brand}>{brand ?? <span className={styles.logo} role="img" aria-label="Ovenn" />}</div>
82
+ <div ref={navigationRef} className={styles.navigation}>
83
+ <Stepper className={styles.steps} orientation={compact ? "horizontal" : "vertical"} activeIndex={activeIndex} onStepClick={onStepClick} marker="number" tone="neutral" aria-label={label}>
84
+ {steps.map((step) => <Stepper.Item key={step.id} title={step.title} hint={compact || shortHeight ? undefined : step.hint} disabled={step.disabled} />)}
85
+ </Stepper>
86
+ </div>
87
+ </aside>;
88
+ }
89
+
90
+ export function OnboardingSidebarPreview({ lang = "ko" as Locale, thumbnail = false }: { lang?: Locale; thumbnail?: boolean } = {}) {
91
+ const t = strings[lang];
92
+ const [activeIndex, setActiveIndex] = useState(0);
93
+ const sidebar = <OnboardingSidebar presentation="desktop" steps={t.steps.map((step, index) => ({ ...step, id: String(index), disabled: index > 2 }))} activeIndex={activeIndex} onStepClick={setActiveIndex} label={t.label} />;
94
+ return thumbnail ? sidebar : <div className={styles.preview}>{sidebar}</div>;
95
+ }
96
+ ```
97
+
98
+ ## OnboardingSidebar.module.css
99
+
100
+ ```css
101
+ .root {
102
+ /* Scoped values from Onboarding/palette.css; install without the docs stylesheet. */
103
+ --onboarding-bg: #2c2825; /* lint-hardcoded: ignore — scoped template palette definition */
104
+ --onboarding-fg: #eee9e2; /* lint-hardcoded: ignore — scoped template palette definition */
105
+ --onboarding-muted: #a69b94; /* lint-hardcoded: ignore — scoped template palette definition */
106
+ --onboarding-hover: rgb(238 233 226 / 8%); /* lint-hardcoded: ignore — scoped template palette definition */
107
+ display: flex;
108
+ flex-direction: column;
109
+ width: calc(var(--size-24) * 4);
110
+ max-width: 100%;
111
+ height: 100%;
112
+ min-height: 0;
113
+ min-width: 0;
114
+ box-sizing: border-box;
115
+ padding: var(--space-8);
116
+ gap: var(--space-12);
117
+ overflow: hidden;
118
+ background: var(--onboarding-bg);
119
+ color: var(--onboarding-fg);
120
+ border-radius: var(--radius-2xl);
121
+ corner-shape: var(--corner-shape);
122
+ }
123
+ .brand { flex-shrink: 0; }
124
+ .logo {
125
+ --onboarding-logo-mask: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTGF5ZXJfMiIgZGF0YS1uYW1lPSJMYXllciAyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OC43NyA5Ljg4Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjMzYzNjM2OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8ZyBpZD0iX+ugiOydtOyWtF8xIiBkYXRhLW5hbWU9IiDroIjsnbTslrQgMSI+CiAgICA8Zz4KICAgICAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNC44NiwwYy0xLjM1LDAtMi41MS40OS0zLjQ0LDEuNDYtLjk0Ljk3LTEuNDEsMi4xNS0xLjQxLDMuNTFzLjQ3LDIuNTEsMS40LDMuNDdjLjkzLjk2LDIuMSwxLjQ1LDMuNDYsMS40NXMyLjUzLS40OSwzLjQ1LTEuNDVjLjkzLS45NiwxLjQtMi4xMywxLjQtMy40OHMtLjQ4LTIuNTItMS40MS0zLjQ5Yy0uOTQtLjk3LTIuMS0xLjQ2LTMuNDQtMS40NlpNOC4yOCw0Ljk4YzAsLjk4LS4zNCwxLjgyLTEsMi41MS0uNjYuNjgtMS40OCwxLjAzLTIuNDQsMS4wM3MtMS43Ny0uMzQtMi40Mi0xLjAyYy0uNjUtLjY4LS45Ny0xLjUyLS45Ny0yLjVzLjM0LTEuODMsMS4wMS0yLjU0Yy42Ny0uNzEsMS40OC0xLjA2LDIuNC0xLjA2czEuNzMuMzYsMi40MSwxLjA2Yy42OC43MSwxLjAyLDEuNTYsMS4wMiwyLjUyWiIvPgogICAgICA8cG9seWdvbiBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTQuMzMgNi45NyAxMS4zOCAuMjQgOS44NiAuMjQgMTQuMTYgOS44OCAxNC41MyA5Ljg4IDE4LjggLjI0IDE3LjI3IC4yNCAxNC4zMyA2Ljk3Ii8+CiAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTI4LjYsNS4wM2MtLjAzLTEuNTQtLjUyLTIuNzgtMS40My0zLjY4LS45Mi0uOS0yLjA2LTEuMzUtMy40MS0xLjM1cy0yLjQ5LjQ5LTMuNDEsMS40NmMtLjkxLjk3LTEuMzgsMi4xNC0xLjM4LDMuNDlzLjQ2LDIuNTIsMS4zNywzLjQ4Yy45MS45NiwyLjA4LDEuNDUsMy40OCwxLjQ1LDEuOTYsMCwzLjQ2LS45NCw0LjQ2LTIuOGwuMDYtLjExLTEuMjItLjYzLS4wNi4xMWMtLjc1LDEuNDItMS44NCwyLjExLTMuMzUsMi4xMS0uOSwwLTEuNjctLjMyLTIuMy0uOTYtLjYtLjYxLS45NC0xLjQzLS45OS0yLjQzaDguMTh2LS4xM1pNMjAuNTksMy45Yy41My0xLjcsMS41Ny0yLjUyLDMuMTktMi41Mi44LDAsMS41Mi4yNCwyLjEzLjcxLjU3LjQ0Ljk1LDEuMDUsMS4xMiwxLjgxaC02LjQ0WiIvPgogICAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik0zNC4zMywwYy0yLjM2LDAtNC4yOCwxLjk0LTQuMzEsNC4zNHY1LjI0czEuNSwwLDEuNSwwdi0zLjQ2YzAtLjMxLDAtMS40NS4wMS0xLjcyLDAtMS42NCwxLjI5LTMuMDIsMi44MS0zLjAyczIuODQsMS4zOSwyLjg0LDMuMDN2NS4xN2gxLjQ4di01LjE4YzAtMi40Mi0xLjk0LTQuMzktNC4zMS00LjM5WiIvPgogICAgICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00NC40NSwwYy0yLjM2LDAtNC4yOCwxLjk0LTQuMzEsNC4zNHY1LjI0czEuNSwwLDEuNSwwdi0zLjQ2YzAtLjMxLDAtMS40Ni4wMS0xLjcyLDAtMS42NCwxLjI5LTMuMDIsMi44MS0zLjAyczIuODQsMS4zOSwyLjg0LDMuMDN2NS4xN2gxLjQ4di01LjE4YzAtMi40Mi0xLjk0LTQuMzktNC4zMS00LjM5WiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+"); /* lint-hardcoded: ignore — bundled original wordmark asset */
126
+ display: block;
127
+ width: var(--size-20);
128
+ height: var(--size-4);
129
+ background: currentColor;
130
+ mask: var(--onboarding-logo-mask) center / contain no-repeat;
131
+ }
132
+ .navigation { flex: 1; min-height: 0; min-width: 0; overflow: auto; }
133
+
134
+ .steps > button:focus-visible { box-shadow: none; background: var(--onboarding-hover); }
135
+ .root[data-compact] { width: 100%; height: auto; padding: var(--space-5); gap: var(--space-5); }
136
+ .root[data-compact] .navigation { flex: none; }
137
+ .root[data-compact] .steps { min-width: max-content; }
138
+ .root[data-compact] .steps > button { flex: 0 0 auto; white-space: nowrap; }
139
+ .steps > button { word-break: keep-all; }
140
+ @media (max-height: 800px) { .root { gap: var(--space-6); } }
141
+
142
+ /* The detail stage preserves the original onboarding canvas; thumbnails render the rail alone. */
143
+ .preview {
144
+ --onboarding-canvas: #f8f6f2; /* lint-hardcoded: ignore — original onboarding canvas token definition */
145
+ display: flex;
146
+ justify-content: center;
147
+ width: 100%;
148
+ height: 100%;
149
+ min-width: 0;
150
+ min-height: 0;
151
+ box-sizing: border-box;
152
+ padding: var(--space-6);
153
+ background: var(--template-preview-bg, var(--onboarding-canvas));
154
+ }
155
+ @media (max-width: 900px) { .preview { padding: var(--space-4); } }
156
+ ```
@@ -127,9 +127,9 @@ export function WorkspaceSidebar({ lang = "ko" as Locale }: { lang?: Locale } =
127
127
  >{t.workspaceName}</MenuItem>
128
128
  )}
129
129
  <IconButton
130
- size="md"
130
+ size="sm"
131
131
  variant="ghost"
132
- icon={<Icon name="sidebar-simple" size={18} />}
132
+ icon={<Icon name="sidebar-simple" size={16} />}
133
133
  aria-label={collapsed ? t.sidebarExpandAria : t.sidebarCollapseAria}
134
134
  onClick={() => setCollapsed((v) => !v)}
135
135
  />
@@ -229,24 +229,29 @@ export function WorkspaceSidebar({ lang = "ko" as Locale }: { lang?: Locale } =
229
229
  ```css
230
230
  /* Workspace 템플릿 — Taskify 스타일.
231
231
  4영역: Workspace Header · Search · Main Menu(스크롤 ①) · Pinned(스크롤 ②).
232
- 배경 subtle 톤, active pill(흰색 + 아주 옅은 그림자).
232
+ 배경은 라이트 흰색·다크 검정, active pill은 subtle 톤.
233
233
 
234
234
  패딩 공급 — 벤더 Sidebar는 패딩 공급 안 함. 각 wrapper className이 자기
235
235
  콘텐츠 래퍼 역할을 겸하므로 wrapper에 직접 좌우/상하 padding 공급. */
236
236
 
237
237
  .root {
238
- --menu-active-bg: var(--bg);
238
+ --menu-active-bg: var(--bg-subtle);
239
+ background: var(--fixed-white);
239
240
  /* Separator 좌우 inset — nav wrapper padding과 동일하게 들여써 메뉴 폭에 맞춤. */
240
241
  --separator-inset-x: var(--space-3);
241
242
  border-right: var(--hairline) solid var(--border);
242
243
  }
243
244
 
245
+ :global([data-mode="dark"]) .root {
246
+ background: var(--fixed-black);
247
+ }
248
+
244
249
  /* Workspace Header — MenuItem avatar preset 트리거 좌, 접기 IconButton 우. */
245
250
  .wsHeader {
246
251
  display: flex;
247
252
  align-items: center;
248
- gap: var(--space-2);
249
- padding: var(--space-3);
253
+ gap: var(--space-1);
254
+ padding: var(--space-2) var(--space-3);
250
255
  }
251
256
 
252
257
  /* 트리거가 Header 안에서 남은 공간 꽉. MenuItem이 width:100% grid라 flex-grow만. */
@@ -315,9 +320,9 @@ export function WorkspaceSidebar({ lang = "ko" as Locale }: { lang?: Locale } =
315
320
  padding-inline: calc(var(--space-3) + var(--space-2));
316
321
  }
317
322
 
318
- /* Active 상태 — 흰 배경만. radius는 MenuItem 기본값 유지. */
323
+ /* Active 상태 — subtle 배경. radius는 MenuItem 기본값 유지. */
319
324
  .nav :global([data-active]) {
320
- background: var(--bg);
325
+ background: var(--menu-active-bg);
321
326
  }
322
327
 
323
328
  /* ─── Collapsed 상태 ─────────────────────────────────────
@@ -6,7 +6,7 @@ Semantic 이름으로 참조. 실제 색은 Palette(brand hex + paletteSet + mon
6
6
 
7
7
  ### Do
8
8
  - **브랜드 색은 하나 — `--primary`**. 주 액션(CTA·submit·confirm)·링크·활성 상태·강조 전부 primary로. 브랜드 톤이 둘로 쪼개지지 않게.
9
- - 텍스트 위계: 본문 `--fg`, 보조 `--fg-muted`, 메타·플레이스홀더 `--fg-subtle`.
9
+ - 텍스트 위계: 본문 `--fg`, 보조 `--fg-muted`, 메타 `--fg-subtle`, 플레이스홀더 `--fg-placeholder`. 플레이스홀더는 Select·날짜/시간 필드처럼 실제 텍스트로 렌더되는 자리가 있으므로 subtle보다 진한 알파로 AA 4.5:1을 지키되 본문보다 옅게 유지한다.
10
10
  - 표면 위계: 페이지 `--bg`, 카드/영역 `--bg-subtle`, 코드/hover `--bg-muted`.
11
11
  - 앱 탑바와 본문 페이지 바탕은 언제나 같은 색을 쓴다. AppFrame은 공통 `--app-frame-bg`(기본 `--bg`)로 Topbar·Tabs·Content를 연결한다. 프로젝트에서 바탕을 바꾸면 이 매핑과 페이지 바탕을 함께 바꾼다. 사이드바와 카드의 표면 구분은 [[components/app-frame]]의 배경 계약을 따른다.
12
12
  - 다크의 일반 `--border`는 밝은 전경18% 알파, `--border-strong`은26% 알파로 구분한다. 전용 테이블 경계는 별도 토큰을 따른다.
@@ -43,7 +43,8 @@ Semantic 이름으로 참조. 실제 색은 Palette(brand hex + paletteSet + mon
43
43
  |---|---|
44
44
  | `--fg` | 본문 |
45
45
  | `--fg-muted` | 보조 텍스트 |
46
- | `--fg-subtle` | 메타·플레이스홀더 |
46
+ | `--fg-subtle` | 메타 |
47
+ | `--fg-placeholder` | 플레이스홀더. 실제 텍스트로 렌더되는 자리표시도 AA 대비를 지킴 |
47
48
 
48
49
  **경계**
49
50
  | Token | 용도 |
@@ -103,3 +104,7 @@ mono에서는 모든 chart token의 chroma가 0이다. 단순 등간격 그레
103
104
  | `--hover` | 반복 리스트·메뉴·탭·테이블 hover 공통. 라이트 검정 3%, 다크 흰색 3% 알파 오버레이 |
104
105
  | `--tooltip-bg` | Tooltip 배경 (Mode 반전: light면 다크, dark면 라이트) |
105
106
  | `--tooltip-fg` | Tooltip 텍스트 (Mode 반전) |
107
+
108
+ ### 플레이스홀더 표현
109
+
110
+ `--fg-placeholder`는 native input/textarea의 `::placeholder`와 Select·날짜/시간 필드·검색 트리거의 자리표시 라벨에 공통으로 쓴다. 투명도로 옅게 만들지 않는다. 본문·라벨·도움말·disabled 토큰은 변경하지 않는다.
@@ -11,6 +11,7 @@ Squircle 보정 배율은 `radius-scale`(standard·pill1.8, soft1.72, crisp1)이
11
11
  - 표면 위 SVG 외곽선은 CSS의 radius·corner-shape에서 같은 경로를 생성한다. 별도 rect rx로 일반 원호를 겹치면 squircle과 어긋난다. border/outline 같은 동일 요소의 네이티브 경계와 구분한다.
12
12
 
13
13
  ### Do
14
+ - 직접 만든 카드·모달·패널도 [[PRINCIPLES]] §5b-1을 따른다. 컴포넌트를 쓰지 않았다는 이유로 곡선 선언을 생략하지 않는다.
14
15
  - 컴포넌트 크기에 맞춰 스케일 선택: 작을수록 작은 radius.
15
16
  - 완전한 원형(Avatar, Pill Chip)은 `radius-full`.
16
17
  - 각져야 하는 표·시트 셀은 `radius-none`.
@@ -22,6 +23,27 @@ Squircle 보정 배율은 `radius-scale`(standard·pill1.8, soft1.72, crisp1)이
22
23
  ### Fallback
23
24
  애매하면 `radius-sm` (Button·Input 기본 스케일).
24
25
 
26
+ ### 직접 만든 표면
27
+
28
+ ```css
29
+ .customCard {
30
+ border-radius: var(--radius-md);
31
+ corner-shape: var(--card-corner-shape);
32
+ }
33
+
34
+ .customModal {
35
+ border-radius: var(--radius-lg);
36
+ corner-shape: var(--corner-shape);
37
+ }
38
+
39
+ .innerSurface {
40
+ border-radius: inherit;
41
+ corner-shape: inherit;
42
+ }
43
+ ```
44
+
45
+ 토큰 CSS가 불러오는 `_utils.css`의 `ovenn-shape` layer는 모든 요소와 `::before`·`::after`에 Shape 곡선을 기본 적용한다. 따라서 직접 만든 표면도 `border-radius`가 있으면 별도 클래스 없이 squircle이 적용된다. 반경이 0인 요소는 그대로 각지게 유지하며 카드·모달 역할을 추측해 반경을 추가하지 않는다. 카드 전용 곡선이나 내부 곡선 상속이 필요하면 위 예시처럼 직접 선언한다. 기존 컴포넌트의 명시적 round·mini·Switch 곡률은 기본 layer보다 우선한다. pseudo-element로 둥근 표면이나 경계를 만들 때도 반경과 곡선을 함께 맞춘다. `radius-full` 또는 50% 반경으로 원형을 직접 만드는 요소는 `corner-shape: round` 또는 `data-corner-shape="round"`를 사용한다. CSS는 반경만으로 원형과 둥근 표면의 의미를 구분하지 않는다. 이 속성은 해당 요소와 그 pseudo-element에만 적용된다. 미지원 브라우저는 기존 radius로 표시한다.
46
+
25
47
  ### 관련
26
48
  - [[axes/shape]] — radius 값을 스왑
27
49
 
@@ -30,7 +30,7 @@ get_guide(topic="use-cases/chart-chart-area", sections=["사례 목록", "파일
30
30
 
31
31
  ```tsx
32
32
  <section id="use-cases">
33
- <h2>In Use</h2>
33
+ <h2>{!en ? "사용 사례" : "In Use"}</h2>
34
34
  <h3>{en ? "Today vs yesterday" : "오늘과 어제 비교"}</h3>
35
35
  <ExampleBlock previewWidth="full">
36
36
  <TrafficComparisonExample />
@@ -192,7 +192,7 @@ const en: Strings = {
192
192
 
193
193
  const ko: Strings = {
194
194
  title: "Line & Area Chart",
195
- lead: "시간에 따른 추세를 선과 영역으로 보여줍니다. 변화의 흐름은 선으로, 전체 규모는 영역으로 비교합니다.",
195
+ lead: "시간에 따른 추세를 선과 영역으로 보여줘요. 변화의 흐름은 선으로, 전체 규모는 영역으로 비교해요.",
196
196
 
197
197
  months: ["1월", "2월", "3월", "4월", "5월", "6월"],
198
198
  desktopLabel: "데스크톱",
@@ -201,74 +201,74 @@ const ko: Strings = {
201
201
  dateFmt: (month, day) => `${month}월 ${day}일`,
202
202
 
203
203
  usage: {
204
- heading: "Usage",
205
- desc: "일정한 간격으로 기록한 수치의 흐름을 볼 때 사용합니다.",
204
+ heading: "사용법",
205
+ desc: "일정한 간격으로 기록한 수치의 흐름을 볼 때 사용해요.",
206
206
  },
207
207
 
208
208
 
209
209
  variants: {
210
- heading: "Variants",
211
- desc: "수치가 변하는 방식에 맞춰 선의 형태를 선택합니다.",
212
- linearDesc: "기록된 각 수치 사이의 변화를 그대로 비교할 때는 직선을 사용합니다.",
213
- stepDesc: "가격처럼 다음 변경 시점까지 값이 유지되면 계단형을 사용합니다.",
210
+ heading: "표현",
211
+ desc: "수치가 변하는 방식에 맞춰 선의 형태를 선택해요.",
212
+ linearDesc: "기록된 각 수치 사이의 변화를 그대로 비교할 때는 직선을 사용해요.",
213
+ stepDesc: "가격처럼 다음 변경 시점까지 값이 유지되면 계단형을 사용해요.",
214
214
  },
215
215
 
216
216
  stacked: {
217
- heading: "Stacked",
218
- desc: "합계와 각 항목의 구성을 함께 비교할 때 영역을 쌓아 사용합니다.",
219
- expandDesc: "전체 규모보다 비중의 변화가 중요하면 100% 누적을 사용합니다.",
217
+ heading: "누적",
218
+ desc: "합계와 각 항목의 구성을 함께 비교할 때 영역을 쌓아 사용해요.",
219
+ expandDesc: "전체 규모보다 비중의 변화가 중요하면 100% 누적을 사용해요.",
220
220
  },
221
221
 
222
222
  gradient: {
223
- heading: "Gradient Fill",
224
- desc: "여러 영역이 겹칠 때는 채움을 옅게 조정합니다.",
223
+ heading: "그라데이션 채우기",
224
+ desc: "여러 영역이 겹칠 때는 채움을 옅게 조정해요.",
225
225
  },
226
226
 
227
227
  withAxis: {
228
- heading: "With Axis",
229
- desc: "절대값을 비교해야 할 때는 수치 축을 함께 표시합니다.",
228
+ heading: "수치 축",
229
+ desc: "절대값을 비교해야 할 때는 수치 축을 함께 표시해요.",
230
230
  },
231
231
 
232
232
  withLegend: {
233
- heading: "With Legend",
234
- desc: "둘 이상의 데이터 계열을 비교할 때는 범례를 함께 표시합니다.",
233
+ heading: "범례",
234
+ desc: "둘 이상의 데이터 계열을 비교할 때는 범례를 함께 표시해요.",
235
235
  },
236
236
 
237
237
  interactive: {
238
238
  heading: "기간 선택",
239
- desc: "특정 구간의 변화를 살펴볼 수 있도록 조회 기간을 선택하게 합니다.",
239
+ desc: "특정 구간의 변화를 살펴볼 수 있도록 조회 기간을 선택하게 해요.",
240
240
  },
241
241
 
242
242
  api: {
243
- heading: "API Reference",
244
- desc: "공통 차트 옵션은 아래 표에서 확인합니다. 차트별 옵션은",
243
+ heading: "속성",
244
+ desc: "공통 차트 옵션은 아래 표에서 확인해요. 차트별 옵션은",
245
245
  officialDocs: "Recharts 문서",
246
- columns: { prop: "Prop", type: "Type", default: "Default", desc: "Description" },
246
+ columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
247
247
  columnsKey: { prop: "Key", type: "Type", default: "Default", desc: "Description" },
248
248
  container: {
249
- config: "각 데이터 계열의 이름·색상·아이콘을 지정합니다.",
250
- className: "차트 컨테이너에 스타일을 추가합니다.",
251
- children: "표시할 차트를 지정합니다.",
249
+ config: "각 데이터 계열의 이름·색상·아이콘을 지정해요.",
250
+ className: "차트 컨테이너에 스타일을 추가해요.",
251
+ children: "표시할 차트를 지정해요.",
252
252
  },
253
253
  tooltip: {
254
- indicator: "데이터 계열을 구분하는 표시의 모양입니다.",
255
- hideLabel: "수치 위에 표시되는 제목을 숨깁니다.",
256
- hideIndicator: "데이터 계열의 구분 표시를 숨깁니다.",
257
- nameKey: "데이터 계열을 식별할 키입니다.",
258
- labelKey: "툴팁 제목으로 사용할 데이터 키입니다.",
259
- labelFormatter: "툴팁 제목의 표시 형식을 바꿉니다.",
260
- formatter: "툴팁의 각 행을 구성합니다.",
254
+ indicator: "데이터 계열을 구분하는 표시의 모양이에요.",
255
+ hideLabel: "수치 위에 표시되는 제목을 숨겨요.",
256
+ hideIndicator: "데이터 계열의 구분 표시를 숨겨요.",
257
+ nameKey: "데이터 계열을 식별할 키예요.",
258
+ labelKey: "툴팁 제목으로 사용할 데이터 키예요.",
259
+ labelFormatter: "툴팁 제목의 표시 형식을 바꿔요.",
260
+ formatter: "툴팁의 각 행을 구성해요.",
261
261
  },
262
262
  legend: {
263
- hideIcon: "사용자 지정 아이콘 대신 색상 표시를 사용합니다.",
264
- nameKey: "범례 항목을 식별할 데이터 키입니다.",
265
- verticalAlign: "범례를 차트 위나 아래에 배치합니다.",
263
+ hideIcon: "사용자 지정 아이콘 대신 색상 표시를 사용해요.",
264
+ nameKey: "범례 항목을 식별할 데이터 키예요.",
265
+ verticalAlign: "범례를 차트 위나 아래에 배치해요.",
266
266
  },
267
267
  config: {
268
- label: "툴팁과 범례에 표시할 데이터 계열의 이름입니다.",
269
- icon: "데이터 계열의 이름 옆에 표시할 아이콘입니다.",
270
- color: "고정 색상이며 모드별 색상과 함께 지정할 수 없습니다.",
271
- theme: "라이트·다크 모드별 색상이며 고정 색상과 함께 지정할 수 없습니다.",
268
+ label: "툴팁과 범례에 표시할 데이터 계열의 이름이에요.",
269
+ icon: "데이터 계열의 이름 옆에 표시할 아이콘이에요.",
270
+ color: "고정 색상이며 모드별 색상과 함께 지정할 수 없어요.",
271
+ theme: "라이트·다크 모드별 색상이며 고정 색상과 함께 지정할 수 없어요.",
272
272
  },
273
273
  },
274
274
  };
@@ -868,7 +868,7 @@ const filtered = useMemo(() => data.slice(-N[range]), [range]);
868
868
  </section>
869
869
 
870
870
  <section id="use-cases">
871
- <h2>In Use</h2>
871
+ <h2>{!en ? "사용 사례" : "In Use"}</h2>
872
872
  <h3>{en ? "Today vs yesterday" : "오늘과 어제 비교"}</h3>
873
873
  <ExampleBlock previewWidth="full">
874
874
  <TrafficComparisonExample />
@@ -895,7 +895,7 @@ const filtered = useMemo(() => data.slice(-N[range]), [range]);
895
895
  { key: "desc", label: t.api.columns.desc, flex: true, minWidth: 240 },
896
896
  ]}
897
897
  rows={[
898
- { prop: "animateIn", type: "boolean", default: "true", desc: en ? "Draws the chart once when it first enters the viewport." : "화면에 처음 나타날 때 차트를 한 번 그립니다." },
898
+ { prop: "animateIn", type: "boolean", default: "true", desc: en ? "Draws the chart once when it first enters the viewport." : "화면에 처음 나타날 때 차트를 한 번 그려요." },
899
899
  { prop: "config", type: "ChartConfig", default: "-", desc: t.api.container.config },
900
900
  { prop: "className", type: "string", default: "-", desc: t.api.container.className },
901
901
  { prop: "children", type: "ReactElement", default: "-", desc: t.api.container.children },
@@ -188,7 +188,7 @@ const en: Strings = {
188
188
 
189
189
  const ko: Strings = {
190
190
  title: "Bar Chart",
191
- lead: "항목별 수치를 막대 길이로 비교합니다. 순위를 살피거나 값의 차이를 정확히 비교할 때 사용합니다.",
191
+ lead: "항목별 수치를 막대 길이로 비교해요. 순위를 살피거나 값의 차이를 정확히 비교할 때 사용해요.",
192
192
 
193
193
  months: ["1월", "2월", "3월", "4월", "5월", "6월"],
194
194
  desktopLabel: "데스크톱",
@@ -197,32 +197,32 @@ const ko: Strings = {
197
197
  dateFmt: (month, day) => `${month}월 ${day}일`,
198
198
 
199
199
  usage: {
200
- heading: "Usage",
201
- desc: "항목 간 수치 차이를 비교할 때 사용합니다.",
200
+ heading: "사용법",
201
+ desc: "항목 간 수치 차이를 비교할 때 사용해요.",
202
202
  },
203
203
 
204
204
 
205
205
  variants: {
206
- heading: "Variants",
207
- desc: "비교할 항목에 맞춰 막대 방향과 배치를 선택합니다.",
208
- horizontalDesc: "항목명이 길면 가로 막대를 사용합니다.",
209
- multipleDesc: "같은 항목의 수치를 직접 비교할 때는 막대를 나란히 배치합니다.",
206
+ heading: "표현",
207
+ desc: "비교할 항목에 맞춰 막대 방향과 배치를 선택해요.",
208
+ horizontalDesc: "항목명이 길면 가로 막대를 사용해요.",
209
+ multipleDesc: "같은 항목의 수치를 직접 비교할 때는 막대를 나란히 배치해요.",
210
210
  },
211
211
 
212
212
  stacked: {
213
- heading: "Stacked",
214
- desc: "합계와 각 항목의 구성을 함께 볼 때 막대를 쌓아 사용합니다.",
215
- expandDesc: "항목마다 전체에서 차지하는 비중을 비교할 때는 100% 누적을 사용합니다.",
213
+ heading: "누적",
214
+ desc: "합계와 각 항목의 구성을 함께 볼 때 막대를 쌓아 사용해요.",
215
+ expandDesc: "항목마다 전체에서 차지하는 비중을 비교할 때는 100% 누적을 사용해요.",
216
216
  },
217
217
 
218
218
  interactive: {
219
219
  heading: "기간 선택",
220
- desc: "최근 변화나 특정 구간을 살펴볼 수 있도록 조회 기간을 선택하게 합니다.",
220
+ desc: "최근 변화나 특정 구간을 살펴볼 수 있도록 조회 기간을 선택하게 해요.",
221
221
  },
222
222
 
223
223
  useCases: {
224
- heading: "In Use",
225
- desc: "단계가 있는 업무에서는 원래 순서를 유지해 비교합니다.",
224
+ heading: "사용 사례",
225
+ desc: "단계가 있는 업무에서는 원래 순서를 유지해 비교해요.",
226
226
  pipeline: {
227
227
  title: "영업 파이프라인",
228
228
  totalBadge: "14",
@@ -238,35 +238,35 @@ const ko: Strings = {
238
238
  },
239
239
 
240
240
  api: {
241
- heading: "API Reference",
242
- desc: "공통 차트 옵션은 아래 표에서 확인합니다. 차트별 옵션은",
241
+ heading: "속성",
242
+ desc: "공통 차트 옵션은 아래 표에서 확인해요. 차트별 옵션은",
243
243
  officialDocs: "Recharts 문서",
244
- columns: { prop: "Prop", type: "Type", default: "Default", desc: "Description" },
244
+ columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
245
245
  columnsKey: { prop: "Key", type: "Type", default: "Default", desc: "Description" },
246
246
  container: {
247
- config: "각 데이터 계열의 이름·색상·아이콘을 지정합니다.",
248
- className: "차트 컨테이너에 스타일을 추가합니다.",
249
- children: "표시할 차트를 지정합니다.",
247
+ config: "각 데이터 계열의 이름·색상·아이콘을 지정해요.",
248
+ className: "차트 컨테이너에 스타일을 추가해요.",
249
+ children: "표시할 차트를 지정해요.",
250
250
  },
251
251
  tooltip: {
252
- indicator: "데이터 계열을 구분하는 표시의 모양입니다.",
253
- hideLabel: "수치 위에 표시되는 제목을 숨깁니다.",
254
- hideIndicator: "데이터 계열의 구분 표시를 숨깁니다.",
255
- nameKey: "데이터 계열을 식별할 키입니다.",
256
- labelKey: "툴팁 제목으로 사용할 데이터 키입니다.",
257
- labelFormatter: "툴팁 제목의 표시 형식을 바꿉니다.",
258
- formatter: "툴팁의 각 행을 구성합니다.",
252
+ indicator: "데이터 계열을 구분하는 표시의 모양이에요.",
253
+ hideLabel: "수치 위에 표시되는 제목을 숨겨요.",
254
+ hideIndicator: "데이터 계열의 구분 표시를 숨겨요.",
255
+ nameKey: "데이터 계열을 식별할 키예요.",
256
+ labelKey: "툴팁 제목으로 사용할 데이터 키예요.",
257
+ labelFormatter: "툴팁 제목의 표시 형식을 바꿔요.",
258
+ formatter: "툴팁의 각 행을 구성해요.",
259
259
  },
260
260
  legend: {
261
- hideIcon: "사용자 지정 아이콘 대신 색상 표시를 사용합니다.",
262
- nameKey: "범례 항목을 식별할 데이터 키입니다.",
263
- verticalAlign: "범례를 차트 위나 아래에 배치합니다.",
261
+ hideIcon: "사용자 지정 아이콘 대신 색상 표시를 사용해요.",
262
+ nameKey: "범례 항목을 식별할 데이터 키예요.",
263
+ verticalAlign: "범례를 차트 위나 아래에 배치해요.",
264
264
  },
265
265
  config: {
266
- label: "툴팁과 범례에 표시할 데이터 계열의 이름입니다.",
267
- icon: "데이터 계열의 이름 옆에 표시할 아이콘입니다.",
268
- color: "고정 색상이며 모드별 색상과 함께 지정할 수 없습니다.",
269
- theme: "라이트·다크 모드별 색상이며 고정 색상과 함께 지정할 수 없습니다.",
266
+ label: "툴팁과 범례에 표시할 데이터 계열의 이름이에요.",
267
+ icon: "데이터 계열의 이름 옆에 표시할 아이콘이에요.",
268
+ color: "고정 색상이며 모드별 색상과 함께 지정할 수 없어요.",
269
+ theme: "라이트·다크 모드별 색상이며 고정 색상과 함께 지정할 수 없어요.",
270
270
  },
271
271
  },
272
272
  };
@@ -1365,7 +1365,7 @@ const lastIndex = dailyWithIndex.length - 1;
1365
1365
  { key: "desc", label: t.api.columns.desc, flex: true, minWidth: 240 },
1366
1366
  ]}
1367
1367
  rows={[
1368
- { prop: "animateIn", type: "boolean", default: "true", desc: en ? "Draws the chart once when it first enters the viewport." : "화면에 처음 나타날 때 차트를 한 번 그립니다." },
1368
+ { prop: "animateIn", type: "boolean", default: "true", desc: en ? "Draws the chart once when it first enters the viewport." : "화면에 처음 나타날 때 차트를 한 번 그려요." },
1369
1369
  { prop: "config", type: "ChartConfig", default: "-", desc: t.api.container.config },
1370
1370
  { prop: "className", type: "string", default: "-", desc: t.api.container.className },
1371
1371
  { prop: "children", type: "ReactElement", default: "-", desc: t.api.container.children },
@@ -28,7 +28,7 @@ get_guide(topic="use-cases/chart-chart-pie", sections=["사례 목록", "파일
28
28
 
29
29
  ```tsx
30
30
  <section id="use-cases">
31
- <h2>In Use</h2>
31
+ <h2>{!en ? "사용 사례" : "In Use"}</h2>
32
32
  <h3>{en ? "Acquisition sources card" : "유입 경로 카드"}</h3>
33
33
  <ExampleBlock previewWidth="full"><AcquisitionCardExample /></ExampleBlock>
34
34
  </section>
@@ -114,38 +114,38 @@ const en: Strings = {
114
114
 
115
115
  const ko: Strings = {
116
116
  title: "Pie Chart",
117
- lead: "전체에서 각 항목이 차지하는 비중을 보여줍니다. 작은 차이를 정확히 비교할 때는 Bar Chart를 사용합니다.",
117
+ lead: "전체에서 각 항목이 차지하는 비중을 보여줘요. 작은 차이를 정확히 비교할 때는 Bar Chart를 사용해요.",
118
118
  browsers: ["크롬", "사파리", "파이어폭스", "엣지", "기타"],
119
119
  visitors: "방문자",
120
120
  totalVisitors: "전체 방문자",
121
121
  usage: {
122
- heading: "Usage",
123
- desc: "하나의 전체를 이루는 소수 항목의 비중을 비교할 때 사용합니다.",
122
+ heading: "사용법",
123
+ desc: "하나의 전체를 이루는 소수 항목의 비중을 비교할 때 사용해요.",
124
124
  },
125
125
  labels: {
126
126
  heading: "라벨",
127
- desc: "마우스를 올리지 않아도 정확한 수치를 읽어야 할 때 라벨을 표시합니다.",
128
- custom: "차트만으로 내용을 이해해야 할 때는 항목명과 비율을 함께 표시합니다.",
127
+ desc: "마우스를 올리지 않아도 정확한 수치를 읽어야 할 때 라벨을 표시해요.",
128
+ custom: "차트만으로 내용을 이해해야 할 때는 항목명과 비율을 함께 표시해요.",
129
129
  },
130
130
  legend: {
131
131
  heading: "범례",
132
- desc: "수치 비교에는 기본형, 항목 구분에는 컴팩트형 범례를 사용합니다. 범례를 선택하면 해당 조각이 강조되고, 다시 선택하면 전체를 표시합니다.",
132
+ desc: "수치 비교에는 기본형, 항목 구분에는 컴팩트형 범례를 사용해요. 범례를 선택하면 해당 조각이 강조되고, 다시 선택하면 전체를 표시해요.",
133
133
  },
134
134
  donut: {
135
135
  heading: "도넛",
136
- desc: "중앙에 요약 값을 표시해야 할 때 도넛을 사용합니다.",
137
- active: "한 항목을 자세히 살펴볼 수 있도록 마우스를 올린 조각을 강조합니다.",
138
- text: "중앙에는 합계나 선택한 값 하나만 표시합니다.",
136
+ desc: "중앙에 요약 값을 표시해야 할 때 도넛을 사용해요.",
137
+ active: "한 항목을 자세히 살펴볼 수 있도록 마우스를 올린 조각을 강조해요.",
138
+ text: "중앙에는 합계나 선택한 값 하나만 표시해요.",
139
139
  },
140
140
  stacked: {
141
141
  heading: "중첩 도넛",
142
- desc: "두 분포를 비교할 때는 같은 항목 순서를 유지합니다.",
142
+ desc: "두 분포를 비교할 때는 같은 항목 순서를 유지해요.",
143
143
  },
144
144
  api: {
145
- heading: "API Reference",
145
+ heading: "속성",
146
146
  desc: "조각·라벨·형태 옵션은",
147
147
  officialDocs: "Pie 문서",
148
- columns: { prop: "Prop", type: "Type", default: "기본값", desc: "설명" },
148
+ columns: { prop: "속성", type: "타입", default: "기본값", desc: "설명" },
149
149
  data: "카테고리 행 배열",
150
150
  dataKey: "각도를 계산할 숫자 값 키",
151
151
  nameKey: "툴팁과 범례에서 사용할 카테고리 이름 키",
@@ -618,7 +618,7 @@ import { ChartContainer } from "@/components/Chart";
618
618
  </section>
619
619
 
620
620
  <section id="use-cases">
621
- <h2>In Use</h2>
621
+ <h2>{!en ? "사용 사례" : "In Use"}</h2>
622
622
  <h3>{en ? "Acquisition sources card" : "유입 경로 카드"}</h3>
623
623
  <ExampleBlock previewWidth="full"><AcquisitionCardExample /></ExampleBlock>
624
624
  </section>