@fusion.dev/helix 0.93.0 → 0.95.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
CHANGED
|
@@ -12094,7 +12094,7 @@
|
|
|
12094
12094
|
},
|
|
12095
12095
|
{
|
|
12096
12096
|
"description": "A heading above the content.",
|
|
12097
|
-
"name": "
|
|
12097
|
+
"name": "heading",
|
|
12098
12098
|
"inheritedFrom": {
|
|
12099
12099
|
"name": "HelixHeadlessCallout",
|
|
12100
12100
|
"module": "src/callout/root/callout-root.ts"
|
|
@@ -138208,10 +138208,6 @@
|
|
|
138208
138208
|
"description": "A loop with no sound, which is the one video allowed to start on its own.",
|
|
138209
138209
|
"slug": "ambient"
|
|
138210
138210
|
},
|
|
138211
|
-
{
|
|
138212
|
-
"description": "A way out of the set, over the picture at the top left.",
|
|
138213
|
-
"slug": "back"
|
|
138214
|
-
},
|
|
138215
138211
|
{
|
|
138216
138212
|
"description": "A clip with subtitle tracks and the control that chooses between them.",
|
|
138217
138213
|
"slug": "captions"
|
|
@@ -138228,6 +138224,10 @@
|
|
|
138228
138224
|
"description": "A filled frame around the picture.",
|
|
138229
138225
|
"slug": "filled"
|
|
138230
138226
|
},
|
|
138227
|
+
{
|
|
138228
|
+
"description": "A title over the picture at the top left, with a way out of the set beside it.",
|
|
138229
|
+
"slug": "header"
|
|
138230
|
+
},
|
|
138231
138231
|
{
|
|
138232
138232
|
"description": "The browser's own controls instead of these, which is what `controls` means.",
|
|
138233
138233
|
"slug": "native"
|
|
@@ -138279,16 +138279,16 @@
|
|
|
138279
138279
|
}
|
|
138280
138280
|
},
|
|
138281
138281
|
{
|
|
138282
|
-
"description": "
|
|
138283
|
-
"name": "
|
|
138282
|
+
"description": "Added to the control bar, before fullscreen.",
|
|
138283
|
+
"name": "controls",
|
|
138284
138284
|
"inheritedFrom": {
|
|
138285
138285
|
"name": "HelixHeadlessVideo",
|
|
138286
138286
|
"module": "src/video/root/video-root.ts"
|
|
138287
138287
|
}
|
|
138288
138288
|
},
|
|
138289
138289
|
{
|
|
138290
|
-
"description": "
|
|
138291
|
-
"name": "
|
|
138290
|
+
"description": "Top left over the frame: a heading, and a way out of a set beside it.",
|
|
138291
|
+
"name": "header",
|
|
138292
138292
|
"inheritedFrom": {
|
|
138293
138293
|
"name": "HelixHeadlessVideo",
|
|
138294
138294
|
"module": "src/video/root/video-root.ts"
|
|
@@ -138304,14 +138304,6 @@
|
|
|
138304
138304
|
}
|
|
138305
138305
|
],
|
|
138306
138306
|
"cssParts": [
|
|
138307
|
-
{
|
|
138308
|
-
"description": "The region top left, for a way out of a set.",
|
|
138309
|
-
"name": "back",
|
|
138310
|
-
"inheritedFrom": {
|
|
138311
|
-
"name": "HelixHeadlessVideo",
|
|
138312
|
-
"module": "src/video/root/video-root.ts"
|
|
138313
|
-
}
|
|
138314
|
-
},
|
|
138315
138307
|
{
|
|
138316
138308
|
"description": "Subtitles on and off.",
|
|
138317
138309
|
"name": "captions",
|
|
@@ -138464,6 +138456,14 @@
|
|
|
138464
138456
|
"module": "src/video/root/video-root.ts"
|
|
138465
138457
|
}
|
|
138466
138458
|
},
|
|
138459
|
+
{
|
|
138460
|
+
"description": "The region top left, for a heading and a way out of a set.",
|
|
138461
|
+
"name": "header",
|
|
138462
|
+
"inheritedFrom": {
|
|
138463
|
+
"name": "HelixHeadlessVideo",
|
|
138464
|
+
"module": "src/video/root/video-root.ts"
|
|
138465
|
+
}
|
|
138466
|
+
},
|
|
138467
138467
|
{
|
|
138468
138468
|
"description": "What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.",
|
|
138469
138469
|
"name": "loading",
|
|
@@ -380,15 +380,21 @@ animation: none;
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
[part="
|
|
383
|
+
[part="header"] {
|
|
384
|
+
align-items: center;
|
|
385
|
+
|
|
386
|
+
color: var(--video-controls-color, var(--helix-color-foreground));
|
|
387
|
+
display: flex;
|
|
388
|
+
gap: var(--helix-space-sm);
|
|
384
389
|
inset-block-start: var(--helix-space-sm);
|
|
385
390
|
inset-inline-start: var(--helix-space-sm);
|
|
391
|
+
max-inline-size: calc(100% - 2 * var(--helix-space-sm));
|
|
386
392
|
opacity: inherit;
|
|
387
393
|
position: absolute;
|
|
388
394
|
z-index: var(--helix-layer-raised);
|
|
389
395
|
}
|
|
390
396
|
|
|
391
|
-
[part="
|
|
397
|
+
[part="header"]:not(:has(*)) {
|
|
392
398
|
display: none;
|
|
393
399
|
}
|
|
394
400
|
|
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.95.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -47,13 +47,13 @@
|
|
|
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.95.0",
|
|
51
|
+
"@fusion.dev/helix-headless": "0.95.0",
|
|
52
|
+
"@fusion.dev/helix-styles": "0.95.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@fusion.dev/helix-cem": "0.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.95.0",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.95.0",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -23482,7 +23482,7 @@ export type CustomElements = {
|
|
|
23482
23482
|
*
|
|
23483
23483
|
* - `(default)`: The callout's content.
|
|
23484
23484
|
* - `icon`: Replaces the icon chosen by `tone`.
|
|
23485
|
-
* - `
|
|
23485
|
+
* - `heading`: A heading above the content.
|
|
23486
23486
|
*
|
|
23487
23487
|
* ## CSS Custom Properties
|
|
23488
23488
|
*
|
|
@@ -40909,8 +40909,8 @@ export type CustomElements = {
|
|
|
40909
40909
|
* Areas where markup can be added to the component.
|
|
40910
40910
|
*
|
|
40911
40911
|
* - `(default)`: `<source>` and `<track>` elements, which are copied into the video.
|
|
40912
|
-
* - `back`: Top left over the frame, for a way out of a set.
|
|
40913
40912
|
* - `controls`: Added to the control bar, before fullscreen.
|
|
40913
|
+
* - `header`: Top left over the frame: a heading, and a way out of a set beside it.
|
|
40914
40914
|
* - `poster`: Shown over the video until it starts.
|
|
40915
40915
|
*
|
|
40916
40916
|
* ## Methods
|
|
@@ -40946,7 +40946,6 @@ export type CustomElements = {
|
|
|
40946
40946
|
*
|
|
40947
40947
|
* Custom selectors for styling elements within the component.
|
|
40948
40948
|
*
|
|
40949
|
-
* - `back`: The region top left, for a way out of a set.
|
|
40950
40949
|
* - `captions`: Subtitles on and off.
|
|
40951
40950
|
* - `captions-menu`: The language menu, where there is more than one.
|
|
40952
40951
|
* - `captions-menu-back`: The control that returns from a submenu.
|
|
@@ -40966,6 +40965,7 @@ export type CustomElements = {
|
|
|
40966
40965
|
* - `failure`: What is said when the source will not play.
|
|
40967
40966
|
* - `forward`: The control that goes on ten seconds.
|
|
40968
40967
|
* - `fullscreen`: The whole screen, and back.
|
|
40968
|
+
* - `header`: The region top left, for a heading and a way out of a set.
|
|
40969
40969
|
* - `loading`: What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.
|
|
40970
40970
|
* - `more`: The button that opens it.
|
|
40971
40971
|
* - `mute`: Sound on and off.
|
|
@@ -43185,7 +43185,7 @@ export type CustomElementsSolidJs = {
|
|
|
43185
43185
|
*
|
|
43186
43186
|
* - `(default)`: The callout's content.
|
|
43187
43187
|
* - `icon`: Replaces the icon chosen by `tone`.
|
|
43188
|
-
* - `
|
|
43188
|
+
* - `heading`: A heading above the content.
|
|
43189
43189
|
*
|
|
43190
43190
|
* ## CSS Custom Properties
|
|
43191
43191
|
*
|
|
@@ -60978,8 +60978,8 @@ export type CustomElementsSolidJs = {
|
|
|
60978
60978
|
* Areas where markup can be added to the component.
|
|
60979
60979
|
*
|
|
60980
60980
|
* - `(default)`: `<source>` and `<track>` elements, which are copied into the video.
|
|
60981
|
-
* - `back`: Top left over the frame, for a way out of a set.
|
|
60982
60981
|
* - `controls`: Added to the control bar, before fullscreen.
|
|
60982
|
+
* - `header`: Top left over the frame: a heading, and a way out of a set beside it.
|
|
60983
60983
|
* - `poster`: Shown over the video until it starts.
|
|
60984
60984
|
*
|
|
60985
60985
|
* ## Methods
|
|
@@ -61015,7 +61015,6 @@ export type CustomElementsSolidJs = {
|
|
|
61015
61015
|
*
|
|
61016
61016
|
* Custom selectors for styling elements within the component.
|
|
61017
61017
|
*
|
|
61018
|
-
* - `back`: The region top left, for a way out of a set.
|
|
61019
61018
|
* - `captions`: Subtitles on and off.
|
|
61020
61019
|
* - `captions-menu`: The language menu, where there is more than one.
|
|
61021
61020
|
* - `captions-menu-back`: The control that returns from a submenu.
|
|
@@ -61035,6 +61034,7 @@ export type CustomElementsSolidJs = {
|
|
|
61035
61034
|
* - `failure`: What is said when the source will not play.
|
|
61036
61035
|
* - `forward`: The control that goes on ten seconds.
|
|
61037
61036
|
* - `fullscreen`: The whole screen, and back.
|
|
61037
|
+
* - `header`: The region top left, for a heading and a way out of a set.
|
|
61038
61038
|
* - `loading`: What is said while the picture waits for more of itself. The part of that which spins is drawn on it, which is `::part(loading)::before` from a consumer's sheet: this tier ships no CSS, so a box it renders for one to paint is an empty child costing whatever the consumer's own layout charges for a child. `ListItem` measured that.
|
|
61039
61039
|
* - `more`: The button that opens it.
|
|
61040
61040
|
* - `mute`: Sound on and off.
|