Commit Graph
18 Commits
Author SHA1 Message Date
shkim4 237866385a chore(storybook): localize sidebar menus and hide unused stories 2026-11-09 19:58:38 +09:00
shkim4 2e203627c5 fix(storybook): type the font path plugin as a Vite Plugin
this.warn() in the hm-ui-theme-font-path transform failed tsc -b with
TS2339 because the untyped object literal made `this` the literal itself.
Annotate it as Vite's Plugin so `this` is the plugin context. Font URL
replacement and the warning behavior are unchanged.
2026-11-09 19:35:35 +09:00
shkim4 be0661062f fix(storybook): load local Noto Sans KR and this checkout's UI theme
- Dev server: rewrite the @hm-design/ui dist font URL to the /fonts static
  directory so Preview no longer gets a 403 from the Vite fs allow list.
- When node_modules/@hm-design/ui is linked to another checkout, resolve the
  five @hm-design/ui entry points to this checkout's packages/ui source so the
  current tokens are shown instead of a stale palette. Checkouts whose links
  already point at their own packages/ui keep the dist-based resolution.
2026-11-09 19:23:29 +09:00
shkim4 ea984ab3a6 chore(storybook): refine navigation and foundation labels
- Rename Foundation/Typography to 폰트 and SW/Footer to SW/하단 명령어바 in
  the sidebar order; Story IDs are kept (foundation-typography, sw-footer).
- Hanmac Color: label Light 4 as "보더 하이라이트용" and add a divider between
  Light 4 and Light 3.
- Hide Patterns/Layout/Page Header from the sidebar with the verification tag
  (Story IDs and direct URLs are unchanged).
- Remove the Variants section from the representative LNB page; With Logo and
  Long Labels remain as verification Stories.
2026-11-09 19:23:23 +09:00
shkim4 031f88033d style(storybook): localize Foundation menu and reorder sidebar
- brand title to 한맥 디자인 시스템
- Foundation: 한맥 컬러 / 가족사 컬러 titles, Story IDs kept via explicit id
- Company Colors card order 2/2/3, Foundation/Layout hidden with verification tag
- sidebar order for Foundation and 조직도
2026-11-09 18:26:09 +09:00
shkim4 d0f4ec6ed4 chore(storybook): reorder SW and rename Center Graphic 2026-11-09 17:05:53 +09:00
shkim4 f6b92d781a style(storybook): refine form component stories 2026-11-09 15:33:23 +09:00
shkim4 e47eb040f2 feat(storybook): refine manager layout and Hanmac branding 2026-11-09 13:59:46 +09:00
shkim4 fc0a3e7725 feat(storybook): refine Manager LNB, HM Color and Patterns/Layout/LNB
- Manager LNB: 246px width, 16px brand title, 14px/700 menu and section
  titles, depth1 48px / depth2+ 42px rows, 24px section gap
- Foundation: rename Color to HM Color (Story ID foundation-color--all kept),
  remove Company Colors subtitle and the page-title bottom border
- Patterns/Layout/LNB: Storybook-only overrides in lnb.stories.css
  (240px column, 212px min width, 14px menu, 48/42px rows, profile text,
  group dividers); representative board dividers per section
- Sync story inventory and docs (brand-color-steps, lnb); shared package
  defaults and tokens are unchanged
2026-11-09 12:01:03 +09:00
shkim4 811a17dcc4 docs(storybook): sync story inventory
Regenerate the Story Inventory with .storybook/qa/generate-inventory.mjs.
The records were last generated on 2026-10-11 and missed the OrgChart (8 files,
27 stories) and SW (10 files, 50 stories) stories added since, plus two new
stories (Tabs DefaultApi, Filter Bar DraftApplied) and two reclassified ones.
The inventory now matches the actual 82 story files and 372 stories.

Only the two generated files change; the generator and stories are untouched.
2026-11-06 10:56:16 +09:00
shkim4 51e8ab8c42 feat(foundation): add company colors story
Add Foundation > Company Colors as a separate Storybook menu placed right
after Color. It shows the 7 affiliates and 14 colors from the existing
companyColorPresets (main first, then secondary) with the Color chip styles
and the Default emphasis reused for the main color. Theme tokens, public API
and the existing Color story are unchanged.

- Foundation sort order: Color, Company Colors, Typography, Layout
- Company chip width rule scoped to the company rows
- Document the menu in brand-color-steps.md
- Add the new story to the Story Inventory records
2026-11-06 10:56:04 +09:00
shkim4 f8cb5f8318 chore: remove legacy Windows launcher and PORTABLE verification records
Storybook is served on the web (main deployment), so the Windows BAT
launcher and its Node helper are no longer used. The root PORTABLE
r4-r6 verification records are historical ZIP-era notes that nothing
references.

- Delete start-storybook.bat and scripts/start-storybook.mjs
- Delete PORTABLE-R4/R5-CANDIDATE/R5/R6-VERIFICATION.md
- README, publisher distribution guide, LAN preview note: point to the
  web Storybook; keep npm run storybook for local development
- v2 baseline report: unlink the removed files, keep the record text
2026-10-22 09:31:58 +09:00
shkim4 23d522c136 feat(sw): viewer header logo menu and file list; simplify SW Storybook
SW Viewer Header (approved optional props, public export names unchanged at 170):
- SWViewerHeader: logoMenu, documents, activeDocumentId, onDocumentSelect,
  onDocumentOpen, documentOpenLabel; measured responsive toggles (full ->
  icons -> More) with the SWHeader More / file-list styling.
- SW AI guides, ExampleH, viewer/text-weight/theme-inheritance tests and the
  logo-document-menu tests with their QA record.

SW Storybook cleanup (Story IDs and test fixtures kept):
- Sidebar: Overview -> "SW Header" (first), 전체 Footer -> "SW Footer",
  Footer/Viewer responsive pages -> "Responsive More", Viewer content-variants
  -> "Settings Popup" (merges the settings popup page).
- Hidden by the verification tag (direct URL kept): Header Dropdown,
  Document Open, Interactive States, Document Dropdown, Hidden Sub Controls,
  Home Menu standalone; Footer tool groups / custom content / parts;
  SW/Theme; Viewer menu groups / item states / variable size / settings
  panel / Header + Dropdown.
- Removed demo UI: Overview size and callback output (demo data and
  selection only with &verification), Home Menu Figma node table and width
  demo, Header Responsive More reduced to 1440 / 768 / 390, Popup reopen
  button, property-panel comparison captions, Viewer context-menu demo
  (&verification only).
- Tests: storybook-inventory records the hidden and renamed Stories;
  overview / range-cross-browser / viewer open the demo controls with
  &verification; integrated-popup reloads the Story instead of the reopen
  button; dropdown-consolidation asserts Dropdown is hidden from the sidebar
  and still opens by its direct URL.
2026-10-21 14:52:46 +09:00
shkim4 2b0e1a2262 refactor(sw): simplify storybook navigation and examples 2026-10-20 13:17:15 +09:00
shkim4 d0828a7ff4 feat(org-chart): finalize chart features and AI generation rules 2026-10-13 14:39:42 +09:00
shkim4 e9144348e5 docs: finalize HMDesign v2 guidelines and remove stale references 2026-10-11 13:58:29 +09:00
DESKTOP-KPCP6AL\ㅅㅎ 1c4e0bb9a1 feat: integrate latest HMDesign design system updates 2026-10-11 11:09:03 +09:00
shkim4 b6a0a61103 Initial commit: HMDesignSystem baseline 2026-10-08 16:58:09 +09:00