@patternfly/react-core 4.183.11 → 4.184.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/esm/components/Dropdown/Dropdown.d.ts +2 -0
  3. package/dist/esm/components/Dropdown/Dropdown.d.ts.map +1 -1
  4. package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
  5. package/dist/esm/components/Dropdown/DropdownToggle.d.ts +2 -0
  6. package/dist/esm/components/Dropdown/DropdownToggle.d.ts.map +1 -1
  7. package/dist/esm/components/Dropdown/DropdownToggle.js +3 -3
  8. package/dist/esm/components/Dropdown/DropdownToggle.js.map +1 -1
  9. package/dist/esm/components/Dropdown/DropdownWithContext.d.ts.map +1 -1
  10. package/dist/esm/components/Dropdown/DropdownWithContext.js +4 -2
  11. package/dist/esm/components/Dropdown/DropdownWithContext.js.map +1 -1
  12. package/dist/esm/components/Dropdown/Toggle.d.ts +2 -0
  13. package/dist/esm/components/Dropdown/Toggle.d.ts.map +1 -1
  14. package/dist/esm/components/Dropdown/Toggle.js +4 -3
  15. package/dist/esm/components/Dropdown/Toggle.js.map +1 -1
  16. package/dist/js/components/Dropdown/Dropdown.d.ts +2 -0
  17. package/dist/js/components/Dropdown/Dropdown.d.ts.map +1 -1
  18. package/dist/js/components/Dropdown/Dropdown.js.map +1 -1
  19. package/dist/js/components/Dropdown/DropdownToggle.d.ts +2 -0
  20. package/dist/js/components/Dropdown/DropdownToggle.d.ts.map +1 -1
  21. package/dist/js/components/Dropdown/DropdownToggle.js +3 -3
  22. package/dist/js/components/Dropdown/DropdownToggle.js.map +1 -1
  23. package/dist/js/components/Dropdown/DropdownWithContext.d.ts.map +1 -1
  24. package/dist/js/components/Dropdown/DropdownWithContext.js +4 -2
  25. package/dist/js/components/Dropdown/DropdownWithContext.js.map +1 -1
  26. package/dist/js/components/Dropdown/Toggle.d.ts +2 -0
  27. package/dist/js/components/Dropdown/Toggle.d.ts.map +1 -1
  28. package/dist/js/components/Dropdown/Toggle.js +4 -3
  29. package/dist/js/components/Dropdown/Toggle.js.map +1 -1
  30. package/dist/umd/react-core.js +11 -8
  31. package/dist/umd/react-core.min.css +179 -179
  32. package/dist/umd/react-core.min.js +1 -1
  33. package/package.json +5 -5
  34. package/src/components/ApplicationLauncher/__tests__/Generated/__snapshots__/ApplicationLauncher.test.tsx.snap +1 -0
  35. package/src/components/ApplicationLauncher/__tests__/__snapshots__/ApplicationLauncher.test.tsx.snap +18 -0
  36. package/src/components/Dropdown/Dropdown.tsx +2 -0
  37. package/src/components/Dropdown/DropdownToggle.tsx +4 -0
  38. package/src/components/Dropdown/DropdownWithContext.tsx +3 -0
  39. package/src/components/Dropdown/Toggle.tsx +5 -0
  40. package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +11 -0
  41. package/src/components/Dropdown/__tests__/Generated/__snapshots__/Dropdown.test.tsx.snap +1 -0
  42. package/src/components/Dropdown/__tests__/Generated/__snapshots__/KebabToggle.test.tsx.snap +1 -0
  43. package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +45 -0
  44. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +94 -8
  45. package/src/components/Dropdown/__tests__/__snapshots__/Toggle.test.tsx.snap +2 -0
  46. package/src/components/Dropdown/examples/Dropdown.md +57 -0
  47. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenu.test.tsx.snap +1 -0
  48. package/src/components/OptionsMenu/__tests__/__snapshots__/OptionsMenu.test.tsx.snap +31 -0
  49. package/src/components/Pagination/__tests__/Generated/__snapshots__/PaginationOptionsMenu.test.tsx.snap +1 -0
  50. package/src/components/Pagination/__tests__/__snapshots__/Pagination.test.tsx.snap +47 -0
@@ -14862,6 +14862,185 @@ ul.pf-c-list {
14862
14862
  --pf-c-pagination__total-items--Visibility: var(--pf-c-pagination--m-display-full__total-items--Visibility);
14863
14863
  }
