Skip to content

Commit

Permalink
update snapshot merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
joyceqin-stripe committed Dec 23, 2024
2 parents 2b13296 + a64e309 commit 8f3c036
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "icon-pm-revolutpay@3x.png",
"filename" : "icon-pm-revolutpay.svg",
"idiom" : "universal"
},
{
Expand All @@ -11,7 +11,7 @@
"value" : "dark"
}
],
"filename" : "icon-pm-revolutpay_dark@3x.png",
"filename" : "icon-pm-revolutpay_dark.svg",
"idiom" : "universal"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "icon-pm-swish@3x.png",
"filename" : "icon-pm-swish.png",
"idiom" : "universal"
}
],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
3 changes: 2 additions & 1 deletion StripeUICore/StripeUICore/Source/Elements/ElementsUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import UIKit

public static func makeErrorLabel(theme: ElementsAppearance) -> UILabel {
let label = UILabel()
label.font = theme.fonts.footnote
label.font = theme.fonts.error
label.textColor = theme.colors.danger
label.numberOfLines = 0
label.setContentHuggingPriority(.required, for: .vertical)
Expand Down Expand Up @@ -100,6 +100,7 @@ import UIKit
withTextStyle: .caption1,
maximumPointSize: 20)
public var footnote = UIFont.preferredFont(forTextStyle: .footnote, weight: .regular, maximumPointSize: 20)
public var error = UIFont.preferredFont(forTextStyle: .caption2, weight: .regular)
public var smallFootnote = UIFont.preferredFont(forTextStyle: .caption2, weight: .medium)
public var footnoteEmphasis = UIFont.preferredFont(forTextStyle: .footnote, weight: .medium, maximumPointSize: 20)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ final class SectionView: UIView {
let stack = UIStackView(arrangedSubviews: [titleLabel, containerView, errorOrSubLabel])
stack.axis = .vertical
stack.spacing = 4
stack.setCustomSpacing(8, after: containerView)
addAndPinSubview(stack)

update(with: viewModel)
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.
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 8f3c036

Please sign in to comment.