@t3q-ui/design-system 1.59.2 → 1.59.3

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 chunk24IZHXNG_cjs = require('../chunk-24IZHXNG.cjs');
3
+ var chunk5O3JWQP3_cjs = require('../chunk-5O3JWQP3.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: chunk24IZHXNG_cjs.TwoLineCellRenderer,
24
+ cellRenderer: chunk5O3JWQP3_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: chunk24IZHXNG_cjs.cn("flex flex-col gap-[12px]", className),
50
+ className: chunk5O3JWQP3_cjs.cn("flex flex-col gap-[12px]", className),
51
51
  children: [
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))
52
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
53
+ Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Skeleton, { className: chunk5O3JWQP3_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: chunk24IZHXNG_cjs.cn(
71
+ className: chunk5O3JWQP3_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: chunk24IZHXNG_cjs.cn("mb-[4px] flex text-sys-text-subtler", iconClassName), children: icon }),
76
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-hidden": true, className: chunk5O3JWQP3_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(chunk24IZHXNG_cjs.EmptyBoxIllustration, {}),
97
+ icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_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(chunk24IZHXNG_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
116
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
117
117
  iconClassName: "text-danger30",
118
118
  title,
119
119
  description,
120
- action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "primary", onClick: onRetry, children: retryLabel }) : null
120
+ action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_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
- chunk24IZHXNG_cjs.Button,
177
+ chunk5O3JWQP3_cjs.Button,
178
178
  {
179
179
  type: "button",
180
180
  variant: "secondaryOutline",
181
181
  onClick: onResetFilters,
182
- className: chunk24IZHXNG_cjs.cn(filtersActive === false && "invisible"),
182
+ className: chunk5O3JWQP3_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
- chunk24IZHXNG_cjs.ToggleGroup,
208
+ chunk5O3JWQP3_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(chunk24IZHXNG_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
220
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
221
221
  quickFilter.options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(
222
- chunk24IZHXNG_cjs.ToggleGroupItem,
222
+ chunk5O3JWQP3_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(chunk24IZHXNG_cjs.Button, { type: "button", variant: "secondaryLink", onClick: () => resetRef.current?.(), children: "\uD544\uD130 \uCD08\uAE30\uD654" }) : null
263
+ action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_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
- chunk24IZHXNG_cjs.PageHeader,
275
+ chunk5O3JWQP3_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(chunk24IZHXNG_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.AlertDescription, { children: error }) }) : (
284
+ /* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_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
- chunk24IZHXNG_cjs.AgGridTable,
290
+ chunk5O3JWQP3_cjs.AgGridTable,
291
291
  {
292
292
  rowData: rows,
293
293
  columnDefs,
294
294
  loading,
295
295
  noRowsOverlayComponent: EmptyOverlay,
296
- onSortChanged: onSortChange ? (e) => onSortChange(chunk24IZHXNG_cjs.getSortedColumnState(e).value) : void 0,
296
+ onSortChanged: onSortChange ? (e) => onSortChange(chunk5O3JWQP3_cjs.getSortedColumnState(e).value) : void 0,
297
297
  onRowClicked: onRowClick ? (e) => {
298
298
  if (e.data) onRowClick(e.data);
299
299
  } : void 0,
@@ -303,14 +303,13 @@ function ListPage({
303
303
  rowClassRules
304
304
  }
305
305
  ),
306
- pagination ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.TablePagination, { children: /* @__PURE__ */ jsxRuntime.jsx(
307
- chunk24IZHXNG_cjs.Pagination,
306
+ pagination ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.TablePagination, { children: /* @__PURE__ */ jsxRuntime.jsx(
307
+ chunk5O3JWQP3_cjs.Pagination,
308
308
  {
309
309
  total: pagination.total,
310
310
  rowsPerPage: pagination.pageSize,
311
311
  page: pagination.page,
312
- onChange: pagination.onChange,
313
- showLabel: true
312
+ onChange: pagination.onChange
314
313
  }
315
314
  ) }) : null
316
315
  ] }),
