@patternfly/react-core 4.221.8 → 4.221.11

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 +27 -0
  2. package/dist/esm/components/Drawer/Drawer.d.ts +1 -0
  3. package/dist/esm/components/Drawer/Drawer.d.ts.map +1 -1
  4. package/dist/esm/components/Drawer/Drawer.js +3 -1
  5. package/dist/esm/components/Drawer/Drawer.js.map +1 -1
  6. package/dist/esm/components/Drawer/DrawerContent.d.ts.map +1 -1
  7. package/dist/esm/components/Drawer/DrawerContent.js +3 -3
  8. package/dist/esm/components/Drawer/DrawerContent.js.map +1 -1
  9. package/dist/esm/components/Drawer/DrawerPanelContent.d.ts +0 -2
  10. package/dist/esm/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
  11. package/dist/esm/components/Drawer/DrawerPanelContent.js +2 -2
  12. package/dist/esm/components/Drawer/DrawerPanelContent.js.map +1 -1
  13. package/dist/esm/components/Label/Label.d.ts +1 -1
  14. package/dist/esm/components/Label/Label.d.ts.map +1 -1
  15. package/dist/esm/components/Label/Label.js +1 -0
  16. package/dist/esm/components/Label/Label.js.map +1 -1
  17. package/dist/esm/components/Select/Select.d.ts.map +1 -1
  18. package/dist/esm/components/Select/Select.js +1 -0
  19. package/dist/esm/components/Select/Select.js.map +1 -1
  20. package/dist/js/components/Drawer/Drawer.d.ts +1 -0
  21. package/dist/js/components/Drawer/Drawer.d.ts.map +1 -1
  22. package/dist/js/components/Drawer/Drawer.js +3 -1
  23. package/dist/js/components/Drawer/Drawer.js.map +1 -1
  24. package/dist/js/components/Drawer/DrawerContent.d.ts.map +1 -1
  25. package/dist/js/components/Drawer/DrawerContent.js +2 -2
  26. package/dist/js/components/Drawer/DrawerContent.js.map +1 -1
  27. package/dist/js/components/Drawer/DrawerPanelContent.d.ts +0 -2
  28. package/dist/js/components/Drawer/DrawerPanelContent.d.ts.map +1 -1
  29. package/dist/js/components/Drawer/DrawerPanelContent.js +2 -2
  30. package/dist/js/components/Drawer/DrawerPanelContent.js.map +1 -1
  31. package/dist/js/components/Label/Label.d.ts +1 -1
  32. package/dist/js/components/Label/Label.d.ts.map +1 -1
  33. package/dist/js/components/Label/Label.js +1 -0
  34. package/dist/js/components/Label/Label.js.map +1 -1
  35. package/dist/js/components/Select/Select.d.ts.map +1 -1
  36. package/dist/js/components/Select/Select.js +1 -0
  37. package/dist/js/components/Select/Select.js.map +1 -1
  38. package/dist/umd/react-core.css +107 -107
  39. package/dist/umd/react-core.js +9 -5
  40. package/dist/umd/react-core.min.css +70 -70
  41. package/dist/umd/react-core.min.js +2 -2
  42. package/package.json +5 -5
  43. package/src/components/Drawer/Drawer.tsx +5 -1
  44. package/src/components/Drawer/DrawerContent.tsx +4 -3
  45. package/src/components/Drawer/DrawerPanelContent.tsx +3 -4
  46. package/src/components/Drawer/__tests__/Drawer.test.tsx +38 -1
  47. package/src/components/Drawer/__tests__/Generated/__snapshots__/DrawerContent.test.tsx.snap +1 -3
  48. package/src/components/Label/Label.tsx +2 -1
  49. package/src/components/Label/examples/Label.md +44 -0
  50. package/src/components/Select/Select.tsx +1 -0
@@ -9135,76 +9135,6 @@ label.pf-c-check, .pf-c-check__label,
9135
9135
  --pf-c-helper-text__item-text--m-success--Color: var(--pf-global--success-color--100);
