@patternfly/patternfly 4.160.1 → 4.162.2
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.
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Black.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BlackItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2 +0 -0
- package/base/_common.scss +5 -1
- package/base/_fonts.scss +100 -0
- package/base/_variables.scss +25 -1
- package/base/patternfly-common.css +4 -0
- package/base/patternfly-fonts.css +84 -0
- package/base/patternfly-variables.css +21 -0
- package/components/DataList/data-list.scss +1 -1
- package/components/DescriptionList/description-list.css +14 -0
- package/components/DescriptionList/description-list.scss +19 -0
- package/components/Dropdown/dropdown.css +15 -7
- package/components/Dropdown/dropdown.scss +24 -13
- package/components/Table/table.css +14 -3
- package/components/Table/table.scss +16 -3
- package/components/_all.scss +88 -88
- package/docs/components/DescriptionList/examples/DescriptionList.md +174 -0
- package/docs/components/Dropdown/examples/Dropdown.md +90 -0
- package/docs/components/Table/examples/Table.md +1079 -925
- package/docs/demos/Table/examples/Table.md +100 -100
- package/package.json +7 -7
- package/patternfly-addons.scss +10 -10
- package/patternfly-base-no-reset.css +109 -0
- package/patternfly-base-no-reset.scss +1 -1
- package/patternfly-base.css +109 -0
- package/patternfly-no-reset.css +152 -10
- package/patternfly-no-reset.scss +1 -1
- package/patternfly.css +152 -10
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +1 -1
- package/sass-utilities/scss-variables.scss +6 -0
|
@@ -453,10 +453,16 @@
|
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
th,
|
|
456
|
-
td
|
|
456
|
+
td,
|
|
457
|
+
input {
|
|
457
458
|
vertical-align: middle;
|
|
458
459
|
}
|
|
459
460
|
|
|
461
|
+
.pf-c-table__check label {
|
|
462
|
+
display: flex;
|
|
463
|
+
align-items: center;
|
|
464
|
+
}
|
|
465
|
+
|
|
460
466
|
tr:not(:first-child) {
|
|
461
467
|
th,
|
|
462
468
|
td {
|
|
@@ -515,7 +521,7 @@
|
|
|
515
521
|
|
|
516
522
|
// Check table cell
|
|
517
523
|
.pf-c-table__check {
|
|
518
|
-
|
|
524
|
+
input {
|
|
519
525
|
margin-top: var(--pf-c-table__check--input--MarginTop);
|
|
520
526
|
vertical-align: top;
|
|
521
527
|
}
|
|
@@ -902,9 +908,16 @@
|
|
|
902
908
|
.pf-c-table__check {
|
|
903
909
|
--pf-c-table--cell--FontSize: var(--pf-c-table__check--input--FontSize);
|
|
904
910
|
|
|
905
|
-
|
|
911
|
+
label:not([disabled]),
|
|
912
|
+
input:not([disabled]) {
|
|
906
913
|
cursor: pointer;
|
|
907
914
|
}
|
|
915
|
+
|
|
916
|
+
label {
|
|
917
|
+
display: block;
|
|
918
|
+
padding: inherit;
|
|
919
|
+
margin: calc(var(--pf-c-table--cell--PaddingTop) * -1) calc(var(--pf-c-table--cell--PaddingRight) * -1) calc(var(--pf-c-table--cell--PaddingBottom) * -1) calc(var(--pf-c-table--cell--PaddingLeft) * -1);
|
|
920
|
+
}
|
|
908
921
|
}
|
|
909
922
|
|
|
910
923
|
// Favorite body cell
|
package/components/_all.scss
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
@import "./AboutModalBox/about-modal-box
|
|
2
|
-
@import "./Accordion/accordion
|
|
3
|
-
@import "./ActionList/action-list
|
|
4
|
-
@import "./Alert/alert
|
|
5
|
-
@import "./AlertGroup/alert-group
|
|
6
|
-
@import "./AppLauncher/app-launcher
|
|
7
|
-
@import "./Avatar/avatar
|
|
8
|
-
@import "./Backdrop/backdrop
|
|
9
|
-
@import "./BackgroundImage/background-image
|
|
10
|
-
@import "./BackToTop/back-to-top
|
|
11
|
-
@import "./Badge/badge
|
|
12
|
-
@import "./Banner/banner
|
|
13
|
-
@import "./Brand/brand
|
|
14
|
-
@import "./Breadcrumb/breadcrumb
|
|
15
|
-
@import "./Button/button
|
|
16
|
-
@import "./CalendarMonth/calendar-month
|
|
17
|
-
@import "./Card/card
|
|
18
|
-
@import "./Check/check
|
|
19
|
-
@import "./Chip/chip
|
|
20
|
-
@import "./ChipGroup/chip-group
|
|
21
|
-
@import "./ClipboardCopy/clipboard-copy
|
|
22
|
-
@import "./CodeBlock/code-block
|
|
23
|
-
@import "./CodeEditor/code-editor
|
|
24
|
-
@import "./Content/content
|
|
25
|
-
@import "./ContextSelector/context-selector
|
|
26
|
-
@import "./DataList/data-list
|
|
27
|
-
@import "./DescriptionList/description-list
|
|
28
|
-
@import "./DragDrop/drag-drop
|
|
29
|
-
@import "./DualListSelector/dual-list-selector
|
|
30
|
-
@import "./Toolbar/toolbar
|
|
31
|
-
@import "./DatePicker/date-picker
|
|
32
|
-
@import "./Divider/divider
|
|
33
|
-
@import "./Drawer/drawer
|
|
34
|
-
@import "./Dropdown/dropdown
|
|
35
|
-
@import "./EmptyState/empty-state
|
|
36
|
-
@import "./ExpandableSection/expandable-section
|
|
37
|
-
@import "./FileUpload/file-upload
|
|
38
|
-
@import "./Form/form
|
|
39
|
-
@import "./FormControl/form-control
|
|
40
|
-
@import "./Hint/hint
|
|
41
|
-
@import "./HelperText/helper-text
|
|
42
|
-
@import "./InlineEdit/inline-edit
|
|
43
|
-
@import "./InputGroup/input-group
|
|
44
|
-
@import "./JumpLinks/jump-links
|
|
45
|
-
@import "./Label/label
|
|
46
|
-
@import "./LabelGroup/label-group
|
|
47
|
-
@import "./List/list
|
|
48
|
-
@import "./LogViewer/log-viewer
|
|
49
|
-
@import "./Login/login
|
|
50
|
-
@import "./Masthead/masthead
|
|
51
|
-
@import "./Menu/menu
|
|
52
|
-
@import "./MenuToggle/menu-toggle
|
|
53
|
-
@import "./ModalBox/modal-box
|
|
54
|
-
@import "./Nav/nav
|
|
55
|
-
@import "./NotificationBadge/notification-badge
|
|
56
|
-
@import "./NotificationDrawer/notification-drawer
|
|
57
|
-
@import "./OptionsMenu/options-menu
|
|
58
|
-
@import "./OverflowMenu/overflow-menu
|
|
59
|
-
@import "./Page/page
|
|
60
|
-
@import "./Pagination/pagination
|
|
61
|
-
@import "./Panel/panel
|
|
62
|
-
@import "./Popover/popover
|
|
63
|
-
@import "./Progress/progress
|
|
64
|
-
@import "./ProgressStepper/progress-stepper
|
|
65
|
-
@import "./Radio/radio
|
|
66
|
-
@import "./SearchInput/search-input
|
|
67
|
-
@import "./Select/select
|
|
68
|
-
@import "./Sidebar/sidebar
|
|
69
|
-
@import "./SimpleList/simple-list
|
|
70
|
-
@import "./Skeleton/skeleton
|
|
71
|
-
@import "./SkipToContent/skip-to-content
|
|
72
|
-
@import "./Slider/slider
|
|
73
|
-
@import "./Spinner/spinner
|
|
74
|
-
@import "./Switch/switch
|
|
75
|
-
@import "./TabContent/tab-content
|
|
76
|
-
@import "./Table/table-grid
|
|
77
|
-
@import "./Table/table
|
|
78
|
-
@import "./Table/table-scrollable
|
|
79
|
-
@import "./Table/table-tree-view
|
|
80
|
-
@import "./Tabs/tabs
|
|
81
|
-
@import "./TextInputGroup/text-input-group
|
|
82
|
-
@import "./Tile/tile
|
|
83
|
-
@import "./Title/title
|
|
84
|
-
@import "./ToggleGroup/toggle-group
|
|
85
|
-
@import "./Tooltip/tooltip
|
|
86
|
-
@import "./NumberInput/number-input
|
|
87
|
-
@import "./TreeView/tree-view
|
|
88
|
-
@import "./Wizard/wizard
|
|
1
|
+
@import "./AboutModalBox/about-modal-box";
|
|
2
|
+
@import "./Accordion/accordion";
|
|
3
|
+
@import "./ActionList/action-list";
|
|
4
|
+
@import "./Alert/alert";
|
|
5
|
+
@import "./AlertGroup/alert-group";
|
|
6
|
+
@import "./AppLauncher/app-launcher";
|
|
7
|
+
@import "./Avatar/avatar";
|
|
8
|
+
@import "./Backdrop/backdrop";
|
|
9
|
+
@import "./BackgroundImage/background-image";
|
|
10
|
+
@import "./BackToTop/back-to-top";
|
|
11
|
+
@import "./Badge/badge";
|
|
12
|
+
@import "./Banner/banner";
|
|
13
|
+
@import "./Brand/brand";
|
|
14
|
+
@import "./Breadcrumb/breadcrumb";
|
|
15
|
+
@import "./Button/button";
|
|
16
|
+
@import "./CalendarMonth/calendar-month";
|
|
17
|
+
@import "./Card/card";
|
|
18
|
+
@import "./Check/check";
|
|
19
|
+
@import "./Chip/chip";
|
|
20
|
+
@import "./ChipGroup/chip-group";
|
|
21
|
+
@import "./ClipboardCopy/clipboard-copy";
|
|
22
|
+
@import "./CodeBlock/code-block";
|
|
23
|
+
@import "./CodeEditor/code-editor";
|
|
24
|
+
@import "./Content/content";
|
|
25
|
+
@import "./ContextSelector/context-selector";
|
|
26
|
+
@import "./DataList/data-list";
|
|
27
|
+
@import "./DescriptionList/description-list";
|
|
28
|
+
@import "./DragDrop/drag-drop";
|
|
29
|
+
@import "./DualListSelector/dual-list-selector";
|
|
30
|
+
@import "./Toolbar/toolbar";
|
|
31
|
+
@import "./DatePicker/date-picker";
|
|
32
|
+
@import "./Divider/divider";
|
|
33
|
+
@import "./Drawer/drawer";
|
|
34
|
+
@import "./Dropdown/dropdown";
|
|
35
|
+
@import "./EmptyState/empty-state";
|
|
36
|
+
@import "./ExpandableSection/expandable-section";
|
|
37
|
+
@import "./FileUpload/file-upload";
|
|
38
|
+
@import "./Form/form";
|
|
39
|
+
@import "./FormControl/form-control";
|
|
40
|
+
@import "./Hint/hint";
|
|
41
|
+
@import "./HelperText/helper-text";
|
|
42
|
+
@import "./InlineEdit/inline-edit";
|
|
43
|
+
@import "./InputGroup/input-group";
|
|
44
|
+
@import "./JumpLinks/jump-links";
|
|
45
|
+
@import "./Label/label";
|
|
46
|
+
@import "./LabelGroup/label-group";
|
|
47
|
+
@import "./List/list";
|
|
48
|
+
@import "./LogViewer/log-viewer";
|
|
49
|
+
@import "./Login/login";
|
|
50
|
+
@import "./Masthead/masthead";
|
|
51
|
+
@import "./Menu/menu";
|
|
52
|
+
@import "./MenuToggle/menu-toggle";
|
|
53
|
+
@import "./ModalBox/modal-box";
|
|
54
|
+
@import "./Nav/nav";
|
|
55
|
+
@import "./NotificationBadge/notification-badge";
|
|
56
|
+
@import "./NotificationDrawer/notification-drawer";
|
|
57
|
+
@import "./OptionsMenu/options-menu";
|
|
58
|
+
@import "./OverflowMenu/overflow-menu";
|
|
59
|
+
@import "./Page/page";
|
|
60
|
+
@import "./Pagination/pagination";
|
|
61
|
+
@import "./Panel/panel";
|
|
62
|
+
@import "./Popover/popover";
|
|
63
|
+
@import "./Progress/progress";
|
|
64
|
+
@import "./ProgressStepper/progress-stepper";
|
|
65
|
+
@import "./Radio/radio";
|
|
66
|
+
@import "./SearchInput/search-input";
|
|
67
|
+
@import "./Select/select";
|
|
68
|
+
@import "./Sidebar/sidebar";
|
|
69
|
+
@import "./SimpleList/simple-list";
|
|
70
|
+
@import "./Skeleton/skeleton";
|
|
71
|
+
@import "./SkipToContent/skip-to-content";
|
|
72
|
+
@import "./Slider/slider";
|
|
73
|
+
@import "./Spinner/spinner";
|
|
74
|
+
@import "./Switch/switch";
|
|
75
|
+
@import "./TabContent/tab-content";
|
|
76
|
+
@import "./Table/table-grid";
|
|
77
|
+
@import "./Table/table";
|
|
78
|
+
@import "./Table/table-scrollable";
|
|
79
|
+
@import "./Table/table-tree-view";
|
|
80
|
+
@import "./Tabs/tabs";
|
|
81
|
+
@import "./TextInputGroup/text-input-group";
|
|
82
|
+
@import "./Tile/tile";
|
|
83
|
+
@import "./Title/title";
|
|
84
|
+
@import "./ToggleGroup/toggle-group";
|
|
85
|
+
@import "./Tooltip/tooltip";
|
|
86
|
+
@import "./NumberInput/number-input";
|
|
87
|
+
@import "./TreeView/tree-view";
|
|
88
|
+
@import "./Wizard/wizard";
|
|
@@ -599,6 +599,179 @@ cssPrefix: pf-c-description-list
|
|
|
599
599
|
|
|
600
600
|
```
|
|
601
601
|
|
|
602
|
+
### Column fill
|
|
603
|
+
|
|
604
|
+
```html
|
|
605
|
+
<dl class="pf-c-description-list pf-m-fill-columns">
|
|
606
|
+
<div class="pf-c-description-list__group">
|
|
607
|
+
<dt class="pf-c-description-list__term">
|
|
608
|
+
<span class="pf-c-description-list__text">Name</span>
|
|
609
|
+
</dt>
|
|
610
|
+
<dd class="pf-c-description-list__description">
|
|
611
|
+
<div class="pf-c-description-list__text">example</div>
|
|
612
|
+
</dd>
|
|
613
|
+
</div>
|
|
614
|
+
<div class="pf-c-description-list__group">
|
|
615
|
+
<dt class="pf-c-description-list__term">
|
|
616
|
+
<span class="pf-c-description-list__text">Namespace</span>
|
|
617
|
+
</dt>
|
|
618
|
+
<dd class="pf-c-description-list__description">
|
|
619
|
+
<div class="pf-c-description-list__text">
|
|
620
|
+
<a href="#">mary-test</a>
|
|
621
|
+
</div>
|
|
622
|
+
</dd>
|
|
623
|
+
</div>
|
|
624
|
+
<div class="pf-c-description-list__group">
|
|
625
|
+
<dt class="pf-c-description-list__term">
|
|
626
|
+
<span class="pf-c-description-list__text">Labels</span>
|
|
627
|
+
</dt>
|
|
628
|
+
<dd class="pf-c-description-list__description">
|
|
629
|
+
<div class="pf-c-description-list__text">example</div>
|
|
630
|
+
</dd>
|
|
631
|
+
</div>
|
|
632
|
+
<div class="pf-c-description-list__group">
|
|
633
|
+
<dt class="pf-c-description-list__term">
|
|
634
|
+
<span class="pf-c-description-list__text">Pod selector</span>
|
|
635
|
+
</dt>
|
|
636
|
+
<dd class="pf-c-description-list__description">
|
|
637
|
+
<div class="pf-c-description-list__text">
|
|
638
|
+
<button class="pf-c-button pf-m-link pf-m-inline" type="button">
|
|
639
|
+
<span class="pf-c-button__icon pf-m-start">
|
|
640
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
641
|
+
</span>
|
|
642
|
+
app=MyApp
|
|
643
|
+
</button>
|
|
644
|
+
</div>
|
|
645
|
+
</dd>
|
|
646
|
+
</div>
|
|
647
|
+
<div class="pf-c-description-list__group">
|
|
648
|
+
<dt class="pf-c-description-list__term">
|
|
649
|
+
<span class="pf-c-description-list__text">Annotation</span>
|
|
650
|
+
</dt>
|
|
651
|
+
<dd class="pf-c-description-list__description">
|
|
652
|
+
<div class="pf-c-description-list__text">2 Annotations</div>
|
|
653
|
+
</dd>
|
|
654
|
+
</div>
|
|
655
|
+
</dl>
|
|
656
|
+
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
### Column fill, horizontal
|
|
660
|
+
|
|
661
|
+
```html
|
|
662
|
+
<dl class="pf-c-description-list pf-m-fill-columns pf-m-horizontal">
|
|
663
|
+
<div class="pf-c-description-list__group">
|
|
664
|
+
<dt class="pf-c-description-list__term">
|
|
665
|
+
<span class="pf-c-description-list__text">Name</span>
|
|
666
|
+
</dt>
|
|
667
|
+
<dd class="pf-c-description-list__description">
|
|
668
|
+
<div class="pf-c-description-list__text">example</div>
|
|
669
|
+
</dd>
|
|
670
|
+
</div>
|
|
671
|
+
<div class="pf-c-description-list__group">
|
|
672
|
+
<dt class="pf-c-description-list__term">
|
|
673
|
+
<span class="pf-c-description-list__text">Namespace</span>
|
|
674
|
+
</dt>
|
|
675
|
+
<dd class="pf-c-description-list__description">
|
|
676
|
+
<div class="pf-c-description-list__text">
|
|
677
|
+
<a href="#">mary-test</a>
|
|
678
|
+
</div>
|
|
679
|
+
</dd>
|
|
680
|
+
</div>
|
|
681
|
+
<div class="pf-c-description-list__group">
|
|
682
|
+
<dt class="pf-c-description-list__term">
|
|
683
|
+
<span class="pf-c-description-list__text">Labels</span>
|
|
684
|
+
</dt>
|
|
685
|
+
<dd class="pf-c-description-list__description">
|
|
686
|
+
<div class="pf-c-description-list__text">example</div>
|
|
687
|
+
</dd>
|
|
688
|
+
</div>
|
|
689
|
+
<div class="pf-c-description-list__group">
|
|
690
|
+
<dt class="pf-c-description-list__term">
|
|
691
|
+
<span class="pf-c-description-list__text">Pod selector</span>
|
|
692
|
+
</dt>
|
|
693
|
+
<dd class="pf-c-description-list__description">
|
|
694
|
+
<div class="pf-c-description-list__text">
|
|
695
|
+
<button class="pf-c-button pf-m-link pf-m-inline" type="button">
|
|
696
|
+
<span class="pf-c-button__icon pf-m-start">
|
|
697
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
698
|
+
</span>
|
|
699
|
+
app=MyApp
|
|
700
|
+
</button>
|
|
701
|
+
</div>
|
|
702
|
+
</dd>
|
|
703
|
+
</div>
|
|
704
|
+
<div class="pf-c-description-list__group">
|
|
705
|
+
<dt class="pf-c-description-list__term">
|
|
706
|
+
<span class="pf-c-description-list__text">Annotation</span>
|
|
707
|
+
</dt>
|
|
708
|
+
<dd class="pf-c-description-list__description">
|
|
709
|
+
<div class="pf-c-description-list__text">2 Annotations</div>
|
|
710
|
+
</dd>
|
|
711
|
+
</div>
|
|
712
|
+
</dl>
|
|
713
|
+
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
### Column fill, horizontal, multi-column
|
|
717
|
+
|
|
718
|
+
```html
|
|
719
|
+
<dl
|
|
720
|
+
class="pf-c-description-list pf-m-fill-columns pf-m-horizontal pf-m-2-col pf-m-3-col-on-lg"
|
|
721
|
+
>
|
|
722
|
+
<div class="pf-c-description-list__group">
|
|
723
|
+
<dt class="pf-c-description-list__term">
|
|
724
|
+
<span class="pf-c-description-list__text">Name</span>
|
|
725
|
+
</dt>
|
|
726
|
+
<dd class="pf-c-description-list__description">
|
|
727
|
+
<div class="pf-c-description-list__text">example</div>
|
|
728
|
+
</dd>
|
|
729
|
+
</div>
|
|
730
|
+
<div class="pf-c-description-list__group">
|
|
731
|
+
<dt class="pf-c-description-list__term">
|
|
732
|
+
<span class="pf-c-description-list__text">Namespace</span>
|
|
733
|
+
</dt>
|
|
734
|
+
<dd class="pf-c-description-list__description">
|
|
735
|
+
<div class="pf-c-description-list__text">
|
|
736
|
+
<a href="#">mary-test</a>
|
|
737
|
+
</div>
|
|
738
|
+
</dd>
|
|
739
|
+
</div>
|
|
740
|
+
<div class="pf-c-description-list__group">
|
|
741
|
+
<dt class="pf-c-description-list__term">
|
|
742
|
+
<span class="pf-c-description-list__text">Labels</span>
|
|
743
|
+
</dt>
|
|
744
|
+
<dd class="pf-c-description-list__description">
|
|
745
|
+
<div class="pf-c-description-list__text">example</div>
|
|
746
|
+
</dd>
|
|
747
|
+
</div>
|
|
748
|
+
<div class="pf-c-description-list__group">
|
|
749
|
+
<dt class="pf-c-description-list__term">
|
|
750
|
+
<span class="pf-c-description-list__text">Pod selector</span>
|
|
751
|
+
</dt>
|
|
752
|
+
<dd class="pf-c-description-list__description">
|
|
753
|
+
<div class="pf-c-description-list__text">
|
|
754
|
+
<button class="pf-c-button pf-m-link pf-m-inline" type="button">
|
|
755
|
+
<span class="pf-c-button__icon pf-m-start">
|
|
756
|
+
<i class="fas fa-plus-circle" aria-hidden="true"></i>
|
|
757
|
+
</span>
|
|
758
|
+
app=MyApp
|
|
759
|
+
</button>
|
|
760
|
+
</div>
|
|
761
|
+
</dd>
|
|
762
|
+
</div>
|
|
763
|
+
<div class="pf-c-description-list__group">
|
|
764
|
+
<dt class="pf-c-description-list__term">
|
|
765
|
+
<span class="pf-c-description-list__text">Annotation</span>
|
|
766
|
+
</dt>
|
|
767
|
+
<dd class="pf-c-description-list__description">
|
|
768
|
+
<div class="pf-c-description-list__text">2 Annotations</div>
|
|
769
|
+
</dd>
|
|
770
|
+
</div>
|
|
771
|
+
</dl>
|
|
772
|
+
|
|
773
|
+
```
|
|
774
|
+
|
|
602
775
|
## Auto fit
|
|
603
776
|
|
|
604
777
|
### Auto-fit basic
|
|
@@ -1162,6 +1335,7 @@ cssPrefix: pf-c-description-list
|
|
|
1162
1335
|
| `.pf-m-help-text` | `.pf-c-description-list__text` | Indicates there is more information available for the description list component term text. |
|
|
1163
1336
|
| `.pf-m-horizontal{-on-[sm, md, lg, xl, 2xl]}` | `.pf-c-description-list` | Modifies the description list component term and description pair to a horizontal layout. |
|
|
1164
1337
|
| `.pf-m-vertical{-on-[sm, md, lg, xl, 2xl]}` | `.pf-c-description-list` | Modifies the description list component term and description pair to a vertical layout. |
|
|
1338
|
+
| `.pf-m-fill-columns` | `.pf-c-description-list` | Modifies the description list groups to fill columns . |
|
|
1165
1339
|
| `.pf-m-auto-column-widths` | `.pf-c-description-list` | Modifies the description list to format automatically. |
|
|
1166
1340
|
| `.pf-m-inline-grid` | `.pf-c-description-list` | Modifies the description list display to inline-grid. |
|
|
1167
1341
|
| `.pf-m-{1,2,3}-col{-on-[sm, md, lg, xl, 2xl]}` | `.pf-c-description-list` | Modifies the description list number of columns. |
|
|
@@ -1434,6 +1434,51 @@ The dropdown panel is provided for flexibility in allowing various content withi
|
|
|
1434
1434
|
</li>
|
|
1435
1435
|
</ul>
|
|
1436
1436
|
</div>
|
|
1437
|
+
<div class="pf-c-dropdown">
|
|
1438
|
+
<button
|
|
1439
|
+
class="pf-c-dropdown__toggle pf-m-primary"
|
|
1440
|
+
id="dropdown-primary-toggle-disabled-button"
|
|
1441
|
+
aria-expanded="false"
|
|
1442
|
+
type="button"
|
|
1443
|
+
disabled
|
|
1444
|
+
>
|
|
1445
|
+
<span class="pf-c-dropdown__toggle-text">Disabled</span>
|
|
1446
|
+
<span class="pf-c-dropdown__toggle-icon">
|
|
1447
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1448
|
+
</span>
|
|
1449
|
+
</button>
|
|
1450
|
+
<ul
|
|
1451
|
+
class="pf-c-dropdown__menu"
|
|
1452
|
+
aria-labelledby="dropdown-primary-toggle-disabled-button"
|
|
1453
|
+
hidden
|
|
1454
|
+
>
|
|
1455
|
+
<li>
|
|
1456
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1457
|
+
</li>
|
|
1458
|
+
<li>
|
|
1459
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1460
|
+
</li>
|
|
1461
|
+
<li>
|
|
1462
|
+
<a
|
|
1463
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1464
|
+
href="#"
|
|
1465
|
+
aria-disabled="true"
|
|
1466
|
+
tabindex="-1"
|
|
1467
|
+
>Disabled link</a>
|
|
1468
|
+
</li>
|
|
1469
|
+
<li>
|
|
1470
|
+
<button
|
|
1471
|
+
class="pf-c-dropdown__menu-item"
|
|
1472
|
+
type="button"
|
|
1473
|
+
disabled
|
|
1474
|
+
>Disabled action</button>
|
|
1475
|
+
</li>
|
|
1476
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1477
|
+
<li>
|
|
1478
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1479
|
+
</li>
|
|
1480
|
+
</ul>
|
|
1481
|
+
</div>
|
|
1437
1482
|
|
|
1438
1483
|
```
|
|
1439
1484
|
|
|
@@ -1527,6 +1572,51 @@ The dropdown panel is provided for flexibility in allowing various content withi
|
|
|
1527
1572
|
</li>
|
|
1528
1573
|
</ul>
|
|
1529
1574
|
</div>
|
|
1575
|
+
<div class="pf-c-dropdown">
|
|
1576
|
+
<button
|
|
1577
|
+
class="pf-c-dropdown__toggle pf-m-secondary"
|
|
1578
|
+
id="dropdown-secondary-toggle-disabled-button"
|
|
1579
|
+
aria-expanded="false"
|
|
1580
|
+
type="button"
|
|
1581
|
+
disabled
|
|
1582
|
+
>
|
|
1583
|
+
<span class="pf-c-dropdown__toggle-text">Disabled</span>
|
|
1584
|
+
<span class="pf-c-dropdown__toggle-icon">
|
|
1585
|
+
<i class="fas fa-caret-down" aria-hidden="true"></i>
|
|
1586
|
+
</span>
|
|
1587
|
+
</button>
|
|
1588
|
+
<ul
|
|
1589
|
+
class="pf-c-dropdown__menu"
|
|
1590
|
+
aria-labelledby="dropdown-secondary-toggle-disabled-button"
|
|
1591
|
+
hidden
|
|
1592
|
+
>
|
|
1593
|
+
<li>
|
|
1594
|
+
<a class="pf-c-dropdown__menu-item" href="#">Link</a>
|
|
1595
|
+
</li>
|
|
1596
|
+
<li>
|
|
1597
|
+
<button class="pf-c-dropdown__menu-item" type="button">Action</button>
|
|
1598
|
+
</li>
|
|
1599
|
+
<li>
|
|
1600
|
+
<a
|
|
1601
|
+
class="pf-c-dropdown__menu-item pf-m-disabled"
|
|
1602
|
+
href="#"
|
|
1603
|
+
aria-disabled="true"
|
|
1604
|
+
tabindex="-1"
|
|
1605
|
+
>Disabled link</a>
|
|
1606
|
+
</li>
|
|
1607
|
+
<li>
|
|
1608
|
+
<button
|
|
1609
|
+
class="pf-c-dropdown__menu-item"
|
|
1610
|
+
type="button"
|
|
1611
|
+
disabled
|
|
1612
|
+
>Disabled action</button>
|
|
1613
|
+
</li>
|
|
1614
|
+
<li class="pf-c-divider" role="separator"></li>
|
|
1615
|
+
<li>
|
|
1616
|
+
<a class="pf-c-dropdown__menu-item" href="#">Separated link</a>
|
|
1617
|
+
</li>
|
|
1618
|
+
</ul>
|
|
1619
|
+
</div>
|
|
1530
1620
|
|
|
1531
1621
|
```
|
|
1532
1622
|
|