@patternfly/react-core 4.234.4 → 4.235.2
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 +27 -0
- package/dist/esm/next/components/Wizard/Wizard.d.ts +40 -0
- package/dist/esm/next/components/Wizard/Wizard.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/Wizard.js +86 -0
- package/dist/esm/next/components/Wizard/Wizard.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardBody.d.ts +20 -0
- package/dist/esm/next/components/Wizard/WizardBody.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardBody.js +7 -0
- package/dist/esm/next/components/Wizard/WizardBody.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardContext.d.ts +49 -0
- package/dist/esm/next/components/Wizard/WizardContext.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardContext.js +34 -0
- package/dist/esm/next/components/Wizard/WizardContext.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardFooter.d.ts +28 -0
- package/dist/esm/next/components/Wizard/WizardFooter.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardFooter.js +11 -0
- package/dist/esm/next/components/Wizard/WizardFooter.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardHeader.d.ts +21 -0
- package/dist/esm/next/components/Wizard/WizardHeader.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardHeader.js +13 -0
- package/dist/esm/next/components/Wizard/WizardHeader.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardNav.d.ts +15 -0
- package/dist/esm/next/components/Wizard/WizardNav.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardNav.js +13 -0
- package/dist/esm/next/components/Wizard/WizardNav.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardNavItem.d.ts +25 -0
- package/dist/esm/next/components/Wizard/WizardNavItem.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardNavItem.js +33 -0
- package/dist/esm/next/components/Wizard/WizardNavItem.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardStep.d.ts +20 -0
- package/dist/esm/next/components/Wizard/WizardStep.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardStep.js +5 -0
- package/dist/esm/next/components/Wizard/WizardStep.js.map +1 -0
- package/dist/esm/next/components/Wizard/WizardToggle.d.ts +26 -0
- package/dist/esm/next/components/Wizard/WizardToggle.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/WizardToggle.js +81 -0
- package/dist/esm/next/components/Wizard/WizardToggle.js.map +1 -0
- package/dist/esm/next/components/Wizard/hooks/index.d.ts +2 -0
- package/dist/esm/next/components/Wizard/hooks/index.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/hooks/index.js +2 -0
- package/dist/esm/next/components/Wizard/hooks/index.js.map +1 -0
- package/dist/esm/next/components/Wizard/hooks/useWizardFooter.d.ts +8 -0
- package/dist/esm/next/components/Wizard/hooks/useWizardFooter.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/hooks/useWizardFooter.js +20 -0
- package/dist/esm/next/components/Wizard/hooks/useWizardFooter.js.map +1 -0
- package/dist/esm/next/components/Wizard/index.d.ts +12 -0
- package/dist/esm/next/components/Wizard/index.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/index.js +12 -0
- package/dist/esm/next/components/Wizard/index.js.map +1 -0
- package/dist/esm/next/components/Wizard/types.d.ts +69 -0
- package/dist/esm/next/components/Wizard/types.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/types.js +20 -0
- package/dist/esm/next/components/Wizard/types.js.map +1 -0
- package/dist/esm/next/components/Wizard/utils.d.ts +15 -0
- package/dist/esm/next/components/Wizard/utils.d.ts.map +1 -0
- package/dist/esm/next/components/Wizard/utils.js +35 -0
- package/dist/esm/next/components/Wizard/utils.js.map +1 -0
- package/dist/esm/next/components/index.d.ts +1 -1
- package/dist/esm/next/components/index.d.ts.map +1 -1
- package/dist/esm/next/components/index.js +1 -1
- package/dist/esm/next/components/index.js.map +1 -1
- package/dist/js/next/components/Wizard/Wizard.d.ts +40 -0
- package/dist/js/next/components/Wizard/Wizard.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/Wizard.js +90 -0
- package/dist/js/next/components/Wizard/Wizard.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardBody.d.ts +20 -0
- package/dist/js/next/components/Wizard/WizardBody.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardBody.js +12 -0
- package/dist/js/next/components/Wizard/WizardBody.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardContext.d.ts +49 -0
- package/dist/js/next/components/Wizard/WizardContext.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardContext.js +40 -0
- package/dist/js/next/components/Wizard/WizardContext.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardFooter.d.ts +28 -0
- package/dist/js/next/components/Wizard/WizardFooter.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardFooter.js +16 -0
- package/dist/js/next/components/Wizard/WizardFooter.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardHeader.d.ts +21 -0
- package/dist/js/next/components/Wizard/WizardHeader.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardHeader.js +18 -0
- package/dist/js/next/components/Wizard/WizardHeader.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardNav.d.ts +15 -0
- package/dist/js/next/components/Wizard/WizardNav.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardNav.js +18 -0
- package/dist/js/next/components/Wizard/WizardNav.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardNavItem.d.ts +25 -0
- package/dist/js/next/components/Wizard/WizardNavItem.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardNavItem.js +37 -0
- package/dist/js/next/components/Wizard/WizardNavItem.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardStep.d.ts +20 -0
- package/dist/js/next/components/Wizard/WizardStep.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardStep.js +10 -0
- package/dist/js/next/components/Wizard/WizardStep.js.map +1 -0
- package/dist/js/next/components/Wizard/WizardToggle.d.ts +26 -0
- package/dist/js/next/components/Wizard/WizardToggle.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/WizardToggle.js +86 -0
- package/dist/js/next/components/Wizard/WizardToggle.js.map +1 -0
- package/dist/js/next/components/Wizard/hooks/index.d.ts +2 -0
- package/dist/js/next/components/Wizard/hooks/index.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/hooks/index.js +6 -0
- package/dist/js/next/components/Wizard/hooks/index.js.map +1 -0
- package/dist/js/next/components/Wizard/hooks/useWizardFooter.d.ts +8 -0
- package/dist/js/next/components/Wizard/hooks/useWizardFooter.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/hooks/useWizardFooter.js +25 -0
- package/dist/js/next/components/Wizard/hooks/useWizardFooter.js.map +1 -0
- package/dist/js/next/components/Wizard/index.d.ts +12 -0
- package/dist/js/next/components/Wizard/index.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/index.js +17 -0
- package/dist/js/next/components/Wizard/index.js.map +1 -0
- package/dist/js/next/components/Wizard/types.d.ts +69 -0
- package/dist/js/next/components/Wizard/types.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/types.js +29 -0
- package/dist/js/next/components/Wizard/types.js.map +1 -0
- package/dist/js/next/components/Wizard/utils.d.ts +15 -0
- package/dist/js/next/components/Wizard/utils.d.ts.map +1 -0
- package/dist/js/next/components/Wizard/utils.js +41 -0
- package/dist/js/next/components/Wizard/utils.js.map +1 -0
- package/dist/js/next/components/index.d.ts +1 -1
- package/dist/js/next/components/index.d.ts.map +1 -1
- package/dist/js/next/components/index.js +1 -1
- package/dist/js/next/components/index.js.map +1 -1
- package/dist/umd/react-core.css +991 -991
- package/dist/umd/react-core.js +509 -413
- package/dist/umd/react-core.min.css +70 -70
- package/dist/umd/react-core.min.js +5 -5
- package/package.json +10 -10
- package/src/components/Wizard/examples/Wizard.md +21 -4
- package/src/next/components/Wizard/Wizard.tsx +184 -0
- package/src/next/components/Wizard/WizardBody.tsx +34 -0
- package/src/next/components/Wizard/WizardContext.tsx +104 -0
- package/src/next/components/Wizard/WizardFooter.tsx +63 -0
- package/src/next/components/Wizard/WizardHeader.tsx +53 -0
- package/src/next/components/Wizard/WizardNav.tsx +41 -0
- package/src/next/components/Wizard/WizardNavItem.tsx +103 -0
- package/src/next/components/Wizard/WizardStep.tsx +23 -0
- package/src/next/components/Wizard/WizardToggle.tsx +209 -0
- package/src/next/components/Wizard/__tests__/Wizard.test.tsx +298 -0
- package/src/next/components/Wizard/examples/Wizard.md +125 -0
- package/src/next/components/Wizard/examples/WizardBasic.tsx +22 -0
- package/src/next/components/Wizard/examples/WizardCustomNav.tsx +46 -0
- package/src/next/components/Wizard/examples/WizardKitchenSink.tsx +170 -0
- package/src/next/components/Wizard/hooks/index.ts +1 -0
- package/src/next/components/Wizard/hooks/useWizardFooter.tsx +22 -0
- package/src/next/components/Wizard/index.ts +11 -0
- package/src/next/components/Wizard/types.tsx +101 -0
- package/src/next/components/Wizard/utils.ts +47 -0
- package/src/next/components/index.ts +1 -1
|
@@ -9334,6 +9334,76 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
9334
9334
|
--pf-c-helper-text__item-text--m-success--Color: var(--pf-global--success-color--100);
|
|
9335
9335
|
}
|
|
9336
9336
|
|
|
9337
|
+
.pf-c-hint {
|
|
9338
|
+
--pf-c-hint--GridRowGap: var(--pf-global--spacer--md);
|
|
9339
|
+
--pf-c-hint--PaddingTop: var(--pf-global--spacer--lg);
|
|
9340
|
+
--pf-c-hint--PaddingRight: var(--pf-global--spacer--lg);
|
|
9341
|
+
--pf-c-hint--PaddingBottom: var(--pf-global--spacer--lg);
|
|
9342
|
+
--pf-c-hint--PaddingLeft: var(--pf-global--spacer--lg);
|
|
9343
|
+
--pf-c-hint--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
9344
|
+
--pf-c-hint--BorderColor: var(--pf-global--palette--blue-100);
|
|
9345
|
+
--pf-c-hint--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
9346
|
+
--pf-c-hint--BoxShadow: var(--pf-global--BoxShadow--sm);
|
|
9347
|
+
--pf-c-hint--Color: var(--pf-global--Color--100);
|
|
9348
|
+
--pf-c-hint__title--FontSize: var(--pf-global--FontSize--lg);
|
|
9349
|
+
--pf-c-hint__body--FontSize: var(--pf-global--FontSize--md);
|
|
9350
|
+
--pf-c-hint__footer--child--MarginRight: var(--pf-global--spacer--md);
|
|
9351
|
+
--pf-c-hint__actions--MarginLeft: var(--pf-global--spacer--2xl);
|
|
9352
|
+
--pf-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
9353
|
+
display: grid;
|
|
9354
|
+
grid-template-columns: 1fr auto;
|
|
9355
|
+
grid-row-gap: var(--pf-c-hint--GridRowGap);
|
|
9356
|
+
padding: var(--pf-c-hint--PaddingTop) var(--pf-c-hint--PaddingRight) var(--pf-c-hint--PaddingBottom) var(--pf-c-hint--PaddingLeft);
|
|
9357
|
+
color: var(--pf-c-hint--Color);
|
|
9358
|
+
background-color: var(--pf-c-hint--BackgroundColor);
|
|
9359
|
+
border: var(--pf-c-hint--BorderWidth) solid var(--pf-c-hint--BorderColor);
|
|
9360
|
+
box-shadow: var(--pf-c-hint--BoxShadow);
|
|
9361
|
+
}
|
|
9362
|
+
|
|
9363
|
+
.pf-c-hint .pf-c-button.pf-m-link.pf-m-inline {
|
|
9364
|
+
text-align: left;
|
|
9365
|
+
white-space: normal;
|
|
9366
|
+
}
|
|
9367
|
+
|
|
9368
|
+
.pf-c-hint__actions {
|
|
9369
|
+
display: inline-grid;
|
|
9370
|
+
grid-auto-flow: column;
|
|
9371
|
+
margin-left: var(--pf-c-hint__actions--MarginLeft);
|
|
9372
|
+
text-align: right;
|
|
9373
|
+
grid-column: 2;
|
|
9374
|
+
grid-row: 1;
|
|
9375
|
+
}
|
|
9376
|
+
|
|
9377
|
+
.pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
|
|
9378
|
+
margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
|
|
9379
|
+
}
|
|
9380
|
+
|
|
9381
|
+
.pf-c-hint__actions + .pf-c-hint__body {
|
|
9382
|
+
grid-column: 1;
|
|
9383
|
+
}
|
|
9384
|
+
|
|
9385
|
+
.pf-c-hint__title {
|
|
9386
|
+
font-size: var(--pf-c-hint__title--FontSize);
|
|
9387
|
+
}
|
|
9388
|
+
|
|
9389
|
+
.pf-c-hint__body {
|
|
9390
|
+
grid-column: 1/-1;
|
|
9391
|
+
font-size: var(--pf-c-hint__body--FontSize);
|
|
9392
|
+
}
|
|
9393
|
+
|
|
9394
|
+
.pf-c-hint__footer {
|
|
9395
|
+
grid-column: 1/-1;
|
|
9396
|
+
}
|
|
9397
|
+
|
|
9398
|
+
.pf-c-hint__footer > :not(:last-child) {
|
|
9399
|
+
margin-right: var(--pf-c-hint__footer--child--MarginRight);
|
|
9400
|
+
}
|
|
9401
|
+
|
|
9402
|
+
:where(.pf-theme-dark) .pf-c-hint {
|
|
9403
|
+
--pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
9404
|
+
--pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
|
|
9405
|
+
}
|
|
9406
|
+
|
|
9337
9407
|
.pf-c-input-group {
|
|
9338
9408
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
9339
9409
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|
|
@@ -10691,76 +10761,6 @@ button.pf-c-label__content:focus {
|
|
|
10691
10761
|
display: none;
|
|
10692
10762
|
}
|
|
10693
10763
|
|
|
10694
|
-
.pf-c-hint {
|
|
10695
|
-
--pf-c-hint--GridRowGap: var(--pf-global--spacer--md);
|
|
10696
|
-
--pf-c-hint--PaddingTop: var(--pf-global--spacer--lg);
|
|
10697
|
-
--pf-c-hint--PaddingRight: var(--pf-global--spacer--lg);
|
|
10698
|
-
--pf-c-hint--PaddingBottom: var(--pf-global--spacer--lg);
|
|
10699
|
-
--pf-c-hint--PaddingLeft: var(--pf-global--spacer--lg);
|
|
10700
|
-
--pf-c-hint--BackgroundColor: var(--pf-global--palette--blue-50);
|
|
10701
|
-
--pf-c-hint--BorderColor: var(--pf-global--palette--blue-100);
|
|
10702
|
-
--pf-c-hint--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
10703
|
-
--pf-c-hint--BoxShadow: var(--pf-global--BoxShadow--sm);
|
|
10704
|
-
--pf-c-hint--Color: var(--pf-global--Color--100);
|
|
10705
|
-
--pf-c-hint__title--FontSize: var(--pf-global--FontSize--lg);
|
|
10706
|
-
--pf-c-hint__body--FontSize: var(--pf-global--FontSize--md);
|
|
10707
|
-
--pf-c-hint__footer--child--MarginRight: var(--pf-global--spacer--md);
|
|
10708
|
-
--pf-c-hint__actions--MarginLeft: var(--pf-global--spacer--2xl);
|
|
10709
|
-
--pf-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
10710
|
-
display: grid;
|
|
10711
|
-
grid-template-columns: 1fr auto;
|
|
10712
|
-
grid-row-gap: var(--pf-c-hint--GridRowGap);
|
|
10713
|
-
padding: var(--pf-c-hint--PaddingTop) var(--pf-c-hint--PaddingRight) var(--pf-c-hint--PaddingBottom) var(--pf-c-hint--PaddingLeft);
|
|
10714
|
-
color: var(--pf-c-hint--Color);
|
|
10715
|
-
background-color: var(--pf-c-hint--BackgroundColor);
|
|
10716
|
-
border: var(--pf-c-hint--BorderWidth) solid var(--pf-c-hint--BorderColor);
|
|
10717
|
-
box-shadow: var(--pf-c-hint--BoxShadow);
|
|
10718
|
-
}
|
|
10719
|
-
|
|
10720
|
-
.pf-c-hint .pf-c-button.pf-m-link.pf-m-inline {
|
|
10721
|
-
text-align: left;
|
|
10722
|
-
white-space: normal;
|
|
10723
|
-
}
|
|
10724
|
-
|
|
10725
|
-
.pf-c-hint__actions {
|
|
10726
|
-
display: inline-grid;
|
|
10727
|
-
grid-auto-flow: column;
|
|
10728
|
-
margin-left: var(--pf-c-hint__actions--MarginLeft);
|
|
10729
|
-
text-align: right;
|
|
10730
|
-
grid-column: 2;
|
|
10731
|
-
grid-row: 1;
|
|
10732
|
-
}
|
|
10733
|
-
|
|
10734
|
-
.pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
|
|
10735
|
-
margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
|
|
10736
|
-
}
|
|
10737
|
-
|
|
10738
|
-
.pf-c-hint__actions + .pf-c-hint__body {
|
|
10739
|
-
grid-column: 1;
|
|
10740
|
-
}
|
|
10741
|
-
|
|
10742
|
-
.pf-c-hint__title {
|
|
10743
|
-
font-size: var(--pf-c-hint__title--FontSize);
|
|
10744
|
-
}
|
|
10745
|
-
|
|
10746
|
-
.pf-c-hint__body {
|
|
10747
|
-
grid-column: 1/-1;
|
|
10748
|
-
font-size: var(--pf-c-hint__body--FontSize);
|
|
10749
|
-
}
|
|
10750
|
-
|
|
10751
|
-
.pf-c-hint__footer {
|
|
10752
|
-
grid-column: 1/-1;
|
|
10753
|
-
}
|
|
10754
|
-
|
|
10755
|
-
.pf-c-hint__footer > :not(:last-child) {
|
|
10756
|
-
margin-right: var(--pf-c-hint__footer--child--MarginRight);
|
|
10757
|
-
}
|
|
10758
|
-
|
|
10759
|
-
:where(.pf-theme-dark) .pf-c-hint {
|
|
10760
|
-
--pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
10761
|
-
--pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
|
|
10762
|
-
}
|
|
10763
|
-
|
|
10764
10764
|
.pf-c-list {
|
|
10765
10765
|
--pf-c-list--PaddingLeft: var(--pf-global--spacer--lg);
|
|
10766
10766
|
--pf-c-list--nested--MarginTop: var(--pf-global--spacer--sm);
|