@easyvision/easyvision-ui 1.7.4 → 1.7.5

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.
@@ -214,6 +214,7 @@
214
214
 
215
215
  /* ---------- Checkbox ---------- */
216
216
  .ev-checkbox {
217
+ position: relative;
217
218
  display: inline-flex;
218
219
  align-items: center;
219
220
  justify-content: center;
@@ -226,6 +227,14 @@
226
227
  color: hsl(var(--primary, 222 47% 11%));
227
228
  cursor: pointer;
228
229
  }
230
+ /* Expand the click target without changing the visual size. The pseudo-element
231
+ * is part of the button, so clicks on it trigger the checkbox and any
232
+ * stopPropagation handler the consumer attached (e.g. table rows). */
233
+ .ev-checkbox::before {
234
+ content: "";
235
+ position: absolute;
236
+ inset: -0.5rem;
237
+ }
229
238
  .ev-checkbox:focus-visible {
230
239
  outline: 2px solid hsl(var(--ring, 215 20% 65%));
231
240
  outline-offset: 2px;
@@ -311,12 +320,16 @@
311
320
  overflow: hidden;
312
321
  text-overflow: ellipsis;
313
322
  white-space: nowrap;
323
+ /* The trigger is the <button>; children should never swallow the click so
324
+ * the entire visible button area always behaves as the hit target. */
325
+ pointer-events: none;
314
326
  }
315
327
  .ev-select-trigger-icon {
316
328
  height: 1rem;
317
329
  width: 1rem;
318
330
  opacity: 0.5;
319
331
  flex-shrink: 0;
332
+ pointer-events: none;
320
333
  }
321
334
 
322
335
  /* Bare trigger variant used inside chips */
@@ -1204,6 +1217,7 @@
1204
1217
  outline: none;
1205
1218
  }
1206
1219
  .ev-mf-chip-select-trigger {
1220
+ position: relative;
1207
1221
  height: auto;
1208
1222
  width: auto;
1209
1223
  min-width: 0;
@@ -1216,6 +1230,13 @@
1216
1230
  line-height: 1rem;
1217
1231
  color: hsl(var(--muted-foreground, 215 16% 47%));
1218
1232
  }
1233
+ /* The chip trigger has no padding so the visible click area is just text+icon.
1234
+ * Extend the hit target without changing visual size. */
1235
+ .ev-mf-chip-select-trigger::before {
1236
+ content: "";
1237
+ position: absolute;
1238
+ inset: -0.375rem -0.25rem;
1239
+ }
1219
1240
  .ev-mf-chip-select-trigger:focus {
1220
1241
  outline: none;
1221
1242
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyvision/easyvision-ui",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "A React component library for easyvision",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",