@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.
- package/components/Popover/popover.css +21 -24
- package/components/Popover/popover.scss +25 -32
- package/docs/components/LogViewer/examples/LogViewer.md +10 -4
- package/docs/components/Popover/examples/Popover.md +175 -104
- package/docs/demos/Card/examples/Card.md +17 -11
- package/package.json +1 -1
- package/patternfly-no-reset.css +21 -24
- package/patternfly.css +21 -24
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -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
|
-
<
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
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
package/patternfly-no-reset.css
CHANGED
|
@@ -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-
|
|
23021
|
-
--pf-c-
|
|
23022
|
-
--pf-c-
|
|
23023
|
-
--pf-c-
|
|
23024
|
-
--pf-c-
|
|
23025
|
-
--pf-c-popover__title--
|
|
23026
|
-
--pf-c-popover__title--
|
|
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
|
-
|
|
23109
|
-
|
|
23110
|
-
}
|
|
23111
|
-
.pf-c-popover__content > .pf-c-button {
|
|
23106
|
+
|
|
23107
|
+
.pf-c-popover__close {
|
|
23112
23108
|
position: absolute;
|
|
23113
|
-
top: var(--pf-c-
|
|
23114
|
-
right: var(--pf-c-
|
|
23109
|
+
top: var(--pf-c-popover__close--Top);
|
|
23110
|
+
right: var(--pf-c-popover__close--Right);
|
|
23115
23111
|
}
|
|
23116
|
-
.pf-c-
|
|
23117
|
-
padding-right: var(--pf-c-
|
|
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-
|
|
23130
|
-
|
|
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
|
-
|
|
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-
|
|
23144
|
-
--pf-c-
|
|
23145
|
-
--pf-c-
|
|
23146
|
-
--pf-c-
|
|
23147
|
-
--pf-c-
|
|
23148
|
-
--pf-c-popover__title--
|
|
23149
|
-
--pf-c-popover__title--
|
|
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
|
-
|
|
23232
|
-
|
|
23233
|
-
}
|
|
23234
|
-
.pf-c-popover__content > .pf-c-button {
|
|
23229
|
+
|
|
23230
|
+
.pf-c-popover__close {
|
|
23235
23231
|
position: absolute;
|
|
23236
|
-
top: var(--pf-c-
|
|
23237
|
-
right: var(--pf-c-
|
|
23232
|
+
top: var(--pf-c-popover__close--Top);
|
|
23233
|
+
right: var(--pf-c-popover__close--Right);
|
|
23238
23234
|
}
|
|
23239
|
-
.pf-c-
|
|
23240
|
-
padding-right: var(--pf-c-
|
|
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-
|
|
23253
|
-
|
|
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
|
-
|
|
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
|
|