@dogsbay/docs-layout 0.2.0-beta.95 → 0.2.0-beta.96

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.95",
3
+ "version": "0.2.0-beta.96",
4
4
  "description": "Standard documentation layout components for Dogsbay",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,8 +30,8 @@
30
30
  "./json-ld": "./src/json-ld.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@dogsbay/primitives": "0.2.0-beta.95",
34
- "@dogsbay/ui": "0.2.0-beta.95"
33
+ "@dogsbay/primitives": "0.2.0-beta.96",
34
+ "@dogsbay/ui": "0.2.0-beta.96"
35
35
  },
36
36
  "devDependencies": {
37
37
  "happy-dom": "^20.10.6",
@@ -432,18 +432,6 @@ interface Props {
432
432
  readingMinutes?: number;
433
433
  /** Optional hero image URL, rendered above the prose. */
434
434
  heroImage?: string;
435
- /**
436
- * Series position, when the post belongs to one. Derived at emit time
437
- * from publication order, so "Part 3 of 7" cannot disagree with reality
438
- * the way a hand-typed line does.
439
- */
440
- series?: {
441
- name: string;
442
- part: number;
443
- total: number;
444
- /** URL of part 1, so a reader landing mid-series can start over. */
445
- startHref?: string;
446
- };
447
435
  /**
448
436
  * Table-of-contents placement. Default `"top"`.
449
437
  * - `"top"` — expandable "On this page" disclosure at the top of the
@@ -533,7 +521,6 @@ const {
533
521
  updatedDate,
534
522
  readingMinutes,
535
523
  heroImage,
536
- series,
537
524
  linkIcons,
538
525
  class: className,
539
526
  } = Astro.props;
@@ -1168,34 +1155,6 @@ const siteIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
1168
1155
  </div>
1169
1156
  )}
1170
1157
 
1171
- {/*
1172
- Series banner. Sits above the byline because it is the
1173
- first thing a reader arriving from search needs: which
1174
- series is this, where am I in it, and where does it start.
1175
- A blog index is chronological, so someone can easily meet
1176
- part 7 first.
1177
- */}
1178
- {chrome === "blog" && series && (
1179
- <div
1180
- class="not-prose mb-4 flex flex-wrap items-center gap-x-2 gap-y-1 rounded-md border border-border bg-muted/40 px-3 py-2 text-sm"
1181
- data-post-series
1182
- data-pagefind-ignore
1183
- >
1184
- <span class="font-medium text-foreground">
1185
- Part {series.part} of {series.total}
1186
- </span>
1187
- <span class="text-muted-foreground">in {series.name}</span>
1188
- {series.startHref && series.part !== 1 && (
1189
- <a
1190
- href={series.startHref}
1191
- class="ml-auto text-foreground underline underline-offset-2"
1192
- >
1193
- Start at part 1
1194
- </a>
1195
- )}
1196
- </div>
1197
- )}
1198
-
1199
1158
  {autoLede && description && (
1200
1159
  <p class="text-lg text-muted-foreground mb-6">
1201
1160
  {description}
@@ -1265,10 +1224,12 @@ const siteIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
1265
1224
  next={next}
1266
1225
  {/*
1267
1226
  Blog adjacency is chronological, so "Previous/Next"
1268
- would describe the wrong axis prev is the NEWER post.
1227
+ describes the wrong axis. Left is older, right is newer
1228
+ a timeline runs that way, and so does a series: the
1229
+ right-hand link is the next part.
1269
1230
  */}
1270
- prevLabel={chrome === "blog" ? "Newer" : undefined}
1271
- nextLabel={chrome === "blog" ? "Older" : undefined}
1231
+ prevLabel={chrome === "blog" ? "Older" : undefined}
1232
+ nextLabel={chrome === "blog" ? "Newer" : undefined}
1272
1233
  copyright={copyright}
1273
1234
  llmsLink={llmFooterLink}
1274
1235
  llmsLinkHref={llmsLinkHrefResolved}