Commit Graph
261 Commits
Author SHA1 Message Date
shkim4 fae221b192 Merge pull request 'feat(ui): standardize LNB sizing and active depth effect' (#25) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 1m15s
Reviewed-on: #25
2026-11-09 21:49:50 +09:00
shkim4 e42b67c53a feat(ui): standardize LNB sizing and active depth effect
- Adopt the official LNB desktop spec as package defaults: 240px column,
  14px menu text, 48px 1-depth rows and 42px 2/3-depth rows, with new
  item/subitem padding-block and profile min-height tokens.
- Match --hm-lnb-current-depth to the Storybook Manager selected item:
  sampled soft inset falloff (left/top/bottom) and a fade over the last
  quarter, keeping the concave corners and content join.
- Drop the size overrides from the LNB Story CSS and update the LNB, GNB
  and Dashboard docs, AI guides and the theme verification baseline.
2026-11-09 21:34:28 +09:00
shkim4 f13498dbe2 Merge pull request 'chore(storybook): rename the route map title menu to 사업명' (#24) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 58s
Reviewed-on: #24
2026-11-09 20:07:08 +09:00
shkim4 89f265ae2f chore(storybook): rename the route map title menu to 사업명 2026-11-09 20:06:42 +09:00
shkim4 6bbac88142 Merge pull request 'chore(storybook): localize sidebar menus and hide unused stories' (#23) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 58s
Reviewed-on: #23
2026-11-09 19:59:22 +09:00
shkim4 237866385a chore(storybook): localize sidebar menus and hide unused stories 2026-11-09 19:58:38 +09:00
shkim4 ca4b696897 Merge pull request 'fix(storybook): type the font path plugin as a Vite Plugin' (#22) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 58s
Reviewed-on: #22
2026-11-09 19:38:14 +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 8007eb5b11 Merge pull request 'Feat/storybook ui refinement' (#21) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Failing after 43s
Reviewed-on: #21
2026-11-09 19:24:25 +09:00
shkim4 074ed8706b docs(theme): align palette references with the updated Green and Brown steps
Replace the old Green Default #123328 and Dark steps in the component docs,
brand color steps, runtime theme contract, token guide, loading screen doc and
the @hm-design/ui AI design rules. check:ai-docs passes. Remaining references
elsewhere are left for the final documentation consistency pass.
2026-11-09 19:23:54 +09:00
shkim4 73ef042c55 feat(theme): update Hanmac Green and Brown palette steps
Seven shared Hanmac color tokens change:
- Green Default #123328 -> #164434, Dark 1 #0a221d -> #11372d,
  Dark 2 #071e18 -> #0b2b23, Dark 3 #020a07 -> #030e0a
- Brown Default #3e3523 -> #4e422d, Dark 1 #352d1d -> #403726,
  Dark 3 #1d1810 -> #0d0b07

Updates primitives.css, the generated default values, themes/default.json,
the verification baseline and the hard-coded Default expectations in the
theme Stories and the quality-reference script. --hm-sem-on-accent is
intentionally unchanged. check:theme-defaults reports generated outputs match.
2026-11-09 19:23:43 +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 9394050c72 feat(storybook): add shared SW notice and refine SW previews
- Add StoryNotice and a withSWNotice decorator so every visible SW Story
  shows the common notice above its title; non-SW Stories are unaffected.
- Align the SW Header overview with the common SW Story page layout, let the
  preview Stage fill the available width and keep inner scroll on narrow screens.
- Rename SW/Footer to SW/하단 명령어바 (sidebar title only, Story IDs fixed via
  id: "sw-footer"), drop the top SWHeader from its preview and lower the
  workspace height bounds by the removed 49px.
2026-11-09 19:23:17 +09:00
shkim4 0be30d34ab Merge pull request 'Feat/storybook ui refinement' (#20) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 57s
Reviewed-on: #20
2026-11-09 18:27:44 +09:00
shkim4 a460426535 style(storybook): tidy SW header, step header and viewer stories
- Responsive More / Logo / Settings Popup / Property Panel names in Korean (IDs unchanged)
- SW Step Header representative page keeps one Multi Step example
- Viewer Header drops the minimize/close example (component support unchanged)
- Header Responsive page uses the Logo page structure
2026-11-09 18:26:12 +09:00
shkim4 0f1574f80f style(storybook): localize 조직도 and 노선도 menus, Department Colors 3 columns
- OrgChart -> 조직도 and sub menus (개요, 부서별 색상, 전체 구성, 확장 조직도); Story IDs kept
- 노선도 menu/page titles in Korean (제목, 정보, 노선·공간, 시설물)
- Department Colors cards 3 columns (2 under 960px)
2026-11-09 18:26:11 +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 dcdbebdea6 Merge pull request 'chore(storybook): reorder SW and rename Center Graphic' (#19) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 56s
Reviewed-on: #19
2026-11-09 17:06:24 +09:00
shkim4 d0f4ec6ed4 chore(storybook): reorder SW and rename Center Graphic 2026-11-09 17:05:53 +09:00
shkim4 84dddcc7f7 Merge pull request 'style(storybook): refine patterns data and layout stories' (#18) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 57s
Reviewed-on: #18
2026-11-09 16:43:30 +09:00
shkim4 b33ca2a157 style(storybook): refine patterns data and layout stories 2026-11-09 16:42:47 +09:00
shkim4 2755f4f17c Merge pull request 'Feat/storybook ui refinement' (#17) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 56s
Reviewed-on: #17
2026-11-09 16:21:03 +09:00
shkim4 3bebe8a660 style(storybook): refine overlay story layout 2026-11-09 16:15:23 +09:00
shkim4 bef164489b style(storybook): refine data display story layout 2026-11-09 16:15:22 +09:00
shkim4 3868ca09c7 style(storybook): refine feedback story layout 2026-11-09 16:09:01 +09:00
shkim4 cd60ab661a style(storybook): refine disclosure story layout 2026-11-09 16:09:01 +09:00
shkim4 0ea5b46f74 style(storybook): refine search and date story layout 2026-11-09 16:09:01 +09:00
shkim4 4088b2c120 Merge pull request 'style(storybook): refine foundation and navigation stories' (#16) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 57s
Reviewed-on: #16
2026-11-09 15:55:03 +09:00
shkim4 8827eb2681 style(storybook): refine foundation and navigation stories 2026-11-09 15:48:34 +09:00
shkim4 64f14c3c03 Merge pull request 'style(storybook): refine form component stories' (#15) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 58s
Reviewed-on: #15
2026-11-09 15:34:09 +09:00
shkim4 f6b92d781a style(storybook): refine form component stories 2026-11-09 15:33:23 +09:00
shkim4 2199318f8f Merge pull request 'feat(storybook): refine manager layout and Hanmac branding' (#14) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 1m57s
Reviewed-on: #14
2026-11-09 14:01:04 +09:00
shkim4 e47eb040f2 feat(storybook): refine manager layout and Hanmac branding 2026-11-09 13:59:46 +09:00
shkim4 9b03650d8f Merge pull request 'feat(storybook): refine Manager LNB, HM Color and Patterns/Layout/LNB' (#13) from feat/storybook-ui-refinement into main
Deploy Storybook / deploy (push) Successful in 58s
Reviewed-on: #13
2026-11-09 12:01:37 +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 228944a06b Merge pull request 'Feat/foundation company colors' (#12) from feat/foundation-company-colors into main
Deploy Storybook / deploy (push) Successful in 1m23s
Reviewed-on: #12
2026-11-06 10:58:35 +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 37e6c996f9 Merge pull request 'fix(sw): match the lit middle step group top shade to the first group' (#11) from fix/sw-step-header-middle-background into main
Deploy Storybook / deploy (push) Successful in 1m13s
Reviewed-on: #11
2026-11-05 18:26:06 +09:00
shkim4 51ff338923 fix(sw): match the lit middle step group top shade to the first group
The lit middle group overlay started at the group top, so its dark top band was about twice as thick as the first / last group face. It now starts 4.95px above the group like that face and runs to the bottom edge.
2026-11-05 18:23:34 +09:00
shkim4 a03d9e114d Merge pull request 'Fix/sw step header middle background' (#10) from fix/sw-step-header-middle-background into main
Deploy Storybook / deploy (push) Successful in 2m21s
Reviewed-on: #10
2026-11-05 18:00:05 +09:00
shkim4 c9fbb06a92 fix(sw): even out the multi step header tool group margins without window buttons
With appearance="multi" and all window controls hidden, the tool group is the last
child of the window area; give it the same 5px right margin as its left margin.
The existing 2px margin stays whenever a window button follows. default and other
headers are unchanged.
2026-11-05 17:59:21 +09:00
shkim4 42f0cb7d0b docs(sw): ask the user before substituting or omitting a missing icon
When no official public icon export covers a requested icon, the AI guides now
require asking the user first: approval to use the Storybook icon or an SVG asset
(3-A), or an asset / replacement choice when HMDesign has none (3-B). Creating,
copying, replacing or finally omitting the icon before the answer is not allowed.
Consumer-project use approval is kept separate from official package export
registration. AI_GUIDE shared copies synced.
2026-11-05 17:59:20 +09:00
shkim4 7ed7d50499 Merge pull request 'Fix/sw step header middle background' (#9) from fix/sw-step-header-middle-background into main
Deploy Storybook / deploy (push) Successful in 1m16s
Reviewed-on: #9
2026-11-05 17:35:21 +09:00
shkim4 c7926aeffd fix(sw): square the multi step header process ends
- SWProcessHeader appearance="multi": the process base and both end
  covers meet the file name and the window area with right angles
  (border-radius 0, multi block only). default keeps the Strana top
  corners 6 / covers 5; step tabs, arrows, colors and sizes unchanged
- DESIGN_RULES §14 and Step Header spec §9.2 record the multi-only rule
- process-header-states.check.mjs: default 6 / 5 kept, multi 0 (17/17);
  build:sw and check:ai-docs pass, Storybook zoom shows square multi ends
2026-11-05 17:31:38 +09:00
shkim4 0086d66a94 fix(sw): refine process header empty title states and UI guidance
- AI_GUIDE stage 5 "Header 전용 스타일의 적용 범위": header-only styles stay
  in the header (SW SWHeader / SWProcessHeader / SWViewerHeader, Web GNB /
  LNBMobileHeader / DashboardHeader); no header CSS or tokens on body UI,
  no global overrides, layout-only joins, package-shared tokens unchanged,
  whole-screen use only on explicit request. Synced to the 4 package
  copies; referenced from stage 6, SW and Web AI_USAGE §3
- SWProcessHeader: with documentTitle "" the file name keeps #AEDBCC on
  hover and a default cursor (root data-document-untitled). The button,
  focus and onDocumentClick are kept; a real file name keeps the yellow
  hover and pointer. Visual vs. click difference recorded as a UX item
- Step enablement documented as implemented: only an explicit disabled
  (step, group, process, header) turns steps off; project / file state
  never does; selection is activeStepId + onStepSelect (also for host
  previous / next); no activeStepId and empty groups described
- Regression check tests/process-header-states.check.mjs (15/15);
  typecheck:sw, build:sw, check:ai-docs pass; public-api keeps its 3
  existing failures, none new
2026-11-05 16:45:54 +09:00
shkim4 6c61edadc1 fix(storybook): refine responsive page inner width
- Story page Inner side margin: 16px up to a 480px viewport, linear to 60px at 768px, 60px beyond (no width jump)
- Follow the 60px margins: Responsive 1920 row from a 2040px page (was 2000px); property compare 3 columns from 1125px, 2 columns from 787px (was 1080 / 720)
- SW browser tests: drop the removed --sb-page-max-width override, compare thresholds 787 / 1125
2026-11-05 15:59:41 +09:00
shkim4 22841affaf fix(sw): add default tooltip for pill tool buttons
- SWToolButton appearance="pill": a non-blank string children is also
  the native title; an explicit title wins and title="" turns it off;
  numbers, JSX and arrays are never converted. text / document keep
  passing only the given title. Accessible name, DOM and classes unchanged
- DESIGN_RULES §15: Header UX principles (ellipsis full text, icon-only
  tool buttons, print class shared by pill, font-dependent widths, scope)
- Reference them from DESIGN_RULES §3·§9, COMPONENT_CATALOG §4·§11,
  AI_USAGE §5.4, SW Header spec §17 and Step Header spec §12
2026-11-05 15:55:23 +09:00
shkim4 e70082550e fix(sw): widen the step header text logo to its content
- SWProcessHeader logoText: at least 58px and as wide as the text,
  instead of a fixed 58px place that cut longer words (home >= 106px)
- Align JSDoc (SWHeader, SWViewerHeader, SWProcessHeader) and docs with
  the content-width logo slot: DESIGN_RULES §1 common rule and §14,
  COMPONENT_CATALOG, VIEWER.md, SW Header / Step Header specs
- No prop or public API change
2026-11-05 15:49:08 +09:00