@patternfly/react-styles 4.75.6 → 4.75.9
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/CHANGELOG.md +27 -0
- package/css/components/Drawer/drawer.css +1 -1
- package/css/components/Menu/menu.css +1 -0
- package/css/components/NumberInput/number-input.css +11 -1
- package/css/components/NumberInput/number-input.d.ts +3 -0
- package/css/components/NumberInput/number-input.js +3 -0
- package/css/components/NumberInput/number-input.mjs +3 -0
- package/css/components/Page/page.css +11 -5
- package/css/utilities/Text/text.css +0 -18
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,33 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
## 4.75.9 (2022-07-21)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## 4.75.8 (2022-07-21)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @patternfly/react-styles
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
## 4.75.7 (2022-07-20)
|
23
|
+
|
24
|
+
|
25
|
+
### Bug Fixes
|
26
|
+
|
27
|
+
* **Switch:** aria labelledby to update with change ([#7557](https://github.com/patternfly/patternfly-react/issues/7557)) ([9647a0c](https://github.com/patternfly/patternfly-react/commit/9647a0c7f7eb2174f006774b4406408bd065fddc))
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
6
33
|
## 4.75.6 (2022-07-20)
|
7
34
|
|
8
35
|
**Note:** Version bump only for package @patternfly/react-styles
|
@@ -10,11 +10,21 @@
|
|
10
10
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
11
11
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
12
12
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
13
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
14
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl);
|
13
15
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
14
|
-
--pf-c-number-input--c-form-control--Width:
|
16
|
+
--pf-c-number-input--c-form-control--Width:
|
17
|
+
calc(
|
18
|
+
calc(
|
19
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
20
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
21
|
+
);
|
15
22
|
display: inline-flex;
|
16
23
|
align-items: center;
|
17
24
|
}
|
25
|
+
.pf-c-number-input.pf-m-status {
|
26
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
27
|
+
}
|
18
28
|
.pf-c-number-input .pf-c-form-control {
|
19
29
|
display: inline-flex;
|
20
30
|
width: var(--pf-c-number-input--c-form-control--Width);
|
@@ -2,6 +2,9 @@ import './number-input.css';
|
|
2
2
|
declare const _default: {
|
3
3
|
"formControl": "pf-c-form-control",
|
4
4
|
"inputGroup": "pf-c-input-group",
|
5
|
+
"modifiers": {
|
6
|
+
"status": "pf-m-status"
|
7
|
+
},
|
5
8
|
"numberInput": "pf-c-number-input",
|
6
9
|
"numberInputIcon": "pf-c-number-input__icon",
|
7
10
|
"numberInputUnit": "pf-c-number-input__unit"
|
@@ -4,6 +4,9 @@ require('./number-input.css');
|
|
4
4
|
exports.default = {
|
5
5
|
"formControl": "pf-c-form-control",
|
6
6
|
"inputGroup": "pf-c-input-group",
|
7
|
+
"modifiers": {
|
8
|
+
"status": "pf-m-status"
|
9
|
+
},
|
7
10
|
"numberInput": "pf-c-number-input",
|
8
11
|
"numberInputIcon": "pf-c-number-input__icon",
|
9
12
|
"numberInputUnit": "pf-c-number-input__unit"
|
@@ -2,6 +2,9 @@ import('./number-input.css');
|
|
2
2
|
export default {
|
3
3
|
"formControl": "pf-c-form-control",
|
4
4
|
"inputGroup": "pf-c-input-group",
|
5
|
+
"modifiers": {
|
6
|
+
"status": "pf-m-status"
|
7
|
+
},
|
5
8
|
"numberInput": "pf-c-number-input",
|
6
9
|
"numberInputIcon": "pf-c-number-input__icon",
|
7
10
|
"numberInputUnit": "pf-c-number-input__unit"
|
@@ -143,6 +143,8 @@
|
|
143
143
|
--pf-c-page__sidebar--Width: 18.125rem;
|
144
144
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
145
145
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
146
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
147
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
146
148
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
147
149
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
148
150
|
--pf-c-page__sidebar--TranslateX: -100%;
|
@@ -415,15 +417,15 @@
|
|
415
417
|
transition: var(--pf-c-page__sidebar--Transition);
|
416
418
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
417
419
|
}
|
418
|
-
@media screen and (min-width: 1200px) {
|
419
|
-
.pf-c-page__sidebar {
|
420
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
421
|
-
}
|
422
|
-
}
|
423
420
|
.pf-c-page__sidebar.pf-m-expanded {
|
424
421
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
425
422
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
426
423
|
}
|
424
|
+
@media screen and (min-width: 1200px) {
|
425
|
+
.pf-c-page__sidebar.pf-m-expanded {
|
426
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
427
|
+
}
|
428
|
+
}
|
427
429
|
.pf-c-page__sidebar.pf-m-collapsed {
|
428
430
|
max-width: 0;
|
429
431
|
overflow: hidden;
|
@@ -431,6 +433,7 @@
|
|
431
433
|
.pf-c-page__sidebar.pf-m-light {
|
432
434
|
color: var(--pf-global--Color--100);
|
433
435
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
436
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
434
437
|
}
|
435
438
|
|
436
439
|
.pf-c-page__sidebar-body {
|
@@ -954,6 +957,9 @@
|
|
954
957
|
:where(.pf-theme-dark) .pf-c-page__header-tools-item.pf-m-selected .pf-c-button .pf-c-notification-badge:hover::before {
|
955
958
|
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
956
959
|
}
|
960
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar {
|
961
|
+
border-right: var(--pf-global--BorderWidth--sm) solid var(--pf-global--BorderColor--100);
|
962
|
+
}
|
957
963
|
:where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-top, :where(.pf-theme-dark) .pf-c-page__main-nav.pf-m-sticky-bottom {
|
958
964
|
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
959
965
|
}
|
@@ -953,9 +953,6 @@
|
|
953
953
|
:where(.pf-theme-dark) .pf-u-color-light-200 {
|
954
954
|
color: var(--pf-global--Color-200) !important;
|
955
955
|
}
|
956
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited {
|
957
|
-
color: var(--pf-global--palette--purple-200) !important;
|
958
|
-
}
|
959
956
|
:where(.pf-theme-dark) .pf-u-default-color-300 {
|
960
957
|
color: var(--pf-global--default-color--100) !important;
|
961
958
|
}
|
@@ -981,9 +978,6 @@
|
|
981
978
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-sm {
|
982
979
|
color: var(--pf-global--Color-200) !important;
|
983
980
|
}
|
984
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-sm {
|
985
|
-
color: var(--pf-global--palette--purple-200) !important;
|
986
|
-
}
|
987
981
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-sm {
|
988
982
|
color: var(--pf-global--default-color--100) !important;
|
989
983
|
}
|
@@ -1010,9 +1004,6 @@
|
|
1010
1004
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-md {
|
1011
1005
|
color: var(--pf-global--Color-200) !important;
|
1012
1006
|
}
|
1013
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-md {
|
1014
|
-
color: var(--pf-global--palette--purple-200) !important;
|
1015
|
-
}
|
1016
1007
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-md {
|
1017
1008
|
color: var(--pf-global--default-color--100) !important;
|
1018
1009
|
}
|
@@ -1039,9 +1030,6 @@
|
|
1039
1030
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-lg {
|
1040
1031
|
color: var(--pf-global--Color-200) !important;
|
1041
1032
|
}
|
1042
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-lg {
|
1043
|
-
color: var(--pf-global--palette--purple-200) !important;
|
1044
|
-
}
|
1045
1033
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-lg {
|
1046
1034
|
color: var(--pf-global--default-color--100) !important;
|
1047
1035
|
}
|
@@ -1068,9 +1056,6 @@
|
|
1068
1056
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-xl {
|
1069
1057
|
color: var(--pf-global--Color-200) !important;
|
1070
1058
|
}
|
1071
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-xl {
|
1072
|
-
color: var(--pf-global--palette--purple-200) !important;
|
1073
|
-
}
|
1074
1059
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-xl {
|
1075
1060
|
color: var(--pf-global--default-color--100) !important;
|
1076
1061
|
}
|
@@ -1097,9 +1082,6 @@
|
|
1097
1082
|
:where(.pf-theme-dark) .pf-u-color-light-200-on-2xl {
|
1098
1083
|
color: var(--pf-global--Color-200) !important;
|
1099
1084
|
}
|
1100
|
-
:where(.pf-theme-dark) .pf-u-link-color-visited-on-2xl {
|
1101
|
-
color: var(--pf-global--palette--purple-200) !important;
|
1102
|
-
}
|
1103
1085
|
:where(.pf-theme-dark) .pf-u-default-color-300-on-2xl {
|
1104
1086
|
color: var(--pf-global--default-color--100) !important;
|
1105
1087
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "4.75.
|
3
|
+
"version": "4.75.9",
|
4
4
|
"main": "dist/js/index.js",
|
5
5
|
"module": "dist/esm/index.js",
|
6
6
|
"types": "dist/esm/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"clean": "rimraf dist css"
|
20
20
|
},
|
21
21
|
"devDependencies": {
|
22
|
-
"@patternfly/patternfly": "4.
|
22
|
+
"@patternfly/patternfly": "4.204.1",
|
23
23
|
"camel-case": "^3.0.0",
|
24
24
|
"css": "^2.2.3",
|
25
25
|
"fs-extra": "^6.0.1",
|
@@ -29,5 +29,5 @@
|
|
29
29
|
"typescript": "^4.7.4"
|
30
30
|
},
|
31
31
|
"license": "MIT",
|
32
|
-
"gitHead": "
|
32
|
+
"gitHead": "7a3e116e4af4a97fc5a05d0c05307e75af6d97f5"
|
33
33
|
}
|