1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f932-5332-76a1-9d0b-27de92171877")}catch(e){}}();import React from 'react'; 2import { jsx as _jsx } from "react/jsx-runtime"; 3/** 4 * Collection navigation for the grid page. Reuses the `Core:LinkList` / 5 * `Core:LinkListItem` markup contract so the links look the same as every other 6 * sidebar list. Like the legacy grid, the whole column is desktop-only â see 7 * `_DesignGrid.scss` â so it has no mobile drawer of its own. 8 */ 9export default function DesignGridSidebar({ 10 links 11}) { 12 if (links.length === 0) { 13 return null; 14 } 15 return /*#__PURE__*/_jsx("aside", { 16 className: "hd-DesignGridLayout__sidebar", 17 "data-testid": "design-grid-sidebar", 18 children: /*#__PURE__*/_jsx("div", { 19 className: "hd-LinkList", 20 children: /*#__PURE__*/_jsx("ul", { 21 className: "hd-LinkList__list", 22 children: links.map(link => /*#__PURE__*/_jsx("li", { 23 className: "hd-LinkListItem", 24 children: /*#__PURE__*/_jsx("a", { 25 "aria-current": link.selected ? 'page' : undefined, 26 className: "hd-LinkListItem__link", 27 "data-selected": link.selected ? 'true' : undefined, 28 "data-testid": "list-link", 29 href: link.url ?? undefined, 30 children: /*#__PURE__*/_jsx("span", { 31 className: "hd-LinkListItem__label", 32 style: { 33 transform: 'translateY(var(--hd-font-opticalAlignment-translateY, 0))' 34 }, 35 children: link.label 36 }) 37 }) 38 }, `${link.label}:${link.url}`)) 39 }) 40 }) 41 }); 42} 43//# chunkId=01a0f932-5332-76a1-9d0b-27de92171877
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.