chromium/ios/chrome/browser/ui/tab_switcher/tab_strip/ui/tab_strip_constants_for_objective_c.swift

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import Foundation
import ios_chrome_browser_ui_tab_switcher_tab_strip_ui_swift_constants

/// Bridge to access `TabStripConstants.CollectionView` from Objective-C code.
@objcMembers public class TabStripCollectionViewConstants: NSObject {
  public static let tabStripGroupCellPrefixIdentifier = TabStripConstants.CollectionView
    .tabStripGroupCellPrefixIdentifier
  public static let tabStripTabCellPrefixIdentifier = TabStripConstants.CollectionView
    .tabStripTabCellPrefixIdentifier
  public static let groupStrokeLineWidth = TabStripConstants.CollectionView.groupStrokeLineWidth
  public static let groupStrokeExtension = TabStripConstants.CollectionView.groupStrokeExtension
}

/// Bridge to access `TabStripConstants.TabItem` from Objective-C code.
@objcMembers public class TabStripTabItemConstants: NSObject {
  public static let fontSize = TabStripConstants.TabItem.fontSize
  public static let selectedZIndex = TabStripConstants.TabItem.selectedZIndex
  public static let horizontalSpacing = TabStripConstants.TabItem.horizontalSpacing
  public static let closeButtonAccessibilityIdentifier = TabStripConstants.TabItem
    .closeButtonAccessibilityIdentifier
}

/// Bridge to access `TabStripConstants.GroupItem` from Objective-C code.
@objcMembers public class TabStripGroupItemConstants: NSObject {
  public static let titleContainerHorizontalPadding = TabStripConstants.GroupItem
    .titleContainerHorizontalPadding
  public static let titleContainerHorizontalMargin = TabStripConstants.GroupItem
    .titleContainerHorizontalMargin
  public static let fontSize = TabStripConstants.GroupItem.fontSize
  public static let maxTitleWidth = TabStripConstants.GroupItem.maxTitleWidth
}

/// Bridge to access `TabStripConstants.StaticSeparator` from Objective-C code.
@objcMembers public class TabStripStaticSeparatorConstants: NSObject {
  public static let separatorWidth = TabStripConstants.StaticSeparator.separatorWidth
  public static let regularSeparatorHeight = TabStripConstants.StaticSeparator
    .regularSeparatorHeight
  public static let separatorCornerRadius = TabStripConstants.StaticSeparator.separatorCornerRadius
}