@@ -318,13 +317,13 @@ function ListPage({
318
317
  // 나란한 상세 패널: 제목·설명·닫기 → 본문 → (안내) → 버튼 줄. 스크롤해도 따라오게 sticky. Card 와 같은 테두리·라운드(그림자 없음).
319
318
  // <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe landmark-complementary-is-top-level) 이름 있는 section — DetailPage 의 aside 와 같다
320
319
  /* @__PURE__ */ jsxRuntime.jsx(
321
- chunk24IZHXNG_cjs.Panel,
320
+ chunk5O3JWQP3_cjs.Panel,
322
321
  {
323
322
  title: detail.title,
324
323
  description: detail.description,
325
324
  padding: "large",
326
325
  titleRight: /* @__PURE__ */ jsxRuntime.jsx(
327
- chunk24IZHXNG_cjs.IconButton,
326
+ chunk5O3JWQP3_cjs.IconButton,
328
327
  {
329
328
  type: "button",
330
329
  variant: "secondary",
@@ -335,7 +334,7 @@ function ListPage({
335
334
  ),
336
335
  note: detail.note,
337
336
  footer: detail.footer,
338
- className: chunk24IZHXNG_cjs.cn("sticky top-[24px] shrink-0", DETAIL_WIDTH[detail.width ?? "medium"]),
337
+ className: chunk5O3JWQP3_cjs.cn("sticky top-[24px] shrink-0", DETAIL_WIDTH[detail.width ?? "medium"]),
339
338
  children: detail.children
340
339
  }
341
340
  )
@@ -353,10 +352,10 @@ function MoreMenu({
353
352
  const select = (fn) => () => {
354
353
  pendingRef.current = fn;
355
354
  };
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 }) }) }),
355
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.DropdownMenu, { children: [
356
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.IconButton, { ref: triggerRef, variant: "secondary", "aria-label": "\uB354\uBCF4\uAE30", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Ellipsis, { size: 24 }) }) }),
358
357
  /* @__PURE__ */ jsxRuntime.jsxs(
359
- chunk24IZHXNG_cjs.DropdownMenuContent,
358
+ chunk5O3JWQP3_cjs.DropdownMenuContent,
360
359
  {
361
360
  align: "end",
362
361
  onCloseAutoFocus: (e) => {
@@ -367,10 +366,10 @@ function MoreMenu({
367
366
  fn?.();
368
367
  },
369
368
  children: [
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,
369
+ items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
370
+ deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DropdownMenuSeparator, {}) : null,
372
371
  deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(
373
- chunk24IZHXNG_cjs.DropdownMenuItem,
372
+ chunk5O3JWQP3_cjs.DropdownMenuItem,
374
373
  {
375
374
  variant: "danger",
376
375
  disabled: deleteAction.disabled,
@@ -418,7 +417,7 @@ function DetailPage({
418
417
  body = // 넓은 화면: 본문 2 : 패널 1 + 세로선. 좁은 화면: 세로로 쌓이고 패널은 제목 + 가로선으로 시작한다
419
418
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[2fr_1fr] xl:items-start", children: [
420
419
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children }),
421
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Panel, { title: asideTitle, children: aside })
420
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Panel, { title: asideTitle, children: aside })
422
421
  ] });
423
422
  } else {
424
423
  body = children;
@@ -426,11 +425,11 @@ function DetailPage({
426
425
  const VISIBLE_SECONDARY = 2;
427
426
  const visibleSecondary = secondaryActions?.slice(0, VISIBLE_SECONDARY) ?? [];
428
427
  const overflowSecondary = secondaryActions?.slice(VISIBLE_SECONDARY) ?? [];
429
- const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
428
+ const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
430
429
  const moreMenu = (items) => items.length || deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items, deleteAction }) : null;
431
430
  const fullRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
432
431
  moreMenu(overflowSecondary),
433
- visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
432
+ visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
434
433
  primaryButton
435
434
  ] });
436
435
  const collapsedRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -451,7 +450,7 @@ function DetailPage({
451
450
  /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "detail-actions-collapsed", className: "flex items-center gap-[8px] @3xl:hidden", children: collapsedRow })
452
451
  ] }) : primaryButton ? primaryButton : void 0;
453
452
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
454
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.PageHeader, { ...header, actions: actionRow }),
453
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.PageHeader, { ...header, actions: actionRow }),
455
454
  /* @__PURE__ */ jsxRuntime.jsxs(
456
455
  "section",
457
456
  {
@@ -459,7 +458,7 @@ function DetailPage({
459
458
  className: "flex flex-col gap-[24px] px-[24px] py-[24px]",
460
459
  children: [
461
460
  banner,
462
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk24IZHXNG_cjs.cn("w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
461
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk5O3JWQP3_cjs.cn("w-full", width === "panel" && "mx-auto max-w-[900px]"), children: [
463
462
  note,
464
463
  body
465
464
  ] })
@@ -481,7 +480,7 @@ function useFormShell({
481
480
  }
482
481
  function FormError({ error, className }) {
483
482
  if (!error) return null;
484
- return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.AlertDescription, { children: error }) });
483
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.AlertDescription, { children: error }) });
485
484
  }
