Add support for defining the text entry type on CompoundTextFieldStyle. (#5757)

* Add support for defining the text entry type on CompoundTextFieldStyle.

* Use Xcode 26.5 when running Compound tests too.
This commit is contained in:
Doug
2026-06-18 19:18:44 +01:00
committed by GitHub
parent a520d94760
commit b38c216185
5 changed files with 110 additions and 31 deletions
@@ -20,7 +20,7 @@ struct PreviewTests {
private let deviceConfig: ViewImageConfig = .iPhoneX
private let simulatorDevice: String? = "iPhone14,6" // iPhone SE 3rd Generation
private let requiredOSVersion = (major: 26, minor: 4)
private let requiredOSVersion = (major: 26, minor: 5)
/// The key is the name we will give to the snapshot
/// The value is the actual device that will be used to render the preview
private let snapshotDevices: [SnapshotDevice] = [.init(name: "iPhone", device: "iPhone 17"),
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0e8869897ac8ba0ee0595d2f058868d12231a7c47888304fa740525d23e2ab7
size 198222
oid sha256:5b50af9a6a0b85eff9a5b0806d431b76bf6ff9def2d20ac32e63af1265f87bf6
size 234892
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b20272919b574830b6941fa1153a8487a0115da11a21e32d422522215b60f37b
size 122608
oid sha256:2f3f599dbbdaf73b51276cd5409fbb56c952f6627820d1324ce61cbeefb8b51a
size 144539