@patternfly/patternfly 6.1.0-prerelease.3 → 6.1.0-prerelease.4

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.
@@ -3,8 +3,7 @@
3
3
  flex-wrap: wrap;
4
4
  min-height: 160px;
5
5
  }
6
- .ws-core-l-level .pf-v6-l-level__item,
7
- .ws-core-l-level .pf-v6-l-level {
6
+ .ws-core-l-level :is(.pf-v6-l-level, .pf-v6-l-level__item, .pf-v6-l-level > *) {
8
7
  padding: var(--pf-t--global--spacer--sm);
9
8
  border: var(--pf-t--global--border--width--box--default) dashed var(--pf-t--global--border--color--default);
10
9
  }
@@ -10,7 +10,11 @@ cssPrefix: pf-v6-l-level
10
10
 
11
11
  ```html
12
12
  <div class="pf-v6-l-level">
13
- <div class="pf-v6-l-level__item">content</div>
13
+ <div class="pf-v6-l-level__item">
14
+ content
15
+ <br />content
16
+ <br />content
17
+ </div>
14
18
  <div class="pf-v6-l-level__item">content</div>
15
19
  </div>
16
20
 
@@ -21,7 +25,11 @@ cssPrefix: pf-v6-l-level
21
25
  ```html
22
26
  <div class="pf-v6-l-level">
23
27
  <div class="pf-v6-l-level__item">content</div>
24
- <div class="pf-v6-l-level__item">content</div>
28
+ <div class="pf-v6-l-level__item">
29
+ content
30
+ <br />content
31
+ <br />content
32
+ </div>
25
33
  <div class="pf-v6-l-level__item">content</div>
26
34
  </div>
27
35
 
@@ -33,7 +41,11 @@ cssPrefix: pf-v6-l-level
33
41
  <div class="pf-v6-l-level pf-m-gutter">
34
42
  <div class="pf-v6-l-level__item">content with gutter</div>
35
43
  <div class="pf-v6-l-level__item">content with gutter</div>
36
- <div class="pf-v6-l-level__item">content with gutter</div>
44
+ <div class="pf-v6-l-level__item">
45
+ content
46
+ <br />content
47
+ <br />content
48
+ </div>
37
49
  </div>
38
50
 
39
51
  ```
@@ -1,5 +1,4 @@
1
- .ws-core-l-split .pf-v6-l-split,
2
- .ws-core-l-split .pf-v6-l-split__item {
1
+ .ws-core-l-split :is(.pf-v6-l-split, .pf-v6-l-split__item, .pf-v6-l-split > *) {
3
2
  padding: var(--pf-t--global--spacer--sm);
4
3
  border: var(--pf-t--global--border--width--box--default) dashed var(--pf-t--global--border--color--default);
5
4
  }
@@ -54,14 +54,14 @@ cssPrefix: pf-v6-l-split
54
54
 
55
55
  ### Overview
56
56
 
57
- The split layout is designed to position items horizontally, with one item filling the available horizontal space.
57
+ The split layout is designed to position items horizontally.
58
58
 
59
59
  ### Usage
60
60
 
61
61
  | Class | Applied to | Outcome |
62
62
  | -- | -- | -- |
63
- | `.pf-v6-l-split` | `<div>`, `<section>`, or `<article>` | Initiates the split layout. |
64
- | `.pf-v6-l-split__item` | `<div>` | Initiates a split item. **Required** |
63
+ | `.pf-v6-l-split` | `*` | Initiates the split layout. |
64
+ | `.pf-v6-l-split__item` | `*` | Initiates a split item. |
65
65
  | `.pf-m-gutter` | `.pf-v6-l-split` | Adds space between children by using the globally defined gutter value. |
66
66
  | `.pf-m-wrap` | `.pf-v6-l-split` | Sets the split layout to wrap. |
67
- | `.pf-m-fill` | `.pf-v6-l-split__item` | Specifies which item(s) should fill the avaiable horizontal space. |
67
+ | `.pf-m-fill` | `.pf-v6-l-split > *`, `.pf-v6-l-split__item` | Specifies which item(s) should fill the avaiable horizontal space. |
@@ -1,5 +1,4 @@
1
- .ws-core-l-stack .pf-v6-l-stack,
2
- .ws-core-l-stack .pf-v6-l-stack__item {
1
+ .ws-core-l-stack :is(.pf-v6-l-stack, .pf-v6-l-stack__item, .pf-v6-l-stack > *) {
3
2
  padding: var(--pf-t--global--spacer--sm);
4
3
  border: var(--pf-t--global--border--width--box--default) dashed var(--pf-t--global--border--color--default);
5
4
  }
@@ -32,13 +32,13 @@ cssPrefix: pf-v6-l-stack
32
32
 
33
33
  ### Overview
34
34
 
35
- The stack layout is designed to position items vertically, with one item filling the available vertical space.
35
+ The stack layout is designed to position items vertically.
36
36
 
37
37
  ### Usage
38
38
 
39
39
  | Class | Applied to | Outcome |
40
40
  | -- | -- | -- |
41
- | `.pf-v6-l-stack` | `<div>`, `<section>`, or `<article>` | Initiates the stack layout. |
42
- | `.pf-v6-l-stack__item` | `<div>` | Initiates a stack item. **Required** |
41
+ | `.pf-v6-l-stack` | `*` | Initiates the stack layout. |
42
+ | `.pf-v6-l-stack__item` | `*` | Initiates a stack item. |
43
43
  | `.pf-m-gutter` | `.pf-v6-l-stack` | Adds space between children by using the globally defined gutter value. |
44
- | `.pf-m-fill` | `.pf-v6-l-stack__item` | Specifies which item(s) should fill the avaiable vertical space. |
44
+ | `.pf-m-fill` | `.pf-v6-l-stack > *`, `.pf-v6-l-stack__item` | Specifies which item(s) should fill the avaiable vertical space. |
@@ -10,8 +10,7 @@
10
10
  .pf-v6-l-split.pf-m-wrap {
11
11
  flex-wrap: wrap;
12
12
  }
13
-
14
- .pf-v6-l-split__item.pf-m-fill {
13
+ .pf-v6-l-split__item.pf-m-fill, .pf-v6-l-split > .pf-m-fill {
15
14
  flex-grow: 1;
16
15
  }
17
16
 
@@ -12,10 +12,11 @@
12
12
  &.pf-m-wrap {
13
13
  flex-wrap: wrap; // make default in a breaking change release
14
14
  }
15
- }
16
15
 
17
- .#{$split}__item.pf-m-fill {
18
- flex-grow: 1;
16
+ @at-root .#{$split}__item.pf-m-fill,
17
+ & > .pf-m-fill {
18
+ flex-grow: 1;
19
+ }
19
20
  }
20
21
 
21
22
  .#{$split}.pf-m-gutter {
@@ -7,8 +7,7 @@
7
7
  flex-direction: column;
8
8
  height: 100%;
9
9
  }
10
-
11
- .pf-v6-l-stack__item.pf-m-fill {
10
+ .pf-v6-l-stack__item.pf-m-fill, .pf-v6-l-stack > .pf-m-fill {
12
11
  flex-grow: 1;
13
12
  }
14
13
 
@@ -8,10 +8,11 @@
8
8
  display: flex;
9
9
  flex-direction: column;
10
10
  height: 100%;
11
- }
12
11
 
13
- .#{$stack}__item.pf-m-fill {
14
- flex-grow: 1;
12
+ @at-root .#{$stack}__item.pf-m-fill,
13
+ & > .pf-m-fill {
14
+ flex-grow: 1;
15
+ }
15
16
  }
16
17
 
17
18
  .#{$stack}.pf-m-gutter {
@@ -3426,8 +3426,7 @@
3426
3426
  .pf-v6-l-split.pf-m-wrap {
3427
3427
  flex-wrap: wrap;
3428
3428
  }
3429
-
3430
- .pf-v6-l-split__item.pf-m-fill {
3429
+ .pf-v6-l-split__item.pf-m-fill, .pf-v6-l-split > .pf-m-fill {
3431
3430
  flex-grow: 1;
3432
3431
  }
3433
3432
 
@@ -3444,8 +3443,7 @@
3444
3443
  flex-direction: column;
3445
3444
  height: 100%;
3446
3445
  }
3447
-
3448
- .pf-v6-l-stack__item.pf-m-fill {
3446
+ .pf-v6-l-stack__item.pf-m-fill, .pf-v6-l-stack > .pf-m-fill {
3449
3447
  flex-grow: 1;
3450
3448
  }
3451
3449
 
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.1.0-prerelease.3",
4
+ "version": "6.1.0-prerelease.4",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -33242,8 +33242,7 @@ label.pf-v6-c-tree-view__node-text {
33242
33242
  .pf-v6-l-split.pf-m-wrap {
33243
33243
  flex-wrap: wrap;
33244
33244
  }
33245
-
33246
- .pf-v6-l-split__item.pf-m-fill {
33245
+ .pf-v6-l-split__item.pf-m-fill, .pf-v6-l-split > .pf-m-fill {
33247
33246
  flex-grow: 1;
33248
33247
  }
33249
33248
 
@@ -33260,8 +33259,7 @@ label.pf-v6-c-tree-view__node-text {
33260
33259
  flex-direction: column;
33261
33260
  height: 100%;
33262
33261
  }
33263
-
33264
- .pf-v6-l-stack__item.pf-m-fill {
33262
+ .pf-v6-l-stack__item.pf-m-fill, .pf-v6-l-stack > .pf-m-fill {
33265
33263
  flex-grow: 1;
33266
33264
  }
33267
33265
 
package/patternfly.css CHANGED
@@ -33378,8 +33378,7 @@ label.pf-v6-c-tree-view__node-text {
33378
33378
  .pf-v6-l-split.pf-m-wrap {
33379
33379
  flex-wrap: wrap;
33380
33380
  }
33381
-
33382
- .pf-v6-l-split__item.pf-m-fill {
33381
+ .pf-v6-l-split__item.pf-m-fill, .pf-v6-l-split > .pf-m-fill {
33383
33382
  flex-grow: 1;
33384
33383
  }
33385
33384
 
@@ -33396,8 +33395,7 @@ label.pf-v6-c-tree-view__node-text {
33396
33395
  flex-direction: column;
33397
33396
  height: 100%;
33398
33397
  }
33399
-
33400
- .pf-v6-l-stack__item.pf-m-fill {
33398
+ .pf-v6-l-stack__item.pf-m-fill, .pf-v6-l-stack > .pf-m-fill {
33401
33399
  flex-grow: 1;
33402
33400
  }
33403
33401