486
485
  function FormActions({
487
486
  busy,
@@ -493,7 +492,7 @@ function FormActions({
493
492
  }) {
494
493
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
495
494
  onCancel ? /* @__PURE__ */ jsxRuntime.jsx(
496
- chunk24IZHXNG_cjs.Button,
495
+ chunk5O3JWQP3_cjs.Button,
497
496
  {
498
497
  type: "button",
499
498
  variant: "secondaryOutline",
@@ -504,7 +503,7 @@ function FormActions({
504
503
  }
505
504
  ) : null,
506
505
  /* @__PURE__ */ jsxRuntime.jsx(
507
- chunk24IZHXNG_cjs.Button,
506
+ chunk5O3JWQP3_cjs.Button,
508
507
  {
509
508
  type: "submit",
510
509
  variant: "primaryBold",
@@ -556,11 +555,11 @@ function FormPage({
556
555
  " ",
557
556
  "\uD45C\uC2DC\uB294 \uD544\uC218 \uC785\uB825 \uD56D\uBAA9\uC785\uB2C8\uB2E4"
558
557
  ] }) : null,
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 }),
558
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
559
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
561
560
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" }),
562
561
  aside ? null : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
563
- chunk24IZHXNG_cjs.FormFooter,
562
+ chunk5O3JWQP3_cjs.FormFooter,
564
563
  {
565
564
  align: "end",
566
565
  className: "mt-[24px] border-t border-sys-divider-subtle pt-[16px]",
@@ -572,9 +571,9 @@ function FormPage({
572
571
  const column = canvas === "subtle" ? (
573
572
  // 폼 전체를 흰 Card 하나로(섹션 사이 구분선은 그대로). 위 8px 는 첫 FormSection 의 pt-[16px] 과 더해 24
574
573
  /* @__PURE__ */ jsxRuntime.jsx(
575
- chunk24IZHXNG_cjs.Card,
574
+ chunk5O3JWQP3_cjs.Card,
576
575
  {
577
- className: chunk24IZHXNG_cjs.cn(
576
+ className: chunk5O3JWQP3_cjs.cn(
578
577
  "w-full max-w-[var(--max-w-form-control)] px-[24px] pb-[24px] pt-[8px]",
579
578
  align === "center" && !aside && "mx-auto"
580
579
  ),
@@ -584,7 +583,7 @@ function FormPage({
584
583
  ) : /* @__PURE__ */ jsxRuntime.jsx(
585
584
  "div",
586
585
  {
587
- className: chunk24IZHXNG_cjs.cn(
586
+ className: chunk5O3JWQP3_cjs.cn(
588
587
  "w-full max-w-[var(--max-w-form-control)]",
589
588
  align === "center" && !aside && "mx-auto"
590
589
  ),
@@ -593,9 +592,9 @@ function FormPage({
593
592
  );
594
593
  return (
595
594
  // subtle 의 캔버스 회색은 기존 토큰(grayscale20, 진단 18-A 의 f7 변형)을 쓴다 — 채택되면 전용 sys 토큰으로 올린다
596
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk24IZHXNG_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
595
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk5O3JWQP3_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
597
596
  /* @__PURE__ */ jsxRuntime.jsx(
598
- chunk24IZHXNG_cjs.PageHeader,
597
+ chunk5O3JWQP3_cjs.PageHeader,
599
598
  {
600
599
  title,
601
600
  description,
@@ -609,7 +608,7 @@ function FormPage({
609
608
  // <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe) 이름 있는 section (DetailPage aside 와 같은 꼴)
610
609
  /* @__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
610
  column,
612
- /* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
611
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
613
612
  aside,
614
613
  /* @__PURE__ */ jsxRuntime.jsx(
615
614
  "div",
@@ -646,23 +645,23 @@ function FormDrawer({
646
645
  if (!next && busy) return;
647
646
  onOpenChange(next);
648
647
  };
649
- return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
650
- chunk24IZHXNG_cjs.DrawerContent,
648
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
649
+ chunk5O3JWQP3_cjs.DrawerContent,
651
650
  {
652
651
  side,
653
652
  size,
654
653
  ...description ? {} : { "aria-describedby": void 0 },
655
654
  children: [
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
655
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.DrawerHeader, { children: [
656
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DrawerTitle, { children: title }),
657
+ description ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DrawerDescription, { children: description }) : null
659
658
  ] }),
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: [
659
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex min-h-0 flex-1 flex-col", children: [
660
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.DrawerBody, { className: "px-[24px]", children: [
662
661
  children,
663
662
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" })
664
663
  ] }),
665
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
664
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
666
665
  FormActions,
667
666
  {
668
667
  busy,
@@ -697,21 +696,21 @@ function FormDialog({
697
696
  if (!next && busy) return;
698
697
  onOpenChange(next);
699
698
  };
700
- return /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
701
- chunk24IZHXNG_cjs.DialogContent,
699
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
700
+ chunk5O3JWQP3_cjs.DialogContent,
702
701
  {
703
702
  width,
704
703
  hideCloseButton: busy,
705
704
  ...description ? {} : { "aria-describedby": void 0 },
706
705
  children: [
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
706
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.DialogHeader, { children: [
707
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DialogTitle, { children: title }),
708
+ description ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DialogDescription, { children: description }) : null
710
709
  ] }),
711
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
710
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
712
711
  children,
713
712
  /* @__PURE__ */ jsxRuntime.jsx(FormError, { error }),
714
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
713
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
715
714
  FormActions,
716
715
  {
717
716
  busy,
@@ -743,7 +742,7 @@ function StatTile({
743
742
  }) {
744
743
  const labelId = react.useId();
745
744
  const percent = ratio == null ? null : Math.round(Math.min(Math.max(ratio, 0), 1) * 100);
746
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk24IZHXNG_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
745
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk5O3JWQP3_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
747
746
  /* @__PURE__ */ jsxRuntime.jsx("span", { id: labelId, className: "text-h6 text-sys-text-subtle", children: href ? (
748
747
  // 타일 전체를 클릭 영역으로: 링크의 ::after 를 Card 크기로 늘린다
749
748
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -755,7 +754,7 @@ function StatTile({
755
754
  }
756
755
  )
757
756
  ) : label }),
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: [
757
+ loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.Skeleton, { role: "status", "aria-label": "\uBD88\uB7EC\uC624\uB294 \uC911", className: "h-[32px] w-[80px]" }) : /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunk5O3JWQP3_cjs.cn("flex items-center gap-[6px] text-h2", TONE_TEXT[tone]), children: [
759
758
  tone !== "default" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { "aria-hidden": true, size: 20, className: "shrink-0" }) : null,
760
759
  value
761
760
  ] }),
@@ -771,7 +770,7 @@ function StatTile({
771
770
  children: /* @__PURE__ */ jsxRuntime.jsx(
772
771
  "div",
773
772
  {
774
- className: chunk24IZHXNG_cjs.cn("h-full rounded-full", TONE_BAR[tone]),
773
+ className: chunk5O3JWQP3_cjs.cn("h-full rounded-full", TONE_BAR[tone]),
775
774
  style: { width: `${percent}%` }
776
775
  }
777
776
  )
@@ -800,7 +799,7 @@ function DashboardLayout({
800
799
  children
801
800
  ] });
802
801
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
803
- /* @__PURE__ */ jsxRuntime.jsx(chunk24IZHXNG_cjs.PageHeader, { ...header, actions }),
802
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5O3JWQP3_cjs.PageHeader, { ...header, actions }),
804
803
  /* @__PURE__ */ jsxRuntime.jsx(
805
804
  "section",
806
805
  {
@@ -822,9 +821,9 @@ function DashboardSection({ title, action, columns, children }) {
822
821
  // 1px 간격 + 구분선 색 배경 = 칸 사이 가로·세로 구분선. 칸(DashboardPanel)은 자기 배경을 가진다
823
822
  // 2열에서 칸 수가 홀수면 마지막 칸이 두 열을 차지해 빈 칸이 생기지 않게 한다
824
823
  /* @__PURE__ */ jsxRuntime.jsx(
825
- chunk24IZHXNG_cjs.Card,
824
+ chunk5O3JWQP3_cjs.Card,
826
825
  {
827
- className: chunk24IZHXNG_cjs.cn(
826
+ className: chunk5O3JWQP3_cjs.cn(
828
827
  "grid grid-cols-1 gap-px overflow-hidden bg-sys-divider-subtler",
829
828
  columns === 2 && "xl:grid-cols-2 xl:[&>:last-child:nth-child(odd)]:col-span-2"
830
829
  ),