@patternfly/react-core 6.0.0-alpha.72 → 6.0.0-alpha.73

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 (144) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/components/package.json +1 -1
  3. package/deprecated/package.json +1 -1
  4. package/dist/dynamic/components/AboutModal/package.json +1 -1
  5. package/dist/dynamic/components/Accordion/package.json +1 -1
  6. package/dist/dynamic/components/ActionList/package.json +1 -1
  7. package/dist/dynamic/components/Alert/package.json +1 -1
  8. package/dist/dynamic/components/Avatar/package.json +1 -1
  9. package/dist/dynamic/components/BackToTop/package.json +1 -1
  10. package/dist/dynamic/components/Backdrop/package.json +1 -1
  11. package/dist/dynamic/components/BackgroundImage/package.json +1 -1
  12. package/dist/dynamic/components/Badge/package.json +1 -1
  13. package/dist/dynamic/components/Banner/package.json +1 -1
  14. package/dist/dynamic/components/Brand/package.json +1 -1
  15. package/dist/dynamic/components/Breadcrumb/package.json +1 -1
  16. package/dist/dynamic/components/Button/package.json +1 -1
  17. package/dist/dynamic/components/CalendarMonth/package.json +1 -1
  18. package/dist/dynamic/components/Card/package.json +1 -1
  19. package/dist/dynamic/components/Checkbox/package.json +1 -1
  20. package/dist/dynamic/components/ClipboardCopy/package.json +1 -1
  21. package/dist/dynamic/components/CodeBlock/package.json +1 -1
  22. package/dist/dynamic/components/DataList/package.json +1 -1
  23. package/dist/dynamic/components/DatePicker/package.json +1 -1
  24. package/dist/dynamic/components/DescriptionList/package.json +1 -1
  25. package/dist/dynamic/components/Divider/package.json +1 -1
  26. package/dist/dynamic/components/Drawer/package.json +1 -1
  27. package/dist/dynamic/components/Dropdown/package.json +1 -1
  28. package/dist/dynamic/components/DualListSelector/package.json +1 -1
  29. package/dist/dynamic/components/EmptyState/package.json +1 -1
  30. package/dist/dynamic/components/ExpandableSection/package.json +1 -1
  31. package/dist/dynamic/components/FileUpload/package.json +1 -1
  32. package/dist/dynamic/components/Form/package.json +1 -1
  33. package/dist/dynamic/components/FormSelect/package.json +1 -1
  34. package/dist/dynamic/components/HelperText/package.json +1 -1
  35. package/dist/dynamic/components/Hint/package.json +1 -1
  36. package/dist/dynamic/components/Icon/package.json +1 -1
  37. package/dist/dynamic/components/InputGroup/package.json +1 -1
  38. package/dist/dynamic/components/JumpLinks/package.json +1 -1
  39. package/dist/dynamic/components/Label/package.json +1 -1
  40. package/dist/dynamic/components/List/package.json +1 -1
  41. package/dist/dynamic/components/LoginPage/package.json +1 -1
  42. package/dist/dynamic/components/Masthead/package.json +1 -1
  43. package/dist/dynamic/components/Menu/package.json +1 -1
  44. package/dist/dynamic/components/MenuToggle/package.json +1 -1
  45. package/dist/dynamic/components/Modal/package.json +1 -1
  46. package/dist/dynamic/components/MultipleFileUpload/package.json +1 -1
  47. package/dist/dynamic/components/Nav/package.json +1 -1
  48. package/dist/dynamic/components/NotificationBadge/package.json +1 -1
  49. package/dist/dynamic/components/NotificationDrawer/package.json +1 -1
  50. package/dist/dynamic/components/NumberInput/package.json +1 -1
  51. package/dist/dynamic/components/OverflowMenu/package.json +1 -1
  52. package/dist/dynamic/components/Page/package.json +1 -1
  53. package/dist/dynamic/components/Pagination/package.json +1 -1
  54. package/dist/dynamic/components/Panel/package.json +1 -1
  55. package/dist/dynamic/components/Popover/package.json +1 -1
  56. package/dist/dynamic/components/Progress/package.json +1 -1
  57. package/dist/dynamic/components/ProgressStepper/package.json +1 -1
  58. package/dist/dynamic/components/Radio/package.json +1 -1
  59. package/dist/dynamic/components/SearchInput/package.json +1 -1
  60. package/dist/dynamic/components/Select/package.json +1 -1
  61. package/dist/dynamic/components/Sidebar/package.json +1 -1
  62. package/dist/dynamic/components/SimpleList/package.json +1 -1
  63. package/dist/dynamic/components/Skeleton/package.json +1 -1
  64. package/dist/dynamic/components/SkipToContent/package.json +1 -1
  65. package/dist/dynamic/components/Slider/package.json +1 -1
  66. package/dist/dynamic/components/Spinner/package.json +1 -1
  67. package/dist/dynamic/components/Switch/package.json +1 -1
  68. package/dist/dynamic/components/Tabs/package.json +1 -1
  69. package/dist/dynamic/components/Text/package.json +1 -1
  70. package/dist/dynamic/components/TextArea/package.json +1 -1
  71. package/dist/dynamic/components/TextInput/package.json +1 -1
  72. package/dist/dynamic/components/TextInputGroup/package.json +1 -1
  73. package/dist/dynamic/components/Tile/package.json +1 -1
  74. package/dist/dynamic/components/TimePicker/package.json +1 -1
  75. package/dist/dynamic/components/Timestamp/package.json +1 -1
  76. package/dist/dynamic/components/Title/package.json +1 -1
  77. package/dist/dynamic/components/ToggleGroup/package.json +1 -1
  78. package/dist/dynamic/components/Toolbar/package.json +1 -1
  79. package/dist/dynamic/components/Tooltip/package.json +1 -1
  80. package/dist/dynamic/components/TreeView/package.json +1 -1
  81. package/dist/dynamic/components/Truncate/package.json +1 -1
  82. package/dist/dynamic/components/Wizard/hooks/package.json +1 -1
  83. package/dist/dynamic/components/Wizard/package.json +1 -1
  84. package/dist/dynamic/deprecated/components/Chip/package.json +1 -1
  85. package/dist/dynamic/deprecated/components/DragDrop/package.json +1 -1
  86. package/dist/dynamic/deprecated/components/DualListSelector/package.json +1 -1
  87. package/dist/dynamic/deprecated/components/Modal/package.json +1 -1
  88. package/dist/dynamic/deprecated/components/Wizard/package.json +1 -1
  89. package/dist/dynamic/deprecated/components/package.json +1 -1
  90. package/dist/dynamic/helpers/FocusTrap/FocusTrap/package.json +1 -1
  91. package/dist/dynamic/helpers/GenerateId/GenerateId/package.json +1 -1
  92. package/dist/dynamic/helpers/KeyboardHandler/package.json +1 -1
  93. package/dist/dynamic/helpers/OUIA/ouia/package.json +1 -1
  94. package/dist/dynamic/helpers/Popper/Popper/package.json +1 -1
  95. package/dist/dynamic/helpers/constants/package.json +1 -1
  96. package/dist/dynamic/helpers/datetimeUtils/package.json +1 -1
  97. package/dist/dynamic/helpers/fileUtils/package.json +1 -1
  98. package/dist/dynamic/helpers/htmlConstants/package.json +1 -1
  99. package/dist/dynamic/helpers/package.json +1 -1
  100. package/dist/dynamic/helpers/resizeObserver/package.json +1 -1
  101. package/dist/dynamic/helpers/typeUtils/package.json +1 -1
  102. package/dist/dynamic/helpers/useInterval/package.json +1 -1
  103. package/dist/dynamic/helpers/useIsomorphicLayout/package.json +1 -1
  104. package/dist/dynamic/helpers/useUnmountEffect/package.json +1 -1
  105. package/dist/dynamic/helpers/util/package.json +1 -1
  106. package/dist/dynamic/layouts/Bullseye/package.json +1 -1
  107. package/dist/dynamic/layouts/Flex/package.json +1 -1
  108. package/dist/dynamic/layouts/Gallery/package.json +1 -1
  109. package/dist/dynamic/layouts/Grid/package.json +1 -1
  110. package/dist/dynamic/layouts/Level/package.json +1 -1
  111. package/dist/dynamic/layouts/Split/package.json +1 -1
  112. package/dist/dynamic/layouts/Stack/package.json +1 -1
  113. package/dist/dynamic/styles/package.json +1 -1
  114. package/dist/esm/components/Banner/Banner.d.ts +1 -1
  115. package/dist/esm/components/Banner/Banner.d.ts.map +1 -1
  116. package/dist/esm/components/Label/Label.d.ts +1 -1
  117. package/dist/esm/components/Label/Label.d.ts.map +1 -1
  118. package/dist/esm/components/Label/Label.js +2 -2
  119. package/dist/esm/components/Label/Label.js.map +1 -1
  120. package/dist/js/components/Banner/Banner.d.ts +1 -1
  121. package/dist/js/components/Banner/Banner.d.ts.map +1 -1
  122. package/dist/js/components/Label/Label.d.ts +1 -1
  123. package/dist/js/components/Label/Label.d.ts.map +1 -1
  124. package/dist/js/components/Label/Label.js +2 -2
  125. package/dist/js/components/Label/Label.js.map +1 -1
  126. package/dist/styles/assets/images/pf-background.svg +21 -21
  127. package/dist/styles/base-no-reset.css +201 -183
  128. package/dist/styles/base.css +230 -208
  129. package/dist/umd/assets/{output-CdTxonRl.css → output-rAmU2c74.css} +3309 -3266
  130. package/dist/umd/react-core.min.js +3 -3
  131. package/helpers/package.json +1 -1
  132. package/layouts/package.json +1 -1
  133. package/next/package.json +1 -1
  134. package/package.json +6 -6
  135. package/src/components/Banner/Banner.tsx +1 -1
  136. package/src/components/Banner/__tests__/Banner.test.tsx +6 -6
  137. package/src/components/Banner/examples/BannerBasic.tsx +2 -2
  138. package/src/components/Label/Label.tsx +3 -3
  139. package/src/components/Label/__tests__/Label.test.tsx +1 -1
  140. package/src/components/Label/__tests__/__snapshots__/Label.test.tsx.snap +72 -36
  141. package/src/components/Label/examples/LabelFilled.tsx +44 -44
  142. package/src/components/Label/examples/LabelGroupEditableAddModal.tsx +1 -1
  143. package/src/components/Label/examples/LabelOutline.tsx +52 -46
  144. package/src/demos/Tabs.md +2 -3
