Skip to main content

max / makeover-webview

0.71.0: follow makeover-layout to 0.42.0 `links = "makeover-layout"` forbids two copies of the vocabulary in one graph, so every consumer moves in the same wave rather than at its own pace. Minor bump because the requirement change is breaking for anything downstream of this crate, whatever else did or did not change here.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session
https://claude.ai/code/session_01MptwXZ8k65v19rFmdGAyki
Author: Max Johnson <me@maxj.phd> · 2026-09-01 21:03 UTC
Signed with PGP, not checked
Commit: d4962b85f8f73e5fc13e82e12ef969dbfc96d897
Parent: 32043ef
3 files changed, +17 insertions, -16 deletions
M Cargo.toml +3 -3
@@ -1,6 +1,6 @@
1 1 [package]
2 2 name = "makeover-webview"
3 - version = "0.70.2"
3 + version = "0.71.0"
4 4 edition = "2024"
5 5 # One copy of this renderer per dependency graph, enforced by cargo rather than
6 6 # by remembering. Two versions means the generated stylesheet and the emitted
@@ -18,7 +18,7 @@
18 18 # patch satisfy the requirement and still fail to compile. That happened once
19 19 # with `form::radio_html` calling `FieldKind::Radio`, and makeover-build is where
20 20 # it surfaced, one release later.
21 - makeover-layout = "0.41.0"
21 + makeover-layout = "0.42"
22 22 # The capability axis. `makeover-touch` decides whether a hover rule should be
23 23 # gated at all; `makeover-geometry` spells the gate as a media condition. Both
24 24 # answers are owned elsewhere and neither is re-derived here.
@@ -28,7 +28,7 @@
28 28 # satisfies "0.8" and keeps a second makeover-geometry in the graph next to the
29 29 # 0.7 this crate asks for. `Density` is nominally distinct across the two and
30 30 # the build fails on a type that reads as identical.
31 - makeover-touch = "0.31.0"
31 + makeover-touch = "0.32"
32 32 makeover-geometry = "0.7"
33 33
34 34 [lints.rust]
M src/corpus.rs +6 -5
@@ -24,7 +24,8 @@
24 24 use crate::{meter::meter_html, placeholder::placeholder_html};
25 25 use makeover_layout::{
26 26 Accepted, CellPart, Choice, Column, Contrast, Facet, FacetValue, Field, FieldKind, Figure,
27 - Meter, Priority, Readiness, Selecting, Sort, Standing, ThemeChoice, ThemeVariant, Tone, Width,
27 + Meter, Nesting, Priority, Readiness, Selecting, Sort, Standing, ThemeChoice, ThemeVariant,
28 + Tone, Width,
28 29 };
29 30 use std::collections::BTreeSet;
30 31
@@ -81,14 +82,14 @@
81 82 FacetValue::new("music", "Music")
82 83 .standing(Standing::Taken)
83 84 .counted(128)
84 - .at(0, true),
85 + .at(Nesting::at(0), true),
85 86 FacetValue::new("music/synths", "Synths")
86 87 .standing(Standing::Inherited)
87 - .at(1, false),
88 + .at(Nesting::at(1), false),
88 89 FacetValue::new("music/drums", "Drums")
89 90 .standing(Standing::Pruned)
90 - .at(1, false),
91 - FacetValue::new("talk", "Talk").at(0, false),
91 + .at(Nesting::at(1), false),
92 + FacetValue::new("talk", "Talk").at(Nesting::at(0), false),
92 93 ];
93 94 out.push(facet_html(&Facet::new("Tag", mode, &values), opts));
94 95 }
M src/facet.rs +8 -8
@@ -37,7 +37,7 @@
37 37 use crate::form::escape_into;
38 38 use crate::reset::Reset;
39 39 use crate::{Emit, class, push_class};
40 - use makeover_layout::{Depth, Facet, FacetValue, Selecting, Standing};
40 + use makeover_layout::{Depth, Facet, FacetValue, Nesting, Selecting, Standing};
41 41 use std::fmt::Write as _;
42 42
43 43 /// The classes this module can put in markup.
@@ -95,15 +95,15 @@
95 95 /// A facet as a labelled list of values.
96 96 ///
97 97 /// ```
98 - /// use makeover_layout::{Facet, FacetValue, Selecting, Standing};
98 + /// use makeover_layout::{Facet, FacetValue, Nesting, Selecting, Standing};
99 99 /// use makeover_webview::{Emit, facet::facet_html};
100 100 ///
101 101 /// let values = [
102 102 /// FacetValue::new("music", "Music")
103 103 /// .standing(Standing::Taken)
104 104 /// .counted(128)
105 - /// .at(0, true),
106 - /// FacetValue::new("music/synths", "Synths").at(1, false),
105 + /// .at(Nesting::at(0), true),
106 + /// FacetValue::new("music/synths", "Synths").at(Nesting::at(1), false),
107 107 /// ];
108 108 /// let facet = Facet::new("Tag", Selecting::Subtree, &values);
109 109 /// let html = facet_html(&facet, &Emit::default());
@@ -161,7 +161,7 @@
161 161 push_class(out, "facet-value", opts);
162 162 out.push_str("\" data-standing=\"");
163 163 out.push_str(standing_name(value.standing));
164 - let _ = write!(out, "\" style=\"--facet-depth: {}\">", value.depth);
164 + let _ = write!(out, "\" style=\"--facet-depth: {}\">", value.depth.level);
165 165
166 166 out.push_str("<button type=\"button\" class=\"");
167 167 push_class(out, "facet-take", opts);
@@ -314,13 +314,13 @@
314 314 FacetValue::new("music", "Music")
315 315 .standing(Standing::Taken)
316 316 .counted(128)
317 - .at(0, true),
317 + .at(Nesting::at(0), true),
318 318 FacetValue::new("music/synths", "Synths")
319 319 .standing(Standing::Inherited)
320 - .at(1, false),
320 + .at(Nesting::at(1), false),
321 321 FacetValue::new("music/drums", "Drums")
322 322 .standing(Standing::Pruned)
323 - .at(1, false),
323 + .at(Nesting::at(1), false),
324 324 ]
325 325 }
326 326