playbook_ui_docs 14.17.0.pre.alpha.PLAY1823maskedsanitizedtextinput7271 → 14.17.0.pre.alpha.PLAY1967bracketlayoutphase27198
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_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx +2 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -4
- data/app/pb_kits/playbook/pb_background/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_background/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.html.erb +5 -15
- data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +5 -20
- data/app/pb_kits/playbook/pb_layout/docs/_layout_bracket.jsx +14 -18
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -1
- data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -3
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -3
- 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
- data/dist/playbook-doc.js +1 -1
- metadata +2 -22
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.jsx +0 -58
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns.md +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.jsx +0 -64
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.md +0 -8
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.jsx +0 -55
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.html.erb +0 -33
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_header_rails.md +0 -3
- data/app/pb_kits/playbook/pb_background/docs/_background_overlay.jsx +0 -35
- data/app/pb_kits/playbook/pb_background/docs/_background_overlay.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.jsx +0 -63
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_color.md +0 -3
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.jsx +0 -39
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_gradient_opacity.md +0 -1
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.jsx +0 -40
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.md +0 -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: 210d30ebffd99bbd7373302fa992564969aa27aece0a6e305de554c0d252bae3
|
4
|
+
data.tar.gz: 00c9148cb760fb95398cc6a3e854ea0f30236255389da4df6f93db91acb287e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 102a74b5b4a3d4ff614711aa8993ca136a8715588b540ef4ec42f2fe416a75e598f34bdbae483d79b85e68eec2faf1761b9196e425d20dee85e6bd3919ce63e0
|
7
|
+
data.tar.gz: faae646d065581e96999f1494c2d33418409dc940b7d7d3d74cb1bb5a4b47c6e199414d8ff96703a6f27d45900be5f9487a65ab81f58cf9244837477957b8f37
|
@@ -30,4 +30,4 @@
|
|
30
30
|
}
|
31
31
|
] %>
|
32
32
|
|
33
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, table_props: {
|
33
|
+
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, responsive: "none", table_props: { container: false, sticky: true }}) %>
|
@@ -37,13 +37,14 @@ const AdvancedTableTableProps = (props) => {
|
|
37
37
|
|
38
38
|
const tableProps = {
|
39
39
|
container: false,
|
40
|
-
|
40
|
+
sticky: true
|
41
41
|
}
|
42
42
|
|
43
43
|
return (
|
44
44
|
<div>
|
45
45
|
<AdvancedTable
|
46
46
|
columnDefinitions={columnDefinitions}
|
47
|
+
responsive="none"
|
47
48
|
tableData={MOCK_DATA}
|
48
49
|
tableProps={tableProps}
|
49
50
|
{...props}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table
|
1
|
+
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table) under the hood which comes with its own set of props. If you want to apply certain Table props to that underlying kit, you can do so by using the optional `table_props` prop. This prop must be an object that contains valid Table props. For a full list of Table props, see [here](https://playbook.powerapp.cloud/kits/table).
|
2
2
|
|
3
|
-
This doc example showcases
|
3
|
+
This doc example showcases how to set a sticky header for a nonresponsive table. To achieve sticky header AND responsive functionality, see the ["Table Props Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table#table-props-sticky-header) doc example below.
|
@@ -1,3 +1,3 @@
|
|
1
1
|
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table/react) under the hood which comes with its own set of props. If you want to apply certain Table props to that underlying kit, you can do so by using the optional `tableProps` prop. This prop must be an object that contains valid Table props. For a full list of Table props, see [here](https://playbook.powerapp.cloud/kits/table/react).
|
2
2
|
|
3
|
-
This doc example showcases
|
3
|
+
This doc example showcases how to set a sticky header for a nonresponsive table. To achieve sticky header AND responsive functionality, see the ["Table Props Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table/react#table-props-sticky-header) doc example below.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `table_props` and giving the AdvancedTable a `max_height` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop.
|
1
|
+
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `table_props` and giving the AdvancedTable a `max_height` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop. This behavior requires a `max_height` to work. The header is sticky within the table container, allowing for it to work along with the first column stickiness of a responsive table on smaller screen sizes.
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Expand the table above to see this in action.
|
6
|
-
|
7
|
-
A sticky header on a nonresponsive table is demonstrated in the ["Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table#sticky-header) doc example above.
|
3
|
+
A sticky header on a nonresponsive table is demonstrated in the ["Table Props"](https://playbook.powerapp.cloud/kits/advanced_table#table-props) doc example above.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `tableProps` and giving the AdvancedTable a `maxHeight` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop.
|
1
|
+
Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `tableProps` and giving the AdvancedTable a `maxHeight` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop. This behavior requires a `maxHeight` to work. The header is sticky within the table container, allowing for it to work along with the first column stickiness of a responsive table on smaller screen sizes.
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
Expand the table above to see this in action.
|
6
|
-
|
7
|
-
A sticky header on a nonresponsive table is demonstrated in the ["Sticky Header"](https://playbook.powerapp.cloud/kits/advanced_table/react#sticky-header) doc example above.
|
3
|
+
A sticky header on a nonresponsive table is demonstrated in the ["Table Props"](https://playbook.powerapp.cloud/kits/advanced_table/react#table-props) doc example above.
|
@@ -5,8 +5,7 @@ examples:
|
|
5
5
|
- advanced_table_beta_subrow_headers: SubRow Headers
|
6
6
|
- advanced_table_collapsible_trail_rails: Collapsible Trail
|
7
7
|
- advanced_table_table_props: Table Props
|
8
|
-
-
|
9
|
-
- advanced_table_table_props_sticky_header: Sticky Header for Responsive Table
|
8
|
+
- advanced_table_table_props_sticky_header: Table Props Sticky Header
|
10
9
|
- advanced_table_beta_sort: Enable Sorting
|
11
10
|
- advanced_table_responsive: Responsive Tables
|
12
11
|
- advanced_table_custom_cell_rails: Custom Components for Cells
|
@@ -26,10 +25,7 @@ examples:
|
|
26
25
|
- advanced_table_collapsible_trail: Collapsible Trail
|
27
26
|
- advanced_table_table_options: Table Options
|
28
27
|
- advanced_table_table_props: Table Props
|
29
|
-
-
|
30
|
-
- advanced_table_table_props_sticky_header: Sticky Header for Responsive Table
|
31
|
-
- advanced_table_sticky_columns: Sticky Columns
|
32
|
-
- advanced_table_sticky_columns_and_header: Sticky Columns with Sticky Header
|
28
|
+
- advanced_table_table_props_sticky_header: Table Props Sticky Header
|
33
29
|
- advanced_table_inline_row_loading: Inline Row Loading
|
34
30
|
- advanced_table_responsive: Responsive Tables
|
35
31
|
- advanced_table_custom_cell: Custom Components for Cells
|
@@ -22,7 +22,4 @@ export { default as AdvancedTableSelectableRowsActions } from './_advanced_table
|
|
22
22
|
export { default as AdvancedTableTablePropsStickyHeader } from './_advanced_table_table_props_sticky_header.jsx'
|
23
23
|
export { default as AdvancedTableColumnHeadersCustomCell } from './_advanced_table_column_headers_custom_cell.jsx'
|
24
24
|
export { default as AdvancedTableInlineEditing } from './_advanced_table_inline_editing.jsx'
|
25
|
-
export { default as AdvancedTableFullscreen } from './_advanced_table_fullscreen.jsx'
|
26
|
-
export { default as AdvancedTableStickyColumns } from './_advanced_table_sticky_columns.jsx'
|
27
|
-
export { default as AdvancedTableStickyHeader } from './_advanced_table_sticky_header.jsx'
|
28
|
-
export { default as AdvancedTableStickyColumnsAndHeader } from './_advanced_table_sticky_columns_and_header.jsx'
|
25
|
+
export { default as AdvancedTableFullscreen } from './_advanced_table_fullscreen.jsx'
|
@@ -6,4 +6,3 @@ export { default as BackgroundStatus } from './_background_status.jsx'
|
|
6
6
|
export { default as BackgroundStatusSubtle } from './_background_status_subtle.jsx'
|
7
7
|
export { default as BackgroundCategory } from './_background_category.jsx'
|
8
8
|
export { default as BackgroundSize } from './_background_size.jsx'
|
9
|
-
export { default as BackgroundOverlay } from './_background_overlay.jsx'
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
<div>
|
2
|
+
|
2
3
|
<%= pb_rails("form_group") do %>
|
3
4
|
<%= pb_rails("text_input", props: { placeholder: "Enter Artist Name" }) %>
|
4
5
|
<%= pb_rails("select", props: {
|
@@ -16,6 +17,8 @@
|
|
16
17
|
]
|
17
18
|
}) %>
|
18
19
|
<% end %>
|
20
|
+
<br>
|
21
|
+
<br>
|
19
22
|
<%= pb_rails("form_group") do %>
|
20
23
|
<%= pb_rails("select", props: {
|
21
24
|
blank_selection: "Phone",
|
@@ -29,17 +32,4 @@
|
|
29
32
|
id: "phone"
|
30
33
|
}) %>
|
31
34
|
<% end %>
|
32
|
-
|
33
|
-
<%= pb_rails("phone_number_input", props: {
|
34
|
-
id: "phone2"
|
35
|
-
}) %>
|
36
|
-
<%= pb_rails("select", props: {
|
37
|
-
blank_selection: "Phone",
|
38
|
-
options: [
|
39
|
-
{ value: "Cell" },
|
40
|
-
{ value: "Work" },
|
41
|
-
{ value: "Home" },
|
42
|
-
]
|
43
|
-
}) %>
|
44
|
-
<% end %>
|
45
|
-
<% end %>
|
35
|
+
</div>
|
@@ -4,7 +4,6 @@ import FormGroup from '../_form_group'
|
|
4
4
|
import PhoneNumberInput from '../../pb_phone_number_input/_phone_number_input'
|
5
5
|
import Select from '../../pb_select/_select'
|
6
6
|
import TextInput from '../../pb_text_input/_text_input'
|
7
|
-
import Flex from '../../pb_flex/_flex'
|
8
7
|
|
9
8
|
const FormGroupSelect = (props) => {
|
10
9
|
const options = [
|
@@ -26,10 +25,7 @@ const FormGroupSelect = (props) => {
|
|
26
25
|
]
|
27
26
|
|
28
27
|
return (
|
29
|
-
<
|
30
|
-
orientation="column"
|
31
|
-
rowGap="md"
|
32
|
-
>
|
28
|
+
<div>
|
33
29
|
<FormGroup>
|
34
30
|
<TextInput
|
35
31
|
placeholder="Enter Artist Name"
|
@@ -41,29 +37,18 @@ const FormGroupSelect = (props) => {
|
|
41
37
|
{...props}
|
42
38
|
/>
|
43
39
|
</FormGroup>
|
40
|
+
<br />
|
41
|
+
<br />
|
44
42
|
<FormGroup>
|
45
43
|
<Select
|
46
44
|
blankSelection="Phone"
|
47
45
|
options={phoneOptions}
|
48
|
-
|
49
|
-
/>
|
46
|
+
/>
|
50
47
|
<PhoneNumberInput
|
51
48
|
id='default'
|
52
|
-
{...props}
|
53
49
|
/>
|
54
50
|
</FormGroup>
|
55
|
-
|
56
|
-
<PhoneNumberInput
|
57
|
-
id='default-2'
|
58
|
-
{...props}
|
59
|
-
/>
|
60
|
-
<Select
|
61
|
-
blankSelection="Phone"
|
62
|
-
options={phoneOptions}
|
63
|
-
{...props}
|
64
|
-
/>
|
65
|
-
</FormGroup>
|
66
|
-
</Flex>
|
51
|
+
</div>
|
67
52
|
)
|
68
53
|
}
|
69
54
|
|
@@ -6,85 +6,85 @@ import SectionSeparator from '../../pb_section_separator/_section_separator'
|
|
6
6
|
|
7
7
|
const teamData = {
|
8
8
|
eagles: {
|
9
|
-
avatar:"https://
|
9
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/8/8e/Philadelphia_Eagles_logo.svg/1920px-Philadelphia_Eagles_logo.svg.png",
|
10
10
|
name:"Eagles",
|
11
11
|
rank:"#1 NFC East",
|
12
12
|
territory:"PHI",
|
13
13
|
},
|
14
14
|
packers: {
|
15
|
-
avatar:"https://
|
15
|
+
avatar:"https://upload.wikimedia.org/wikipedia/commons/thumb/5/50/Green_Bay_Packers_logo.svg/1920px-Green_Bay_Packers_logo.svg.png",
|
16
16
|
name:"Packers",
|
17
17
|
rank:"#3 NFC North",
|
18
18
|
territory:"GB",
|
19
19
|
},
|
20
20
|
vikings: {
|
21
|
-
avatar:"https://
|
21
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/4/48/Minnesota_Vikings_logo.svg/1024px-Minnesota_Vikings_logo.svg.png",
|
22
22
|
name:"Vikings",
|
23
23
|
rank:"#2 NFC North",
|
24
24
|
territory:"MIN",
|
25
25
|
},
|
26
26
|
rams: {
|
27
|
-
avatar:"https://
|
27
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/8/8a/Los_Angeles_Rams_logo.svg/1920px-Los_Angeles_Rams_logo.svg.png",
|
28
28
|
name:"Rams",
|
29
29
|
rank:"#1 NFC West",
|
30
30
|
territory:"LAR",
|
31
31
|
},
|
32
32
|
lions: {
|
33
|
-
avatar:"https://
|
33
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/7/71/Detroit_Lions_logo.svg/1920px-Detroit_Lions_logo.svg.png",
|
34
34
|
name:"Lions",
|
35
35
|
rank:"#1 NFC North",
|
36
36
|
territory:"DET",
|
37
37
|
},
|
38
38
|
commanders: {
|
39
|
-
avatar:"https://
|
39
|
+
avatar:"https://upload.wikimedia.org/wikipedia/commons/thumb/0/0c/Washington_Commanders_logo.svg/2560px-Washington_Commanders_logo.svg.png",
|
40
40
|
name:"Commanders",
|
41
41
|
rank:"#2 NFC East",
|
42
42
|
territory:"WAS",
|
43
43
|
},
|
44
44
|
buccaneers: {
|
45
|
-
avatar:"https://
|
45
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/a/a2/Tampa_Bay_Buccaneers_logo.svg/1920px-Tampa_Bay_Buccaneers_logo.svg.png",
|
46
46
|
name:"Buccaneers",
|
47
47
|
rank:"#1 NFC South",
|
48
48
|
territory:"TB",
|
49
49
|
},
|
50
50
|
chiefs: {
|
51
|
-
avatar:"https://
|
51
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/e/e1/Kansas_City_Chiefs_logo.svg/2560px-Kansas_City_Chiefs_logo.svg.png",
|
52
52
|
name:"Chiefs",
|
53
53
|
rank:"#1 AFC West",
|
54
54
|
territory:"KC",
|
55
55
|
},
|
56
56
|
chargers: {
|
57
|
-
avatar:"https://
|
57
|
+
avatar:"https://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Los_Angeles_Chargers_logo.svg/2560px-Los_Angeles_Chargers_logo.svg.png",
|
58
58
|
name:"Chargers",
|
59
59
|
rank:"#2 AFC West",
|
60
60
|
territory:"LAC",
|
61
61
|
},
|
62
62
|
texans: {
|
63
|
-
avatar:"https://
|
63
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/2/28/Houston_Texans_logo.svg/1280px-Houston_Texans_logo.svg.png",
|
64
64
|
name:"Texans",
|
65
65
|
rank:"#1 AFC South",
|
66
66
|
territory:"HOU",
|
67
67
|
},
|
68
68
|
broncos: {
|
69
|
-
avatar:"https://
|
69
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/4/44/Denver_Broncos_logo.svg/2560px-Denver_Broncos_logo.svg.png",
|
70
70
|
name:"Broncos",
|
71
71
|
rank:"#3 AFC West",
|
72
72
|
territory:"DEN",
|
73
73
|
},
|
74
74
|
bills: {
|
75
|
-
avatar:"https://
|
75
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/7/77/Buffalo_Bills_logo.svg/1920px-Buffalo_Bills_logo.svg.png",
|
76
76
|
name:"Bills",
|
77
77
|
rank:"#1 AFC East",
|
78
78
|
territory:"BUF",
|
79
79
|
},
|
80
80
|
steelers: {
|
81
|
-
avatar:"https://
|
81
|
+
avatar:"https://upload.wikimedia.org/wikipedia/commons/thumb/d/de/Pittsburgh_Steelers_logo.svg/1280px-Pittsburgh_Steelers_logo.svg.png",
|
82
82
|
name:"Steelers",
|
83
83
|
rank:"#2 AFC North",
|
84
84
|
territory:"PIT",
|
85
85
|
},
|
86
86
|
ravens: {
|
87
|
-
avatar:"https://
|
87
|
+
avatar:"https://upload.wikimedia.org/wikipedia/en/thumb/1/16/Baltimore_Ravens_logo.svg/2560px-Baltimore_Ravens_logo.svg.png",
|
88
88
|
name:"Ravens",
|
89
89
|
rank:"#1 AFC North",
|
90
90
|
territory:"BAL",
|
@@ -121,7 +121,6 @@ const LayoutBracket = () => {
|
|
121
121
|
name={teamData.eagles.name}
|
122
122
|
points="22"
|
123
123
|
rank={teamData.eagles.rank}
|
124
|
-
self
|
125
124
|
territory={teamData.eagles.territory}
|
126
125
|
winner
|
127
126
|
/>
|
@@ -264,7 +263,6 @@ const LayoutBracket = () => {
|
|
264
263
|
name={teamData.eagles.name}
|
265
264
|
points="28"
|
266
265
|
rank={teamData.eagles.rank}
|
267
|
-
self
|
268
266
|
territory={teamData.eagles.territory}
|
269
267
|
winner
|
270
268
|
/>
|
@@ -339,7 +337,6 @@ const LayoutBracket = () => {
|
|
339
337
|
name={teamData.eagles.name}
|
340
338
|
points="55"
|
341
339
|
rank={teamData.eagles.rank}
|
342
|
-
self
|
343
340
|
territory={teamData.eagles.territory}
|
344
341
|
winner
|
345
342
|
/>
|
@@ -382,7 +379,6 @@ const LayoutBracket = () => {
|
|
382
379
|
rank={teamData.eagles.rank}
|
383
380
|
self
|
384
381
|
territory={teamData.eagles.territory}
|
385
|
-
winner
|
386
382
|
/>
|
387
383
|
</Layout.Game>
|
388
384
|
</Layout.Round>
|
@@ -1 +1,7 @@
|
|
1
|
-
Overlays
|
1
|
+
Overlays optionally accept a `color`, which sets the "start" (opaque) color of a gradient mask. Because this overlay is intended to reveal underlying content, the "end" color is fixed to transparent.
|
2
|
+
|
3
|
+
The optional `layout` prop accepts the `position` and `size` of the overlay as a key:value pair.
|
4
|
+
|
5
|
+
The `position` key accepts `bottom` (default), `top`, `y` (for both top and bottom) `right`, `left`, or `x` (for both left and right), which sets the side(s) where the `color` overlay starts. The direction of the overlay is always toward the opposite side of the position. For example, the default position of `bottom` starts the overlay on the bottom edge of your container and extends it toward the opposite side: the top.
|
6
|
+
|
7
|
+
The `size` value is `full` (100%) by default, but accepts our [spacing tokens](https://playbook.powerapp.cloud/visual_guidelines/spacing) or a percentage value as a string, and literally translates to how much of the container is covered by the overlay(s).
|
@@ -1,9 +1,6 @@
|
|
1
1
|
examples:
|
2
2
|
react:
|
3
3
|
- overlay_default: Default
|
4
|
-
- overlay_gradient_opacity: Gradient & Opacity
|
5
|
-
- overlay_color: Color
|
6
|
-
- overlay_layout: Layout
|
7
4
|
- overlay_multi_directional: Multi-directional
|
8
5
|
- overlay_vertical_dynamic_multi_directional: Vertical Dynamic Multi-directional
|
9
6
|
- overlay_toggle: Toggle
|
@@ -1,7 +1,4 @@
|
|
1
1
|
export { default as OverlayDefault } from './_overlay_default.jsx'
|
2
|
-
export { default as OverlayGradientOpacity } from './_overlay_gradient_opacity.jsx'
|
3
|
-
export { default as OverlayColor } from './_overlay_color.jsx'
|
4
|
-
export { default as OverlayLayout } from './_overlay_layout.jsx'
|
5
2
|
export { default as OverlayMultiDirectional } from './_overlay_multi_directional.jsx'
|
6
3
|
export { default as OverlayToggle } from './_overlay_toggle.jsx'
|
7
4
|
export { default as OverlayVerticalDynamicMultiDirectional } from './_overlay_vertical_dynamic_multi_directional.jsx'
|
@@ -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
|