@t3q-ui/design-system 1.63.1 → 1.63.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 +8 -0
- package/dist/{chunk-ESAMXUUJ.cjs → chunk-LIXLOSPF.cjs} +3 -3
- package/dist/{chunk-ESAMXUUJ.cjs.map → chunk-LIXLOSPF.cjs.map} +1 -1
- package/dist/{chunk-GZZXYYDY.js → chunk-S6TTWFNU.js} +3 -3
- package/dist/{chunk-GZZXYYDY.js.map → chunk-S6TTWFNU.js.map} +1 -1
- package/dist/index.cjs +223 -223
- package/dist/index.js +2 -2
- package/dist/patterns/index.cjs +71 -71
- package/dist/patterns/index.js +1 -1
- package/dist/styles.css +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFloatingLabel, FloatingLabelOutline, CancelIcon, CLEAR_REVEAL_CLASS, CLEAR_HOST_CLASS, Spinner, useFormControlContext, Tag, Separator, LucideIcon, TextField, Dialog, DialogContent, DialogTitle, Badge } from './chunk-
|
|
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, ChatComposer, ChatHistory, ChatMessage, 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, LucideIcon, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, Spinner, Stack, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TextField, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, badgeVariants, buttonVariants, estimateHeaderTextWidth, fitColumnsToContent, getPaginationRange, getSortedColumnState, groupChatHistoryByDate, growColumnIds, sanitizeUserText, tagVariants, useFloatingLabel, useFormControlContext, useFormField, usePageHeader, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses, withWidthFloor } from './chunk-
|
|
1
|
+
import { useRestoreFocusToOpener, Stack, sanitizeUserText, Button, TooltipProvider, Tooltip, TooltipTrigger, TooltipContent, Checkbox, useFloatingLabel, FloatingLabelOutline, CancelIcon, CLEAR_REVEAL_CLASS, CLEAR_HOST_CLASS, Spinner, useFormControlContext, Tag, Separator, LucideIcon, TextField, Dialog, DialogContent, DialogTitle, Badge } from './chunk-S6TTWFNU.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, ChatComposer, ChatHistory, ChatMessage, 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, LucideIcon, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, Spinner, Stack, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TextField, Textarea, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, badgeVariants, buttonVariants, estimateHeaderTextWidth, fitColumnsToContent, getPaginationRange, getSortedColumnState, groupChatHistoryByDate, growColumnIds, sanitizeUserText, tagVariants, useFloatingLabel, useFormControlContext, useFormField, usePageHeader, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses, withWidthFloor } from './chunk-S6TTWFNU.js';
|
|
3
3
|
import { cn, Table, TableHeader, TableRow, TableHead, TableBody, IconButton, TableCell } from './chunk-DWF6AFPQ.js';
|
|
4
4
|
export { IconButton, NUMBER_COLUMN_CLASS, SortIcon, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, alignFromClassName, cn } from './chunk-DWF6AFPQ.js';
|
|
5
5
|
import * as React15 from 'react';
|
package/dist/patterns/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLIXLOSPF_cjs = require('../chunk-LIXLOSPF.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:
|
|
25
|
+
cellRenderer: chunkLIXLOSPF_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(
|
|
54
|
-
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
53
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Skeleton, { className: "h-[24px] w-[240px]" }),
|
|
54
|
+
Array.from({ length: lines }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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(
|
|
98
|
+
icon: icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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(
|
|
117
|
+
icon: /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.LucideIcon, { iconComponentName: "CircleAlert", size: 36 }),
|
|
118
118
|
iconClassName: "text-danger30",
|
|
119
119
|
title,
|
|
120
120
|
description,
|
|
121
|
-
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
121
|
+
action: onRetry ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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
|
-
|
|
178
|
+
chunkLIXLOSPF_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
|
-
|
|
207
|
+
chunkLIXLOSPF_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(
|
|
219
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.ToggleGroupItem, { value: QUICK_ALL, count: quickAllCount, countVariant: "primary", children: "\uC804\uCCB4" }),
|
|
220
220
|
quickFilter.options.map((o) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
221
|
-
|
|
221
|
+
chunkLIXLOSPF_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(
|
|
262
|
+
action: withReset && content.children == null ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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
|
-
|
|
274
|
+
chunkLIXLOSPF_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(
|
|
283
|
+
/* @__PURE__ */ jsxRuntime.jsx("section", { "aria-label": title, className: "px-[24px] py-[32px]", children: error ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Alert, { variant: "danger", children: /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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
|
-
|
|
289
|
+
chunkLIXLOSPF_cjs.AgGridTable,
|
|
290
290
|
{
|
|
291
291
|
rowData: rows,
|
|
292
292
|
columnDefs,
|
|
293
293
|
loading,
|
|
294
294
|
noRowsOverlayComponent: EmptyOverlay,
|
|
295
|
-
onSortChanged: onSortChange ? (e) => onSortChange(
|
|
295
|
+
onSortChanged: onSortChange ? (e) => onSortChange(chunkLIXLOSPF_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
|
-
|
|
306
|
+
chunkLIXLOSPF_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
|
-
|
|
319
|
+
chunkLIXLOSPF_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(
|
|
355
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
354
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DropdownMenu, { children: [
|
|
355
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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
|
-
|
|
357
|
+
chunkLIXLOSPF_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(
|
|
369
|
-
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
368
|
+
items.map(({ children, onClick, disabled }, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DropdownMenuItem, { disabled, onSelect: select(onClick), children }, i)),
|
|
369
|
+
deleteAction && items.length ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DropdownMenuSeparator, {}) : null,
|
|
370
370
|
deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
371
|
-
|
|
371
|
+
chunkLIXLOSPF_cjs.DropdownMenuItem,
|
|
372
372
|
{
|
|
373
373
|
variant: "danger",
|
|
374
374
|
disabled: deleteAction.disabled,
|
|
@@ -416,7 +416,7 @@ function DetailPage({
|
|
|
416
416
|
body = // 넓은 화면: 본문 2 : 패널 1 + 세로선. 좁은 화면: 세로로 쌓이고 패널은 제목 + 가로선으로 시작한다
|
|
417
417
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-[24px] xl:grid-cols-[2fr_1fr] xl:items-start", children: [
|
|
418
418
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0", children }),
|
|
419
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
419
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Panel, { title: asideTitle, children: aside })
|
|
420
420
|
] });
|
|
421
421
|
} else {
|
|
422
422
|
body = children;
|
|
@@ -424,11 +424,11 @@ function DetailPage({
|
|
|
424
424
|
const VISIBLE_SECONDARY = 2;
|
|
425
425
|
const visibleSecondary = secondaryActions?.slice(0, VISIBLE_SECONDARY) ?? [];
|
|
426
426
|
const overflowSecondary = secondaryActions?.slice(VISIBLE_SECONDARY) ?? [];
|
|
427
|
-
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
427
|
+
const primaryButton = primaryAction ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Button, { type: "button", variant: "primaryBold", ...primaryAction }) : null;
|
|
428
428
|
const moreMenu = (items) => items.length || deleteAction ? /* @__PURE__ */ jsxRuntime.jsx(MoreMenu, { items, deleteAction }) : null;
|
|
429
429
|
const fullRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
430
430
|
moreMenu(overflowSecondary),
|
|
431
|
-
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
431
|
+
visibleSecondary.map((action, i) => /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Button, { type: "button", variant: "secondary", ...action }, i)),
|
|
432
432
|
primaryButton
|
|
433
433
|
] });
|
|
434
434
|
const collapsedRow = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -449,7 +449,7 @@ function DetailPage({
|
|
|
449
449
|
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "detail-actions-collapsed", className: "flex items-center gap-[8px] @3xl:hidden", children: collapsedRow })
|
|
450
450
|
] }) : primaryButton ? primaryButton : void 0;
|
|
451
451
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
452
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
452
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.PageHeader, { ...header, actions: actionRow }),
|
|
453
453
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
454
454
|
"section",
|
|
455
455
|
{
|
|
@@ -479,7 +479,7 @@ function useFormShell({
|
|
|
479
479
|
}
|
|
480
480
|
function FormError({ error, className }) {
|
|
481
481
|
if (!error) return null;
|
|
482
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
482
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Alert, { variant: "danger", className, children: /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.AlertDescription, { children: error }) });
|
|
483
483
|
}
|
|
484
484
|
function FormActions({
|
|
485
485
|
busy,
|
|
@@ -491,7 +491,7 @@ function FormActions({
|
|
|
491
491
|
}) {
|
|
492
492
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
493
493
|
onCancel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
494
|
-
|
|
494
|
+
chunkLIXLOSPF_cjs.Button,
|
|
495
495
|
{
|
|
496
496
|
type: "button",
|
|
497
497
|
variant: "secondaryOutline",
|
|
@@ -502,7 +502,7 @@ function FormActions({
|
|
|
502
502
|
}
|
|
503
503
|
) : null,
|
|
504
504
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
505
|
-
|
|
505
|
+
chunkLIXLOSPF_cjs.Button,
|
|
506
506
|
{
|
|
507
507
|
type: "submit",
|
|
508
508
|
variant: "primaryBold",
|
|
@@ -554,11 +554,11 @@ function FormPage({
|
|
|
554
554
|
" ",
|
|
555
555
|
"\uD45C\uC2DC\uB294 \uD544\uC218 \uC785\uB825 \uD56D\uBAA9\uC785\uB2C8\uB2E4"
|
|
556
556
|
] }) : null,
|
|
557
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
558
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { id: formId, noValidate: true, onSubmit: handleSubmit, children: [
|
|
558
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.FormSectionLevelContext.Provider, { value: 2, children }),
|
|
559
559
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" }),
|
|
560
560
|
aside ? null : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
561
|
-
|
|
561
|
+
chunkLIXLOSPF_cjs.FormFooter,
|
|
562
562
|
{
|
|
563
563
|
align: "end",
|
|
564
564
|
className: "mt-[24px] border-t border-sys-divider-subtle pt-[16px]",
|
|
@@ -570,7 +570,7 @@ function FormPage({
|
|
|
570
570
|
const column = canvas === "subtle" ? (
|
|
571
571
|
// 폼 전체를 흰 Card 하나로(섹션 사이 구분선은 그대로). 위 8px 는 첫 FormSection 의 pt-[16px] 과 더해 24
|
|
572
572
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
573
|
-
|
|
573
|
+
chunkLIXLOSPF_cjs.Card,
|
|
574
574
|
{
|
|
575
575
|
className: chunkOQOBPYZT_cjs.cn(
|
|
576
576
|
"w-full max-w-[var(--max-w-form-control)] px-[24px] pb-[24px] pt-[8px]",
|
|
@@ -593,7 +593,7 @@ function FormPage({
|
|
|
593
593
|
// subtle 의 캔버스 회색은 기존 토큰(grayscale20, 진단 18-A 의 f7 변형)을 쓴다 — 채택되면 전용 sys 토큰으로 올린다
|
|
594
594
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunkOQOBPYZT_cjs.cn("w-full", canvas === "subtle" && "bg-sys-background-hover"), children: [
|
|
595
595
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
596
|
-
|
|
596
|
+
chunkLIXLOSPF_cjs.PageHeader,
|
|
597
597
|
{
|
|
598
598
|
title,
|
|
599
599
|
description,
|
|
@@ -607,7 +607,7 @@ function FormPage({
|
|
|
607
607
|
// <aside>(complementary) 는 다른 landmark 안에 둘 수 없으므로(axe) 이름 있는 section (DetailPage aside 와 같은 꼴)
|
|
608
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: [
|
|
609
609
|
column,
|
|
610
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
610
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.Panel, { title: asideTitle, className: "xl:sticky xl:top-[24px]", children: [
|
|
611
611
|
aside,
|
|
612
612
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
613
613
|
"div",
|
|
@@ -644,23 +644,23 @@ function FormDrawer({
|
|
|
644
644
|
if (!next && busy) return;
|
|
645
645
|
onOpenChange(next);
|
|
646
646
|
};
|
|
647
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
648
|
-
|
|
647
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Drawer, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
648
|
+
chunkLIXLOSPF_cjs.DrawerContent,
|
|
649
649
|
{
|
|
650
650
|
side,
|
|
651
651
|
size,
|
|
652
652
|
...description ? {} : { "aria-describedby": void 0 },
|
|
653
653
|
children: [
|
|
654
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
655
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
656
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
654
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DrawerHeader, { children: [
|
|
655
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerTitle, { children: title }),
|
|
656
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerDescription, { children: description }) : null
|
|
657
657
|
] }),
|
|
658
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
659
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
658
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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(chunkLIXLOSPF_cjs.DrawerBody, { className: "px-[24px]", children: [
|
|
660
660
|
children,
|
|
661
661
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error, className: "mt-[24px]" })
|
|
662
662
|
] }),
|
|
663
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
663
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
664
664
|
FormActions,
|
|
665
665
|
{
|
|
666
666
|
busy,
|
|
@@ -695,21 +695,21 @@ function FormDialog({
|
|
|
695
695
|
if (!next && busy) return;
|
|
696
696
|
onOpenChange(next);
|
|
697
697
|
};
|
|
698
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
699
|
-
|
|
698
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Dialog, { open, onOpenChange: guardedOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
699
|
+
chunkLIXLOSPF_cjs.DialogContent,
|
|
700
700
|
{
|
|
701
701
|
width,
|
|
702
702
|
hideCloseButton: busy,
|
|
703
703
|
...description ? {} : { "aria-describedby": void 0 },
|
|
704
704
|
children: [
|
|
705
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
706
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
707
|
-
description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
705
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DialogHeader, { children: [
|
|
706
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DialogTitle, { children: title }),
|
|
707
|
+
description ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DialogDescription, { children: description }) : null
|
|
708
708
|
] }),
|
|
709
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
709
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Form, { ...form, children: /* @__PURE__ */ jsxRuntime.jsxs("form", { noValidate: true, onSubmit: handleSubmit, className: "flex flex-col gap-[16px]", children: [
|
|
710
710
|
children,
|
|
711
711
|
/* @__PURE__ */ jsxRuntime.jsx(FormError, { error }),
|
|
712
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
712
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DialogFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
713
713
|
FormActions,
|
|
714
714
|
{
|
|
715
715
|
busy,
|
|
@@ -741,7 +741,7 @@ function StatTile({
|
|
|
741
741
|
}) {
|
|
742
742
|
const labelId = react.useId();
|
|
743
743
|
const percent = ratio == null ? null : Math.round(Math.min(Math.max(ratio, 0), 1) * 100);
|
|
744
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
744
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.Card, { className: "relative gap-[4px] p-[16px]", children: [
|
|
745
745
|
/* @__PURE__ */ jsxRuntime.jsx("span", { id: labelId, className: "text-h6 text-sys-text-subtle", children: href ? (
|
|
746
746
|
// 타일 전체를 클릭 영역으로: 링크의 ::after 를 Card 크기로 늘린다
|
|
747
747
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -753,7 +753,7 @@ function StatTile({
|
|
|
753
753
|
}
|
|
754
754
|
)
|
|
755
755
|
) : label }),
|
|
756
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
756
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_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
757
|
tone !== "default" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.TriangleAlert, { "aria-hidden": true, size: 20, className: "shrink-0" }) : null,
|
|
758
758
|
value
|
|
759
759
|
] }),
|
|
@@ -798,7 +798,7 @@ function DashboardLayout({
|
|
|
798
798
|
children
|
|
799
799
|
] });
|
|
800
800
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full", children: [
|
|
801
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
801
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.PageHeader, { ...header, actions }),
|
|
802
802
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
803
803
|
"section",
|
|
804
804
|
{
|
|
@@ -820,7 +820,7 @@ function DashboardSection({ title, action, columns, children }) {
|
|
|
820
820
|
// 1px 간격 + 구분선 색 배경 = 칸 사이 가로·세로 구분선. 칸(DashboardPanel)은 자기 배경을 가진다
|
|
821
821
|
// 2열에서 칸 수가 홀수면 마지막 칸이 두 열을 차지해 빈 칸이 생기지 않게 한다
|
|
822
822
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
823
|
-
|
|
823
|
+
chunkLIXLOSPF_cjs.Card,
|
|
824
824
|
{
|
|
825
825
|
className: chunkOQOBPYZT_cjs.cn(
|
|
826
826
|
"grid grid-cols-1 gap-px overflow-hidden bg-sys-divider-subtler",
|
|
@@ -879,7 +879,7 @@ var MessageRow = react.memo(function MessageRow2({
|
|
|
879
879
|
}) {
|
|
880
880
|
const regenerate = onRegenerate ? () => onRegenerate(item.id) : void 0;
|
|
881
881
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
882
|
-
|
|
882
|
+
chunkLIXLOSPF_cjs.ChatMessage,
|
|
883
883
|
{
|
|
884
884
|
from: item.role,
|
|
885
885
|
headingLevel,
|
|
@@ -1047,7 +1047,7 @@ function ChatConversation({
|
|
|
1047
1047
|
onStop();
|
|
1048
1048
|
} : void 0;
|
|
1049
1049
|
const composer = /* @__PURE__ */ jsxRuntime.jsx(
|
|
1050
|
-
|
|
1050
|
+
chunkLIXLOSPF_cjs.ChatComposer,
|
|
1051
1051
|
{
|
|
1052
1052
|
ref: composerRef,
|
|
1053
1053
|
...composerProps,
|
|
@@ -1058,7 +1058,7 @@ function ChatConversation({
|
|
|
1058
1058
|
);
|
|
1059
1059
|
const noteLine = note ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "m-0 text-center text-small-regular-h text-sys-text-subtler", children: note }) : null;
|
|
1060
1060
|
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(
|
|
1061
|
-
|
|
1061
|
+
chunkLIXLOSPF_cjs.Button,
|
|
1062
1062
|
{
|
|
1063
1063
|
type: "button",
|
|
1064
1064
|
variant: "secondaryOutline",
|
|
@@ -1147,7 +1147,7 @@ function ChatConversation({
|
|
|
1147
1147
|
item.id
|
|
1148
1148
|
);
|
|
1149
1149
|
}),
|
|
1150
|
-
waiting ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1150
|
+
waiting ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.ChatMessage, { from: "assistant", pending: true, headingLevel }) : null
|
|
1151
1151
|
]
|
|
1152
1152
|
}
|
|
1153
1153
|
),
|
|
@@ -1265,7 +1265,7 @@ function ChatPage({
|
|
|
1265
1265
|
"shrink-0 overflow-hidden transition-[width,visibility] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1266
1266
|
collapsed ? "invisible w-0" : "visible w-[280px]"
|
|
1267
1267
|
),
|
|
1268
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full w-[280px] flex-col border-r border-sys-divider-subtler p-[12px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1268
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full w-[280px] flex-col border-r border-sys-divider-subtler p-[12px]", children: /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.ChatHistory, { ...history, className: "flex-1" }) })
|
|
1269
1269
|
}
|
|
1270
1270
|
)
|
|
1271
1271
|
) : null,
|
|
@@ -1286,7 +1286,7 @@ function ChatPage({
|
|
|
1286
1286
|
children: side ? (
|
|
1287
1287
|
// <aside> 는 다른 landmark 안에 둘 수 없어(axe landmark-complementary-is-top-level) 이름 있는 section(Panel) — ListPage 의 detail 과 같다
|
|
1288
1288
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1289
|
-
|
|
1289
|
+
chunkLIXLOSPF_cjs.Panel,
|
|
1290
1290
|
{
|
|
1291
1291
|
appearance: "none",
|
|
1292
1292
|
padding: "large",
|
|
@@ -1322,10 +1322,10 @@ function ChatPage({
|
|
|
1322
1322
|
)
|
|
1323
1323
|
) : null
|
|
1324
1324
|
] }),
|
|
1325
|
-
history && !historyInline ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1326
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1325
|
+
history && !historyInline ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Drawer, { open: drawerOpen, onOpenChange: setDrawerOpen, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DrawerContent, { side: "left", size: "small", children: [
|
|
1326
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerTitle, { children: "\uB300\uD654 \uAE30\uB85D" }) }),
|
|
1327
1327
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col px-[24px] pb-[24px]", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1328
|
-
|
|
1328
|
+
chunkLIXLOSPF_cjs.ChatHistory,
|
|
1329
1329
|
{
|
|
1330
1330
|
...history,
|
|
1331
1331
|
className: "flex-1",
|
|
@@ -1340,13 +1340,13 @@ function ChatPage({
|
|
|
1340
1340
|
}
|
|
1341
1341
|
) })
|
|
1342
1342
|
] }) }) : null,
|
|
1343
|
-
sidePanel && !sideInline ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1344
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1345
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1346
|
-
sidePanel.description ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1343
|
+
sidePanel && !sideInline ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.Drawer, { open: true, onOpenChange: (open) => open ? void 0 : sidePanel.onClose(), children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DrawerContent, { side: "right", size: sidePanel.width ?? "medium", children: [
|
|
1344
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkLIXLOSPF_cjs.DrawerHeader, { children: [
|
|
1345
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerTitle, { children: sidePanel.title }),
|
|
1346
|
+
sidePanel.description ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerDescription, { children: sidePanel.description }) : null
|
|
1347
1347
|
] }),
|
|
1348
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1349
|
-
sidePanel.footer ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1348
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerBody, { className: "px-[24px] pb-[24px]", children: sidePanel.children }),
|
|
1349
|
+
sidePanel.footer ? /* @__PURE__ */ jsxRuntime.jsx(chunkLIXLOSPF_cjs.DrawerFooter, { children: sidePanel.footer }) : null
|
|
1350
1350
|
] }) }) : null
|
|
1351
1351
|
] });
|
|
1352
1352
|
}
|
package/dist/patterns/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChatMessage, Skeleton, EmptyBoxIllustration, Button, LucideIcon, ToggleGroup, ToggleGroupItem, PageHeader, Alert, AlertDescription, AgGridTable, getSortedColumnState, Pagination, Panel, Form, FormSectionLevelContext, FormFooter, Card, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, DrawerBody, DrawerFooter, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, ChatHistory, TwoLineCellRenderer, ChatComposer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from '../chunk-
|
|
1
|
+
import { ChatMessage, Skeleton, EmptyBoxIllustration, Button, LucideIcon, ToggleGroup, ToggleGroupItem, PageHeader, Alert, AlertDescription, AgGridTable, getSortedColumnState, Pagination, Panel, Form, FormSectionLevelContext, FormFooter, Card, Drawer, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription, DrawerBody, DrawerFooter, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter, ChatHistory, TwoLineCellRenderer, ChatComposer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from '../chunk-S6TTWFNU.js';
|
|
2
2
|
import { cn, TablePagination, IconButton } from '../chunk-DWF6AFPQ.js';
|
|
3
3
|
import { memo, useRef, useEffect, useMemo, useId, useState, useCallback, useLayoutEffect, isValidElement } from 'react';
|
|
4
4
|
import { RotateCcw, X, PanelLeft, TriangleAlert, ArrowDown, Ellipsis } from 'lucide-react';
|
package/dist/styles.css
CHANGED
|
@@ -128,6 +128,7 @@
|
|
|
128
128
|
--shadow-danger-small: 0 2px 4px var(--color-danger-o10);
|
|
129
129
|
--shadow-danger-medium: 0 4px 8px var(--color-red-o20);
|
|
130
130
|
--shadow-danger-large: 0 6px 12px var(--color-danger-o30);
|
|
131
|
+
--shadow-gray-xsmall: 0 3px 12px var(--color-grayscale-s05);
|
|
131
132
|
--shadow-gray-small: 0 3px 12px var(--color-grayscale-s10);
|
|
132
133
|
--shadow-gray-medium: 0 4px 16px var(--color-grayscale-s30);
|
|
133
134
|
--shadow-gray-large: 0 4px 16px var(--color-grayscale-s40);
|
|
@@ -274,6 +275,8 @@
|
|
|
274
275
|
--color-grayscale-o30: rgba(197, 201, 211, 0.5);
|
|
275
276
|
--color-grayscale-o40: rgba(197, 201, 211, 0.67);
|
|
276
277
|
--color-grayscale-o50: rgba(197, 201, 211, 0.84);
|
|
278
|
+
/* -s05: Card 그림자 전용 한 단계 연한 단계 — 2026-11-18 오너 결정(10% → 5%). -s10 은 떠 있는 층(Popover·DropdownMenu)·Switch 가 쓰므로 값을 건드리지 않고 단계를 더했다 */
|
|
279
|
+
--color-grayscale-s05: rgba(77, 83, 101, 0.05);
|
|
277
280
|
--color-grayscale-s10: rgba(77, 83, 101, 0.1);
|
|
278
281
|
--color-grayscale-s20: rgba(77, 83, 101, 0.2);
|
|
279
282
|
--color-grayscale-s30: rgba(77, 83, 101, 0.3);
|
|
@@ -848,6 +851,7 @@
|
|
|
848
851
|
--color-etc-o50: var(--color-violet-o50);
|
|
849
852
|
|
|
850
853
|
/* Shadow용 색상 - 검정 기반 (Figma Dark Grayscale.S) */
|
|
854
|
+
--color-grayscale-s05: rgba(0, 0, 0, 0.05);
|
|
851
855
|
--color-grayscale-s10: rgba(0, 0, 0, 0.1);
|
|
852
856
|
--color-grayscale-s20: rgba(0, 0, 0, 0.2);
|
|
853
857
|
--color-grayscale-s30: rgba(0, 0, 0, 0.3);
|
|
@@ -1492,6 +1496,7 @@
|
|
|
1492
1496
|
@utility shadow-danger-small { box-shadow: var(--shadow-danger-small); }
|
|
1493
1497
|
@utility shadow-danger-medium { box-shadow: var(--shadow-danger-medium); }
|
|
1494
1498
|
@utility shadow-danger-large { box-shadow: var(--shadow-danger-large); }
|
|
1499
|
+
@utility shadow-gray-xsmall { box-shadow: var(--shadow-gray-xsmall); }
|
|
1495
1500
|
@utility shadow-gray-small { box-shadow: var(--shadow-gray-small); }
|
|
1496
1501
|
@utility shadow-gray-medium { box-shadow: var(--shadow-gray-medium); }
|
|
1497
1502
|
@utility shadow-gray-large { box-shadow: var(--shadow-gray-large); }
|