@fusion.dev/helix 0.16.7 → 0.17.1
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
|
@@ -660,11 +660,15 @@
|
|
|
660
660
|
"name": "HelixAccordion",
|
|
661
661
|
"cssProperties": [
|
|
662
662
|
{
|
|
663
|
-
"description": "Color of the seams, and of
|
|
663
|
+
"description": "Color of the seams, and of each item's frame when outlined.",
|
|
664
664
|
"name": "--accordion-border-color"
|
|
665
665
|
},
|
|
666
666
|
{
|
|
667
|
-
"description": "
|
|
667
|
+
"description": "Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge.",
|
|
668
|
+
"name": "--accordion-gap"
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"description": "Corner radius of each item, when outlined.",
|
|
668
672
|
"name": "--accordion-radius"
|
|
669
673
|
}
|
|
670
674
|
],
|
|
@@ -685,7 +689,7 @@
|
|
|
685
689
|
"type": {
|
|
686
690
|
"text": "'outlined' | 'plain' | undefined"
|
|
687
691
|
},
|
|
688
|
-
"description": "How the stack separates itself from the page.\n\nTwo of the axis's four values, which is what this surface has meaning for:\na stack of items is already told apart by its seams, so a lift would be a\nthird statement and a fill a second.\n\n- `plain` is the default and is what an application usually wants: the\n seams between items already say the items are one set, so a frame is a\n second statement of the same thing. Inside a card, a panel, a dialog or a\n sidebar, it is a line and no meaning.\n- `outlined` frames
|
|
692
|
+
"description": "How the stack separates itself from the page.\n\nTwo of the axis's four values, which is what this surface has meaning for:\na stack of items is already told apart by its seams, so a lift would be a\nthird statement and a fill a second.\n\n- `plain` is the default and is what an application usually wants: the\n seams between items already say the items are one set, so a frame is a\n second statement of the same thing. Inside a card, a panel, a dialog or a\n sidebar, it is a line and no meaning.\n- `outlined` frames **each item**, for an accordion sitting directly on the\n page where nothing else says where the rows begin and end. A marketing\n page's FAQ is the case it is for. Per item rather than around the stack,\n because a frame around a set of hairline-separated rows repeats what the\n hairlines already said, where a frame around each one makes every item a\n thing that opens and leaves the set to be said by their alignment.\n\nBoth are writable, so a generated page can say which it means rather than\nrelying on the absence of an attribute.",
|
|
689
693
|
"attribute": "separation",
|
|
690
694
|
"reflects": true
|
|
691
695
|
},
|
|
@@ -906,7 +910,7 @@
|
|
|
906
910
|
"type": {
|
|
907
911
|
"text": "'outlined' | 'plain' | undefined"
|
|
908
912
|
},
|
|
909
|
-
"description": "How the stack separates itself from the page.\n\nTwo of the axis's four values, which is what this surface has meaning for:\na stack of items is already told apart by its seams, so a lift would be a\nthird statement and a fill a second.\n\n- `plain` is the default and is what an application usually wants: the\n seams between items already say the items are one set, so a frame is a\n second statement of the same thing. Inside a card, a panel, a dialog or a\n sidebar, it is a line and no meaning.\n- `outlined` frames
|
|
913
|
+
"description": "How the stack separates itself from the page.\n\nTwo of the axis's four values, which is what this surface has meaning for:\na stack of items is already told apart by its seams, so a lift would be a\nthird statement and a fill a second.\n\n- `plain` is the default and is what an application usually wants: the\n seams between items already say the items are one set, so a frame is a\n second statement of the same thing. Inside a card, a panel, a dialog or a\n sidebar, it is a line and no meaning.\n- `outlined` frames **each item**, for an accordion sitting directly on the\n page where nothing else says where the rows begin and end. A marketing\n page's FAQ is the case it is for. Per item rather than around the stack,\n because a frame around a set of hairline-separated rows repeats what the\n hairlines already said, where a frame around each one makes every item a\n thing that opens and leaves the set to be said by their alignment.\n\nBoth are writable, so a generated page can say which it means rather than\nrelying on the absence of an attribute.",
|
|
910
914
|
"fieldName": "separation"
|
|
911
915
|
},
|
|
912
916
|
{
|
|
@@ -6869,15 +6873,10 @@
|
|
|
6869
6873
|
"type": {
|
|
6870
6874
|
"text": "'joined' | 'spaced' | undefined"
|
|
6871
6875
|
},
|
|
6872
|
-
"description": "Whether the buttons are one bar or a spaced row
|
|
6876
|
+
"description": "Whether the buttons are one bar or a spaced row.",
|
|
6873
6877
|
"attribute": "variant",
|
|
6874
6878
|
"reflects": true
|
|
6875
6879
|
},
|
|
6876
|
-
{
|
|
6877
|
-
"description": "Whether the buttons are one bar or a spaced row.",
|
|
6878
|
-
"name": "appearance",
|
|
6879
|
-
"kind": "field"
|
|
6880
|
-
},
|
|
6881
6880
|
{
|
|
6882
6881
|
"kind": "field",
|
|
6883
6882
|
"name": "label",
|
|
@@ -7086,7 +7085,7 @@
|
|
|
7086
7085
|
"type": {
|
|
7087
7086
|
"text": "'joined' | 'spaced' | undefined"
|
|
7088
7087
|
},
|
|
7089
|
-
"description": "Whether the buttons are one bar or a spaced row
|
|
7088
|
+
"description": "Whether the buttons are one bar or a spaced row.",
|
|
7090
7089
|
"fieldName": "variant"
|
|
7091
7090
|
},
|
|
7092
7091
|
{
|
|
@@ -4,6 +4,12 @@ display: block;
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
:host([separation="outlined"]) {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: var(--accordion-gap, var(--helix-space-xs));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([separation="outlined"]) ::slotted(*) {
|
|
7
13
|
border: var(--helix-border-thin) solid var(--accordion-border-color, var(--helix-color-border));
|
|
8
14
|
|
|
9
15
|
border-radius: var(--accordion-radius, var(--helix-radii-sm));
|
|
@@ -11,7 +17,7 @@ border-radius: var(--accordion-radius, var(--helix-radii-sm));
|
|
|
11
17
|
overflow: hidden;
|
|
12
18
|
}
|
|
13
19
|
|
|
14
|
-
::slotted(* + *) {
|
|
20
|
+
:host(:not([separation="outlined"])) ::slotted(* + *) {
|
|
15
21
|
border-block-start: var(--helix-border-thin) solid
|
|
16
22
|
var(--accordion-border-color, var(--helix-color-border));
|
|
17
23
|
}
|
|
@@ -17,8 +17,9 @@ import type { CSSResultGroup } from 'lit';
|
|
|
17
17
|
*
|
|
18
18
|
* @slot - The accordion's items.
|
|
19
19
|
*
|
|
20
|
-
* @cssproperty --accordion-border-color - Color of the seams, and of
|
|
21
|
-
* @cssproperty --accordion-
|
|
20
|
+
* @cssproperty --accordion-border-color - Color of the seams, and of each item's frame when outlined.
|
|
21
|
+
* @cssproperty --accordion-gap - Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge.
|
|
22
|
+
* @cssproperty --accordion-radius - Corner radius of each item, when outlined.
|
|
22
23
|
*/
|
|
23
24
|
export declare class HelixAccordion extends HelixHeadlessAccordion {
|
|
24
25
|
/**
|
|
@@ -32,9 +33,12 @@ export declare class HelixAccordion extends HelixHeadlessAccordion {
|
|
|
32
33
|
* seams between items already say the items are one set, so a frame is a
|
|
33
34
|
* second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
34
35
|
* sidebar, it is a line and no meaning.
|
|
35
|
-
* - `outlined` frames
|
|
36
|
-
* page where nothing else says where
|
|
37
|
-
* page's FAQ is the case it is for.
|
|
36
|
+
* - `outlined` frames **each item**, for an accordion sitting directly on the
|
|
37
|
+
* page where nothing else says where the rows begin and end. A marketing
|
|
38
|
+
* page's FAQ is the case it is for. Per item rather than around the stack,
|
|
39
|
+
* because a frame around a set of hairline-separated rows repeats what the
|
|
40
|
+
* hairlines already said, where a frame around each one makes every item a
|
|
41
|
+
* thing that opens and leaves the set to be said by their alignment.
|
|
38
42
|
*
|
|
39
43
|
* Both are writable, so a generated page can say which it means rather than
|
|
40
44
|
* relying on the absence of an attribute.
|
|
@@ -22,7 +22,7 @@ import type { CSSResultGroup } from 'lit';
|
|
|
22
22
|
*
|
|
23
23
|
* @cssproperty --button-group-gap - Space between the buttons, when `spaced`.
|
|
24
24
|
*
|
|
25
|
-
* @property
|
|
25
|
+
* @property variant - Whether the buttons are one bar or a spaced row.
|
|
26
26
|
*/
|
|
27
27
|
export declare class HelixButtonGroup extends HelixHeadlessButtonGroup {
|
|
28
28
|
static styles: CSSResultGroup;
|
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.17.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@fusion.dev/helix-core": "0.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.
|
|
49
|
+
"@fusion.dev/helix-core": "0.17.1",
|
|
50
|
+
"@fusion.dev/helix-headless": "0.17.1",
|
|
51
|
+
"@fusion.dev/helix-styles": "0.17.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@custom-elements-manifest/analyzer": "^0.11.0",
|
|
55
|
-
"@fusion.dev/helix-cem": "0.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.17.1",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.17.1",
|
|
57
57
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
58
58
|
"@happy-dom/global-registrator": "^20.0.0",
|
|
59
59
|
"@lit-labs/ssr": "^3.3.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -530,9 +530,12 @@ third statement and a fill a second.
|
|
|
530
530
|
seams between items already say the items are one set, so a frame is a
|
|
531
531
|
second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
532
532
|
sidebar, it is a line and no meaning.
|
|
533
|
-
- `outlined` frames
|
|
534
|
-
page where nothing else says where
|
|
535
|
-
page's FAQ is the case it is for.
|
|
533
|
+
- `outlined` frames **each item**, for an accordion sitting directly on the
|
|
534
|
+
page where nothing else says where the rows begin and end. A marketing
|
|
535
|
+
page's FAQ is the case it is for. Per item rather than around the stack,
|
|
536
|
+
because a frame around a set of hairline-separated rows repeats what the
|
|
537
|
+
hairlines already said, where a frame around each one makes every item a
|
|
538
|
+
thing that opens and leaves the set to be said by their alignment.
|
|
536
539
|
|
|
537
540
|
Both are writable, so a generated page can say which it means rather than
|
|
538
541
|
relying on the absence of an attribute. */
|
|
@@ -559,9 +562,12 @@ third statement and a fill a second.
|
|
|
559
562
|
seams between items already say the items are one set, so a frame is a
|
|
560
563
|
second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
561
564
|
sidebar, it is a line and no meaning.
|
|
562
|
-
- `outlined` frames
|
|
563
|
-
page where nothing else says where
|
|
564
|
-
page's FAQ is the case it is for.
|
|
565
|
+
- `outlined` frames **each item**, for an accordion sitting directly on the
|
|
566
|
+
page where nothing else says where the rows begin and end. A marketing
|
|
567
|
+
page's FAQ is the case it is for. Per item rather than around the stack,
|
|
568
|
+
because a frame around a set of hairline-separated rows repeats what the
|
|
569
|
+
hairlines already said, where a frame around each one makes every item a
|
|
570
|
+
thing that opens and leaves the set to be said by their alignment.
|
|
565
571
|
|
|
566
572
|
Both are writable, so a generated page can say which it means rather than
|
|
567
573
|
relying on the absence of an attribute. */
|
|
@@ -1651,15 +1657,7 @@ export type HelixBreadcrumbsSolidJsProps = {
|
|
|
1651
1657
|
};
|
|
1652
1658
|
|
|
1653
1659
|
export type HelixButtonGroupProps = {
|
|
1654
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
1655
|
-
|
|
1656
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
1657
|
-
segmented bar.
|
|
1658
|
-
|
|
1659
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
1660
|
-
separate actions. The semantics and the joining are separate questions:
|
|
1661
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
1662
|
-
`helix-flex` gives the spacing without the group. */
|
|
1660
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
1663
1661
|
variant?: (HelixButtonGroup["variant"]) | undefined;
|
|
1664
1662
|
/** Accessible name for the group.
|
|
1665
1663
|
|
|
@@ -1684,20 +1682,10 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
1684
1682
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
1685
1683
|
column. */
|
|
1686
1684
|
orientation?: (HelixButtonGroup["orientation"]) | undefined;
|
|
1687
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
1688
|
-
appearance?: (HelixButtonGroup["appearance"]) | undefined;
|
|
1689
1685
|
};
|
|
1690
1686
|
|
|
1691
1687
|
export type HelixButtonGroupSolidJsProps = {
|
|
1692
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
1693
|
-
|
|
1694
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
1695
|
-
segmented bar.
|
|
1696
|
-
|
|
1697
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
1698
|
-
separate actions. The semantics and the joining are separate questions:
|
|
1699
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
1700
|
-
`helix-flex` gives the spacing without the group. */
|
|
1688
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
1701
1689
|
"prop:variant"?: (HelixButtonGroup["variant"]) | undefined;
|
|
1702
1690
|
/** Accessible name for the group.
|
|
1703
1691
|
|
|
@@ -1722,8 +1710,6 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
1722
1710
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
1723
1711
|
column. */
|
|
1724
1712
|
"prop:orientation"?: (HelixButtonGroup["orientation"]) | undefined;
|
|
1725
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
1726
|
-
"prop:appearance"?: (HelixButtonGroup["appearance"]) | undefined;
|
|
1727
1713
|
|
|
1728
1714
|
/** Set the innerHTML of the element */
|
|
1729
1715
|
innerHTML?: (string) | undefined;
|
|
@@ -18452,9 +18438,12 @@ export type CustomElements = {
|
|
|
18452
18438
|
* seams between items already say the items are one set, so a frame is a
|
|
18453
18439
|
* second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
18454
18440
|
* sidebar, it is a line and no meaning.
|
|
18455
|
-
* - `outlined` frames
|
|
18456
|
-
* page where nothing else says where
|
|
18457
|
-
* page's FAQ is the case it is for.
|
|
18441
|
+
* - `outlined` frames **each item**, for an accordion sitting directly on the
|
|
18442
|
+
* page where nothing else says where the rows begin and end. A marketing
|
|
18443
|
+
* page's FAQ is the case it is for. Per item rather than around the stack,
|
|
18444
|
+
* because a frame around a set of hairline-separated rows repeats what the
|
|
18445
|
+
* hairlines already said, where a frame around each one makes every item a
|
|
18446
|
+
* thing that opens and leaves the set to be said by their alignment.
|
|
18458
18447
|
*
|
|
18459
18448
|
* Both are writable, so a generated page can say which it means rather than
|
|
18460
18449
|
* relying on the absence of an attribute.
|
|
@@ -18496,8 +18485,9 @@ export type CustomElements = {
|
|
|
18496
18485
|
*
|
|
18497
18486
|
* CSS variables available for styling the component.
|
|
18498
18487
|
*
|
|
18499
|
-
* - `--accordion-border-color`: Color of the seams, and of
|
|
18500
|
-
* - `--accordion-
|
|
18488
|
+
* - `--accordion-border-color`: Color of the seams, and of each item's frame when outlined. (default: `undefined`)
|
|
18489
|
+
* - `--accordion-gap`: Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge. (default: `undefined`)
|
|
18490
|
+
* - `--accordion-radius`: Corner radius of each item, when outlined. (default: `undefined`)
|
|
18501
18491
|
*/
|
|
18502
18492
|
"helix-accordion": Partial<
|
|
18503
18493
|
HelixAccordionProps & BaseProps<HelixAccordion> & BaseEvents<HelixAccordion>
|
|
@@ -19545,14 +19535,6 @@ export type CustomElements = {
|
|
|
19545
19535
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
19546
19536
|
*
|
|
19547
19537
|
* - `variant`: Whether the buttons are one bar or a spaced row.
|
|
19548
|
-
*
|
|
19549
|
-
* Joined by default: one control made of parts, sharing borders, reading as a
|
|
19550
|
-
* segmented bar.
|
|
19551
|
-
*
|
|
19552
|
-
* `spaced` is the same set with air between them, for a row of related but
|
|
19553
|
-
* separate actions. The semantics and the joining are separate questions:
|
|
19554
|
-
* `role="group"` and a shared name are what make a set of buttons a set, and
|
|
19555
|
-
* `helix-flex` gives the spacing without the group.
|
|
19556
19538
|
* - `label`: Accessible name for the group.
|
|
19557
19539
|
*
|
|
19558
19540
|
* On the host through internals, so an author's `aria-label` still overrides
|
|
@@ -19574,7 +19556,6 @@ export type CustomElements = {
|
|
|
19574
19556
|
* buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
19575
19557
|
* a first row into a second. Stacked, the same three keep one shape and one
|
|
19576
19558
|
* column.
|
|
19577
|
-
* - `appearance`: Whether the buttons are one bar or a spaced row. (property only)
|
|
19578
19559
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
19579
19560
|
*
|
|
19580
19561
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -34410,9 +34391,12 @@ export type CustomElementsSolidJs = {
|
|
|
34410
34391
|
* seams between items already say the items are one set, so a frame is a
|
|
34411
34392
|
* second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
34412
34393
|
* sidebar, it is a line and no meaning.
|
|
34413
|
-
* - `outlined` frames
|
|
34414
|
-
* page where nothing else says where
|
|
34415
|
-
* page's FAQ is the case it is for.
|
|
34394
|
+
* - `outlined` frames **each item**, for an accordion sitting directly on the
|
|
34395
|
+
* page where nothing else says where the rows begin and end. A marketing
|
|
34396
|
+
* page's FAQ is the case it is for. Per item rather than around the stack,
|
|
34397
|
+
* because a frame around a set of hairline-separated rows repeats what the
|
|
34398
|
+
* hairlines already said, where a frame around each one makes every item a
|
|
34399
|
+
* thing that opens and leaves the set to be said by their alignment.
|
|
34416
34400
|
*
|
|
34417
34401
|
* Both are writable, so a generated page can say which it means rather than
|
|
34418
34402
|
* relying on the absence of an attribute.
|
|
@@ -34454,8 +34438,9 @@ export type CustomElementsSolidJs = {
|
|
|
34454
34438
|
*
|
|
34455
34439
|
* CSS variables available for styling the component.
|
|
34456
34440
|
*
|
|
34457
|
-
* - `--accordion-border-color`: Color of the seams, and of
|
|
34458
|
-
* - `--accordion-
|
|
34441
|
+
* - `--accordion-border-color`: Color of the seams, and of each item's frame when outlined. (default: `undefined`)
|
|
34442
|
+
* - `--accordion-gap`: Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge. (default: `undefined`)
|
|
34443
|
+
* - `--accordion-radius`: Corner radius of each item, when outlined. (default: `undefined`)
|
|
34459
34444
|
*/
|
|
34460
34445
|
"helix-accordion": Partial<
|
|
34461
34446
|
HelixAccordionProps &
|
|
@@ -35537,14 +35522,6 @@ export type CustomElementsSolidJs = {
|
|
|
35537
35522
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
35538
35523
|
*
|
|
35539
35524
|
* - `variant`: Whether the buttons are one bar or a spaced row.
|
|
35540
|
-
*
|
|
35541
|
-
* Joined by default: one control made of parts, sharing borders, reading as a
|
|
35542
|
-
* segmented bar.
|
|
35543
|
-
*
|
|
35544
|
-
* `spaced` is the same set with air between them, for a row of related but
|
|
35545
|
-
* separate actions. The semantics and the joining are separate questions:
|
|
35546
|
-
* `role="group"` and a shared name are what make a set of buttons a set, and
|
|
35547
|
-
* `helix-flex` gives the spacing without the group.
|
|
35548
35525
|
* - `label`: Accessible name for the group.
|
|
35549
35526
|
*
|
|
35550
35527
|
* On the host through internals, so an author's `aria-label` still overrides
|
|
@@ -35566,7 +35543,6 @@ export type CustomElementsSolidJs = {
|
|
|
35566
35543
|
* buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
35567
35544
|
* a first row into a second. Stacked, the same three keep one shape and one
|
|
35568
35545
|
* column.
|
|
35569
|
-
* - `appearance`: Whether the buttons are one bar or a spaced row. (property only)
|
|
35570
35546
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
35571
35547
|
*
|
|
35572
35548
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -50611,9 +50587,11 @@ export type CustomElementsSolidJs = {
|
|
|
50611
50587
|
export type CustomCssProperties = {
|
|
50612
50588
|
/** Inset of the trigger and content. */
|
|
50613
50589
|
"--accordion-item-padding"?: (string) | undefined;
|
|
50614
|
-
/** Color of the seams, and of
|
|
50590
|
+
/** Color of the seams, and of each item's frame when outlined. */
|
|
50615
50591
|
"--accordion-border-color"?: (string) | undefined;
|
|
50616
|
-
/**
|
|
50592
|
+
/** Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge. */
|
|
50593
|
+
"--accordion-gap"?: (string) | undefined;
|
|
50594
|
+
/** Corner radius of each item, when outlined. */
|
|
50617
50595
|
"--accordion-radius"?: (string) | undefined;
|
|
50618
50596
|
/** Inline padding, matched to the page. */
|
|
50619
50597
|
"--announcement-inset"?: (string) | undefined;
|
package/types/vue.d.ts
CHANGED
|
@@ -287,9 +287,12 @@ third statement and a fill a second.
|
|
|
287
287
|
seams between items already say the items are one set, so a frame is a
|
|
288
288
|
second statement of the same thing. Inside a card, a panel, a dialog or a
|
|
289
289
|
sidebar, it is a line and no meaning.
|
|
290
|
-
- `outlined` frames
|
|
291
|
-
page where nothing else says where
|
|
292
|
-
page's FAQ is the case it is for.
|
|
290
|
+
- `outlined` frames **each item**, for an accordion sitting directly on the
|
|
291
|
+
page where nothing else says where the rows begin and end. A marketing
|
|
292
|
+
page's FAQ is the case it is for. Per item rather than around the stack,
|
|
293
|
+
because a frame around a set of hairline-separated rows repeats what the
|
|
294
|
+
hairlines already said, where a frame around each one makes every item a
|
|
295
|
+
thing that opens and leaves the set to be said by their alignment.
|
|
293
296
|
|
|
294
297
|
Both are writable, so a generated page can say which it means rather than
|
|
295
298
|
relying on the absence of an attribute. */
|
|
@@ -849,15 +852,7 @@ export type HelixBreadcrumbsVueProps = {};
|
|
|
849
852
|
export type HelixBreadcrumbsVueEvents = {};
|
|
850
853
|
|
|
851
854
|
export type HelixButtonGroupVueProps = {
|
|
852
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
853
|
-
|
|
854
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
855
|
-
segmented bar.
|
|
856
|
-
|
|
857
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
858
|
-
separate actions. The semantics and the joining are separate questions:
|
|
859
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
860
|
-
`helix-flex` gives the spacing without the group. */
|
|
855
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
861
856
|
variant?: (HelixButtonGroup["variant"]) | undefined;
|
|
862
857
|
/** Accessible name for the group.
|
|
863
858
|
|
|
@@ -882,8 +877,6 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
882
877
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
883
878
|
column. */
|
|
884
879
|
orientation?: (HelixButtonGroup["orientation"]) | undefined;
|
|
885
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
886
|
-
appearance?: (HelixButtonGroup["appearance"]) | undefined;
|
|
887
880
|
};
|
|
888
881
|
|
|
889
882
|
export type HelixButtonGroupVueEvents = {};
|
|
@@ -9368,9 +9361,11 @@ export type HelixVirtualListVueEvents = {};
|
|
|
9368
9361
|
export type CustomCssProperties = {
|
|
9369
9362
|
/** Inset of the trigger and content. */
|
|
9370
9363
|
"--accordion-item-padding"?: (string) | undefined;
|
|
9371
|
-
/** Color of the seams, and of
|
|
9364
|
+
/** Color of the seams, and of each item's frame when outlined. */
|
|
9372
9365
|
"--accordion-border-color"?: (string) | undefined;
|
|
9373
|
-
/**
|
|
9366
|
+
/** Space between items, when outlined. Nothing separates them otherwise: a seam is a shared edge. */
|
|
9367
|
+
"--accordion-gap"?: (string) | undefined;
|
|
9368
|
+
/** Corner radius of each item, when outlined. */
|
|
9374
9369
|
"--accordion-radius"?: (string) | undefined;
|
|
9375
9370
|
/** Inline padding, matched to the page. */
|
|
9376
9371
|
"--announcement-inset"?: (string) | undefined;
|