Skip to content

Commit

Permalink
refactor: 💡 [HCPSDKFIORIUIKIT-2879] KeyValueItem Refactor
Browse files Browse the repository at this point in the history
Change-Id: Ibd799f0fbfacdb88a3e33dd8efa1ce08b0f4f68c
Change-Id: 021bd17
  • Loading branch information
zuopengchi committed Dec 31, 2024
1 parent 021bd17 commit 332edef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
1 change: 1 addition & 0 deletions Sources/FioriSwiftUICore/Models/ModelDefinitions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public protocol _KeyValueItemModel: KeyComponent, ValueComponent {
var axis: Axis { get }
}

/// Deprecated KeyValueItemModel
@available(*, unavailable, renamed: "_KeyValueItemModel", message: "Will be removed in the future release. Please create KeyValueItem with other initializers instead.")
public protocol KeyValueItemModel {}

Expand Down
12 changes: 0 additions & 12 deletions Sources/FioriSwiftUICore/_FioriStyles/KeyStyle.fiori.swift
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
import FioriThemeManager

// Generated using Sourcery 2.1.7 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
import Foundation
import SwiftUI

/// **
// This file provides default fiori style for the component.
//
// 1. Uncomment the following code.
// 2. Implement layout and style in corresponding places.
// 3. Delete `.generated` from file name.
// 4. Move this file to `_FioriStyles` folder under `FioriSwiftUICore`.
// */
//
// Base Layout style
public struct KeyBaseStyle: KeyStyle {
@ViewBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import FioriThemeManager

// Generated using Sourcery 2.1.7 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT
import Foundation
import SwiftUI

Expand Down

0 comments on commit 332edef

Please sign in to comment.