9136
9136
  }
9137
9137
 
9138
- .pf-c-hint {
9139
- --pf-c-hint--GridRowGap: var(--pf-global--spacer--md);
9140
- --pf-c-hint--PaddingTop: var(--pf-global--spacer--lg);
9141
- --pf-c-hint--PaddingRight: var(--pf-global--spacer--lg);
9142
- --pf-c-hint--PaddingBottom: var(--pf-global--spacer--lg);
9143
- --pf-c-hint--PaddingLeft: var(--pf-global--spacer--lg);
9144
- --pf-c-hint--BackgroundColor: var(--pf-global--palette--blue-50);
9145
- --pf-c-hint--BorderColor: var(--pf-global--palette--blue-100);
9146
- --pf-c-hint--BorderWidth: var(--pf-global--BorderWidth--sm);
9147
- --pf-c-hint--BoxShadow: var(--pf-global--BoxShadow--sm);
9148
- --pf-c-hint--Color: var(--pf-global--Color--100);
9149
- --pf-c-hint__title--FontSize: var(--pf-global--FontSize--lg);
9150
- --pf-c-hint__body--FontSize: var(--pf-global--FontSize--md);
9151
- --pf-c-hint__footer--child--MarginRight: var(--pf-global--spacer--md);
9152
- --pf-c-hint__actions--MarginLeft: var(--pf-global--spacer--2xl);
9153
- --pf-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
9154
- display: grid;
9155
- grid-template-columns: 1fr auto;
9156
- grid-row-gap: var(--pf-c-hint--GridRowGap);
9157
- padding: var(--pf-c-hint--PaddingTop) var(--pf-c-hint--PaddingRight) var(--pf-c-hint--PaddingBottom) var(--pf-c-hint--PaddingLeft);
9158
- color: var(--pf-c-hint--Color);
9159
- background-color: var(--pf-c-hint--BackgroundColor);
9160
- border: var(--pf-c-hint--BorderWidth) solid var(--pf-c-hint--BorderColor);
9161
- box-shadow: var(--pf-c-hint--BoxShadow);
9162
- }
9163
-
9164
- .pf-c-hint .pf-c-button.pf-m-link.pf-m-inline {
9165
- text-align: left;
9166
- white-space: normal;
9167
- }
9168
-
9169
- .pf-c-hint__actions {
9170
- display: inline-grid;
9171
- grid-auto-flow: column;
9172
- margin-left: var(--pf-c-hint__actions--MarginLeft);
9173
- text-align: right;
9174
- grid-column: 2;
9175
- grid-row: 1;
9176
- }
9177
-
9178
- .pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
9179
- margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
9180
- }
9181
-
9182
- .pf-c-hint__actions + .pf-c-hint__body {
9183
- grid-column: 1;
9184
- }
9185
-
9186
- .pf-c-hint__title {
9187
- font-size: var(--pf-c-hint__title--FontSize);
9188
- }
9189
-
9190
- .pf-c-hint__body {
9191
- grid-column: 1/-1;
9192
- font-size: var(--pf-c-hint__body--FontSize);
9193
- }
9194
-
9195
- .pf-c-hint__footer {
9196
- grid-column: 1/-1;
9197
- }
9198
-
9199
- .pf-c-hint__footer > :not(:last-child) {
9200
- margin-right: var(--pf-c-hint__footer--child--MarginRight);
9201
- }
9202
-
9203
- :where(.pf-theme-dark) .pf-c-hint {
9204
- --pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
9205
- --pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
9206
- }
9207
-
9208
9138
  .pf-c-input-group {
9209
9139
  --pf-global--Color--100: var(--pf-global--Color--dark-100);
9210
9140
  --pf-global--Color--200: var(--pf-global--Color--dark-200);
@@ -9307,6 +9237,76 @@ label.pf-c-input-group__text {
9307
9237
  --pf-c-input-group__text--BackgroundColor: transparent;
9308
9238
  }
9309
9239
 
9240
+ .pf-c-hint {
9241
+ --pf-c-hint--GridRowGap: var(--pf-global--spacer--md);
9242
+ --pf-c-hint--PaddingTop: var(--pf-global--spacer--lg);
9243
+ --pf-c-hint--PaddingRight: var(--pf-global--spacer--lg);
9244
+ --pf-c-hint--PaddingBottom: var(--pf-global--spacer--lg);
9245
+ --pf-c-hint--PaddingLeft: var(--pf-global--spacer--lg);
9246
+ --pf-c-hint--BackgroundColor: var(--pf-global--palette--blue-50);
9247
+ --pf-c-hint--BorderColor: var(--pf-global--palette--blue-100);
9248
+ --pf-c-hint--BorderWidth: var(--pf-global--BorderWidth--sm);
9249
+ --pf-c-hint--BoxShadow: var(--pf-global--BoxShadow--sm);
9250
+ --pf-c-hint--Color: var(--pf-global--Color--100);
9251
+ --pf-c-hint__title--FontSize: var(--pf-global--FontSize--lg);
9252
+ --pf-c-hint__body--FontSize: var(--pf-global--FontSize--md);
9253
+ --pf-c-hint__footer--child--MarginRight: var(--pf-global--spacer--md);
9254
+ --pf-c-hint__actions--MarginLeft: var(--pf-global--spacer--2xl);
9255
+ --pf-c-hint__actions--c-dropdown--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
9256
+ display: grid;
9257
+ grid-template-columns: 1fr auto;
9258
+ grid-row-gap: var(--pf-c-hint--GridRowGap);
9259
+ padding: var(--pf-c-hint--PaddingTop) var(--pf-c-hint--PaddingRight) var(--pf-c-hint--PaddingBottom) var(--pf-c-hint--PaddingLeft);
9260
+ color: var(--pf-c-hint--Color);
9261
+ background-color: var(--pf-c-hint--BackgroundColor);
9262
+ border: var(--pf-c-hint--BorderWidth) solid var(--pf-c-hint--BorderColor);
9263
+ box-shadow: var(--pf-c-hint--BoxShadow);
9264
+ }
9265
+
9266
+ .pf-c-hint .pf-c-button.pf-m-link.pf-m-inline {
9267
+ text-align: left;
9268
+ white-space: normal;
9269
+ }
9270
+
9271
+ .pf-c-hint__actions {
9272
+ display: inline-grid;
9273
+ grid-auto-flow: column;
9274
+ margin-left: var(--pf-c-hint__actions--MarginLeft);
9275
+ text-align: right;
9276
+ grid-column: 2;
9277
+ grid-row: 1;
9278
+ }
9279
+
9280
+ .pf-c-hint__actions .pf-c-dropdown .pf-c-dropdown__toggle.pf-m-plain {
9281
+ margin-top: var(--pf-c-hint__actions--c-dropdown--MarginTop);
9282
+ }
9283
+
9284
+ .pf-c-hint__actions + .pf-c-hint__body {
9285
+ grid-column: 1;
9286
+ }
9287
+
9288
+ .pf-c-hint__title {
9289
+ font-size: var(--pf-c-hint__title--FontSize);
9290
+ }
9291
+
9292
+ .pf-c-hint__body {
9293
+ grid-column: 1/-1;
9294
+ font-size: var(--pf-c-hint__body--FontSize);
9295
+ }
9296
+
9297
+ .pf-c-hint__footer {
9298
+ grid-column: 1/-1;
9299
+ }
9300
+
9301
+ .pf-c-hint__footer > :not(:last-child) {
9302
+ margin-right: var(--pf-c-hint__footer--child--MarginRight);
9303
+ }
9304
+
9305
+ :where(.pf-theme-dark) .pf-c-hint {
9306
+ --pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
9307
+ --pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
9308
+ }
9309
+
9310
9310
  .pf-c-jump-links {
9311
9311
  --pf-c-jump-links__list--Display: flex;
9312
9312
  --pf-c-jump-links__list--Visibility: visible;