playbook_ui 14.23.0.pre.alpha.PLAY2329atstickypinnedborderbug9195 → 14.23.0.pre.alpha.PLAY2330removewalkthrough9176

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b96d3a0381d1287381a4e4710195c3de301ad5111d253b7696bcc924ee07d64b
4
- data.tar.gz: a7edecaa9a5b25b1ade245fcc75f676b81afba59a1854de383e21455a59cd457
3
+ metadata.gz: 02efd0660039e5a7b7feded3c762b0512229efd0969763d72c4dbb9ad6b67dfb
4
+ data.tar.gz: 17a35b1f152c7c57ec490d5eaddb4cebf2ee8216d8403d62e3d0dab6f3ba12f6
5
5
  SHA512:
6
- metadata.gz: 423154dcdaf011bd7a264a4d8c99a8c39325369b06f1ff532b8441560efec2d5e160cd71280cc5666fa2cdf5dea1e442c434c7352fd940d148f83c346c3cda03
7
- data.tar.gz: 29ed4759baa9ed51cc06f4aa1dc98996b9fed1ccb2b4da994be9cc4ef68055300cc19048751b7e8615a24ae9fd7930d129df8a60fc74ea02241b3213e0737b30
6
+ metadata.gz: abfa3c42375a34b984b331b3fc0d28a814355dd6b4f4f995b156c67683b7a834ebae444a89db79e15a1ab06f3e45ab33720555b0235fea24537921c79a4c90d4
7
+ data.tar.gz: cc20c9590ab8471770c406898fe93aabdd9aaa9bc94e228579d49b1aa13a95fac4b9a95ee1b64ec4495be940b52060e67c6d1f3def412299b5ec743202691088
@@ -107,7 +107,6 @@
107
107
  @import 'pb_typeahead/typeahead';
108
108
  @import 'pb_user/user';
109
109
  @import 'pb_user_badge/user_badge';
110
- @import 'pb_walkthrough/walkthrough';
111
110
  @import 'pb_weekday_stacked/weekday_stacked';
112
111
  @import 'pb_empty_state/empty_state';
113
112
  @import 'utilities/mixins';
@@ -593,115 +593,6 @@
593
593
  }
594
594
  }
595
595
 
596
- // Ensure vertical borders work with non-container tables
597
- .pb_table:not(.table-card) {
598
- &.vertical-border {
599
- // Sticky header with vertical borders
600
- &.sticky-header {
601
- thead th:not(:last-child) {
602
- border-right: 1px solid $border_light !important;
603
- }
604
- }
605
-
606
- // Regular table cells with vertical borders
607
- td:not(:last-child),
608
- th:not(:last-child),
609
- .pb_table_td:not(:last-child),
610
- .pb_table_th:not(:last-child) {
611
- border-right: 1px solid $border_light !important;
612
- }
613
- }
614
- }
615
-
616
- // Pinned rows should maintain vertical borders regardless of container prop
617
- .pinned-row {
618
- position: sticky !important;
619
- z-index: 2 !important;
620
-
621
- &.pb_table_tr,
622
- tr {
623
- // Apply right border to ALL cells including last one when verticalBorder is true
624
- td,
625
- .pb_table_td {
626
- border-right: 1px solid var(--column-border-color, $border_light) !important;
627
- }
628
- }
629
- }
630
-
631
- // Specific fixes for vertical borders with sticky elements
632
- .pb_table.vertical-border {
633
-
634
- &.sticky-header {
635
- thead th {
636
- border-right: 1px solid $border_light !important;
637
- border-left: none !important;
638
- border-top: none !important;
639
- }
640
- }
641
-
642
- .pinned-row {
643
- td,
644
- .pb_table_td {
645
- border-right: 1px solid var(--column-border-color, $border_light) !important;
646
- border-left: none !important;
647
- border-top: none !important;
648
- }
649
- }
650
-
651
- // Ensure non-container tables don't get unwanted borders
652
- &:not(.table-card) {
653
- thead th,
654
- td,
655
- .pb_table_td {
656
- border-left: none !important;
657
- border-top: none !important;
658
- }
659
- }
660
- }
661
-
662
- // Firefox-specific
663
- @-moz-document url-prefix() {
664
- .pb_table.vertical-border {
665
-
666
- &.sticky-header {
667
- thead th {
668
- border: none !important;
669
- // Use box-shadow for both right border AND bottom border
670
- box-shadow:
671
- inset -1px 0 0 0 $border_light, // Right border
672
- inset 0 -1px 0 0 $border_light !important; // Bottom border
673
- }
674
- }
675
-
676
- .pinned-row {
677
- td,
678
- .pb_table_td {
679
- border: none !important;
680
- // Use box-shadow for right border on ALL cells including last
681
- box-shadow: inset -1px 0 0 0 var(--column-border-color, $border_light) !important;
682
- }
683
- }
684
-
685
- // Override regular table cells to use consistent border method
686
- &:not(.table-card) {
687
- td:not(.pinned-row td),
688
- .pb_table_td:not(.pinned-row .pb_table_td) {
689
- // Remove conflicting borders and use box-shadow instead
690
- border-right: none !important;
691
- border-left: none !important;
692
- border-top: none !important;
693
- // Apply consistent right border using box-shadow
694
- box-shadow: inset -1px 0 0 0 $border_light !important;
695
- }
696
- }
697
-
698
- // Override the original left border shadow from main style, but keep other shadows
699
- .pb_table_td:nth-child(2) {
700
- box-shadow: none !important;
701
- }
702
- }
703
- }
704
-
705
596
  @include chrome_styles($border-color);
