@fusion.dev/helix 0.187.0 → 0.189.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.
Files changed (38) hide show
  1. package/api.json +1 -1
  2. package/custom-elements.json +17244 -13377
  3. package/dist/element-events.generated.js +21 -7
  4. package/dist/index.d.ts +3 -1
  5. package/dist/index.js +3 -1
  6. package/dist/orb/shapes.d.ts +2 -2
  7. package/dist/spatial-heatmap/index.d.ts +1 -0
  8. package/dist/spatial-heatmap/index.js +1 -0
  9. package/dist/spatial-heatmap/root/spatial-heatmap-root.css.js +2 -0
  10. package/dist/spatial-heatmap/root/spatial-heatmap-root.d.ts +39 -0
  11. package/dist/spatial-heatmap/root/spatial-heatmap-root.js +18 -0
  12. package/dist/spatial-scatter-chart/index.d.ts +1 -0
  13. package/dist/spatial-scatter-chart/index.js +1 -0
  14. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.css.d.ts +1 -0
  15. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.css.js +2 -0
  16. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.d.ts +27 -0
  17. package/dist/spatial-scatter-chart/root/spatial-scatter-chart-root.js +15 -0
  18. package/dist/spatial-surface-chart/index.d.ts +1 -0
  19. package/dist/spatial-surface-chart/index.js +1 -0
  20. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.css.d.ts +1 -0
  21. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.css.js +2 -0
  22. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.d.ts +30 -0
  23. package/dist/spatial-surface-chart/root/spatial-surface-chart-root.js +14 -0
  24. package/dist/table/root/table-root.d.ts +1 -0
  25. package/examples.json +1 -1
  26. package/lint.json +1 -1
  27. package/package.json +8 -6
  28. package/skills/helix/SKILL.md +476 -0
  29. package/types/jsx.d.ts +5286 -3714
  30. package/types/svelte.d.ts +3 -1
  31. package/types/vue.d.ts +676 -372
  32. package/types/words.d.ts +14 -0
  33. package/dist/isometric-heatmap/index.d.ts +0 -1
  34. package/dist/isometric-heatmap/index.js +0 -1
  35. package/dist/isometric-heatmap/root/isometric-heatmap-root.css.js +0 -2
  36. package/dist/isometric-heatmap/root/isometric-heatmap-root.d.ts +0 -39
  37. package/dist/isometric-heatmap/root/isometric-heatmap-root.js +0 -18
  38. /package/dist/{isometric-heatmap/root/isometric-heatmap-root.css.d.ts → spatial-heatmap/root/spatial-heatmap-root.css.d.ts} +0 -0
