Skip to content

Commit

Permalink
Fix renaming of card to user_profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
GilNovacomm authored and Maxfire committed Dec 3, 2021
1 parent a24d519 commit 26b2f11
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions templates/patterns/card/card.ui_patterns.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
card:
label: "Card"
description: "A user_profile is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. https://v5.getbootstrap.com/docs/5.0/components/user_profile"
description: "A card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. https://v5.getbootstrap.com/docs/5.0/components/card"
variants:
default:
label: Default
Expand Down Expand Up @@ -44,7 +44,7 @@ card:
horizontal:
type: boolean
label: "Horizontal"
description: "Horizontal user_profile"
description: "Horizontal card"
preview: false
call_to_action_button_variant:
type: select
Expand All @@ -64,29 +64,29 @@ card:
label: "Title"
description: "Card title [content, tag, classes]"
preview:
content: "Title user_profile"
content: "Title card"
tag: "h5"
subtitle:
type: "array"
label: "Subtitle"
description: "Card subtitle [content, tag, classes]"
preview:
content: "Subtitle user_profile"
content: "Subtitle card"
classes: "mb-2"
text:
type: "array"
label: "Text"
description: "Card text [content, tag, classes]"
preview:
content: "Text user_profile with longer text which is supported"
content: "Text card with longer text which is supported"
classes: "mb-2"
image:
type: "array"
label: "Image"
description: "Card image [path, alt, position]"
preview:
path: "https://placeimg.com/1000/500/arch"
alt: "Alternative text for user_profile image"
alt: "Alternative text for card image"
position: "top"
rounded: 3
content:
Expand All @@ -98,36 +98,36 @@ card:
type: "render"
label: "Card header"
description: "Card header content"
preview: "Header of user_profile"
preview: "Header of card"
card_footer:
type: "render"
label: "Card footer"
description: "Card footer content"
preview: "Footer of user_profile"
preview: "Footer of card"
call_to_action_button:
type: "render"
label: "Call to action"
label: "Call to action button"
description: "Add a call to action button"
preview: "Footer of user_profile"
preview: "<button class='btn btn-primary'>Custom action</button>"
horizontal_grid:
type: "array"
label: "Horizontal grid"
description: "Horizontal grid layout [left_col, right_col, gutter]"
extra_classes_body:
type: "text"
label: "Extra classes for user_profile body"
label: "Extra classes for card body"
preview: "body-class"
extra_classes_header:
type: "text"
label: "Extra classes for user_profile header"
label: "Extra classes for card header"
preview: "header-class"
extra_classes_footer:
type: "text"
label: "Extra classes for user_profile footer"
label: "Extra classes for card footer"
preview: "footer-class"
badges:
type: "array"
label: "Badges for the user_profile"
label: "Badges for the card"
preview:
- label: "Primary badge"
- label: "Secondary badge"
Expand Down

0 comments on commit 26b2f11

Please sign in to comment.