@patternfly/react-styles 4.74.13 → 4.75.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/CHANGELOG.md +27 -0
- package/css/components/Topology/topology-components.css +15 -9
- package/css/components/Topology/topology-pipelines.css +364 -0
- package/css/components/Topology/topology-pipelines.d.ts +26 -0
- package/css/components/Topology/topology-pipelines.js +27 -0
- package/css/components/Topology/topology-pipelines.mjs +25 -0
- package/css/utilities/BackgroundColor/BackgroundColor.css +100 -0
- package/css/utilities/BackgroundColor/BackgroundColor.d.ts +2 -1
- package/css/utilities/BackgroundColor/BackgroundColor.js +2 -1
- package/css/utilities/BackgroundColor/BackgroundColor.mjs +2 -1
- package/css/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/css/utilities/BackgroundColor/themes/dark/BackgroundColor.d.ts +3 -0
- package/css/utilities/BackgroundColor/themes/dark/BackgroundColor.js +4 -0
- package/css/utilities/BackgroundColor/themes/dark/BackgroundColor.mjs +2 -0
- package/css/utilities/Text/text.css +173 -0
- package/css/utilities/Text/text.d.ts +1 -0
- package/css/utilities/Text/text.js +1 -0
- package/css/utilities/Text/text.mjs +1 -0
- package/css/utilities/Text/themes/dark/text.css +0 -0
- package/css/utilities/Text/themes/dark/text.d.ts +3 -0
- package/css/utilities/Text/themes/dark/text.js +4 -0
- package/css/utilities/Text/themes/dark/text.mjs +2 -0
- package/package.json +3 -3
- package/src/css/components/Topology/topology-components.css +15 -9
- package/src/css/components/Topology/topology-pipelines.css +364 -0
@@ -95,6 +95,7 @@ declare const _default: {
|
|
95
95
|
"backgroundColor_200OnMd": "pf-u-background-color-200-on-md",
|
96
96
|
"backgroundColor_200OnSm": "pf-u-background-color-200-on-sm",
|
97
97
|
"backgroundColor_200OnXl": "pf-u-background-color-200-on-xl",
|
98
|
-
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl"
|
98
|
+
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl",
|
99
|
+
"themeDark": "pf-theme-dark"
|
99
100
|
};
|
100
101
|
export default _default;
|
@@ -97,5 +97,6 @@ exports.default = {
|
|
97
97
|
"backgroundColor_200OnMd": "pf-u-background-color-200-on-md",
|
98
98
|
"backgroundColor_200OnSm": "pf-u-background-color-200-on-sm",
|
99
99
|
"backgroundColor_200OnXl": "pf-u-background-color-200-on-xl",
|
100
|
-
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl"
|
100
|
+
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl",
|
101
|
+
"themeDark": "pf-theme-dark"
|
101
102
|
};
|
@@ -95,5 +95,6 @@ export default {
|
|
95
95
|
"backgroundColor_200OnMd": "pf-u-background-color-200-on-md",
|
96
96
|
"backgroundColor_200OnSm": "pf-u-background-color-200-on-sm",
|
97
97
|
"backgroundColor_200OnXl": "pf-u-background-color-200-on-xl",
|
98
|
-
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl"
|
98
|
+
"backgroundColor_200On_2xl": "pf-u-background-color-200-on-2xl",
|
99
|
+
"themeDark": "pf-theme-dark"
|
99
100
|
};
|
File without changes
|
@@ -942,4 +942,177 @@
|
|
942
942
|
overflow: hidden !important;
|
943
943
|
text-overflow: ellipsis !important;
|
944
944
|
white-space: nowrap !important;
|
945
|
+
}
|
946
|
+
|
947
|
+
:where(.pf-theme-dark) .pf-u-color-300 {
|
948
|
+
color: var(--pf-global--Color--100) !important;
|
949
|
+
}
|
950
|
+
:where(.pf-theme-dark) .pf-u-color-light-100 {
|
951
|
+
color: var(--pf-global--Color-100) !important;
|
952
|
+
}
|
953
|
+
:where(.pf-theme-dark) .pf-u-color-light-200 {
|
954
|
+
color: var(--pf-global--Color-200) !important;
|
955
|
+
}
|
956
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited {
|
957
|
+
color: var(--pf-global--palette--purple-200) !important;
|
958
|
+
}
|
959
|
+
:where(.pf-theme-dark) .pf-u-default-color-300 {
|
960
|
+
color: var(--pf-global--default-color--100) !important;
|
961
|
+
}
|
962
|
+
:where(.pf-theme-dark) .pf-u-success-color-200 {
|
963
|
+
color: var(--pf-global--success-color--100) !important;
|
964
|
+
}
|
965
|
+
:where(.pf-theme-dark) .pf-u-info-color-200 {
|
966
|
+
color: var(--pf-global--info-color--100) !important;
|
967
|
+
}
|
968
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300 {
|
969
|
+
color: var(--pf-global--danger-color--100) !important;
|
970
|
+
}
|
971
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark {
|
972
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
973
|
+
}
|
974
|
+
@media screen and (min-width: 576px) {
|
975
|
+
:where(.pf-theme-dark) .pf-u-color-300-on-sm {
|
976
|
+
color: var(--pf-global--Color--100) !important;
|
977
|
+
}
|
978
|
+
:where(.pf-theme-dark) .pf-u-color-light-100-on-sm {
|
979
|
+
color: var(--pf-global--Color-100) !important;
|
980
|
+
}
|
981
|
+
:where(.pf-theme-dark) .pf-u-color-light-200-on-sm {
|
982
|
+
color: var(--pf-global--Color-200) !important;
|
983
|
+
}
|
984
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited-on-sm {
|
985
|
+
color: var(--pf-global--palette--purple-200) !important;
|
986
|
+
}
|
987
|
+
:where(.pf-theme-dark) .pf-u-default-color-300-on-sm {
|
988
|
+
color: var(--pf-global--default-color--100) !important;
|
989
|
+
}
|
990
|
+
:where(.pf-theme-dark) .pf-u-success-color-200-on-sm {
|
991
|
+
color: var(--pf-global--success-color--100) !important;
|
992
|
+
}
|
993
|
+
:where(.pf-theme-dark) .pf-u-info-color-200-on-sm {
|
994
|
+
color: var(--pf-global--info-color--100) !important;
|
995
|
+
}
|
996
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300-on-sm {
|
997
|
+
color: var(--pf-global--danger-color--100) !important;
|
998
|
+
}
|
999
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark-on-sm {
|
1000
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
@media screen and (min-width: 768px) {
|
1004
|
+
:where(.pf-theme-dark) .pf-u-color-300-on-md {
|
1005
|
+
color: var(--pf-global--Color--100) !important;
|
1006
|
+
}
|
1007
|
+
:where(.pf-theme-dark) .pf-u-color-light-100-on-md {
|
1008
|
+
color: var(--pf-global--Color-100) !important;
|
1009
|
+
}
|
1010
|
+
:where(.pf-theme-dark) .pf-u-color-light-200-on-md {
|
1011
|
+
color: var(--pf-global--Color-200) !important;
|
1012
|
+
}
|
1013
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited-on-md {
|
1014
|
+
color: var(--pf-global--palette--purple-200) !important;
|
1015
|
+
}
|
1016
|
+
:where(.pf-theme-dark) .pf-u-default-color-300-on-md {
|
1017
|
+
color: var(--pf-global--default-color--100) !important;
|
1018
|
+
}
|
1019
|
+
:where(.pf-theme-dark) .pf-u-success-color-200-on-md {
|
1020
|
+
color: var(--pf-global--success-color--100) !important;
|
1021
|
+
}
|
1022
|
+
:where(.pf-theme-dark) .pf-u-info-color-200-on-md {
|
1023
|
+
color: var(--pf-global--info-color--100) !important;
|
1024
|
+
}
|
1025
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300-on-md {
|
1026
|
+
color: var(--pf-global--danger-color--100) !important;
|
1027
|
+
}
|
1028
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark-on-md {
|
1029
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
@media screen and (min-width: 992px) {
|
1033
|
+
:where(.pf-theme-dark) .pf-u-color-300-on-lg {
|
1034
|
+
color: var(--pf-global--Color--100) !important;
|
1035
|
+
}
|
1036
|
+
:where(.pf-theme-dark) .pf-u-color-light-100-on-lg {
|
1037
|
+
color: var(--pf-global--Color-100) !important;
|
1038
|
+
}
|
1039
|
+
:where(.pf-theme-dark) .pf-u-color-light-200-on-lg {
|
1040
|
+
color: var(--pf-global--Color-200) !important;
|
1041
|
+
}
|
1042
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited-on-lg {
|
1043
|
+
color: var(--pf-global--palette--purple-200) !important;
|
1044
|
+
}
|
1045
|
+
:where(.pf-theme-dark) .pf-u-default-color-300-on-lg {
|
1046
|
+
color: var(--pf-global--default-color--100) !important;
|
1047
|
+
}
|
1048
|
+
:where(.pf-theme-dark) .pf-u-success-color-200-on-lg {
|
1049
|
+
color: var(--pf-global--success-color--100) !important;
|
1050
|
+
}
|
1051
|
+
:where(.pf-theme-dark) .pf-u-info-color-200-on-lg {
|
1052
|
+
color: var(--pf-global--info-color--100) !important;
|
1053
|
+
}
|
1054
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300-on-lg {
|
1055
|
+
color: var(--pf-global--danger-color--100) !important;
|
1056
|
+
}
|
1057
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark-on-lg {
|
1058
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
1059
|
+
}
|
1060
|
+
}
|
1061
|
+
@media screen and (min-width: 1200px) {
|
1062
|
+
:where(.pf-theme-dark) .pf-u-color-300-on-xl {
|
1063
|
+
color: var(--pf-global--Color--100) !important;
|
1064
|
+
}
|
1065
|
+
:where(.pf-theme-dark) .pf-u-color-light-100-on-xl {
|
1066
|
+
color: var(--pf-global--Color-100) !important;
|
1067
|
+
}
|
1068
|
+
:where(.pf-theme-dark) .pf-u-color-light-200-on-xl {
|
1069
|
+
color: var(--pf-global--Color-200) !important;
|
1070
|
+
}
|
1071
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited-on-xl {
|
1072
|
+
color: var(--pf-global--palette--purple-200) !important;
|
1073
|
+
}
|
1074
|
+
:where(.pf-theme-dark) .pf-u-default-color-300-on-xl {
|
1075
|
+
color: var(--pf-global--default-color--100) !important;
|
1076
|
+
}
|
1077
|
+
:where(.pf-theme-dark) .pf-u-success-color-200-on-xl {
|
1078
|
+
color: var(--pf-global--success-color--100) !important;
|
1079
|
+
}
|
1080
|
+
:where(.pf-theme-dark) .pf-u-info-color-200-on-xl {
|
1081
|
+
color: var(--pf-global--info-color--100) !important;
|
1082
|
+
}
|
1083
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300-on-xl {
|
1084
|
+
color: var(--pf-global--danger-color--100) !important;
|
1085
|
+
}
|
1086
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark-on-xl {
|
1087
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
1088
|
+
}
|
1089
|
+
}
|
1090
|
+
@media screen and (min-width: 1450px) {
|
1091
|
+
:where(.pf-theme-dark) .pf-u-color-300-on-2xl {
|
1092
|
+
color: var(--pf-global--Color--100) !important;
|
1093
|
+
}
|
1094
|
+
:where(.pf-theme-dark) .pf-u-color-light-100-on-2xl {
|
1095
|
+
color: var(--pf-global--Color-100) !important;
|
1096
|
+
}
|
1097
|
+
:where(.pf-theme-dark) .pf-u-color-light-200-on-2xl {
|
1098
|
+
color: var(--pf-global--Color-200) !important;
|
1099
|
+
}
|
1100
|
+
:where(.pf-theme-dark) .pf-u-link-color-visited-on-2xl {
|
1101
|
+
color: var(--pf-global--palette--purple-200) !important;
|
1102
|
+
}
|
1103
|
+
:where(.pf-theme-dark) .pf-u-default-color-300-on-2xl {
|
1104
|
+
color: var(--pf-global--default-color--100) !important;
|
1105
|
+
}
|
1106
|
+
:where(.pf-theme-dark) .pf-u-success-color-200-on-2xl {
|
1107
|
+
color: var(--pf-global--success-color--100) !important;
|
1108
|
+
}
|
1109
|
+
:where(.pf-theme-dark) .pf-u-info-color-200-on-2xl {
|
1110
|
+
color: var(--pf-global--info-color--100) !important;
|
1111
|
+
}
|
1112
|
+
:where(.pf-theme-dark) .pf-u-danger-color-300-on-2xl {
|
1113
|
+
color: var(--pf-global--danger-color--100) !important;
|
1114
|
+
}
|
1115
|
+
:where(.pf-theme-dark) .pf-u-icon-color-dark-on-2xl {
|
1116
|
+
color: var(--pf-global--icon--Color--dark) !important;
|
1117
|
+
}
|
945
1118
|
}
|
@@ -271,6 +271,7 @@ declare const _default: {
|
|
271
271
|
"textWrapOnSm": "pf-u-text-wrap-on-sm",
|
272
272
|
"textWrapOnXl": "pf-u-text-wrap-on-xl",
|
273
273
|
"textWrapOn_2xl": "pf-u-text-wrap-on-2xl",
|
274
|
+
"themeDark": "pf-theme-dark",
|
274
275
|
"warningColor_100": "pf-u-warning-color-100",
|
275
276
|
"warningColor_100OnLg": "pf-u-warning-color-100-on-lg",
|
276
277
|
"warningColor_100OnMd": "pf-u-warning-color-100-on-md",
|
@@ -273,6 +273,7 @@ exports.default = {
|
|
273
273
|
"textWrapOnSm": "pf-u-text-wrap-on-sm",
|
274
274
|
"textWrapOnXl": "pf-u-text-wrap-on-xl",
|
275
275
|
"textWrapOn_2xl": "pf-u-text-wrap-on-2xl",
|
276
|
+
"themeDark": "pf-theme-dark",
|
276
277
|
"warningColor_100": "pf-u-warning-color-100",
|
277
278
|
"warningColor_100OnLg": "pf-u-warning-color-100-on-lg",
|
278
279
|
"warningColor_100OnMd": "pf-u-warning-color-100-on-md",
|
@@ -271,6 +271,7 @@ export default {
|
|
271
271
|
"textWrapOnSm": "pf-u-text-wrap-on-sm",
|
272
272
|
"textWrapOnXl": "pf-u-text-wrap-on-xl",
|
273
273
|
"textWrapOn_2xl": "pf-u-text-wrap-on-2xl",
|
274
|
+
"themeDark": "pf-theme-dark",
|
274
275
|
"warningColor_100": "pf-u-warning-color-100",
|
275
276
|
"warningColor_100OnLg": "pf-u-warning-color-100-on-lg",
|
276
277
|
"warningColor_100OnMd": "pf-u-warning-color-100-on-md",
|
File without changes
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@patternfly/react-styles",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.75.0",
|
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.203.
|
22
|
+
"@patternfly/patternfly": "4.203.2",
|
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": "8d3e22b79bd4cf8aa1cd3ffd6b87e7a09822cbde"
|
33
33
|
}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
--pf-topology__node__background--Stroke: var(--pf-global--BorderColor--100);
|
15
15
|
--pf-topology__node__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
|
16
16
|
--pf-topology__node--m-dragging--background--StrokeWidth: var(--pf-global--BorderWidth--sm);
|
17
|
-
|
17
|
+
|
18
18
|
--pf-topology__node--m-hover--background--Stroke: unset;
|
19
19
|
--pf-topology__node--m-hover--label__background--Stroke: unset;
|
20
20
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
/* node labels */
|
47
47
|
--pf-topology__node__label__text--Fill: var(--pf-global--palette--black-1000);
|
48
48
|
--pf-topology__node__label__text--m-secondary--Fill: var(--pf-global--Color--200);
|
49
|
-
|
49
|
+
|
50
50
|
--pf-topology__node--m-selected--node__label__text--Fill: var(--pf-global--Color--light-100);
|
51
51
|
--pf-topology__node--m-selected--node__label__text--m-secondary--Fill: var(--pf-global--Color--light-100);
|
52
52
|
--pf-topology__node--m-selected--m-info--node__label__text--Fill: var(--pf-global--Color--light-100);
|
@@ -111,7 +111,7 @@
|
|
111
111
|
|
112
112
|
--pf-topology__group__label__node__label__background--Fill: var(--pf-global--BackgroundColor--dark-300);
|
113
113
|
--pf-topology__group__label__node__label__background--StrokeWidth: var(--pf-global--BorderWidth--sm);
|
114
|
-
--pf-topology__group__label__text--Fill: var(--pf-global--palette--white);
|
114
|
+
--pf-topology__group__label__text--Fill: var(--pf-global--palette--white);
|
115
115
|
--pf-topology__group__label__node__action-icon__icon--Color: var(--pf-global--palette--white);
|
116
116
|
--pf-topology__group--m-selected--group__label__node__label__background--Fill: var(--pf-global--active-color--100);
|
117
117
|
|
@@ -160,7 +160,7 @@
|
|
160
160
|
:root:where(.pf-theme-dark) {
|
161
161
|
--pf-topology-visualization-surface--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
162
162
|
|
163
|
-
--pf-topology__node--Color: var(--pf-global--Color--100);
|
163
|
+
--pf-topology__node--Color: var(--pf-global--Color--100);
|
164
164
|
|
165
165
|
/* dark create connector */
|
166
166
|
--pf-topology__create-connector-color--Stroke: var(--pf-global--palette--black-300);
|
@@ -176,9 +176,9 @@
|
|
176
176
|
|
177
177
|
--pf-topology__node--m-disabled--Background--Fill: var(--pf-topology__node__background--Fill);
|
178
178
|
--pf-topology__node--m-disabled--Background--Stroke: var(--pf-global--palette--black-500);
|
179
|
-
|
179
|
+
|
180
180
|
--pf-topology__node--m-dragging--background--StrokeWidth: 2px;
|
181
|
-
|
181
|
+
|
182
182
|
--pf-topology__node--m-hover--background--Stroke: var(--pf-global--palette--black-100);
|
183
183
|
--pf-topology__node--m-hover--label__background--Stroke: var(--pf-global--palette--black-100);
|
184
184
|
|
@@ -199,7 +199,7 @@
|
|
199
199
|
--pf-topology__node--m-selected--m-danger--node__label__text--Fill: var(--pf-global--palette--black-900);
|
200
200
|
--pf-topology__node--m-selected--m-warning--node__label__text--Fill: var(--pf-global--palette--black-900);
|
201
201
|
--pf-topology__node--m-selected--m-success--node__label__text--Fill: var(--pf-global--palette--black-900);
|
202
|
-
|
202
|
+
|
203
203
|
--pf-topology__node__label__icon--Color: var(--pf-global--palette--black-600);
|
204
204
|
|
205
205
|
--pf-topology__node__action-icon__icon--Color: var(--pf-global--Color--100);
|
@@ -209,7 +209,7 @@
|
|
209
209
|
--pf-topology__group__background--Stroke: var(--pf-global--palette--black-300);
|
210
210
|
--pf-topology__group--m-alt-group--topology__group__background--Fill: var(--pf-global--palette--black-500);
|
211
211
|
--pf-topology__group--m-alt-group--topology__group__background--Stroke: var(--pf-global--BorderColor--100);
|
212
|
-
--pf-topology__group--m-selected--topology__group__background--Fill: var(--pf-global--
|
212
|
+
--pf-topology__group--m-selected--topology__group__background--Fill: var(--pf-global--primary-color--300);
|
213
213
|
--pf-topology__group--m-selected--topology__group__background--Stroke: var(--pf-global--active-color--300);
|
214
214
|
--pf-topology__group--m-hover--topology__group__background--Stroke: var(--pf-global--palette--black-800);
|
215
215
|
--pf-topology__group--m-hover--topology__group__background--Stroke: var(--pf-global--palette--black-100);
|
@@ -247,7 +247,7 @@
|
|
247
247
|
flex-grow: 1;
|
248
248
|
flex-shrink: 1;
|
249
249
|
overflow: hidden;
|
250
|
-
position: relative;
|
250
|
+
position: relative;
|
251
251
|
}
|
252
252
|
|
253
253
|
.pf-topology-visualization-surface__svg {
|
@@ -560,6 +560,12 @@
|
|
560
560
|
--pf-topology__group__label__node__label__background--Stroke: var(--pf-topology__group--m-hover--label__node__label__background--Stroke);
|
561
561
|
}
|
562
562
|
|
563
|
+
.pf-topology__group.pf-m-hover.pf-m-selected .pf-topology__group__background {
|
564
|
+
--pf-topology__group__background--Fill: var(--pf-topology__group--m-selected--topology__group__background--Fill);
|
565
|
+
--pf-topology__group__background--Stroke: var(--pf-topology__group--m-hover--topology__group__background--Stroke);
|
566
|
+
--pf-topology__group__label__node__label__background--Stroke: var(--pf-topology__group--m-hover--label__node__label__background--Stroke);
|
567
|
+
}
|
568
|
+
|
563
569
|
.pf-topology__group.pf-m-drop-target .pf-topology__group__background {
|
564
570
|
--pf-topology__group__background--Stroke: var(--pf-topology__group--m-drop-target--topology__group__background--Stroke);
|
565
571
|
stroke-dasharray: 12;
|