-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🎸 [JIRA:HCPSDKFIORIUIKIT-2707] Resolve review comments
✅ Closes: JIRA:HCPSDKFIORIUIKIT-2707
- Loading branch information
Showing
31 changed files
with
1,744 additions
and
337 deletions.
There are no files selected for viewing
217 changes: 159 additions & 58 deletions
217
Apps/Examples/Examples/FioriSwiftUICore/FormViews/RatingControlFormViewExample.swift
Large diffs are not rendered by default.
Oops, something went wrong.
158 changes: 141 additions & 17 deletions
158
Apps/Examples/Examples/FioriSwiftUICore/RatingControl/RatingControlExample.swift
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
Sources/FioriSwiftUICore/_FioriStyles/HalfStarImageStyle.fiori.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import FioriThemeManager | ||
import Foundation | ||
import SwiftUI | ||
|
||
// Base Layout style | ||
public struct HalfStarImageBaseStyle: HalfStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: HalfStarImageConfiguration) -> some View { | ||
// Add default layout here | ||
configuration.halfStarImage | ||
} | ||
} | ||
|
||
// Default fiori styles | ||
public struct HalfStarImageFioriStyle: HalfStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: HalfStarImageConfiguration) -> some View { | ||
HalfStarImage(configuration) | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Sources/FioriSwiftUICore/_FioriStyles/OffStarImageStyle.fiori.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import FioriThemeManager | ||
import Foundation | ||
import SwiftUI | ||
|
||
// Base Layout style | ||
public struct OffStarImageBaseStyle: OffStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: OffStarImageConfiguration) -> some View { | ||
// Add default layout here | ||
configuration.offStarImage | ||
} | ||
} | ||
|
||
// Default fiori styles | ||
public struct OffStarImageFioriStyle: OffStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: OffStarImageConfiguration) -> some View { | ||
OffStarImage(configuration) | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Sources/FioriSwiftUICore/_FioriStyles/OnStarImageStyle.fiori.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import FioriThemeManager | ||
import Foundation | ||
import SwiftUI | ||
|
||
// Base Layout style | ||
public struct OnStarImageBaseStyle: OnStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: OnStarImageConfiguration) -> some View { | ||
// Add default layout here | ||
configuration.onStarImage | ||
} | ||
} | ||
|
||
// Default fiori styles | ||
public struct OnStarImageFioriStyle: OnStarImageStyle { | ||
@ViewBuilder | ||
public func makeBody(_ configuration: OnStarImageConfiguration) -> some View { | ||
OnStarImage(configuration) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.