forked from nicolas-brousse/view_component
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release 3.5.0 * Fix inline render_parent tests
- Loading branch information
Showing
9 changed files
with
28 additions
and
37 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -10,6 +10,8 @@ nav_order: 5 | |
|
||
## main | ||
|
||
## 3.5.0 | ||
|
||
* Add Skroutz to users list. | ||
|
||
*Chris Nitsas* | ||
|
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 +1 @@ | ||
version: 3.4.0 | ||
version: 3.5.0 |
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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
module ViewComponent | ||
module VERSION | ||
MAJOR = 3 | ||
MINOR = 4 | ||
MINOR = 5 | ||
PATCH = 0 | ||
PRE = nil | ||
|
||
|
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,11 +1,11 @@ | ||
# frozen_string_literal: true | ||
|
||
class InlineLevel2Component < Level2Component | ||
class InlineLevel2Component < InlineLevel1Component | ||
def call | ||
"<div level2-component base>#{render_parent_to_string}</div>" | ||
"<div class='level2-component base'>#{render_parent_to_string}</div>".html_safe | ||
end | ||
|
||
def call_variant | ||
"<div level2-component variant>#{render_parent_to_string}</div>" | ||
"<div class='level2-component variant'>#{render_parent_to_string}</div>".html_safe | ||
end | ||
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,15 +1,15 @@ | ||
# frozen_string_literal: true | ||
|
||
class InlineLevel3Component < Level2Component | ||
class InlineLevel3Component < InlineLevel2Component | ||
def call | ||
content_tag(:div, class: "level3-component base") do | ||
render_parent | ||
render_parent_to_string | ||
end | ||
end | ||
|
||
def call_variant | ||
content_tag(:div, class: "level3-component variant") do | ||
render_parent | ||
render_parent_to_string | ||
end | ||
end | ||
end |