260713_01_ENH: 테이블 스티키 헤더 수정, KriSelect에 disabled 추가, 타임 피커 시간 내림차순에서 오른 차순으로 변경

This commit is contained in:
2026-07-13 09:01:08 +09:00
parent 9a1266f6e6
commit c76a5f560a
5 changed files with 63 additions and 53 deletions

View File

@@ -23,6 +23,7 @@ export type KriSelectProps<T> = {
getValue?: (item: T) => string
getLabel?: (item: T) => string
useAll?: boolean
disabled?: boolean
}
const HEIGHT_CLASS_VALUE: Record<string, CSSProperties['height']> = {
@@ -47,6 +48,7 @@ export function KriSelect<T>({
getValue,
getLabel,
useAll = true,
disabled,
}: KriSelectProps<T>) {
const extractValue = (item: T) => (getValue ? getValue(item) : String(item))
const extractLabel = (item: T) => (getLabel ? getLabel(item) : String(item))
@@ -57,6 +59,7 @@ export function KriSelect<T>({
return (
<Select
value={value}
disabled={disabled}
onValueChange={(selectedValue) => {
onChange?.(selectedValue)