playbook_ui_docs 13.28.0.pre.alpha.PBNTR297gradientoverlay3029 → 13.28.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2937
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/{_bar_graph_custom_rails.html.erb → _bar_graph_custom.html.erb} +3 -3
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +1 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -10
- data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +32 -33
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
- data/app/pb_kits/playbook/pb_table/docs/{_table_outer_padding.html.erb → _table_alignment_row.html.erb} +7 -7
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +63 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +50 -51
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +52 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +38 -37
- data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
- data/dist/menu.yml +2 -7
- data/dist/playbook-doc.js +10 -10
- metadata +7 -29
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +0 -40
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md +0 -3
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +0 -2
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +0 -53
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +0 -159
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +0 -121
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -9
- data/app/pb_kits/playbook/pb_draggable/docs/index.js +0 -3
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +0 -40
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +0 -7
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +0 -36
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +0 -5
- data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -4
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +0 -34
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +0 -54
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +0 -53
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +0 -76
- data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +0 -1
- /data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_column_rails.html.erb → _table_alignment_column.html.erb} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fdca61b26fda48aa6b5331f6a7de27efecd3e1618fe07ef010a17390ee1b328
|
4
|
+
data.tar.gz: 42f46eb60a91d7b41365436b6e40d636159fc5695c61b4eb849074566388a3da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69eb11de117b6fda6fd8b6e98eb0710339df7fff41e5aef6c8732d17308a7ec315e80b5ec080828be5ade18f43b7f3dc3636c9831fdbb203aa610ed88f7bba80
|
7
|
+
data.tar.gz: 4cdf8fd4c336906ec936c4c7d22cf5247a0ce36afa1ea17ae51e99cb2e9e507f154ae108477038350b3f7643e8f4dd838711e5a974a95312cb4977bd4509d230
|
@@ -1,3 +1,3 @@
|
|
1
1
|
`subRowHeaders` is an optional prop that if present will add header rows at each level of the nested data. The prop takes an array of strings, each string being the text for each header row. The array of strings must be in the order in which they need to be rendered in the UI according to depth.
|
2
2
|
|
3
|
-
`enableToggleExpansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enableToggleExpansion` is a string that can be
|
3
|
+
`enableToggleExpansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enableToggleExpansion` is a string that can be 'all', 'header" or "none". If set to 'all', the toggle exapansion button will appear in the table header as well as in the subRow headers. If set to 'header' button will only appear in header and NOT in subRow headers. This is set to 'header' by default.
|
@@ -1,7 +1,6 @@
|
|
1
1
|
examples:
|
2
2
|
rails:
|
3
3
|
- advanced_table_beta: Default (Required Props)
|
4
|
-
- advanced_table_beta_subrow_headers: SubRow Headers
|
5
4
|
react:
|
6
5
|
- advanced_table_default: Default (Required Props)
|
7
6
|
- advanced_table_loading: Loading State
|
@@ -13,3 +12,4 @@ examples:
|
|
13
12
|
- advanced_table_table_options: Table Options
|
14
13
|
- advanced_table_table_props: Table Props
|
15
14
|
- advanced_table_inline_row_loading: inline Row Loading
|
15
|
+
|
@@ -15,7 +15,7 @@
|
|
15
15
|
data: [1111,677,3245,500,200]
|
16
16
|
}] %>
|
17
17
|
|
18
|
-
<%
|
18
|
+
<% custom_options = {
|
19
19
|
customOptions: {
|
20
20
|
subtitle: {
|
21
21
|
text: "Overwritten subtitle",
|
@@ -45,5 +45,5 @@
|
|
45
45
|
y_axis_min: 0,
|
46
46
|
subtitle: 'Subtitle to replace',
|
47
47
|
title: 'Bar Graph with Custom Overrides',
|
48
|
-
custom_options:
|
49
|
-
}) %>
|
48
|
+
custom_options: custom_options
|
49
|
+
}) %>
|
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
It's important to note that certain options may require specific script imports to function properly.
|
1
|
+
See https://api.highcharts.com/highcharts/ for a comprehensive list of available options.
|
@@ -8,7 +8,7 @@ examples:
|
|
8
8
|
- bar_graph_height: Height
|
9
9
|
- bar_graph_spline: Spline
|
10
10
|
- bar_graph_colors: Color Overrides
|
11
|
-
-
|
11
|
+
- bar_graph_custom: Custom Overrides
|
12
12
|
- bar_graph_stacked: Stacked
|
13
13
|
- bar_graph_negative_numbers: Negative Numbers
|
14
14
|
- bar_graph_secondary_y_axis: Secondary Y-Axis
|
@@ -13,15 +13,6 @@
|
|
13
13
|
]
|
14
14
|
%>
|
15
15
|
|
16
|
-
<%
|
17
|
-
example_dropdown_options = [
|
18
|
-
{ label: 'United States', value: 'United States', id: 'us' },
|
19
|
-
{ label: 'Canada', value: 'Canada', id: 'ca' },
|
20
|
-
{ label: 'Pakistan', value: 'Pakistan', id: 'pk' },
|
21
|
-
]
|
22
|
-
|
23
|
-
%>
|
24
|
-
|
25
16
|
<%= pb_form_with(scope: :example, url: "", method: :get) do |form| %>
|
26
17
|
<%= form.typeahead :example_user, props: { data: { typeahead_example1: true, user: {} }, placeholder: "Search for a user" } %>
|
27
18
|
<%= form.text_field :example_text_field, props: { label: true } %>
|
@@ -32,7 +23,6 @@
|
|
32
23
|
<%= form.password_field :example_password_field, props: { label: true } %>
|
33
24
|
<%= form.url_field :example_url_field, props: { label: true } %>
|
34
25
|
<%= form.text_area :example_text_area, props: { label: true } %>
|
35
|
-
<%= form.dropdown_field :example_dropdown, props: { label: true, options: example_dropdown_options } %>
|
36
26
|
<%= form.select :example_select, [ ["Yes", 1], ["No", 2] ], props: { label: true } %>
|
37
27
|
<%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>
|
38
28
|
<%= form.check_box :example_checkbox,
|
@@ -1 +1 @@
|
|
1
|
-
A pill uses both a keyword and a specific color to categorize an item. Each pill directly corresponds to a data color
|
1
|
+
A pill uses both a keyword and a specific color to categorize an item. Each pill directly corresponds to a data color here: https://playbook.powerapp.cloud/utilities
|
@@ -7,40 +7,39 @@ const TableAlignmentColumn = (props) => {
|
|
7
7
|
<Table
|
8
8
|
{...props}
|
9
9
|
>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
10
|
+
<thead>
|
11
|
+
<tr>
|
12
|
+
<th>{'Column 1'}</th>
|
13
|
+
<th>{'Column 2'}</th>
|
14
|
+
<th>{'Column 3'}</th>
|
15
|
+
<th align="center">{'Rating'}</th>
|
16
|
+
<th align="right">{'Money'}</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>{'Value 1'}</td>
|
22
|
+
<td>{'Value 2'}</td>
|
23
|
+
<td>{'Value 3'}</td>
|
24
|
+
<td align="center">{'3'}</td>
|
25
|
+
<td align="right">{'$57.32'}</td>
|
26
|
+
</tr>
|
27
|
+
<tr>
|
28
|
+
<td>{'Value 1'}</td>
|
29
|
+
<td>{'Value 2'}</td>
|
30
|
+
<td>{'Value 3'}</td>
|
31
|
+
<td align="center">{'2'}</td>
|
32
|
+
<td align="right">{'$5,657.08'}</td>
|
33
|
+
</tr>
|
34
|
+
<tr>
|
35
|
+
<td>{'Value 1'}</td>
|
36
|
+
<td>{'Value 2'}</td>
|
37
|
+
<td>{'Value 3'}</td>
|
38
|
+
<td align="center">{'4'}</td>
|
39
|
+
<td align="right">{'$358.77'}</td>
|
40
|
+
</tr>
|
41
|
+
</tbody>
|
42
42
|
</Table>
|
43
|
-
|
44
43
|
)
|
45
44
|
}
|
46
45
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
You can individually align a piece of table data, but a more practical use would be applied to align a column.
|
2
2
|
In the table above the "Rating" column contents is centered and the "Money" column contents is right aligned.
|
@@ -1,11 +1,11 @@
|
|
1
|
-
<%= pb_rails("table"
|
1
|
+
<%= pb_rails("table") do %>
|
2
2
|
<thead>
|
3
3
|
<tr>
|
4
4
|
<th>Column 1</th>
|
5
5
|
<th>Column 2</th>
|
6
6
|
<th>Column 3</th>
|
7
7
|
<th>Column 4</th>
|
8
|
-
<th
|
8
|
+
<th>Column 5</th>
|
9
9
|
</tr>
|
10
10
|
</thead>
|
11
11
|
<tbody>
|
@@ -14,21 +14,21 @@
|
|
14
14
|
<td>Value 2</td>
|
15
15
|
<td>Value 3</td>
|
16
16
|
<td>Value 4</td>
|
17
|
-
<td
|
17
|
+
<td>Value 5</td>
|
18
18
|
</tr>
|
19
|
-
<tr>
|
19
|
+
<tr align="center">
|
20
20
|
<td>Value 1</td>
|
21
21
|
<td>Value 2</td>
|
22
22
|
<td>Value 3</td>
|
23
23
|
<td>Value 4</td>
|
24
|
-
<td
|
24
|
+
<td>Value 5</td>
|
25
25
|
</tr>
|
26
|
-
<tr>
|
26
|
+
<tr align="right">
|
27
27
|
<td>Value 1</td>
|
28
28
|
<td>Value 2</td>
|
29
29
|
<td>Value 3</td>
|
30
30
|
<td>Value 4</td>
|
31
|
-
<td
|
31
|
+
<td>Value 5</td>
|
32
32
|
</tr>
|
33
33
|
</tbody>
|
34
34
|
<% end %>
|
@@ -7,39 +7,39 @@ const TableAlignmentRow = (props) => {
|
|
7
7
|
<Table
|
8
8
|
{...props}
|
9
9
|
>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
10
|
+
<thead>
|
11
|
+
<tr>
|
12
|
+
<th>{'Column 1'}</th>
|
13
|
+
<th>{'Column 2'}</th>
|
14
|
+
<th>{'Column 3'}</th>
|
15
|
+
<th>{'Column 4'}</th>
|
16
|
+
<th>{'Column 5'}</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>{'Value 1'}</td>
|
22
|
+
<td>{'Value 2'}</td>
|
23
|
+
<td>{'Value 3'}</td>
|
24
|
+
<td>{'Value 4'}</td>
|
25
|
+
<td>{'Value 5'}</td>
|
26
|
+
</tr>
|
27
|
+
<tr align="center">
|
28
|
+
<td>{'Value 1'}</td>
|
29
|
+
<td>{'Value 2'}</td>
|
30
|
+
<td>{'Value 3'}</td>
|
31
|
+
<td>{'Value 4'}</td>
|
32
|
+
<td>{'Value 5'}</td>
|
33
|
+
</tr>
|
34
|
+
<tr align="right">
|
35
|
+
<td>{'Value 1'}</td>
|
36
|
+
<td>{'Value 2'}</td>
|
37
|
+
<td>{'Value 3'}</td>
|
38
|
+
<td>{'Value 4'}</td>
|
39
|
+
<td>{'Value 5'}</td>
|
40
|
+
</tr>
|
41
|
+
</tbody>
|
42
|
+
</Table>
|
43
43
|
)
|
44
44
|
}
|
45
45
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
This is to be used to shift the whole row.
|
2
2
|
The header/ first row is the default, followed by the second row being centered, and then the last row shifted to the right.
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<%= pb_rails("table") do %>
|
2
|
+
<thead>
|
3
|
+
<tr>
|
4
|
+
<th> </th>
|
5
|
+
<th>Price</th>
|
6
|
+
</tr>
|
7
|
+
</thead>
|
8
|
+
<tbody>
|
9
|
+
<tr>
|
10
|
+
<td shift="down">Total</td>
|
11
|
+
<td>
|
12
|
+
$12
|
13
|
+
<br/>
|
14
|
+
$46
|
15
|
+
<br/>
|
16
|
+
$25
|
17
|
+
<br/>
|
18
|
+
-------
|
19
|
+
<br/>
|
20
|
+
$83
|
21
|
+
</td>
|
22
|
+
</tr>
|
23
|
+
</tbody>
|
24
|
+
<% end %>
|
25
|
+
<br/>
|
26
|
+
<%= pb_rails("table") do %>
|
27
|
+
<thead>
|
28
|
+
<tr>
|
29
|
+
<th>Espresso Drinks</th>
|
30
|
+
<th>Ingredients</th>
|
31
|
+
</tr>
|
32
|
+
</thead>
|
33
|
+
<tbody>
|
34
|
+
<tr>
|
35
|
+
<td shift="up">Cappuccino</td>
|
36
|
+
<td>
|
37
|
+
Espresso
|
38
|
+
<br/>
|
39
|
+
Steamed Milk
|
40
|
+
<br/>
|
41
|
+
Milk Foam
|
42
|
+
</td>
|
43
|
+
</tr>
|
44
|
+
<tr>
|
45
|
+
<td shift="up">Macchiato</td>
|
46
|
+
<td>
|
47
|
+
Espresso
|
48
|
+
<br/>
|
49
|
+
Steamed Milk
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr>
|
53
|
+
<td shift="up">Mocha</td>
|
54
|
+
<td>
|
55
|
+
Espresso
|
56
|
+
<br/>
|
57
|
+
Hot Chocolate
|
58
|
+
<br/>
|
59
|
+
Steamed Milk
|
60
|
+
</td>
|
61
|
+
</tr>
|
62
|
+
</tbody>
|
63
|
+
<% end %>
|
@@ -9,16 +9,16 @@ const TableAlignmentShiftData = (props) => {
|
|
9
9
|
marginBottom="md"
|
10
10
|
{...props}
|
11
11
|
>
|
12
|
-
<
|
13
|
-
<
|
14
|
-
<
|
15
|
-
<
|
16
|
-
</
|
17
|
-
</
|
18
|
-
<
|
19
|
-
<
|
20
|
-
<
|
21
|
-
<
|
12
|
+
<thead>
|
13
|
+
<tr>
|
14
|
+
<th> </th>
|
15
|
+
<th>{'Price'}</th>
|
16
|
+
</tr>
|
17
|
+
</thead>
|
18
|
+
<tbody>
|
19
|
+
<tr>
|
20
|
+
<td shift="down">{'Total'}</td>
|
21
|
+
<td>
|
22
22
|
{'$12'}
|
23
23
|
<br />
|
24
24
|
{'$46'}
|
@@ -28,51 +28,50 @@ const TableAlignmentShiftData = (props) => {
|
|
28
28
|
{'-------'}
|
29
29
|
<br />
|
30
30
|
{'$83'}
|
31
|
-
</
|
32
|
-
</
|
33
|
-
</
|
31
|
+
</td>
|
32
|
+
</tr>
|
33
|
+
</tbody>
|
34
34
|
</Table>
|
35
|
-
|
36
35
|
<Table
|
37
36
|
{...props}
|
38
37
|
>
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
</
|
58
|
-
<
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
38
|
+
<thead>
|
39
|
+
<tr>
|
40
|
+
<th>{'Espresso Drinks'}</th>
|
41
|
+
<th>{'Ingredients'}</th>
|
42
|
+
</tr>
|
43
|
+
</thead>
|
44
|
+
<tbody>
|
45
|
+
<tr>
|
46
|
+
<td shift="up">{'Cappuccino'}</td>
|
47
|
+
<td>
|
48
|
+
{'Espresso'}
|
49
|
+
<br />
|
50
|
+
{'Steamed Milk'}
|
51
|
+
<br />
|
52
|
+
{'Milk Foam'}
|
53
|
+
</td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td shift="up">{'Macchiato'}</td>
|
57
|
+
<td>
|
58
|
+
{'Espresso'}
|
59
|
+
<br />
|
60
|
+
{'Steamed Milk'}
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td shift="up">{'Mocha'}</td>
|
65
|
+
<td>
|
66
|
+
{'Espresso'}
|
67
|
+
<br />
|
68
|
+
{'Hot Chocolate'}
|
69
|
+
<br />
|
70
|
+
{'Steamed Milk'}
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
</tbody>
|
74
|
+
</Table>
|
76
75
|
</div>
|
77
76
|
)
|
78
77
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
|
1
|
+
You can individually shift a piece of table data, or shift an entire column.
|
2
2
|
The first table shifts "Total" down, whereas the second table shifts the "Espresso Drinks" column contents up.
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<%= pb_rails("table") do %>
|
2
|
+
<thead>
|
3
|
+
<tr>
|
4
|
+
<th>Column 1</th>
|
5
|
+
<th>Column 2</th>
|
6
|
+
<th>Column 3</th>
|
7
|
+
<th>Column 4</th>
|
8
|
+
<th>Column 5</th>
|
9
|
+
</tr>
|
10
|
+
</thead>
|
11
|
+
<tbody>
|
12
|
+
<tr>
|
13
|
+
<td>
|
14
|
+
Value 1a
|
15
|
+
<br/>
|
16
|
+
Value 1a
|
17
|
+
<br/>
|
18
|
+
Value 1a
|
19
|
+
</td>
|
20
|
+
<td>Value 2a</td>
|
21
|
+
<td>Value 3a</td>
|
22
|
+
<td>Value 4a</td>
|
23
|
+
<td>Value 5a</td>
|
24
|
+
</tr>
|
25
|
+
<tr shift="middle">
|
26
|
+
<td>
|
27
|
+
Value 1b
|
28
|
+
<br/>
|
29
|
+
Value 1b
|
30
|
+
<br/>
|
31
|
+
Value 1b
|
32
|
+
</td>
|
33
|
+
<td>Value 2b</td>
|
34
|
+
<td>Value 3b</td>
|
35
|
+
<td>Value 4b</td>
|
36
|
+
<td>Value 5b</td>
|
37
|
+
</tr>
|
38
|
+
<tr shift="down">
|
39
|
+
<td>
|
40
|
+
Value 1c
|
41
|
+
<br/>
|
42
|
+
Value 1c
|
43
|
+
<br/>
|
44
|
+
Value 1c
|
45
|
+
</td>
|
46
|
+
<td>Value 2c</td>
|
47
|
+
<td>Value 3c</td>
|
48
|
+
<td>Value 4c</td>
|
49
|
+
<td>Value 5c</td>
|
50
|
+
</tr>
|
51
|
+
</tbody>
|
52
|
+
<% end %>
|
@@ -4,59 +4,60 @@ import Table from '../_table'
|
|
4
4
|
|
5
5
|
const TableAlignmentShiftRow = (props) => {
|
6
6
|
return (
|
7
|
-
<Table
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
<
|
13
|
-
<
|
14
|
-
<
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
7
|
+
<Table
|
8
|
+
{...props}
|
9
|
+
>
|
10
|
+
<thead>
|
11
|
+
<tr>
|
12
|
+
<th>{'Column 1'}</th>
|
13
|
+
<th>{'Column 2'}</th>
|
14
|
+
<th>{'Column 3'}</th>
|
15
|
+
<th>{'Column 4'}</th>
|
16
|
+
<th>{'Column 5'}</th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
<tbody>
|
20
|
+
<tr>
|
21
|
+
<td>
|
20
22
|
{'Value 1a'}
|
21
23
|
<br />
|
22
24
|
{'Value 1a'}
|
23
25
|
<br />
|
24
26
|
{'Value 1a'}
|
25
|
-
</
|
26
|
-
<
|
27
|
-
<
|
28
|
-
<
|
29
|
-
<
|
30
|
-
</
|
31
|
-
<
|
32
|
-
<
|
27
|
+
</td>
|
28
|
+
<td>{'Value 2a'}</td>
|
29
|
+
<td>{'Value 3a'}</td>
|
30
|
+
<td>{'Value 4a'}</td>
|
31
|
+
<td>{'Value 5a'}</td>
|
32
|
+
</tr>
|
33
|
+
<tr shift="middle">
|
34
|
+
<td>
|
33
35
|
{'Value 1b'}
|
34
36
|
<br />
|
35
37
|
{'Value 1b'}
|
36
38
|
<br />
|
37
39
|
{'Value 1b'}
|
38
|
-
</
|
39
|
-
<
|
40
|
-
<
|
41
|
-
<
|
42
|
-
<
|
43
|
-
</
|
44
|
-
<
|
45
|
-
<
|
40
|
+
</td>
|
41
|
+
<td>{'Value 2b'}</td>
|
42
|
+
<td>{'Value 3b'}</td>
|
43
|
+
<td>{'Value 4b'}</td>
|
44
|
+
<td>{'Value 5b'}</td>
|
45
|
+
</tr>
|
46
|
+
<tr shift="down">
|
47
|
+
<td>
|
46
48
|
{'Value 1c'}
|
47
49
|
<br />
|
48
50
|
{'Value 1c'}
|
49
51
|
<br />
|
50
52
|
{'Value 1c'}
|
51
|
-
</
|
52
|
-
<
|
53
|
-
<
|
54
|
-
<
|
55
|
-
<
|
56
|
-
</
|
57
|
-
</
|
53
|
+
</td>
|
54
|
+
<td>{'Value 2c'}</td>
|
55
|
+
<td>{'Value 3c'}</td>
|
56
|
+
<td>{'Value 4c'}</td>
|
57
|
+
<td>{'Value 5c'}</td>
|
58
|
+
</tr>
|
59
|
+
</tbody>
|
58
60
|
</Table>
|
59
|
-
|
60
61
|
)
|
61
62
|
}
|
62
63
|
|