@patternfly/patternfly 6.3.0-prerelease.9 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/icon-outlined-star.hbs +3 -0
- package/assets/images/icon-star.hbs +3 -0
- package/base/patternfly-common.css +46 -11
- package/base/patternfly-common.scss +58 -13
- package/components/Accordion/accordion.css +72 -3
- package/components/Accordion/accordion.scss +78 -6
- package/components/Alert/alert-group.css +52 -31
- package/components/Alert/alert-group.scss +77 -46
- package/components/Button/button.css +154 -6
- package/components/Button/button.scss +160 -8
- package/components/DataList/data-list.css +2 -2
- package/components/DataList/data-list.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +36 -0
- package/components/DualListSelector/dual-list-selector.scss +43 -0
- package/components/ExpandableSection/expandable-section.css +63 -1
- package/components/ExpandableSection/expandable-section.scss +76 -2
- package/components/FileUpload/file-upload.css +3 -3
- package/components/FileUpload/file-upload.scss +3 -3
- package/components/Form/form.css +40 -1
- package/components/Form/form.scss +47 -1
- package/components/FormControl/form-control.css +16 -0
- package/components/FormControl/form-control.scss +9 -0
- package/components/InputGroup/input-group.css +80 -0
- package/components/InputGroup/input-group.scss +95 -0
- package/components/Menu/menu.css +24 -4
- package/components/Menu/menu.scss +20 -5
- package/components/MenuToggle/menu-toggle.css +30 -0
- package/components/MenuToggle/menu-toggle.scss +33 -0
- package/components/Nav/nav.css +22 -8
- package/components/Nav/nav.scss +22 -9
- package/components/Page/page.css +62 -3
- package/components/Page/page.scss +44 -3
- package/components/Progress/progress.css +16 -0
- package/components/Progress/progress.scss +11 -1
- package/components/ProgressStepper/progress-stepper.scss +1 -0
- package/components/Spinner/spinner.css +5 -0
- package/components/Spinner/spinner.scss +6 -0
- package/components/Table/table-grid.css +51 -5
- package/components/Table/table-grid.scss +22 -1
- package/components/Table/table.css +83 -1
- package/components/Table/table.scss +123 -1
- package/components/Tabs/tabs.css +25 -15
- package/components/Tabs/tabs.scss +26 -13
- package/components/TextInputGroup/text-input-group.css +16 -0
- package/components/TextInputGroup/text-input-group.scss +8 -0
- package/components/Timestamp/timestamp.css +4 -0
- package/components/Timestamp/timestamp.scss +7 -0
- package/components/TreeView/tree-view.css +39 -0
- package/components/TreeView/tree-view.scss +42 -2
- package/components/Truncate/truncate.css +1 -0
- package/components/Truncate/truncate.scss +3 -0
- package/components/_index.css +896 -83
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.md +148 -5
- package/docs/components/Card/examples/Card.md +8 -8
- package/docs/components/CodeBlock/examples/CodeBlock.md +5 -5
- package/docs/components/DataList/examples/DataList.md +23 -23
- package/docs/components/DualListSelector/examples/DualListSelector.md +534 -16
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +17 -12
- package/docs/components/Form/examples/Form.md +1047 -126
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/InlineEdit/examples/InlineEdit.md +2 -2
- package/docs/components/InputGroup/examples/InputGroup.md +5 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +1 -1
- package/docs/components/Masthead/examples/masthead.md +90 -12
- package/docs/components/Menu/examples/Menu.md +122 -6
- package/docs/components/MenuToggle/examples/MenuToggle.md +90 -51
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +2 -10
- package/docs/components/OverflowMenu/examples/overflow-menu.md +5 -5
- package/docs/components/Page/examples/Page.md +147 -14
- package/docs/components/Pagination/examples/Pagination.md +12 -12
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
- package/docs/components/Slider/examples/Slider.md +2 -2
- package/docs/components/Spinner/examples/Spinner.md +10 -0
- package/docs/components/Table/examples/Table.md +9428 -6173
- package/docs/components/Tabs/examples/Tabs.md +1214 -6729
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +45 -5
- package/docs/components/Toolbar/examples/Toolbar.md +7 -7
- package/docs/demos/AboutModal/examples/AboutModal.md +22 -3
- package/docs/demos/Alert/examples/Alert.md +66 -9
- package/docs/demos/BackToTop/examples/BackToTop.md +22 -3
- package/docs/demos/Banner/examples/Banner.md +47 -6
- package/docs/demos/Card/examples/Card.md +5 -62
- package/docs/demos/CardView/examples/CardView.md +24 -5
- package/docs/demos/Dashboard/examples/Dashboard.md +24 -5
- package/docs/demos/DataList/examples/DataList.md +100 -24
- package/docs/demos/DescriptionList/examples/DescriptionList.md +66 -47
- package/docs/demos/Drawer/examples/Drawer.md +110 -53
- package/docs/demos/Form/examples/BasicForms.md +12 -12
- package/docs/demos/JumpLinks/examples/JumpLinks.md +132 -18
- package/docs/demos/Masthead/examples/Masthead.md +170 -18
- package/docs/demos/Modal/examples/Modal.md +132 -18
- package/docs/demos/Nav/examples/Nav.md +111 -16
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +110 -15
- package/docs/demos/Page/examples/Page.md +309 -43
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -103
- package/docs/demos/Skeleton/examples/Skeleton.md +22 -3
- package/docs/demos/Table/examples/Table.md +449 -155
- package/docs/demos/Tabs/examples/Tabs.md +137 -593
- package/docs/demos/Toolbar/examples/Toolbar.md +72 -34
- package/docs/demos/Wizard/examples/Wizard.md +198 -27
- package/package.json +5 -5
- package/patternfly-base-no-globals.css +45 -11
- package/patternfly-base.css +45 -11
- package/patternfly-no-globals.css +941 -94
- package/patternfly.css +941 -94
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +54 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '../sass-utilities/functions' as *;
|
|
2
2
|
@use '../sass-utilities/init' as *;
|
|
3
3
|
@use '../sass-utilities/scss-variables' as *;
|
|
4
|
+
@use '../sass-utilities/namespaces-components' as *;
|
|
4
5
|
|
|
5
6
|
// Media query used to create responsive classes
|
|
6
7
|
@mixin pf-v6-media-query($point) {
|
|
@@ -276,6 +277,25 @@
|
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
279
|
|
|
280
|
+
// Animate error state on form elements
|
|
281
|
+
@mixin pf-v6-animate-danger-jiggle {
|
|
282
|
+
translate: var(--#{$pf-global}--danger-jiggle--TranslateX, 0);
|
|
283
|
+
animation-name: #{$pf-global}-danger-jiggle-motion;
|
|
284
|
+
animation-duration: var(--#{$pf-global}--danger-jiggle--AnimationDuration--Transform);
|
|
285
|
+
animation-timing-function: var(--#{$pf-global}--danger-jiggle--AnimationTimingFunction--Transform);
|
|
286
|
+
animation-fill-mode: both;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// Animate default fade in/out
|
|
290
|
+
@mixin pf-v6-fade-default($element) {
|
|
291
|
+
--#{$element}--TransitionDuration--Opacity: var(--pf-t--global--motion--duration--fade--default);
|
|
292
|
+
--#{$element}--TransitionTimingFunction--Opacity: var(--pf-t--global--motion--timing-function--default);
|
|
293
|
+
|
|
294
|
+
animation-name: #{$pf-global}-fade-in;
|
|
295
|
+
animation-duration: var(--#{$element}--TransitionDuration--Opacity);
|
|
296
|
+
animation-timing-function: var(--#{$element}--TransitionTimingFunction--Opacity);
|
|
297
|
+
}
|
|
298
|
+
|
|
279
299
|
// Build variable stack
|
|
280
300
|
@mixin pf-v6-build-css-variable-stack($prop, $css-var, $breakpoint-map: $pf-v6-global--breakpoint-map, $important: false) {
|
|
281
301
|
$list: ();
|
|
@@ -410,6 +430,7 @@
|
|
|
410
430
|
scale: -1 1;
|
|
411
431
|
}
|
|
412
432
|
|
|
433
|
+
|
|
413
434
|
@mixin pf-v6-mirror-inline-on-rtl {
|
|
414
435
|
@include pf-v6-rtl {
|
|
415
436
|
@include pf-v6-mirror-inline;
|
|
@@ -427,3 +448,36 @@
|
|
|
427
448
|
@content
|
|
428
449
|
}
|
|
429
450
|
}
|
|
451
|
+
|
|
452
|
+
// Sets hamburger styles. Defaults to expand styles (right arrow)
|
|
453
|
+
// $collapse - if true, changes to left arrow
|
|
454
|
+
// $reset - will reset the bars to the default (no arrow)
|
|
455
|
+
@mixin pf-v6-hamburger($collapse: false, $reset: false) {
|
|
456
|
+
@if $reset {
|
|
457
|
+
--#{$button}--hamburger-icon--top--path: var(--#{$button}--hamburger-icon--top--path--base);
|
|
458
|
+
--#{$button}--hamburger-icon--arrow--path: var(--#{$button}--hamburger-icon--arrow--path--base);
|
|
459
|
+
--#{$button}--hamburger-icon--bottom--path: var(--#{$button}--hamburger-icon--bottom--path--base);
|
|
460
|
+
--#{$button}__icon--TransitionDelay: var(--#{$button}--hamburger-icon--TransitionDuration);
|
|
461
|
+
--#{$button}--hover__icon--TransitionDelay: var(--#{$button}--hamburger-icon--TransitionDuration);
|
|
462
|
+
} @else {
|
|
463
|
+
// set direction vars
|
|
464
|
+
--#{$button}--hamburger-icon--top--path: var(--#{$button}--hamburger-icon--top--collapse--path);
|
|
465
|
+
--#{$button}--hamburger-icon--arrow--path: var(--#{$button}--hamburger-icon--arrow--collapse--path);
|
|
466
|
+
--#{$button}--hamburger-icon--bottom--path: var(--#{$button}--hamburger-icon--bottom--collapse--path);
|
|
467
|
+
|
|
468
|
+
// collapse
|
|
469
|
+
@if $collapse {
|
|
470
|
+
--#{$button}__icon--TransitionDelay: 0s;
|
|
471
|
+
--#{$button}__icon--ScaleX: 1;
|
|
472
|
+
--#{$button}--hover__icon--TransitionDelay: 0s;
|
|
473
|
+
--#{$button}--hover__icon--ScaleX: 1;
|
|
474
|
+
|
|
475
|
+
// expand
|
|
476
|
+
} @else {
|
|
477
|
+
--#{$button}__icon--TransitionDelay: 0s;
|
|
478
|
+
--#{$button}__icon--ScaleX: var(--#{$button}--m-hamburger__icon--m-expand--ScaleX);
|
|
479
|
+
--#{$button}--hover__icon--TransitionDelay: 0s;
|
|
480
|
+
--#{$button}--hover__icon--ScaleX: var(--#{$button}--m-hamburger__icon--m-expand--ScaleX);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|