chore: update dependencies

This commit is contained in:
zhom committed 2026-09-22 10:21:52 +04:00
1 parent c792c863b6
commit bc0c78d43e
15 files changed
+963 -1123

No files matched your search

+6 -5
View File
@@ -1,6 +1,7 @@
"use client";
import type { Table } from "@tanstack/react-table";
import type { RowData } from "@tanstack/react-table";
import type { LegacyTable as Table } from "@tanstack/react-table/legacy";
import { motion, useReducedMotion } from "motion/react";
import * as React from "react";
import * as ReactDOM from "react-dom";
@@ -16,14 +17,14 @@ import { useInputModality } from "@/hooks/use-input-modality";
import { MOTION_EASE_OUT } from "@/lib/motion";
import { cn } from "@/lib/utils";
interface DataTableActionBarProps<TData>
interface DataTableActionBarProps<TData extends RowData>
extends React.ComponentProps<typeof motion.div> {
table: Table<TData>;
visible?: boolean;
portalContainer?: Element | DocumentFragment | null;
}
function DataTableActionBar<TData>({
function DataTableActionBar<TData extends RowData>({
table,
visible: visibleProp,
portalContainer: portalContainerProp,
@@ -136,11 +137,11 @@ function DataTableActionBarAction({
);
}
interface DataTableActionBarSelectionProps<TData> {
interface DataTableActionBarSelectionProps<TData extends RowData> {
table: Table<TData>;
}
function DataTableActionBarSelection<TData>({
function DataTableActionBarSelection<TData extends RowData>({
table,
}: DataTableActionBarSelectionProps<TData>) {
const { t } = useTranslation();
@@ -1,14 +1,16 @@
"use client";
import {
type ColumnDef,
flexRender,
getCoreRowModel,
getSortedRowModel,
type RowSelectionState,
type SortingState,
useReactTable,
} from "@tanstack/react-table";
import {
type LegacyColumnDef as ColumnDef,
getCoreRowModel,
getSortedRowModel,
useLegacyTable as useReactTable,
} from "@tanstack/react-table/legacy";
import { invoke } from "@tauri-apps/api/core";
import { listen } from "@tauri-apps/api/event";
import { open } from "@tauri-apps/plugin-dialog";
+6 -4
View File
@@ -1,14 +1,16 @@
"use client";
import {
type ColumnDef,
flexRender,
getCoreRowModel,
getSortedRowModel,
type RowSelectionState,
type SortingState,
useReactTable,
} from "@tanstack/react-table";
import {
type LegacyColumnDef as ColumnDef,
getCoreRowModel,
getSortedRowModel,
useLegacyTable as useReactTable,
} from "@tanstack/react-table/legacy";
import { invoke } from "@tauri-apps/api/core";
import { listen } from "@tauri-apps/api/event";
import { useCallback, useEffect, useMemo, useState } from "react";
+15 -8
View File
@@ -1,16 +1,19 @@
"use client";
import {
type ColumnDef,
flexRender,
getCoreRowModel,
getSortedRowModel,
type RowData,
type RowSelectionState,
type SortingState,
useReactTable,
type VisibilityState,
type TableFeatures,
type ColumnVisibilityState as VisibilityState,
} from "@tanstack/react-table";
import {
type LegacyColumnDef as ColumnDef,
getCoreRowModel,
getSortedRowModel,
useLegacyTable as useReactTable,
} from "@tanstack/react-table/legacy";
import { useVirtualizer } from "@tanstack/react-virtual";
import { invoke } from "@tauri-apps/api/core";
import { emit, listen } from "@tauri-apps/api/event";
@@ -156,8 +159,12 @@ import { Input } from "./ui/input";
import { RippleButton } from "./ui/ripple";
import { Skeleton } from "./ui/skeleton";
declare module "@tanstack/react-table" {
interface ColumnMeta<TData extends RowData, TValue> {
declare module "@tanstack/table-core" {
interface ColumnMeta<
TFeatures extends TableFeatures,
TData extends RowData,
TValue,
> {
// Emit no width for this column so table-fixed hands it all remaining
// space. Checking columnDef.size alone can't express this: TanStack
// resolves an unspecified size to its 150px default.
@@ -3021,7 +3028,7 @@ export function ProfilesDataTable({
// creation-date sorting needs no visible column.
header: ({ table }) => {
const meta = table.options.meta as TableMeta;
const sort = table.getState().sorting[0];
const sort = table.options.state?.sorting?.[0];
const isActive = (id: string, desc: boolean) =>
sort?.id === id && !!sort.desc === desc;
return (
+6 -4
View File
@@ -1,14 +1,16 @@
"use client";
import {
type ColumnDef,
flexRender,
getCoreRowModel,
getSortedRowModel,
type RowSelectionState,
type SortingState,
useReactTable,
} from "@tanstack/react-table";
import {
type LegacyColumnDef as ColumnDef,
getCoreRowModel,
getSortedRowModel,
useLegacyTable as useReactTable,
} from "@tanstack/react-table/legacy";
import { invoke } from "@tauri-apps/api/core";
import { emit, listen } from "@tauri-apps/api/event";
import { useCallback, useEffect, useMemo, useState } from "react";
+44 -36
View File
@@ -355,6 +355,10 @@
"name": "@swc/helpers",
"license": "Apache-2.0"
},
{
"name": "@tanstack/react-store",
"license": "MIT"
},
{
"name": "@tanstack/react-table",
"license": "MIT"
@@ -363,6 +367,10 @@
"name": "@tanstack/react-virtual",
"license": "MIT"
},
{
"name": "@tanstack/store",
"license": "MIT"
},
{
"name": "@tanstack/table-core",
"license": "MIT"
@@ -439,10 +447,6 @@
"name": "@types/gensync",
"license": "MIT"
},
{
"name": "@types/js-cookie",
"license": "MIT"
},
{
"name": "@types/jsesc",
"license": "MIT"
@@ -463,6 +467,10 @@
"name": "@types/use-sync-external-store",
"license": "MIT"
},
{
"name": "@typescript/typescript-darwin-arm64",
"license": "Apache-2.0"
},
{
"name": "adler2",
"license": "0BSD OR MIT OR Apache-2.0"
@@ -623,6 +631,14 @@
"name": "avif-serialize",
"license": "BSD-3-Clause"
},
{
"name": "aws-lc-rs",
"license": "ISC AND (Apache-2.0 OR ISC)"
},
{
"name": "aws-lc-sys",
"license": "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)"
},
{
"name": "axum",
"license": "MIT"
@@ -915,6 +931,10 @@
"name": "core-graphics-types",
"license": "Apache-2.0 OR MIT"
},
{
"name": "core_detect",
"license": "Apache-2.0 OR MIT"
},
{
"name": "cpubits",
"license": "Apache-2.0 OR MIT"
@@ -1083,10 +1103,6 @@
"name": "defmt-parser",
"license": "Apache-2.0 OR MIT"
},
{
"name": "der",
"license": "Apache-2.0 OR MIT"
},
{
"name": "deranged",
"license": "Apache-2.0 OR MIT"
@@ -1191,10 +1207,6 @@
"name": "dynosaur_derive",
"license": "Apache-2.0 OR MIT"
},
{
"name": "ed25519",
"license": "Apache-2.0 OR MIT"
},
{
"name": "either",
"license": "Apache-2.0 OR MIT"
@@ -1703,10 +1715,6 @@
"name": "internmap",
"license": "ISC"
},
{
"name": "intersection-observer",
"license": "Apache-2.0"
},
{
"name": "ip_network",
"license": "BSD-2-Clause"
@@ -1971,6 +1979,18 @@
"name": "muda",
"license": "Apache-2.0 OR MIT"
},
{
"name": "multiversion",
"license": "Apache-2.0 OR MIT"
},
{
"name": "multiversion-macros",
"license": "Apache-2.0 OR MIT"
},
{
"name": "multiversion_no_op",
"license": "Apache-2.0 OR MIT"
},
{
"name": "nanoid",
"license": "MIT"
@@ -2263,10 +2283,6 @@
"name": "piper",
"license": "Apache-2.0 OR MIT"
},
{
"name": "pkcs8",
"license": "Apache-2.0 OR MIT"
},
{
"name": "plist",
"license": "MIT"
@@ -2519,10 +2535,6 @@
"name": "ring",
"license": "Apache-2.0 AND ISC"
},
{
"name": "ring-compat",
"license": "Apache-2.0 OR MIT"
},
{
"name": "roxmltree",
"license": "Apache-2.0 OR MIT"
@@ -2555,6 +2567,10 @@
"name": "rustls-webpki",
"license": "ISC"
},
{
"name": "rustversion",
"license": "Apache-2.0 OR MIT"
},
{
"name": "ryu",
"license": "Apache-2.0 OR BSL-1.0"
@@ -2719,10 +2735,6 @@
"name": "signal-hook-registry",
"license": "Apache-2.0 OR MIT"
},
{
"name": "signature",
"license": "Apache-2.0 OR MIT"
},
{
"name": "simd-adler32",
"license": "MIT"
@@ -2731,6 +2743,10 @@
"name": "simd_helpers",
"license": "MIT"
},
{
"name": "simdutf8",
"license": "Apache-2.0 OR MIT"
},
{
"name": "simplecss",
"license": "Apache-2.0 OR MIT"
@@ -2787,10 +2803,6 @@
"name": "spin",
"license": "MIT"
},
{
"name": "spki",
"license": "Apache-2.0 OR MIT"
},
{
"name": "stable_deref_trait",
"license": "Apache-2.0 OR MIT"
@@ -2987,10 +2999,6 @@
"name": "tinyvec",
"license": "Zlib OR Apache-2.0 OR MIT"
},
{
"name": "tinyvec_macros",
"license": "MIT OR Apache-2.0 OR Zlib"
},
{
"name": "tokio",
"license": "MIT"