playbook_ui_docs 14.17.0.pre.alpha.PBNTR925railstablecustomheaders7163 → 14.17.0.pre.alpha.PBNTR935draggablelinedesign7118

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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.jsx +102 -105
  3. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones.md +3 -3
  4. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.jsx +50 -48
  5. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_colors.md +1 -1
  6. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_line.jsx +115 -0
  7. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_drop_zones_line.md +5 -0
  8. data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_table_react.jsx → _draggable_with_table.jsx} +1 -1
  9. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.md +3 -1
  10. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +9 -6
  11. data/app/pb_kits/playbook/pb_draggable/docs/index.js +4 -1
  12. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_react.md +1 -1
  13. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
  14. data/dist/playbook-doc.js +1 -1
  15. metadata +16 -18
  16. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless.html.erb +0 -34
  17. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_borderless_rails.md +0 -1
  18. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating.html.erb +0 -36
  19. data/app/pb_kits/playbook/pb_table/docs/_table_with_header_style_floating_rails.md +0 -1
  20. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_default_rails.html.erb → _draggable_default.html.erb} +0 -0
  21. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_default.md → _draggable_default_react.md} +0 -0
  22. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_multiple_containers_rails.html.erb → _draggable_multiple_containers.html.erb} +0 -0
  23. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_multiple_containers.md → _draggable_multiple_containers_react.md} +0 -0
  24. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_cards_rails.html.erb → _draggable_with_cards.html.erb} +0 -0
  25. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_cards.md → _draggable_with_cards_react.md} +0 -0
  26. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_list_rails.html.erb → _draggable_with_list.html.erb} +0 -0
  27. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_list.md → _draggable_with_list_react.md} +0 -0
  28. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_selectable_list_rails.html.erb → _draggable_with_selectable_list.html.erb} +0 -0
  29. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_selectable_list.md → _draggable_with_selectable_list_react.md} +0 -0
  30. /data/app/pb_kits/playbook/pb_draggable/docs/{_draggable_with_table.md → _draggable_with_table_rails.md} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af2f5054ca14e068daa338f25e5ac9165957b0f9b706ae6c27900039fab73e5e
4
- data.tar.gz: 8ab0cba90edf086340a8c9507bd7ed7e0781f57ffbd50862bdc74b4fec01bad7
3
+ metadata.gz: 812d52324274150f272111494fbd9b2f5e9885235c949b0ae7352e00f8d2b3ef
4
+ data.tar.gz: 8d1496d8828359b57158693c91f788a905600f42de4c47da98ab8764b23a2a5f
5
5
  SHA512:
