@hanzo/ui 8.23.2 → 8.23.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/dist/gallery.html +33 -2
- package/dist/styles.css +32 -1
- package/dist/theme.css +32 -1
- package/package.json +1 -1
package/dist/gallery.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.23.
|
|
1
|
+
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.23.3</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
|
|
2
2
|
:root { --hanzo-ui-styles: 1; }
|
|
3
3
|
/* Hanzo Design System — the entry point. Import THIS one file.
|
|
4
4
|
*
|
|
@@ -1390,8 +1390,39 @@
|
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
1392
|
.hz-prose > p { margin: 0 }
|
|
1393
|
-
|
|
1393
|
+
/* The marker is RESTORED here. `base.css` takes it off every list in the
|
|
1394
|
+
document, because a nav and a card grid are both lists and neither wants one.
|
|
1395
|
+
Authored prose is the one place it belongs, and setting only the indent left
|
|
1396
|
+
an indented list with nothing at the start of the line — measured on the lux
|
|
1397
|
+
blog, where every bulleted list read as loose paragraphs. */
|
|
1398
|
+
.hz-prose > ul, .hz-prose ul ul { list-style: disc }
|
|
1399
|
+
.hz-prose > ol, .hz-prose ol ol { list-style: decimal }
|
|
1400
|
+
.hz-prose ul, .hz-prose ol { margin: 0; padding-inline-start: 1.5em }
|
|
1394
1401
|
.hz-prose li { margin-block: 0.25em }
|
|
1402
|
+
.hz-prose li::marker { color: var(--muted-foreground) }
|
|
1403
|
+
|
|
1404
|
+
/* A code block is a SURFACE, not just a change of typeface. Without the panel
|
|
1405
|
+
it sits directly on the page ground and reads as body text that happens to be
|
|
1406
|
+
monospaced — which is exactly what a reader scanning for the command must not
|
|
1407
|
+
have to work out. `pre` already scrolls inside itself (base.css); this gives
|
|
1408
|
+
it the ground to scroll on. */
|
|
1409
|
+
.hz-prose > pre {
|
|
1410
|
+
margin: 0;
|
|
1411
|
+
padding: var(--space-4, 1rem);
|
|
1412
|
+
border: 1px solid var(--border);
|
|
1413
|
+
border-radius: var(--radius, 0.5rem);
|
|
1414
|
+
background: var(--muted);
|
|
1415
|
+
font-size: var(--text-sm);
|
|
1416
|
+
line-height: var(--leading-normal);
|
|
1417
|
+
}
|
|
1418
|
+
/* Inside a block the panel IS the surface, so the inline treatment would draw a
|
|
1419
|
+
second one around every line. */
|
|
1420
|
+
.hz-prose > pre code { background: none; padding: 0; border: 0; font-size: inherit }
|
|
1421
|
+
.hz-prose :not(pre) > code {
|
|
1422
|
+
padding: 0.15em 0.35em;
|
|
1423
|
+
border-radius: calc(var(--radius, 0.5rem) / 2);
|
|
1424
|
+
background: var(--muted);
|
|
1425
|
+
}
|
|
1395
1426
|
.hz-prose > blockquote {
|
|
1396
1427
|
margin: 0;
|
|
1397
1428
|
padding-inline-start: 1em;
|
package/dist/styles.css
CHANGED
|
@@ -1390,8 +1390,39 @@
|
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
1392
|
.hz-prose > p { margin: 0 }
|
|
1393
|
-
|
|
1393
|
+
/* The marker is RESTORED here. `base.css` takes it off every list in the
|
|
1394
|
+
document, because a nav and a card grid are both lists and neither wants one.
|
|
1395
|
+
Authored prose is the one place it belongs, and setting only the indent left
|
|
1396
|
+
an indented list with nothing at the start of the line — measured on the lux
|
|
1397
|
+
blog, where every bulleted list read as loose paragraphs. */
|
|
1398
|
+
.hz-prose > ul, .hz-prose ul ul { list-style: disc }
|
|
1399
|
+
.hz-prose > ol, .hz-prose ol ol { list-style: decimal }
|
|
1400
|
+
.hz-prose ul, .hz-prose ol { margin: 0; padding-inline-start: 1.5em }
|
|
1394
1401
|
.hz-prose li { margin-block: 0.25em }
|
|
1402
|
+
.hz-prose li::marker { color: var(--muted-foreground) }
|
|
1403
|
+
|
|
1404
|
+
/* A code block is a SURFACE, not just a change of typeface. Without the panel
|
|
1405
|
+
it sits directly on the page ground and reads as body text that happens to be
|
|
1406
|
+
monospaced — which is exactly what a reader scanning for the command must not
|
|
1407
|
+
have to work out. `pre` already scrolls inside itself (base.css); this gives
|
|
1408
|
+
it the ground to scroll on. */
|
|
1409
|
+
.hz-prose > pre {
|
|
1410
|
+
margin: 0;
|
|
1411
|
+
padding: var(--space-4, 1rem);
|
|
1412
|
+
border: 1px solid var(--border);
|
|
1413
|
+
border-radius: var(--radius, 0.5rem);
|
|
1414
|
+
background: var(--muted);
|
|
1415
|
+
font-size: var(--text-sm);
|
|
1416
|
+
line-height: var(--leading-normal);
|
|
1417
|
+
}
|
|
1418
|
+
/* Inside a block the panel IS the surface, so the inline treatment would draw a
|
|
1419
|
+
second one around every line. */
|
|
1420
|
+
.hz-prose > pre code { background: none; padding: 0; border: 0; font-size: inherit }
|
|
1421
|
+
.hz-prose :not(pre) > code {
|
|
1422
|
+
padding: 0.15em 0.35em;
|
|
1423
|
+
border-radius: calc(var(--radius, 0.5rem) / 2);
|
|
1424
|
+
background: var(--muted);
|
|
1425
|
+
}
|
|
1395
1426
|
.hz-prose > blockquote {
|
|
1396
1427
|
margin: 0;
|
|
1397
1428
|
padding-inline-start: 1em;
|
package/dist/theme.css
CHANGED
|
@@ -1388,8 +1388,39 @@
|
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
1390
|
.hz-prose > p { margin: 0 }
|
|
1391
|
-
|
|
1391
|
+
/* The marker is RESTORED here. `base.css` takes it off every list in the
|
|
1392
|
+
document, because a nav and a card grid are both lists and neither wants one.
|
|
1393
|
+
Authored prose is the one place it belongs, and setting only the indent left
|
|
1394
|
+
an indented list with nothing at the start of the line — measured on the lux
|
|
1395
|
+
blog, where every bulleted list read as loose paragraphs. */
|
|
1396
|
+
.hz-prose > ul, .hz-prose ul ul { list-style: disc }
|
|
1397
|
+
.hz-prose > ol, .hz-prose ol ol { list-style: decimal }
|
|
1398
|
+
.hz-prose ul, .hz-prose ol { margin: 0; padding-inline-start: 1.5em }
|
|
1392
1399
|
.hz-prose li { margin-block: 0.25em }
|
|
1400
|
+
.hz-prose li::marker { color: var(--muted-foreground) }
|
|
1401
|
+
|
|
1402
|
+
/* A code block is a SURFACE, not just a change of typeface. Without the panel
|
|
1403
|
+
it sits directly on the page ground and reads as body text that happens to be
|
|
1404
|
+
monospaced — which is exactly what a reader scanning for the command must not
|
|
1405
|
+
have to work out. `pre` already scrolls inside itself (base.css); this gives
|
|
1406
|
+
it the ground to scroll on. */
|
|
1407
|
+
.hz-prose > pre {
|
|
1408
|
+
margin: 0;
|
|
1409
|
+
padding: var(--space-4, 1rem);
|
|
1410
|
+
border: 1px solid var(--border);
|
|
1411
|
+
border-radius: var(--radius, 0.5rem);
|
|
1412
|
+
background: var(--muted);
|
|
1413
|
+
font-size: var(--text-sm);
|
|
1414
|
+
line-height: var(--leading-normal);
|
|
1415
|
+
}
|
|
1416
|
+
/* Inside a block the panel IS the surface, so the inline treatment would draw a
|
|
1417
|
+
second one around every line. */
|
|
1418
|
+
.hz-prose > pre code { background: none; padding: 0; border: 0; font-size: inherit }
|
|
1419
|
+
.hz-prose :not(pre) > code {
|
|
1420
|
+
padding: 0.15em 0.35em;
|
|
1421
|
+
border-radius: calc(var(--radius, 0.5rem) / 2);
|
|
1422
|
+
background: var(--muted);
|
|
1423
|
+
}
|
|
1393
1424
|
.hz-prose > blockquote {
|
|
1394
1425
|
margin: 0;
|
|
1395
1426
|
padding-inline-start: 1em;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.23.
|
|
3
|
+
"version": "8.23.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
|
|
6
6
|
"exports": {
|