Skip to content

Commit cd15cda

Browse files
committed
Set correct status on openproject components
1 parent 0a1ccf6 commit cd15cda

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

app/components/primer/open_project/avatar_stack.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ module OpenProject
77
#
88
# Uses a different slot name (avatar_with_fallbacks) to avoid conflicts with the parent's avatars slot.
99
class AvatarStack < Primer::Beta::AvatarStack
10+
status :open_project
11+
1012
# Required list of stacked avatars with fallback support.
1113
#
1214
# @param kwargs [Hash] The same arguments as <%= link_to_component(Primer::OpenProject::AvatarWithFallback) %>.

app/components/primer/open_project/avatar_with_fallback.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module OpenProject
1414
# Primer::Beta::Avatar without modifying its interface, ensuring compatibility
1515
# with upstream changes.
1616
class AvatarWithFallback < Primer::Beta::Avatar
17+
status :open_project
18+
1719
# @see
1820
# - https://primer.style/foundations/typography/
1921
# - https://github.com/primer/css/blob/main/src/support/variables/typography.scss

previews/primer/open_project/avatar_with_fallback_preview.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
module Primer
44
module OpenProject
5-
# @label OpenProject AvatarWithFallback
5+
# @label AvatarWithFallback
66
class AvatarWithFallbackPreview < ViewComponent::Preview
77
# @label Playground
88
#
9-
# @param size [Integer] select [16, 20, 24, 32, 40, 48, 80]
9+
# @param size [Integer] select [16, 20, 24, 32, 40, 48, 64, 80]
1010
# @param shape [Symbol] select [circle, square]
1111
# @param href [String] text
1212
# @param with_src [Boolean] toggle

0 commit comments

Comments
 (0)