-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAY-1445] Use New Content Tag (#3548)
- Loading branch information
1 parent
735f1d0
commit 2723df4
Showing
15 changed files
with
17 additions
and
92 deletions.
There are no files selected for viewing
13 changes: 2 additions & 11 deletions
13
playbook/app/pb_kits/playbook/pb_background/background.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<%= content_tag(object.tag, | ||
aria: object.aria, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag(object.tag) do %> | ||
<%= object.content %> | ||
<% end %> |
7 changes: 1 addition & 6 deletions
7
playbook/app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
playbook/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<%= content_tag(:nav, | ||
aria: object.aria, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag(:nav) do %> | ||
<%= content.presence %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<%= content_tag(object.tag, | ||
aria: object.aria, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag(object.tag) do %> | ||
<%= content.presence || object.text %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<%= content_tag(object.tag, | ||
aria: object.aria, | ||
class: object.classname, | ||
data: object.data, | ||
id: object.id, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag(object.tag) do %> | ||
<%= object.content %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
<%= content_tag(:div, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
aria: object.aria, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag do %> | ||
<%= content.presence || object.text %> | ||
<% end %> |
7 changes: 2 additions & 5 deletions
7
playbook/app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
playbook/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
<%= content_tag(:div, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag do %> | ||
<%= content.presence %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
playbook/app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
<%= content_tag(:div, | ||
id: object.id, | ||
data: object.data, | ||
class: object.classname, | ||
**combined_html_options) do %> | ||
<%= pb_content_tag do %> | ||
<%= pb_rails("home_address_street/#{emphasis}_emphasis", props: object.send("#{emphasis}_emphasis_props")) %> | ||
<% end %> | ||
|