@patternfly/react-core 4.221.7 → 4.221.10

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 (31) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/esm/components/Label/Label.d.ts +1 -1
  3. package/dist/esm/components/Label/Label.d.ts.map +1 -1
  4. package/dist/esm/components/Label/Label.js +1 -0
  5. package/dist/esm/components/Label/Label.js.map +1 -1
  6. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  7. package/dist/esm/components/Select/Select.js +1 -0
  8. package/dist/esm/components/Select/Select.js.map +1 -1
  9. package/dist/js/components/Label/Label.d.ts +1 -1
  10. package/dist/js/components/Label/Label.d.ts.map +1 -1
  11. package/dist/js/components/Label/Label.js +1 -0
  12. package/dist/js/components/Label/Label.js.map +1 -1
  13. package/dist/js/components/Select/Select.d.ts.map +1 -1
  14. package/dist/js/components/Select/Select.js +1 -0
  15. package/dist/js/components/Select/Select.js.map +1 -1
  16. package/dist/umd/react-core.js +2 -0
  17. package/dist/umd/react-core.min.css +38 -38
  18. package/dist/umd/react-core.min.js +2 -2
  19. package/package.json +5 -5
  20. package/src/components/EmptyState/examples/EmptyState.md +7 -193
  21. package/src/components/EmptyState/examples/EmptyStateBasic.tsx +32 -0
  22. package/src/components/EmptyState/examples/EmptyStateExtraLarge.tsx +33 -0
  23. package/src/components/EmptyState/examples/EmptyStateExtraSmall.tsx +29 -0
  24. package/src/components/EmptyState/examples/EmptyStateLarge.tsx +33 -0
  25. package/src/components/EmptyState/examples/EmptyStateNoMatchFound.tsx +16 -0
  26. package/src/components/EmptyState/examples/EmptyStateSmall.tsx +33 -0
  27. package/src/components/EmptyState/examples/EmptyStateSpinner.tsx +11 -0
  28. package/src/components/Label/Label.tsx +2 -1
  29. package/src/components/Label/examples/Label.md +44 -0
  30. package/src/components/Select/Select.tsx +1 -0
  31. package/src/components/Tabs/examples/Tabs.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "4.221.7",
3
+ "version": "4.221.10",
4
4
  "description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
5
5
  "main": "dist/js/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -34,9 +34,9 @@
34
34
  "generate": "node scripts/copyStyles.js"
35
35
  },
36
36
  "dependencies": {
37
- "@patternfly/react-icons": "^4.72.7",
38
- "@patternfly/react-styles": "^4.71.7",
39
- "@patternfly/react-tokens": "^4.73.7",
37
+ "@patternfly/react-icons": "^4.72.10",
38
+ "@patternfly/react-styles": "^4.71.10",
39
+ "@patternfly/react-tokens": "^4.73.10",
40
40
  "focus-trap": "6.9.2",
41
41
  "react-dropzone": "9.0.0",
42
42
  "tippy.js": "5.1.2",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.8.0 || ^17.0.0",
61
61
  "react-dom": "^16.8.0 || ^17.0.0"
62
62
  },
63
- "gitHead": "9f9b98091cf0361abdc23cd00cc5652d4421bdb4"
63
+ "gitHead": "4c074ff2399b6dd544baff5536a61b73cbcb1fb0"
64
64
  }
@@ -9,222 +9,36 @@ import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
9
9
 
10
10
  ## Examples
11
11
  ### Basic
