@patternfly/patternfly 6.0.0-alpha.47 → 6.0.0-alpha.48
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/Form/form.css +2 -35
- package/components/Form/form.scss +2 -35
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/docs/components/Form/examples/Form.md +122 -89
- package/docs/demos/Form/examples/BasicForms.md +110 -80
- package/docs/demos/Modal/examples/Modal.md +33 -24
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +11 -8
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/package.json +1 -1
- package/patternfly-no-globals.css +33 -84
- package/patternfly-theme-dark-unversioned.css +33 -84
- package/patternfly.css +33 -84
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Progress/themes/dark/progress.scss +0 -9
package/patternfly.css
CHANGED
|
@@ -15235,20 +15235,7 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
|
15235
15235
|
--pf-v5-c-form__label-required--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
15236
15236
|
--pf-v5-c-form__label-required--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15237
15237
|
--pf-v5-c-form__label-required--Color: var(--pf-t--global--color--status--danger--default);
|
|
15238
|
-
--pf-v5-c-form__group-label-help--BackgroundColor: transparent;
|
|
15239
|
-
--pf-v5-c-form__group-label-help--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
15240
|
-
--pf-v5-c-form__group-label-help--PaddingRight: var(--pf-t--global--spacer--xs);
|
|
15241
|
-
--pf-v5-c-form__group-label-help--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
15242
|
-
--pf-v5-c-form__group-label-help--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
15243
|
-
--pf-v5-c-form__group-label-help--MarginTop: calc(var(--pf-v5-c-form__group-label-help--PaddingTop) * -1);
|
|
15244
|
-
--pf-v5-c-form__group-label-help--MarginRight: calc(var(--pf-v5-c-form__group-label-help--PaddingRight) * -1);
|
|
15245
|
-
--pf-v5-c-form__group-label-help--MarginBottom: calc(var(--pf-v5-c-form__group-label-help--PaddingBottom) * -1);
|
|
15246
|
-
--pf-v5-c-form__group-label-help--MarginLeft: calc(var(--pf-v5-c-form__group-label-help--PaddingLeft) * -1 + var(--pf-t--global--spacer--xs));
|
|
15247
15238
|
--pf-v5-c-form__group-label-help--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15248
|
-
--pf-v5-c-form__group-label-help--TranslateY: 0.125rem;
|
|
15249
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-t--global--icon--color--regular);
|
|
15250
|
-
--pf-v5-c-form__group-label-help--hover--Color: var(--pf-t--global--icon--color--regular);
|
|
15251
|
-
--pf-v5-c-form__group-label-help--focus--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
15252
15239
|
--pf-v5-c-form__group-label-info--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
15253
15240
|
--pf-v5-c-form__group-label-info--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
15254
15241
|
--pf-v5-c-form__group-control--m-inline--child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
@@ -15530,28 +15517,8 @@ label.pf-v5-c-check, .pf-v5-c-check__label,
|
|
|
15530
15517
|
color: var(--pf-v5-c-form__label-required--Color);
|
|
15531
15518
|
}
|
|
15532
15519
|
|
|
15533
|
-
.pf-v5-c-form__group-label-help {
|
|
15534
|
-
|
|
15535
|
-
padding-block-end: var(--pf-v5-c-form__group-label-help--PaddingBottom);
|
|
15536
|
-
padding-inline-start: var(--pf-v5-c-form__group-label-help--PaddingLeft);
|
|
15537
|
-
padding-inline-end: var(--pf-v5-c-form__group-label-help--PaddingRight);
|
|
15538
|
-
margin-block-start: var(--pf-v5-c-form__group-label-help--MarginTop);
|
|
15539
|
-
margin-block-end: var(--pf-v5-c-form__group-label-help--MarginBottom);
|
|
15540
|
-
margin-inline-start: var(--pf-v5-c-form__group-label-help--MarginLeft);
|
|
15541
|
-
margin-inline-end: var(--pf-v5-c-form__group-label-help--MarginRight);
|
|
15542
|
-
font-size: var(--pf-v5-c-form__group-label-help--FontSize);
|
|
15543
|
-
line-height: 1;
|
|
15544
|
-
color: var(--pf-v5-c-form__group-label-help--Color);
|
|
15545
|
-
cursor: pointer;
|
|
15546
|
-
background-color: var(--pf-v5-c-form__group-label-help--BackgroundColor);
|
|
15547
|
-
border: 0;
|
|
15548
|
-
transform: translateY(var(--pf-v5-c-form__group-label-help--TranslateY));
|
|
15549
|
-
}
|
|
15550
|
-
.pf-v5-c-form__group-label-help:hover {
|
|
15551
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--hover--Color);
|
|
15552
|
-
}
|
|
15553
|
-
.pf-v5-c-form__group-label-help:focus-within {
|
|
15554
|
-
--pf-v5-c-form__group-label-help--Color: var(--pf-v5-c-form__group-label-help--focus--Color);
|
|
15520
|
+
.pf-v5-c-form__group-label-help .pf-v5-c-button {
|
|
15521
|
+
--pf-v5-c-button--FontSize: var(--pf-v5-c-form__group-label-help--FontSize);
|
|
15555
15522
|
}
|
|
15556
15523
|
|
|
15557
15524
|
.pf-v5-c-form__group-control {
|
|
@@ -22943,34 +22910,36 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22943
22910
|
margin-block-start: var(--pf-v5-c-popover__footer--MarginTop);
|
|
22944
22911
|
}
|
|
22945
22912
|
|
|
22913
|
+
:root,
|
|
22946
22914
|
.pf-v5-c-progress {
|
|
22947
|
-
--pf-v5-c-progress--GridGap: var(--pf-
|
|
22948
|
-
--pf-v5-c-progress__bar--
|
|
22949
|
-
--pf-v5-c-progress__bar--
|
|
22950
|
-
--pf-v5-c-progress__bar--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-100);
|
|
22915
|
+
--pf-v5-c-progress--GridGap: var(--pf-t--global--spacer--md);
|
|
22916
|
+
--pf-v5-c-progress__bar--Height: var(--pf-t--global--spacer--md);
|
|
22917
|
+
--pf-v5-c-progress__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
22951
22918
|
--pf-v5-c-progress__measure--m-static-width--MinWidth: 4.5ch;
|
|
22952
|
-
--pf-v5-c-progress__status--Gap: var(--pf-
|
|
22953
|
-
--pf-v5-c-progress__status-icon--Color: var(--pf-
|
|
22954
|
-
--pf-v5-c-progress__bar--before--Opacity: .2;
|
|
22919
|
+
--pf-v5-c-progress__status--Gap: var(--pf-t--global--spacer--sm);
|
|
22920
|
+
--pf-v5-c-progress__status-icon--Color: var(--pf-t--global--icon--color--regular);
|
|
22955
22921
|
--pf-v5-c-progress__indicator--Height: var(--pf-v5-c-progress__bar--Height);
|
|
22956
|
-
--pf-v5-c-progress__indicator--BackgroundColor: var(--pf-
|
|
22957
|
-
--pf-v5-c-progress__helper-text--MarginTop: calc(var(--pf-
|
|
22958
|
-
--pf-v5-c-progress--m-
|
|
22959
|
-
--pf-v5-c-progress--m-
|
|
22960
|
-
--pf-v5-c-progress--m-
|
|
22961
|
-
--pf-v5-c-progress--m-success__status-icon--Color: var(--pf-
|
|
22962
|
-
--pf-v5-c-progress--m-warning__status-icon--Color: var(--pf-
|
|
22963
|
-
--pf-v5-c-progress--m-danger__status-icon--Color: var(--pf-
|
|
22964
|
-
--pf-v5-c-progress--m-inside__indicator--MinWidth: var(--pf-
|
|
22965
|
-
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-
|
|
22966
|
-
--pf-v5-c-progress--m-success--m-inside__measure--Color: var(--pf-
|
|
22967
|
-
--pf-v5-c-progress--m-warning--m-inside__measure--Color: var(--pf-
|
|
22968
|
-
--pf-v5-c-progress--m-inside__measure--
|
|
22969
|
-
--pf-v5-c-progress--m-
|
|
22970
|
-
--pf-v5-c-progress--m-
|
|
22971
|
-
--pf-v5-c-progress--m-
|
|
22972
|
-
--pf-v5-c-progress--m-sm__measure--FontSize: var(--pf-
|
|
22973
|
-
--pf-v5-c-progress--m-lg__bar--Height: var(--pf-
|
|
22922
|
+
--pf-v5-c-progress__indicator--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
22923
|
+
--pf-v5-c-progress__helper-text--MarginTop: calc(var(--pf-t--global--spacer--sm) - var(--pf-v5-c-progress--GridGap));
|
|
22924
|
+
--pf-v5-c-progress--m-success__indicator--BackgroundColor: var(--pf-t--global--color--status--success--default);
|
|
22925
|
+
--pf-v5-c-progress--m-warning__indicator--BackgroundColor: var(--pf-t--global--color--status--warning--default);
|
|
22926
|
+
--pf-v5-c-progress--m-danger__indicator--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
|
22927
|
+
--pf-v5-c-progress--m-success__status-icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
22928
|
+
--pf-v5-c-progress--m-warning__status-icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
22929
|
+
--pf-v5-c-progress--m-danger__status-icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
22930
|
+
--pf-v5-c-progress--m-inside__indicator--MinWidth: var(--pf-t--global--spacer--xl);
|
|
22931
|
+
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-t--global--text--color--on-brand--default);
|
|
22932
|
+
--pf-v5-c-progress--m-success--m-inside__measure--Color: var(--pf-t--global--text--color--status--on-success--default);
|
|
22933
|
+
--pf-v5-c-progress--m-warning--m-inside__measure--Color: var(--pf-t--global--text--color--status--on-warning--default);
|
|
22934
|
+
--pf-v5-c-progress--m-danger--m-inside__measure--Color: var(--pf-t--global--text--color--status--on-danger--default);
|
|
22935
|
+
--pf-v5-c-progress--m-inside__measure--FontSize: var(--pf-t--global--font--size--sm);
|
|
22936
|
+
--pf-v5-c-progress--m-outside__measure--FontSize: var(--pf-t--global--font--size--sm);
|
|
22937
|
+
--pf-v5-c-progress--m-sm__bar--Height: var(--pf-t--global--spacer--sm);
|
|
22938
|
+
--pf-v5-c-progress--m-sm__measure--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
22939
|
+
--pf-v5-c-progress--m-lg__bar--Height: var(--pf-t--global--spacer--lg);
|
|
22940
|
+
}
|
|
22941
|
+
|
|
22942
|
+
.pf-v5-c-progress {
|
|
22974
22943
|
display: grid;
|
|
22975
22944
|
grid-template-rows: 1fr auto;
|
|
22976
22945
|
grid-template-columns: auto auto;
|
|
@@ -22980,9 +22949,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
22980
22949
|
.pf-v5-c-progress.pf-m-sm {
|
|
22981
22950
|
--pf-v5-c-progress__bar--Height: var(--pf-v5-c-progress--m-sm__bar--Height);
|
|
22982
22951
|
}
|
|
22983
|
-
.pf-v5-c-progress.pf-m-sm .pf-v5-c-progress__description {
|
|
22984
|
-
font-size: var(--pf-v5-c-progress--m-sm__description--FontSize);
|
|
22985
|
-
}
|
|
22986
22952
|
.pf-v5-c-progress.pf-m-sm .pf-v5-c-progress__measure {
|
|
22987
22953
|
font-size: var(--pf-v5-c-progress--m-sm__measure--FontSize);
|
|
22988
22954
|
}
|
|
@@ -23038,18 +23004,19 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23038
23004
|
grid-template-columns: 1fr fit-content(50%);
|
|
23039
23005
|
}
|
|
23040
23006
|
.pf-v5-c-progress.pf-m-success {
|
|
23041
|
-
--pf-v5-c-
|
|
23007
|
+
--pf-v5-c-progress__indicator--BackgroundColor: var(--pf-v5-c-progress--m-success__indicator--BackgroundColor);
|
|
23042
23008
|
--pf-v5-c-progress__status-icon--Color: var(--pf-v5-c-progress--m-success__status-icon--Color);
|
|
23043
23009
|
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-v5-c-progress--m-success--m-inside__measure--Color);
|
|
23044
23010
|
}
|
|
23045
23011
|
.pf-v5-c-progress.pf-m-warning {
|
|
23046
|
-
--pf-v5-c-
|
|
23012
|
+
--pf-v5-c-progress__indicator--BackgroundColor: var(--pf-v5-c-progress--m-warning__indicator--BackgroundColor);
|
|
23047
23013
|
--pf-v5-c-progress__status-icon--Color: var(--pf-v5-c-progress--m-warning__status-icon--Color);
|
|
23048
23014
|
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-v5-c-progress--m-warning--m-inside__measure--Color);
|
|
23049
23015
|
}
|
|
23050
23016
|
.pf-v5-c-progress.pf-m-danger {
|
|
23051
|
-
--pf-v5-c-
|
|
23017
|
+
--pf-v5-c-progress__indicator--BackgroundColor: var(--pf-v5-c-progress--m-danger__indicator--BackgroundColor);
|
|
23052
23018
|
--pf-v5-c-progress__status-icon--Color: var(--pf-v5-c-progress--m-danger__status-icon--Color);
|
|
23019
|
+
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-v5-c-progress--m-danger--m-inside__measure--Color);
|
|
23053
23020
|
}
|
|
23054
23021
|
|
|
23055
23022
|
.pf-v5-c-progress__description {
|
|
@@ -23091,14 +23058,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23091
23058
|
height: var(--pf-v5-c-progress__bar--Height);
|
|
23092
23059
|
background-color: var(--pf-v5-c-progress__bar--BackgroundColor);
|
|
23093
23060
|
}
|
|
23094
|
-
.pf-v5-c-progress__bar::before {
|
|
23095
|
-
position: absolute;
|
|
23096
|
-
width: 100%;
|
|
23097
|
-
height: 100%;
|
|
23098
|
-
content: "";
|
|
23099
|
-
background-color: var(--pf-v5-c-progress__bar--before--BackgroundColor);
|
|
23100
|
-
opacity: var(--pf-v5-c-progress__bar--before--Opacity);
|
|
23101
|
-
}
|
|
23102
23061
|
|
|
23103
23062
|
.pf-v5-c-progress__indicator {
|
|
23104
23063
|
position: absolute;
|
|
@@ -23112,16 +23071,6 @@ label.pf-v5-c-menu__item:where(:not([disabled], .pf-m-disabled, .pf-m-aria-disab
|
|
|
23112
23071
|
margin-block-start: var(--pf-v5-c-progress__helper-text--MarginTop);
|
|
23113
23072
|
}
|
|
23114
23073
|
|
|
23115
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-wizard__header .pf-v5-c-button, :where(.pf-v5-theme-dark) .pf-v5-c-log-viewer.pf-m-dark .pf-v5-c-log-viewer__main .pf-v5-c-button {
|
|
23116
|
-
--pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
|
23117
|
-
}
|
|
23118
|
-
|
|
23119
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-progress {
|
|
23120
|
-
--pf-v5-c-progress--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
|
|
23121
|
-
--pf-v5-c-progress--m-success--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
|
|
23122
|
-
--pf-v5-c-progress--m-warning--m-inside__measure--Color: var(--pf-v5-global--palette--black-900);
|
|
23123
|
-
}
|
|
23124
|
-
|
|
23125
23074
|
.pf-v5-c-progress-stepper {
|
|
23126
23075
|
--pf-v5-c-progress-stepper--m-vertical--GridAutoFlow: row;
|
|
23127
23076
|
--pf-v5-c-progress-stepper--m-vertical--GridTemplateColumns: auto 1fr;
|