@patternfly/react-table 4.111.30 → 4.111.31

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 CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.111.31](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@4.111.30...@patternfly/react-table@4.111.31) (2022-10-26)
7
+
8
+ **Note:** Version bump only for package @patternfly/react-table
9
+
10
+
11
+
12
+
13
+
6
14
  ## 4.111.30 (2022-10-25)
7
15
 
8
16
  **Note:** Version bump only for package @patternfly/react-table
@@ -6194,8 +6194,12 @@ label.pf-c-check, .pf-c-check__label,
6194
6194
  }
6195
6195
 
6196
6196
  .pf-c-dropdown__menu.pf-m-static {
6197
+ --pf-c-dropdown--m-top__menu--TranslateY: 0;
6197
6198
  position: static;
6198
6199
  top: auto;
6200
+ right: auto;
6201
+ bottom: auto;
6202
+ left: auto;
6199
6203
  z-index: auto;
6200
6204
  min-width: min-content;
6201
6205
  }
@@ -8161,6 +8165,17 @@ svg.pf-c-spinner.pf-m-xl {
8161
8165
  transform: translateY(var(--pf-c-app-launcher--m-top__menu--TranslateY));
8162
8166
  }
8163
8167
 
8168
+ .pf-c-app-launcher__menu.pf-m-static {
8169
+ --pf-c-app-launcher--m-top__menu--TranslateY: 0;
8170
+ position: static;
8171
+ top: auto;
8172
+ right: auto;
8173
+ bottom: auto;
8174
+ left: auto;
8175
+ z-index: auto;
8176
+ min-width: min-content;
8177
+ }
8178
+
8164
8179
  .pf-c-app-launcher__menu-search {
8165
8180
  padding: var(--pf-c-app-launcher__menu-search--PaddingTop) var(--pf-c-app-launcher__menu-search--PaddingRight) var(--pf-c-app-launcher__menu-search--PaddingBottom) var(--pf-c-app-launcher__menu-search--PaddingLeft);
8166
8181
  margin-bottom: var(--pf-c-app-launcher__menu-search--MarginBottom);
@@ -8760,70 +8775,6 @@ svg.pf-c-spinner.pf-m-xl {
8760
8775
  display: block;
8761
8776
  }
8762
8777
 
8763
- .pf-c-brand {
8764
- --pf-c-brand--Width: auto;
8765
- --pf-c-brand--Height: auto;
8766
- width: var(--pf-c-brand--Width--base);
8767
- height: var(--pf-c-brand--Height--base);
8768
- --pf-c-brand--Width--base: var(--pf-c-brand--Width);
8769
- --pf-c-brand--Height--base: var(--pf-c-brand--Height);
8770
- }
8771
-
8772
- @media (min-width: 576px) {
8773
- .pf-c-brand {
8774
- --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width));
8775
- }
8776
- }
8777
- @media (min-width: 768px) {
8778
- .pf-c-brand {
8779
- --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)));
8780
- }
8781
- }
8782
- @media (min-width: 992px) {
8783
- .pf-c-brand {
8784
- --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))));
8785
- }
8786
- }
8787
- @media (min-width: 1200px) {
8788
- .pf-c-brand {
8789
- --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)))));
8790
- }
8791
- }
8792
- @media (min-width: 1450px) {
8793
- .pf-c-brand {
8794
- --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-2xl, var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))))));
8795
- }
8796
- }
8797
- @media (min-width: 576px) {
8798
- .pf-c-brand {
8799
- --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height));
8800
- }
8801
- }
8802
- @media (min-width: 768px) {
8803
- .pf-c-brand {
8804
- --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)));
8805
- }
8806
- }
8807
- @media (min-width: 992px) {
8808
- .pf-c-brand {
8809
- --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))));
8810
- }
8811
- }
8812
- @media (min-width: 1200px) {
8813
- .pf-c-brand {
8814
- --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)))));
8815
- }
8816
- }
8817
- @media (min-width: 1450px) {
8818
- .pf-c-brand {
8819
- --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-2xl, var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))))));
8820
- }
8821
- }
8822
- .pf-c-brand.pf-m-picture {
8823
- display: inline-flex;
8824
- max-width: 100%;
8825
- }
8826
-
8827
8778
  .pf-c-banner.pf-m-warning, .pf-c-banner.pf-m-gold, .pf-c-banner.pf-m-info, .pf-c-banner.pf-m-blue {
8828
8779
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
8829
8780
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -9002,6 +8953,70 @@ svg.pf-c-spinner.pf-m-xl {
9002
8953
  color: var(--pf-global--palette--black-900);
9003
8954
  }
9004
8955
 
8956
+ .pf-c-brand {
8957
+ --pf-c-brand--Width: auto;
8958
+ --pf-c-brand--Height: auto;
8959
+ width: var(--pf-c-brand--Width--base);
8960
+ height: var(--pf-c-brand--Height--base);
8961
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width);
8962
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height);
8963
+ }
8964
+
8965
+ @media (min-width: 576px) {
8966
+ .pf-c-brand {
8967
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width));
8968
+ }
8969
+ }
8970
+ @media (min-width: 768px) {
8971
+ .pf-c-brand {
8972
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)));
8973
+ }
8974
+ }
8975
+ @media (min-width: 992px) {
8976
+ .pf-c-brand {
8977
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))));
8978
+ }
8979
+ }
8980
+ @media (min-width: 1200px) {
8981
+ .pf-c-brand {
8982
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width)))));
8983
+ }
8984
+ }
8985
+ @media (min-width: 1450px) {
8986
+ .pf-c-brand {
8987
+ --pf-c-brand--Width--base: var(--pf-c-brand--Width-on-2xl, var(--pf-c-brand--Width-on-xl, var(--pf-c-brand--Width-on-lg, var(--pf-c-brand--Width-on-md, var(--pf-c-brand--Width-on-sm, var(--pf-c-brand--Width))))));
8988
+ }
8989
+ }
8990
+ @media (min-width: 576px) {
8991
+ .pf-c-brand {
8992
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height));
8993
+ }
8994
+ }
8995
+ @media (min-width: 768px) {
8996
+ .pf-c-brand {
8997
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)));
8998
+ }
8999
+ }
9000
+ @media (min-width: 992px) {
9001
+ .pf-c-brand {
9002
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))));
9003
+ }
9004
+ }
9005
+ @media (min-width: 1200px) {
9006
+ .pf-c-brand {
9007
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height)))));
9008
+ }
9009
+ }
9010
+ @media (min-width: 1450px) {
9011
+ .pf-c-brand {
9012
+ --pf-c-brand--Height--base: var(--pf-c-brand--Height-on-2xl, var(--pf-c-brand--Height-on-xl, var(--pf-c-brand--Height-on-lg, var(--pf-c-brand--Height-on-md, var(--pf-c-brand--Height-on-sm, var(--pf-c-brand--Height))))));
9013
+ }
9014
+ }
9015
+ .pf-c-brand.pf-m-picture {
9016
+ display: inline-flex;
9017
+ max-width: 100%;
9018
+ }
9019
+
9005
9020
  .pf-c-breadcrumb {
9006
9021
  --pf-c-breadcrumb__item--FontSize: var(--pf-global--FontSize--sm);
9007
9022
  --pf-c-breadcrumb__item--LineHeight: var(--pf-global--LineHeight--sm);
@@ -10333,6 +10348,9 @@ button.pf-c-breadcrumb__link {
10333
10348
  .pf-c-context-selector__menu.pf-m-static {
10334
10349
  position: static;
10335
10350
  top: auto;
10351
+ right: auto;
10352
+ bottom: auto;
10353
+ left: auto;
10336
10354
  z-index: auto;
10337
10355
  min-width: min-content;
10338
10356
  }
@@ -11926,6 +11944,17 @@ button.pf-c-breadcrumb__link {
11926
11944
  transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
11927
11945
  }
11928
11946
 
11947
+ .pf-c-date-picker__calendar.pf-m-static {
11948
+ --pf-c-date-picker--m-top__calendar--TranslateY: 0;
11949
+ position: static;
11950
+ top: auto;
11951
+ right: auto;
11952
+ bottom: auto;
11953
+ left: auto;
11954
+ z-index: auto;
11955
+ min-width: min-content;
11956
+ }
11957
+
11929
11958
  :where(.pf-theme-dark) .pf-c-date-picker {
11930
11959
  --pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--300);
11931
11960
  --pf-c-date-picker__calendar--Top: 100%;
@@ -19973,6 +20002,17 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
19973
20002
  transform: translateY(var(--pf-c-options-menu--m-top__menu--TranslateY));
19974
20003
  }
19975
20004
 
20005
+ .pf-c-options-menu__menu.pf-m-static {
20006
+ --pf-c-options-menu--m-top__menu--TranslateY: 0;
20007
+ position: static;
20008
+ top: auto;
20009
+ right: auto;
20010
+ bottom: auto;
20011
+ left: auto;
20012
+ z-index: auto;
20013
+ min-width: min-content;
20014
+ }
20015
+
19976
20016
  .pf-c-options-menu__menu-item {
19977
20017
  display: flex;
19978
20018
  align-items: baseline;
@@ -23127,8 +23167,12 @@ label.pf-c-radio, .pf-c-radio__label,
23127
23167
  }
23128
23168
 
23129
23169
  .pf-c-select__menu.pf-m-static {
23170
+ --pf-c-select__menu--m-top--TranslateY: 0;
23130
23171
  position: static;
23131
23172
  top: auto;
23173
+ right: auto;
23174
+ bottom: auto;
23175
+ left: auto;
23132
23176
  z-index: auto;
23133
23177
  min-width: min-content;
23134
23178
  }
@@ -23862,166 +23906,6 @@ label.pf-c-radio, .pf-c-radio__label,
23862
23906
  margin-left: var(--pf-c-slider__main--actions--MarginLeft);
23863
23907
  }