@@ -3,6 +3,6 @@
3
3
  "main": "../dist/js/helpers/index.js",
4
4
  "module": "../dist/esm/helpers/index.js",
5
5
  "typings": "../dist/esm/helpers/index.d.ts",
6
- "version": "6.0.0-alpha.71",
6
+ "version": "6.0.0-alpha.72",
7
7
  "private": true
8
8
  }
@@ -3,6 +3,6 @@
3
3
  "main": "../dist/js/layouts/index.js",
4
4
  "module": "../dist/esm/layouts/index.js",
5
5
  "typings": "../dist/esm/layouts/index.d.ts",
6
- "version": "6.0.0-alpha.71",
6
+ "version": "6.0.0-alpha.72",
7
7
  "private": true
8
8
  }
package/next/package.json CHANGED
@@ -3,6 +3,6 @@
3
3
  "main": "../dist/js/next/index.js",
4
4
  "module": "../dist/esm/next/index.js",
5
5
  "typings": "../dist/esm/next/index.d.ts",
6
- "version": "6.0.0-alpha.71",
6
+ "version": "6.0.0-alpha.72",
7
7
  "private": true
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patternfly/react-core",
3
- "version": "6.0.0-alpha.72",
3
+ "version": "6.0.0-alpha.73",
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",
@@ -47,15 +47,15 @@
47
47
  "clean:exports": "node scripts/cleanDistExports.js"
