@crystal-ui/core 2.7.0 → 2.8.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.
@@ -2057,6 +2057,86 @@ dialog.cr-dialog:has(> .cr-dialog-body):not([open]) {
2057
2057
  display: flex;
2058
2058
  }
2059
2059
 
2060
+ /* ---------------------------------------------------------------------------
2061
+ The choice box as a class, 2.8.0 (R-28, phase 2).
2062
+
2063
+ Crystal paints the checkbox, the radio and the switch on the native input
2064
+ (`input:is([type=checkbox],[type=radio])` above). A library that keeps the
2065
+ input visually hidden and draws the box on its own element, as React Aria
2066
+ does, could not wear that recipe and restated it by hand. `.cr-choice` is
2067
+ the same box on any element: the Resin box with the control light, the rim,
2068
+ the blur and the three-part shadow, at the published size and radius. The
2069
+ mark inside it, and the colour a selected box takes, stay the component's,
2070
+ because a native input draws its mark on `::after` and a component draws its
2071
+ own. `.radio` makes it a circle. A switch's track is the same box at the
2072
+ track's size and the pill radius.
2073
+
2074
+ `.outline` is the box a platform library drew instead (published as drift,
2075
+ by the ruling given with phase 1): the `--cr-outline` boundary in place of
2076
+ the rim, the plain Resin fill and blur, and a single inset rim, so that a
2077
+ selected box, which the component fills with the primary, reads as a solid
2078
+ mark against an outlined one.
2079
+
2080
+ Neither the native box nor the class had an opaque or reduced-transparency
2081
+ route before 2.8.0, so a Resin box kept its blur where every other Resin
2082
+ surface gave way. Both now become the surface with no backdrop. The routes
2083
+ name `.cr-choice.outline` inside `:is()` so they outrank the variant. A
2084
+ native switch that is on keeps its primary-soft track, because
2085
+ `:checked` outranks them; a selected state a component draws keeps its
2086
+ colour, because a component's own rule is unlayered.
2087
+ --------------------------------------------------------------------------- */
2088
+ .cr-choice {
2089
+ position: relative;
2090
+ display: inline-grid;
2091
+ place-items: center;
2092
+ flex: none;
2093
+ box-sizing: border-box;
2094
+ width: var(--cr-choice-box-size, 26px);
2095
+ height: var(--cr-choice-box-size, 26px);
2096
+ border: 1px solid var(--cr-rim);
2097
+ border-radius: var(--cr-choice-box-radius, 9px);
2098
+ background: linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill);
2099
+ -webkit-backdrop-filter: blur(var(--cr-resin-blur));
2100
+ backdrop-filter: blur(var(--cr-resin-blur));
2101
+ box-shadow: inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact);
2102
+ }
2103
+ .cr-choice.radio {
2104
+ border-radius: 50%;
2105
+ }
2106
+ .cr-choice.outline {
2107
+ border-color: var(--cr-outline);
2108
+ background: var(--cr-resin-fill);
2109
+ -webkit-backdrop-filter: blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation));
2110
+ backdrop-filter: blur(var(--cr-resin-blur)) saturate(var(--cr-resin-saturation));
2111
+ box-shadow: inset 0 2px 1px var(--cr-rim);
2112
+ }
2113
+ [data-effects=opaque] :is(.cr-choice.outline, .cr-choice, input:is([type=checkbox],[type=radio])) {
2114
+ background: var(--cr-surface);
2115
+ -webkit-backdrop-filter: none;
2116
+ backdrop-filter: none;
2117
+ }
2118
+ @media (prefers-reduced-transparency:reduce) {
2119
+ :is(.cr-choice.outline, .cr-choice, input:is([type=checkbox],[type=radio])) {
2120
+ background: var(--cr-surface);
2121
+ -webkit-backdrop-filter: none;
2122
+ backdrop-filter: none;
2123
+ }
2124
+ }
2125
+ @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
2126
+ :is(.cr-choice.outline, .cr-choice) {
2127
+ background: var(--cr-surface);
2128
+ }
2129
+ }
2130
+ @media (forced-colors:active) {
2131
+ :is(.cr-choice.outline, .cr-choice) {
2132
+ background: Field;
2133
+ border-color: FieldText;
2134
+ box-shadow: none;
2135
+ -webkit-backdrop-filter: none;
2136
+ backdrop-filter: none;
2137
+ }
2138
+ }
2139
+
2060
2140
  /* A count (D-27).
2061
2141
  *
2062
2142
  * `.cr-resin-haze` is sized for a tag: its Haze pad is inset by
package/docs/catalogue.md CHANGED
@@ -52,7 +52,7 @@ Every component is made of one or more of these surfaces. Its Surface row names
52
52
  | <a id="surface-nav-item"></a>**Navigation entry** `nav-item` | None | <code>.cr-nav-item</code> | 2 | An entry in side navigation, a rail or a tree of destinations. It has no material of its own, sits on the panel beneath it, and carries selection by label weight alone. Pill hit area, 44px target. `.stacked` puts the icon above the label for a rail. Adopted from the documentation site's side menu, which docs/components.md names as the reference implementation of selection. |
53
53
  | <a id="surface-bare"></a>**Bare control** `bare` | None | <code>.cr-bare</code> | 0 | A control that must not wear the Resin coat because it sits inside a surface that already has one: a disclosure chevron, a chip's remove button, a sort header, a stepper's arrows, a dismiss button on a toast. Crystal paints every button by element, so this class subtracts the fill, the shadow, the backdrop filter and both pseudo-layers. The focus ring and the target floor stay. |
54
54
  | <a id="surface-drag-handle"></a>**Drag handle** `drag-handle` | None | <code>.cr-drag-handle</code> | 1 | A bare control with a grip glyph and a lift while dragging. Keyboard drag is the product's; the handle only says it can be grabbed and when it has been. |
55
- | <a id="surface-choice"></a>**Selection control** `choice` | Resin | <code>input:is([type=checkbox],[type=radio])</code> | 5 | Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native. |
55
+ | <a id="surface-choice"></a>**Selection control** `choice` | Resin | <code>input:is([type=checkbox],[type=radio])</code> | 5 | Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native. `.cr-choice` is the same box on any element, for a library that keeps the input visually hidden and draws the box itself (2.8.0); `.radio` is the circle, and a switch's track is the box at the track's size with the pill radius. The mark and the selected colour are the component's. `.cr-choice.outline` is the outlined box: the `--cr-outline` boundary, the plain Resin fill and a single inset rim (2.8.0). In opaque mode and under reduced transparency the box, native or not, becomes the surface with no backdrop (2.8.0). |
56
56
  | <a id="surface-native"></a>**Native control furniture** `native` | None | <code>select option</code> | 0 | Parts of native controls the browser draws and Crystal tints: select options, the file button. Platform-owned popups keep platform drawing. |
57
57
  | <a id="surface-none"></a>**No surface of its own** `none` | None | None | 104 | Layout, typography, behaviour and drawing components that inherit whatever they sit on. A chart's marks, a divider, a provider. |
58
58
 
@@ -17,7 +17,7 @@ The package contains working CSS primitives and a bounded interactive reference.
17
17
  | Quiet action | The same shell with no reading fill, so the label sits directly on the material | `.cr-button.quiet`; same semantics as any action |
18
18
  | Destructive action | Resin/Haze with independent danger boundary and explicit label | `.danger`; app supplies consequence-specific confirmation and recovery |
19
19
  | Text field | Visible label, state badge, glowing focus ring, validation, helper/error association | `.cr-input`; working native form example; app supplies validation rules |
20
- | Selection control | Explicit selected state plus text/mark | Native checkbox, radio and select, styled by `assets/crystal.css` as of 2.1.0, and the native switch (`input[type=checkbox][role=switch]`) as of 2.2.0; keyboard semantics must match the component |
20
+ | Selection control | Explicit selected state plus text/mark | Native checkbox, radio and select, styled by `assets/crystal.css` as of 2.1.0, and the native switch (`input[type=checkbox][role=switch]`) as of 2.2.0. Where a library keeps the input hidden and draws the box itself, the box wears `.cr-choice` (`.radio` for a circle, `.outline` for the outlined box) as of 2.8.0; keyboard semantics must match the component |
21
21
  | Navigation entry | No material of its own; pill hit area; selection by label weight; current location by a flat primary dot on `aria-current`, inside the entry's own padding so the label never moves | `.cr-nav-item`, `.stacked` for a rail. Routing and the current-page state are app-owned |
22
22
  | Bare control | A control inside a coated surface: no fill, shadow, blur or pseudo-layers; target and focus ring kept | `.cr-bare`; the action itself is app-owned |
23
23
  | Drag handle | Grip glyph, grab cursor, lift while held | `.cr-drag-handle` with `aria-grabbed` or `data-dragging`; pointer capture, keyboard drag and drop validation are app-owned |
@@ -128,6 +128,8 @@ The material variants of 2.7.0 add no surface either. Each was a surface a platf
128
128
  | `.cr-resin.flat` | Resin plane | No sheen: a plane that is a mark rather than a control, such as a step or timeline marker. |
129
129
  | `.cr-resin.divider` | Resin plane | The handle between resizable regions: the Resin fill and blur only, with no rim, shadow or sheen. Where the fill gives way it becomes the outline colour, so the line stays visible on the surface it divides, and CanvasText in forced colours. |
130
130
  | `.cr-field-shell.block` | Field shell | The shell as a block that fills its row, for a field laid out in a form rather than set in a line of text. |
131
+ | `.cr-choice`, `.radio` | Selection control | The native checkbox's box on any element, for a library that keeps the input hidden and draws the box itself (2.8.0). A switch's track is the same box at the track's size with the pill radius. The mark and the selected colour are the component's. |
132
+ | `.cr-choice.outline` | Selection control | The outlined box: the `--cr-outline` boundary, the plain Resin fill and a single inset rim (2.8.0). In opaque mode and under reduced transparency every choice box, native or not, becomes the surface with no backdrop. |
131
133
 
132
134
  Two existing recipes changed in 2.7.0. `.cr-mirage` and a dialog's `::backdrop` now take the flat fallback fill with no backdrop filter under `[data-effects=opaque]`, as they already did under reduced transparency; before, the opaque setting left the largest translucent area on screen translucent. And `.cr-bare`, `.cr-nav-item` and `.cr-drag-handle` on a `<button>` now stay transparent under `[data-effects=opaque]`: the coat's opaque route had outranked them, drawing the surface behind a bare control and erasing the drag handle's grip.
133
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystal-ui/core",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Crystal, Meridian's design system: design tokens, material stylesheets, a token resolver, a headless state core, motion recipes, icons and the specification.",
5
5
  "keywords": [
6
6
  "design-system",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$description": "Crystal component catalogue, combined. Generated from core/tokens/catalogue/.",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "surfaces": [
5
5
  {
6
6
  "id": "plastic",
@@ -277,10 +277,16 @@
277
277
  "class": "input:is([type=checkbox],[type=radio])",
278
278
  "also": [
279
279
  "input[type=checkbox][role=switch]",
280
- "input[type=range]"
280
+ "input[type=range]",
281
+ ".cr-choice",
282
+ ".cr-choice.radio",
283
+ ".cr-choice.outline"
281
284
  ],
282
- "use": "Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native.",
285
+ "use": "Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native. `.cr-choice` is the same box on any element, for a library that keeps the input visually hidden and draws the box itself (2.8.0); `.radio` is the circle, and a switch's track is the box at the track's size with the pill radius. The mark and the selected colour are the component's. `.cr-choice.outline` is the outlined box: the `--cr-outline` boundary, the plain Resin fill and a single inset rim (2.8.0). In opaque mode and under reduced transparency the box, native or not, becomes the surface with no backdrop (2.8.0).",
283
286
  "partial": {
287
+ ".cr-choice": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it.",
288
+ ".cr-choice.radio": "The box alone, round: the dot inside it is the component's.",
289
+ ".cr-choice.outline": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it.",
284
290
  "input[type=range]": "A track and a thumb, painted on the slider's pseudo-elements (`::-webkit-slider-runnable-track`, `::-webkit-slider-thumb` and their `::-moz-range-` forms), which this record does not read."
285
291
  }
286
292
  },
@@ -4282,8 +4282,20 @@
4282
4282
  }
4283
4283
  },
4284
4284
  "fallbacks": {
4285
- "opaque": null,
4286
- "reducedTransparency": null,
4285
+ "opaque": {
4286
+ "declarations": {
4287
+ "-webkit-backdrop-filter": "none",
4288
+ "backdrop-filter": "none",
4289
+ "background": "var(--cr-surface)"
4290
+ }
4291
+ },
4292
+ "reducedTransparency": {
4293
+ "declarations": {
4294
+ "-webkit-backdrop-filter": "none",
4295
+ "backdrop-filter": "none",
4296
+ "background": "var(--cr-surface)"
4297
+ }
4298
+ },
4287
4299
  "forcedColors": {
4288
4300
  "declarations": {
4289
4301
  "-webkit-backdrop-filter": "none",
@@ -4354,8 +4366,20 @@
4354
4366
  }
4355
4367
  },
4356
4368
  "fallbacks": {
4357
- "opaque": null,
4358
- "reducedTransparency": null,
4369
+ "opaque": {
4370
+ "declarations": {
4371
+ "-webkit-backdrop-filter": "none",
4372
+ "backdrop-filter": "none",
4373
+ "background": "var(--cr-surface)"
4374
+ }
4375
+ },
4376
+ "reducedTransparency": {
4377
+ "declarations": {
4378
+ "-webkit-backdrop-filter": "none",
4379
+ "backdrop-filter": "none",
4380
+ "background": "var(--cr-surface)"
4381
+ }
4382
+ },
4359
4383
  "forcedColors": {
4360
4384
  "declarations": {
4361
4385
  "-webkit-backdrop-filter": "none",
@@ -4435,8 +4459,20 @@
4435
4459
  }
4436
4460
  },
4437
4461
  "fallbacks": {
4438
- "opaque": null,
4439
- "reducedTransparency": null,
4462
+ "opaque": {
4463
+ "declarations": {
4464
+ "-webkit-backdrop-filter": "none",
4465
+ "backdrop-filter": "none",
4466
+ "background": "var(--cr-surface)"
4467
+ }
4468
+ },
4469
+ "reducedTransparency": {
4470
+ "declarations": {
4471
+ "-webkit-backdrop-filter": "none",
4472
+ "backdrop-filter": "none",
4473
+ "background": "var(--cr-surface)"
4474
+ }
4475
+ },
4440
4476
  "forcedColors": {
4441
4477
  "declarations": {
4442
4478
  "-webkit-backdrop-filter": "none",
@@ -4566,6 +4602,179 @@
4566
4602
  "radius"
4567
4603
  ],
4568
4604
  "why": "A track and a thumb, painted on the slider's pseudo-elements (`::-webkit-slider-runnable-track`, `::-webkit-slider-thumb` and their `::-moz-range-` forms), which this record does not read."
4605
+ },
4606
+ ".cr-choice": {
4607
+ "selector": ".cr-choice",
4608
+ "fill": "linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
4609
+ "blur": "var(--cr-resin-blur)",
4610
+ "saturation": null,
4611
+ "rim": "1px solid var(--cr-rim)",
4612
+ "shadow": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)",
4613
+ "radius": "var(--cr-choice-box-radius, 9px)",
4614
+ "padding": null,
4615
+ "haze": null,
4616
+ "feather": null,
4617
+ "extras": {
4618
+ "box-sizing": "border-box",
4619
+ "display": "inline-grid",
4620
+ "flex": "none",
4621
+ "height": "var(--cr-choice-box-size, 26px)",
4622
+ "place-items": "center",
4623
+ "position": "relative",
4624
+ "width": "var(--cr-choice-box-size, 26px)"
4625
+ },
4626
+ "layers": {},
4627
+ "fallbacks": {
4628
+ "opaque": {
4629
+ "declarations": {
4630
+ "-webkit-backdrop-filter": "none",
4631
+ "backdrop-filter": "none",
4632
+ "background": "var(--cr-surface)"
4633
+ }
4634
+ },
4635
+ "reducedTransparency": {
4636
+ "declarations": {
4637
+ "-webkit-backdrop-filter": "none",
4638
+ "backdrop-filter": "none",
4639
+ "background": "var(--cr-surface)"
4640
+ }
4641
+ },
4642
+ "forcedColors": {
4643
+ "declarations": {
4644
+ "-webkit-backdrop-filter": "none",
4645
+ "backdrop-filter": "none",
4646
+ "background": "Field",
4647
+ "border-color": "FieldText",
4648
+ "box-shadow": "none"
4649
+ }
4650
+ },
4651
+ "noBackdropFilter": {
4652
+ "declarations": {
4653
+ "background": "var(--cr-surface)"
4654
+ }
4655
+ }
4656
+ },
4657
+ "conditions": {},
4658
+ "shadowed": [],
4659
+ "diagnostics": [],
4660
+ "missing": [],
4661
+ "why": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it."
4662
+ },
4663
+ ".cr-choice.radio": {
4664
+ "selector": ".cr-choice.radio",
4665
+ "fill": "linear-gradient(135deg,var(--cr-control-light),var(--cr-control-color)),var(--cr-resin-fill)",
4666
+ "blur": "var(--cr-resin-blur)",
4667
+ "saturation": null,
4668
+ "rim": "1px solid var(--cr-rim)",
4669
+ "shadow": "inset 0 2px 2px var(--cr-rim),0 2px 3px var(--cr-control-edge),0 5px 10px var(--cr-shadow-contact)",
4670
+ "radius": "50%",
4671
+ "padding": null,
4672
+ "haze": null,
4673
+ "feather": null,
4674
+ "extras": {
4675
+ "box-sizing": "border-box",
4676
+ "display": "inline-grid",
4677
+ "flex": "none",
4678
+ "height": "var(--cr-choice-box-size, 26px)",
4679
+ "place-items": "center",
4680
+ "position": "relative",
4681
+ "width": "var(--cr-choice-box-size, 26px)"
4682
+ },
4683
+ "layers": {},
4684
+ "fallbacks": {
4685
+ "opaque": {
4686
+ "declarations": {
4687
+ "-webkit-backdrop-filter": "none",
4688
+ "backdrop-filter": "none",
4689
+ "background": "var(--cr-surface)"
4690
+ }
4691
+ },
4692
+ "reducedTransparency": {
4693
+ "declarations": {
4694
+ "-webkit-backdrop-filter": "none",
4695
+ "backdrop-filter": "none",
4696
+ "background": "var(--cr-surface)"
4697
+ }
4698
+ },
4699
+ "forcedColors": {
4700
+ "declarations": {
4701
+ "-webkit-backdrop-filter": "none",
4702
+ "backdrop-filter": "none",
4703
+ "background": "Field",
4704
+ "border-color": "FieldText",
4705
+ "box-shadow": "none"
4706
+ }
4707
+ },
4708
+ "noBackdropFilter": {
4709
+ "declarations": {
4710
+ "background": "var(--cr-surface)"
4711
+ }
4712
+ }
4713
+ },
4714
+ "conditions": {},
4715
+ "shadowed": [],
4716
+ "diagnostics": [],
4717
+ "missing": [],
4718
+ "why": "The box alone, round: the dot inside it is the component's."
4719
+ },
4720
+ ".cr-choice.outline": {
4721
+ "selector": ".cr-choice.outline",
4722
+ "fill": "var(--cr-resin-fill)",
4723
+ "blur": "var(--cr-resin-blur)",
4724
+ "saturation": "var(--cr-resin-saturation)",
4725
+ "rim": "1px solid var(--cr-outline)",
4726
+ "shadow": "inset 0 2px 1px var(--cr-rim)",
4727
+ "radius": "var(--cr-choice-box-radius, 9px)",
4728
+ "padding": null,
4729
+ "haze": null,
4730
+ "feather": null,
4731
+ "extras": {
4732
+ "box-sizing": "border-box",
4733
+ "display": "inline-grid",
4734
+ "flex": "none",
4735
+ "height": "var(--cr-choice-box-size, 26px)",
4736
+ "place-items": "center",
4737
+ "position": "relative",
4738
+ "width": "var(--cr-choice-box-size, 26px)"
4739
+ },
4740
+ "layers": {},
4741
+ "fallbacks": {
4742
+ "opaque": {
4743
+ "declarations": {
4744
+ "-webkit-backdrop-filter": "none",
4745
+ "backdrop-filter": "none",
4746
+ "background": "var(--cr-surface)"
4747
+ }
4748
+ },
4749
+ "reducedTransparency": {
4750
+ "declarations": {
4751
+ "-webkit-backdrop-filter": "none",
4752
+ "backdrop-filter": "none",
4753
+ "background": "var(--cr-surface)"
4754
+ }
4755
+ },
4756
+ "forcedColors": {
4757
+ "declarations": {
4758
+ "-webkit-backdrop-filter": "none",
4759
+ "backdrop-filter": "none",
4760
+ "background": "Field",
4761
+ "border-color": "FieldText",
4762
+ "box-shadow": "none"
4763
+ }
4764
+ },
4765
+ "noBackdropFilter": {
4766
+ "declarations": {
4767
+ "background": "var(--cr-surface)"
4768
+ }
4769
+ }
4770
+ },
4771
+ "conditions": {},
4772
+ "shadowed": [],
4773
+ "diagnostics": [
4774
+ "rim composed from the border shorthand (1px solid var(--cr-rim)) and border-color (var(--cr-outline)), which cascades after it"
4775
+ ],
4776
+ "missing": [],
4777
+ "why": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it."
4569
4778
  }
4570
4779
  },
4571
4780
  "tokens": [
@@ -4575,11 +4784,13 @@
4575
4784
  "--cr-control-edge",
4576
4785
  "--cr-control-light",
4577
4786
  "--cr-ease-settle",
4787
+ "--cr-outline",
4578
4788
  "--cr-primary",
4579
4789
  "--cr-primary-soft",
4580
4790
  "--cr-range-progress",
4581
4791
  "--cr-resin-blur",
4582
4792
  "--cr-resin-fill",
4793
+ "--cr-resin-saturation",
4583
4794
  "--cr-rim",
4584
4795
  "--cr-shadow-cast",
4585
4796
  "--cr-shadow-contact",
@@ -187,9 +187,12 @@
187
187
  "name": "Selection control",
188
188
  "materials": ["Resin"],
189
189
  "class": "input:is([type=checkbox],[type=radio])",
190
- "also": ["input[type=checkbox][role=switch]", "input[type=range]"],
191
- "use": "Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native.",
190
+ "also": ["input[type=checkbox][role=switch]", "input[type=range]", ".cr-choice", ".cr-choice.radio", ".cr-choice.outline"],
191
+ "use": "Native checkbox, radio, switch and range, styled by element: a Resin box, circle or track with a contained mark, and the marked glass thumb. Semantics stay native. `.cr-choice` is the same box on any element, for a library that keeps the input visually hidden and draws the box itself (2.8.0); `.radio` is the circle, and a switch's track is the box at the track's size with the pill radius. The mark and the selected colour are the component's. `.cr-choice.outline` is the outlined box: the `--cr-outline` boundary, the plain Resin fill and a single inset rim (2.8.0). In opaque mode and under reduced transparency the box, native or not, becomes the surface with no backdrop (2.8.0).",
192
192
  "partial": {
193
+ ".cr-choice": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it.",
194
+ ".cr-choice.radio": "The box alone, round: the dot inside it is the component's.",
195
+ ".cr-choice.outline": "The box alone: the mark inside it and the colour of a selected box are drawn by the component that wears it.",
193
196
  "input[type=range]": "A track and a thumb, painted on the slider's pseudo-elements (`::-webkit-slider-runnable-track`, `::-webkit-slider-thumb` and their `::-moz-range-` forms), which this record does not read."
194
197
  }
195
198
  },