@eqtylab/equality 1.9.0 → 1.9.1

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.
@@ -85,25 +85,40 @@
85
85
  --hover-darken: 50%;
86
86
  --hover-lighten: 50%;
87
87
  cursor: pointer;
88
- &:hover {
89
- @media (hover: hover) {
90
- background-color: var(--mix-color) !important;
91
- @supports (color: color-mix(in lab, red, red)) {
92
- background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%)) !important;
93
- }
94
- }
88
+ }
89
+ .table-row--clickable:not([data-state='selected']):hover:not(
90
+ :has(button:hover, a:not(.table-row-link):hover)
91
+ ) {
92
+ background-color: var(--mix-color) !important;
93
+ @supports (color: color-mix(in lab, red, red)) {
94
+ background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%)) !important;
95
95
  }
96
96
  &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
97
- &:hover {
98
- @media (hover: hover) {
99
- background-color: var(--mix-color) !important;
100
- @supports (color: color-mix(in lab, red, red)) {
101
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%)) !important;
102
- }
103
- }
97
+ background-color: var(--mix-color) !important;
98
+ @supports (color: color-mix(in lab, red, red)) {
99
+ background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%)) !important;
104
100
  }
105
101
  }
106
102
  }
103
+ .table-row--linked {
104
+ position: relative;
105
+ }
106
+ .table-row-link {
107
+ position: absolute;
108
+ inset: calc(0.25rem * 0);
109
+ z-index: 10;
110
+ }
111
+ .table-row--linked :is(button, a:not(.table-row-link)) {
112
+ position: relative;
113
+ z-index: 20;
114
+ }
115
+ .table-row--linked:has(.table-row-link:focus-visible) {
116
+ outline-width: 1px;
117
+ outline-style: var(--tw-outline-style);
118
+ outline-width: 2px;
119
+ outline-offset: -2px;
120
+ outline-color: var(--color-brand-primary);
121
+ }
107
122
  .table-body .table-row--clickable[data-state='selected'] {
108
123
  background-color: light-dark(
109
124
  var(--color-brand-primary),
@@ -217,3 +232,8 @@
217
232
  syntax: "*";
218
233
  inherits: false;
219
234
  }
235
+ @property --tw-outline-style {
236
+ syntax: "*";
237
+ inherits: false;
238
+ initial-value: solid;
239
+ }
@@ -277,6 +277,17 @@
277
277
  .visible {
278
278
  visibility: visible;
279
279
  }
280
+ .sr-only {
281
+ position: absolute;
282
+ width: 1px;
283
+ height: 1px;
284
+ padding: 0;
285
+ margin: -1px;
286
+ overflow: hidden;
287
+ clip-path: inset(50%);
288
+ white-space: nowrap;
289
+ border-width: 0;
290
+ }
280
291
  .fixed {
281
292
  position: fixed;
282
293
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eqtylab/equality",
3
3
  "description": "EQTYLab's component and token-based design system",
4
4
  "homepage": "https://equality.eqtylab.io/",
5
- "version": "1.9.0",
5
+ "version": "1.9.1",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
8
8
  "component library",