@fusion.dev/helix 0.105.0 → 0.106.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 +8259 -4085
- package/dist/accordion/item/accordion-item.d.ts +9 -10
- package/dist/accordion/root/accordion-root.d.ts +8 -9
- package/dist/announcement/root/announcement-root.d.ts +7 -7
- package/dist/app-header/root/app-header-root.d.ts +14 -12
- package/dist/area-chart/root/area-chart-root.d.ts +23 -32
- package/dist/aura/root/aura-root.d.ts +32 -31
- package/dist/avatar/group/avatar-group.d.ts +8 -11
- package/dist/avatar/root/avatar-root.d.ts +4 -5
- package/dist/badge/root/badge-root.d.ts +7 -8
- package/dist/bar-chart/root/bar-chart-root.d.ts +17 -16
- package/dist/blockquote/root/blockquote-root.d.ts +4 -5
- package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +7 -7
- package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +2 -2
- package/dist/button/root/button-root.d.ts +16 -13
- package/dist/button-group/root/button-group-root.d.ts +6 -6
- package/dist/callout/root/callout-root.d.ts +8 -8
- package/dist/canvas/edge/canvas-edge.d.ts +3 -3
- package/dist/canvas/node/canvas-node.d.ts +17 -18
- package/dist/canvas/root/canvas-root.d.ts +18 -19
- package/dist/card/root/card-root.d.ts +14 -14
- package/dist/carousel/root/carousel-root.d.ts +11 -14
- package/dist/chat/composer/chat-composer.d.ts +10 -11
- package/dist/chat/message/chat-message.d.ts +18 -18
- package/dist/chat/root/chat-root.d.ts +15 -18
- package/dist/checkbox/root/checkbox-root.d.ts +17 -16
- package/dist/checkbox-group/root/checkbox-group-root.d.ts +6 -5
- package/dist/code/root/code-root.d.ts +9 -9
- package/dist/code-block/root/code-block-root.d.ts +14 -15
- package/dist/color-input/root/color-input-root.d.ts +13 -18
- package/dist/color-picker/root/color-picker-root.d.ts +26 -27
- package/dist/combobox/root/combobox-root.css.js +3 -2
- package/dist/combobox/root/combobox-root.d.ts +8 -8
- package/dist/command/root/command-root.d.ts +5 -6
- package/dist/copy-button/root/copy-button-root.d.ts +4 -5
- package/dist/data-table/root/data-table-root.d.ts +30 -37
- package/dist/date-input/root/date-input-root.d.ts +15 -17
- package/dist/date-picker/root/date-picker-root.d.ts +11 -12
- package/dist/description-list/item/description-list-item.d.ts +2 -2
- package/dist/description-list/root/description-list-root.d.ts +13 -14
- package/dist/dialog/root/dialog-root.d.ts +9 -10
- package/dist/divider/root/divider-root.d.ts +11 -12
- package/dist/donut-chart/root/donut-chart-root.d.ts +12 -15
- package/dist/drawer/root/drawer-root.d.ts +14 -13
- package/dist/drilldown/item/drilldown-item.d.ts +3 -4
- package/dist/drilldown/root/drilldown-root.d.ts +6 -9
- package/dist/element-events.generated.js +7 -0
- package/dist/empty/root/empty-root.d.ts +3 -4
- package/dist/file-input/root/file-input-root.d.ts +8 -12
- package/dist/filter-input/chip/filter-chip.d.ts +11 -10
- package/dist/filter-input/field/filter-field.d.ts +7 -8
- package/dist/filter-input/menu/filter-menu.d.ts +7 -8
- package/dist/filter-input/operator/filter-operator.d.ts +5 -5
- package/dist/filter-input/root/filter-input-root.d.ts +25 -27
- package/dist/flex/root/flex-root.d.ts +9 -14
- package/dist/format-date/root/format-date-root.d.ts +5 -8
- package/dist/grid/root/grid-root.d.ts +13 -11
- package/dist/heatmap/root/heatmap-root.d.ts +34 -31
- package/dist/icon/root/icon-root.d.ts +6 -6
- package/dist/icon-button/root/icon-button-root.d.ts +9 -10
- package/dist/image/root/image-root.d.ts +10 -10
- package/dist/input/root/input-root.d.ts +10 -13
- package/dist/kbd/root/kbd-root.d.ts +6 -7
- package/dist/legend/root/legend-root.d.ts +19 -20
- package/dist/lightbox/item/lightbox-item.d.ts +4 -5
- package/dist/lightbox/root/lightbox-root.d.ts +13 -16
- package/dist/line-chart/root/line-chart-root.d.ts +24 -25
- package/dist/list/item/list-item.d.ts +7 -8
- package/dist/list/root/list-root.d.ts +7 -9
- package/dist/listbox/root/listbox-root.d.ts +8 -9
- package/dist/loader/root/loader-root.d.ts +5 -7
- package/dist/map/buildings/map-buildings.css.d.ts +1 -0
- package/dist/map/buildings/map-buildings.css.js +27 -0
- package/dist/map/buildings/map-buildings.d.ts +28 -0
- package/dist/map/buildings/map-buildings.js +20 -0
- package/dist/map/contours/map-contours.css.d.ts +1 -0
- package/dist/map/contours/map-contours.css.js +8 -0
- package/dist/map/contours/map-contours.d.ts +25 -0
- package/dist/map/contours/map-contours.js +16 -0
- package/dist/map/index.d.ts +5 -0
- package/dist/map/index.js +5 -0
- package/dist/map/landcover/map-landcover.css.d.ts +1 -0
- package/dist/map/landcover/map-landcover.css.js +5 -0
- package/dist/map/landcover/map-landcover.d.ts +25 -0
- package/dist/map/landcover/map-landcover.js +16 -0
- package/dist/map/marker/map-marker.css.js +5 -0
- package/dist/map/position/map-position.css.js +5 -0
- package/dist/map/raster/map-raster.css.d.ts +1 -0
- package/dist/map/raster/map-raster.css.js +4 -0
- package/dist/map/raster/map-raster.d.ts +23 -0
- package/dist/map/raster/map-raster.js +16 -0
- package/dist/map/root/map-root.css.js +218 -1
- package/dist/map/terrain/map-terrain.css.d.ts +1 -0
- package/dist/map/terrain/map-terrain.css.js +12 -0
- package/dist/map/terrain/map-terrain.d.ts +27 -0
- package/dist/map/terrain/map-terrain.js +16 -0
- package/dist/megamenu/root/megamenu-root.d.ts +14 -14
- package/dist/menu/item/menu-item.d.ts +8 -8
- package/dist/menu/root/menu-root.d.ts +9 -9
- package/dist/meter/root/meter-root.d.ts +29 -38
- package/dist/navigation/root/navigation-root.d.ts +4 -5
- package/dist/notifications/group/notification-group.d.ts +9 -13
- package/dist/notifications/notification/notification.d.ts +27 -33
- package/dist/notifications/root/notifications-root.d.ts +9 -11
- package/dist/number-input/root/number-input-root.d.ts +16 -18
- package/dist/object-inspector/root/object-inspector-root.d.ts +11 -12
- package/dist/option/group/option-group.d.ts +3 -4
- package/dist/option/root/option-root.d.ts +7 -8
- package/dist/orb/root/orb-root.d.ts +30 -36
- package/dist/outline/root/outline-root.d.ts +8 -10
- package/dist/pagination/root/pagination-root.d.ts +13 -23
- package/dist/pagination/size/pagination-size.d.ts +7 -7
- package/dist/pagination/summary/pagination-summary.d.ts +3 -4
- package/dist/pin-input/root/pin-input-root.d.ts +8 -11
- package/dist/popover/root/popover-root.d.ts +14 -16
- package/dist/progress/root/progress-root.d.ts +10 -13
- package/dist/qr-code/root/qr-code-root.d.ts +13 -14
- package/dist/quote/root/quote-root.d.ts +2 -2
- package/dist/radio/group/radio-group.d.ts +6 -6
- package/dist/radio/root/radio-root.d.ts +16 -19
- package/dist/rating/root/rating-root.d.ts +9 -9
- package/dist/sandbox/preview/sandbox-preview.d.ts +18 -19
- package/dist/sandbox/root/sandbox-root.d.ts +27 -27
- package/dist/sandbox/source/sandbox-source.d.ts +9 -12
- package/dist/sandbox/status-bar/sandbox-status-bar.d.ts +9 -11
- package/dist/sandbox/terminal/sandbox-terminal.d.ts +13 -15
- package/dist/sandbox/toolbar/sandbox-toolbar.d.ts +8 -9
- package/dist/scatter-chart/root/scatter-chart-root.d.ts +18 -29
- package/dist/scroll-area/root/scroll-area-root.d.ts +13 -13
- package/dist/select/root/select-root.d.ts +14 -14
- package/dist/shared/mixin-control-surface/mixin-control-surface.d.ts +8 -2
- package/dist/shared/viewport/viewport.css.js +5 -1
- package/dist/skeleton/root/skeleton-root.d.ts +6 -7
- package/dist/skip-link/root/skip-link-root.d.ts +16 -19
- package/dist/slider/root/slider-root.d.ts +16 -18
- package/dist/sparkline/root/sparkline-root.d.ts +16 -24
- package/dist/speed-dial/item/speed-dial-item.d.ts +5 -5
- package/dist/speed-dial/root/speed-dial-root.d.ts +3 -4
- package/dist/splitter/root/splitter-root.d.ts +23 -32
- package/dist/stat/group/stat-group.d.ts +4 -5
- package/dist/stat/root/stat-root.d.ts +4 -5
- package/dist/steps/root/steps-root.d.ts +12 -13
- package/dist/switch/root/switch-root.d.ts +13 -17
- package/dist/table/cell/table-cell.css.js +5 -0
- package/dist/table/cell/table-cell.d.ts +4 -4
- package/dist/table/column/table-column.d.ts +3 -4
- package/dist/table/root/table-root.d.ts +5 -6
- package/dist/table/row/table-row.d.ts +3 -3
- package/dist/tabs/panel/tab-panel.d.ts +2 -3
- package/dist/tabs/root/tabs-root.d.ts +12 -11
- package/dist/tabs/tab/tab.d.ts +4 -4
- package/dist/tag/root/tag-root.d.ts +10 -11
- package/dist/text/root/text-root.d.ts +22 -30
- package/dist/textarea/root/textarea-root.d.ts +4 -5
- package/dist/time-input/root/time-input-root.d.ts +12 -14
- package/dist/time-picker/root/time-picker-root.d.ts +8 -10
- package/dist/timeline/item/timeline-item.d.ts +2 -2
- package/dist/timeline/root/timeline-root.d.ts +3 -3
- package/dist/toast/item/toast-item.d.ts +7 -8
- package/dist/toast/root/toast-root.d.ts +10 -12
- package/dist/toggle/group/toggle-group.d.ts +10 -12
- package/dist/toggle/root/toggle-root.d.ts +2 -3
- package/dist/toolbar/root/toolbar-root.d.ts +3 -3
- package/dist/tooltip/root/tooltip-root.d.ts +10 -10
- package/dist/tour/root/tour-root.d.ts +5 -6
- package/dist/tour/stop/tour-stop.d.ts +14 -14
- package/dist/tree/item/tree-item.d.ts +6 -9
- package/dist/tree/root/tree-root.d.ts +7 -8
- package/dist/trend/root/trend-root.d.ts +12 -19
- package/dist/video/root/video-root.d.ts +15 -21
- package/dist/video-playlist/item/video-playlist-item.d.ts +4 -4
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +14 -16
- package/dist/video-playlist/root/video-playlist-root.d.ts +5 -5
- package/dist/virtual-list/root/virtual-list-root.d.ts +6 -8
- package/package.json +6 -6
- package/types/jsx.d.ts +10064 -8833
- package/types/svelte.d.ts +5 -0
- package/types/vue.d.ts +1909 -1480
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
import { HelixHeadlessSkipLink } from '@fusion.dev/helix-headless/skip-link';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary
|
|
5
|
-
*
|
|
4
|
+
* @summary A link at the start of a page that moves keyboard focus past the
|
|
5
|
+
* header to the main content.
|
|
6
6
|
*
|
|
7
7
|
* @description
|
|
8
|
-
*
|
|
9
|
-
* viewport
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* both. The reveal is this sheet's.
|
|
8
|
+
* Hidden until it receives keyboard focus, then shown in the corner of the
|
|
9
|
+
* viewport. It is hidden with the base layer's visually hidden helper, so it
|
|
10
|
+
* stays in the tab order and the accessibility tree. This stylesheet adds the
|
|
11
|
+
* reveal.
|
|
13
12
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* when focus arrives, by a restored position or an anchor in the address. A
|
|
17
|
-
* link revealed above the top of the screen is revealed to nobody.
|
|
13
|
+
* It is fixed to the viewport, because the page may already be scrolled when
|
|
14
|
+
* focus arrives, from a restored position or an anchor in the address.
|
|
18
15
|
*
|
|
19
|
-
* Put it first inside `<body>`, before the header, and give the content
|
|
20
|
-
*
|
|
16
|
+
* Put it first inside `<body>`, before the header, and give the content region
|
|
17
|
+
* the id its `href` names.
|
|
21
18
|
*
|
|
22
19
|
* @since 0.1.0
|
|
23
20
|
* @status stable
|
|
@@ -25,12 +22,12 @@ import type { CSSResultGroup } from 'lit';
|
|
|
25
22
|
* @aliases Skip navigation, Skip to content
|
|
26
23
|
* @documentation https://fusion.dev/helix/components/skip-link
|
|
27
24
|
*
|
|
28
|
-
* @cssproperty --skip-link-border-color -
|
|
29
|
-
* @cssproperty --skip-link-border-width -
|
|
30
|
-
* `--helix-border-floating`, which is `0`, so the link is
|
|
31
|
-
* theme
|
|
32
|
-
* @cssproperty --skip-link-shadow -
|
|
33
|
-
* `--helix-shadow-floating`,
|
|
25
|
+
* @cssproperty --skip-link-border-color - The border color of the link while it is shown.
|
|
26
|
+
* @cssproperty --skip-link-border-width - The border width of the link while it is shown. Follows
|
|
27
|
+
* `--helix-border-floating`, which is `0`, so the link is set apart by its shadow unless a
|
|
28
|
+
* theme sets a border.
|
|
29
|
+
* @cssproperty --skip-link-shadow - The shadow under the link while it is shown. Follows
|
|
30
|
+
* `--helix-shadow-floating`, because the link sits over the corner of the page.
|
|
34
31
|
*/
|
|
35
32
|
export declare class HelixSkipLink extends HelixHeadlessSkipLink {
|
|
36
33
|
static tier: string;
|
|
@@ -5,14 +5,12 @@ import type { CSSResultGroup } from 'lit';
|
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
7
|
* The track and the thumb are the browser's own, restyled through the range
|
|
8
|
-
* pseudo-elements
|
|
9
|
-
*
|
|
10
|
-
* drag, the keys, and a hit area sized by the platform for a finger.
|
|
8
|
+
* pseudo-elements. The drag, the keys, and the hit area sized for a finger stay
|
|
9
|
+
* native.
|
|
11
10
|
*
|
|
12
|
-
* The filled part of the track is
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* the thumb being dragged.
|
|
11
|
+
* The filled part of the track is a gradient driven by the fraction the
|
|
12
|
+
* headless tier writes. A gradient lets one element show two colors that follow
|
|
13
|
+
* the thumb while you drag it.
|
|
16
14
|
*
|
|
17
15
|
* @since 0.1.0
|
|
18
16
|
* @status stable
|
|
@@ -20,17 +18,17 @@ import type { CSSResultGroup } from 'lit';
|
|
|
20
18
|
* @aliases Range, Range input
|
|
21
19
|
* @documentation https://fusion.dev/helix/components/slider
|
|
22
20
|
*
|
|
23
|
-
* @cssproperty --slider-fill-color - The part behind the thumb.
|
|
24
|
-
* @cssproperty --slider-length -
|
|
25
|
-
* @cssproperty --slider-marker-color - The
|
|
26
|
-
* @cssproperty --slider-thumb-color - The
|
|
27
|
-
* @cssproperty --slider-thumb-length - The
|
|
28
|
-
* @cssproperty --slider-thumb-radius - The
|
|
29
|
-
* @cssproperty --slider-thumb-ring-color - The
|
|
30
|
-
* @cssproperty --slider-thumb-size - The
|
|
31
|
-
* @cssproperty --slider-track-color - The part
|
|
32
|
-
* @cssproperty --slider-track-image -
|
|
33
|
-
* @cssproperty --slider-track-size -
|
|
21
|
+
* @cssproperty --slider-fill-color - The color of the filled part of the track, behind the thumb.
|
|
22
|
+
* @cssproperty --slider-length - The length of a vertical track. It defaults to nine rem and applies only when `orientation` is `vertical`. A horizontal track takes the width of its row.
|
|
23
|
+
* @cssproperty --slider-marker-color - The color of the marks along the track.
|
|
24
|
+
* @cssproperty --slider-thumb-color - The color of the thumb.
|
|
25
|
+
* @cssproperty --slider-thumb-length - The thumb's size along the track. It follows `--slider-thumb-size` unless you set it, and setting one of the two makes the thumb an oval.
|
|
26
|
+
* @cssproperty --slider-thumb-radius - The thumb's corner radius. It is fully round by default, so a thumb with two different dimensions is a capsule unless you change it.
|
|
27
|
+
* @cssproperty --slider-thumb-ring-color - The color of the ring between the thumb and the track. Set it for a slider that sits on a surface other than the page background.
|
|
28
|
+
* @cssproperty --slider-thumb-size - The thumb's size across the track. It equals the length by default, which makes the thumb round.
|
|
29
|
+
* @cssproperty --slider-track-color - The color of the unfilled part of the track.
|
|
30
|
+
* @cssproperty --slider-track-image - An image for the whole track, such as a gradient for a slider whose value is a color.
|
|
31
|
+
* @cssproperty --slider-track-size - The thickness of the track. It matches the progress bar's size by default.
|
|
34
32
|
*/
|
|
35
33
|
export declare class HelixSlider extends HelixHeadlessSlider {
|
|
36
34
|
static styles: CSSResultGroup;
|
|
@@ -1,27 +1,19 @@
|
|
|
1
1
|
import { HelixHeadlessSparkline } from '@fusion.dev/helix-headless/sparkline';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary A
|
|
4
|
+
* @summary A small chart with no axes that shows the shape of a series beside its number.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* Sized in `em` by default, so
|
|
8
|
-
*
|
|
9
|
-
* absolute and cannot say "a little wider than this".
|
|
7
|
+
* Sized in `em` by default, so it scales with the text around it: figure-sized
|
|
8
|
+
* beside a figure, and row-sized in a table row.
|
|
10
9
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* `preserveAspectRatio="none"` lets one drawing fill a 60px slot or a 600px
|
|
11
|
+
* one, and `vector-effect: non-scaling-stroke` keeps the stroke from stretching
|
|
12
|
+
* with it. The line's weight is set in `em`, so it grows with the drawing's
|
|
13
|
+
* text size.
|
|
15
14
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* disagreeing.
|
|
19
|
-
*
|
|
20
|
-
* The line's weight is set in `em` rather than pixels, so it grows with the
|
|
21
|
-
* drawing the way the drawing grows with its type. A fixed pixel width leaves a
|
|
22
|
-
* 200 pixel sparkline wearing a hairline: `vector-effect` keeps a stroke out of
|
|
23
|
-
* the view box's stretch, and it also keeps it out of every other reason it
|
|
24
|
-
* might want to be bigger.
|
|
15
|
+
* Set `--sparkline-color` on the host to color the line, the fill, the columns,
|
|
16
|
+
* and the mark together.
|
|
25
17
|
*
|
|
26
18
|
* @since 0.1.0
|
|
27
19
|
* @status stable
|
|
@@ -30,19 +22,19 @@ import type { CSSResultGroup } from 'lit';
|
|
|
30
22
|
* @aliases Micro Chart, Trend Line, Inline Chart
|
|
31
23
|
* @documentation https://fusion.dev/helix/components/sparkline
|
|
32
24
|
*
|
|
33
|
-
* @cssproperty --chart-terminus-hole - A fill for the middle of a `ring` terminus,
|
|
25
|
+
* @cssproperty --chart-terminus-hole - A fill for the middle of a `ring` terminus. Without it, the middle is open.
|
|
34
26
|
* @cssproperty --chart-terminus-size - Size of the mark on the last reading.
|
|
35
|
-
* @cssproperty --sparkline-area-opacity -
|
|
36
|
-
* @cssproperty --sparkline-bar-radius - Corner radius
|
|
37
|
-
* @cssproperty --sparkline-bar-stroke - Thickness of a column's edge
|
|
27
|
+
* @cssproperty --sparkline-area-opacity - Opacity of the area fill where it meets the line.
|
|
28
|
+
* @cssproperty --sparkline-bar-radius - Corner radius of a column, when `plot="bar"`.
|
|
29
|
+
* @cssproperty --sparkline-bar-stroke - Thickness of a column's edge when `emphasis` is `outlined`.
|
|
38
30
|
* @cssproperty --sparkline-block-size - Height of the drawing.
|
|
39
|
-
* @cssproperty --sparkline-color - Color of the line, the
|
|
31
|
+
* @cssproperty --sparkline-color - Color of the line, the area fill, the columns, and the mark.
|
|
40
32
|
* @cssproperty --sparkline-inline-size - Width of the drawing.
|
|
41
33
|
* @cssproperty --sparkline-width - Thickness of the line, overriding `weight`.
|
|
42
34
|
*/
|
|
43
35
|
export declare class HelixSparkline extends HelixHeadlessSparkline {
|
|
44
36
|
/**
|
|
45
|
-
* How
|
|
37
|
+
* How strongly the line, area, or columns are drawn.
|
|
46
38
|
*
|
|
47
39
|
* `subtle` mixes the drawing toward the page. The case is a table where one row
|
|
48
40
|
* is being read and the rest are context.
|
|
@@ -94,7 +86,7 @@ export declare class HelixSparkline extends HelixHeadlessSparkline {
|
|
|
94
86
|
*/
|
|
95
87
|
terminus?: 'none' | 'ring' | 'square' | 'triangle';
|
|
96
88
|
/**
|
|
97
|
-
* How
|
|
89
|
+
* How thick the line is drawn.
|
|
98
90
|
*
|
|
99
91
|
* Absent is the weight a sparkline is usually drawn at. `thin` suits one set
|
|
100
92
|
* in a table row among many; `thick` suits one standing on its own, where a
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HelixHeadlessSpeedDialItem } from '@fusion.dev/helix-headless/speed-dial';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary One action in a speed dial:
|
|
4
|
+
* @summary One action in a speed dial: an icon and a name beside it.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* Presentation only: a round mark the size of a small control,
|
|
8
|
-
* a chip beside it so it
|
|
9
|
-
*
|
|
7
|
+
* Presentation only: a round mark the size of a small control, with the name on
|
|
8
|
+
* a chip beside it so it stays readable over whatever the dial floats over. The
|
|
9
|
+
* base class handles its behavior.
|
|
10
10
|
*
|
|
11
11
|
* @since 0.1.0
|
|
12
12
|
* @status stable
|
|
@@ -14,7 +14,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
14
14
|
* @aliases Speed dial action, FAB action, Quick action
|
|
15
15
|
* @documentation https://fusion.dev/helix/components/speed-dial
|
|
16
16
|
*
|
|
17
|
-
* @cssproperty --speed-dial-item-size - Edge length of the
|
|
17
|
+
* @cssproperty --speed-dial-item-size - Edge length of the icon.
|
|
18
18
|
*/
|
|
19
19
|
export declare class HelixSpeedDialItem extends HelixHeadlessSpeedDialItem {
|
|
20
20
|
static styles: CSSResultGroup;
|
|
@@ -2,12 +2,11 @@ import { HelixHeadlessSpeedDial } from '@fusion.dev/helix-headless/speed-dial';
|
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
import '../../icon/index.js';
|
|
4
4
|
/**
|
|
5
|
-
* @summary A button that
|
|
5
|
+
* @summary A floating button that opens a short list of the main actions on a screen.
|
|
6
6
|
*
|
|
7
7
|
* @description
|
|
8
|
-
* Presentation only: the column the actions fan into, and
|
|
9
|
-
*
|
|
10
|
-
* moves through it is the base class.
|
|
8
|
+
* Presentation only: the column the actions fan into, and the end they align
|
|
9
|
+
* to. The base class handles opening, closing, and keyboard movement.
|
|
11
10
|
*
|
|
12
11
|
* @since 0.1.0
|
|
13
12
|
* @status stable
|
|
@@ -1,35 +1,26 @@
|
|
|
1
1
|
import { HelixHeadlessSplitter } from '@fusion.dev/helix-headless/splitter';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary Two panes and a divider
|
|
4
|
+
* @summary Two panes and a divider that you can move.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* The divider
|
|
8
|
-
*
|
|
9
|
-
* is the fault every hand-rolled splitter has; the line is a border and the
|
|
10
|
-
* target is the box around it.
|
|
7
|
+
* The divider's line and its pointer target are different sizes. The line is a
|
|
8
|
+
* border, and the target is the larger box around it.
|
|
11
9
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* that answers the pointer is the thing that changed.
|
|
10
|
+
* The whole target lights on hover, so you can see that the divider moves
|
|
11
|
+
* before you drag it.
|
|
15
12
|
*
|
|
16
|
-
* Both panes scroll and both have their minimum size
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* asked for and nothing would say why.
|
|
13
|
+
* Both panes scroll, and both have their minimum size removed. Without this, a
|
|
14
|
+
* pane holding scrollable content could not shrink below its content, and the
|
|
15
|
+
* divider would stop early with no visible reason.
|
|
20
16
|
*
|
|
21
|
-
* The corner where a nested splitter crosses is twice the divider's target
|
|
22
|
-
* because
|
|
23
|
-
*
|
|
24
|
-
* it. A ring on focus is the exception, since with nothing drawn there would
|
|
25
|
-
* otherwise be no way to see where the keyboard is.
|
|
17
|
+
* The corner where a nested splitter crosses is twice the divider's target
|
|
18
|
+
* size, because you aim at a point. It draws nothing except a focus ring, and
|
|
19
|
+
* the `move` cursor shows what it is.
|
|
26
20
|
*
|
|
27
|
-
* A divider stays lit
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* than merely darker, because hover is a question and a drag is an answer, and
|
|
31
|
-
* because a corner moving two dividers at once needs the pair to read as one
|
|
32
|
-
* gesture.
|
|
21
|
+
* A divider stays lit while it moves, including while a drag captures the
|
|
22
|
+
* pointer and while a corner moves it. It uses the primary color while moving,
|
|
23
|
+
* so the two dividers a corner moves look like one gesture.
|
|
33
24
|
*
|
|
34
25
|
* @since 0.1.0
|
|
35
26
|
* @status stable
|
|
@@ -38,21 +29,21 @@ import type { CSSResultGroup } from 'lit';
|
|
|
38
29
|
* @documentation https://fusion.dev/helix/components/splitter
|
|
39
30
|
*
|
|
40
31
|
* @csspart corner - The handle where a nested splitter's divider crosses this one.
|
|
41
|
-
* @csspart end - The box
|
|
32
|
+
* @csspart end - The box that holds the second pane.
|
|
42
33
|
* @csspart separator - The divider itself.
|
|
43
|
-
* @csspart start - The box
|
|
34
|
+
* @csspart start - The box that holds the first pane.
|
|
44
35
|
*
|
|
45
|
-
* @cssproperty --splitter-color -
|
|
46
|
-
* @cssproperty --splitter-corner -
|
|
47
|
-
* @cssproperty --splitter-drag-color -
|
|
48
|
-
* @cssproperty --splitter-grip-color -
|
|
36
|
+
* @cssproperty --splitter-color - Color of the line between the panes.
|
|
37
|
+
* @cssproperty --splitter-corner - Width of the handle where two dividers cross.
|
|
38
|
+
* @cssproperty --splitter-drag-color - Color of the line while it is being moved.
|
|
39
|
+
* @cssproperty --splitter-grip-color - Color of the grip beside the line, when the grip is shown.
|
|
49
40
|
* @cssproperty --splitter-grip-length - How far the grip runs along the divider.
|
|
50
|
-
* @cssproperty --splitter-hover-color -
|
|
51
|
-
* @cssproperty --splitter-target -
|
|
41
|
+
* @cssproperty --splitter-hover-color - Color of the divider's target under the pointer.
|
|
42
|
+
* @cssproperty --splitter-target - Width of the area you can drag.
|
|
52
43
|
*/
|
|
53
44
|
export declare class HelixSplitter extends HelixHeadlessSplitter {
|
|
54
45
|
/**
|
|
55
|
-
* Whether the divider
|
|
46
|
+
* Whether the divider shows a grip.
|
|
56
47
|
*
|
|
57
48
|
* - `line` is the divider alone, for a splitter the reader already knows is
|
|
58
49
|
* one: an editor, a mail client, anything they open every day.
|
|
@@ -4,10 +4,9 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary A row of related measurements.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* same quantity.
|
|
7
|
+
* Stats wrap onto a new line when space runs out, and each figure keeps its own
|
|
8
|
+
* width. Figures are read by comparing them, and equal columns would make a
|
|
9
|
+
* four-digit number and a two-digit one look like the same quantity.
|
|
11
10
|
*
|
|
12
11
|
* @since 0.1.0
|
|
13
12
|
* @status stable
|
|
@@ -18,7 +17,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
18
17
|
*/
|
|
19
18
|
export declare class HelixStatGroup extends HelixHeadlessStatGroup {
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
20
|
+
* Draws a rule between the figures, in addition to the space.
|
|
22
21
|
*/
|
|
23
22
|
divided: boolean;
|
|
24
23
|
static styles: CSSResultGroup;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { HelixHeadlessStat } from '@fusion.dev/helix-headless/stat';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary One measurement, with
|
|
4
|
+
* @summary One measurement, with a label that names what it measures.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* The value
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* pair reads as one object rather than as two lines of text.
|
|
7
|
+
* The value uses the display typeface at a size above the type scale, because
|
|
8
|
+
* the figure is the focus. The label sits above it in the label style, small
|
|
9
|
+
* and widely tracked, so the pair reads as one unit.
|
|
11
10
|
*
|
|
12
11
|
* @since 0.1.0
|
|
13
12
|
* @status stable
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { HelixHeadlessSteps } from '@fusion.dev/helix-headless/steps';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary A sequence of stages
|
|
4
|
+
* @summary A sequence of stages that shows which stage the user is on.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* The
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* The numbers are a CSS counter, so the browser draws each step's position at
|
|
8
|
+
* layout, the numbers are correct in the server's markup with no script, and
|
|
9
|
+
* reordering the steps renumbers them.
|
|
10
10
|
*
|
|
11
|
-
* A step's name is a `helix-button`, so
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* second name for it here would be a second thing to keep in step.
|
|
11
|
+
* A step's name is a `helix-button`, so its hover, focus, and disabled styles
|
|
12
|
+
* come from `Button` and use Button's custom properties. To change the hover
|
|
13
|
+
* color, set `--button-background-color`. There is no `--steps-hover-color`.
|
|
15
14
|
*
|
|
16
15
|
* @since 0.1.0
|
|
17
16
|
* @status stable
|
|
@@ -19,12 +18,12 @@ import type { CSSResultGroup } from 'lit';
|
|
|
19
18
|
* @aliases Stepper, Wizard, Progress steps
|
|
20
19
|
* @documentation https://fusion.dev/helix/components/steps
|
|
21
20
|
*
|
|
22
|
-
* @cssproperty --steps-complete-color -
|
|
23
|
-
* @cssproperty --steps-connector-color -
|
|
24
|
-
* @cssproperty --steps-connector-inset -
|
|
25
|
-
* @cssproperty --steps-current-color -
|
|
21
|
+
* @cssproperty --steps-complete-color - Color of the mark on a finished step.
|
|
22
|
+
* @cssproperty --steps-connector-color - Color of the line that connects the steps.
|
|
23
|
+
* @cssproperty --steps-connector-inset - Space on either side of a mark, before the connecting line.
|
|
24
|
+
* @cssproperty --steps-current-color - Color of the mark on the current step.
|
|
26
25
|
* @cssproperty --steps-gap - Space between one step and the next.
|
|
27
|
-
* @cssproperty --steps-marker-size - Size of the mark,
|
|
26
|
+
* @cssproperty --steps-marker-size - Size of the mark, whether an icon or a digit.
|
|
28
27
|
*/
|
|
29
28
|
export declare class HelixSteps extends HelixHeadlessSteps {
|
|
30
29
|
static styles: CSSResultGroup;
|
|
@@ -4,22 +4,18 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary A control that turns something on or off.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* A thumb
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* two states and there is nothing else for it to be.
|
|
7
|
+
* A thumb moves along a track. The switch is the one place in Helix where color
|
|
8
|
+
* means "on". A checkbox has a tick, and a switch has no mark, so the fill is
|
|
9
|
+
* what tells the two states apart.
|
|
11
10
|
*
|
|
12
|
-
* The input
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* The input is the hit target. It is stretched over the track and made
|
|
12
|
+
* invisible, so the press, the focus, and the label forwarding come from the
|
|
13
|
+
* platform.
|
|
15
14
|
*
|
|
16
|
-
*
|
|
17
|
-
* checkbox's
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* control reads as a small dash. The width follows the height, so setting
|
|
21
|
-
* `--switch-block-size` widens it too and the proportion is not something a
|
|
22
|
-
* consumer has to keep.
|
|
15
|
+
* The height is `--helix-size-switch`, one step above the checkbox's at every
|
|
16
|
+
* density. At the checkbox's height the thumb has two pixels of track around
|
|
17
|
+
* it, and the control looks like a small dash. The width follows the height, so
|
|
18
|
+
* setting `--switch-block-size` widens the switch too and keeps the proportion.
|
|
23
19
|
*
|
|
24
20
|
* @since 0.1.0
|
|
25
21
|
* @status stable
|
|
@@ -28,9 +24,9 @@ import type { CSSResultGroup } from 'lit';
|
|
|
28
24
|
* @documentation https://fusion.dev/helix/components/switch
|
|
29
25
|
*
|
|
30
26
|
* @cssproperty --switch-block-size - Height of the track. The width follows it.
|
|
31
|
-
* @cssproperty --switch-inline-size - Length of the track
|
|
32
|
-
* @cssproperty --switch-on-color - Fill when
|
|
33
|
-
* @cssproperty --switch-thumb-color -
|
|
27
|
+
* @cssproperty --switch-inline-size - Length of the track. Set it to override the length derived from the height.
|
|
28
|
+
* @cssproperty --switch-on-color - Fill when the switch is on.
|
|
29
|
+
* @cssproperty --switch-thumb-color - Color of the thumb, in both states.
|
|
34
30
|
*/
|
|
35
31
|
export declare class HelixSwitch extends HelixHeadlessSwitch {
|
|
36
32
|
static styles: CSSResultGroup;
|
|
@@ -4,10 +4,10 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary One cell of a table.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* Every cell
|
|
8
|
-
* icon button in it sits level with a row of text. Content
|
|
9
|
-
* foreground,
|
|
10
|
-
*
|
|
7
|
+
* Every cell has the same height whatever it holds, so a row with a tag or an
|
|
8
|
+
* icon button in it sits level with a row of text. Content uses the full
|
|
9
|
+
* foreground color, and a long identifier breaks onto a new line so it does not
|
|
10
|
+
* run into the next column.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.1.0
|
|
13
13
|
* @status stable
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { HelixHeadlessTableColumn } from '@fusion.dev/helix-headless/table';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary One column of a table: its heading
|
|
4
|
+
* @summary One column of a table: its heading and its width.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* Styled as
|
|
8
|
-
*
|
|
9
|
-
* table.
|
|
7
|
+
* Styled as a header cell, with the same rule and inset as the cells below it,
|
|
8
|
+
* so the heading and its column read as one line down the table.
|
|
10
9
|
*
|
|
11
10
|
* @since 0.1.0
|
|
12
11
|
* @status stable
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { HelixHeadlessTable } from '@fusion.dev/helix-headless/table';
|
|
2
2
|
import type { CSSResultGroup } from 'lit';
|
|
3
3
|
/**
|
|
4
|
-
* @summary
|
|
4
|
+
* @summary A table of data, laid out on a grid.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
*
|
|
8
|
-
* single border
|
|
9
|
-
* decorating none of it.
|
|
7
|
+
* Rows have hairline rules between them and no fill. Helix shows depth with a
|
|
8
|
+
* single border and no elevation, and a dense table adds no other decoration.
|
|
10
9
|
*
|
|
11
10
|
* @since 0.1.0
|
|
12
11
|
* @status stable
|
|
@@ -15,10 +14,10 @@ import type { CSSResultGroup } from 'lit';
|
|
|
15
14
|
*
|
|
16
15
|
* @slot - The table's rows.
|
|
17
16
|
*
|
|
18
|
-
* @csspart live -
|
|
17
|
+
* @csspart live - A live region that repeats the empty and loading text, so screen readers announce it when it changes. Visually hidden in the styled tier.
|
|
19
18
|
* @csspart table - The grid.
|
|
20
19
|
*
|
|
21
|
-
* @cssproperty --table-columns - Track list for the columns
|
|
20
|
+
* @cssproperty --table-columns - Track list for the columns. It overrides the track list worked out from the columns.
|
|
22
21
|
*/
|
|
23
22
|
export declare class HelixTable extends HelixHeadlessTable {
|
|
24
23
|
static styles: CSSResultGroup;
|
|
@@ -4,9 +4,9 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary One row of a table.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
*
|
|
8
|
-
* with every other row
|
|
9
|
-
* selected, hidden or made interactive without a wrapper that would break the
|
|
7
|
+
* The row has no box of its own, so its cells become items of the table's grid
|
|
8
|
+
* and line up with every other row. The element still exists, so a row can be
|
|
9
|
+
* selected, hidden, or made interactive without a wrapper that would break the
|
|
10
10
|
* columns.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.1.0
|
|
@@ -4,9 +4,8 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary The content shown for one tab.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* quarter of it.
|
|
7
|
+
* The panel has no box of its own, so only the panel that is showing takes
|
|
8
|
+
* space. In a set of four panels, the visible one gets the full height.
|
|
10
9
|
*
|
|
11
10
|
* @since 0.1.0
|
|
12
11
|
* @status stable
|
|
@@ -4,24 +4,25 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary A row of tabs and the panel each one shows.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* One mark
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* destinations the same way and for the same reason.
|
|
7
|
+
* One mark moves between the tabs to show the current one. A moving mark is a
|
|
8
|
+
* single object that is easy to follow, and it shows where the selection came
|
|
9
|
+
* from. A fill that switches from tab to tab changes two things at once and
|
|
10
|
+
* looks like a flicker. `Navigation` marks its destinations the same way.
|
|
12
11
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* The mark depends on `variant`:
|
|
13
|
+
*
|
|
14
|
+
* - Unset, it is a raised pill on the selected tab, with nothing behind the
|
|
15
|
+
* row.
|
|
16
|
+
* - `underlined` makes it a bar along the bottom of the strip, on a rule.
|
|
17
|
+
* - `segmented` makes it the size of the tab's box, inside a sunken track.
|
|
17
18
|
*
|
|
18
19
|
* @since 0.1.0
|
|
19
20
|
* @status stable
|
|
20
21
|
* @category navigation
|
|
21
22
|
* @documentation https://fusion.dev/helix/components/tabs
|
|
22
23
|
*
|
|
23
|
-
* @slot - The tabs,
|
|
24
|
-
* @slot panels - The panels,
|
|
24
|
+
* @slot - The tabs, as direct children of this element.
|
|
25
|
+
* @slot panels - The panels, as direct children of this element. Panels inside a wrapper are not paired with tabs, because pairing reads only the direct children.
|
|
25
26
|
*
|
|
26
27
|
* @csspart panels - The panel container.
|
|
27
28
|
* @csspart tabs - The tab list.
|
package/dist/tabs/tab/tab.d.ts
CHANGED
|
@@ -4,10 +4,10 @@ import type { CSSResultGroup } from 'lit';
|
|
|
4
4
|
* @summary One tab in a tab list.
|
|
5
5
|
*
|
|
6
6
|
* @description
|
|
7
|
-
* A control's height, so a tab row sits level with the buttons beside
|
|
8
|
-
* current tab is
|
|
9
|
-
*
|
|
10
|
-
* when it becomes current.
|
|
7
|
+
* A tab has a control's height, so a tab row sits level with the buttons beside
|
|
8
|
+
* it. The current tab is marked by one indicator that moves along the tab list.
|
|
9
|
+
* Each tab keeps a transparent edge of the same width, so its box does not
|
|
10
|
+
* shift when it becomes current.
|
|
11
11
|
*
|
|
12
12
|
* @since 0.1.0
|
|
13
13
|
* @status stable
|