mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
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:
@@ -6,13 +6,13 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import DesignKit
|
||||
import Compound
|
||||
import SwiftUI
|
||||
|
||||
struct TextFieldsScreen: View {
|
||||
var body: some View {
|
||||
ScreenContent(navigationTitle: "Text Fields") {
|
||||
BorderedInputFieldStyle_Previews.states
|
||||
CompoundTextFieldStyle_Previews.states
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ enum Screen: Hashable, View {
|
||||
case .sizes: EmptyView()
|
||||
case .labels: EmptyView()
|
||||
case .buttons: ButtonsScreen()
|
||||
case .textFields: EmptyView()
|
||||
case .textFields: TextFieldsScreen()
|
||||
case .bigIcon: BigIconScreen()
|
||||
case .titleAndIcon: TitleAndIconScreen()
|
||||
|
||||
|
||||
@@ -42,6 +42,9 @@ struct SidebarList: View {
|
||||
NavigationLink(value: Screen.buttons) {
|
||||
Label("Buttons", systemImage: "rectangle.and.hand.point.up.left")
|
||||
}
|
||||
NavigationLink(value: Screen.textFields) {
|
||||
Label("Text Fields", systemImage: "character.textbox")
|
||||
}
|
||||
NavigationLink(value: Screen.list) {
|
||||
Label("List", systemImage: "list.bullet.clipboard")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user