23864
23908
 
23865
- .pf-c-switch {
23866
- --pf-c-switch--FontSize: var(--pf-global--FontSize--md);
23867
- --pf-c-switch__label--PaddingLeft: var(--pf-global--spacer--md);
23868
- --pf-c-switch--ColumnGap: var(--pf-c-switch__label--PaddingLeft);
23869
- --pf-c-switch__toggle-icon--FontSize: calc(var(--pf-c-switch--FontSize) * .625);
23870
- --pf-c-switch__toggle-icon--Color: var(--pf-global--Color--light-100);
23871
- --pf-c-switch__toggle-icon--Left: calc(var(--pf-c-switch--FontSize) * .4);
23872
- --pf-c-switch__toggle-icon--Offset: 0.125rem;
23873
- --pf-c-switch--LineHeight: var(--pf-global--LineHeight--md);
23874
- --pf-c-switch--Height: auto;
23875
- --pf-c-switch__input--checked__toggle--BackgroundColor: var(--pf-global--primary-color--100);
23876
- --pf-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-c-switch__toggle-icon--Offset));
23877
- --pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
23878
- --pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
23879
- --pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
23880
- --pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
23881
- --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
23882
- --pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
23883
- --pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
23884
- --pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
23885
- --pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
23886
- --pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
23887
- --pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
23888
- --pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
23889
- --pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
23890
- --pf-c-switch__toggle--before--Top: calc((var(--pf-c-switch__toggle--Height) - var(--pf-c-switch__toggle--before--Height)) / 2);
23891
- --pf-c-switch__toggle--before--Left: var(--pf-c-switch__toggle--before--Top);
23892
- --pf-c-switch__toggle--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
23893
- --pf-c-switch__toggle--before--BorderRadius: var(--pf-global--BorderRadius--lg);
23894
- --pf-c-switch__toggle--before--BoxShadow: var(--pf-global--BoxShadow--md);
23895
- --pf-c-switch__toggle--before--Transition: transform .25s ease 0s;
23896
- --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));
23897
- --pf-c-switch__label--Color: var(--pf-global--Color--dark-100);
23898
- position: relative;
23899
- display: inline-grid;
23900
- grid-template-columns: auto;
23901
- grid-auto-columns: 1fr;
23902
- column-gap: var(--pf-c-switch--ColumnGap);
23903
- height: var(--pf-c-switch--Height);
23904
- font-size: var(--pf-c-switch--FontSize);
23905
- line-height: var(--pf-c-switch--LineHeight);
23906
- vertical-align: middle;
23907
- cursor: pointer;
23908
- }
23909
-
23910
- .pf-c-switch.pf-m-reverse .pf-c-switch__label,
23911
- .pf-c-switch.pf-m-reverse .pf-c-switch__toggle {
23912
- grid-row: 1;
23913
- }
23914
-
23915
- .pf-c-switch.pf-m-reverse .pf-c-switch__label {
23916
- grid-column: 1;
23917
- }
23918
-
23919
- .pf-c-switch__input {
23920
- position: absolute;
23921
- cursor: pointer;
23922
- opacity: 0;
23923
- }
23924
-
23925
- .pf-c-switch__input:focus ~ .pf-c-switch__toggle {
23926
- outline: var(--pf-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-c-switch__input--focus__toggle--OutlineColor);
23927
- outline-offset: var(--pf-c-switch__input--focus__toggle--OutlineOffset);
23928
- }
23929
-
23930
- .pf-c-switch__input:checked ~ .pf-c-switch__label {
23931
- color: var(--pf-c-switch__input--checked__label--Color);
23932
- }
23933
-
23934
- .pf-c-switch__input:checked ~ .pf-c-switch__toggle {
23935
- background-color: var(--pf-c-switch__input--checked__toggle--BackgroundColor);
23936
- }
23937
-
23938
- .pf-c-switch__input:checked ~ .pf-c-switch__toggle::before {
23939
- transform: translateX(var(--pf-c-switch__input--checked__toggle--before--TranslateX));
23940
- }
23941
-
23942
- .pf-c-switch__input:checked ~ .pf-m-off {
23943
- display: none;
23944
- }
23945
-
23946
- .pf-c-switch__input:not(:checked) ~ .pf-c-switch__label {
23947
- color: var(--pf-c-switch__input--not-checked__label--Color);
23948
- }
23949
-
23950
- .pf-c-switch__input:not(:checked) ~ .pf-c-switch__toggle .pf-c-switch__toggle-icon {
23951
- display: none;
23952
- visibility: hidden;
23953
- }
23954
-
23955
- .pf-c-switch__input:not(:checked) ~ .pf-m-on {
23956
- display: none;
23957
- }
23958
-
23959
- .pf-c-switch__input:disabled {
23960
- cursor: not-allowed;
23961
- }
23962
-
23963
- .pf-c-switch__input:disabled ~ .pf-c-switch__label {
23964
- color: var(--pf-c-switch__input--disabled__label--Color);
23965
- cursor: not-allowed;
23966
- }
23967
-
23968
- .pf-c-switch__input:disabled ~ .pf-c-switch__toggle {
23969
- cursor: not-allowed;
23970
- background-color: var(--pf-c-switch__input--disabled__toggle--BackgroundColor);
23971
- }
23972
-
23973
- .pf-c-switch__input:disabled ~ .pf-c-switch__toggle::before {
23974
- background-color: var(--pf-c-switch__input--disabled__toggle--before--BackgroundColor);
23975
- }
23976
-
23977
- .pf-c-switch__toggle {
23978
- position: relative;
23979
- display: inline-block;
23980
- width: var(--pf-c-switch__toggle--Width);
23981
- height: var(--pf-c-switch__toggle--Height);
23982
- background-color: var(--pf-c-switch__toggle--BackgroundColor);
23983
- border-radius: var(--pf-c-switch__toggle--BorderRadius);
23984
- }
23985
-
23986
- .pf-c-switch__toggle::before {
23987
- position: absolute;
23988
- top: var(--pf-c-switch__toggle--before--Top);
23989
- left: var(--pf-c-switch__toggle--before--Left);
23990
- display: block;
23991
- width: var(--pf-c-switch__toggle--before--Width);
23992
- height: var(--pf-c-switch__toggle--before--Height);
23993
- content: "";
23994
- background-color: var(--pf-c-switch__toggle--before--BackgroundColor);
23995
- border-radius: var(--pf-c-switch__toggle--before--BorderRadius);
23996
- box-shadow: var(--pf-c-switch__toggle--before--BoxShadow);
23997
- transition: var(--pf-c-switch__toggle--before--Transition);
23998
- }
23999
-
24000
- .pf-c-switch__toggle-icon {
24001
- position: absolute;
24002
- top: 0;
24003
- bottom: 0;
24004
- left: var(--pf-c-switch__toggle-icon--Left);
24005
- display: flex;
24006
- align-items: center;
24007
- font-size: var(--pf-c-switch__toggle-icon--FontSize);
24008
- color: var(--pf-c-switch__toggle-icon--Color);
24009
- }
24010
-
24011
- .pf-c-switch__label {
24012
- display: inline-block;
24013
- grid-column: 2;
24014
- color: var(--pf-c-switch__label--Color);
24015
- vertical-align: top;
24016
- }
24017
-
24018
- :where(.pf-theme-dark) .pf-c-switch {
24019
- --pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
24020
- --pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
24021
- --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--100);
24022
- --pf-c-switch__toggle--before--BoxShadow: none;
24023
- }
24024
-
24025
23909
  .pf-c-tabs {
24026
23910
  --pf-c-tabs--inset: 0;
24027
23911
  --pf-c-tabs--Width: auto;
@@ -25318,6 +25202,166 @@ label.pf-c-radio, .pf-c-radio__label,
25318
25202
  font-weight: var(--pf-global--FontWeight--light);
25319
25203
  }