6
- metadata.gz: 1946040c9a5e88bd8390b822e72eed91ab2e9d68ae01a29413be4ab096889637f2ff604bd7caee451a54ba26b5cfe30fe3211c9e5268b6790ee621b7cb80c394
7
- data.tar.gz: 5f6ba9f4446858deb76b8fe3e2f6a6cd22328069fc1beea77ead996b0586911b5e4e7f3b207c4c9dd081b4baf686e642c75677a01163b2895512e73344f29019
6
+ metadata.gz: 542d0ae1814624cd8fb9b5c64488dc3141e05ca7adfa917ae4a1fed35f504c985e172a42ea194168623db52554d03c3dd5706f5d09b272a098890474c60a9c44
7
+ data.tar.gz: 529f05e4859528b59a4a8ad471c07889c752cbaa838a8b6f75a71a186087c2800bbdad4208941824320eed91b213daee891e13151521533bb9c09bb94436f997
@@ -60,123 +60,120 @@ const DraggableDropZones = (props) => {
60
60
 
61
61
  return (
62
62
  <>
63
- <Flex justify="between"
64
- {...props}
65
- >
66
- <FlexItem marginRight="xl">
67
- <DraggableProvider
68
- dropZone={{type: "shadow"}}
69
- initialItems={dataShadow}
70
- onReorder={(items) => setInitialShadowState(items)}
71
- >
72
- <Caption
73
- marginBottom="xs"
74
- textAlign="center"
75
- >
76
- {"Shadow"}
77
- </Caption>
78
- <Draggable.Container
79
- htmlOptions={{style:{ width: "200px"}}}
80
- {...props}
81
- >
82
- {initialShadowState.map(({ id, text }) => (
83
- <Card dragId={id}
84
- draggableItem
85
- key={id}
63
+ <Flex justify="between"
64
+ {...props}
65
+ >
66
+ <FlexItem marginRight="xl">
67
+ <DraggableProvider
68
+ dropZone={{type: "shadow"}}
69
+ initialItems={dataShadow}
70
+ onReorder={(items) => setInitialShadowState(items)}
71
+ >
72
+ <Caption
86
73
  marginBottom="xs"
87
- padding="xs"
74
+ text="Shadow"
75
+ textAlign="center"
76
+ />
77
+ <Draggable.Container
78
+ htmlOptions={{style:{ width: "200px"}}}
88
79
  {...props}
89
80
  >
90
- <Flex alignItems="stretch"
91
- flexDirection="column"
81
+ {initialShadowState.map(({ id, text }) => (
82
+ <Card dragId={id}
83
+ draggableItem
84
+ key={id}
85
+ marginBottom="xs"
86
+ padding="xs"
87
+ {...props}
92
88
  >
93
- <Body
94
- text={text}
95
- {...props}
96
- />
97
- </Flex>
98
- </Card>
99
- ))}
100
- </Draggable.Container>
101
- </DraggableProvider>
102
- </FlexItem>
103
- <FlexItem marginRight="xl">
104
- <DraggableProvider
105
- dropZone={{type: "outline"}}
106
- initialItems={dataOutline}
107
- onReorder={(items) => setInitialOutlineState(items)}
108
- >
109
- <Caption
110
- marginBottom="xs"
111
- textAlign="center"
112
- >
113
- {"Outline"}
114
- </Caption>
115
- <Draggable.Container
116
- htmlOptions={{style:{ width: "200px"}}}
117
- {...props}
118
- >
119
- {initialOutlineState.map(({ id, text }) => (
120
- <Card
121
- dragId={id}
122
- draggableItem
123
- key={id}
89
+ <Flex alignItems="stretch"
90
+ flexDirection="column"
91
+ >
92
+ <Body
93
+ text={text}
94
+ {...props}
95
+ />
96
+ </Flex>
97
+ </Card>
98
+ ))}
99
+ </Draggable.Container>
100
+ </DraggableProvider>
101
+ </FlexItem>
102
+ <FlexItem marginRight="xl">
103
+ <DraggableProvider
104
+ dropZone={{type: "outline"}}
105
+ initialItems={dataOutline}
106
+ onReorder={(items) => setInitialOutlineState(items)}
107
+ >
108
+ <Caption
124
109
  marginBottom="xs"
125
- padding="xs"
110
+ text="Outline"
111
+ textAlign="center"
112
+ />
113
+ <Draggable.Container
114
+ htmlOptions={{style:{ width: "200px"}}}
126
115
  {...props}
127
116
  >
128
- <Flex
129
- alignItems="stretch"
130
- flexDirection="column"
117
+ {initialOutlineState.map(({ id, text }) => (
118
+ <Card
119
+ dragId={id}
120
+ draggableItem
121
+ key={id}
122
+ marginBottom="xs"
123
+ padding="xs"
124
+ {...props}
131
125
  >
132
- <Body
133
- text={text}
134
- {...props}
135
- />
136
- </Flex>
137
- </Card>
138
- ))}
139
- </Draggable.Container>
140
- </DraggableProvider>
141
- </FlexItem>
142
- <FlexItem>
143
- <DraggableProvider
144
- dropZone={{type: "line"}}
145
- initialItems={dataLine}
146
- onReorder={(items) => setInitialLineState(items)}
147
- >
148
- <Caption
149
- marginBottom="xs"
150
- textAlign="center"
151
- >
152
- {"Line"}
153
- </Caption>
154
- <Draggable.Container
155
- htmlOptions={{style:{ width: "200px"}}}
156
- {...props}
157
- >
158
- {initialLineState.map(({ id, text }) => (
159
- <Card dragId={id}
160
- draggableItem
161
- key={id}
126
+ <Flex
127
+ alignItems="stretch"
128
+ flexDirection="column"
129
+ >
130
+ <Body
131
+ text={text}
132
+ {...props}
133
+ />
134
+ </Flex>
135
+ </Card>
136
+ ))}
137
+ </Draggable.Container>
138
+ </DraggableProvider>
139
+ </FlexItem>
140
+ <FlexItem>
141
+ <DraggableProvider
142
+ dropZone={{type: "line"}}
143
+ initialItems={dataLine}
144
+ onReorder={(items) => setInitialLineState(items)}
145
+ >
146
+ <Caption
162
147
  marginBottom="xs"
163
- padding="xs"
148
+ text="Line"
149
+ textAlign="center"
150
+ />
151
+ <Draggable.Container
152
+ htmlOptions={{style:{ width: "200px"}}}
164
153
  {...props}
165
154
  >
166
- <Flex alignItems="stretch"
167
- flexDirection="column"
155
+ {initialLineState.map(({ id, text }) => (
156
+ <Card dragId={id}
157
+ draggableItem
158
+ key={id}
159
+ marginBottom="xs"
160
+ padding="xs"
161
+ {...props}
168
162
  >
169
- <Body
170
- text={text}
171
- {...props}
172
- />
173
- </Flex>
174
- </Card>
175
- ))}
176
- </Draggable.Container>
177
- </DraggableProvider>
178
- </FlexItem>
179
- </Flex>
163
+ <Flex alignItems="stretch"
164
+ flexDirection="column"
165
+ >
166
+ <Body
167
+ text={text}
168
+ {...props}
169
+ />
170
+ </Flex>
171
+ </Card>
172
+ ))}
173
+ </Draggable.Container>
174
+ </DraggableProvider>
175
+ </FlexItem>
176
+ </Flex>
180
177
  </>
181
178
  );
182
179
  };
