@fusion.dev/helix 0.97.0 → 0.99.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.
@@ -56868,6 +56868,18 @@
56868
56868
  }
56869
56869
  ],
56870
56870
  "members": [
56871
+ {
56872
+ "kind": "field",
56873
+ "name": "icon",
56874
+ "type": {
56875
+ "text": "HelixIcon | undefined"
56876
+ },
56877
+ "description": "The icon itself, for a consumer who imported one.\n\n**The scalable door, and the one this library uses internally.** An icon is\ndata, `{ content, name, viewBox }`, so a value imported by name ships one\nglyph rather than the set, a weight is a subpath rather than an index of\nevery weight, and the supply stops being ours: anything exporting that\nshape works, whether it is Phosphor at another weight, Lucide, or a\nconsumer's own drawings.\n\n**A property and not an attribute**, because an object is not a string. The\nframeworks set properties and plain markup cannot, which is what `name` is\nfor. Set both and this wins, the value being the more specific statement.",
56878
+ "inheritedFrom": {
56879
+ "name": "HelixHeadlessIcon",
56880
+ "module": "src/icon/root/icon-root.ts"
56881
+ }
56882
+ },
56871
56883
  {
56872
56884
  "kind": "field",
56873
56885
  "name": "label",
@@ -56903,7 +56915,7 @@
56903
56915
  "text": "string"
56904
56916
  },
56905
56917
  "default": "''",
56906
- "description": "Name of the icon in the Helix set.",
56918
+ "description": "Name of the icon in the Helix set.\n\n**A lookup, and the reason both this and `icon` exist.** A name is a string,\nso it is what markup can carry, and resolving one means an index of the\nwhole set that no bundler can shake: 15 kB for a consumer who renders one\nmark. An attribute is the only thing an HTML author can write, and that is\nworth the index; a consumer who would rather not pay it hands over the\nvalue instead.",
56907
56919
  "attribute": "name",
56908
56920
  "inheritedFrom": {
56909
56921
  "name": "HelixHeadlessIcon",
@@ -57299,7 +57311,7 @@
57299
57311
  "text": "string"
57300
57312
  },
57301
57313
  "default": "''",
57302
- "description": "Name of the icon in the Helix set.",
57314
+ "description": "Name of the icon in the Helix set.\n\n**A lookup, and the reason both this and `icon` exist.** A name is a string,\nso it is what markup can carry, and resolving one means an index of the\nwhole set that no bundler can shake: 15 kB for a consumer who renders one\nmark. An attribute is the only thing an HTML author can write, and that is\nworth the index; a consumer who would rather not pay it hands over the\nvalue instead.",
57303
57315
  "fieldName": "name",
57304
57316
  "inheritedFrom": {
57305
57317
  "name": "HelixHeadlessIcon",
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.97.0",
4
+ "version": "0.99.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -47,13 +47,13 @@
47
47
  },
48
48
  "bugs": "https://github.com/project-fusion/fusion/issues",
49
49
  "dependencies": {
50
- "@fusion.dev/helix-core": "0.97.0",
51
- "@fusion.dev/helix-headless": "0.97.0",
52
- "@fusion.dev/helix-styles": "0.97.0"
50
+ "@fusion.dev/helix-core": "0.99.0",
51
+ "@fusion.dev/helix-headless": "0.99.0",
52
+ "@fusion.dev/helix-styles": "0.99.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@fusion.dev/helix-cem": "0.97.0",
56
- "@fusion.dev/helix-testing": "0.97.0",
55
+ "@fusion.dev/helix-cem": "0.99.0",
56
+ "@fusion.dev/helix-testing": "0.99.0",
57
57
  "@fusion.dev/scripts": "0.0.0-dev",
58
58
  "@happy-dom/global-registrator": "^20.0.0",
59
59
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -9732,8 +9732,28 @@ Asked for rather than inferred from the name. The names are physical, and
9732
9732
  `arrow-left` drawn pointing right on an Arabic page would be the icon
9733
9733
  disagreeing with its own name for every reader who meant the left. */
9734
9734
  mirror?: (HelixIcon["mirror"]) | undefined;
9735
- /** Name of the icon in the Helix set. */
9735
+ /** Name of the icon in the Helix set.
9736
+
9737
+ **A lookup, and the reason both this and `icon` exist.** A name is a string,
9738
+ so it is what markup can carry, and resolving one means an index of the
9739
+ whole set that no bundler can shake: 15 kB for a consumer who renders one
9740
+ mark. An attribute is the only thing an HTML author can write, and that is
9741
+ worth the index; a consumer who would rather not pay it hands over the
9742
+ value instead. */
9736
9743
  name?: (HelixIcon["name"]) | undefined;
9744
+ /** The icon itself, for a consumer who imported one.
9745
+
9746
+ **The scalable door, and the one this library uses internally.** An icon is
9747
+ data, `{ content, name, viewBox }`, so a value imported by name ships one
9748
+ glyph rather than the set, a weight is a subpath rather than an index of
9749
+ every weight, and the supply stops being ours: anything exporting that
9750
+ shape works, whether it is Phosphor at another weight, Lucide, or a
9751
+ consumer's own drawings.
9752
+
9753
+ **A property and not an attribute**, because an object is not a string. The
9754
+ frameworks set properties and plain markup cannot, which is what `name` is
9755
+ for. Set both and this wins, the value being the more specific statement. */
9756
+ icon?: (HelixIcon["icon"]) | undefined;
9737
9757
  };
9738
9758
 
9739
9759
  export type HelixIconSolidJsProps = {
@@ -9745,8 +9765,28 @@ Asked for rather than inferred from the name. The names are physical, and
9745
9765
  `arrow-left` drawn pointing right on an Arabic page would be the icon
9746
9766
  disagreeing with its own name for every reader who meant the left. */
9747
9767
  "prop:mirror"?: (HelixIcon["mirror"]) | undefined;
9748
- /** Name of the icon in the Helix set. */
9768
+ /** Name of the icon in the Helix set.
9769
+
9770
+ **A lookup, and the reason both this and `icon` exist.** A name is a string,
9771
+ so it is what markup can carry, and resolving one means an index of the
9772
+ whole set that no bundler can shake: 15 kB for a consumer who renders one
9773
+ mark. An attribute is the only thing an HTML author can write, and that is
9774
+ worth the index; a consumer who would rather not pay it hands over the
9775
+ value instead. */
9749
9776
  "prop:name"?: (HelixIcon["name"]) | undefined;
9777
+ /** The icon itself, for a consumer who imported one.
9778
+
9779
+ **The scalable door, and the one this library uses internally.** An icon is
9780
+ data, `{ content, name, viewBox }`, so a value imported by name ships one
9781
+ glyph rather than the set, a weight is a subpath rather than an index of
9782
+ every weight, and the supply stops being ours: anything exporting that
9783
+ shape works, whether it is Phosphor at another weight, Lucide, or a
9784
+ consumer's own drawings.
9785
+
9786
+ **A property and not an attribute**, because an object is not a string. The
9787
+ frameworks set properties and plain markup cannot, which is what `name` is
9788
+ for. Set both and this wins, the value being the more specific statement. */
9789
+ "prop:icon"?: (HelixIcon["icon"]) | undefined;
9750
9790
 
9751
9791
  /** Set the innerHTML of the element */
9752
9792
  innerHTML?: (string) | undefined;
@@ -29688,6 +29728,25 @@ export type CustomElements = {
29688
29728
  * `arrow-left` drawn pointing right on an Arabic page would be the icon
29689
29729
  * disagreeing with its own name for every reader who meant the left.
29690
29730
  * - `name`: Name of the icon in the Helix set.
29731
+ *
29732
+ * **A lookup, and the reason both this and `icon` exist.** A name is a string,
29733
+ * so it is what markup can carry, and resolving one means an index of the
29734
+ * whole set that no bundler can shake: 15 kB for a consumer who renders one
29735
+ * mark. An attribute is the only thing an HTML author can write, and that is
29736
+ * worth the index; a consumer who would rather not pay it hands over the
29737
+ * value instead.
29738
+ * - `icon`: The icon itself, for a consumer who imported one.
29739
+ *
29740
+ * **The scalable door, and the one this library uses internally.** An icon is
29741
+ * data, `{ content, name, viewBox }`, so a value imported by name ships one
29742
+ * glyph rather than the set, a weight is a subpath rather than an index of
29743
+ * every weight, and the supply stops being ours: anything exporting that
29744
+ * shape works, whether it is Phosphor at another weight, Lucide, or a
29745
+ * consumer's own drawings.
29746
+ *
29747
+ * **A property and not an attribute**, because an object is not a string. The
29748
+ * frameworks set properties and plain markup cannot, which is what `name` is
29749
+ * for. Set both and this wins, the value being the more specific statement. (property only)
29691
29750
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
29692
29751
  *
29693
29752
  * **Named `whenSettled` because `settled` is taken four times over**, by
@@ -49500,6 +49559,25 @@ export type CustomElementsSolidJs = {
49500
49559
  * `arrow-left` drawn pointing right on an Arabic page would be the icon
49501
49560
  * disagreeing with its own name for every reader who meant the left.
49502
49561
  * - `name`: Name of the icon in the Helix set.
49562
+ *
49563
+ * **A lookup, and the reason both this and `icon` exist.** A name is a string,
49564
+ * so it is what markup can carry, and resolving one means an index of the
49565
+ * whole set that no bundler can shake: 15 kB for a consumer who renders one
49566
+ * mark. An attribute is the only thing an HTML author can write, and that is
49567
+ * worth the index; a consumer who would rather not pay it hands over the
49568
+ * value instead.
49569
+ * - `icon`: The icon itself, for a consumer who imported one.
49570
+ *
49571
+ * **The scalable door, and the one this library uses internally.** An icon is
49572
+ * data, `{ content, name, viewBox }`, so a value imported by name ships one
49573
+ * glyph rather than the set, a weight is a subpath rather than an index of
49574
+ * every weight, and the supply stops being ours: anything exporting that
49575
+ * shape works, whether it is Phosphor at another weight, Lucide, or a
49576
+ * consumer's own drawings.
49577
+ *
49578
+ * **A property and not an attribute**, because an object is not a string. The
49579
+ * frameworks set properties and plain markup cannot, which is what `name` is
49580
+ * for. Set both and this wins, the value being the more specific statement. (property only)
49503
49581
  * - `whenSettled`: Resolves a frame after the first update, when transitions are switched on.
49504
49582
  *
49505
49583
  * **Named `whenSettled` because `settled` is taken four times over**, by
package/types/vue.d.ts CHANGED
@@ -4981,8 +4981,28 @@ Asked for rather than inferred from the name. The names are physical, and
4981
4981
  `arrow-left` drawn pointing right on an Arabic page would be the icon
4982
4982
  disagreeing with its own name for every reader who meant the left. */
4983
4983
  mirror?: (HelixIcon["mirror"]) | undefined;
4984
- /** Name of the icon in the Helix set. */
4984
+ /** Name of the icon in the Helix set.
4985
+
4986
+ **A lookup, and the reason both this and `icon` exist.** A name is a string,
4987
+ so it is what markup can carry, and resolving one means an index of the
4988
+ whole set that no bundler can shake: 15 kB for a consumer who renders one
4989
+ mark. An attribute is the only thing an HTML author can write, and that is
4990
+ worth the index; a consumer who would rather not pay it hands over the
4991
+ value instead. */
4985
4992
  name?: (HelixIcon["name"]) | undefined;
4993
+ /** The icon itself, for a consumer who imported one.
4994
+
4995
+ **The scalable door, and the one this library uses internally.** An icon is
4996
+ data, `{ content, name, viewBox }`, so a value imported by name ships one
4997
+ glyph rather than the set, a weight is a subpath rather than an index of
4998
+ every weight, and the supply stops being ours: anything exporting that
4999
+ shape works, whether it is Phosphor at another weight, Lucide, or a
5000
+ consumer's own drawings.
5001
+
5002
+ **A property and not an attribute**, because an object is not a string. The
5003
+ frameworks set properties and plain markup cannot, which is what `name` is
5004
+ for. Set both and this wins, the value being the more specific statement. */
5005
+ icon?: (HelixIcon["icon"]) | undefined;
4986
5006
  };
4987
5007
 
4988
5008
  export type HelixIconVueEvents = {};