@patternfly/patternfly 5.0.0-alpha.22 → 5.0.0-alpha.23

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.
@@ -1326,17 +1326,23 @@ wrapperTag: div
1326
1326
  >
1327
1327
  <div class="pf-c-popover__arrow"></div>
1328
1328
  <div class="pf-c-popover__content">
1329
- <button
1330
- class="pf-c-button pf-m-plain"
1331
- type="button"
1332
- aria-label="Close"
1333
- >
1334
- <i class="fas fa-times" aria-hidden="true"></i>
1335
- </button>
1336
- <h1
1337
- class="pf-c-title pf-m-md"
1338
- id="status-card-expanded-with-popover-example-popover-popover-right-header"
1339
- >Control Panel Status</h1>
1329
+ <div class="pf-c-popover__close">
1330
+ <button
1331
+ class="pf-c-button pf-m-plain"
1332
+ type="button"
1333
+ aria-label="Close"
1334
+ >
1335
+ <i class="fas fa-times" aria-hidden="true"></i>
1336
+ </button>
1337
+ </div>
1338
+ <header class="pf-c-popover__header">
1339
+ <div
1340
+ class="pf-c-popover__title"
1341
+ id="status-card-expanded-with-popover-example-popover-popover-right-header"
1342
+ >
1343
+ <h1 class="pf-c-popover__title-text">Control Panel Status</h1>
1344
+ </div>
1345
+ </header>
1340
1346
  <div
1341
1347
  class="pf-c-popover__body"
1342
1348
  id="status-card-expanded-with-popover-example-popover-popover-right-body"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/patternfly",
3
3
  "description": "Assets, source, tooling, and content for PatternFly 4",
4
- "version": "5.0.0-alpha.22",
4
+ "version": "5.0.0-alpha.23",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -23017,15 +23017,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23017
23017
  --pf-c-popover__arrow--m-left--TranslateX: 50%;
23018
23018
  --pf-c-popover__arrow--m-left--TranslateY: -50%;
23019
23019
  --pf-c-popover__arrow--m-left--Rotate: 45deg;
23020
- --pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
23021
- --pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
23022
- --pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
23023
- --pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
23024
- --pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
23025
- --pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
23026
- --pf-c-popover__title--LineHeight: var(--pf-global--LineHeight--md);
23027
- --pf-c-popover__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
23028
- --pf-c-popover__title--FontSize: var(--pf-global--FontSize--md);
23020
+ --pf-c-popover__close--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
23021
+ --pf-c-popover__close--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
23022
+ --pf-c-popover__close--sibling--PaddingRight: var(--pf-global--spacer--2xl);
23023
+ --pf-c-popover__header--MarginBottom: var(--pf-global--spacer--sm);
23024
+ --pf-c-popover__title-text--LineHeight: var(--pf-global--LineHeight--md);
23025
+ --pf-c-popover__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
23026
+ --pf-c-popover__title-text--FontSize: var(--pf-global--FontSize--md);
23029
23027
  --pf-c-popover__title-icon--MarginRight: var(--pf-global--spacer--sm);
23030
23028
  --pf-c-popover__title-icon--Color: var(--pf-global--Color--100);
23031
23029
  --pf-c-popover__footer--MarginTop: var(--pf-global--spacer--md);
@@ -23105,16 +23103,14 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23105
23103
  padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
23106
23104
  background-color: var(--pf-c-popover__content--BackgroundColor);
23107
23105
  }
