@eqtylab/equality 5.3.2 → 5.3.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  Notable changes to Equality are recorded here, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
4
4
 
5
+ ## 5.3.3 - 2026-11-05
6
+
7
+ ### Changed
8
+
9
+ - A clickable `Table` row lights grey on hover and when selected, like a Nav row, where it turned
10
+ purple.
11
+
12
+ ### Fixed
13
+
14
+ - Every other `Table` row is a faint grey step from its neighbours, where Chrome tinted it brown,
15
+ most visibly in dark mode. In light mode the step is easier to see than before, where it had
16
+ almost disappeared, and in dark mode it is a little stronger.
17
+
5
18
  ## 5.3.2 - 2026-11-03
6
19
 
7
20
  ### Fixed
package/dist/index.d.cts CHANGED
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
132
132
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
133
133
  */
134
134
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
135
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
135
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
136
136
  size?: "sm" | "md" | "lg" | null | undefined;
137
137
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
138
138
  prefix?: React$1.ReactNode;
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
151
151
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
152
152
  */
153
153
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
154
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
154
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
155
155
  size?: "sm" | "md" | "lg" | null | undefined;
156
156
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
157
157
  prefix?: React$1.ReactNode;
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
452
452
  }) => react_jsx_runtime.JSX.Element;
453
453
 
454
454
  declare const buttonVariants: (props?: ({
455
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
455
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
456
456
  size?: "sm" | "md" | "lg" | null | undefined;
457
457
  } & class_variance_authority_types.ClassProp) | undefined) => string;
458
458
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
package/dist/index.d.ts CHANGED
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
132
132
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
133
133
  */
134
134
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
135
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
135
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
136
136
  size?: "sm" | "md" | "lg" | null | undefined;
137
137
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
138
138
  prefix?: React$1.ReactNode;
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
151
151
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
152
152
  */
153
153
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
154
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
154
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
155
155
  size?: "sm" | "md" | "lg" | null | undefined;
156
156
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
157
157
  prefix?: React$1.ReactNode;
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
452
452
  }) => react_jsx_runtime.JSX.Element;
453
453
 
454
454
  declare const buttonVariants: (props?: ({
455
- variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
455
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
456
456
  size?: "sm" | "md" | "lg" | null | undefined;
457
457
  } & class_variance_authority_types.ClassProp) | undefined) => string;
458
458
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
@@ -89,27 +89,24 @@
89
89
  padding-block: calc(0.25rem * 2);
90
90
  }
91
91
  .table-body .table-row:nth-child(even) {
92
- background-color: var(--table-stripe-bg);
92
+ background-color: color-mix(in srgb, color(display-p3 0 0 0) 3%, transparent);
93
+ @supports (color: color-mix(in lab, red, red)) {
94
+ background-color: color-mix(in oklch, var(--color-text-primary) 3%, transparent);
95
+ }
96
+ &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
97
+ background-color: color-mix(in srgb, color(display-p3 0 0 0) 4%, transparent);
98
+ @supports (color: color-mix(in lab, red, red)) {
99
+ background-color: color-mix(in oklch, var(--color-text-primary) 4%, transparent);
100
+ }
101
+ }
93
102
  }
94
103
  .table-row--clickable:not([data-state='selected']) {
95
- --mix-color: var(--color-brand-primary);
96
- --hover-darken: 55%;
97
- --hover-lighten: 55%;
98
104
  cursor: pointer;
99
105
  }
100
106
  .table-row--clickable:not([data-state='selected']):hover:not(
101
107
  :has(button:hover, a:not(.table-row-link):hover)
102
108
  ) {
103
- background-color: var(--mix-color) !important;
104
- @supports (color: color-mix(in lab, red, red)) {
105
- background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%)) !important;
106
- }
107
- &:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
108
- background-color: var(--mix-color) !important;
109
- @supports (color: color-mix(in lab, red, red)) {
110
- background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%)) !important;
111
- }
112
- }
109
+ background-color: var(--color-list-item-hover) !important;
113
110
  }
114
111
  .table-row--linked {
115
112
  position: relative;
@@ -141,16 +138,7 @@
141
138
  outline-color: var(--color-brand-primary, color(display-p3 0.7319 0.6108 0.8873));
142
139
  }
143
140
  .table-body .table-row--clickable[data-state='selected'] {
144
- background-color: light-dark(
145
- color-mix(in srgb, color(display-p3 0.7319 0.6108 0.8873), white 40%),
146
- color-mix(in srgb, color(display-p3 0.7319 0.6108 0.8873), black 40%)
147
- );
148
- @supports (color: color-mix(in lab, red, red)) {
149
- background-color: light-dark(
150
- color-mix(in oklch, var(--color-brand-primary), white 40%),
151
- color-mix(in oklch, var(--color-brand-primary), black 40%)
152
- );
153
- }
141
+ background-color: var(--color-list-item-current);
154
142
  }
