Skip to content

Commit dcfd5b9

Browse files
committed
Formatter
1 parent 7dc0c24 commit dcfd5b9

File tree

20 files changed

+219
-219
lines changed

20 files changed

+219
-219
lines changed

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
elixir 1.14.5
2-
erlang 25.1.2
1+
elixir 1.18.3
2+
erlang 27.3.2
33
nodejs 16.13.0

lib/bitstyles_phoenix/alpine3/dropdown.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ defmodule BitstylesPhoenix.Alpine3.Dropdown do
3030
"Dropdown with alpine",
3131
"""
3232
iex> assigns = %{}
33-
...> render ~H"""
33+
...> render ~H\"""
3434
...> <.ui_js_dropdown>
3535
...> <:button label="Select me"/>
3636
...> <:menu>
@@ -42,7 +42,7 @@ defmodule BitstylesPhoenix.Alpine3.Dropdown do
4242
...> </.ui_dropdown_option>
4343
...> </:menu>
4444
...> </.ui_js_dropdown>
45-
...> """
45+
...> \"""
4646
""",
4747
"""
4848
\"""
@@ -86,7 +86,7 @@ defmodule BitstylesPhoenix.Alpine3.Dropdown do
8686
"Custom x-data name and icon file",
8787
"""
8888
iex> assigns = %{}
89-
...> render ~H"""
89+
...> render ~H\"""
9090
...> <.ui_js_dropdown x_name="myOwnDropDown">
9191
...> <:button label="Select me" icon_file="assets/icons.svg"/>
9292
...> <:menu>
@@ -98,7 +98,7 @@ defmodule BitstylesPhoenix.Alpine3.Dropdown do
9898
...> </.ui_dropdown_option>
9999
...> </:menu>
100100
...> </.ui_js_dropdown>
101-
...> """
101+
...> \"""
102102
""",
103103
"""
104104
\"""

lib/bitstyles_phoenix/alpine3/sidebar.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ defmodule BitstylesPhoenix.Alpine3.Sidebar do
1313
"Full example",
1414
"""
1515
iex> assigns = %{}
16-
...> render ~H"""
16+
...> render ~H\"""
1717
...> <.ui_js_sidebar_layout>
1818
...> <:large_sidebar>
1919
...> <a href="#" class="u-padding-l">
@@ -47,7 +47,7 @@ defmodule BitstylesPhoenix.Alpine3.Sidebar do
4747
...> </.ui_content>
4848
...> </:main>
4949
...> </.ui_js_sidebar_layout>
50-
...> """
50+
...> \"""
5151
""",
5252
"""
5353
\"""

lib/bitstyles_phoenix/component/avatar.ex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ defmodule BitstylesPhoenix.Component.Avatar do
1818
"Default avatar",
1919
"""
2020
iex> assigns = %{}
21-
...> render ~H"""
21+
...> render ~H\"""
2222
...> <.ui_avatar src="https://placehold.co/100x100" alt="Username’s avatar"/>
23-
...> """
23+
...> \"""
2424
""",
2525
"""
2626
\"""
@@ -37,9 +37,9 @@ defmodule BitstylesPhoenix.Component.Avatar do
3737
"With extra class",
3838
"""
3939
iex> assigns = %{}
40-
...> render ~H"""
40+
...> render ~H\"""
4141
...> <.ui_avatar src="https://placehold.co/100x100" class="foo bar" alt="Username’s avatar"/>
42-
...> """
42+
...> \"""
4343
""",
4444
"""
4545
\"""
@@ -56,9 +56,9 @@ defmodule BitstylesPhoenix.Component.Avatar do
5656
"Large avatar",
5757
"""
5858
iex> assigns = %{}
59-
...> render ~H"""
59+
...> render ~H\"""
6060
...> <.ui_avatar size="l" src="https://placehold.co/100x100" alt="Username’s avatar" height="46" width="46"/>
61-
...> """
61+
...> \"""
6262
""",
6363
"""
6464
\"""
@@ -75,9 +75,9 @@ defmodule BitstylesPhoenix.Component.Avatar do
7575
"Avatar with a text",
7676
"""
7777
iex> assigns = %{}
78-
...> render ~H"""
78+
...> render ~H\"""
7979
...> <.ui_avatar src="https://placehold.co/100x100" alt="Username’s avatar"> Username </.ui_avatar>
80-
...> """
80+
...> \"""
8181
""",
8282
"""
8383
\"""

lib/bitstyles_phoenix/component/badge.ex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ defmodule BitstylesPhoenix.Component.Badge do
2222
"Default badge",
2323
"""
2424
iex> assigns = %{}
25-
...> render ~H"""
25+
...> render ~H\"""
2626
...> <.ui_badge>
2727
...> published
2828
...> </.ui_badge>
29-
...> """
29+
...> \"""
3030
""",
3131
"6.0.0": """
3232
\"""
@@ -55,11 +55,11 @@ defmodule BitstylesPhoenix.Component.Badge do
5555
"Badge variant brand-1",
5656
"""
5757
iex> assigns = %{}
58-
...> render ~H"""
58+
...> render ~H\"""
5959
...> <.ui_badge variant="brand-1">
6060
...> new
6161
...> </.ui_badge>
62-
...> """
62+
...> \"""
6363
""",
6464
"6.0.0": """
6565
\"""
@@ -81,11 +81,11 @@ defmodule BitstylesPhoenix.Component.Badge do
8181
"Badge variant brand-2",
8282
"""
8383
iex> assigns = %{}
84-
...> render ~H"""
84+
...> render ~H\"""
8585
...> <.ui_badge variant="brand-2">
8686
...> recommended
8787
...> </.ui_badge>
88-
...> """
88+
...> \"""
8989
""",
9090
"""
9191
\"""
@@ -100,11 +100,11 @@ defmodule BitstylesPhoenix.Component.Badge do
100100
"Badge variant danger",
101101
"""
102102
iex> assigns = %{}
103-
...> render ~H"""
103+
...> render ~H\"""
104104
...> <.ui_badge variant="danger">
105105
...> deleted
106106
...> </.ui_badge>
107-
...> """
107+
...> \"""
108108
""",
109109
"""
110110
\"""
@@ -119,11 +119,11 @@ defmodule BitstylesPhoenix.Component.Badge do
119119
"Extra options and classes",
120120
"""
121121
iex> assigns = %{}
122-
...> render ~H"""
122+
...> render ~H\"""
123123
...> <.ui_badge class="extra-class" data-foo="bar">
124124
...> published
125125
...> </.ui_badge>
126-
...> """
126+
...> \"""
127127
""",
128128
"""
129129
\"""

lib/bitstyles_phoenix/component/breadcrumbs.ex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ defmodule BitstylesPhoenix.Component.Breadcrumbs do
3232
"Breadcrumbs",
3333
"""
3434
iex> assigns = %{}
35-
...> render ~H"""
35+
...> render ~H\"""
3636
...> <.ui_breadcrumbs>
3737
...> <:item>Foo</:item>
3838
...> <:item>Bar</:item>
3939
...> <:item>Baz</:item>
4040
...> </.ui_breadcrumbs>
41-
...> """
41+
...> \"""
4242
""",
4343
[
4444
"6.0.0": """
@@ -142,9 +142,9 @@ defmodule BitstylesPhoenix.Component.Breadcrumbs do
142142
"Breadcrumbs via array",
143143
"""
144144
iex> assigns = %{}
145-
...> render ~H"""
145+
...> render ~H\"""
146146
...> <.ui_breadcrumbs items={["Foo", "Bar", "Baz"]} />
147-
...> """
147+
...> \"""
148148
""",
149149
"""
150150
\"""
@@ -188,13 +188,13 @@ defmodule BitstylesPhoenix.Component.Breadcrumbs do
188188
"Breadcrumbs with custom classes and properties",
189189
"""
190190
iex> assigns = %{}
191-
...> render ~H"""
191+
...> render ~H\"""
192192
...> <.ui_breadcrumbs class="u-fg-warning" data-foo="bar">
193193
...> <:item class="u-fg-brand-2" data-baz="foo">Foo</:item>
194194
...> <:item>Bar</:item>
195195
...> <:item>Baz</:item>
196196
...> </.ui_breadcrumbs>
197-
...> """
197+
...> \"""
198198
""",
199199
"""
200200
\"""

0 commit comments

Comments
 (0)