@fusion.dev/helix 0.37.0 → 0.39.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.
@@ -86,7 +86,7 @@ registerElementEvents({
86
86
  'helix-number-input': ['change', 'helix-before-change', 'input'],
87
87
  'helix-object-inspector': ['helix-copy'],
88
88
  'helix-option': ['helix-select'],
89
- 'helix-outline': ['helix-before-activate'],
89
+ 'helix-outline': ['helix-activate'],
90
90
  'helix-pagination': ['helix-navigate'],
91
91
  'helix-pagination-size': ['helix-before-change'],
92
92
  'helix-pin-input': ['change', 'helix-before-change', 'helix-complete', 'input'],
@@ -18,11 +18,10 @@ import '../../tooltip/index.js';
18
18
  * thing two cells can be compared by.
19
19
  *
20
20
  * @since 0.1.0
21
- * @status experimental
21
+ * @status stable
22
22
  * @category charts
23
23
  * @documentation https://fusion.dev/helix/components/heatmap
24
24
  *
25
- * @slot - The `<table>` this draws, where it is not named by `for`.
26
25
  * @slot end - Below the strip, at the trailing edge.
27
26
  * @slot start - Below the strip, at the leading edge.
28
27
  * @slot summary - Below the strip, in the middle.
@@ -99,7 +99,7 @@ clip-path: inset(0 100% 100% calc(var(--helix-space-xl) * -1));
99
99
  }
100
100
 
101
101
  :host([variant="full"]) [part="surface"],
102
- :host([data-narrow]) [part="surface"] {
102
+ :host(:state(narrow)) [part="surface"] {
103
103
 
104
104
  backdrop-filter: var(--megamenu-backdrop, none);
105
105
  background-color: var(--megamenu-background-color, var(--helix-color-background));
@@ -125,18 +125,18 @@ position: fixed;
125
125
  }
126
126
 
127
127
  :host([variant="full"]) [part="surface"]:popover-open,
128
- :host([data-narrow]) [part="surface"]:popover-open {
128
+ :host(:state(narrow)) [part="surface"]:popover-open {
129
129
  clip-path: inset(0 0 calc(var(--helix-space-xl) * -1) 0);
130
130
  }
131
131
 
132
132
  @starting-style {
133
133
  :host([variant="full"]) [part="surface"]:popover-open,
134
- :host([data-narrow]) [part="surface"]:popover-open {
134
+ :host(:state(narrow)) [part="surface"]:popover-open {
135
135
  clip-path: inset(0 0 100% 0);
136
136
  }
137
137
  }
138
138
 
139
- :host([data-narrow]) [part="surface"] {
139
+ :host(:state(narrow)) [part="surface"] {
140
140
  grid-auto-flow: row;
141
141
  grid-template-columns: 1fr;
142
142
 
@@ -8,12 +8,13 @@ import type { CSSResultGroup } from 'lit';
8
8
  * Everything about what opens it and what closes it is the base class.
9
9
  *
10
10
  * @since 0.1.0
11
- * @status experimental
11
+ * @status stable
12
12
  * @category navigation
13
13
  * @aliases Mega menu, Flyout, Nav panel
14
14
  * @documentation https://fusion.dev/helix/components/megamenu
15
15
  *
16
- * @cssproperty --megamenu-backdrop - A filter behind the panel, for glass.
16
+ * @cssproperty --megamenu-backdrop - A filter behind the panel, which is `none` until one is
17
+ * asked for: this family carries no `material`, so the pair is two hooks rather than a word.
17
18
  * @cssproperty --megamenu-background-color - The panel's own fill.
18
19
  * @cssproperty --megamenu-border-width - Width of the panel's edge. Follows
19
20
  * `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
@@ -81,11 +81,11 @@ var(--helix-space-sm)
81
81
  );
82
82
  }
83
83
 
84
- [part="tree"]:focus [part~="row"][data-active] {
84
+ [part="tree"]:focus [part~="row-active"] {
85
85
  background-color: var(--helix-color-surface-sunken);
86
86
  }
87
87
 
88
- [part="tree"]:focus-visible [part~="row"][data-active] {
88
+ [part="tree"]:focus-visible [part~="row-active"] {
89
89
  outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
90
90
  outline-offset: calc(var(--helix-size-focus-offset) * -1);
91
91
  }
@@ -13,7 +13,7 @@ import '../../copy-button/index.js';
13
13
  * never has to measure them one by one.
14
14
  *
15
15
  * @since 0.1.0
16
- * @status experimental
16
+ * @status stable
17
17
  * @category data
18
18
  * @aliases JSON viewer, Object viewer, Inspector, Data explorer
19
19
  * @documentation https://fusion.dev/helix/components/object-inspector
@@ -8,9 +8,11 @@ import type { CSSResultGroup } from 'lit';
8
8
  * the shape a table of contents has taken since printed marginalia: the line
9
9
  * says the list is one thing, and the lit segment says where in it you are.
10
10
  *
11
- * Nesting is the consumer's, expressed as `data-level` on a link. An outline
12
- * that read heading levels itself would have to look at the document, and the
13
- * document is not always where the headings are.
11
+ * Nesting is the consumer's, expressed as `data-level` on a link, and the
12
+ * levels are the heading levels: `2` through `6` each take one more step of
13
+ * `--outline-indent`, and a link with no `data-level` is the top one. An
14
+ * outline that read heading levels itself would have to look at the document,
15
+ * and the document is not always where the headings are.
14
16
  *
15
17
  * @since 0.1.0
16
18
  * @status experimental
@@ -11,14 +11,14 @@ import type { CSSResultGroup } from 'lit';
11
11
  * still points at the trigger after the bubble has slid along to stay in view.
12
12
  *
13
13
  * @since 0.1.0
14
- * @status experimental
14
+ * @status stable
15
15
  * @category overlays
16
16
  * @groups charts
17
17
  * @aliases Hint, Popup label
18
18
  * @documentation https://fusion.dev/helix/components/tooltip
19
19
  *
20
20
  * @cssproperty --tooltip-arrow-size - Size of the point at the bubble's edge.
21
- * @cssproperty --tooltip-backdrop - Blur behind a `glass` bubble.
21
+ * @cssproperty --tooltip-backdrop - Blur behind a `frosted` or `glass` bubble.
22
22
  * @cssproperty --tooltip-background-color - Fill of the bubble.
23
23
  * @cssproperty --tooltip-max-inline-size - Widest the bubble grows before wrapping.
24
24
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix",
3
3
  "description": "Styled component tier. Extends the headless tier with token-driven presentation.",
4
- "version": "0.37.0",
4
+ "version": "0.39.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -47,14 +47,14 @@
47
47
  },
48
48
  "bugs": "https://github.com/project-fusion/fusion/issues",
49
49
  "dependencies": {
50
- "@fusion.dev/helix-core": "0.37.0",
51
- "@fusion.dev/helix-headless": "0.37.0",
52
- "@fusion.dev/helix-styles": "0.37.0"
50
+ "@fusion.dev/helix-core": "0.39.0",
51
+ "@fusion.dev/helix-headless": "0.39.0",
52
+ "@fusion.dev/helix-styles": "0.39.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@custom-elements-manifest/analyzer": "^0.11.0",
56
- "@fusion.dev/helix-cem": "0.37.0",
57
- "@fusion.dev/helix-testing": "0.37.0",
56
+ "@fusion.dev/helix-cem": "0.39.0",
57
+ "@fusion.dev/helix-testing": "0.39.0",
58
58
  "@fusion.dev/scripts": "0.0.0-dev",
59
59
  "@happy-dom/global-registrator": "^20.0.0",
60
60
  "@lit-labs/ssr": "^4.1.0",