@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
|
@@ -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);
|
|
@@ -17628,6 +17635,159 @@ label.pf-c-radio, .pf-c-radio__label,
|
|
|
17628
17635
|
margin-left: var(--pf-c-slider__main--actions--MarginLeft);
|
|
17629
17636
|
}
|
|
17630
17637
|
|
|
17638
|
+
.pf-c-switch {
|
|
17639
|
+
--pf-c-switch--FontSize: var(--pf-global--FontSize--md);
|
|
17640
|
+
--pf-c-switch__label--PaddingLeft: var(--pf-global--spacer--md);
|
|
17641
|
+
--pf-c-switch--ColumnGap: var(--pf-c-switch__label--PaddingLeft);
|
|
17642
|
+
--pf-c-switch__toggle-icon--FontSize: calc(var(--pf-c-switch--FontSize) * .625);
|
|
17643
|
+
--pf-c-switch__toggle-icon--Color: var(--pf-global--Color--light-100);
|
|
17644
|
+
--pf-c-switch__toggle-icon--Left: calc(var(--pf-c-switch--FontSize) * .4);
|
|
17645
|
+
--pf-c-switch__toggle-icon--Offset: 0.125rem;
|
|
17646
|
+
--pf-c-switch--LineHeight: var(--pf-global--LineHeight--md);
|
|
17647
|
+
--pf-c-switch--Height: auto;
|
|
17648
|
+
--pf-c-switch__input--checked__toggle--BackgroundColor: var(--pf-global--primary-color--100);
|
|
17649
|
+
--pf-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-c-switch__toggle-icon--Offset));
|
|
17650
|
+
--pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
|
|
17651
|
+
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
|
|
17652
|
+
--pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
|
|
17653
|
+
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
17654
|
+
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
|
|
17655
|
+
--pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
|
|
17656
|
+
--pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
|
|
17657
|
+
--pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
|
|
17658
|
+
--pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
|
|
17659
|
+
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
|
|
17660
|
+
--pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
|
|
17661
|
+
--pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
|
|
17662
|
+
--pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
|
|
17663
|
+
--pf-c-switch__toggle--before--Top: calc((var(--pf-c-switch__toggle--Height) - var(--pf-c-switch__toggle--before--Height)) / 2);
|
|
17664
|
+
--pf-c-switch__toggle--before--Left: var(--pf-c-switch__toggle--before--Top);
|
|
17665
|
+
--pf-c-switch__toggle--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
17666
|
+
--pf-c-switch__toggle--before--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
17667
|
+
--pf-c-switch__toggle--before--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
17668
|
+
--pf-c-switch__toggle--before--Transition: transform .25s ease 0s;
|
|
17669
|
+
--pf-c-switch__toggle--Width: calc(var(--pf-c-switch__toggle--Height) + var(--pf-c-switch__toggle-icon--Offset) + var(--pf-c-switch__toggle--before--Width));
|
|
17670
|
+
--pf-c-switch__label--Color: var(--pf-global--Color--dark-100);
|
|
17671
|
+
position: relative;
|
|
17672
|
+
display: inline-grid;
|
|
17673
|
+
grid-template-columns: auto;
|
|
17674
|
+
grid-auto-columns: 1fr;
|
|
17675
|
+
column-gap: var(--pf-c-switch--ColumnGap);
|
|
17676
|
+
height: var(--pf-c-switch--Height);
|
|
17677
|
+
font-size: var(--pf-c-switch--FontSize);
|
|
17678
|
+
line-height: var(--pf-c-switch--LineHeight);
|
|
17679
|
+
vertical-align: middle;
|
|
17680
|
+
cursor: pointer;
|
|
17681
|
+
}
|
|
17682
|
+
|
|
17683
|
+
.pf-c-switch.pf-m-reverse .pf-c-switch__label,
|
|
17684
|
+
.pf-c-switch.pf-m-reverse .pf-c-switch__toggle {
|
|
17685
|
+
grid-row: 1;
|
|
17686
|
+
}
|
|
17687
|
+
|
|
17688
|
+
.pf-c-switch.pf-m-reverse .pf-c-switch__label {
|
|
17689
|
+
grid-column: 1;
|
|
17690
|
+
}
|
|
17691
|
+
|
|
17692
|
+
.pf-c-switch__input {
|
|
17693
|
+
position: absolute;
|
|
17694
|
+
cursor: pointer;
|
|
17695
|
+
opacity: 0;
|
|
17696
|
+
}
|
|
17697
|
+
|
|
17698
|
+
.pf-c-switch__input:focus ~ .pf-c-switch__toggle {
|
|
17699
|
+
outline: var(--pf-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-c-switch__input--focus__toggle--OutlineColor);
|
|
17700
|
+
outline-offset: var(--pf-c-switch__input--focus__toggle--OutlineOffset);
|
|
17701
|
+
}
|
|
17702
|
+
|
|
17703
|
+
.pf-c-switch__input:checked ~ .pf-c-switch__label {
|
|
17704
|
+
color: var(--pf-c-switch__input--checked__label--Color);
|
|
17705
|
+
}
|
|
17706
|
+
|
|
17707
|
+
.pf-c-switch__input:checked ~ .pf-c-switch__toggle {
|
|
17708
|
+
background-color: var(--pf-c-switch__input--checked__toggle--BackgroundColor);
|
|
17709
|
+
}
|
|
17710
|
+
|
|
17711
|
+
.pf-c-switch__input:checked ~ .pf-c-switch__toggle::before {
|
|
17712
|
+
transform: translateX(var(--pf-c-switch__input--checked__toggle--before--TranslateX));
|
|
17713
|
+
}
|
|
17714
|
+
|
|
17715
|
+
.pf-c-switch__input:checked ~ .pf-m-off {
|
|
17716
|
+
display: none;
|
|
17717
|
+
}
|
|
17718
|
+
|
|
17719
|
+
.pf-c-switch__input:not(:checked) ~ .pf-c-switch__label {
|
|
17720
|
+
color: var(--pf-c-switch__input--not-checked__label--Color);
|
|
17721
|
+
}
|
|
17722
|
+
|
|
17723
|
+
.pf-c-switch__input:not(:checked) ~ .pf-c-switch__toggle .pf-c-switch__toggle-icon {
|
|
17724
|
+
display: none;
|
|
17725
|
+
visibility: hidden;
|
|
17726
|
+
}
|
|
17727
|
+
|
|
17728
|
+
.pf-c-switch__input:not(:checked) ~ .pf-m-on {
|
|
17729
|
+
display: none;
|
|
17730
|
+
}
|
|
17731
|
+
|
|
17732
|
+
.pf-c-switch__input:disabled {
|
|
17733
|
+
cursor: not-allowed;
|
|
17734
|
+
}
|
|
17735
|
+
|
|
17736
|
+
.pf-c-switch__input:disabled ~ .pf-c-switch__label {
|
|
17737
|
+
color: var(--pf-c-switch__input--disabled__label--Color);
|
|
17738
|
+
cursor: not-allowed;
|
|
17739
|
+
}
|
|
17740
|
+
|
|
17741
|
+
.pf-c-switch__input:disabled ~ .pf-c-switch__toggle {
|
|
17742
|
+
cursor: not-allowed;
|
|
17743
|
+
background-color: var(--pf-c-switch__input--disabled__toggle--BackgroundColor);
|
|
17744
|
+
}
|
|
17745
|
+
|
|
17746
|
+
.pf-c-switch__input:disabled ~ .pf-c-switch__toggle::before {
|
|
17747
|
+
background-color: var(--pf-c-switch__input--disabled__toggle--before--BackgroundColor);
|
|
17748
|
+
}
|
|
17749
|
+
|
|
17750
|
+
.pf-c-switch__toggle {
|
|
17751
|
+
position: relative;
|
|
17752
|
+
display: inline-block;
|
|
17753
|
+
width: var(--pf-c-switch__toggle--Width);
|
|
17754
|
+
height: var(--pf-c-switch__toggle--Height);
|
|
17755
|
+
background-color: var(--pf-c-switch__toggle--BackgroundColor);
|
|
17756
|
+
border-radius: var(--pf-c-switch__toggle--BorderRadius);
|
|
17757
|
+
}
|
|
17758
|
+
|
|
17759
|
+
.pf-c-switch__toggle::before {
|
|
17760
|
+
position: absolute;
|
|
17761
|
+
top: var(--pf-c-switch__toggle--before--Top);
|
|
17762
|
+
left: var(--pf-c-switch__toggle--before--Left);
|
|
17763
|
+
display: block;
|
|
17764
|
+
width: var(--pf-c-switch__toggle--before--Width);
|
|
17765
|
+
height: var(--pf-c-switch__toggle--before--Height);
|
|
17766
|
+
content: "";
|
|
17767
|
+
background-color: var(--pf-c-switch__toggle--before--BackgroundColor);
|
|
17768
|
+
border-radius: var(--pf-c-switch__toggle--before--BorderRadius);
|
|
17769
|
+
box-shadow: var(--pf-c-switch__toggle--before--BoxShadow);
|
|
17770
|
+
transition: var(--pf-c-switch__toggle--before--Transition);
|
|
17771
|
+
}
|
|
17772
|
+
|
|
17773
|
+
.pf-c-switch__toggle-icon {
|
|
17774
|
+
position: absolute;
|
|
17775
|
+
top: 0;
|
|
17776
|
+
bottom: 0;
|
|
17777
|
+
left: var(--pf-c-switch__toggle-icon--Left);
|
|
17778
|
+
display: flex;
|
|
17779
|
+
align-items: center;
|
|
17780
|
+
font-size: var(--pf-c-switch__toggle-icon--FontSize);
|
|
17781
|
+
color: var(--pf-c-switch__toggle-icon--Color);
|
|
17782
|
+
}
|
|
17783
|
+
|
|
17784
|
+
.pf-c-switch__label {
|
|
17785
|
+
display: inline-block;
|
|
17786
|
+
grid-column: 2;
|
|
17787
|
+
color: var(--pf-c-switch__label--Color);
|
|
17788
|
+
vertical-align: top;
|
|
17789
|
+
}
|
|
17790
|
+
|
|
17631
17791
|
.pf-c-spinner {
|
|
17632
17792
|
--pf-c-spinner--diameter: var(--pf-global--icon--FontSize--xl);
|
|
17633
17793
|
--pf-c-spinner--Width: var(--pf-c-spinner--diameter);
|
|
@@ -17857,159 +18017,6 @@ svg.pf-c-spinner.pf-m-xl {
|
|
|
17857
18017
|
transform: rotate(720deg);
|
|
17858
18018
|
}
|
|
17859
18019
|
}
|
|
17860
|
-
.pf-c-switch {
|
|
17861
|
-
--pf-c-switch--FontSize: var(--pf-global--FontSize--md);
|
|
17862
|
-
--pf-c-switch__label--PaddingLeft: var(--pf-global--spacer--md);
|
|
17863
|
-
--pf-c-switch--ColumnGap: var(--pf-c-switch__label--PaddingLeft);
|
|
17864
|
-
--pf-c-switch__toggle-icon--FontSize: calc(var(--pf-c-switch--FontSize) * .625);
|
|
17865
|
-
--pf-c-switch__toggle-icon--Color: var(--pf-global--Color--light-100);
|
|
17866
|
-
--pf-c-switch__toggle-icon--Left: calc(var(--pf-c-switch--FontSize) * .4);
|
|
17867
|
-
--pf-c-switch__toggle-icon--Offset: 0.125rem;
|
|
17868
|
-
--pf-c-switch--LineHeight: var(--pf-global--LineHeight--md);
|
|
17869
|
-
--pf-c-switch--Height: auto;
|
|
17870
|
-
--pf-c-switch__input--checked__toggle--BackgroundColor: var(--pf-global--primary-color--100);
|
|
17871
|
-
--pf-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-c-switch__toggle-icon--Offset));
|
|
17872
|
-
--pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
|
|
17873
|
-
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
|
|
17874
|
-
--pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
|
|
17875
|
-
--pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
17876
|
-
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
|
|
17877
|
-
--pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
|
|
17878
|
-
--pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
|
|
17879
|
-
--pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
|
|
17880
|
-
--pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
|
|
17881
|
-
--pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
|
|
17882
|
-
--pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
|
|
17883
|
-
--pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
|
|
17884
|
-
--pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
|
|
17885
|
-
--pf-c-switch__toggle--before--Top: calc((var(--pf-c-switch__toggle--Height) - var(--pf-c-switch__toggle--before--Height)) / 2);
|
|
17886
|
-
--pf-c-switch__toggle--before--Left: var(--pf-c-switch__toggle--before--Top);
|
|
17887
|
-
--pf-c-switch__toggle--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
17888
|
-
--pf-c-switch__toggle--before--BorderRadius: var(--pf-global--BorderRadius--lg);
|
|
17889
|
-
--pf-c-switch__toggle--before--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
17890
|
-
--pf-c-switch__toggle--before--Transition: transform .25s ease 0s;
|
|
17891
|
-
--pf-c-switch__toggle--Width: calc(var(--pf-c-switch__toggle--Height) + var(--pf-c-switch__toggle-icon--Offset) + var(--pf-c-switch__toggle--before--Width));
|
|
17892
|
-
--pf-c-switch__label--Color: var(--pf-global--Color--dark-100);
|
|
17893
|
-
position: relative;
|
|
17894
|
-
display: inline-grid;
|
|
17895
|
-
grid-template-columns: auto;
|
|
17896
|
-
grid-auto-columns: 1fr;
|
|
17897
|
-
column-gap: var(--pf-c-switch--ColumnGap);
|
|
17898
|
-
height: var(--pf-c-switch--Height);
|
|
17899
|
-
font-size: var(--pf-c-switch--FontSize);
|
|
17900
|
-
line-height: var(--pf-c-switch--LineHeight);
|
|
17901
|
-
vertical-align: middle;
|
|
17902
|
-
cursor: pointer;
|
|
17903
|
-
}
|
|
17904
|
-
|
|
17905
|
-
.pf-c-switch.pf-m-reverse .pf-c-switch__label,
|
|
17906
|
-
.pf-c-switch.pf-m-reverse .pf-c-switch__toggle {
|
|
17907
|
-
grid-row: 1;
|
|
17908
|
-
}
|
|
17909
|
-
|
|
17910
|
-
.pf-c-switch.pf-m-reverse .pf-c-switch__label {
|
|
17911
|
-
grid-column: 1;
|
|
17912
|
-
}
|
|
17913
|
-
|
|
17914
|
-
.pf-c-switch__input {
|
|
17915
|
-
position: absolute;
|
|
17916
|
-
cursor: pointer;
|
|
17917
|
-
opacity: 0;
|
|
17918
|
-
}
|
|
17919
|
-
|
|
17920
|
-
.pf-c-switch__input:focus ~ .pf-c-switch__toggle {
|
|
17921
|
-
outline: var(--pf-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-c-switch__input--focus__toggle--OutlineColor);
|
|
17922
|
-
outline-offset: var(--pf-c-switch__input--focus__toggle--OutlineOffset);
|
|
17923
|
-
}
|
|
17924
|
-
|
|
17925
|
-
.pf-c-switch__input:checked ~ .pf-c-switch__label {
|
|
17926
|
-
color: var(--pf-c-switch__input--checked__label--Color);
|
|
17927
|
-
}
|
|
17928
|
-
|
|
17929
|
-
.pf-c-switch__input:checked ~ .pf-c-switch__toggle {
|
|
17930
|
-
background-color: var(--pf-c-switch__input--checked__toggle--BackgroundColor);
|
|
17931
|
-
}
|
|
17932
|
-
|
|
17933
|
-
.pf-c-switch__input:checked ~ .pf-c-switch__toggle::before {
|
|
17934
|
-
transform: translateX(var(--pf-c-switch__input--checked__toggle--before--TranslateX));
|
|
17935
|
-
}
|
|
17936
|
-
|
|
17937
|
-
.pf-c-switch__input:checked ~ .pf-m-off {
|
|
17938
|
-
display: none;
|
|
17939
|
-
}
|
|
17940
|
-
|
|
17941
|
-
.pf-c-switch__input:not(:checked) ~ .pf-c-switch__label {
|
|
17942
|
-
color: var(--pf-c-switch__input--not-checked__label--Color);
|
|
17943
|
-
}
|
|
17944
|
-
|
|
17945
|
-
.pf-c-switch__input:not(:checked) ~ .pf-c-switch__toggle .pf-c-switch__toggle-icon {
|
|
17946
|
-
display: none;
|
|
17947
|
-
visibility: hidden;
|
|
17948
|
-
}
|
|
17949
|
-
|
|
17950
|
-
.pf-c-switch__input:not(:checked) ~ .pf-m-on {
|
|
17951
|
-
display: none;
|
|
17952
|
-
}
|
|
17953
|
-
|
|
17954
|
-
.pf-c-switch__input:disabled {
|
|
17955
|
-
cursor: not-allowed;
|
|
17956
|
-
}
|
|
17957
|
-
|
|
17958
|
-
.pf-c-switch__input:disabled ~ .pf-c-switch__label {
|
|
17959
|
-
color: var(--pf-c-switch__input--disabled__label--Color);
|
|
17960
|
-
cursor: not-allowed;
|
|
17961
|
-
}
|
|
17962
|
-
|
|
17963
|
-
.pf-c-switch__input:disabled ~ .pf-c-switch__toggle {
|
|
17964
|
-
cursor: not-allowed;
|
|
17965
|
-
background-color: var(--pf-c-switch__input--disabled__toggle--BackgroundColor);
|
|
17966
|
-
}
|
|
17967
|
-
|
|
17968
|
-
.pf-c-switch__input:disabled ~ .pf-c-switch__toggle::before {
|
|
17969
|
-
background-color: var(--pf-c-switch__input--disabled__toggle--before--BackgroundColor);
|
|
17970
|
-
}
|
|
17971
|
-
|
|
17972
|
-
.pf-c-switch__toggle {
|
|
17973
|
-
position: relative;
|
|
17974
|
-
display: inline-block;
|
|
17975
|
-
width: var(--pf-c-switch__toggle--Width);
|
|
17976
|
-
height: var(--pf-c-switch__toggle--Height);
|
|
17977
|
-
background-color: var(--pf-c-switch__toggle--BackgroundColor);
|
|
17978
|
-
border-radius: var(--pf-c-switch__toggle--BorderRadius);
|
|
17979
|
-
}
|
|
17980
|
-
|
|
17981
|
-
.pf-c-switch__toggle::before {
|
|
17982
|
-
position: absolute;
|
|
17983
|
-
top: var(--pf-c-switch__toggle--before--Top);
|
|
17984
|
-
left: var(--pf-c-switch__toggle--before--Left);
|
|
17985
|
-
display: block;
|
|
17986
|
-
width: var(--pf-c-switch__toggle--before--Width);
|
|
17987
|
-
height: var(--pf-c-switch__toggle--before--Height);
|
|
17988
|
-
content: "";
|
|
17989
|
-
background-color: var(--pf-c-switch__toggle--before--BackgroundColor);
|
|
17990
|
-
border-radius: var(--pf-c-switch__toggle--before--BorderRadius);
|
|
17991
|
-
box-shadow: var(--pf-c-switch__toggle--before--BoxShadow);
|
|
17992
|
-
transition: var(--pf-c-switch__toggle--before--Transition);
|
|
17993
|
-
}
|
|
17994
|
-
|
|
17995
|
-
.pf-c-switch__toggle-icon {
|
|
17996
|
-
position: absolute;
|
|
17997
|
-
top: 0;
|
|
17998
|
-
bottom: 0;
|
|
17999
|
-
left: var(--pf-c-switch__toggle-icon--Left);
|
|
18000
|
-
display: flex;
|
|
18001
|
-
align-items: center;
|
|
18002
|
-
font-size: var(--pf-c-switch__toggle-icon--FontSize);
|
|
18003
|
-
color: var(--pf-c-switch__toggle-icon--Color);
|
|
18004
|
-
}
|
|
18005
|
-
|
|
18006
|
-
.pf-c-switch__label {
|
|
18007
|
-
display: inline-block;
|
|
18008
|
-
grid-column: 2;
|
|
18009
|
-
color: var(--pf-c-switch__label--Color);
|
|
18010
|
-
vertical-align: top;
|
|
18011
|
-
}
|
|
18012
|
-
|
|
18013
18020
|
.pf-c-tabs {
|
|
18014
18021
|
--pf-c-tabs--inset: 0;
|
|
18015
18022
|
--pf-c-tabs--Width: auto;
|
|
@@ -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;
|