14864
14864
  }
14865
+ .pf-c-progress {
14866
+ --pf-c-progress--GridGap: var(--pf-global--spacer--md);
14867
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-global--primary-color--100);
14868
+ --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
14869
+ --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
14870
+ --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch;
14871
+ --pf-c-progress__status-icon--Color: var(--pf-global--Color--100);
14872
+ --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
14873
+ --pf-c-progress__bar--before--Opacity: .2;
14874
+ --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
14875
+ --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
14876
+ --pf-c-progress--m-success__bar--BackgroundColor: var(--pf-global--success-color--100);
14877
+ --pf-c-progress--m-warning__bar--BackgroundColor: var(--pf-global--warning-color--100);
14878
+ --pf-c-progress--m-danger__bar--BackgroundColor: var(--pf-global--danger-color--100);
14879
+ --pf-c-progress--m-success__status-icon--Color: var(--pf-global--success-color--100);
14880
+ --pf-c-progress--m-warning__status-icon--Color: var(--pf-global--warning-color--100);
14881
+ --pf-c-progress--m-danger__status-icon--Color: var(--pf-global--danger-color--100);
14882
+ --pf-c-progress--m-inside__indicator--MinWidth: var(--pf-global--spacer--xl);
14883
+ --pf-c-progress--m-inside__measure--Color: var(--pf-global--Color--light-100);
14884
+ --pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--Color--light-100);
14885
+ --pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--Color--dark-100);
14886
+ --pf-c-progress--m-inside__measure--FontSize: var(--pf-global--FontSize--sm);
14887
+ --pf-c-progress--m-outside__measure--FontSize: var(--pf-global--FontSize--sm);
14888
+ --pf-c-progress--m-sm__bar--Height: var(--pf-global--spacer--sm);
14889
+ --pf-c-progress--m-sm__description--FontSize: var(--pf-global--FontSize--sm);
14890
+ --pf-c-progress--m-sm__measure--FontSize: var(--pf-global--FontSize--sm);
14891
+ --pf-c-progress--m-lg__bar--Height: var(--pf-global--spacer--lg);
14892
+ display: grid;
14893
+ align-items: end;
14894
+ grid-gap: var(--pf-c-progress--GridGap);
14895
+ grid-template-columns: auto auto;
14896
+ grid-template-rows: 1fr auto;
14897
+ }
14898
+
14899
+ .pf-c-progress.pf-m-sm {
14900
+ --pf-c-progress__bar--Height: var(--pf-c-progress--m-sm__bar--Height);
14901
+ }
14902
+
14903
+ .pf-c-progress.pf-m-sm .pf-c-progress__description {
14904
+ font-size: var(--pf-c-progress--m-sm__description--FontSize);
14905
+ }
14906
+
14907
+ .pf-c-progress.pf-m-sm .pf-c-progress__measure {
14908
+ font-size: var(--pf-c-progress--m-sm__measure--FontSize);
14909
+ }
14910
+
14911
+ .pf-c-progress.pf-m-lg {
14912
+ --pf-c-progress__bar--Height: var(--pf-c-progress--m-lg__bar--Height);
14913
+ }
14914
+
14915
+ .pf-c-progress.pf-m-inside .pf-c-progress__indicator {
14916
+ display: flex;
14917
+ align-items: center;
14918
+ justify-content: center;
14919
+ min-width: var(--pf-c-progress--m-inside__indicator--MinWidth);
14920
+ }
14921
+
14922
+ .pf-c-progress.pf-m-inside .pf-c-progress__measure {
14923
+ font-size: var(--pf-c-progress--m-inside__measure--FontSize);
14924
+ color: var(--pf-c-progress--m-inside__measure--Color);
14925
+ text-align: center;
14926
+ }
14927
+
14928
+ .pf-c-progress.pf-m-outside .pf-c-progress__description {
14929
+ grid-column: 1/3;
14930
+ }
14931
+
14932
+ .pf-c-progress.pf-m-outside .pf-c-progress__status {
14933
+ grid-column: 2/3;
14934
+ grid-row: 2/3;
14935
+ align-self: center;
14936
+ }
14937
+
14938
+ .pf-c-progress.pf-m-outside .pf-c-progress__measure {
14939
+ display: inline-block;
14940
+ font-size: var(--pf-c-progress--m-outside__measure--FontSize);
14941
+ }
14942
+
14943
+ .pf-c-progress.pf-m-outside .pf-c-progress__measure.pf-m-static-width {
14944
+ min-width: var(--pf-c-progress__measure--m-static-width--MinWidth);
14945
+ text-align: left;
14946
+ }
14947
+
14948
+ .pf-c-progress.pf-m-outside .pf-c-progress__bar,
14949
+ .pf-c-progress.pf-m-outside .pf-c-progress__indicator {
14950
+ grid-column: 1/2;
14951
+ }
14952
+
14953
+ .pf-c-progress.pf-m-singleline {
14954
+ grid-template-rows: 1fr;
14955
+ }
14956
+
14957
+ .pf-c-progress.pf-m-singleline .pf-c-progress__description {
14958
+ display: none;
14959
+ visibility: hidden;
14960
+ }
14961
+
14962
+ .pf-c-progress.pf-m-singleline .pf-c-progress__bar {
14963
+ grid-row: 1/2;
14964
+ grid-column: 1/2;
14965
+ }
14966
+
14967
+ .pf-c-progress.pf-m-singleline .pf-c-progress__status {
14968
+ grid-row: 1/2;
14969
+ grid-column: 2/3;
14970
+ }
14971
+
14972
+ .pf-c-progress.pf-m-outside, .pf-c-progress.pf-m-singleline {
14973
+ grid-template-columns: 1fr fit-content(50%);
14974
+ }
14975
+
14976
+ .pf-c-progress.pf-m-success {
14977
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-success__bar--BackgroundColor);
14978
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-success__status-icon--Color);
14979
+ --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-success--m-inside__measure--Color);
14980
+ }
14981
+
14982
+ .pf-c-progress.pf-m-warning {
14983
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-warning__bar--BackgroundColor);
14984
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-warning__status-icon--Color);
14985
+ --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-warning--m-inside__measure--Color);
14986
+ }
14987
+
14988
+ .pf-c-progress.pf-m-danger {
14989
+ --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-danger__bar--BackgroundColor);
14990
+ --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-danger__status-icon--Color);
14991
+ }
14992
+
14993
+ .pf-c-progress__description {
14994
+ word-break: break-word;
14995
+ grid-column: 1/2;
14996
+ }
14997
+
14998
+ .pf-c-progress__description.pf-m-truncate {
14999
+ overflow: hidden;
15000
+ text-overflow: ellipsis;
15001
+ white-space: nowrap;
15002
+ }
15003
+
15004
+ .pf-c-progress__status {
15005
+ grid-column: 2/3;
15006
+ grid-row: 1/2;
15007
+ text-align: right;
15008
+ word-break: break-word;
15009
+ }
15010
+
15011
+ .pf-c-progress__status-icon {
15012
+ margin-left: var(--pf-c-progress__status-icon--MarginLeft);
15013
+ color: var(--pf-c-progress__status-icon--Color);
15014
+ }
15015
+
15016
+ .pf-c-progress__bar {
15017
+ position: relative;
15018
+ grid-column: 1/3;
15019
+ grid-row: 2/3;
15020
+ align-self: center;
15021
+ height: var(--pf-c-progress__bar--Height);
15022
+ background-color: var(--pf-c-progress__bar--BackgroundColor);
15023
+ }
15024
+
15025
+ .pf-c-progress__bar::before {
15026
+ position: absolute;
15027
+ top: 0;
15028
+ left: 0;
15029
+ width: 100%;
15030
+ height: 100%;
15031
+ content: "";
15032
+ background-color: var(--pf-c-progress__bar--before--BackgroundColor);
15033
+ opacity: var(--pf-c-progress__bar--before--Opacity);
15034
+ }
15035
+
15036
+ .pf-c-progress__indicator {
15037
+ position: absolute;
15038
+ top: 0;
15039
+ left: 0;
15040
+ height: var(--pf-c-progress__indicator--Height);
15041
+ background-color: var(--pf-c-progress__indicator--BackgroundColor);
15042
+ }
15043
+
14865
15044
  .pf-c-popover {
14866
15045
  --pf-c-popover--FontSize: var(--pf-global--FontSize--sm);
14867
15046
  --pf-c-popover--MinWidth: calc(var(--pf-c-popover__content--PaddingLeft) + var(--pf-c-popover__content--PaddingRight) + 18.75rem);
@@ -15054,185 +15233,6 @@ ul.pf-c-list {
15054
15233
  margin-top: var(--pf-c-popover__footer--MarginTop);
15055
15234
  }
15056
15235
 
15057
- .pf-c-progress {
15058
- --pf-c-progress--GridGap: var(--pf-global--spacer--md);
15059
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-global--primary-color--100);
15060
- --pf-c-progress__bar--Height: var(--pf-global--spacer--md);
15061
- --pf-c-progress__bar--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
15062
- --pf-c-progress__measure--m-static-width--MinWidth: 4.5ch;
15063
- --pf-c-progress__status-icon--Color: var(--pf-global--Color--100);
15064
- --pf-c-progress__status-icon--MarginLeft: var(--pf-global--spacer--sm);
15065
- --pf-c-progress__bar--before--Opacity: .2;
15066
- --pf-c-progress__indicator--Height: var(--pf-c-progress__bar--Height);
15067
- --pf-c-progress__indicator--BackgroundColor: var(--pf-c-progress__bar--before--BackgroundColor);
15068
- --pf-c-progress--m-success__bar--BackgroundColor: var(--pf-global--success-color--100);
15069
- --pf-c-progress--m-warning__bar--BackgroundColor: var(--pf-global--warning-color--100);
15070
- --pf-c-progress--m-danger__bar--BackgroundColor: var(--pf-global--danger-color--100);
15071
- --pf-c-progress--m-success__status-icon--Color: var(--pf-global--success-color--100);
15072
- --pf-c-progress--m-warning__status-icon--Color: var(--pf-global--warning-color--100);
15073
- --pf-c-progress--m-danger__status-icon--Color: var(--pf-global--danger-color--100);
15074
- --pf-c-progress--m-inside__indicator--MinWidth: var(--pf-global--spacer--xl);
15075
- --pf-c-progress--m-inside__measure--Color: var(--pf-global--Color--light-100);
15076
- --pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--Color--light-100);
15077
- --pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--Color--dark-100);
15078
- --pf-c-progress--m-inside__measure--FontSize: var(--pf-global--FontSize--sm);
15079
- --pf-c-progress--m-outside__measure--FontSize: var(--pf-global--FontSize--sm);
15080
- --pf-c-progress--m-sm__bar--Height: var(--pf-global--spacer--sm);
15081
- --pf-c-progress--m-sm__description--FontSize: var(--pf-global--FontSize--sm);
15082
- --pf-c-progress--m-sm__measure--FontSize: var(--pf-global--FontSize--sm);
15083
- --pf-c-progress--m-lg__bar--Height: var(--pf-global--spacer--lg);
15084
- display: grid;
15085
- align-items: end;
15086
- grid-gap: var(--pf-c-progress--GridGap);
15087
- grid-template-columns: auto auto;
15088
- grid-template-rows: 1fr auto;
15089
- }
15090
-
15091
- .pf-c-progress.pf-m-sm {
15092
- --pf-c-progress__bar--Height: var(--pf-c-progress--m-sm__bar--Height);
15093
- }
15094
-
15095
- .pf-c-progress.pf-m-sm .pf-c-progress__description {
15096
- font-size: var(--pf-c-progress--m-sm__description--FontSize);
15097
- }
15098
-
15099
- .pf-c-progress.pf-m-sm .pf-c-progress__measure {
15100
- font-size: var(--pf-c-progress--m-sm__measure--FontSize);
15101
- }
15102
-
15103
- .pf-c-progress.pf-m-lg {
15104
- --pf-c-progress__bar--Height: var(--pf-c-progress--m-lg__bar--Height);
15105
- }
15106
-
15107
- .pf-c-progress.pf-m-inside .pf-c-progress__indicator {
15108
- display: flex;
15109
- align-items: center;
15110
- justify-content: center;
15111
- min-width: var(--pf-c-progress--m-inside__indicator--MinWidth);
15112
- }
15113
-
15114
- .pf-c-progress.pf-m-inside .pf-c-progress__measure {
15115
- font-size: var(--pf-c-progress--m-inside__measure--FontSize);
15116
- color: var(--pf-c-progress--m-inside__measure--Color);
15117
- text-align: center;
15118
- }
15119
-
15120
- .pf-c-progress.pf-m-outside .pf-c-progress__description {
15121
- grid-column: 1/3;
15122
- }
15123
-
15124
- .pf-c-progress.pf-m-outside .pf-c-progress__status {
15125
- grid-column: 2/3;
15126
- grid-row: 2/3;
15127
- align-self: center;
15128
- }
15129
-
15130
- .pf-c-progress.pf-m-outside .pf-c-progress__measure {
15131
- display: inline-block;
15132
- font-size: var(--pf-c-progress--m-outside__measure--FontSize);
15133
- }
15134
-
15135
- .pf-c-progress.pf-m-outside .pf-c-progress__measure.pf-m-static-width {
15136
- min-width: var(--pf-c-progress__measure--m-static-width--MinWidth);
15137
- text-align: left;
15138
- }
15139
-
15140
- .pf-c-progress.pf-m-outside .pf-c-progress__bar,
15141
- .pf-c-progress.pf-m-outside .pf-c-progress__indicator {
15142
- grid-column: 1/2;
15143
- }
15144
-
15145
- .pf-c-progress.pf-m-singleline {
15146
- grid-template-rows: 1fr;
15147
- }
15148
-
15149
- .pf-c-progress.pf-m-singleline .pf-c-progress__description {
15150
- display: none;
15151
- visibility: hidden;
15152
- }
15153
-
15154
- .pf-c-progress.pf-m-singleline .pf-c-progress__bar {
15155
- grid-row: 1/2;
15156
- grid-column: 1/2;
15157
- }
15158
-
15159
- .pf-c-progress.pf-m-singleline .pf-c-progress__status {
15160
- grid-row: 1/2;
15161
- grid-column: 2/3;
15162
- }
15163
-
15164
- .pf-c-progress.pf-m-outside, .pf-c-progress.pf-m-singleline {
15165
- grid-template-columns: 1fr fit-content(50%);
15166
- }
15167
-
15168
- .pf-c-progress.pf-m-success {
15169
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-success__bar--BackgroundColor);
15170
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-success__status-icon--Color);
15171
- --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-success--m-inside__measure--Color);
15172
- }
15173
-
15174
- .pf-c-progress.pf-m-warning {
15175
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-warning__bar--BackgroundColor);
15176
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-warning__status-icon--Color);
15177
- --pf-c-progress--m-inside__measure--Color: var(--pf-c-progress--m-warning--m-inside__measure--Color);
15178
- }
15179
-
15180
- .pf-c-progress.pf-m-danger {
15181
- --pf-c-progress__bar--before--BackgroundColor: var(--pf-c-progress--m-danger__bar--BackgroundColor);
15182
- --pf-c-progress__status-icon--Color: var(--pf-c-progress--m-danger__status-icon--Color);
15183
- }
15184
-
15185
- .pf-c-progress__description {
15186
- word-break: break-word;
15187
- grid-column: 1/2;
15188
- }
15189
-
15190
- .pf-c-progress__description.pf-m-truncate {
15191
- overflow: hidden;
15192
- text-overflow: ellipsis;
15193
- white-space: nowrap;
15194
- }
15195
-
15196
- .pf-c-progress__status {
15197
- grid-column: 2/3;
15198
- grid-row: 1/2;
15199
- text-align: right;
15200
- word-break: break-word;
15201
- }
15202
-
15203
- .pf-c-progress__status-icon {
15204
- margin-left: var(--pf-c-progress__status-icon--MarginLeft);
15205
- color: var(--pf-c-progress__status-icon--Color);
15206
- }
15207
-
15208
- .pf-c-progress__bar {
15209
- position: relative;
15210
- grid-column: 1/3;
15211
- grid-row: 2/3;
15212
- align-self: center;
15213
- height: var(--pf-c-progress__bar--Height);
15214
- background-color: var(--pf-c-progress__bar--BackgroundColor);
15215
- }
15216
-
15217
- .pf-c-progress__bar::before {
15218
- position: absolute;
15219
- top: 0;
15220
- left: 0;
15221
- width: 100%;
15222
- height: 100%;
15223
- content: "";
15224
- background-color: var(--pf-c-progress__bar--before--BackgroundColor);
15225
- opacity: var(--pf-c-progress__bar--before--Opacity);
15226
- }
15227
-
15228
- .pf-c-progress__indicator {
15229
- position: absolute;
15230
- top: 0;
15231
- left: 0;
15232
- height: var(--pf-c-progress__indicator--Height);
15233
- background-color: var(--pf-c-progress__indicator--BackgroundColor);
15234
- }
15235
-
15236
15236
  .pf-c-progress-stepper {
15237
15237
  --pf-c-progress-stepper--GridAutoFlow: column;
15238
15238
  --pf-c-progress-stepper--GridTemplateRows: auto 1fr;