package/types/words.d.ts CHANGED
@@ -509,6 +509,14 @@ declare module '@fusion.dev/helix-core' {
509
509
  * English: `Now`
510
510
  */
511
511
  nowLabel: Message
512
+ /**
513
+ * What the readout says for a place with no reading. `{x}` and `{z}` are
514
+ * the place's numbers across and in depth, and `{across}` and `{depth}`
515
+ * the two measures' names.
516
+ *
517
+ * English: `{across} {x}, {depth} {z}: no reading`
518
+ */
519
+ openLabel: Message
512
520
  /**
513
521
  * The `overview`'s sentence. `{busiestLabel}` and `{totalLabel}` are
514
522
  * `busiest-label` and `total-label`, `{busiest}` the busiest reading's name
@@ -574,6 +582,12 @@ declare module '@fusion.dev/helix-core' {
574
582
  * English: `YYYY-MM-DD`
575
583
  */
576
584
  placeholder: Message
585
+ /**
586
+ * The plot's name where the chart has none: no `aria-label`, `label`, or table caption.
587
+ *
588
+ * English: `3D scatter chart`
589
+ */
590
+ plotLabel: Message
577
591
  /**
578
592
  * The word for the rows a series rests on, `{pointsLabel}` in
579
593
  * `series-label`. `{count}` is how many, so the word takes its plural
@@ -1 +0,0 @@
1
- export { HelixIsometricHeatmap } from './root/isometric-heatmap-root.js';
@@ -1 +0,0 @@
1
- export { HelixIsometricHeatmap } from './root/isometric-heatmap-root.js';
@@ -1,2 +0,0 @@
1
- import { createSheet } from '@fusion.dev/helix-core';
2
- export const styles = createSheet(`:host {--_isometric-heatmap-cell: var(--isometric-heatmap-cell-size, 1.25rem);--heatmap-tone-accent: var(--helix-color-accent);--heatmap-tone-danger: var(--helix-color-danger);--heatmap-tone-info: var(--helix-color-info);--heatmap-tone-muted: var(--helix-color-surface-sunken);--heatmap-tone-primary: var(--helix-color-primary);--heatmap-tone-success: var(--helix-color-success);--heatmap-tone-warning: var(--helix-color-warning);--heatmap-tone-1: color-mix(in oklab, var(--helix-color-primary-active) 20%, var(--helix-color-surface-sunken));--heatmap-tone-2: color-mix(in oklab, var(--helix-color-primary-active) 40%, var(--helix-color-surface-sunken));--heatmap-tone-3: color-mix(in oklab, var(--helix-color-primary-active) 60%, var(--helix-color-surface-sunken));--heatmap-tone-4: color-mix(in oklab, var(--helix-color-primary-active) 80%, var(--helix-color-surface-sunken));--heatmap-tone-5: var(--helix-color-primary-active);display: grid;grid-template-columns: minmax(0, max-content)}[part~="strip"] {inline-size: calc(var(--isometric-heatmap-span, 1) * 0.866 * var(--_isometric-heatmap-cell));max-inline-size: 100%;position: relative}[part="drawing"] {block-size: auto;display: block;inline-size: 100%;overflow: visible}[part~="cell"] {--_isometric-heatmap-top: var(--heatmap-tone, var(--helix-color-surface-sunken));--_isometric-heatmap-left: color-mix(in oklab, var(--_isometric-heatmap-top), black var(--isometric-heatmap-left-shade, 22%));--_isometric-heatmap-right: color-mix(in oklab, var(--_isometric-heatmap-top), black var(--isometric-heatmap-right-shade, 38%))}[part~="top-face"] {--_isometric-heatmap-face: var(--_isometric-heatmap-top)}[part~="left-face"] {--_isometric-heatmap-face: var(--_isometric-heatmap-left)}[part~="right-face"] {--_isometric-heatmap-face: var(--_isometric-heatmap-right)}[part~="cell"] > * {--_isometric-heatmap-ink: oklch(from var(--_isometric-heatmap-face) clamp(0, (0.6 - l) * 1000, 1) 0 0);fill: var(--_isometric-heatmap-face);stroke: color-mix(in oklab, var(--_isometric-heatmap-face), var(--_isometric-heatmap-ink) 25%);stroke-linejoin: round;stroke-width: var(--helix-border-thin);vector-effect: non-scaling-stroke}[part~="cell-selected"] > * {stroke: var(--isometric-heatmap-selected-color, var(--_isometric-heatmap-ink));stroke-dasharray: 3px 2px;stroke-width: var(--helix-border-thick)}@media (hover: hover) {[part~="cell"]:hover > * {stroke: var(--_isometric-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}}[part~="cell-active"] > * {stroke: var(--_isometric-heatmap-ink);stroke-dasharray: none;stroke-width: var(--helix-border-thick)}[part~="strip"]:focus-visible {outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);outline-offset: var(--helix-size-focus-offset)}[part="live"], [part="overview"], [part="selection"], [part="table"] {block-size: 1px;clip-path: inset(50%);inline-size: 1px;margin: var(--helix-space-none);overflow: hidden;position: absolute;white-space: nowrap}[part="footer"] {align-items: baseline;color: var(--helix-color-foreground-subtle);display: grid;font-family: var(--helix-font-sans);font-size: var(--helix-text-xs);gap: var(--helix-space-xs);grid-template-columns: auto minmax(0, 1fr) auto;padding-block-start: var(--helix-space-xs)}[part="summary"] {text-align: center}[part="end"] {text-align: end}[part="footer"][data-empty] {display: none}[part="empty"], [part="loading"] {color: var(--helix-color-foreground-subtle);font-family: var(--helix-font-sans);font-size: var(--helix-text-sm);margin: var(--helix-space-none);text-align: center}@media print {[part~="cell"] > * {stroke: var(--helix-color-border);stroke-width: var(--helix-border-thin)}}@media (forced-colors: active) {[part~="cell"] > * {forced-color-adjust: none;stroke: CanvasText}[part~="cell-active"] > *, [part~="cell-selected"] > * {stroke: Highlight;stroke-width: var(--helix-border-thick)}}`);
@@ -1,39 +0,0 @@
1
- import { HelixHeadlessIsometricHeatmap } from '@fusion.dev/helix-headless/isometric-heatmap';
2
- import type { CSSResultGroup } from 'lit';
3
- import '../../tooltip/index.js';
4
- /**
5
- * @summary A heatmap drawn as a relief, where each reading stands as tall as its value.
6
- *
7
- * @description
8
- * Each reading is a prism. The top face takes the cell's tone, and the two
9
- * sides are the same tone, shaded darker, so the whole relief follows your
10
- * theme's colors.
11
- *
12
- * `tones="1 2 3 4 5"` uses the same five-step ramp as `Heatmap`, so the tone
13
- * and the height both show the value. Set `--isometric-heatmap-cell-size` to
14
- * change how large a cell may grow.
15
- *
16
- * @since 0.185.0
17
- * @status experimental
18
- * @category charts
19
- * @documentation https://fusion.dev/helix/components/isometric-heatmap
20
- *
21
- * @cssproperty --isometric-heatmap-cell-size - The largest a cell grows, along its edge. The strip is never wider than its box, and draws smaller cells to fit.
22
- * @cssproperty --isometric-heatmap-left-shade - How much darker the left face is than the top, as a percentage mixed toward black.
23
- * @cssproperty --isometric-heatmap-right-shade - How much darker the right face is than the top, as a percentage mixed toward black.
24
- * @cssproperty --isometric-heatmap-selected-color - The color of the dashed edges of a selected prism, under `selection-mode`. By default, white on a dark face and black on a light one.
25
- */
26
- export declare class HelixIsometricHeatmap extends HelixHeadlessIsometricHeatmap {
27
- static tier: string;
28
- static styles: CSSResultGroup;
29
- /**
30
- * The smallest cell, in CSS pixels, before the strip draws fewer columns.
31
- * `gap` is two pixels at that size, so a prism covers five sixths of its cell.
32
- */
33
- minCell: number;
34
- }
35
- declare global {
36
- interface HTMLElementTagNameMap {
37
- 'helix-isometric-heatmap': HelixIsometricHeatmap;
38
- }
39
- }
@@ -1,18 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { customElement } from '@fusion.dev/helix-core';
3
- import { HelixHeadlessIsometricHeatmap } from '@fusion.dev/helix-headless/isometric-heatmap';
4
- import { styles as tooltipStyles } from '../../shared/chart/tooltip.css.js';
5
- import { styles } from './isometric-heatmap-root.css.js';
6
- import '../../tooltip/index.js';
7
- let HelixIsometricHeatmap = class HelixIsometricHeatmap extends HelixHeadlessIsometricHeatmap {
8
- constructor() {
9
- super(...arguments);
10
- this.minCell = 10;
11
- }
12
- static { this.tier = 'helix-'; }
13
- static { this.styles = [tooltipStyles, styles]; }
14
- };
15
- HelixIsometricHeatmap = __decorate([
16
- customElement('helix-isometric-heatmap')
17
- ], HelixIsometricHeatmap);
18
- export { HelixIsometricHeatmap };