@patternfly/react-table 4.105.12 → 4.106.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
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
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.106.0 (2022-09-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Button:** new count number prop ([#7910](https://github.com/patternfly/patternfly-react/issues/7910)) ([a096b3c](https://github.com/patternfly/patternfly-react/commit/a096b3cba080b5bcd87777efe0e96e64c6da121f))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.105.14 (2022-09-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **Page:** Fixed page group props regression ([#7948](https://github.com/patternfly/patternfly-react/issues/7948)) ([044444e](https://github.com/patternfly/patternfly-react/commit/044444e11fb90d53dc8f783071d3e3dc517532a0))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## 4.105.13 (2022-09-08)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **table:** fix bug in expandable demo ([#7945](https://github.com/patternfly/patternfly-react/issues/7945)) ([711b196](https://github.com/patternfly/patternfly-react/commit/711b19609dd8023b157a99f6988ff8618ccee35d))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
## 4.105.12 (2022-09-07)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @patternfly/react-table
|
package/dist/umd/react-table.css
CHANGED
|
@@ -6424,6 +6424,8 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6424
6424
|
--pf-c-form-control--readonly--focus--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-global--BorderWidth--sm));
|
|
6425
6425
|
--pf-c-form-control--readonly--focus--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
6426
6426
|
--pf-c-form-control--readonly--focus--BorderBottomColor: var(--pf-global--BorderColor--200);
|
|
6427
|
+
--pf-c-form-control--readonly--m-plain--BackgroundColor: transparent;
|
|
6428
|
+
--pf-c-form-control--readonly--m-plain--inset--base: 0;
|
|
6427
6429
|
--pf-c-form-control--success--BorderBottomWidth: var(--pf-global--BorderWidth--md);
|
|
6428
6430
|
--pf-c-form-control--success--PaddingBottom: calc(var(--pf-global--spacer--form-element) - var(--pf-c-form-control--success--BorderBottomWidth));
|
|
6429
6431
|
--pf-c-form-control--success--BorderBottomColor: var(--pf-global--success-color--100);
|
|
@@ -6550,6 +6552,12 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6550
6552
|
--pf-c-form-control--focus--BorderBottomColor: var(--pf-c-form-control--readonly--focus--BorderBottomColor);
|
|
6551
6553
|
}
|
|
6552
6554
|
|
|
6555
|
+
.pf-c-form-control[readonly].pf-m-plain {
|
|
6556
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-c-form-control--readonly--m-plain--BackgroundColor);
|
|
6557
|
+
--pf-c-form-control--inset--base: var(--pf-c-form-control--readonly--m-plain--inset--base);
|
|
6558
|
+
border-color: transparent;
|
|
6559
|
+
}
|
|
6560
|
+
|
|
6553
6561
|
.pf-c-form-control:hover {
|
|
6554
6562
|
--pf-c-form-control--BorderBottomColor: var(--pf-c-form-control--hover--BorderBottomColor);
|
|
6555
6563
|
}
|
|
@@ -7447,6 +7455,45 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
7447
7455
|
transform: rotate(720deg);
|
|
7448
7456
|
}
|
|
7449
7457
|
}
|
|
7458
|
+
.pf-c-badge {
|
|
7459
|
+
--pf-c-badge--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
7460
|
+
--pf-c-badge--FontSize: var(--pf-global--FontSize--xs);
|
|
7461
|
+
--pf-c-badge--FontWeight: var(--pf-global--FontWeight--bold);
|
|
7462
|
+
--pf-c-badge--PaddingRight: var(--pf-global--spacer--sm);
|
|
7463
|
+
--pf-c-badge--PaddingLeft: var(--pf-global--spacer--sm);
|
|
7464
|
+
--pf-c-badge--Color: var(--pf-global--Color--dark-100);
|
|
7465
|
+
--pf-c-badge--MinWidth: var(--pf-global--spacer--xl);
|
|
7466
|
+
--pf-c-badge--m-read--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
7467
|
+
--pf-c-badge--m-read--Color: var(--pf-global--Color--dark-100);
|
|
7468
|
+
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--100);
|
|
7469
|
+
--pf-c-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
7470
|
+
display: inline-block;
|
|
7471
|
+
min-width: var(--pf-c-badge--MinWidth);
|
|
7472
|
+
padding-right: var(--pf-c-badge--PaddingRight);
|
|
7473
|
+
padding-left: var(--pf-c-badge--PaddingLeft);
|
|
7474
|
+
font-size: var(--pf-c-badge--FontSize);
|
|
7475
|
+
font-weight: var(--pf-c-badge--FontWeight);
|
|
7476
|
+
color: var(--pf-c-badge--Color);
|
|
7477
|
+
text-align: center;
|
|
7478
|
+
background-color: var(--pf-c-badge--BackgroundColor);
|
|
7479
|
+
border-radius: var(--pf-c-badge--BorderRadius);
|
|
7480
|
+
}
|
|
7481
|
+
|
|
7482
|
+
.pf-c-badge.pf-m-read {
|
|
7483
|
+
--pf-c-badge--Color: var(--pf-c-badge--m-read--Color);
|
|
7484
|
+
--pf-c-badge--BackgroundColor: var(--pf-c-badge--m-read--BackgroundColor);
|
|
7485
|
+
}
|
|
7486
|
+
|
|
7487
|
+
.pf-c-badge.pf-m-unread {
|
|
7488
|
+
--pf-c-badge--Color: var(--pf-c-badge--m-unread--Color);
|
|
7489
|
+
--pf-c-badge--BackgroundColor: var(--pf-c-badge--m-unread--BackgroundColor);
|
|
7490
|
+
}
|
|
7491
|
+
|
|
7492
|
+
:where(.pf-theme-dark) .pf-c-badge {
|
|
7493
|
+
--pf-c-badge--m-read--BackgroundColor: var(--pf-global--palette--black-500);
|
|
7494
|
+
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
|
|
7495
|
+
}
|
|
7496
|
+
|
|
7450
7497
|
.pf-c-backdrop {
|
|
7451
7498
|
--pf-c-backdrop--Position: fixed;
|
|
7452
7499
|
--pf-c-backdrop--ZIndex: var(--pf-global--ZIndex--lg);
|
|
@@ -8696,45 +8743,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
8696
8743
|
display: block;
|
|
8697
8744
|
}
|
|
8698
8745
|
|
|
8699
|
-
.pf-c-badge {
|
|
8700
|
-
--pf-c-badge--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
8701
|
-
--pf-c-badge--FontSize: var(--pf-global--FontSize--xs);
|
|
8702
|
-
--pf-c-badge--FontWeight: var(--pf-global--FontWeight--bold);
|
|
8703
|
-
--pf-c-badge--PaddingRight: var(--pf-global--spacer--sm);
|
|
8704
|
-
--pf-c-badge--PaddingLeft: var(--pf-global--spacer--sm);
|
|
8705
|
-
--pf-c-badge--Color: var(--pf-global--Color--dark-100);
|
|
8706
|
-
--pf-c-badge--MinWidth: var(--pf-global--spacer--xl);
|
|
8707
|
-
--pf-c-badge--m-read--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
8708
|
-
--pf-c-badge--m-read--Color: var(--pf-global--Color--dark-100);
|
|
8709
|
-
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--100);
|
|
8710
|
-
--pf-c-badge--m-unread--Color: var(--pf-global--Color--light-100);
|
|
8711
|
-
display: inline-block;
|
|
8712
|
-
min-width: var(--pf-c-badge--MinWidth);
|
|
8713
|
-
padding-right: var(--pf-c-badge--PaddingRight);
|
|
8714
|
-
padding-left: var(--pf-c-badge--PaddingLeft);
|
|
8715
|
-
font-size: var(--pf-c-badge--FontSize);
|
|
8716
|
-
font-weight: var(--pf-c-badge--FontWeight);
|
|
8717
|
-
color: var(--pf-c-badge--Color);
|
|
8718
|
-
text-align: center;
|
|
8719
|
-
background-color: var(--pf-c-badge--BackgroundColor);
|
|
8720
|
-
border-radius: var(--pf-c-badge--BorderRadius);
|
|
8721
|
-
}
|
|
8722
|
-
|
|
8723
|
-
.pf-c-badge.pf-m-read {
|
|
8724
|
-
--pf-c-badge--Color: var(--pf-c-badge--m-read--Color);
|
|
8725
|
-
--pf-c-badge--BackgroundColor: var(--pf-c-badge--m-read--BackgroundColor);
|
|
8726
|
-
}
|
|
8727
|
-
|
|
8728
|
-
.pf-c-badge.pf-m-unread {
|
|
8729
|
-
--pf-c-badge--Color: var(--pf-c-badge--m-unread--Color);
|
|
8730
|
-
--pf-c-badge--BackgroundColor: var(--pf-c-badge--m-unread--BackgroundColor);
|
|
8731
|
-
}
|
|
8732
|
-
|
|
8733
|
-
:where(.pf-theme-dark) .pf-c-badge {
|
|
8734
|
-
--pf-c-badge--m-read--BackgroundColor: var(--pf-global--palette--black-500);
|
|
8735
|
-
--pf-c-badge--m-unread--BackgroundColor: var(--pf-global--primary-color--300);
|
|
8736
|
-
}
|
|
8737
|
-
|
|
8738
8746
|
.pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-info {
|
|
8739
8747
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
8740
8748
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -21880,8 +21888,7 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21880
21888
|
--pf-c-progress-stepper--m-center__step-connector--JustifyContent: center;
|
|
21881
21889
|
--pf-c-progress-stepper--m-center__step-main--MarginRight: var(--pf-global--spacer--xs);
|
|
21882
21890
|
--pf-c-progress-stepper--m-center__step-main--MarginLeft: var(--pf-global--spacer--xs);
|
|
21883
|
-
--pf-c-progress-stepper--m-center__step-
|
|
21884
|
-
--pf-c-progress-stepper--m-center__step-description--TextAlign: center;
|
|
21891
|
+
--pf-c-progress-stepper--m-center__step-main--TextAlign: center;
|
|
21885
21892
|
--pf-c-progress-stepper--m-center__step-description--MarginRight: 0;
|
|
21886
21893
|
--pf-c-progress-stepper--m-center__step-description--MarginLeft: 0;
|
|
21887
21894
|
--pf-c-progress-stepper--GridTemplateRows: auto 1fr;
|
|
@@ -21976,10 +21983,11 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
21976
21983
|
--pf-c-progress-stepper__step-connector--JustifyContent: var(--pf-c-progress-stepper--m-center__step-connector--JustifyContent);
|
|
21977
21984
|
--pf-c-progress-stepper__step-main--MarginRight: var(--pf-c-progress-stepper--m-center__step-main--MarginRight);
|
|
21978
21985
|
--pf-c-progress-stepper__step-main--MarginLeft: var(--pf-c-progress-stepper--m-center__step-main--MarginLeft);
|
|
21979
|
-
--pf-c-progress-
|
|
21986
|
+
--pf-c-progress-stepper--step-main--TextAlign: var(--pf-c-progress-stepper--m-center__step-main--TextAlign, auto);
|
|
21987
|
+
--pf-c-progress-stepper__step-title--TextAlign: var(--pf-c-progress-stepper--m-center__step-title--TextAlign, auto);
|
|
21980
21988
|
--pf-c-progress-stepper__step-description--MarginRight: var(--pf-c-progress-stepper--m-center__step-description--MarginRight);
|
|
21981
21989
|
--pf-c-progress-stepper__step-description--MarginLeft: var(--pf-c-progress-stepper--m-center__step-description--MarginLeft);
|
|
21982
|
-
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign);
|
|
21990
|
+
--pf-c-progress-stepper__step-description--TextAlign: var(--pf-c-progress-stepper--m-center__step-description--TextAlign, auto);
|
|
21983
21991
|
--pf-c-progress-stepper--m-vertical__step-main--MarginRight: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginRight);
|
|
21984
21992
|
--pf-c-progress-stepper--m-vertical__step-main--MarginLeft: var(--pf-c-progress-stepper--m-vertical--m-center__step-main--MarginLeft);
|
|
21985
21993
|
grid-template-columns: var(--pf-c-progress-stepper--m-center--GridTemplateColumns);
|
|
@@ -22127,7 +22135,10 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
|
|
|
22127
22135
|
}
|
|
22128
22136
|
|
|
22129
22137
|
.pf-c-progress-stepper__step-main {
|
|
22138
|
+
min-width: 0;
|
|
22130
22139
|
margin: var(--pf-c-progress-stepper__step-main--MarginTop) var(--pf-c-progress-stepper__step-main--MarginRight) var(--pf-c-progress-stepper__step-main--MarginBottom) var(--pf-c-progress-stepper__step-main--MarginLeft);
|
|
22140
|
+
text-align: var(--pf-c-progress-stepper--step-main--TextAlign, auto);
|
|
22141
|
+
overflow-wrap: anywhere;
|
|
22131
22142
|
}
|
|
22132
22143
|
|
|
22133
22144
|
.pf-c-progress-stepper__step:not(:last-of-type) > .pf-c-progress-stepper__step-main::before {
|
package/dist/umd/react-table.js
CHANGED
|
@@ -4213,6 +4213,22 @@
|
|
|
4213
4213
|
};
|
|
4214
4214
|
Spinner.displayName = 'Spinner';
|
|
4215
4215
|
|
|
4216
|
+
Promise.resolve().then(function () { return badge; });
|
|
4217
|
+
var badgeStyles = {
|
|
4218
|
+
"badge": "pf-c-badge",
|
|
4219
|
+
"modifiers": {
|
|
4220
|
+
"read": "pf-m-read",
|
|
4221
|
+
"unread": "pf-m-unread"
|
|
4222
|
+
},
|
|
4223
|
+
"themeDark": "pf-theme-dark"
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
const Badge = (_a) => {
|
|
4227
|
+
var { isRead = false, className = '', children = '' } = _a, props = __rest$1(_a, ["isRead", "className", "children"]);
|
|
4228
|
+
return (React__namespace.createElement("span", Object.assign({}, props, { className: css(badgeStyles.badge, (isRead ? badgeStyles.modifiers.read : badgeStyles.modifiers.unread), className) }), children));
|
|
4229
|
+
};
|
|
4230
|
+
Badge.displayName = 'Badge';
|
|
4231
|
+
|
|
4216
4232
|
var ButtonVariant;
|
|
4217
4233
|
(function (ButtonVariant) {
|
|
4218
4234
|
ButtonVariant["primary"] = "primary";
|
|
@@ -4231,7 +4247,7 @@
|
|
|
4231
4247
|
ButtonType["reset"] = "reset";
|
|
4232
4248
|
})(ButtonType || (ButtonType = {}));
|
|
4233
4249
|
const ButtonBase = (_a) => {
|
|
4234
|
-
var { children = null, className = '', component = 'button', isActive = false, isBlock = false, isDisabled = false, isAriaDisabled = false, isLoading = null, isDanger = false, spinnerAriaValueText, spinnerAriaLabelledBy, spinnerAriaLabel, isSmall = false, isLarge = false, inoperableEvents = ['onClick', 'onKeyPress'], isInline = false, type = ButtonType.button, variant = ButtonVariant.primary, iconPosition = 'left', 'aria-label': ariaLabel = null, icon = null, ouiaId, ouiaSafe = true, tabIndex = null, innerRef } = _a, props = __rest$1(_a, ["children", "className", "component", "isActive", "isBlock", "isDisabled", "isAriaDisabled", "isLoading", "isDanger", "spinnerAriaValueText", "spinnerAriaLabelledBy", "spinnerAriaLabel", "isSmall", "isLarge", "inoperableEvents", "isInline", "type", "variant", "iconPosition", 'aria-label', "icon", "ouiaId", "ouiaSafe", "tabIndex", "innerRef"]);
|
|
4250
|
+
var { children = null, className = '', component = 'button', isActive = false, isBlock = false, isDisabled = false, isAriaDisabled = false, isLoading = null, isDanger = false, spinnerAriaValueText, spinnerAriaLabelledBy, spinnerAriaLabel, isSmall = false, isLarge = false, inoperableEvents = ['onClick', 'onKeyPress'], isInline = false, type = ButtonType.button, variant = ButtonVariant.primary, iconPosition = 'left', 'aria-label': ariaLabel = null, icon = null, ouiaId, ouiaSafe = true, tabIndex = null, innerRef, countOptions } = _a, props = __rest$1(_a, ["children", "className", "component", "isActive", "isBlock", "isDisabled", "isAriaDisabled", "isLoading", "isDanger", "spinnerAriaValueText", "spinnerAriaLabelledBy", "spinnerAriaLabel", "isSmall", "isLarge", "inoperableEvents", "isInline", "type", "variant", "iconPosition", 'aria-label', "icon", "ouiaId", "ouiaSafe", "tabIndex", "innerRef", "countOptions"]);
|
|
4235
4251
|
const ouiaProps = useOUIAProps(Button.displayName, ouiaId, ouiaSafe, variant);
|
|
4236
4252
|
const Component = component;
|
|
4237
4253
|
const isButtonElement = Component === 'button';
|
|
@@ -4256,7 +4272,9 @@
|
|
|
4256
4272
|
variant === ButtonVariant.plain && children === null && icon ? icon : null,
|
|
4257
4273
|
variant !== ButtonVariant.plain && icon && iconPosition === 'left' && (React__namespace.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.start) }, icon)),
|
|
4258
4274
|
children,
|
|
4259
|
-
variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon))
|
|
4275
|
+
variant !== ButtonVariant.plain && icon && iconPosition === 'right' && (React__namespace.createElement("span", { className: css(buttonStyles.buttonIcon, buttonStyles.modifiers.end) }, icon)),
|
|
4276
|
+
countOptions && (React__namespace.createElement("span", { className: css(buttonStyles.buttonCount, countOptions.className) },
|
|
4277
|
+
React__namespace.createElement(Badge, { isRead: countOptions.isRead }, countOptions.count)))));
|
|
4260
4278
|
};
|
|
4261
4279
|
const Button = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ButtonBase, Object.assign({ innerRef: ref }, props))));
|
|
4262
4280
|
Button.displayName = 'Button';
|
|
@@ -4576,6 +4594,7 @@
|
|
|
4576
4594
|
"formControl": "pf-c-form-control",
|
|
4577
4595
|
"modifiers": {
|
|
4578
4596
|
"success": "pf-m-success",
|
|
4597
|
+
"plain": "pf-m-plain",
|
|
4579
4598
|
"expanded": "pf-m-expanded",
|
|
4580
4599
|
"icon": "pf-m-icon",
|
|
4581
4600
|
"warning": "pf-m-warning",
|
|
@@ -5248,16 +5267,6 @@
|
|
|
5248
5267
|
bubbleEvent: false
|
|
5249
5268
|
};
|
|
5250
5269
|
|
|
5251
|
-
Promise.resolve().then(function () { return badge; });
|
|
5252
|
-
var badgeStyles = {
|
|
5253
|
-
"badge": "pf-c-badge",
|
|
5254
|
-
"modifiers": {
|
|
5255
|
-
"read": "pf-m-read",
|
|
5256
|
-
"unread": "pf-m-unread"
|
|
5257
|
-
},
|
|
5258
|
-
"themeDark": "pf-theme-dark"
|
|
5259
|
-
};
|
|
5260
|
-
|
|
5261
5270
|
const EllipsisVIconConfig = {
|
|
5262
5271
|
name: 'EllipsisVIcon',
|
|
5263
5272
|
height: 512,
|
|
@@ -13424,6 +13433,10 @@
|
|
|
13424
13433
|
__proto__: null
|
|
13425
13434
|
});
|
|
13426
13435
|
|
|
13436
|
+
var badge = /*#__PURE__*/Object.freeze({
|
|
13437
|
+
__proto__: null
|
|
13438
|
+
});
|
|
13439
|
+
|
|
13427
13440
|
var tooltip = /*#__PURE__*/Object.freeze({
|
|
13428
13441
|
__proto__: null
|
|
13429
13442
|
});
|
|
@@ -13440,10 +13453,6 @@
|
|
|
13440
13453
|
__proto__: null
|
|
13441
13454
|
});
|
|
13442
13455
|
|
|
13443
|
-
var badge = /*#__PURE__*/Object.freeze({
|
|
13444
|
-
__proto__: null
|
|
13445
|
-
});
|
|
13446
|
-
|
|
13447
13456
|
var select = /*#__PURE__*/Object.freeze({
|
|
13448
13457
|
__proto__: null
|
|
13449
13458
|
});
|