12
- ```js
13
- import React from 'react';
14
- import {
15
- Title,
16
- Button,
17
- EmptyState,
18
- EmptyStateIcon,
19
- EmptyStateBody,
20
- EmptyStateSecondaryActions
21
- } from '@patternfly/react-core';
22
- import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
23
12
 
24
- <EmptyState>
25
- <EmptyStateIcon icon={CubesIcon} />
26
- <Title headingLevel="h4" size="lg">
27
- Empty state
28
- </Title>
29
- <EmptyStateBody>
30
- This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
31
- enough to meet a variety of needs.
32
- </EmptyStateBody>
33
- <Button variant="primary">Primary action</Button>
34
- <EmptyStateSecondaryActions>
35
- <Button variant="link">Multiple</Button>
36
- <Button variant="link">Action Buttons</Button>
37
- <Button variant="link">Can</Button>
38
- <Button variant="link">Go here</Button>
39
- <Button variant="link">In the secondary</Button>
40
- <Button variant="link">Action area</Button>
41
- </EmptyStateSecondaryActions>
42
- </EmptyState>
13
+ ```ts file="EmptyStateBasic.tsx"
43
14
  ```
44
15
 
45
16
  ### Extra small
46
- ```js
47
- import React from 'react';
48
- import {
49
- Title,
50
- Button,
51
- EmptyState,
52
- EmptyStateVariant,
53
- EmptyStateBody,
54
- EmptyStateSecondaryActions
55
- } from '@patternfly/react-core';
56
17
 
57
- <EmptyState variant={EmptyStateVariant.xs}>
58
- <Title headingLevel="h4" size="md">
59
- Empty state
60
- </Title>
61
- <EmptyStateBody>
62
- This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
63
- enough to meet a variety of needs.
64
- </EmptyStateBody>
65
- <EmptyStateSecondaryActions>
66
- <Button variant="link">Multiple</Button>
67
- <Button variant="link">Action Buttons</Button>
68
- <Button variant="link">Can</Button>
69
- <Button variant="link">Go here</Button>
70
- <Button variant="link">In the secondary</Button>
71
- <Button variant="link">Action area</Button>
72
- </EmptyStateSecondaryActions>
73
- </EmptyState>
18
+ ```ts file="EmptyStateExtraSmall.tsx"
74
19
  ```
75
20
 
76
21
  ### Small
77
- ```js
78
- import React from 'react';
79
- import {
80
- Title,
81
- Button,
82
- EmptyState,
83
- EmptyStateVariant,
84
- EmptyStateIcon,
85
- EmptyStateBody,
86
- EmptyStateSecondaryActions
87
- } from '@patternfly/react-core';
88
- import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
89
22
 
90
- <EmptyState variant={EmptyStateVariant.small}>
91
- <EmptyStateIcon icon={CubesIcon} />
92
- <Title headingLevel="h4" size="lg">
93
- Empty state
94
- </Title>
95
- <EmptyStateBody>
96
- This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
97
- enough to meet a variety of needs.
98
- </EmptyStateBody>
99
- <Button variant="primary">Primary action</Button>
100
- <EmptyStateSecondaryActions>
101
- <Button variant="link">Multiple</Button>
102
- <Button variant="link">Action Buttons</Button>
103
- <Button variant="link">Can</Button>
104
- <Button variant="link">Go here</Button>
105
- <Button variant="link">In the secondary</Button>
106
- <Button variant="link">Action area</Button>
107
- </EmptyStateSecondaryActions>
108
- </EmptyState>
23
+ ```ts file="EmptyStateSmall.tsx"
109
24
  ```
110
25
 
111
26
  ### Large
112
- ```js
113
- import React from 'react';
114
- import {
115
- Title,
116
- Button,
117
- EmptyState,
118
- EmptyStateVariant,
119
- EmptyStateIcon,
120
- EmptyStateBody,
121
- EmptyStateSecondaryActions
122
- } from '@patternfly/react-core';
123
- import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
124
27
 