706
597
 
707
598
  tr:hover {
@@ -881,102 +772,11 @@
881
772
  box-shadow: 1px 0px 0px 0px var(--column-border-color) !important;
882
773
  }
883
774
 
884
- // Dark mode adjustments for non-container tables
885
- .pb_table:not(.table-card) {
886
- &.vertical-border {
887
- &.sticky-header {
888
- thead th:not(:last-child) {
889
- border-right: 1px solid $border_dark !important;
890
- }
891
- }
892
-
893
- td:not(:last-child),
894
- th:not(:last-child),
895
- .pb_table_td:not(:last-child),
896
- .pb_table_th:not(:last-child) {
897
- border-right: 1px solid $border_dark !important;
898
- }
899
- }
900
- }
901
-
902
- // Dark mode pinned rows
903
- .pinned-row {
904
- &.pb_table_tr,
905
- tr {
906
- // Apply right border to ALL cells including last one in dark mode
907
- td,
908
- .pb_table_td {
909
- border-right: 1px solid var(--column-border-color, $border_dark) !important;
910
- }
911
- }
912
- }
913
-
914
- // Dark mode browser-specific fixes
915
- .pb_table.vertical-border {
916
- &.sticky-header {
917
- thead th {
918
- border-right: 1px solid $border_dark !important;
919
- border-left: none !important;
920
- border-top: none !important;
921
- }
922
- }
923
-
924
- .pinned-row {
925
- td,
926
- .pb_table_td {
927
- border-right: 1px solid var(--column-border-color, $border_dark) !important;
928
- border-left: none !important;
929
- border-top: none !important;
930
- }
931
- }
932
- }
933
-
934
- // Dark mode Firefox
935
- @-moz-document url-prefix() {
936
- .pb_table.vertical-border {
937
-
938
- &.sticky-header {
939
- thead th {
940
- border: none !important;
941
- // Use box-shadow for both right border AND bottom border
942
- box-shadow:
943
- inset -1px 0 0 0 $border_dark, // Right border
944
- inset 0 -1px 0 0 $border_dark !important; // Bottom border
945
- }
946
- }
947
-
948
- .pinned-row {
949
- td,
950
- .pb_table_td {
951
- border: none !important;
952
- // Use box-shadow for right border on ALL cells including last
953
- box-shadow: inset -1px 0 0 0 var(--column-border-color, $border_dark) !important;
954
- }
955
- }
956
-
957
- // Override regular table cells to use consistent border method in dark mode
958
- &:not(.table-card) {
959
- td:not(.pinned-row td),
960
- .pb_table_td:not(.pinned-row .pb_table_td) {
961
- // Remove conflicting borders and use box-shadow instead
962
- border-right: none !important;
963
- border-left: none !important;
964
- border-top: none !important;
965
- // Apply consistent right border using box-shadow
966
- box-shadow: inset -1px 0 0 0 $border_dark !important;
967
- }
968
- }
969
-
970
- // Override the original left border shadow from main CSS, but keep other shadows
971
- .pb_table_td:nth-child(2) {
972
- box-shadow: none !important;
973
- }
974
- }
975
- }
976
-
977
775
  // Apply border colors in dark mode
