@patternfly/react-core 4.192.5 → 4.192.6
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 +8 -0
- package/dist/esm/components/Menu/MenuContent.js +1 -1
- package/dist/esm/components/Menu/MenuContent.js.map +1 -1
- package/dist/js/components/Menu/MenuContent.js +1 -1
- package/dist/js/components/Menu/MenuContent.js.map +1 -1
- package/dist/umd/react-core.css +910 -910
- package/dist/umd/react-core.js +1 -1
- package/dist/umd/react-core.min.css +72 -72
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +5 -5
- package/src/components/Menu/MenuContent.tsx +2 -2
- package/src/components/Menu/examples/Menu.md +7 -7
- package/src/demos/ComposableMenu/ComposableMenu.md +88 -0
- package/src/demos/ComposableMenu/examples/ComposableActionsMenu.tsx +122 -0
- package/src/demos/ComposableMenu/examples/ComposableApplicationLauncher.tsx +282 -0
- package/src/demos/ComposableMenu/examples/ComposableContextSelector.tsx +202 -0
- package/src/demos/ComposableMenu/examples/ComposableDrilldownMenu.tsx +246 -0
- package/src/demos/ComposableMenu/examples/ComposableDropdwnVariants.tsx +235 -0
- package/src/demos/ComposableMenu/examples/ComposableFlyout.tsx +103 -0
- package/src/demos/ComposableMenu/examples/ComposableOptionsMenuVariants.tsx +94 -0
- package/src/demos/ComposableMenu/examples/ComposableSimpleDropdown.tsx +70 -0
- package/src/demos/ComposableMenu/examples/ComposableSimpleSelect.tsx +74 -0
- package/src/demos/ComposableMenu/examples/ComposableTreeViewMenu.tsx +240 -0
- package/src/demos/ComposableMenu/examples/avatarImg.svg +18 -0
- package/src/demos/ComposableMenu/examples/pf-logo-small.svg +23 -0
- package/src/demos/ComposableMenu.md +0 -1443
- package/src/demos/composable-menu.css +0 -3
package/dist/umd/react-core.js
CHANGED
|
@@ -14170,7 +14170,7 @@
|
|
|
14170
14170
|
const refCallback = (el, menuId, onGetMenuHeight) => {
|
|
14171
14171
|
if (el) {
|
|
14172
14172
|
onGetMenuHeight && onGetMenuHeight(menuId, el.clientHeight);
|
|
14173
|
-
getHeight && getHeight(el.clientHeight);
|
|
14173
|
+
getHeight && getHeight(el.clientHeight.toString());
|
|
14174
14174
|
}
|
|
14175
14175
|
return ref || menuContentRef;
|
|
14176
14176
|
};
|
|
@@ -15278,6 +15278,78 @@ ul.pf-c-list {
|
|
|
15278
15278
|
background-color: var(--pf-c-progress__indicator--BackgroundColor);
|
|
15279
15279
|
}
|
|
15280
15280
|
|
|
15281
|
+
.pf-c-radio {
|
|
15282
|
+
--pf-c-radio--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);
|
|
15283
|
+
--pf-c-radio__label--disabled--Color: var(--pf-global--disabled-color--100);
|
|
15284
|
+
--pf-c-radio__label--Color: var(--pf-global--Color--100);
|
|
15285
|
+
--pf-c-radio__label--FontWeight: var(--pf-global--FontWeight--normal);
|
|
15286
|
+
--pf-c-radio__label--FontSize: var(--pf-global--FontSize--md);
|
|
15287
|
+
--pf-c-radio__label--LineHeight: var(--pf-global--LineHeight--sm);
|
|
15288
|
+
--pf-c-radio__input--Height: var(--pf-c-radio__label--FontSize);
|
|
15289
|
+
--pf-c-radio__input--MarginTop: calc(((var(--pf-c-radio__label--FontSize) * var(--pf-c-radio__label--LineHeight)) - var(--pf-c-radio__input--Height)) / 2);
|
|
15290
|
+
--pf-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
|
15291
|
+
--pf-c-radio__input--last-child--MarginRight: 0.0625rem;
|
|
15292
|
+
--pf-c-radio__description--FontSize: var(--pf-global--FontSize--sm);
|
|
15293
|
+
--pf-c-radio__description--Color: var(--pf-global--Color--200);
|
|
15294
|
+
--pf-c-radio__body--MarginTop: var(--pf-global--spacer--sm);
|
|
15295
|
+
display: grid;
|
|
15296
|
+
grid-template-columns: auto 1fr;
|
|
15297
|
+
grid-gap: var(--pf-c-radio--GridGap);
|
|
15298
|
+
align-items: start;
|
|
15299
|
+
justify-items: start;
|
|
15300
|
+
}
|
|
15301
|
+
|
|
15302
|
+
.pf-c-radio.pf-m-standalone {
|
|
15303
|
+
--pf-c-radio--GridGap: 0;
|
|
15304
|
+
--pf-c-radio__input--Height: auto;
|
|
15305
|
+
--pf-c-radio__input--MarginTop: 0;
|
|
15306
|
+
display: inline-grid;
|
|
15307
|
+
line-height: 1;
|
|
15308
|
+
}
|
|
15309
|
+
|
|
15310
|
+
.pf-c-radio__label {
|
|
15311
|
+
font-size: var(--pf-c-radio__label--FontSize);
|
|
15312
|
+
font-weight: var(--pf-c-radio__label--FontWeight);
|
|
15313
|
+
line-height: var(--pf-c-radio__label--LineHeight);
|
|
15314
|
+
color: var(--pf-c-radio__label--Color);
|
|
15315
|
+
}
|
|
15316
|
+
|
|
15317
|
+
.pf-c-radio__input {
|
|
15318
|
+
height: var(--pf-c-radio__input--Height);
|
|
15319
|
+
margin-top: var(--pf-c-radio__input--MarginTop);
|
|
15320
|
+
}
|
|
15321
|
+
|
|
15322
|
+
.pf-c-radio__input:first-child {
|
|
15323
|
+
margin-left: var(--pf-c-radio__input--first-child--MarginLeft);
|
|
15324
|
+
}
|
|
15325
|
+
|
|
15326
|
+
.pf-c-radio__input:last-child {
|
|
15327
|
+
margin-right: var(--pf-c-radio__input--last-child--MarginRight);
|
|
15328
|
+
}
|
|
15329
|
+
|
|
15330
|
+
.pf-c-radio__description {
|
|
15331
|
+
grid-column: 2;
|
|
15332
|
+
font-size: var(--pf-c-radio__description--FontSize);
|
|
15333
|
+
color: var(--pf-c-radio__description--Color);
|
|
15334
|
+
}
|
|
15335
|
+
|
|
15336
|
+
.pf-c-radio__body {
|
|
15337
|
+
grid-column: 2;
|
|
15338
|
+
margin-top: var(--pf-c-radio__body--MarginTop);
|
|
15339
|
+
}
|
|
15340
|
+
|
|
15341
|
+
label.pf-c-radio, .pf-c-radio__label,
|
|
15342
|
+
.pf-c-radio__input {
|
|
15343
|
+
cursor: pointer;
|
|
15344
|
+
}
|
|
15345
|
+
|
|
15346
|
+
.pf-c-radio__label:disabled, .pf-c-radio__label.pf-m-disabled,
|
|
15347
|
+
.pf-c-radio__input:disabled,
|
|
15348
|
+
.pf-c-radio__input.pf-m-disabled {
|
|
15349
|
+
--pf-c-radio__label--Color: var(--pf-c-radio__label--disabled--Color);
|
|
15350
|
+
cursor: not-allowed;
|
|
15351
|
+
}
|
|
15352
|
+
|
|
15281
15353
|
.pf-c-progress-stepper {
|
|
15282
15354
|
--pf-c-progress-stepper--GridAutoFlow: column;
|
|
15283
15355
|
--pf-c-progress-stepper--GridTemplateRows: auto 1fr;
|
|
@@ -15541,78 +15613,6 @@ ul.pf-c-list {
|
|
|
15541
15613
|
text-align: var(--pf-c-progress-stepper__step-description--TextAlign);
|
|
15542
15614
|
}
|
|
15543
15615
|
|
|
15544
|
-
.pf-c-radio {
|
|
15545
|
-
--pf-c-radio--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);
|
|
15546
|
-
--pf-c-radio__label--disabled--Color: var(--pf-global--disabled-color--100);
|
|
15547
|
-
--pf-c-radio__label--Color: var(--pf-global--Color--100);
|
|
15548
|
-
--pf-c-radio__label--FontWeight: var(--pf-global--FontWeight--normal);
|
|
15549
|
-
--pf-c-radio__label--FontSize: var(--pf-global--FontSize--md);
|
|
15550
|
-
--pf-c-radio__label--LineHeight: var(--pf-global--LineHeight--sm);
|
|
15551
|
-
--pf-c-radio__input--Height: var(--pf-c-radio__label--FontSize);
|
|
15552
|
-
--pf-c-radio__input--MarginTop: calc(((var(--pf-c-radio__label--FontSize) * var(--pf-c-radio__label--LineHeight)) - var(--pf-c-radio__input--Height)) / 2);
|
|
15553
|
-
--pf-c-radio__input--first-child--MarginLeft: 0.0625rem;
|
|
15554
|
-
--pf-c-radio__input--last-child--MarginRight: 0.0625rem;
|
|
15555
|
-
--pf-c-radio__description--FontSize: var(--pf-global--FontSize--sm);
|
|
15556
|
-
--pf-c-radio__description--Color: var(--pf-global--Color--200);
|
|
15557
|
-
--pf-c-radio__body--MarginTop: var(--pf-global--spacer--sm);
|
|
15558
|
-
display: grid;
|
|
15559
|
-
grid-template-columns: auto 1fr;
|
|
15560
|
-
grid-gap: var(--pf-c-radio--GridGap);
|
|
15561
|
-
align-items: start;
|
|
15562
|
-
justify-items: start;
|
|
15563
|
-
}
|
|
15564
|
-
|
|
15565
|
-
.pf-c-radio.pf-m-standalone {
|
|
15566
|
-
--pf-c-radio--GridGap: 0;
|
|
15567
|
-
--pf-c-radio__input--Height: auto;
|
|
15568
|
-
--pf-c-radio__input--MarginTop: 0;
|
|
15569
|
-
display: inline-grid;
|
|
15570
|
-
line-height: 1;
|
|
15571
|
-
}
|
|
15572
|
-
|
|
15573
|
-
.pf-c-radio__label {
|
|
15574
|
-
font-size: var(--pf-c-radio__label--FontSize);
|
|
15575
|
-
font-weight: var(--pf-c-radio__label--FontWeight);
|
|
15576
|
-
line-height: var(--pf-c-radio__label--LineHeight);
|
|
15577
|
-
color: var(--pf-c-radio__label--Color);
|
|
15578
|
-
}
|
|
15579
|
-
|
|
15580
|
-
.pf-c-radio__input {
|
|
15581
|
-
height: var(--pf-c-radio__input--Height);
|
|
15582
|
-
margin-top: var(--pf-c-radio__input--MarginTop);
|
|
15583
|
-
}
|
|
15584
|
-
|
|
15585
|
-
.pf-c-radio__input:first-child {
|
|
15586
|
-
margin-left: var(--pf-c-radio__input--first-child--MarginLeft);
|
|
15587
|
-
}
|
|
15588
|
-
|
|
15589
|
-
.pf-c-radio__input:last-child {
|
|
15590
|
-
margin-right: var(--pf-c-radio__input--last-child--MarginRight);
|
|
15591
|
-
}
|
|
15592
|
-
|
|
15593
|
-
.pf-c-radio__description {
|
|
15594
|
-
grid-column: 2;
|
|
15595
|
-
font-size: var(--pf-c-radio__description--FontSize);
|
|
15596
|
-
color: var(--pf-c-radio__description--Color);
|
|
15597
|
-
}
|
|
15598
|
-
|
|
15599
|
-
.pf-c-radio__body {
|
|
15600
|
-
grid-column: 2;
|
|
15601
|
-
margin-top: var(--pf-c-radio__body--MarginTop);
|
|
15602
|
-
}
|
|
15603
|
-
|
|
15604
|
-
label.pf-c-radio, .pf-c-radio__label,
|
|
15605
|
-
.pf-c-radio__input {
|
|
15606
|
-
cursor: pointer;
|
|
15607
|
-
}
|
|
15608
|
-
|
|
15609
|
-
.pf-c-radio__label:disabled, .pf-c-radio__label.pf-m-disabled,
|
|
15610
|
-
.pf-c-radio__input:disabled,
|
|
15611
|
-
.pf-c-radio__input.pf-m-disabled {
|
|
15612
|
-
--pf-c-radio__label--Color: var(--pf-c-radio__label--disabled--Color);
|
|
15613
|
-
cursor: not-allowed;
|
|
15614
|
-
}
|
|
15615
|
-
|
|
15616
15616
|
.pf-c-search-input {
|
|
15617
15617
|
--pf-c-search-input__text--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
15618
15618
|
--pf-c-search-input__text--before--BorderColor: var(--pf-global--BorderColor--300);
|