@rh-support/cases 1.0.38 → 1.0.40

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.
@@ -467,109 +467,75 @@
467
467
  .filter-group .pf-c-select__toggle {
468
468
  --pf-c-select__toggle-text--Color: var(--pf-c-select__toggle--m-placeholder__toggle-text--Color) !important;
469
469
  }
470
- @media (min-width: 770px) {
471
- /* Checkbox Header */
472
- .case-list-table thead > tr > :nth-child(1) {
473
- position: sticky;
474
- background-color: white;
475
- left: 0px;
476
- z-index: 1;
477
- }
478
470
 
479
- /* Checkbox Body */
471
+ @media (min-width: 770px) {
472
+ /* Checkbox */
473
+ .case-list-table thead > tr > :nth-child(1),
480
474
  .case-list-table tbody > tr > :nth-child(1) {
481
475
  position: sticky;
482
476
  background-color: white;
483
477
  left: 0px;
484
478
  z-index: 1;
479
+ background-clip: padding-box;
485
480
  }
486
481
 
487
482
  /* Case ID */
488
483
  .case-list-table tbody > tr > :nth-child(2) {
489
484
  position: sticky;
490
485
  background-color: white;
491
- left: 50px;
492
- z-index: 1;
493
- }
494
-
495
- /* Issue Summary */
496
- .case-list-table tbody > tr > :nth-child(3) {
497
- position: sticky;
498
- background-color: white;
499
- left: 150px;
486
+ left: 87px;
500
487
  z-index: 1;
488
+ background-clip: padding-box;
501
489
  }
502
490
 
503
491
  /* Case ID Header */
504
492
  th.pf-c-table__sort[data-label='Case ID'] {
505
- min-width: 120px;
506
- position: sticky;
507
- background-color: white;
508
- left: 50px;
509
- z-index: 1;
510
- }
511
-
512
- /* Issue Summary Header */
513
- th.pf-c-table__sort[data-label='Issue summary'] {
514
- min-width: 160px;
515
493
  position: sticky;
516
494
  background-color: white;
517
- left: 150px;
495
+ left: 87px;
518
496
  z-index: 1;
497
+ background-clip: padding-box;
519
498
  }
520
499
 
521
- /* Owner Header */
522
- th.pf-c-table__sort[data-label='Owner'] {
523
- min-width: 120px;
500
+ /* Vertical border to divide sticky columns and other columns*/
501
+ .case-list-table tbody > tr > :nth-child(2):before,
502
+ th.pf-c-table__sort[data-label='Case ID']:before {
503
+ position: absolute;
504
+ content: '';
505
+ top: 0px;
506
+ right: 0px;
507
+ height: 100%;
508
+ border-right: var(--pf-c-table--border-width--base) solid var(--pf-c-table--BorderColor);
524
509
  }
525
510
 
526
- /* Modified by Header */
527
- th.pf-c-table__sort[data-label='Modified by'] {
528
- min-width: 150px;
529
- }
530
-
531
- /* Severity Header */
532
- th.pf-c-table__sort[data-label='Severity'] {
533
- min-width: 120px;
534
- }
535
-
536
- /* Status Header */
537
- th.pf-c-table__sort[data-label='Status'] {
538
- min-width: 120px;
511
+ /* Issue Summary Header */
512
+ th.pf-c-table__sort[data-label='Issue summary'],
513
+ .case-list-table tbody > tr > :nth-child(3) {
514
+ min-width: 260px;
539
515
  }
540
516
 
541
- /* Created by Header */
542
- th.pf-c-table__sort[data-label='Created by'] {
543
- min-width: 150px;
517
+ th.pf-c-table__sort[data-label='Owner'],
518
+ th.pf-c-table__sort[data-label='Status'],
519
+ th.pf-c-table__sort[data-label='Group'] {
520
+ min-width: 140px;
544
521
  }
545
522
 
546
- /* Product and version Header */
547
- th.pf-m-width-15[data-label='Product and version'] {
523
+ th.pf-c-table__sort[data-label='Severity'],
524
+ th.pf-c-table__sort[data-label='Case ID'] {
548
525
  min-width: 150px;
549
526
  }
550
527
 
551
- /* Account number Header */
552
- th.pf-c-table__sort[data-label='Account number'] {
553
- min-width: 180px;
554
- }
555
-
556
- /* Alternate case ID Header */
528
+ th.pf-c-table__sort[data-label='Modified by'],
529
+ th.pf-c-table__sort[data-label='Created by'],
530
+ th.pf-m-width-15[data-label='Product and version'],
531
+ th.pf-c-table__sort[data-label='Account number'],
557
532
  th.pf-c-table__sort[data-label='Alternate case ID'] {
558
- min-width: 180px;
559
- }
560
-
561
- /* Case type Header */
562
- th.pf-c-table__sort[data-label='Case type'] {
563
- min-width: 140px;
564
- }
565
-
566
- /* Group Header */
567
- th.pf-c-table__sort[data-label='Group'] {
568
- min-width: 120px;
533
+ min-width: 220px;
569
534
  }
570
535
 
571
536
  /* Closed Date Header */
572
- th.pf-c-table__sort.pf-m-width-10[data-label='Closed date'] {
573
- min-width: 150px;
537
+ th.pf-c-table__sort.pf-m-width-10[data-label='Closed date'],
538
+ th.pf-c-table__sort[data-label='Case type'] {
539
+ min-width: 200px;
574
540
  }
575
541
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rh-support/cases",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -51,8 +51,8 @@
51
51
  "@patternfly/pfe-collapse": "1.12.3",
52
52
  "@patternfly/react-core": "4.264.0",
53
53
  "@patternfly/react-table": "4.111.33",
54
- "@rh-support/components": "1.2.20",
55
- "@rh-support/react-context": "1.0.28",
54
+ "@rh-support/components": "1.2.21",
55
+ "@rh-support/react-context": "1.0.29",
56
56
  "@rh-support/types": "0.2.0",
57
57
  "@rh-support/user-permissions": "1.0.11",
58
58
  "@rh-support/utils": "1.0.9",
@@ -99,5 +99,5 @@
99
99
  "not ie <= 11",
100
100
  "not op_mini all"
101
101
  ],
102
- "gitHead": "d2e4f224466f0bcc58e1ac159a687d40da7d3e21"
102
+ "gitHead": "3c326631e18b58f18b4d5c8095187c456a00f11b"
103
103
  }