@patternfly/react-core 4.203.1 → 4.205.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 +30 -0
- package/dist/esm/components/Form/Form.d.ts +3 -1
- package/dist/esm/components/Form/Form.d.ts.map +1 -1
- package/dist/esm/components/Form/Form.js +4 -2
- package/dist/esm/components/Form/Form.js.map +1 -1
- package/dist/esm/components/ProgressStepper/ProgressStep.d.ts +3 -5
- package/dist/esm/components/ProgressStepper/ProgressStep.d.ts.map +1 -1
- package/dist/esm/components/ProgressStepper/ProgressStep.js +6 -6
- package/dist/esm/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/esm/components/Switch/Switch.d.ts +7 -5
- package/dist/esm/components/Switch/Switch.d.ts.map +1 -1
- package/dist/esm/components/Switch/Switch.js +3 -1
- package/dist/esm/components/Switch/Switch.js.map +1 -1
- package/dist/js/components/Form/Form.d.ts +3 -1
- package/dist/js/components/Form/Form.d.ts.map +1 -1
- package/dist/js/components/Form/Form.js +4 -2
- package/dist/js/components/Form/Form.js.map +1 -1
- package/dist/js/components/ProgressStepper/ProgressStep.d.ts +3 -5
- package/dist/js/components/ProgressStepper/ProgressStep.d.ts.map +1 -1
- package/dist/js/components/ProgressStepper/ProgressStep.js +7 -6
- package/dist/js/components/ProgressStepper/ProgressStep.js.map +1 -1
- package/dist/js/components/Switch/Switch.d.ts +7 -5
- package/dist/js/components/Switch/Switch.d.ts.map +1 -1
- package/dist/js/components/Switch/Switch.js +3 -1
- package/dist/js/components/Switch/Switch.js.map +1 -1
- package/dist/umd/react-core.css +102 -14
- package/dist/umd/react-core.js +18 -9
- package/dist/umd/react-core.min.css +255 -167
- package/dist/umd/react-core.min.js +4 -4
- package/package.json +6 -6
- package/src/components/Form/Form.tsx +11 -2
- package/src/components/ProgressStepper/ProgressStep.tsx +10 -15
- package/src/components/ProgressStepper/__tests__/ProgressStepper.test.tsx +1 -1
- package/src/components/ProgressStepper/examples/ProgressStepper.md +13 -20
- package/src/components/Switch/Switch.tsx +13 -5
- package/src/components/Switch/examples/Switch.md +64 -5
- package/src/components/Toolbar/examples/Toolbar.md +7 -39
- package/src/demos/Tabs.md +6 -1
- package/src/demos/examples/DashboardWrapper.js +16 -2
- package/src/demos/examples/Tabs/GrayTabs.tsx +2 -8
- package/src/demos/examples/Tabs/ModalTabs.tsx +1 -1
- package/src/demos/{Tabs/NestedTabsDemo.js → examples/Tabs/NestedTabs.tsx} +12 -13
- package/src/demos/examples/Tabs/NestedUnindentedTabs.tsx +174 -0
- package/src/demos/examples/Tabs/TabsAndTable.tsx +1 -1
package/dist/umd/react-core.css
CHANGED
|
@@ -10335,17 +10335,24 @@ ul.pf-c-list {
|
|
|
10335
10335
|
grid-template-columns: 1fr auto;
|
|
10336
10336
|
}
|
|
10337
10337
|
}
|
|
10338
|
+
.pf-c-login__main-header-utilities,
|
|
10338
10339
|
.pf-c-login__main-header .pf-c-dropdown {
|
|
10339
10340
|
grid-column: auto;
|
|
10340
10341
|
grid-row: auto;
|
|
10341
10342
|
}
|
|
10342
10343
|
|
|
10343
10344
|
@media (min-width: 768px) {
|
|
10344
|
-
.pf-c-login__main-header
|
|
10345
|
+
.pf-c-login__main-header-utilities,
|
|
10346
|
+
.pf-c-login__main-header .pf-c-dropdown {
|
|
10345
10347
|
grid-column: 2/3;
|
|
10346
10348
|
grid-row: 1;
|
|
10347
10349
|
}
|
|
10348
10350
|
}
|
|
10351
|
+
.pf-c-login__main-header-utilities .pf-c-dropdown {
|
|
10352
|
+
grid-column: auto;
|
|
10353
|
+
grid-row: auto;
|
|
10354
|
+
}
|
|
10355
|
+
|
|
10349
10356
|
.pf-c-login__main-header-desc {
|
|
10350
10357
|
margin-bottom: var(--pf-c-login__main-header-desc--MarginBottom);
|
|
10351
10358
|
font-size: var(--pf-c-login__main-header-desc--FontSize);
|
|
@@ -18037,6 +18044,8 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18037
18044
|
--pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor: var(--pf-global--palette--black-150);
|
|
18038
18045
|
--pf-c-tabs__list--Display: flex;
|
|
18039
18046
|
--pf-c-tabs__list--Visibility: visible;
|
|
18047
|
+
--pf-c-tabs__item--m-action--before--ZIndex: var(--pf-global--ZIndex--xs);
|
|
18048
|
+
--pf-c-tabs__item--m-action__link--PaddingRight: var(--pf-global--spacer--sm);
|
|
18040
18049
|
--pf-c-tabs__link--Color: var(--pf-global--Color--200);
|
|
18041
18050
|
--pf-c-tabs__link--FontSize: var(--pf-global--FontSize--md);
|
|
18042
18051
|
--pf-c-tabs__link--BackgroundColor: transparent;
|
|
@@ -18052,11 +18061,14 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18052
18061
|
--pf-c-tabs--m-vertical__link--PaddingBottom: var(--pf-global--spacer--md);
|
|
18053
18062
|
--pf-c-tabs--m-box__link--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
18054
18063
|
--pf-c-tabs--m-box__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
18064
|
+
--pf-c-tabs--m-box__item-close--c-button--disabled--BackgroundColor: var(--pf-global--palette--black-400);
|
|
18055
18065
|
--pf-c-tabs--m-secondary__link--FontSize: var(--pf-global--FontSize--sm);
|
|
18056
18066
|
--pf-c-tabs__link--before--border-color--base: var(--pf-global--BorderColor--100);
|
|
18067
|
+
--pf-c-tabs__link--before--border-width--base: var(--pf-global--BorderWidth--sm);
|
|
18068
|
+
--pf-c-tabs__link--before--BorderTopColor: var(--pf-c-tabs__link--before--border-color--base);
|
|
18057
18069
|
--pf-c-tabs__link--before--BorderRightColor: var(--pf-c-tabs__link--before--border-color--base);
|
|
18058
18070
|
--pf-c-tabs__link--before--BorderBottomColor: var(--pf-c-tabs__link--before--border-color--base);
|
|
18059
|
-
--pf-c-tabs__link--before--
|
|
18071
|
+
--pf-c-tabs__link--before--BorderLeftColor: var(--pf-c-tabs__link--before--border-color--base);
|
|
18060
18072
|
--pf-c-tabs__link--before--BorderTopWidth: 0;
|
|
18061
18073
|
--pf-c-tabs__link--before--BorderRightWidth: 0;
|
|
18062
18074
|
--pf-c-tabs__link--before--BorderBottomWidth: 0;
|
|
@@ -18114,6 +18126,19 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18114
18126
|
--pf-c-tabs__toggle-button--MarginLeft: calc(-1 * var(--pf-global--spacer--md));
|
|
18115
18127
|
--pf-c-tabs--m-expanded__toggle-icon--Color: var(--pf-global--Color--100);
|
|
18116
18128
|
--pf-c-tabs--m-expanded__toggle-icon--Rotate: 90deg;
|
|
18129
|
+
--pf-c-tabs__item-close--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
18130
|
+
--pf-c-tabs--m-secondary__item-close--c-button--FontSize: var(--pf-global--icon--FontSize--sm);
|
|
18131
|
+
--pf-c-tabs__item-close--c-button--PaddingTop: var(--pf-global--spacer--sm);
|
|
18132
|
+
--pf-c-tabs__item-close--c-button--PaddingBottom: var(--pf-global--spacer--sm);
|
|
18133
|
+
--pf-c-tabs__item-close--c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
18134
|
+
--pf-c-tabs__item-close--c-button--OutlineOffset: -0.1875rem;
|
|
18135
|
+
--pf-c-tabs__item-close-icon--MarginTop: 0.125rem;
|
|
18136
|
+
--pf-c-tabs__add--before--BorderColor: var(--pf-c-tabs__link--before--border-color--base);
|
|
18137
|
+
--pf-c-tabs__add--before--BorderLeftWidth: var(--pf-c-tabs__link--before--border-width--base);
|
|
18138
|
+
--pf-c-tabs__add--c-button--FontSize: var(--pf-global--FontSize--sm);
|
|
18139
|
+
--pf-c-tabs--m-secondary__add--c-button--FontSize: var(--pf-global--FontSize--xs);
|
|
18140
|
+
--pf-c-tabs__add--c-button--PaddingTop: var(--pf-c-tabs__link--PaddingTop);
|
|
18141
|
+
--pf-c-tabs__add--c-button--PaddingBottom: var(--pf-c-tabs__link--PaddingBottom);
|
|
18117
18142
|
position: relative;
|
|
18118
18143
|
display: flex;
|
|
18119
18144
|
width: var(--pf-c-tabs--Width);
|
|
@@ -18235,6 +18260,10 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18235
18260
|
--pf-c-tabs__link--disabled--BackgroundColor: var(--pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor);
|
|
18236
18261
|
}
|
|
18237
18262
|
|
|
18263
|
+
.pf-c-tabs.pf-m-box .pf-c-tabs__item-close .pf-c-button {
|
|
18264
|
+
--pf-c-button--m-plain--disabled--Color: var(--pf-c-tabs--m-box__item-close--c-button--disabled--BackgroundColor);
|
|
18265
|
+
}
|
|
18266
|
+
|
|
18238
18267
|
.pf-c-tabs.pf-m-vertical {
|
|
18239
18268
|
--pf-c-tabs--Width: var(--pf-c-tabs--m-vertical--Width);
|
|
18240
18269
|
--pf-c-tabs--inset: var(--pf-c-tabs--m-vertical--inset);
|
|
@@ -18430,6 +18459,8 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18430
18459
|
|
|
18431
18460
|
.pf-c-tabs.pf-m-secondary {
|
|
18432
18461
|
--pf-c-tabs__link--FontSize: var(--pf-c-tabs--m-secondary__link--FontSize);
|
|
18462
|
+
--pf-c-tabs__item-close--c-button--FontSize: var(--pf-c-tabs--m-secondary__item-close--c-button--FontSize);
|
|
18463
|
+
--pf-c-tabs__add--c-button--FontSize: var(--pf-c-tabs--m-secondary__add--c-button--FontSize);
|
|
18433
18464
|
}
|
|
18434
18465
|
|
|
18435
18466
|
.pf-c-tabs.pf-m-page-insets {
|
|
@@ -18498,11 +18529,28 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18498
18529
|
--pf-c-tabs__link--after--BorderWidth: var(--pf-c-tabs__item--m-current__link--after--BorderWidth);
|
|
18499
18530
|
}
|
|
18500
18531
|
|
|
18532
|
+
.pf-c-tabs__item.pf-m-action {
|
|
18533
|
+
--pf-c-tabs__link--PaddingRight: var(--pf-c-tabs__item--m-action__link--PaddingRight);
|
|
18534
|
+
position: relative;
|
|
18535
|
+
}
|
|
18536
|
+
|
|
18537
|
+
.pf-c-tabs__item.pf-m-action::before {
|
|
18538
|
+
z-index: var(--pf-c-tabs__item--m-action--before--ZIndex);
|
|
18539
|
+
}
|
|
18540
|
+
|
|
18541
|
+
.pf-c-tabs__item.pf-m-action .pf-c-tabs__link::before,
|
|
18542
|
+
.pf-c-tabs__item.pf-m-action .pf-c-tabs__link::after {
|
|
18543
|
+
content: revert;
|
|
18544
|
+
}
|
|
18545
|
+
|
|
18501
18546
|
.pf-c-tabs::before,
|
|
18502
18547
|
.pf-c-tabs__list::before,
|
|
18503
18548
|
.pf-c-tabs__link::before,
|
|
18504
18549
|
.pf-c-tabs__link::after,
|
|
18505
|
-
.pf-c-
|
|
18550
|
+
.pf-c-tabs__item.pf-m-action::before,
|
|
18551
|
+
.pf-c-tabs__item.pf-m-action::after,
|
|
18552
|
+
.pf-c-tabs__scroll-button::before,
|
|
18553
|
+
.pf-c-tabs__add::before {
|
|
18506
18554
|
position: absolute;
|
|
18507
18555
|
right: 0;
|
|
18508
18556
|
bottom: 0;
|
|
@@ -18514,18 +18562,21 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18514
18562
|
.pf-c-tabs__list::before,
|
|
18515
18563
|
.pf-c-tabs__link::before,
|
|
18516
18564
|
.pf-c-tabs__link::after,
|
|
18517
|
-
.pf-c-
|
|
18565
|
+
.pf-c-tabs__item.pf-m-action::before,
|
|
18566
|
+
.pf-c-tabs__item.pf-m-action::after,
|
|
18567
|
+
.pf-c-tabs__scroll-button::before,
|
|
18568
|
+
.pf-c-tabs__add::before {
|
|
18518
18569
|
top: 0;
|
|
18519
18570
|
}
|
|
18520
18571
|
|
|
18521
18572
|
.pf-c-tabs__link,
|
|
18522
18573
|
.pf-c-tabs__scroll-button,
|
|
18523
|
-
.pf-c-tabs__list::before
|
|
18574
|
+
.pf-c-tabs__list::before,
|
|
18575
|
+
.pf-c-tabs__add::before {
|
|
18524
18576
|
border: 0;
|
|
18525
18577
|
}
|
|
18526
18578
|
|
|
18527
18579
|
.pf-c-tabs__link {
|
|
18528
|
-
--pf-c-tabs__link--after--BorderBottomWidth: var(--pf-c-tabs__link--after--BorderWidth);
|
|
18529
18580
|
position: relative;
|
|
18530
18581
|
display: flex;
|
|
18531
18582
|
flex: 1;
|
|
@@ -18533,19 +18584,24 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18533
18584
|
font-size: var(--pf-c-tabs__link--FontSize);
|
|
18534
18585
|
color: var(--pf-c-tabs__link--Color);
|
|
18535
18586
|
text-decoration: none;
|
|
18536
|
-
background-color: var(--pf-c-tabs__link--BackgroundColor);
|
|
18537
18587
|
outline-offset: var(--pf-c-tabs__link--OutlineOffset);
|
|
18538
18588
|
}
|
|
18539
18589
|
|
|
18540
|
-
.pf-c-tabs__link
|
|
18590
|
+
.pf-c-tabs__item.pf-m-action, .pf-c-tabs__link {
|
|
18591
|
+
--pf-c-tabs__link--after--BorderBottomWidth: var(--pf-c-tabs__link--after--BorderWidth);
|
|
18592
|
+
background-color: var(--pf-c-tabs__link--BackgroundColor);
|
|
18593
|
+
}
|
|
18594
|
+
|
|
18595
|
+
.pf-c-tabs__item.pf-m-action::before, .pf-c-tabs__link::before {
|
|
18541
18596
|
pointer-events: none;
|
|
18542
|
-
border-color: var(--pf-c-tabs__link--before--border-color--base);
|
|
18543
18597
|
border-width: var(--pf-c-tabs__link--before--BorderTopWidth) var(--pf-c-tabs__link--before--BorderRightWidth) var(--pf-c-tabs__link--before--BorderBottomWidth) var(--pf-c-tabs__link--before--BorderLeftWidth);
|
|
18598
|
+
border-top-color: var(--pf-c-tabs__link--before--BorderTopColor);
|
|
18544
18599
|
border-right-color: var(--pf-c-tabs__link--before--BorderRightColor);
|
|
18545
18600
|
border-bottom-color: var(--pf-c-tabs__link--before--BorderBottomColor);
|
|
18601
|
+
border-left-color: var(--pf-c-tabs__link--before--BorderLeftColor);
|
|
18546
18602
|
}
|
|
18547
18603
|
|
|
18548
|
-
.pf-c-tabs__link::after {
|
|
18604
|
+
.pf-c-tabs__item.pf-m-action::after, .pf-c-tabs__link::after {
|
|
18549
18605
|
top: var(--pf-c-tabs__link--after--Top);
|
|
18550
18606
|
right: var(--pf-c-tabs__link--after--Right);
|
|
18551
18607
|
bottom: var(--pf-c-tabs__link--after--Bottom);
|
|
@@ -18554,15 +18610,15 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18554
18610
|
border-width: var(--pf-c-tabs__link--after--BorderTopWidth) var(--pf-c-tabs__link--after--BorderRightWidth) var(--pf-c-tabs__link--after--BorderBottomWidth) var(--pf-c-tabs__link--after--BorderLeftWidth);
|
|
18555
18611
|
}
|
|
18556
18612
|
|
|
18557
|
-
.pf-c-tabs__link:hover {
|
|
18613
|
+
.pf-c-tabs__item.pf-m-action:hover, .pf-c-tabs__link:hover {
|
|
18558
18614
|
--pf-c-tabs__link--after--BorderWidth: var(--pf-c-tabs__link--hover--after--BorderWidth);
|
|
18559
18615
|
}
|
|
18560
18616
|
|
|
18561
|
-
.pf-c-tabs__link:focus {
|
|
18617
|
+
.pf-c-tabs__item.pf-m-action:focus-within, .pf-c-tabs__link:focus {
|
|
18562
18618
|
--pf-c-tabs__link--after--BorderWidth: var(--pf-c-tabs__link--focus--after--BorderWidth);
|
|
18563
18619
|
}
|
|
18564
18620
|
|
|
18565
|
-
.pf-c-tabs__link:active {
|
|
18621
|
+
.pf-c-tabs__item.pf-m-action:active, .pf-c-tabs__link:active {
|
|
18566
18622
|
--pf-c-tabs__link--after--BorderWidth: var(--pf-c-tabs__link--active--after--BorderWidth);
|
|
18567
18623
|
}
|
|
18568
18624
|
|
|
@@ -18570,7 +18626,7 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18570
18626
|
pointer-events: none;
|
|
18571
18627
|
}
|
|
18572
18628
|
|
|
18573
|
-
.pf-c-tabs__link:disabled, .pf-c-tabs__link.pf-m-disabled, .pf-c-tabs__link.pf-m-aria-disabled {
|
|
18629
|
+
.pf-c-tabs__item.pf-m-action.pf-m-disabled, .pf-c-tabs__link:disabled, .pf-c-tabs__link.pf-m-disabled, .pf-c-tabs__link.pf-m-aria-disabled {
|
|
18574
18630
|
--pf-c-tabs__link--BackgroundColor: var(--pf-c-tabs__link--disabled--BackgroundColor);
|
|
18575
18631
|
--pf-c-tabs__link--before--BorderRightWidth: var(--pf-c-tabs__link--disabled--before--BorderRightWidth);
|
|
18576
18632
|
--pf-c-tabs__link--before--BorderBottomWidth: var(--pf-c-tabs__link--disabled--before--BorderBottomWidth);
|
|
@@ -18592,6 +18648,23 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18592
18648
|
--pf-c-tabs__link--child--MarginRight: 0;
|
|
18593
18649
|
}
|
|
18594
18650
|
|
|
18651
|
+
.pf-c-tabs__item-close {
|
|
18652
|
+
display: flex;
|
|
18653
|
+
}
|
|
18654
|
+
|
|
18655
|
+
.pf-c-tabs__item-close .pf-c-button {
|
|
18656
|
+
--pf-c-button--FontSize: var(--pf-c-tabs__item-close--c-button--FontSize);
|
|
18657
|
+
--pf-c-button--PaddingTop: var(--pf-c-tabs__item-close--c-button--PaddingTop);
|
|
18658
|
+
--pf-c-button--PaddingBottom: var(--pf-c-tabs__item-close--c-button--PaddingBottom);
|
|
18659
|
+
--pf-c-button--PaddingLeft: var(--pf-c-tabs__item-close--c-button--PaddingLeft);
|
|
18660
|
+
outline-offset: var(--pf-c-tabs__item-close--c-button--OutlineOffset);
|
|
18661
|
+
}
|
|
18662
|
+
|
|
18663
|
+
.pf-c-tabs__item-close-icon {
|
|
18664
|
+
display: inline-block;
|
|
18665
|
+
margin-top: var(--pf-c-tabs__item-close-icon--MarginTop);
|
|
18666
|
+
}
|
|
18667
|
+
|
|
18595
18668
|
.pf-c-tabs__scroll-button {
|
|
18596
18669
|
flex: none;
|
|
18597
18670
|
width: var(--pf-c-tabs__scroll-button--Width);
|
|
@@ -18629,6 +18702,21 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
18629
18702
|
pointer-events: none;
|
|
18630
18703
|
}
|
|
18631
18704
|
|
|
18705
|
+
.pf-c-tabs__add {
|
|
18706
|
+
position: relative;
|
|
18707
|
+
display: flex;
|
|
18708
|
+
}
|
|
18709
|
+
|
|
18710
|
+
.pf-c-tabs__add::before {
|
|
18711
|
+
border-left: var(--pf-c-tabs__add--before--BorderLeftWidth) solid var(--pf-c-tabs__add--before--BorderColor);
|
|
18712
|
+
}
|
|
18713
|
+
|
|
18714
|
+
.pf-c-tabs__add .pf-c-button {
|
|
18715
|
+
--pf-c-button--FontSize: var(--pf-c-tabs__add--c-button--FontSize);
|
|
18716
|
+
--pf-c-button--PaddingTop: var(--pf-c-tabs__add--c-button--PaddingTop);
|
|
18717
|
+
--pf-c-button--PaddingBottom: var(--pf-c-tabs__add--c-button--PaddingBottom);
|
|
18718
|
+
}
|
|
18719
|
+
|
|
18632
18720
|
.pf-c-tabs.pf-m-inset-none {
|
|
18633
18721
|
--pf-c-tabs--inset: 0;
|
|
18634
18722
|
--pf-c-tabs--m-vertical--inset: 0;
|
package/dist/umd/react-core.js
CHANGED
|
@@ -13306,8 +13306,10 @@
|
|
|
13306
13306
|
ActionGroup.displayName = 'ActionGroup';
|
|
13307
13307
|
|
|
13308
13308
|
const Form = (_a) => {
|
|
13309
|
-
var { children = null, className = '', isHorizontal = false, isWidthLimited = false } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited"]);
|
|
13310
|
-
return (React__namespace.createElement("form", Object.assign({ noValidate: true },
|
|
13309
|
+
var { children = null, className = '', isHorizontal = false, isWidthLimited = false, maxWidth = '' } = _a, props = __rest$1(_a, ["children", "className", "isHorizontal", "isWidthLimited", "maxWidth"]);
|
|
13310
|
+
return (React__namespace.createElement("form", Object.assign({ noValidate: true }, (maxWidth && {
|
|
13311
|
+
style: Object.assign({ '--pf-c-form--m-limit-width--MaxWidth': maxWidth }, props.style)
|
|
13312
|
+
}), props, { className: css(styles$Z.form, isHorizontal && styles$Z.modifiers.horizontal, (isWidthLimited || maxWidth) && styles$Z.modifiers.limitWidth, className) }), children));
|
|
13311
13313
|
};
|
|
13312
13314
|
Form.displayName = 'Form';
|
|
13313
13315
|
|
|
@@ -14106,6 +14108,7 @@
|
|
|
14106
14108
|
"loginMainFooterLinksItemLink": "pf-c-login__main-footer-links-item-link",
|
|
14107
14109
|
"loginMainHeader": "pf-c-login__main-header",
|
|
14108
14110
|
"loginMainHeaderDesc": "pf-c-login__main-header-desc",
|
|
14111
|
+
"loginMainHeaderUtilities": "pf-c-login__main-header-utilities",
|
|
14109
14112
|
"title": "pf-c-title"
|
|
14110
14113
|
};
|
|
14111
14114
|
|
|
@@ -17324,10 +17327,11 @@
|
|
|
17324
17327
|
warning: styles$p.modifiers.warning,
|
|
17325
17328
|
danger: styles$p.modifiers.danger
|
|
17326
17329
|
};
|
|
17327
|
-
const
|
|
17328
|
-
var { children, className, variant, isCurrent, description, icon, titleId,
|
|
17330
|
+
const ProgressStep = (_a) => {
|
|
17331
|
+
var { children, className, variant, isCurrent, description, icon, titleId, 'aria-label': ariaLabel, popoverRender } = _a, props = __rest$1(_a, ["children", "className", "variant", "isCurrent", "description", "icon", "titleId", 'aria-label', "popoverRender"]);
|
|
17329
17332
|
const _icon = icon !== undefined ? icon : variantIcons[variant];
|
|
17330
|
-
const Component =
|
|
17333
|
+
const Component = popoverRender !== undefined ? 'span' : 'div';
|
|
17334
|
+
const stepRef = React__namespace.useRef();
|
|
17331
17335
|
if (props.id === undefined || titleId === undefined) {
|
|
17332
17336
|
/* eslint-disable no-console */
|
|
17333
17337
|
console.warn('ProgressStep: The titleId and id properties are required to make this component accessible, and one or both of these properties are missing.');
|
|
@@ -17336,12 +17340,11 @@
|
|
|
17336
17340
|
React__namespace.createElement("div", { className: css(styles$p.progressStepperStepConnector) },
|
|
17337
17341
|
React__namespace.createElement("span", { className: css(styles$p.progressStepperStepIcon) }, _icon && _icon)),
|
|
17338
17342
|
React__namespace.createElement("div", { className: css(styles$p.progressStepperStepMain) },
|
|
17339
|
-
React__namespace.createElement(Component, Object.assign({ className: css(styles$p.progressStepperStepTitle,
|
|
17343
|
+
React__namespace.createElement(Component, Object.assign({ className: css(styles$p.progressStepperStepTitle, popoverRender && styles$p.modifiers.helpText), id: titleId, ref: stepRef }, (popoverRender && { tabIndex: 0, role: 'button', type: 'button' }), (props.id !== undefined && titleId !== undefined && { 'aria-labelledby': `${props.id} ${titleId}` })),
|
|
17340
17344
|
children,
|
|
17341
|
-
|
|
17345
|
+
popoverRender && popoverRender(stepRef)),
|
|
17342
17346
|
description && React__namespace.createElement("div", { className: css(styles$p.progressStepperStepDescription) }, description))));
|
|
17343
17347
|
};
|
|
17344
|
-
const ProgressStep = React__namespace.forwardRef((props, ref) => (React__namespace.createElement(ProgressStepBase, Object.assign({ innerRef: ref }, props))));
|
|
17345
17348
|
ProgressStep.displayName = 'ProgressStep';
|
|
17346
17349
|
|
|
17347
17350
|
Promise.resolve().then(function () { return radio; });
|
|
@@ -18112,13 +18115,15 @@
|
|
|
18112
18115
|
render() {
|
|
18113
18116
|
const _a = this.props, {
|
|
18114
18117
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
18115
|
-
id, className, label, labelOff, isChecked, isDisabled, onChange, isReversed, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["id", "className", "label", "labelOff", "isChecked", "isDisabled", "onChange", "isReversed", "ouiaId", "ouiaSafe"]);
|
|
18118
|
+
id, className, label, labelOff, isChecked, hasCheckIcon, isDisabled, onChange, isReversed, ouiaId, ouiaSafe } = _a, props = __rest$1(_a, ["id", "className", "label", "labelOff", "isChecked", "hasCheckIcon", "isDisabled", "onChange", "isReversed", "ouiaId", "ouiaSafe"]);
|
|
18116
18119
|
const isAriaLabelledBy = props['aria-label'] === '';
|
|
18117
18120
|
return (React__namespace.createElement("label", Object.assign({ className: css(styles$i.switch, isReversed && styles$i.modifiers.reverse, className), htmlFor: this.id }, getOUIAProps(Switch.displayName, ouiaId !== undefined ? ouiaId : this.state.ouiaStateId, ouiaSafe)),
|
|
18118
18121
|
React__namespace.createElement("input", Object.assign({ id: this.id, className: css(styles$i.switchInput), type: "checkbox", onChange: event => onChange(event.target.checked, event), checked: isChecked, disabled: isDisabled, "aria-labelledby": isAriaLabelledBy ? `${this.id}-on` : null }, props)),
|
|
18119
18122
|
label !== undefined ? (React__namespace.createElement(React__namespace.Fragment, null,
|
|
18120
18123
|
React__namespace.createElement("span", { className: css(styles$i.switchToggle) }),
|
|
18121
18124
|
React__namespace.createElement("span", { className: css(styles$i.switchLabel, styles$i.modifiers.on), id: isAriaLabelledBy ? `${this.id}-on` : null, "aria-hidden": "true" }, label),
|
|
18125
|
+
hasCheckIcon && (React__namespace.createElement("div", { className: css(styles$i.switchToggleIcon), "aria-hidden": "true" },
|
|
18126
|
+
React__namespace.createElement(CheckIcon$1, { noVerticalAlign: true }))),
|
|
18122
18127
|
React__namespace.createElement("span", { className: css(styles$i.switchLabel, styles$i.modifiers.off), id: isAriaLabelledBy ? `${this.id}-off` : null, "aria-hidden": "true" }, labelOff !== undefined ? labelOff : label))) : (React__namespace.createElement("span", { className: css(styles$i.switchToggle) },
|
|
18123
18128
|
React__namespace.createElement("div", { className: css(styles$i.switchToggleIcon), "aria-hidden": "true" },
|
|
18124
18129
|
React__namespace.createElement(CheckIcon$1, { noVerticalAlign: true }))))));
|
|
@@ -18160,6 +18165,7 @@
|
|
|
18160
18165
|
"nonExpandableOn_2xl": "pf-m-non-expandable-on-2xl",
|
|
18161
18166
|
"expanded": "pf-m-expanded",
|
|
18162
18167
|
"pageInsets": "pf-m-page-insets",
|
|
18168
|
+
"action": "pf-m-action",
|
|
18163
18169
|
"disabled": "pf-m-disabled",
|
|
18164
18170
|
"ariaDisabled": "pf-m-aria-disabled",
|
|
18165
18171
|
"insetNone": "pf-m-inset-none",
|
|
@@ -18200,7 +18206,10 @@
|
|
|
18200
18206
|
"inset_2xlOn_2xl": "pf-m-inset-2xl-on-2xl"
|
|
18201
18207
|
},
|
|
18202
18208
|
"tabs": "pf-c-tabs",
|
|
18209
|
+
"tabsAdd": "pf-c-tabs__add",
|
|
18203
18210
|
"tabsItem": "pf-c-tabs__item",
|
|
18211
|
+
"tabsItemClose": "pf-c-tabs__item-close",
|
|
18212
|
+
"tabsItemCloseIcon": "pf-c-tabs__item-close-icon",
|
|
18204
18213
|
"tabsItemIcon": "pf-c-tabs__item-icon",
|
|
18205
18214
|
"tabsItemText": "pf-c-tabs__item-text",
|
|
18206
18215
|
"tabsLink": "pf-c-tabs__link",
|