@docpensieve/components 0.2.0-beta.1 → 0.3.0-beta.1

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": "@docpensieve/components",
3
- "version": "0.2.0-beta.1",
3
+ "version": "0.3.0-beta.1",
4
4
  "description": "DocPensieve global MDX components, usable without import: Card, Columns, Tooltip, Tree, Skill, TimeTimer, LogoIcon, ScrollToTop",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,7 +20,7 @@
20
20
  "types"
21
21
  ],
22
22
  "dependencies": {
23
- "@docpensieve/shared": "0.2.0-beta.1"
23
+ "@docpensieve/shared": "0.3.0-beta.1"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^19"
@@ -4,6 +4,9 @@
4
4
  * No JavaScript: a link to the `top` fragment, which the HTML specification
5
5
  * reserves for the top of the document when no element carries that
6
6
  * identifier. The button therefore works without adding anything to the page.
7
+ * The generated shell does declare a target, to bring the focus back and not
8
+ * only the view — placed above the sticky header, which being always in view
9
+ * would leave the browser nothing to scroll.
7
10
  *
8
11
  * It only shows once the page has scrolled, through `animation-timeline`.
9
12
  * Where the browser ignores it, it simply stays visible: a button always there
@@ -4,6 +4,9 @@
4
4
  * No JavaScript: a link to the `top` fragment, which the HTML specification
5
5
  * reserves for the top of the document when no element carries that
6
6
  * identifier. The button therefore works without adding anything to the page.
7
+ * The generated shell does declare a target, to bring the focus back and not
8
+ * only the view — placed above the sticky header, which being always in view
9
+ * would leave the browser nothing to scroll.
7
10
  *
8
11
  * It only shows once the page has scrolled, through `animation-timeline`.
9
12
  * Where the browser ignores it, it simply stays visible: a button always there