@patternfly/patternfly 6.0.0-alpha.9 → 6.0.0-alpha.90
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/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +1005 -856
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +319 -290
- package/base/tokens/_tokens-default.scss +485 -329
- package/base/tokens/_tokens-font.scss +122 -58
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +27 -16
- package/components/Breadcrumb/breadcrumb.scss +27 -18
- package/components/Button/button.css +398 -354
- package/components/Button/button.scss +455 -477
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +54 -51
- package/components/DualListSelector/dual-list-selector.scss +55 -54
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +66 -116
- package/components/Form/form.scss +63 -128
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +378 -355
- package/components/Label/label.scss +431 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +68 -112
- package/components/Login/login.scss +54 -82
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +388 -417
- package/components/Menu/menu.scss +370 -525
- package/components/MenuToggle/menu-toggle.css +223 -276
- package/components/MenuToggle/menu-toggle.scss +322 -390
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +4 -4
- package/components/NotificationBadge/notification-badge.scss +4 -4
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +32 -52
- package/components/SimpleList/simple-list.scss +37 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +31 -47
- package/components/Table/table-grid.scss +42 -55
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +81 -74
- package/components/Table/table-tree-view.scss +53 -39
- package/components/Table/table.css +159 -264
- package/components/Table/table.scss +216 -351
- package/components/Tabs/tabs.css +142 -175
- package/components/Tabs/tabs.scss +158 -218
- package/components/TextInputGroup/text-input-group.css +0 -14
- package/components/TextInputGroup/text-input-group.scss +3 -16
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/Wizard/wizard.css +122 -205
- package/components/Wizard/wizard.scss +121 -181
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1439 -113
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +44 -220
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/DualListSelector/examples/DualListSelector.md +18 -18
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +100 -80
- package/docs/components/Login/examples/Login.md +160 -105
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.css +7 -11
- package/docs/components/Menu/examples/Menu.md +213 -486
- package/docs/components/MenuToggle/examples/MenuToggle.md +253 -224
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +69 -243
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3341
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/components/Wizard/examples/Wizard.md +31 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +116 -35
- package/docs/demos/Alert/examples/Alert.md +366 -99
- package/docs/demos/BackToTop/examples/BackToTop.md +114 -33
- package/docs/demos/Banner/examples/Banner.md +235 -68
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +256 -192
- package/docs/demos/ContextSelector/examples/ContextSelector.md +414 -107
- package/docs/demos/Dashboard/examples/Dashboard.md +114 -33
- package/docs/demos/DataList/examples/DataList.md +1049 -950
- package/docs/demos/DescriptionList/examples/DescriptionList.md +342 -99
- package/docs/demos/Drawer/examples/Drawer.md +700 -271
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +989 -409
- package/docs/demos/Masthead/examples/Masthead.md +833 -357
- package/docs/demos/Modal/examples/Modal.md +717 -222
- package/docs/demos/Nav/examples/Nav.md +763 -926
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +575 -165
- package/docs/demos/Page/examples/Page.md +1050 -309
- package/docs/demos/Page/examples/Penta.md +73 -31
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +20 -16
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1276 -861
- package/docs/demos/Skeleton/examples/Skeleton.md +114 -33
- package/docs/demos/Table/examples/Table.md +4002 -3503
- package/docs/demos/Tabs/examples/Tabs.md +711 -219
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1350 -1480
- package/docs/demos/Wizard/examples/Wizard.md +1134 -315
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +1021 -868
- package/patternfly-base-no-globals.css +1021 -868
- package/patternfly-base-theme-dark-unversioned.css +1027 -873
- package/patternfly-base.css +1027 -873
- package/patternfly-no-globals.css +9048 -8979
- package/patternfly-theme-dark-unversioned.css +9051 -8981
- package/patternfly.css +9051 -8981
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/MenuToggle/themes/dark/menu-toggle.scss +0 -27
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/TextInputGroup/themes/dark/text-input-group.scss +0 -11
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/components/Wizard/themes/dark/wizard.scss +0 -12
- package/docs/components/Avatar/examples/Avatar.css +0 -3
|
@@ -108,7 +108,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
108
108
|
id="basic-available-status-text"
|
|
109
109
|
>0 of 5 items selected</span>
|
|
110
110
|
</div>
|
|
111
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
111
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
112
112
|
<ul
|
|
113
113
|
class="pf-v5-c-dual-list-selector__list"
|
|
114
114
|
role="listbox"
|
|
@@ -325,7 +325,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
325
325
|
id="basic-chosen-status-text"
|
|
326
326
|
>0 of 0 items selected</span>
|
|
327
327
|
</div>
|
|
328
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
328
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
329
329
|
<ul
|
|
330
330
|
class="pf-v5-c-dual-list-selector__list"
|
|
331
331
|
role="listbox"
|
|
@@ -443,7 +443,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
443
443
|
id="available-item-selected-available-status-text"
|
|
444
444
|
>1 of 5 items selected</span>
|
|
445
445
|
</div>
|
|
446
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
446
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
447
447
|
<ul
|
|
448
448
|
class="pf-v5-c-dual-list-selector__list"
|
|
449
449
|
role="listbox"
|
|
@@ -654,7 +654,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
654
654
|
id="available-item-selected-chosen-status-text"
|
|
655
655
|
>0 of 0 items selected</span>
|
|
656
656
|
</div>
|
|
657
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
657
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
658
658
|
<ul
|
|
659
659
|
class="pf-v5-c-dual-list-selector__list"
|
|
660
660
|
role="listbox"
|
|
@@ -772,7 +772,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
772
772
|
id="multiple-available-items-selected-available-status-text"
|
|
773
773
|
>3 of 5 items selected</span>
|
|
774
774
|
</div>
|
|
775
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
775
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
776
776
|
<ul
|
|
777
777
|
class="pf-v5-c-dual-list-selector__list"
|
|
778
778
|
role="listbox"
|
|
@@ -983,7 +983,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
983
983
|
id="multiple-available-items-selected-chosen-status-text"
|
|
984
984
|
>0 of 0 items selected</span>
|
|
985
985
|
</div>
|
|
986
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
986
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
987
987
|
<ul
|
|
988
988
|
class="pf-v5-c-dual-list-selector__list"
|
|
989
989
|
role="listbox"
|
|
@@ -1101,7 +1101,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
1101
1101
|
id="chosen-item-available-status-text"
|
|
1102
1102
|
>0 of 4 items selected</span>
|
|
1103
1103
|
</div>
|
|
1104
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
1104
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
1105
1105
|
<ul
|
|
1106
1106
|
class="pf-v5-c-dual-list-selector__list"
|
|
1107
1107
|
role="listbox"
|
|
@@ -1312,7 +1312,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
1312
1312
|
id="chosen-item-chosen-status-text"
|
|
1313
1313
|
>0 of 1 items selected</span>
|
|
1314
1314
|
</div>
|
|
1315
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
1315
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
1316
1316
|
<ul
|
|
1317
1317
|
class="pf-v5-c-dual-list-selector__list"
|
|
1318
1318
|
role="listbox"
|
|
@@ -1443,7 +1443,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
1443
1443
|
id="chosen-item-selected-available-status-text"
|
|
1444
1444
|
>0 of 4 items selected</span>
|
|
1445
1445
|
</div>
|
|
1446
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
1446
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
1447
1447
|
<ul
|
|
1448
1448
|
class="pf-v5-c-dual-list-selector__list"
|
|
1449
1449
|
role="listbox"
|
|
@@ -1653,7 +1653,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
1653
1653
|
id="chosen-item-selected-chosen-status-text"
|
|
1654
1654
|
>1 of 1 items selected</span>
|
|
1655
1655
|
</div>
|
|
1656
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
1656
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
1657
1657
|
<ul
|
|
1658
1658
|
class="pf-v5-c-dual-list-selector__list"
|
|
1659
1659
|
role="listbox"
|
|
@@ -1784,7 +1784,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
1784
1784
|
id="tree-available-status-text"
|
|
1785
1785
|
>1 of 11 items selected</span>
|
|
1786
1786
|
</div>
|
|
1787
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
1787
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
1788
1788
|
<ul
|
|
1789
1789
|
class="pf-v5-c-dual-list-selector__list"
|
|
1790
1790
|
role="tree"
|
|
@@ -2263,7 +2263,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
2263
2263
|
id="tree-chosen-status-text"
|
|
2264
2264
|
>0 of 0 items selected</span>
|
|
2265
2265
|
</div>
|
|
2266
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
2266
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
2267
2267
|
<ul
|
|
2268
2268
|
class="pf-v5-c-dual-list-selector__list"
|
|
2269
2269
|
role="listbox"
|
|
@@ -2381,7 +2381,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
2381
2381
|
id="tree-options-available-status-text"
|
|
2382
2382
|
>0 of 10 items selected</span>
|
|
2383
2383
|
</div>
|
|
2384
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
2384
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
2385
2385
|
<ul
|
|
2386
2386
|
class="pf-v5-c-dual-list-selector__list"
|
|
2387
2387
|
role="tree"
|
|
@@ -2841,7 +2841,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
2841
2841
|
id="tree-options-chosen-status-text"
|
|
2842
2842
|
>0 of 0 items selected</span>
|
|
2843
2843
|
</div>
|
|
2844
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
2844
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
2845
2845
|
<ul
|
|
2846
2846
|
class="pf-v5-c-dual-list-selector__list"
|
|
2847
2847
|
role="tree"
|
|
@@ -3026,7 +3026,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
3026
3026
|
id="draggable-available-status-text"
|
|
3027
3027
|
>0 of 5 items selected</span>
|
|
3028
3028
|
</div>
|
|
3029
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
3029
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
3030
3030
|
<ul
|
|
3031
3031
|
class="pf-v5-c-dual-list-selector__list"
|
|
3032
3032
|
role="listbox"
|
|
@@ -3214,7 +3214,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
3214
3214
|
id="draggable-chosen-status-text"
|
|
3215
3215
|
>0 of 0 items selected</span>
|
|
3216
3216
|
</div>
|
|
3217
|
-
<div class="pf-v5-c-dual-list-selector__menu">
|
|
3217
|
+
<div class="pf-v5-c-dual-list-selector__menu" tabindex="0">
|
|
3218
3218
|
<ul
|
|
3219
3219
|
class="pf-v5-c-dual-list-selector__list"
|
|
3220
3220
|
role="listbox"
|
|
@@ -3225,7 +3225,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
3225
3225
|
<li class="pf-v5-c-dual-list-selector__list-item" role="option">
|
|
3226
3226
|
<div class="pf-v5-c-dual-list-selector__list-item-row">
|
|
3227
3227
|
<div class="pf-v5-c-dual-list-selector__draggable">
|
|
3228
|
-
<span class="pf-v5-c-button pf-m-
|
|
3228
|
+
<span class="pf-v5-c-button pf-m-plain pf-m-disabled">
|
|
3229
3229
|
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
3230
3230
|
</span>
|
|
3231
3231
|
</div>
|
|
@@ -3265,7 +3265,7 @@ cssPrefix: pf-v5-c-dual-list-selector
|
|
|
3265
3265
|
<li class="pf-v5-c-dual-list-selector__list-item" role="option">
|
|
3266
3266
|
<div class="pf-v5-c-dual-list-selector__list-item-row pf-m-ghost-row">
|
|
3267
3267
|
<div class="pf-v5-c-dual-list-selector__draggable">
|
|
3268
|
-
<span class="pf-v5-c-button pf-m-
|
|
3268
|
+
<span class="pf-v5-c-button pf-m-plain pf-m-disabled">
|
|
3269
3269
|
<i class="fas fa-grip-vertical" aria-hidden="true"></i>
|
|
3270
3270
|
</span>
|
|
3271
3271
|
</div>
|
|
@@ -46,6 +46,9 @@ cssPrefix: pf-v5-c-empty-state
|
|
|
46
46
|
<div class="pf-v5-c-empty-state pf-m-xs">
|
|
47
47
|
<div class="pf-v5-c-empty-state__content">
|
|
48
48
|
<div class="pf-v5-c-empty-state__header">
|
|
49
|
+
<div class="pf-v5-c-empty-state__icon">
|
|
50
|
+
<i class="fas fa-cubes" aria-hidden="true"></i>
|
|
51
|
+
</div>
|
|
49
52
|
<div class="pf-v5-c-empty-state__title">
|
|
50
53
|
<h1 class="pf-v5-c-empty-state__title-text">Empty state</h1>
|
|
51
54
|
</div>
|
|
@@ -53,7 +56,7 @@ cssPrefix: pf-v5-c-empty-state
|
|
|
53
56
|
|
|
54
57
|
<div
|
|
55
58
|
class="pf-v5-c-empty-state__body"
|
|
56
|
-
>This represents an the empty state pattern in PatternFly.
|
|
59
|
+
>This represents an the empty state pattern in PatternFly. The icon is optional.</div>
|
|
57
60
|
|
|
58
61
|
<div class="pf-v5-c-empty-state__footer">
|
|
59
62
|
<div class="pf-v5-c-empty-state__actions">
|
|
@@ -190,6 +193,42 @@ cssPrefix: pf-v5-c-empty-state
|
|
|
190
193
|
|
|
191
194
|
```
|
|
192
195
|
|
|
196
|
+
### With status
|
|
197
|
+
|
|
198
|
+
```html
|
|
199
|
+
<div class="pf-v5-c-empty-state pf-m-success">
|
|
200
|
+
<div class="pf-v5-c-empty-state__content">
|
|
201
|
+
<div class="pf-v5-c-empty-state__header">
|
|
202
|
+
<div class="pf-v5-c-empty-state__icon">
|
|
203
|
+
<i class="fas fa- fa-check-circle" aria-hidden="true"></i>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="pf-v5-c-empty-state__title">
|
|
206
|
+
<h1 class="pf-v5-c-empty-state__title-text">You're all set</h1>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
|
|
210
|
+
<div
|
|
211
|
+
class="pf-v5-c-empty-state__body"
|
|
212
|
+
>This represents an the empty state pattern in PatternFly. Hopefully it's simple enough to use but flexible enough to meet a variety of needs.</div>
|
|
213
|
+
|
|
214
|
+
<div class="pf-v5-c-empty-state__footer">
|
|
215
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
216
|
+
<button class="pf-v5-c-button pf-m-primary" type="button">Primary action</button>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="pf-v5-c-empty-state__actions">
|
|
219
|
+
<button class="pf-v5-c-button pf-m-link" type="button">Multiple</button>
|
|
220
|
+
<button class="pf-v5-c-button pf-m-link" type="button">Action buttons</button>
|
|
221
|
+
<button class="pf-v5-c-button pf-m-link" type="button">Can</button>
|
|
222
|
+
<button class="pf-v5-c-button pf-m-link" type="button">Go here</button>
|
|
223
|
+
<button class="pf-v5-c-button pf-m-link" type="button">In the second</button>
|
|
224
|
+
<button class="pf-v5-c-button pf-m-link" type="button">Action area</button>
|
|
225
|
+
</div>
|
|
226
|
+
</div>
|
|
227
|
+
</div>
|
|
228
|
+
</div>
|
|
229
|
+
|
|
230
|
+
```
|
|
231
|
+
|
|
193
232
|
## Documentation
|
|
194
233
|
|
|
195
234
|
### Accessibility
|
|
@@ -216,3 +255,8 @@ cssPrefix: pf-v5-c-empty-state
|
|
|
216
255
|
| `.pf-m-lg` | `.pf-v5-c-empty-state` | Modifies the empty state for a large max-width. |
|
|
217
256
|
| `.pf-m-xl` | `.pf-v5-c-empty-state` | Modifies the empty state for an extra large variation and max-width. |
|
|
218
257
|
| `.pf-m-full-height` | `.pf-v5-c-empty-state` | Modifies the empty state to be `height: 100%`. If you need the empty state content to be centered vertically, you can use this modifier to make the empty state fill the height of its container, and center `.pf-v5-c-empty-state__content`. **Note:** this modifier requires the parent of `.pf-v5-c-empty-state` have an implicit or explicit `height` defined. |
|
|
258
|
+
| `.pf-m-danger` | `.pf-v5-c-empty-state` | Modifies the empty state for danger status. |
|
|
259
|
+
| `.pf-m-warning` | `.pf-v5-c-empty-state` | Modifies the empty state for warning status. |
|
|
260
|
+
| `.pf-m-success` | `.pf-v5-c-empty-state` | Modifies the empty state for success status. |
|
|
261
|
+
| `.pf-m-info` | `.pf-v5-c-empty-state` | Modifies the empty state for info status. |
|
|
262
|
+
| `.pf-m-custom` | `.pf-v5-c-empty-state` | Modifies the empty state for custom status. |
|
|
@@ -47,6 +47,27 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
47
47
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
### Indented
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<div class="pf-v5-c-expandable-section pf-m-expanded pf-m-indented">
|
|
54
|
+
<button
|
|
55
|
+
type="button"
|
|
56
|
+
class="pf-v5-c-expandable-section__toggle"
|
|
57
|
+
aria-expanded="true"
|
|
58
|
+
>
|
|
59
|
+
<span class="pf-v5-c-expandable-section__toggle-icon">
|
|
60
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
61
|
+
</span>
|
|
62
|
+
<span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
|
|
63
|
+
</button>
|
|
64
|
+
<div
|
|
65
|
+
class="pf-v5-c-expandable-section__content"
|
|
66
|
+
>This content is visible only when the component is expanded.</div>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
|
|
50
71
|
### Disclosure variation (hidden)
|
|
51
72
|
|
|
52
73
|
```html
|
|
@@ -92,12 +113,35 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
92
113
|
|
|
93
114
|
```
|
|
94
115
|
|
|
95
|
-
###
|
|
116
|
+
### Disclosure variation (indented)
|
|
117
|
+
|
|
118
|
+
```html
|
|
119
|
+
<div
|
|
120
|
+
class="pf-v5-c-expandable-section pf-m-expanded pf-m-display-lg pf-m-limit-width pf-m-indented"
|
|
121
|
+
>
|
|
122
|
+
<button
|
|
123
|
+
type="button"
|
|
124
|
+
class="pf-v5-c-expandable-section__toggle"
|
|
125
|
+
aria-expanded="true"
|
|
126
|
+
>
|
|
127
|
+
<span class="pf-v5-c-expandable-section__toggle-icon">
|
|
128
|
+
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
129
|
+
</span>
|
|
130
|
+
<span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
|
|
131
|
+
</button>
|
|
132
|
+
<div
|
|
133
|
+
class="pf-v5-c-expandable-section__content"
|
|
134
|
+
>This content is visible only when the component is expanded.</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Detached
|
|
96
140
|
|
|
97
141
|
```html
|
|
98
142
|
<div class="pf-v5-l-stack pf-m-gutter">
|
|
99
143
|
<div class="pf-v5-l-stack__item">
|
|
100
|
-
<div class="pf-v5-c-expandable-section pf-m-expanded
|
|
144
|
+
<div class="pf-v5-c-expandable-section pf-m-expanded">
|
|
101
145
|
<div
|
|
102
146
|
class="pf-v5-c-expandable-section__content"
|
|
103
147
|
id="detached-toggle-content"
|
|
@@ -106,7 +150,7 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
106
150
|
</div>
|
|
107
151
|
|
|
108
152
|
<div class="pf-v5-l-stack__item">
|
|
109
|
-
<div class="pf-v5-c-expandable-section pf-m-expanded
|
|
153
|
+
<div class="pf-v5-c-expandable-section pf-m-expanded">
|
|
110
154
|
<button
|
|
111
155
|
type="button"
|
|
112
156
|
class="pf-v5-c-expandable-section__toggle"
|
|
@@ -124,28 +168,7 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
124
168
|
|
|
125
169
|
```
|
|
126
170
|
|
|
127
|
-
###
|
|
128
|
-
|
|
129
|
-
```html
|
|
130
|
-
<div class="pf-v5-c-expandable-section pf-m-expanded pf-m-indented">
|
|
131
|
-
<button
|
|
132
|
-
type="button"
|
|
133
|
-
class="pf-v5-c-expandable-section__toggle"
|
|
134
|
-
aria-expanded="true"
|
|
135
|
-
>
|
|
136
|
-
<span class="pf-v5-c-expandable-section__toggle-icon">
|
|
137
|
-
<i class="fas fa-angle-right" aria-hidden="true"></i>
|
|
138
|
-
</span>
|
|
139
|
-
<span class="pf-v5-c-expandable-section__toggle-text">Show less</span>
|
|
140
|
-
</button>
|
|
141
|
-
<div
|
|
142
|
-
class="pf-v5-c-expandable-section__content"
|
|
143
|
-
>This content is visible only when the component is expanded.</div>
|
|
144
|
-
</div>
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### Truncate expansion
|
|
171
|
+
### Truncate expansion (hidden)
|
|
149
172
|
|
|
150
173
|
```html
|
|
151
174
|
<div class="pf-v5-c-expandable-section pf-m-truncate">
|
|
@@ -163,7 +186,7 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
163
186
|
|
|
164
187
|
```
|
|
165
188
|
|
|
166
|
-
### Truncate expansion expanded
|
|
189
|
+
### Truncate expansion (expanded)
|
|
167
190
|
|
|
168
191
|
```html
|
|
169
192
|
<div class="pf-v5-c-expandable-section pf-m-expanded pf-m-truncate">
|
|
@@ -205,9 +228,7 @@ cssPrefix: pf-v5-c-expandable-section
|
|
|
205
228
|
| `.pf-v5-c-expandable-section__content` | `<div>` | Initiates the expandable section content. **Required** |
|
|
206
229
|
| `.pf-m-expanded` | `.pf-v5-c-expandable-section` | Modifies the component for the expanded state. |
|
|
207
230
|
| `.pf-m-display-lg` | `.pf-v5-c-expandable-section` | Modifies the styling of the component to have large display styling. |
|
|
208
|
-
| `.pf-m-detached` | `.pf-v5-c-expandable-section` | Indicates that the expandable section toggle and content are detached from one another, so you can move them around independently in the markup. |
|
|
209
231
|
| `.pf-m-indented` | `.pf-v5-c-expandable-section` | Indicates that the expandable section content is indented and is aligned with the start of the title text to provide visual hierarchy. |
|
|
210
232
|
| `.pf-m-truncate` | `.pf-v5-c-expandable-section` | Indicates that the expandable section content is truncated by default, and not truncated when expanded. |
|
|
211
|
-
| `.pf-m-active` | `.pf-v5-c-expandable-section__toggle` | Forces display of the active state of the toggle. |
|
|
212
233
|
| `.pf-m-expand-top` | `.pf-v5-c-expandable-section__toggle-icon` | Modifies the toggle icon to point up when expanded. |
|
|
213
234
|
| `--pf-v5-c-expandable-section--m-truncate__content--LineClamp` | `.pf-v5-c-expandable-section.pf-m-truncate` | Modifies the number of lines to show before truncating. |
|
|
@@ -48,6 +48,57 @@ cssPrefix: pf-v5-c-file-upload
|
|
|
48
48
|
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
+
### With helper text
|
|
52
|
+
|
|
53
|
+
```html
|
|
54
|
+
<div class="pf-v5-c-file-upload">
|
|
55
|
+
<div class="pf-v5-c-file-upload__file-select">
|
|
56
|
+
<div class="pf-v5-c-input-group">
|
|
57
|
+
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
58
|
+
<span class="pf-v5-c-form-control pf-m-readonly">
|
|
59
|
+
<input
|
|
60
|
+
readonly
|
|
61
|
+
id="file-upload-helper-text-text-input"
|
|
62
|
+
name="file-upload-helper-text-text-input"
|
|
63
|
+
aria-label="Drag and drop a file or upload one"
|
|
64
|
+
placeholder="Drag and drop a file or upload one"
|
|
65
|
+
aria-describedby="file-upload-helper-text-browse"
|
|
66
|
+
/>
|
|
67
|
+
</span>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="pf-v5-c-input-group__item">
|
|
70
|
+
<button
|
|
71
|
+
class="pf-v5-c-button pf-m-control"
|
|
72
|
+
type="button"
|
|
73
|
+
id="file-upload-helper-text-browse"
|
|
74
|
+
aria-describedby="helper-text-example"
|
|
75
|
+
>Upload</button>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="pf-v5-c-input-group__item">
|
|
78
|
+
<button class="pf-v5-c-button pf-m-control" type="button" disabled>Clear</button>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="pf-v5-c-file-upload__file-details">
|
|
83
|
+
<span class="pf-v5-c-form-control pf-m-resize-vertical">
|
|
84
|
+
<textarea
|
|
85
|
+
id="file-upload-helper-text-file-details"
|
|
86
|
+
name="file-upload-helper-text-file-details"
|
|
87
|
+
aria-label="Uploaded file content"
|
|
88
|
+
></textarea>
|
|
89
|
+
</span>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="pf-v5-c-file-upload__helper-text">
|
|
92
|
+
<div class="pf-v5-c-helper-text">
|
|
93
|
+
<div class="pf-v5-c-helper-text__item" id="helper-text-example">
|
|
94
|
+
<span class="pf-v5-c-helper-text__item-text">Upload a CSV file</span>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
|
|
51
102
|
### Upload complete non editable
|
|
52
103
|
|
|
53
104
|
```html
|
|
@@ -187,63 +238,70 @@ cssPrefix: pf-v5-c-file-upload
|
|
|
187
238
|
```html
|
|
188
239
|
<form class="pf-v5-c-form" novalidate>
|
|
189
240
|
<div class="pf-v5-c-form__group">
|
|
190
|
-
<div class="pf-v5-c-
|
|
191
|
-
<div class="pf-v5-c-file-
|
|
192
|
-
<div class="pf-v5-c-
|
|
193
|
-
<div class="pf-v5-c-input-
|
|
194
|
-
<
|
|
195
|
-
<
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
<
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
241
|
+
<div class="pf-v5-c-form__group-control">
|
|
242
|
+
<div class="pf-v5-c-file-upload">
|
|
243
|
+
<div class="pf-v5-c-file-upload__file-select">
|
|
244
|
+
<div class="pf-v5-c-input-group">
|
|
245
|
+
<div class="pf-v5-c-input-group__item pf-m-fill">
|
|
246
|
+
<span class="pf-v5-c-form-control pf-m-readonly">
|
|
247
|
+
<input
|
|
248
|
+
readonly
|
|
249
|
+
id="file-upload-error-text-input"
|
|
250
|
+
name="file-upload-error-text-input"
|
|
251
|
+
aria-label="File upload error"
|
|
252
|
+
value="Sample.png"
|
|
253
|
+
aria-describedby="file-upload-error-browse"
|
|
254
|
+
/>
|
|
255
|
+
</span>
|
|
256
|
+
</div>
|
|
257
|
+
<div class="pf-v5-c-input-group__item">
|
|
258
|
+
<button
|
|
259
|
+
class="pf-v5-c-button pf-m-control"
|
|
260
|
+
type="button"
|
|
261
|
+
id="file-upload-error-browse"
|
|
262
|
+
aria-describedby="with-error-example-helper-text"
|
|
263
|
+
>Upload</button>
|
|
264
|
+
</div>
|
|
265
|
+
<div class="pf-v5-c-input-group__item">
|
|
266
|
+
<button class="pf-v5-c-button pf-m-control" type="button">Clear</button>
|
|
267
|
+
</div>
|
|
214
268
|
</div>
|
|
215
269
|
</div>
|
|
216
|
-
</div>
|
|
217
|
-
<div
|
|
218
|
-
class="pf-v5-c-file-upload__file-details"
|
|
219
|
-
aria-describedby="textAreaHelperText1"
|
|
220
|
-
aria-invalid="true"
|
|
221
|
-
>
|
|
222
|
-
<span class="pf-v5-c-form-control pf-m-error pf-m-resize-vertical">
|
|
223
|
-
<textarea
|
|
224
|
-
id="file-upload-error-file-details"
|
|
225
|
-
name="file-upload-error-file-details"
|
|
226
|
-
aria-label="Empty text area"
|
|
227
|
-
aria-describedby="textAreaHelperText1"
|
|
228
|
-
aria-invalid="true"
|
|
229
|
-
></textarea>
|
|
230
|
-
<span class="pf-v5-c-form-control__utilities">
|
|
231
|
-
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
232
|
-
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
233
|
-
</span>
|
|
234
|
-
</span>
|
|
235
|
-
</span>
|
|
236
|
-
</div>
|
|
237
|
-
</div>
|
|
238
|
-
<div class="pf-v5-c-form__helper-text" aria-live="polite">
|
|
239
|
-
<div class="pf-v5-c-helper-text">
|
|
240
270
|
<div
|
|
241
|
-
class="pf-v5-c-
|
|
242
|
-
|
|
271
|
+
class="pf-v5-c-file-upload__file-details"
|
|
272
|
+
aria-describedby="with-error-example-helper-text"
|
|
273
|
+
aria-invalid="true"
|
|
243
274
|
>
|
|
244
|
-
<span
|
|
245
|
-
|
|
246
|
-
|
|
275
|
+
<span class="pf-v5-c-form-control pf-m-error pf-m-resize-vertical">
|
|
276
|
+
<textarea
|
|
277
|
+
id="file-upload-error-file-details"
|
|
278
|
+
name="file-upload-error-file-details"
|
|
279
|
+
aria-label="Empty text area"
|
|
280
|
+
aria-describedby="with-error-example-helper-text"
|
|
281
|
+
aria-invalid="true"
|
|
282
|
+
></textarea>
|
|
283
|
+
<span class="pf-v5-c-form-control__utilities">
|
|
284
|
+
<span class="pf-v5-c-form-control__icon pf-m-status">
|
|
285
|
+
<i class="fas fa-exclamation-circle" aria-hidden="true"></i>
|
|
286
|
+
</span>
|
|
287
|
+
</span>
|
|
288
|
+
</span>
|
|
289
|
+
</div>
|
|
290
|
+
|
|
291
|
+
<div class="pf-v5-c-file-upload__helper-text">
|
|
292
|
+
<div class="pf-v5-c-helper-text">
|
|
293
|
+
<div
|
|
294
|
+
class="pf-v5-c-helper-text__item pf-m-error"
|
|
295
|
+
id="with-error-example-helper-text"
|
|
296
|
+
>
|
|
297
|
+
<span class="pf-v5-c-helper-text__item-icon">
|
|
298
|
+
<i class="fas fa-fw fa-exclamation-circle" aria-hidden="true"></i>
|
|
299
|
+
</span>
|
|
300
|
+
<span
|
|
301
|
+
class="pf-v5-c-helper-text__item-text"
|
|
302
|
+
>Must be a CSV file no larger than 1 KB</span>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
247
305
|
</div>
|
|
248
306
|
</div>
|
|
249
307
|
</div>
|
|
@@ -327,5 +385,6 @@ cssPrefix: pf-v5-c-file-upload
|
|
|
327
385
|
| `.pf-v5-c-file-upload__file-select` | `<div>` | Initiates the file select element. **Required** |
|
|
328
386
|
| `.pf-v5-c-file-upload__file-details` | `<div>` | Initiates the file details element. **Required** |
|
|
329
387
|
| `.pf-v5-c-file-upload__file-details-spinner` | `<div>` | Initiates the file details element. **Required** |
|
|
388
|
+
| `.pf-v5-c-file-upload__helper-text` | `<div>` | Initiates a container for [helper text](/components/helper-text) |
|
|
330
389
|
| `.pf-m-drag-hover` | `.pf-v5-c-file-upload` | Modifies file upload for when an element is dragged or dropped inside of its container. |
|
|
331
390
|
| `.pf-m-loading` | `.pf-v5-c-file-upload` | Modifies file upload for the loading state. |
|