@patternfly/patternfly 6.0.0-alpha.90 → 6.0.0-alpha.91
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/base/patternfly-common.css +10 -10
- package/base/patternfly-globals.css +3 -3
- package/base/patternfly-icons.css +1 -1
- package/base/patternfly-themes.css +53 -53
- package/base/patternfly-variables.css +236 -245
- package/base/tokens/_tokens-font.scss +0 -11
- package/components/AboutModalBox/about-modal-box.css +102 -102
- package/components/Accordion/accordion.css +118 -118
- package/components/ActionList/action-list.css +16 -16
- package/components/Alert/alert-group.css +50 -50
- package/components/Alert/alert.css +161 -161
- package/components/AppLauncher/app-launcher.css +167 -167
- package/components/Avatar/avatar.css +116 -116
- package/components/BackToTop/back-to-top.css +21 -21
- package/components/Backdrop/backdrop.css +9 -9
- package/components/BackgroundImage/background-image.css +15 -15
- package/components/Badge/badge.css +35 -35
- package/components/Banner/banner.css +114 -114
- package/components/Brand/brand.css +28 -28
- package/components/Breadcrumb/breadcrumb.css +62 -62
- package/components/Button/button.css +514 -514
- package/components/CalendarMonth/calendar-month.css +144 -144
- package/components/Card/card.css +230 -230
- package/components/Check/check.css +43 -43
- package/components/Chip/chip-group.css +60 -60
- package/components/Chip/chip.css +83 -83
- package/components/ClipboardCopy/clipboard-copy.css +71 -71
- package/components/CodeBlock/code-block.css +35 -35
- package/components/CodeEditor/code-editor.css +121 -121
- package/components/Content/content.css +216 -216
- package/components/ContextSelector/context-selector.css +251 -251
- package/components/DataList/data-list-grid.css +182 -182
- package/components/DataList/data-list.css +468 -468
- package/components/DatePicker/date-picker.css +35 -35
- package/components/DescriptionList/description-list-order.css +90 -90
- package/components/DescriptionList/description-list.css +193 -193
- package/components/Divider/divider.css +143 -143
- package/components/DragDrop/drag-drop.css +46 -46
- package/components/Drawer/drawer.css +474 -474
- package/components/Dropdown/dropdown.css +457 -457
- package/components/DualListSelector/dual-list-selector.css +199 -199
- package/components/EmptyState/empty-state.css +104 -104
- package/components/ExpandableSection/expandable-section.css +113 -113
- package/components/FileUpload/file-upload.css +32 -32
- package/components/Form/form.css +281 -281
- package/components/FormControl/form-control.css +197 -197
- package/components/HelperText/helper-text.css +51 -51
- package/components/Hint/hint.css +46 -46
- package/components/Icon/icon.css +218 -218
- package/components/InlineEdit/inline-edit.css +43 -43
- package/components/InputGroup/input-group.css +52 -52
- package/components/JumpLinks/jump-links.css +183 -183
- package/components/Label/label-group.css +86 -86
- package/components/Label/label.css +438 -438
- package/components/List/list.css +53 -53
- package/components/LogViewer/log-viewer.css +138 -138
- package/components/Login/login.css +139 -139
- package/components/Masthead/masthead.css +319 -319
- package/components/Menu/menu.css +415 -415
- package/components/MenuToggle/menu-toggle.css +275 -275
- package/components/ModalBox/modal-box.css +121 -121
- package/components/MultipleFileUpload/multiple-file-upload.css +163 -163
- package/components/Nav/nav.css +225 -225
- package/components/NotificationBadge/notification-badge.css +66 -66
- package/components/NotificationDrawer/notification-drawer.css +179 -179
- package/components/NumberInput/number-input.css +20 -20
- package/components/OptionsMenu/options-menu.css +190 -190
- package/components/OverflowMenu/overflow-menu.css +19 -19
- package/components/Page/page.css +598 -598
- package/components/Pagination/pagination.css +220 -220
- package/components/Panel/panel.css +72 -72
- package/components/Popover/popover.css +148 -148
- package/components/Progress/progress.css +80 -80
- package/components/ProgressStepper/progress-stepper.css +514 -514
- package/components/Radio/radio.css +44 -44
- package/components/Select/select.css +423 -423
- package/components/Sidebar/sidebar.css +166 -166
- package/components/SimpleList/simple-list.css +53 -53
- package/components/Skeleton/skeleton.css +112 -112
- package/components/SkipToContent/skip-to-content.css +8 -8
- package/components/Slider/slider.css +144 -144
- package/components/Spinner/spinner.css +36 -36
- package/components/Switch/switch.css +89 -89
- package/components/TabContent/tab-content.css +34 -34
- package/components/Table/table-grid.css +911 -911
- package/components/Table/table-scrollable.css +38 -38
- package/components/Table/table-tree-view.css +497 -497
- package/components/Table/table.css +660 -660
- package/components/Tabs/tabs.css +616 -616
- package/components/TextInputGroup/text-input-group.css +88 -88
- package/components/Tile/tile.css +68 -68
- package/components/Timestamp/timestamp.css +29 -29
- package/components/Title/title.css +87 -87
- package/components/ToggleGroup/toggle-group.css +86 -86
- package/components/Toolbar/toolbar.css +2279 -2279
- package/components/Tooltip/tooltip.css +85 -85
- package/components/TreeView/tree-view.css +363 -363
- package/components/Truncate/truncate.css +15 -15
- package/components/Wizard/wizard.css +272 -272
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +11 -11
- package/docs/components/Accordion/examples/Accordion.md +188 -188
- package/docs/components/ActionList/examples/ActionList.md +55 -55
- package/docs/components/Alert/examples/Alert.md +222 -222
- package/docs/components/AppLauncher/deprecated/application-launcher.md +146 -146
- package/docs/components/Avatar/examples/Avatar.md +6 -6
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +1 -1
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +2 -2
- package/docs/components/Badge/examples/Badge.md +17 -17
- package/docs/components/Banner/examples/Banner.md +42 -42
- package/docs/components/Brand/examples/Brand.md +4 -4
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +90 -90
- package/docs/components/Button/examples/Button.md +364 -364
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +436 -436
- package/docs/components/Card/examples/Card.md +515 -515
- package/docs/components/Check/examples/Check.md +37 -37
- package/docs/components/Chip/examples/Chip.md +216 -216
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +82 -82
- package/docs/components/CodeBlock/examples/CodeBlock.md +39 -39
- package/docs/components/CodeEditor/examples/CodeEditor.md +85 -85
- package/docs/components/Content/examples/Content.md +1 -1
- package/docs/components/ContextSelector/deprecated/context-selector.md +160 -160
- package/docs/components/DataList/examples/DataList.md +666 -666
- package/docs/components/DatePicker/examples/DatePicker.md +54 -54
- package/docs/components/DescriptionList/examples/DescriptionList.md +737 -737
- package/docs/components/Divider/examples/Divider.md +18 -18
- package/docs/components/DragDrop/examples/DragDrop.md +27 -27
- package/docs/components/Drawer/examples/Drawer.md +225 -225
- package/docs/components/Dropdown/deprecated/Dropdown.md +541 -541
- package/docs/components/DualListSelector/examples/DualListSelector.md +1012 -1012
- package/docs/components/EmptyState/examples/EmptyState.md +100 -100
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +47 -47
- package/docs/components/FileUpload/examples/FileUpload.md +94 -94
- package/docs/components/Form/examples/Form.md +226 -226
- package/docs/components/FormControl/examples/FormControl.md +65 -65
- package/docs/components/HelperText/examples/HelperText.md +72 -72
- package/docs/components/Hint/examples/Hint.md +44 -44
- package/docs/components/Icon/examples/Icon.md +85 -85
- package/docs/components/InlineEdit/examples/InlineEdit.md +209 -209
- package/docs/components/InputGroup/examples/InputGroup.md +73 -73
- package/docs/components/JumpLinks/examples/JumpLinks.md +285 -285
- package/docs/components/Label/examples/Label.md +1717 -1717
- package/docs/components/List/examples/List.md +30 -30
- package/docs/components/LogViewer/examples/LogViewer.md +1785 -1785
- package/docs/components/Login/examples/Login.md +287 -287
- package/docs/components/Masthead/examples/masthead.md +39 -39
- package/docs/components/Menu/examples/Menu.md +2377 -2377
- package/docs/components/MenuToggle/examples/MenuToggle.md +242 -242
- package/docs/components/ModalBox/examples/ModalBox.md +119 -119
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +192 -192
- package/docs/components/Nav/examples/Navigation.md +856 -856
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +42 -42
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +659 -659
- package/docs/components/NumberInput/examples/NumberInput.md +127 -127
- package/docs/components/OptionsMenu/deprecated/options-menu.md +178 -178
- package/docs/components/OverflowMenu/examples/overflow-menu.md +97 -97
- package/docs/components/Page/deprecated/PageHeader.md +85 -85
- package/docs/components/Page/examples/Page.md +90 -90
- package/docs/components/Pagination/examples/Pagination.md +285 -285
- package/docs/components/Panel/examples/Panel.md +38 -38
- package/docs/components/Popover/examples/Popover.md +169 -169
- package/docs/components/Progress/examples/Progress.md +145 -145
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +295 -295
- package/docs/components/Radio/examples/Radio.md +33 -33
- package/docs/components/Select/deprecated/Select.md +736 -736
- package/docs/components/Sidebar/examples/Sidebar.md +65 -65
- package/docs/components/SimpleList/examples/SimpleList.md +39 -39
- package/docs/components/Skeleton/examples/Skeleton.md +29 -29
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -3
- package/docs/components/Slider/examples/Slider.md +213 -213
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +58 -58
- package/docs/components/TabContent/examples/TabContent.md +24 -24
- package/docs/components/Table/examples/Table.md +6982 -6982
- package/docs/components/Tabs/examples/Tabs.md +2114 -2114
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +373 -373
- package/docs/components/Tile/examples/Tile.md +131 -131
- package/docs/components/Timestamp/examples/Timestamp.md +10 -10
- package/docs/components/Title/examples/Title.md +12 -12
- package/docs/components/ToggleGroup/examples/toggle-group.md +116 -116
- package/docs/components/Toolbar/examples/Toolbar.md +611 -611
- package/docs/components/Tooltip/examples/Tooltip.md +27 -27
- package/docs/components/TreeView/examples/TreeView.md +1166 -1166
- package/docs/components/Truncate/examples/Truncate.md +7 -7
- package/docs/components/Wizard/examples/Wizard.md +522 -522
- package/docs/demos/AboutModal/examples/AboutModal.md +106 -106
- package/docs/demos/Alert/examples/Alert.md +391 -391
- package/docs/demos/BackToTop/examples/BackToTop.md +175 -175
- package/docs/demos/Banner/examples/Banner.md +364 -364
- package/docs/demos/Button/examples/Button.md +50 -50
- package/docs/demos/Card/examples/Card.md +1054 -1054
- package/docs/demos/CardView/examples/CardView.md +378 -378
- package/docs/demos/ContextSelector/examples/ContextSelector.md +449 -449
- package/docs/demos/Dashboard/examples/Dashboard.md +541 -541
- package/docs/demos/DataList/examples/DataList.md +1148 -1148
- package/docs/demos/DescriptionList/examples/DescriptionList.md +544 -544
- package/docs/demos/Drawer/examples/Drawer.md +531 -531
- package/docs/demos/Form/examples/BasicForms.md +444 -444
- package/docs/demos/HelperText/examples/HelperText.md +51 -51
- package/docs/demos/JumpLinks/examples/JumpLinks.md +596 -596
- package/docs/demos/Masthead/examples/Masthead.md +763 -763
- package/docs/demos/Modal/examples/Modal.md +645 -645
- package/docs/demos/Nav/examples/Nav.md +649 -649
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1570 -1570
- package/docs/demos/Page/examples/Page.md +1330 -1330
- package/docs/demos/Page/examples/Penta.md +217 -217
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +23 -23
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +108 -108
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1890 -1890
- package/docs/demos/Skeleton/examples/Skeleton.md +176 -176
- package/docs/demos/Table/examples/Table.md +4580 -4580
- package/docs/demos/Tabs/examples/Tabs.md +1040 -1040
- package/docs/demos/Toolbar/examples/Toolbar.md +961 -961
- package/docs/demos/Wizard/examples/Wizard.md +1574 -1574
- package/docs/layouts/Bullseye/examples/Bullseye.md +2 -2
- package/docs/layouts/Flex/examples/Flex.md +290 -290
- package/docs/layouts/Gallery/examples/Gallery.md +48 -48
- package/docs/layouts/Grid/examples/Grid.md +121 -121
- package/docs/layouts/Level/examples/Level.md +11 -11
- package/docs/layouts/Split/examples/Split.md +23 -23
- package/docs/layouts/Stack/examples/Stack.md +8 -8
- package/docs/utilities/Accessibility/examples/Accessibility.md +3 -3
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/Display/examples/Display.md +16 -16
- package/docs/utilities/Flex/examples/Flex.md +53 -53
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Spacing/examples/Spacing.md +16 -16
- package/layouts/Bullseye/bullseye.css +3 -3
- package/layouts/Flex/flex.css +1276 -1276
- package/layouts/Gallery/gallery.css +34 -34
- package/layouts/Grid/grid.css +531 -531
- package/layouts/Level/level.css +4 -4
- package/layouts/Split/split.css +6 -6
- package/layouts/Stack/stack.css +5 -5
- package/package.json +1 -1
- package/patternfly-addons.css +2989 -2989
- package/patternfly-base-no-globals-theme-dark-unversioned.css +269 -278
- package/patternfly-base-no-globals.css +284 -293
- package/patternfly-base-theme-dark-unversioned.css +271 -280
- package/patternfly-base.css +286 -295
- package/patternfly-charts-theme-dark-unversioned.css +66 -66
- package/patternfly-charts-theme-dark.css +66 -66
- package/patternfly-charts.css +320 -320
- package/patternfly-no-globals.css +20217 -20226
- package/patternfly-theme-dark-unversioned.css +20209 -20218
- package/patternfly.css +20219 -20228
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/_init.scss +1 -1
- package/utilities/Accessibility/accessibility.css +18 -18
- package/utilities/Alignment/alignment.css +24 -24
- package/utilities/BackgroundColor/BackgroundColor.css +252 -252
- package/utilities/BoxShadow/box-shadow.css +42 -42
- package/utilities/Display/display.css +54 -54
- package/utilities/Flex/flex.css +228 -228
- package/utilities/Float/float.css +12 -12
- package/utilities/Sizing/sizing.css +216 -216
- package/utilities/Spacing/spacing.css +1512 -1512
- package/utilities/Text/text.css +631 -631
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
:root,
|
|
2
|
-
.pf-
|
|
3
|
-
--pf-
|
|
4
|
-
--pf-
|
|
5
|
-
--pf-
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
8
|
-
--pf-
|
|
9
|
-
--pf-
|
|
10
|
-
--pf-
|
|
11
|
-
--pf-
|
|
12
|
-
--pf-
|
|
13
|
-
--pf-
|
|
14
|
-
--pf-
|
|
15
|
-
--pf-
|
|
2
|
+
.pf-v6-c-check {
|
|
3
|
+
--pf-v6-c-check--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
4
|
+
--pf-v6-c-check--AccentColor: var(--pf-t--global--color--brand--default);
|
|
5
|
+
--pf-v6-c-check__label--disabled--Color: var(--pf-t--global--text--color--disabled);
|
|
6
|
+
--pf-v6-c-check__label--Color: var(--pf-t--global--text--color--regular);
|
|
7
|
+
--pf-v6-c-check__label--FontWeight: var(--pf-t--global--font--weight--body);
|
|
8
|
+
--pf-v6-c-check__label--FontSize: var(--pf-t--global--font--size--body--default);
|
|
9
|
+
--pf-v6-c-check__label--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
10
|
+
--pf-v6-c-check__input--TranslateY: calc((var(--pf-v6-c-check__label--LineHeight) * var(--pf-v6-c-check__label--FontSize) / 2 ) - 50%);
|
|
11
|
+
--pf-v6-c-check__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
12
|
+
--pf-v6-c-check__description--Color: var(--pf-t--global--text--color--subtle);
|
|
13
|
+
--pf-v6-c-check__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
14
|
+
--pf-v6-c-check__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15
|
+
--pf-v6-c-check__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.pf-
|
|
18
|
+
.pf-v6-c-check {
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: auto 1fr;
|
|
21
|
-
grid-gap: var(--pf-
|
|
22
|
-
accent-color: var(--pf-
|
|
21
|
+
grid-gap: var(--pf-v6-c-check--GridGap);
|
|
22
|
+
accent-color: var(--pf-v6-c-check--AccentColor);
|
|
23
23
|
}
|
|
24
|
-
.pf-
|
|
25
|
-
--pf-
|
|
26
|
-
--pf-
|
|
24
|
+
.pf-v6-c-check.pf-m-standalone {
|
|
25
|
+
--pf-v6-c-check--GridGap: 0;
|
|
26
|
+
--pf-v6-c-check__input--TranslateY: none;
|
|
27
27
|
display: inline-grid;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.pf-
|
|
30
|
+
.pf-v6-c-check__input {
|
|
31
31
|
align-self: start;
|
|
32
|
-
transform: translateY(var(--pf-
|
|
32
|
+
transform: translateY(var(--pf-v6-c-check__input--TranslateY));
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.pf-
|
|
36
|
-
font-size: var(--pf-
|
|
37
|
-
font-weight: var(--pf-
|
|
38
|
-
line-height: var(--pf-
|
|
39
|
-
color: var(--pf-
|
|
35
|
+
.pf-v6-c-check__label {
|
|
36
|
+
font-size: var(--pf-v6-c-check__label--FontSize);
|
|
37
|
+
font-weight: var(--pf-v6-c-check__label--FontWeight);
|
|
38
|
+
line-height: var(--pf-v6-c-check__label--LineHeight);
|
|
39
|
+
color: var(--pf-v6-c-check__label--Color);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.pf-
|
|
42
|
+
.pf-v6-c-check__description {
|
|
43
43
|
grid-column: 2;
|
|
44
|
-
font-size: var(--pf-
|
|
45
|
-
color: var(--pf-
|
|
44
|
+
font-size: var(--pf-v6-c-check__description--FontSize);
|
|
45
|
+
color: var(--pf-v6-c-check__description--Color);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.pf-
|
|
48
|
+
.pf-v6-c-check__body {
|
|
49
49
|
grid-column: 2;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.pf-
|
|
53
|
-
.pf-
|
|
52
|
+
.pf-v6-c-check__label,
|
|
53
|
+
.pf-v6-c-check__input {
|
|
54
54
|
justify-self: start;
|
|
55
55
|
}
|
|
56
|
-
label.pf-
|
|
57
|
-
.pf-
|
|
56
|
+
label.pf-v6-c-check, .pf-v6-c-check__label,
|
|
57
|
+
.pf-v6-c-check__input {
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.pf-
|
|
62
|
-
.pf-
|
|
63
|
-
.pf-
|
|
64
|
-
--pf-
|
|
61
|
+
.pf-v6-c-check__label:disabled, .pf-v6-c-check__label.pf-m-disabled,
|
|
62
|
+
.pf-v6-c-check__input:disabled,
|
|
63
|
+
.pf-v6-c-check__input.pf-m-disabled {
|
|
64
|
+
--pf-v6-c-check__label--Color: var(--pf-v6-c-check__label--disabled--Color);
|
|
65
65
|
cursor: not-allowed;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.pf-
|
|
69
|
-
margin-inline-start: var(--pf-
|
|
70
|
-
font-size: var(--pf-
|
|
71
|
-
color: var(--pf-
|
|
68
|
+
.pf-v6-c-check__label-required {
|
|
69
|
+
margin-inline-start: var(--pf-v6-c-check__label-required--MarginLeft);
|
|
70
|
+
font-size: var(--pf-v6-c-check__label-required--FontSize);
|
|
71
|
+
color: var(--pf-v6-c-check__label-required--Color);
|
|
72
72
|
}
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
.pf-
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
--pf-
|
|
5
|
-
--pf-
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
8
|
-
--pf-
|
|
9
|
-
--pf-
|
|
10
|
-
--pf-
|
|
1
|
+
.pf-v6-c-chip-group {
|
|
2
|
+
--pf-v6-global--Color--100: var(--pf-v6-global--Color--dark-100);
|
|
3
|
+
--pf-v6-global--Color--200: var(--pf-v6-global--Color--dark-200);
|
|
4
|
+
--pf-v6-global--BorderColor--100: var(--pf-v6-global--BorderColor--dark-100);
|
|
5
|
+
--pf-v6-global--primary-color--100: var(--pf-v6-global--primary-color--dark-100);
|
|
6
|
+
--pf-v6-global--link--Color: var(--pf-v6-global--link--Color--dark);
|
|
7
|
+
--pf-v6-global--link--Color--hover: var(--pf-v6-global--link--Color--dark--hover);
|
|
8
|
+
--pf-v6-global--BackgroundColor--100: var(--pf-v6-global--BackgroundColor--light-100);
|
|
9
|
+
--pf-v6-global--icon--Color--light: var(--pf-v6-global--icon--Color--light--dark);
|
|
10
|
+
--pf-v6-global--icon--Color--dark: var(--pf-v6-global--icon--Color--dark--dark);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.pf-
|
|
14
|
-
color: var(--pf-
|
|
15
|
-
--pf-
|
|
16
|
-
--pf-
|
|
17
|
-
--pf-
|
|
18
|
-
--pf-
|
|
19
|
-
--pf-
|
|
20
|
-
--pf-
|
|
21
|
-
--pf-
|
|
22
|
-
--pf-
|
|
23
|
-
--pf-
|
|
24
|
-
--pf-
|
|
25
|
-
--pf-
|
|
26
|
-
--pf-
|
|
27
|
-
--pf-
|
|
28
|
-
--pf-
|
|
29
|
-
--pf-
|
|
30
|
-
--pf-
|
|
31
|
-
--pf-
|
|
32
|
-
--pf-
|
|
33
|
-
--pf-
|
|
34
|
-
--pf-
|
|
35
|
-
row-gap: var(--pf-
|
|
36
|
-
column-gap: var(--pf-
|
|
13
|
+
.pf-v6-c-chip-group {
|
|
14
|
+
color: var(--pf-v6-global--Color--100);
|
|
15
|
+
--pf-v6-c-chip-group--PaddingTop: 0;
|
|
16
|
+
--pf-v6-c-chip-group--PaddingRight: 0;
|
|
17
|
+
--pf-v6-c-chip-group--PaddingBottom: 0;
|
|
18
|
+
--pf-v6-c-chip-group--PaddingLeft: 0;
|
|
19
|
+
--pf-v6-c-chip-group--RowGap: var(--pf-v6-global--spacer--sm);
|
|
20
|
+
--pf-v6-c-chip-group--ColumnGap: 0;
|
|
21
|
+
--pf-v6-c-chip-group__main--RowGap: var(--pf-v6-global--spacer--xs);
|
|
22
|
+
--pf-v6-c-chip-group__main--ColumnGap: var(--pf-v6-global--spacer--sm);
|
|
23
|
+
--pf-v6-c-chip-group__list--RowGap: var(--pf-v6-global--spacer--xs);
|
|
24
|
+
--pf-v6-c-chip-group__list--ColumnGap: var(--pf-v6-global--spacer--xs);
|
|
25
|
+
--pf-v6-c-chip-group--m-category--PaddingTop: var(--pf-v6-global--spacer--xs);
|
|
26
|
+
--pf-v6-c-chip-group--m-category--PaddingRight: var(--pf-v6-global--spacer--xs);
|
|
27
|
+
--pf-v6-c-chip-group--m-category--PaddingBottom: var(--pf-v6-global--spacer--xs);
|
|
28
|
+
--pf-v6-c-chip-group--m-category--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
29
|
+
--pf-v6-c-chip-group--m-category--BorderRadius: var(--pf-v6-global--BorderRadius--sm);
|
|
30
|
+
--pf-v6-c-chip-group--m-category--BackgroundColor: var(--pf-v6-global--BackgroundColor--200);
|
|
31
|
+
--pf-v6-c-chip-group__label--FontSize: var(--pf-v6-global--FontSize--sm);
|
|
32
|
+
--pf-v6-c-chip-group__label--MaxWidth: 18ch;
|
|
33
|
+
--pf-v6-c-chip-group__close--MarginTop: calc(var(--pf-v6-global--spacer--xs) * -1);
|
|
34
|
+
--pf-v6-c-chip-group__close--MarginBottom: calc(var(--pf-v6-global--spacer--xs) * -1);
|
|
35
|
+
row-gap: var(--pf-v6-c-chip-group--RowGap);
|
|
36
|
+
column-gap: var(--pf-v6-c-chip-group--ColumnGap);
|
|
37
37
|
max-width: 100%;
|
|
38
|
-
padding-block-start: var(--pf-
|
|
39
|
-
padding-block-end: var(--pf-
|
|
40
|
-
padding-inline-start: var(--pf-
|
|
41
|
-
padding-inline-end: var(--pf-
|
|
38
|
+
padding-block-start: var(--pf-v6-c-chip-group--PaddingTop);
|
|
39
|
+
padding-block-end: var(--pf-v6-c-chip-group--PaddingBottom);
|
|
40
|
+
padding-inline-start: var(--pf-v6-c-chip-group--PaddingLeft);
|
|
41
|
+
padding-inline-end: var(--pf-v6-c-chip-group--PaddingRight);
|
|
42
42
|
}
|
|
43
|
-
.pf-
|
|
44
|
-
--pf-
|
|
45
|
-
--pf-
|
|
46
|
-
--pf-
|
|
47
|
-
--pf-
|
|
48
|
-
background-color: var(--pf-
|
|
49
|
-
border-radius: var(--pf-
|
|
43
|
+
.pf-v6-c-chip-group.pf-m-category {
|
|
44
|
+
--pf-v6-c-chip-group--PaddingTop: var(--pf-v6-c-chip-group--m-category--PaddingTop);
|
|
45
|
+
--pf-v6-c-chip-group--PaddingRight: var(--pf-v6-c-chip-group--m-category--PaddingRight);
|
|
46
|
+
--pf-v6-c-chip-group--PaddingBottom: var(--pf-v6-c-chip-group--m-category--PaddingBottom);
|
|
47
|
+
--pf-v6-c-chip-group--PaddingLeft: var(--pf-v6-c-chip-group--m-category--PaddingLeft);
|
|
48
|
+
background-color: var(--pf-v6-c-chip-group--m-category--BackgroundColor);
|
|
49
|
+
border-radius: var(--pf-v6-c-chip-group--m-category--BorderRadius);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.pf-
|
|
52
|
+
.pf-v6-c-chip-group__main {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex: 1;
|
|
55
55
|
flex-wrap: wrap;
|
|
56
|
-
row-gap: var(--pf-
|
|
57
|
-
column-gap: var(--pf-
|
|
56
|
+
row-gap: var(--pf-v6-c-chip-group__main--RowGap);
|
|
57
|
+
column-gap: var(--pf-v6-c-chip-group__main--ColumnGap);
|
|
58
58
|
align-items: baseline;
|
|
59
59
|
min-width: 0;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.pf-
|
|
63
|
-
.pf-
|
|
62
|
+
.pf-v6-c-chip-group,
|
|
63
|
+
.pf-v6-c-chip-group__list {
|
|
64
64
|
display: inline-flex;
|
|
65
65
|
flex-wrap: wrap;
|
|
66
66
|
align-items: center;
|
|
67
67
|
min-width: 0;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.pf-
|
|
71
|
-
row-gap: var(--pf-
|
|
72
|
-
column-gap: var(--pf-
|
|
70
|
+
.pf-v6-c-chip-group__list {
|
|
71
|
+
row-gap: var(--pf-v6-c-chip-group__list--RowGap);
|
|
72
|
+
column-gap: var(--pf-v6-c-chip-group__list--ColumnGap);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.pf-
|
|
75
|
+
.pf-v6-c-chip-group__list-item {
|
|
76
76
|
display: inline-flex;
|
|
77
77
|
min-width: 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.pf-
|
|
80
|
+
.pf-v6-c-chip-group__label {
|
|
81
81
|
overflow: hidden;
|
|
82
82
|
text-overflow: ellipsis;
|
|
83
83
|
white-space: nowrap;
|
|
84
|
-
max-width: var(--pf-
|
|
85
|
-
font-size: var(--pf-
|
|
84
|
+
max-width: var(--pf-v6-c-chip-group__label--MaxWidth);
|
|
85
|
+
font-size: var(--pf-v6-c-chip-group__label--FontSize);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.pf-
|
|
88
|
+
.pf-v6-c-chip-group__close {
|
|
89
89
|
display: flex;
|
|
90
90
|
align-self: flex-start;
|
|
91
|
-
margin-block-start: var(--pf-
|
|
92
|
-
margin-block-end: var(--pf-
|
|
91
|
+
margin-block-start: var(--pf-v6-c-chip-group__close--MarginTop);
|
|
92
|
+
margin-block-end: var(--pf-v6-c-chip-group__close--MarginBottom);
|
|
93
93
|
}
|
package/components/Chip/chip.css
CHANGED
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
.pf-
|
|
2
|
-
--pf-
|
|
3
|
-
--pf-
|
|
4
|
-
--pf-
|
|
5
|
-
--pf-
|
|
6
|
-
--pf-
|
|
7
|
-
--pf-
|
|
8
|
-
--pf-
|
|
9
|
-
--pf-
|
|
10
|
-
--pf-
|
|
1
|
+
.pf-v6-c-chip {
|
|
2
|
+
--pf-v6-global--Color--100: var(--pf-v6-global--Color--dark-100);
|
|
3
|
+
--pf-v6-global--Color--200: var(--pf-v6-global--Color--dark-200);
|
|
4
|
+
--pf-v6-global--BorderColor--100: var(--pf-v6-global--BorderColor--dark-100);
|
|
5
|
+
--pf-v6-global--primary-color--100: var(--pf-v6-global--primary-color--dark-100);
|
|
6
|
+
--pf-v6-global--link--Color: var(--pf-v6-global--link--Color--dark);
|
|
7
|
+
--pf-v6-global--link--Color--hover: var(--pf-v6-global--link--Color--dark--hover);
|
|
8
|
+
--pf-v6-global--BackgroundColor--100: var(--pf-v6-global--BackgroundColor--light-100);
|
|
9
|
+
--pf-v6-global--icon--Color--light: var(--pf-v6-global--icon--Color--light--dark);
|
|
10
|
+
--pf-v6-global--icon--Color--dark: var(--pf-v6-global--icon--Color--dark--dark);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.pf-
|
|
14
|
-
--pf-
|
|
15
|
-
--pf-
|
|
16
|
-
--pf-
|
|
17
|
-
--pf-
|
|
18
|
-
--pf-
|
|
19
|
-
--pf-
|
|
20
|
-
--pf-
|
|
21
|
-
--pf-
|
|
22
|
-
--pf-
|
|
23
|
-
--pf-
|
|
24
|
-
--pf-
|
|
25
|
-
--pf-
|
|
26
|
-
--pf-
|
|
27
|
-
--pf-
|
|
28
|
-
--pf-
|
|
29
|
-
--pf-
|
|
30
|
-
--pf-
|
|
31
|
-
--pf-
|
|
32
|
-
--pf-
|
|
33
|
-
--pf-
|
|
34
|
-
--pf-
|
|
35
|
-
--pf-
|
|
36
|
-
--pf-
|
|
37
|
-
--pf-
|
|
38
|
-
--pf-
|
|
39
|
-
--pf-
|
|
40
|
-
--pf-
|
|
41
|
-
--pf-
|
|
42
|
-
color: var(--pf-
|
|
13
|
+
.pf-v6-c-chip {
|
|
14
|
+
--pf-v6-c-chip--PaddingTop: var(--pf-v6-global--spacer--xs);
|
|
15
|
+
--pf-v6-c-chip--PaddingRight: var(--pf-v6-global--spacer--sm);
|
|
16
|
+
--pf-v6-c-chip--PaddingBottom: var(--pf-v6-global--spacer--xs);
|
|
17
|
+
--pf-v6-c-chip--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
18
|
+
--pf-v6-c-chip--BackgroundColor: var(--pf-v6-global--Color--light-100);
|
|
19
|
+
--pf-v6-c-chip--BorderRadius: var(--pf-v6-global--BorderRadius--sm);
|
|
20
|
+
--pf-v6-c-chip--before--BorderColor: var(--pf-v6-global--BorderColor--300);
|
|
21
|
+
--pf-v6-c-chip--before--BorderWidth: var(--pf-v6-global--BorderWidth--sm);
|
|
22
|
+
--pf-v6-c-chip--before--BorderRadius: var(--pf-v6-c-chip--BorderRadius);
|
|
23
|
+
--pf-v6-c-chip--m-overflow__text--Color: var(--pf-v6-global--primary-color--100);
|
|
24
|
+
--pf-v6-c-chip--m-draggable--BackgroundColor: var(--pf-v6-global--BackgroundColor--200);
|
|
25
|
+
--pf-v6-c-chip--m-draggable--BoxShadow: var(--pf-v6-global--BoxShadow--sm);
|
|
26
|
+
--pf-v6-c-chip--m-draggable__icon--FontSize: var(--pf-v6-global--icon--FontSize--sm);
|
|
27
|
+
--pf-v6-c-chip__content--FontSize: var(--pf-v6-global--FontSize--xs);
|
|
28
|
+
--pf-v6-c-chip__content--ColumnGap: var(--pf-v6-global--spacer--xs);
|
|
29
|
+
--pf-v6-c-chip__text--Color: var(--pf-v6-global--Color--100);
|
|
30
|
+
--pf-v6-c-chip__text--MaxWidth: 16ch;
|
|
31
|
+
--pf-v6-c-chip__c-badge--MarginLeft: var(--pf-v6-global--spacer--xs);
|
|
32
|
+
--pf-v6-c-chip__actions--FontSize: var(--pf-v6-global--FontSize--xs);
|
|
33
|
+
--pf-v6-c-chip__actions--c-button--PaddingTop: var(--pf-v6-global--spacer--xs);
|
|
34
|
+
--pf-v6-c-chip__actions--c-button--PaddingRight: var(--pf-v6-global--spacer--sm);
|
|
35
|
+
--pf-v6-c-chip__actions--c-button--PaddingBottom: var(--pf-v6-global--spacer--xs);
|
|
36
|
+
--pf-v6-c-chip__actions--c-button--PaddingLeft: var(--pf-v6-global--spacer--sm);
|
|
37
|
+
--pf-v6-c-chip__actions--c-button--MarginTop: calc(var(--pf-v6-c-chip--PaddingTop) * -1);
|
|
38
|
+
--pf-v6-c-chip__actions--c-button--MarginRight: calc(var(--pf-v6-c-chip--PaddingRight) / 2 * -1);
|
|
39
|
+
--pf-v6-c-chip__actions--c-button--MarginBottom: calc(var(--pf-v6-c-chip--PaddingBottom) * -1);
|
|
40
|
+
--pf-v6-c-chip__actions--c-button--FontSize: var(--pf-v6-global--FontSize--xs);
|
|
41
|
+
--pf-v6-c-chip__icon--MarginLeft: var(--pf-v6-global--spacer--sm);
|
|
42
|
+
color: var(--pf-v6-global--Color--100);
|
|
43
43
|
position: relative;
|
|
44
44
|
display: inline-flex;
|
|
45
45
|
align-items: center;
|
|
46
46
|
min-width: 0;
|
|
47
|
-
padding-block-start: var(--pf-
|
|
48
|
-
padding-block-end: var(--pf-
|
|
49
|
-
padding-inline-start: var(--pf-
|
|
50
|
-
padding-inline-end: var(--pf-
|
|
47
|
+
padding-block-start: var(--pf-v6-c-chip--PaddingTop);
|
|
48
|
+
padding-block-end: var(--pf-v6-c-chip--PaddingBottom);
|
|
49
|
+
padding-inline-start: var(--pf-v6-c-chip--PaddingLeft);
|
|
50
|
+
padding-inline-end: var(--pf-v6-c-chip--PaddingRight);
|
|
51
51
|
list-style: none;
|
|
52
|
-
background-color: var(--pf-
|
|
53
|
-
border-radius: var(--pf-
|
|
52
|
+
background-color: var(--pf-v6-c-chip--BackgroundColor);
|
|
53
|
+
border-radius: var(--pf-v6-c-chip--BorderRadius);
|
|
54
54
|
}
|
|
55
|
-
.pf-
|
|
55
|
+
.pf-v6-c-chip::before {
|
|
56
56
|
position: absolute;
|
|
57
57
|
inset-block-start: 0;
|
|
58
58
|
inset-block-end: 0;
|
|
59
59
|
inset-inline-start: 0;
|
|
60
60
|
inset-inline-end: 0;
|
|
61
61
|
content: "";
|
|
62
|
-
border: var(--pf-
|
|
63
|
-
border-radius: var(--pf-
|
|
62
|
+
border: var(--pf-v6-c-chip--before--BorderWidth) solid var(--pf-v6-c-chip--before--BorderColor);
|
|
63
|
+
border-radius: var(--pf-v6-c-chip--before--BorderRadius);
|
|
64
64
|
}
|
|
65
|
-
.pf-
|
|
65
|
+
.pf-v6-c-chip.pf-m-overflow {
|
|
66
66
|
border: 0;
|
|
67
67
|
}
|
|
68
|
-
.pf-
|
|
69
|
-
color: var(--pf-
|
|
68
|
+
.pf-v6-c-chip.pf-m-overflow .pf-v6-c-chip__text {
|
|
69
|
+
color: var(--pf-v6-c-chip--m-overflow__text--Color);
|
|
70
70
|
}
|
|
71
|
-
.pf-
|
|
72
|
-
--pf-
|
|
73
|
-
box-shadow: var(--pf-
|
|
71
|
+
.pf-v6-c-chip.pf-m-draggable {
|
|
72
|
+
--pf-v6-c-chip--BackgroundColor: var(--pf-v6-c-chip--m-draggable--BackgroundColor);
|
|
73
|
+
box-shadow: var(--pf-v6-c-chip--m-draggable--BoxShadow);
|
|
74
74
|
}
|
|
75
|
-
.pf-
|
|
76
|
-
font-size: var(--pf-
|
|
75
|
+
.pf-v6-c-chip.pf-m-draggable .pf-v6-c-chip__icon {
|
|
76
|
+
font-size: var(--pf-v6-c-chip--m-draggable__icon--FontSize);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
.pf-
|
|
79
|
+
.pf-v6-c-chip__text {
|
|
80
80
|
overflow: hidden;
|
|
81
81
|
text-overflow: ellipsis;
|
|
82
82
|
white-space: nowrap;
|
|
83
83
|
position: relative;
|
|
84
|
-
max-width: var(--pf-
|
|
85
|
-
color: var(--pf-
|
|
84
|
+
max-width: var(--pf-v6-c-chip__text--MaxWidth);
|
|
85
|
+
color: var(--pf-v6-c-chip__text--Color);
|
|
86
86
|
}
|
|
87
|
-
.pf-
|
|
88
|
-
margin-inline-start: var(--pf-
|
|
87
|
+
.pf-v6-c-chip__text .pf-v6-c-badge {
|
|
88
|
+
margin-inline-start: var(--pf-v6-c-chip__c-badge--MarginLeft);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.pf-
|
|
92
|
-
.pf-
|
|
93
|
-
margin-inline-start: var(--pf-
|
|
91
|
+
.pf-v6-c-chip__icon + .pf-v6-c-chip__text,
|
|
92
|
+
.pf-v6-c-chip__text + .pf-v6-c-chip__icon {
|
|
93
|
+
margin-inline-start: var(--pf-v6-c-chip__icon--MarginLeft);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.pf-
|
|
96
|
+
.pf-v6-c-chip__content {
|
|
97
97
|
display: flex;
|
|
98
|
-
column-gap: var(--pf-
|
|
98
|
+
column-gap: var(--pf-v6-c-chip__content--ColumnGap);
|
|
99
99
|
align-items: center;
|
|
100
|
-
font-size: var(--pf-
|
|
100
|
+
font-size: var(--pf-v6-c-chip__content--FontSize);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.pf-
|
|
104
|
-
font-size: var(--pf-
|
|
103
|
+
.pf-v6-c-chip__actions {
|
|
104
|
+
font-size: var(--pf-v6-c-chip__actions--FontSize);
|
|
105
105
|
}
|
|
106
|
-
.pf-
|
|
107
|
-
--pf-
|
|
108
|
-
--pf-
|
|
109
|
-
--pf-
|
|
110
|
-
--pf-
|
|
111
|
-
--pf-
|
|
112
|
-
margin-block-start: var(--pf-
|
|
113
|
-
margin-block-end: var(--pf-
|
|
114
|
-
margin-inline-end: var(--pf-
|
|
106
|
+
.pf-v6-c-chip__actions .pf-v6-c-button {
|
|
107
|
+
--pf-v6-c-button--PaddingTop: var(--pf-v6-c-chip__actions--c-button--PaddingTop);
|
|
108
|
+
--pf-v6-c-button--PaddingRight: var(--pf-v6-c-chip__actions--c-button--PaddingRight);
|
|
109
|
+
--pf-v6-c-button--PaddingBottom: var(--pf-v6-c-chip__actions--c-button--PaddingBottom);
|
|
110
|
+
--pf-v6-c-button--PaddingLeft: var(--pf-v6-c-chip__actions--c-button--PaddingLeft);
|
|
111
|
+
--pf-v6-c-button--FontSize: var(--pf-v6-c-chip__actions--c-button--FontSize);
|
|
112
|
+
margin-block-start: var(--pf-v6-c-chip__actions--c-button--MarginTop);
|
|
113
|
+
margin-block-end: var(--pf-v6-c-chip__actions--c-button--MarginBottom);
|
|
114
|
+
margin-inline-end: var(--pf-v6-c-chip__actions--c-button--MarginRight);
|
|
115
115
|
line-height: 1;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:where(.pf-
|
|
119
|
-
--pf-
|
|
120
|
-
--pf-
|
|
121
|
-
--pf-
|
|
118
|
+
:where(.pf-v6-theme-dark) .pf-v6-c-chip {
|
|
119
|
+
--pf-v6-c-chip--BackgroundColor: var(--pf-v6-global--BackgroundColor--100);
|
|
120
|
+
--pf-v6-c-chip--before--BorderColor: var(--pf-v6-global--BorderColor--100);
|
|
121
|
+
--pf-v6-c-chip--m-draggable--BackgroundColor: var(--pf-v6-global--palette--black-600);
|
|
122
122
|
}
|