@patternfly/patternfly 6.2.0-prerelease.23 → 6.2.0-prerelease.24

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.
@@ -105,14 +105,14 @@
105
105
  transition: var(--pf-v6-c-alert-group--m-toast__item--c-alert--Transition);
106
106
  }
107
107
  }
108
- .pf-v6-c-alert-group__item.pf-m-offstage-top {
108
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child {
109
109
  grid-template-rows: 0fr;
110
110
  margin-block: 0;
111
111
  overflow: hidden;
112
112
  opacity: 0;
113
113
  transform: translateY(-100%);
114
114
  }
115
- .pf-v6-c-alert-group__item.pf-m-offstage-top .pf-v6-c-alert {
115
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child .pf-v6-c-alert {
116
116
  min-height: 0;
117
117
  padding-block-start: 0;
118
118
  padding-block-end: 0;
@@ -154,7 +154,8 @@
154
154
  }
155
155
 
156
156
  // This class is used BEFORE the alert item comes into the list
157
- &.pf-m-offstage-top {
157
+ // Only apply if the item is the first alert in the list (all new alerts should appear at the top)
158
+ &.pf-m-offstage-top:first-child {
158
159
  // make the item have no height and position it up above
159
160
  grid-template-rows: 0fr;
160
161
  margin-block: 0;
@@ -677,14 +677,14 @@
677
677
  transition: var(--pf-v6-c-alert-group--m-toast__item--c-alert--Transition);
678
678
  }
679
679
  }
680
- .pf-v6-c-alert-group__item.pf-m-offstage-top {
680
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child {
681
681
  grid-template-rows: 0fr;
682
682
  margin-block: 0;
683
683
  overflow: hidden;
684
684
  opacity: 0;
685
685
  transform: translateY(-100%);
686
686
  }
687
- .pf-v6-c-alert-group__item.pf-m-offstage-top .pf-v6-c-alert {
687
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child .pf-v6-c-alert {
688
688
  min-height: 0;
689
689
  padding-block-start: 0;
690
690
  padding-block-end: 0;
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": "6.2.0-prerelease.23",
4
+ "version": "6.2.0-prerelease.24",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -47,7 +47,7 @@
47
47
  "@commitlint/config-conventional": "^19.1.0",
48
48
  "@fortawesome/fontawesome": "^1.1.8",
49
49
  "@octokit/rest": "^20.1.0",
50
- "@patternfly/documentation-framework": "6.5.18",
50
+ "@patternfly/documentation-framework": "6.5.19",
51
51
  "@patternfly/patternfly-a11y": "5.0.0",
52
52
  "@patternfly/react-code-editor": "6.1.0",
53
53
  "@patternfly/react-core": "6.1.0",
@@ -8139,14 +8139,14 @@
8139
8139
  transition: var(--pf-v6-c-alert-group--m-toast__item--c-alert--Transition);
8140
8140
  }
8141
8141
  }
8142
- .pf-v6-c-alert-group__item.pf-m-offstage-top {
8142
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child {
8143
8143
  grid-template-rows: 0fr;
8144
8144
  margin-block: 0;
8145
8145
  overflow: hidden;
8146
8146
  opacity: 0;
8147
8147
  transform: translateY(-100%);
8148
8148
  }
8149
- .pf-v6-c-alert-group__item.pf-m-offstage-top .pf-v6-c-alert {
8149
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child .pf-v6-c-alert {
8150
8150
  min-height: 0;
8151
8151
  padding-block-start: 0;
8152
8152
  padding-block-end: 0;
package/patternfly.css CHANGED
@@ -8275,14 +8275,14 @@ button) {
8275
8275
  transition: var(--pf-v6-c-alert-group--m-toast__item--c-alert--Transition);
8276
8276
  }
8277
8277
  }
8278
- .pf-v6-c-alert-group__item.pf-m-offstage-top {
8278
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child {
8279
8279
  grid-template-rows: 0fr;
8280
8280
  margin-block: 0;
8281
8281
  overflow: hidden;
8282
8282
  opacity: 0;
8283
8283
  transform: translateY(-100%);
8284
8284
  }
8285
- .pf-v6-c-alert-group__item.pf-m-offstage-top .pf-v6-c-alert {
8285
+ .pf-v6-c-alert-group__item.pf-m-offstage-top:first-child .pf-v6-c-alert {
8286
8286
  min-height: 0;
8287
8287
  padding-block-start: 0;
8288
8288
  padding-block-end: 0;