@@ -1,5 +1,5 @@
1
- The Draggable kit allows you to choose the style of drop zones that appear when dragging an item.
1
+ The Draggable kit lets you customize the style of drop zones that appear when dragging an item.
2
2
 
3
- By default, the Draggable kit utilizes the "ghost" style for drop zones, but you can also choose between "shadow", "outline", and "line".
3
+ By default, drop zones are in the "ghost" style, but you can also choose from "shadow," "outline," and "line."
4
4
 
5
- Additionally, when using the "line" style, be sure to set the proper `direction` attribute within the `dropZone` prop depending on the orentation of your draggable view. By default, this attribute is set to "vertical", but can also be used with a "horizontal" direction. The `direction` attribute only applies to the "line" style and will not affect other drop zone styles.
5
+ When using the "line" type, make sure to set the appropriate `direction` attribute within the `dropZone` prop based on the orientation of your draggable view. By default, this is set to "vertical," but it can also be adjusted to "horizontal." Note that the direction attribute only applies to the "line" type and does not affect other drop zone styles. For more on the "line" style in particular, check out the [Draggable Drop Zones Line doc example](https://playbook.powerapp.cloud/kits/draggable/react#draggable-drop-zones-line).
@@ -6,6 +6,8 @@ import Caption from '../../pb_caption/_caption'
6
6
  import Draggable from '../../pb_draggable/_draggable'
7
7
  import { DraggableProvider } from '../../pb_draggable/context'
8
8
 
9
+
10
+
9
11
  // Initial items to be dragged
10
12
  const dataPrimary = [
11
13
  {
@@ -42,54 +44,54 @@ const DraggableDropZonesColors = (props) => {
42
44
 
43
45
  return (
44
46
  <>
45
- <Caption marginBottom="xs">
46
- Primary
47
- </Caption>
48
- <DraggableProvider
49
- dropZone={{type: "shadow", color: "primary"}}
50
- initialItems={dataPrimary}
51
- onReorder={(items) => setInitialPrimaryState(items)}
52
- >
53
- <Draggable.Container {...props}>
54
- <Flex>
55
- {initialPrimaryState.map(({ id, url }) => (
56
- <Draggable.Item dragId={id}
57
- key={id}
58
- marginRight="sm"
59
- >
60
- <Image alt={id}
61
- size="md"
62
- url={url}
63
- />
64
- </Draggable.Item>
65
- ))}
66
- </Flex>
67
- </Draggable.Container>
68
- </DraggableProvider>
69
- <Caption marginBottom="xs">
70
- Purple
71
- </Caption>
72
- <DraggableProvider
73
- dropZone={{type: "outline", color: "purple"}}
74
- initialItems={dataPurple}
75
- onReorder={(items) => setInitialPurpleState(items)}
76
- >
77
- <Draggable.Container {...props}>
78
- <Flex>
79
- {initialPurpleState.map(({ id, url }) => (
80
- <Draggable.Item dragId={id}
81
- key={id}
82
- marginRight="sm"
83
- >
84
- <Image alt={id}
85
- size="md"
86
- url={url}
87
- />
88
- </Draggable.Item>
89
- ))}
90
- </Flex>
91
- </Draggable.Container>
92
- </DraggableProvider>
47
+ <Caption marginBottom="xs"
48
+ text="Primary"
49
+ />
50
+ <DraggableProvider
51
+ dropZone={{type: "shadow", color: "primary"}}
52
+ initialItems={dataPrimary}
53
+ onReorder={(items) => setInitialPrimaryState(items)}
54
+ >
55
+ <Draggable.Container {...props}>
56
+ <Flex>
57
+ {initialPrimaryState.map(({ id, url }) => (
58
+ <Draggable.Item dragId={id}
59
+ key={id}
60
+ marginRight="sm"
61
+ >
62
+ <Image alt={id}
63
+ size="md"
64
+ url={url}
65
+ />
66
+ </Draggable.Item>
67
+ ))}
68
+ </Flex>
69
+ </Draggable.Container>
70
+ </DraggableProvider>
71
+ <Caption marginBottom="xs"
72
+ text="Purple"
73
+ />
74
+ <DraggableProvider
75
+ dropZone={{type: "outline", color: "purple"}}
76
+ initialItems={dataPurple}
77
+ onReorder={(items) => setInitialPurpleState(items)}
78
+ >
79
+ <Draggable.Container {...props}>
80
+ <Flex>
81
+ {initialPurpleState.map(({ id, url }) => (
82
+ <Draggable.Item dragId={id}
83
+ key={id}
84
+ marginRight="sm"
85
+ >
86
+ <Image alt={id}
87
+ size="md"
88
+ url={url}
89
+ />
90
+ </Draggable.Item>
91
+ ))}
92
+ </Flex>
93
+ </Draggable.Container>
94
+ </DraggableProvider>
93
95
  </>
94
96
  );
95
97
  };
@@ -1 +1 @@
1
- By default, the Draggable kit sets the default color of drop zones to "neutral" (or "primary" if using the "line" style.)
1
+ The default `color` for Draggable kit drop zones is "neutral", with "primary" or "purple" as additional options. When `type` is set to "line", the default color is "primary" and "purple" is the only other option.
@@ -0,0 +1,115 @@
1
+ import React, { useState } from "react";
2
+ import Body from '../../pb_body/_body'
3
+ import Flex from '../../pb_flex/_flex'
4
+ import Card from '../../pb_card/_card'
5
+ import Caption from '../../pb_caption/_caption'
6
+ import Draggable from '../_draggable'
7
+ import { DraggableProvider } from '../context'
8
+ import Image from '../../pb_image/_image'
9
+
10
+
11
+
12
+ const dataLineVertical = [
13
+ {
14
+ id: "211",
15
+ url: "https://unsplash.it/500/400/?image=633",
16
+ },
17
+ {
18
+ id: "212",
19
+ url: "https://unsplash.it/500/400/?image=634",
20
+ },
21
+ {
22
+ id: "213",
23
+ url: "https://unsplash.it/500/400/?image=637",
24
+ },
25
+ ];
26
+
27
+ const dataLineHorizontal = [
28
+ {
29
+ id: "221",
30
+ text: "Task 1",
31
+ },
32
+ {
33
+ id: "222",
34
+ text: "Task 2",
35
+ },
36
+ {
37
+ id: "223",
38
+ text: "Task 3",
39
+ },
40
+ ];
41
+
42
+ const DraggableDropZones = (props) => {
43
+ const [initialLineVerticalState, setInitialLineVerticalState] = useState(dataLineVertical);
44
+ const [initialLineHorizontalState, setInitialLineHorizontalState] = useState(dataLineHorizontal);
45
+
46
+ return (
47
+ <>
48
+ <Caption marginBottom="xs"
49
+ marginTop="xl"
50
+ text="Vertical"
51
+ />
52
+ <DraggableProvider
53
+ dropZone={{ type: "line", color: "purple" }}
54
+ initialItems={dataLineVertical}
55
+ onReorder={(items) => setInitialLineVerticalState(items)}
56
+ >
57
+ <Draggable.Container {...props}>
58
+ <Flex flexDirection="column"
59
+ height="367px"
60
+ >
61
+ {initialLineVerticalState.map(({ id, url }) => (
62
+ <Draggable.Item dragId={id}
63
+ key={id}
64
+ marginBottom="sm"
65
+ >
66
+ <Image alt={id}
67
+ size="md"
68
+ url={url}
69
+ />
70
+ </Draggable.Item>
71
+ ))}
72
+ </Flex>
73
+ </Draggable.Container>
74
+ </DraggableProvider>
75
+ <Caption marginBottom="xs"
76
+ marginTop="xl"
77
+ text="Horizontal"
78
+ />
79
+ <Flex>
80
+ <DraggableProvider
81
+ dropZone={{ type: "line", direction: "horizontal" }}
82
+ initialItems={dataLineHorizontal}
83
+ onReorder={(items) => setInitialLineHorizontalState(items)}
84
+ >
85
+ <Draggable.Container
86
+ htmlOptions={{style:{ width: "285px"}}}
87
+ {...props}
88
+ >
89
+ <Flex alignItems="stretch"
90
+ flexDirection="row"
91
+ height="42px"
92
+ >
93
+ {initialLineHorizontalState.map(({ id, text }) => (
94
+ <Card dragId={id}
95
+ draggableItem
96
+ key={id}
97
+ marginRight="xs"
98
+ padding="xs"
99
+ {...props}
100
+ >
101
+ <Body
102
+ text={text}
103
+ {...props}
104
+ />
105
+ </Card>
106
+ ))}
107
+ </Flex>
108
+ </Draggable.Container>
109
+ </DraggableProvider>
110
+ </Flex>
111
+ </>
112
+ );
113
+ };
114
+
115
+ export default DraggableDropZones;
@@ -0,0 +1,5 @@
1
+ When using the "line" style, make sure to set the appropriate `direction` attribute within the `dropZone` prop based on the orientation of your draggable view. By default, this is set to "vertical," but it can also be adjusted to "horizontal." Note that the direction attribute only applies to the "line" style and does not affect other drop zone styles. The default `color` for "line" is "primary" and "purple" is the only alternative color option.
2
+
3
+ The length of the line is calculated based off of the width (for "vertical") or height (for "horizontal") of the parent container holding the draggable items.
4
+
5
+ Additionally, if the parent container of the `DraggableProvider`/`DraggableContainer` (or a subcontainer within) does not have a set height (for "vertical") or width (for "horizontal"), like the [Draggable Drop Zones doc example](https://playbook.powerapp.cloud/kits/draggable/react#draggable-drop-zones) does, elements on the page may jump up (for "vertical") or to the left (for "horizontal") when an item is actively being dragged. To prevent this, give a parent element a fixed height (for "vertical") or width (for "horizontal") as demonstrated in this doc example.
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from "react";
2
2
 
3
3
  import Flex from '../../pb_flex/_flex'
4
- import { DraggableProvider } from '../../pb_draggable/context'
4
+ import { DraggableProvider } from '../context'
5
5
  import Avatar from '../../pb_avatar/_avatar'
6
6
  import Body from '../../pb_body/_body'
7
7
  import Table from '../../pb_table/_table'
@@ -2,4 +2,6 @@ The draggable kit can also be used in conjunction with the table kit to create d
2
2
 
3
3
  - Wrap the Table with the `DraggableProvider` and manage state as shown.
4
4
  - use the `draggableContainer` prop on the Table.Body to designate it as the Draggable Container
5
- - use the `draggableItem` prop on the Table.Row to designate it as the Draggable Item. Make sure to also pass id to the `dragId` prop here.
5
+ - use the `draggableItem` prop on the Table.Row to designate it as the Draggable Item. Make sure to also pass id to the `dragId` prop here.
6
+
7
+ We recommending using the default `dropZone type` with the Table kit.
@@ -4,14 +4,17 @@ examples:
4
4
  - draggable_with_list: Draggable with List Kit
5
5
  - draggable_with_selectable_list: Draggable with SelectableList Kit
6
6
  - draggable_with_cards: Draggable with Cards
7
- - draggable_with_table_react: Draggable with Table
7
+ - draggable_with_table: Draggable with Table
8
8
  - draggable_multiple_containers: Dragging Across Multiple Containers
9
+ - draggable_drop_zones: Draggable Drop Zones
10
+ - draggable_drop_zones_colors: Draggable Drop Zones Colors
11
+ - draggable_drop_zones_line: Draggable Drop Zones Line
9
12
 
10
13
  rails:
11
- - draggable_default_rails: Default
12
- - draggable_with_list_rails: Draggable with List Kit
13
- - draggable_with_selectable_list_rails: Draggable with SelectableList Kit
14
- - draggable_with_cards_rails: Draggable with Cards
14
+ - draggable_default: Default
15
+ - draggable_with_list: Draggable with List Kit
16
+ - draggable_with_selectable_list: Draggable with SelectableList Kit
17
+ - draggable_with_cards: Draggable with Cards
15
18
  - draggable_with_table: Draggable with Table
16
- - draggable_multiple_containers_rails: Dragging Across Multiple Containers
19
+ - draggable_multiple_containers: Dragging Across Multiple Containers
17
20
 
@@ -3,4 +3,7 @@ export { default as DraggableWithCards } from './_draggable_with_cards.jsx'
3
3
  export { default as DraggableWithList } from './_draggable_with_list.jsx'
4
4
  export { default as DraggableWithSelectableList } from './_draggable_with_selectable_list.jsx'
5
5
  export { default as DraggableMultipleContainers } from './_draggable_multiple_containers.jsx'
6
- export { default as DraggableWithTableReact } from './_draggable_with_table_react.jsx'
6
+ export { default as DraggableWithTable } from './_draggable_with_table.jsx'
7
+ export { default as DraggableDropZones } from './_draggable_drop_zones.jsx'
8
+ export { default as DraggableDropZonesColors } from './_draggable_drop_zones_colors.jsx'
9
+ export { default as DraggableDropZonesLine } from './_draggable_drop_zones_line.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 `background` or `backgroundColor` for the element in which it is nested).
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