このコミットが含まれているのは:
2026-10-28 22:28:12 +09:00
コミット ecd8b449e3
9個のファイルの変更、95行の追加、16行の削除
+2
ファイルの表示
@@ -2,6 +2,7 @@ import { createContext, useContext } from 'react'
export const MIN_COUNT_WIDTH = 64
export const MAX_COUNT_WIDTH = 2000
export const MAX_INITIAL_COUNT_WIDTH = 640
export const defaultCountWidths: Record<string, number> = {
row_number: 72, thumbnail: 88, resource_id: 88, version_no: 88, latest: 104,
@@ -15,6 +16,7 @@ export const defaultCountWidths: Record<string, number> = {
type Layout = {
width: (family: string, key: string) => number
custom: (family: string, key: string) => boolean
fit: (family: string, key: string, width: number) => void
resize: (family: string, key: string, width: number) => void }
export const CountsLayoutContext = createContext<Layout | null> (null)
export const CountsTableScope = createContext ('')