@fusion.dev/helix 0.174.0 → 0.176.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 +141 -22
- package/dist/filter-input/index.d.ts +0 -1
- package/dist/filter-input/index.js +0 -1
- package/dist/filter-input/menu/filter-menu.d.ts +5 -1
- package/dist/filter-input/menu/filter-menu.js +1 -1
- package/dist/filter-input/menu/index.d.ts +1 -0
- package/dist/filter-input/menu/index.js +1 -0
- package/dist/icon/all/index.d.ts +2 -0
- package/dist/icon/all/index.js +2 -0
- package/dist/icon/root/icon-root.d.ts +5 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/lint.json +1 -1
- package/package.json +6 -6
- package/types/jsx.d.ts +40 -26
- package/types/vue.d.ts +8 -9
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.176.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
},
|
|
55
55
|
"bugs": "https://github.com/project-fusion/fusion/issues",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@fusion.dev/helix-core": "0.
|
|
58
|
-
"@fusion.dev/helix-headless": "0.
|
|
59
|
-
"@fusion.dev/helix-styles": "0.
|
|
57
|
+
"@fusion.dev/helix-core": "0.176.0",
|
|
58
|
+
"@fusion.dev/helix-headless": "0.176.0",
|
|
59
|
+
"@fusion.dev/helix-styles": "0.176.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@fusion.dev/helix-cem": "0.
|
|
63
|
-
"@fusion.dev/helix-testing": "0.
|
|
62
|
+
"@fusion.dev/helix-cem": "0.176.0",
|
|
63
|
+
"@fusion.dev/helix-testing": "0.176.0",
|
|
64
64
|
"@fusion.dev/scripts": "0.0.0-dev",
|
|
65
65
|
"@happy-dom/global-registrator": "^20.14.5",
|
|
66
66
|
"@lit-labs/ssr": "^4.1.0",
|
package/types/jsx.d.ts
CHANGED
|
@@ -18633,12 +18633,10 @@ disagreeing with its own name for every reader who meant the left. */
|
|
|
18633
18633
|
/** The name of the icon in the Helix set.
|
|
18634
18634
|
|
|
18635
18635
|
**A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
18636
|
-
so it is what markup can carry, and resolving one means an index
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
element from `icon/root` and registers the glyphs it names, or hands over
|
|
18641
|
-
the value instead.
|
|
18636
|
+
so it is what markup can carry, and resolving one means an index that no
|
|
18637
|
+
bundler can shake. The family's entry indexes a small set, `icon/all`
|
|
18638
|
+
indexes the whole set at 15 kB, and `icon/root` indexes nothing, for a
|
|
18639
|
+
page that registers the glyphs it names or hands over the value instead.
|
|
18642
18640
|
|
|
18643
18641
|
A name written `prefix:name` asks the library registered under that
|
|
18644
18642
|
prefix. */
|
|
@@ -18707,12 +18705,10 @@ disagreeing with its own name for every reader who meant the left. */
|
|
|
18707
18705
|
/** The name of the icon in the Helix set.
|
|
18708
18706
|
|
|
18709
18707
|
**A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
18710
|
-
so it is what markup can carry, and resolving one means an index
|
|
18711
|
-
|
|
18712
|
-
|
|
18713
|
-
|
|
18714
|
-
element from `icon/root` and registers the glyphs it names, or hands over
|
|
18715
|
-
the value instead.
|
|
18708
|
+
so it is what markup can carry, and resolving one means an index that no
|
|
18709
|
+
bundler can shake. The family's entry indexes a small set, `icon/all`
|
|
18710
|
+
indexes the whole set at 15 kB, and `icon/root` indexes nothing, for a
|
|
18711
|
+
page that registers the glyphs it names or hands over the value instead.
|
|
18716
18712
|
|
|
18717
18713
|
A name written `prefix:name` asks the library registered under that
|
|
18718
18714
|
prefix. */
|
|
@@ -19904,7 +19900,8 @@ Written by the root, which is the only thing that sees the set. */
|
|
|
19904
19900
|
/** The item's name. It names the item's group, and fills `{label}` in the
|
|
19905
19901
|
lightbox's `status-label`. */
|
|
19906
19902
|
label?: (HelixLightboxItem["label"]) | undefined;
|
|
19907
|
-
/** The item's identifier. The root compares its `active` value against it.
|
|
19903
|
+
/** The item's identifier. The root compares its `active` value against it.
|
|
19904
|
+
Without one, the item is named by its place in the set, counted from 1. */
|
|
19908
19905
|
value?: (HelixLightboxItem["value"]) | undefined;
|
|
19909
19906
|
};
|
|
19910
19907
|
|
|
@@ -19916,7 +19913,8 @@ Written by the root, which is the only thing that sees the set. */
|
|
|
19916
19913
|
/** The item's name. It names the item's group, and fills `{label}` in the
|
|
19917
19914
|
lightbox's `status-label`. */
|
|
19918
19915
|
"prop:label"?: (HelixLightboxItem["label"]) | undefined;
|
|
19919
|
-
/** The item's identifier. The root compares its `active` value against it.
|
|
19916
|
+
/** The item's identifier. The root compares its `active` value against it.
|
|
19917
|
+
Without one, the item is named by its place in the set, counted from 1. */
|
|
19920
19918
|
"prop:value"?: (HelixLightboxItem["value"]) | undefined;
|
|
19921
19919
|
|
|
19922
19920
|
/** Set the innerHTML of the element */
|
|
@@ -52060,6 +52058,10 @@ export type CustomElements = {
|
|
|
52060
52058
|
* The headless element documents the model, including why a tick applies a
|
|
52061
52059
|
* filter immediately and why the menu decides the operator.
|
|
52062
52060
|
*
|
|
52061
|
+
* Imported from its own entry, `@fusion.dev/helix/filter-input/menu`, which registers
|
|
52062
|
+
* it with the `Menu` it draws its pages with. The family's entry leaves it out,
|
|
52063
|
+
* so a field without a picker does not carry `Menu`.
|
|
52064
|
+
*
|
|
52063
52065
|
* ## Attributes & Properties
|
|
52064
52066
|
*
|
|
52065
52067
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -53995,6 +53997,11 @@ export type CustomElements = {
|
|
|
53995
53997
|
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
53996
53998
|
* glyph's own proportions, for a mark wider than it is tall.
|
|
53997
53999
|
*
|
|
54000
|
+
* **`@fusion.dev/helix/icon` registers thirteen glyphs by name**, the ones a
|
|
54001
|
+
* control most often needs, and `@fusion.dev/helix/icon/all` registers the
|
|
54002
|
+
* whole set. The headless element lists the thirteen and says how a name is
|
|
54003
|
+
* resolved.
|
|
54004
|
+
*
|
|
53998
54005
|
* ## Attributes & Properties
|
|
53999
54006
|
*
|
|
54000
54007
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -54026,12 +54033,10 @@ export type CustomElements = {
|
|
|
54026
54033
|
* - `name`: The name of the icon in the Helix set.
|
|
54027
54034
|
*
|
|
54028
54035
|
* **A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
54029
|
-
* so it is what markup can carry, and resolving one means an index
|
|
54030
|
-
*
|
|
54031
|
-
*
|
|
54032
|
-
*
|
|
54033
|
-
* element from `icon/root` and registers the glyphs it names, or hands over
|
|
54034
|
-
* the value instead.
|
|
54036
|
+
* so it is what markup can carry, and resolving one means an index that no
|
|
54037
|
+
* bundler can shake. The family's entry indexes a small set, `icon/all`
|
|
54038
|
+
* indexes the whole set at 15 kB, and `icon/root` indexes nothing, for a
|
|
54039
|
+
* page that registers the glyphs it names or hands over the value instead.
|
|
54035
54040
|
*
|
|
54036
54041
|
* A name written `prefix:name` asks the library registered under that
|
|
54037
54042
|
* prefix.
|
|
@@ -54897,6 +54902,7 @@ export type CustomElements = {
|
|
|
54897
54902
|
* - `label`: The item's name. It names the item's group, and fills `{label}` in the
|
|
54898
54903
|
* lightbox's `status-label`.
|
|
54899
54904
|
* - `value`: The item's identifier. The root compares its `active` value against it.
|
|
54905
|
+
* Without one, the item is named by its place in the set, counted from 1.
|
|
54900
54906
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
54901
54907
|
*
|
|
54902
54908
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
|
@@ -81767,6 +81773,10 @@ export type CustomElementsSolidJs = {
|
|
|
81767
81773
|
* The headless element documents the model, including why a tick applies a
|
|
81768
81774
|
* filter immediately and why the menu decides the operator.
|
|
81769
81775
|
*
|
|
81776
|
+
* Imported from its own entry, `@fusion.dev/helix/filter-input/menu`, which registers
|
|
81777
|
+
* it with the `Menu` it draws its pages with. The family's entry leaves it out,
|
|
81778
|
+
* so a field without a picker does not carry `Menu`.
|
|
81779
|
+
*
|
|
81770
81780
|
* ## Attributes & Properties
|
|
81771
81781
|
*
|
|
81772
81782
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -83729,6 +83739,11 @@ export type CustomElementsSolidJs = {
|
|
|
83729
83739
|
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
83730
83740
|
* glyph's own proportions, for a mark wider than it is tall.
|
|
83731
83741
|
*
|
|
83742
|
+
* **`@fusion.dev/helix/icon` registers thirteen glyphs by name**, the ones a
|
|
83743
|
+
* control most often needs, and `@fusion.dev/helix/icon/all` registers the
|
|
83744
|
+
* whole set. The headless element lists the thirteen and says how a name is
|
|
83745
|
+
* resolved.
|
|
83746
|
+
*
|
|
83732
83747
|
* ## Attributes & Properties
|
|
83733
83748
|
*
|
|
83734
83749
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -83760,12 +83775,10 @@ export type CustomElementsSolidJs = {
|
|
|
83760
83775
|
* - `name`: The name of the icon in the Helix set.
|
|
83761
83776
|
*
|
|
83762
83777
|
* **A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
83763
|
-
* so it is what markup can carry, and resolving one means an index
|
|
83764
|
-
*
|
|
83765
|
-
*
|
|
83766
|
-
*
|
|
83767
|
-
* element from `icon/root` and registers the glyphs it names, or hands over
|
|
83768
|
-
* the value instead.
|
|
83778
|
+
* so it is what markup can carry, and resolving one means an index that no
|
|
83779
|
+
* bundler can shake. The family's entry indexes a small set, `icon/all`
|
|
83780
|
+
* indexes the whole set at 15 kB, and `icon/root` indexes nothing, for a
|
|
83781
|
+
* page that registers the glyphs it names or hands over the value instead.
|
|
83769
83782
|
*
|
|
83770
83783
|
* A name written `prefix:name` asks the library registered under that
|
|
83771
83784
|
* prefix.
|
|
@@ -84648,6 +84661,7 @@ export type CustomElementsSolidJs = {
|
|
|
84648
84661
|
* - `label`: The item's name. It names the item's group, and fills `{label}` in the
|
|
84649
84662
|
* lightbox's `status-label`.
|
|
84650
84663
|
* - `value`: The item's identifier. The root compares its `active` value against it.
|
|
84664
|
+
* Without one, the item is named by its place in the set, counted from 1.
|
|
84651
84665
|
* - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
|
|
84652
84666
|
*
|
|
84653
84667
|
* **Named `whenSettled` because `settled` is taken four times over**, by
|
package/types/vue.d.ts
CHANGED
|
@@ -9571,12 +9571,10 @@ disagreeing with its own name for every reader who meant the left. */
|
|
|
9571
9571
|
/** The name of the icon in the Helix set.
|
|
9572
9572
|
|
|
9573
9573
|
**A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
9574
|
-
so it is what markup can carry, and resolving one means an index
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
element from `icon/root` and registers the glyphs it names, or hands over
|
|
9579
|
-
the value instead.
|
|
9574
|
+
so it is what markup can carry, and resolving one means an index that no
|
|
9575
|
+
bundler can shake. The family's entry indexes a small set, `icon/all`
|
|
9576
|
+
indexes the whole set at 15 kB, and `icon/root` indexes nothing, for a
|
|
9577
|
+
page that registers the glyphs it names or hands over the value instead.
|
|
9580
9578
|
|
|
9581
9579
|
A name written `prefix:name` asks the library registered under that
|
|
9582
9580
|
prefix. */
|
|
@@ -10199,7 +10197,8 @@ Written by the root, which is the only thing that sees the set. */
|
|
|
10199
10197
|
/** The item's name. It names the item's group, and fills `{label}` in the
|
|
10200
10198
|
lightbox's `status-label`. */
|
|
10201
10199
|
label?: (HelixLightboxItem["label"]) | undefined;
|
|
10202
|
-
/** The item's identifier. The root compares its `active` value against it.
|
|
10200
|
+
/** The item's identifier. The root compares its `active` value against it.
|
|
10201
|
+
Without one, the item is named by its place in the set, counted from 1. */
|
|
10203
10202
|
value?: (HelixLightboxItem["value"]) | undefined;
|
|
10204
10203
|
};
|
|
10205
10204
|
|
|
@@ -24291,7 +24290,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
24291
24290
|
HelixFilterFieldVueProps,
|
|
24292
24291
|
HelixFilterFieldVueEvents
|
|
24293
24292
|
>;
|
|
24294
|
-
/** Draws nothing of its own. The trigger is yours, and the pages are 'Menu''s, whose reserved tick column keeps ticked and unticked values aligned. The element's stylesheet has one rule: 'display: contents'. The headless element documents the model, including why a tick applies a filter immediately and why the menu decides the operator. */
|
|
24293
|
+
/** Draws nothing of its own. The trigger is yours, and the pages are 'Menu''s, whose reserved tick column keeps ticked and unticked values aligned. The element's stylesheet has one rule: 'display: contents'. The headless element documents the model, including why a tick applies a filter immediately and why the menu decides the operator. Imported from its own entry, '@fusion.dev/helix/filter-input/menu', which registers it with the 'Menu' it draws its pages with. The family's entry leaves it out, so a field without a picker does not carry 'Menu'. */
|
|
24295
24294
|
"helix-filter-menu": DefineCustomElement<
|
|
24296
24295
|
HelixFilterMenu,
|
|
24297
24296
|
HelixFilterMenuVueProps,
|
|
@@ -24345,7 +24344,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
24345
24344
|
HelixIconButtonVueProps,
|
|
24346
24345
|
HelixIconButtonVueEvents
|
|
24347
24346
|
>;
|
|
24348
|
-
/** Draws in 'currentColor' and sizes from '--icon-size', so an icon takes the color of the text around it and a container can resize it without a property. Inside a button, '--icon-size' is set in 'em', so the icon scales with the button. **The glyph turns, flips and moves inside its own box**, so the line around it keeps its place: 'rotate' turns it by a quarter, a half or three quarters, '--icon-rotate' by any angle, 'flip' mirrors it across either axis, and 'animation' spins, pulses or beats it, as Web Awesome's icon does. Reduced motion stills every animation. 'auto-width' gives the box the glyph's own proportions, for a mark wider than it is tall. */
|
|
24347
|
+
/** Draws in 'currentColor' and sizes from '--icon-size', so an icon takes the color of the text around it and a container can resize it without a property. Inside a button, '--icon-size' is set in 'em', so the icon scales with the button. **The glyph turns, flips and moves inside its own box**, so the line around it keeps its place: 'rotate' turns it by a quarter, a half or three quarters, '--icon-rotate' by any angle, 'flip' mirrors it across either axis, and 'animation' spins, pulses or beats it, as Web Awesome's icon does. Reduced motion stills every animation. 'auto-width' gives the box the glyph's own proportions, for a mark wider than it is tall. **'@fusion.dev/helix/icon' registers thirteen glyphs by name**, the ones a control most often needs, and '@fusion.dev/helix/icon/all' registers the whole set. The headless element lists the thirteen and says how a name is resolved. */
|
|
24349
24348
|
"helix-icon": DefineCustomElement<
|
|
24350
24349
|
HelixIcon,
|
|
24351
24350
|
HelixIconVueProps,
|