23108
- .pf-c-popover__content > .pf-c-title {
23109
- margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
23110
- }
23111
- .pf-c-popover__content > .pf-c-button {
23106
+
23107
+ .pf-c-popover__close {
23112
23108
  position: absolute;
23113
- top: var(--pf-c-popover--c-button--Top);
23114
- right: var(--pf-c-popover--c-button--Right);
23109
+ top: var(--pf-c-popover__close--Top);
23110
+ right: var(--pf-c-popover__close--Right);
23115
23111
  }
23116
- .pf-c-popover__content > .pf-c-button + * {
23117
- padding-right: var(--pf-c-popover--c-button--sibling--PaddingRight);
23112
+ .pf-c-popover__close + * {
23113
+ padding-right: var(--pf-c-popover__close--sibling--PaddingRight);
23118
23114
  }
23119
23115
 
23120
23116
  .pf-c-popover__arrow {
@@ -23126,15 +23122,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23126
23122
  box-shadow: var(--pf-c-popover__arrow--BoxShadow);
23127
23123
  }
23128
23124
 
23129
- .pf-c-popover__title {
23130
- flex: 0 0 auto;
23131
- margin-bottom: var(--pf-c-popover__title--MarginBottom);
23132
- font-family: var(--pf-c-popover__title--FontFamily);
23133
- font-size: var(--pf-c-popover__title--FontSize);
23134
- line-height: var(--pf-c-popover__title--LineHeight);
23125
+ .pf-c-popover__header {
23126
+ margin-bottom: var(--pf-c-popover__header--MarginBottom);
23135
23127
  }
23136
- .pf-c-popover__title.pf-m-icon {
23128
+
23129
+ .pf-c-popover__title {
23137
23130
  display: flex;
23131
+ flex: 0 0 auto;
23138
23132
  }
23139
23133
 
23140
23134
  .pf-c-popover__title-icon {
@@ -23143,6 +23137,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23143
23137
  }
23144
23138
 
23145
23139
  .pf-c-popover__title-text {
23140
+ font-family: var(--pf-c-popover__title-text--FontFamily);
23141
+ font-size: var(--pf-c-popover__title-text--FontSize);
23142
+ line-height: var(--pf-c-popover__title-text--LineHeight);
23146
23143
  color: var(--pf-c-popover__title-text--Color, inherit);
23147
23144
  }
23148
23145
 
package/patternfly.css CHANGED
@@ -23140,15 +23140,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23140
23140
  --pf-c-popover__arrow--m-left--TranslateX: 50%;
23141
23141
  --pf-c-popover__arrow--m-left--TranslateY: -50%;
23142
23142
  --pf-c-popover__arrow--m-left--Rotate: 45deg;
23143
- --pf-c-popover--c-button--MarginLeft: var(--pf-global--spacer--sm);
23144
- --pf-c-popover--c-button--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
23145
- --pf-c-popover--c-button--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
23146
- --pf-c-popover--c-button--sibling--PaddingRight: var(--pf-global--spacer--2xl);
23147
- --pf-c-popover--c-title--MarginBottom: var(--pf-global--spacer--sm);
23148
- --pf-c-popover__title--MarginBottom: var(--pf-global--spacer--sm);
23149
- --pf-c-popover__title--LineHeight: var(--pf-global--LineHeight--md);
23150
- --pf-c-popover__title--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
23151
- --pf-c-popover__title--FontSize: var(--pf-global--FontSize--md);
23143
+ --pf-c-popover__close--Top: calc(var(--pf-c-popover__content--PaddingTop) - var(--pf-global--spacer--form-element));
23144
+ --pf-c-popover__close--Right: calc(var(--pf-c-popover__content--PaddingRight) - var(--pf-global--spacer--md));
23145
+ --pf-c-popover__close--sibling--PaddingRight: var(--pf-global--spacer--2xl);
23146
+ --pf-c-popover__header--MarginBottom: var(--pf-global--spacer--sm);
23147
+ --pf-c-popover__title-text--LineHeight: var(--pf-global--LineHeight--md);
23148
+ --pf-c-popover__title-text--FontFamily: var(--pf-global--FontFamily--heading--sans-serif);
23149
+ --pf-c-popover__title-text--FontSize: var(--pf-global--FontSize--md);
23152
23150
  --pf-c-popover__title-icon--MarginRight: var(--pf-global--spacer--sm);
23153
23151
  --pf-c-popover__title-icon--Color: var(--pf-global--Color--100);
23154
23152
  --pf-c-popover__footer--MarginTop: var(--pf-global--spacer--md);
@@ -23228,16 +23226,14 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23228
23226
  padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
23229
23227
  background-color: var(--pf-c-popover__content--BackgroundColor);
23230
23228
  }
23231
- .pf-c-popover__content > .pf-c-title {
23232
- margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
23233
- }
23234
- .pf-c-popover__content > .pf-c-button {
23229
+
23230
+ .pf-c-popover__close {
23235
23231
  position: absolute;
23236
- top: var(--pf-c-popover--c-button--Top);
23237
- right: var(--pf-c-popover--c-button--Right);
23232
+ top: var(--pf-c-popover__close--Top);
23233
+ right: var(--pf-c-popover__close--Right);
23238
23234
  }
23239
- .pf-c-popover__content > .pf-c-button + * {
23240
- padding-right: var(--pf-c-popover--c-button--sibling--PaddingRight);
23235
+ .pf-c-popover__close + * {
23236
+ padding-right: var(--pf-c-popover__close--sibling--PaddingRight);
23241
23237
  }
23242
23238
 
23243
23239
  .pf-c-popover__arrow {
@@ -23249,15 +23245,13 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23249
23245
  box-shadow: var(--pf-c-popover__arrow--BoxShadow);
23250
23246
  }
23251
23247
 
23252
- .pf-c-popover__title {
23253
- flex: 0 0 auto;
23254
- margin-bottom: var(--pf-c-popover__title--MarginBottom);
23255
- font-family: var(--pf-c-popover__title--FontFamily);
23256
- font-size: var(--pf-c-popover__title--FontSize);
23257
- line-height: var(--pf-c-popover__title--LineHeight);
23248
+ .pf-c-popover__header {
23249
+ margin-bottom: var(--pf-c-popover__header--MarginBottom);
23258
23250
  }
23259
- .pf-c-popover__title.pf-m-icon {
23251
+
23252
+ .pf-c-popover__title {
23260
23253
  display: flex;
23254
+ flex: 0 0 auto;
23261
23255
  }
23262
23256
 
23263
23257
  .pf-c-popover__title-icon {
@@ -23266,6 +23260,9 @@ label.pf-c-menu__item:where(:not([disabled], .pf-m-disabled)) {
23266
23260
  }
23267
23261
 
23268
23262
  .pf-c-popover__title-text {
23263
+ font-family: var(--pf-c-popover__title-text--FontFamily);
23264
+ font-size: var(--pf-c-popover__title-text--FontSize);
23265
+ line-height: var(--pf-c-popover__title-text--LineHeight);
23269
23266
  color: var(--pf-c-popover__title-text--Color, inherit);
23270
23267
  }
23271
23268