@dogsbay/docs-layout 0.2.0-beta.169 → 0.2.0-beta.170

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dogsbay/docs-layout",
3
- "version": "0.2.0-beta.169",
3
+ "version": "0.2.0-beta.170",
4
4
  "description": "Standard documentation layout components for Dogsbay",
5
5
  "type": "module",
6
6
  "exports": {
@@ -35,11 +35,11 @@
35
35
  "./site-chrome": "./src/site-chrome.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@dogsbay/elements": "0.2.0-beta.169",
39
- "@dogsbay/primitives": "0.2.0-beta.169",
40
- "@dogsbay/search": "0.2.0-beta.169",
41
- "@dogsbay/ui": "0.2.0-beta.169",
42
- "@dogsbay/site-files": "0.2.0-beta.169"
38
+ "@dogsbay/elements": "0.2.0-beta.170",
39
+ "@dogsbay/primitives": "0.2.0-beta.170",
40
+ "@dogsbay/search": "0.2.0-beta.170",
41
+ "@dogsbay/site-files": "0.2.0-beta.170",
42
+ "@dogsbay/ui": "0.2.0-beta.170"
43
43
  },
44
44
  "devDependencies": {
45
45
  "happy-dom": "^20.10.6",
@@ -1250,7 +1250,9 @@ const siteIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
1250
1250
  <span class:list={["min-w-0 truncate text-sm text-muted-foreground", siteChrome?.header?.links.length && LINKS_LIST_HIDDEN[linksFrom], headerCrowded && "max-lg:hidden"]} data-page-title>{title}</span>
1251
1251
  )}
1252
1252
  {siteChrome?.header?.links.length ? <HeaderLinks links={siteChrome.header.links} currentPath={currentPath} wrap={chrome !== "docs"} from={linksFrom} /> : null}
1253
- <div class:list={["ml-auto flex min-w-0 items-center gap-2", headerCrowded && "max-lg:flex-wrap max-lg:justify-end max-lg:gap-y-1"]}>
1253
+ {/* The buttons keep their size and the page title truncates instead (squeezed, they widened a phone's
1254
+ page by 23–25px at 390px); a crowded header's menus wrap below lg, so they may shrink. As dogsbay-ssg */}
1255
+ <div class:list={["ml-auto flex min-w-0 items-center gap-2", headerCrowded ? "max-lg:flex-wrap max-lg:justify-end max-lg:gap-y-1" : "shrink-0"]}>
1254
1256
  <slot name="header" />
1255
1257
  {tocPlacement.popoverToc && (
1256
1258
  <details class="dba-toc-popover relative" data-toc-popover>