@patternfly/patternfly 6.2.1 → 6.2.3
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/README.md +1 -1
- package/components/Card/card.css +0 -3
- package/components/Card/card.scss +0 -3
- package/components/Drawer/drawer.css +14 -28
- package/components/Drawer/drawer.scss +9 -28
- package/components/FormControl/form-control.css +2 -1
- package/components/FormControl/form-control.scss +5 -1
- package/components/Tabs/tabs.css +0 -65
- package/components/Tabs/tabs.scss +0 -77
- package/components/Truncate/truncate.css +0 -5
- package/components/Truncate/truncate.scss +0 -6
- package/components/_index.css +16 -101
- package/docs/components/Divider/examples/Divider.md +1 -1
- package/docs/components/Drawer/examples/Drawer.md +0 -4
- package/docs/components/Table/examples/Table.md +4 -4
- package/docs/components/Tabs/examples/Tabs.md +12 -6741
- package/docs/components/Truncate/examples/Truncate.md +10 -53
- package/docs/demos/Card/examples/Card.md +0 -57
- package/docs/demos/DescriptionList/examples/DescriptionList.md +0 -38
- package/docs/demos/Drawer/examples/Drawer.md +0 -38
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +0 -76
- package/docs/demos/Table/examples/Table.md +21 -41
- package/docs/demos/Tabs/examples/Tabs.md +0 -570
- package/package.json +6 -6
- package/patternfly-no-globals.css +16 -101
- package/patternfly.css +16 -101
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -6,18 +6,18 @@ cssPrefix: pf-v6-c-truncate
|
|
|
6
6
|
|
|
7
7
|
## Examples
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Notes
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
The truncate component contains two child elements, `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end`. If both `start` and `end` are present within `.pf-v6-c-truncate`, trucation will occur in the middle of the string. If only `.pf-v6-c-truncate__start` is present, truncation will occur at the end of the string. If only `.pf-v6-c-truncate__end` is present, truncation will occur at the beginning of the string. A `.pf-v6-c-popover` will be automatically applied to the PatternFly React implementation. `‎` must be included at the end of string to denote the ending punctuation mark. Otherwise it will occur and the beggining of truncation for a `pf-v6-c-truncate__end` element.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Default
|
|
14
14
|
|
|
15
15
|
```html
|
|
16
16
|
<div class="pf-v6-c-truncate--example">
|
|
17
17
|
<span class="pf-v6-c-truncate">
|
|
18
18
|
<span
|
|
19
19
|
class="pf-v6-c-truncate__start"
|
|
20
|
-
>
|
|
20
|
+
>Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.</span>
|
|
21
21
|
</span>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -25,15 +25,13 @@ When only the `.pf-v6-c-truncate__start` element is used, truncation will occur
|
|
|
25
25
|
|
|
26
26
|
### Middle
|
|
27
27
|
|
|
28
|
-
When both `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end` elements are used, truncation will occur between the strings that are in each respective element. As the parent container width changes, the point at which content within the `.pf-v6-c-truncate__start` element is truncated will also change.
|
|
29
|
-
|
|
30
28
|
```html
|
|
31
29
|
<div class="pf-v6-c-truncate--example">
|
|
32
30
|
<span class="pf-v6-c-truncate">
|
|
33
31
|
<span
|
|
34
32
|
class="pf-v6-c-truncate__start"
|
|
35
|
-
>
|
|
36
|
-
<span class="pf-v6-c-truncate__end">
|
|
33
|
+
>Vestibulum interdum risus et enim faucibus, </span>
|
|
34
|
+
<span class="pf-v6-c-truncate__end">sit amet molestie est accumsan.</span>
|
|
37
35
|
</span>
|
|
38
36
|
</div>
|
|
39
37
|
|
|
@@ -41,64 +39,23 @@ When both `.pf-v6-c-truncate__start` and `.pf-v6-c-truncate__end` elements are u
|
|
|
41
39
|
|
|
42
40
|
### Start
|
|
43
41
|
|
|
44
|
-
When only the `.pf-v6-c-truncate__end` element is used, truncation will occur at the start of the string. `‎` **must** be included at the end of a string to denote the ending punctuation mark, otherwise it will render at the start of the truncated content.
|
|
45
|
-
|
|
46
42
|
```html
|
|
47
43
|
<div class="pf-v6-c-truncate--example">
|
|
48
44
|
<span class="pf-v6-c-truncate">
|
|
49
45
|
<span
|
|
50
46
|
class="pf-v6-c-truncate__end"
|
|
51
|
-
>
|
|
47
|
+
>Vestibulum interdum risus et enim faucibus, sit amet molestie est accumsan.‎</span>
|
|
52
48
|
</span>
|
|
53
49
|
</div>
|
|
54
50
|
|
|
55
51
|
```
|
|
56
52
|
|
|
57
|
-
### Based on max characters
|
|
58
|
-
|
|
59
|
-
Apply the `.pf-m-fixed` class to the `.pf-v6-c-truncate` element to implement truncation based on a fixed amount of characters rather than a parent container width.
|
|
60
|
-
|
|
61
|
-
```html
|
|
62
|
-
<div>Truncated at end position:</div>
|
|
63
|
-
<span class="pf-v6-c-truncate pf-m-fixed">
|
|
64
|
-
<span
|
|
65
|
-
class="pf-v6-c-truncate__text"
|
|
66
|
-
>redhat_logo_black_and_white_reversed_simple_with_</span>
|
|
67
|
-
<span class="pf-v6-c-truncate__omission" aria-hidden="true">…</span>
|
|
68
|
-
<span class="pf-v6-screen-reader">fedora_container.zip</span>
|
|
69
|
-
</span>
|
|
70
|
-
<br />
|
|
71
|
-
<br />
|
|
72
|
-
<div>Truncated at middle position:</div>
|
|
73
|
-
<span class="pf-v6-c-truncate pf-m-fixed">
|
|
74
|
-
<span class="pf-v6-c-truncate__text">redhat_logo_black_and_</span>
|
|
75
|
-
<span class="pf-v6-screen-reader">white_reversed_simple_with_</span>
|
|
76
|
-
|
|
77
|
-
<span class="pf-v6-c-truncate__omission" aria-hidden="true">…</span>
|
|
78
|
-
<span class="pf-v6-c-truncate__text">fedora_container.zip</span>
|
|
79
|
-
</span>
|
|
80
|
-
<br />
|
|
81
|
-
<br />
|
|
82
|
-
<div>Truncated at start position:</div>
|
|
83
|
-
<span class="pf-v6-c-truncate pf-m-fixed">
|
|
84
|
-
<span class="pf-v6-screen-reader">redhat_logo_black_</span>
|
|
85
|
-
|
|
86
|
-
<span class="pf-v6-c-truncate__omission" aria-hidden="true">…</span>
|
|
87
|
-
<span
|
|
88
|
-
class="pf-v6-c-truncate__text"
|
|
89
|
-
>and_white_reversed_simple_with_fedora_container.zip</span>
|
|
90
|
-
</span>
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
|
|
94
53
|
## Documentation
|
|
95
54
|
|
|
96
55
|
### Usage
|
|
97
56
|
|
|
98
57
|
| Class | Applied | Outcome |
|
|
99
58
|
| -- | -- | -- |
|
|
100
|
-
| `.pf-v6-c-truncate` | `<span>` | Initiates the truncate component.
|
|
101
|
-
| `.pf-v6-c-truncate__start` | `<span>` | Defines the truncate component starting text.
|
|
102
|
-
| `.pf-v6-c-truncate__end` | `<span>` | Defines the truncate component ending text.
|
|
103
|
-
| `.pf-v6-c-truncate__text` | `<span>` | Defines the visible truncate component text. **Required** and should only be used when the `.pf-m-fixed` class is applied to the `.pf-v6-c-truncate` element. |
|
|
104
|
-
| `.pf-m-fixed` | `.pf-v6-c-truncate` | Modifies the truncate component to base truncation on a fixed amount of characters rather than container width. |
|
|
59
|
+
| `.pf-v6-c-truncate` | `<span>` | Initiates the truncate component. |
|
|
60
|
+
| `.pf-v6-c-truncate__start` | `<span>` | Defines the truncate component starting text. |
|
|
61
|
+
| `.pf-v6-c-truncate__end` | `<span>` | Defines the truncate component ending text. |
|
|
@@ -723,25 +723,6 @@ wrapperTag: div
|
|
|
723
723
|
<button
|
|
724
724
|
type="button"
|
|
725
725
|
class="pf-v6-c-tabs__link"
|
|
726
|
-
onclick="
|
|
727
|
-
event.preventDefault();
|
|
728
|
-
((e) => {
|
|
729
|
-
const el = this,
|
|
730
|
-
li = this.closest('li'),
|
|
731
|
-
ul = this.closest('ul'),
|
|
732
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
733
|
-
left = Math.round(li.offsetLeft),
|
|
734
|
-
top = Math.round(li.offsetTop),
|
|
735
|
-
width = Math.round(li.offsetWidth),
|
|
736
|
-
height = Math.round(li.offsetHeight);
|
|
737
|
-
|
|
738
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
739
|
-
el.classList.remove('pf-m-current')});
|
|
740
|
-
li.classList.add('pf-m-current');
|
|
741
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
742
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
743
|
-
}
|
|
744
|
-
)()"
|
|
745
726
|
role="tab"
|
|
746
727
|
id="status-tabs-object-1-link"
|
|
747
728
|
>
|
|
@@ -752,25 +733,6 @@ wrapperTag: div
|
|
|
752
733
|
<button
|
|
753
734
|
type="button"
|
|
754
735
|
class="pf-v6-c-tabs__link"
|
|
755
|
-
onclick="
|
|
756
|
-
event.preventDefault();
|
|
757
|
-
((e) => {
|
|
758
|
-
const el = this,
|
|
759
|
-
li = this.closest('li'),
|
|
760
|
-
ul = this.closest('ul'),
|
|
761
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
762
|
-
left = Math.round(li.offsetLeft),
|
|
763
|
-
top = Math.round(li.offsetTop),
|
|
764
|
-
width = Math.round(li.offsetWidth),
|
|
765
|
-
height = Math.round(li.offsetHeight);
|
|
766
|
-
|
|
767
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
768
|
-
el.classList.remove('pf-m-current')});
|
|
769
|
-
li.classList.add('pf-m-current');
|
|
770
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
771
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
772
|
-
}
|
|
773
|
-
)()"
|
|
774
736
|
role="tab"
|
|
775
737
|
id="status-tabs-object-2-link"
|
|
776
738
|
>
|
|
@@ -781,25 +743,6 @@ wrapperTag: div
|
|
|
781
743
|
<button
|
|
782
744
|
type="button"
|
|
783
745
|
class="pf-v6-c-tabs__link"
|
|
784
|
-
onclick="
|
|
785
|
-
event.preventDefault();
|
|
786
|
-
((e) => {
|
|
787
|
-
const el = this,
|
|
788
|
-
li = this.closest('li'),
|
|
789
|
-
ul = this.closest('ul'),
|
|
790
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
791
|
-
left = Math.round(li.offsetLeft),
|
|
792
|
-
top = Math.round(li.offsetTop),
|
|
793
|
-
width = Math.round(li.offsetWidth),
|
|
794
|
-
height = Math.round(li.offsetHeight);
|
|
795
|
-
|
|
796
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
797
|
-
el.classList.remove('pf-m-current')});
|
|
798
|
-
li.classList.add('pf-m-current');
|
|
799
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
800
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
801
|
-
}
|
|
802
|
-
)()"
|
|
803
746
|
role="tab"
|
|
804
747
|
id="status-tabs-object-3-link"
|
|
805
748
|
>
|
|
@@ -736,25 +736,6 @@ cssPrefix: pf-d-description-list
|
|
|
736
736
|
<button
|
|
737
737
|
type="button"
|
|
738
738
|
class="pf-v6-c-tabs__link"
|
|
739
|
-
onclick="
|
|
740
|
-
event.preventDefault();
|
|
741
|
-
((e) => {
|
|
742
|
-
const el = this,
|
|
743
|
-
li = this.closest('li'),
|
|
744
|
-
ul = this.closest('ul'),
|
|
745
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
746
|
-
left = Math.round(li.offsetLeft),
|
|
747
|
-
top = Math.round(li.offsetTop),
|
|
748
|
-
width = Math.round(li.offsetWidth),
|
|
749
|
-
height = Math.round(li.offsetHeight);
|
|
750
|
-
|
|
751
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
752
|
-
el.classList.remove('pf-m-current')});
|
|
753
|
-
li.classList.add('pf-m-current');
|
|
754
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
755
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
756
|
-
}
|
|
757
|
-
)()"
|
|
758
739
|
role="tab"
|
|
759
740
|
id="description-list-in-drawer-example-panel-tabs-tab1-link"
|
|
760
741
|
>
|
|
@@ -765,25 +746,6 @@ cssPrefix: pf-d-description-list
|
|
|
765
746
|
<button
|
|
766
747
|
type="button"
|
|
767
748
|
class="pf-v6-c-tabs__link"
|
|
768
|
-
onclick="
|
|
769
|
-
event.preventDefault();
|
|
770
|
-
((e) => {
|
|
771
|
-
const el = this,
|
|
772
|
-
li = this.closest('li'),
|
|
773
|
-
ul = this.closest('ul'),
|
|
774
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
775
|
-
left = Math.round(li.offsetLeft),
|
|
776
|
-
top = Math.round(li.offsetTop),
|
|
777
|
-
width = Math.round(li.offsetWidth),
|
|
778
|
-
height = Math.round(li.offsetHeight);
|
|
779
|
-
|
|
780
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
781
|
-
el.classList.remove('pf-m-current')});
|
|
782
|
-
li.classList.add('pf-m-current');
|
|
783
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
784
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
785
|
-
}
|
|
786
|
-
)()"
|
|
787
749
|
role="tab"
|
|
788
750
|
id="description-list-in-drawer-example-panel-tabs-tab2-link"
|
|
789
751
|
>
|
|
@@ -369,25 +369,6 @@ wrapperTag: div
|
|
|
369
369
|
<button
|
|
370
370
|
type="button"
|
|
371
371
|
class="pf-v6-c-tabs__link"
|
|
372
|
-
onclick="
|
|
373
|
-
event.preventDefault();
|
|
374
|
-
((e) => {
|
|
375
|
-
const el = this,
|
|
376
|
-
li = this.closest('li'),
|
|
377
|
-
ul = this.closest('ul'),
|
|
378
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
379
|
-
left = Math.round(li.offsetLeft),
|
|
380
|
-
top = Math.round(li.offsetTop),
|
|
381
|
-
width = Math.round(li.offsetWidth),
|
|
382
|
-
height = Math.round(li.offsetHeight);
|
|
383
|
-
|
|
384
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
385
|
-
el.classList.remove('pf-m-current')});
|
|
386
|
-
li.classList.add('pf-m-current');
|
|
387
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
388
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
389
|
-
}
|
|
390
|
-
)()"
|
|
391
372
|
role="tab"
|
|
392
373
|
id="drawer-collapsed-example-panel-tabs-tab1-link"
|
|
393
374
|
>
|
|
@@ -398,25 +379,6 @@ wrapperTag: div
|
|
|
398
379
|
<button
|
|
399
380
|
type="button"
|
|
400
381
|
class="pf-v6-c-tabs__link"
|
|
401
|
-
onclick="
|
|
402
|
-
event.preventDefault();
|
|
403
|
-
((e) => {
|
|
404
|
-
const el = this,
|
|
405
|
-
li = this.closest('li'),
|
|
406
|
-
ul = this.closest('ul'),
|
|
407
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
408
|
-
left = Math.round(li.offsetLeft),
|
|
409
|
-
top = Math.round(li.offsetTop),
|
|
410
|
-
width = Math.round(li.offsetWidth),
|
|
411
|
-
height = Math.round(li.offsetHeight);
|
|
412
|
-
|
|
413
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
414
|
-
el.classList.remove('pf-m-current')});
|
|
415
|
-
li.classList.add('pf-m-current');
|
|
416
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
417
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
418
|
-
}
|
|
419
|
-
)()"
|
|
420
382
|
role="tab"
|
|
421
383
|
id="drawer-collapsed-example-panel-tabs-tab2-link"
|
|
422
384
|
>
|
|
@@ -1001,25 +1001,6 @@ wrapperTag: div
|
|
|
1001
1001
|
<button
|
|
1002
1002
|
type="button"
|
|
1003
1003
|
class="pf-v6-c-tabs__link"
|
|
1004
|
-
onclick="
|
|
1005
|
-
event.preventDefault();
|
|
1006
|
-
((e) => {
|
|
1007
|
-
const el = this,
|
|
1008
|
-
li = this.closest('li'),
|
|
1009
|
-
ul = this.closest('ul'),
|
|
1010
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
1011
|
-
left = Math.round(li.offsetLeft),
|
|
1012
|
-
top = Math.round(li.offsetTop),
|
|
1013
|
-
width = Math.round(li.offsetWidth),
|
|
1014
|
-
height = Math.round(li.offsetHeight);
|
|
1015
|
-
|
|
1016
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
1017
|
-
el.classList.remove('pf-m-current')});
|
|
1018
|
-
li.classList.add('pf-m-current');
|
|
1019
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
1020
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
1021
|
-
}
|
|
1022
|
-
)()"
|
|
1023
1004
|
role="tab"
|
|
1024
1005
|
aria-controls="primary-detail-expanded-example-drawer-tabs-tab1-panel"
|
|
1025
1006
|
id="primary-detail-expanded-example-drawer-tabs-tab1-link"
|
|
@@ -1031,25 +1012,6 @@ wrapperTag: div
|
|
|
1031
1012
|
<button
|
|
1032
1013
|
type="button"
|
|
1033
1014
|
class="pf-v6-c-tabs__link"
|
|
1034
|
-
onclick="
|
|
1035
|
-
event.preventDefault();
|
|
1036
|
-
((e) => {
|
|
1037
|
-
const el = this,
|
|
1038
|
-
li = this.closest('li'),
|
|
1039
|
-
ul = this.closest('ul'),
|
|
1040
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
1041
|
-
left = Math.round(li.offsetLeft),
|
|
1042
|
-
top = Math.round(li.offsetTop),
|
|
1043
|
-
width = Math.round(li.offsetWidth),
|
|
1044
|
-
height = Math.round(li.offsetHeight);
|
|
1045
|
-
|
|
1046
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
1047
|
-
el.classList.remove('pf-m-current')});
|
|
1048
|
-
li.classList.add('pf-m-current');
|
|
1049
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
1050
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
1051
|
-
}
|
|
1052
|
-
)()"
|
|
1053
1015
|
role="tab"
|
|
1054
1016
|
aria-controls="primary-detail-expanded-example-drawer-tabs-tab2-panel"
|
|
1055
1017
|
id="primary-detail-expanded-example-drawer-tabs-tab2-link"
|
|
@@ -6276,25 +6238,6 @@ wrapperTag: div
|
|
|
6276
6238
|
<button
|
|
6277
6239
|
type="button"
|
|
6278
6240
|
class="pf-v6-c-tabs__link"
|
|
6279
|
-
onclick="
|
|
6280
|
-
event.preventDefault();
|
|
6281
|
-
((e) => {
|
|
6282
|
-
const el = this,
|
|
6283
|
-
li = this.closest('li'),
|
|
6284
|
-
ul = this.closest('ul'),
|
|
6285
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
6286
|
-
left = Math.round(li.offsetLeft),
|
|
6287
|
-
top = Math.round(li.offsetTop),
|
|
6288
|
-
width = Math.round(li.offsetWidth),
|
|
6289
|
-
height = Math.round(li.offsetHeight);
|
|
6290
|
-
|
|
6291
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
6292
|
-
el.classList.remove('pf-m-current')});
|
|
6293
|
-
li.classList.add('pf-m-current');
|
|
6294
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
6295
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
6296
|
-
}
|
|
6297
|
-
)()"
|
|
6298
6241
|
role="tab"
|
|
6299
6242
|
aria-controls="primary-detail-inline-modifier-example-drawer-tabs-tab1-panel"
|
|
6300
6243
|
id="primary-detail-inline-modifier-example-drawer-tabs-tab1-link"
|
|
@@ -6306,25 +6249,6 @@ wrapperTag: div
|
|
|
6306
6249
|
<button
|
|
6307
6250
|
type="button"
|
|
6308
6251
|
class="pf-v6-c-tabs__link"
|
|
6309
|
-
onclick="
|
|
6310
|
-
event.preventDefault();
|
|
6311
|
-
((e) => {
|
|
6312
|
-
const el = this,
|
|
6313
|
-
li = this.closest('li'),
|
|
6314
|
-
ul = this.closest('ul'),
|
|
6315
|
-
tabs = this.closest('.pf-v6-c-tabs'),
|
|
6316
|
-
left = Math.round(li.offsetLeft),
|
|
6317
|
-
top = Math.round(li.offsetTop),
|
|
6318
|
-
width = Math.round(li.offsetWidth),
|
|
6319
|
-
height = Math.round(li.offsetHeight);
|
|
6320
|
-
|
|
6321
|
-
ul.querySelectorAll('li').forEach(function(el) {
|
|
6322
|
-
el.classList.remove('pf-m-current')});
|
|
6323
|
-
li.classList.add('pf-m-current');
|
|
6324
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--start', left + 'px');
|
|
6325
|
-
tabs.style.setProperty('--pf-v6-c-tabs--link-accent--length', width + 'px');
|
|
6326
|
-
}
|
|
6327
|
-
)()"
|
|
6328
6252
|
role="tab"
|
|
6329
6253
|
aria-controls="primary-detail-inline-modifier-example-drawer-tabs-tab2-panel"
|
|
6330
6254
|
id="primary-detail-inline-modifier-example-drawer-tabs-tab2-link"
|
|
@@ -2609,7 +2609,7 @@ wrapperTag: div
|
|
|
2609
2609
|
class="pf-v6-c-button pf-m-plain"
|
|
2610
2610
|
id="expandable-demo-table-expandable-toggle-thead"
|
|
2611
2611
|
type="button"
|
|
2612
|
-
aria-controls="expandable-demo-table-content-
|
|
2612
|
+
aria-controls="expandable-demo-table-content-thead"
|
|
2613
2613
|
aria-labelledby="expandable-demo-table-node-thead"
|
|
2614
2614
|
aria-label="Toggle all rows"
|
|
2615
2615
|
>
|
|
@@ -2790,7 +2790,7 @@ wrapperTag: div
|
|
|
2790
2790
|
class="pf-v6-c-table__td"
|
|
2791
2791
|
role="cell"
|
|
2792
2792
|
colspan="7"
|
|
2793
|
-
id="expandable-demo-table-
|
|
2793
|
+
id="expandable-demo-table-content1"
|
|
2794
2794
|
>
|
|
2795
2795
|
<div class="pf-v6-c-table__expandable-row-content">
|
|
2796
2796
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
|
@@ -2810,19 +2810,14 @@ wrapperTag: div
|
|
|
2810
2810
|
|
|
2811
2811
|
<tbody class="pf-v6-c-table__tbody pf-m-expanded" role="rowgroup">
|
|
2812
2812
|
<tr class="pf-v6-c-table__tr pf-m-expanded" role="row">
|
|
2813
|
-
<td
|
|
2814
|
-
class="pf-v6-c-table__td pf-v6-c-table__toggle"
|
|
2815
|
-
aria-label="Row expansion"
|
|
2816
|
-
>
|
|
2813
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__toggle" role="cell">
|
|
2817
2814
|
<button
|
|
2818
2815
|
class="pf-v6-c-button pf-m-expanded pf-m-plain"
|
|
2819
|
-
id="expandable-demo-table-expandable-toggle-
|
|
2816
|
+
id="expandable-demo-table-expandable-toggle-3"
|
|
2820
2817
|
type="button"
|
|
2821
2818
|
aria-expanded="true"
|
|
2822
|
-
aria-
|
|
2823
|
-
aria-labelledby="expandable-demo-table-node-2"
|
|
2819
|
+
aria-labelledby="expandable-demo-table-node-3 expandable-demo-table-expandable-toggle-3"
|
|
2824
2820
|
aria-label="Toggle row"
|
|
2825
|
-
aria-describedby="true"
|
|
2826
2821
|
>
|
|
2827
2822
|
<span class="pf-v6-c-button__icon">
|
|
2828
2823
|
<div class="pf-v6-c-table__toggle-icon">
|
|
@@ -2831,7 +2826,6 @@ wrapperTag: div
|
|
|
2831
2826
|
</span>
|
|
2832
2827
|
</button>
|
|
2833
2828
|
</td>
|
|
2834
|
-
|
|
2835
2829
|
<td class="pf-v6-c-table__td pf-v6-c-table__check" role="cell">
|
|
2836
2830
|
<div class="pf-v6-c-check pf-m-standalone">
|
|
2837
2831
|
<input
|
|
@@ -2914,7 +2908,7 @@ wrapperTag: div
|
|
|
2914
2908
|
class="pf-v6-c-table__td"
|
|
2915
2909
|
role="cell"
|
|
2916
2910
|
colspan="5"
|
|
2917
|
-
id="expandable-demo-table-
|
|
2911
|
+
id="expandable-demo-table-content2"
|
|
2918
2912
|
>
|
|
2919
2913
|
<div class="pf-v6-c-table__expandable-row-content">
|
|
2920
2914
|
<div class="pf-v6-c-content">
|
|
@@ -2950,16 +2944,12 @@ wrapperTag: div
|
|
|
2950
2944
|
|
|
2951
2945
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
2952
2946
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
2953
|
-
<td
|
|
2954
|
-
class="pf-v6-c-table__td pf-v6-c-table__toggle"
|
|
2955
|
-
aria-label="Row expansion"
|
|
2956
|
-
>
|
|
2947
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__toggle" role="cell">
|
|
2957
2948
|
<button
|
|
2958
2949
|
class="pf-v6-c-button pf-m-plain"
|
|
2959
|
-
id="expandable-demo-table-expandable-toggle-
|
|
2950
|
+
id="expandable-demo-table-expandable-toggle-5"
|
|
2960
2951
|
type="button"
|
|
2961
|
-
aria-
|
|
2962
|
-
aria-labelledby="expandable-demo-table-node-3"
|
|
2952
|
+
aria-labelledby="expandable-demo-table-node-5 expandable-demo-table-expandable-toggle-5"
|
|
2963
2953
|
aria-label="Toggle row"
|
|
2964
2954
|
>
|
|
2965
2955
|
<span class="pf-v6-c-button__icon">
|
|
@@ -2969,7 +2959,6 @@ wrapperTag: div
|
|
|
2969
2959
|
</span>
|
|
2970
2960
|
</button>
|
|
2971
2961
|
</td>
|
|
2972
|
-
|
|
2973
2962
|
<td class="pf-v6-c-table__td pf-v6-c-table__check" role="cell">
|
|
2974
2963
|
<div class="pf-v6-c-check pf-m-standalone">
|
|
2975
2964
|
<input
|
|
@@ -3046,7 +3035,7 @@ wrapperTag: div
|
|
|
3046
3035
|
class="pf-v6-c-table__td"
|
|
3047
3036
|
role="cell"
|
|
3048
3037
|
colspan="9"
|
|
3049
|
-
id="expandable-demo-table-
|
|
3038
|
+
id="expandable-demo-table-content3"
|
|
3050
3039
|
>
|
|
3051
3040
|
<div class="pf-v6-c-table__expandable-row-content">
|
|
3052
3041
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
|
@@ -3062,16 +3051,12 @@ wrapperTag: div
|
|
|
3062
3051
|
|
|
3063
3052
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
3064
3053
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
3065
|
-
<td
|
|
3066
|
-
class="pf-v6-c-table__td pf-v6-c-table__toggle"
|
|
3067
|
-
aria-label="Row expansion"
|
|
3068
|
-
>
|
|
3054
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__toggle" role="cell">
|
|
3069
3055
|
<button
|
|
3070
3056
|
class="pf-v6-c-button pf-m-plain"
|
|
3071
|
-
id="expandable-demo-table-expandable-toggle-
|
|
3057
|
+
id="expandable-demo-table-expandable-toggle-7"
|
|
3072
3058
|
type="button"
|
|
3073
|
-
aria-
|
|
3074
|
-
aria-labelledby="expandable-demo-table-node-4"
|
|
3059
|
+
aria-labelledby="expandable-demo-table-node-7 expandable-demo-table-expandable-toggle-7"
|
|
3075
3060
|
aria-label="Toggle row"
|
|
3076
3061
|
>
|
|
3077
3062
|
<span class="pf-v6-c-button__icon">
|
|
@@ -3081,7 +3066,6 @@ wrapperTag: div
|
|
|
3081
3066
|
</span>
|
|
3082
3067
|
</button>
|
|
3083
3068
|
</td>
|
|
3084
|
-
|
|
3085
3069
|
<td class="pf-v6-c-table__td pf-v6-c-table__check" role="cell">
|
|
3086
3070
|
<div class="pf-v6-c-check pf-m-standalone">
|
|
3087
3071
|
<input
|
|
@@ -3158,7 +3142,7 @@ wrapperTag: div
|
|
|
3158
3142
|
class="pf-v6-c-table__td"
|
|
3159
3143
|
role="cell"
|
|
3160
3144
|
colspan="9"
|
|
3161
|
-
id="expandable-demo-table-
|
|
3145
|
+
id="expandable-demo-table-content4"
|
|
3162
3146
|
>
|
|
3163
3147
|
<div class="pf-v6-c-table__expandable-row-content">
|
|
3164
3148
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
|
@@ -3174,16 +3158,12 @@ wrapperTag: div
|
|
|
3174
3158
|
|
|
3175
3159
|
<tbody class="pf-v6-c-table__tbody" role="rowgroup">
|
|
3176
3160
|
<tr class="pf-v6-c-table__tr" role="row">
|
|
3177
|
-
<td
|
|
3178
|
-
class="pf-v6-c-table__td pf-v6-c-table__toggle"
|
|
3179
|
-
aria-label="Row expansion"
|
|
3180
|
-
>
|
|
3161
|
+
<td class="pf-v6-c-table__td pf-v6-c-table__toggle" role="cell">
|
|
3181
3162
|
<button
|
|
3182
3163
|
class="pf-v6-c-button pf-m-plain"
|
|
3183
|
-
id="expandable-demo-table-expandable-toggle-
|
|
3164
|
+
id="expandable-demo-table-expandable-toggle-9"
|
|
3184
3165
|
type="button"
|
|
3185
|
-
aria-
|
|
3186
|
-
aria-labelledby="expandable-demo-table-node-5"
|
|
3166
|
+
aria-labelledby="expandable-demo-table-node-9 expandable-demo-table-expandable-toggle-9"
|
|
3187
3167
|
aria-label="Toggle row"
|
|
3188
3168
|
>
|
|
3189
3169
|
<span class="pf-v6-c-button__icon">
|
|
@@ -3200,13 +3180,13 @@ wrapperTag: div
|
|
|
3200
3180
|
>
|
|
3201
3181
|
<label
|
|
3202
3182
|
class="pf-v6-c-check pf-m-standalone"
|
|
3203
|
-
for="expandable-demo-table-checkrow-
|
|
3183
|
+
for="expandable-demo-table-checkrow-9-check-input"
|
|
3204
3184
|
>
|
|
3205
3185
|
<input
|
|
3206
3186
|
class="pf-v6-c-check__input"
|
|
3207
3187
|
type="checkbox"
|
|
3208
|
-
id="expandable-demo-table-checkrow-
|
|
3209
|
-
name="expandable-demo-table-checkrow-
|
|
3188
|
+
id="expandable-demo-table-checkrow-9-check-input"
|
|
3189
|
+
name="expandable-demo-table-checkrow-9-check-input"
|
|
3210
3190
|
aria-label="Select row"
|
|
3211
3191
|
/>
|
|
3212
3192
|
</label>
|
|
@@ -3276,7 +3256,7 @@ wrapperTag: div
|
|
|
3276
3256
|
class="pf-v6-c-table__td"
|
|
3277
3257
|
role="cell"
|
|
3278
3258
|
colspan="9"
|
|
3279
|
-
id="expandable-demo-table-
|
|
3259
|
+
id="expandable-demo-table-content5"
|
|
3280
3260
|
>
|
|
3281
3261
|
<div class="pf-v6-c-table__expandable-row-content">
|
|
3282
3262
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|