@fluid-topics/ftds-table 2.2.2 → 2.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.
@@ -23,9 +23,6 @@ export const designSystemStyles = css `
23
23
  color: ${table.dataRowColor};
24
24
  position: relative;
25
25
  background-color: ${table.dataRowBackgroundColor};
26
- border-bottom: ${table.dataRowBorderWidth} solid ${table.dataRowBorderColor};
27
- border-left: ${table.dataRowBorderWidth} solid ${table.dataRowBorderColor};
28
- border-right: ${table.dataRowBorderWidth} solid ${table.dataRowBorderColor};
29
26
  }
30
27
 
31
28
  .row:hover.row--has-content {
@@ -41,6 +38,7 @@ export const designSystemStyles = css `
41
38
  .row.row--clickable:focus-within {
42
39
  background-color: ${table.dataRowClickableFocusBackgroundColor};
43
40
  outline: 1px solid ${table.dataRowClickableFocusBorderColor};
41
+ outline-offset: -1px;
44
42
  z-index: 15;
45
43
  }
46
44
 
@@ -54,7 +52,7 @@ export const designSystemStyles = css `
54
52
 
55
53
  .header--sticky {
56
54
  top: 0;
57
- z-index: 2;
55
+ z-index: 20;
58
56
  position: sticky;
59
57
  }
60
58
 
@@ -65,15 +63,15 @@ export const designSystemStyles = css `
65
63
 
66
64
  .header-cell--sticky {
67
65
  top: 0;
68
- z-index: 10;
66
+ z-index: 30;
69
67
  position: sticky;
70
68
 
71
69
  &:focus-within {
72
- z-index: 11;
70
+ z-index: 31;
73
71
  }
74
72
 
75
73
  &:hover {
76
- z-index: 12;
74
+ z-index: 32;
77
75
  }
78
76
  }
79
77
 
@@ -146,6 +144,21 @@ export const designSystemStyles = css `
146
144
  border-right: ${table.dataRowBorderWidth} solid ${table.dataRowBorderColor};
147
145
  }
148
146
 
147
+ .row.row--highlighted > .cell,
148
+ .row.row--clickable:focus-within > .cell {
149
+ border-bottom-color: ${table.dataRowClickableFocusBorderColor};
150
+ }
151
+
152
+ .row.row--highlighted > .cell:first-of-type,
153
+ .row.row--clickable:focus-within > .cell:first-of-type {
154
+ border-left-color: ${table.dataRowClickableFocusBorderColor};
155
+ }
156
+
157
+ .row.row--highlighted > .cell:last-of-type,
158
+ .row.row--clickable:focus-within > .cell:last-of-type {
159
+ border-right-color: ${table.dataRowClickableFocusBorderColor};
160
+ }
161
+
149
162
  .no-content svg {
150
163
  margin-bottom: 24px;
151
164
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ftds-table",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "The design system table component",
5
5
  "keywords": [
6
6
  "Lit"
@@ -20,15 +20,15 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fluid-topics/design-system-variables": "3.8.0",
23
- "@fluid-topics/ft-assets": "2.2.2",
24
- "@fluid-topics/ft-wc-utils": "2.2.2",
25
- "@fluid-topics/ftds-button": "2.2.2",
26
- "@fluid-topics/ftds-icon": "2.2.2",
27
- "@fluid-topics/ftds-typography": "2.2.2",
23
+ "@fluid-topics/ft-assets": "2.2.3",
24
+ "@fluid-topics/ft-wc-utils": "2.2.3",
25
+ "@fluid-topics/ftds-button": "2.2.3",
26
+ "@fluid-topics/ftds-icon": "2.2.3",
27
+ "@fluid-topics/ftds-typography": "2.2.3",
28
28
  "lit": "3.3.3"
29
29
  },
30
30
  "devDependencies": {
31
- "@fluid-topics/ft-wc-test-utils": "2.2.2"
31
+ "@fluid-topics/ft-wc-test-utils": "2.2.3"
32
32
  },
33
- "gitHead": "b4be5c398b242bdc7d902866c353cf92cc1f72c7"
33
+ "gitHead": "603c5f149b429fc2fccae0a48bd1696c775c9657"
34
34
  }