@tenphi/cookbook 0.19.1 → 0.19.2
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.
|
@@ -521,10 +521,12 @@ and mobile menu. On wider layouts, heading permalinks sit to the left of the
|
|
|
521
521
|
heading and are revealed on heading hover or keyboard focus. On mobile they
|
|
522
522
|
stay visible and inline so the target is not clipped by the narrower content
|
|
523
523
|
gutter. Customize the behavior with `MarkdownHeading.Link`,
|
|
524
|
-
`MarkdownHeading.RevealedLink`, and `MarkdownHeading.LinkIcon`.
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
524
|
+
`MarkdownHeading.RevealedLink`, and `MarkdownHeading.LinkIcon`. The `#` icon
|
|
525
|
+
scales with its heading and stays centered in the link target across heading
|
|
526
|
+
levels and screen widths. Activating a heading link copies the full page URL
|
|
527
|
+
with that section’s fragment without scrolling or changing the current URL. A
|
|
528
|
+
checkmark and screen-reader status confirm the copy; clipboard failures are
|
|
529
|
+
announced. Modified clicks and links
|
|
528
530
|
without JavaScript retain native anchor behavior. Customize the confirmation
|
|
529
531
|
with `MarkdownHeading.CopiedLink`, `MarkdownHeading.CopiedLinkIcon` (the hidden
|
|
530
532
|
original icon), and `MarkdownHeading.CopiedIcon` (the checkmark).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenphi/cookbook",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"description": "Repository-native static documentation for Astro",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"author": "Andrey Yamanov",
|
|
69
69
|
"license": "MIT",
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@tenphi/docs": "0.19.
|
|
72
|
-
"@tenphi/renderer": "0.19.
|
|
71
|
+
"@tenphi/docs": "0.19.2",
|
|
72
|
+
"@tenphi/renderer": "0.19.2"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"astro": "^7.3.2"
|