primer_view_components 0.22.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_bar.css +1 -1
- data/app/components/primer/alpha/action_bar.css.map +1 -1
- data/app/components/primer/alpha/action_list/form_wrapper.rb +5 -0
- data/app/components/primer/alpha/action_list/item.html.erb +1 -1
- data/app/components/primer/alpha/action_list.css +1 -1
- data/app/components/primer/alpha/action_list.css.map +1 -1
- data/app/components/primer/alpha/auto_complete.css +1 -1
- data/app/components/primer/alpha/auto_complete.css.map +1 -1
- data/app/components/primer/alpha/banner.css +1 -1
- data/app/components/primer/alpha/banner.css.map +1 -1
- data/app/components/primer/alpha/button_marketing.css +1 -1
- data/app/components/primer/alpha/button_marketing.css.map +1 -1
- data/app/components/primer/alpha/button_marketing.rb +2 -0
- data/app/components/primer/alpha/dialog/header.html.erb +3 -0
- data/app/components/primer/alpha/dialog/header.rb +26 -0
- data/app/components/primer/alpha/dialog.css +1 -1
- data/app/components/primer/alpha/dialog.css.map +1 -1
- data/app/components/primer/alpha/dropdown.css +1 -1
- data/app/components/primer/alpha/dropdown.css.map +1 -1
- data/app/components/primer/alpha/layout.css +1 -1
- data/app/components/primer/alpha/layout.css.map +1 -1
- data/app/components/primer/alpha/menu.css +1 -1
- data/app/components/primer/alpha/menu.css.map +1 -1
- data/app/components/primer/alpha/overlay/header.html.erb +3 -1
- data/app/components/primer/alpha/overlay/header.rb +15 -0
- data/app/components/primer/alpha/segmented_control.css +1 -1
- data/app/components/primer/alpha/segmented_control.css.json +2 -0
- data/app/components/primer/alpha/segmented_control.css.map +1 -1
- data/app/components/primer/alpha/segmented_control.pcss +13 -0
- data/app/components/primer/alpha/tab_nav.css +1 -1
- data/app/components/primer/alpha/tab_nav.css.json +2 -0
- data/app/components/primer/alpha/tab_nav.css.map +1 -1
- data/app/components/primer/alpha/tab_nav.pcss +10 -0
- data/app/components/primer/alpha/tab_panels.html.erb +5 -9
- data/app/components/primer/alpha/tab_panels.rb +4 -13
- data/app/components/primer/alpha/text_field.css +1 -1
- data/app/components/primer/alpha/text_field.css.map +1 -1
- data/app/components/primer/alpha/toggle_switch.css +1 -1
- data/app/components/primer/alpha/toggle_switch.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.css +1 -1
- data/app/components/primer/alpha/underline_nav.css.json +2 -0
- data/app/components/primer/alpha/underline_nav.css.map +1 -1
- data/app/components/primer/alpha/underline_nav.pcss +7 -1
- data/app/components/primer/alpha/underline_panels.css +1 -0
- data/app/components/primer/alpha/underline_panels.css.json +6 -0
- data/app/components/primer/alpha/underline_panels.css.map +1 -0
- data/app/components/primer/alpha/underline_panels.html.erb +6 -8
- data/app/components/primer/alpha/underline_panels.pcss +4 -0
- data/app/components/primer/alpha/underline_panels.rb +6 -14
- data/app/components/primer/anchored_position.js +2 -0
- data/app/components/primer/anchored_position.ts +2 -0
- data/app/components/primer/beta/avatar.css +1 -1
- data/app/components/primer/beta/avatar.css.map +1 -1
- data/app/components/primer/beta/avatar_stack.css +1 -1
- data/app/components/primer/beta/avatar_stack.css.map +1 -1
- data/app/components/primer/beta/blankslate.css +1 -1
- data/app/components/primer/beta/blankslate.css.map +1 -1
- data/app/components/primer/beta/border_box.css +1 -1
- data/app/components/primer/beta/border_box.css.json +1 -1
- data/app/components/primer/beta/border_box.css.map +1 -1
- data/app/components/primer/beta/breadcrumbs.css +1 -1
- data/app/components/primer/beta/breadcrumbs.css.map +1 -1
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.json +8 -0
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.html.erb +6 -1
- data/app/components/primer/beta/button.pcss +43 -0
- data/app/components/primer/beta/button.rb +14 -2
- data/app/components/primer/beta/button_group.css +1 -1
- data/app/components/primer/beta/button_group.css.map +1 -1
- data/app/components/primer/beta/counter.css +1 -1
- data/app/components/primer/beta/counter.css.map +1 -1
- data/app/components/primer/beta/flash.css +1 -1
- data/app/components/primer/beta/flash.css.map +1 -1
- data/app/components/primer/beta/label.css +1 -1
- data/app/components/primer/beta/label.css.map +1 -1
- data/app/components/primer/beta/link.css +1 -1
- data/app/components/primer/beta/link.css.map +1 -1
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/progress_bar.css +1 -1
- data/app/components/primer/beta/progress_bar.css.map +1 -1
- data/app/components/primer/beta/state.css +1 -1
- data/app/components/primer/beta/state.css.map +1 -1
- data/app/components/primer/beta/subhead.css +1 -1
- data/app/components/primer/beta/subhead.css.map +1 -1
- data/app/components/primer/beta/timeline_item.css +1 -1
- data/app/components/primer/beta/timeline_item.css.map +1 -1
- data/app/components/primer/beta/truncate.css +1 -1
- data/app/components/primer/beta/truncate.css.map +1 -1
- data/app/components/primer/primer.pcss +1 -0
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/action_list_preview.rb +1 -1
- data/previews/primer/alpha/button_marketing_preview.rb +15 -3
- data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
- data/previews/primer/alpha/dialog_preview.rb +4 -0
- data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
- data/previews/primer/alpha/overlay_preview.rb +15 -0
- data/previews/primer/alpha/select_preview.rb +3 -0
- data/previews/primer/beta/button_group_preview.rb +3 -7
- data/previews/primer/beta/button_preview/label_wrap.html.erb +9 -0
- data/previews/primer/beta/button_preview/link_scheme_label_wrap.html.erb +8 -0
- data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
- data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
- data/previews/primer/beta/button_preview.rb +71 -12
- data/previews/primer/beta/nav_list_preview.rb +15 -1
- data/static/arguments.json +6 -12
- data/static/classes.json +3 -0
- data/static/info_arch.json +163 -17
- data/static/previews.json +119 -2
- metadata +12 -2
@@ -10,19 +10,31 @@ module Primer
|
|
10
10
|
# @param tag [Symbol] select [button, a]
|
11
11
|
# @param type [Symbol] select [button, submit]
|
12
12
|
# @param disabled [Boolean]
|
13
|
-
def playground(tag: :button, type: :button, scheme: :default, variant: :default, disabled: false)
|
14
|
-
|
13
|
+
def playground(tag: :button, type: :button, scheme: :default, variant: :default, disabled: false, href: nil)
|
14
|
+
# Sets default href to `a`, to ensure it's keyboard interactive and proper markup
|
15
|
+
if tag == :a && href.nil?
|
16
|
+
href = "#"
|
17
|
+
end
|
18
|
+
render(Primer::Alpha::ButtonMarketing.new(tag: tag, type: type, scheme: scheme, variant: variant, disabled: disabled, href: href)) { "Default" }
|
15
19
|
end
|
16
20
|
|
17
21
|
# @label Default options
|
18
22
|
# @param scheme [Symbol] select [default, primary, outline, transparent]
|
19
23
|
# @param variant [Symbol] select [default, large]
|
20
|
-
# @param tag [Symbol] select [button, a]
|
21
24
|
# @param type [Symbol] select [button, submit]
|
22
25
|
def default(tag: :button, type: :button, scheme: :default, variant: :default)
|
23
26
|
render(Primer::Alpha::ButtonMarketing.new(tag: tag, type: type, scheme: scheme, variant: variant)) { "Default" }
|
24
27
|
end
|
25
28
|
|
29
|
+
# @label Link as button options
|
30
|
+
# @param scheme [Symbol] select [default, primary, outline, transparent]
|
31
|
+
# @param variant [Symbol] select [default, large]
|
32
|
+
# @param type [Symbol] select [button, submit]
|
33
|
+
# @param href [String]
|
34
|
+
def link_as_button(tag: :a, href: "#", type: :button, scheme: :default, variant: :default)
|
35
|
+
render(Primer::Alpha::ButtonMarketing.new(tag: tag, href: href, type: type, scheme: scheme, variant: variant)) { "Default" }
|
36
|
+
end
|
37
|
+
|
26
38
|
# @!group Size Variants
|
27
39
|
# @snapshot
|
28
40
|
#
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<%= render(Primer::Alpha::Dialog.new(open: true, title: "Dialog")) do |dialog| %>
|
2
|
+
<% dialog.with_show_button { "Open" } %>
|
3
|
+
<% dialog.with_header do |header| %>
|
4
|
+
<% header.with_filter(pr: 3, pl: 3) do %>
|
5
|
+
<%= render Primer::Alpha::TextField.new(
|
6
|
+
autofocus: true,
|
7
|
+
visually_hide_label: true,
|
8
|
+
name: "filter",
|
9
|
+
label: "Filter dialog",
|
10
|
+
) %>
|
11
|
+
<% end %>
|
12
|
+
<% end %>
|
13
|
+
<% dialog.with_body do %>
|
14
|
+
Body
|
15
|
+
<% end %>
|
16
|
+
<% dialog.with_footer do %>
|
17
|
+
Footer
|
18
|
+
<% end %>
|
19
|
+
<% end %>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<div style="position:sticky;top:0;" class="color-bg-accent">
|
2
|
+
<%= render(Primer::Alpha::Overlay.new(title: "Dialog", role: :dialog, size: :large, padding: :condensed)) do |d| %>
|
3
|
+
<% d.with_header(title: "Large Dialog Header", divider: true) do |header| %>
|
4
|
+
<% header.with_filter do %>
|
5
|
+
<%= render Primer::Alpha::TextField.new(
|
6
|
+
autofocus: true,
|
7
|
+
visually_hide_label:
|
8
|
+
true,
|
9
|
+
name: "filter",
|
10
|
+
label: "Filter Overlay"
|
11
|
+
) %>
|
12
|
+
<% end %>
|
13
|
+
<% end %>
|
14
|
+
<% d.with_show_button { "Show Overlay" } %>
|
15
|
+
<% d.with_footer { "Large Dialog Footer" } %>
|
16
|
+
<% d.with_body { "This is a long body for the overlay dialog. <br>".html_safe * 20 } %>
|
17
|
+
<% end %>
|
18
|
+
</div>
|
19
|
+
<div style="height:3000px;"></div>
|
@@ -183,6 +183,21 @@ module Primer
|
|
183
183
|
def overlay_with_header_filter
|
184
184
|
render_with_template(locals: {})
|
185
185
|
end
|
186
|
+
|
187
|
+
def overlay_with_header_subtitle
|
188
|
+
render(Primer::Alpha::Overlay.new(title: "Dialog", role: :dialog, size: :large, padding: :condensed)) do |d|
|
189
|
+
d.with_header(title: "Large Dialog Header", divider: true) do |h|
|
190
|
+
h.with_subtitle {"A subtitle"}
|
191
|
+
end
|
192
|
+
d.with_show_button { "Show Overlay" }
|
193
|
+
d.with_footer { "Large Dialog Footer" }
|
194
|
+
d.with_body { "This is a long body for the overlay dialog. <br>".html_safe * 20 }
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
def in_a_sticky_container
|
199
|
+
render_with_template(locals: {})
|
200
|
+
end
|
186
201
|
end
|
187
202
|
end
|
188
203
|
end
|
@@ -11,6 +11,7 @@ module Primer
|
|
11
11
|
# @param label text
|
12
12
|
# @param caption text
|
13
13
|
# @param required toggle
|
14
|
+
# @param multiple toggle
|
14
15
|
# @param visually_hide_label toggle
|
15
16
|
# @param size [Symbol] select [small, medium, large]
|
16
17
|
# @param full_width toggle
|
@@ -23,6 +24,7 @@ module Primer
|
|
23
24
|
label: "Favorite place to visit",
|
24
25
|
caption: "They're all good",
|
25
26
|
required: false,
|
27
|
+
multiple: false,
|
26
28
|
visually_hide_label: false,
|
27
29
|
size: Primer::Forms::Dsl::Input::DEFAULT_SIZE.to_s,
|
28
30
|
full_width: true,
|
@@ -36,6 +38,7 @@ module Primer
|
|
36
38
|
label: label,
|
37
39
|
caption: caption,
|
38
40
|
required: required,
|
41
|
+
multiple: multiple,
|
39
42
|
visually_hide_label: visually_hide_label,
|
40
43
|
size: size,
|
41
44
|
full_width: full_width,
|
@@ -63,22 +63,18 @@ module Primer
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
# @label Button group with
|
66
|
+
# @label Button group with multiple tags
|
67
67
|
# @snapshot
|
68
|
-
def
|
68
|
+
def multiple_tags
|
69
69
|
render(Primer::Beta::ButtonGroup.new) do |component|
|
70
70
|
component.with_button(id: "button-1", tag: :button) do |button|
|
71
71
|
button.with_tooltip(text: "Button Tooltip")
|
72
72
|
"Button 1"
|
73
73
|
end
|
74
|
-
component.with_button(id: "button-2", tag: :a) do |button|
|
74
|
+
component.with_button(id: "button-2", tag: :a, href: "#") do |button|
|
75
75
|
button.with_tooltip(text: "Button Tooltip")
|
76
76
|
"Button 2"
|
77
77
|
end
|
78
|
-
component.with_button(id: "button-3", tag: :summary) do |button|
|
79
|
-
button.with_tooltip(text: "Button Tooltip")
|
80
|
-
"Button 3"
|
81
|
-
end
|
82
78
|
end
|
83
79
|
end
|
84
80
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<details>
|
2
|
+
<%= render(Primer::Beta::Button.new(
|
3
|
+
scheme: scheme,
|
4
|
+
size: size,
|
5
|
+
block: block,
|
6
|
+
id: id,
|
7
|
+
align_content: align_content,
|
8
|
+
tag: tag
|
9
|
+
)) do %>
|
10
|
+
Button
|
11
|
+
<% end %>
|
12
|
+
<p>A wrapping `details` tag is required when using the button with the `:summary` tag</p>
|
13
|
+
</details>
|
14
|
+
|
@@ -20,7 +20,8 @@ module Primer
|
|
20
20
|
# @param disabled toggle
|
21
21
|
# @param inactive toggle
|
22
22
|
# @param align_content select [center, start]
|
23
|
-
# @param tag select [a,
|
23
|
+
# @param tag select [a, button]
|
24
|
+
# @param label_wrap toggle
|
24
25
|
def playground(
|
25
26
|
scheme: :default,
|
26
27
|
size: :medium,
|
@@ -29,8 +30,14 @@ module Primer
|
|
29
30
|
align_content: :center,
|
30
31
|
tag: :button,
|
31
32
|
disabled: false,
|
32
|
-
inactive: false
|
33
|
+
inactive: false,
|
34
|
+
label_wrap: false,
|
35
|
+
href: nil
|
33
36
|
)
|
37
|
+
# Sets default href to `a`, to ensure it's keyboard interactive and proper markup
|
38
|
+
if tag == :a && href.nil?
|
39
|
+
href = "#"
|
40
|
+
end
|
34
41
|
render(Primer::Beta::Button.new(
|
35
42
|
scheme: scheme,
|
36
43
|
size: size,
|
@@ -39,8 +46,10 @@ module Primer
|
|
39
46
|
align_content: align_content,
|
40
47
|
tag: tag,
|
41
48
|
disabled: disabled,
|
42
|
-
inactive: inactive
|
43
|
-
|
49
|
+
inactive: inactive,
|
50
|
+
label_wrap: label_wrap,
|
51
|
+
href: href
|
52
|
+
)) do |_c|
|
44
53
|
"Button"
|
45
54
|
end
|
46
55
|
end
|
@@ -48,7 +57,6 @@ module Primer
|
|
48
57
|
# @label Default
|
49
58
|
# @param block toggle
|
50
59
|
# @param disabled toggle
|
51
|
-
# @param tag select [a, summary, button]
|
52
60
|
def default(
|
53
61
|
block: false,
|
54
62
|
id: "button-preview",
|
@@ -70,7 +78,6 @@ module Primer
|
|
70
78
|
# @label Primary
|
71
79
|
# @param block toggle
|
72
80
|
# @param disabled toggle
|
73
|
-
# @param tag select [a, summary, button]
|
74
81
|
def primary(
|
75
82
|
id: "button-preview",
|
76
83
|
block: false,
|
@@ -92,7 +99,6 @@ module Primer
|
|
92
99
|
# @label Danger
|
93
100
|
# @param block toggle
|
94
101
|
# @param disabled toggle
|
95
|
-
# @param tag select [a, summary, button]
|
96
102
|
def danger(
|
97
103
|
id: "button-preview",
|
98
104
|
block: false,
|
@@ -114,7 +120,6 @@ module Primer
|
|
114
120
|
# @label Invisible
|
115
121
|
# @param block toggle
|
116
122
|
# @param disabled toggle
|
117
|
-
# @param tag select [a, summary, button]
|
118
123
|
def invisible(
|
119
124
|
id: "button-preview",
|
120
125
|
block: false,
|
@@ -142,7 +147,6 @@ module Primer
|
|
142
147
|
# @label Link
|
143
148
|
# @param block toggle
|
144
149
|
# @param disabled toggle
|
145
|
-
# @param tag select [a, summary, button]
|
146
150
|
# @snapshot
|
147
151
|
def link(
|
148
152
|
id: "button-preview",
|
@@ -175,7 +179,6 @@ module Primer
|
|
175
179
|
|
176
180
|
# @label Full width
|
177
181
|
# @param disabled toggle
|
178
|
-
# @param tag select [a, summary, button]
|
179
182
|
# @snapshot
|
180
183
|
def full_width(
|
181
184
|
id: "button-preview",
|
@@ -194,11 +197,32 @@ module Primer
|
|
194
197
|
end
|
195
198
|
end
|
196
199
|
|
200
|
+
# @label Label wrap
|
201
|
+
# @param scheme select [default, primary, danger, invisible, link]
|
202
|
+
# @param size select [small, medium]
|
203
|
+
# @param block toggle
|
204
|
+
# @param label_wrap toggle
|
205
|
+
# @snapshot
|
206
|
+
def label_wrap(
|
207
|
+
scheme: :default,
|
208
|
+
size: :medium,
|
209
|
+
block: false,
|
210
|
+
label_wrap: true
|
211
|
+
)
|
212
|
+
render_with_template(locals: {
|
213
|
+
scheme: scheme,
|
214
|
+
size: size,
|
215
|
+
block: block,
|
216
|
+
label_wrap: label_wrap
|
217
|
+
})
|
218
|
+
end
|
219
|
+
|
197
220
|
# @label Link as button
|
198
221
|
# @param scheme select [default, primary, danger, invisible, link]
|
199
222
|
# @param size select [small, medium]
|
200
223
|
# @param block toggle
|
201
224
|
# @param align_content select [center, start]
|
225
|
+
# @param href
|
202
226
|
# @snapshot
|
203
227
|
def link_as_button(
|
204
228
|
scheme: :default,
|
@@ -222,12 +246,35 @@ module Primer
|
|
222
246
|
end
|
223
247
|
end
|
224
248
|
|
249
|
+
# @label Summary as button
|
250
|
+
# @param scheme select [default, primary, danger, invisible, link]
|
251
|
+
# @param size select [small, medium]
|
252
|
+
# @param block toggle
|
253
|
+
# @param align_content select [center, start]
|
254
|
+
# @snapshot
|
255
|
+
def summary_as_button(
|
256
|
+
scheme: :default,
|
257
|
+
size: :medium,
|
258
|
+
block: false,
|
259
|
+
id: "button-preview",
|
260
|
+
align_content: :center,
|
261
|
+
tag: :summary
|
262
|
+
)
|
263
|
+
render_with_template(locals: {
|
264
|
+
scheme: scheme,
|
265
|
+
size: size,
|
266
|
+
block: block,
|
267
|
+
id: id,
|
268
|
+
align_content: align_content,
|
269
|
+
tag: tag
|
270
|
+
})
|
271
|
+
end
|
272
|
+
|
225
273
|
# @label Trailing visual
|
226
274
|
# @param scheme select [default, primary, danger, invisible, link]
|
227
275
|
# @param size select [small, medium]
|
228
276
|
# @param block toggle
|
229
277
|
# @param align_content select [center, start]
|
230
|
-
# @param tag select [a, summary, button]
|
231
278
|
# @snapshot
|
232
279
|
def trailing_visual(
|
233
280
|
scheme: :default,
|
@@ -235,7 +282,7 @@ module Primer
|
|
235
282
|
block: false,
|
236
283
|
id: "button-preview",
|
237
284
|
align_content: :center,
|
238
|
-
tag: :
|
285
|
+
tag: :button
|
239
286
|
)
|
240
287
|
render_with_template(locals: {
|
241
288
|
scheme: scheme,
|
@@ -361,6 +408,18 @@ module Primer
|
|
361
408
|
"Button"
|
362
409
|
end
|
363
410
|
end
|
411
|
+
|
412
|
+
# @label Link scheme with long label
|
413
|
+
# @snapshot
|
414
|
+
def link_scheme_label_wrap
|
415
|
+
render_with_template(locals: {})
|
416
|
+
end
|
417
|
+
|
418
|
+
# @label Small scheme with one character
|
419
|
+
# @snapshot
|
420
|
+
def small_scheme_one_character
|
421
|
+
render_with_template(locals: {})
|
422
|
+
end
|
364
423
|
end
|
365
424
|
end
|
366
425
|
end
|
@@ -139,7 +139,7 @@ module Primer
|
|
139
139
|
component.with_item(
|
140
140
|
label: "Really really long label that may wrap, truncate, or appear as a tooltip",
|
141
141
|
truncate_label: truncate_label
|
142
|
-
)
|
142
|
+
)
|
143
143
|
component.with_item(
|
144
144
|
label: "Really really long label that may wrap, truncate, or appear as a tooltip",
|
145
145
|
truncate_label: truncate_label
|
@@ -178,6 +178,20 @@ module Primer
|
|
178
178
|
end
|
179
179
|
end
|
180
180
|
end
|
181
|
+
|
182
|
+
def group_long_label_with_tooltip
|
183
|
+
render(Primer::Beta::NavList.new) do |list|
|
184
|
+
list.with_heading(title: "Repository settings")
|
185
|
+
|
186
|
+
list.with_item(label: "Really really long label that may wrap, truncate, or appear as a tooltip", truncate_label: :show_tooltip) do |item|
|
187
|
+
item.with_leading_visual_icon(icon: :"comment-discussion")
|
188
|
+
|
189
|
+
item.with_item(label: "Interaction limits", href: "/interaction-limits", selected_by_ids: :interaction_limits)
|
190
|
+
item.with_item(label: "Code review limits", href: "/review-limits", selected_by_ids: :code_review_limits)
|
191
|
+
item.with_item(label: "Reported content", href: "/reported-content", selected_by_ids: :reported_content)
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
181
195
|
end
|
182
196
|
end
|
183
197
|
end
|
data/static/arguments.json
CHANGED
@@ -2462,18 +2462,6 @@
|
|
2462
2462
|
"default": "N/A",
|
2463
2463
|
"description": "One of `:left` or `:right`. - Defaults to left"
|
2464
2464
|
},
|
2465
|
-
{
|
2466
|
-
"name": "body_arguments",
|
2467
|
-
"type": "Hash",
|
2468
|
-
"default": "`{}`",
|
2469
|
-
"description": "[System arguments](/system-arguments) for the body wrapper."
|
2470
|
-
},
|
2471
|
-
{
|
2472
|
-
"name": "wrapper_arguments",
|
2473
|
-
"type": "Hash",
|
2474
|
-
"default": "`{}`",
|
2475
|
-
"description": "[System arguments](/system-arguments) for the `TabContainer` wrapper."
|
2476
|
-
},
|
2477
2465
|
{
|
2478
2466
|
"name": "system_arguments",
|
2479
2467
|
"type": "Hash",
|
@@ -3400,6 +3388,12 @@
|
|
3400
3388
|
"default": "`false`",
|
3401
3389
|
"description": "Whether or not the button is disabled. If true, this option forces `tag:` to `:button`."
|
3402
3390
|
},
|
3391
|
+
{
|
3392
|
+
"name": "label_wrap",
|
3393
|
+
"type": "Boolean",
|
3394
|
+
"default": "`false`",
|
3395
|
+
"description": "Whether or not the button label text wraps and the button height expands."
|
3396
|
+
},
|
3403
3397
|
{
|
3404
3398
|
"name": "system_arguments",
|
3405
3399
|
"type": "Hash",
|