48
48
  },
49
49
  "dependencies": {
50
- "@patternfly/react-icons": "^6.0.0-alpha.26",
51
- "@patternfly/react-styles": "^6.0.0-alpha.25",
52
- "@patternfly/react-tokens": "^6.0.0-alpha.25",
50
+ "@patternfly/react-icons": "^6.0.0-alpha.27",
51
+ "@patternfly/react-styles": "^6.0.0-alpha.26",
52
+ "@patternfly/react-tokens": "^6.0.0-alpha.26",
53
53
  "focus-trap": "7.5.4",
54
54
  "react-dropzone": "^14.2.3",
55
55
  "tslib": "^2.6.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@patternfly/patternfly": "6.0.0-alpha.150",
58
+ "@patternfly/patternfly": "6.0.0-alpha.160",
59
59
  "case-anything": "^2.1.13",
60
60
  "css": "^3.0.0",
61
61
  "fs-extra": "^11.2.0"
@@ -64,5 +64,5 @@
64
64
  "react": "^17 || ^18",
65
65
  "react-dom": "^17 || ^18"
66
66
  },
67
- "gitHead": "0df6094898bc94f9b0881e1ab97e6d0941df90af"
67
+ "gitHead": "5ce8c9748b3f0fafa36430e68d82d0725dff2f2e"
68
68
  }
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import styles from '@patternfly/react-styles/css/components/Banner/banner';
3
3
  import { css } from '@patternfly/react-styles';
4
4
 
