@hanzo/ui 8.27.16 → 8.27.17
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 +62 -50
- package/dist/styles.css +61 -49
- 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.27.
|
|
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.27.17</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
|
*
|
|
@@ -2253,64 +2253,76 @@ input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-web
|
|
|
2253
2253
|
max-width: var(--measure);
|
|
2254
2254
|
}
|
|
2255
2255
|
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
}
|
|
2256
|
+
/* ── The element defaults, in a cascade layer ────────────────────────────
|
|
2257
|
+
A rule outside a layer beats every rule inside one, however specific — so
|
|
2258
|
+
these, unlayered, outranked every Tailwind utility and every `prose` rule on
|
|
2259
|
+
any site that imports this sheet beside its own. docs.hanzo.ai showed both:
|
|
2260
|
+
`a { color: inherit }` beat `text-fd-primary-foreground`, so its primary
|
|
2261
|
+
button printed near-white on its white fill, and `p { margin: 0 }` beat the
|
|
2262
|
+
typography plugin, so every paragraph on the site touched the next. Defaults
|
|
2263
|
+
have to lose to anything an app states on purpose; in `base`, the layer the
|
|
2264
|
+
tokens already use, they do. gui's atomic classes are unlayered and still win
|
|
2265
|
+
over them, as before. */
|
|
2266
|
+
@layer base {
|
|
2267
|
+
*,
|
|
2268
|
+
*::before,
|
|
2269
|
+
*::after {
|
|
2270
|
+
box-sizing: border-box;
|
|
2271
|
+
}
|
|
2261
2272
|
|
|
2262
|
-
h1, h2, h3, h4, h5, h6,
|
|
2263
|
-
p, figure, blockquote, dl, dd {
|
|
2264
|
-
|
|
2265
|
-
}
|
|
2273
|
+
h1, h2, h3, h4, h5, h6,
|
|
2274
|
+
p, figure, blockquote, dl, dd {
|
|
2275
|
+
margin: 0;
|
|
2276
|
+
}
|
|
2266
2277
|
|
|
2267
|
-
ol, ul, menu {
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
}
|
|
2278
|
+
ol, ul, menu {
|
|
2279
|
+
list-style: none;
|
|
2280
|
+
margin: 0;
|
|
2281
|
+
padding: 0;
|
|
2282
|
+
}
|
|
2272
2283
|
|
|
2273
|
-
button, input, select, textarea, optgroup {
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
}
|
|
2284
|
+
button, input, select, textarea, optgroup {
|
|
2285
|
+
font: inherit;
|
|
2286
|
+
color: inherit;
|
|
2287
|
+
letter-spacing: inherit;
|
|
2288
|
+
}
|
|
2278
2289
|
|
|
2279
|
-
button {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
}
|
|
2290
|
+
button {
|
|
2291
|
+
background: transparent;
|
|
2292
|
+
border: 0;
|
|
2293
|
+
padding: 0;
|
|
2294
|
+
cursor: pointer;
|
|
2295
|
+
}
|
|
2285
2296
|
|
|
2286
|
-
a {
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
}
|
|
2297
|
+
a {
|
|
2298
|
+
color: inherit;
|
|
2299
|
+
text-decoration: none;
|
|
2300
|
+
}
|
|
2290
2301
|
|
|
2291
|
-
/* Replaced elements are blocks: inline leaves a gap under every image for the
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
img, svg, video, canvas, audio, iframe, embed, object {
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
}
|
|
2302
|
+
/* Replaced elements are blocks: inline leaves a gap under every image for the
|
|
2303
|
+
text baseline that is not there. `max-width` keeps one from widening the
|
|
2304
|
+
page — the single commonest cause of a document that scrolls sideways. */
|
|
2305
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
2306
|
+
display: block;
|
|
2307
|
+
max-width: 100%;
|
|
2308
|
+
}
|
|
2298
2309
|
|
|
2299
|
-
/* Preformatted text cannot wrap, so left alone it is the other commonest cause
|
|
2300
|
-
|
|
2301
|
-
pre {
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
}
|
|
2310
|
+
/* Preformatted text cannot wrap, so left alone it is the other commonest cause
|
|
2311
|
+
of a sideways-scrolling document. It scrolls inside itself instead. */
|
|
2312
|
+
pre {
|
|
2313
|
+
overflow-x: auto;
|
|
2314
|
+
max-width: 100%;
|
|
2315
|
+
}
|
|
2305
2316
|
|
|
2306
|
-
table {
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
}
|
|
2317
|
+
table {
|
|
2318
|
+
border-collapse: collapse;
|
|
2319
|
+
border-spacing: 0;
|
|
2320
|
+
}
|
|
2310
2321
|
|
|
2311
|
-
/* A long word — a hash, an address, a URL — must not decide the page width. */
|
|
2312
|
-
body {
|
|
2313
|
-
|
|
2322
|
+
/* A long word — a hash, an address, a URL — must not decide the page width. */
|
|
2323
|
+
body {
|
|
2324
|
+
overflow-wrap: break-word;
|
|
2325
|
+
}
|
|
2314
2326
|
}
|
|
2315
2327
|
|
|
2316
2328
|
/* ── Prose meets a control ────────────────────────────────────────────────
|
package/dist/styles.css
CHANGED
|
@@ -2253,64 +2253,76 @@ input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-web
|
|
|
2253
2253
|
max-width: var(--measure);
|
|
2254
2254
|
}
|
|
2255
2255
|
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
}
|
|
2256
|
+
/* ── The element defaults, in a cascade layer ────────────────────────────
|
|
2257
|
+
A rule outside a layer beats every rule inside one, however specific — so
|
|
2258
|
+
these, unlayered, outranked every Tailwind utility and every `prose` rule on
|
|
2259
|
+
any site that imports this sheet beside its own. docs.hanzo.ai showed both:
|
|
2260
|
+
`a { color: inherit }` beat `text-fd-primary-foreground`, so its primary
|
|
2261
|
+
button printed near-white on its white fill, and `p { margin: 0 }` beat the
|
|
2262
|
+
typography plugin, so every paragraph on the site touched the next. Defaults
|
|
2263
|
+
have to lose to anything an app states on purpose; in `base`, the layer the
|
|
2264
|
+
tokens already use, they do. gui's atomic classes are unlayered and still win
|
|
2265
|
+
over them, as before. */
|
|
2266
|
+
@layer base {
|
|
2267
|
+
*,
|
|
2268
|
+
*::before,
|
|
2269
|
+
*::after {
|
|
2270
|
+
box-sizing: border-box;
|
|
2271
|
+
}
|
|
2261
2272
|
|
|
2262
|
-
h1, h2, h3, h4, h5, h6,
|
|
2263
|
-
p, figure, blockquote, dl, dd {
|
|
2264
|
-
|
|
2265
|
-
}
|
|
2273
|
+
h1, h2, h3, h4, h5, h6,
|
|
2274
|
+
p, figure, blockquote, dl, dd {
|
|
2275
|
+
margin: 0;
|
|
2276
|
+
}
|
|
2266
2277
|
|
|
2267
|
-
ol, ul, menu {
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
}
|
|
2278
|
+
ol, ul, menu {
|
|
2279
|
+
list-style: none;
|
|
2280
|
+
margin: 0;
|
|
2281
|
+
padding: 0;
|
|
2282
|
+
}
|
|
2272
2283
|
|
|
2273
|
-
button, input, select, textarea, optgroup {
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
}
|
|
2284
|
+
button, input, select, textarea, optgroup {
|
|
2285
|
+
font: inherit;
|
|
2286
|
+
color: inherit;
|
|
2287
|
+
letter-spacing: inherit;
|
|
2288
|
+
}
|
|
2278
2289
|
|
|
2279
|
-
button {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
}
|
|
2290
|
+
button {
|
|
2291
|
+
background: transparent;
|
|
2292
|
+
border: 0;
|
|
2293
|
+
padding: 0;
|
|
2294
|
+
cursor: pointer;
|
|
2295
|
+
}
|
|
2285
2296
|
|
|
2286
|
-
a {
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
}
|
|
2297
|
+
a {
|
|
2298
|
+
color: inherit;
|
|
2299
|
+
text-decoration: none;
|
|
2300
|
+
}
|
|
2290
2301
|
|
|
2291
|
-
/* Replaced elements are blocks: inline leaves a gap under every image for the
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
img, svg, video, canvas, audio, iframe, embed, object {
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
}
|
|
2302
|
+
/* Replaced elements are blocks: inline leaves a gap under every image for the
|
|
2303
|
+
text baseline that is not there. `max-width` keeps one from widening the
|
|
2304
|
+
page — the single commonest cause of a document that scrolls sideways. */
|
|
2305
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
2306
|
+
display: block;
|
|
2307
|
+
max-width: 100%;
|
|
2308
|
+
}
|
|
2298
2309
|
|
|
2299
|
-
/* Preformatted text cannot wrap, so left alone it is the other commonest cause
|
|
2300
|
-
|
|
2301
|
-
pre {
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
}
|
|
2310
|
+
/* Preformatted text cannot wrap, so left alone it is the other commonest cause
|
|
2311
|
+
of a sideways-scrolling document. It scrolls inside itself instead. */
|
|
2312
|
+
pre {
|
|
2313
|
+
overflow-x: auto;
|
|
2314
|
+
max-width: 100%;
|
|
2315
|
+
}
|
|
2305
2316
|
|
|
2306
|
-
table {
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
}
|
|
2317
|
+
table {
|
|
2318
|
+
border-collapse: collapse;
|
|
2319
|
+
border-spacing: 0;
|
|
2320
|
+
}
|
|
2310
2321
|
|
|
2311
|
-
/* A long word — a hash, an address, a URL — must not decide the page width. */
|
|
2312
|
-
body {
|
|
2313
|
-
|
|
2322
|
+
/* A long word — a hash, an address, a URL — must not decide the page width. */
|
|
2323
|
+
body {
|
|
2324
|
+
overflow-wrap: break-word;
|
|
2325
|
+
}
|
|
2314
2326
|
}
|
|
2315
2327
|
|
|
2316
2328
|
/* ── Prose meets a control ────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.17",
|
|
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": {
|