@fusion.dev/helix 0.175.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 +62 -17
- 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 +34 -24
- package/types/vue.d.ts +6 -8
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. */
|
|
@@ -52062,6 +52058,10 @@ export type CustomElements = {
|
|
|
52062
52058
|
* The headless element documents the model, including why a tick applies a
|
|
52063
52059
|
* filter immediately and why the menu decides the operator.
|
|
52064
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
|
+
*
|
|
52065
52065
|
* ## Attributes & Properties
|
|
52066
52066
|
*
|
|
52067
52067
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -53997,6 +53997,11 @@ export type CustomElements = {
|
|
|
53997
53997
|
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
53998
53998
|
* glyph's own proportions, for a mark wider than it is tall.
|
|
53999
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
|
+
*
|
|
54000
54005
|
* ## Attributes & Properties
|
|
54001
54006
|
*
|
|
54002
54007
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -54028,12 +54033,10 @@ export type CustomElements = {
|
|
|
54028
54033
|
* - `name`: The name of the icon in the Helix set.
|
|
54029
54034
|
*
|
|
54030
54035
|
* **A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
54031
|
-
* so it is what markup can carry, and resolving one means an index
|
|
54032
|
-
*
|
|
54033
|
-
*
|
|
54034
|
-
*
|
|
54035
|
-
* element from `icon/root` and registers the glyphs it names, or hands over
|
|
54036
|
-
* 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.
|
|
54037
54040
|
*
|
|
54038
54041
|
* A name written `prefix:name` asks the library registered under that
|
|
54039
54042
|
* prefix.
|
|
@@ -81770,6 +81773,10 @@ export type CustomElementsSolidJs = {
|
|
|
81770
81773
|
* The headless element documents the model, including why a tick applies a
|
|
81771
81774
|
* filter immediately and why the menu decides the operator.
|
|
81772
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
|
+
*
|
|
81773
81780
|
* ## Attributes & Properties
|
|
81774
81781
|
*
|
|
81775
81782
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -83732,6 +83739,11 @@ export type CustomElementsSolidJs = {
|
|
|
83732
83739
|
* Reduced motion stills every animation. `auto-width` gives the box the
|
|
83733
83740
|
* glyph's own proportions, for a mark wider than it is tall.
|
|
83734
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
|
+
*
|
|
83735
83747
|
* ## Attributes & Properties
|
|
83736
83748
|
*
|
|
83737
83749
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
@@ -83763,12 +83775,10 @@ export type CustomElementsSolidJs = {
|
|
|
83763
83775
|
* - `name`: The name of the icon in the Helix set.
|
|
83764
83776
|
*
|
|
83765
83777
|
* **A lookup, and the reason both this and `icon` exist.** A name is a string,
|
|
83766
|
-
* so it is what markup can carry, and resolving one means an index
|
|
83767
|
-
*
|
|
83768
|
-
*
|
|
83769
|
-
*
|
|
83770
|
-
* element from `icon/root` and registers the glyphs it names, or hands over
|
|
83771
|
-
* 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.
|
|
83772
83782
|
*
|
|
83773
83783
|
* A name written `prefix:name` asks the library registered under that
|
|
83774
83784
|
* prefix.
|
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. */
|
|
@@ -24292,7 +24290,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
24292
24290
|
HelixFilterFieldVueProps,
|
|
24293
24291
|
HelixFilterFieldVueEvents
|
|
24294
24292
|
>;
|
|
24295
|
-
/** 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'. */
|
|
24296
24294
|
"helix-filter-menu": DefineCustomElement<
|
|
24297
24295
|
HelixFilterMenu,
|
|
24298
24296
|
HelixFilterMenuVueProps,
|
|
@@ -24346,7 +24344,7 @@ export interface WcToolkitVueGlobalComponents {
|
|
|
24346
24344
|
HelixIconButtonVueProps,
|
|
24347
24345
|
HelixIconButtonVueEvents
|
|
24348
24346
|
>;
|
|
24349
|
-
/** 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. */
|
|
24350
24348
|
"helix-icon": DefineCustomElement<
|
|
24351
24349
|
HelixIcon,
|
|
24352
24350
|
HelixIconVueProps,
|