978
776
  &[class*="column-group-border-"] {
777
+ // For top-level column groups (ENROLLMENT DATA, PERFORMANCE DATA)
979
778
  .pb_advanced_table_header {
779
+ // The main column group headers - NOT the last column
980
780
  > tr:first-child {
981
781
  th[colspan]:not([colspan="1"]):not(:last-child) {
982
782
  border-right: 1px solid var(--column-border-color) !important;
@@ -44,7 +44,7 @@ const AdvancedTableRowPinning = (props) => {
44
44
  maxHeight="xs"
45
45
  pinnedRows={{value: pinnedRows, onChange: setPinnedRows}}
46
46
  tableData={MOCK_DATA}
47
- tableProps={{sticky: true, verticalBorder: true, container: false}}
47
+ tableProps={{sticky: true}}
48
48
  {...props}
49
49
  >
50
50
  <AdvancedTable.Header enableSorting />
@@ -8,31 +8,27 @@
8
8
  border-radius: 4px;
9
9
  box-shadow: 1px 0 0 0px $border-color, -1px 0 0 0px $border-color;
10
10
  display: block;
11
-
12
- // Handle both table-card and non-table-card cases
13
11
  [class^="pb_table"].table-sm.table-card thead tr th:first-child,
14
- [class^="pb_table"].table-sm:not(.no-hover).table-card tbody tr td:first-child,
15
- [class^="pb_table"].table-sm:not(.table-card) thead tr th:first-child,
16
- [class^="pb_table"].table-sm:not(.no-hover):not(.table-card) tbody tr td:first-child {
12
+ [class^="pb_table"].table-sm:not(.no-hover).table-card
13
+ tbody
14
+ tr
15
+ td:first-child {
17
16
  border-left-width: 0px !important;
18
17
  }
19
-
20
18
  [class^="pb_table"].table-sm.table-card thead tr th:last-child,
21
- [class^="pb_table"].table-sm:not(.no-hover).table-card tbody tr td:last-child,
22
- [class^="pb_table"].table-sm:not(.table-card) thead tr th:last-child,
23
- [class^="pb_table"].table-sm:not(.no-hover):not(.table-card) tbody tr td:last-child {
19
+ [class^="pb_table"].table-sm:not(.no-hover).table-card
20
+ tbody
21
+ tr
22
+ td:last-child {
24
23
  border-right-width: 0px;
25
24
  }
26
-
27
25
  [class^="pb_table"].table-sm.table-card tbody tr:last-child td:first-child,
28
- [class^="pb_table"].table-sm.table-card tbody tr:last-child td:last-child,
29
- [class^="pb_table"].table-sm:not(.table-card) tbody tr:last-child td:first-child,
30
- [class^="pb_table"].table-sm:not(.table-card) tbody tr:last-child td:last-child {
26
+ [class^="pb_table"].table-sm.table-card tbody tr:last-child td:last-child {
31
27
  border-radius: 0 0 0 0;
32
28
  }
33
-
34
- // Only apply sticky positioning to specific elements
35
29
  .table-header-cells:first-child,
30
+ td:first-child,
31
+ .pb_table_td:first-child,
36
32
  .checkbox-cell.checkbox-cell-header:first-child,
37
33
  .table-header-cells.sticky-left,
38
34
  [class*="pinned-left"] {
@@ -43,87 +39,35 @@
43
39
  z-index: 2;
44
40
  }
45
41
 
46
- // Only apply to pinned rows
47
- .pinned-row {
48
- td:first-child,
49
- .pb_table_td:first-child {
50
- background-color: $bg-main;
51
- box-shadow: $shadow_deep !important;
52
- position: sticky !important;
53
- left: 0;
54
- z-index: 3; // Higher z-index for pinned rows
55
- }
56
- }
57
-
58
- // For tables with verticalBorder, ensure sticky elements maintain their borders
59
- [class^="pb_table"].vertical-border {
60
- .table-header-cells:first-child,
61
- .checkbox-cell.checkbox-cell-header:first-child,
62
- .table-header-cells.sticky-left {
63
- // Maintain right border for vertical border styling when sticky
64
- &:not(:last-child) {
65
- border-right: 1px solid $border-color !important;
66
- }
67
- }
68
-
69
- // Ensure pinned rows maintain vertical borders
70
- .pinned-row {
71
- td:not(:last-child),
72
- .pb_table_td:not(:last-child) {
73
- border-right: 1px solid $border-color !important;
74
- }
75
- }
76
-
77
- // Handle sticky header with vertical borders
78
- &.sticky-header thead th {
79
- &:not(:last-child) {
80
- border-right: 1px solid $border-color !important;
81
- }
82
- }
83
- }
84
-
85
42
  .bg-silver {
86
- .table-header-cells:first-child,
87
- .pinned-row td:first-child,
88
- .pinned-row .pb_table_td:first-child,
43
+ td:first-child,
89
44
  .sticky-left {
90
45
  background-color: $bg-secondary;
91
46
  }
92
47
  }
93
-
94
48
  .bg-row-selection {
95
- .table-header-cells:first-child,
96
- .pinned-row td:first-child,
97
- .pinned-row .pb_table_td:first-child,
49
+ td:first-child,
98
50
  .sticky-left {
99
51
  background-color: $highlight;
100
52
  }
101
53
  }
102
54
 
103
55
  .bg-white {
104
- .table-header-cells:first-child,
105
- .pinned-row td:first-child,
106
- .pinned-row .pb_table_td:first-child,
56
+ td:first-child,
107
57
  .sticky-left {
108
58
  background-color: $bg-main;
109
59
  }
110
60
  }
111
61
 
112
62
  .virtualized-table-row {
113
- &.bg-silver {
114
- &.pinned-row td:first-child {
115
- background-color: $bg-secondary;
116
- }
63
+ &.bg-silver td:first-child {
64
+ background-color: $bg-secondary;
117
65
  }
118
- &.bg-white {
119
- &.pinned-row td:first-child {
120
- background-color: $bg-main;
121
- }
66
+ &.bg-white td:first-child {
67
+ background-color: $bg-main;
122
68
  }
123
- &.bg-row-selection {
124
- &.pinned-row td:first-child {
125
- background-color: $highlight;
126
- }
69
+ &.bg-row-selection td:first-child {
70
+ background-color: $highlight;
127
71
  }
128
72
  }
129
73
 
@@ -161,17 +105,14 @@
161
105
 
162
106
  &.dark {
163
107
  .bg-row-selection {
164
- .pinned-row td:first-child,
165
- .pinned-row .pb_table_td:first-child,
108
+ td:first-child,
166
109
  .sticky-left {
167
110
  background-color: $highlight-dark;
168
111
  }
169
112
  }
170
113
  .virtualized-table-row {
171
- &.bg-row-selection {
172
- &.pinned-row td:first-child {
173
- background-color: $highlight-dark;
174
- }
114
+ &.bg-row-selection td:first-child {
115
+ background-color: $highlight-dark;
175
116
  }
176
117
  }
177
118
  }