@patternfly/patternfly 5.0.0-alpha.2 → 5.0.0-alpha.21

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 (224) hide show
  1. package/README.md +1 -1
  2. package/RELEASE-NOTES.md +47 -0
  3. package/assets/icons/iconUnicodes.json +1 -0
  4. package/assets/pficon/pficon.scss +6 -0
  5. package/assets/pficon/pficon.woff +0 -0
  6. package/assets/pficon/pficon.woff2 +0 -0
  7. package/base/_chart-globals.scss +0 -4
  8. package/base/_common.scss +0 -22
  9. package/base/patternfly-common.css +0 -10
  10. package/base/patternfly-icons.css +5 -1
  11. package/base/patternfly-pf-icons.css +5 -1
  12. package/components/Accordion/accordion.css +2 -0
  13. package/components/Accordion/accordion.scss +2 -0
  14. package/components/AppLauncher/app-launcher.css +2 -0
  15. package/components/AppLauncher/app-launcher.scss +2 -0
  16. package/components/Breadcrumb/breadcrumb.css +2 -0
  17. package/components/Breadcrumb/breadcrumb.scss +2 -0
  18. package/components/CalendarMonth/calendar-month.css +1 -1
  19. package/components/CalendarMonth/calendar-month.scss +1 -1
  20. package/components/Card/card.css +9 -12
  21. package/components/Card/card.scss +11 -17
  22. package/components/ChipGroup/chip-group.css +27 -17
  23. package/components/ChipGroup/chip-group.scss +36 -22
  24. package/components/Content/content.css +6 -0
  25. package/components/Content/content.scss +8 -0
  26. package/components/ContextSelector/context-selector.css +5 -1
  27. package/components/ContextSelector/context-selector.scss +6 -2
  28. package/components/DataList/data-list.css +2 -1
  29. package/components/DataList/data-list.scss +2 -1
  30. package/components/Drawer/drawer.css +13 -14
  31. package/components/Drawer/drawer.scss +0 -1
  32. package/components/Dropdown/dropdown.css +27 -10
  33. package/components/Dropdown/dropdown.scss +22 -0
  34. package/components/EmptyState/empty-state.css +46 -52
  35. package/components/EmptyState/empty-state.scss +58 -57
  36. package/components/ExpandableSection/expandable-section.css +2 -0
  37. package/components/ExpandableSection/expandable-section.scss +2 -0
  38. package/components/FormControl/form-control.css +1 -1
  39. package/components/FormControl/themes/dark/form-control.scss +1 -1
  40. package/components/InputGroup/input-group.css +14 -0
  41. package/components/InputGroup/input-group.scss +9 -0
  42. package/components/InputGroup/themes/dark/input-group.scss +8 -0
  43. package/components/Label/label.css +2 -0
  44. package/components/Label/label.scss +2 -0
  45. package/components/LabelGroup/label-group.css +26 -22
  46. package/components/LabelGroup/label-group.scss +31 -26
  47. package/components/Login/login.css +1 -1
  48. package/components/Menu/menu.css +7 -0
  49. package/components/Menu/menu.scss +8 -0
  50. package/components/MenuToggle/menu-toggle.css +2 -0
  51. package/components/MenuToggle/menu-toggle.scss +2 -0
  52. package/components/ModalBox/modal-box.css +9 -8
  53. package/components/ModalBox/modal-box.scss +11 -11
  54. package/components/Page/page.css +60 -60
  55. package/components/Pagination/pagination.css +122 -2
  56. package/components/Pagination/pagination.scss +24 -1
  57. package/components/Popover/popover.css +2 -7
  58. package/components/Popover/themes/dark/popover.scss +2 -8
  59. package/components/Progress/progress.css +5 -2
  60. package/components/Progress/progress.scss +5 -2
  61. package/components/SearchInput/search-input.css +2 -0
  62. package/components/SearchInput/search-input.scss +2 -0
  63. package/components/Slider/slider.css +0 -7
  64. package/components/Slider/slider.scss +0 -9
  65. package/components/Table/table-grid.css +28 -28
  66. package/components/Table/table-tree-view.css +4 -4
  67. package/components/Table/table.css +4 -0
  68. package/components/Table/table.scss +4 -0
  69. package/components/Tabs/tabs.css +0 -4
  70. package/components/Tabs/tabs.scss +0 -7
  71. package/components/TextInputGroup/text-input-group.css +4 -2
  72. package/components/TextInputGroup/text-input-group.scss +4 -3
  73. package/components/Toolbar/toolbar.css +65 -37
  74. package/components/Toolbar/toolbar.scss +37 -3
  75. package/components/Tooltip/themes/dark/tooltip.scss +1 -11
  76. package/components/Tooltip/tooltip.css +7 -12
  77. package/components/Tooltip/tooltip.scss +6 -3
  78. package/components/TreeView/tree-view.css +7 -15
  79. package/components/TreeView/tree-view.scss +7 -18
  80. package/components/Wizard/wizard.css +2 -0
  81. package/components/Wizard/wizard.scss +2 -0
  82. package/docs/components/AboutModalBox/examples/AboutModalBox.md +13 -13
  83. package/docs/components/Accordion/examples/Accordion.md +12 -12
  84. package/docs/components/ActionList/examples/ActionList.md +6 -6
  85. package/docs/components/Alert/examples/Alert.md +19 -19
  86. package/docs/components/AlertGroup/examples/AlertGroup.md +12 -12
  87. package/docs/components/AppLauncher/examples/application-launcher.md +51 -46
  88. package/docs/components/Avatar/examples/Avatar.md +11 -11
  89. package/docs/components/BackToTop/examples/BackToTop.md +4 -4
  90. package/docs/components/Backdrop/examples/Backdrop.md +4 -4
  91. package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
  92. package/docs/components/Badge/examples/Badge.md +5 -5
  93. package/docs/components/Banner/examples/Banner.md +8 -8
  94. package/docs/components/Brand/examples/Brand.md +9 -9
  95. package/docs/components/Breadcrumb/examples/Breadcrumb.md +20 -20
  96. package/docs/components/Button/examples/Button.md +35 -35
  97. package/docs/components/CalendarMonth/examples/CalendarMonth.md +32 -32
  98. package/docs/components/Card/examples/Card.md +61 -44
  99. package/docs/components/Check/examples/Check.md +15 -19
  100. package/docs/components/Chip/examples/Chip.md +13 -13
  101. package/docs/components/ChipGroup/examples/ChipGroup.md +15 -344
  102. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
  103. package/docs/components/CodeBlock/examples/CodeBlock.md +9 -9
  104. package/docs/components/CodeEditor/examples/CodeEditor.md +54 -35
  105. package/docs/components/Content/examples/Content.md +37 -9
  106. package/docs/components/ContextSelector/examples/context-selector.css +5 -1
  107. package/docs/components/ContextSelector/examples/context-selector.md +86 -80
  108. package/docs/components/DataList/examples/DataList.md +187 -148
  109. package/docs/components/DatePicker/examples/DatePicker.md +10 -10
  110. package/docs/components/DescriptionList/examples/DescriptionList.md +24 -24
  111. package/docs/components/Divider/examples/Divider.md +10 -10
  112. package/docs/components/DragDrop/examples/DragDrop.md +5 -5
  113. package/docs/components/Drawer/examples/Drawer.md +43 -43
  114. package/docs/components/Dropdown/examples/Dropdown.css +5 -2
  115. package/docs/components/Dropdown/examples/Dropdown.md +311 -71
  116. package/docs/components/DualListSelector/examples/DualListSelector.md +201 -197
  117. package/docs/components/EmptyState/examples/EmptyState.md +130 -82
  118. package/docs/components/ExpandableSection/examples/ExpandableSection.md +23 -23
  119. package/docs/components/FileUpload/examples/FileUpload.md +8 -8
  120. package/docs/components/Form/examples/Form.md +64 -64
  121. package/docs/components/FormControl/examples/FormControl.md +20 -20
  122. package/docs/components/HelperText/examples/HelperText.md +12 -12
  123. package/docs/components/Hint/examples/Hint.md +7 -7
  124. package/docs/components/Icon/examples/Icon.md +10 -10
  125. package/docs/components/InlineEdit/examples/InlineEdit.md +24 -24
  126. package/docs/components/InputGroup/examples/InputGroup.md +10 -9
  127. package/docs/components/JumpLinks/examples/JumpLinks.md +35 -35
  128. package/docs/components/Label/examples/Label.md +31 -31
  129. package/docs/components/LabelGroup/examples/LabelGroup.md +24 -36
  130. package/docs/components/List/examples/List.md +18 -18
  131. package/docs/components/LogViewer/examples/LogViewer.md +69 -69
  132. package/docs/components/Login/examples/Login.md +32 -32
  133. package/docs/components/Masthead/examples/masthead.md +9 -9
  134. package/docs/components/Menu/examples/Menu.md +82 -80
  135. package/docs/components/MenuToggle/examples/MenuToggle.md +28 -28
  136. package/docs/components/ModalBox/examples/ModalBox.md +106 -85
  137. package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +25 -25
  138. package/docs/components/Nav/examples/Navigation.md +69 -69
  139. package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
  140. package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +44 -44
  141. package/docs/components/NumberInput/examples/NumberInput.md +12 -12
  142. package/docs/components/OptionsMenu/examples/options-menu.md +27 -28
  143. package/docs/components/OverflowMenu/examples/overflow-menu.md +25 -25
  144. package/docs/components/Page/examples/Page.md +54 -54
  145. package/docs/components/Pagination/examples/Pagination.md +129 -30
  146. package/docs/components/Panel/examples/Panel.md +10 -10
  147. package/docs/components/Popover/examples/Popover.md +34 -34
  148. package/docs/components/Progress/examples/Progress.md +31 -60
  149. package/docs/components/ProgressStepper/examples/ProgressStepper.md +45 -38
  150. package/docs/components/Radio/examples/Radio.md +11 -11
  151. package/docs/components/SearchInput/examples/SearchInput.md +34 -34
  152. package/docs/components/Select/examples/Select.md +143 -143
  153. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  154. package/docs/components/SimpleList/examples/SimpleList.md +15 -15
  155. package/docs/components/Skeleton/examples/Skeleton.md +8 -8
  156. package/docs/components/SkipToContent/examples/SkipToContent.md +5 -5
  157. package/docs/components/Slider/examples/Slider.md +30 -30
  158. package/docs/components/Spinner/examples/Spinner.md +24 -24
  159. package/docs/components/Switch/examples/Switch.md +19 -19
  160. package/docs/components/TabContent/examples/TabContent.md +13 -13
  161. package/docs/components/Table/examples/Table.md +1272 -855
  162. package/docs/components/Tabs/examples/Tabs.md +149 -149
  163. package/docs/components/TextInputGroup/examples/TextInputGroup.md +19 -19
  164. package/docs/components/Tile/examples/Tile.md +15 -15
  165. package/docs/components/Timestamp/examples/Timestamp.md +5 -5
  166. package/docs/components/Title/examples/Title.md +17 -17
  167. package/docs/components/ToggleGroup/examples/toggle-group.md +13 -13
  168. package/docs/components/Toolbar/examples/Toolbar.md +165 -144
  169. package/docs/components/Tooltip/examples/Tooltip.md +10 -10
  170. package/docs/components/TreeView/examples/TreeView.md +34 -34
  171. package/docs/components/Truncate/examples/Truncate.md +4 -4
  172. package/docs/components/Wizard/examples/Wizard.md +63 -70
  173. package/docs/demos/AboutModal/examples/AboutModal.md +4 -4
  174. package/docs/demos/Alert/examples/Alert.md +13 -13
  175. package/docs/demos/BackToTop/examples/BackToTop.md +4 -4
  176. package/docs/demos/Banner/examples/Banner.md +10 -11
  177. package/docs/demos/Card/examples/Card.md +151 -116
  178. package/docs/demos/CardView/examples/CardView.md +16 -15
  179. package/docs/demos/ContextSelector/examples/ContextSelector.md +18 -18
  180. package/docs/demos/Dashboard/examples/Dashboard.md +10 -9
  181. package/docs/demos/DataList/examples/DataList.md +160 -111
  182. package/docs/demos/DescriptionList/examples/DescriptionList.md +12 -13
  183. package/docs/demos/Drawer/examples/Drawer.md +20 -20
  184. package/docs/demos/HelperText/examples/HelperText.md +8 -9
  185. package/docs/demos/JumpLinks/examples/JumpLinks.md +28 -28
  186. package/docs/demos/Masthead/examples/Masthead.md +32 -35
  187. package/docs/demos/Modal/examples/Modal.md +54 -66
  188. package/docs/demos/Nav/examples/Nav.md +720 -767
  189. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +40 -28
  190. package/docs/demos/Page/examples/Page.md +37 -37
  191. package/docs/demos/PasswordStrength/examples/PasswordStrength.md +32 -33
  192. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +53 -49
  193. package/docs/demos/Skeleton/examples/Skeleton.md +4 -4
  194. package/docs/demos/Table/examples/Table.md +522 -378
  195. package/docs/demos/Tabs/examples/Tabs.md +120 -601
  196. package/docs/demos/Toolbar/examples/Toolbar.md +1781 -171
  197. package/docs/demos/Wizard/examples/Wizard.md +229 -225
  198. package/docs/layouts/Bullseye/examples/Bullseye.md +4 -4
  199. package/docs/layouts/Flex/examples/Flex.md +98 -98
  200. package/docs/layouts/Gallery/examples/Gallery.md +7 -7
  201. package/docs/layouts/Grid/examples/Grid.md +9 -9
  202. package/docs/layouts/Level/examples/Level.md +5 -5
  203. package/docs/layouts/Split/examples/Split.md +7 -7
  204. package/docs/layouts/Stack/examples/Stack.md +6 -6
  205. package/docs/utilities/Accessibility/examples/Accessibility.md +4 -4
  206. package/docs/utilities/Alignment/examples/Alignment.md +6 -6
  207. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +12 -12
  208. package/docs/utilities/BoxShadow/examples/box-shadow.md +22 -22
  209. package/docs/utilities/Display/examples/Display.md +11 -11
  210. package/docs/utilities/Flex/examples/Flex.md +34 -34
  211. package/docs/utilities/Float/examples/Float.md +4 -4
  212. package/docs/utilities/Sizing/examples/Sizing.md +50 -50
  213. package/docs/utilities/Spacing/examples/Spacing.md +34 -34
  214. package/docs/utilities/Text/examples/Text.md +27 -27
  215. package/icons/{pf-icons.json → pf-icons.mjs} +2 -1
  216. package/layouts/Grid/grid.css +5 -5
  217. package/package.json +59 -64
  218. package/patternfly-base-no-reset.css +5 -11
  219. package/patternfly-base.css +5 -11
  220. package/patternfly-no-reset.css +528 -336
  221. package/patternfly.css +528 -336
  222. package/patternfly.min.css +1 -1
  223. package/patternfly.min.css.map +1 -1
  224. package/sass-utilities/scss-variables.scss +0 -1
