@crystal-ui/core 2.2.0 → 2.3.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/assets/crystal.css +353 -8
- package/assets/motion.css +3 -3
- package/assets/tokens.js +1 -1
- package/docs/accessibility.md +12 -3
- package/docs/catalogue.md +38 -55
- package/docs/components.md +12 -2
- package/docs/motion-components.md +1 -3
- package/docs/motion.md +1 -3
- package/docs/tokens.md +2 -1
- package/exports/crystal-tokens.kt +1 -0
- package/exports/crystal-tokens.swift +1 -0
- package/exports/crystal-tokens.ts +1 -0
- package/package.json +1 -1
- package/tokens/catalogue/02-navigation.json +7 -12
- package/tokens/catalogue/03-actions.json +4 -5
- package/tokens/catalogue/04-inputs.json +5 -12
- package/tokens/catalogue/05-data-display.json +2 -24
- package/tokens/catalogue/06-feedback.json +1 -4
- package/tokens/catalogue/07-overlays.json +2 -2
- package/tokens/catalogue/09-utility.json +2 -2
- package/tokens/catalogue/11-media.json +1 -1
- package/tokens/catalogue/12-commerce.json +1 -2
- package/tokens/catalogue/13-screens.json +1 -1
- package/tokens/catalogue.json +53 -72
- package/tokens/crystal.json +2 -1
- package/tokens/crystal.tokens.json +5 -0
- package/tokens/motion-recipes.json +0 -96
- package/tokens/surfaces.json +16 -6
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
],
|
|
467
467
|
"material": "One Resin plane; primary fill on the selected segment",
|
|
468
468
|
"surface": [
|
|
469
|
-
"
|
|
469
|
+
"dock"
|
|
470
470
|
],
|
|
471
471
|
"geometry": "Pill strip and pill segments; 44px minimum",
|
|
472
472
|
"semantics": "Radio group semantics, or aria-pressed on buttons; never aria-selected outside a tablist",
|
|
@@ -985,8 +985,7 @@
|
|
|
985
985
|
],
|
|
986
986
|
"material": "Resin toolbar, Haze editing surface",
|
|
987
987
|
"surface": [
|
|
988
|
-
"
|
|
989
|
-
"haze"
|
|
988
|
+
"field"
|
|
990
989
|
],
|
|
991
990
|
"geometry": "Toolbar is a pill group; surface at content radius",
|
|
992
991
|
"semantics": "Toolbar actions use aria-pressed for active formatting; the editor exposes its own semantics",
|
|
@@ -1327,9 +1326,7 @@
|
|
|
1327
1326
|
"semantics": "Two linked sliders; each axis announces its own value and responds to arrow keys.",
|
|
1328
1327
|
"crystal": "Thumb material, focus ring, contrast of the thumb against any underlying colour",
|
|
1329
1328
|
"product": "Colour space and value",
|
|
1330
|
-
"motion": [
|
|
1331
|
-
"slider-step"
|
|
1332
|
-
],
|
|
1329
|
+
"motion": [],
|
|
1333
1330
|
"parity": [
|
|
1334
1331
|
"react-aria:ColorArea"
|
|
1335
1332
|
]
|
|
@@ -1352,9 +1349,7 @@
|
|
|
1352
1349
|
"semantics": "role=\"slider\" with the channel named and the value in that channel's units.",
|
|
1353
1350
|
"crystal": "Thumb and track material, focus ring",
|
|
1354
1351
|
"product": "Which channel, and the colour space",
|
|
1355
|
-
"motion": [
|
|
1356
|
-
"slider-step"
|
|
1357
|
-
],
|
|
1352
|
+
"motion": [],
|
|
1358
1353
|
"parity": [
|
|
1359
1354
|
"react-aria:ColorSlider"
|
|
1360
1355
|
]
|
|
@@ -1377,9 +1372,7 @@
|
|
|
1377
1372
|
"semantics": "role=\"slider\" in degrees, wrapping at 360.",
|
|
1378
1373
|
"crystal": "Thumb material, ring geometry, focus ring",
|
|
1379
1374
|
"product": "Colour space",
|
|
1380
|
-
"motion": [
|
|
1381
|
-
"slider-step"
|
|
1382
|
-
],
|
|
1375
|
+
"motion": [],
|
|
1383
1376
|
"parity": [
|
|
1384
1377
|
"react-aria:ColorWheel"
|
|
1385
1378
|
]
|
|
@@ -559,8 +559,7 @@
|
|
|
559
559
|
"crystal": "Silhouette, corner asymmetry, own and incoming pairs, mirroring",
|
|
560
560
|
"product": "Delivery, grouping rules and failure recovery",
|
|
561
561
|
"motion": [
|
|
562
|
-
"message-in"
|
|
563
|
-
"reaction"
|
|
562
|
+
"message-in"
|
|
564
563
|
],
|
|
565
564
|
"parity": [
|
|
566
565
|
"—"
|
|
@@ -649,27 +648,6 @@
|
|
|
649
648
|
"primereact:dataview"
|
|
650
649
|
]
|
|
651
650
|
},
|
|
652
|
-
{
|
|
653
|
-
"id": "virtual-scroller",
|
|
654
|
-
"name": "Virtual scroller",
|
|
655
|
-
"anatomy": "A long list that renders only what is near the viewport.",
|
|
656
|
-
"states": [
|
|
657
|
-
"at-rest",
|
|
658
|
-
"scrolling",
|
|
659
|
-
"loading"
|
|
660
|
-
],
|
|
661
|
-
"material": "None of its own",
|
|
662
|
-
"surface": [
|
|
663
|
-
"none"
|
|
664
|
-
],
|
|
665
|
-
"geometry": "Scroll container follows the scroll-area contract.",
|
|
666
|
-
"semantics": "Rows keep their position in the set via aria-setsize and aria-posinset.",
|
|
667
|
-
"crystal": "Scroll surface, focus retention across recycling",
|
|
668
|
-
"product": "Row height strategy, data source",
|
|
669
|
-
"parity": [
|
|
670
|
-
"primereact:virtualscroller"
|
|
671
|
-
]
|
|
672
|
-
},
|
|
673
651
|
{
|
|
674
652
|
"id": "image-list",
|
|
675
653
|
"name": "Image list",
|
|
@@ -751,7 +729,7 @@
|
|
|
751
729
|
],
|
|
752
730
|
"material": "Resin handle over the images",
|
|
753
731
|
"surface": [
|
|
754
|
-
"
|
|
732
|
+
"resin"
|
|
755
733
|
],
|
|
756
734
|
"geometry": "Handle is a pill and reaches 44px.",
|
|
757
735
|
"semantics": "The divider is a slider with a percentage value and keyboard steps.",
|
|
@@ -108,9 +108,7 @@
|
|
|
108
108
|
"product": "Real progress. Never simulate progress for work that is not measurable.",
|
|
109
109
|
"motion": [
|
|
110
110
|
"progress-change",
|
|
111
|
-
"
|
|
112
|
-
"activity-travel",
|
|
113
|
-
"activity-turn"
|
|
111
|
+
"activity-travel"
|
|
114
112
|
],
|
|
115
113
|
"parity": [
|
|
116
114
|
"mantine:Progress",
|
|
@@ -163,7 +161,6 @@
|
|
|
163
161
|
"crystal": "Mark, motion and reduced-motion fallback",
|
|
164
162
|
"product": "When it appears and what it describes",
|
|
165
163
|
"motion": [
|
|
166
|
-
"busy",
|
|
167
164
|
"activity-turn"
|
|
168
165
|
],
|
|
169
166
|
"parity": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dialog",
|
|
19
19
|
"mirage"
|
|
20
20
|
],
|
|
21
|
-
"geometry": "
|
|
21
|
+
"geometry": "Panel radius (the content radius plus 6px), as .cr-dialog draws it; 12px minimum from content to the feathered edge",
|
|
22
22
|
"semantics": "Real modal semantics with a named dialog, focus containment, Escape, and focus return to the trigger",
|
|
23
23
|
"crystal": "Scrim, surface, entrance and exit motion, elevation",
|
|
24
24
|
"product": "Modality, focus management, the decision itself and its consequences",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"surface": [
|
|
184
184
|
"frost"
|
|
185
185
|
],
|
|
186
|
-
"geometry": "18px radius; compact padding",
|
|
186
|
+
"geometry": "18px radius (component.overlay.tooltipRadius); compact padding",
|
|
187
187
|
"semantics": "Never the sole accessible name. Opens on focus as well as hover, dismisses on Escape, and stays while hovered.",
|
|
188
188
|
"crystal": "Surface, delay, placement",
|
|
189
189
|
"product": "Content and whether a tooltip is the right disclosure at all",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
],
|
|
173
173
|
"material": "Resin handle on the region's own surface",
|
|
174
174
|
"surface": [
|
|
175
|
-
"
|
|
175
|
+
"resin"
|
|
176
176
|
],
|
|
177
177
|
"geometry": "Handle meets 44px even when the visible grip is narrower",
|
|
178
178
|
"semantics": "role=separator with aria-valuenow and arrow-key resizing. Pointer dragging is never the only route.",
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
],
|
|
494
494
|
"material": "Resin plane or inherits",
|
|
495
495
|
"surface": [
|
|
496
|
-
"
|
|
496
|
+
"dock"
|
|
497
497
|
],
|
|
498
498
|
"geometry": "Controls are pills; the group reaches 44px.",
|
|
499
499
|
"semantics": "role=\"toolbar\": one tab stop, arrows move within, orientation declared.",
|
package/tokens/catalogue.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$description": "Crystal component catalogue, combined. Generated from core/tokens/catalogue/.",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"surfaces": [
|
|
5
5
|
{
|
|
6
6
|
"id": "plastic",
|
|
@@ -27,7 +27,10 @@
|
|
|
27
27
|
"Haze"
|
|
28
28
|
],
|
|
29
29
|
"class": ".cr-haze",
|
|
30
|
-
"use": "Anything read: cards, rows, panels, wells, forms, messages, decisions. 80% fill, 1.95px feather on an isolated paint layer, crisp foreground. `.cr-well` is the same recipe recessed into a Frost or Resin frame."
|
|
30
|
+
"use": "Anything read: cards, rows, panels, wells, forms, messages, decisions. 80% fill, 1.95px feather on an isolated paint layer, crisp foreground. `.cr-well` is the same recipe recessed into a Frost or Resin frame. `.cr-haze.overlay` is the recessed overlay: a transient overlay opened inside a pane that is already lifted, drawn as a flat Haze fill with the `--cr-edge` rim and the content shadow, so it can be told from the pane it sits in.",
|
|
31
|
+
"also": [
|
|
32
|
+
".cr-haze.overlay"
|
|
33
|
+
]
|
|
31
34
|
},
|
|
32
35
|
{
|
|
33
36
|
"id": "resin",
|
|
@@ -36,7 +39,7 @@
|
|
|
36
39
|
"Resin"
|
|
37
40
|
],
|
|
38
41
|
"class": ".cr-resin",
|
|
39
|
-
"use": "One
|
|
42
|
+
"use": "One floating Resin plane with no reading fill of its own, pill-shaped unless it is a panel: a player's transport bar, a pinned element, a Resin handle over imagery or between regions. Controls inside it lose their own backdrop filter — Resin never contains Resin. A plane whose controls are labels to be read holds a Haze fill as well, and is a dock."
|
|
40
43
|
},
|
|
41
44
|
{
|
|
42
45
|
"id": "resin-panel",
|
|
@@ -81,9 +84,10 @@
|
|
|
81
84
|
],
|
|
82
85
|
"class": ".cr-resin-haze",
|
|
83
86
|
"also": [
|
|
84
|
-
".cr-tag"
|
|
87
|
+
".cr-tag",
|
|
88
|
+
".cr-resin-haze.count"
|
|
85
89
|
],
|
|
86
|
-
"use": "Small information displays that sit on content: tags, badges, labels, keyboard caps. A Resin shell with the inset Haze pad, 18px radius. Not for anything that opens — transient overlays are Frost."
|
|
90
|
+
"use": "Small information displays that sit on content: tags, badges, labels, keyboard caps. A Resin shell with the inset Haze pad, 18px radius. Not for anything that opens — transient overlays are Frost. `.count` is the size for a count: a 20px circle that grows to a pill, filled to its own edge, with no block padding."
|
|
87
91
|
},
|
|
88
92
|
{
|
|
89
93
|
"id": "stone",
|
|
@@ -114,7 +118,10 @@
|
|
|
114
118
|
"Mirage"
|
|
115
119
|
],
|
|
116
120
|
"class": ".cr-dialog",
|
|
117
|
-
"use": "A Haze decision surface over a Mirage scrim, with the float shadow. Modality, focus and dismissal are the product's."
|
|
121
|
+
"use": "A Haze decision surface over a Mirage scrim, with the float shadow. Modality, focus and dismissal are the product's. The surface does not scroll: `.cr-dialog-body`, worn with `.cr-scroll-frost`, scrolls inside it, so the title stays in view and the edge fade does not dissolve the surface. `position: fixed` is for a native `<dialog>`; on any other element the host positions it.",
|
|
122
|
+
"also": [
|
|
123
|
+
".cr-dialog-body"
|
|
124
|
+
]
|
|
118
125
|
},
|
|
119
126
|
{
|
|
120
127
|
"id": "indicator",
|
|
@@ -168,7 +175,20 @@
|
|
|
168
175
|
"also": [
|
|
169
176
|
".cr-dock-inner"
|
|
170
177
|
],
|
|
171
|
-
"use": "
|
|
178
|
+
"use": "A Resin plane holding labelled controls on one Haze fill, so every label reads on the same protected ground: a dock of destinations, and the strips that group controls the same way — tab strips, segmented controls, toolbars, command and action bars. The controls inside are transparent; the current or selected one takes weight 800 and the primary fill, whether it is a dock's destination, a tab or a segment. The controls may be buttons, tabs (`[role=tab]`, selected by `aria-selected`), radio labels (selected by `:checked`) or links (current by `aria-current`); only buttons were reached before 2.3.0."
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "group",
|
|
182
|
+
"name": "Group",
|
|
183
|
+
"materials": [
|
|
184
|
+
"Resin",
|
|
185
|
+
"Haze"
|
|
186
|
+
],
|
|
187
|
+
"class": ".cr-group",
|
|
188
|
+
"also": [
|
|
189
|
+
".cr-group.vertical"
|
|
190
|
+
],
|
|
191
|
+
"use": "A Resin plane whose controls touch: button groups and split buttons. The silhouette is one pill, the interior corners square off against their neighbours, and a hairline in `--cr-edge` separates them. The children keep their fill and give up their own elevation and diffusion, because the plane is the group's. `.vertical` stacks them. Not a dock: a dock spaces its controls apart on its Haze fill."
|
|
172
192
|
},
|
|
173
193
|
{
|
|
174
194
|
"id": "nav-item",
|
|
@@ -587,8 +607,7 @@
|
|
|
587
607
|
"crystal": "Material, pill geometry, current-location dot, focus ring",
|
|
588
608
|
"product": "Routing and which destination is current",
|
|
589
609
|
"motion": [
|
|
590
|
-
"
|
|
591
|
-
"page-out"
|
|
610
|
+
"selection"
|
|
592
611
|
],
|
|
593
612
|
"parity": [
|
|
594
613
|
"mantine:NavLink",
|
|
@@ -605,7 +624,7 @@
|
|
|
605
624
|
"collapsed",
|
|
606
625
|
"narrow"
|
|
607
626
|
],
|
|
608
|
-
"material": "Frost panel,
|
|
627
|
+
"material": "Frost panel; its destinations are navigation entries, the current one at weight 800 on the surface-alt fill with the location dot",
|
|
609
628
|
"surface": [
|
|
610
629
|
"frost",
|
|
611
630
|
"nav-item"
|
|
@@ -615,8 +634,7 @@
|
|
|
615
634
|
"crystal": "Panel material, collapse geometry, active treatment",
|
|
616
635
|
"product": "Destination list, routing, collapse persistence",
|
|
617
636
|
"motion": [
|
|
618
|
-
"selection"
|
|
619
|
-
"page-in"
|
|
637
|
+
"selection"
|
|
620
638
|
],
|
|
621
639
|
"parity": [
|
|
622
640
|
"mantine:NavLink",
|
|
@@ -643,8 +661,7 @@
|
|
|
643
661
|
"crystal": "The single shared plane, label weight for the current entry, elevation",
|
|
644
662
|
"product": "Destinations and routing",
|
|
645
663
|
"motion": [
|
|
646
|
-
"selection"
|
|
647
|
-
"page-in"
|
|
664
|
+
"selection"
|
|
648
665
|
],
|
|
649
666
|
"parity": [
|
|
650
667
|
"mui:BottomNavigation",
|
|
@@ -692,7 +709,7 @@
|
|
|
692
709
|
],
|
|
693
710
|
"material": "Resin strip, primary fill on the selected tab",
|
|
694
711
|
"surface": [
|
|
695
|
-
"
|
|
712
|
+
"dock"
|
|
696
713
|
],
|
|
697
714
|
"geometry": "Pill tabs inside a pill strip; 44px minimum",
|
|
698
715
|
"semantics": "role=tablist/tab/tabpanel with arrow-key, Home and End navigation and aria-selected",
|
|
@@ -756,8 +773,7 @@
|
|
|
756
773
|
"crystal": "Marker geometry, connector, state treatment",
|
|
757
774
|
"product": "Step validation and whether steps are navigable",
|
|
758
775
|
"motion": [
|
|
759
|
-
"selection"
|
|
760
|
-
"page-in"
|
|
776
|
+
"selection"
|
|
761
777
|
],
|
|
762
778
|
"parity": [
|
|
763
779
|
"mantine:Stepper",
|
|
@@ -895,8 +911,7 @@
|
|
|
895
911
|
"crystal": "Material, geometry, selection by label weight, safe-area inset",
|
|
896
912
|
"product": "Destinations and routing",
|
|
897
913
|
"motion": [
|
|
898
|
-
"selection"
|
|
899
|
-
"page-in"
|
|
914
|
+
"selection"
|
|
900
915
|
],
|
|
901
916
|
"parity": [
|
|
902
917
|
"mui:BottomNavigation"
|
|
@@ -1086,7 +1101,7 @@
|
|
|
1086
1101
|
],
|
|
1087
1102
|
"material": "One shared Resin plane, not one plane per button",
|
|
1088
1103
|
"surface": [
|
|
1089
|
-
"
|
|
1104
|
+
"group"
|
|
1090
1105
|
],
|
|
1091
1106
|
"geometry": "Pill outer geometry; interior corners square against neighbours",
|
|
1092
1107
|
"semantics": "group role with an accessible name when the buttons are related",
|
|
@@ -1114,7 +1129,7 @@
|
|
|
1114
1129
|
],
|
|
1115
1130
|
"material": "Shared Resin plane with a hairline between the two targets",
|
|
1116
1131
|
"surface": [
|
|
1117
|
-
"
|
|
1132
|
+
"group"
|
|
1118
1133
|
],
|
|
1119
1134
|
"geometry": "Pill outer geometry; both halves meet the 44px floor independently",
|
|
1120
1135
|
"semantics": "Two buttons; the disclosure carries aria-expanded and aria-haspopup=\"menu\"",
|
|
@@ -1150,8 +1165,7 @@
|
|
|
1150
1165
|
"crystal": "Material, elevation, extend behaviour, safe-area offset",
|
|
1151
1166
|
"product": "The action and when it is present",
|
|
1152
1167
|
"motion": [
|
|
1153
|
-
"press"
|
|
1154
|
-
"resin-confluence"
|
|
1168
|
+
"press"
|
|
1155
1169
|
],
|
|
1156
1170
|
"parity": [
|
|
1157
1171
|
"mui:Fab",
|
|
@@ -1226,7 +1240,7 @@
|
|
|
1226
1240
|
],
|
|
1227
1241
|
"material": "Resin plane",
|
|
1228
1242
|
"surface": [
|
|
1229
|
-
"
|
|
1243
|
+
"dock"
|
|
1230
1244
|
],
|
|
1231
1245
|
"geometry": "Pill; floats above content with the floating elevation.",
|
|
1232
1246
|
"semantics": "role=\"toolbar\"; announces how many items are selected.",
|
|
@@ -1738,7 +1752,7 @@
|
|
|
1738
1752
|
],
|
|
1739
1753
|
"material": "One Resin plane; primary fill on the selected segment",
|
|
1740
1754
|
"surface": [
|
|
1741
|
-
"
|
|
1755
|
+
"dock"
|
|
1742
1756
|
],
|
|
1743
1757
|
"geometry": "Pill strip and pill segments; 44px minimum",
|
|
1744
1758
|
"semantics": "Radio group semantics, or aria-pressed on buttons; never aria-selected outside a tablist",
|
|
@@ -2257,8 +2271,7 @@
|
|
|
2257
2271
|
],
|
|
2258
2272
|
"material": "Resin toolbar, Haze editing surface",
|
|
2259
2273
|
"surface": [
|
|
2260
|
-
"
|
|
2261
|
-
"haze"
|
|
2274
|
+
"field"
|
|
2262
2275
|
],
|
|
2263
2276
|
"geometry": "Toolbar is a pill group; surface at content radius",
|
|
2264
2277
|
"semantics": "Toolbar actions use aria-pressed for active formatting; the editor exposes its own semantics",
|
|
@@ -2599,9 +2612,7 @@
|
|
|
2599
2612
|
"semantics": "Two linked sliders; each axis announces its own value and responds to arrow keys.",
|
|
2600
2613
|
"crystal": "Thumb material, focus ring, contrast of the thumb against any underlying colour",
|
|
2601
2614
|
"product": "Colour space and value",
|
|
2602
|
-
"motion": [
|
|
2603
|
-
"slider-step"
|
|
2604
|
-
],
|
|
2615
|
+
"motion": [],
|
|
2605
2616
|
"parity": [
|
|
2606
2617
|
"react-aria:ColorArea"
|
|
2607
2618
|
]
|
|
@@ -2624,9 +2635,7 @@
|
|
|
2624
2635
|
"semantics": "role=\"slider\" with the channel named and the value in that channel's units.",
|
|
2625
2636
|
"crystal": "Thumb and track material, focus ring",
|
|
2626
2637
|
"product": "Which channel, and the colour space",
|
|
2627
|
-
"motion": [
|
|
2628
|
-
"slider-step"
|
|
2629
|
-
],
|
|
2638
|
+
"motion": [],
|
|
2630
2639
|
"parity": [
|
|
2631
2640
|
"react-aria:ColorSlider"
|
|
2632
2641
|
]
|
|
@@ -2649,9 +2658,7 @@
|
|
|
2649
2658
|
"semantics": "role=\"slider\" in degrees, wrapping at 360.",
|
|
2650
2659
|
"crystal": "Thumb material, ring geometry, focus ring",
|
|
2651
2660
|
"product": "Colour space",
|
|
2652
|
-
"motion": [
|
|
2653
|
-
"slider-step"
|
|
2654
|
-
],
|
|
2661
|
+
"motion": [],
|
|
2655
2662
|
"parity": [
|
|
2656
2663
|
"react-aria:ColorWheel"
|
|
2657
2664
|
]
|
|
@@ -3358,8 +3365,7 @@
|
|
|
3358
3365
|
"crystal": "Silhouette, corner asymmetry, own and incoming pairs, mirroring",
|
|
3359
3366
|
"product": "Delivery, grouping rules and failure recovery",
|
|
3360
3367
|
"motion": [
|
|
3361
|
-
"message-in"
|
|
3362
|
-
"reaction"
|
|
3368
|
+
"message-in"
|
|
3363
3369
|
],
|
|
3364
3370
|
"parity": [
|
|
3365
3371
|
"—"
|
|
@@ -3448,27 +3454,6 @@
|
|
|
3448
3454
|
"primereact:dataview"
|
|
3449
3455
|
]
|
|
3450
3456
|
},
|
|
3451
|
-
{
|
|
3452
|
-
"id": "virtual-scroller",
|
|
3453
|
-
"name": "Virtual scroller",
|
|
3454
|
-
"anatomy": "A long list that renders only what is near the viewport.",
|
|
3455
|
-
"states": [
|
|
3456
|
-
"at-rest",
|
|
3457
|
-
"scrolling",
|
|
3458
|
-
"loading"
|
|
3459
|
-
],
|
|
3460
|
-
"material": "None of its own",
|
|
3461
|
-
"surface": [
|
|
3462
|
-
"none"
|
|
3463
|
-
],
|
|
3464
|
-
"geometry": "Scroll container follows the scroll-area contract.",
|
|
3465
|
-
"semantics": "Rows keep their position in the set via aria-setsize and aria-posinset.",
|
|
3466
|
-
"crystal": "Scroll surface, focus retention across recycling",
|
|
3467
|
-
"product": "Row height strategy, data source",
|
|
3468
|
-
"parity": [
|
|
3469
|
-
"primereact:virtualscroller"
|
|
3470
|
-
]
|
|
3471
|
-
},
|
|
3472
3457
|
{
|
|
3473
3458
|
"id": "image-list",
|
|
3474
3459
|
"name": "Image list",
|
|
@@ -3550,7 +3535,7 @@
|
|
|
3550
3535
|
],
|
|
3551
3536
|
"material": "Resin handle over the images",
|
|
3552
3537
|
"surface": [
|
|
3553
|
-
"
|
|
3538
|
+
"resin"
|
|
3554
3539
|
],
|
|
3555
3540
|
"geometry": "Handle is a pill and reaches 44px.",
|
|
3556
3541
|
"semantics": "The divider is a slider with a percentage value and keyboard steps.",
|
|
@@ -3873,9 +3858,7 @@
|
|
|
3873
3858
|
"product": "Real progress. Never simulate progress for work that is not measurable.",
|
|
3874
3859
|
"motion": [
|
|
3875
3860
|
"progress-change",
|
|
3876
|
-
"
|
|
3877
|
-
"activity-travel",
|
|
3878
|
-
"activity-turn"
|
|
3861
|
+
"activity-travel"
|
|
3879
3862
|
],
|
|
3880
3863
|
"parity": [
|
|
3881
3864
|
"mantine:Progress",
|
|
@@ -3928,7 +3911,6 @@
|
|
|
3928
3911
|
"crystal": "Mark, motion and reduced-motion fallback",
|
|
3929
3912
|
"product": "When it appears and what it describes",
|
|
3930
3913
|
"motion": [
|
|
3931
|
-
"busy",
|
|
3932
3914
|
"activity-turn"
|
|
3933
3915
|
],
|
|
3934
3916
|
"parity": [
|
|
@@ -4193,7 +4175,7 @@
|
|
|
4193
4175
|
"dialog",
|
|
4194
4176
|
"mirage"
|
|
4195
4177
|
],
|
|
4196
|
-
"geometry": "
|
|
4178
|
+
"geometry": "Panel radius (the content radius plus 6px), as .cr-dialog draws it; 12px minimum from content to the feathered edge",
|
|
4197
4179
|
"semantics": "Real modal semantics with a named dialog, focus containment, Escape, and focus return to the trigger",
|
|
4198
4180
|
"crystal": "Scrim, surface, entrance and exit motion, elevation",
|
|
4199
4181
|
"product": "Modality, focus management, the decision itself and its consequences",
|
|
@@ -4358,7 +4340,7 @@
|
|
|
4358
4340
|
"surface": [
|
|
4359
4341
|
"frost"
|
|
4360
4342
|
],
|
|
4361
|
-
"geometry": "18px radius; compact padding",
|
|
4343
|
+
"geometry": "18px radius (component.overlay.tooltipRadius); compact padding",
|
|
4362
4344
|
"semantics": "Never the sole accessible name. Opens on focus as well as hover, dismisses on Escape, and stays while hovered.",
|
|
4363
4345
|
"crystal": "Surface, delay, placement",
|
|
4364
4346
|
"product": "Content and whether a tooltip is the right disclosure at all",
|
|
@@ -5000,7 +4982,7 @@
|
|
|
5000
4982
|
],
|
|
5001
4983
|
"material": "Resin handle on the region's own surface",
|
|
5002
4984
|
"surface": [
|
|
5003
|
-
"
|
|
4985
|
+
"resin"
|
|
5004
4986
|
],
|
|
5005
4987
|
"geometry": "Handle meets 44px even when the visible grip is narrower",
|
|
5006
4988
|
"semantics": "role=separator with aria-valuenow and arrow-key resizing. Pointer dragging is never the only route.",
|
|
@@ -5321,7 +5303,7 @@
|
|
|
5321
5303
|
],
|
|
5322
5304
|
"material": "Resin plane or inherits",
|
|
5323
5305
|
"surface": [
|
|
5324
|
-
"
|
|
5306
|
+
"dock"
|
|
5325
5307
|
],
|
|
5326
5308
|
"geometry": "Controls are pills; the group reaches 44px.",
|
|
5327
5309
|
"semantics": "role=\"toolbar\": one tab stop, arrows move within, orientation declared.",
|
|
@@ -5993,7 +5975,7 @@
|
|
|
5993
5975
|
],
|
|
5994
5976
|
"material": "Resin plane",
|
|
5995
5977
|
"surface": [
|
|
5996
|
-
"resin
|
|
5978
|
+
"resin"
|
|
5997
5979
|
],
|
|
5998
5980
|
"geometry": "Pill; 44px targets throughout.",
|
|
5999
5981
|
"semantics": "Each control is a button with a name; play and pause are one toggle with a pressed state.",
|
|
@@ -6345,8 +6327,7 @@
|
|
|
6345
6327
|
"crystal": "Step materials, connector treatment, the advance motion",
|
|
6346
6328
|
"product": "The steps and their validation",
|
|
6347
6329
|
"motion": [
|
|
6348
|
-
"selection"
|
|
6349
|
-
"page-in"
|
|
6330
|
+
"selection"
|
|
6350
6331
|
],
|
|
6351
6332
|
"parity": [
|
|
6352
6333
|
"antd:Steps",
|
|
@@ -6778,7 +6759,7 @@
|
|
|
6778
6759
|
],
|
|
6779
6760
|
"material": "Resin plane",
|
|
6780
6761
|
"surface": [
|
|
6781
|
-
"
|
|
6762
|
+
"dock"
|
|
6782
6763
|
],
|
|
6783
6764
|
"geometry": "Pill; overflow to a menu.",
|
|
6784
6765
|
"semantics": "role=\"toolbar\" with one tab stop.",
|
package/tokens/crystal.json
CHANGED
|
@@ -1885,6 +1885,11 @@
|
|
|
1885
1885
|
"$type": "dimension",
|
|
1886
1886
|
"$value": "352px",
|
|
1887
1887
|
"$description": "About sixty characters: a tooltip longer than this is documentation"
|
|
1888
|
+
},
|
|
1889
|
+
"tooltipRadius": {
|
|
1890
|
+
"$type": "dimension",
|
|
1891
|
+
"$value": "18px",
|
|
1892
|
+
"$description": "A tooltip's corner radius. Smaller than the content radius the other overlays share, because a tooltip is a compact panel of one or two lines."
|
|
1888
1893
|
}
|
|
1889
1894
|
},
|
|
1890
1895
|
"field": {
|