@eqtylab/equality 1.9.0 → 2.0.0
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/dist/alert.module.module.css.module.css +19 -45
- package/dist/index.cjs +195 -143
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -24
- package/dist/index.d.ts +32 -24
- package/dist/index.js +193 -139
- package/dist/index.js.map +1 -1
- package/dist/table-components.module.module.css.module.css +34 -14
- package/dist/theme.module.module.css.module.css +11 -0
- package/package.json +1 -1
|
@@ -85,25 +85,40 @@
|
|
|
85
85
|
--hover-darken: 50%;
|
|
86
86
|
--hover-lighten: 50%;
|
|
87
87
|
cursor: pointer;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
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