@@ -568,335 +568,6 @@ cssPrefix: pf-c-chip-group
568
568
 
569
569
  ```
570
570
 
571
- ### Legacy chip group examples without main element
572
-
573
- ```html
574
- <div class="pf-c-chip-group">
575
- <ul class="pf-c-chip-group__list" role="list" aria-label="Chip group list">
576
- <li class="pf-c-chip-group__list-item">
577
- <div class="pf-c-chip">
578
- <span
579
- class="pf-c-chip__text"
580
- id="legacy-simplechip_one_select_collapsed"
581
- >Chip one</span>
582
- <button
583
- class="pf-c-button pf-m-plain"
584
- type="button"
585
- aria-labelledby="legacy-simpleremove_chip_one_select_collapsed legacy-simplechip_one_select_collapsed"
586
- aria-label="Remove"
587
- id="legacy-simpleremove_chip_one_select_collapsed"
588
- >
589
- <i class="fas fa-times" aria-hidden="true"></i>
590
- </button>
591
- </div>
592
- </li>
593
- <li class="pf-c-chip-group__list-item">
594
- <div class="pf-c-chip">
595
- <span
596
- class="pf-c-chip__text"
597
- id="legacy-simplechip_two_select_collapsed"
598
- >Chip two</span>
599
- <button
600
- class="pf-c-button pf-m-plain"
601
- type="button"
602
- aria-labelledby="legacy-simpleremove_chip_two_select_collapsed legacy-simplechip_two_select_collapsed"
603
- aria-label="Remove"
604
- id="legacy-simpleremove_chip_two_select_collapsed"
605
- >
606
- <i class="fas fa-times" aria-hidden="true"></i>
607
- </button>
608
- </div>
609
- </li>
610
- <li class="pf-c-chip-group__list-item">
611
- <div class="pf-c-chip">
612
- <span
613
- class="pf-c-chip__text"
614
- id="legacy-simplechip_three_select_collapsed"
615
- >Chip three</span>
616
- <button
617
- class="pf-c-button pf-m-plain"
618
- type="button"
619
- aria-labelledby="legacy-simpleremove_chip_three_select_collapsed legacy-simplechip_three_select_collapsed"
620
- aria-label="Remove"
621
- id="legacy-simpleremove_chip_three_select_collapsed"
622
- >
623
- <i class="fas fa-times" aria-hidden="true"></i>
624
- </button>
625
- </div>
626
- </li>
627
- </ul>
628
- </div>
629
-
630
- <br />
631
- <br />
632
-
633
- <div class="pf-c-chip-group">
634
- <ul class="pf-c-chip-group__list" role="list" aria-label="Chip group list">
635
- <li class="pf-c-chip-group__list-item">
636
- <div class="pf-c-chip">
637
- <span
638
- class="pf-c-chip__text"
639
- id="legacy-simple-removablechip_one_toolbar"
640
- >Chip one</span>
641
- <button
642
- class="pf-c-button pf-m-plain"
643
- type="button"
644
- aria-labelledby="legacy-simple-removableremove_chip_one_toolbar legacy-simple-removablechip_one_toolbar"
645
- aria-label="Remove"
646
- id="legacy-simple-removableremove_chip_one_toolbar"
647
- >
648
- <i class="fas fa-times" aria-hidden="true"></i>
649
- </button>
650
- </div>
651
- </li>
652
- <li class="pf-c-chip-group__list-item">
653
- <div class="pf-c-chip">
654
- <span
655
- class="pf-c-chip__text"
656
- id="legacy-simple-removablechip_two_toolbar"
657
- >Chip two</span>
658
- <button
659
- class="pf-c-button pf-m-plain"
660
- type="button"
661
- aria-labelledby="legacy-simple-removableremove_chip_two_toolbar legacy-simple-removablechip_two_toolbar"
662
- aria-label="Remove"
663
- id="legacy-simple-removableremove_chip_two_toolbar"
664
- >
665
- <i class="fas fa-times" aria-hidden="true"></i>
666
- </button>
667
- </div>
668
- </li>
669
- <li class="pf-c-chip-group__list-item">
670
- <div class="pf-c-chip">
671
- <span
672
- class="pf-c-chip__text"
673
- id="legacy-simple-removablechip_three_toolbar"
674
- >Chip three</span>
675
- <button
676
- class="pf-c-button pf-m-plain"
677
- type="button"
678
- aria-labelledby="legacy-simple-removableremove_chip_three_toolbar legacy-simple-removablechip_three_toolbar"
679
- aria-label="Remove"
680
- id="legacy-simple-removableremove_chip_three_toolbar"
681
- >
682
- <i class="fas fa-times" aria-hidden="true"></i>
683
- </button>
684
- </div>
685
- </li>
686
- <li class="pf-c-chip-group__list-item">
687
- <div class="pf-c-chip">
688
- <span
689
- class="pf-c-chip__text"
690
- id="legacy-simple-removablechip_four_toolbar"
691
- >Chip four</span>
692
- <button
693
- class="pf-c-button pf-m-plain"
694
- type="button"
695
- aria-labelledby="legacy-simple-removableremove_chip_four_toolbar legacy-simple-removablechip_four_toolbar"
696
- aria-label="Remove"
697
- id="legacy-simple-removableremove_chip_four_toolbar"
698
- >
699
- <i class="fas fa-times" aria-hidden="true"></i>
700
- </button>
701
- </div>
702
- </li>
703
- <li class="pf-c-chip-group__list-item">
704
- <div class="pf-c-chip">
705
- <span
706
- class="pf-c-chip__text"
707
- id="legacy-simple-removablechip_five_toolbar"
708
- >Chip five</span>
709
- <button
710
- class="pf-c-button pf-m-plain"
711
- type="button"
712
- aria-labelledby="legacy-simple-removableremove_chip_five_toolbar legacy-simple-removablechip_five_toolbar"
713
- aria-label="Remove"
714
- id="legacy-simple-removableremove_chip_five_toolbar"
715
- >
716
- <i class="fas fa-times" aria-hidden="true"></i>
717
- </button>
718
- </div>
719
- </li>
720
- <li class="pf-c-chip-group__list-item">
721
- <div class="pf-c-chip">
722
- <span
723
- class="pf-c-chip__text"
724
- id="legacy-simple-removablechip_six_toolbar"
725
- >Chip six</span>
726
- <button
727
- class="pf-c-button pf-m-plain"
728
- type="button"
729
- aria-labelledby="legacy-simple-removableremove_chip_six_toolbar legacy-simple-removablechip_six_toolbar"
730
- aria-label="Remove"
731
- id="legacy-simple-removableremove_chip_six_toolbar"
732
- >
733
- <i class="fas fa-times" aria-hidden="true"></i>
734
- </button>
735
- </div>
736
- </li>
737
- </ul>
738
- <div class="pf-c-chip-group__close">
739
- <button
740
- class="pf-c-button pf-m-plain"
741
- type="button"
742
- aria-labelledby="legacy-simple-removable-button legacy-simple-removable-label"
743
- aria-label="Close chip group"
744
- id="legacy-simple-removable-button"
745
- >
746
- <i class="fas fa-times-circle" aria-hidden="true"></i>
747
- </button>
748
- </div>
749
- </div>
750
-
751
- <br />
752
- <br />
753
-
754
- <div class="pf-c-chip-group pf-m-category">
755
- <span
756
- class="pf-c-chip-group__label"
757
- aria-hidden="true"
758
- id="legacy-category-label"
759
- >Category one</span>
760
- <ul
761
- class="pf-c-chip-group__list"
762
- role="list"
763
- aria-labelledby="legacy-category-label"
764
- >
765
- <li class="pf-c-chip-group__list-item">
766
- <div class="pf-c-chip">
767
- <span
768
- class="pf-c-chip__text"
769
- id="legacy-categorychip_one_toolbar_collapsed"
770
- >Chip one</span>
771
- <button
772
- class="pf-c-button pf-m-plain"
773
- type="button"
774
- aria-labelledby="legacy-categoryremove_chip_one_toolbar_collapsed legacy-categorychip_one_toolbar_collapsed"
775
- aria-label="Remove"
776
- id="legacy-categoryremove_chip_one_toolbar_collapsed"
777
- >
778
- <i class="fas fa-times" aria-hidden="true"></i>
779
- </button>
780
- </div>
781
- </li>
782
- <li class="pf-c-chip-group__list-item">
783
- <div class="pf-c-chip">
784
- <span
785
- class="pf-c-chip__text"
786
- id="legacy-categorychip_two_toolbar_collapsed"
787
- >Chip two</span>
788
- <button
789
- class="pf-c-button pf-m-plain"
790
- type="button"
791
- aria-labelledby="legacy-categoryremove_chip_two_toolbar_collapsed legacy-categorychip_two_toolbar_collapsed"
792
- aria-label="Remove"
793
- id="legacy-categoryremove_chip_two_toolbar_collapsed"
794
- >
795
- <i class="fas fa-times" aria-hidden="true"></i>
796
- </button>
797
- </div>
798
- </li>
799
- <li class="pf-c-chip-group__list-item">
800
- <div class="pf-c-chip">
801
- <span
802
- class="pf-c-chip__text"
803
- id="legacy-categorychip_three_toolbar_collapsed"
804
- >Chip three</span>
805
- <button
806
- class="pf-c-button pf-m-plain"
807
- type="button"
808
- aria-labelledby="legacy-categoryremove_chip_three_toolbar_collapsed legacy-categorychip_three_toolbar_collapsed"
809
- aria-label="Remove"
810
- id="legacy-categoryremove_chip_three_toolbar_collapsed"
811
- >
812
- <i class="fas fa-times" aria-hidden="true"></i>
813
- </button>
814
- </div>
815
- </li>
816
- </ul>
817
- </div>
818
-
819
- <br />
820
- <br />
821
-
822
- <div class="pf-c-chip-group pf-m-category">
823
- <span
824
- class="pf-c-chip-group__label"
825
- aria-hidden="true"
826
- id="legacy-category-removable-label"
827
- >Category one</span>
828
- <ul
829
- class="pf-c-chip-group__list"
830
- role="list"
831
- aria-labelledby="legacy-category-removable-label"
832
- >
833
- <li class="pf-c-chip-group__list-item">
834
- <div class="pf-c-chip">
835
- <span
836
- class="pf-c-chip__text"
837
- id="legacy-category-removablechip_one_toolbar_collapsed"
838
- >Chip one</span>
839
- <button
840
- class="pf-c-button pf-m-plain"
841
- type="button"
842
- aria-labelledby="legacy-category-removableremove_chip_one_toolbar_collapsed legacy-category-removablechip_one_toolbar_collapsed"
843
- aria-label="Remove"
844
- id="legacy-category-removableremove_chip_one_toolbar_collapsed"
845
- >
846
- <i class="fas fa-times" aria-hidden="true"></i>
847
- </button>
848
- </div>
849
- </li>
850
- <li class="pf-c-chip-group__list-item">
851
- <div class="pf-c-chip">
852
- <span
853
- class="pf-c-chip__text"
854
- id="legacy-category-removablechip_two_toolbar_collapsed"
855
- >Chip two</span>
856
- <button
857
- class="pf-c-button pf-m-plain"
858
- type="button"
859
- aria-labelledby="legacy-category-removableremove_chip_two_toolbar_collapsed legacy-category-removablechip_two_toolbar_collapsed"
860
- aria-label="Remove"
861
- id="legacy-category-removableremove_chip_two_toolbar_collapsed"
862
- >
863
- <i class="fas fa-times" aria-hidden="true"></i>
864
- </button>
865
- </div>
866
- </li>
867
- <li class="pf-c-chip-group__list-item">
868
- <div class="pf-c-chip">
869
- <span
870
- class="pf-c-chip__text"
871
- id="legacy-category-removablechip_three_toolbar_collapsed"
872
- >Chip three</span>
873
- <button
874
- class="pf-c-button pf-m-plain"
875
- type="button"
876
- aria-labelledby="legacy-category-removableremove_chip_three_toolbar_collapsed legacy-category-removablechip_three_toolbar_collapsed"
877
- aria-label="Remove"
878
- id="legacy-category-removableremove_chip_three_toolbar_collapsed"
879
- >
880
- <i class="fas fa-times" aria-hidden="true"></i>
881
- </button>
882
- </div>
883
- </li>
884
- </ul>
885
- <div class="pf-c-chip-group__close">
886
- <button
887
- class="pf-c-button pf-m-plain"
888
- type="button"
889
- aria-labelledby="legacy-category-removable-button legacy-category-removable-label"
890
- aria-label="Close chip group"
891
- id="legacy-category-removable-button"
892
- >
893
- <i class="fas fa-times-circle" aria-hidden="true"></i>
894
- </button>
895
- </div>
896
- </div>
897
-
898
- ```
899
-
900
571
  ### Overview
901
572
 
902
573
  A chip group is constrained to the width of its container and will wrap when it exceeds that width. An overflow value can be set and when the number of chips exceeds that value, additional chips will be hidden by default. The default overflow value will be set to 3 chips but this can be adjusted per application needs. The toggle button after the last chip allows the group to be expanded (or collapsed).
@@ -909,21 +580,21 @@ The chip group requires the [chip component](/components/chip).
909
580
 
910
581
  **All single chip accessibility and usage requirements apply.**
911
582
 
912
- | Attributes for closable chip group button | Applied to | Outcome |
913
- | -------------------------------------------------------------------------------------------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
914
- | `role="list"` | `.pf-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list propertly. **Required** |
915
- | `aria-label="[button label text]"` | `.pf-c-chip-group__close > button` | Provides an accessible name for a chip group close when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
916
- | `aria-labelledby="[id value of .pf-c-chip-group__close > button] [id value of .pf-c-chip-group__label]"` | `.pf-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
583
+ | Attributes for closable chip group button | Applied to | Outcome |
584
+ | -- | -- | -- |
585
+ | `role="list"` | `.pf-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list propertly. **Required** |
586
+ | `aria-label="[button label text]"` | `.pf-c-chip-group__close > button` | Provides an accessible name for a chip group close when an icon is used instead of text. Required when an icon is used with no supporting text. **Required** |
587
+ | `aria-labelledby="[id value of .pf-c-chip-group__close > button] [id value of .pf-c-chip-group__label]"` | `.pf-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
917
588
 
918
589
  ### Usage
919
590
 
920
- | Class | Applied to | Outcome |
921
- | ----------------------------- | ---------------------------------- | ----------------------------------------------------------------------------------- |
922
- | `.pf-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
923
- | `.pf-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
924
- | `.pf-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
925
- | `.pf-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
926
- | `.pf-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
927
- | `.pf-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. |
928
- | `.pf-c-button` | `.pf-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
929
- | `.pf-m-category` | `.pf-c-chip-group` | Modifies the chip group to support category styling. |
591
+ | Class | Applied to | Outcome |
592
+ | -- | -- | -- |
593
+ | `.pf-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
594
+ | `.pf-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
595
+ | `.pf-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
596
+ | `.pf-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
597
+ | `.pf-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
598
+ | `.pf-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. **Required** |
599
+ | `.pf-c-button` | `.pf-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
600
+ | `.pf-m-category` | `.pf-c-chip-group` | Modifies the chip group to support category styling. |
@@ -350,28 +350,28 @@ cssPrefix: pf-c-clipboard-copy
350
350
 
351
351
  ### Accessibility
352
352
 
353
- | Attribute | Applied to | Outcome |
354
- | ------------------------------------------------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
355
- | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
356
- | `aria-label="[input label text]"` | `.pf-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
357
- | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
358
- | `aria-controls="[id of expandable element]"` | `.pf-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
359
- | `hidden` | `.pf-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
360
- | `aria-labelledby="[id of button] [id of input label]"` | `.pf-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
353
+ | Attribute | Applied to | Outcome |
354
+ | -- | -- | -- |
355
+ | `aria-label="Copy to clipboard"`, `aria-label="Show content"` | `.pf-c-button.pf-m-control` | Provides an accessible name for the button when an icon is used instead of text. **Required when an icon is used with no supporting text.** |
356
+ | `aria-label="[input label text]"` | `.pf-c-form-control` | Provides an accessible label for the input. Provide a label that describes the contents in the input. **Required** |
357
+ | `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
358
+ | `aria-controls="[id of expandable element]"` | `.pf-c-button.pf-m-control` | Identifies the element controlled by the toggle button. **Required** |
359
+ | `hidden` | `.pf-c-clipboard-copy__expandable-content` | Indicates that the expandable content is hidden so that it isn't visible in the UI and isn't accessed by assistive technologies. |
360
+ | `aria-labelledby="[id of button] [id of input label]"` | `.pf-c-button.pf-m-control` | Provides an accessible name that is unique and communicates context of the button. Required when more than one ClipboardCopy component exists on the page. **Important:** If the label is defined on the `<input>` using `aria-label`, then use the `id` of the `<input>`. If the label is defined in a `<label>`, then use the `id` of the `<label>`. **Alternatively** this attribute can be ignored if the text input label is defined as part of the value in `aria-label`. |
361
361
 