125
- <EmptyState variant={EmptyStateVariant.large}>
126
- <EmptyStateIcon icon={CubesIcon} />
127
- <Title headingLevel="h4" size="lg">
128
- Empty state
129
- </Title>
130
- <EmptyStateBody>
131
- This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
132
- enough to meet a variety of needs.
133
- </EmptyStateBody>
134
- <Button variant="primary">Primary action</Button>
135
- <EmptyStateSecondaryActions>
136
- <Button variant="link">Multiple</Button>
137
- <Button variant="link">Action Buttons</Button>
138
- <Button variant="link">Can</Button>
139
- <Button variant="link">Go here</Button>
140
- <Button variant="link">In the secondary</Button>
141
- <Button variant="link">Action area</Button>
142
- </EmptyStateSecondaryActions>
143
- </EmptyState>
28
+ ```ts file="EmptyStateLarge.tsx"
144
29
  ```
145
30
 
146
31
  ### Extra large
147
- ```js
148
- import React from 'react';
149
- import {
150
- Title,
151
- Button,
152
- EmptyState,
153
- EmptyStateVariant,
154
- EmptyStateIcon,
155
- EmptyStateBody,
156
- EmptyStateSecondaryActions
157
- } from '@patternfly/react-core';
158
- import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
159
32
 
160
- <EmptyState variant={EmptyStateVariant.xl}>
161
- <EmptyStateIcon icon={CubesIcon} />
162
- <Title headingLevel="h5" size="4xl">
163
- Empty state
164
- </Title>
165
- <EmptyStateBody>
166
- This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
167
- enough to meet a variety of needs.
168
- </EmptyStateBody>
169
- <Button variant="primary">Primary action</Button>
170
- <EmptyStateSecondaryActions>
171
- <Button variant="link">Multiple</Button>
172
- <Button variant="link">Action Buttons</Button>
173
- <Button variant="link">Can</Button>
174
- <Button variant="link">Go here</Button>
175
- <Button variant="link">In the secondary</Button>
176
- <Button variant="link">Action area</Button>
177
- </EmptyStateSecondaryActions>
178
- </EmptyState>
33
+ ```ts file="EmptyStateExtraLarge.tsx"
179
34
  ```
180
35
 
181
36
  ### Spinner
182
- ```js
183
- import React from 'react';
184
- import {
185
- Title,
186
- EmptyState,
187
- EmptyStateIcon,
188
- Spinner
189
- } from '@patternfly/react-core';
190
37
 
191
-
192
- EmptyStateSpinner = () => {
193
- return (
194
- <EmptyState>
195
- <EmptyStateIcon variant="container" component={Spinner} />
196
- <Title size="lg" headingLevel="h4">
197
- Loading
198
- </Title>
199
- </EmptyState>
200
- );
201
- }
38
+ ```ts file="EmptyStateSpinner.tsx"
202
39
  ```
203
40
 
204
41
  ### No match found
