@reblu/site-blocks 0.4.1 → 0.4.3
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/README.md +16 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -55,6 +55,22 @@ To force a visible break, use any of:
|
|
|
55
55
|
| A hard break inside one paragraph | Two spaces at the end of the first line |
|
|
56
56
|
| A hard break, visibly | A trailing `\` at the end of the first line |
|
|
57
57
|
|
|
58
|
+
### `hidden` hides a block — it does not withhold it
|
|
59
|
+
|
|
60
|
+
An element marked `hidden` is not rendered and is not announced to a screen
|
|
61
|
+
reader. It **is** still present in the HTML the server sends. Anyone who opens
|
|
62
|
+
the page source reads it, and so does any crawler working on raw HTML.
|
|
63
|
+
|
|
64
|
+
That is exactly what the HTML specification says `hidden` means, and for most
|
|
65
|
+
uses it is the right behaviour. It is called out here because the wording in
|
|
66
|
+
`0.4.0`'s changelog — "a block the author marked as not-for-publication stays
|
|
67
|
+
unpublished" — promises more than the attribute delivers, and an author who
|
|
68
|
+
believes it will reach for `hidden` to do something it cannot do.
|
|
69
|
+
|
|
70
|
+
So: a half-written clause left in a privacy policy behind `hidden` is invisible
|
|
71
|
+
on the page and published all the same. **To keep text unpublished, keep it out
|
|
72
|
+
of the page.** Draft it somewhere that is not the document body.
|
|
73
|
+
|
|
58
74
|
### Ordered lists keep the number you wrote
|
|
59
75
|
|
|
60
76
|
`4. …` renders as a list starting at 4, not at 1 — so "as established in clause
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reblu/site-blocks",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Data-driven presentational organisms for Reblu SITEs (Collection, MarkdownRenderer, Treatment, Specialty, ProfileCard, ProductCard) — clean, token-driven, white-label.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Reblu — Adolfo Unturbe",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"class-variance-authority": "^0.7.1",
|
|
61
61
|
"html-react-parser": "5.2.17",
|
|
62
|
-
"@reblu/site-contracts": "0.
|
|
63
|
-
"@reblu/site-ui": "0.
|
|
62
|
+
"@reblu/site-contracts": "1.0.0",
|
|
63
|
+
"@reblu/site-ui": "0.5.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": ">=19",
|