playbook_ui_docs 13.16.0.pre.alpha.PBNTR181stripedtable2103 → 13.16.0.pre.alpha.PBNTR184betaflaginmenuyml2085
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_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
- data/dist/menu.yml +102 -3
- data/dist/pb_doc_helper.rb +6 -9
- data/dist/playbook-doc.js +2 -2
- metadata +2 -5
- data/app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb +0 -48
- data/app/pb_kits/playbook/pb_table/docs/_table_striped.jsx +0 -58
- data/app/pb_kits/playbook/pb_table/docs/_table_striped.md +0 -1
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.16.0.pre.alpha.
|
4
|
+
version: 13.16.0.pre.alpha.PBNTR184betaflaginmenuyml2085
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-02-
|
12
|
+
date: 2024-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -1450,9 +1450,6 @@ files:
|
|
1450
1450
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.html.erb
|
1451
1451
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.jsx
|
1452
1452
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.md
|
1453
|
-
- app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb
|
1454
|
-
- app/pb_kits/playbook/pb_table/docs/_table_striped.jsx
|
1455
|
-
- app/pb_kits/playbook/pb_table/docs/_table_striped.md
|
1456
1453
|
- app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb
|
1457
1454
|
- app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx
|
1458
1455
|
- app/pb_kits/playbook/pb_table/docs/_table_two_actions.md
|
@@ -1,48 +0,0 @@
|
|
1
|
-
<%= pb_rails("table", props: { striped: true }) 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>Value 1</td>
|
14
|
-
<td>Value 2</td>
|
15
|
-
<td>Value 3</td>
|
16
|
-
<td>Value 4</td>
|
17
|
-
<td>Value 5</td>
|
18
|
-
</tr>
|
19
|
-
<tr>
|
20
|
-
<td>Value 1</td>
|
21
|
-
<td>Value 2</td>
|
22
|
-
<td>Value 3</td>
|
23
|
-
<td>Value 4</td>
|
24
|
-
<td>Value 5</td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td>Value 1</td>
|
28
|
-
<td>Value 2</td>
|
29
|
-
<td>Value 3</td>
|
30
|
-
<td>Value 4</td>
|
31
|
-
<td>Value 5</td>
|
32
|
-
</tr>
|
33
|
-
<tr>
|
34
|
-
<td>Value 1</td>
|
35
|
-
<td>Value 2</td>
|
36
|
-
<td>Value 3</td>
|
37
|
-
<td>Value 4</td>
|
38
|
-
<td>Value 5</td>
|
39
|
-
</tr>
|
40
|
-
<tr>
|
41
|
-
<td>Value 1</td>
|
42
|
-
<td>Value 2</td>
|
43
|
-
<td>Value 3</td>
|
44
|
-
<td>Value 4</td>
|
45
|
-
<td>Value 5</td>
|
46
|
-
</tr>
|
47
|
-
</tbody>
|
48
|
-
<% end %>
|
@@ -1,58 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import Table from "../_table"
|
3
|
-
|
4
|
-
const TableStriped = (props) => (
|
5
|
-
<Table
|
6
|
-
striped
|
7
|
-
{...props}
|
8
|
-
>
|
9
|
-
<thead>
|
10
|
-
<tr>
|
11
|
-
<th>{'Column 1'}</th>
|
12
|
-
<th>{'Column 2'}</th>
|
13
|
-
<th>{'Column 3'}</th>
|
14
|
-
<th>{'Column 4'}</th>
|
15
|
-
<th>{'Column 5'}</th>
|
16
|
-
</tr>
|
17
|
-
</thead>
|
18
|
-
<tbody>
|
19
|
-
<tr>
|
20
|
-
<td>{'Value 1'}</td>
|
21
|
-
<td>{'Value 2'}</td>
|
22
|
-
<td>{'Value 3'}</td>
|
23
|
-
<td>{'Value 4'}</td>
|
24
|
-
<td>{'Value 5'}</td>
|
25
|
-
</tr>
|
26
|
-
<tr>
|
27
|
-
<td>{'Value 1'}</td>
|
28
|
-
<td>{'Value 2'}</td>
|
29
|
-
<td>{'Value 3'}</td>
|
30
|
-
<td>{'Value 4'}</td>
|
31
|
-
<td>{'Value 5'}</td>
|
32
|
-
</tr>
|
33
|
-
<tr>
|
34
|
-
<td>{'Value 1'}</td>
|
35
|
-
<td>{'Value 2'}</td>
|
36
|
-
<td>{'Value 3'}</td>
|
37
|
-
<td>{'Value 4'}</td>
|
38
|
-
<td>{'Value 5'}</td>
|
39
|
-
</tr>
|
40
|
-
<tr>
|
41
|
-
<td>{'Value 1'}</td>
|
42
|
-
<td>{'Value 2'}</td>
|
43
|
-
<td>{'Value 3'}</td>
|
44
|
-
<td>{'Value 4'}</td>
|
45
|
-
<td>{'Value 5'}</td>
|
46
|
-
</tr>
|
47
|
-
<tr>
|
48
|
-
<td>{'Value 1'}</td>
|
49
|
-
<td>{'Value 2'}</td>
|
50
|
-
<td>{'Value 3'}</td>
|
51
|
-
<td>{'Value 4'}</td>
|
52
|
-
<td>{'Value 5'}</td>
|
53
|
-
</tr>
|
54
|
-
</tbody>
|
55
|
-
</Table>
|
56
|
-
)
|
57
|
-
|
58
|
-
export default TableStriped
|
@@ -1 +0,0 @@
|
|
1
|
-
Optionally pass the `striped` (boolean, defaults to false) prop to set odd rows to a contrasting background color. This helps with readability on larger tables with lots of data.
|