@aircall/ds 0.37.3 → 0.38.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.
@@ -230,12 +230,15 @@ const de = {
230
230
  "dataTable.selectAllRows": "Alle Zeilen auswählen",
231
231
  "dataTable.selectRow": "Zeile auswählen",
232
232
  "dataCombobox.noResults": "Keine Ergebnisse",
233
+ "combobox.showOptions": "Optionen anzeigen",
233
234
  "tree.collapse": "Minimieren",
234
235
  "tree.expand": "Erweitern",
235
236
  "multiselect.remove": "Entfernen",
236
237
  "multiselect.clearAll": "Alles löschen",
237
238
  "multiselect.addItem": "Hinzufügen",
238
239
  "multiselect.search": "Suchen",
240
+ "combobox.toggleOptions": "Optionen umschalten",
241
+ "combobox.clear": "Löschen",
239
242
  "sidebar.toggle": "Seitenleiste umschalten",
240
243
  "drawer.close": "Schließen",
241
244
  "emojiPicker.emoji": "Emoji",
@@ -279,12 +282,15 @@ const en = {
279
282
  "dataTable.selectAllRows": "Select all rows",
280
283
  "dataTable.selectRow": "Select row",
281
284
  "dataCombobox.noResults": "No results found",
285
+ "combobox.showOptions": "Show options",
282
286
  "tree.collapse": "Collapse",
283
287
  "tree.expand": "Expand",
284
288
  "multiselect.remove": "Remove",
285
289
  "multiselect.clearAll": "Clear all",
286
290
  "multiselect.addItem": "Add item",
287
291
  "multiselect.search": "Search",
292
+ "combobox.toggleOptions": "Toggle options",
293
+ "combobox.clear": "Clear",
288
294
  "sidebar.toggle": "Toggle Sidebar",
289
295
  "drawer.close": "Close",
290
296
  "emojiPicker.emoji": "Emoji",
@@ -328,12 +334,15 @@ const es = {
328
334
  "dataTable.selectAllRows": "Seleccionar todas las filas",
329
335
  "dataTable.selectRow": "Seleccionar fila",
330
336
  "dataCombobox.noResults": "Sin resultados",
337
+ "combobox.showOptions": "Mostrar opciones",
331
338
  "tree.collapse": "Minimizar",
332
339
  "tree.expand": "Ampliar",
333
340
  "multiselect.remove": "Eliminar",
334
341
  "multiselect.clearAll": "Borrar todo",
335
342
  "multiselect.addItem": "Añadir",
336
343
  "multiselect.search": "Buscar",
344
+ "combobox.toggleOptions": "Alternar opciones",
345
+ "combobox.clear": "Borrar",
337
346
  "sidebar.toggle": "Alternar barra lateral",
338
347
  "drawer.close": "Cerrar",
339
348
  "emojiPicker.emoji": "Emoji",
@@ -377,12 +386,15 @@ const fr = {
377
386
  "dataTable.selectAllRows": "Sélectionner toutes les lignes",
378
387
  "dataTable.selectRow": "Sélectionner la ligne",
379
388
  "dataCombobox.noResults": "Aucun résultat",
389
+ "combobox.showOptions": "Afficher les options",
380
390
  "tree.collapse": "Réduire",
381
391
  "tree.expand": "Développer",
382
392
  "multiselect.remove": "Supprimer",
383
393
  "multiselect.clearAll": "Tout effacer",
384
394
  "multiselect.addItem": "Ajouter",
385
395
  "multiselect.search": "Rechercher",
396
+ "combobox.toggleOptions": "Afficher les options",
397
+ "combobox.clear": "Effacer",
386
398
  "sidebar.toggle": "Basculer la barre latérale",
387
399
  "drawer.close": "Fermer",
388
400
  "emojiPicker.emoji": "Émoji",
@@ -426,12 +438,15 @@ const it = {
426
438
  "dataTable.selectAllRows": "Seleziona tutte le righe",
427
439
  "dataTable.selectRow": "Seleziona riga",
428
440
  "dataCombobox.noResults": "Nessun risultato",
441
+ "combobox.showOptions": "Mostra opzioni",
429
442
  "tree.collapse": "Ridurre",
430
443
  "tree.expand": "Espandi",
431
444
  "multiselect.remove": "Rimuovi",
432
445
  "multiselect.clearAll": "Cancella tutto",
433
446
  "multiselect.addItem": "Aggiungi",
434
447
  "multiselect.search": "Cerca",
448
+ "combobox.toggleOptions": "Attiva/disattiva opzioni",
449
+ "combobox.clear": "Cancella",
435
450
  "sidebar.toggle": "Attiva/disattiva barra laterale",
436
451
  "drawer.close": "Chiudi",
437
452
  "emojiPicker.emoji": "Emoji",
@@ -847,7 +862,7 @@ const TableHead = React.forwardRef((componentProps, forwardRef) => {
847
862
  return /* @__PURE__ */ jsx("th", _objectSpread2({
848
863
  ref: forwardRef,
849
864
  "data-slot": "table-head",
850
- className: cn("h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0", className)
865
+ className: cn("h-10 px-2 first:pl-4 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0", className)
851
866
  }, props));
852
867
  });
853
868
  TableHead.displayName = "TableHead";
@@ -857,7 +872,7 @@ const TableCell = React.forwardRef((componentProps, forwardRef) => {
857
872
  return /* @__PURE__ */ jsx("td", _objectSpread2({
858
873
  ref: forwardRef,
859
874
  "data-slot": "table-cell",
860
- className: cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className)
875
+ className: cn("p-2 first:pl-4 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className)
861
876
  }, props));
862
877
  });
863
878
  TableCell.displayName = "TableCell";
@@ -1124,7 +1139,7 @@ function DataTable(componentProps) {
1124
1139
  className: "hover:bg-transparent",
1125
1140
  children: /* @__PURE__ */ jsx(TableCell, {
1126
1141
  colSpan: leafColumnCount,
1127
- className: "py-3",
1142
+ className: "py-3 first:pl-2",
1128
1143
  children: /* @__PURE__ */ jsx("div", {
1129
1144
  className: "flex items-center justify-center text-muted-foreground",
1130
1145
  children: /* @__PURE__ */ jsx(Spinner, {})
@@ -1143,7 +1158,7 @@ function DataTable(componentProps) {
1143
1158
  className: "hover:bg-transparent",
1144
1159
  children: /* @__PURE__ */ jsx(TableCell, {
1145
1160
  colSpan: leafColumnCount,
1146
- className: "h-full p-0",
1161
+ className: "h-full p-0 first:pl-0",
1147
1162
  children: /* @__PURE__ */ jsx("div", {
1148
1163
  className: cn("flex h-full items-center justify-center", !fillHeight && "min-h-60"),
1149
1164
  children: emptyState
@@ -1,2 +1,2 @@
1
- import { t as DataTable } from "./data-table-DZ2FDkmw.js";
1
+ import { t as DataTable } from "./data-table-fPncHG6B.js";
2
2
  export { DataTable };