@patternfly/react-core 4.183.0 → 4.183.4
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 +35 -0
- package/dist/esm/components/Slider/Slider.d.ts +1 -0
- package/dist/esm/components/Slider/Slider.d.ts.map +1 -1
- package/dist/esm/components/Slider/Slider.js +9 -5
- package/dist/esm/components/Slider/Slider.js.map +1 -1
- package/dist/js/components/Slider/Slider.d.ts +1 -0
- package/dist/js/components/Slider/Slider.d.ts.map +1 -1
- package/dist/js/components/Slider/Slider.js +9 -5
- package/dist/js/components/Slider/Slider.js.map +1 -1
- package/dist/umd/react-core.css +266 -218
- package/dist/umd/react-core.js +11 -5
- package/dist/umd/react-core.min.css +48 -0
- package/dist/umd/react-core.min.js +2 -2
- package/package.json +6 -6
- package/src/components/Slider/Slider.tsx +35 -19
- package/src/components/Slider/_tests_/Slider.test.tsx +6 -1
- package/src/components/Slider/_tests_/__snapshots__/Slider.test.tsx.snap +66 -0
- package/src/components/Slider/examples/Slider.md +15 -4
- package/src/components/Tabs/__tests__/Tabs.test.tsx +3 -3
- package/src/components/Tabs/__tests__/__snapshots__/Tabs.test.tsx.snap +3 -3
- package/src/demos/Tabs.md +10 -1
- package/src/demos/examples/Tabs/TabsAndTable.tsx +432 -0
|
@@ -7506,6 +7506,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
7506
7506
|
--pf-c-expandable-section__toggle--active--Color: var(--pf-global--link--Color--hover);
|
|
7507
7507
|
--pf-c-expandable-section__toggle--focus--Color: var(--pf-global--link--Color--hover);
|
|
7508
7508
|
--pf-c-expandable-section__toggle--m-expanded--Color: var(--pf-global--link--Color--hover);
|
|
7509
|
+
--pf-c-expandable-section__toggle-icon--MinWidth: 1em;
|
|
7509
7510
|
--pf-c-expandable-section__toggle-icon--Color: var(--pf-global--Color--100);
|
|
7510
7511
|
--pf-c-expandable-section__toggle-icon--Transition: .2s ease-in 0s;
|
|
7511
7512
|
--pf-c-expandable-section__toggle-icon--Rotate: 0;
|
|
@@ -7528,6 +7529,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
7528
7529
|
--pf-c-expandable-section--m-display-lg--after--BackgroundColor: transparent;
|
|
7529
7530
|
--pf-c-expandable-section--m-display-lg--after--Width: var(--pf-global--BorderWidth--lg);
|
|
7530
7531
|
--pf-c-expandable-section--m-display-lg--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
7532
|
+
--pf-c-expandable-section--m-indented__content--PaddingLeft: calc(var(--pf-c-expandable-section__toggle-text--MarginLeft) + var(--pf-c-expandable-section__toggle-icon--MinWidth));
|
|
7531
7533
|
}
|
|
7532
7534
|
|
|
7533
7535
|
.pf-c-expandable-section.pf-m-expanded {
|
|
@@ -7568,6 +7570,10 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
7568
7570
|
background-color: var(--pf-c-expandable-section--m-display-lg--after--BackgroundColor);
|
|
7569
7571
|
}
|
|
7570
7572
|
|
|
7573
|
+
.pf-c-expandable-section.pf-m-indented {
|
|
7574
|
+
--pf-c-expandable-section__content--PaddingLeft: var(--pf-c-expandable-section--m-indented__content--PaddingLeft);
|
|
7575
|
+
}
|
|
7576
|
+
|
|
7571
7577
|
.pf-c-expandable-section__toggle {
|
|
7572
7578
|
display: flex;
|
|
7573
7579
|
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);
|
|
@@ -7588,6 +7594,7 @@ label.pf-c-check, .pf-c-check__label,
|
|
|
7588
7594
|
}
|
|
7589
7595
|
|
|
7590
7596
|
.pf-c-expandable-section__toggle-icon {
|
|
7597
|
+
min-width: var(--pf-c-expandable-section__toggle-icon--MinWidth);
|
|
7591
7598
|
color: var(--pf-c-expandable-section__toggle-icon--Color);
|
|
7592
7599
|
transition: var(--pf-c-expandable-section__toggle-icon--Transition);
|
|
7593
7600
|
transform: rotate(var(--pf-c-expandable-section__toggle-icon--Rotate));
|
|
@@ -9202,6 +9209,7 @@ label.pf-c-input-group__text {
|
|
|
9202
9209
|
--pf-c-label--m-compact--PaddingBottom: 0;
|
|
9203
9210
|
--pf-c-label--m-compact--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9204
9211
|
--pf-c-label--m-compact--FontSize: var(--pf-global--FontSize--xs);
|
|
9212
|
+
--pf-c-label--m-compact--m-editable--TextDecorationOffset: 0.0625rem;
|
|
9205
9213
|
--pf-c-label__content--Color: var(--pf-global--Color--100);
|
|
9206
9214
|
--pf-c-label--m-outline__content--Color: var(--pf-global--Color--100);
|
|
9207
9215
|
--pf-c-label__text--MaxWidth: 16ch;
|
|
@@ -9216,6 +9224,18 @@ label.pf-c-input-group__text {
|
|
|
9216
9224
|
--pf-c-label__c-button--PaddingRight: var(--pf-global--spacer--sm);
|
|
9217
9225
|
--pf-c-label__c-button--PaddingBottom: var(--pf-global--spacer--xs);
|
|
9218
9226
|
--pf-c-label__c-button--PaddingLeft: var(--pf-global--spacer--sm);
|
|
9227
|
+
--pf-c-label__editable-text--MaxWidth: 16ch;
|
|
9228
|
+
--pf-c-label__editable-text--BorderWidth: 0;
|
|
9229
|
+
--pf-c-label--m-editable--Cursor: pointer;
|
|
9230
|
+
--pf-c-label--m-editable--TextDecoration: underline;
|
|
9231
|
+
--pf-c-label--m-editable--TextDecorationStyle: dashed;
|
|
9232
|
+
--pf-c-label--m-editable--TextDecorationThickness: var(--pf-global--BorderWidth--sm);
|
|
9233
|
+
--pf-c-label--m-editable--TextDecorationOffset: 0.25rem;
|
|
9234
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-global--BorderColor--200);
|
|
9235
|
+
--pf-c-label--m-editable--hover--TextDecorationColor: var(--pf-global--Color--100);
|
|
9236
|
+
--pf-c-label--m-editable--focus--TextDecorationColor: var(--pf-global--Color--100);
|
|
9237
|
+
--pf-c-label--m-editable--m-editable-active--Cursor: auto;
|
|
9238
|
+
--pf-c-label--m-editable--m-editable-active--TextDecoration: none;
|
|
9219
9239
|
--pf-c-label--m-editable--m-editable-active--BackgroundColor: transparent;
|
|
9220
9240
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth: 0;
|
|
9221
9241
|
--pf-c-label--m-editable--m-editable-active__content--before--BorderColor: transparent;
|
|
@@ -9235,6 +9255,7 @@ label.pf-c-input-group__text {
|
|
|
9235
9255
|
--pf-c-label--PaddingBottom: var(--pf-c-label--m-compact--PaddingBottom);
|
|
9236
9256
|
--pf-c-label--PaddingLeft: var(--pf-c-label--m-compact--PaddingLeft);
|
|
9237
9257
|
--pf-c-label--FontSize: var(--pf-c-label--m-compact--FontSize);
|
|
9258
|
+
--pf-c-label--m-editable--TextDecorationOffset: var(--pf-c-label--m-compact--m-editable--TextDecorationOffset);
|
|
9238
9259
|
}
|
|
9239
9260
|
|
|
9240
9261
|
.pf-c-label.pf-m-blue {
|
|
@@ -9334,7 +9355,26 @@ label.pf-c-input-group__text {
|
|
|
9334
9355
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-outline__content--link--focus--before--BorderColor);
|
|
9335
9356
|
}
|
|
9336
9357
|
|
|
9358
|
+
.pf-c-label.pf-m-editable {
|
|
9359
|
+
text-decoration: var(--pf-c-label--m-editable--TextDecoration);
|
|
9360
|
+
cursor: var(--pf-c-label--m-editable--Cursor);
|
|
9361
|
+
text-decoration-style: var(--pf-c-label--m-editable--TextDecorationStyle);
|
|
9362
|
+
text-decoration-thickness: var(--pf-c-label--m-editable--TextDecorationThickness);
|
|
9363
|
+
text-underline-offset: var(--pf-c-label--m-editable--TextDecorationOffset);
|
|
9364
|
+
text-decoration-color: var(--pf-c-label--m-editable--TextDecorationColor);
|
|
9365
|
+
}
|
|
9366
|
+
|
|
9367
|
+
.pf-c-label.pf-m-editable:hover {
|
|
9368
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--hover--TextDecorationColor);
|
|
9369
|
+
}
|
|
9370
|
+
|
|
9371
|
+
.pf-c-label.pf-m-editable:focus {
|
|
9372
|
+
--pf-c-label--m-editable--TextDecorationColor: var(--pf-c-label--m-editable--focus--TextDecorationColor);
|
|
9373
|
+
}
|
|
9374
|
+
|
|
9337
9375
|
.pf-c-label.pf-m-editable-active {
|
|
9376
|
+
--pf-c-label--m-editable--Cursor: var(--pf-c-label--m-editable--m-editable-active--Cursor);
|
|
9377
|
+
--pf-c-label--m-editable--TextDecoration: var(--pf-c-label--m-editable--m-editable-active--TextDecoration);
|
|
9338
9378
|
--pf-c-label--BackgroundColor: var(--pf-c-label--m-editable--m-editable-active--BackgroundColor);
|
|
9339
9379
|
--pf-c-label__content--before--BorderWidth: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderWidth);
|
|
9340
9380
|
--pf-c-label__content--before--BorderColor: var(--pf-c-label--m-editable--m-editable-active__content--before--BorderColor);
|
|
@@ -9344,6 +9384,14 @@ label.pf-c-input-group__text {
|
|
|
9344
9384
|
visibility: hidden;
|
|
9345
9385
|
}
|
|
9346
9386
|
|
|
9387
|
+
.pf-c-label .pf-c-label__editable-text {
|
|
9388
|
+
overflow: hidden;
|
|
9389
|
+
text-overflow: ellipsis;
|
|
9390
|
+
white-space: nowrap;
|
|
9391
|
+
max-width: var(--pf-c-label__editable-text--MaxWidth);
|
|
9392
|
+
border-width: var(--pf-c-label__editable-text--BorderWidth);
|
|
9393
|
+
}
|
|
9394
|
+
|
|
9347
9395
|
.pf-c-label .pf-c-button {
|
|
9348
9396
|
--pf-c-button--FontSize: var(--pf-c-label__c-button--FontSize);
|
|
9349
9397
|
--pf-c-button--PaddingTop: var(--pf-c-label__c-button--PaddingTop);
|