@crispy-seed/data-table 0.8.0 → 0.9.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.
@@ -244,8 +244,12 @@ tbody tr:last-child .seed-data-table__cell {
244
244
  margin-inline-start: auto;
245
245
  flex-shrink: 0;
246
246
  opacity: 0;
247
+ transition: opacity 0.15s;
247
248
  }
248
- tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-within {
249
+ tr:hover .seed-data-table__entityActions {
250
+ opacity: 1;
251
+ }
252
+ .seed-data-table__entityActions:focus-within {
249
253
  opacity: 1;
250
254
  }
251
255
  .seed-data-table__entityAction {
@@ -255,7 +259,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
255
259
  width: 20px;
256
260
  height: 20px;
257
261
  margin: 0;
258
- padding: 0;
262
+ padding: 2px;
259
263
  border: none;
260
264
  border-radius: 6px;
261
265
  background: none;
@@ -263,6 +267,7 @@ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-
263
267
  color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
264
268
  cursor: pointer;
265
269
  flex-shrink: 0;
270
+ transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
266
271
  }
267
272
  .seed-data-table__entityAction:hover {
268
273
  background: color-mix(in srgb, var(--seed-color-fg-neutral) 4%, transparent);
@@ -278,6 +278,7 @@
278
278
  align-items: center;
279
279
  gap: 6px;
280
280
  margin-inline-start: auto;
281
+ transition: opacity .15s;
281
282
  display: flex;
282
283
  }
283
284
 
@@ -297,8 +298,9 @@
297
298
  justify-content: center;
298
299
  align-items: center;
299
300
  margin: 0;
300
- padding: 0;
301
+ padding: 2px;
301
302
  font-family: inherit;
303
+ transition: background-color .2s, color .2s, box-shadow .2s;
302
304
  display: inline-flex;
303
305
  }
304
306