205
- ```js
206
- import React from 'react';
207
- import {
208
- Title,
209
- Button,
210
- EmptyState,
211
- EmptyStatePrimary,
212
- EmptyStateIcon,
213
- EmptyStateBody
214
- } from '@patternfly/react-core';
215
- import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
216
-
217
42
 
218
- <EmptyState>
219
- <EmptyStateIcon icon={SearchIcon} />
220
- <Title size="lg" headingLevel="h4">
221
- No results found
222
- </Title>
223
- <EmptyStateBody>
224
- No results match the filter criteria. Clear all filters and try again.
225
- </EmptyStateBody>
226
- <EmptyStatePrimary>
227
- <Button variant="link">Clear all filters</Button>
228
- </EmptyStatePrimary>
229
- </EmptyState>
43
+ ```ts file="EmptyStateNoMatchFound.tsx"
230
44
  ```
@@ -0,0 +1,32 @@
1
+ import React from 'react';
2
+ import {
3
+ Title,
4
+ Button,
5
+ EmptyState,
6
+ EmptyStateIcon,
7
+ EmptyStateBody,
8
+ EmptyStateSecondaryActions
9
+ } from '@patternfly/react-core';
10
+ import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
11
+
12
+ export const EmptyStateBasic: React.FunctionComponent = () => (
13
+ <EmptyState>
14
+ <EmptyStateIcon icon={CubesIcon} />
15
+ <Title headingLevel="h4" size="lg">
16
+ Empty state
17
+ </Title>
18
+ <EmptyStateBody>
19
+ This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
20
+ enough to meet a variety of needs.
21
+ </EmptyStateBody>
22
+ <Button variant="primary">Primary action</Button>
23
+ <EmptyStateSecondaryActions>
24
+ <Button variant="link">Multiple</Button>
25
+ <Button variant="link">Action Buttons</Button>
26
+ <Button variant="link">Can</Button>
27
+ <Button variant="link">Go here</Button>
28
+ <Button variant="link">In the secondary</Button>
29
+ <Button variant="link">Action area</Button>
30
+ </EmptyStateSecondaryActions>
31
+ </EmptyState>
32
+ );
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import {
3
+ Title,
4
+ Button,
5
+ EmptyState,
6
+ EmptyStateVariant,
7
+ EmptyStateIcon,
8
+ EmptyStateBody,
9
+ EmptyStateSecondaryActions
10
+ } from '@patternfly/react-core';
11
+ import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
12
+
13
+ export const EmptyStateExtraLarge: React.FunctionComponent = () => (
14
+ <EmptyState variant={EmptyStateVariant.xl}>
15
+ <EmptyStateIcon icon={CubesIcon} />
16
+ <Title headingLevel="h5" size="4xl">
17
+ Empty state
18
+ </Title>
19
+ <EmptyStateBody>
20
+ This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
21
+ enough to meet a variety of needs.
22
+ </EmptyStateBody>
23
+ <Button variant="primary">Primary action</Button>
24
+ <EmptyStateSecondaryActions>
25
+ <Button variant="link">Multiple</Button>
26
+ <Button variant="link">Action Buttons</Button>
27
+ <Button variant="link">Can</Button>
28
+ <Button variant="link">Go here</Button>
29
+ <Button variant="link">In the secondary</Button>
30
+ <Button variant="link">Action area</Button>
31
+ </EmptyStateSecondaryActions>
32
+ </EmptyState>
33
+ );
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ import {
3
+ Title,
4
+ Button,
5
+ EmptyState,
6
+ EmptyStateVariant,
7
+ EmptyStateBody,
8
+ EmptyStateSecondaryActions
9
+ } from '@patternfly/react-core';
10
+
11
+ export const EmptyStateExtraSmall: React.FunctionComponent = () => (
12
+ <EmptyState variant={EmptyStateVariant.xs}>
13
+ <Title headingLevel="h4" size="md">
14
+ Empty state
15
+ </Title>
16
+ <EmptyStateBody>
17
+ This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
18
+ enough to meet a variety of needs.
19
+ </EmptyStateBody>
20
+ <EmptyStateSecondaryActions>
21
+ <Button variant="link">Multiple</Button>
22
+ <Button variant="link">Action Buttons</Button>
23
+ <Button variant="link">Can</Button>
24
+ <Button variant="link">Go here</Button>
25
+ <Button variant="link">In the secondary</Button>
26
+ <Button variant="link">Action area</Button>
27
+ </EmptyStateSecondaryActions>
28
+ </EmptyState>
29
+ );
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import {
3
+ Title,
4
+ Button,
5
+ EmptyState,
6
+ EmptyStateVariant,
7
+ EmptyStateIcon,
8
+ EmptyStateBody,
9
+ EmptyStateSecondaryActions
10
+ } from '@patternfly/react-core';
11
+ import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
12
+
13
+ export const EmptyStateLarge: React.FunctionComponent = () => (
14
+ <EmptyState variant={EmptyStateVariant.large}>
15
+ <EmptyStateIcon icon={CubesIcon} />
16
+ <Title headingLevel="h4" size="lg">
17
+ Empty state
18
+ </Title>
19
+ <EmptyStateBody>
20
+ This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
21
+ enough to meet a variety of needs.
22
+ </EmptyStateBody>
23
+ <Button variant="primary">Primary action</Button>
24
+ <EmptyStateSecondaryActions>
25
+ <Button variant="link">Multiple</Button>
26
+ <Button variant="link">Action Buttons</Button>
27
+ <Button variant="link">Can</Button>
28
+ <Button variant="link">Go here</Button>
29
+ <Button variant="link">In the secondary</Button>
30
+ <Button variant="link">Action area</Button>
31
+ </EmptyStateSecondaryActions>
32
+ </EmptyState>
33
+ );
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { Title, Button, EmptyState, EmptyStatePrimary, EmptyStateIcon, EmptyStateBody } from '@patternfly/react-core';
3
+ import SearchIcon from '@patternfly/react-icons/dist/esm/icons/search-icon';
4
+
5
+ export const EmptyStateNoMatchFound: React.FunctionComponent = () => (
6
+ <EmptyState>
7
+ <EmptyStateIcon icon={SearchIcon} />
8
+ <Title size="lg" headingLevel="h4">
9
+ No results found
10
+ </Title>
11
+ <EmptyStateBody>No results match the filter criteria. Clear all filters and try again.</EmptyStateBody>
12
+ <EmptyStatePrimary>
13
+ <Button variant="link">Clear all filters</Button>
14
+ </EmptyStatePrimary>
15
+ </EmptyState>
16
+ );
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import {
3
+ Title,
4
+ Button,
5
+ EmptyState,
6
+ EmptyStateVariant,
7
+ EmptyStateIcon,
8
+ EmptyStateBody,
9
+ EmptyStateSecondaryActions
10
+ } from '@patternfly/react-core';
11
+ import CubesIcon from '@patternfly/react-icons/dist/esm/icons/cubes-icon';
12
+
13
+ export const EmptyStateSmall: React.FunctionComponent = () => (
14
+ <EmptyState variant={EmptyStateVariant.small}>
15
+ <EmptyStateIcon icon={CubesIcon} />
16
+ <Title headingLevel="h4" size="lg">
17
+ Empty state
18
+ </Title>
19
+ <EmptyStateBody>
20
+ This represents an the empty state pattern in Patternfly 4. Hopefully it's simple enough to use but flexible
21
+ enough to meet a variety of needs.
22
+ </EmptyStateBody>
23
+ <Button variant="primary">Primary action</Button>
24
+ <EmptyStateSecondaryActions>
25
+ <Button variant="link">Multiple</Button>
26
+ <Button variant="link">Action Buttons</Button>
27
+ <Button variant="link">Can</Button>
28
+ <Button variant="link">Go here</Button>
29
+ <Button variant="link">In the secondary</Button>
30
+ <Button variant="link">Action area</Button>
31
+ </EmptyStateSecondaryActions>
32
+ </EmptyState>
33
+ );
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { Title, EmptyState, EmptyStateIcon, Spinner } from '@patternfly/react-core';
3
+
4
+ export const EmptyStateSpinner: React.FunctionComponent = () => (
5
+ <EmptyState>
6
+ <EmptyStateIcon variant="container" component={Spinner} />
7
+ <Title size="lg" headingLevel="h4">
8
+ Loading
9
+ </Title>
10
+ </EmptyState>
11
+ );
@@ -14,7 +14,7 @@ export interface LabelProps extends React.HTMLProps<HTMLSpanElement> {
14
14
  /** Additional classes added to the label. */
15
15
  className?: string;
16
16
  /** Color of the label. */
17
- color?: 'blue' | 'cyan' | 'green' | 'orange' | 'purple' | 'red' | 'grey';
17
+ color?: 'blue' | 'cyan' | 'green' | 'orange' | 'purple' | 'red' | 'grey' | 'gold';
18
18
  /** Variant of the label. */
19
19
  variant?: 'outline' | 'filled';
20
20
  /** Flag indicating the label is compact. */
@@ -78,6 +78,7 @@ const colorStyles = {
78
78
  orange: styles.modifiers.orange,
79
79
  purple: styles.modifiers.purple,
80
80
  red: styles.modifiers.red,
81
+ gold: styles.modifiers.gold,
81
82
  grey: ''
82
83
  };
83
84
 
@@ -156,6 +156,27 @@ import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-i
156
156
  <Label color="cyan" icon={<InfoCircleIcon />} onClose={Function.prototype} isTruncated>
157
157
  Cyan label with icon that overflows
158
158
  </Label>
159
+ <br />
160
+ <br />
161
+ <Label color="gold">Gold</Label>{' '}
162
+ <Label color="gold" icon={<InfoCircleIcon />}>
163
+ Gold icon
164
+ </Label>{' '}
165
+ <Label color="gold" onClose={Function.prototype}>
166
+ Gold removable
167
+ </Label>{' '}
168
+ <Label color="gold" icon={<InfoCircleIcon />} onClose={Function.prototype}>
169
+ Gold icon removable
170
+ </Label>{' '}
171
+ <Label color="gold" href="#filled">
172
+ Gold link
173
+ </Label>{' '}
174
+ <Label color="gold" href="#filled" onClose={Function.prototype}>
175
+ Gold link removable
176
+ </Label>
177
+ <Label color="gold" icon={<InfoCircleIcon />} onClose={Function.prototype} isTruncated>
178
+ Gold label with icon that overflows
179
+ </Label>
159
180
  </React.Fragment>;
160
181
  ```
