@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.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/README.md +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,846 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
id: Chip
|
|
3
|
-
section: components
|
|
4
|
-
cssPrefix: ['pf-v6-c-chip', 'pf-v6-c-chip-group']
|
|
5
|
-
---## Examples
|
|
6
|
-
|
|
7
|
-
### Chip variants
|
|
8
|
-
|
|
9
|
-
```html
|
|
10
|
-
<div class="pf-v6-c-chip">
|
|
11
|
-
<span class="pf-v6-c-chip__content">
|
|
12
|
-
<span class="pf-v6-c-chip__text" id="chip_one">Chip</span>
|
|
13
|
-
</span>
|
|
14
|
-
<span class="pf-v6-c-chip__actions">
|
|
15
|
-
<button
|
|
16
|
-
class="pf-v6-c-button pf-m-plain"
|
|
17
|
-
type="button"
|
|
18
|
-
aria-labelledby="remove_chip_one chip_one"
|
|
19
|
-
aria-label="Remove"
|
|
20
|
-
id="remove_chip_one"
|
|
21
|
-
>
|
|
22
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
23
|
-
</button>
|
|
24
|
-
</span>
|
|
25
|
-
</div>
|
|
26
|
-
<br />
|
|
27
|
-
<br />
|
|
28
|
-
<div class="pf-v6-c-chip">
|
|
29
|
-
<span class="pf-v6-c-chip__content">
|
|
30
|
-
<span
|
|
31
|
-
class="pf-v6-c-chip__text"
|
|
32
|
-
id="chip_two"
|
|
33
|
-
>Really long chip that goes on and on</span>
|
|
34
|
-
</span>
|
|
35
|
-
<span class="pf-v6-c-chip__actions">
|
|
36
|
-
<button
|
|
37
|
-
class="pf-v6-c-button pf-m-plain"
|
|
38
|
-
type="button"
|
|
39
|
-
aria-labelledby="remove_chip_two chip_two"
|
|
40
|
-
aria-label="Remove"
|
|
41
|
-
id="remove_chip_two"
|
|
42
|
-
>
|
|
43
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
44
|
-
</button>
|
|
45
|
-
</span>
|
|
46
|
-
</div>
|
|
47
|
-
<br />
|
|
48
|
-
<br />
|
|
49
|
-
<div class="pf-v6-c-chip">
|
|
50
|
-
<span class="pf-v6-c-chip__content">
|
|
51
|
-
<span class="pf-v6-c-chip__text" id="chip_three">Chip</span>
|
|
52
|
-
<span class="pf-v6-c-badge pf-m-read">00</span>
|
|
53
|
-
</span>
|
|
54
|
-
<span class="pf-v6-c-chip__actions">
|
|
55
|
-
<button
|
|
56
|
-
class="pf-v6-c-button pf-m-plain"
|
|
57
|
-
type="button"
|
|
58
|
-
aria-labelledby="remove_chip_three chip_three"
|
|
59
|
-
aria-label="Remove"
|
|
60
|
-
id="remove_chip_three"
|
|
61
|
-
>
|
|
62
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
63
|
-
</button>
|
|
64
|
-
</span>
|
|
65
|
-
</div>
|
|
66
|
-
<br />
|
|
67
|
-
<br />
|
|
68
|
-
<div class="pf-v6-c-chip">
|
|
69
|
-
<span class="pf-v6-c-chip__content">
|
|
70
|
-
<span class="pf-v6-c-chip__text">Read-only chip</span>
|
|
71
|
-
</span>
|
|
72
|
-
</div>
|
|
73
|
-
<br />
|
|
74
|
-
<br />
|
|
75
|
-
<button class="pf-v6-c-chip pf-m-overflow">
|
|
76
|
-
<span class="pf-v6-c-chip__content">
|
|
77
|
-
<span class="pf-v6-c-chip__text">Overflow chip</span>
|
|
78
|
-
</span>
|
|
79
|
-
</button>
|
|
80
|
-
<br />
|
|
81
|
-
<br />
|
|
82
|
-
<div class="pf-v6-c-chip pf-m-draggable">
|
|
83
|
-
<span class="pf-v6-c-chip__content">
|
|
84
|
-
<span class="pf-v6-c-chip__icon">
|
|
85
|
-
<i class="fas fa-grip-vertical" role="img" aria-label="Drag"></i>
|
|
86
|
-
</span>
|
|
87
|
-
<span class="pf-v6-c-chip__text">Draggable chip</span>
|
|
88
|
-
</span>
|
|
89
|
-
</div>
|
|
90
|
-
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
### Simple inline chip group with overflow
|
|
94
|
-
|
|
95
|
-
```html
|
|
96
|
-
<div
|
|
97
|
-
class="pf-v6-c-chip-group"
|
|
98
|
-
role="group"
|
|
99
|
-
aria-label="simple inline chip group with overflow"
|
|
100
|
-
>
|
|
101
|
-
<div class="pf-v6-c-chip-group__main">
|
|
102
|
-
<ul
|
|
103
|
-
class="pf-v6-c-chip-group__list"
|
|
104
|
-
role="list"
|
|
105
|
-
aria-label="Chip group list"
|
|
106
|
-
>
|
|
107
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
108
|
-
<div class="pf-v6-c-chip">
|
|
109
|
-
<span class="pf-v6-c-chip__content">
|
|
110
|
-
<span
|
|
111
|
-
class="pf-v6-c-chip__text"
|
|
112
|
-
id="simple-inline-chip-group-overflowchip_one_select_collapsed"
|
|
113
|
-
>Chip one</span>
|
|
114
|
-
</span>
|
|
115
|
-
<span class="pf-v6-c-chip__actions">
|
|
116
|
-
<button
|
|
117
|
-
class="pf-v6-c-button pf-m-plain"
|
|
118
|
-
type="button"
|
|
119
|
-
aria-labelledby="simple-inline-chip-group-overflowremove_chip_one_select_collapsed simple-inline-chip-group-overflowchip_one_select_collapsed"
|
|
120
|
-
aria-label="Remove"
|
|
121
|
-
id="simple-inline-chip-group-overflowremove_chip_one_select_collapsed"
|
|
122
|
-
>
|
|
123
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
124
|
-
</button>
|
|
125
|
-
</span>
|
|
126
|
-
</div>
|
|
127
|
-
</li>
|
|
128
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
129
|
-
<div class="pf-v6-c-chip">
|
|
130
|
-
<span class="pf-v6-c-chip__content">
|
|
131
|
-
<span
|
|
132
|
-
class="pf-v6-c-chip__text"
|
|
133
|
-
id="simple-inline-chip-group-overflowchip_two_select_collapsed"
|
|
134
|
-
>Chip two</span>
|
|
135
|
-
</span>
|
|
136
|
-
<span class="pf-v6-c-chip__actions">
|
|
137
|
-
<button
|
|
138
|
-
class="pf-v6-c-button pf-m-plain"
|
|
139
|
-
type="button"
|
|
140
|
-
aria-labelledby="simple-inline-chip-group-overflowremove_chip_two_select_collapsed simple-inline-chip-group-overflowchip_two_select_collapsed"
|
|
141
|
-
aria-label="Remove"
|
|
142
|
-
id="simple-inline-chip-group-overflowremove_chip_two_select_collapsed"
|
|
143
|
-
>
|
|
144
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
145
|
-
</button>
|
|
146
|
-
</span>
|
|
147
|
-
</div>
|
|
148
|
-
</li>
|
|
149
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
150
|
-
<div class="pf-v6-c-chip">
|
|
151
|
-
<span class="pf-v6-c-chip__content">
|
|
152
|
-
<span
|
|
153
|
-
class="pf-v6-c-chip__text"
|
|
154
|
-
id="simple-inline-chip-group-overflowchip_three_select_collapsed"
|
|
155
|
-
>Chip three</span>
|
|
156
|
-
</span>
|
|
157
|
-
<span class="pf-v6-c-chip__actions">
|
|
158
|
-
<button
|
|
159
|
-
class="pf-v6-c-button pf-m-plain"
|
|
160
|
-
type="button"
|
|
161
|
-
aria-labelledby="simple-inline-chip-group-overflowremove_chip_three_select_collapsed simple-inline-chip-group-overflowchip_three_select_collapsed"
|
|
162
|
-
aria-label="Remove"
|
|
163
|
-
id="simple-inline-chip-group-overflowremove_chip_three_select_collapsed"
|
|
164
|
-
>
|
|
165
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
166
|
-
</button>
|
|
167
|
-
</span>
|
|
168
|
-
</div>
|
|
169
|
-
</li>
|
|
170
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
171
|
-
<button class="pf-v6-c-chip pf-m-overflow">
|
|
172
|
-
<span class="pf-v6-c-chip__content">
|
|
173
|
-
<span class="pf-v6-c-chip__text">2 more</span>
|
|
174
|
-
</span>
|
|
175
|
-
</button>
|
|
176
|
-
</li>
|
|
177
|
-
</ul>
|
|
178
|
-
</div>
|
|
179
|
-
</div>
|
|
180
|
-
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
### Simple inline chip group expanded
|
|
184
|
-
|
|
185
|
-
```html
|
|
186
|
-
<div
|
|
187
|
-
class="pf-v6-c-chip-group"
|
|
188
|
-
role="group"
|
|
189
|
-
aria-label="simple inline chip group expanded"
|
|
190
|
-
>
|
|
191
|
-
<div class="pf-v6-c-chip-group__main">
|
|
192
|
-
<ul
|
|
193
|
-
class="pf-v6-c-chip-group__list"
|
|
194
|
-
role="list"
|
|
195
|
-
aria-label="Chip group list"
|
|
196
|
-
>
|
|
197
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
198
|
-
<div class="pf-v6-c-chip">
|
|
199
|
-
<span class="pf-v6-c-chip__content">
|
|
200
|
-
<span
|
|
201
|
-
class="pf-v6-c-chip__text"
|
|
202
|
-
id="simple-inline-chip-group-expandedchip_one_select"
|
|
203
|
-
>Chip one</span>
|
|
204
|
-
</span>
|
|
205
|
-
<span class="pf-v6-c-chip__actions">
|
|
206
|
-
<button
|
|
207
|
-
class="pf-v6-c-button pf-m-plain"
|
|
208
|
-
type="button"
|
|
209
|
-
aria-labelledby="simple-inline-chip-group-expandedremove_chip_one_select simple-inline-chip-group-expandedchip_one_select"
|
|
210
|
-
aria-label="Remove"
|
|
211
|
-
id="simple-inline-chip-group-expandedremove_chip_one_select"
|
|
212
|
-
>
|
|
213
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
214
|
-
</button>
|
|
215
|
-
</span>
|
|
216
|
-
</div>
|
|
217
|
-
</li>
|
|
218
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
219
|
-
<div class="pf-v6-c-chip">
|
|
220
|
-
<span class="pf-v6-c-chip__content">
|
|
221
|
-
<span
|
|
222
|
-
class="pf-v6-c-chip__text"
|
|
223
|
-
id="simple-inline-chip-group-expandedchip_two_select"
|
|
224
|
-
>Chip two</span>
|
|
225
|
-
</span>
|
|
226
|
-
<span class="pf-v6-c-chip__actions">
|
|
227
|
-
<button
|
|
228
|
-
class="pf-v6-c-button pf-m-plain"
|
|
229
|
-
type="button"
|
|
230
|
-
aria-labelledby="simple-inline-chip-group-expandedremove_chip_two_select simple-inline-chip-group-expandedchip_two_select"
|
|
231
|
-
aria-label="Remove"
|
|
232
|
-
id="simple-inline-chip-group-expandedremove_chip_two_select"
|
|
233
|
-
>
|
|
234
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
235
|
-
</button>
|
|
236
|
-
</span>
|
|
237
|
-
</div>
|
|
238
|
-
</li>
|
|
239
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
240
|
-
<div class="pf-v6-c-chip">
|
|
241
|
-
<span class="pf-v6-c-chip__content">
|
|
242
|
-
<span
|
|
243
|
-
class="pf-v6-c-chip__text"
|
|
244
|
-
id="simple-inline-chip-group-expandedchip_three_select"
|
|
245
|
-
>Chip three</span>
|
|
246
|
-
</span>
|
|
247
|
-
<span class="pf-v6-c-chip__actions">
|
|
248
|
-
<button
|
|
249
|
-
class="pf-v6-c-button pf-m-plain"
|
|
250
|
-
type="button"
|
|
251
|
-
aria-labelledby="simple-inline-chip-group-expandedremove_chip_three_select simple-inline-chip-group-expandedchip_three_select"
|
|
252
|
-
aria-label="Remove"
|
|
253
|
-
id="simple-inline-chip-group-expandedremove_chip_three_select"
|
|
254
|
-
>
|
|
255
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
256
|
-
</button>
|
|
257
|
-
</span>
|
|
258
|
-
</div>
|
|
259
|
-
</li>
|
|
260
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
261
|
-
<div class="pf-v6-c-chip">
|
|
262
|
-
<span class="pf-v6-c-chip__content">
|
|
263
|
-
<span
|
|
264
|
-
class="pf-v6-c-chip__text"
|
|
265
|
-
id="simple-inline-chip-group-expandedchip_four_select"
|
|
266
|
-
>Chip four</span>
|
|
267
|
-
</span>
|
|
268
|
-
<span class="pf-v6-c-chip__actions">
|
|
269
|
-
<button
|
|
270
|
-
class="pf-v6-c-button pf-m-plain"
|
|
271
|
-
type="button"
|
|
272
|
-
aria-labelledby="simple-inline-chip-group-expandedremove_chip_four_select simple-inline-chip-group-expandedchip_four_select"
|
|
273
|
-
aria-label="Remove"
|
|
274
|
-
id="simple-inline-chip-group-expandedremove_chip_four_select"
|
|
275
|
-
>
|
|
276
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
277
|
-
</button>
|
|
278
|
-
</span>
|
|
279
|
-
</div>
|
|
280
|
-
</li>
|
|
281
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
282
|
-
<div class="pf-v6-c-chip">
|
|
283
|
-
<span class="pf-v6-c-chip__content">
|
|
284
|
-
<span
|
|
285
|
-
class="pf-v6-c-chip__text"
|
|
286
|
-
id="simple-inline-chip-group-expandedchip_five_select"
|
|
287
|
-
>Chip five</span>
|
|
288
|
-
</span>
|
|
289
|
-
<span class="pf-v6-c-chip__actions">
|
|
290
|
-
<button
|
|
291
|
-
class="pf-v6-c-button pf-m-plain"
|
|
292
|
-
type="button"
|
|
293
|
-
aria-labelledby="simple-inline-chip-group-expandedremove_chip_five_select simple-inline-chip-group-expandedchip_five_select"
|
|
294
|
-
aria-label="Remove"
|
|
295
|
-
id="simple-inline-chip-group-expandedremove_chip_five_select"
|
|
296
|
-
>
|
|
297
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
298
|
-
</button>
|
|
299
|
-
</span>
|
|
300
|
-
</div>
|
|
301
|
-
</li>
|
|
302
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
303
|
-
<button class="pf-v6-c-chip pf-m-overflow">
|
|
304
|
-
<span class="pf-v6-c-chip__content">
|
|
305
|
-
<span class="pf-v6-c-chip__text">Show less</span>
|
|
306
|
-
</span>
|
|
307
|
-
</button>
|
|
308
|
-
</li>
|
|
309
|
-
</ul>
|
|
310
|
-
</div>
|
|
311
|
-
</div>
|
|
312
|
-
|
|
313
|
-
```
|
|
314
|
-
|
|
315
|
-
### Chip group with categories
|
|
316
|
-
|
|
317
|
-
```html
|
|
318
|
-
<div
|
|
319
|
-
class="pf-v6-c-chip-group pf-m-category"
|
|
320
|
-
role="group"
|
|
321
|
-
aria-labelledby="chip-group-with-categories-label"
|
|
322
|
-
>
|
|
323
|
-
<div class="pf-v6-c-chip-group__main">
|
|
324
|
-
<span
|
|
325
|
-
class="pf-v6-c-chip-group__label"
|
|
326
|
-
id="chip-group-with-categories-label"
|
|
327
|
-
>Category one</span>
|
|
328
|
-
<ul
|
|
329
|
-
class="pf-v6-c-chip-group__list"
|
|
330
|
-
role="list"
|
|
331
|
-
aria-labelledby="chip-group-with-categories-label"
|
|
332
|
-
>
|
|
333
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
334
|
-
<div class="pf-v6-c-chip">
|
|
335
|
-
<span class="pf-v6-c-chip__content">
|
|
336
|
-
<span
|
|
337
|
-
class="pf-v6-c-chip__text"
|
|
338
|
-
id="chip-group-with-categorieschip_one_toolbar_collapsed"
|
|
339
|
-
>Chip one</span>
|
|
340
|
-
</span>
|
|
341
|
-
<span class="pf-v6-c-chip__actions">
|
|
342
|
-
<button
|
|
343
|
-
class="pf-v6-c-button pf-m-plain"
|
|
344
|
-
type="button"
|
|
345
|
-
aria-labelledby="chip-group-with-categoriesremove_chip_one_toolbar_collapsed chip-group-with-categorieschip_one_toolbar_collapsed"
|
|
346
|
-
aria-label="Remove"
|
|
347
|
-
id="chip-group-with-categoriesremove_chip_one_toolbar_collapsed"
|
|
348
|
-
>
|
|
349
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
350
|
-
</button>
|
|
351
|
-
</span>
|
|
352
|
-
</div>
|
|
353
|
-
</li>
|
|
354
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
355
|
-
<div class="pf-v6-c-chip">
|
|
356
|
-
<span class="pf-v6-c-chip__content">
|
|
357
|
-
<span
|
|
358
|
-
class="pf-v6-c-chip__text"
|
|
359
|
-
id="chip-group-with-categorieschip_two_toolbar_collapsed"
|
|
360
|
-
>Chip two</span>
|
|
361
|
-
</span>
|
|
362
|
-
<span class="pf-v6-c-chip__actions">
|
|
363
|
-
<button
|
|
364
|
-
class="pf-v6-c-button pf-m-plain"
|
|
365
|
-
type="button"
|
|
366
|
-
aria-labelledby="chip-group-with-categoriesremove_chip_two_toolbar_collapsed chip-group-with-categorieschip_two_toolbar_collapsed"
|
|
367
|
-
aria-label="Remove"
|
|
368
|
-
id="chip-group-with-categoriesremove_chip_two_toolbar_collapsed"
|
|
369
|
-
>
|
|
370
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
371
|
-
</button>
|
|
372
|
-
</span>
|
|
373
|
-
</div>
|
|
374
|
-
</li>
|
|
375
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
376
|
-
<div class="pf-v6-c-chip">
|
|
377
|
-
<span class="pf-v6-c-chip__content">
|
|
378
|
-
<span
|
|
379
|
-
class="pf-v6-c-chip__text"
|
|
380
|
-
id="chip-group-with-categorieschip_three_toolbar_collapsed"
|
|
381
|
-
>Chip three</span>
|
|
382
|
-
</span>
|
|
383
|
-
<span class="pf-v6-c-chip__actions">
|
|
384
|
-
<button
|
|
385
|
-
class="pf-v6-c-button pf-m-plain"
|
|
386
|
-
type="button"
|
|
387
|
-
aria-labelledby="chip-group-with-categoriesremove_chip_three_toolbar_collapsed chip-group-with-categorieschip_three_toolbar_collapsed"
|
|
388
|
-
aria-label="Remove"
|
|
389
|
-
id="chip-group-with-categoriesremove_chip_three_toolbar_collapsed"
|
|
390
|
-
>
|
|
391
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
392
|
-
</button>
|
|
393
|
-
</span>
|
|
394
|
-
</div>
|
|
395
|
-
</li>
|
|
396
|
-
</ul>
|
|
397
|
-
</div>
|
|
398
|
-
</div>
|
|
399
|
-
|
|
400
|
-
```
|
|
401
|
-
|
|
402
|
-
### Chip group with categories and overflow
|
|
403
|
-
|
|
404
|
-
```html
|
|
405
|
-
<div
|
|
406
|
-
class="pf-v6-c-chip-group pf-m-category"
|
|
407
|
-
role="group"
|
|
408
|
-
aria-labelledby="chip-group-with-categories-overflow-label"
|
|
409
|
-
>
|
|
410
|
-
<div class="pf-v6-c-chip-group__main">
|
|
411
|
-
<span
|
|
412
|
-
class="pf-v6-c-chip-group__label"
|
|
413
|
-
id="chip-group-with-categories-overflow-label"
|
|
414
|
-
>Category one</span>
|
|
415
|
-
<ul
|
|
416
|
-
class="pf-v6-c-chip-group__list"
|
|
417
|
-
role="list"
|
|
418
|
-
aria-labelledby="chip-group-with-categories-overflow-label"
|
|
419
|
-
>
|
|
420
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
421
|
-
<div class="pf-v6-c-chip">
|
|
422
|
-
<span class="pf-v6-c-chip__content">
|
|
423
|
-
<span
|
|
424
|
-
class="pf-v6-c-chip__text"
|
|
425
|
-
id="chip-group-with-categories-overflowchip_one_toolbar_collapsed"
|
|
426
|
-
>Chip one</span>
|
|
427
|
-
</span>
|
|
428
|
-
<span class="pf-v6-c-chip__actions">
|
|
429
|
-
<button
|
|
430
|
-
class="pf-v6-c-button pf-m-plain"
|
|
431
|
-
type="button"
|
|
432
|
-
aria-labelledby="chip-group-with-categories-overflowremove_chip_one_toolbar_collapsed chip-group-with-categories-overflowchip_one_toolbar_collapsed"
|
|
433
|
-
aria-label="Remove"
|
|
434
|
-
id="chip-group-with-categories-overflowremove_chip_one_toolbar_collapsed"
|
|
435
|
-
>
|
|
436
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
437
|
-
</button>
|
|
438
|
-
</span>
|
|
439
|
-
</div>
|
|
440
|
-
</li>
|
|
441
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
442
|
-
<div class="pf-v6-c-chip">
|
|
443
|
-
<span class="pf-v6-c-chip__content">
|
|
444
|
-
<span
|
|
445
|
-
class="pf-v6-c-chip__text"
|
|
446
|
-
id="chip-group-with-categories-overflowchip_two_toolbar_collapsed"
|
|
447
|
-
>Chip two</span>
|
|
448
|
-
</span>
|
|
449
|
-
<span class="pf-v6-c-chip__actions">
|
|
450
|
-
<button
|
|
451
|
-
class="pf-v6-c-button pf-m-plain"
|
|
452
|
-
type="button"
|
|
453
|
-
aria-labelledby="chip-group-with-categories-overflowremove_chip_two_toolbar_collapsed chip-group-with-categories-overflowchip_two_toolbar_collapsed"
|
|
454
|
-
aria-label="Remove"
|
|
455
|
-
id="chip-group-with-categories-overflowremove_chip_two_toolbar_collapsed"
|
|
456
|
-
>
|
|
457
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
458
|
-
</button>
|
|
459
|
-
</span>
|
|
460
|
-
</div>
|
|
461
|
-
</li>
|
|
462
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
463
|
-
<div class="pf-v6-c-chip">
|
|
464
|
-
<span class="pf-v6-c-chip__content">
|
|
465
|
-
<span
|
|
466
|
-
class="pf-v6-c-chip__text"
|
|
467
|
-
id="chip-group-with-categories-overflowchip_three_toolbar_collapsed"
|
|
468
|
-
>Chip three</span>
|
|
469
|
-
</span>
|
|
470
|
-
<span class="pf-v6-c-chip__actions">
|
|
471
|
-
<button
|
|
472
|
-
class="pf-v6-c-button pf-m-plain"
|
|
473
|
-
type="button"
|
|
474
|
-
aria-labelledby="chip-group-with-categories-overflowremove_chip_three_toolbar_collapsed chip-group-with-categories-overflowchip_three_toolbar_collapsed"
|
|
475
|
-
aria-label="Remove"
|
|
476
|
-
id="chip-group-with-categories-overflowremove_chip_three_toolbar_collapsed"
|
|
477
|
-
>
|
|
478
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
479
|
-
</button>
|
|
480
|
-
</span>
|
|
481
|
-
</div>
|
|
482
|
-
</li>
|
|
483
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
484
|
-
<button class="pf-v6-c-chip pf-m-overflow">
|
|
485
|
-
<span class="pf-v6-c-chip__content">
|
|
486
|
-
<span class="pf-v6-c-chip__text">2 more</span>
|
|
487
|
-
</span>
|
|
488
|
-
</button>
|
|
489
|
-
</li>
|
|
490
|
-
</ul>
|
|
491
|
-
</div>
|
|
492
|
-
</div>
|
|
493
|
-
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
### Chip group with categories and overflow expanded
|
|
497
|
-
|
|
498
|
-
```html
|
|
499
|
-
<div
|
|
500
|
-
class="pf-v6-c-chip-group pf-m-category"
|
|
501
|
-
role="group"
|
|
502
|
-
aria-labelledby="chip-group-with-categories-overflow-expanded-label"
|
|
503
|
-
>
|
|
504
|
-
<div class="pf-v6-c-chip-group__main">
|
|
505
|
-
<span
|
|
506
|
-
class="pf-v6-c-chip-group__label"
|
|
507
|
-
id="chip-group-with-categories-overflow-expanded-label"
|
|
508
|
-
>Category one</span>
|
|
509
|
-
<ul
|
|
510
|
-
class="pf-v6-c-chip-group__list"
|
|
511
|
-
role="list"
|
|
512
|
-
aria-labelledby="chip-group-with-categories-overflow-expanded-label"
|
|
513
|
-
>
|
|
514
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
515
|
-
<div class="pf-v6-c-chip">
|
|
516
|
-
<span class="pf-v6-c-chip__content">
|
|
517
|
-
<span
|
|
518
|
-
class="pf-v6-c-chip__text"
|
|
519
|
-
id="chip-group-with-categories-overflow-expandedchip_one_toolbar"
|
|
520
|
-
>Chip one</span>
|
|
521
|
-
</span>
|
|
522
|
-
<span class="pf-v6-c-chip__actions">
|
|
523
|
-
<button
|
|
524
|
-
class="pf-v6-c-button pf-m-plain"
|
|
525
|
-
type="button"
|
|
526
|
-
aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_one_toolbar chip-group-with-categories-overflow-expandedchip_one_toolbar"
|
|
527
|
-
aria-label="Remove"
|
|
528
|
-
id="chip-group-with-categories-overflow-expandedremove_chip_one_toolbar"
|
|
529
|
-
>
|
|
530
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
531
|
-
</button>
|
|
532
|
-
</span>
|
|
533
|
-
</div>
|
|
534
|
-
</li>
|
|
535
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
536
|
-
<div class="pf-v6-c-chip">
|
|
537
|
-
<span class="pf-v6-c-chip__content">
|
|
538
|
-
<span
|
|
539
|
-
class="pf-v6-c-chip__text"
|
|
540
|
-
id="chip-group-with-categories-overflow-expandedchip_two_toolbar"
|
|
541
|
-
>Chip two</span>
|
|
542
|
-
</span>
|
|
543
|
-
<span class="pf-v6-c-chip__actions">
|
|
544
|
-
<button
|
|
545
|
-
class="pf-v6-c-button pf-m-plain"
|
|
546
|
-
type="button"
|
|
547
|
-
aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_two_toolbar chip-group-with-categories-overflow-expandedchip_two_toolbar"
|
|
548
|
-
aria-label="Remove"
|
|
549
|
-
id="chip-group-with-categories-overflow-expandedremove_chip_two_toolbar"
|
|
550
|
-
>
|
|
551
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
552
|
-
</button>
|
|
553
|
-
</span>
|
|
554
|
-
</div>
|
|
555
|
-
</li>
|
|
556
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
557
|
-
<div class="pf-v6-c-chip">
|
|
558
|
-
<span class="pf-v6-c-chip__content">
|
|
559
|
-
<span
|
|
560
|
-
class="pf-v6-c-chip__text"
|
|
561
|
-
id="chip-group-with-categories-overflow-expandedchip_three_toolbar"
|
|
562
|
-
>Chip three</span>
|
|
563
|
-
</span>
|
|
564
|
-
<span class="pf-v6-c-chip__actions">
|
|
565
|
-
<button
|
|
566
|
-
class="pf-v6-c-button pf-m-plain"
|
|
567
|
-
type="button"
|
|
568
|
-
aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_three_toolbar chip-group-with-categories-overflow-expandedchip_three_toolbar"
|
|
569
|
-
aria-label="Remove"
|
|
570
|
-
id="chip-group-with-categories-overflow-expandedremove_chip_three_toolbar"
|
|
571
|
-
>
|
|
572
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
573
|
-
</button>
|
|
574
|
-
</span>
|
|
575
|
-
</div>
|
|
576
|
-
</li>
|
|
577
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
578
|
-
<div class="pf-v6-c-chip">
|
|
579
|
-
<span class="pf-v6-c-chip__content">
|
|
580
|
-
<span
|
|
581
|
-
class="pf-v6-c-chip__text"
|
|
582
|
-
id="chip-group-with-categories-overflow-expandedchip_four_toolbar"
|
|
583
|
-
>Chip four</span>
|
|
584
|
-
</span>
|
|
585
|
-
<span class="pf-v6-c-chip__actions">
|
|
586
|
-
<button
|
|
587
|
-
class="pf-v6-c-button pf-m-plain"
|
|
588
|
-
type="button"
|
|
589
|
-
aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_four_toolbar chip-group-with-categories-overflow-expandedchip_four_toolbar"
|
|
590
|
-
aria-label="Remove"
|
|
591
|
-
id="chip-group-with-categories-overflow-expandedremove_chip_four_toolbar"
|
|
592
|
-
>
|
|
593
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
594
|
-
</button>
|
|
595
|
-
</span>
|
|
596
|
-
</div>
|
|
597
|
-
</li>
|
|
598
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
599
|
-
<div class="pf-v6-c-chip">
|
|
600
|
-
<span class="pf-v6-c-chip__content">
|
|
601
|
-
<span
|
|
602
|
-
class="pf-v6-c-chip__text"
|
|
603
|
-
id="chip-group-with-categories-overflow-expandedchip_five_select"
|
|
604
|
-
>Chip five</span>
|
|
605
|
-
</span>
|
|
606
|
-
<span class="pf-v6-c-chip__actions">
|
|
607
|
-
<button
|
|
608
|
-
class="pf-v6-c-button pf-m-plain"
|
|
609
|
-
type="button"
|
|
610
|
-
aria-labelledby="chip-group-with-categories-overflow-expandedremove_chip_five_select chip-group-with-categories-overflow-expandedchip_five_select"
|
|
611
|
-
aria-label="Remove"
|
|
612
|
-
id="chip-group-with-categories-overflow-expandedremove_chip_five_select"
|
|
613
|
-
>
|
|
614
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
615
|
-
</button>
|
|
616
|
-
</span>
|
|
617
|
-
</div>
|
|
618
|
-
</li>
|
|
619
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
620
|
-
<button class="pf-v6-c-chip pf-m-overflow">
|
|
621
|
-
<span class="pf-v6-c-chip__content">
|
|
622
|
-
<span class="pf-v6-c-chip__text">Show less</span>
|
|
623
|
-
</span>
|
|
624
|
-
</button>
|
|
625
|
-
</li>
|
|
626
|
-
</ul>
|
|
627
|
-
</div>
|
|
628
|
-
</div>
|
|
629
|
-
|
|
630
|
-
```
|
|
631
|
-
|
|
632
|
-
### Chip group with removable categories
|
|
633
|
-
|
|
634
|
-
```html
|
|
635
|
-
<div
|
|
636
|
-
class="pf-v6-c-chip-group pf-m-category"
|
|
637
|
-
role="group"
|
|
638
|
-
aria-labelledby="chip-group-with-categories-removable-label"
|
|
639
|
-
>
|
|
640
|
-
<div class="pf-v6-c-chip-group__main">
|
|
641
|
-
<span
|
|
642
|
-
class="pf-v6-c-chip-group__label"
|
|
643
|
-
id="chip-group-with-categories-removable-label"
|
|
644
|
-
>Category one</span>
|
|
645
|
-
<ul
|
|
646
|
-
class="pf-v6-c-chip-group__list"
|
|
647
|
-
role="list"
|
|
648
|
-
aria-labelledby="chip-group-with-categories-removable-label"
|
|
649
|
-
>
|
|
650
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
651
|
-
<div class="pf-v6-c-chip">
|
|
652
|
-
<span class="pf-v6-c-chip__content">
|
|
653
|
-
<span
|
|
654
|
-
class="pf-v6-c-chip__text"
|
|
655
|
-
id="chip-group-with-categories-removablechip_one_toolbar"
|
|
656
|
-
>Chip one</span>
|
|
657
|
-
</span>
|
|
658
|
-
<span class="pf-v6-c-chip__actions">
|
|
659
|
-
<button
|
|
660
|
-
class="pf-v6-c-button pf-m-plain"
|
|
661
|
-
type="button"
|
|
662
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_one_toolbar chip-group-with-categories-removablechip_one_toolbar"
|
|
663
|
-
aria-label="Remove"
|
|
664
|
-
id="chip-group-with-categories-removableremove_chip_one_toolbar"
|
|
665
|
-
>
|
|
666
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
667
|
-
</button>
|
|
668
|
-
</span>
|
|
669
|
-
</div>
|
|
670
|
-
</li>
|
|
671
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
672
|
-
<div class="pf-v6-c-chip">
|
|
673
|
-
<span class="pf-v6-c-chip__content">
|
|
674
|
-
<span
|
|
675
|
-
class="pf-v6-c-chip__text"
|
|
676
|
-
id="chip-group-with-categories-removablechip_two_toolbar"
|
|
677
|
-
>Chip two</span>
|
|
678
|
-
</span>
|
|
679
|
-
<span class="pf-v6-c-chip__actions">
|
|
680
|
-
<button
|
|
681
|
-
class="pf-v6-c-button pf-m-plain"
|
|
682
|
-
type="button"
|
|
683
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_two_toolbar chip-group-with-categories-removablechip_two_toolbar"
|
|
684
|
-
aria-label="Remove"
|
|
685
|
-
id="chip-group-with-categories-removableremove_chip_two_toolbar"
|
|
686
|
-
>
|
|
687
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
688
|
-
</button>
|
|
689
|
-
</span>
|
|
690
|
-
</div>
|
|
691
|
-
</li>
|
|
692
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
693
|
-
<div class="pf-v6-c-chip">
|
|
694
|
-
<span class="pf-v6-c-chip__content">
|
|
695
|
-
<span
|
|
696
|
-
class="pf-v6-c-chip__text"
|
|
697
|
-
id="chip-group-with-categories-removablechip_three_toolbar"
|
|
698
|
-
>Chip three</span>
|
|
699
|
-
</span>
|
|
700
|
-
<span class="pf-v6-c-chip__actions">
|
|
701
|
-
<button
|
|
702
|
-
class="pf-v6-c-button pf-m-plain"
|
|
703
|
-
type="button"
|
|
704
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_three_toolbar chip-group-with-categories-removablechip_three_toolbar"
|
|
705
|
-
aria-label="Remove"
|
|
706
|
-
id="chip-group-with-categories-removableremove_chip_three_toolbar"
|
|
707
|
-
>
|
|
708
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
709
|
-
</button>
|
|
710
|
-
</span>
|
|
711
|
-
</div>
|
|
712
|
-
</li>
|
|
713
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
714
|
-
<div class="pf-v6-c-chip">
|
|
715
|
-
<span class="pf-v6-c-chip__content">
|
|
716
|
-
<span
|
|
717
|
-
class="pf-v6-c-chip__text"
|
|
718
|
-
id="chip-group-with-categories-removablechip_four_toolbar"
|
|
719
|
-
>Chip four</span>
|
|
720
|
-
</span>
|
|
721
|
-
<span class="pf-v6-c-chip__actions">
|
|
722
|
-
<button
|
|
723
|
-
class="pf-v6-c-button pf-m-plain"
|
|
724
|
-
type="button"
|
|
725
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_four_toolbar chip-group-with-categories-removablechip_four_toolbar"
|
|
726
|
-
aria-label="Remove"
|
|
727
|
-
id="chip-group-with-categories-removableremove_chip_four_toolbar"
|
|
728
|
-
>
|
|
729
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
730
|
-
</button>
|
|
731
|
-
</span>
|
|
732
|
-
</div>
|
|
733
|
-
</li>
|
|
734
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
735
|
-
<div class="pf-v6-c-chip">
|
|
736
|
-
<span class="pf-v6-c-chip__content">
|
|
737
|
-
<span
|
|
738
|
-
class="pf-v6-c-chip__text"
|
|
739
|
-
id="chip-group-with-categories-removablechip_five_toolbar"
|
|
740
|
-
>Chip five</span>
|
|
741
|
-
</span>
|
|
742
|
-
<span class="pf-v6-c-chip__actions">
|
|
743
|
-
<button
|
|
744
|
-
class="pf-v6-c-button pf-m-plain"
|
|
745
|
-
type="button"
|
|
746
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_five_toolbar chip-group-with-categories-removablechip_five_toolbar"
|
|
747
|
-
aria-label="Remove"
|
|
748
|
-
id="chip-group-with-categories-removableremove_chip_five_toolbar"
|
|
749
|
-
>
|
|
750
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
751
|
-
</button>
|
|
752
|
-
</span>
|
|
753
|
-
</div>
|
|
754
|
-
</li>
|
|
755
|
-
<li class="pf-v6-c-chip-group__list-item">
|
|
756
|
-
<div class="pf-v6-c-chip">
|
|
757
|
-
<span class="pf-v6-c-chip__content">
|
|
758
|
-
<span
|
|
759
|
-
class="pf-v6-c-chip__text"
|
|
760
|
-
id="chip-group-with-categories-removablechip_six_toolbar"
|
|
761
|
-
>Chip six</span>
|
|
762
|
-
</span>
|
|
763
|
-
<span class="pf-v6-c-chip__actions">
|
|
764
|
-
<button
|
|
765
|
-
class="pf-v6-c-button pf-m-plain"
|
|
766
|
-
type="button"
|
|
767
|
-
aria-labelledby="chip-group-with-categories-removableremove_chip_six_toolbar chip-group-with-categories-removablechip_six_toolbar"
|
|
768
|
-
aria-label="Remove"
|
|
769
|
-
id="chip-group-with-categories-removableremove_chip_six_toolbar"
|
|
770
|
-
>
|
|
771
|
-
<i class="fas fa-times" aria-hidden="true"></i>
|
|
772
|
-
</button>
|
|
773
|
-
</span>
|
|
774
|
-
</div>
|
|
775
|
-
</li>
|
|
776
|
-
</ul>
|
|
777
|
-
</div>
|
|
778
|
-
<div class="pf-v6-c-chip-group__close">
|
|
779
|
-
<button
|
|
780
|
-
class="pf-v6-c-button pf-m-plain"
|
|
781
|
-
type="button"
|
|
782
|
-
aria-labelledby="chip-group-with-categories-removable-button chip-group-with-categories-removable-label"
|
|
783
|
-
aria-label="Close chip group"
|
|
784
|
-
id="chip-group-with-categories-removable-button"
|
|
785
|
-
>
|
|
786
|
-
<i class="fas fa-times-circle" aria-hidden="true"></i>
|
|
787
|
-
</button>
|
|
788
|
-
</div>
|
|
789
|
-
</div>
|
|
790
|
-
|
|
791
|
-
```
|
|
792
|
-
|
|
793
|
-
## Documentation
|
|
794
|
-
|
|
795
|
-
### Chip overview
|
|
796
|
-
|
|
797
|
-
A Chip is used to display items that have been filtered or selected from a larger group. They comprise of a text element and a button component that is used to remove the chip from selection. When the text overflows it is truncated using ellipses. A chip can be grouped by using the "chip-group" component.
|
|
798
|
-
|
|
799
|
-
### Chip accessibility
|
|
800
|
-
|
|
801
|
-
| Attribute | Applied to | Outcome |
|
|
802
|
-
| -- | -- | -- |
|
|
803
|
-
| `aria-label="[button label text]"` | `.pf-v6-c-button` | 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. |
|
|
804
|
-
| `aria-labelledby="[id value of .pf-v6-c-button]"` | `.pf-v6-c-button` | Gives the button an accessible name by referring to the element that provides the position of the button within a list. Required when the button is being removed. |
|
|
805
|
-
| `aria-hidden="true"` | `<i>` | Hides the icon from assistive technologies. |
|
|
806
|
-
|
|
807
|
-
### Chip usage
|
|
808
|
-
|
|
809
|
-
| Class | Applied to | Outcome |
|
|
810
|
-
| -- | -- | -- |
|
|
811
|
-
| `.pf-v6-c-chip` | `<div>`, `<button>`, | Initiates the chip component. Use a `<button>` with overflow chips **Required** |
|
|
812
|
-
| `.pf-v6-c-chip__content` | `<span>` | Creates a content wrapper for the chip. **Required** |
|
|
813
|
-
| `.pf-v6-c-chip__text` | `<span>` | Initiates the text inside the chip. **Required** |
|
|
814
|
-
| `.pf-v6-c-chip__icon` | `<span>` | Initiates the icon inside the chip. |
|
|
815
|
-
| `.pf-v6-c-chip__actions` | `<span>` | Creates a wrapper for chip actions. **Required for removable chips** |
|
|
816
|
-
| `.pf-m-overflow` | `button.pf-v6-c-chip` | Applies styling of the overflow chip. |
|
|
817
|
-
| `.pf-m-draggable` | `.pf-v6-c-chip` | Modifies the chip to be in the draggable state. |
|
|
818
|
-
|
|
819
|
-
### Chip group overview
|
|
820
|
-
|
|
821
|
-
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).
|
|
822
|
-
|
|
823
|
-
If you want to create sub-groupings of chips to represent multiple values applied against the same category, chips can be grouped by category. This can be useful in filtering use cases, for example, where you want all items that match more than one value of the same attribute, e.g., ‘status = down OR needs maintenance’.
|
|
824
|
-
|
|
825
|
-
The chip group requires the [chip component](#chip-overview). **All single chip accessibility and usage requirements apply.**
|
|
826
|
-
|
|
827
|
-
### Chip group accessibility
|
|
828
|
-
|
|
829
|
-
| Attributes for closable chip group button | Applied to | Outcome |
|
|
830
|
-
| -- | -- | -- |
|
|
831
|
-
| `role="list"` | `.pf-v6-c-chip-group__list` | Indicates that the chip group list is a list element. This role is redundant since `.pf-v6-c-chip-group__list` is a `<ul>` but is required for screen readers to announce the list properly. **Required** |
|
|
832
|
-
| `aria-label="[button label text]"` | `.pf-v6-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** |
|
|
833
|
-
| `aria-labelledby="[id value of .pf-v6-c-chip-group__close > button] [id value of .pf-v6-c-chip-group__label]"` | `.pf-v6-c-chip-group__close > button` | Provides an accessible name for the button. **Required** |
|
|
834
|
-
|
|
835
|
-
### Chip group usage
|
|
836
|
-
|
|
837
|
-
| Class | Applied to | Outcome |
|
|
838
|
-
| -- | -- | -- |
|
|
839
|
-
| `.pf-v6-c-chip-group` | `<div>` | Initiates the chip group component. **Required.** |
|
|
840
|
-
| `.pf-v6-c-chip-group__list` | `<ul>` | Initiates the container for a list of chips. **Required.** |
|
|
841
|
-
| `.pf-v6-c-chip-group__list-item` | `<li>` | Initiates the list item inside of the chip group. **Required.** |
|
|
842
|
-
| `.pf-v6-c-chip-group__label` | `<span>` | Initiates the label to be used in the chip group. |
|
|
843
|
-
| `.pf-v6-c-chip-group__close` | `<div>` | Initiates the container used for the button to remove the chip group. |
|
|
844
|
-
| `.pf-v6-c-chip-group__main` | `<div>` | Initiates the container for the label and list elements so that they wrap together. **Required** |
|
|
845
|
-
| `.pf-v6-c-button` | `.pf-v6-c-chip-group__close <button>` | Initiates the button used to remove the chip group. |
|
|
846
|
-
| `.pf-m-category` | `.pf-v6-c-chip-group` | Modifies the chip group to support category styling. |
|