@fusion.dev/helix 0.114.0 → 0.115.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.
@@ -77453,6 +77453,33 @@
77453
77453
  "attribute": "tone",
77454
77454
  "reflects": true
77455
77455
  },
77456
+ {
77457
+ "kind": "field",
77458
+ "name": "caption",
77459
+ "type": {
77460
+ "text": "string | undefined"
77461
+ },
77462
+ "description": "Words drawn on the map with the area, such as `A` for a search sector.\nUnset, nothing is drawn. Keep it short: it is a caption on a map, and the\narea's `label` is what a screen reader hears.",
77463
+ "attribute": "caption",
77464
+ "inheritedFrom": {
77465
+ "name": "HelixHeadlessMapArea",
77466
+ "module": "src/map/area/map-area.ts"
77467
+ }
77468
+ },
77469
+ {
77470
+ "kind": "field",
77471
+ "name": "captionPlacement",
77472
+ "type": {
77473
+ "text": "'inside' | 'outside'"
77474
+ },
77475
+ "default": "'inside'",
77476
+ "description": "Where the caption stands. `inside`, the default, at the point of the area\nfurthest from its edges. `outside`, just above the area's northernmost\npoint, clear of the shape, for an area whose caption would cover what is\nin it.",
77477
+ "attribute": "caption-placement",
77478
+ "inheritedFrom": {
77479
+ "name": "HelixHeadlessMapArea",
77480
+ "module": "src/map/area/map-area.ts"
77481
+ }
77482
+ },
77456
77483
  {
77457
77484
  "kind": "field",
77458
77485
  "name": "description",
@@ -77854,6 +77881,31 @@
77854
77881
  "description": "The area's color. Uses your primary color unless set.",
77855
77882
  "fieldName": "tone"
77856
77883
  },
