@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/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.175.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.175.0",
58
- "@fusion.dev/helix-headless": "0.175.0",
59
- "@fusion.dev/helix-styles": "0.175.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.175.0",
63
- "@fusion.dev/helix-testing": "0.175.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 of the
18637
- whole set that no bundler can shake: 15 kB for a consumer who renders one
18638
- mark. An attribute is the only thing an HTML author can write, and that is
18639
- worth the index; a consumer who would rather not pay it imports the
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 of the
18711
- whole set that no bundler can shake: 15 kB for a consumer who renders one
18712
- mark. An attribute is the only thing an HTML author can write, and that is
18713
- worth the index; a consumer who would rather not pay it imports the
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 of the
54032
- * whole set that no bundler can shake: 15 kB for a consumer who renders one
54033
- * mark. An attribute is the only thing an HTML author can write, and that is
54034
- * worth the index; a consumer who would rather not pay it imports the
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 of the
83767
- * whole set that no bundler can shake: 15 kB for a consumer who renders one
83768
- * mark. An attribute is the only thing an HTML author can write, and that is
83769
- * worth the index; a consumer who would rather not pay it imports the
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 of the
9575
- whole set that no bundler can shake: 15 kB for a consumer who renders one
9576
- mark. An attribute is the only thing an HTML author can write, and that is
9577
- worth the index; a consumer who would rather not pay it imports the
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,