@patternfly/react-table 4.94.5 → 4.94.8
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/dist/umd/react-table.css +1556 -1537
- package/dist/umd/react-table.js +4 -5
- package/dist/umd/react-table.min.css +91 -72
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
package/dist/umd/react-table.js
CHANGED
|
@@ -4829,7 +4829,7 @@
|
|
|
4829
4829
|
}
|
|
4830
4830
|
render() {
|
|
4831
4831
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
4832
|
-
const _a = this.props, { className, children,
|
|
4832
|
+
const _a = this.props, { className, children, context, onClick, component, role, isDisabled, isAriaDisabled, isPlainText, index, href, tooltip, tooltipProps, id, componentID, listItemClassName, additionalChild, customChild, enterTriggersArrowDown, icon, autoFocus, styleChildren, description, inoperableEvents } = _a, additionalProps = __rest$1(_a, ["className", "children", "context", "onClick", "component", "role", "isDisabled", "isAriaDisabled", "isPlainText", "index", "href", "tooltip", "tooltipProps", "id", "componentID", "listItemClassName", "additionalChild", "customChild", "enterTriggersArrowDown", "icon", "autoFocus", "styleChildren", "description", "inoperableEvents"]);
|
|
4833
4833
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
4834
4834
|
let classes = css(icon && styles$8.modifiers.icon, isAriaDisabled && styles$8.modifiers.ariaDisabled, className);
|
|
4835
4835
|
if (component === 'a') {
|
|
@@ -4880,7 +4880,6 @@
|
|
|
4880
4880
|
InternalDropdownItem.displayName = 'InternalDropdownItem';
|
|
4881
4881
|
InternalDropdownItem.defaultProps = {
|
|
4882
4882
|
className: '',
|
|
4883
|
-
isHovered: false,
|
|
4884
4883
|
component: 'a',
|
|
4885
4884
|
role: 'none',
|
|
4886
4885
|
isDisabled: false,
|
|
@@ -4901,12 +4900,12 @@
|
|
|
4901
4900
|
};
|
|
4902
4901
|
|
|
4903
4902
|
const DropdownItem = (_a) => {
|
|
4904
|
-
var { children, className, component = 'a', isDisabled = false, isAriaDisabled = false, isPlainText = false,
|
|
4903
|
+
var { children, className, component = 'a', isDisabled = false, isAriaDisabled = false, isPlainText = false, href, tooltip, tooltipProps = {}, listItemClassName, onClick,
|
|
4905
4904
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4906
4905
|
ref, // Types of Ref are different for React.FunctionComponent vs React.Component
|
|
4907
|
-
additionalChild, customChild, tabIndex = -1, icon = null, autoFocus, description = null, styleChildren, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["children", "className", "component", "isDisabled", "isAriaDisabled", "isPlainText", "
|
|
4906
|
+
additionalChild, customChild, tabIndex = -1, icon = null, autoFocus, description = null, styleChildren, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["children", "className", "component", "isDisabled", "isAriaDisabled", "isPlainText", "href", "tooltip", "tooltipProps", "listItemClassName", "onClick", "ref", "additionalChild", "customChild", "tabIndex", "icon", "autoFocus", "description", "styleChildren", "ouiaId", "ouiaSafe"]);
|
|
4908
4907
|
const ouiaProps = useOUIAProps(DropdownItem.displayName, ouiaId, ouiaSafe);
|
|
4909
|
-
return (React__namespace.createElement(DropdownArrowContext.Consumer, null, context => (React__namespace.createElement(InternalDropdownItem, Object.assign({ context: context, role: "menuitem", tabIndex: tabIndex, className: className, component: component, isDisabled: isDisabled, isAriaDisabled: isAriaDisabled, isPlainText: isPlainText,
|
|
4908
|
+
return (React__namespace.createElement(DropdownArrowContext.Consumer, null, context => (React__namespace.createElement(InternalDropdownItem, Object.assign({ context: context, role: "menuitem", tabIndex: tabIndex, className: className, component: component, isDisabled: isDisabled, isAriaDisabled: isAriaDisabled, isPlainText: isPlainText, href: href, tooltip: tooltip, tooltipProps: tooltipProps, listItemClassName: listItemClassName, onClick: onClick, additionalChild: additionalChild, customChild: customChild, icon: icon, autoFocus: autoFocus, styleChildren: styleChildren, description: description }, ouiaProps, props), children))));
|
|
4910
4909
|
};
|
|
4911
4910
|
DropdownItem.displayName = 'DropdownItem';
|
|
4912
4911
|
|
|
@@ -12544,7 +12544,7 @@ button.pf-c-breadcrumb__link {
|
|
|
12544
12544
|
}
|
|
12545
12545
|
|
|
12546
12546
|
.pf-c-drawer__body > .pf-c-page__main {
|
|
12547
|
-
|
|
12547
|
+
height: 100%;
|
|
12548
12548
|
}
|
|
12549
12549
|
|
|
12550
12550
|
.pf-c-drawer__splitter {
|
|
@@ -16819,6 +16819,7 @@ ul.pf-c-list {
|
|
|
16819
16819
|
}
|
|
16820
16820
|
|
|
16821
16821
|
.pf-c-menu.pf-m-drilldown .pf-c-menu__list-item:not(.pf-m-current-path) .pf-c-menu {
|
|
16822
|
+
display: none;
|
|
16822
16823
|
visibility: hidden;
|
|
16823
16824
|
}
|
|
16824
16825
|
|
|
@@ -20010,6 +20011,8 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
20010
20011
|
--pf-c-page__sidebar--Width: 18.125rem;
|
|
20011
20012
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-global--BackgroundColor--dark-300);
|
|
20012
20013
|
--pf-c-page__sidebar--m-light--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
20014
|
+
--pf-c-page__sidebar--m-light--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
20015
|
+
--pf-c-page__sidebar--m-light--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
20013
20016
|
--pf-c-page__sidebar--BoxShadow: var(--pf-global--BoxShadow--lg-right);
|
|
20014
20017
|
--pf-c-page__sidebar--Transition: var(--pf-global--Transition);
|
|
20015
20018
|
--pf-c-page__sidebar--TranslateX: -100%;
|
|
@@ -20297,16 +20300,16 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
20297
20300
|
transform: translateX(var(--pf-c-page__sidebar--TranslateX)) translateZ(var(--pf-c-page__sidebar--TranslateZ));
|
|
20298
20301
|
}
|
|
20299
20302
|
|
|
20300
|
-
@media screen and (min-width: 1200px) {
|
|
20301
|
-
.pf-c-page__sidebar {
|
|
20302
|
-
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
20303
|
-
}
|
|
20304
|
-
}
|
|
20305
20303
|
.pf-c-page__sidebar.pf-m-expanded {
|
|
20306
20304
|
--pf-c-page__sidebar--TranslateX: var(--pf-c-page__sidebar--m-expanded--TranslateX);
|
|
20307
20305
|
box-shadow: var(--pf-c-page__sidebar--BoxShadow);
|
|
20308
20306
|
}
|
|
20309
20307
|
|
|
20308
|
+
@media screen and (min-width: 1200px) {
|
|
20309
|
+
.pf-c-page__sidebar.pf-m-expanded {
|
|
20310
|
+
--pf-c-page__sidebar--BoxShadow: none;
|
|
20311
|
+
}
|
|
20312
|
+
}
|
|
20310
20313
|
.pf-c-page__sidebar.pf-m-collapsed {
|
|
20311
20314
|
max-width: 0;
|
|
20312
20315
|
overflow: hidden;
|
|
@@ -20315,6 +20318,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
20315
20318
|
.pf-c-page__sidebar.pf-m-light {
|
|
20316
20319
|
color: var(--pf-global--Color--100);
|
|
20317
20320
|
--pf-c-page__sidebar--BackgroundColor: var(--pf-c-page__sidebar--m-light--BackgroundColor);
|
|
20321
|
+
border-right: var(--pf-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-c-page__sidebar--m-light--BorderRightColor);
|
|
20318
20322
|
}
|
|
20319
20323
|
|
|
20320
20324
|
.pf-c-page__sidebar-body {
|
|
@@ -20897,6 +20901,10 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
20897
20901
|
background-color: var(--pf-c-page__header-tools--c-button--m-selected--before--BackgroundColor);
|
|
20898
20902
|
}
|
|
20899
20903
|
|
|
20904
|
+
:where(.pf-theme-dark) .pf-c-page__sidebar {
|
|
20905
|
+
border-right: var(--pf-global--BorderWidth--sm) solid var(--pf-global--BorderColor--100);
|
|
20906
|
+
}
|
|
20907
|
+
|
|
20900
20908
|
: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 {
|
|
20901
20909
|
--pf-c-page__main-nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
20902
20910
|
}
|
|
@@ -25135,71 +25143,6 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25135
25143
|
--pf-c-tile--m-disabled__body--Color: var(--pf-global--disabled-color--300);
|
|
25136
25144
|
}
|
|
25137
25145
|
|
|
25138
|
-
.pf-c-title {
|
|
25139
|
-
--pf-c-title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
25140
|
-
--pf-c-title--m-4xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25141
|
-
--pf-c-title--m-4xl--FontSize: var(--pf-global--FontSize--4xl);
|
|
25142
|
-
--pf-c-title--m-4xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25143
|
-
--pf-c-title--m-3xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25144
|
-
--pf-c-title--m-3xl--FontSize: var(--pf-global--FontSize--3xl);
|
|
25145
|
-
--pf-c-title--m-3xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25146
|
-
--pf-c-title--m-2xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25147
|
-
--pf-c-title--m-2xl--FontSize: var(--pf-global--FontSize--2xl);
|
|
25148
|
-
--pf-c-title--m-2xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25149
|
-
--pf-c-title--m-xl--LineHeight: var(--pf-global--LineHeight--md);
|
|
25150
|
-
--pf-c-title--m-xl--FontSize: var(--pf-global--FontSize--xl);
|
|
25151
|
-
--pf-c-title--m-xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25152
|
-
--pf-c-title--m-lg--LineHeight: var(--pf-global--LineHeight--md);
|
|
25153
|
-
--pf-c-title--m-lg--FontSize: var(--pf-global--FontSize--lg);
|
|
25154
|
-
--pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25155
|
-
--pf-c-title--m-md--LineHeight: var(--pf-global--LineHeight--md);
|
|
25156
|
-
--pf-c-title--m-md--FontSize: var(--pf-global--FontSize--md);
|
|
25157
|
-
--pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25158
|
-
font-family: var(--pf-c-title--FontFamily);
|
|
25159
|
-
word-break: break-word;
|
|
25160
|
-
}
|
|
25161
|
-
|
|
25162
|
-
.pf-c-title.pf-m-4xl {
|
|
25163
|
-
font-size: var(--pf-c-title--m-4xl--FontSize);
|
|
25164
|
-
font-weight: var(--pf-c-title--m-4xl--FontWeight);
|
|
25165
|
-
line-height: var(--pf-c-title--m-4xl--LineHeight);
|
|
25166
|
-
}
|
|
25167
|
-
|
|
25168
|
-
.pf-c-title.pf-m-3xl {
|
|
25169
|
-
font-size: var(--pf-c-title--m-3xl--FontSize);
|
|
25170
|
-
font-weight: var(--pf-c-title--m-3xl--FontWeight);
|
|
25171
|
-
line-height: var(--pf-c-title--m-3xl--LineHeight);
|
|
25172
|
-
}
|
|
25173
|
-
|
|
25174
|
-
.pf-c-title.pf-m-2xl {
|
|
25175
|
-
font-size: var(--pf-c-title--m-2xl--FontSize);
|
|
25176
|
-
font-weight: var(--pf-c-title--m-2xl--FontWeight);
|
|
25177
|
-
line-height: var(--pf-c-title--m-2xl--LineHeight);
|
|
25178
|
-
}
|
|
25179
|
-
|
|
25180
|
-
.pf-c-title.pf-m-xl {
|
|
25181
|
-
font-size: var(--pf-c-title--m-xl--FontSize);
|
|
25182
|
-
font-weight: var(--pf-c-title--m-xl--FontWeight);
|
|
25183
|
-
line-height: var(--pf-c-title--m-xl--LineHeight);
|
|
25184
|
-
}
|
|
25185
|
-
|
|
25186
|
-
.pf-c-title.pf-m-lg {
|
|
25187
|
-
font-size: var(--pf-c-title--m-lg--FontSize);
|
|
25188
|
-
font-weight: var(--pf-c-title--m-lg--FontWeight);
|
|
25189
|
-
line-height: var(--pf-c-title--m-lg--LineHeight);
|
|
25190
|
-
}
|
|
25191
|
-
|
|
25192
|
-
.pf-c-title.pf-m-md {
|
|
25193
|
-
font-size: var(--pf-c-title--m-md--FontSize);
|
|
25194
|
-
font-weight: var(--pf-c-title--m-md--FontWeight);
|
|
25195
|
-
line-height: var(--pf-c-title--m-md--LineHeight);
|
|
25196
|
-
}
|
|
25197
|
-
|
|
25198
|
-
.pf-m-overpass-font .pf-c-title {
|
|
25199
|
-
--pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
25200
|
-
--pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
25201
|
-
}
|
|
25202
|
-
|
|
25203
25146
|
.pf-c-toggle-group {
|
|
25204
25147
|
--pf-c-toggle-group__button--PaddingTop: var(--pf-global--spacer--form-element);
|
|
25205
25148
|
--pf-c-toggle-group__button--PaddingRight: var(--pf-global--spacer--md);
|
|
@@ -25320,6 +25263,71 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
25320
25263
|
--pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--primary-color--300);
|
|
25321
25264
|
}
|
|
25322
25265
|
|
|
25266
|
+
.pf-c-title {
|
|
25267
|
+
--pf-c-title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
25268
|
+
--pf-c-title--m-4xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25269
|
+
--pf-c-title--m-4xl--FontSize: var(--pf-global--FontSize--4xl);
|
|
25270
|
+
--pf-c-title--m-4xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25271
|
+
--pf-c-title--m-3xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25272
|
+
--pf-c-title--m-3xl--FontSize: var(--pf-global--FontSize--3xl);
|
|
25273
|
+
--pf-c-title--m-3xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25274
|
+
--pf-c-title--m-2xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
25275
|
+
--pf-c-title--m-2xl--FontSize: var(--pf-global--FontSize--2xl);
|
|
25276
|
+
--pf-c-title--m-2xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25277
|
+
--pf-c-title--m-xl--LineHeight: var(--pf-global--LineHeight--md);
|
|
25278
|
+
--pf-c-title--m-xl--FontSize: var(--pf-global--FontSize--xl);
|
|
25279
|
+
--pf-c-title--m-xl--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25280
|
+
--pf-c-title--m-lg--LineHeight: var(--pf-global--LineHeight--md);
|
|
25281
|
+
--pf-c-title--m-lg--FontSize: var(--pf-global--FontSize--lg);
|
|
25282
|
+
--pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25283
|
+
--pf-c-title--m-md--LineHeight: var(--pf-global--LineHeight--md);
|
|
25284
|
+
--pf-c-title--m-md--FontSize: var(--pf-global--FontSize--md);
|
|
25285
|
+
--pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--normal);
|
|
25286
|
+
font-family: var(--pf-c-title--FontFamily);
|
|
25287
|
+
word-break: break-word;
|
|
25288
|
+
}
|
|
25289
|
+
|
|
25290
|
+
.pf-c-title.pf-m-4xl {
|
|
25291
|
+
font-size: var(--pf-c-title--m-4xl--FontSize);
|
|
25292
|
+
font-weight: var(--pf-c-title--m-4xl--FontWeight);
|
|
25293
|
+
line-height: var(--pf-c-title--m-4xl--LineHeight);
|
|
25294
|
+
}
|
|
25295
|
+
|
|
25296
|
+
.pf-c-title.pf-m-3xl {
|
|
25297
|
+
font-size: var(--pf-c-title--m-3xl--FontSize);
|
|
25298
|
+
font-weight: var(--pf-c-title--m-3xl--FontWeight);
|
|
25299
|
+
line-height: var(--pf-c-title--m-3xl--LineHeight);
|
|
25300
|
+
}
|
|
25301
|
+
|
|
25302
|
+
.pf-c-title.pf-m-2xl {
|
|
25303
|
+
font-size: var(--pf-c-title--m-2xl--FontSize);
|
|
25304
|
+
font-weight: var(--pf-c-title--m-2xl--FontWeight);
|
|
25305
|
+
line-height: var(--pf-c-title--m-2xl--LineHeight);
|
|
25306
|
+
}
|
|
25307
|
+
|
|
25308
|
+
.pf-c-title.pf-m-xl {
|
|
25309
|
+
font-size: var(--pf-c-title--m-xl--FontSize);
|
|
25310
|
+
font-weight: var(--pf-c-title--m-xl--FontWeight);
|
|
25311
|
+
line-height: var(--pf-c-title--m-xl--LineHeight);
|
|
25312
|
+
}
|
|
25313
|
+
|
|
25314
|
+
.pf-c-title.pf-m-lg {
|
|
25315
|
+
font-size: var(--pf-c-title--m-lg--FontSize);
|
|
25316
|
+
font-weight: var(--pf-c-title--m-lg--FontWeight);
|
|
25317
|
+
line-height: var(--pf-c-title--m-lg--LineHeight);
|
|
25318
|
+
}
|
|
25319
|
+
|
|
25320
|
+
.pf-c-title.pf-m-md {
|
|
25321
|
+
font-size: var(--pf-c-title--m-md--FontSize);
|
|
25322
|
+
font-weight: var(--pf-c-title--m-md--FontWeight);
|
|
25323
|
+
line-height: var(--pf-c-title--m-md--LineHeight);
|
|
25324
|
+
}
|
|
25325
|
+
|
|
25326
|
+
.pf-m-overpass-font .pf-c-title {
|
|
25327
|
+
--pf-c-title--m-md--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
25328
|
+
--pf-c-title--m-lg--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
25329
|
+
}
|
|
25330
|
+
|
|
25323
25331
|
.pf-c-toolbar__content-section, .pf-c-toolbar__content, .pf-c-toolbar__item, .pf-c-toolbar__group {
|
|
25324
25332
|
--pf-hidden-visible--visible--Visibility: visible;
|
|
25325
25333
|
--pf-hidden-visible--hidden--Display: none;
|
|
@@ -26714,12 +26722,23 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
26714
26722
|
--pf-c-number-input__unit--c-input-group--MarginLeft: var(--pf-global--spacer--sm);
|
|
26715
26723
|
--pf-c-number-input__icon--FontSize: var(--pf-global--FontSize--xs);
|
|
26716
26724
|
--pf-c-number-input--c-form-control--width-base: calc(var(--pf-global--spacer--sm) * 2 + var(--pf-global--BorderWidth--sm) * 2);
|
|
26725
|
+
--pf-c-number-input--c-form-control--width-icon: 0px;
|
|
26726
|
+
--pf-c-number-input--m-status--c-form-control--width-icon: var(--pf-global--spacer--xl);
|
|
26717
26727
|
--pf-c-number-input--c-form-control--width-chars: 4;
|
|
26718
|
-
--pf-c-number-input--c-form-control--Width:
|
|
26728
|
+
--pf-c-number-input--c-form-control--Width:
|
|
26729
|
+
calc(
|
|
26730
|
+
calc(
|
|
26731
|
+
var(--pf-c-number-input--c-form-control--width-base) + var(--pf-c-number-input--c-form-control--width-chars) * 1ch
|
|
26732
|
+
) + var(--pf-c-number-input--c-form-control--width-icon)
|
|
26733
|
+
);
|
|
26719
26734
|
display: inline-flex;
|
|
26720
26735
|
align-items: center;
|
|
26721
26736
|
}
|
|
26722
26737
|
|
|
26738
|
+
.pf-c-number-input.pf-m-status {
|
|
26739
|
+
--pf-c-number-input--c-form-control--width-icon: var(--pf-c-number-input--m-status--c-form-control--width-icon);
|
|
26740
|
+
}
|
|
26741
|
+
|
|
26723
26742
|
.pf-c-number-input .pf-c-form-control {
|
|
26724
26743
|
display: inline-flex;
|
|
26725
26744
|
width: var(--pf-c-number-input--c-form-control--Width);
|