5
- export type BannerColor = 'red' | 'orangered' | 'orange' | 'gold' | 'green' | 'cyan' | 'blue' | 'purple';
5
+ export type BannerColor = 'red' | 'orangered' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'purple';
6
6
 
7
7
  export type BannerStatus = 'success' | 'warning' | 'danger' | 'info' | 'custom';
8
8
 
@@ -47,9 +47,9 @@ test('Renders with class name pf-m-orange when "orange" is passed to color prop'
47
47
  expect(screen.getByText('Test')).toHaveClass('pf-m-orange');
48
48
  });
49
49
 
50
- test('Renders with class name pf-m-gold when "gold" is passed to color prop', () => {
51
- render(<Banner color="gold">Test</Banner>);
52
- expect(screen.getByText('Test')).toHaveClass('pf-m-gold');
50
+ test('Renders with class name pf-m-yellow when "yellow" is passed to color prop', () => {
51
+ render(<Banner color="yellow">Test</Banner>);
52
+ expect(screen.getByText('Test')).toHaveClass('pf-m-yellow');
53
53
  });
54
54
 
55
55
  test('Renders with class name pf-m-green when "green" is passed to color prop', () => {
@@ -57,9 +57,9 @@ test('Renders with class name pf-m-green when "green" is passed to color prop',
57
57
  expect(screen.getByText('Test')).toHaveClass('pf-m-green');
58
58
  });
59
59
 
60
- test('Renders with class name pf-m-cyan when "cyan" is passed to color prop', () => {
61
- render(<Banner color="cyan">Test</Banner>);
62
- expect(screen.getByText('Test')).toHaveClass('pf-m-cyan');
60
+ test('Renders with class name pf-m-teal when "teal" is passed to color prop', () => {
61
+ render(<Banner color="teal">Test</Banner>);
62
+ expect(screen.getByText('Test')).toHaveClass('pf-m-teal');
63
63
  });
64
64
 
65
65
  test('Renders with class name pf-m-blue when "blue" is passed to color prop', () => {
@@ -11,11 +11,11 @@ export const BannerBasic: React.FunctionComponent = () => (
11
11
  <br />
12
12
  <Banner color="orange">Orange banner</Banner>
13
13
  <br />
14
- <Banner color="gold">Gold banner</Banner>
14
+ <Banner color="yellow">Yellow banner</Banner>
15
15
  <br />
16
16
  <Banner color="green">Green banner</Banner>
17
17
  <br />
18
- <Banner color="cyan">Cyan banner</Banner>
18
+ <Banner color="teal">Teal banner</Banner>
19
19
  <br />
20
20
  <Banner color="blue">Blue banner</Banner>
21
21
  <br />
@@ -20,7 +20,7 @@ export interface LabelProps extends React.HTMLProps<HTMLSpanElement> {
20
20
  /** Additional classes added to the label. */
21
21
  className?: string;
22
22
  /** Color of the label. */
23
- color?: 'blue' | 'cyan' | 'green' | 'orange' | 'purple' | 'red' | 'orangered' | 'grey' | 'gold';
23
+ color?: 'blue' | 'teal' | 'green' | 'orange' | 'purple' | 'red' | 'orangered' | 'grey' | 'yellow';
24
24
  /** Variant of the label. */
25
25
  variant?: 'outline' | 'filled' | 'overflow' | 'add';
26
26
  /** Status of the label with a respective icon and color. Overrides the color set by the color property. */
@@ -83,13 +83,13 @@ export interface LabelProps extends React.HTMLProps<HTMLSpanElement> {
83
83
 
84
84
  const colorStyles = {
85
85
  blue: styles.modifiers.blue,
86
- cyan: styles.modifiers.cyan,
86
+ teal: styles.modifiers.teal,
87
87
  green: styles.modifiers.green,
88
88
  orange: styles.modifiers.orange,
89
89
  purple: styles.modifiers.purple,
90
90
  red: styles.modifiers.red,
91
91
  orangered: styles.modifiers.orangered,
92
- gold: styles.modifiers.gold,
92
+ yellow: styles.modifiers.yellow,
93
93
  grey: ''
94
94
  };
95
95
 
@@ -5,7 +5,7 @@ import userEvent from '@testing-library/user-event';
5
5
 
6
6
  import { Label } from '../Label';
7
7
 
8
- const labelColors = ['blue', 'cyan', 'green', 'orange', 'purple', 'red', 'grey'];
8
+ const labelColors = ['blue', 'teal', 'green', 'orange', 'purple', 'red', 'grey', 'yellow'];
9
9
 
10
10
  describe('Label', () => {
11
11
  test('renders', () => {
@@ -225,42 +225,6 @@ exports[`Label label with close button and outline variant 1`] = `
225
225
  </DocumentFragment>
226
226
  `;
227
227
 
228
- exports[`Label label with cyan color 1`] = `
229
- <DocumentFragment>
230
- <span
231
- class="pf-v6-c-label pf-m-cyan pf-m-filled"
232
- >
233
- <span
234
- class="pf-v6-c-label__content"
235
- >
236
- <span
237
- class="pf-v6-c-label__text"
238
- >
239
- Something
240
- </span>
241
- </span>
242
- </span>
243
- </DocumentFragment>
244
- `;
245
-
246
- exports[`Label label with cyan color with outline variant 1`] = `
247
- <DocumentFragment>
248
- <span
249
- class="pf-v6-c-label pf-m-cyan pf-m-outline"
250
- >
251
- <span
252
- class="pf-v6-c-label__content"
253
- >
254
- <span
255
- class="pf-v6-c-label__text"
256
- >
257
- Something
258
- </span>
259
- </span>
260
- </span>
261
- </DocumentFragment>
262
- `;
263
-
264
228
  exports[`Label label with green color 1`] = `
265
229
  <DocumentFragment>
266
230
  <span
@@ -479,6 +443,42 @@ exports[`Label label with red color with outline variant 1`] = `
479
443
  </DocumentFragment>
480
444
  `;
481
445
 
446
+ exports[`Label label with teal color 1`] = `
447
+ <DocumentFragment>
448
+ <span
449
+ class="pf-v6-c-label pf-m-teal pf-m-filled"
450
+ >
451
+ <span
452
+ class="pf-v6-c-label__content"
453
+ >
454
+ <span
455
+ class="pf-v6-c-label__text"
456
+ >
457
+ Something
458
+ </span>
459
+ </span>
460
+ </span>
461
+ </DocumentFragment>
462
+ `;
463
+
464
+ exports[`Label label with teal color with outline variant 1`] = `
465
+ <DocumentFragment>
466
+ <span
467
+ class="pf-v6-c-label pf-m-teal pf-m-outline"
468
+ >
469
+ <span
470
+ class="pf-v6-c-label__content"
471
+ >
472
+ <span
473
+ class="pf-v6-c-label__text"
474
+ >
475
+ Something
476
+ </span>
477
+ </span>
478
+ </span>
479
+ </DocumentFragment>
480
+ `;
481
+
482
482
  exports[`Label label with truncation 1`] = `
483
483
  <DocumentFragment>
484
484
  <span
@@ -498,6 +498,42 @@ exports[`Label label with truncation 1`] = `
498
498
  </DocumentFragment>
499
499
  `;
500
500
 
501
+ exports[`Label label with yellow color 1`] = `
502
+ <DocumentFragment>
503
+ <span
504
+ class="pf-v6-c-label pf-m-yellow pf-m-filled"
505
+ >
506
+ <span
507
+ class="pf-v6-c-label__content"
508
+ >
509
+ <span
510
+ class="pf-v6-c-label__text"
511
+ >
512
+ Something
513
+ </span>
514
+ </span>
515
+ </span>
516
+ </DocumentFragment>
517
+ `;
518
+
519
+ exports[`Label label with yellow color with outline variant 1`] = `
520
+ <DocumentFragment>
521
+ <span
522
+ class="pf-v6-c-label pf-m-yellow pf-m-outline"
523
+ >
524
+ <span
525
+ class="pf-v6-c-label__content"
526
+ >
527
+ <span
528
+ class="pf-v6-c-label__text"
529
+ >
530
+ Something
531
+ </span>
532
+ </span>
533
+ </span>
534
+ </DocumentFragment>
535
+ `;
536
+
501
537
  exports[`Label renders 1`] = `
502
538
  <DocumentFragment>
503
539
  <span
@@ -259,81 +259,81 @@ export const LabelFilled: React.FunctionComponent = () => {
259
259
  </Label>
260
260
  <br />
261
261
  <br />
262
- <Label color="cyan">Cyan</Label>
263
- <Label color="cyan" icon={<CubeIcon />}>
264
- Cyan icon
262
+ <Label color="teal">Teal</Label>
263
+ <Label color="teal" icon={<CubeIcon />}>
264
+ Teal icon
265
265
  </Label>
266
- <Label color="cyan" onClose={() => Function.prototype}>
267
- Cyan removable
266
+ <Label color="teal" onClose={() => Function.prototype}>
267
+ Teal removable
268
268
  </Label>
269
- <Label color="cyan" icon={<CubeIcon />} onClose={() => Function.prototype}>
270
- Cyan icon removable
269
+ <Label color="teal" icon={<CubeIcon />} onClose={() => Function.prototype}>
270
+ Teal icon removable
271
271
  </Label>
272
- <Label color="cyan" href="#filled">
273
- Cyan link
272
+ <Label color="teal" href="#filled">
273
+ Teal link
274
274
  </Label>
275
- <Label color="cyan" href="#filled" onClose={() => Function.prototype}>
276
- Cyan link removable
275
+ <Label color="teal" href="#filled" onClose={() => Function.prototype}>
276
+ Teal link removable
277
277
  </Label>{' '}
278
- <Label color="cyan" onClick={() => logColor('cyan')}>
279
- Cyan clickable
278
+ <Label color="teal" onClick={() => logColor('teal')}>
279
+ Teal clickable
280
280
  </Label>
281
- <Label color="cyan" onClick={() => logColor('cyan')} onClose={() => Function.prototype}>
282
- Cyan clickable removable
281
+ <Label color="teal" onClick={() => logColor('teal')} onClose={() => Function.prototype}>
282
+ Teal clickable removable
283
283
  </Label>{' '}
284
- <Label color="cyan" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
285
- Cyan label with icon that overflows
284
+ <Label color="teal" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
285
+ Teal label with icon that overflows
286
286
  </Label>{' '}
287
- <Label color="cyan" isDisabled icon={<CubeIcon />} href="#filled" onClose={() => Function.prototype}>
288
- Cyan link removable (disabled)
287
+ <Label color="teal" isDisabled icon={<CubeIcon />} href="#filled" onClose={() => Function.prototype}>
288
+ Teal link removable (disabled)
289
289
  </Label>{' '}
290
290
  <Label
291
- color="cyan"
291
+ color="teal"
292
292
  isDisabled
293
293
  icon={<CubeIcon />}
294
- onClick={() => logColor('cyan')}
294
+ onClick={() => logColor('teal')}
295
295
  onClose={() => Function.prototype}
296
296
  >
297
- Cyan clickable removable (disabled)
297
+ Teal clickable removable (disabled)
298
298
  </Label>
299
299
  <br />
300
300
  <br />
301
- <Label color="gold">Gold</Label>
302
- <Label color="gold" icon={<CubeIcon />}>
303
- Gold icon
301
+ <Label color="yellow">Yellow</Label>
302
+ <Label color="yellow" icon={<CubeIcon />}>
303
+ Yellow icon
304
304
  </Label>
305
- <Label color="gold" onClose={() => Function.prototype}>
306
- Gold removable
305
+ <Label color="yellow" onClose={() => Function.prototype}>
306
+ Yellow removable
307
307
  </Label>
308
- <Label color="gold" icon={<CubeIcon />} onClose={() => Function.prototype}>
309
- Gold icon removable
308
+ <Label color="yellow" icon={<CubeIcon />} onClose={() => Function.prototype}>
309
+ Yellow icon removable
310
310
  </Label>
311
- <Label color="gold" href="#filled">
312
- Gold link
311
+ <Label color="yellow" href="#filled">
312
+ Yellow link
313
313
  </Label>
314
- <Label color="gold" href="#filled" onClose={() => Function.prototype}>
315
- Gold link removable
314
+ <Label color="yellow" href="#filled" onClose={() => Function.prototype}>
315
+ Yellow link removable
316
316
  </Label>{' '}
317
- <Label color="gold" onClick={() => logColor('gold')}>
318
- Gold clickable
317
+ <Label color="yellow" onClick={() => logColor('yellow')}>
318
+ Yellow clickable
319
319
  </Label>
320
- <Label color="gold" onClick={() => logColor('gold')} onClose={() => Function.prototype}>
321
- Gold clickable removable
320
+ <Label color="yellow" onClick={() => logColor('yellow')} onClose={() => Function.prototype}>
321
+ Yellow clickable removable
322
322
  </Label>{' '}
323
- <Label color="gold" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
324
- Gold label with icon that overflows
323
+ <Label color="yellow" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
324
+ Yellow label with icon that overflows
325
325
  </Label>{' '}
326
- <Label color="gold" isDisabled icon={<CubeIcon />} href="#filled" onClose={() => Function.prototype}>
327
- Gold link removable (disabled)
326
+ <Label color="yellow" isDisabled icon={<CubeIcon />} href="#filled" onClose={() => Function.prototype}>
327
+ Yellow link removable (disabled)
328
328
  </Label>{' '}
329
329
  <Label
330
- color="gold"
330
+ color="yellow"
331
331
  isDisabled
332
332
  icon={<CubeIcon />}
333
- onClick={() => logColor('gold')}
333
+ onClick={() => logColor('yellow')}
334
334
  onClose={() => Function.prototype}
335
335
  >
336
- Gold clickable removable (disabled)
336
+ Yellow clickable removable (disabled)
337
337
  </Label>
338
338
  <br />
339
339
  <br />
@@ -182,7 +182,7 @@ export const LabelGroupEditableAddModal: React.FunctionComponent = () => {
182
182
  <MenuItem itemId="Orange">Orange</MenuItem>
183
183
  <MenuItem itemId="Red">Red</MenuItem>
184
184
  <MenuItem itemId="Purple">Purple</MenuItem>
185
- <MenuItem itemId="Cyan">Cyan</MenuItem>
185
+ <MenuItem itemId="Teal">Teal</MenuItem>
186
186
  </MenuList>
187
187
  </MenuContent>
188
188
  </Menu>
@@ -328,101 +328,107 @@ export const LabelOutline: React.FunctionComponent = () => {
328
328
  </Label>
329
329
  <br />
330
330
  <br />
331
- <Label variant="outline" color="cyan">
332
- Cyan
331
+ <Label variant="outline" color="teal">
332
+ Teal
333
333
  </Label>
334
- <Label variant="outline" color="cyan" icon={<CubeIcon />}>
335
- Cyan icon
334
+ <Label variant="outline" color="teal" icon={<CubeIcon />}>
335
+ Teal icon
336
336
  </Label>
337
- <Label variant="outline" color="cyan" onClose={() => Function.prototype}>
338
- Cyan removable
337
+ <Label variant="outline" color="teal" onClose={() => Function.prototype}>
338
+ Teal removable
339
339
  </Label>
340
- <Label variant="outline" color="cyan" icon={<CubeIcon />} onClose={() => Function.prototype}>
341
- Cyan icon removable
340
+ <Label variant="outline" color="teal" icon={<CubeIcon />} onClose={() => Function.prototype}>
341
+ Teal icon removable
342
342
  </Label>
343
- <Label variant="outline" color="cyan" href="#outline">
344
- Cyan link
343
+ <Label variant="outline" color="teal" href="#outline">
344
+ Teal link
345
345
  </Label>
346
- <Label variant="outline" color="cyan" href="#outline" onClose={() => Function.prototype}>
347
- Cyan link removable
346
+ <Label variant="outline" color="teal" href="#outline" onClose={() => Function.prototype}>
347
+ Teal link removable
348
348
  </Label>{' '}
349
- <Label variant="outline" color="cyan" onClick={() => logColor('cyan')}>
350
- Cyan clickable
349
+ <Label variant="outline" color="teal" onClick={() => logColor('teal')}>
350
+ Teal clickable
351
351
  </Label>
352
- <Label variant="outline" color="cyan" onClick={() => logColor('cyan')} onClose={() => Function.prototype}>
353
- Cyan clickable removable
352
+ <Label variant="outline" color="teal" onClick={() => logColor('teal')} onClose={() => Function.prototype}>
353
+ Teal clickable removable
354
354
  </Label>
355
- <Label variant="outline" color="cyan" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
356
- Cyan label with icon that overflows
355
+ <Label variant="outline" color="teal" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
356
+ Teal label with icon that overflows
357
357
  </Label>{' '}
358
358
  <Label
359
359
  variant="outline"
360
- color="cyan"
360
+ color="teal"
361
361
  isDisabled
362
362
  icon={<CubeIcon />}
363
363
  href="#filled"
364
364
  onClose={() => Function.prototype}
365
365
  >
366
- Cyan link removable (disabled)
366
+ Teal link removable (disabled)
367
367
  </Label>{' '}
368
368
  <Label
369
369
  variant="outline"
370
- color="cyan"
370
+ color="teal"
371
371
  isDisabled
372
372
  icon={<CubeIcon />}
373
- onClick={() => logColor('cyan')}
373
+ onClick={() => logColor('teal')}
374
374
  onClose={() => Function.prototype}
375
375
  >
376
- Cyan clickable removable (disabled)
376
+ Teal clickable removable (disabled)
377
377
  </Label>
378
378
  <br />
379
379
  <br />
380
- <Label variant="outline" color="gold">
381
- Gold
380
+ <Label variant="outline" color="yellow">
381
+ Yellow
382
382
  </Label>
383
- <Label variant="outline" color="gold" icon={<CubeIcon />}>
384
- Gold icon
383
+ <Label variant="outline" color="yellow" icon={<CubeIcon />}>
384
+ Yellow icon
385
385
  </Label>
386
- <Label variant="outline" color="gold" onClose={() => Function.prototype}>
387
- Gold removable
386
+ <Label variant="outline" color="yellow" onClose={() => Function.prototype}>
387
+ Yellow removable
388
388
  </Label>
389
- <Label variant="outline" color="gold" icon={<CubeIcon />} onClose={() => Function.prototype}>
390
- Gold icon removable
389
+ <Label variant="outline" color="yellow" icon={<CubeIcon />} onClose={() => Function.prototype}>
390
+ Yellow icon removable
391
391
  </Label>
392
- <Label variant="outline" color="gold" href="#outline">
393
- Gold link
392
+ <Label variant="outline" color="yellow" href="#outline">
393
+ Yellow link
394
394
  </Label>
395
- <Label variant="outline" color="gold" href="#outline" onClose={() => Function.prototype}>
396
- Gold link removable
395
+ <Label variant="outline" color="yellow" href="#outline" onClose={() => Function.prototype}>
396
+ Yellow link removable
397
397
  </Label>{' '}
398
- <Label variant="outline" color="gold" onClick={() => logColor('gold')}>
399
- Gold clickable
398
+ <Label variant="outline" color="yellow" onClick={() => logColor('yellow')}>
399
+ Yellow clickable
400
400
  </Label>
401
- <Label variant="outline" color="gold" onClick={() => logColor('gold')} onClose={() => Function.prototype}>
402
- Gold clickable removable
401
+ <Label variant="outline" color="yellow" onClick={() => logColor('yellow')} onClose={() => Function.prototype}>
402
+ Yellow clickable removable
403
403
  </Label>
404
- <Label variant="outline" color="gold" icon={<CubeIcon />} onClose={() => Function.prototype} textMaxWidth="16ch">
405
- Gold label with icon that overflows
404
+ <Label
405
+ variant="outline"
406
+ color="yellow"
407
+ icon={<CubeIcon />}
408
+ onClose={() => Function.prototype}
409
+ textMaxWidth="16ch"
410
+ >
411
+ Yellow label with icon that overflows
406
412
  </Label>{' '}
407
413
  <Label
408
414
  variant="outline"
409
- color="gold"
415
+ color="yellow"
410
416
  isDisabled
411
417
  icon={<CubeIcon />}
412
418
  href="#filled"
413
419
  onClose={() => Function.prototype}
414
420
  >
415
- Gold link removable (disabled)
421
+ Yellow link removable (disabled)
416
422
  </Label>{' '}
417
423
  <Label
418
424
  variant="outline"
419
- color="gold"
425
+ color="yellow"
420
426
  isDisabled
421
427
  icon={<CubeIcon />}
422
- onClick={() => logColor('gold')}
428
+ onClick={() => logColor('yellow')}
423
429
  onClose={() => Function.prototype}
424
430
  >
425
- Gold clickable removable (disabled)
431
+ Yellow clickable removable (disabled)
426
432
  </Label>
427
433
  <br />
428
434
  <br />
package/src/demos/Tabs.md CHANGED
@@ -47,7 +47,6 @@ import InfoCircleIcon from '@patternfly/react-icons/dist/js/icons/info-circle-ic
47
47
  import spacing from '@patternfly/react-styles/css/utilities/Spacing/spacing';
48
48
  import { DashboardWrapper } from '@patternfly/react-core/dist/js/demos/DashboardWrapper';
49
49
 
50
-
51
50
  TabsOpenDemo = () => {
52
51
  const [activeTabKey, setActiveTabKey] = React.useState(0);
53
52
 
@@ -97,7 +96,7 @@ TabsOpenDemo = () => {
97
96
  <DescriptionListDescription>
98
97
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
99
98
  <FlexItem>
100
- <Label color="cyan">NS</Label>
99
+ <Label color="teal">NS</Label>
101
100
  </FlexItem>
102
101
  <FlexItem>
103
102
  <a href="#">knative-serving-ingress</a>
@@ -293,7 +292,7 @@ TabsOpenWithSecondaryTabsDemo = () => {
293
292
  <DescriptionListDescription>
294
293
  <Flex spaceItems={{ default: 'spaceItemsSm' }}>
295
294
  <FlexItem>
296
- <Label color="cyan">NS</Label>
295
+ <Label color="teal">NS</Label>
297
296
  </FlexItem>
298
297
  <FlexItem>
299
298
  <a href="#">knative-serving-ingress</a>