@fusion.dev/helix 0.103.0 → 0.103.1
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 +37 -1
- package/dist/map/root/map-root.css.js +7 -5
- package/package.json +6 -6
- package/types/jsx.d.ts +6 -0
package/custom-elements.json
CHANGED
|
@@ -70021,8 +70021,20 @@
|
|
|
70021
70021
|
"part": "Root",
|
|
70022
70022
|
"examples": [
|
|
70023
70023
|
{
|
|
70024
|
-
"description": "
|
|
70024
|
+
"description": "The frame at rest: a named region, the controls it draws, and the credit the tiles require.",
|
|
70025
70025
|
"slug": "framed"
|
|
70026
|
+
},
|
|
70027
|
+
{
|
|
70028
|
+
"description": "No controls at all, for a map whose own are already findable: what is left is the name, the chrome and the credit.",
|
|
70029
|
+
"slug": "quiet"
|
|
70030
|
+
},
|
|
70031
|
+
{
|
|
70032
|
+
"description": "Keeping the pan pad a map library does not draw and dropping the zoom it does, in the corner theirs is not in.",
|
|
70033
|
+
"slug": "tailored"
|
|
70034
|
+
},
|
|
70035
|
+
{
|
|
70036
|
+
"description": "Answering the frame: it asks with `helix-map-pan` and `helix-map-zoom`, and your map does the moving.",
|
|
70037
|
+
"slug": "wired"
|
|
70026
70038
|
}
|
|
70027
70039
|
],
|
|
70028
70040
|
"source": "helix/styled/src/map"
|
|
@@ -70064,6 +70076,14 @@
|
|
|
70064
70076
|
}
|
|
70065
70077
|
],
|
|
70066
70078
|
"cssParts": [
|
|
70079
|
+
{
|
|
70080
|
+
"description": "The strip the credit sits in, under the map.",
|
|
70081
|
+
"name": "attribution",
|
|
70082
|
+
"inheritedFrom": {
|
|
70083
|
+
"name": "HelixHeadlessMap",
|
|
70084
|
+
"module": "src/map/root/map-root.ts"
|
|
70085
|
+
}
|
|
70086
|
+
},
|
|
70067
70087
|
{
|
|
70068
70088
|
"description": "The group the pan and zoom buttons sit in.",
|
|
70069
70089
|
"name": "controls",
|
|
@@ -70072,6 +70092,14 @@
|
|
|
70072
70092
|
"module": "src/map/root/map-root.ts"
|
|
70073
70093
|
}
|
|
70074
70094
|
},
|
|
70095
|
+
{
|
|
70096
|
+
"description": "The strip below the map, for what a consumer slots there.",
|
|
70097
|
+
"name": "footer",
|
|
70098
|
+
"inheritedFrom": {
|
|
70099
|
+
"name": "HelixHeadlessMap",
|
|
70100
|
+
"module": "src/map/root/map-root.ts"
|
|
70101
|
+
}
|
|
70102
|
+
},
|
|
70075
70103
|
{
|
|
70076
70104
|
"description": "The button that fills the screen.",
|
|
70077
70105
|
"name": "fullscreen",
|
|
@@ -70080,6 +70108,14 @@
|
|
|
70080
70108
|
"module": "src/map/root/map-root.ts"
|
|
70081
70109
|
}
|
|
70082
70110
|
},
|
|
70111
|
+
{
|
|
70112
|
+
"description": "The strip above the map, for what a consumer slots there.",
|
|
70113
|
+
"name": "header",
|
|
70114
|
+
"inheritedFrom": {
|
|
70115
|
+
"name": "HelixHeadlessMap",
|
|
70116
|
+
"module": "src/map/root/map-root.ts"
|
|
70117
|
+
}
|
|
70118
|
+
},
|
|
70083
70119
|
{
|
|
70084
70120
|
"description": "The button that moves the map down.",
|
|
70085
70121
|
"name": "pan-down",
|
|
@@ -15,11 +15,6 @@ overflow: hidden;
|
|
|
15
15
|
position: relative;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
[part="region"]:focus-within {
|
|
19
|
-
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
20
|
-
outline-offset: calc(var(--helix-size-focus-offset) * -1);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
18
|
[part="viewport"] {
|
|
24
19
|
min-block-size: 0;
|
|
25
20
|
overflow: hidden;
|
|
@@ -118,6 +113,11 @@ justify-content: center;
|
|
|
118
113
|
padding: 0;
|
|
119
114
|
}
|
|
120
115
|
|
|
116
|
+
[part="controls"] button:focus-visible {
|
|
117
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
118
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
121
|
[part="controls"] button:hover {
|
|
122
122
|
background-color: var(--helix-color-surface-raised);
|
|
123
123
|
}
|
|
@@ -129,6 +129,8 @@ transition: opacity var(--helix-duration-fast) var(--helix-easing-standard);
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
::slotted([slot="attribution"]) {
|
|
132
|
+
|
|
133
|
+
border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
132
134
|
color: var(--helix-color-foreground-subtle);
|
|
133
135
|
font-size: var(--helix-text-xs);
|
|
134
136
|
padding: var(--helix-space-2xs) var(--helix-space-xs);
|
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.103.
|
|
4
|
+
"version": "0.103.1",
|
|
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.103.
|
|
51
|
-
"@fusion.dev/helix-headless": "0.103.
|
|
52
|
-
"@fusion.dev/helix-styles": "0.103.
|
|
50
|
+
"@fusion.dev/helix-core": "0.103.1",
|
|
51
|
+
"@fusion.dev/helix-headless": "0.103.1",
|
|
52
|
+
"@fusion.dev/helix-styles": "0.103.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@fusion.dev/helix-cem": "0.103.
|
|
56
|
-
"@fusion.dev/helix-testing": "0.103.
|
|
55
|
+
"@fusion.dev/helix-cem": "0.103.1",
|
|
56
|
+
"@fusion.dev/helix-testing": "0.103.1",
|
|
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
|
@@ -31985,8 +31985,11 @@ export type CustomElements = {
|
|
|
31985
31985
|
*
|
|
31986
31986
|
* Custom selectors for styling elements within the component.
|
|
31987
31987
|
*
|
|
31988
|
+
* - `attribution`: The strip the credit sits in, under the map.
|
|
31988
31989
|
* - `controls`: The group the pan and zoom buttons sit in.
|
|
31990
|
+
* - `footer`: The strip below the map, for what a consumer slots there.
|
|
31989
31991
|
* - `fullscreen`: The button that fills the screen.
|
|
31992
|
+
* - `header`: The strip above the map, for what a consumer slots there.
|
|
31990
31993
|
* - `pan-down`: The button that moves the map down.
|
|
31991
31994
|
* - `pan-end`: The button that moves the map the way the text ends, which is right on an English page.
|
|
31992
31995
|
* - `pan-start`: The button that moves the map the way the text starts, which is left on an English page.
|
|
@@ -52218,8 +52221,11 @@ export type CustomElementsSolidJs = {
|
|
|
52218
52221
|
*
|
|
52219
52222
|
* Custom selectors for styling elements within the component.
|
|
52220
52223
|
*
|
|
52224
|
+
* - `attribution`: The strip the credit sits in, under the map.
|
|
52221
52225
|
* - `controls`: The group the pan and zoom buttons sit in.
|
|
52226
|
+
* - `footer`: The strip below the map, for what a consumer slots there.
|
|
52222
52227
|
* - `fullscreen`: The button that fills the screen.
|
|
52228
|
+
* - `header`: The strip above the map, for what a consumer slots there.
|
|
52223
52229
|
* - `pan-down`: The button that moves the map down.
|
|
52224
52230
|
* - `pan-end`: The button that moves the map the way the text ends, which is right on an English page.
|
|
52225
52231
|
* - `pan-start`: The button that moves the map the way the text starts, which is left on an English page.
|