@t3q-ui/design-system 1.65.0 → 1.66.1

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkRVIZMXPB_cjs = require('../chunk-RVIZMXPB.cjs');
3
+ var chunkKDMSA5J3_cjs = require('../chunk-KDMSA5J3.cjs');
4
4
  var chunkOQOBPYZT_cjs = require('../chunk-OQOBPYZT.cjs');
5
5
  var react = require('react');
6
6
  var lucideReact = require('lucide-react');
@@ -22,7 +22,7 @@ function withSecondaryLine(columns, primaryField, secondaryField) {
22
22
  return columns.map(
23
23
  (c) => c.field === primaryField && c.cellRenderer == null ? {
24
24
  ...c,
25
- cellRenderer: chunkRVIZMXPB_cjs.TwoLineCellRenderer,
25
+ cellRenderer: chunkKDMSA5J3_cjs.TwoLineCellRenderer,
26
26
  cellRendererParams: { ...c.cellRendererParams, secondaryField }
27
27
  } : c
28
28
  );
@@ -50,8 +50,8 @@ function LoadingState({ className, lines = 3 }) {
50
50
  "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911",
51
51
  className: chunkOQOBPYZT_cjs.cn("flex flex-col gap-[12px]", className),
52
52
  children: [
53
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
54
- Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Skeleton, { className: chunkOQOBPYZT_cjs.cn("h-[16px]", i % 2 ? "w-3/5" : "w-full") }, i))
53
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
54
+ Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Skeleton, { className: chunkOQOBPYZT_cjs.cn("h-[16px]", i % 2 ? "w-3/5" : "w-full") }, i))
55
55
  ]
56
56
  }
57
57
  );
@@ -95,7 +95,7 @@ function EmptyState({
95
95
  {
96
96
  role: "status",
97
97
  className,
98
- icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.EmptyBoxIllustration, {}),
98
+ icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.EmptyBoxIllustration, {}),
99
99
  title: title ?? children,
100
100
  description,
101
101
  action
@@ -114,11 +114,11 @@ function ErrorState({
114
114
  {
115
115
  role: "alert",
116
116
  className,
117
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
117
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
118
118
  iconClassName: "text-danger30",
119
119
  title,
120
120
  description,
121
- action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Button, { type: "button", variant: "primary", onClick: onRetry, children: retryLabel }) : null
121
+ action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Button, { type: "button", variant: "primary", onClick: onRetry, children: retryLabel }) : null
122
122
  }
123
123
  );
124
124
  }
@@ -175,7 +175,7 @@ function ListPage({
175
175
  return () => document.removeEventListener("keydown", onKey);
176
176
  }, [detailOpen]);
