@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.
- package/custom-elements.json +125 -90
- package/dist/combobox/root/combobox-root.d.ts +2 -2
- package/dist/data-table/root/data-table-root.css.js +2 -0
- package/dist/data-table/root/data-table-root.d.ts +1 -1
- package/dist/description-list/item/description-list-item.d.ts +1 -1
- package/dist/description-list/root/description-list-root.d.ts +2 -2
- package/dist/drawer/root/drawer-root.css.js +1 -1
- package/dist/drawer/root/drawer-root.d.ts +5 -5
- package/dist/drilldown/item/drilldown-item.d.ts +1 -1
- package/dist/drilldown/root/drilldown-root.d.ts +1 -1
- package/dist/element-events.generated.js +1 -1
- package/dist/heatmap/root/heatmap-root.d.ts +1 -2
- package/dist/megamenu/root/megamenu-root.css.js +4 -4
- package/dist/megamenu/root/megamenu-root.d.ts +3 -2
- package/dist/object-inspector/root/object-inspector-root.css.js +2 -2
- package/dist/object-inspector/root/object-inspector-root.d.ts +1 -1
- package/dist/outline/root/outline-root.d.ts +5 -3
- package/dist/tooltip/root/tooltip-root.d.ts +2 -2
- package/package.json +6 -6
- package/types/jsx.d.ts +236 -82
- package/types/vue.d.ts +78 -30
|
@@ -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-
|
|
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
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
12
|
-
*
|
|
13
|
-
*
|
|
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
|
|
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.
|
|
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.
|
|
51
|
-
"@fusion.dev/helix-headless": "0.
|
|
52
|
-
"@fusion.dev/helix-styles": "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.
|
|
57
|
-
"@fusion.dev/helix-testing": "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",
|