@xtyle/core 0.6.0 → 0.7.0
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 +15 -6
- package/dist/algorithms/factory.d.ts +24 -1
- package/dist/algorithms/factory.d.ts.map +1 -1
- package/dist/algorithms/factory.js +373 -59
- package/dist/algorithms/factory.js.map +1 -1
- package/dist/audit.d.ts +36 -0
- package/dist/audit.d.ts.map +1 -1
- package/dist/audit.js +22 -0
- package/dist/audit.js.map +1 -1
- package/dist/authoring.d.ts +10 -1
- package/dist/authoring.d.ts.map +1 -1
- package/dist/authoring.js +6 -1
- package/dist/authoring.js.map +1 -1
- package/dist/cli.js +19 -7
- package/dist/cli.js.map +1 -1
- package/dist/color.d.ts +6 -0
- package/dist/color.d.ts.map +1 -1
- package/dist/color.js +20 -0
- package/dist/color.js.map +1 -1
- package/dist/css/components/app-shell.d.ts.map +1 -1
- package/dist/css/components/app-shell.js +10 -0
- package/dist/css/components/app-shell.js.map +1 -1
- package/dist/css/components/avatar.d.ts.map +1 -1
- package/dist/css/components/avatar.js +8 -19
- package/dist/css/components/avatar.js.map +1 -1
- package/dist/css/components/badge.d.ts.map +1 -1
- package/dist/css/components/badge.js +3 -87
- package/dist/css/components/badge.js.map +1 -1
- package/dist/css/components/bottom-nav.d.ts +2 -0
- package/dist/css/components/bottom-nav.d.ts.map +1 -0
- package/dist/css/components/bottom-nav.js +72 -0
- package/dist/css/components/bottom-nav.js.map +1 -0
- package/dist/css/components/carousel.d.ts.map +1 -1
- package/dist/css/components/carousel.js +144 -1
- package/dist/css/components/carousel.js.map +1 -1
- package/dist/css/components/dialog.d.ts.map +1 -1
- package/dist/css/components/dialog.js +10 -4
- package/dist/css/components/dialog.js.map +1 -1
- package/dist/css/components/dot.d.ts +2 -0
- package/dist/css/components/dot.d.ts.map +1 -0
- package/dist/css/components/dot.js +72 -0
- package/dist/css/components/dot.js.map +1 -0
- package/dist/css/components/heatmap.d.ts.map +1 -1
- package/dist/css/components/heatmap.js +23 -0
- package/dist/css/components/heatmap.js.map +1 -1
- package/dist/css/components/image.d.ts.map +1 -1
- package/dist/css/components/image.js +41 -0
- package/dist/css/components/image.js.map +1 -1
- package/dist/css/components/mobile-shell.d.ts +2 -0
- package/dist/css/components/mobile-shell.d.ts.map +1 -0
- package/dist/css/components/mobile-shell.js +63 -0
- package/dist/css/components/mobile-shell.js.map +1 -0
- package/dist/css/components/panel.js +1 -1
- package/dist/css/components/qr.d.ts +2 -0
- package/dist/css/components/qr.d.ts.map +1 -0
- package/dist/css/components/qr.js +134 -0
- package/dist/css/components/qr.js.map +1 -0
- package/dist/css/components/radio.d.ts.map +1 -1
- package/dist/css/components/radio.js +49 -0
- package/dist/css/components/radio.js.map +1 -1
- package/dist/css/components/ribbon.d.ts +2 -0
- package/dist/css/components/ribbon.d.ts.map +1 -0
- package/dist/css/components/ribbon.js +65 -0
- package/dist/css/components/ribbon.js.map +1 -0
- package/dist/css/components/tree.d.ts.map +1 -1
- package/dist/css/components/tree.js +4 -1
- package/dist/css/components/tree.js.map +1 -1
- package/dist/css/components.d.ts.map +1 -1
- package/dist/css/components.js +14 -1
- package/dist/css/components.js.map +1 -1
- package/dist/css/index.d.ts +2 -0
- package/dist/css/index.d.ts.map +1 -1
- package/dist/css/index.js +2 -0
- package/dist/css/index.js.map +1 -1
- package/dist/elements/avatar.d.ts +18 -3
- package/dist/elements/avatar.d.ts.map +1 -1
- package/dist/elements/avatar.js +35 -6
- package/dist/elements/avatar.js.map +1 -1
- package/dist/elements/bottom-nav.d.ts +30 -0
- package/dist/elements/bottom-nav.d.ts.map +1 -0
- package/dist/elements/bottom-nav.js +114 -0
- package/dist/elements/bottom-nav.js.map +1 -0
- package/dist/elements/carousel.d.ts +61 -0
- package/dist/elements/carousel.d.ts.map +1 -1
- package/dist/elements/carousel.js +282 -22
- package/dist/elements/carousel.js.map +1 -1
- package/dist/elements/dialog.d.ts +3 -3
- package/dist/elements/dialog.d.ts.map +1 -1
- package/dist/elements/dialog.js.map +1 -1
- package/dist/elements/dot.d.ts +37 -0
- package/dist/elements/dot.d.ts.map +1 -0
- package/dist/elements/dot.js +104 -0
- package/dist/elements/dot.js.map +1 -0
- package/dist/elements/fragment-ssr.d.ts.map +1 -1
- package/dist/elements/fragment-ssr.js +10 -0
- package/dist/elements/fragment-ssr.js.map +1 -1
- package/dist/elements/fragments/avatar/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/avatar/source.generated.js +1 -1
- package/dist/elements/fragments/avatar/source.generated.js.map +1 -1
- package/dist/elements/fragments/badge/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/badge/source.generated.js +1 -1
- package/dist/elements/fragments/badge/source.generated.js.map +1 -1
- package/dist/elements/fragments/bottom-nav/source.generated.d.ts +25 -0
- package/dist/elements/fragments/bottom-nav/source.generated.d.ts.map +1 -0
- package/dist/elements/fragments/bottom-nav/source.generated.js +4 -0
- package/dist/elements/fragments/bottom-nav/source.generated.js.map +1 -0
- package/dist/elements/fragments/component-host.json +147 -77
- package/dist/elements/fragments/dot/source.generated.d.ts +25 -0
- package/dist/elements/fragments/dot/source.generated.d.ts.map +1 -0
- package/dist/elements/fragments/dot/source.generated.js +4 -0
- package/dist/elements/fragments/dot/source.generated.js.map +1 -0
- package/dist/elements/fragments/heatmap/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/heatmap/source.generated.js +1 -1
- package/dist/elements/fragments/heatmap/source.generated.js.map +1 -1
- package/dist/elements/fragments/icon/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/icon/source.generated.js +1 -1
- package/dist/elements/fragments/icon/source.generated.js.map +1 -1
- package/dist/elements/fragments/image/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/image/source.generated.js +1 -1
- package/dist/elements/fragments/image/source.generated.js.map +1 -1
- package/dist/elements/fragments/mobile-shell/source.generated.d.ts +25 -0
- package/dist/elements/fragments/mobile-shell/source.generated.d.ts.map +1 -0
- package/dist/elements/fragments/mobile-shell/source.generated.js +4 -0
- package/dist/elements/fragments/mobile-shell/source.generated.js.map +1 -0
- package/dist/elements/fragments/qr/source.generated.d.ts +25 -0
- package/dist/elements/fragments/qr/source.generated.d.ts.map +1 -0
- package/dist/elements/fragments/qr/source.generated.js +4 -0
- package/dist/elements/fragments/qr/source.generated.js.map +1 -0
- package/dist/elements/fragments/radio/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/radio/source.generated.js +1 -1
- package/dist/elements/fragments/radio/source.generated.js.map +1 -1
- package/dist/elements/fragments/ribbon/source.generated.d.ts +25 -0
- package/dist/elements/fragments/ribbon/source.generated.d.ts.map +1 -0
- package/dist/elements/fragments/ribbon/source.generated.js +4 -0
- package/dist/elements/fragments/ribbon/source.generated.js.map +1 -0
- package/dist/elements/fragments/segmented/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/segmented/source.generated.js +1 -1
- package/dist/elements/fragments/segmented/source.generated.js.map +1 -1
- package/dist/elements/fragments/slider/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/slider/source.generated.js +1 -1
- package/dist/elements/fragments/slider/source.generated.js.map +1 -1
- package/dist/elements/fragments/tree/source.generated.d.ts.map +1 -1
- package/dist/elements/fragments/tree/source.generated.js +1 -1
- package/dist/elements/fragments/tree/source.generated.js.map +1 -1
- package/dist/elements/heatmap.d.ts +14 -3
- package/dist/elements/heatmap.d.ts.map +1 -1
- package/dist/elements/heatmap.js +49 -18
- package/dist/elements/heatmap.js.map +1 -1
- package/dist/elements/image.d.ts +20 -1
- package/dist/elements/image.d.ts.map +1 -1
- package/dist/elements/image.js +171 -1
- package/dist/elements/image.js.map +1 -1
- package/dist/elements/index.d.ts +10 -0
- package/dist/elements/index.d.ts.map +1 -1
- package/dist/elements/index.js +10 -0
- package/dist/elements/index.js.map +1 -1
- package/dist/elements/mobile-shell.d.ts +24 -0
- package/dist/elements/mobile-shell.d.ts.map +1 -0
- package/dist/elements/mobile-shell.js +53 -0
- package/dist/elements/mobile-shell.js.map +1 -0
- package/dist/elements/qr.d.ts +65 -0
- package/dist/elements/qr.d.ts.map +1 -0
- package/dist/elements/qr.js +0 -0
- package/dist/elements/qr.js.map +1 -0
- package/dist/elements/radio.d.ts +1 -0
- package/dist/elements/radio.d.ts.map +1 -1
- package/dist/elements/radio.js +7 -1
- package/dist/elements/radio.js.map +1 -1
- package/dist/elements/ribbon.d.ts +36 -0
- package/dist/elements/ribbon.d.ts.map +1 -0
- package/dist/elements/ribbon.js +91 -0
- package/dist/elements/ribbon.js.map +1 -0
- package/dist/elements/segmented.d.ts.map +1 -1
- package/dist/elements/segmented.js +3 -0
- package/dist/elements/segmented.js.map +1 -1
- package/dist/elements/slider.d.ts +25 -1
- package/dist/elements/slider.d.ts.map +1 -1
- package/dist/elements/slider.js +122 -16
- package/dist/elements/slider.js.map +1 -1
- package/dist/elements/sparkline.d.ts +3 -1
- package/dist/elements/sparkline.d.ts.map +1 -1
- package/dist/elements/sparkline.js +13 -3
- package/dist/elements/sparkline.js.map +1 -1
- package/dist/emit/css.d.ts.map +1 -1
- package/dist/emit/css.js +5 -1
- package/dist/emit/css.js.map +1 -1
- package/dist/emit/index.d.ts +2 -1
- package/dist/emit/index.d.ts.map +1 -1
- package/dist/emit/index.js +3 -1
- package/dist/emit/index.js.map +1 -1
- package/dist/emit/monaco.d.ts.map +1 -1
- package/dist/emit/monaco.js +2 -18
- package/dist/emit/monaco.js.map +1 -1
- package/dist/emit/terminal.d.ts +9 -0
- package/dist/emit/terminal.d.ts.map +1 -0
- package/dist/emit/terminal.js +32 -0
- package/dist/emit/terminal.js.map +1 -0
- package/dist/gauntlet.d.ts.map +1 -1
- package/dist/gauntlet.js +26 -0
- package/dist/gauntlet.js.map +1 -1
- package/dist/host/algorithms-bundle.generated.d.ts.map +1 -1
- package/dist/host/algorithms-bundle.generated.js +1 -1
- package/dist/host/algorithms-bundle.generated.js.map +1 -1
- package/dist/host/authoring-prelude.generated.d.ts +1 -1
- package/dist/host/authoring-prelude.generated.d.ts.map +1 -1
- package/dist/host/authoring-prelude.generated.js +1 -1
- package/dist/host/authoring-prelude.generated.js.map +1 -1
- package/dist/host/index.d.ts.map +1 -1
- package/dist/host/index.js +4 -0
- package/dist/host/index.js.map +1 -1
- package/dist/icon-builder.d.ts +41 -0
- package/dist/icon-builder.d.ts.map +1 -1
- package/dist/icon-builder.js +129 -8
- package/dist/icon-builder.js.map +1 -1
- package/dist/icons.d.ts +1 -1
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +2 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.d.ts +11 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/manifest/avatar.manifest.d.ts.map +1 -1
- package/dist/manifest/avatar.manifest.js +37 -17
- package/dist/manifest/avatar.manifest.js.map +1 -1
- package/dist/manifest/badge.manifest.js +1 -1
- package/dist/manifest/badge.manifest.js.map +1 -1
- package/dist/manifest/bottom-nav.manifest.d.ts +3 -0
- package/dist/manifest/bottom-nav.manifest.d.ts.map +1 -0
- package/dist/manifest/bottom-nav.manifest.js +149 -0
- package/dist/manifest/bottom-nav.manifest.js.map +1 -0
- package/dist/manifest/carousel.manifest.d.ts.map +1 -1
- package/dist/manifest/carousel.manifest.js +58 -4
- package/dist/manifest/carousel.manifest.js.map +1 -1
- package/dist/manifest/dialog.manifest.d.ts.map +1 -1
- package/dist/manifest/dialog.manifest.js +7 -4
- package/dist/manifest/dialog.manifest.js.map +1 -1
- package/dist/manifest/dot.manifest.d.ts +3 -0
- package/dist/manifest/dot.manifest.d.ts.map +1 -0
- package/dist/manifest/dot.manifest.js +172 -0
- package/dist/manifest/dot.manifest.js.map +1 -0
- package/dist/manifest/heatmap.manifest.d.ts.map +1 -1
- package/dist/manifest/heatmap.manifest.js +60 -2
- package/dist/manifest/heatmap.manifest.js.map +1 -1
- package/dist/manifest/icon.manifest.d.ts.map +1 -1
- package/dist/manifest/icon.manifest.js +28 -1
- package/dist/manifest/icon.manifest.js.map +1 -1
- package/dist/manifest/image.manifest.d.ts.map +1 -1
- package/dist/manifest/image.manifest.js +100 -1
- package/dist/manifest/image.manifest.js.map +1 -1
- package/dist/manifest/mobile-shell.manifest.d.ts +3 -0
- package/dist/manifest/mobile-shell.manifest.d.ts.map +1 -0
- package/dist/manifest/mobile-shell.manifest.js +177 -0
- package/dist/manifest/mobile-shell.manifest.js.map +1 -0
- package/dist/manifest/panel.manifest.d.ts.map +1 -1
- package/dist/manifest/panel.manifest.js +2 -1
- package/dist/manifest/panel.manifest.js.map +1 -1
- package/dist/manifest/qr.manifest.d.ts +3 -0
- package/dist/manifest/qr.manifest.d.ts.map +1 -0
- package/dist/manifest/qr.manifest.js +314 -0
- package/dist/manifest/qr.manifest.js.map +1 -0
- package/dist/manifest/radio.manifest.d.ts.map +1 -1
- package/dist/manifest/radio.manifest.js +54 -1
- package/dist/manifest/radio.manifest.js.map +1 -1
- package/dist/manifest/registry.d.ts.map +1 -1
- package/dist/manifest/registry.js +10 -0
- package/dist/manifest/registry.js.map +1 -1
- package/dist/manifest/ribbon.manifest.d.ts +3 -0
- package/dist/manifest/ribbon.manifest.d.ts.map +1 -0
- package/dist/manifest/ribbon.manifest.js +173 -0
- package/dist/manifest/ribbon.manifest.js.map +1 -0
- package/dist/manifest/segmented.manifest.js +5 -5
- package/dist/manifest/segmented.manifest.js.map +1 -1
- package/dist/manifest/slider.manifest.d.ts.map +1 -1
- package/dist/manifest/slider.manifest.js +62 -4
- package/dist/manifest/slider.manifest.js.map +1 -1
- package/dist/manifest/sparkline.manifest.d.ts.map +1 -1
- package/dist/manifest/sparkline.manifest.js +27 -1
- package/dist/manifest/sparkline.manifest.js.map +1 -1
- package/dist/manifest/tree.manifest.d.ts.map +1 -1
- package/dist/manifest/tree.manifest.js +24 -10
- package/dist/manifest/tree.manifest.js.map +1 -1
- package/dist/markup/avatar.d.ts +33 -0
- package/dist/markup/avatar.d.ts.map +1 -1
- package/dist/markup/avatar.js +55 -5
- package/dist/markup/avatar.js.map +1 -1
- package/dist/markup/bottom-nav.d.ts +11 -0
- package/dist/markup/bottom-nav.d.ts.map +1 -0
- package/dist/markup/bottom-nav.js +3 -0
- package/dist/markup/bottom-nav.js.map +1 -0
- package/dist/markup/dialog.d.ts +3 -0
- package/dist/markup/dialog.d.ts.map +1 -1
- package/dist/markup/dialog.js.map +1 -1
- package/dist/markup/dot.d.ts +27 -0
- package/dist/markup/dot.d.ts.map +1 -0
- package/dist/markup/dot.js +27 -0
- package/dist/markup/dot.js.map +1 -0
- package/dist/markup/heatmap.d.ts +2 -2
- package/dist/markup/heatmap.d.ts.map +1 -1
- package/dist/markup/heatmap.js.map +1 -1
- package/dist/markup/image.d.ts +9 -0
- package/dist/markup/image.d.ts.map +1 -1
- package/dist/markup/image.js +24 -0
- package/dist/markup/image.js.map +1 -1
- package/dist/markup/index.d.ts +17 -7
- package/dist/markup/index.d.ts.map +1 -1
- package/dist/markup/index.js +9 -4
- package/dist/markup/index.js.map +1 -1
- package/dist/markup/mobile-shell.d.ts +3 -0
- package/dist/markup/mobile-shell.d.ts.map +1 -0
- package/dist/markup/mobile-shell.js +3 -0
- package/dist/markup/mobile-shell.js.map +1 -0
- package/dist/markup/qr.d.ts +77 -0
- package/dist/markup/qr.d.ts.map +1 -0
- package/dist/markup/qr.js +37 -0
- package/dist/markup/qr.js.map +1 -0
- package/dist/markup/radio.d.ts +1 -1
- package/dist/markup/radio.d.ts.map +1 -1
- package/dist/markup/radio.js +1 -1
- package/dist/markup/radio.js.map +1 -1
- package/dist/markup/ribbon.d.ts +23 -0
- package/dist/markup/ribbon.d.ts.map +1 -0
- package/dist/markup/ribbon.js +23 -0
- package/dist/markup/ribbon.js.map +1 -0
- package/dist/markup/segmented.d.ts +2 -0
- package/dist/markup/segmented.d.ts.map +1 -1
- package/dist/markup/segmented.js +2 -0
- package/dist/markup/segmented.js.map +1 -1
- package/dist/markup/sparkline.d.ts +8 -0
- package/dist/markup/sparkline.d.ts.map +1 -1
- package/dist/markup/sparkline.js +37 -0
- package/dist/markup/sparkline.js.map +1 -1
- package/dist/markup/tree.d.ts +15 -4
- package/dist/markup/tree.d.ts.map +1 -1
- package/dist/markup/tree.js +16 -4
- package/dist/markup/tree.js.map +1 -1
- package/dist/qr.d.ts +84 -0
- package/dist/qr.d.ts.map +1 -0
- package/dist/qr.js +596 -0
- package/dist/qr.js.map +1 -0
- package/dist/series.d.ts +29 -0
- package/dist/series.d.ts.map +1 -1
- package/dist/series.js +36 -0
- package/dist/series.js.map +1 -1
- package/dist/theme-file.d.ts +13 -0
- package/dist/theme-file.d.ts.map +1 -1
- package/dist/theme-file.js +32 -0
- package/dist/theme-file.js.map +1 -1
- package/dist/token-meta.d.ts.map +1 -1
- package/dist/token-meta.js +6 -0
- package/dist/token-meta.js.map +1 -1
- package/dist/types.d.ts +64 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/vocab.d.ts +5 -0
- package/dist/vocab.d.ts.map +1 -1
- package/dist/vocab.js.map +1 -1
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ export const dialogManifest = {
|
|
|
52
52
|
keywords: ["modal", "popup", "overlay", "lightbox", "confirm", "sheet"],
|
|
53
53
|
seeAlso: ["tooltip", "menu", "toast"],
|
|
54
54
|
summary: "A centered modal built on the native `<dialog>` element: scrim, focus trap, and Esc-to-close come for free.",
|
|
55
|
-
description: "Dialog is a centered modal that wraps the platform `<dialog>` element, so the native modal machinery (the top-layer scrim, the focus trap, focus restore on close, `Escape` to dismiss, and the `role`/`aria-modal` semantics) all comes from the browser rather than re-implemented JavaScript. Open and close it imperatively with `showModal()` / `close()` (or the reactive `open` prop in the framework wrappers). It lays out a header, a scrolling body, and a footer via named slots, and ships a close button by default. The header is wired to the dialog with `aria-labelledby` whenever a `heading` (or explicit `labelledby`) is supplied; a dialog that brings its own `header` slot instead names itself with `label`, since `aria-labelledby` cannot reach a slotted title across the shadow boundary.
|
|
55
|
+
description: "Dialog is a centered modal that wraps the platform `<dialog>` element, so the native modal machinery (the top-layer scrim, the focus trap, focus restore on close, `Escape` to dismiss, and the `role`/`aria-modal` semantics) all comes from the browser rather than re-implemented JavaScript. Open and close it imperatively with `showModal()` / `close()` (or the reactive `open` prop in the framework wrappers). It lays out a header, a scrolling body, and a footer via named slots, and ships a close button by default. The header is wired to the dialog with `aria-labelledby` whenever a `heading` (or explicit `labelledby`) is supplied; a dialog that brings its own `header` slot instead names itself with `label`, since `aria-labelledby` cannot reach a slotted title across the shadow boundary. Five sizes (sm, md, lg, xl, full) cap its width while it stays responsive on small screens; `xl` (64rem) and `full` cover editor-class content, and the inner panel is exposed as `::part(dialog)` so a consumer can size or style it to an exact width directly.",
|
|
56
56
|
bindings: ["html", "svelte", "astro"],
|
|
57
57
|
anatomy: [
|
|
58
58
|
{
|
|
@@ -125,11 +125,11 @@ export const dialogManifest = {
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
name: "size",
|
|
128
|
-
type: "
|
|
128
|
+
type: "DialogSize",
|
|
129
129
|
default: "md",
|
|
130
|
-
description: "Caps the dialog's width.",
|
|
130
|
+
description: "Caps the dialog's width. `xl` (64rem) and `full` cover editor-class content; for an exact width, style `::part(dialog)`.",
|
|
131
131
|
bindings: ["html", "svelte", "astro"],
|
|
132
|
-
options: ["sm", "md", "lg"],
|
|
132
|
+
options: ["sm", "md", "lg", "xl", "full"],
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
name: "heading",
|
|
@@ -169,6 +169,8 @@ export const dialogManifest = {
|
|
|
169
169
|
{ name: "sm", description: "Compact: for short confirmations.", className: "xtyle-dialog--sm" },
|
|
170
170
|
{ name: "md", description: "Default.", className: "xtyle-dialog", isDefault: true },
|
|
171
171
|
{ name: "lg", description: "Roomy: for richer content.", className: "xtyle-dialog--lg" },
|
|
172
|
+
{ name: "xl", description: "Wide (64rem): editor-class content, multi-column forms.", className: "xtyle-dialog--xl" },
|
|
173
|
+
{ name: "full", description: "Viewport width minus the responsive margin.", className: "xtyle-dialog--full" },
|
|
172
174
|
],
|
|
173
175
|
states: [
|
|
174
176
|
{
|
|
@@ -248,6 +250,7 @@ export const dialogManifest = {
|
|
|
248
250
|
"Pair the footer with Button for the action row; wire a ghost neutral Cancel to `close()` and the primary action to its handler.",
|
|
249
251
|
"Use `heading` for the common titled case; drop in a `header` slot when the title needs an icon, badge, or subtitle.",
|
|
250
252
|
"Set `no-close-button` when the dialog is a blocking confirm whose only exits are explicit footer actions.",
|
|
253
|
+
"For a wide, editor-class host (a code editor, a multi-column form), reach for `size=\"xl\"` (64rem) or `size=\"full\"`; for an exact width or any other panel styling, target `::part(dialog)` from the consumer's own stylesheet (`xtyle-dialog::part(dialog) { width: min(1100px, 96vw); }`).",
|
|
251
254
|
],
|
|
252
255
|
a11y: [
|
|
253
256
|
"Built on the native `<dialog>` element, so `role=\"dialog\"`, `aria-modal=\"true\"`, the focus trap, focus restore on close, and `Escape`-to-dismiss all come from the browser.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.manifest.js","sourceRoot":"","sources":["../../src/manifest/dialog.manifest.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG;;;;;;;;;;;;gBAYJ,CAAC;AAEjB,MAAM,aAAa,GAAG;;;;;;;;;;;;;;UAcZ,CAAC;AAEX,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;UAkBX,CAAC;AAEX,MAAM,CAAC,MAAM,cAAc,GAAsB;IAChD,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC;IACvE,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC;IACrC,OAAO,EAAE,6GAA6G;IACtH,WAAW,EACV,
|
|
1
|
+
{"version":3,"file":"dialog.manifest.js","sourceRoot":"","sources":["../../src/manifest/dialog.manifest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,qIAAqI;QACrI,oJAAoJ;QACpJ,4HAA4H;KAC5H;IACD,QAAQ,EAAE;QACT;YACC,EAAE,EAAE,gBAAgB;YACpB,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,oFAAoF;YACjG,MAAM,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,YAAY,EAAE;SACzE;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dot.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/dot.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAmCpD,eAAO,MAAM,WAAW,EAAE,iBA6IzB,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { FULL_TONES } from "../vocab.js";
|
|
2
|
+
const htmlExample = `<xtyle-dot tone="success" label="Online"></xtyle-dot>
|
|
3
|
+
|
|
4
|
+
<xtyle-dot tone="danger" ping label="Live"></xtyle-dot>
|
|
5
|
+
|
|
6
|
+
<xtyle-dot tone="accent" glow size="lg"></xtyle-dot>
|
|
7
|
+
|
|
8
|
+
<xtyle-dot color="#a855f7" ping></xtyle-dot>`;
|
|
9
|
+
const svelteExample = `<script lang="ts">
|
|
10
|
+
import { Dot } from "@xtyle/svelte";
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<Dot tone="success" label="Online" />
|
|
14
|
+
|
|
15
|
+
<Dot tone="danger" ping label="Live" />
|
|
16
|
+
|
|
17
|
+
<Dot tone="accent" glow size="lg" />
|
|
18
|
+
|
|
19
|
+
<Dot color="#a855f7" ping />`;
|
|
20
|
+
const astroExample = `---
|
|
21
|
+
import Dot from "@xtyle/astro/Dot.astro";
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
<Dot tone="success" label="Online" />
|
|
25
|
+
|
|
26
|
+
<Dot tone="danger" ping label="Live" />
|
|
27
|
+
|
|
28
|
+
<Dot tone="accent" glow size="lg" />
|
|
29
|
+
|
|
30
|
+
<Dot color="#a855f7" ping />`;
|
|
31
|
+
export const dotManifest = {
|
|
32
|
+
id: "dot",
|
|
33
|
+
name: "Dot",
|
|
34
|
+
since: "0.7.0",
|
|
35
|
+
category: "feedback",
|
|
36
|
+
keywords: ["status", "indicator", "presence", "online", "offline", "live", "ping", "pulse", "pip", "led"],
|
|
37
|
+
seeAlso: ["badge", "spinner", "swatch"],
|
|
38
|
+
summary: "A standalone status dot: a bare indicator in any tone, with optional ping, glow, and pulse.",
|
|
39
|
+
description: "Dot is the bare indicator for \"presence without a full chip\": a connection light in a titlebar, a per-row streaming pip, an online/offline marker. `tone` colors it across the six semantic roles (plus the accent variants and named hues), `size` picks sm, md, or lg, and a `color` escape hatch paints any raw value past the tone set (a `color-mix(...)` expression, a per-state color from a status map). Three composable animations layer on: `ping` radiates an expanding ring, `glow` adds a soft halo, and `pulse` breathes the dot at a slow or fast cadence; all three hold still under `prefers-reduced-motion`. It ships as a first-class element that self-styles in its own shadow root, so a shadow-DOM consumer with no global stylesheet gets it for free, and the `.xtyle-dot` utility class stays available for global-CSS pages. A labelled dot is exposed as a named `role=\"img\"`; an unlabelled one is decorative and hidden from assistive tech.",
|
|
40
|
+
bindings: ["html", "svelte", "astro"],
|
|
41
|
+
anatomy: [
|
|
42
|
+
{
|
|
43
|
+
name: "dot",
|
|
44
|
+
description: "The dot itself: a full-radius circle filled with the resolved `--dot-color`.",
|
|
45
|
+
selector: ".xtyle-dot",
|
|
46
|
+
tokens: ["--neutral", "--radius-full", "--space-2"],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: "ping",
|
|
50
|
+
description: "The expanding ring on a `ping` dot: an `::after` clone that scales out and fades on a loop.",
|
|
51
|
+
selector: ".xtyle-dot--ping::after",
|
|
52
|
+
tokens: ["--ease-standard"],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
props: [
|
|
56
|
+
{
|
|
57
|
+
name: "tone",
|
|
58
|
+
type: "FullTone",
|
|
59
|
+
default: "neutral",
|
|
60
|
+
description: "Semantic color role (or named hue) driving the dot color.",
|
|
61
|
+
bindings: ["html", "svelte", "astro"],
|
|
62
|
+
options: [...FULL_TONES],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
name: "size",
|
|
66
|
+
type: "DotSize",
|
|
67
|
+
default: "md",
|
|
68
|
+
description: "Dot diameter, stepped off the spacing scale.",
|
|
69
|
+
bindings: ["html", "svelte", "astro"],
|
|
70
|
+
options: ["sm", "md", "lg"],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: "pulse",
|
|
74
|
+
type: "DotPulse",
|
|
75
|
+
description: "Breathe the dot's opacity at a slow or fast cadence.",
|
|
76
|
+
bindings: ["html", "svelte", "astro"],
|
|
77
|
+
options: ["slow", "fast"],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: "ping",
|
|
81
|
+
type: "boolean",
|
|
82
|
+
default: "false",
|
|
83
|
+
description: "Radiate an expanding ring for a live/active indicator.",
|
|
84
|
+
bindings: ["html", "svelte", "astro"],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "glow",
|
|
88
|
+
type: "boolean",
|
|
89
|
+
default: "false",
|
|
90
|
+
description: "Add a soft halo in the dot color.",
|
|
91
|
+
bindings: ["html", "svelte", "astro"],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: "color",
|
|
95
|
+
type: "string",
|
|
96
|
+
description: "Escape hatch: paint the dot any raw color, past the tone set. Sets `--dot-color` and wins over `tone`.",
|
|
97
|
+
bindings: ["html", "svelte", "astro"],
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "label",
|
|
101
|
+
type: "string",
|
|
102
|
+
description: "Accessible name. When set, the dot is exposed as `role=\"img\"`; when absent, it is decorative and hidden.",
|
|
103
|
+
bindings: ["html", "svelte", "astro"],
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
variants: FULL_TONES.map((tone) => ({
|
|
107
|
+
name: tone,
|
|
108
|
+
description: `${tone}-toned dot.`,
|
|
109
|
+
className: `xtyle-dot--${tone}`,
|
|
110
|
+
tokens: [`--${tone}`],
|
|
111
|
+
})),
|
|
112
|
+
sizes: [
|
|
113
|
+
{ name: "sm", description: "Compact.", className: "xtyle-dot--sm" },
|
|
114
|
+
{ name: "md", description: "Default.", className: "xtyle-dot", isDefault: true },
|
|
115
|
+
{ name: "lg", description: "Large.", className: "xtyle-dot--lg" },
|
|
116
|
+
],
|
|
117
|
+
states: [
|
|
118
|
+
{
|
|
119
|
+
name: "ping",
|
|
120
|
+
description: "An expanding ring radiates outward on a loop.",
|
|
121
|
+
selector: ".xtyle-dot--ping",
|
|
122
|
+
tokens: ["--ease-standard"],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: "glow",
|
|
126
|
+
description: "A soft halo in the dot color.",
|
|
127
|
+
selector: ".xtyle-dot--glow",
|
|
128
|
+
tokens: ["--border-thin"],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "pulse-slow",
|
|
132
|
+
description: "Slow opacity breathe.",
|
|
133
|
+
selector: ".xtyle-dot--pulse-slow",
|
|
134
|
+
tokens: ["--ease-standard"],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
name: "pulse-fast",
|
|
138
|
+
description: "Fast opacity breathe.",
|
|
139
|
+
selector: ".xtyle-dot--pulse-fast",
|
|
140
|
+
tokens: ["--ease-standard"],
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
slots: [],
|
|
144
|
+
consumedTokens: [
|
|
145
|
+
"--radius-full",
|
|
146
|
+
"--space-2",
|
|
147
|
+
"--space-3",
|
|
148
|
+
"--space-4",
|
|
149
|
+
"--border-thin",
|
|
150
|
+
"--ease-standard",
|
|
151
|
+
...FULL_TONES.map((t) => `--${t}`),
|
|
152
|
+
],
|
|
153
|
+
composition: [
|
|
154
|
+
"Reach for Dot when you want a color-coded status without a label chip; reach for Badge when the status wants a word beside it.",
|
|
155
|
+
"Compose `ping` + `glow` for a strong live indicator; add `pulse` for a quieter breathe when a full ping ring is too loud.",
|
|
156
|
+
"Use `color` for a per-state palette wider than the tone set (a run-state map, a `color-mix(...)` expression); `tone` covers the common semantic cases.",
|
|
157
|
+
],
|
|
158
|
+
a11y: [
|
|
159
|
+
"A labelled dot is exposed as a named `role=\"img\"`, so its meaning does not rest on color alone.",
|
|
160
|
+
"An unlabelled dot is treated as decorative and hidden from assistive tech, since color without a name carries no meaning to a screen reader.",
|
|
161
|
+
"All three animations (`ping`, `glow` shimmer, `pulse`) hold still under `prefers-reduced-motion`.",
|
|
162
|
+
],
|
|
163
|
+
examples: [
|
|
164
|
+
{
|
|
165
|
+
id: "tones-states-color",
|
|
166
|
+
title: "Tones, states, and the color escape hatch",
|
|
167
|
+
description: "A labelled status dot, a live ping, a glowing accent, and a raw custom color.",
|
|
168
|
+
source: { html: htmlExample, svelte: svelteExample, astro: astroExample },
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=dot.manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dot.manifest.js","sourceRoot":"","sources":["../../src/manifest/dot.manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,GAAG;;;;;;6CAMyB,CAAC;AAE9C,MAAM,aAAa,GAAG;;;;;;;;;;6BAUO,CAAC;AAE9B,MAAM,YAAY,GAAG;;;;;;;;;;6BAUQ,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAsB;IAC7C,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ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,QAAQ,EAAE,kBAAkB;YAC5B,MAAM,EAAE,CAAC,iBAAiB,CAAC;SAC3B;QACD;YACC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,kBAAkB;YAC5B,MAAM,EAAE,CAAC,eAAe,CAAC;SACzB;QACD;YACC,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,QAAQ,EAAE,wBAAwB;YAClC,MAAM,EAAE,CAAC,iBAAiB,CAAC;SAC3B;QACD;YACC,IAAI,EAAE,YAAY;YAClB,WAAW,EAAE,uBAAuB;YACpC,QAAQ,EAAE,wBAAwB;YAClC,MAAM,EAAE,CAAC,iBAAiB,CAAC;SAC3B;KACD;IACD,KAAK,EAAE,EAAE;IACT,cAAc,EAAE;QACf,eAAe;QACf,WAAW;QACX,WAAW;QACX,WAAW;QACX,eAAe;QACf,iBAAiB;QACjB,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,EAAW,CAAC;KAC3C;IACD,WAAW,EAAE;QACZ,gIAAgI;QAChI,2HAA2H;QAC3H,wJAAwJ;KACxJ;IACD,IAAI,EAAE;QACL,mGAAmG;QACnG,8IAA8I;QAC9I,mGAAmG;KACnG;IACD,QAAQ,EAAE;QACT;YACC,EAAE,EAAE,oBAAoB;YACxB,KAAK,EAAE,2CAA2C;YAClD,WAAW,EAAE,+EAA+E;YAC5F,MAAM,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,YAAY,EAAE;SACzE;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heatmap.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/heatmap.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"heatmap.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/heatmap.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAiNpD,eAAO,MAAM,eAAe,EAAE,iBA8S7B,CAAC"}
|
|
@@ -159,6 +159,34 @@ const titles = [[], [], [, "Wed PM: 6 runs · 2 failed · click to view"]];
|
|
|
159
159
|
---
|
|
160
160
|
|
|
161
161
|
<Heatmap rows={rows} cols={cols} values={values} current={current} titles={titles} currentPulse label="Runs per bucket, this week" />`;
|
|
162
|
+
const categoricalHtmlExample = `<xtyle-heatmap
|
|
163
|
+
scheme="skittles"
|
|
164
|
+
categorical
|
|
165
|
+
scale
|
|
166
|
+
label="Weekly totals by category"></xtyle-heatmap>
|
|
167
|
+
<script>
|
|
168
|
+
const grid = document.querySelector("xtyle-heatmap");
|
|
169
|
+
grid.rows = ["Week 1", "Week 2", "Week 3"];
|
|
170
|
+
grid.cols = ["Bugs", "Features", "Docs", "Chores"];
|
|
171
|
+
grid.values = [[8, 3, 1, 5], [2, 6, 4, 3], [5, 1, 7, 2]];
|
|
172
|
+
</script>`;
|
|
173
|
+
const categoricalSvelteExample = `<script lang="ts">
|
|
174
|
+
import { Heatmap } from "@xtyle/svelte";
|
|
175
|
+
|
|
176
|
+
const rows = ["Week 1", "Week 2", "Week 3"];
|
|
177
|
+
const cols = ["Bugs", "Features", "Docs", "Chores"];
|
|
178
|
+
const values = [[8, 3, 1, 5], [2, 6, 4, 3], [5, 1, 7, 2]];
|
|
179
|
+
</script>
|
|
180
|
+
|
|
181
|
+
<Heatmap {rows} {cols} {values} scheme="skittles" categorical scale label="Weekly totals by category" />`;
|
|
182
|
+
const categoricalAstroExample = `---
|
|
183
|
+
import { Heatmap } from "@xtyle/astro";
|
|
184
|
+
const rows = ["Week 1", "Week 2", "Week 3"];
|
|
185
|
+
const cols = ["Bugs", "Features", "Docs", "Chores"];
|
|
186
|
+
const values = [[8, 3, 1, 5], [2, 6, 4, 3], [5, 1, 7, 2]];
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
<Heatmap rows={rows} cols={cols} values={values} scheme="skittles" categorical scale label="Weekly totals by category" />`;
|
|
162
190
|
export const heatmapManifest = {
|
|
163
191
|
id: "heatmap",
|
|
164
192
|
name: "Heatmap",
|
|
@@ -167,7 +195,7 @@ export const heatmapManifest = {
|
|
|
167
195
|
keywords: ["heat map", "activity calendar", "punch card", "contribution graph", "intensity grid"],
|
|
168
196
|
seeAlso: ["bar", "pie", "sparkline"],
|
|
169
197
|
summary: "A 2D intensity grid (the activity-calendar / punch-card shape), colored on a theme-derived ramp, with a per-cell readout and opt-in clickable cells.",
|
|
170
|
-
description: "Heatmap renders a matrix of values as a grid of colored cells, each cell's fill scaled by its value on an intensity ramp resolved off the live theme, the activity-calendar / punch-card shape (runs per hour over a week, load by host and resource, a GitHub-style contribution grid). Feed it a dense `values` matrix (row-major) plus optional `rows` and `cols` labels; the default `accent` ramp washes from a faint surface up to the accent, and `thermal` or `status` (or an explicit color array) swap the scale. Every cell's intensity is normalized against the data's own maximum, or an explicit `max` so several grids share one scale. It's interactive: hovering or focusing a cell floats a value readout, and the whole grid is mirrored into a visually-hidden data table so assistive tech reads the numbers, not the pixels. Set `selectable` to make cells a drill-in surface, each firing a `select` event with its row, column, and value. `showValues` prints the number in each cell. Feed an optional second `glow` matrix (the same shape as `values`) to carry a second signal in one grid: the fill reads one metric while a per-cell halo reads another (run count vs total runtime, requests vs error rate). An empty matrix shows a muted `No data` message in place of the grid.",
|
|
198
|
+
description: "Heatmap renders a matrix of values as a grid of colored cells, each cell's fill scaled by its value on an intensity ramp resolved off the live theme, the activity-calendar / punch-card shape (runs per hour over a week, load by host and resource, a GitHub-style contribution grid). Feed it a dense `values` matrix (row-major) plus optional `rows` and `cols` labels; the default `accent` ramp washes from a faint surface up to the accent, and `thermal` or `status` (or an explicit color array) swap the scale. Set `categorical` to color by category instead of intensity: each column (or each row, with `categoryAxis=\"row\"`) takes a distinct hue from a categorical `SeriesScheme` (`accents` / `skittles` / `statuses`), and the cell value washes that hue from the surface up. One grid, then, reads its categories by hue and their magnitude by fill: the categorical heat-grid. Turn `scale` on and a legend keys the hues. Every cell's intensity is normalized against the data's own maximum, or an explicit `max` so several grids share one scale. It's interactive: hovering or focusing a cell floats a value readout, and the whole grid is mirrored into a visually-hidden data table so assistive tech reads the numbers, not the pixels. Set `selectable` to make cells a drill-in surface, each firing a `select` event with its row, column, and value. `showValues` prints the number in each cell. Feed an optional second `glow` matrix (the same shape as `values`) to carry a second signal in one grid: the fill reads one metric while a per-cell halo reads another (run count vs total runtime, requests vs error rate). An empty matrix shows a muted `No data` message in place of the grid.",
|
|
171
199
|
bindings: ["html", "svelte", "astro"],
|
|
172
200
|
anatomy: [
|
|
173
201
|
{
|
|
@@ -200,6 +228,12 @@ export const heatmapManifest = {
|
|
|
200
228
|
selector: ".xtyle-heatmap__scale",
|
|
201
229
|
tokens: ["--space-2", "--text-xs", "--fg-3", "--bg-0", "--border-thin"],
|
|
202
230
|
},
|
|
231
|
+
{
|
|
232
|
+
name: "legend",
|
|
233
|
+
description: "The categorical key below the grid: one swatch per category hue, labeled off the category axis.",
|
|
234
|
+
selector: ".xtyle-heatmap__legend",
|
|
235
|
+
tokens: ["--space-1", "--space-3", "--text-xs", "--fg-2", "--fg-3", "--bg-0", "--border-thin"],
|
|
236
|
+
},
|
|
203
237
|
],
|
|
204
238
|
props: [
|
|
205
239
|
{
|
|
@@ -297,9 +331,24 @@ export const heatmapManifest = {
|
|
|
297
331
|
name: "scale",
|
|
298
332
|
type: "boolean",
|
|
299
333
|
default: "false",
|
|
300
|
-
description: "Shows a
|
|
334
|
+
description: "Shows a key below the grid: an intensity mode grid gets five ramp swatches between the low (`0`) and high (`max`) value endpoints, and a `categorical` grid gets a legend of one swatch per category hue. The key derives off the same colors as the cells, so it always matches them.",
|
|
335
|
+
bindings: ["html", "svelte", "astro"],
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: "categorical",
|
|
339
|
+
type: "boolean",
|
|
340
|
+
default: "false",
|
|
341
|
+
description: "Colors by category instead of intensity: each column (or, with `categoryAxis=\"row\"`, each row) takes a distinct hue from a categorical `SeriesScheme` read off `scheme` (`accents` / `skittles` / `statuses`; defaults to `accents`), and each cell washes that hue from the surface up by its value. The categorical heat-grid, for a matrix whose axis is a set of unrelated categories rather than one low-to-high magnitude. Turn on `scale` for a hue legend.",
|
|
301
342
|
bindings: ["html", "svelte", "astro"],
|
|
302
343
|
},
|
|
344
|
+
{
|
|
345
|
+
name: "categoryAxis",
|
|
346
|
+
type: '"col" | "row"',
|
|
347
|
+
default: '"col"',
|
|
348
|
+
description: "Which axis carries the categories in `categorical` mode: `col` (default) gives each column its own hue, `row` each row. Kebab `category-axis` on the element. Ignored unless `categorical` is set.",
|
|
349
|
+
bindings: ["html", "svelte", "astro"],
|
|
350
|
+
options: ["col", "row"],
|
|
351
|
+
},
|
|
303
352
|
{
|
|
304
353
|
name: "showValues",
|
|
305
354
|
type: "boolean",
|
|
@@ -354,6 +403,7 @@ export const heatmapManifest = {
|
|
|
354
403
|
"--bg-0",
|
|
355
404
|
"--space-1",
|
|
356
405
|
"--space-2",
|
|
406
|
+
"--space-3",
|
|
357
407
|
"--radius-md",
|
|
358
408
|
"--surface-overlay",
|
|
359
409
|
"--surface-overlay-border",
|
|
@@ -374,6 +424,7 @@ export const heatmapManifest = {
|
|
|
374
424
|
],
|
|
375
425
|
composition: [
|
|
376
426
|
"The cell colors derive off the same register as the rest of the UI, so a grid matches its surrounding chrome without hand-picking a scale. `accent` is the neutral default (the contribution-graph wash); reach for `thermal` when the data is a true low-to-high magnitude and the extra hue helps read it.",
|
|
427
|
+
"Reach for `categorical` when the grid's axis is a set of unrelated categories rather than one low-to-high magnitude: each column (or `categoryAxis=\"row\"` each row) takes its own hue from a `SeriesScheme`, and the cell value washes it from the surface up, so a viewer reads which category by hue and how much by fill in one glance. It shares the same `seriesPalette` the `Bar` and `Pie` charts color with, so a categorical grid stays coherent with the rest of a dashboard; a continuous ramp (`accent` / `thermal`) is the wrong tool for distinct categories and vice versa.",
|
|
377
428
|
"Pin `max` when two grids should be read against each other, so a cell of the same value takes the same color in both.",
|
|
378
429
|
"Turn on `scale` for a color-scale key so a cell's shade reads as a magnitude at a glance, not only on hover, the way a contribution graph carries its own low-to-high legend. The swatches sample the same ramp as the cells, so the key can't drift from what the grid shows.",
|
|
379
430
|
"Carry two metrics in one grid with `glow`: the fill reads the primary metric (say, run count) while a per-cell halo reads a second (total runtime), so a cell can be dim-but-glowing (few long runs) or bright-but-quiet (many short ones). The halo takes the ramp's hot-end color, so it stays theme-coherent; pin `glowMax` to share one glow scale across grids.",
|
|
@@ -386,6 +437,7 @@ export const heatmapManifest = {
|
|
|
386
437
|
"Each cell is a focusable tab stop with an `aria-label` naming its row, column, and value, so the grid is navigable by keyboard and the value readout appears on focus as well as hover.",
|
|
387
438
|
"With `selectable`, each cell becomes a `role=\"button\"` (announced as actionable) and activates on Enter/Space as well as click; a read-only grid keeps its cells as `role=\"img\"` data points.",
|
|
388
439
|
"Color is never the only channel: the value readout, the optional in-cell `showValues`, the optional `scale` key's numeric endpoints, and the data table all repeat the number.",
|
|
440
|
+
"In `categorical` mode the category never rests on hue alone: each cell's `aria-label` and the data table already name its row and column, so the category a hue stands for is read from the labels; the legend itself is decorative (`aria-hidden`), a visual shortcut over the axis labels that carry the meaning.",
|
|
389
441
|
"A `titles[row][col]` becomes that cell's `aria-label`, so the richer hover text is the cell's accessible name too, never a mouse-only affordance; the current-cell ring is decorative, so it never carries meaning on its own.",
|
|
390
442
|
"The `glow` halo is a visual channel, so it never carries its metric alone: when a `glow` matrix is present, each cell's glow value folds into its accessible name and its hover readout (named by `glowLabel`), so the second metric has a text path for assistive tech even though the halo itself is decorative. The summary data table still lists the primary (fill) metric.",
|
|
391
443
|
],
|
|
@@ -420,6 +472,12 @@ export const heatmapManifest = {
|
|
|
420
472
|
description: "`current` rings the live cell (with `currentPulse` to breathe it and `currentTone` to tint it), the \"you are here\" on a time grid, and `titles` gives a cell a fuller hover readout that doubles as its accessible name.",
|
|
421
473
|
source: { html: nowHtmlExample, svelte: nowSvelteExample, astro: nowAstroExample },
|
|
422
474
|
},
|
|
475
|
+
{
|
|
476
|
+
id: "categorical",
|
|
477
|
+
title: "Categorical heat-grid",
|
|
478
|
+
description: "`categorical` colors each column a distinct hue from a `SeriesScheme` (`skittles` here) and washes it up by value, so a grid whose columns are unrelated categories reads by hue, not one shared ramp. `scale` keys the hues in a legend.",
|
|
479
|
+
source: { html: categoricalHtmlExample, svelte: categoricalSvelteExample, astro: categoricalAstroExample },
|
|
480
|
+
},
|
|
423
481
|
],
|
|
424
482
|
};
|
|
425
483
|
//# sourceMappingURL=heatmap.manifest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heatmap.manifest.js","sourceRoot":"","sources":["../../src/manifest/heatmap.manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,WAAW,GAAG;;;;;;;;UAQV,CAAC;AAEX,MAAM,aAAa,GAAG;;;;;;;;0EAQoD,CAAC;AAE3E,MAAM,YAAY,GAAG;;;;;;;2FAOsE,CAAC;AAE5F,MAAM,iBAAiB,GAAG;;;;;;;;;UAShB,CAAC;AAEX,MAAM,mBAAmB,GAAG;;;;;;;;iGAQqE,CAAC;AAElG,MAAM,kBAAkB,GAAG;;;;;;;kHAOuF,CAAC;AAEnH,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;UAapB,CAAC;AAEX,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;GAgB7B,CAAC;AAEJ,MAAM,sBAAsB,GAAG;;;;;;;;;;;;UAYrB,CAAC;AAEX,MAAM,eAAe,GAAG;;;;;;;;;;UAUd,CAAC;AAEX,MAAM,iBAAiB,GAAG;;;;;;;;;2HASiG,CAAC;AAE5H,MAAM,gBAAgB,GAAG;;;;;;;;iJAQ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MAAM,EAAE,wBAAwB,EAAE,KAAK,EAAE,uBAAuB,EAAE;SAC1G;KACD;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/icon.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/icon.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAgGpD,eAAO,MAAM,YAAY,EAAE,iBAmI1B,CAAC"}
|
|
@@ -59,6 +59,27 @@ import Icon from "@xtyle/astro/Icon.astro";
|
|
|
59
59
|
|
|
60
60
|
<Icon name="success" tone="success" />
|
|
61
61
|
<Icon name="error" tone="danger" />`;
|
|
62
|
+
const textHtmlExample = `<!-- the letter primitive typesets a glyph; -f1 draws it in the display font -->
|
|
63
|
+
<xtyle-icon name="initial--letter-A" size="xl"></xtyle-icon>
|
|
64
|
+
<xtyle-icon name="mono--letter-7-f2" size="xl"></xtyle-icon>
|
|
65
|
+
|
|
66
|
+
<!-- a monogram badged, colored, and scaled like any primitive -->
|
|
67
|
+
<xtyle-icon name="badge--circle-c1--letter-A-cb-s55" size="xl"></xtyle-icon>
|
|
68
|
+
|
|
69
|
+
<!-- a ---f finish swaps a slot to a named web font (load it separately) -->
|
|
70
|
+
<xtyle-icon name="mark--letter-Q-f1---f1-noto+sans+symbols" size="xl"></xtyle-icon>`;
|
|
71
|
+
const textSvelteExample = `<script lang="ts">
|
|
72
|
+
import { Icon } from "@xtyle/svelte";
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<Icon name="initial--letter-A" size="xl" />
|
|
76
|
+
<Icon name="badge--circle-c1--letter-A-cb-s55" size="xl" />`;
|
|
77
|
+
const textAstroExample = `---
|
|
78
|
+
import Icon from "@xtyle/astro/Icon.astro";
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
<Icon name="initial--letter-A" size="xl" />
|
|
82
|
+
<Icon name="badge--circle-c1--letter-A-cb-s55" size="xl" />`;
|
|
62
83
|
export const iconManifest = {
|
|
63
84
|
id: "icon",
|
|
64
85
|
name: "Icon",
|
|
@@ -67,7 +88,7 @@ export const iconManifest = {
|
|
|
67
88
|
keywords: ["glyph", "symbol", "svg", "pictogram", "mark"],
|
|
68
89
|
seeAlso: ["swatch", "avatar", "rating"],
|
|
69
90
|
summary: "A functional glyph, or a mark generated from a name, drawn in the current text color.",
|
|
70
|
-
description: "Icon renders one glyph from a small functional set (chevrons, arrows, close, check, the status marks, a spinner, the menu dots, and the media-transport family: play, pause, stop, skip-forward, skip-back) as inline SVG. It carries no color of its own: the glyph is drawn in `currentColor`, so it inherits the text color around it and matches the derived theme with nothing to wire. It sizes off the surrounding type by default, so an icon set beside a word lines up with it; `size` steps it in fixed `em` for a standalone glyph. An optional `tone` tints it to a semantic role or named hue, `spin` turns it into a loading affordance, and a `label` promotes it from decorative to a named image for assistive tech. Beyond the lookup, a `name` can carry a spec: a terse grammar (`shield--star-s45-c1`) the engine parses into a layered mark and composes on the fly, placing primitives on a grid, sizing, rotating, outlining, or knocking them out, and coloring them from the theme's own series via `colors` so a generated mark recolors with the theme. Lookup for the common glyph, generation for everything else, one element for both.",
|
|
91
|
+
description: "Icon renders one glyph from a small functional set (chevrons, arrows, close, check, the status marks, a spinner, the menu dots, and the media-transport family: play, pause, stop, skip-forward, skip-back) as inline SVG. It carries no color of its own: the glyph is drawn in `currentColor`, so it inherits the text color around it and matches the derived theme with nothing to wire. It sizes off the surrounding type by default, so an icon set beside a word lines up with it; `size` steps it in fixed `em` for a standalone glyph. An optional `tone` tints it to a semantic role or named hue, `spin` turns it into a loading affordance, and a `label` promotes it from decorative to a named image for assistive tech. Beyond the lookup, a `name` can carry a spec: a terse grammar (`shield--star-s45-c1`) the engine parses into a layered mark and composes on the fly, placing primitives on a grid, sizing, rotating, outlining, or knocking them out, and coloring them from the theme's own series via `colors` so a generated mark recolors with the theme. A parametric `letter` primitive typesets a glyph as a mark (`--letter-A`) in an indexed theme font slot (`f0` sans, `f1` display, `f2` mono) that a `---f` finish can swap for another theme font or a named web font. Lookup for the common glyph, generation for everything else, one element for both.",
|
|
71
92
|
bindings: ["html", "svelte", "astro"],
|
|
72
93
|
anatomy: [
|
|
73
94
|
{
|
|
@@ -175,6 +196,12 @@ export const iconManifest = {
|
|
|
175
196
|
description: "A `name` carrying a spec is composed on the fly: primitives on a grid, sized / rotated / outlined / knocked out, colored from the theme's series via `colors`.",
|
|
176
197
|
source: { html: genHtmlExample, svelte: genSvelteExample, astro: genAstroExample },
|
|
177
198
|
},
|
|
199
|
+
{
|
|
200
|
+
id: "text-marks",
|
|
201
|
+
title: "Text marks",
|
|
202
|
+
description: "The `letter` primitive typesets a glyph as a mark, drawn in an indexed theme font slot (`f0` sans, `f1` display, `f2` mono); a `---f` finish swaps a slot for another theme font or a named web font, and `iconFontImports` returns the loading code for a named web font.",
|
|
203
|
+
source: { html: textHtmlExample, svelte: textSvelteExample, astro: textAstroExample },
|
|
204
|
+
},
|
|
178
205
|
],
|
|
179
206
|
};
|
|
180
207
|
//# sourceMappingURL=icon.manifest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.manifest.js","sourceRoot":"","sources":["../../src/manifest/icon.manifest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,WAAW,GAAG;;;;;gDAK4B,CAAC;AAEjD,MAAM,eAAe,GAAG;;;;6DAIqC,CAAC;AAE9D,MAAM,aAAa,GAAG;;;;;sBAKA,CAAC;AAEvB,MAAM,iBAAiB,GAAG;;;;;4CAK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AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"image.manifest.d.ts","sourceRoot":"","sources":["../../src/manifest/image.manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAsIpD,eAAO,MAAM,aAAa,EAAE,iBAiP3B,CAAC"}
|