@crispy-seed/data-table 0.5.0 → 0.7.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.
@@ -237,6 +237,37 @@ tbody tr:last-child .seed-data-table__cell {
237
237
  overflow: hidden;
238
238
  min-width: 0;
239
239
  }
240
+ .seed-data-table__entityActions {
241
+ display: flex;
242
+ align-items: center;
243
+ gap: 6px;
244
+ margin-inline-start: auto;
245
+ flex-shrink: 0;
246
+ opacity: 0;
247
+ }
248
+ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-within {
249
+ opacity: 1;
250
+ }
251
+ .seed-data-table__entityAction {
252
+ display: inline-flex;
253
+ align-items: center;
254
+ justify-content: center;
255
+ width: 20px;
256
+ height: 20px;
257
+ margin: 0;
258
+ padding: 0;
259
+ border: none;
260
+ border-radius: 6px;
261
+ background: none;
262
+ font-family: inherit;
263
+ color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
264
+ cursor: pointer;
265
+ flex-shrink: 0;
266
+ }
267
+ .seed-data-table__entityAction:hover {
268
+ background: color-mix(in srgb, var(--seed-color-fg-neutral) 4%, transparent);
269
+ color: var(--seed-color-fg-neutral);
270
+ }
240
271
  .seed-data-table__link {
241
272
  color: var(--seed-color-fg-neutral);
242
273
  text-decoration: none;
@@ -272,6 +272,41 @@
272
272
  overflow: hidden;
273
273
  }
274
274
 
275
+ .seed-data-table__entityActions {
276
+ opacity: 0;
277
+ flex-shrink: 0;
278
+ align-items: center;
279
+ gap: 6px;
280
+ margin-inline-start: auto;
281
+ display: flex;
282
+ }
283
+
284
+ tr:hover .seed-data-table__entityActions, .seed-data-table__entityActions:focus-within {
285
+ opacity: 1;
286
+ }
287
+
288
+ .seed-data-table__entityAction {
289
+ width: 20px;
290
+ height: 20px;
291
+ color: color-mix(in srgb, var(--seed-color-fg-neutral) 55%, transparent);
292
+ cursor: pointer;
293
+ background: none;
294
+ border: none;
295
+ border-radius: 6px;
296
+ flex-shrink: 0;
297
+ justify-content: center;
298
+ align-items: center;
299
+ margin: 0;
300
+ padding: 0;
301
+ font-family: inherit;
302
+ display: inline-flex;
303
+ }
304
+
305
+ .seed-data-table__entityAction:hover {
306
+ background: color-mix(in srgb, var(--seed-color-fg-neutral) 4%, transparent);
307
+ color: var(--seed-color-fg-neutral);
308
+ }
309
+
275
310
  .seed-data-table__link {
276
311
  color: var(--seed-color-fg-neutral);
277
312
  text-overflow: ellipsis;