@patternfly/patternfly 6.2.0-prerelease.20 → 6.2.0-prerelease.21

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.
@@ -39,6 +39,9 @@
39
39
  .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-block {
40
40
  display: block;
41
41
  }
42
+ .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate {
43
+ display: inline-flex;
44
+ }
42
45
 
43
46
  .pf-v6-c-clipboard-copy__group {
44
47
  display: flex;
@@ -55,6 +55,10 @@
55
55
  &.pf-m-block {
56
56
  display: block;
57
57
  }
58
+
59
+ &.pf-m-truncate {
60
+ display: inline-flex;
61
+ }
58
62
  }
59
63
  }
60
64
 
@@ -2781,6 +2781,9 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
2781
2781
  .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-block {
2782
2782
  display: block;
2783
2783
  }
2784
+ .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate {
2785
+ display: inline-flex;
2786
+ }
2784
2787
 
2785
2788
  .pf-v6-c-clipboard-copy__group {
2786
2789
  display: flex;
@@ -503,6 +503,34 @@ cssPrefix: pf-v6-c-clipboard-copy
503
503
 
504
504
  ```
505
505
 
506
+ ### Inline compact with truncation
507
+
508
+ ```html
509
+ <div class="pf-v6-c-clipboard-copy pf-m-inline pf-m-truncate">
510
+ <span class="pf-v6-c-clipboard-copy__text">
511
+ <span class="pf-v6-c-truncate">
512
+ <span
513
+ class="pf-v6-c-truncate__start"
514
+ >This lengthy, copyable content will be truncated with default settings when the truncation prop is simply set to true. This is useful for quickly applying truncation without needing to worry about any other properties to set.</span>
515
+ </span>
516
+ </span>
517
+ <span class="pf-v6-c-clipboard-copy__actions">
518
+ <span class="pf-v6-c-clipboard-copy__actions-item">
519
+ <button
520
+ class="pf-v6-c-button pf-m-no-padding pf-m-plain"
521
+ type="button"
522
+ aria-label="Copy to clipboard"
523
+ >
524
+ <span class="pf-v6-c-button__icon">
525
+ <i class="fas fa-copy" aria-hidden="true"></i>
526
+ </span>
527
+ </button>
528
+ </span>
529
+ </span>
530
+ </div>
531
+
532
+ ```
533
+
506
534
  ## Documentation
507
535
 
508
536
  ### Accessibility
@@ -529,6 +557,7 @@ cssPrefix: pf-v6-c-clipboard-copy
529
557
  | `.pf-v6-c-clipboard-copy__actions-item` | `<span>` | Initiates the inline copy clipboard actions item element. **Required** |
530
558
  | `.pf-m-inline` | `.pf-v6-c-clipboard-copy` | Modifies the clipboard copy component for inline styles. |
531
559
  | `.pf-m-block` | `.pf-v6-c-clipboard-copy.pf-m-inline` | Modifies the inline copy clipboard component to have block formatting. |
560
+ | `.pf-m-truncate` | `.pf-v6-c-clipboard-copy.pf-m-truncate` | Modifies the inline copy clipboard component for use with text used in trucate component. |
532
561
  | `.pf-m-expanded` | `.pf-v6-c-clipboard-copy` | Modifies the clipboard copy component for the expanded state. |
533
562
  | `.pf-m-expanded` | `.pf-v6-c-button.pf-m-control` | Modifies the control toggle button for the expanded state. |
534
563
  | `.pf-m-code` | `code.pf-v6-c-clipboard-copy__text` | Modifies the inline copy clipboard text styles for use with the `<code>` element. |
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.20",
4
+ "version": "6.2.0-prerelease.21",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -10243,6 +10243,9 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
10243
10243
  .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-block {
10244
10244
  display: block;
10245
10245
  }
10246
+ .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate {
10247
+ display: inline-flex;
10248
+ }
10246
10249
 
10247
10250
  .pf-v6-c-clipboard-copy__group {
10248
10251
  display: flex;
package/patternfly.css CHANGED
@@ -10379,6 +10379,9 @@ label.pf-v6-c-check, .pf-v6-c-check__label,
10379
10379
  .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-block {
10380
10380
  display: block;
10381
10381
  }
10382
+ .pf-v6-c-clipboard-copy.pf-m-inline.pf-m-truncate {
10383
+ display: inline-flex;
10384
+ }
10382
10385
 
10383
10386
  .pf-v6-c-clipboard-copy__group {
10384
10387
  display: flex;