@patternfly/react-table 4.52.11 → 4.54.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 +38 -0
- package/dist/esm/components/Table/SelectColumn.d.ts.map +1 -1
- package/dist/esm/components/Table/SelectColumn.js +2 -1
- package/dist/esm/components/Table/SelectColumn.js.map +1 -1
- package/dist/js/components/Table/SelectColumn.d.ts.map +1 -1
- package/dist/js/components/Table/SelectColumn.js +2 -1
- package/dist/js/components/Table/SelectColumn.js.map +1 -1
- package/dist/umd/react-table.css +17 -3
- package/dist/umd/react-table.js +10 -6
- package/dist/umd/react-table.min.css +265 -251
- package/dist/umd/react-table.min.js +1 -1
- package/package.json +6 -6
- package/src/components/Table/SelectColumn.tsx +3 -1
- package/src/components/Table/__snapshots__/Table.test.tsx.snap +174 -91
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
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.54.0 (2022-01-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Table:** update clickable area for checks/radios ([#6754](https://github.com/patternfly/patternfly-react/issues/6754)) ([c4f3c2d](https://github.com/patternfly/patternfly-react/commit/c4f3c2d7f515e3d6ad73d8b52238ca426281469a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.53.2 (2022-01-10)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## 4.53.1 (2022-01-10)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @patternfly/react-table
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# 4.53.0 (2022-01-10)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **Dropdown:** add plain-text variant support ([#6721](https://github.com/patternfly/patternfly-react/issues/6721)) ([e5000e3](https://github.com/patternfly/patternfly-react/commit/e5000e36194e36b9c6ae49efdb0a513125efcb70))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
## 4.52.11 (2022-01-10)
|
|
7
45
|
|
|
8
46
|
**Note:** Version bump only for package @patternfly/react-table
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SelectColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAcnE,CAAC"}
|
|
@@ -10,7 +10,8 @@ export const SelectColumn = (_a) => {
|
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
11
|
className, onSelect = null, selectVariant } = _a, props = __rest(_a, ["children", "className", "onSelect", "selectVariant"]);
|
|
12
12
|
return (React.createElement(React.Fragment, null,
|
|
13
|
-
React.createElement("
|
|
13
|
+
React.createElement("label", null,
|
|
14
|
+
React.createElement("input", Object.assign({}, props, { type: selectVariant, onChange: onSelect }))),
|
|
14
15
|
children));
|
|
15
16
|
};
|
|
16
17
|
SelectColumn.displayName = 'SelectColumn';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectColumn.js","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAUD,MAAM,CAAC,MAAM,YAAY,GAA+C,CAAC,EAOrD,EAAE,EAAE;QAPiD,EACvE,QAAQ,GAAG,IAAuB;IAClC,6DAA6D;IAC7D,SAAS,EACT,QAAQ,GAAG,IAA0D,EACrE,aAAa,OAEK,EADf,KAAK,cAN+D,sDAOxE,CADS;IACe,OAAA,CACvB,oBAAC,KAAK,CAAC,QAAQ;QACb,+CAAW,KAAK,IAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"SelectColumn.js","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B;AAUD,MAAM,CAAC,MAAM,YAAY,GAA+C,CAAC,EAOrD,EAAE,EAAE;QAPiD,EACvE,QAAQ,GAAG,IAAuB;IAClC,6DAA6D;IAC7D,SAAS,EACT,QAAQ,GAAG,IAA0D,EACrE,aAAa,OAEK,EADf,KAAK,cAN+D,sDAOxE,CADS;IACe,OAAA,CACvB,oBAAC,KAAK,CAAC,QAAQ;QACb;YACE,+CAAW,KAAK,IAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,IAAI,CACvD;QACP,QAAQ,CACM,CAClB,CAAA;CAAA,CAAC;AACF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SelectColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAcnE,CAAC"}
|
|
@@ -13,7 +13,8 @@ const SelectColumn = (_a) => {
|
|
|
13
13
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14
14
|
className, onSelect = null, selectVariant } = _a, props = tslib_1.__rest(_a, ["children", "className", "onSelect", "selectVariant"]);
|
|
15
15
|
return (React.createElement(React.Fragment, null,
|
|
16
|
-
React.createElement("
|
|
16
|
+
React.createElement("label", null,
|
|
17
|
+
React.createElement("input", Object.assign({}, props, { type: selectVariant, onChange: onSelect }))),
|
|
17
18
|
children));
|
|
18
19
|
};
|
|
19
20
|
exports.SelectColumn = SelectColumn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectColumn.js","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAUM,MAAM,YAAY,GAA+C,CAAC,EAOrD,EAAE,EAAE;QAPiD,EACvE,QAAQ,GAAG,IAAuB;IAClC,6DAA6D;IAC7D,SAAS,EACT,QAAQ,GAAG,IAA0D,EACrE,aAAa,OAEK,EADf,KAAK,sBAN+D,sDAOxE,CADS;IACe,OAAA,CACvB,oBAAC,KAAK,CAAC,QAAQ;QACb,+CAAW,KAAK,IAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,IAAI;
|
|
1
|
+
{"version":3,"file":"SelectColumn.js","sourceRoot":"","sources":["../../../../src/components/Table/SelectColumn.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAE/B,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,yCAAqB,CAAA;AACvB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAUM,MAAM,YAAY,GAA+C,CAAC,EAOrD,EAAE,EAAE;QAPiD,EACvE,QAAQ,GAAG,IAAuB;IAClC,6DAA6D;IAC7D,SAAS,EACT,QAAQ,GAAG,IAA0D,EACrE,aAAa,OAEK,EADf,KAAK,sBAN+D,sDAOxE,CADS;IACe,OAAA,CACvB,oBAAC,KAAK,CAAC,QAAQ;QACb;YACE,+CAAW,KAAK,IAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,IAAI,CACvD;QACP,QAAQ,CACM,CAClB,CAAA;CAAA,CAAC;AAdW,QAAA,YAAY,gBAcvB;AACF,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
|
package/dist/umd/react-table.css
CHANGED
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
.pf-c-table .pf-c-table__icon,
|
|
621
621
|
.pf-c-table .pf-m-fit-content {
|
|
622
622
|
--pf-c-table--cell--MinWidth: fit-content;
|
|
623
|
-
--pf-c-table--cell--MaxWidth:
|
|
623
|
+
--pf-c-table--cell--MaxWidth: none;
|
|
624
624
|
--pf-c-table--cell--Width: 1%;
|
|
625
625
|
--pf-c-table--cell--Overflow: visible;
|
|
626
626
|
--pf-c-table--cell--TextOverflow: clip;
|
|
@@ -4995,6 +4995,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
4995
4995
|
--pf-c-button__progress--width: calc(var(--pf-global--icon--FontSize--md) + var(--pf-global--spacer--sm));
|
|
4996
4996
|
--pf-c-button__progress--Opacity: 0;
|
|
4997
4997
|
--pf-c-button__progress--TranslateY: -50%;
|
|
4998
|
+
--pf-c-button__progress--TranslateX: 0;
|
|
4998
4999
|
--pf-c-button__progress--Top: 50%;
|
|
4999
5000
|
--pf-c-button__progress--Left: var(--pf-global--spacer--md);
|
|
5000
5001
|
--pf-c-button--m-progress--TransitionProperty: padding;
|
|
@@ -5003,6 +5004,9 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5003
5004
|
--pf-c-button--m-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width) / 2);
|
|
5004
5005
|
--pf-c-button--m-in-progress--PaddingRight: var(--pf-global--spacer--md);
|
|
5005
5006
|
--pf-c-button--m-in-progress--PaddingLeft: calc(var(--pf-global--spacer--md) + var(--pf-c-button__progress--width));
|
|
5007
|
+
--pf-c-button--m-in-progress--m-plain--Color: var(--pf-global--primary-color--100);
|
|
5008
|
+
--pf-c-button--m-in-progress--m-plain__progress--Left: 50%;
|
|
5009
|
+
--pf-c-button--m-in-progress--m-plain__progress--TranslateX: -50%;
|
|
5006
5010
|
position: relative;
|
|
5007
5011
|
display: inline-block;
|
|
5008
5012
|
padding: var(--pf-c-button--PaddingTop) var(--pf-c-button--PaddingRight) var(--pf-c-button--PaddingBottom) var(--pf-c-button--PaddingLeft);
|
|
@@ -5350,11 +5354,21 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5350
5354
|
transition: var(--pf-c-button--m-progress--TransitionProperty) var(--pf-c-button--m-progress--TransitionDuration);
|
|
5351
5355
|
}
|
|
5352
5356
|
|
|
5353
|
-
.pf-c-button.pf-m-in-progress {
|
|
5357
|
+
.pf-c-button.pf-m-in-progress:not(.pf-m-plain) {
|
|
5354
5358
|
--pf-c-button--PaddingRight: var(--pf-c-button--m-in-progress--PaddingRight);
|
|
5355
5359
|
--pf-c-button--PaddingLeft: var(--pf-c-button--m-in-progress--PaddingLeft);
|
|
5356
5360
|
}
|
|
5357
5361
|
|
|
5362
|
+
.pf-c-button.pf-m-in-progress.pf-m-plain {
|
|
5363
|
+
--pf-c-button--m-plain--Color: var(--pf-c-button--m-in-progress--m-plain--Color);
|
|
5364
|
+
--pf-c-button__progress--Left: var(--pf-c-button--m-in-progress--m-plain__progress--Left);
|
|
5365
|
+
--pf-c-button__progress--TranslateX: var(--pf-c-button--m-in-progress--m-plain__progress--TranslateX);
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5368
|
+
.pf-c-button.pf-m-in-progress.pf-m-plain > :not(.pf-c-button__progress) {
|
|
5369
|
+
opacity: 0;
|
|
5370
|
+
}
|
|
5371
|
+
|
|
5358
5372
|
.pf-c-button__icon.pf-m-start {
|
|
5359
5373
|
margin-right: var(--pf-c-button__icon--m-start--MarginRight);
|
|
5360
5374
|
}
|
|
@@ -5368,7 +5382,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
5368
5382
|
top: var(--pf-c-button__progress--Top);
|
|
5369
5383
|
left: var(--pf-c-button__progress--Left);
|
|
5370
5384
|
line-height: 1;
|
|
5371
|
-
transform:
|
|
5385
|
+
transform: translate(var(--pf-c-button__progress--TranslateX), var(--pf-c-button__progress--TranslateY));
|
|
5372
5386
|
}
|
|
5373
5387
|
|
|
5374
5388
|
.pf-c-button__progress .pf-c-spinner {
|
package/dist/umd/react-table.js
CHANGED
|
@@ -4037,9 +4037,9 @@
|
|
|
4037
4037
|
}
|
|
4038
4038
|
}
|
|
4039
4039
|
render() {
|
|
4040
|
-
const _a = this.props, { children, className, direction, dropdownItems, isOpen, isPlain, isGrouped, isFullHeight,
|
|
4040
|
+
const _a = this.props, { children, className, direction, dropdownItems, isOpen, isPlain, isText, isGrouped, isFullHeight,
|
|
4041
4041
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4042
|
-
onSelect, position, toggle, autoFocus, menuAppendTo } = _a, props = __rest$1(_a, ["children", "className", "direction", "dropdownItems", "isOpen", "isPlain", "isGrouped", "isFullHeight", "onSelect", "position", "toggle", "autoFocus", "menuAppendTo"]);
|
|
4042
|
+
onSelect, position, toggle, autoFocus, menuAppendTo } = _a, props = __rest$1(_a, ["children", "className", "direction", "dropdownItems", "isOpen", "isPlain", "isText", "isGrouped", "isFullHeight", "onSelect", "position", "toggle", "autoFocus", "menuAppendTo"]);
|
|
4043
4043
|
const id = toggle.props.id || `pf-dropdown-toggle-id-${DropdownWithContext.currentId++}`;
|
|
4044
4044
|
let component;
|
|
4045
4045
|
let renderedContent;
|
|
@@ -4065,6 +4065,7 @@
|
|
|
4065
4065
|
isOpen,
|
|
4066
4066
|
id,
|
|
4067
4067
|
isPlain,
|
|
4068
|
+
isText,
|
|
4068
4069
|
'aria-haspopup': ariaHasPopup,
|
|
4069
4070
|
onEnter: () => {
|
|
4070
4071
|
this.onEnter();
|
|
@@ -4090,6 +4091,7 @@
|
|
|
4090
4091
|
dropdownItems: [],
|
|
4091
4092
|
isOpen: false,
|
|
4092
4093
|
isPlain: false,
|
|
4094
|
+
isText: false,
|
|
4093
4095
|
isGrouped: false,
|
|
4094
4096
|
position: DropdownPosition.left,
|
|
4095
4097
|
direction: DropdownDirection.down,
|
|
@@ -4421,12 +4423,12 @@
|
|
|
4421
4423
|
};
|
|
4422
4424
|
}
|
|
4423
4425
|
render() {
|
|
4424
|
-
const _a = this.props, { className, children, isOpen, isDisabled, isPlain, isPrimary, isSplitButton, toggleVariant, onToggle, 'aria-haspopup': ariaHasPopup,
|
|
4426
|
+
const _a = this.props, { className, children, isOpen, isDisabled, isPlain, isText, isPrimary, isSplitButton, toggleVariant, onToggle, 'aria-haspopup': ariaHasPopup,
|
|
4425
4427
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
4426
4428
|
isActive, bubbleEvent, onEnter, parentRef, getMenuRef,
|
|
4427
4429
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
4428
|
-
id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isPrimary", "isSplitButton", "toggleVariant", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
|
|
4429
|
-
return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$e.dropdownToggleButton : toggleClass || _default$e.dropdownToggle, isActive && _default$e.modifiers.active, isPlain && _default$e.modifiers.plain, isPrimary && _default$e.modifiers.primary, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
|
|
4430
|
+
id, type } = _a, props = __rest$1(_a, ["className", "children", "isOpen", "isDisabled", "isPlain", "isText", "isPrimary", "isSplitButton", "toggleVariant", "onToggle", 'aria-haspopup', "isActive", "bubbleEvent", "onEnter", "parentRef", "getMenuRef", "id", "type"]);
|
|
4431
|
+
return (React__namespace.createElement(DropdownContext.Consumer, null, ({ toggleClass }) => (React__namespace.createElement("button", Object.assign({}, props, { id: id, ref: this.buttonRef, className: css(isSplitButton ? _default$e.dropdownToggleButton : toggleClass || _default$e.dropdownToggle, isActive && _default$e.modifiers.active, isPlain && _default$e.modifiers.plain, isText && _default$e.modifiers.text, isPrimary && _default$e.modifiers.primary, buttonVariantStyles[toggleVariant], className), type: type || 'button', onClick: event => onToggle(!isOpen, event), "aria-expanded": isOpen, "aria-haspopup": ariaHasPopup, onKeyDown: event => this.onKeyDown(event), disabled: isDisabled }), children))));
|
|
4430
4432
|
}
|
|
4431
4433
|
}
|
|
4432
4434
|
Toggle.displayName = 'Toggle';
|
|
@@ -4436,6 +4438,7 @@
|
|
|
4436
4438
|
isActive: false,
|
|
4437
4439
|
isDisabled: false,
|
|
4438
4440
|
isPlain: false,
|
|
4441
|
+
isText: false,
|
|
4439
4442
|
isPrimary: false,
|
|
4440
4443
|
isSplitButton: false,
|
|
4441
4444
|
onToggle: () => { },
|
|
@@ -7146,7 +7149,8 @@
|
|
|
7146
7149
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7147
7150
|
className, onSelect = null, selectVariant } = _a, props = __rest$2(_a, ["children", "className", "onSelect", "selectVariant"]);
|
|
7148
7151
|
return (React__namespace.createElement(React__namespace.Fragment, null,
|
|
7149
|
-
React__namespace.createElement("
|
|
7152
|
+
React__namespace.createElement("label", null,
|
|
7153
|
+
React__namespace.createElement("input", Object.assign({}, props, { type: selectVariant, onChange: onSelect }))),
|
|
7150
7154
|
children));
|
|
7151
7155
|
};
|
|
7152
7156
|
SelectColumn.displayName = 'SelectColumn';
|