@fusion.dev/helix-styles 0.241.2 → 0.242.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/README.md +1 -0
- package/dist/base.css +58 -1
- package/dist/elements.css +28 -0
- package/dist/page-transitions.css +55 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@ Or take the pieces, in the order of the first four rows:
|
|
|
21
21
|
| `elements.css` | hides each Helix element until its definition loads |
|
|
22
22
|
| `helix.css` | the four files above, in that order |
|
|
23
23
|
| `tokens.json` | the same token names for a build step that needs them |
|
|
24
|
+
| `page-transitions.css` | moves between the pages of a site, as a fade or a slide. `helix.css` leaves it out, so a site imports it on each page that takes part |
|
|
24
25
|
|
|
25
26
|
The tokens are the contract every Helix component reads, so overriding one here
|
|
26
27
|
moves every component that answers it.
|
package/dist/base.css
CHANGED
|
@@ -744,7 +744,7 @@ helix-toggle:not([disabled])::part(item):hover {
|
|
|
744
744
|
color: var(--helix-color-foreground);
|
|
745
745
|
}
|
|
746
746
|
}@media (hover: hover) {
|
|
747
|
-
helix-toggle-group helix-toggle::part(item):hover {
|
|
747
|
+
helix-toggle-group helix-toggle:not([disabled])::part(item):hover {
|
|
748
748
|
background-color: transparent;
|
|
749
749
|
}
|
|
750
750
|
}
|
|
@@ -830,6 +830,10 @@ helix-toggle[disabled]::part(item) {
|
|
|
830
830
|
);
|
|
831
831
|
color: var(--navigation-item-hover-color, var(--helix-color-foreground));
|
|
832
832
|
}
|
|
833
|
+
}@media (hover: hover) {
|
|
834
|
+
:where(helix-navigation:state(gliding)) :where([data-navigation-item], a):hover {
|
|
835
|
+
background-color: transparent;
|
|
836
|
+
}
|
|
833
837
|
}
|
|
834
838
|
:where([data-navigation-item], helix-navigation a):active {
|
|
835
839
|
background-color: var(--helix-color-press);
|
|
@@ -1383,6 +1387,59 @@ helix-toast:not([data-color-mode]) {
|
|
|
1383
1387
|
min-inline-size: 0;
|
|
1384
1388
|
overflow-x: auto;
|
|
1385
1389
|
}
|
|
1390
|
+
:root[data-helix-color-transition]::view-transition-old(root),
|
|
1391
|
+
:root[data-helix-color-transition]::view-transition-new(root) {
|
|
1392
|
+
animation: none;
|
|
1393
|
+
mix-blend-mode: normal;
|
|
1394
|
+
}
|
|
1395
|
+
:root[data-helix-color-transition="circle"]::view-transition-new(root) {
|
|
1396
|
+
animation: helix-color-circle calc(var(--helix-duration-slow) * 1.5)
|
|
1397
|
+
var(--helix-easing-decelerate);
|
|
1398
|
+
}
|
|
1399
|
+
:root[data-helix-color-transition="wipe"]::view-transition-new(root) {
|
|
1400
|
+
animation: helix-color-wipe calc(var(--helix-duration-slow) * 1.5) var(--helix-easing-decelerate);
|
|
1401
|
+
}
|
|
1402
|
+
:root[data-helix-color-transition="wipe"]:dir(rtl)::view-transition-new(root) {
|
|
1403
|
+
animation-name: helix-color-wipe-rtl;
|
|
1404
|
+
}
|
|
1405
|
+
:root[data-helix-color-transition="fade"]::view-transition-new(root) {
|
|
1406
|
+
animation: helix-color-fade var(--helix-duration-slow) var(--helix-easing-standard);
|
|
1407
|
+
}
|
|
1408
|
+
@keyframes helix-color-circle {
|
|
1409
|
+
from {
|
|
1410
|
+
clip-path: circle(0 at var(--theme-toggle-origin-x, 50%) var(--theme-toggle-origin-y, 50%));
|
|
1411
|
+
}
|
|
1412
|
+
to {
|
|
1413
|
+
clip-path: circle(
|
|
1414
|
+
var(--theme-toggle-radius, 150%) at var(--theme-toggle-origin-x, 50%)
|
|
1415
|
+
var(--theme-toggle-origin-y, 50%)
|
|
1416
|
+
);
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
@keyframes helix-color-wipe {
|
|
1420
|
+
from {
|
|
1421
|
+
clip-path: inset(0 100% 0 0);
|
|
1422
|
+
}
|
|
1423
|
+
to {
|
|
1424
|
+
clip-path: inset(0);
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
@keyframes helix-color-wipe-rtl {
|
|
1428
|
+
from {
|
|
1429
|
+
clip-path: inset(0 0 0 100%);
|
|
1430
|
+
}
|
|
1431
|
+
to {
|
|
1432
|
+
clip-path: inset(0);
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
@keyframes helix-color-fade {
|
|
1436
|
+
from {
|
|
1437
|
+
opacity: 0;
|
|
1438
|
+
}
|
|
1439
|
+
to {
|
|
1440
|
+
opacity: 1;
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1386
1443
|
@media (prefers-reduced-motion: reduce) {
|
|
1387
1444
|
*,
|
|
1388
1445
|
*::before,
|
package/dist/elements.css
CHANGED
|
@@ -35,6 +35,7 @@ helix-column-manager:not(:defined),
|
|
|
35
35
|
helix-combobox:not(:defined),
|
|
36
36
|
helix-command:not(:defined),
|
|
37
37
|
helix-copy-button:not(:defined),
|
|
38
|
+
helix-cursor:not(:defined),
|
|
38
39
|
helix-data-table:not(:defined),
|
|
39
40
|
helix-date-input:not(:defined),
|
|
40
41
|
helix-date-picker:not(:defined),
|
|
@@ -61,6 +62,8 @@ helix-format-date:not(:defined),
|
|
|
61
62
|
helix-graph:not(:defined),
|
|
62
63
|
helix-grid:not(:defined),
|
|
63
64
|
helix-heatmap:not(:defined),
|
|
65
|
+
helix-highlighter:not(:defined),
|
|
66
|
+
helix-hover-card:not(:defined),
|
|
64
67
|
helix-icon:not(:defined),
|
|
65
68
|
helix-icon-button:not(:defined),
|
|
66
69
|
helix-image:not(:defined),
|
|
@@ -77,6 +80,7 @@ helix-loader:not(:defined),
|
|
|
77
80
|
helix-log:not(:defined),
|
|
78
81
|
helix-log-group:not(:defined),
|
|
79
82
|
helix-log-line:not(:defined),
|
|
83
|
+
helix-magnetic:not(:defined),
|
|
80
84
|
helix-map:not(:defined),
|
|
81
85
|
helix-map-area:not(:defined),
|
|
82
86
|
helix-map-buildings:not(:defined),
|
|
@@ -89,6 +93,7 @@ helix-map-raster:not(:defined),
|
|
|
89
93
|
helix-map-route:not(:defined),
|
|
90
94
|
helix-map-terrain:not(:defined),
|
|
91
95
|
helix-markdown:not(:defined),
|
|
96
|
+
helix-marquee:not(:defined),
|
|
92
97
|
helix-megamenu:not(:defined),
|
|
93
98
|
helix-menu:not(:defined),
|
|
94
99
|
helix-menu-item:not(:defined),
|
|
@@ -110,6 +115,7 @@ helix-outline:not(:defined),
|
|
|
110
115
|
helix-pagination:not(:defined),
|
|
111
116
|
helix-pagination-size:not(:defined),
|
|
112
117
|
helix-pagination-summary:not(:defined),
|
|
118
|
+
helix-pattern:not(:defined),
|
|
113
119
|
helix-pin-input:not(:defined),
|
|
114
120
|
helix-popover:not(:defined),
|
|
115
121
|
helix-progress:not(:defined),
|
|
@@ -120,6 +126,8 @@ helix-quote:not(:defined),
|
|
|
120
126
|
helix-radio:not(:defined),
|
|
121
127
|
helix-radio-group:not(:defined),
|
|
122
128
|
helix-rating:not(:defined),
|
|
129
|
+
helix-reveal:not(:defined),
|
|
130
|
+
helix-rotating-text:not(:defined),
|
|
123
131
|
helix-sandbox:not(:defined),
|
|
124
132
|
helix-sandbox-console:not(:defined),
|
|
125
133
|
helix-sandbox-preview:not(:defined),
|
|
@@ -128,12 +136,16 @@ helix-sandbox-status-bar:not(:defined),
|
|
|
128
136
|
helix-sandbox-toolbar:not(:defined),
|
|
129
137
|
helix-scatter-chart:not(:defined),
|
|
130
138
|
helix-scroll-area:not(:defined),
|
|
139
|
+
helix-scroll-progress:not(:defined),
|
|
131
140
|
helix-select:not(:defined),
|
|
132
141
|
helix-selection-bar:not(:defined),
|
|
142
|
+
helix-shimmer-text:not(:defined),
|
|
143
|
+
helix-shine:not(:defined),
|
|
133
144
|
helix-shortcut-overlay:not(:defined),
|
|
134
145
|
helix-skeleton:not(:defined),
|
|
135
146
|
helix-skip-link:not(:defined),
|
|
136
147
|
helix-slider:not(:defined),
|
|
148
|
+
helix-sliding-number:not(:defined),
|
|
137
149
|
helix-sparkline:not(:defined),
|
|
138
150
|
helix-spatial-bar-chart:not(:defined),
|
|
139
151
|
helix-spatial-heatmap:not(:defined),
|
|
@@ -165,6 +177,8 @@ helix-tag-group:not(:defined),
|
|
|
165
177
|
helix-terminal:not(:defined),
|
|
166
178
|
helix-text:not(:defined),
|
|
167
179
|
helix-textarea:not(:defined),
|
|
180
|
+
helix-theme-toggle:not(:defined),
|
|
181
|
+
helix-tilt:not(:defined),
|
|
168
182
|
helix-time-input:not(:defined),
|
|
169
183
|
helix-time-picker:not(:defined),
|
|
170
184
|
helix-timeline:not(:defined),
|
|
@@ -255,6 +269,7 @@ helix-column-manager[align],
|
|
|
255
269
|
helix-combobox[align],
|
|
256
270
|
helix-command[align],
|
|
257
271
|
helix-copy-button[align],
|
|
272
|
+
helix-cursor[align],
|
|
258
273
|
helix-data-table[align],
|
|
259
274
|
helix-date-input[align],
|
|
260
275
|
helix-date-picker[align],
|
|
@@ -281,6 +296,8 @@ helix-format-date[align],
|
|
|
281
296
|
helix-graph[align],
|
|
282
297
|
helix-grid[align],
|
|
283
298
|
helix-heatmap[align],
|
|
299
|
+
helix-highlighter[align],
|
|
300
|
+
helix-hover-card[align],
|
|
284
301
|
helix-icon[align],
|
|
285
302
|
helix-icon-button[align],
|
|
286
303
|
helix-image[align],
|
|
@@ -297,6 +314,7 @@ helix-loader[align],
|
|
|
297
314
|
helix-log[align],
|
|
298
315
|
helix-log-group[align],
|
|
299
316
|
helix-log-line[align],
|
|
317
|
+
helix-magnetic[align],
|
|
300
318
|
helix-map[align],
|
|
301
319
|
helix-map-area[align],
|
|
302
320
|
helix-map-buildings[align],
|
|
@@ -309,6 +327,7 @@ helix-map-raster[align],
|
|
|
309
327
|
helix-map-route[align],
|
|
310
328
|
helix-map-terrain[align],
|
|
311
329
|
helix-markdown[align],
|
|
330
|
+
helix-marquee[align],
|
|
312
331
|
helix-megamenu[align],
|
|
313
332
|
helix-menu[align],
|
|
314
333
|
helix-menu-item[align],
|
|
@@ -330,6 +349,7 @@ helix-outline[align],
|
|
|
330
349
|
helix-pagination[align],
|
|
331
350
|
helix-pagination-size[align],
|
|
332
351
|
helix-pagination-summary[align],
|
|
352
|
+
helix-pattern[align],
|
|
333
353
|
helix-pin-input[align],
|
|
334
354
|
helix-popover[align],
|
|
335
355
|
helix-progress[align],
|
|
@@ -340,6 +360,8 @@ helix-quote[align],
|
|
|
340
360
|
helix-radio[align],
|
|
341
361
|
helix-radio-group[align],
|
|
342
362
|
helix-rating[align],
|
|
363
|
+
helix-reveal[align],
|
|
364
|
+
helix-rotating-text[align],
|
|
343
365
|
helix-sandbox[align],
|
|
344
366
|
helix-sandbox-console[align],
|
|
345
367
|
helix-sandbox-preview[align],
|
|
@@ -348,12 +370,16 @@ helix-sandbox-status-bar[align],
|
|
|
348
370
|
helix-sandbox-toolbar[align],
|
|
349
371
|
helix-scatter-chart[align],
|
|
350
372
|
helix-scroll-area[align],
|
|
373
|
+
helix-scroll-progress[align],
|
|
351
374
|
helix-select[align],
|
|
352
375
|
helix-selection-bar[align],
|
|
376
|
+
helix-shimmer-text[align],
|
|
377
|
+
helix-shine[align],
|
|
353
378
|
helix-shortcut-overlay[align],
|
|
354
379
|
helix-skeleton[align],
|
|
355
380
|
helix-skip-link[align],
|
|
356
381
|
helix-slider[align],
|
|
382
|
+
helix-sliding-number[align],
|
|
357
383
|
helix-sparkline[align],
|
|
358
384
|
helix-spatial-bar-chart[align],
|
|
359
385
|
helix-spatial-heatmap[align],
|
|
@@ -385,6 +411,8 @@ helix-tag-group[align],
|
|
|
385
411
|
helix-terminal[align],
|
|
386
412
|
helix-text[align],
|
|
387
413
|
helix-textarea[align],
|
|
414
|
+
helix-theme-toggle[align],
|
|
415
|
+
helix-tilt[align],
|
|
388
416
|
helix-time-input[align],
|
|
389
417
|
helix-time-picker[align],
|
|
390
418
|
helix-timeline[align],
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* page-transitions.css from @fusion.dev/helix-styles. The source, with the reasoning in it, is in the repository. */
|
|
2
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3
|
+
@view-transition {
|
|
4
|
+
navigation: auto;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
:root:not([data-helix-color-transition])::view-transition-old(root),
|
|
8
|
+
:root:not([data-helix-color-transition])::view-transition-new(root) {
|
|
9
|
+
animation-duration: var(--helix-duration-slow);
|
|
10
|
+
animation-timing-function: var(--helix-easing-standard);
|
|
11
|
+
}
|
|
12
|
+
:root:is([data-page-transition="slide"]:dir(ltr), [data-page-transition="slide-back"]:dir(rtl)):not(
|
|
13
|
+
[data-helix-color-transition]
|
|
14
|
+
)::view-transition-old(root) {
|
|
15
|
+
animation: helix-page-out var(--helix-duration-slow) var(--helix-easing-accelerate) both;
|
|
16
|
+
}
|
|
17
|
+
:root:is([data-page-transition="slide"]:dir(ltr), [data-page-transition="slide-back"]:dir(rtl)):not(
|
|
18
|
+
[data-helix-color-transition]
|
|
19
|
+
)::view-transition-new(root) {
|
|
20
|
+
animation: helix-page-in var(--helix-duration-slow) var(--helix-easing-decelerate) both;
|
|
21
|
+
}
|
|
22
|
+
:root:is([data-page-transition="slide"]:dir(rtl), [data-page-transition="slide-back"]:dir(ltr)):not(
|
|
23
|
+
[data-helix-color-transition]
|
|
24
|
+
)::view-transition-old(root) {
|
|
25
|
+
animation: helix-page-out-back var(--helix-duration-slow) var(--helix-easing-accelerate) both;
|
|
26
|
+
}
|
|
27
|
+
:root:is([data-page-transition="slide"]:dir(rtl), [data-page-transition="slide-back"]:dir(ltr)):not(
|
|
28
|
+
[data-helix-color-transition]
|
|
29
|
+
)::view-transition-new(root) {
|
|
30
|
+
animation: helix-page-in-back var(--helix-duration-slow) var(--helix-easing-decelerate) both;
|
|
31
|
+
}
|
|
32
|
+
@keyframes helix-page-out {
|
|
33
|
+
to {
|
|
34
|
+
opacity: 0;
|
|
35
|
+
translate: calc(var(--helix-space-xl) * -1) 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
@keyframes helix-page-in {
|
|
39
|
+
from {
|
|
40
|
+
opacity: 0;
|
|
41
|
+
translate: var(--helix-space-xl) 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@keyframes helix-page-out-back {
|
|
45
|
+
to {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
translate: var(--helix-space-xl) 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@keyframes helix-page-in-back {
|
|
51
|
+
from {
|
|
52
|
+
opacity: 0;
|
|
53
|
+
translate: calc(var(--helix-space-xl) * -1) 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-styles",
|
|
3
3
|
"description": "Design tokens and base layer. Pure CSS, no JavaScript.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.242.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fusion Development Group",
|
|
7
7
|
"repository": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"./elements.css": "./dist/elements.css",
|
|
20
20
|
"./helix.css": "./dist/helix.css",
|
|
21
21
|
"./package.json": "./package.json",
|
|
22
|
+
"./page-transitions.css": "./dist/page-transitions.css",
|
|
22
23
|
"./primitives.css": "./dist/primitives.css",
|
|
23
24
|
"./tokens.css": "./dist/tokens.css",
|
|
24
25
|
"./tokens.json": "./dist/tokens.json"
|