Combine Task A (e8409ef, SW 0.2.0 integrated improvement) with Task B
(396539d, Figma-based SWHomeMenu / SWHomeMenuSection / SWHomeMenuItem /
SWRecentFiles). Task B's 84 new files are taken unchanged except for the
public-import Storybook update and joining the popup Escape stack.
- Export the home menu from @hm-design/sw
- SWHeader homeMenu / homeMenuOpen / defaultHomeMenuOpen /
onHomeMenuOpenChange: hidden by default, the logo toggles it (onHomeClick
is not called while homeMenu is set), placed from the measured header,
closes with / closes the document and field dropdowns
- Logo aria-expanded / aria-controls; menu layer CSS (z-index 20)
- AI catalog / patterns / design rules, example G, README, usage guide
- Storybook SW/Home Menu uses @hm-design/sw; integration story
Verified: SW typecheck, tsc -b, SW build, Storybook build, AI docs 22/22,
28/28 existing SW shots pixel-identical, regression 96 PASS / 0 FAIL,
home menu checks 22/22. Not run: tarball consumer install.
26 lines
2.1 KiB
XML
26 lines
2.1 KiB
XML
<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="21" height="22.3601" viewBox="0 0 21 22.3601" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<g id="rotate_left">
|
|
<g id="Union" filter="url(#filter0_dd_0_364)">
|
|
<path d="M5.33019 7.8981L6.48085 9.05692C6.04834 9.66897 5.76271 10.3626 5.64846 11.0726H4C4.13873 9.93827 4.59573 8.84474 5.33019 7.8981ZM4 12.7048H5.64846C5.76271 13.4229 6.04834 14.1084 6.47269 14.7204L5.32203 15.8793C4.58757 14.9326 4.13873 13.8391 4 12.7048ZM9.65537 18.3601C8.52103 18.2214 7.41933 17.7807 6.47269 17.0462L7.64783 15.8629C8.25989 16.3036 8.94539 16.5811 9.65537 16.7035V18.3601ZM11.2875 4V5.41724C14.511 5.81712 17 8.55911 17 11.8887C17 15.2182 14.511 17.9602 11.2875 18.3601V16.7117C13.6051 16.3199 15.3679 14.3124 15.3679 11.8887C15.3679 9.46495 13.6051 7.45742 11.2875 7.0657V8.4597L7.57439 6.62503L11.2875 4ZM11.25 11.8691V9.67969H9.75V12.4902L11.9697 14.71L13.0303 13.6494L11.25 11.8691Z" fill-rule="evenodd" clip-rule="evenodd" fill="#B6B4AF"/>
|
|
</g>
|
|
</g>
|
|
<defs>
|
|
<filter id="filter0_dd_0_364" x="0" y="0" width="21" height="22.3601" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset/>
|
|
<feGaussianBlur stdDeviation="2"/>
|
|
<feComposite in2="hardAlpha" operator="out"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0.0235294 0 0 0 0 0.101961 0 0 0 0 0.0784314 0 0 0 1 0"/>
|
|
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_0_364"/>
|
|
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
<feOffset/>
|
|
<feGaussianBlur stdDeviation="0.5"/>
|
|
<feComposite in2="hardAlpha" operator="out"/>
|
|
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0"/>
|
|
<feBlend mode="normal" in2="effect1_dropShadow_0_364" result="effect2_dropShadow_0_364"/>
|
|
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_0_364" result="shape"/>
|
|
</filter>
|
|
</defs>
|
|
</svg>
|