Some more tweaks to compound for User Status. (#5708)

* Add a plain list modifier to Compound.

* Move ElementTextFieldStyle into Compound and support more styles from the Figma

- More accurately reflects our Liquid Glass updates.
- Adds support for the .raised style.

* Update Element X snapshots.
This commit is contained in:
Doug
2026-06-05 15:59:34 +01:00
committed by GitHub
parent 21d2f59b26
commit 097d055dbe
151 changed files with 574 additions and 531 deletions
@@ -32,6 +32,13 @@ extension PreviewTests {
}
}
@Test("CompoundTextFieldStyle")
func compoundTextFieldStyle() async throws {
for (index, preview) in CompoundTextFieldStyle_Previews._allPreviews.enumerated() {
try await assertSnapshots(matching: preview, step: index)
}
}
@Test("CompoundToggleStyle")
func compoundToggleStyle() async throws {
for (index, preview) in CompoundToggleStyle_Previews._allPreviews.enumerated() {
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0e8869897ac8ba0ee0595d2f058868d12231a7c47888304fa740525d23e2ab7
size 198222
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b20272919b574830b6941fa1153a8487a0115da11a21e32d422522215b60f37b
size 122608