@patternfly/react-table 4.101.13 → 4.103.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 +33 -0
- package/dist/esm/components/Table/RowWrapper.d.ts +1 -0
- package/dist/esm/components/Table/RowWrapper.d.ts.map +1 -1
- package/dist/esm/components/Table/RowWrapper.js.map +1 -1
- package/dist/js/components/Table/RowWrapper.d.ts +1 -0
- package/dist/js/components/Table/RowWrapper.d.ts.map +1 -1
- package/dist/js/components/Table/RowWrapper.js.map +1 -1
- package/dist/umd/react-table.css +67 -20
- package/dist/umd/react-table.js +77 -14
- package/dist/umd/react-table.min.css +633 -586
- package/dist/umd/react-table.min.js +4 -4
- package/package.json +6 -6
- package/src/components/Table/RowWrapper.tsx +1 -0
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.103.0 (2022-08-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Timestamp:** create component ([#7815](https://github.com/patternfly/patternfly-react/issues/7815)) ([98058b3](https://github.com/patternfly/patternfly-react/commit/98058b35c4b7d5e916abd7318e020e53783f73a6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 4.102.1 (2022-08-22)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **TimePicker:** clean up menuAppendTo feature ([#7865](https://github.com/patternfly/patternfly-react/issues/7865)) ([3aa73be](https://github.com/patternfly/patternfly-react/commit/3aa73beb4581c1695aa3c3886291d862bd82286e))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# 4.102.0 (2022-08-19)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **ExpandableSection:** add truncated variant ([#7852](https://github.com/patternfly/patternfly-react/issues/7852)) ([f628cdf](https://github.com/patternfly/patternfly-react/commit/f628cdf571d71addfc04e69728be73895e261094))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
## 4.101.13 (2022-08-19)
|
|
7
40
|
|
|
8
41
|
**Note:** Version bump only for package @patternfly/react-table
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/RowWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,mDAAmD,CAAC;AAG9E,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,QAAQ,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC;IAChC,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,QAAQ,CAAC,EAAE;QACT,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED,qBAAa,UAAW,SAAQ,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC;IAC9D,MAAM,CAAC,WAAW,SAAgB;IAClC,MAA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IAapB,YAAY,UAAW,KAAK,KAAG,IAAI,CAIjC;IAEF,YAAY,UAAW,KAAK,UAI1B;IAEF,MAAM;CA2BP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowWrapper.js","sourceRoot":"","sources":["../../../../src/components/Table/RowWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"RowWrapper.js","sourceRoot":"","sources":["../../../../src/components/Table/RowWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAuB3C,MAAM,OAAO,UAAW,SAAQ,KAAK,CAAC,SAA0B;IAc9D,YAAY,KAAsB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;QAoCf,iBAAY,GAAG,CAAC,KAAY,EAAQ,EAAE;YACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;gBACpB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAE,KAA2C,CAAC,CAAC;aACnE;QACH,CAAC,CAAC;QAEF,iBAAY,GAAG,CAAC,KAAY,EAAE,EAAE;YAC9B,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;gBACpB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAE,KAA2C,CAAC,CAAC;aACnE;QACH,CAAC,CAAC;QA5CA,IAAI,KAAK,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;SACtD;QACD,IAAI,KAAK,CAAC,QAAQ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AAoB;IAapB,YAAY,UAAW,KAAK,KAAG,IAAI,CAIjC;IAEF,YAAY,UAAW,KAAK,UAI1B;IAEF,MAAM;CA2BP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowWrapper.js","sourceRoot":"","sources":["../../../../src/components/Table/RowWrapper.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2EAA8E;AAC9E,sEAAmF;AACnF,8CAA2C;
|
|
1
|
+
{"version":3,"file":"RowWrapper.js","sourceRoot":"","sources":["../../../../src/components/Table/RowWrapper.tsx"],"names":[],"mappings":";;;;AAAA,qDAA+B;AAC/B,2EAA8E;AAC9E,sEAAmF;AACnF,8CAA2C;AAuB3C,MAAa,UAAW,SAAQ,KAAK,CAAC,SAA0B;IAc9D,YAAY,KAAsB;QAChC,KAAK,CAAC,KAAK,CAAC,CAAC;QAoCf,iBAAY,GAAG,CAAC,KAAY,EAAQ,EAAE;YACpC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;gBACpB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAE,KAA2C,CAAC,CAAC;aACnE;QACH,CAAC,CAAC;QAEF,iBAAY,GAAG,CAAC,KAAY,EAAE,EAAE;YAC9B,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;gBACpB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAE,KAA2C,CAAC,CAAC;aACnE;QACH,CAAC,CAAC;QA5CA,IAAI,KAAK,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,YAAY,GAAG,eAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;SACtD;QACD,IAAI,KAAK,CAAC,QAAQ,EAAE;YAClB,IAAI,CAAC,YAAY,GAAG,eAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC;SACtD;IACH,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAExB,IAAI,gBAAS,EAA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S,EAAE,EAAY;IACvB,GAAG,EAAE;QACH,MAAM,EAAE,SAAoB;QAC5B,UAAU,EAAE,SAAoB;QAChC,YAAY,EAAE,SAAoB;QAClC,UAAU,EAAE,SAAoB;KACzB;IACT,QAAQ,EAAE,IAAW;CACtB,CAAC"}
|
package/dist/umd/react-table.css
CHANGED
|
@@ -4260,11 +4260,12 @@
|
|
|
4260
4260
|
|
|
4261
4261
|
.pf-c-scroll-outer-wrapper {
|
|
4262
4262
|
--pf-c-scroll-outer-wrapper--MinHeight: 25rem;
|
|
4263
|
+
--pf-c-scroll-outer-wrapper--MaxHeight: 100%;
|
|
4263
4264
|
display: flex;
|
|
4264
4265
|
flex-direction: column;
|
|
4265
4266
|
max-width: 100%;
|
|
4266
4267
|
min-height: var(--pf-c-scroll-outer-wrapper--MinHeight);
|
|
4267
|
-
max-height:
|
|
4268
|
+
max-height: var(--pf-c-scroll-outer-wrapper--MaxHeight);
|
|
4268
4269
|
overflow: hidden;
|
|
4269
4270
|
}
|
|
4270
4271
|
|
|
@@ -7503,6 +7504,10 @@ button.pf-c-breadcrumb__link {
|
|
|
7503
7504
|
--pf-c-button--m-tertiary--focus--Color: var(--pf-global--palette--black-100);
|
|
7504
7505
|
--pf-c-button--m-tertiary--active--after--BorderColor: var(--pf-global--BorderColor--100);
|
|
7505
7506
|
--pf-c-button--m-tertiary--active--Color: var(--pf-global--palette--black-100);
|
|
7507
|
+
--pf-c-button--m-warning--Color: var(--pf-global--palette--black-900);
|
|
7508
|
+
--pf-c-button--m-warning--hover--Color: var(--pf-global--palette--black-900);
|
|
7509
|
+
--pf-c-button--m-warning--focus--Color: var(--pf-global--palette--black-900);
|
|
7510
|
+
--pf-c-button--m-warning--active--Color: var(--pf-global--palette--black-900);
|
|
7506
7511
|
--pf-c-button--m-warning--hover--BackgroundColor: var(--pf-global--warning-color--200);
|
|
7507
7512
|
--pf-c-button--m-warning--focus--BackgroundColor: var(--pf-global--warning-color--200);
|
|
7508
7513
|
--pf-c-button--m-warning--active--BackgroundColor: var(--pf-global--warning-color--200);
|
|
@@ -13402,6 +13407,10 @@ button.pf-c-breadcrumb__link {
|
|
|
13402
13407
|
overflow: hidden;
|
|
13403
13408
|
}
|
|
13404
13409
|
|
|
13410
|
+
.pf-c-expandable-section.pf-m-detached {
|
|
13411
|
+
--pf-c-expandable-section--m-truncate__toggle--MarginTop: 0;
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13405
13414
|
.pf-c-expandable-section__toggle {
|
|
13406
13415
|
display: flex;
|
|
13407
13416
|
padding: var(--pf-c-expandable-section__toggle--PaddingTop) var(--pf-c-expandable-section__toggle--PaddingRight) var(--pf-c-expandable-section__toggle--PaddingBottom) var(--pf-c-expandable-section__toggle--PaddingLeft);
|
|
@@ -25163,6 +25172,44 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
25163
25172
|
--pf-c-tile--m-disabled__body--Color: var(--pf-global--disabled-color--300);
|
|
25164
25173
|
}
|
|
25165
25174
|
|
|
25175
|
+
.pf-c-timestamp {
|
|
25176
|
+
--pf-c-timestamp--FontSize: var(--pf-global--FontSize--sm);
|
|
25177
|
+
--pf-c-timestamp--Color: var(--pf-global--Color--200);
|
|
25178
|
+
--pf-c-timestamp--OutlineOffset: 0.1875rem;
|
|
25179
|
+
--pf-c-timestamp--m-help-text--TextDecorationLine: underline;
|
|
25180
|
+
--pf-c-timestamp--m-help-text--TextDecorationStyle: dashed;
|
|
25181
|
+
--pf-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
|
|
25182
|
+
--pf-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
|
|
25183
|
+
--pf-c-timestamp--m-help-text--TextDecorationColor: var(--pf-global--BorderColor--200);
|
|
25184
|
+
--pf-c-timestamp--m-help-text--hover--Color: var(--pf-global--Color--100);
|
|
25185
|
+
--pf-c-timestamp--m-help-text--focus--Color: var(--pf-global--Color--100);
|
|
25186
|
+
--pf-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-global--Color--100);
|
|
25187
|
+
--pf-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-global--Color--100);
|
|
25188
|
+
display: inline-block;
|
|
25189
|
+
font-size: var(--pf-c-timestamp--FontSize);
|
|
25190
|
+
color: var(--pf-c-timestamp--Color);
|
|
25191
|
+
outline-offset: var(--pf-c-timestamp--OutlineOffset);
|
|
25192
|
+
}
|
|
25193
|
+
|
|
25194
|
+
.pf-c-timestamp.pf-m-help-text {
|
|
25195
|
+
cursor: pointer;
|
|
25196
|
+
text-decoration-line: var(--pf-c-timestamp--m-help-text--TextDecorationLine);
|
|
25197
|
+
text-decoration-style: var(--pf-c-timestamp--m-help-text--TextDecorationStyle);
|
|
25198
|
+
text-decoration-thickness: var(--pf-c-timestamp--m-help-text--TextDecorationThickness);
|
|
25199
|
+
text-underline-offset: var(--pf-c-timestamp--m-help-text--TextUnderlineOffset);
|
|
25200
|
+
text-decoration-color: var(--pf-c-timestamp--m-help-text--TextDecorationColor);
|
|
25201
|
+
}
|
|
25202
|
+
|
|
25203
|
+
.pf-c-timestamp.pf-m-help-text:hover {
|
|
25204
|
+
--pf-c-timestamp--Color: var(--pf-c-timestamp--m-help-text--hover--Color);
|
|
25205
|
+
--pf-c-timestamp--m-help-text--TextDecorationColor: var(--pf-c-timestamp--m-help-text--hover--TextDecorationColor);
|
|
25206
|
+
}
|
|
25207
|
+
|
|
25208
|
+
.pf-c-timestamp.pf-m-help-text:focus {
|
|
25209
|
+
--pf-c-timestamp--Color: var(--pf-c-timestamp--m-help-text--focus--Color);
|
|
25210
|
+
--pf-c-timestamp--m-help-text--TextDecorationColor: var(--pf-c-timestamp--m-help-text--focus--TextDecorationColor);
|
|
25211
|
+
}
|
|
25212
|
+
|
|
25166
25213
|
.pf-c-title {
|
|
25167
25214
|
--pf-c-title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
|
|
25168
25215
|
--pf-c-title--m-4xl--LineHeight: var(--pf-global--LineHeight--sm);
|
|
@@ -31689,6 +31736,25 @@ label.pf-c-tree-view__node-text {
|
|
|
31689
31736
|
margin-right: var(--pf-l-level--m-gutter--MarginRight);
|
|
31690
31737
|
}
|
|
31691
31738
|
|
|
31739
|
+
.pf-l-split {
|
|
31740
|
+
--pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
|
|
31741
|
+
display: flex;
|
|
31742
|
+
padding: 0;
|
|
31743
|
+
margin: 0;
|
|
31744
|
+
}
|
|
31745
|
+
|
|
31746
|
+
.pf-l-split.pf-m-wrap {
|
|
31747
|
+
flex-wrap: wrap;
|
|
31748
|
+
}
|
|
31749
|
+
|
|
31750
|
+
.pf-l-split__item.pf-m-fill {
|
|
31751
|
+
flex-grow: 1;
|
|
31752
|
+
}
|
|
31753
|
+
|
|
31754
|
+
.pf-l-split.pf-m-gutter > *:not(:last-child) {
|
|
31755
|
+
margin-right: var(--pf-l-split--m-gutter--MarginRight);
|
|
31756
|
+
}
|
|
31757
|
+
|
|
31692
31758
|
.pf-l-stack {
|
|
31693
31759
|
--pf-l-stack--m-gutter--MarginBottom: var(--pf-global--gutter);
|
|
31694
31760
|
display: flex;
|
|
@@ -31764,25 +31830,6 @@ label.pf-c-tree-view__node-text {
|
|
|
31764
31830
|
--pf-c-alert-group__overflow-button--BoxShadow: var(--pf-c-alert-group__overflow-button--active--BoxShadow);
|
|
31765
31831
|
}
|
|
31766
31832
|
|
|
31767
|
-
.pf-l-split {
|
|
31768
|
-
--pf-l-split--m-gutter--MarginRight: var(--pf-global--gutter);
|
|
31769
|
-
display: flex;
|
|
31770
|
-
padding: 0;
|
|
31771
|
-
margin: 0;
|
|
31772
|
-
}
|
|
31773
|
-
|
|
31774
|
-
.pf-l-split.pf-m-wrap {
|
|
31775
|
-
flex-wrap: wrap;
|
|
31776
|
-
}
|
|
31777
|
-
|
|
31778
|
-
.pf-l-split__item.pf-m-fill {
|
|
31779
|
-
flex-grow: 1;
|
|
31780
|
-
}
|
|
31781
|
-
|
|
31782
|
-
.pf-l-split.pf-m-gutter > *:not(:last-child) {
|
|
31783
|
-
margin-right: var(--pf-l-split--m-gutter--MarginRight);
|
|
31784
|
-
}
|
|
31785
|
-
|
|
31786
31833
|
.pf-c-about-modal-box {
|
|
31787
31834
|
--pf-global--Color--100: var(--pf-global--Color--light-100);
|
|
31788
31835
|
--pf-global--Color--200: var(--pf-global--Color--light-200);
|
package/dist/umd/react-table.js
CHANGED
|
@@ -8051,9 +8051,11 @@
|
|
|
8051
8051
|
const idItem = React__namespace.Children.toArray(children).find((child) => !formCtrls.includes(child.type.displayName) && child.props.id);
|
|
8052
8052
|
const inputGroupRef = innerRef || React__namespace.useRef(null);
|
|
8053
8053
|
return (React__namespace.createElement("div", Object.assign({ ref: inputGroupRef, className: css(styles$v.inputGroup, className) }, props), idItem
|
|
8054
|
-
? React__namespace.Children.map(children, (child) => formCtrls.includes(child.type.displayName)
|
|
8055
|
-
?
|
|
8056
|
-
: child
|
|
8054
|
+
? React__namespace.Children.map(children, (child) => !formCtrls.includes(child.type.displayName) || child.props['aria-describedby']
|
|
8055
|
+
? child
|
|
8056
|
+
: React__namespace.cloneElement(child, {
|
|
8057
|
+
'aria-describedby': child.props['aria-describedby'] === '' ? undefined : idItem.props.id
|
|
8058
|
+
}))
|
|
8057
8059
|
: children));
|
|
8058
8060
|
};
|
|
8059
8061
|
InputGroup.displayName = 'InputGroup';
|
|
@@ -10885,9 +10887,27 @@
|
|
|
10885
10887
|
}
|
|
10886
10888
|
};
|
|
10887
10889
|
|
|
10890
|
+
const c_expandable_section_m_truncate__content_LineClamp = {
|
|
10891
|
+
"name": "--pf-c-expandable-section--m-truncate__content--LineClamp",
|
|
10892
|
+
"value": "3",
|
|
10893
|
+
"var": "var(--pf-c-expandable-section--m-truncate__content--LineClamp)"
|
|
10894
|
+
};
|
|
10895
|
+
|
|
10896
|
+
var ExpandableSectionVariant;
|
|
10897
|
+
(function (ExpandableSectionVariant) {
|
|
10898
|
+
ExpandableSectionVariant["default"] = "default";
|
|
10899
|
+
ExpandableSectionVariant["truncate"] = "truncate";
|
|
10900
|
+
})(ExpandableSectionVariant || (ExpandableSectionVariant = {}));
|
|
10901
|
+
const setLineClamp = (lines, element) => {
|
|
10902
|
+
if (!element || lines < 1) {
|
|
10903
|
+
return;
|
|
10904
|
+
}
|
|
10905
|
+
element.style.setProperty(c_expandable_section_m_truncate__content_LineClamp.name, lines.toString());
|
|
10906
|
+
};
|
|
10888
10907
|
class ExpandableSection extends React__namespace.Component {
|
|
10889
10908
|
constructor(props) {
|
|
10890
10909
|
super(props);
|
|
10910
|
+
this.expandableContentRef = React__namespace.createRef();
|
|
10891
10911
|
this.state = {
|
|
10892
10912
|
isExpanded: props.isExpanded
|
|
10893
10913
|
};
|
|
@@ -10901,10 +10921,25 @@
|
|
|
10901
10921
|
}
|
|
10902
10922
|
return toggleText;
|
|
10903
10923
|
}
|
|
10924
|
+
componentDidMount() {
|
|
10925
|
+
if (this.props.variant === ExpandableSectionVariant.truncate && this.props.truncateMaxLines) {
|
|
10926
|
+
const expandableContent = this.expandableContentRef.current;
|
|
10927
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
componentDidUpdate(prevProps) {
|
|
10931
|
+
if (this.props.variant === ExpandableSectionVariant.truncate &&
|
|
10932
|
+
prevProps.truncateMaxLines !== this.props.truncateMaxLines) {
|
|
10933
|
+
const expandableContent = this.expandableContentRef.current;
|
|
10934
|
+
setLineClamp(this.props.truncateMaxLines, expandableContent);
|
|
10935
|
+
}
|
|
10936
|
+
}
|
|
10904
10937
|
render() {
|
|
10905
10938
|
const _a = this.props, { onToggle: onToggleProp,
|
|
10906
10939
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10907
|
-
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId
|
|
10940
|
+
isActive, className, toggleText, toggleTextExpanded, toggleTextCollapsed, toggleContent, children, isExpanded, isDetached, displaySize, isWidthLimited, isIndented, contentId, variant,
|
|
10941
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10942
|
+
truncateMaxLines } = _a, props = __rest$1(_a, ["onToggle", "isActive", "className", "toggleText", "toggleTextExpanded", "toggleTextCollapsed", "toggleContent", "children", "isExpanded", "isDetached", "displaySize", "isWidthLimited", "isIndented", "contentId", "variant", "truncateMaxLines"]);
|
|
10908
10943
|
let onToggle = onToggleProp;
|
|
10909
10944
|
let propOrStateIsExpanded = isExpanded;
|
|
10910
10945
|
// uncontrolled
|
|
@@ -10915,12 +10950,14 @@
|
|
|
10915
10950
|
};
|
|
10916
10951
|
}
|
|
10917
10952
|
const computedToggleText = this.calculateToggleText(toggleText, toggleTextExpanded, toggleTextCollapsed, propOrStateIsExpanded);
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
React__namespace.createElement(
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10953
|
+
const expandableToggle = !isDetached && (React__namespace.createElement("button", { className: css(styles$m.expandableSectionToggle), type: "button", "aria-expanded": propOrStateIsExpanded, onClick: () => onToggle(!propOrStateIsExpanded) },
|
|
10954
|
+
variant !== ExpandableSectionVariant.truncate && (React__namespace.createElement("span", { className: css(styles$m.expandableSectionToggleIcon) },
|
|
10955
|
+
React__namespace.createElement(AngleRightIcon, { "aria-hidden": true }))),
|
|
10956
|
+
React__namespace.createElement("span", { className: css(styles$m.expandableSectionToggleText) }, toggleContent || computedToggleText)));
|
|
10957
|
+
return (React__namespace.createElement("div", Object.assign({ className: css(styles$m.expandableSection, propOrStateIsExpanded && styles$m.modifiers.expanded, isActive && styles$m.modifiers.active, isDetached && styles$m.modifiers.detached, displaySize === 'large' && styles$m.modifiers.displayLg, isWidthLimited && styles$m.modifiers.limitWidth, isIndented && styles$m.modifiers.indented, variant === ExpandableSectionVariant.truncate && styles$m.modifiers.truncate, className) }, props),
|
|
10958
|
+
variant === ExpandableSectionVariant.default && expandableToggle,
|
|
10959
|
+
React__namespace.createElement("div", { ref: this.expandableContentRef, className: css(styles$m.expandableSectionContent), hidden: variant !== ExpandableSectionVariant.truncate && !propOrStateIsExpanded, id: contentId }, children),
|
|
10960
|
+
variant === ExpandableSectionVariant.truncate && expandableToggle));
|
|
10924
10961
|
}
|
|
10925
10962
|
}
|
|
10926
10963
|
ExpandableSection.displayName = 'ExpandableSection';
|
|
@@ -10936,7 +10973,8 @@
|
|
|
10936
10973
|
displaySize: 'default',
|
|
10937
10974
|
isWidthLimited: false,
|
|
10938
10975
|
isIndented: false,
|
|
10939
|
-
contentId: ''
|
|
10976
|
+
contentId: '',
|
|
10977
|
+
variant: 'default'
|
|
10940
10978
|
};
|
|
10941
10979
|
|
|
10942
10980
|
var fileReaderType;
|
|
@@ -14131,7 +14169,7 @@
|
|
|
14131
14169
|
const content = (React__namespace.createElement(React__namespace.Fragment, null,
|
|
14132
14170
|
icon && React__namespace.createElement("span", { className: css(styles$j.menuToggleIcon) }, icon),
|
|
14133
14171
|
isTypeahead ? children : React__namespace.createElement("span", { className: css(styles$j.menuToggleText) }, children),
|
|
14134
|
-
badge && React__namespace.createElement("span", { className: css(styles$j.menuToggleCount) }, badge),
|
|
14172
|
+
React__namespace.isValidElement(badge) && React__namespace.createElement("span", { className: css(styles$j.menuToggleCount) }, badge),
|
|
14135
14173
|
isTypeahead ? (React__namespace.createElement("button", { type: "button", className: css(styles$j.menuToggleButton), "aria-expanded": isExpanded, onClick: onClick, "aria-label": "Menu toggle" }, toggleControls)) : (toggleControls)));
|
|
14136
14174
|
const commonStyles = css(styles$j.menuToggle, isExpanded && styles$j.modifiers.expanded, variant === 'primary' && styles$j.modifiers.primary, variant === 'secondary' && styles$j.modifiers.secondary, (isPlain || isPlainText) && styles$j.modifiers.plain, isPlainText && styles$j.modifiers.text, isFullHeight && styles$j.modifiers.fullHeight, isFullWidth && styles$j.modifiers.fullWidth, isDisabled && styles$j.modifiers.disabled, className);
|
|
14137
14175
|
const componentProps = Object.assign(Object.assign({ children: isPlain ? children : content }, (isDisabled && { disabled: true })), otherProps);
|
|
@@ -17034,12 +17072,23 @@
|
|
|
17034
17072
|
React__namespace.createElement(MenuContent, { maxMenuHeight: "200px" },
|
|
17035
17073
|
React__namespace.createElement(MenuList, { "aria-label": ariaLabel }, options.map((option, index) => (React__namespace.createElement(MenuItem, { onClick: this.onSelect, key: option, id: `${randomId}-option-${index}` }, option)))))));
|
|
17036
17074
|
const textInput = (React__namespace.createElement(TextInput, Object.assign({ "aria-haspopup": "menu", className: css(formStyles$1.formControl), id: `${randomId}-input`, "aria-label": ariaLabel, validated: isInvalid ? 'error' : 'default', placeholder: placeholder, value: timeState || '', type: "text", iconVariant: "clock", onClick: this.onInputClick, onChange: this.onInputChange, onBlur: this.onBlur, autoComplete: "off", isDisabled: isDisabled, ref: this.inputRef }, inputProps)));
|
|
17075
|
+
let calculatedAppendTo;
|
|
17076
|
+
switch (menuAppendTo) {
|
|
17077
|
+
case 'inline':
|
|
17078
|
+
calculatedAppendTo = () => this.toggleRef.current;
|
|
17079
|
+
break;
|
|
17080
|
+
case 'parent':
|
|
17081
|
+
calculatedAppendTo = getParentElement;
|
|
17082
|
+
break;
|
|
17083
|
+
default:
|
|
17084
|
+
calculatedAppendTo = menuAppendTo;
|
|
17085
|
+
}
|
|
17037
17086
|
return (React__namespace.createElement("div", { ref: this.baseComponentRef, className: css(datePickerStyles.datePicker, className) },
|
|
17038
17087
|
React__namespace.createElement("div", Object.assign({ className: css(datePickerStyles.datePickerInput), style: style }, props),
|
|
17039
17088
|
React__namespace.createElement(InputGroup, null,
|
|
17040
17089
|
React__namespace.createElement("div", { id: randomId },
|
|
17041
|
-
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
17042
|
-
|
|
17090
|
+
React__namespace.createElement("div", { ref: this.toggleRef, style: { paddingLeft: '0' } },
|
|
17091
|
+
React__namespace.createElement(Popper, { appendTo: calculatedAppendTo, trigger: textInput, popper: menuContainer, isVisible: isTimeOptionsOpen })))),
|
|
17043
17092
|
isInvalid && (React__namespace.createElement("div", { className: css(datePickerStyles.datePickerHelperText, datePickerStyles.modifiers.error) }, !isValidFormat ? invalidFormatErrorMessage : invalidMinMaxErrorMessage)))));
|
|
17044
17093
|
}
|
|
17045
17094
|
}
|
|
@@ -17060,9 +17109,23 @@
|
|
|
17060
17109
|
inputProps: {},
|
|
17061
17110
|
minTime: '',
|
|
17062
17111
|
maxTime: '',
|
|
17112
|
+
isOpen: false,
|
|
17063
17113
|
setIsOpen: () => { }
|
|
17064
17114
|
};
|
|
17065
17115
|
|
|
17116
|
+
var TimestampFormat;
|
|
17117
|
+
(function (TimestampFormat) {
|
|
17118
|
+
TimestampFormat["full"] = "full";
|
|
17119
|
+
TimestampFormat["long"] = "long";
|
|
17120
|
+
TimestampFormat["medium"] = "medium";
|
|
17121
|
+
TimestampFormat["short"] = "short";
|
|
17122
|
+
})(TimestampFormat || (TimestampFormat = {}));
|
|
17123
|
+
var TimestampTooltipVariant;
|
|
17124
|
+
(function (TimestampTooltipVariant) {
|
|
17125
|
+
TimestampTooltipVariant["default"] = "default";
|
|
17126
|
+
TimestampTooltipVariant["custom"] = "custom";
|
|
17127
|
+
})(TimestampTooltipVariant || (TimestampTooltipVariant = {}));
|
|
17128
|
+
|
|
17066
17129
|
var ToggleGroupItemVariant;
|
|
17067
17130
|
(function (ToggleGroupItemVariant) {
|
|
17068
17131
|
ToggleGroupItemVariant["icon"] = "icon";
|