@patternfly/patternfly 6.5.0-prerelease.66 → 6.5.0-prerelease.68
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/components/Accordion/accordion.css +1 -2
- package/components/Accordion/accordion.scss +2 -2
- package/components/Card/card.css +8 -0
- package/components/Card/card.scss +13 -0
- package/components/DataList/data-list.css +1 -1
- package/components/DataList/data-list.scss +2 -2
- package/components/Drawer/drawer.css +3 -5
- package/components/Drawer/drawer.scss +7 -9
- package/components/OverflowMenu/overflow-menu.css +16 -0
- package/components/OverflowMenu/overflow-menu.scss +20 -1
- package/components/Page/page.css +11 -11
- package/components/Page/page.scss +2 -2
- package/components/Table/table.css +1 -2
- package/components/Table/table.scss +2 -2
- package/components/Toolbar/toolbar.css +100 -0
- package/components/Toolbar/toolbar.scss +2 -2
- package/components/Wizard/wizard.css +2 -2
- package/components/Wizard/wizard.scss +4 -4
- package/components/_index.css +143 -23
- package/docs/components/ActionList/examples/ActionList.md +2 -2
- package/docs/components/Alert/examples/Alert.md +4 -4
- package/docs/components/Button/examples/Button.md +1 -1
- package/docs/components/Icon/examples/Icon.md +13 -1
- package/docs/components/Menu/examples/Menu.md +26 -2
- package/docs/components/MenuToggle/examples/MenuToggle.md +172 -64
- package/docs/components/OverflowMenu/examples/overflow-menu.css +6 -3
- package/docs/components/OverflowMenu/examples/overflow-menu.md +21 -0
- package/docs/components/Toolbar/examples/Toolbar.md +106 -7
- package/docs/components/TreeView/examples/TreeView.md +4 -4
- package/docs/components/Wizard/examples/Wizard.md +1 -1
- package/docs/demos/AboutModal/examples/AboutModal.md +23 -15
- package/docs/demos/Alert/examples/Alert.md +69 -45
- package/docs/demos/BackToTop/examples/BackToTop.md +23 -15
- package/docs/demos/Banner/examples/Banner.md +46 -30
- package/docs/demos/CardView/examples/CardView.md +36 -16
- package/docs/demos/Compass/examples/Compass.md +76 -19
- package/docs/demos/Dashboard/examples/Dashboard.md +23 -15
- package/docs/demos/DataList/examples/DataList.md +157 -65
- package/docs/demos/DescriptionList/examples/DescriptionList.md +69 -45
- package/docs/demos/Drawer/examples/Drawer.md +115 -75
- package/docs/demos/JumpLinks/examples/JumpLinks.md +138 -90
- package/docs/demos/Masthead/examples/Masthead.md +101 -21
- package/docs/demos/Modal/examples/Modal.md +138 -90
- package/docs/demos/Nav/examples/Nav.md +188 -120
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +115 -75
- package/docs/demos/Page/examples/Page.md +361 -213
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +265 -113
- package/docs/demos/Skeleton/examples/Skeleton.md +23 -15
- package/docs/demos/Table/examples/Table.md +711 -271
- package/docs/demos/Tabs/examples/Tabs.md +151 -91
- package/docs/demos/Toolbar/examples/Toolbar.md +124 -36
- package/docs/demos/Wizard/examples/Wizard.md +207 -135
- package/package.json +1 -1
- package/patternfly-no-globals.css +143 -23
- package/patternfly.css +143 -23
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +16 -1
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
-ms-overflow-style: -ms-autohiding-scrollbar; // auto hides scrollbars in Edge
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
@mixin pf-v6-hidden-visible($val: "block") {
|
|
199
|
+
@mixin pf-v6-hidden-visible($val: "block", $ifIncludeHeight: false) {
|
|
200
200
|
// stylelint-disable-next-line
|
|
201
201
|
--#{$pf-prefix}hidden-visible--visible--Display: #{$val};
|
|
202
202
|
|
|
@@ -218,6 +218,21 @@
|
|
|
218
218
|
--#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
+
// only apply height breakpoints if $ifIncludeHeight is true
|
|
222
|
+
@if $ifIncludeHeight {
|
|
223
|
+
@each $size, $bp in $pf-v6-global--height-breakpoint-name-map {
|
|
224
|
+
@media screen and (min-height: $bp) {
|
|
225
|
+
&.pf-m-hidden-on-#{$size}-height {
|
|
226
|
+
--#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--hidden--Display);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.pf-m-visible-on-#{$size}-height {
|
|
230
|
+
--#{$pf-prefix}hidden-visible--Display: var(--#{$pf-prefix}hidden-visible--visible--Display);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
221
236
|
@each $size, $bp in $pf-v6-global--breakpoint-name-map {
|
|
222
237
|
@media screen and (min-width: $bp) {
|
|
223
238
|
&.pf-m-hidden-on-#{$size} {
|