playbook_ui_docs 14.10.0.pre.alpha.play1465attempt25272 → 14.10.0.pre.alpha.play1662cssbargraph5193
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_beta_sort.html.erb +3 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -4
- data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +0 -18
- data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +0 -40
- data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_section_separator/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_default.html.erb +1 -1
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_filter.jsx +2 -10
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.jsx +2 -6
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_user.jsx +3 -11
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/example.yml +2 -7
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx +1 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +1 -4
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_menu_list.jsx +0 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +2 -4
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +5 -5
- data/dist/playbook-doc.js +1 -1
- metadata +4 -22
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.html.erb +0 -43
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.html.erb +0 -58
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_color.html.erb +0 -10
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_color.jsx +0 -42
- data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_color.md +0 -3
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_description.md +0 -3
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius.html.erb +0 -9
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius_rails.md +0 -1
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_color.html.erb +0 -7
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_filter.html.erb +0 -119
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.html.erb +0 -15
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width_rails.md +0 -3
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.html.erb +0 -3
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_user.html.erb +0 -63
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.jsx +0 -88
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_react.md +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.jsx +0 -87
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_react.md +0 -5
- /data/app/pb_kits/playbook/pb_skeleton_loading/docs/{_skeleton_loading_border_radius_react.md → _skeleton_loading_border_radius.md} +0 -0
- /data/app/pb_kits/playbook/pb_skeleton_loading/docs/{_skeleton_loading_height_width_react.md → _skeleton_loading_height_width.md} +0 -0
@@ -1,87 +0,0 @@
|
|
1
|
-
import React from 'react'
|
2
|
-
import Table from '../_table'
|
3
|
-
|
4
|
-
const TableStickyRightColumns = () => {
|
5
|
-
return (
|
6
|
-
<Table
|
7
|
-
responsive="scroll"
|
8
|
-
size="md"
|
9
|
-
stickyRightColumn={["13", "14", "15"]}
|
10
|
-
>
|
11
|
-
<thead>
|
12
|
-
<tr>
|
13
|
-
<th>{'Column 1'}</th>
|
14
|
-
<th>{'Column 2'}</th>
|
15
|
-
<th>{'Column 3'}</th>
|
16
|
-
<th>{'Column 4'}</th>
|
17
|
-
<th>{'Column 5'}</th>
|
18
|
-
<th>{'Column 6'}</th>
|
19
|
-
<th>{'Column 7'}</th>
|
20
|
-
<th>{'Column 8'}</th>
|
21
|
-
<th>{'Column 9'}</th>
|
22
|
-
<th>{'Column 10'}</th>
|
23
|
-
<th>{'Column 11'}</th>
|
24
|
-
<th>{'Column 12'}</th>
|
25
|
-
<th id="13">{'Column 13'}</th>
|
26
|
-
<th id="14">{'Column 14'}</th>
|
27
|
-
<th id="15">{'Column 15'}</th>
|
28
|
-
</tr>
|
29
|
-
</thead>
|
30
|
-
<tbody>
|
31
|
-
<tr>
|
32
|
-
<td>{'Value 1'}</td>
|
33
|
-
<td>{'Value 2'}</td>
|
34
|
-
<td>{'Value 3'}</td>
|
35
|
-
<td>{'Value 4'}</td>
|
36
|
-
<td>{'Value 5'}</td>
|
37
|
-
<td>{'Value 6'}</td>
|
38
|
-
<td>{'Value 7'}</td>
|
39
|
-
<td>{'Value 8'}</td>
|
40
|
-
<td>{'Value 9'}</td>
|
41
|
-
<td>{'Value 10'}</td>
|
42
|
-
<td>{'Value 11'}</td>
|
43
|
-
<td>{'Value 12'}</td>
|
44
|
-
<td id="13">{'Value 13'}</td>
|
45
|
-
<td id="14">{'Value 14'}</td>
|
46
|
-
<td id="15">{'Value 15'}</td>
|
47
|
-
</tr>
|
48
|
-
<tr>
|
49
|
-
<td>{'Value 1'}</td>
|
50
|
-
<td>{'Value 2'}</td>
|
51
|
-
<td>{'Value 3'}</td>
|
52
|
-
<td>{'Value 4'}</td>
|
53
|
-
<td>{'Value 5'}</td>
|
54
|
-
<td>{'Value 6'}</td>
|
55
|
-
<td>{'Value 7'}</td>
|
56
|
-
<td>{'Value 8'}</td>
|
57
|
-
<td>{'Value 9'}</td>
|
58
|
-
<td>{'Value 10'}</td>
|
59
|
-
<td>{'Value 11'}</td>
|
60
|
-
<td>{'Value 12'}</td>
|
61
|
-
<td id="13">{'Value 13'}</td>
|
62
|
-
<td id="14">{'Value 14'}</td>
|
63
|
-
<td id="15">{'Value 15'}</td>
|
64
|
-
</tr>
|
65
|
-
<tr>
|
66
|
-
<td>{'Value 1'}</td>
|
67
|
-
<td>{'Value 2'}</td>
|
68
|
-
<td>{'Value 3'}</td>
|
69
|
-
<td>{'Value 4'}</td>
|
70
|
-
<td>{'Value 5'}</td>
|
71
|
-
<td>{'Value 6'}</td>
|
72
|
-
<td>{'Value 7'}</td>
|
73
|
-
<td>{'Value 8'}</td>
|
74
|
-
<td>{'Value 9'}</td>
|
75
|
-
<td>{'Value 10'}</td>
|
76
|
-
<td>{'Value 11'}</td>
|
77
|
-
<td>{'Value 12'}</td>
|
78
|
-
<td id="13">{'Value 13'}</td>
|
79
|
-
<td id="14">{'Value 14'}</td>
|
80
|
-
<td id="15">{'Value 15'}</td>
|
81
|
-
</tr>
|
82
|
-
</tbody>
|
83
|
-
</Table>
|
84
|
-
)
|
85
|
-
}
|
86
|
-
|
87
|
-
export default TableStickyRightColumns
|
@@ -1,5 +0,0 @@
|
|
1
|
-
The `stickyRightColumn` prop works in the same way as the above `stickyLeftColumn` prop. It expects an array of the column ids you want to be sticky. Make sure to add the corresponding id to the `<th>` and `<td>`.
|
2
|
-
|
3
|
-
If you are using the sub-component variant, then you will pass the id to `<Table.Header>` and `<Table.Cell>`
|
4
|
-
|
5
|
-
Please ensure that unique ids are used for all columns across multiple tables. Using the same columns ids on multiple tables can lead to issues when using the `stickyRightColumn` prop.
|
File without changes
|