@fusion.dev/helix 0.0.0-dev → 0.0.2
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 +5565 -5519
- package/dist/accordion/item/accordion-item.css.js +1 -19
- package/dist/accordion/root/accordion-root.css.js +1 -1
- package/dist/accordion/root/accordion-root.d.ts +1 -1
- package/dist/accordion/root/accordion-root.js +1 -1
- package/dist/announcement/root/announcement-root.css.js +1 -7
- package/dist/app-header/root/app-header-root.css.js +1 -7
- package/dist/app-header/root/app-header-root.d.ts +20 -23
- package/dist/app-header/root/app-header-root.js +4 -4
- package/dist/aura/root/aura-axis.d.ts +5 -7
- package/dist/aura/root/aura-axis.js +5 -7
- package/dist/aura/root/aura-root.css.js +1 -1
- package/dist/aura/root/aura-root.d.ts +75 -87
- package/dist/aura/root/aura-root.js +100 -109
- package/dist/aura/root/aura-shader.d.ts +10 -13
- package/dist/aura/root/aura-shader.js +165 -238
- package/dist/avatar/group/avatar-group.css.js +1 -1
- package/dist/avatar/root/avatar-root.css.js +1 -1
- package/dist/badge/root/badge-root.css.js +1 -13
- package/dist/badge/root/badge-root.d.ts +4 -5
- package/dist/bar-chart/root/bar-chart-root.css.js +1 -13
- package/dist/bar-chart/root/bar-chart-root.d.ts +51 -60
- package/dist/bar-chart/root/bar-chart-root.js +10 -17
- package/dist/blockquote/root/blockquote-root.css.js +1 -1
- package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +1 -7
- package/dist/breadcrumbs/root/breadcrumbs-root.css.js +1 -1
- package/dist/button/root/button-root.css.js +1 -7
- package/dist/button/root/button-root.d.ts +16 -25
- package/dist/button/root/button-root.js +3 -3
- package/dist/button-group/root/button-group-root.css.js +1 -1
- package/dist/button-group/root/button-group-root.d.ts +5 -7
- package/dist/callout/root/callout-root.css.js +1 -1
- package/dist/callout/root/callout-root.d.ts +4 -4
- package/dist/callout/root/callout-root.js +4 -4
- package/dist/card/root/card-root.css.js +2 -2
- package/dist/card/root/card-root.d.ts +38 -48
- package/dist/card/root/card-root.js +8 -11
- package/dist/carousel/root/carousel-root.css.js +1 -11
- package/dist/carousel/root/carousel-root.d.ts +39 -43
- package/dist/carousel/root/carousel-root.js +7 -7
- package/dist/chat/composer/chat-composer.css.js +1 -1
- package/dist/chat/message/chat-message.css.js +1 -7
- package/dist/chat/message/chat-message.d.ts +8 -13
- package/dist/chat/root/chat-root.css.js +1 -1
- package/dist/checkbox/root/checkbox-root.css.js +1 -14
- package/dist/checkbox-group/root/checkbox-group-root.css.js +1 -1
- package/dist/code/root/code-root.css.js +9 -7
- package/dist/code/root/code-root.d.ts +4 -0
- package/dist/code/root/code-root.js +4 -0
- package/dist/code-block/root/code-block-root.css.js +1 -1
- package/dist/color-input/root/color-input-root.css.js +2 -2
- package/dist/color-input/root/color-input-root.js +3 -3
- package/dist/color-picker/root/color-picker-root.css.js +1 -9
- package/dist/color-picker/root/color-picker-root.js +3 -3
- package/dist/combobox/root/combobox-root.css.js +1 -8
- package/dist/combobox/root/combobox-root.js +1 -1
- package/dist/command/root/command-root.css.js +1 -1
- package/dist/copy-button/root/copy-button-root.css.js +1 -1
- package/dist/data-table/root/data-table-root.css.js +9 -3
- package/dist/data-table/root/data-table-root.d.ts +4 -1
- package/dist/data-table/root/data-table-root.js +4 -1
- package/dist/date-input/root/date-input-root.css.js +1 -1
- package/dist/date-picker/root/date-picker-root.css.js +1 -7
- package/dist/date-picker/root/date-picker-root.d.ts +1 -1
- package/dist/date-picker/root/date-picker-root.js +1 -1
- package/dist/dialog/root/dialog-root.css.js +1 -1
- package/dist/dialog/root/dialog-root.d.ts +15 -20
- package/dist/dialog/root/dialog-root.js +2 -2
- package/dist/divider/root/divider-root.css.js +1 -1
- package/dist/donut-chart/root/donut-chart-root.css.js +2 -20
- package/dist/donut-chart/root/donut-chart-root.d.ts +14 -19
- package/dist/donut-chart/root/donut-chart-root.js +6 -7
- package/dist/drawer/root/drawer-root.css.js +1 -11
- package/dist/drawer/root/drawer-root.d.ts +3 -7
- package/dist/drilldown/item/drilldown-item.css.js +1 -1
- package/dist/drilldown/root/drilldown-root.css.js +1 -1
- package/dist/element-events.generated.js +1 -1
- package/dist/empty/root/empty-root.css.js +1 -1
- package/dist/file-input/root/file-input-root.css.js +1 -1
- package/dist/file-input/root/file-input-root.js +1 -2
- package/dist/flex/root/flex-root.css.js +1 -1
- package/dist/flex/root/flex-root.d.ts +6 -6
- package/dist/flex/root/flex-root.js +9 -9
- package/dist/format-date/root/format-date-root.css.js +1 -1
- package/dist/grid/root/grid-root.css.js +1 -1
- package/dist/grid/root/grid-root.d.ts +8 -8
- package/dist/grid/root/grid-root.js +8 -9
- package/dist/heatmap/root/heatmap-root.css.js +2 -2
- package/dist/heatmap/root/heatmap-root.d.ts +11 -12
- package/dist/heatmap/root/heatmap-root.js +11 -12
- package/dist/icon/glyph.css.js +1 -1
- package/dist/icon/root/icon-root.css.js +1 -1
- package/dist/icon-button/root/icon-button-root.css.js +1 -7
- package/dist/icon-button/root/icon-button-root.d.ts +10 -10
- package/dist/icon-button/root/icon-button-root.js +4 -4
- package/dist/image/root/image-root.css.js +1 -7
- package/dist/input/root/input-root.css.js +1 -9
- package/dist/kbd/root/kbd-root.css.js +1 -1
- package/dist/legend/root/legend-root.css.js +1 -1
- package/dist/legend/root/legend-root.d.ts +34 -37
- package/dist/legend/root/legend-root.js +10 -10
- package/dist/line-chart/root/line-chart-root.css.js +1 -8
- package/dist/line-chart/root/line-chart-root.d.ts +6 -9
- package/dist/list/item/list-item.css.js +1 -1
- package/dist/list/root/list-root.css.js +1 -1
- package/dist/list/root/list-root.d.ts +4 -7
- package/dist/listbox/root/listbox-root.css.js +3 -3
- package/dist/listbox/root/listbox-root.d.ts +2 -0
- package/dist/listbox/root/listbox-root.js +2 -0
- package/dist/loader/root/loader-root.css.js +1 -1
- package/dist/loader/root/loader-root.d.ts +5 -9
- package/dist/loader/root/loader-root.js +2 -2
- package/dist/megamenu/root/megamenu-root.css.js +3 -2
- package/dist/menu/item/menu-item.css.js +1 -7
- package/dist/menu/root/menu-root.css.js +1 -1
- package/dist/meter/root/meter-root.css.js +1 -14
- package/dist/meter/root/meter-root.d.ts +18 -18
- package/dist/meter/root/meter-root.js +6 -8
- package/dist/mixins/mixin-control-surface/mixin-control-surface.d.ts +1 -1
- package/dist/navigation/root/navigation-root.css.js +1 -7
- package/dist/notifications/notification/notification.css.js +1 -7
- package/dist/notifications/root/notifications-root.css.js +1 -1
- package/dist/number-input/root/number-input-root.css.js +1 -9
- package/dist/option/group/option-group.css.js +1 -1
- package/dist/option/root/option-root.css.js +1 -1
- package/dist/outline/root/outline-root.css.js +1 -14
- package/dist/outline/root/outline-root.d.ts +1 -1
- package/dist/outline/root/outline-root.js +1 -1
- package/dist/pagination/root/pagination-root.css.js +1 -12
- package/dist/pagination/size/pagination-size.css.js +1 -1
- package/dist/pagination/summary/pagination-summary.css.js +1 -1
- package/dist/pin-input/root/pin-input-root.css.js +1 -7
- package/dist/popover/root/popover-root.css.js +4 -2
- package/dist/progress/root/progress-root.css.js +1 -7
- package/dist/progress/root/progress-root.d.ts +10 -9
- package/dist/qr-code/root/qr-code-root.css.js +1 -1
- package/dist/qr-code/root/qr-code-root.d.ts +1 -1
- package/dist/qr-code/root/qr-code-root.js +1 -1
- package/dist/quote/root/quote-root.css.js +1 -1
- package/dist/radio/group/radio-group.css.js +1 -1
- package/dist/radio/root/radio-root.css.js +1 -14
- package/dist/radio/root/radio-root.d.ts +20 -18
- package/dist/radio/root/radio-root.js +5 -6
- package/dist/rating/root/rating-root.css.js +1 -1
- package/dist/rating/root/rating-root.d.ts +4 -5
- package/dist/sandbox/preview/sandbox-preview.css.js +1 -1
- package/dist/sandbox/preview/sandbox-preview.d.ts +48 -44
- package/dist/sandbox/preview/sandbox-preview.js +63 -50
- package/dist/sandbox/root/sandbox-root.css.js +1 -2
- package/dist/sandbox/root/sandbox-root.d.ts +50 -59
- package/dist/sandbox/root/sandbox-root.js +75 -91
- package/dist/sandbox/source/sandbox-source.css.js +1 -1
- package/dist/sandbox/source/sandbox-source.d.ts +21 -29
- package/dist/sandbox/source/sandbox-source.js +26 -34
- package/dist/sandbox/status-bar/sandbox-status-bar.css.js +1 -1
- package/dist/sandbox/terminal/sandbox-terminal.css.js +1 -1
- package/dist/sandbox/toolbar/sandbox-toolbar.css.js +1 -1
- package/dist/scroll-area/root/scroll-area-root.css.js +5 -5
- package/dist/select/root/select-root.css.js +2 -15
- package/dist/select/root/select-root.d.ts +4 -4
- package/dist/select/root/select-root.js +5 -7
- package/dist/shared/chart/series.css.js +1 -1
- package/dist/shared/chart/terminus.css.js +1 -1
- package/dist/shared/field/field-inline.css.js +1 -1
- package/dist/shared/field/field-stacked.css.js +1 -1
- package/dist/shared/field/field.css.js +1 -1
- package/dist/skeleton/root/skeleton-root.css.js +1 -1
- package/dist/slider/root/slider-root.css.js +1 -3
- package/dist/sparkline/root/sparkline-root.css.js +1 -1
- package/dist/sparkline/root/sparkline-root.d.ts +22 -24
- package/dist/sparkline/root/sparkline-root.js +6 -6
- package/dist/speed-dial/item/speed-dial-item.css.js +1 -7
- package/dist/speed-dial/root/speed-dial-root.css.js +1 -1
- package/dist/splitter/root/splitter-root.css.js +1 -14
- package/dist/stat/group/stat-group.css.js +1 -1
- package/dist/stat/root/stat-root.css.js +1 -1
- package/dist/steps/root/steps-root.css.js +1 -1
- package/dist/steps/step/step.css.js +1 -8
- package/dist/steps/step/step.js +1 -1
- package/dist/switch/root/switch-root.css.js +1 -8
- package/dist/table/cell/table-cell.css.js +1 -1
- package/dist/table/column/table-column.css.js +1 -1
- package/dist/table/root/table-root.css.js +1 -1
- package/dist/table/row/table-row.css.js +1 -1
- package/dist/tabs/panel/tab-panel.css.js +1 -1
- package/dist/tabs/root/tabs-root.css.js +1 -7
- package/dist/tabs/tab/tab.css.js +2 -8
- package/dist/tag/root/tag-root.css.js +1 -1
- package/dist/tag/root/tag-root.d.ts +10 -19
- package/dist/tag/root/tag-root.js +3 -3
- package/dist/text/root/text-root.css.js +1 -1
- package/dist/text/root/text-root.d.ts +13 -14
- package/dist/text/root/text-root.js +6 -6
- package/dist/textarea/root/textarea-root.css.js +1 -7
- package/dist/time-input/root/time-input-root.css.js +1 -1
- package/dist/time-input/root/time-input-root.js +1 -1
- package/dist/time-picker/root/time-picker-root.css.js +1 -7
- package/dist/time-picker/root/time-picker-root.js +1 -1
- package/dist/timeline/item/timeline-item.css.js +1 -1
- package/dist/timeline/root/timeline-root.css.js +1 -1
- package/dist/toast/item/toast-item.css.js +1 -1
- package/dist/toast/root/toast-root.css.js +1 -1
- package/dist/toggle/group/toggle-group.css.js +1 -7
- package/dist/toggle/group/toggle-group.d.ts +6 -9
- package/dist/toggle/root/toggle-root.css.js +1 -1
- package/dist/toolbar/root/toolbar-root.css.js +1 -1
- package/dist/tooltip/root/tooltip-root.css.js +1 -1
- package/dist/tooltip/root/tooltip-root.d.ts +6 -7
- package/dist/tour/root/tour-root.css.js +1 -7
- package/dist/tour/stop/tour-stop.css.js +2 -2
- package/dist/tree/item/tree-item.css.js +1 -17
- package/dist/tree/root/tree-root.css.js +1 -1
- package/dist/tree/root/tree-root.d.ts +0 -2
- package/dist/trend/root/trend-root.css.js +1 -1
- package/dist/trend/root/trend-root.d.ts +4 -7
- package/dist/trend/root/trend-root.js +4 -7
- package/dist/video/root/video-root.css.js +1 -12
- package/dist/video/root/video-root.d.ts +3 -8
- package/dist/video-playlist/item/video-playlist-item.css.js +1 -7
- package/dist/video-playlist/menu/video-playlist-menu.css.js +1 -1
- package/dist/video-playlist/root/video-playlist-root.css.js +1 -1
- package/dist/virtual-list/root/virtual-list-root.css.js +1 -1
- package/elements.css +4 -5
- package/helix.css +31 -0
- package/jsx.d.ts +11625 -14561
- package/package.json +10 -8
- package/vue.d.ts +3594 -4231
|
@@ -29,15 +29,12 @@ export declare class HelixToggleGroup extends HelixHeadlessToggleGroup {
|
|
|
29
29
|
/**
|
|
30
30
|
* How the group separates itself from the page.
|
|
31
31
|
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* own ground, exactly as a Card's is; the track's sunken fill stays either
|
|
39
|
-
* way, being a groove for the thumb to sit in rather than a way of being
|
|
40
|
-
* seen.
|
|
32
|
+
* Separation rather than emphasis, because what `plain` drops is the
|
|
33
|
+
* background *and* the border: the question is where the group ends, not how
|
|
34
|
+
* much ink it claims. `outlined` because the frame is a border over the
|
|
35
|
+
* group's own ground, exactly as a Card's is; the track's sunken fill stays
|
|
36
|
+
* either way, being a groove for the thumb to sit in rather than a way of
|
|
37
|
+
* being seen.
|
|
41
38
|
*/
|
|
42
39
|
separation?: 'outlined' | 'plain';
|
|
43
40
|
static styles: CSSResultGroup;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/toggle/root/toggle-root.css by `
|
|
1
|
+
// Generated from src/toggle/root/toggle-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
block-size: 100%;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/toolbar/root/toolbar-root.css by `
|
|
1
|
+
// Generated from src/toolbar/root/toolbar-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/tooltip/root/tooltip-root.css by `
|
|
1
|
+
// Generated from src/tooltip/root/tooltip-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: contents;
|
|
@@ -35,9 +35,9 @@ export declare class HelixTooltip extends HelixHeadlessTooltip {
|
|
|
35
35
|
* has to do.** A card is already the page's surface, so glass swaps one ground
|
|
36
36
|
* for another; this one starts inverse, and `--helix-material-translucent` is
|
|
37
37
|
* the page's ground, so taking it without the foreground would put light ink on
|
|
38
|
-
* a light bubble.
|
|
39
|
-
*
|
|
40
|
-
*
|
|
38
|
+
* a light bubble. The border arrives with the material rather than being there
|
|
39
|
+
* all along, because a glass bubble has to be told from what is behind it while
|
|
40
|
+
* an inverse one is told from the page by being its opposite.
|
|
41
41
|
*
|
|
42
42
|
* The strength is the theme's: `--helix-material-translucent` and
|
|
43
43
|
* `--helix-material-backdrop` are what the policy moves.
|
|
@@ -47,10 +47,9 @@ export declare class HelixTooltip extends HelixHeadlessTooltip {
|
|
|
47
47
|
* it ends, which is `separation`, and a bubble in the top layer with a point on
|
|
48
48
|
* it has one answer to that. A quiet tooltip is a tooltip that is not shown.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* a lighter tooltip, it makes an unreadable one. `frosted` and `glass` are the
|
|
50
|
+
* **No `transparent`, deliberately.** A bubble floating over arbitrary page
|
|
51
|
+
* content is only readable because it has a ground; dropping it makes an
|
|
52
|
+
* unreadable tooltip rather than a lighter one. `frosted` and `glass` are the
|
|
54
53
|
* two honest points here.
|
|
55
54
|
*/
|
|
56
55
|
material?: 'frosted' | 'glass';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/tour/root/tour-root.css by `
|
|
1
|
+
// Generated from src/tour/root/tour-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: contents;
|
|
@@ -17,12 +17,6 @@ inline-size var(--helix-duration-normal) var(--helix-easing-standard);
|
|
|
17
17
|
z-index: var(--helix-layer-overlay);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@media (prefers-reduced-motion: reduce) {
|
|
21
|
-
[part="spotlight"] {
|
|
22
|
-
transition: none;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
20
|
@media print {
|
|
27
21
|
:host {
|
|
28
22
|
display: none;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/tour/stop/tour-stop.css by `
|
|
1
|
+
// Generated from src/tour/stop/tour-stop.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: contents;
|
|
@@ -7,7 +7,7 @@ display: contents;
|
|
|
7
7
|
[part="bubble"] {
|
|
8
8
|
background-color: var(--tour-surface-color, var(--helix-color-surface-raised));
|
|
9
9
|
border: var(--tour-border-width, var(--helix-border-thin)) solid var(--helix-color-border);
|
|
10
|
-
border-radius: var(--helix-radii-
|
|
10
|
+
border-radius: var(--helix-radii-sm);
|
|
11
11
|
box-shadow: var(--tour-shadow, var(--helix-shadow-floating));
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
color: var(--helix-color-foreground);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/tree/item/tree-item.css by `
|
|
1
|
+
// Generated from src/tree/item/tree-item.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
|
|
@@ -153,22 +153,6 @@ grid-template-rows: 0fr;
|
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
|
|
156
|
-
@media (prefers-reduced-motion: reduce) {
|
|
157
|
-
[part="group"] {
|
|
158
|
-
transition: none;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
@media (prefers-reduced-motion: reduce) {
|
|
163
|
-
[part="row"] {
|
|
164
|
-
transition: none;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
[part="toggle"] {
|
|
168
|
-
transition: none;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
156
|
[part="toggle"] {
|
|
173
157
|
|
|
174
158
|
align-self: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/tree/root/tree-root.css by `
|
|
1
|
+
// Generated from src/tree/root/tree-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: block;
|
|
@@ -33,8 +33,6 @@ export declare class HelixTree extends HelixHeadlessTree {
|
|
|
33
33
|
*
|
|
34
34
|
* Styled tier, because it is presentation and nothing else: it moves paint
|
|
35
35
|
* and leaves the markup, the ARIA and the reading order exactly as they were.
|
|
36
|
-
* It was written on the base class first, which the tier rule forbids for
|
|
37
|
-
* precisely this kind of property.
|
|
38
36
|
*
|
|
39
37
|
* On the tree rather than on the item, because it is a fact about the list. A
|
|
40
38
|
* navigation puts every chevron on the same side, and a per-item version
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/trend/root/trend-root.css by `
|
|
1
|
+
// Generated from src/trend/root/trend-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
align-items: center;
|
|
@@ -14,13 +14,10 @@ import '../../icon/index.js';
|
|
|
14
14
|
* reads and the judgment is a gloss on it.
|
|
15
15
|
*
|
|
16
16
|
* **No visual axis applies here, and that is the answer rather than a gap.**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* weight is `Text`'s business and whose size is the region's. `material` is what
|
|
22
|
-
* reads through a surface, and a 13px glyph has nothing behind it. `wash` is a
|
|
23
|
-
* gradient across an area, and there is no area.
|
|
17
|
+
* `emphasis` is how much ink a mark claims, and there is no mark: an arrow glyph
|
|
18
|
+
* and two runs of text, whose weight is `Text`'s business and whose size is the
|
|
19
|
+
* region's. `material` is what reads through a surface, and a 13px glyph has
|
|
20
|
+
* nothing behind it. `wash` is a gradient across an area, and there is no area.
|
|
24
21
|
*
|
|
25
22
|
* The meaning axis is here and is *derived*, which is the more interesting half:
|
|
26
23
|
* `direction` and `good` together resolve to success, danger or muted, so a
|
|
@@ -22,13 +22,10 @@ import { styles } from './trend-root.css.js';
|
|
|
22
22
|
* reads and the judgment is a gloss on it.
|
|
23
23
|
*
|
|
24
24
|
* **No visual axis applies here, and that is the answer rather than a gap.**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* weight is `Text`'s business and whose size is the region's. `material` is what
|
|
30
|
-
* reads through a surface, and a 13px glyph has nothing behind it. `wash` is a
|
|
31
|
-
* gradient across an area, and there is no area.
|
|
25
|
+
* `emphasis` is how much ink a mark claims, and there is no mark: an arrow glyph
|
|
26
|
+
* and two runs of text, whose weight is `Text`'s business and whose size is the
|
|
27
|
+
* region's. `material` is what reads through a surface, and a 13px glyph has
|
|
28
|
+
* nothing behind it. `wash` is a gradient across an area, and there is no area.
|
|
32
29
|
*
|
|
33
30
|
* The meaning axis is here and is *derived*, which is the more interesting half:
|
|
34
31
|
* `direction` and `good` together resolve to success, danger or muted, so a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/video/root/video-root.css by `
|
|
1
|
+
// Generated from src/video/root/video-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
color-scheme: dark;
|
|
@@ -169,7 +169,6 @@ transparent calc(var(--_video-at, 1) * 100%)
|
|
|
169
169
|
|
|
170
170
|
block-size: 4px;
|
|
171
171
|
bottom: var(--_video-level-lift);
|
|
172
|
-
|
|
173
172
|
direction: rtl;
|
|
174
173
|
inline-size: var(--_video-level-size);
|
|
175
174
|
|
|
@@ -322,16 +321,6 @@ inline-size: 100%;
|
|
|
322
321
|
object-fit: contain;
|
|
323
322
|
}
|
|
324
323
|
|
|
325
|
-
@media (prefers-reduced-motion: reduce) {
|
|
326
|
-
[part="controls"],
|
|
327
|
-
[part="cue"],
|
|
328
|
-
[part="stage"]::before,
|
|
329
|
-
[part="start"],
|
|
330
|
-
[part="volume"] {
|
|
331
|
-
transition: none;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
324
|
[part="speed"] {
|
|
336
325
|
font-family: var(--helix-font-sans);
|
|
337
326
|
font-size: var(--helix-text-xs);
|
|
@@ -43,19 +43,14 @@ export declare class HelixVideo extends HelixHeadlessVideo {
|
|
|
43
43
|
/**
|
|
44
44
|
* How the control bar sits on the picture.
|
|
45
45
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* fill weight, which is how this came to be listed as emphasis when the axes
|
|
49
|
-
* were first sorted. It is not: all three states say what the bar sits on,
|
|
50
|
-
* which is where it separates from the picture.
|
|
46
|
+
* `separation` and not `emphasis`: all three states say what the bar sits on,
|
|
47
|
+
* which is where it separates from the picture, rather than how loud it is.
|
|
51
48
|
*
|
|
52
49
|
* Absent is the default and is what a player looks like, and what the
|
|
53
50
|
* platform's own controls do: they float on a gradient that fades up into the
|
|
54
51
|
* picture, dark enough to read them against a bright frame and gone entirely
|
|
55
52
|
* a little higher up. The picture runs edge to edge behind them. It has no
|
|
56
|
-
* name because it is the resting treatment
|
|
57
|
-
* value even while an example wrote it: the attribute matched no selector and
|
|
58
|
-
* fell through to this rule, which is why it appeared to work.
|
|
53
|
+
* name because it is the resting treatment.
|
|
59
54
|
*
|
|
60
55
|
* `filled` gives the controls a bar of their own, which is what a video
|
|
61
56
|
* embedded in a document usually wants, where the player is a component on a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/video-playlist/item/video-playlist-item.css by `
|
|
1
|
+
// Generated from src/video-playlist/item/video-playlist-item.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: block;
|
|
@@ -86,10 +86,4 @@ min-inline-size: 0;
|
|
|
86
86
|
color: var(--helix-color-foreground-subtle);
|
|
87
87
|
font-size: var(--helix-text-xs);
|
|
88
88
|
font-weight: var(--helix-weight-regular);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@media (prefers-reduced-motion: reduce) {
|
|
92
|
-
[part="item"] {
|
|
93
|
-
transition: none;
|
|
94
|
-
}
|
|
95
89
|
}`);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/video-playlist/menu/video-playlist-menu.css by `
|
|
1
|
+
// Generated from src/video-playlist/menu/video-playlist-menu.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/video-playlist/root/video-playlist-root.css by `
|
|
1
|
+
// Generated from src/video-playlist/root/video-playlist-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: grid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from src/virtual-list/root/virtual-list-root.css by `
|
|
1
|
+
// Generated from src/virtual-list/root/virtual-list-root.css by `turbo run styles`. Do not edit.
|
|
2
2
|
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
3
|
export const styles = createSheet(`:host {
|
|
4
4
|
display: block;
|
package/elements.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by
|
|
1
|
+
/* Generated by fusion/scripts/build-elements-css.mjs. Do not edit.
|
|
2
2
|
*
|
|
3
3
|
* Import once, beside the base layer, in any app that uses Helix elements:
|
|
4
4
|
*
|
|
@@ -147,10 +147,9 @@ helix-virtual-list:not(:defined) {
|
|
|
147
147
|
* well: every `<helix-flex align="center">` was centering its text, which is a
|
|
148
148
|
* thing nobody asked for and nothing in the component could be blamed for.
|
|
149
149
|
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* "any custom element".
|
|
150
|
+
* Neutralized here rather than in each component, so the next component with an
|
|
151
|
+
* `align` property does not have to remember. Enumerated for the same reason
|
|
152
|
+
* the rule above is: CSS cannot select "any custom element".
|
|
154
153
|
*
|
|
155
154
|
* `:where()` keeps this at zero specificity, so a consumer setting
|
|
156
155
|
* `text-align` on the same element still wins.
|
package/helix.css
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Every layer Helix needs, in one import.
|
|
3
|
+
*
|
|
4
|
+
* **Four files in a required order is a list somebody writes three of**, and
|
|
5
|
+
* `primitives.css` is the one left out: `tokens.css` refers to a primitive 235
|
|
6
|
+
* times, so a consumer who lists the other three gets all 177 semantic tokens
|
|
7
|
+
* declared and every one resolving to `rgba(0, 0, 0, 0)`, and no theming at
|
|
8
|
+
* all, every public `--helix-seed-*` being read in that file and nowhere else.
|
|
9
|
+
*
|
|
10
|
+
* The order is the whole content of this file, and it cannot be got wrong from
|
|
11
|
+
* outside it.
|
|
12
|
+
*
|
|
13
|
+
* **It reaches into `@fusion.dev/helix-styles`, and that is a declared dependency
|
|
14
|
+
* rather than a hopeful specifier.** This package depends on it, so the
|
|
15
|
+
* resolution is guaranteed by the manifest rather than by what happens to be
|
|
16
|
+
* installed. Verified through this repository's own toolchain in development
|
|
17
|
+
* and in a production build: the primitives, the tokens, the base layer and
|
|
18
|
+
* `elements.css` all arrive.
|
|
19
|
+
*
|
|
20
|
+
* **What it cannot do is be a `<link>`.** A bare specifier in an `@import` is
|
|
21
|
+
* resolved by a bundler and never by a browser, so this is for the consumers
|
|
22
|
+
* the documentation describes, who import from JavaScript. Anyone serving CSS
|
|
23
|
+
* directly takes the four files by path.
|
|
24
|
+
*
|
|
25
|
+
* The individual files keep their exports. `@fusion.dev/helix-styles/all.css` is the
|
|
26
|
+
* three that package owns, for a page that wants Helix's type and color
|
|
27
|
+
* without any custom elements; the four singles are there for anyone
|
|
28
|
+
* substituting a layer.
|
|
29
|
+
*/
|
|
30
|
+
@import "@fusion.dev/helix-styles/all.css";
|
|
31
|
+
@import "./elements.css";
|