@t3q-ui/design-system 1.59.0 → 1.59.2
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.
- package/CHANGELOG.md +19 -0
- package/dist/{chunk-KT6LEYWL.cjs → chunk-24IZHXNG.cjs} +49 -12
- package/dist/{chunk-KT6LEYWL.cjs.map → chunk-24IZHXNG.cjs.map} +1 -1
- package/dist/{chunk-GQFI5K5T.js → chunk-AIMWERAR.js} +48 -13
- package/dist/chunk-AIMWERAR.js.map +1 -0
- package/dist/{index-CHnIxzU2.d.cts → index-BGBKE_7M.d.cts} +14 -2
- package/dist/{index-CHnIxzU2.d.ts → index-BGBKE_7M.d.ts} +14 -2
- package/dist/index.cjs +466 -458
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/patterns/index.cjs +69 -69
- package/dist/patterns/index.d.cts +1 -1
- package/dist/patterns/index.d.ts +1 -1
- package/dist/patterns/index.js +1 -1
- package/package.json +1 -1
- package/skills/tds/SKILL.md +2 -2
- package/skills/tds/reference/components.md +3 -3
- package/dist/chunk-GQFI5K5T.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -8,8 +8,8 @@ declare namespace class_variance_authority_types {
|
|
|
8
8
|
}
|
|
9
9
|
import { VariantProps } from 'class-variance-authority';
|
|
10
10
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
11
|
-
import { B as BadgeProps } from './index-
|
|
12
|
-
export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer,
|
|
11
|
+
import { B as BadgeProps } from './index-BGBKE_7M.cjs';
|
|
12
|
+
export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, Q as BALANCED_FILL_MIN_WIDTH, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, U as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, Z as TwoLineCellRenderer, Y as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, T as withBalancedFill, L as withExplicitSortIcons, O as withFlexFill, X as withHeaderMinWidth, V as withNumberColumnWidth, M as withSortIconOffset, W as withTypeClasses } from './index-BGBKE_7M.cjs';
|
|
13
13
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
14
14
|
import { DayPicker, SelectSingleEventHandler, DateRange, SelectRangeEventHandler } from 'react-day-picker';
|
|
15
15
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
@@ -916,7 +916,7 @@ type PaginationPropsType = {
|
|
|
916
916
|
count?: number;
|
|
917
917
|
/** disabled */
|
|
918
918
|
disabled?: boolean;
|
|
919
|
-
/** 라벨 표시 여부 (
|
|
919
|
+
/** 라벨 표시 여부 ("N개 중 X–Y") */
|
|
920
920
|
showLabel?: boolean;
|
|
921
921
|
};
|
|
922
922
|
/**
|
|
@@ -953,7 +953,7 @@ interface PanelProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'title'>
|
|
|
953
953
|
description?: React$1.ReactNode;
|
|
954
954
|
/** 제목의 heading 레벨. 페이지 제목이 h1 이면 2(기본), 상자 안의 하위 구역이면 3 */
|
|
955
955
|
level?: 2 | 3;
|
|
956
|
-
/** 제목 줄 오른쪽(닫기 버튼
|
|
956
|
+
/** 제목 줄 오른쪽 — **정보가 있는 작은 행동만**("전체 보기" 링크 버튼, 닫기 버튼). 장식 Tag·Badge·아이콘·글자는 두지 않는다(2026-11-08 홀드아웃 22: Codex 가 카드 제목 옆에 Tag "이미지 분류"·trophy 아이콘·Badge 를 넣어 "한 카드는 태그, 다른 카드는 아이콘" 으로 읽힘) */
|
|
957
957
|
titleRight?: React$1.ReactNode;
|
|
958
958
|
/** 본문 아래 안내 한 줄(비활성 사유 등) */
|
|
959
959
|
note?: React$1.ReactNode;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ declare namespace class_variance_authority_types {
|
|
|
8
8
|
}
|
|
9
9
|
import { VariantProps } from 'class-variance-authority';
|
|
10
10
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
11
|
-
import { B as BadgeProps } from './index-
|
|
12
|
-
export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer,
|
|
11
|
+
import { B as BadgeProps } from './index-BGBKE_7M.js';
|
|
12
|
+
export { I as AgGridTable, K as AgGridTableType, d as BADGE_OUTLINE_ACCENT, Q as BALANCED_FILL_MIN_WIDTH, a as Badge, c as BadgeTone, e as Button, g as ButtonProps, D as Dialog, k as DialogClose, l as DialogContent, p as DialogDescription, n as DialogFooter, m as DialogHeader, i as DialogOverlay, h as DialogPortal, o as DialogTitle, j as DialogTrigger, q as Drawer, x as DrawerBody, u as DrawerClose, v as DrawerContent, A as DrawerDescription, y as DrawerFooter, w as DrawerHeader, s as DrawerOverlay, r as DrawerPortal, z as DrawerTitle, t as DrawerTrigger, J as HeaderCheckboxRenderer, U as NUMBER_COLUMN_WIDTH, H as PageHeader, G as PageHeaderProps, E as PageHeaderProvider, C as PageHeaderState, P as PageHeaderTabItem, R as RowCheckboxRenderer, S as SORT_ICON_OFFSET_CLASS, Z as TwoLineCellRenderer, Y as TwoLineCellRendererParams, b as badgeVariants, f as buttonVariants, N as estimateHeaderTextWidth, F as usePageHeader, T as withBalancedFill, L as withExplicitSortIcons, O as withFlexFill, X as withHeaderMinWidth, V as withNumberColumnWidth, M as withSortIconOffset, W as withTypeClasses } from './index-BGBKE_7M.js';
|
|
13
13
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
14
14
|
import { DayPicker, SelectSingleEventHandler, DateRange, SelectRangeEventHandler } from 'react-day-picker';
|
|
15
15
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
@@ -916,7 +916,7 @@ type PaginationPropsType = {
|
|
|
916
916
|
count?: number;
|
|
917
917
|
/** disabled */
|
|
918
918
|
disabled?: boolean;
|
|
919
|
-
/** 라벨 표시 여부 (
|
|
919
|
+
/** 라벨 표시 여부 ("N개 중 X–Y") */
|
|
920
920
|
showLabel?: boolean;
|
|
921
921
|
};
|
|
922
922
|
/**
|
|
@@ -953,7 +953,7 @@ interface PanelProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'title'>
|
|
|
953
953
|
description?: React$1.ReactNode;
|
|
954
954
|
/** 제목의 heading 레벨. 페이지 제목이 h1 이면 2(기본), 상자 안의 하위 구역이면 3 */
|
|
955
955
|
level?: 2 | 3;
|
|
956
|
-
/** 제목 줄 오른쪽(닫기 버튼
|
|
956
|
+
/** 제목 줄 오른쪽 — **정보가 있는 작은 행동만**("전체 보기" 링크 버튼, 닫기 버튼). 장식 Tag·Badge·아이콘·글자는 두지 않는다(2026-11-08 홀드아웃 22: Codex 가 카드 제목 옆에 Tag "이미지 분류"·trophy 아이콘·Badge 를 넣어 "한 카드는 태그, 다른 카드는 아이콘" 으로 읽힘) */
|
|
957
957
|
titleRight?: React$1.ReactNode;
|
|
958
958
|
/** 본문 아래 안내 한 줄(비활성 사유 등) */
|
|
959
959
|
note?: React$1.ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-
|
|
2
|
-
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, getPaginationRange, getSortedColumnState, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses } from './chunk-
|
|
1
|
+
import { cn, useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFormControlContext, Table, TableHeader, TableRow, TableHead, TableBody, Spinner, IconButton, Separator, LucideIcon, TableCell, Dialog, DialogContent, DialogTitle, Badge } from './chunk-AIMWERAR.js';
|
|
2
|
+
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, BALANCED_FILL_MIN_WIDTH, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, getPaginationRange, getSortedColumnState, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses } from './chunk-AIMWERAR.js';
|
|
3
3
|
import * as React17 from 'react';
|
|
4
4
|
import React17__default, { forwardRef, useMemo, useState, useEffect, useCallback, useRef } from 'react';
|
|
5
5
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
package/dist/patterns/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk24IZHXNG_cjs = require('../chunk-24IZHXNG.cjs');
|
|
4
4
|
var react = require('react');
|
|
5
5
|
var lucideReact = require('lucide-react');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -21,7 +21,7 @@ function withSecondaryLine(columns, primaryField, secondaryField) {
|
|
|
21
21
|
return columns.map(
|
|
22
22
|
(c) => c.field === primaryField && c.cellRenderer == null ? {
|
|
23
23
|
...c,
|
|
24
|
-
cellRenderer:
|
|
24
|
+
cellRenderer: chunk24IZHXNG_cjs.TwoLineCellRenderer,
|
|
25
25
|
cellRendererParams: { ...c.cellRendererParams, secondaryField }
|
|
26
26
|
} : c
|
|
27
27
|
);
|
|
@@ -47,10 +47,10 @@ function LoadingState({ className, lines = 3 }) {
|
|
|
47
47
|
{
|
|
48
48
|
role: "status",
|
|
49
49
|
"aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911",
|
|
50
|
-
className:
|
|
50
|
+
className: chunk24IZHXNG_cjs.cn("flex flex-col gap-[12px]", className),
|
|
51
51
|
children: [
|
|
52
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
-
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
52
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
|
|
53
|
+
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Skeleton, { className: chunk24IZHXNG_cjs.cn("h-[16px]", i % 2 ? "w-3/5" : "w-full") }, i))
|
|
54
54
|
]
|
|
55
55
|
}
|
|
56
56
|
);
|
|
@@ -68,12 +68,12 @@ function StateBox({
|
|
|
68
68
|
"div",
|
|
69
69
|
{
|
|
70
70
|
role,
|
|
71
|
-
className:
|
|
71
|
+
className: chunk24IZHXNG_cjs.cn(
|
|
72
72
|
"flex flex-col items-center justify-center gap-[4px] text-center text-sys-text-subtler",
|
|
73
73
|
className
|
|
74
74
|
),
|
|
75
75
|
children: [
|
|
76
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className:
|
|
76
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: chunk24IZHXNG_cjs.cn("mb-[4px] flex text-sys-text-subtler", iconClassName), children: icon }),
|
|
77
77
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-h5 text-sys-text-main", children: title }),
|
|
78
78
|
description ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "break-keep text-base-regular text-sys-text-subtle wrap-break-word", children: description }) : null,
|
|
79
79
|
action ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-auto mt-[12px] flex gap-[8px]", children: action }) : null
|
|
@@ -94,7 +94,7 @@ function EmptyState({
|
|
|
94
94
|
{
|
|
95
95
|
role: "status",
|
|
96
96
|
className,
|
|
97
|
-
icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
97
|
+
icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.EmptyBoxIllustration, {}),
|
|
98
98
|
title: title ?? children,
|
|
99
99
|
description,
|
|
100
100
|
action
|
|
@@ -113,11 +113,11 @@ function ErrorState({
|
|
|
113
113
|
{
|
|
114
114
|
role: "alert",
|
|
115
115
|
className,
|
|
116
|
-
icon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
116
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
|
|
117
117
|
iconClassName: "text-danger30",
|
|
118
118
|
title,
|
|
119
119
|
description,
|
|
120
|
-
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
120
|
+
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "primary", onClick: onRetry, children: retryLabel }) : null
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
123
|
}
|
|
@@ -174,12 +174,12 @@ function ListPage({
|
|
|
174
174
|
return () => document.removeEventListener("keydown", onKey);
|
|
175
175
|
}, [detailOpen]);
|
|
176
176
|
const resetButton = onResetFilters ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
177
|
-
|
|
177
|
+
chunk24IZHXNG_cjs.Button,
|
|
178
178
|
{
|
|
179
179
|
type: "button",
|
|
180
180
|
variant: "secondaryOutline",
|
|
181
181
|
onClick: onResetFilters,
|
|
182
|
-
className:
|
|
182
|
+
className: chunk24IZHXNG_cjs.cn(filtersActive === false && "invisible"),
|
|
183
183
|
"aria-hidden": filtersActive === false || void 0,
|
|
184
184
|
children: [
|
|
185
185
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.RotateCcw, { size: 16, "aria-hidden": true }),
|
|
@@ -205,7 +205,7 @@ function ListPage({
|
|
|
205
205
|
const quick = quickFilter ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-[8px]", children: [
|
|
206
206
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-small-regular font-medium text-sys-text-subtle", children: quickFilter.label }),
|
|
207
207
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
208
|
-
|
|
208
|
+
chunk24IZHXNG_cjs.ToggleGroup,
|
|
209
209
|
{
|
|
210
210
|
type: "multiple",
|
|
211
211
|
variant: "outline",
|
|
@@ -217,9 +217,9 @@ function ListPage({
|
|
|
217
217
|
quickFilter.onChange(pressedAll ? [] : next.filter((v) => v !== QUICK_ALL));
|
|
218
218
|
},
|
|
219
219
|
children: [
|
|
220
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
220
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
|
|
221
221
|
quickFilter.options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
222
|
-
|
|
222
|
+
chunk24IZHXNG_cjs.ToggleGroupItem,
|
|
223
223
|
{
|
|
224
224
|
value: o.value,
|
|
225
225
|
count: o.count,
|
|
@@ -260,7 +260,7 @@ function ListPage({
|
|
|
260
260
|
className: "pt-[32px] pb-[16px]",
|
|
261
261
|
title: content.title,
|
|
262
262
|
description: content.description ?? content.children,
|
|
263
|
-
action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
263
|
+
action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "secondaryLink", onClick: () => resetRef.current?.(), children: "\uD544\uD130 \uCD08\uAE30\uD654" }) : null
|
|
264
264
|
}
|
|
265
265
|
);
|
|
266
266
|
},
|
|
@@ -272,7 +272,7 @@ function ListPage({
|
|
|
272
272
|
);
|
|
273
273
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
274
274
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
275
|
-
|
|
275
|
+
chunk24IZHXNG_cjs.PageHeader,
|
|
276
276
|
{
|
|
277
277
|
title,
|
|
278
278
|
description,
|
|
@@ -281,19 +281,19 @@ function ListPage({
|
|
|
281
281
|
bottomRight: filterRow
|
|
282
282
|
}
|
|
283
283
|
),
|
|
284
|
-
/* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
284
|
+
/* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.AlertDescription, { children: error }) }) : (
|
|
285
285
|
// 상세 패널(detail)이 있으면 표 쪽이 줄고 패널이 오른쪽에 나란히 선다 — 목록 맥락을 유지한 채 상세를 본다
|
|
286
286
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-[24px]", children: [
|
|
287
287
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
288
288
|
caption,
|
|
289
289
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
290
|
-
|
|
290
|
+
chunk24IZHXNG_cjs.AgGridTable,
|
|
291
291
|
{
|
|
292
292
|
rowData: rows,
|
|
293
293
|
columnDefs,
|
|
294
294
|
loading,
|
|
295
295
|
noRowsOverlayComponent: EmptyOverlay,
|
|
296
|
-
onSortChanged: onSortChange ? (e) => onSortChange(
|
|
296
|
+
onSortChanged: onSortChange ? (e) => onSortChange(chunk24IZHXNG_cjs.getSortedColumnState(e).value) : void 0,
|
|
297
297
|
onRowClicked: onRowClick ? (e) => {
|
|
298
298
|
if (e.data) onRowClick(e.data);
|
|
299
299
|
} : void 0,
|
|
@@ -303,8 +303,8 @@ function ListPage({
|
|
|
303
303
|
rowClassRules
|
|
304
304
|
}
|
|
305
305
|
),
|
|
306
|
-
pagination ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
307
|
-
|
|
306
|
+
pagination ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.TablePagination, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
307
|
+
chunk24IZHXNG_cjs.Pagination,
|
|
308
308
|
{
|
|
309
309
|
total: pagination.total,
|
|
310
310
|
rowsPerPage: pagination.pageSize,
|
|
@@ -318,13 +318,13 @@ function ListPage({
|
|
|
318
318
|
// 나란한 상세 패널: 제목·설명·닫기 → 본문 → (안내) → 버튼 줄. 스크롤해도 따라오게 sticky. Card 와 같은 테두리·라운드(그림자 없음).
|
|
319
319
|
// <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe landmark-complementary-is-top-level) 이름 있는 section — DetailPage 의 aside 와 같다
|
|
320
320
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
321
|
-
|
|
321
|
+
chunk24IZHXNG_cjs.Panel,
|
|
322
322
|
{
|
|
323
323
|
title: detail.title,
|
|
324
324
|
description: detail.description,
|
|
325
325
|
padding: "large",
|
|
326
326
|
titleRight: /* @__PURE__ */ jsxRuntime.jsx(
|
|
327
|
-
|
|
327
|
+
chunk24IZHXNG_cjs.IconButton,
|
|
328
328
|
{
|
|
329
329
|
type: "button",
|
|
330
330
|
variant: "secondary",
|
|
@@ -335,7 +335,7 @@ function ListPage({
|
|
|
335
335
|
),
|
|
336
336
|
note: detail.note,
|
|
337
337
|
footer: detail.footer,
|
|
338
|
-
className:
|
|
338
|
+
className: chunk24IZHXNG_cjs.cn("sticky top-[24px] shrink-0", DETAIL_WIDTH[detail.width ?? "medium"]),
|
|
339
339
|
children: detail.children
|
|
340
340
|
}
|
|
341
341
|
)
|
|
@@ -353,10 +353,10 @@ function MoreMenu({
|
|
|
353
353
|
const select = (fn) => () => {
|
|
354
354
|
pendingRef.current = fn;
|
|
355
355
|
};
|
|
356
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
357
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
356
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.DropdownMenu, { children: [
|
|
357
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.IconButton, { ref: triggerRef, variant: "secondary", "aria-label": "\uB354\uBCF4\uAE30", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { size: 24 }) }) }),
|
|
358
358
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
359
|
-
|
|
359
|
+
chunk24IZHXNG_cjs.DropdownMenuContent,
|
|
360
360
|
{
|
|
361
361
|
align: "end",
|
|
362
362
|
onCloseAutoFocus: (e) => {
|
|
@@ -367,10 +367,10 @@ function MoreMenu({
|
|
|
367
367
|
fn?.();
|
|
368
368
|
},
|
|
369
369
|
children: [
|
|
370
|
-
items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
371
|
-
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
370
|
+
items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
|
|
371
|
+
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DropdownMenuSeparator, {}) : null,
|
|
372
372
|
deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
373
|
-
|
|
373
|
+
chunk24IZHXNG_cjs.DropdownMenuItem,
|
|
374
374
|
{
|
|
375
375
|
variant: "danger",
|
|
376
376
|
disabled: deleteAction.disabled,
|
|
@@ -418,7 +418,7 @@ function DetailPage({
|
|
|
418
418
|
body = // 넓은 화면: 본문 2 : 패널 1 + 세로선. 좁은 화면: 세로로 쌓이고 패널은 제목 + 가로선으로 시작한다
|
|
419
419
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[2fr_1fr] xl:items-start", children: [
|
|
420
420
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children }),
|
|
421
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
421
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Panel, { title: asideTitle, children: aside })
|
|
422
422
|
] });
|
|
423
423
|
} else {
|
|
424
424
|
body = children;
|
|
@@ -426,11 +426,11 @@ function DetailPage({
|
|
|
426
426
|
const VISIBLE_SECONDARY = 2;
|
|
427
427
|
const visibleSecondary = secondaryActions?.slice(0, VISIBLE_SECONDARY) ?? [];
|
|
428
428
|
const overflowSecondary = secondaryActions?.slice(VISIBLE_SECONDARY) ?? [];
|
|
429
|
-
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
429
|
+
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
|
|
430
430
|
const moreMenu = (items) => items.length || deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items, deleteAction }) : null;
|
|
431
431
|
const fullRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
432
432
|
moreMenu(overflowSecondary),
|
|
433
|
-
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
433
|
+
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
|
|
434
434
|
primaryButton
|
|
435
435
|
] });
|
|
436
436
|
const collapsedRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -451,7 +451,7 @@ function DetailPage({
|
|
|
451
451
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "detail-actions-collapsed", className: "flex items-center gap-[8px] @3xl:hidden", children: collapsedRow })
|
|
452
452
|
] }) : primaryButton ? primaryButton : void 0;
|
|
453
453
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
454
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
454
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.PageHeader, { ...header, actions: actionRow }),
|
|
455
455
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
456
456
|
"section",
|
|
457
457
|
{
|
|
@@ -459,7 +459,7 @@ function DetailPage({
|
|
|
459
459
|
className: "flex flex-col gap-[24px] px-[24px] py-[24px]",
|
|
460
460
|
children: [
|
|
461
461
|
banner,
|
|
462
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
462
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk24IZHXNG_cjs.cn("w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
|
|
463
463
|
note,
|
|
464
464
|
body
|
|
465
465
|
] })
|
|
@@ -481,7 +481,7 @@ function useFormShell({
|
|
|
481
481
|
}
|
|
482
482
|
function FormError({ error, className }) {
|
|
483
483
|
if (!error) return null;
|
|
484
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
484
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.AlertDescription, { children: error }) });
|
|
485
485
|
}
|
|
486
486
|
function FormActions({
|
|
487
487
|
busy,
|
|
@@ -493,7 +493,7 @@ function FormActions({
|
|
|
493
493
|
}) {
|
|
494
494
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
495
495
|
onCancel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
496
|
-
|
|
496
|
+
chunk24IZHXNG_cjs.Button,
|
|
497
497
|
{
|
|
498
498
|
type: "button",
|
|
499
499
|
variant: "secondaryOutline",
|
|
@@ -504,7 +504,7 @@ function FormActions({
|
|
|
504
504
|
}
|
|
505
505
|
) : null,
|
|
506
506
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
507
|
-
|
|
507
|
+
chunk24IZHXNG_cjs.Button,
|
|
508
508
|
{
|
|
509
509
|
type: "submit",
|
|
510
510
|
variant: "primaryBold",
|
|
@@ -556,11 +556,11 @@ function FormPage({
|
|
|
556
556
|
" ",
|
|
557
557
|
"\uD45C\uC2DC\uB294 \uD544\uC218 \uC785\uB825 \uD56D\uBAA9\uC785\uB2C8\uB2E4"
|
|
558
558
|
] }) : null,
|
|
559
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
560
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
559
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
|
|
560
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
|
|
561
561
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" }),
|
|
562
562
|
aside ? null : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
563
|
-
|
|
563
|
+
chunk24IZHXNG_cjs.FormFooter,
|
|
564
564
|
{
|
|
565
565
|
align: "end",
|
|
566
566
|
className: "mt-[24px] border-t border-sys-divider-subtle pt-[16px]",
|
|
@@ -572,9 +572,9 @@ function FormPage({
|
|
|
572
572
|
const column = canvas === "subtle" ? (
|
|
573
573
|
// 폼 전체를 흰 Card 하나로(섹션 사이 구분선은 그대로). 위 8px 는 첫 FormSection 의 pt-[16px] 과 더해 24
|
|
574
574
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
575
|
-
|
|
575
|
+
chunk24IZHXNG_cjs.Card,
|
|
576
576
|
{
|
|
577
|
-
className:
|
|
577
|
+
className: chunk24IZHXNG_cjs.cn(
|
|
578
578
|
"w-full max-w-[var(--max-w-form-control)] px-[24px] pb-[24px] pt-[8px]",
|
|
579
579
|
align === "center" && !aside && "mx-auto"
|
|
580
580
|
),
|
|
@@ -584,7 +584,7 @@ function FormPage({
|
|
|
584
584
|
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
585
585
|
"div",
|
|
586
586
|
{
|
|
587
|
-
className:
|
|
587
|
+
className: chunk24IZHXNG_cjs.cn(
|
|
588
588
|
"w-full max-w-[var(--max-w-form-control)]",
|
|
589
589
|
align === "center" && !aside && "mx-auto"
|
|
590
590
|
),
|
|
@@ -593,9 +593,9 @@ function FormPage({
|
|
|
593
593
|
);
|
|
594
594
|
return (
|
|
595
595
|
// subtle 의 캔버스 회색은 기존 토큰(grayscale20, 진단 18-A 의 f7 변형)을 쓴다 — 채택되면 전용 sys 토큰으로 올린다
|
|
596
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
596
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk24IZHXNG_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
|
|
597
597
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
598
|
-
|
|
598
|
+
chunk24IZHXNG_cjs.PageHeader,
|
|
599
599
|
{
|
|
600
600
|
title,
|
|
601
601
|
description,
|
|
@@ -609,7 +609,7 @@ function FormPage({
|
|
|
609
609
|
// <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe) 이름 있는 section (DetailPage aside 와 같은 꼴)
|
|
610
610
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[minmax(0,var(--max-w-form-control))_minmax(280px,1fr)] xl:items-start", children: [
|
|
611
611
|
column,
|
|
612
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
612
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
|
|
613
613
|
aside,
|
|
614
614
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
615
615
|
"div",
|
|
@@ -646,23 +646,23 @@ function FormDrawer({
|
|
|
646
646
|
if (!next && busy) return;
|
|
647
647
|
onOpenChange(next);
|
|
648
648
|
};
|
|
649
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
650
|
-
|
|
649
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
650
|
+
chunk24IZHXNG_cjs.DrawerContent,
|
|
651
651
|
{
|
|
652
652
|
side,
|
|
653
653
|
size,
|
|
654
654
|
...description ? {} : { "aria-describedby": void 0 },
|
|
655
655
|
children: [
|
|
656
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
657
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
658
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
656
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.DrawerHeader, { children: [
|
|
657
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DrawerTitle, { children: title }),
|
|
658
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DrawerDescription, { children: description }) : null
|
|
659
659
|
] }),
|
|
660
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
661
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
660
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex min-h-0 flex-1 flex-col", children: [
|
|
661
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.DrawerBody, { className: "px-[24px]", children: [
|
|
662
662
|
children,
|
|
663
663
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" })
|
|
664
664
|
] }),
|
|
665
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
665
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
666
666
|
FormActions,
|
|
667
667
|
{
|
|
668
668
|
busy,
|
|
@@ -697,21 +697,21 @@ function FormDialog({
|
|
|
697
697
|
if (!next && busy) return;
|
|
698
698
|
onOpenChange(next);
|
|
699
699
|
};
|
|
700
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
701
|
-
|
|
700
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
701
|
+
chunk24IZHXNG_cjs.DialogContent,
|
|
702
702
|
{
|
|
703
703
|
width,
|
|
704
704
|
hideCloseButton: busy,
|
|
705
705
|
...description ? {} : { "aria-describedby": void 0 },
|
|
706
706
|
children: [
|
|
707
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
708
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
709
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
707
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.DialogHeader, { children: [
|
|
708
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DialogTitle, { children: title }),
|
|
709
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DialogDescription, { children: description }) : null
|
|
710
710
|
] }),
|
|
711
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
711
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
|
|
712
712
|
children,
|
|
713
713
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error }),
|
|
714
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
714
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
715
715
|
FormActions,
|
|
716
716
|
{
|
|
717
717
|
busy,
|
|
@@ -743,7 +743,7 @@ function StatTile({
|
|
|
743
743
|
}) {
|
|
744
744
|
const labelId = react.useId();
|
|
745
745
|
const percent = ratio == null ? null : Math.round(Math.min(Math.max(ratio, 0), 1) * 100);
|
|
746
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
746
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
|
|
747
747
|
/* @__PURE__ */ jsxRuntime.jsx("span", { id: labelId, className: "text-h6 text-sys-text-subtle", children: href ? (
|
|
748
748
|
// 타일 전체를 클릭 영역으로: 링크의 ::after 를 Card 크기로 늘린다
|
|
749
749
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -755,7 +755,7 @@ function StatTile({
|
|
|
755
755
|
}
|
|
756
756
|
)
|
|
757
757
|
) : label }),
|
|
758
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
758
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Skeleton, { role: "status", "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911", className: "h-[32px] w-[80px]" }) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunk24IZHXNG_cjs.cn("flex items-center gap-[6px] text-h2", TONE_TEXT[tone]), children: [
|
|
759
759
|
tone !== "default" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { "aria-hidden": true, size: 20, className: "shrink-0" }) : null,
|
|
760
760
|
value
|
|
761
761
|
] }),
|
|
@@ -771,7 +771,7 @@ function StatTile({
|
|
|
771
771
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
772
772
|
"div",
|
|
773
773
|
{
|
|
774
|
-
className:
|
|
774
|
+
className: chunk24IZHXNG_cjs.cn("h-full rounded-full", TONE_BAR[tone]),
|
|
775
775
|
style: { width: `${percent}%` }
|
|
776
776
|
}
|
|
777
777
|
)
|
|
@@ -800,7 +800,7 @@ function DashboardLayout({
|
|
|
800
800
|
children
|
|
801
801
|
] });
|
|
802
802
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
803
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
803
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.PageHeader, { ...header, actions }),
|
|
804
804
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
805
805
|
"section",
|
|
806
806
|
{
|
|
@@ -822,9 +822,9 @@ function DashboardSection({ title, action, columns, children }) {
|
|
|
822
822
|
// 1px 간격 + 구분선 색 배경 = 칸 사이 가로·세로 구분선. 칸(DashboardPanel)은 자기 배경을 가진다
|
|
823
823
|
// 2열에서 칸 수가 홀수면 마지막 칸이 두 열을 차지해 빈 칸이 생기지 않게 한다
|
|
824
824
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
825
|
-
|
|
825
|
+
chunk24IZHXNG_cjs.Card,
|
|
826
826
|
{
|
|
827
|
-
className:
|
|
827
|
+
className: chunk24IZHXNG_cjs.cn(
|
|
828
828
|
"grid grid-cols-1 gap-px overflow-hidden bg-sys-divider-subtler",
|
|
829
829
|
columns === 2 && "xl:grid-cols-2 xl:[&>:last-child:nth-child(odd)]:col-span-2"
|
|
830
830
|
),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
import { ColDef } from 'ag-grid-community';
|
|
4
|
-
import { B as BadgeProps, K as AgGridTableType, g as ButtonProps, G as PageHeaderProps, v as DrawerContent, l as DialogContent } from '../index-
|
|
4
|
+
import { B as BadgeProps, K as AgGridTableType, g as ButtonProps, G as PageHeaderProps, v as DrawerContent, l as DialogContent } from '../index-BGBKE_7M.cjs';
|
|
5
5
|
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import '@radix-ui/react-dialog';
|
package/dist/patterns/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
import { ColDef } from 'ag-grid-community';
|
|
4
|
-
import { B as BadgeProps, K as AgGridTableType, g as ButtonProps, G as PageHeaderProps, v as DrawerContent, l as DialogContent } from '../index-
|
|
4
|
+
import { B as BadgeProps, K as AgGridTableType, g as ButtonProps, G as PageHeaderProps, v as DrawerContent, l as DialogContent } from '../index-BGBKE_7M.js';
|
|
5
5
|
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import '@radix-ui/react-dialog';
|
package/dist/patterns/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cn, Skeleton, EmptyBoxIllustration, Button, LucideIcon, ToggleGroup, ToggleGroupItem, PageHeader, Alert, AlertDescription, AgGridTable, getSortedColumnState, TablePagination, Pagination, Panel, IconButton, Form, FormSectionLevelContext, FormFooter, Card, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, DrawerBody, DrawerFooter, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, TwoLineCellRenderer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from '../chunk-
|
|
1
|
+
import { cn, Skeleton, EmptyBoxIllustration, Button, LucideIcon, ToggleGroup, ToggleGroupItem, PageHeader, Alert, AlertDescription, AgGridTable, getSortedColumnState, TablePagination, Pagination, Panel, IconButton, Form, FormSectionLevelContext, FormFooter, Card, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, DrawerBody, DrawerFooter, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, TwoLineCellRenderer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from '../chunk-AIMWERAR.js';
|
|
2
2
|
import { useRef, useEffect, useMemo, useId, isValidElement } from 'react';
|
|
3
3
|
import { RotateCcw, X, TriangleAlert, Ellipsis } from 'lucide-react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
package/package.json
CHANGED
package/skills/tds/SKILL.md
CHANGED
|
@@ -62,7 +62,7 @@ license: Proprietary. See LICENSE.md in the @t3q-ui/design-system package
|
|
|
62
62
|
- **상태처럼 선택지가 3~6개인 다중 선택 필터는 `ListPage quickFilter`** 로 표 왼쪽 위에 세그먼트(ToggleGroup)로 둔다 — 드롭다운을 열지 않아도 선택지가 보이고, `count` 로 항목마다 건수를 붙이고 **`countVariant` 에 표의 상태 뱃지와 같은 tone**(`STATUS[s].tone`: `success`·`secondary`·`danger`…)을 준다 — 건수는 상태색 pill 뱃지로 그려져 칩과 표가 같은 색 언어가 된다(예제의 `statusCounts`; "전체" 는 패턴이 primary, 2026-10-18 13차). 드롭다운에 숨기지 않는다. 선택지가 많거나(7개 이상) 검색이 필요한 축만 `TableFilterSingleSelect`/`TableFilterMultiSelect` 로 `filters` 에 두고, 그때는 `title`(예: '프레임워크')을 주면 "프레임워크 · 전체" 처럼 대상이 항상 보인다. placeholder 에 "전체" 만 넣지 않는다. 일반 `Select` 를 필터로 쓰면 placeholder 에 "전체 상태" 처럼 대상 이름을 넣는다. 라벨 없이 "전체" 만 보이는 필터를 만들지 않는다.
|
|
63
63
|
- 표는 `AgGridTable` 로 만든다. `ag-grid-react` 를 직접 쓰지 않는다. 행 클릭과 키보드 Enter 는 같은 행 클릭 핸들러로 들어온다.
|
|
64
64
|
- 주요 행동 버튼(생성·등록)은 `ListPage actions` 에 둔다 — 패턴이 제목 줄 오른쪽에 놓는다(직접 필터 슬롯이나 `titleRight` 에 넣지 않는다). `PageHeader actions` 도 제목 줄 오른쪽(탭이 있어도 같다, 2026-10-19 14차).
|
|
65
|
-
- **제목 옆 `titleRight` 에는 정보가 있는 것만 — 모든 패턴(ListPage·DetailPage·FormPage·DashboardLayout·PageHeader) 공통.** 목록·대시보드는 `PageHeaderRefreshButton`, 상세의 상태는 `status` 슬롯, 핵심 정보는 `meta`. **폼은 비워 둔다**(새로고침할 것이 없다) — 유형("Reservation")·상태·변경 건수 `Badge` 를 두지 않는다. 화면 분류 이름("프로젝트 자원 관리")·"새 요청" 같은 장식 `Tag`·`Badge`·글자, 보기 전환 `ToggleGroup` 도 두지 않는다 — 심판이 "버튼 규칙과 다른 작은 버튼"·"길 잃은 breadcrumb"·"unclear" 로 읽었다(2026-11-06 홀드아웃 17·19~21 폼·상세).
|
|
65
|
+
- **제목 옆 `titleRight` 에는 정보가 있는 것만 — 모든 패턴(ListPage·DetailPage·FormPage·DashboardLayout·PageHeader)과 `Panel` 공통.** `Panel titleRight` 는 "전체 보기" 같은 링크 버튼만 — 카드 제목 옆에 Tag("이미지 분류")·아이콘(trophy·flask)·Badge 를 두지 않는다(2026-11-08 홀드아웃 22, Codex 상세 2 run). 목록·대시보드는 `PageHeaderRefreshButton`, 상세의 상태는 `status` 슬롯, 핵심 정보는 `meta`. **폼은 비워 둔다**(새로고침할 것이 없다) — 유형("Reservation")·상태·변경 건수 `Badge` 를 두지 않는다. 화면 분류 이름("프로젝트 자원 관리")·"새 요청" 같은 장식 `Tag`·`Badge`·글자, 보기 전환 `ToggleGroup` 도 두지 않는다 — 심판이 "버튼 규칙과 다른 작은 버튼"·"길 잃은 breadcrumb"·"unclear" 로 읽었다(2026-11-06 홀드아웃 17·19~21 폼·상세).
|
|
66
66
|
- **유형·방식 선택(소스 유형·공개 범위·입력 방식처럼 선택지 2개 이상에 제목·설명이 붙는 것)은 `RadioSectionGroup` + `RadioSection`(카드형)** 으로 — dl-ui-v3 의 관례(21곳). 배치는 그룹이 개수로 정한다: 1~3개 한 줄, **4개는 2×2, 5개 이상은 세로 쌓기**(카드 안은 제목 · 설명 가로) — `className` 으로 grid 를 직접 짜지 않는다. 설명 없는 짧은 선택(예·아니오)만 `RadioGroup`, 선택지 7개 이상·검색이 필요하면 `Select`. **복수 선택에 제목·설명이 붙으면 `CheckboxSectionGroup` + `CheckboxSection`**(알림 채널), 설명 없는 짧은 옵션만 `Checkbox`. **켜기/끄기 하나의 설정(규칙 사용, 실패 시 알림, 노트북 지원)은 `SwitchSection`**(박스 + 제목·설명 + Switch, dl-ui-v3 ToggleField 관례) — 폼 제출값이어도 Checkbox 로 만들지 않는다. 예제 form-page.tsx 의 스케줄 선택(RadioSectionGroup)과 실패 알림(SwitchSection)이 본보기(`FormLabel id` + 그룹 `aria-labelledby`).
|
|
67
67
|
- 버튼 묶음 사이 간격은 8px. PageHeader·Dialog·Drawer·Form 의 버튼 슬롯이 이미 그렇게 그린다.
|
|
68
68
|
- **상태 표시는 `Badge` 에 아이콘 + 글자** — `<Badge variant='success'><LucideIcon iconComponentName='circle-check' />완료</Badge>`. 아이콘은 Badge 의 자식으로 바로 넣고(Badge 가 16px·글자색으로 맞춘다), 크기는 기본(`size` 를 주지 않는다 — 건수 뱃지와 같은 20px). **별도 상태 컴포넌트·래퍼를 만들지 않는다**(2026-10-30 사용자 결정 — 예전의 상태 전용 래퍼는 크기·여백이 달라 태그인지 뱃지인지 모를 부품이 됐다). 상태값 → `variant`·아이콘 매핑은 상수 한 곳에. **어휘**: 작업·노트북·파이프라인·서버처럼 돌아가는 프로세스의 '실행 중' `primary` + `play`(▶), 활성·사용 중·감시 중·허용·연결됨 같은 켜진 상태 `primary` + `circle-dot`(●) — ▶ 를 켜진 상태에 붙이면 재생 버튼처럼 읽힌다(2026-10-21 18차), 완료·준비됨 `success` + `circle-check`(✓) — 실행 중에 ✓ 를 붙이면 끝난 것으로 읽힌다(2026-10-20 17차), 학습 중·배포 중처럼 끝이 있는 진행 `info` + `loader-circle`(정적 아이콘 — 스피너는 정지 화면에서 점 뭉치로 보인다), 대기 `secondary` + `clock`, 중지·비활성 `secondary` + `circle-pause`, 실패 `danger` + `circle-x`, 경고·알림 발생 `warning` + `triangle-alert`. **한 화면에 같은 variant 의 상태 둘을 두지 않는다** — '준비됨'(`success` ✓)과 '사용 중'(`primary` ●)처럼 상태마다 색이 달라야 한다(2026-10-21 19차 "two different states look the same"). 기본은 연한 색 채움(`appearance` 를 주지 않는다 — 2026-10-18 10차). **lucide 이름은 정식 이름만**(`circle-pause`·`loader-circle`·`triangle-alert`; 옛 alias `pause-circle` 같은 것은 쓰지 않는다). 같은 화면의 상태 뱃지는 **전부 아이콘이 있게** — 섞이면 심사자가 불일치로 본다. 색은 `variant` 로 정하고 `className` 으로 덧씌우지 않는다.
|
|
@@ -81,7 +81,7 @@ license: Proprietary. See LICENSE.md in the @t3q-ui/design-system package
|
|
|
81
81
|
- **날짜·시각 입력은 `DatePicker`·`TimePicker` 로, 폼 칸을 채우게** — 기본 폭이 250·160px 라 두 칸 줄에서 절반이 빈다(2026-10-28 홀드아웃 14, Opus·Gemini "date/time fields leave a lot of unused space"). `DatePicker classNames={{ button: 'w-full' }}`·`TimePicker classNames={{ trigger: 'w-full' }}`(두 부품의 통로 이름이 다르다). `<input type='date'>` 를 직접 쓰지 않는다.
|
|
82
82
|
- **목 데이터는 의미가 맞게, 양도 화면을 채울 만큼** — 태스크·프레임워크·이름·상태가 서로 어울리는 조합(예: `yolo-v8-detector` 는 `object-detection` + `PyTorch`), 날짜는 생성일 ≤ 수정일, 건수는 목록 길이와 일치. **목록 데이터는 20행 이상, 한 페이지는 10행** — 데이터가 10~12행이면 표 아래가 비어 "빈 공간" 으로 깎이고(한 줄 판 12차 6쌍, 2026-10-18), 한 페이지가 20행이면 첫 화면(1440×1000)에서 표 아래가 잘려 페이지네이션이 안 보인다(2026-11-06 홀드아웃 20 "bottom row clipped"). 10행이면 첫 화면에 표와 페이지네이션이 함께 들어간다. 심사자는 데이터가 말이 되는지도 본다.
|
|
83
83
|
- **표 열 순서는 이름(주 식별자) → 상태·결과 → 숫자 → 날짜 → 동작** — 같은 화면에 표가 둘 이상이면 같은 순서로 둔다. 표마다 결과 열 자리가 다르면 "result column in different places" 로 깎인다(2026-11-06 홀드아웃 20 상세, Opus).
|
|
84
|
-
- **표 열 폭** — 이름 열 `flex: 2, minWidth: 200, maxWidth: 480`, **글자가 들어가는 열은 모두** `flex: 1, minWidth: 120`(소유자·팀·프레임워크·설명 — 하나만 고르지 않는다. 남는 폭이 여러 열로 흩어져야 이름 열만 넓어지지 않는다; 글자 열이 하나뿐이면 2:1 로 나눠도 이름 열이 500px 라 "name column leaves substantial whitespace", 2026-10-20 17차·18차), 숫자·날짜·상태·진행률 열은 `width` 로 — **숫자 열은 `type: 'number'` 만 주고 `flex` 를 주지 않는다**(폭 없으면 140). DS `Table` 의 숫자 열은 `TableHead align='right'` 로 — 폭 140 으로 고정돼 글자 열이 남는 폭을 가진다(표가 `table-fixed` 라 머리글의 `align` 이 열 폭을 정한다). **DS `Table` 의 상태 열은 `TableHead className='w-32'`, 날짜·시각 열은 `className='w-44'` 로 폭을 준다** — 폭 없는 열은 남는 폭을 똑같이 나눠 가져 뱃지 하나뿐인 상태 열이 400px 가 된다(2026-10-30 홀드아웃 17 "large empty gap between the status and GPU columns"). 남는 폭은 이름·글자 열이 나눈다. 글자 열이 하나도 없으면 `maxWidth` 를 뺀다(표 오른쪽이 빈다 — 상한 없는 flex 열이 없으면 AgGridTable 이 flex 열의 `maxWidth` 를 떼어 표를 채운다, 2026-10-28 홀드아웃 14 "row dividers stop around 1330px")(제목 글자가 들어가는 최소 폭은 AgGridTable 이 보정하고 넘치는 셀 글자는 말줄임표로 끝난다). 열은 6~7개 이내로 — **보조 정보(id·이미지·경로·설명)는 열을 늘리지 말고 `ListPage secondaryField='image'` 로 이름 아래 12px 줄에**(dl-ui-v3 목록의 이름 / 설명 셀; 패턴이 행을 56 으로 그린다). 셀마다 `cellStyle`·`width: 110` 같은 좁은 폭을 손으로 맞추지 않는다(2026-10-18 13차). **주 식별자가 짧은 ID·코드(요청 ID·커밋 해시·키)면 이름 열 공식(`flex: 2`) 대신 `width: 200` 으로 고정**하고, 남는 폭은 엔드포인트·모델·설명 같은 글자 열(`flex: 1`)이 나눈다 — ID 열이 남는 폭을 다 받으면 "request ID column is too wide"(2026-10-28 홀드아웃 14, 목록 3/3).
|
|
84
|
+
- **표 열 폭** — 이름 열 `flex: 2, minWidth: 200, maxWidth: 480`, **글자가 들어가는 열은 모두** `flex: 1, minWidth: 120`(소유자·팀·프레임워크·설명 — 하나만 고르지 않는다. 남는 폭이 여러 열로 흩어져야 이름 열만 넓어지지 않는다; 글자 열이 하나뿐이면 2:1 로 나눠도 이름 열이 500px 라 "name column leaves substantial whitespace", 2026-10-20 17차·18차), 숫자·날짜·상태·진행률 열은 `width` 로 — **숫자 열은 `type: 'number'` 만 주고 `flex` 를 주지 않는다**(폭 없으면 140). DS `Table` 의 숫자 열은 `TableHead align='right'` 로 — 폭 140 으로 고정돼 글자 열이 남는 폭을 가진다(표가 `table-fixed` 라 머리글의 `align` 이 열 폭을 정한다). **DS `Table` 의 상태 열은 `TableHead className='w-32'`, 날짜·시각 열은 `className='w-44'` 로 폭을 준다** — 폭 없는 열은 남는 폭을 똑같이 나눠 가져 뱃지 하나뿐인 상태 열이 400px 가 된다(2026-10-30 홀드아웃 17 "large empty gap between the status and GPU columns"). 남는 폭은 이름·글자 열이 나눈다. 글자 열이 하나도 없으면 `maxWidth` 를 뺀다(표 오른쪽이 빈다 — 상한 없는 flex 열이 없으면 AgGridTable 이 flex 열의 `maxWidth` 를 떼어 표를 채운다, 2026-10-28 홀드아웃 14 "row dividers stop around 1330px")(제목 글자가 들어가는 최소 폭은 AgGridTable 이 보정하고 넘치는 셀 글자는 말줄임표로 끝난다). 열은 6~7개 이내로 — **보조 정보(id·이미지·경로·설명)는 열을 늘리지 말고 `ListPage secondaryField='image'` 로 이름 아래 12px 줄에**(dl-ui-v3 목록의 이름 / 설명 셀; 패턴이 행을 56 으로 그린다). 셀마다 `cellStyle`·`width: 110` 같은 좁은 폭을 손으로 맞추지 않는다(2026-10-18 13차). **주 식별자가 짧은 ID·코드(요청 ID·커밋 해시·키)면 이름 열 공식(`flex: 2`) 대신 `width: 200` 으로 고정**하고, 남는 폭은 엔드포인트·모델·설명 같은 글자 열(`flex: 1`)이 나눈다 — ID 열이 남는 폭을 다 받으면 "request ID column is too wide"(2026-10-28 홀드아웃 14, 목록 3/3). **글자 열이 하나뿐이어도 걱정하지 않는다** — AgGridTable 이 남는 폭을 150 이상 고정 글자 열(ID·날짜·소유자)에 나눠 주고, 상한 없는 글자 열이 하나면 그 열을 flex 2 로 올린다(`withBalancedFill`, 2026-11-08 홀드아웃 21: 엔드포인트 열 590px "takes up too much space" → 패; 홀드아웃 22 뒤로는 글자 열이 둘이어도 나눠 준다 — 이름이 상한 480 에 걸린 뒤 둘째 글자 열만 넓어지던 것). 그래도 글자 열에 flex 를 줄 때는 값이 짧은 열(소유자·팀)보다 긴 열(설명·엔드포인트·경로)에 준다. **두 줄 셀(값 + 보조 줄)은 이름 열(`secondaryField`)에만** — 숫자 열에 "입력 863 · 출력 …" 같은 둘째 줄을 넣지 않는다(140px 에서 잘린다, 홀드아웃 21). 내역은 입력/출력 두 열로 나누거나 셀 `tooltipField` 로.
|
|
85
85
|
- **도움말 문구(`FormDescription`)는 규칙·전제·추천값** — "실행 경로에 쓰여 만든 뒤 바꿀 수 없습니다. 영문 소문자·숫자·하이픈 3~40자", "1~32 코어. 전처리는 2~4, 학습은 8 이상을 권합니다". placeholder 와 같은 말("1~64" / "1~64")을 되풀이하지 않고, placeholder 는 "예: 4" 같은 보기 하나. **여러 필드에 같은 안내는 필드마다 되풀이하지 않는다** — 섹션 설명(또는 `Alert`)에 한 번 쓰고, 필드 도움말은 그 필드만의 값(현재값·범위)만. **placeholder 보기는 안내와 같은 방식으로** — 안내가 "추가분이 아니라 변경 후 전체 한도" 면 보기도 전체 값("예: 8"), "4개에서 8개로 증설" 처럼 안내와 반대로 쓰지 않는다(2026-11-06 홀드아웃 19 폼, 세 심판 copy 감점). **도움말·선택지 설명·`Alert`·패널 설명까지 한 화면의 짧은 문장은 끝 마침표 없이 통일**한다(두 문장을 이을 때만 가운데 마침표 — "1~32 코어. 전처리는 2~4") — 일부만 마침표가 붙으면 심사자가 copy 불일치로 본다(2026-10-18 13차 폼). 검토·요약 패널의 **빈 값은 "—" 하나**(단위는 값이 있을 때만 — "CPU —코어 · 메모리 —GB" 처럼 이어 붙이지 않고 항목마다 한 행). 예제 form-page.tsx 의 리소스 섹션·검토 패널이 본보기(2026-10-18 13차, 기준선 copy 12쌍 벤치마킹).
|
|
86
86
|
- **글자 수("0 / 500자") 같은 보조 표시는 `FormDescription icon={false}`** — `FormDescription` 은 앞에 정보 아이콘을 그리므로 안내 문장에만 쓴다(2026-10-28 홀드아웃 15, Opus·Gemini "info icon next to a simple character counter").
|
|
87
87
|
- **표 안 진행률 열은 `type: 'number'` 를 주지 않는다** — 오른쪽 정렬이 되면 % 글자 폭에 따라 막대 시작점이 흔들린다. 셀 안에서 `Progress` 는 고정 폭(`w-24`), % 글자도 고정 폭(`w-10 text-right tabular-nums`)으로 나란히 두고, 정지·대기 행도 빈 막대(`value={0}`)를 그린다(2026-10-28 홀드아웃 15, "progress bars have uneven lengths and starting points").
|