362
362
  ### Usage
363
363
 
364
- | Class | Applied to | Outcome |
365
- | ------------------------------------------ | ---------------------------------- | --------------------------------------------------------------------------------- |
366
- | `.pf-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
367
- | `.pf-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
368
- | `.pf-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
369
- | `.pf-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
370
- | `.pf-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
371
- | `.pf-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
372
- | `.pf-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
373
- | `.pf-m-inline` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
374
- | `.pf-m-block` | `.pf-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
375
- | `.pf-m-expanded` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
376
- | `.pf-m-expanded` | `.pf-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
377
- | `.pf-m-code` | `code.pf-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
364
+ | Class | Applied to | Outcome |
365
+ | -- | -- | -- |
366
+ | `.pf-c-clipboard-copy` | `<div>` | Initiates a clipboard copy component. **Required** |
367
+ | `.pf-c-clipboard-copy__group` | `<div>` | Initiates a wrapper for the clipboard copy group. **Required** |
368
+ | `.pf-c-clipboard-copy__toggle-icon` | `<div>` | Initiates a toggle button icon. |
369
+ | `.pf-c-clipboard-copy__expandable-content` | `<div>` | Initiates an expandable element. |
370
+ | `.pf-c-clipboard-copy__text` | `<span>` | Initiates the inline copy clipboard text element. **Required** |
371
+ | `.pf-c-clipboard-copy__actions` | `<span>` | Initiates the inline copy clipboard actions element. **Required** |
372
+ | `.pf-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
373
+ | `.pf-m-inline` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
374
+ | `.pf-m-block` | `.pf-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
375
+ | `.pf-m-expanded` | `.pf-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
376
+ | `.pf-m-expanded` | `.pf-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
377
+ | `.pf-m-code` | `code.pf-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
@@ -169,12 +169,12 @@ name: azure-sample-repo<div
169
169
 
170
170
  ### Usage
171
171
 
172
- | Class | Applied to | Outcome |
173
- | -------------------------------- | ---------- | ------------------------------------------------------- |
174
- | `.pf-c-code-block` | `<div>` | Initiates the code block component. **Required** |
175
- | `.pf-c-chip-group__header` | `<div>` | Initiates the code block header. |
176
- | `.pf-c-chip-group__actions` | `<div>` | Initiates the code block actions. |
177
- | `.pf-c-chip-group__actions-item` | `<div>` | Initiates a code block action item. |
178
- | `.pf-c-chip-group__content` | `<div>` | Initiates the code block content. **Required** |
179
- | `.pf-c-chip-group__pre` | `<pre>` | Initiates the code block `<pre>` element. **Required** |
180
- | `.pf-c-chip-group__code` | `<code>` | Initiates the code block `<code>` element. **Required** |
172
+ | Class | Applied to | Outcome |
173
+ | -- | -- | -- |
174
+ | `.pf-c-code-block` | `<div>` | Initiates the code block component. **Required** |
175
+ | `.pf-c-code-block__header` | `<div>` | Initiates the code block header. |
176
+ | `.pf-c-code-block__actions` | `<div>` | Initiates the code block actions. |
177
+ | `.pf-c-code-block__actions-item` | `<div>` | Initiates a code block action item. |
178
+ | `.pf-c-code-block__content` | `<div>` | Initiates the code block content. **Required** |
179
+ | `.pf-c-code-block__pre` | `<pre>` | Initiates the code block `<pre>` element. **Required** |
180
+ | `.pf-c-code-block__code` | `<code>` | Initiates the code block `<code>` element. **Required** |
@@ -107,24 +107,37 @@ cssPrefix: pf-c-code-editor
107
107
  <div class="pf-c-code-editor__header-main"></div>
108
108
  <div class="pf-c-code-editor__tab">
109
109
  <span class="pf-c-code-editor__tab-icon">
110
- <i class="fas fa-code"></i>
110
+ <i class="fas fa-code" aria-hidden="true"></i>
111
111
  </span>
112
112
  <span class="pf-c-code-editor__tab-text">YAML</span>
113
113
  </div>
114
114
  </div>
115
115
  <div class="pf-c-code-editor__main">
116
- <div class="pf-c-empty-state pf-m-lg">
116
+ <div class="pf-c-empty-state">
117
117
  <div class="pf-c-empty-state__content">
118
- <div class="pf-c-empty-state__icon">
119
- <i class="fas fa-code"></i>
118
+ <div class="pf-c-empty-state__header">
119
+ <div class="pf-c-empty-state__icon">
120
+ <i class="fas fa- fa-code" aria-hidden="true"></i>
121
+ </div>
122
+ <div class="pf-c-empty-state__title">
123
+ <h1 class="pf-c-empty-state__title-text">Start editing</h1>
124
+ </div>
120
125
  </div>
121
- <h1 class="pf-c-title pf-m-lg">Start editing</h1>
126
+
122
127
  <div
123
128
  class="pf-c-empty-state__body"
124
129
  >Drag a file here or browse to upload.</div>
125
- <button class="pf-c-button pf-m-primary" type="button">Browse</button>
126
- <div class="pf-c-empty-state__secondary">
127
- <button class="pf-c-button pf-m-link" type="button">Start from scratch</button>
130
+
131
+ <div class="pf-c-empty-state__footer">
132
+ <div class="pf-c-empty-state__actions">
133
+ <button class="pf-c-button pf-m-primary" type="button">Browse</button>
134
+ </div>
135
+ <div class="pf-c-empty-state__actions">
136
+ <button
137
+ class="pf-c-button pf-m-link"
138
+ type="button"
139
+ >Start from scratch</button>
140
+ </div>
128
141
  </div>
129
142
  </div>
130
143
  </div>
@@ -141,24 +154,37 @@ cssPrefix: pf-c-code-editor
141
154
  <div class="pf-c-code-editor__header-main"></div>
142
155
  <div class="pf-c-code-editor__tab">
143
156
  <span class="pf-c-code-editor__tab-icon">
144
- <i class="fas fa-code"></i>
157
+ <i class="fas fa-code" aria-hidden="true"></i>
145
158
  </span>
146
159
  <span class="pf-c-code-editor__tab-text">YAML</span>
147
160
  </div>
148
161
  </div>
149
162
  <div class="pf-c-code-editor__main pf-m-drag-hover">
150
- <div class="pf-c-empty-state pf-m-lg">
163
+ <div class="pf-c-empty-state">
151
164
  <div class="pf-c-empty-state__content">
152
- <div class="pf-c-empty-state__icon">
153
- <i class="fas fa-code"></i>
165
+ <div class="pf-c-empty-state__header">
166
+ <div class="pf-c-empty-state__icon">
167
+ <i class="fas fa- fa-code" aria-hidden="true"></i>
168
+ </div>
169
+ <div class="pf-c-empty-state__title">
170
+ <h1 class="pf-c-empty-state__title-text">Start editing</h1>
171
+ </div>
154
172
  </div>
155
- <h1 class="pf-c-title pf-m-lg">Start editing</h1>
173
+
156
174
  <div
157
175
  class="pf-c-empty-state__body"
158
176
  >Drag a file here or browse to upload.</div>
159
- <button class="pf-c-button pf-m-primary" type="button">Browse</button>
160
- <div class="pf-c-empty-state__secondary">
161
- <button class="pf-c-button pf-m-link" type="button">Start from scratch</button>
177
+
178
+ <div class="pf-c-empty-state__footer">
179
+ <div class="pf-c-empty-state__actions">
180
+ <button class="pf-c-button pf-m-primary" type="button">Browse</button>
181
+ </div>
182
+ <div class="pf-c-empty-state__actions">
183
+ <button
184
+ class="pf-c-button pf-m-link"
185
+ type="button"
186
+ >Start from scratch</button>
187
+ </div>
162
188
  </div>
163
189
  </div>
164
190
  </div>
@@ -224,24 +250,17 @@ cssPrefix: pf-c-code-editor
224
250
 
225
251
  ## Documentation
226
252
 
227
- ### Overview
228
-
229
- ### Accessibility
230
-
231
- | Class | Applied to | Outcome |
232
- | ----- | ---------- | ------- |
233
-
234
253
  ### Usage
235
254
 
236
- | Class | Applied to | Outcome |
237
- | --------------------------------------- | ---------- | ----------------------------------------------------------------------------------------- |
238
- | `.pf-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
239
- | `.pf-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
240
- | `.pf-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
241
- | `.pf-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
242
- | `.pf-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
243
- | `.pf-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
244
- | `.pf-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
245
- | `.pf-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
246
- | `.pf-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
247
- | `.pf-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |
255
+ | Class | Applied to | Outcome |
256
+ | -- | -- | -- |
257
+ | `.pf-c-code-editor` | `<div>` | Initiates the code editor component. **Required** |
258
+ | `.pf-c-code-editor__header` | `<div>` | Initiates the code editor header used for the controls and tab elements. **Required** |
259
+ | `.pf-c-code-editor__main` | `<div>` | Initiates the main container for a code editor e.g. Monaco **Required** |
260
+ | `.pf-c-code-editor__code` | `<div>` | Initiates the container for code without a JS code editor. Comes with PatternFly styling. |
261
+ | `.pf-c-code-editor__controls` | `<div>` | Initiates the code editor controls. |
262
+ | `.pf-c-code-editor__header-main` | `<div>` | Initiates the code editor header content area. |
263
+ | `.pf-c-code-editor__keyboard-shortcuts` | `<div>` | Initiates the code editor header keyboard shortcuts area. |
264
+ | `.pf-c-code-editor__tab` | `<div>` | Initiates the code editor tab. |
265
+ | `.pf-c-code-editor__tab-text` | `<span>` | Initiates the code editor tab text. |
266
+ | `.pf-c-code-editor__tab-icon` | `<span>` | Initiates the code editor tab icon. |