@patternfly/react-core 4.198.9 → 4.198.10
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 +8 -0
- package/dist/umd/react-core.css +186 -186
- package/package.json +5 -5
- package/src/layouts/Flex/examples/Flex.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.198.10 (2022-03-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @patternfly/react-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## 4.198.9 (2022-03-01)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @patternfly/react-core
|
package/dist/umd/react-core.css
CHANGED
|
@@ -14034,6 +14034,80 @@ ul.pf-c-list {
|
|
|
14034
14034
|
color: var(--pf-c-options-menu__group-title--Color);
|
|
14035
14035
|
}
|
|
14036
14036
|
|
|
14037
|
+
.pf-c-overflow-menu {
|
|
14038
|
+
--pf-c-overflow-menu--spacer--base: var(--pf-global--spacer--md);
|
|
14039
|
+
--pf-c-overflow-menu--spacer: var(--pf-global--spacer--sm);
|
|
14040
|
+
--pf-c-overflow-menu__group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14041
|
+
--pf-c-overflow-menu__item--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14042
|
+
--pf-c-overflow-menu--c-divider--m-vertical--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14043
|
+
--pf-c-overflow-menu__group--m-button-group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14044
|
+
--pf-c-overflow-menu__group--m-button-group--space-items: var(--pf-global--spacer--sm);
|
|
14045
|
+
--pf-c-overflow-menu__group--m-icon-button-group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14046
|
+
--pf-c-overflow-menu__group--m-icon-button-group--space-items: 0;
|
|
14047
|
+
display: inline-flex;
|
|
14048
|
+
align-items: center;
|
|
14049
|
+
}
|
|
14050
|
+
|
|
14051
|
+
.pf-c-overflow-menu__content {
|
|
14052
|
+
display: flex;
|
|
14053
|
+
align-items: center;
|
|
14054
|
+
}
|
|
14055
|
+
|
|
14056
|
+
.pf-c-overflow-menu__group {
|
|
14057
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--spacer);
|
|
14058
|
+
display: flex;
|
|
14059
|
+
align-items: center;
|
|
14060
|
+
}
|
|
14061
|
+
|
|
14062
|
+
.pf-c-overflow-menu__group.pf-m-button-group {
|
|
14063
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-button-group--spacer);
|
|
14064
|
+
}
|
|
14065
|
+
|
|
14066
|
+
.pf-c-overflow-menu__group.pf-m-button-group > * {
|
|
14067
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-button-group--space-items);
|
|
14068
|
+
}
|
|
14069
|
+
|
|
14070
|
+
.pf-c-overflow-menu__group.pf-m-icon-button-group {
|
|
14071
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-icon-button-group--spacer);
|
|
14072
|
+
}
|
|
14073
|
+
|
|
14074
|
+
.pf-c-overflow-menu__group.pf-m-icon-button-group > * {
|
|
14075
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-icon-button-group--space-items);
|
|
14076
|
+
}
|
|
14077
|
+
|
|
14078
|
+
.pf-c-overflow-menu__item {
|
|
14079
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__item--spacer);
|
|
14080
|
+
}
|
|
14081
|
+
|
|
14082
|
+
.pf-c-overflow-menu__content,
|
|
14083
|
+
.pf-c-overflow-menu__control,
|
|
14084
|
+
.pf-c-overflow-menu__group,
|
|
14085
|
+
.pf-c-overflow-menu__item {
|
|
14086
|
+
margin-right: var(--pf-c-overflow-menu--spacer);
|
|
14087
|
+
}
|
|
14088
|
+
|
|
14089
|
+
.pf-c-overflow-menu__content:last-child,
|
|
14090
|
+
.pf-c-overflow-menu__control:last-child,
|
|
14091
|
+
.pf-c-overflow-menu__group:last-child,
|
|
14092
|
+
.pf-c-overflow-menu__item:last-child {
|
|
14093
|
+
--pf-c-overflow-menu--spacer: 0;
|
|
14094
|
+
}
|
|
14095
|
+
|
|
14096
|
+
.pf-c-overflow-menu > .pf-c-divider,
|
|
14097
|
+
.pf-c-overflow-menu__group > .pf-c-divider {
|
|
14098
|
+
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu--c-divider--m-vertical--spacer);
|
|
14099
|
+
}
|
|
14100
|
+
|
|
14101
|
+
.pf-c-overflow-menu > .pf-c-divider.pf-m-vertical,
|
|
14102
|
+
.pf-c-overflow-menu__group > .pf-c-divider.pf-m-vertical {
|
|
14103
|
+
margin-right: var(--pf-c-overflow-menu--spacer);
|
|
14104
|
+
}
|
|
14105
|
+
|
|
14106
|
+
.pf-c-overflow-menu > .pf-c-divider.pf-m-vertical:last-child,
|
|
14107
|
+
.pf-c-overflow-menu__group > .pf-c-divider.pf-m-vertical:last-child {
|
|
14108
|
+
--pf-c-overflow-menu--spacer: 0;
|
|
14109
|
+
}
|
|
14110
|
+
|
|
14037
14111
|
.pf-c-page__sidebar.pf-m-light {
|
|
14038
14112
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
14039
14113
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -14879,80 +14953,6 @@ ul.pf-c-list {
|
|
|
14879
14953
|
flex: 1 0 auto;
|
|
14880
14954
|
}
|
|
14881
14955
|
|
|
14882
|
-
.pf-c-overflow-menu {
|
|
14883
|
-
--pf-c-overflow-menu--spacer--base: var(--pf-global--spacer--md);
|
|
14884
|
-
--pf-c-overflow-menu--spacer: var(--pf-global--spacer--sm);
|
|
14885
|
-
--pf-c-overflow-menu__group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14886
|
-
--pf-c-overflow-menu__item--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14887
|
-
--pf-c-overflow-menu--c-divider--m-vertical--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14888
|
-
--pf-c-overflow-menu__group--m-button-group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14889
|
-
--pf-c-overflow-menu__group--m-button-group--space-items: var(--pf-global--spacer--sm);
|
|
14890
|
-
--pf-c-overflow-menu__group--m-icon-button-group--spacer: var(--pf-c-overflow-menu--spacer--base);
|
|
14891
|
-
--pf-c-overflow-menu__group--m-icon-button-group--space-items: 0;
|
|
14892
|
-
display: inline-flex;
|
|
14893
|
-
align-items: center;
|
|
14894
|
-
}
|
|
14895
|
-
|
|
14896
|
-
.pf-c-overflow-menu__content {
|
|
14897
|
-
display: flex;
|
|
14898
|
-
align-items: center;
|
|
14899
|
-
}
|
|
14900
|
-
|
|
14901
|
-
.pf-c-overflow-menu__group {
|
|
14902
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--spacer);
|
|
14903
|
-
display: flex;
|
|
14904
|
-
align-items: center;
|
|
14905
|
-
}
|
|
14906
|
-
|
|
14907
|
-
.pf-c-overflow-menu__group.pf-m-button-group {
|
|
14908
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-button-group--spacer);
|
|
14909
|
-
}
|
|
14910
|
-
|
|
14911
|
-
.pf-c-overflow-menu__group.pf-m-button-group > * {
|
|
14912
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-button-group--space-items);
|
|
14913
|
-
}
|
|
14914
|
-
|
|
14915
|
-
.pf-c-overflow-menu__group.pf-m-icon-button-group {
|
|
14916
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-icon-button-group--spacer);
|
|
14917
|
-
}
|
|
14918
|
-
|
|
14919
|
-
.pf-c-overflow-menu__group.pf-m-icon-button-group > * {
|
|
14920
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__group--m-icon-button-group--space-items);
|
|
14921
|
-
}
|
|
14922
|
-
|
|
14923
|
-
.pf-c-overflow-menu__item {
|
|
14924
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu__item--spacer);
|
|
14925
|
-
}
|
|
14926
|
-
|
|
14927
|
-
.pf-c-overflow-menu__content,
|
|
14928
|
-
.pf-c-overflow-menu__control,
|
|
14929
|
-
.pf-c-overflow-menu__group,
|
|
14930
|
-
.pf-c-overflow-menu__item {
|
|
14931
|
-
margin-right: var(--pf-c-overflow-menu--spacer);
|
|
14932
|
-
}
|
|
14933
|
-
|
|
14934
|
-
.pf-c-overflow-menu__content:last-child,
|
|
14935
|
-
.pf-c-overflow-menu__control:last-child,
|
|
14936
|
-
.pf-c-overflow-menu__group:last-child,
|
|
14937
|
-
.pf-c-overflow-menu__item:last-child {
|
|
14938
|
-
--pf-c-overflow-menu--spacer: 0;
|
|
14939
|
-
}
|
|
14940
|
-
|
|
14941
|
-
.pf-c-overflow-menu > .pf-c-divider,
|
|
14942
|
-
.pf-c-overflow-menu__group > .pf-c-divider {
|
|
14943
|
-
--pf-c-overflow-menu--spacer: var(--pf-c-overflow-menu--c-divider--m-vertical--spacer);
|
|
14944
|
-
}
|
|
14945
|
-
|
|
14946
|
-
.pf-c-overflow-menu > .pf-c-divider.pf-m-vertical,
|
|
14947
|
-
.pf-c-overflow-menu__group > .pf-c-divider.pf-m-vertical {
|
|
14948
|
-
margin-right: var(--pf-c-overflow-menu--spacer);
|
|
14949
|
-
}
|
|
14950
|
-
|
|
14951
|
-
.pf-c-overflow-menu > .pf-c-divider.pf-m-vertical:last-child,
|
|
14952
|
-
.pf-c-overflow-menu__group > .pf-c-divider.pf-m-vertical:last-child {
|
|
14953
|
-
--pf-c-overflow-menu--spacer: 0;
|
|
14954
|
-
}
|
|
14955
|
-
|
|
14956
14956
|
.pf-c-pagination__nav-page-select .pf-c-form-control {
|
|
14957
14957
|
appearance: textfield;
|
|
14958
14958
|
}
|
|
@@ -19088,118 +19088,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
19088
19088
|
--pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
19089
19089
|
}
|
|
19090
19090
|
|
|
19091
|
-
.pf-c-toggle-group {
|
|
19092
|
-
--pf-c-toggle-group__button--PaddingTop: var(--pf-global--spacer--form-element);
|
|
19093
|
-
--pf-c-toggle-group__button--PaddingRight: var(--pf-global--spacer--md);
|
|
19094
|
-
--pf-c-toggle-group__button--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
19095
|
-
--pf-c-toggle-group__button--PaddingLeft: var(--pf-global--spacer--md);
|
|
19096
|
-
--pf-c-toggle-group__button--FontSize: var(--pf-global--FontSize--sm);
|
|
19097
|
-
--pf-c-toggle-group__button--LineHeight: calc(var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md));
|
|
19098
|
-
--pf-c-toggle-group__button--Color: var(--pf-global--Color--100);
|
|
19099
|
-
--pf-c-toggle-group__button--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
19100
|
-
--pf-c-toggle-group__button--ZIndex: auto;
|
|
19101
|
-
--pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
19102
|
-
--pf-c-toggle-group__button--hover--ZIndex: var(--pf-global--ZIndex--xs);
|
|
19103
|
-
--pf-c-toggle-group__button--hover--before--BorderColor: var(--pf-global--BorderColor--200);
|
|
19104
|
-
--pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
19105
|
-
--pf-c-toggle-group__button--focus--ZIndex: var(--pf-global--ZIndex--xs);
|
|
19106
|
-
--pf-c-toggle-group__button--focus--before--BorderColor: var(--pf-global--BorderColor--200);
|
|
19107
|
-
--pf-c-toggle-group__button--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
19108
|
-
--pf-c-toggle-group__button--disabled--Color: var(--pf-global--disabled-color--100);
|
|
19109
|
-
--pf-c-toggle-group__button--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
19110
|
-
--pf-c-toggle-group__button--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
19111
|
-
--pf-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
19112
|
-
--pf-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-global--BorderRadius--sm);
|
|
19113
|
-
--pf-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-global--BorderRadius--sm);
|
|
19114
|
-
--pf-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-global--BorderRadius--sm);
|
|
19115
|
-
--pf-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-global--BorderRadius--sm);
|
|
19116
|
-
--pf-c-toggle-group__icon--text--MarginLeft: var(--pf-global--spacer--sm);
|
|
19117
|
-
--pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
19118
|
-
--pf-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-global--primary-color--100);
|
|
19119
|
-
--pf-c-toggle-group__button--m-selected--ZIndex: var(--pf-global--ZIndex--xs);
|
|
19120
|
-
--pf-c-toggle-group--m-compact__button--PaddingTop: 0;
|
|
19121
|
-
--pf-c-toggle-group--m-compact__button--PaddingRight: var(--pf-global--spacer--sm);
|
|
19122
|
-
--pf-c-toggle-group--m-compact__button--PaddingBottom: 0;
|
|
19123
|
-
--pf-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
19124
|
-
--pf-c-toggle-group--m-compact__button--FontSize: var(--pf-global--FontSize--xs);
|
|
19125
|
-
display: flex;
|
|
19126
|
-
}
|
|
19127
|
-
|
|
19128
|
-
.pf-c-toggle-group.pf-m-compact {
|
|
19129
|
-
--pf-c-toggle-group__button--PaddingTop: var(--pf-c-toggle-group--m-compact__button--PaddingTop);
|
|
19130
|
-
--pf-c-toggle-group__button--PaddingRight: var(--pf-c-toggle-group--m-compact__button--PaddingRight);
|
|
19131
|
-
--pf-c-toggle-group__button--PaddingBottom: var(--pf-c-toggle-group--m-compact__button--PaddingBottom);
|
|
19132
|
-
--pf-c-toggle-group__button--PaddingLeft: var(--pf-c-toggle-group--m-compact__button--PaddingLeft);
|
|
19133
|
-
--pf-c-toggle-group__button--FontSize: var(--pf-c-toggle-group--m-compact__button--FontSize);
|
|
19134
|
-
}
|
|
19135
|
-
|
|
19136
|
-
.pf-c-toggle-group__item + .pf-c-toggle-group__item {
|
|
19137
|
-
margin-left: var(--pf-c-toggle-group__item--item--MarginLeft);
|
|
19138
|
-
}
|
|
19139
|
-
|
|
19140
|
-
.pf-c-toggle-group__item:first-child .pf-c-toggle-group__button, .pf-c-toggle-group__item:first-child .pf-c-toggle-group__button::before {
|
|
19141
|
-
border-top-left-radius: var(--pf-c-toggle-group__item--first-child__button--BorderTopLeftRadius);
|
|
19142
|
-
border-bottom-left-radius: var(--pf-c-toggle-group__item--first-child__button--BorderBottomLeftRadius);
|
|
19143
|
-
}
|
|
19144
|
-
|
|
19145
|
-
.pf-c-toggle-group__item:last-child .pf-c-toggle-group__button, .pf-c-toggle-group__item:last-child .pf-c-toggle-group__button::before {
|
|
19146
|
-
border-top-right-radius: var(--pf-c-toggle-group__item--last-child__button--BorderTopRightRadius);
|
|
19147
|
-
border-bottom-right-radius: var(--pf-c-toggle-group__item--last-child__button--BorderBottomRightRadius);
|
|
19148
|
-
}
|
|
19149
|
-
|
|
19150
|
-
.pf-c-toggle-group__button {
|
|
19151
|
-
position: relative;
|
|
19152
|
-
z-index: var(--pf-c-toggle-group__button--ZIndex);
|
|
19153
|
-
display: inline-flex;
|
|
19154
|
-
padding: var(--pf-c-toggle-group__button--PaddingTop) var(--pf-c-toggle-group__button--PaddingRight) var(--pf-c-toggle-group__button--PaddingBottom) var(--pf-c-toggle-group__button--PaddingLeft);
|
|
19155
|
-
font-size: var(--pf-c-toggle-group__button--FontSize);
|
|
19156
|
-
line-height: var(--pf-c-toggle-group__button--LineHeight);
|
|
19157
|
-
color: var(--pf-c-toggle-group__button--Color);
|
|
19158
|
-
background-color: var(--pf-c-toggle-group__button--BackgroundColor);
|
|
19159
|
-
border: 0;
|
|
19160
|
-
}
|
|
19161
|
-
|
|
19162
|
-
.pf-c-toggle-group__button::before {
|
|
19163
|
-
position: absolute;
|
|
19164
|
-
top: 0;
|
|
19165
|
-
right: 0;
|
|
19166
|
-
bottom: 0;
|
|
19167
|
-
left: 0;
|
|
19168
|
-
pointer-events: none;
|
|
19169
|
-
content: "";
|
|
19170
|
-
border: var(--pf-c-toggle-group__button--before--BorderWidth) solid var(--pf-c-toggle-group__button--before--BorderColor);
|
|
19171
|
-
}
|
|
19172
|
-
|
|
19173
|
-
.pf-c-toggle-group__button:hover {
|
|
19174
|
-
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--hover--BackgroundColor);
|
|
19175
|
-
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--hover--ZIndex);
|
|
19176
|
-
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--hover--before--BorderColor);
|
|
19177
|
-
text-decoration: none;
|
|
19178
|
-
}
|
|
19179
|
-
|
|
19180
|
-
.pf-c-toggle-group__button:focus {
|
|
19181
|
-
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--focus--BackgroundColor);
|
|
19182
|
-
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--focus--ZIndex);
|
|
19183
|
-
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--focus--before--BorderColor);
|
|
19184
|
-
}
|
|
19185
|
-
|
|
19186
|
-
.pf-c-toggle-group__button.pf-m-selected {
|
|
19187
|
-
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--m-selected--BackgroundColor);
|
|
19188
|
-
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--m-selected--ZIndex);
|
|
19189
|
-
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--m-selected--before--BorderColor);
|
|
19190
|
-
}
|
|
19191
|
-
|
|
19192
|
-
.pf-c-toggle-group__button:disabled, .pf-c-toggle-group__button.pf-m-disabled {
|
|
19193
|
-
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--disabled--BackgroundColor);
|
|
19194
|
-
--pf-c-toggle-group__button--Color: var(--pf-c-toggle-group__button--disabled--Color);
|
|
19195
|
-
pointer-events: none;
|
|
19196
|
-
}
|
|
19197
|
-
|
|
19198
|
-
.pf-c-toggle-group__icon + .pf-c-toggle-group__text,
|
|
19199
|
-
.pf-c-toggle-group__text + .pf-c-toggle-group__icon {
|
|
19200
|
-
margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
|
|
19201
|
-
}
|
|
19202
|
-
|
|
19203
19091
|
.pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
|
|
19204
19092
|
--pf-hidden-visible--visible--Visibility: visible;
|
|
19205
19093
|
--pf-hidden-visible--hidden--Display: none;
|
|
@@ -20581,6 +20469,118 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
20581
20469
|
--pf-c-toolbar--spacer: 0;
|
|
20582
20470
|
}
|
|
20583
20471
|
|
|
20472
|
+
.pf-c-toggle-group {
|
|
20473
|
+
--pf-c-toggle-group__button--PaddingTop: var(--pf-global--spacer--form-element);
|
|
20474
|
+
--pf-c-toggle-group__button--PaddingRight: var(--pf-global--spacer--md);
|
|
20475
|
+
--pf-c-toggle-group__button--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
20476
|
+
--pf-c-toggle-group__button--PaddingLeft: var(--pf-global--spacer--md);
|
|
20477
|
+
--pf-c-toggle-group__button--FontSize: var(--pf-global--FontSize--sm);
|
|
20478
|
+
--pf-c-toggle-group__button--LineHeight: calc(var(--pf-global--FontSize--md) * var(--pf-global--LineHeight--md));
|
|
20479
|
+
--pf-c-toggle-group__button--Color: var(--pf-global--Color--100);
|
|
20480
|
+
--pf-c-toggle-group__button--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
20481
|
+
--pf-c-toggle-group__button--ZIndex: auto;
|
|
20482
|
+
--pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
20483
|
+
--pf-c-toggle-group__button--hover--ZIndex: var(--pf-global--ZIndex--xs);
|
|
20484
|
+
--pf-c-toggle-group__button--hover--before--BorderColor: var(--pf-global--BorderColor--200);
|
|
20485
|
+
--pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
20486
|
+
--pf-c-toggle-group__button--focus--ZIndex: var(--pf-global--ZIndex--xs);
|
|
20487
|
+
--pf-c-toggle-group__button--focus--before--BorderColor: var(--pf-global--BorderColor--200);
|
|
20488
|
+
--pf-c-toggle-group__button--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
20489
|
+
--pf-c-toggle-group__button--disabled--Color: var(--pf-global--disabled-color--100);
|
|
20490
|
+
--pf-c-toggle-group__button--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
20491
|
+
--pf-c-toggle-group__button--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
20492
|
+
--pf-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
20493
|
+
--pf-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-global--BorderRadius--sm);
|
|
20494
|
+
--pf-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-global--BorderRadius--sm);
|
|
20495
|
+
--pf-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-global--BorderRadius--sm);
|
|
20496
|
+
--pf-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-global--BorderRadius--sm);
|
|
20497
|
+
--pf-c-toggle-group__icon--text--MarginLeft: var(--pf-global--spacer--sm);
|
|
20498
|
+
--pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
20499
|
+
--pf-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-global--primary-color--100);
|
|
20500
|
+
--pf-c-toggle-group__button--m-selected--ZIndex: var(--pf-global--ZIndex--xs);
|
|
20501
|
+
--pf-c-toggle-group--m-compact__button--PaddingTop: 0;
|
|
20502
|
+
--pf-c-toggle-group--m-compact__button--PaddingRight: var(--pf-global--spacer--sm);
|
|
20503
|
+
--pf-c-toggle-group--m-compact__button--PaddingBottom: 0;
|
|
20504
|
+
--pf-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
20505
|
+
--pf-c-toggle-group--m-compact__button--FontSize: var(--pf-global--FontSize--xs);
|
|
20506
|
+
display: flex;
|
|
20507
|
+
}
|
|
20508
|
+
|
|
20509
|
+
.pf-c-toggle-group.pf-m-compact {
|
|
20510
|
+
--pf-c-toggle-group__button--PaddingTop: var(--pf-c-toggle-group--m-compact__button--PaddingTop);
|
|
20511
|
+
--pf-c-toggle-group__button--PaddingRight: var(--pf-c-toggle-group--m-compact__button--PaddingRight);
|
|
20512
|
+
--pf-c-toggle-group__button--PaddingBottom: var(--pf-c-toggle-group--m-compact__button--PaddingBottom);
|
|
20513
|
+
--pf-c-toggle-group__button--PaddingLeft: var(--pf-c-toggle-group--m-compact__button--PaddingLeft);
|
|
20514
|
+
--pf-c-toggle-group__button--FontSize: var(--pf-c-toggle-group--m-compact__button--FontSize);
|
|
20515
|
+
}
|
|
20516
|
+
|
|
20517
|
+
.pf-c-toggle-group__item + .pf-c-toggle-group__item {
|
|
20518
|
+
margin-left: var(--pf-c-toggle-group__item--item--MarginLeft);
|
|
20519
|
+
}
|
|
20520
|
+
|
|
20521
|
+
.pf-c-toggle-group__item:first-child .pf-c-toggle-group__button, .pf-c-toggle-group__item:first-child .pf-c-toggle-group__button::before {
|
|
20522
|
+
border-top-left-radius: var(--pf-c-toggle-group__item--first-child__button--BorderTopLeftRadius);
|
|
20523
|
+
border-bottom-left-radius: var(--pf-c-toggle-group__item--first-child__button--BorderBottomLeftRadius);
|
|
20524
|
+
}
|
|
20525
|
+
|
|
20526
|
+
.pf-c-toggle-group__item:last-child .pf-c-toggle-group__button, .pf-c-toggle-group__item:last-child .pf-c-toggle-group__button::before {
|
|
20527
|
+
border-top-right-radius: var(--pf-c-toggle-group__item--last-child__button--BorderTopRightRadius);
|
|
20528
|
+
border-bottom-right-radius: var(--pf-c-toggle-group__item--last-child__button--BorderBottomRightRadius);
|
|
20529
|
+
}
|
|
20530
|
+
|
|
20531
|
+
.pf-c-toggle-group__button {
|
|
20532
|
+
position: relative;
|
|
20533
|
+
z-index: var(--pf-c-toggle-group__button--ZIndex);
|
|
20534
|
+
display: inline-flex;
|
|
20535
|
+
padding: var(--pf-c-toggle-group__button--PaddingTop) var(--pf-c-toggle-group__button--PaddingRight) var(--pf-c-toggle-group__button--PaddingBottom) var(--pf-c-toggle-group__button--PaddingLeft);
|
|
20536
|
+
font-size: var(--pf-c-toggle-group__button--FontSize);
|
|
20537
|
+
line-height: var(--pf-c-toggle-group__button--LineHeight);
|
|
20538
|
+
color: var(--pf-c-toggle-group__button--Color);
|
|
20539
|
+
background-color: var(--pf-c-toggle-group__button--BackgroundColor);
|
|
20540
|
+
border: 0;
|
|
20541
|
+
}
|
|
20542
|
+
|
|
20543
|
+
.pf-c-toggle-group__button::before {
|
|
20544
|
+
position: absolute;
|
|
20545
|
+
top: 0;
|
|
20546
|
+
right: 0;
|
|
20547
|
+
bottom: 0;
|
|
20548
|
+
left: 0;
|
|
20549
|
+
pointer-events: none;
|
|
20550
|
+
content: "";
|
|
20551
|
+
border: var(--pf-c-toggle-group__button--before--BorderWidth) solid var(--pf-c-toggle-group__button--before--BorderColor);
|
|
20552
|
+
}
|
|
20553
|
+
|
|
20554
|
+
.pf-c-toggle-group__button:hover {
|
|
20555
|
+
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--hover--BackgroundColor);
|
|
20556
|
+
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--hover--ZIndex);
|
|
20557
|
+
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--hover--before--BorderColor);
|
|
20558
|
+
text-decoration: none;
|
|
20559
|
+
}
|
|
20560
|
+
|
|
20561
|
+
.pf-c-toggle-group__button:focus {
|
|
20562
|
+
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--focus--BackgroundColor);
|
|
20563
|
+
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--focus--ZIndex);
|
|
20564
|
+
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--focus--before--BorderColor);
|
|
20565
|
+
}
|
|
20566
|
+
|
|
20567
|
+
.pf-c-toggle-group__button.pf-m-selected {
|
|
20568
|
+
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--m-selected--BackgroundColor);
|
|
20569
|
+
--pf-c-toggle-group__button--ZIndex: var(--pf-c-toggle-group__button--m-selected--ZIndex);
|
|
20570
|
+
--pf-c-toggle-group__button--before--BorderColor: var(--pf-c-toggle-group__button--m-selected--before--BorderColor);
|
|
20571
|
+
}
|
|
20572
|
+
|
|
20573
|
+
.pf-c-toggle-group__button:disabled, .pf-c-toggle-group__button.pf-m-disabled {
|
|
20574
|
+
--pf-c-toggle-group__button--BackgroundColor: var(--pf-c-toggle-group__button--disabled--BackgroundColor);
|
|
20575
|
+
--pf-c-toggle-group__button--Color: var(--pf-c-toggle-group__button--disabled--Color);
|
|
20576
|
+
pointer-events: none;
|
|
20577
|
+
}
|
|
20578
|
+
|
|
20579
|
+
.pf-c-toggle-group__icon + .pf-c-toggle-group__text,
|
|
20580
|
+
.pf-c-toggle-group__text + .pf-c-toggle-group__icon {
|
|
20581
|
+
margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
|
|
20582
|
+
}
|
|
20583
|
+
|
|
20584
20584
|
.pf-c-tooltip {
|
|
20585
20585
|
--pf-c-tooltip--MaxWidth: 18.75rem;
|
|
20586
20586
|
--pf-c-tooltip--BoxShadow: var(--pf-global--BoxShadow--md);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@patternfly/react-core",
|
|
3
|
-
"version": "4.198.
|
|
3
|
+
"version": "4.198.10",
|
|
4
4
|
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
|
|
5
5
|
"main": "dist/js/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"generate": "node scripts/copyStyles.js"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@patternfly/react-icons": "^4.49.
|
|
38
|
-
"@patternfly/react-styles": "^4.48.
|
|
39
|
-
"@patternfly/react-tokens": "^4.50.
|
|
37
|
+
"@patternfly/react-icons": "^4.49.10",
|
|
38
|
+
"@patternfly/react-styles": "^4.48.10",
|
|
39
|
+
"@patternfly/react-tokens": "^4.50.10",
|
|
40
40
|
"focus-trap": "6.2.2",
|
|
41
41
|
"react-dropzone": "9.0.0",
|
|
42
42
|
"tippy.js": "5.1.2",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"react": "^16.8.0 || ^17.0.0",
|
|
61
61
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "b3c05ce12ebb96e35e10c06e778c5b7865ecec01"
|
|
64
64
|
}
|
|
@@ -124,7 +124,7 @@ import { Flex, FlexItem } from '@patternfly/react-core';
|
|
|
124
124
|
import React from 'react';
|
|
125
125
|
import { Flex, FlexItem } from '@patternfly/react-core';
|
|
126
126
|
|
|
127
|
-
<Flex className="example-border"
|
|
127
|
+
<Flex className="example-border" display={{ default: 'inlineFlex' }}>
|
|
128
128
|
<FlexItem>Flex item</FlexItem>
|
|
129
129
|
<FlexItem>Flex item</FlexItem>
|
|
130
130
|
<FlexItem>Flex item</FlexItem>
|