25320
25204
 
25205
+ .pf-c-switch {
25206
+ --pf-c-switch--FontSize: var(--pf-global--FontSize--md);
25207
+ --pf-c-switch__label--PaddingLeft: var(--pf-global--spacer--md);
25208
+ --pf-c-switch--ColumnGap: var(--pf-c-switch__label--PaddingLeft);
25209
+ --pf-c-switch__toggle-icon--FontSize: calc(var(--pf-c-switch--FontSize) * .625);
25210
+ --pf-c-switch__toggle-icon--Color: var(--pf-global--Color--light-100);
25211
+ --pf-c-switch__toggle-icon--Left: calc(var(--pf-c-switch--FontSize) * .4);
25212
+ --pf-c-switch__toggle-icon--Offset: 0.125rem;
25213
+ --pf-c-switch--LineHeight: var(--pf-global--LineHeight--md);
25214
+ --pf-c-switch--Height: auto;
25215
+ --pf-c-switch__input--checked__toggle--BackgroundColor: var(--pf-global--primary-color--100);
25216
+ --pf-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-c-switch__toggle-icon--Offset));
25217
+ --pf-c-switch__input--checked__label--Color: var(--pf-global--Color--dark-100);
25218
+ --pf-c-switch__input--not-checked__label--Color: var(--pf-global--disabled-color--100);
25219
+ --pf-c-switch__input--disabled__label--Color: var(--pf-global--disabled-color--100);
25220
+ --pf-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-global--disabled-color--200);
25221
+ --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--palette--black-150);
25222
+ --pf-c-switch__input--focus__toggle--OutlineWidth: var(--pf-global--BorderWidth--md);
25223
+ --pf-c-switch__input--focus__toggle--OutlineOffset: var(--pf-global--spacer--sm);
25224
+ --pf-c-switch__input--focus__toggle--OutlineColor: var(--pf-global--primary-color--100);
25225
+ --pf-c-switch__toggle--Height: calc(var(--pf-c-switch--FontSize) * var(--pf-c-switch--LineHeight));
25226
+ --pf-c-switch__toggle--BackgroundColor: var(--pf-global--palette--black-500);
25227
+ --pf-c-switch__toggle--BorderRadius: var(--pf-c-switch__toggle--Height);
25228
+ --pf-c-switch__toggle--before--Width: calc(var(--pf-c-switch--FontSize) - var(--pf-c-switch__toggle-icon--Offset));
25229
+ --pf-c-switch__toggle--before--Height: var(--pf-c-switch__toggle--before--Width);
25230
+ --pf-c-switch__toggle--before--Top: calc((var(--pf-c-switch__toggle--Height) - var(--pf-c-switch__toggle--before--Height)) / 2);
25231
+ --pf-c-switch__toggle--before--Left: var(--pf-c-switch__toggle--before--Top);
25232
+ --pf-c-switch__toggle--before--BackgroundColor: var(--pf-global--BackgroundColor--100);
25233
+ --pf-c-switch__toggle--before--BorderRadius: var(--pf-global--BorderRadius--lg);
25234
+ --pf-c-switch__toggle--before--BoxShadow: var(--pf-global--BoxShadow--md);
25235
+ --pf-c-switch__toggle--before--Transition: transform .25s ease 0s;
25236
+ --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));
25237
+ --pf-c-switch__label--Color: var(--pf-global--Color--dark-100);
25238
+ position: relative;
25239
+ display: inline-grid;
25240
+ grid-template-columns: auto;
25241
+ grid-auto-columns: 1fr;
25242
+ column-gap: var(--pf-c-switch--ColumnGap);
25243
+ height: var(--pf-c-switch--Height);
25244
+ font-size: var(--pf-c-switch--FontSize);
25245
+ line-height: var(--pf-c-switch--LineHeight);
25246
+ vertical-align: middle;
25247
+ cursor: pointer;
25248
+ }
25249
+
25250
+ .pf-c-switch.pf-m-reverse .pf-c-switch__label,
25251
+ .pf-c-switch.pf-m-reverse .pf-c-switch__toggle {
25252
+ grid-row: 1;
25253
+ }
25254
+
25255
+ .pf-c-switch.pf-m-reverse .pf-c-switch__label {
25256
+ grid-column: 1;
25257
+ }
25258
+
25259
+ .pf-c-switch__input {
25260
+ position: absolute;
25261
+ cursor: pointer;
25262
+ opacity: 0;
25263
+ }
25264
+
25265
+ .pf-c-switch__input:focus ~ .pf-c-switch__toggle {
25266
+ outline: var(--pf-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-c-switch__input--focus__toggle--OutlineColor);
25267
+ outline-offset: var(--pf-c-switch__input--focus__toggle--OutlineOffset);
25268
+ }
25269
+
25270
+ .pf-c-switch__input:checked ~ .pf-c-switch__label {
25271
+ color: var(--pf-c-switch__input--checked__label--Color);
25272
+ }
25273
+
25274
+ .pf-c-switch__input:checked ~ .pf-c-switch__toggle {
25275
+ background-color: var(--pf-c-switch__input--checked__toggle--BackgroundColor);
25276
+ }
25277
+
25278
+ .pf-c-switch__input:checked ~ .pf-c-switch__toggle::before {
25279
+ transform: translateX(var(--pf-c-switch__input--checked__toggle--before--TranslateX));
25280
+ }
25281
+
25282
+ .pf-c-switch__input:checked ~ .pf-m-off {
25283
+ display: none;
25284
+ }
25285
+
25286
+ .pf-c-switch__input:not(:checked) ~ .pf-c-switch__label {
25287
+ color: var(--pf-c-switch__input--not-checked__label--Color);
25288
+ }
25289
+
25290
+ .pf-c-switch__input:not(:checked) ~ .pf-c-switch__toggle .pf-c-switch__toggle-icon {
25291
+ display: none;
25292
+ visibility: hidden;
25293
+ }
25294
+
25295
+ .pf-c-switch__input:not(:checked) ~ .pf-m-on {
25296
+ display: none;
25297
+ }
25298
+
25299
+ .pf-c-switch__input:disabled {
25300
+ cursor: not-allowed;
25301
+ }
25302
+
25303
+ .pf-c-switch__input:disabled ~ .pf-c-switch__label {
25304
+ color: var(--pf-c-switch__input--disabled__label--Color);
25305
+ cursor: not-allowed;
25306
+ }
25307
+
25308
+ .pf-c-switch__input:disabled ~ .pf-c-switch__toggle {
25309
+ cursor: not-allowed;
25310
+ background-color: var(--pf-c-switch__input--disabled__toggle--BackgroundColor);
25311
+ }
25312
+
25313
+ .pf-c-switch__input:disabled ~ .pf-c-switch__toggle::before {
25314
+ background-color: var(--pf-c-switch__input--disabled__toggle--before--BackgroundColor);
25315
+ }
25316
+
25317
+ .pf-c-switch__toggle {
25318
+ position: relative;
25319
+ display: inline-block;
25320
+ width: var(--pf-c-switch__toggle--Width);
25321
+ height: var(--pf-c-switch__toggle--Height);
25322
+ background-color: var(--pf-c-switch__toggle--BackgroundColor);
25323
+ border-radius: var(--pf-c-switch__toggle--BorderRadius);
25324
+ }
25325
+
25326
+ .pf-c-switch__toggle::before {
25327
+ position: absolute;
25328
+ top: var(--pf-c-switch__toggle--before--Top);
25329
+ left: var(--pf-c-switch__toggle--before--Left);
25330
+ display: block;
25331
+ width: var(--pf-c-switch__toggle--before--Width);
25332
+ height: var(--pf-c-switch__toggle--before--Height);
25333
+ content: "";
25334
+ background-color: var(--pf-c-switch__toggle--before--BackgroundColor);
25335
+ border-radius: var(--pf-c-switch__toggle--before--BorderRadius);
25336
+ box-shadow: var(--pf-c-switch__toggle--before--BoxShadow);
25337
+ transition: var(--pf-c-switch__toggle--before--Transition);
25338
+ }
25339
+
25340
+ .pf-c-switch__toggle-icon {
25341
+ position: absolute;
25342
+ top: 0;
25343
+ bottom: 0;
25344
+ left: var(--pf-c-switch__toggle-icon--Left);
25345
+ display: flex;
25346
+ align-items: center;
25347
+ font-size: var(--pf-c-switch__toggle-icon--FontSize);
25348
+ color: var(--pf-c-switch__toggle-icon--Color);
25349
+ }
25350
+
25351
+ .pf-c-switch__label {
25352
+ display: inline-block;
25353
+ grid-column: 2;
25354
+ color: var(--pf-c-switch__label--Color);
25355
+ vertical-align: top;
25356
+ }
25357
+
25358
+ :where(.pf-theme-dark) .pf-c-switch {
25359
+ --pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
25360
+ --pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
25361
+ --pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--100);
25362
+ --pf-c-switch__toggle--before--BoxShadow: none;
25363
+ }
25364
+
25321
25365
  .pf-c-tile {
25322
25366
  --pf-c-tile--PaddingTop: var(--pf-global--spacer--lg);
25323
25367
  --pf-c-tile--PaddingRight: var(--pf-global--spacer--lg);