177
177
  const resetButton = onResetFilters ? /* @__PURE__ */ jsxRuntime.jsxs(
178
- chunkRVIZMXPB_cjs.Button,
178
+ chunkKDMSA5J3_cjs.Button,
179
179
  {
180
180
  type: "button",
181
181
  variant: "secondaryOutline",
@@ -204,7 +204,7 @@ function ListPage({
204
204
  const quick = quickFilter ? /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-[8px]", children: [
205
205
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-small-regular font-medium text-sys-text-subtle", children: quickFilter.label }),
206
206
  /* @__PURE__ */ jsxRuntime.jsxs(
207
- chunkRVIZMXPB_cjs.ToggleGroup,
207
+ chunkKDMSA5J3_cjs.ToggleGroup,
208
208
  {
209
209
  type: "multiple",
210
210
  variant: "outline",
@@ -216,9 +216,9 @@ function ListPage({
216
216
  quickFilter.onChange(pressedAll ? [] : next.filter((v) => v !== QUICK_ALL));
217
217
  },
218
218
  children: [
219
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
219
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
220
220
  quickFilter.options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(
221
- chunkRVIZMXPB_cjs.ToggleGroupItem,
221
+ chunkKDMSA5J3_cjs.ToggleGroupItem,
222
222
  {
223
223
  value: o.value,
224
224
  count: o.count,
@@ -259,7 +259,7 @@ function ListPage({
259
259
  className: "pt-[32px] pb-[16px]",
260
260
  title: content.title,
261
261
  description: content.description ?? content.children,
262
- action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Button, { type: "button", variant: "secondaryLink", onClick: () => resetRef.current?.(), children: "\uD544\uD130 \uCD08\uAE30\uD654" }) : null
262
+ action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Button, { type: "button", variant: "secondaryLink", onClick: () => resetRef.current?.(), children: "\uD544\uD130 \uCD08\uAE30\uD654" }) : null
263
263
  }
264
264
  );
265
265
  },
@@ -271,7 +271,7 @@ function ListPage({
271
271
  );
272
272
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
273
273
  /* @__PURE__ */ jsxRuntime.jsx(
274
- chunkRVIZMXPB_cjs.PageHeader,
274
+ chunkKDMSA5J3_cjs.PageHeader,
275
275
  {
276
276
  title,
277
277
  description,
@@ -280,19 +280,19 @@ function ListPage({
280
280
  bottomRight: filterRow
281
281
  }
282
282
  ),
283
- /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.AlertDescription, { children: error }) }) : (
283
+ /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.AlertDescription, { children: error }) }) : (
284
284
  // 상세 패널(detail)이 있으면 표 쪽이 줄고 패널이 오른쪽에 나란히 선다 — 목록 맥락을 유지한 채 상세를 본다
285
285
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-[24px]", children: [
286
286
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
287
287
  caption,
288
288
  /* @__PURE__ */ jsxRuntime.jsx(
289
- chunkRVIZMXPB_cjs.AgGridTable,
289
+ chunkKDMSA5J3_cjs.AgGridTable,
290
290
  {
291
291
  rowData: rows,
292
292
  columnDefs,
293
293
  loading,
294
294
  noRowsOverlayComponent: EmptyOverlay,
295
- onSortChanged: onSortChange ? (e) => onSortChange(chunkRVIZMXPB_cjs.getSortedColumnState(e).value) : void 0,
295
+ onSortChanged: onSortChange ? (e) => onSortChange(chunkKDMSA5J3_cjs.getSortedColumnState(e).value) : void 0,
296
296
  onRowClicked: onRowClick ? (e) => {
297
297
  if (e.data) onRowClick(e.data);
298
298
  } : void 0,
@@ -303,7 +303,7 @@ function ListPage({
303
303
  }
304
304
  ),
305
305
  pagination ? /* @__PURE__ */ jsxRuntime.jsx(chunkOQOBPYZT_cjs.TablePagination, { children: /* @__PURE__ */ jsxRuntime.jsx(
306
- chunkRVIZMXPB_cjs.Pagination,
306
+ chunkKDMSA5J3_cjs.Pagination,
307
307
  {
308
308
  total: pagination.total,
309
309
  rowsPerPage: pagination.pageSize,
@@ -316,7 +316,7 @@ function ListPage({
316
316
  // 나란한 상세 패널: 제목·설명·닫기 → 본문 → (안내) → 버튼 줄. 스크롤해도 따라오게 sticky. Card 와 같은 테두리·라운드(그림자 없음).
317
317
  // <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe landmark-complementary-is-top-level) 이름 있는 section — DetailPage 의 aside 와 같다
318
318
  /* @__PURE__ */ jsxRuntime.jsx(
319
- chunkRVIZMXPB_cjs.Panel,
319
+ chunkKDMSA5J3_cjs.Panel,
320
320
  {
321
321
  title: detail.title,
322
322
  description: detail.description,
@@ -351,10 +351,10 @@ function MoreMenu({
351
351
  const select = (fn) => () => {
352
352
  pendingRef.current = fn;
353
353
  };
354
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DropdownMenu, { children: [
355
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOQOBPYZT_cjs.IconButton, { ref: triggerRef, variant: "secondary", "aria-label": "\uB354\uBCF4\uAE30", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { size: 24 }) }) }),
354
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DropdownMenu, { children: [
355
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOQOBPYZT_cjs.IconButton, { ref: triggerRef, variant: "secondary", "aria-label": "\uB354\uBCF4\uAE30", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { size: 24 }) }) }),
356
356
  /* @__PURE__ */ jsxRuntime.jsxs(
357
- chunkRVIZMXPB_cjs.DropdownMenuContent,
357
+ chunkKDMSA5J3_cjs.DropdownMenuContent,
358
358
  {
359
359
  align: "end",
360
360
  onCloseAutoFocus: (e) => {
@@ -365,10 +365,10 @@ function MoreMenu({
365
365
  fn?.();
366
366
  },
367
367
  children: [
368
- items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
369
- deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DropdownMenuSeparator, {}) : null,
368
+ items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
369
+ deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DropdownMenuSeparator, {}) : null,
370
370
  deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(
371
- chunkRVIZMXPB_cjs.DropdownMenuItem,
371
+ chunkKDMSA5J3_cjs.DropdownMenuItem,
372
372
  {
373
373
  variant: "danger",
374
374
  disabled: deleteAction.disabled,
@@ -413,10 +413,15 @@ function DetailPage({
413
413
  }
414
414
  );
415
415
  } else if (aside) {
416
- body = // 넓은 화면: 본문 2 : 패널 1 + 세로선. 좁은 화면: 세로로 쌓이고 패널은 제목 + 가로선으로 시작한다
417
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[2fr_1fr] xl:items-start", children: [
416
+ body = // 넓은 화면: 본문(남는 폭) + 패널 408(`--w-page-aside` — FormPage 검토 패널과 같은 폭, 2026-11-22. 그전엔 본문 2 : 패널 1 이라
417
+ // 1440 폭에서 패널이 456px 로 폼과 달랐다). 좁은 화면: 세로로 쌓이고 패널은 본문 아래.
418
+ // 나란히 놓는 조건은 **본문 칸 폭 896 이상**(@4xl, 아래 @container) 하나 — 화면 폭은 보지 않는다(FormPage 와 같은 규칙, 2026-11-22).
419
+ // 화면 폭(xl 1280)으로 판정하던 때는 1279px 화면에서 자리가 1231px 남아도 패널이 내려갔고(조사한 서비스들은 900px 에서도 옆에 둔다),
420
+ // 화면은 넓어도 칸이 좁으면(사이드바·분할 화면) 고정 폭 패널이 왼쪽 열을 눌렀다 — 800px 칸에서 왼쪽 320px, 표가 가로로 넘쳐 axe
421
+ // scrollable-region-focusable. 896 이면 왼쪽 열이 최소 464px(표는 360px 까지 넘치지 않는다)
422
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] @4xl:grid-cols-[minmax(0,1fr)_var(--w-page-aside)] @4xl:items-start", children: [
418
423
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children }),
419
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Panel, { title: asideTitle, children: aside })
424
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Panel, { title: asideTitle, className: "@4xl:sticky @4xl:top-[24px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "@container/aside", children: aside }) })
420
425
  ] });
421
426
  } else {
422
427
  body = children;
@@ -424,11 +429,11 @@ function DetailPage({
424
429
  const VISIBLE_SECONDARY = 2;
425
430
  const visibleSecondary = secondaryActions?.slice(0, VISIBLE_SECONDARY) ?? [];
426
431
  const overflowSecondary = secondaryActions?.slice(VISIBLE_SECONDARY) ?? [];
427
- const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
432
+ const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
428
433
  const moreMenu = (items) => items.length || deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items, deleteAction }) : null;
429
434
  const fullRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
430
435
  moreMenu(overflowSecondary),
431
- visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
436
+ visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
432
437
  primaryButton
433
438
  ] });
434
439
  const collapsedRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -449,7 +454,7 @@ function DetailPage({
449
454
  /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "detail-actions-collapsed", className: "flex items-center gap-[8px] @3xl:hidden", children: collapsedRow })
450
455
  ] }) : primaryButton ? primaryButton : void 0;
451
456
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
452
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.PageHeader, { ...header, actions: actionRow }),
457
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.PageHeader, { ...header, actions: actionRow }),
453
458
  /* @__PURE__ */ jsxRuntime.jsxs(
454
459
  "section",
455
460
  {
@@ -457,7 +462,7 @@ function DetailPage({
457
462
  className: "flex flex-col gap-[24px] px-[24px] py-[24px]",
458
463
  children: [
459
464
  banner,
460
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOQOBPYZT_cjs.cn("w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
465
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOQOBPYZT_cjs.cn("@container w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
461
466
  note,
462
467
  body
463
468
  ] })
@@ -479,7 +484,7 @@ function useFormShell({
479
484
  }
480
485
  function FormError({ error, className }) {
481
486
  if (!error) return null;
482
- return /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.AlertDescription, { children: error }) });
487
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.AlertDescription, { children: error }) });
483
488
  }
484
489
  function FormActions({
485
490
  busy,
@@ -491,7 +496,7 @@ function FormActions({
491
496
  }) {
492
497
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
493
498
  onCancel ? /* @__PURE__ */ jsxRuntime.jsx(
494
- chunkRVIZMXPB_cjs.Button,
499
+ chunkKDMSA5J3_cjs.Button,
495
500
  {
496
501
  type: "button",
497
502
  variant: "secondaryOutline",
@@ -502,7 +507,7 @@ function FormActions({
502
507
  }
503
508
  ) : null,
504
509
  /* @__PURE__ */ jsxRuntime.jsx(
505
- chunkRVIZMXPB_cjs.Button,
510
+ chunkKDMSA5J3_cjs.Button,
506
511
  {
507
512
  type: "submit",
508
513
  variant: "primaryBold",
@@ -554,11 +559,11 @@ function FormPage({
554
559
  " ",
555
560
  "\uD45C\uC2DC\uB294 \uD544\uC218 \uC785\uB825 \uD56D\uBAA9\uC785\uB2C8\uB2E4"
556
561
  ] }) : null,
557
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
558
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
562
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
563
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
559
564
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" }),
560
565
  aside ? null : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
561
- chunkRVIZMXPB_cjs.FormFooter,
566
+ chunkKDMSA5J3_cjs.FormFooter,
562
567
  {
563
568
  align: "end",
564
569
  className: "mt-[24px] border-t border-sys-divider-subtle pt-[16px]",
@@ -570,7 +575,7 @@ function FormPage({
570
575
  const column = canvas === "subtle" ? (
571
576
  // 폼 전체를 흰 Card 하나로(섹션 사이 구분선은 그대로). 위 8px 는 첫 FormSection 의 pt-[16px] 과 더해 24
572
577
  /* @__PURE__ */ jsxRuntime.jsx(
573
- chunkRVIZMXPB_cjs.Card,
578
+ chunkKDMSA5J3_cjs.Card,
574
579
  {
575
580
  className: chunkOQOBPYZT_cjs.cn(
576
581
  "w-full max-w-[var(--max-w-form-control)] px-[24px] pb-[24px] pt-[8px]",
@@ -593,7 +598,7 @@ function FormPage({
593
598
  // subtle 의 캔버스 회색은 기존 토큰(grayscale20, 진단 18-A 의 f7 변형)을 쓴다 — 채택되면 전용 sys 토큰으로 올린다
594
599
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOQOBPYZT_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
595
600
  /* @__PURE__ */ jsxRuntime.jsx(
596
- chunkRVIZMXPB_cjs.PageHeader,
601
+ chunkKDMSA5J3_cjs.PageHeader,
597
602
  {
598
603
  title,
599
604
  description,
@@ -602,13 +607,15 @@ function FormPage({
602
607
  contentMaxWidth
603
608
  }
604
609
  ),
605
- /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title || "\uBCF8\uBB38", className: "px-[24px] py-[32px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto w-full", style: { maxWidth: contentMaxWidth }, children: aside ? (
606
- // 폼 열(최대 720px) + 검토 패널. 넓은 화면: 옆에 세로선, sticky. 좁은 화면: 폼 아래에 가로선으로 시작.
610
+ /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title || "\uBCF8\uBB38", className: "px-[24px] py-[32px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "@container mx-auto w-full", style: { maxWidth: contentMaxWidth }, children: aside ? (
611
+ // 폼 열(최대 720px) + 검토 패널 408(`--w-page-aside`). 나란히 놓는 조건은 **본문 칸 폭 896 이상**(@4xl) 하나 — DetailPage aside 와 같은 규칙
612
+ // (2026-11-22). 그전엔 화면 1280 이상(xl)이면 나란히였고 패널이 280px 까지 줄어 값이 말줄임으로 잘렸다(화면 1280 + 사이드바 240 →
613
+ // 폼 688 · 패널 280). 이제 패널은 408 고정, 폼 열이 464~720 에서 줄고, 896 미만이면 패널이 폼 아래로.
607
614
  // <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe) 이름 있는 section (DetailPage aside 와 같은 꼴)
608
- /* @__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: [
615
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] @4xl:grid-cols-[minmax(0,var(--max-w-form-control))_var(--w-page-aside)] @4xl:items-start", children: [
609
616
  column,
610
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
611
- aside,
617
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.Panel, { title: asideTitle, className: "@4xl:sticky @4xl:top-[24px]", children: [
618
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "@container/aside", children: aside }),
612
619
  /* @__PURE__ */ jsxRuntime.jsx(
613
620
  "div",
614
621
  {
@@ -644,23 +651,23 @@ function FormDrawer({
644
651
  if (!next && busy) return;
645
652
  onOpenChange(next);
646
653
  };
647
- return /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
648
- chunkRVIZMXPB_cjs.DrawerContent,
654
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
655
+ chunkKDMSA5J3_cjs.DrawerContent,
649
656
  {
650
657
  side,
651
658
  size,
652
659
  ...description ? {} : { "aria-describedby": void 0 },
653
660
  children: [
654
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DrawerHeader, { children: [
655
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerTitle, { children: title }),
656
- description ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerDescription, { children: description }) : null
661
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DrawerHeader, { children: [
662
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerTitle, { children: title }),
663
+ description ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerDescription, { children: description }) : null
657
664
  ] }),
658
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex min-h-0 flex-1 flex-col", children: [
659
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DrawerBody, { className: "px-[24px]", children: [
665
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex min-h-0 flex-1 flex-col", children: [
666
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DrawerBody, { className: "px-[24px]", children: [
660
667
  children,
661
668
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" })
662
669
  ] }),
663
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
670
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
664
671
  FormActions,
665
672
  {
666
673
  busy,
@@ -695,21 +702,21 @@ function FormDialog({
695
702
  if (!next && busy) return;
696
703
  onOpenChange(next);
697
704
  };
698
- return /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
699
- chunkRVIZMXPB_cjs.DialogContent,
705
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
706
+ chunkKDMSA5J3_cjs.DialogContent,
700
707
  {
701
708
  width,
702
709
  hideCloseButton: busy,
703
710
  ...description ? {} : { "aria-describedby": void 0 },
704
711
  children: [
705
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DialogHeader, { children: [
706
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DialogTitle, { children: title }),
707
- description ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DialogDescription, { children: description }) : null
712
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DialogHeader, { children: [
713
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DialogTitle, { children: title }),
714
+ description ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DialogDescription, { children: description }) : null
708
715
  ] }),
709
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
716
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
710
717
  children,
711
718
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error }),
712
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
719
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
713
720
  FormActions,
714
721
  {
715
722
  busy,
@@ -741,7 +748,7 @@ function StatTile({
741
748
  }) {
742
749
  const labelId = react.useId();
743
750
  const percent = ratio == null ? null : Math.round(Math.min(Math.max(ratio, 0), 1) * 100);
744
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
751
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
745
752
  /* @__PURE__ */ jsxRuntime.jsx("span", { id: labelId, className: "text-h6 text-sys-text-subtle", children: href ? (
746
753
  // 타일 전체를 클릭 영역으로: 링크의 ::after 를 Card 크기로 늘린다
747
754
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -753,7 +760,7 @@ function StatTile({
753
760
  }
754
761
  )
755
762
  ) : label }),
756
- loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Skeleton, { role: "status", "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911", className: "h-[32px] w-[80px]" }) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunkOQOBPYZT_cjs.cn("flex items-center gap-[6px] text-h2", TONE_TEXT[tone]), children: [
763
+ loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Skeleton, { role: "status", "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911", className: "h-[32px] w-[80px]" }) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunkOQOBPYZT_cjs.cn("flex items-center gap-[6px] text-h2", TONE_TEXT[tone]), children: [
757
764
  tone !== "default" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { "aria-hidden": true, size: 20, className: "shrink-0" }) : null,
758
765
  value
759
766
  ] }),
@@ -798,7 +805,7 @@ function DashboardLayout({
798
805
  children
799
806
  ] });
800
807
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
801
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.PageHeader, { ...header, actions }),
808
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.PageHeader, { ...header, actions }),
802
809
  /* @__PURE__ */ jsxRuntime.jsx(
803
810
  "section",
804
811
  {
@@ -820,7 +827,7 @@ function DashboardSection({ title, action, columns, children }) {
820
827
  // 1px 간격 + 구분선 색 배경 = 칸 사이 가로·세로 구분선. 칸(DashboardPanel)은 자기 배경을 가진다
821
828
  // 2열에서 칸 수가 홀수면 마지막 칸이 두 열을 차지해 빈 칸이 생기지 않게 한다
822
829
  /* @__PURE__ */ jsxRuntime.jsx(
823
- chunkRVIZMXPB_cjs.Card,
830
+ chunkKDMSA5J3_cjs.Card,
824
831
  {
825
832
  className: chunkOQOBPYZT_cjs.cn(
826
833
  "grid grid-cols-1 gap-px overflow-hidden bg-sys-divider-subtler",
@@ -879,7 +886,7 @@ var MessageRow = react.memo(function MessageRow2({
879
886
  }) {
880
887
  const regenerate = onRegenerate ? () => onRegenerate(item.id) : void 0;
881
888
  return /* @__PURE__ */ jsxRuntime.jsx(
882
- chunkRVIZMXPB_cjs.ChatMessage,
889
+ chunkKDMSA5J3_cjs.ChatMessage,
883
890
  {
884
891
  from: item.role,
885
892
  headingLevel,
@@ -1026,7 +1033,7 @@ function ChatConversation({
1026
1033
  onStop();
1027
1034
  } : void 0;
1028
1035
  const composer = /* @__PURE__ */ jsxRuntime.jsx(
1029
- chunkRVIZMXPB_cjs.ChatComposer,
1036
+ chunkKDMSA5J3_cjs.ChatComposer,
1030
1037
  {
1031
1038
  ref: composerRef,
1032
1039
  ...composerProps,
@@ -1037,7 +1044,7 @@ function ChatConversation({
1037
1044
  );
1038
1045
  const noteLine = note ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-center text-small-regular-h text-sys-text-subtler", children: note }) : null;
1039
1046
  const suggestions = welcome?.suggestions?.length ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "m-0 flex list-none flex-wrap justify-center gap-[8px] p-0", children: welcome.suggestions.map((text) => /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsx(
1040
- chunkRVIZMXPB_cjs.Button,
1047
+ chunkKDMSA5J3_cjs.Button,
1041
1048
  {
1042
1049
  type: "button",
1043
1050
  variant: "secondaryOutline",
@@ -1126,7 +1133,7 @@ function ChatConversation({
1126
1133
  item.id
1127
1134
  );
1128
1135
  }),
1129
- waiting ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.ChatMessage, { from: "assistant", pending: true, headingLevel }) : null
1136
+ waiting ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.ChatMessage, { from: "assistant", pending: true, headingLevel }) : null
1130
1137
  ]
1131
1138
  }
1132
1139
  ),
@@ -1227,9 +1234,9 @@ function IconAction({
1227
1234
  children,
1228
1235
  ...props
1229
1236
  }) {
1230
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.Tooltip, { children: [
1231
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOQOBPYZT_cjs.IconButton, { "aria-label": label, ...props, children }) }),
1232
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.TooltipContent, { side, children: label })
1237
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.Tooltip, { children: [
1238
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkOQOBPYZT_cjs.IconButton, { "aria-label": label, ...props, children }) }),
1239
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.TooltipContent, { side, children: label })
1233
1240
  ] });
1234
1241
  }
1235
1242
  function ChatPage({
@@ -1267,7 +1274,7 @@ function ChatPage({
1267
1274
  }, [collapsed, historyInline, hasHistory]);
1268
1275
  return (
1269
1276
  // PageHeader 와 같은 방식(기본 지연) — `actions` 에 넣은 Tooltip 도 이 안에서 동작한다
1270
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: rootRef, className: "flex h-full min-h-0 w-full flex-col bg-sys-background", children: [
1277
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: rootRef, className: "flex h-full min-h-0 w-full flex-col bg-sys-background", children: [
1271
1278
  /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": title, className: "flex min-h-0 flex-1", children: [
1272
1279
  history && historyInline ? (
1273
1280
  // 기록 바: 접기·펴기는 바깥 폭만 280 ↔ 56(레일)으로 움직인다.
@@ -1350,7 +1357,7 @@ function ChatPage({
1350
1357
  // visibility 전환은 시작 순간에 아직 hidden 으로 계산돼서, 레일의 검색 버튼이 보내는 포커스가 검색창에 닿지 않는다
1351
1358
  collapsed ? "invisible opacity-0 transition-[opacity,visibility]" : "visible opacity-100 transition-opacity"
1352
1359
  ),
1353
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.ChatHistory, { ...history, className: "flex-1" })
1360
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.ChatHistory, { ...history, className: "flex-1" })
1354
1361
  }
1355
1362
  )
1356
1363
  ] })
@@ -1423,7 +1430,7 @@ function ChatPage({
1423
1430
  children: side ? (
1424
1431
  // <aside> 는 다른 landmark 안에 둘 수 없어(axe landmark-complementary-is-top-level) 이름 있는 section(Panel) — ListPage 의 detail 과 같다
1425
1432
  /* @__PURE__ */ jsxRuntime.jsx(
1426
- chunkRVIZMXPB_cjs.Panel,
1433
+ chunkKDMSA5J3_cjs.Panel,
1427
1434
  {
1428
1435
  appearance: "none",
1429
1436
  padding: "large",
@@ -1459,13 +1466,13 @@ function ChatPage({
1459
1466
  )
1460
1467
  ) : null
1461
1468
  ] }),
1462
- history && !historyInline ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.Drawer, { open: drawerOpen, onOpenChange: setDrawerOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DrawerContent, { side: "left", size: "small", children: [
1463
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DrawerHeader, { children: [
1464
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerTitle, { className: "sr-only", children: "\uB300\uD654 \uAE30\uB85D" }),
1469
+ history && !historyInline ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.Drawer, { open: drawerOpen, onOpenChange: setDrawerOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DrawerContent, { side: "left", size: "small", children: [
1470
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DrawerHeader, { children: [
1471
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerTitle, { className: "sr-only", children: "\uB300\uD654 \uAE30\uB85D" }),
1465
1472
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[24px] min-w-0 items-center pr-[32px] pl-[12px]", children: /* @__PURE__ */ jsxRuntime.jsx(Brand, { logo, title }) })
1466
1473
  ] }),
1467
1474
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col px-[24px] pb-[24px]", children: /* @__PURE__ */ jsxRuntime.jsx(
1468
- chunkRVIZMXPB_cjs.ChatHistory,
1475
+ chunkKDMSA5J3_cjs.ChatHistory,
1469
1476
  {
1470
1477
  ...history,
1471
1478
  className: "flex-1",
@@ -1484,14 +1491,14 @@ function ChatPage({
1484
1491
  // 닫을 때 Drawer 를 지우지 않고 open 만 내린다 — 지우면 닫힘 애니메이션이 돌 틈 없이 바로 사라진다.
1485
1492
  // 닫히는 동안에는 마지막으로 받은 패널(side)을 그대로 그린다
1486
1493
  /* @__PURE__ */ jsxRuntime.jsx(
1487
- chunkRVIZMXPB_cjs.Drawer,
1494
+ chunkKDMSA5J3_cjs.Drawer,
1488
1495
  {
1489
1496
  open: sideOpen,
1490
1497
  onOpenChange: (open) => {
1491
1498
  if (!open) sidePanel?.onClose();
1492
1499
  },
1493
1500
  children: /* @__PURE__ */ jsxRuntime.jsxs(
1494
- chunkRVIZMXPB_cjs.DrawerContent,
1501
+ chunkKDMSA5J3_cjs.DrawerContent,
1495
1502
  {
1496
1503
  side: "right",
1497
1504
  size: side.width ?? "medium",
@@ -1499,12 +1506,12 @@ function ChatPage({
1499
1506
  if (!sidePanel) setLastSide(void 0);
1500
1507
  },
1501
1508
  children: [
1502
- /* @__PURE__ */ jsxRuntime.jsxs(chunkRVIZMXPB_cjs.DrawerHeader, { children: [
1503
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerTitle, { children: side.title }),
1504
- side.description ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerDescription, { children: side.description }) : null
1509
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkKDMSA5J3_cjs.DrawerHeader, { children: [
1510
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerTitle, { children: side.title }),
1511
+ side.description ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerDescription, { children: side.description }) : null
1505
1512
  ] }),
1506
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerBody, { className: "px-[24px] pb-[24px]", children: side.children }),
1507
- side.footer ? /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.DrawerFooter, { children: side.footer }) : null
1513
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerBody, { className: "px-[24px] pb-[24px]", children: side.children }),
1514
+ side.footer ? /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.DrawerFooter, { children: side.footer }) : null
1508
1515
  ]
1509
1516
  }
1510
1517
  )
@@ -1525,7 +1532,7 @@ function ChatPanel({
1525
1532
  const name = typeof title === "string" ? title : label;
1526
1533
  return (
1527
1534
  // `actions` 에 Tooltip 을 단 아이콘 버튼을 넣어도 깨지지 않게 감싼다 — PageHeader·ChatPage 와 같은 방식(기본 지연)
1528
- /* @__PURE__ */ jsxRuntime.jsx(chunkRVIZMXPB_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(
1535
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKDMSA5J3_cjs.TooltipProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(
1529
1536
  "section",
1530
1537
  {
1531
1538
  "aria-label": name,