77884
+ {
77885
+ "name": "caption",
77886
+ "type": {
77887
+ "text": "string | undefined"
77888
+ },
77889
+ "description": "Words drawn on the map with the area, such as `A` for a search sector.\nUnset, nothing is drawn. Keep it short: it is a caption on a map, and the\narea's `label` is what a screen reader hears.",
77890
+ "fieldName": "caption",
77891
+ "inheritedFrom": {
77892
+ "name": "HelixHeadlessMapArea",
77893
+ "module": "src/map/area/map-area.ts"
77894
+ }
77895
+ },
77896
+ {
77897
+ "name": "caption-placement",
77898
+ "type": {
77899
+ "text": "'inside' | 'outside'"
77900
+ },
77901
+ "default": "'inside'",
77902
+ "description": "Where the caption stands. `inside`, the default, at the point of the area\nfurthest from its edges. `outside`, just above the area's northernmost\npoint, clear of the shape, for an area whose caption would cover what is\nin it.",
77903
+ "fieldName": "captionPlacement",
77904
+ "inheritedFrom": {
77905
+ "name": "HelixHeadlessMapArea",
77906
+ "module": "src/map/area/map-area.ts"
77907
+ }
77908
+ },
77857
77909
  {
77858
77910
  "name": "description",
77859
77911
  "type": {
@@ -85608,6 +85660,10 @@
85608
85660
  "description": "A frame around a map, with pan and zoom buttons and the map credit.",
85609
85661
  "slug": "preview"
85610
85662
  },
85663
+ {
85664
+ "description": "Search sectors, each named on the map by its caption: two inside their sector and one above it, clear of what it holds.",
85665
+ "slug": "areas"
85666
+ },
85611
85667
  {
85612
85668
  "description": "A map behind a page's own words, filling a hero whose words decide its height, with its credit in a corner and no landmarks.",
85613
85669
  "slug": "behind-content"
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.114.0",
4
+ "version": "0.115.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {
@@ -51,13 +51,13 @@
51
51
  },
52
52
  "bugs": "https://github.com/project-fusion/fusion/issues",
53
53
  "dependencies": {
54
- "@fusion.dev/helix-core": "0.114.0",
55
- "@fusion.dev/helix-headless": "0.114.0",
56
- "@fusion.dev/helix-styles": "0.114.0"
54
+ "@fusion.dev/helix-core": "0.115.0",
55
+ "@fusion.dev/helix-headless": "0.115.0",
56
+ "@fusion.dev/helix-styles": "0.115.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@fusion.dev/helix-cem": "0.114.0",
60
- "@fusion.dev/helix-testing": "0.114.0",
59
+ "@fusion.dev/helix-cem": "0.115.0",
60
+ "@fusion.dev/helix-testing": "0.115.0",
61
61
  "@fusion.dev/scripts": "0.0.0-dev",
62
62
  "@happy-dom/global-registrator": "^20.0.0",
63
63
  "@lit-labs/ssr": "^4.1.0",
package/types/jsx.d.ts CHANGED
@@ -13627,6 +13627,20 @@ export type HelixMapAreaHelixMapPartChangeElementEvent =
13627
13627
  export type HelixMapAreaProps = {
13628
13628
  /** The area's color. Uses your primary color unless set. */
13629
13629
  tone?: (HelixMapArea["tone"]) | undefined;
13630
+ /** Words drawn on the map with the area, such as `A` for a search sector.
13631
+ Unset, nothing is drawn. Keep it short: it is a caption on a map, and the
13632
+ area's `label` is what a screen reader hears. */
13633
+ caption?: (HelixMapArea["caption"]) | undefined;
13634
+ /** Where the caption stands. `inside`, the default, at the point of the area
13635
+ furthest from its edges. `outside`, just above the area's northernmost
13636
+ point, clear of the shape, for an area whose caption would cover what is
13637
+ in it. */
13638
+ "caption-placement"?: (HelixMapArea["captionPlacement"]) | undefined;
13639
+ /** Where the caption stands. `inside`, the default, at the point of the area
13640
+ furthest from its edges. `outside`, just above the area's northernmost
13641
+ point, clear of the shape, for an area whose caption would cover what is
13642
+ in it. */
13643
+ captionPlacement?: (HelixMapArea["captionPlacement"]) | undefined;
13630
13644
  /** More about the area. Read after its label in the frame's list. */
13631
13645
  description?: (HelixMapArea["description"]) | undefined;
13632
13646
  /** A name this layer shares with other layers, such as a route and its
@@ -13649,6 +13663,20 @@ first. */
13649
13663
  export type HelixMapAreaSolidJsProps = {
13650
13664
  /** The area's color. Uses your primary color unless set. */
13651
13665
  "prop:tone"?: (HelixMapArea["tone"]) | undefined;
13666
+ /** Words drawn on the map with the area, such as `A` for a search sector.
13667
+ Unset, nothing is drawn. Keep it short: it is a caption on a map, and the
13668
+ area's `label` is what a screen reader hears. */
13669
+ "prop:caption"?: (HelixMapArea["caption"]) | undefined;
13670
+ /** Where the caption stands. `inside`, the default, at the point of the area
13671
+ furthest from its edges. `outside`, just above the area's northernmost
13672
+ point, clear of the shape, for an area whose caption would cover what is
13673
+ in it. */
13674
+ "attr:caption-placement"?: (HelixMapArea["captionPlacement"]) | undefined;
13675
+ /** Where the caption stands. `inside`, the default, at the point of the area
13676
+ furthest from its edges. `outside`, just above the area's northernmost
13677
+ point, clear of the shape, for an area whose caption would cover what is
13678
+ in it. */
13679
+ "prop:captionPlacement"?: (HelixMapArea["captionPlacement"]) | undefined;
13652
13680
  /** More about the area. Read after its label in the frame's list. */
13653
13681
  "prop:description"?: (HelixMapArea["description"]) | undefined;
13654
13682
  /** A name this layer shares with other layers, such as a route and its
@@ -37015,6 +37043,13 @@ export type CustomElements = {
37015
37043
  * Component attributes and properties that can be applied to the element or by using JavaScript.
37016
37044
  *
37017
37045
  * - `tone`: The area's color. Uses your primary color unless set.
37046
+ * - `caption`: Words drawn on the map with the area, such as `A` for a search sector.
37047
+ * Unset, nothing is drawn. Keep it short: it is a caption on a map, and the
37048
+ * area's `label` is what a screen reader hears.
37049
+ * - `caption-placement`/`captionPlacement`: Where the caption stands. `inside`, the default, at the point of the area
37050
+ * furthest from its edges. `outside`, just above the area's northernmost
37051
+ * point, clear of the shape, for an area whose caption would cover what is
37052
+ * in it.
37018
37053
  * - `description`: More about the area. Read after its label in the frame's list.
37019
37054
  * - `group`: A name this layer shares with other layers, such as a route and its
37020
37055
  * dotted legs. The layers menu shows layers in the same group as one entry,
@@ -59017,6 +59052,13 @@ export type CustomElementsSolidJs = {
59017
59052
  * Component attributes and properties that can be applied to the element or by using JavaScript.
59018
59053
  *
59019
59054
  * - `tone`: The area's color. Uses your primary color unless set.
59055
+ * - `caption`: Words drawn on the map with the area, such as `A` for a search sector.
59056
+ * Unset, nothing is drawn. Keep it short: it is a caption on a map, and the
59057
+ * area's `label` is what a screen reader hears.
59058
+ * - `caption-placement`/`captionPlacement`: Where the caption stands. `inside`, the default, at the point of the area
59059
+ * furthest from its edges. `outside`, just above the area's northernmost
59060
+ * point, clear of the shape, for an area whose caption would cover what is
59061
+ * in it.
59020
59062
  * - `description`: More about the area. Read after its label in the frame's list.
59021
59063
  * - `group`: A name this layer shares with other layers, such as a route and its
59022
59064
  * dotted legs. The layers menu shows layers in the same group as one entry,
package/types/vue.d.ts CHANGED
@@ -6969,6 +6969,20 @@ export type HelixMapAreaHelixMapPartChangeElementEvent =
6969
6969
  export type HelixMapAreaVueProps = {
6970
6970
  /** The area's color. Uses your primary color unless set. */
6971
6971
  tone?: (HelixMapArea["tone"]) | undefined;
6972
+ /** Words drawn on the map with the area, such as `A` for a search sector.
6973
+ Unset, nothing is drawn. Keep it short: it is a caption on a map, and the
6974
+ area's `label` is what a screen reader hears. */
6975
+ caption?: (HelixMapArea["caption"]) | undefined;
6976
+ /** Where the caption stands. `inside`, the default, at the point of the area
6977
+ furthest from its edges. `outside`, just above the area's northernmost
6978
+ point, clear of the shape, for an area whose caption would cover what is
6979
+ in it. */
6980
+ "caption-placement"?: (HelixMapArea["captionPlacement"]) | undefined;
6981
+ /** Where the caption stands. `inside`, the default, at the point of the area
6982
+ furthest from its edges. `outside`, just above the area's northernmost
6983
+ point, clear of the shape, for an area whose caption would cover what is
6984
+ in it. */
6985
+ captionPlacement?: (HelixMapArea["captionPlacement"]) | undefined;
6972
6986
  /** More about the area. Read after its label in the frame's list. */
6973
6987
  description?: (HelixMapArea["description"]) | undefined;
6974
6988
  /** A name this layer shares with other layers, such as a route and its