161
182
 
@@ -324,6 +345,29 @@ import InfoCircleIcon from '@patternfly/react-icons/dist/esm/icons/info-circle-i
324
345
  <Label variant="outline" color="cyan" icon={<InfoCircleIcon />} onClose={Function.prototype} isTruncated>
325
346
  Cyan label with icon that overflows
326
347
  </Label>
348
+ <br />
349
+ <br />
350
+ <Label variant="outline" color="gold">
351
+ Gold
352
+ </Label>{' '}
353
+ <Label variant="outline" color="gold" icon={<InfoCircleIcon />}>
354
+ Gold icon
355
+ </Label>{' '}
356
+ <Label variant="outline" color="gold" onClose={Function.prototype}>
357
+ Gold removable
358
+ </Label>{' '}
359
+ <Label variant="outline" color="gold" icon={<InfoCircleIcon />} onClose={Function.prototype}>
360
+ Gold icon removable
361
+ </Label>{' '}
362
+ <Label variant="outline" color="gold" href="#outline">
363
+ Gold link
364
+ </Label>{' '}
365
+ <Label variant="outline" color="gold" href="#outline" onClose={Function.prototype}>
366
+ Gold link removable
367
+ </Label>
368
+ <Label variant="outline" color="gold" icon={<InfoCircleIcon />} onClose={Function.prototype} isTruncated>
369
+ Gold label with icon that overflows
370
+ </Label>
327
371
  </React.Fragment>;
328
372
  ```
329
373
 
@@ -294,6 +294,7 @@ export class Select extends React.Component<SelectProps & OUIAProps, SelectState
294
294
  this.props.variant !== 'typeaheadmulti'
295
295
  ) {
296
296
  this.refCollection[this.state.viewMoreNextIndex][0].focus();
297
+ this.setState({ viewMoreNextIndex: -1 });
297
298
  }
298
299
 
299
300
  const hasUpdatedChildren =
@@ -640,8 +640,8 @@ class InsetTabs extends React.Component {
640
640
  inset={{
641
641
  default: 'insetNone',
642
642
  md: 'insetSm',
643
- xl: 'inset2xl',
644
- '2xl': 'insetLg'
643
+ xl: 'insetLg',
644
+ '2xl': 'inset2xl'
645
645
  }}
646
646
  isBox={isBox}
647
647
  aria-label="Tabs in the inset example"