Skip to content

Commit

Permalink
Release 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
runner authored and runner committed Jan 30, 2024
1 parent 31615d7 commit 39bf2fc
Show file tree
Hide file tree
Showing 15 changed files with 90 additions and 76 deletions.
24 changes: 12 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,33 @@ let package = Package(

.binaryTarget(
name: "ObjcExceptionBridging",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881910.zip",
checksum: "3ea6db856a16ad0c9ed07fb317972cbe60a734bda04a6ed08f230b335801a292"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777783.zip",
checksum: "ba1ebdcfceb6a26d488d15c18099e99108438e1b9b6873128dfc69910001131b"
),
.binaryTarget(
name: "_HVAVCamera",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881912.zip",
checksum: "255dad91d994e6378b15c89c9be0ed50c3ded14012c6e9bb267104407d56f038"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777784.zip",
checksum: "e9b6ec85d7b832570943fa728190ddcad968315c1bddcd486093acc742c4fddf"
),
.binaryTarget(
name: "_HVCameraExterior",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881918.zip",
checksum: "ab95a26c936b94281c9dbeca1563e517dd9bdfe4e8f147fff3a82440accf18a0"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777790.zip",
checksum: "af7d26bff256ccd6ba58109fc7b2441648a6f8217c142c9ff91be4e7c9420bab"
),
.binaryTarget(
name: "_HVCore",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881921.zip",
checksum: "6bf6d00ab5cc10dc5cc7d624f9e0a2d83d357a0c37a255a9f3a74a26f2047624"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777792.zip",
checksum: "dd82d0691ab076295191149879687422d046b95c3b3f6472591f566fc61b02ff"
),
.binaryTarget(
name: "_HVCVPixelBufferHelper",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881915.zip",
checksum: "2e1733fb2a2fa1f19b52640c6b879970dc0851f3789fb33baa05ae0b8110d938"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777789.zip",
checksum: "91bdbc37052d1718c13ae5961708c0fe92f28321c8c21e04e0672c5152293ad3"
),
.binaryTarget(
name: "_XCGLogger",
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/147881923.zip",
checksum: "de60603daf0f6223325c1624460fdcdc079b0b9f60d71a96802ba69191f3b402"
url: "https://api.github.com/repos/hoverinc/hover-capture-ios/releases/assets/148777794.zip",
checksum: "b0ca2128ad0a1d9b853ca5f53ff2bd0541328e5c14cf7104585744c711f71566"
),
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ struct HVTheme {
galleryDeleteConfirmHeader: String? = nil,
galleryDeleteConfirmBody: String? = nil,
successIcon: Image? = nil,
successHeader: String? = nil,
successMessage: String? = nil,
successNextSteps: String? = nil,
cameraCaptureBackground: Color? = nil,
Expand All @@ -50,8 +51,7 @@ struct HVTheme {
secondaryButtonText: HVColorStateList? = nil,
secondaryButtonShadowBackground: HVColorStateList? = nil,
secondaryButtonStrokeColor: HVColorStateList? = nil,
secondaryButtonStrokeWidth: CGFloat? = nil,
toolbarLogo: (() -> AnyView)? = nil
secondaryButtonStrokeWidth: CGFloat? = nil
) {
// ...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ struct HVTheme {
galleryDeleteConfirmHeader: String? = nil,
galleryDeleteConfirmBody: String? = nil,
successIcon: Image? = nil,
successHeader: String? = nil,
successMessage: String? = nil,
successNextSteps: String? = nil,
cameraCaptureBackground: Color? = nil,
Expand All @@ -57,8 +58,7 @@ struct HVTheme {
secondaryButtonText: HVColorStateList? = nil,
secondaryButtonShadowBackground: HVColorStateList? = nil,
secondaryButtonStrokeColor: HVColorStateList? = nil,
secondaryButtonStrokeWidth: CGFloat? = nil,
toolbarLogo: (() -> AnyView)? = nil
secondaryButtonStrokeWidth: CGFloat? = nil
) {
// ...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HVCaptureSDK
import SwiftUI

extension HVTheme {
public static let tutorialTheme = HVTheme(
static let tutorialTheme = HVTheme(
primary: .green,
onPrimary: .black,
primaryContainer: .blue,
Expand All @@ -15,12 +15,16 @@ extension HVTheme {
surface: .pink,
onSurface: .red,
textPrimary: .black,
textSecondary: Color(uiColor: .darkGray),
textPrimaryDark: Color(uiColor: .lightGray),
footerCTABackground: .gray,
textSecondary:
Color(uiColor: .darkGray),
textPrimaryDark: .gray,
footerCTABackground:
Color(uiColor: .lightGray),
cameraCaptureBackground: .teal,
toolbarBackground: .orange.opacity(0.3),
toolbarBackground:
.orange.opacity(0.3),
toolbarHeader: .purple,
toolbarIcon: .mint,
textLink: .yellow
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HVCaptureSDK
import SwiftUI

extension HVTheme {
public static let tutorialTheme = HVTheme(
static let tutorialTheme = HVTheme(
primary: .green,
onPrimary: .black,
primaryContainer: .blue,
Expand All @@ -15,20 +15,23 @@ extension HVTheme {
surface: .pink,
onSurface: .red,
textPrimary: .black,
textSecondary: Color(uiColor: .darkGray),
textPrimaryDark: Color(uiColor: .lightGray),
footerCTABackground: .gray,
toolbarBack: Image(systemName: "paperplane"),
toolbarClose: Image(systemName: "heart.slash"),
successIcon: Image(systemName: "checkmark.seal.fill"),
textSecondary:
Color(uiColor: .darkGray),
textPrimaryDark: .gray,
footerCTABackground:
Color(uiColor: .lightGray),
toolbarBack:
Image(systemName: "paperplane"),
toolbarClose:
Image(systemName: "heart.slash"),
successIcon:
Image(systemName: "checkmark.seal.fill"),
cameraCaptureBackground: .teal,
toolbarBackground: .orange.opacity(0.3),
toolbarBackground:
.orange.opacity(0.3),
toolbarHeader: .purple,
textLink: .yellow,
toolbarLogo: {
AnyView(Image(systemName: "wrench.and.screwdriver.fill")
.padding(.bottom, 12))
}
toolbarIcon: .mint,
textLink: .yellow
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HVCaptureSDK
import SwiftUI

extension HVTheme {
public static let tutorialTheme = HVTheme(
static let tutorialTheme = HVTheme(
primary: .green,
onPrimary: .black,
primaryContainer: .blue,
Expand All @@ -15,25 +15,28 @@ extension HVTheme {
surface: .pink,
onSurface: .red,
textPrimary: .black,
textSecondary: Color(uiColor: .darkGray),
textPrimaryDark: Color(uiColor: .lightGray),
footerCTABackground: .gray,
toolbarBack: Image(systemName: "paperplane"),
toolbarClose: Image(systemName: "heart.slash"),
successIcon: Image(systemName: "checkmark.seal.fill"),
textSecondary:
Color(uiColor: .darkGray),
textPrimaryDark: .gray,
footerCTABackground:
Color(uiColor: .lightGray),
toolbarBack:
Image(systemName: "paperplane"),
toolbarClose:
Image(systemName: "heart.slash"),
successIcon:
Image(systemName: "checkmark.seal.fill"),
cameraCaptureBackground: .teal,
toolbarBackground: .orange.opacity(0.3),
toolbarBackground:
.orange.opacity(0.3),
toolbarHeader: .purple,
toolbarIcon: .mint,
textLink: .yellow,
illustrationMainStroke: .white,
illustrationSubStroke: .black,
gridItemBorder: .purple,
gridItemBackground: .gray,
gridItemBorderRadius: 30,
toolbarLogo: {
AnyView(Image(systemName: "wrench.and.screwdriver.fill")
.padding(.bottom, 12))
}
gridItemBorderRadius: 30
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HVCaptureSDK
import SwiftUI

extension HVTheme {
public static let tutorialTheme = HVTheme(
static let tutorialTheme = HVTheme(
primary: .green,
onPrimary: .black,
primaryContainer: .blue,
Expand All @@ -15,45 +15,47 @@ extension HVTheme {
surface: .pink,
onSurface: .red,
textPrimary: .black,
textSecondary: Color(uiColor: .darkGray),
textPrimaryDark: Color(uiColor: .lightGray),
footerCTABackground: .gray,
toolbarBack: Image(systemName: "paperplane"),
toolbarClose: Image(systemName: "heart.slash"),
textSecondary:
Color(uiColor: .darkGray),
textPrimaryDark: .gray,
footerCTABackground:
Color(uiColor: .lightGray),
toolbarBack:
Image(systemName: "paperplane"),
toolbarClose:
Image(systemName: "heart.slash"),
permissionCameraHeader:
"Camera permissions header is customizable",
permissionCameraBody:
"Camera permissions body is customizable",
permissionCameraConfirm:
"Camera permissions button is customizable",
"Customizable Camera button",
permissionCameraDeniedButtonText:
"Camera permissions denied button is customizable",
permissionLocationHeader:
"Location permissions header is customizable",
permissionLocationBody:
"Location permissions body is customizable",
permissionLocationConfirm:
"Location permissions button is customizable",
"Customizable Location button",
galleryDeleteConfirmHeader:
"Photo gallery delete header is customizable",
galleryDeleteConfirmBody:
"Photo gallery delete confirmation button is customizable",
"Customizable delete button",
successIcon: Image(systemName: "checkmark.seal.fill"),
successHeader: "Success screen header is customizable",
successMessage: "Success screen message is customizable",
successNextSteps: "Success screen next steps are customizable",
cameraCaptureBackground: .teal,
toolbarBackground: .orange.opacity(0.3),
toolbarHeader: .purple,
toolbarIcon: .mint,
textLink: .yellow,
illustrationMainStroke: .white,
illustrationSubStroke: .black,
gridItemBorder: .purple,
gridItemBackground: .gray,
gridItemBorderRadius: 30,
toolbarLogo: {
AnyView(Image(systemName: "wrench.and.screwdriver.fill")
.padding(.bottom, 12))
}
gridItemBorderRadius: 30
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import HVCaptureSDK
import SwiftUI

extension HVTheme {
public static let tutorialTheme = HVTheme(
static let tutorialTheme = HVTheme(
primary: .green,
onPrimary: .black,
primaryContainer: .blue,
Expand All @@ -15,43 +15,49 @@ extension HVTheme {
surface: .pink,
onSurface: .red,
textPrimary: .black,
textSecondary: Color(uiColor: .darkGray),
textPrimaryDark: Color(uiColor: .lightGray),
footerCTABackground: .gray,
toolbarBack: Image(systemName: "paperplane"),
toolbarClose: Image(systemName: "heart.slash"),
textSecondary:
Color(uiColor: .darkGray),
textPrimaryDark: .gray,
footerCTABackground:
Color(uiColor: .lightGray),
toolbarBack:
Image(systemName: "paperplane"),
toolbarClose:
Image(systemName: "heart.slash"),
permissionCameraHeader:
"Camera permissions header is customizable",
permissionCameraBody:
"Camera permissions body is customizable",
permissionCameraConfirm:
"Camera permissions button is customizable",
"Customizable Camera button",
permissionCameraDeniedButtonText:
"Camera permissions denied button is customizable",
permissionLocationHeader:
"Location permissions header is customizable",
permissionLocationBody:
"Location permissions body is customizable",
permissionLocationConfirm:
"Location permissions button is customizable",
"Customizable Location button",
galleryDeleteConfirmHeader:
"Photo gallery delete header is customizable",
galleryDeleteConfirmBody:
"Photo gallery delete confirmation button is customizable",
"Customizable delete button",
successIcon: Image(systemName: "checkmark.seal.fill"),
successHeader: "Success screen header is customizable",
successMessage: "Success screen message is customizable",
successNextSteps: "Success screen next steps are customizable",
cameraCaptureBackground: .teal,
toolbarBackground: .orange.opacity(0.3),
toolbarHeader: .purple,
toolbarIcon: .mint,
textLink: .yellow,
illustrationMainStroke: .white,
illustrationSubStroke: .black,
gridItemBorder: .purple,
gridItemBackground: .gray,
gridItemBorderRadius: 30,
primaryButtonBackground:
HVColorStateList(active: .init(uiColor: .lightGray), pressed: .gray, inactive: .init(uiColor: .darkGray)),
HVColorStateList(active: .black, pressed: .gray, inactive: .init(uiColor: .darkGray)),
primaryButtonText:
HVColorStateList(active: .red, pressed: .green, inactive: .blue),
primaryButtonShadowBackground:
Expand All @@ -65,11 +71,7 @@ extension HVTheme {
HVColorStateList(active: .green, pressed: .mint, inactive: .teal),
secondaryButtonStrokeColor:
HVColorStateList(active: .blue, pressed: .teal, inactive: .brown),
secondaryButtonStrokeWidth: 10,
toolbarLogo: {
AnyView(Image(systemName: "wrench.and.screwdriver.fill")
.padding(.bottom, 12))
}
secondaryButtonStrokeWidth: 10
)
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 39bf2fc

Please sign in to comment.