@@ -13,18 +13,29 @@ const utilityComponents = new Set(['Box', 'Text'])
13
13
14
14
// Components for which we allow a set of prop names
15
15
const excludedComponentProps = new Map ( [
16
+ [ 'ActionMenu.Overlay' , new Set ( [ 'width' , 'height' , 'maxHeight' , 'position' , 'top' , 'right' , 'bottom' , 'left' ] ) ] ,
17
+ [ 'Autocomplete.Overlay' , new Set ( [ 'width' , 'height' , 'maxHeight' , 'position' , 'top' , 'right' , 'bottom' , 'left' ] ) ] ,
16
18
[ 'AnchoredOverlay' , new Set ( [ 'width' , 'height' ] ) ] ,
17
19
[ 'Avatar' , new Set ( [ 'size' ] ) ] ,
18
20
[ 'AvatarToken' , new Set ( [ 'size' ] ) ] ,
19
21
[ 'CircleOcticon' , new Set ( [ 'size' ] ) ] ,
20
22
[ 'Dialog' , new Set ( [ 'width' , 'height' ] ) ] ,
21
23
[ 'IssueLabelToken' , new Set ( [ 'size' ] ) ] ,
24
+ [ 'Overlay' , new Set ( [ 'width' , 'height' , 'maxHeight' , 'position' , 'top' , 'right' , 'bottom' , 'left' ] ) ] ,
22
25
[ 'ProgressBar' , new Set ( [ 'bg' ] ) ] ,
23
26
[ 'Spinner' , new Set ( [ 'size' ] ) ] ,
27
+ [ 'SplitPageLayout.Header' , new Set ( [ 'padding' ] ) ] ,
28
+ [ 'SplitPageLayout.Footer' , new Set ( [ 'padding' ] ) ] ,
29
+ [ 'SplitPageLayout.Pane' , new Set ( [ 'padding' , 'position' , 'width' ] ) ] ,
30
+ [ 'SplitPageLayout.Content' , new Set ( [ 'padding' , 'width' ] ) ] ,
24
31
[ 'StyledOcticon' , new Set ( [ 'size' ] ) ] ,
25
32
[ 'PointerBox' , new Set ( [ 'bg' ] ) ] ,
26
33
[ 'Token' , new Set ( [ 'size' ] ) ] ,
27
34
[ 'PageLayout' , new Set ( [ 'padding' ] ) ] ,
35
+ [ 'PageLayout.Header' , new Set ( [ 'padding' ] ) ] ,
36
+ [ 'PageLayout.Footer' , new Set ( [ 'padding' ] ) ] ,
37
+ [ 'PageLayout.Pane' , new Set ( [ 'padding' , 'position' , 'width' ] ) ] ,
38
+ [ 'PageLayout.Content' , new Set ( [ 'padding' , 'width' ] ) ] ,
28
39
[ 'ProgressBar' , new Set ( [ 'bg' ] ) ] ,
29
40
[ 'PointerBox' , new Set ( [ 'bg' ] ) ]
30
41
] )
0 commit comments