@fusion.dev/helix 0.17.0 → 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
|
@@ -6873,15 +6873,10 @@
|
|
|
6873
6873
|
"type": {
|
|
6874
6874
|
"text": "'joined' | 'spaced' | undefined"
|
|
6875
6875
|
},
|
|
6876
|
-
"description": "Whether the buttons are one bar or a spaced row
|
|
6876
|
+
"description": "Whether the buttons are one bar or a spaced row.",
|
|
6877
6877
|
"attribute": "variant",
|
|
6878
6878
|
"reflects": true
|
|
6879
6879
|
},
|
|
6880
|
-
{
|
|
6881
|
-
"description": "Whether the buttons are one bar or a spaced row.",
|
|
6882
|
-
"name": "appearance",
|
|
6883
|
-
"kind": "field"
|
|
6884
|
-
},
|
|
6885
6880
|
{
|
|
6886
6881
|
"kind": "field",
|
|
6887
6882
|
"name": "label",
|
|
@@ -7090,7 +7085,7 @@
|
|
|
7090
7085
|
"type": {
|
|
7091
7086
|
"text": "'joined' | 'spaced' | undefined"
|
|
7092
7087
|
},
|
|
7093
|
-
"description": "Whether the buttons are one bar or a spaced row
|
|
7088
|
+
"description": "Whether the buttons are one bar or a spaced row.",
|
|
7094
7089
|
"fieldName": "variant"
|
|
7095
7090
|
},
|
|
7096
7091
|
{
|
|
@@ -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.17.
|
|
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.17.
|
|
50
|
-
"@fusion.dev/helix-headless": "0.17.
|
|
51
|
-
"@fusion.dev/helix-styles": "0.17.
|
|
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.17.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.17.
|
|
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
|
@@ -1657,15 +1657,7 @@ export type HelixBreadcrumbsSolidJsProps = {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
|
|
1659
1659
|
export type HelixButtonGroupProps = {
|
|
1660
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
1661
|
-
|
|
1662
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
1663
|
-
segmented bar.
|
|
1664
|
-
|
|
1665
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
1666
|
-
separate actions. The semantics and the joining are separate questions:
|
|
1667
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
1668
|
-
`helix-flex` gives the spacing without the group. */
|
|
1660
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
1669
1661
|
variant?: (HelixButtonGroup["variant"]) | undefined;
|
|
1670
1662
|
/** Accessible name for the group.
|
|
1671
1663
|
|
|
@@ -1690,20 +1682,10 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
1690
1682
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
1691
1683
|
column. */
|
|
1692
1684
|
orientation?: (HelixButtonGroup["orientation"]) | undefined;
|
|
1693
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
1694
|
-
appearance?: (HelixButtonGroup["appearance"]) | undefined;
|
|
1695
1685
|
};
|
|
1696
1686
|
|
|
1697
1687
|
export type HelixButtonGroupSolidJsProps = {
|
|
1698
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
1699
|
-
|
|
1700
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
1701
|
-
segmented bar.
|
|
1702
|
-
|
|
1703
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
1704
|
-
separate actions. The semantics and the joining are separate questions:
|
|
1705
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
1706
|
-
`helix-flex` gives the spacing without the group. */
|
|
1688
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
1707
1689
|
"prop:variant"?: (HelixButtonGroup["variant"]) | undefined;
|
|
1708
1690
|
/** Accessible name for the group.
|
|
1709
1691
|
|
|
@@ -1728,8 +1710,6 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
1728
1710
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
1729
1711
|
column. */
|
|
1730
1712
|
"prop:orientation"?: (HelixButtonGroup["orientation"]) | undefined;
|
|
1731
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
1732
|
-
"prop:appearance"?: (HelixButtonGroup["appearance"]) | undefined;
|
|
1733
1713
|
|
|
1734
1714
|
/** Set the innerHTML of the element */
|
|
1735
1715
|
innerHTML?: (string) | undefined;
|
|
@@ -19555,14 +19535,6 @@ export type CustomElements = {
|
|
|
19555
19535
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
19556
19536
|
*
|
|
19557
19537
|
* - `variant`: Whether the buttons are one bar or a spaced row.
|
|
19558
|
-
*
|
|
19559
|
-
* Joined by default: one control made of parts, sharing borders, reading as a
|
|
19560
|
-
* segmented bar.
|
|
19561
|
-
*
|
|
19562
|
-
* `spaced` is the same set with air between them, for a row of related but
|
|
19563
|
-
* separate actions. The semantics and the joining are separate questions:
|
|
19564
|
-
* `role="group"` and a shared name are what make a set of buttons a set, and
|
|
19565
|
-
* `helix-flex` gives the spacing without the group.
|
|
19566
19538
|
* - `label`: Accessible name for the group.
|
|
19567
19539
|
*
|
|
19568
19540
|
* On the host through internals, so an author's `aria-label` still overrides
|
|
@@ -19584,7 +19556,6 @@ export type CustomElements = {
|
|
|
19584
19556
|
* buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
19585
19557
|
* a first row into a second. Stacked, the same three keep one shape and one
|
|
19586
19558
|
* column.
|
|
19587
|
-
* - `appearance`: Whether the buttons are one bar or a spaced row. (property only)
|
|
19588
19559
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
19589
19560
|
*
|
|
19590
19561
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -35551,14 +35522,6 @@ export type CustomElementsSolidJs = {
|
|
|
35551
35522
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
35552
35523
|
*
|
|
35553
35524
|
* - `variant`: Whether the buttons are one bar or a spaced row.
|
|
35554
|
-
*
|
|
35555
|
-
* Joined by default: one control made of parts, sharing borders, reading as a
|
|
35556
|
-
* segmented bar.
|
|
35557
|
-
*
|
|
35558
|
-
* `spaced` is the same set with air between them, for a row of related but
|
|
35559
|
-
* separate actions. The semantics and the joining are separate questions:
|
|
35560
|
-
* `role="group"` and a shared name are what make a set of buttons a set, and
|
|
35561
|
-
* `helix-flex` gives the spacing without the group.
|
|
35562
35525
|
* - `label`: Accessible name for the group.
|
|
35563
35526
|
*
|
|
35564
35527
|
* On the host through internals, so an author's `aria-label` still overrides
|
|
@@ -35580,7 +35543,6 @@ export type CustomElementsSolidJs = {
|
|
|
35580
35543
|
* buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
35581
35544
|
* a first row into a second. Stacked, the same three keep one shape and one
|
|
35582
35545
|
* column.
|
|
35583
|
-
* - `appearance`: Whether the buttons are one bar or a spaced row. (property only)
|
|
35584
35546
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
35585
35547
|
*
|
|
35586
35548
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
package/types/vue.d.ts
CHANGED
|
@@ -852,15 +852,7 @@ export type HelixBreadcrumbsVueProps = {};
|
|
|
852
852
|
export type HelixBreadcrumbsVueEvents = {};
|
|
853
853
|
|
|
854
854
|
export type HelixButtonGroupVueProps = {
|
|
855
|
-
/** Whether the buttons are one bar or a spaced row.
|
|
856
|
-
|
|
857
|
-
Joined by default: one control made of parts, sharing borders, reading as a
|
|
858
|
-
segmented bar.
|
|
859
|
-
|
|
860
|
-
`spaced` is the same set with air between them, for a row of related but
|
|
861
|
-
separate actions. The semantics and the joining are separate questions:
|
|
862
|
-
`role="group"` and a shared name are what make a set of buttons a set, and
|
|
863
|
-
`helix-flex` gives the spacing without the group. */
|
|
855
|
+
/** Whether the buttons are one bar or a spaced row. */
|
|
864
856
|
variant?: (HelixButtonGroup["variant"]) | undefined;
|
|
865
857
|
/** Accessible name for the group.
|
|
866
858
|
|
|
@@ -885,8 +877,6 @@ buttons sharing edges as one shape, and a wrapped row carries the corners of
|
|
|
885
877
|
a first row into a second. Stacked, the same three keep one shape and one
|
|
886
878
|
column. */
|
|
887
879
|
orientation?: (HelixButtonGroup["orientation"]) | undefined;
|
|
888
|
-
/** Whether the buttons are one bar or a spaced row. */
|
|
889
|
-
appearance?: (HelixButtonGroup["appearance"]) | undefined;
|
|
890
880
|
};
|
|
891
881
|
|
|
892
882
|
export type HelixButtonGroupVueEvents = {};
|