playbook_ui_docs 14.17.0.pre.alpha.PBNTR925railstablecustomheaders7163 → 14.17.0.pre.alpha.alphaforaudiences7167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +1 -1
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
- metadata +1 -5
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.html.erb +0 -34
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_rails.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.html.erb +0 -36
- data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_rails.md +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e8f706e934130698897006acc9a3f3b9f82a79e9e77b1ec500335f2ee12832a
|
4
|
+
data.tar.gz: c3fe15eaa6892b285f22459125e2dab2343770c7df355664d400a16ab11fc6f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5e3d3a6f15fad837c10b7bf6c36e59c70a517b3aa7407e1b075f87f27da289c38695a94d3a0cbac14b5bdebed4f915a228a7be774ce31f107d41cbabb560e64
|
7
|
+
data.tar.gz: 61690cdaa800e571d678b8b237f5aa404a98a490532e49dd01f920d6f99a0c72f98e7c65a1e2d869152c272ad1f43a03b72987bc81c1c18a569d7722165ada37
|
@@ -1 +1 @@
|
|
1
|
-
Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/react#table-with-background-kit) logic to give your table header a custom background color. Use the `headerStyle="floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `backgroundColor` passed to Background kit should match the `
|
1
|
+
Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/react#table-with-background-kit) logic to give your table header a custom background color. Use the `headerStyle="floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `backgroundColor` passed to Background kit should match the `backgroundColor` for the element in which it is nested).
|
@@ -37,8 +37,6 @@ examples:
|
|
37
37
|
- table_with_collapsible_with_nested_table_rails: Table with Collapsible with Nested Table
|
38
38
|
- table_with_clickable_rows: Table with Clickable Rows
|
39
39
|
- table_with_selectable_rows: Table with Selectable Rows
|
40
|
-
- table_with_header_style_borderless: Header Style Borderless
|
41
|
-
- table_with_header_style_floating: Header Style Floating
|
42
40
|
|
43
41
|
react:
|
44
42
|
- table_sm: Small
|
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: 14.17.0.pre.alpha.
|
4
|
+
version: 14.17.0.pre.alpha.alphaforaudiences7167
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -1948,13 +1948,9 @@ files:
|
|
1948
1948
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
|
1949
1949
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
|
1950
1950
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
|
1951
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.html.erb
|
1952
1951
|
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.jsx
|
1953
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_rails.md
|
1954
1952
|
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_react.md
|
1955
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.html.erb
|
1956
1953
|
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.jsx
|
1957
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_rails.md
|
1958
1954
|
- app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md
|
1959
1955
|
- app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb
|
1960
1956
|
- app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<%= pb_rails("table", props: { size: "sm", header_style: "borderless" }) 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
|
-
</tbody>
|
34
|
-
<% end %>
|
@@ -1 +0,0 @@
|
|
1
|
-
Customize your header by removing the header borders with the `header_style: "borderless"` prop.
|
@@ -1,36 +0,0 @@
|
|
1
|
-
<%= pb_rails("card", props: { background: "light" }) do %>
|
2
|
-
<%= pb_rails("table", props: { size: "sm", header_style: "floating" }) do %>
|
3
|
-
<%= pb_rails("table/table_head") do %>
|
4
|
-
<%= pb_rails("background", props: { background_color: "light", tag: "tr" }) do %>
|
5
|
-
<%= pb_rails("table/table_header", props: { text: "Column 1"}) %>
|
6
|
-
<%= pb_rails("table/table_header", props: { text: "Column 2"}) %>
|
7
|
-
<%= pb_rails("table/table_header", props: { text: "Column 3"}) %>
|
8
|
-
<%= pb_rails("table/table_header", props: { text: "Column 4"}) %>
|
9
|
-
<%= pb_rails("table/table_header", props: { text: "Column 5"}) %>
|
10
|
-
<% end %>
|
11
|
-
<% end %>
|
12
|
-
<%= pb_rails("table/table_body") do %>
|
13
|
-
<%= pb_rails("table/table_row") do %>
|
14
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
|
15
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
|
16
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
|
17
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
|
18
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
|
19
|
-
<% end %>
|
20
|
-
<%= pb_rails("table/table_row") do %>
|
21
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
|
22
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
|
23
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
|
24
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
|
25
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
|
26
|
-
<% end %>
|
27
|
-
<%= pb_rails("table/table_row") do %>
|
28
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 1"}) %>
|
29
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 2"}) %>
|
30
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 3"}) %>
|
31
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 4"}) %>
|
32
|
-
<%= pb_rails("table/table_cell", props: { text: "Value 5"}) %>
|
33
|
-
<% end %>
|
34
|
-
<% end %>
|
35
|
-
<% end %>
|
36
|
-
<% end %>
|
@@ -1 +0,0 @@
|
|
1
|
-
Further customize your header by using the [table with background kit](https://playbook.powerapp.cloud/kits/table/rails#table-with-background-kit) logic to give your table header a custom background color. Use the `header_style: "floating"` prop to visually nest the borderless table within a card or collapsible with a matching background color (the `background_color` passed to Background kit should match the `background` or `background_color` for the element in which it is nested).
|