155
143
  .table-caption {
156
144
  margin-top: calc(0.25rem * 4);
@@ -170,16 +158,6 @@
170
158
  }
171
159
  .table--sunken .table-body {
172
160
  background-color: var(--color-background-sunken, color(display-p3 0.8648 0.8708 0.8779));
173
- --table-stripe-bg: light-dark(
174
- color-mix(in srgb, color(display-p3 0.8648 0.8708 0.8779), black 2%),
175
- color-mix(in srgb, color(display-p3 0.8648 0.8708 0.8779), white 4%)
176
- );
177
- @supports (color: color-mix(in lab, red, red)) {
178
- --table-stripe-bg: light-dark(
179
- color-mix(in oklch, var(--color-background-sunken), black 2%),
180
- color-mix(in oklch, var(--color-background-sunken), white 4%)
181
- );
182
- }
183
161
  }
184
162
  .table--base .table-header,
185
163
  .table--base .table-footer {
@@ -187,16 +165,6 @@
187
165
  }
188
166
  .table--base .table-body {
189
167
  background-color: var(--color-background-base, color(display-p3 1 1 1));
190
- --table-stripe-bg: light-dark(
191
- color-mix(in srgb, color(display-p3 1 1 1), black 2%),
192
- color-mix(in srgb, color(display-p3 1 1 1), white 4%)
193
- );
194
- @supports (color: color-mix(in lab, red, red)) {
195
- --table-stripe-bg: light-dark(
196
- color-mix(in oklch, var(--color-background-base), black 2%),
197
- color-mix(in oklch, var(--color-background-base), white 4%)
198
- );
199
- }
200
168
  }
201
169
  .table--raised .table-header,
202
170
  .table--raised .table-footer {
@@ -204,16 +172,6 @@
204
172
  }
205
173
  .table--raised .table-body {
206
174
  background-color: var(--color-background-raised, color(display-p3 0.9554 0.9616 0.9688));
207
- --table-stripe-bg: light-dark(
208
- color-mix(in srgb, color(display-p3 0.9554 0.9616 0.9688), black 2%),
209
- color-mix(in srgb, color(display-p3 0.9554 0.9616 0.9688), white 4%)
210
- );
211
- @supports (color: color-mix(in lab, red, red)) {
212
- --table-stripe-bg: light-dark(
213
- color-mix(in oklch, var(--color-background-raised), black 2%),
214
- color-mix(in oklch, var(--color-background-raised), white 4%)
215
- );
216
- }
217
175
  }
218
176
  .table--overlay .table-header,
219
177
  .table--overlay .table-footer {
@@ -221,16 +179,6 @@
221
179
  }
222
180
  .table--overlay .table-body {
223
181
  background-color: var(--color-background-overlay, color(display-p3 0.9946 0.9998 0.9999));
224
- --table-stripe-bg: light-dark(
225
- color-mix(in srgb, color(display-p3 0.9946 0.9998 0.9999), black 2%),
226
- color-mix(in srgb, color(display-p3 0.9946 0.9998 0.9999), white 4%)
227
- );
228
- @supports (color: color-mix(in lab, red, red)) {
229
- --table-stripe-bg: light-dark(
230
- color-mix(in oklch, var(--color-background-overlay), black 2%),
231
- color-mix(in oklch, var(--color-background-overlay), white 4%)
232
- );
233
- }
234
182
  }
235
183
  .table--sunken.table-border {
236
184
  border-color: var(--color-border-sunken, color(display-p3 0.7432 0.7432 0.7432));
@@ -18,7 +18,6 @@
18
18
  @supports (color: color-mix(in lab, red, red)) {
19
19
  --color-mixed-dark: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
20
20
  }
21
- --color-background-base: color(display-p3 1 1 1);
22
21
  --color-background-overlay: color(display-p3 0.9946 0.9998 0.9999);
23
22
  --color-background-raised: color(display-p3 0.9554 0.9616 0.9688);
24
23
  --color-background-sunken: color(display-p3 0.8648 0.8708 0.8779);
@@ -56,7 +55,6 @@
56
55
  --color-badge-text-success: color(display-p3 0.1097 0.1998 0.08667);
57
56
  --color-badge-text-warning: color(display-p3 0.2723 0.1933 0.09642);
58
57
  --color-border: color(display-p3 0.7432 0.7432 0.7432);
59
- --color-brand-primary: color(display-p3 0.7319 0.6108 0.8873);
60
58
  --color-button-danger-fill: color(display-p3 0.7365 0.2216 0.2026);
61
59
  --color-button-danger-text: color(display-p3 1 1 1);
62
60
  --color-button-neutral-fill: color(display-p3 0.3886 0.3886 0.3886);
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/eqtylab/equality.git",
8
8
  "directory": "packages/ui"
9
9
  },
10
- "version": "5.3.2",
10
+ "version": "5.3.3",
11
11
  "license": "Apache-2.0",
12
12
  "keywords": [
13
13
  "component library",