@patternfly/react-core 4.191.3 → 4.192.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/DataList/DataListCheck.d.ts +1 -1
- package/dist/esm/components/DataList/DataListCheck.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.d.ts +2 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.d.ts.map +1 -1
- package/dist/esm/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/esm/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/esm/components/Modal/ModalContent.js +1 -1
- package/dist/esm/components/Modal/ModalContent.js.map +1 -1
- package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts +4 -0
- package/dist/esm/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
- package/dist/esm/components/TextInputGroup/TextInputGroupMain.js +2 -2
- package/dist/esm/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
- package/dist/esm/components/Truncate/Truncate.d.ts +21 -0
- package/dist/esm/components/Truncate/Truncate.d.ts.map +1 -0
- package/dist/esm/components/Truncate/Truncate.js +34 -0
- package/dist/esm/components/Truncate/Truncate.js.map +1 -0
- package/dist/esm/components/Truncate/index.d.ts +2 -0
- package/dist/esm/components/Truncate/index.d.ts.map +1 -0
- package/dist/esm/components/Truncate/index.js +2 -0
- package/dist/esm/components/Truncate/index.js.map +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/js/components/DataList/DataListCheck.d.ts +1 -1
- package/dist/js/components/DataList/DataListCheck.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.d.ts +2 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.d.ts.map +1 -1
- package/dist/js/components/Modal/ModalBoxCloseButton.js +2 -2
- package/dist/js/components/Modal/ModalBoxCloseButton.js.map +1 -1
- package/dist/js/components/Modal/ModalContent.js +1 -1
- package/dist/js/components/Modal/ModalContent.js.map +1 -1
- package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts +4 -0
- package/dist/js/components/TextInputGroup/TextInputGroupMain.d.ts.map +1 -1
- package/dist/js/components/TextInputGroup/TextInputGroupMain.js +2 -2
- package/dist/js/components/TextInputGroup/TextInputGroupMain.js.map +1 -1
- package/dist/js/components/Truncate/Truncate.d.ts +21 -0
- package/dist/js/components/Truncate/Truncate.d.ts.map +1 -0
- package/dist/js/components/Truncate/Truncate.js +38 -0
- package/dist/js/components/Truncate/Truncate.js.map +1 -0
- package/dist/js/components/Truncate/index.d.ts +2 -0
- package/dist/js/components/Truncate/index.d.ts.map +1 -0
- package/dist/js/components/Truncate/index.js +5 -0
- package/dist/js/components/Truncate/index.js.map +1 -0
- package/dist/js/components/index.d.ts +1 -0
- package/dist/js/components/index.d.ts.map +1 -1
- package/dist/js/components/index.js +1 -0
- package/dist/js/components/index.js.map +1 -1
- package/dist/umd/react-core.css +119 -66
- package/dist/umd/react-core.js +943 -903
- package/dist/umd/react-core.min.css +59 -6
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +6 -6
- package/src/components/BackToTop/examples/BackToTop.md +1 -1
- package/src/components/Button/examples/Button.md +13 -298
- package/src/components/Button/examples/ButtonAriaDisabled.tsx +43 -0
- package/src/components/Button/examples/ButtonAriaDisabledLinkTooltip.tsx +10 -0
- package/src/components/Button/examples/ButtonAriaDisabledTooltip.tsx +10 -0
- package/src/components/Button/examples/ButtonBlock.tsx +4 -0
- package/src/components/Button/examples/ButtonCallToAction.tsx +20 -0
- package/src/components/Button/examples/ButtonDisabled.tsx +43 -0
- package/src/components/Button/examples/ButtonInlineSpanLink.tsx +36 -0
- package/src/components/Button/examples/ButtonLinks.tsx +19 -0
- package/src/components/Button/examples/ButtonProgress.tsx +29 -0
- package/src/components/Button/examples/ButtonRouterLink.tsx +9 -0
- package/src/components/Button/examples/ButtonSmall.tsx +22 -0
- package/src/components/Button/examples/ButtonTypes.tsx +10 -0
- package/src/components/Button/examples/ButtonVariations.tsx +47 -0
- package/src/components/DataList/DataListCheck.tsx +1 -1
- package/src/components/Modal/ModalBoxCloseButton.tsx +11 -2
- package/src/components/Modal/ModalContent.tsx +1 -1
- package/src/components/Modal/examples/Modal.md +3 -200
- package/src/components/Modal/examples/ModalWithForm.tsx +209 -0
- package/src/components/TextInputGroup/TextInputGroupMain.tsx +7 -1
- package/src/components/TextInputGroup/__tests__/__snapshots__/TextInputGroup.test.tsx.snap +6 -0
- package/src/components/TextInputGroup/examples/TextInputGroupFilters.tsx +12 -7
- package/src/components/TextInputGroup/examples/TextInputGroupUtilitiesAndIcon.tsx +12 -7
- package/src/components/Truncate/Truncate.tsx +63 -0
- package/src/components/Truncate/__tests__/Truncate.test.tsx +18 -0
- package/src/components/Truncate/__tests__/__snapshots__/Truncate.test.tsx.snap +58 -0
- package/src/components/Truncate/examples/Truncate.md +59 -0
- package/src/components/Truncate/examples/TruncateExamples.css +9 -0
- package/src/components/Truncate/index.ts +1 -0
- package/src/components/index.ts +1 -0
- package/src/demos/examples/TextInputGroup/AttributeValueFiltering.tsx +13 -8
- package/src/demos/examples/TextInputGroup/AutoCompleteSearch.tsx +29 -15
|
@@ -6868,6 +6868,10 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6868
6868
|
white-space: nowrap;
|
|
6869
6869
|
}
|
|
6870
6870
|
|
|
6871
|
+
.pf-c-dropdown__toggle-text {
|
|
6872
|
+
flex: 0 1 auto;
|
|
6873
|
+
}
|
|
6874
|
+
|
|
6871
6875
|
.pf-c-dropdown__toggle-icon {
|
|
6872
6876
|
margin-right: var(--pf-c-dropdown__toggle-icon--MarginRight);
|
|
6873
6877
|
margin-left: var(--pf-c-dropdown__toggle-icon--MarginLeft);
|
|
@@ -6880,6 +6884,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
6880
6884
|
|
|
6881
6885
|
.pf-c-dropdown__toggle-image {
|
|
6882
6886
|
display: inline-flex;
|
|
6887
|
+
flex-shrink: 0;
|
|
6883
6888
|
margin-top: var(--pf-c-dropdown__toggle-image--MarginTop);
|
|
6884
6889
|
margin-right: var(--pf-c-dropdown__toggle-image--MarginRight);
|
|
6885
6890
|
margin-bottom: var(--pf-c-dropdown__toggle-image--MarginBottom);
|
|
@@ -10295,13 +10300,8 @@ ul.pf-c-list {
|
|
|
10295
10300
|
background-color: var(--pf-c-masthead--BackgroundColor);
|
|
10296
10301
|
}
|
|
10297
10302
|
|
|
10298
|
-
@media screen and (min-width: 1200px) {
|
|
10299
|
-
.pf-c-masthead {
|
|
10300
|
-
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
10301
|
-
}
|
|
10302
|
-
}
|
|
10303
10303
|
@media screen and (min-width: 768px) {
|
|
10304
|
-
.pf-c-masthead {
|
|
10304
|
+
.pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
|
|
10305
10305
|
--pf-c-masthead--GridTemplateColumns: var(--pf-c-masthead--m-display-inline--GridTemplateColumns);
|
|
10306
10306
|
--pf-c-masthead__main--GridColumn: var(--pf-c-masthead--m-display-inline__main--GridColumn);
|
|
10307
10307
|
--pf-c-masthead__main--MinHeight: var(--pf-c-masthead--m-display-inline__main--MinHeight);
|
|
@@ -10321,6 +10321,15 @@ ul.pf-c-list {
|
|
|
10321
10321
|
--pf-c-masthead__content--c-nav--m-horizontal--MarginLeft: var(--pf-c-masthead--m-display-inline__content--c-nav--m-horizontal--MarginLeft);
|
|
10322
10322
|
}
|
|
10323
10323
|
}
|
|
10324
|
+
@media screen and (min-width: 1200px) {
|
|
10325
|
+
.pf-c-page:where(:not(.pf-m-resize-observer)) .pf-c-masthead {
|
|
10326
|
+
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
10327
|
+
}
|
|
10328
|
+
}
|
|
10329
|
+
.pf-c-page:where(.pf-m-breakpoint-xl) .pf-c-masthead {
|
|
10330
|
+
--pf-c-masthead--inset: var(--pf-c-masthead--xl--inset);
|
|
10331
|
+
}
|
|
10332
|
+
|
|
10324
10333
|
.pf-c-masthead.pf-m-light {
|
|
10325
10334
|
color: var(--pf-global--Color--100);
|
|
10326
10335
|
--pf-c-masthead--BackgroundColor: var(--pf-c-masthead--m-light--BackgroundColor);
|
|
@@ -10388,6 +10397,10 @@ ul.pf-c-list {
|
|
|
10388
10397
|
--pf-c-dropdown__toggle--before--BorderLeftColor: var(--pf-c-masthead--c-dropdown--m-full-height__toggle--before--BorderLeftColor);
|
|
10389
10398
|
}
|
|
10390
10399
|
|
|
10400
|
+
.pf-c-masthead .pf-c-nav {
|
|
10401
|
+
align-self: stretch;
|
|
10402
|
+
}
|
|
10403
|
+
|
|
10391
10404
|
.pf-c-masthead__main {
|
|
10392
10405
|
position: relative;
|
|
10393
10406
|
display: flex;
|
|
@@ -19122,6 +19135,12 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
19122
19135
|
--pf-c-toolbar--spacer: 0;
|
|
19123
19136
|
}
|
|
19124
19137
|
|
|
19138
|
+
.pf-c-toolbar__group.pf-m-overflow-container,
|
|
19139
|
+
.pf-c-toolbar__item.pf-m-overflow-container {
|
|
19140
|
+
flex: 1;
|
|
19141
|
+
overflow: hidden;
|
|
19142
|
+
}
|
|
19143
|
+
|
|
19125
19144
|
.pf-c-toolbar__expand-all-icon {
|
|
19126
19145
|
display: inline-block;
|
|
19127
19146
|
transition: var(--pf-c-toolbar__expand-all-icon--Transition);
|
|
@@ -21569,6 +21588,40 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
21569
21588
|
box-shadow: var(--pf-c-panel__footer--BoxShadow);
|
|
21570
21589
|
}
|
|
21571
21590
|
|
|
21591
|
+
.pf-c-truncate {
|
|
21592
|
+
--pf-c-truncate--MinWidth: 12ch;
|
|
21593
|
+
--pf-c-truncate__start--MinWidth: 6ch;
|
|
21594
|
+
display: inline-grid;
|
|
21595
|
+
grid-auto-flow: column;
|
|
21596
|
+
align-items: baseline;
|
|
21597
|
+
min-width: var(--pf-c-truncate--MinWidth);
|
|
21598
|
+
}
|
|
21599
|
+
|
|
21600
|
+
.pf-c-truncate__start,
|
|
21601
|
+
.pf-c-truncate__end {
|
|
21602
|
+
overflow: hidden;
|
|
21603
|
+
text-overflow: ellipsis;
|
|
21604
|
+
white-space: nowrap;
|
|
21605
|
+
}
|
|
21606
|
+
|
|
21607
|
+
.pf-c-truncate__start {
|
|
21608
|
+
min-width: var(--pf-c-truncate__start--MinWidth);
|
|
21609
|
+
}
|
|
21610
|
+
|
|
21611
|
+
.pf-c-truncate__end {
|
|
21612
|
+
direction: rtl;
|
|
21613
|
+
}
|
|
21614
|
+
|
|
21615
|
+
.pf-c-truncate__start + .pf-c-truncate__end {
|
|
21616
|
+
overflow: visible;
|
|
21617
|
+
direction: ltr;
|
|
21618
|
+
}
|
|
21619
|
+
|
|
21620
|
+
@supports (-webkit-hyphens: none) {
|
|
21621
|
+
.pf-c-truncate__end {
|
|
21622
|
+
direction: ltr;
|
|
21623
|
+
}
|
|
21624
|
+
}
|
|
21572
21625
|
.pf-l-flex {
|
|
21573
21626
|
--pf-l-flex--Display: flex;
|
|
21574
21627
|
--pf-l-flex--FlexWrap: wrap;
|