@t3q-ui/design-system 1.63.2 → 1.65.0
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 +27 -0
- package/dist/{chunk-S6TTWFNU.js → chunk-M7ZUGQR6.js} +63 -33
- package/dist/chunk-M7ZUGQR6.js.map +1 -0
- package/dist/{chunk-LIXLOSPF.cjs → chunk-RVIZMXPB.cjs} +63 -33
- package/dist/chunk-RVIZMXPB.cjs.map +1 -0
- package/dist/index.cjs +223 -223
- package/dist/index.js +2 -2
- package/dist/patterns/index.cjs +376 -210
- package/dist/patterns/index.cjs.map +1 -1
- package/dist/patterns/index.d.cts +10 -8
- package/dist/patterns/index.d.ts +10 -8
- package/dist/patterns/index.js +318 -152
- package/dist/patterns/index.js.map +1 -1
- package/mcp/manifests/components.json +61 -35
- package/package.json +1 -1
- package/skills/tds/SKILL.md +2 -2
- package/skills/tds/examples/chat-page.tsx +26 -13
- package/skills/tds/reference/components.md +8 -7
- package/dist/chunk-LIXLOSPF.cjs.map +0 -1
- package/dist/chunk-S6TTWFNU.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
<!-- release: v1.65.0 -->
|
|
4
|
+
# 1.65.0 (2026-11-22)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **ChatPage:** :bug: 좁은 화면에서 오른쪽 패널 Drawer 가 닫힐 때 애니메이션 없이 사라지던 것 (711d6cc)
|
|
10
|
+
* **Drawer:** :lipstick: 닫기 버튼을 IconButton 으로 — 손가락 커서·올리면 진해지는 토큰 색, 다크 테마에서 보임 (4323f5b)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **ChatPage:** :sparkles: 접힌 레일에 검색 아이콘 — 누르면 펼쳐지며 검색창으로 포커스 (b1187e1)
|
|
16
|
+
|
|
17
|
+
<!-- release: v1.64.0 -->
|
|
18
|
+
# 1.64.0 (2026-11-22)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **Tooltip:** :bug: Drawer·Dialog 가 닫히며 포커스를 돌려줄 때 Tooltip 이 다시 떠서 남던 것 (3ec89e5)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **ChatPage:** :sparkles: 상단 바 제거 — 로고·접기는 기록 바 맨 위, 모델 선택·행동은 대화 영역 맨 위, 접으면 레일 (abac374)
|
|
29
|
+
|
|
3
30
|
<!-- release: v1.63.2 -->
|
|
4
31
|
## 1.63.2 (2026-11-18)
|
|
5
32
|
|
|
@@ -1361,9 +1361,62 @@ function Badge({ className, variant, rounded, appearance, size, children, ...pro
|
|
|
1361
1361
|
}
|
|
1362
1362
|
);
|
|
1363
1363
|
}
|
|
1364
|
+
var restoring = false;
|
|
1365
|
+
function isRestoringFocus() {
|
|
1366
|
+
return restoring;
|
|
1367
|
+
}
|
|
1368
|
+
function useRestoreFocusToOpener({
|
|
1369
|
+
onOpenAutoFocus,
|
|
1370
|
+
onCloseAutoFocus
|
|
1371
|
+
}) {
|
|
1372
|
+
const openerRef = useRef(null);
|
|
1373
|
+
const handleOpenAutoFocus = useCallback(
|
|
1374
|
+
(event) => {
|
|
1375
|
+
openerRef.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
1376
|
+
onOpenAutoFocus?.(event);
|
|
1377
|
+
},
|
|
1378
|
+
[onOpenAutoFocus]
|
|
1379
|
+
);
|
|
1380
|
+
const handleCloseAutoFocus = useCallback(
|
|
1381
|
+
(event) => {
|
|
1382
|
+
onCloseAutoFocus?.(event);
|
|
1383
|
+
if (event.defaultPrevented) return;
|
|
1384
|
+
const opener = openerRef.current;
|
|
1385
|
+
if (!opener || opener === document.body || !opener.isConnected) return;
|
|
1386
|
+
event.preventDefault();
|
|
1387
|
+
restoring = true;
|
|
1388
|
+
try {
|
|
1389
|
+
opener.focus({ preventScroll: true });
|
|
1390
|
+
} finally {
|
|
1391
|
+
restoring = false;
|
|
1392
|
+
}
|
|
1393
|
+
},
|
|
1394
|
+
[onCloseAutoFocus]
|
|
1395
|
+
);
|
|
1396
|
+
return { onOpenAutoFocus: handleOpenAutoFocus, onCloseAutoFocus: handleCloseAutoFocus };
|
|
1397
|
+
}
|
|
1364
1398
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
1399
|
+
function isKeyboardFocus(el) {
|
|
1400
|
+
try {
|
|
1401
|
+
return el.matches(":focus-visible");
|
|
1402
|
+
} catch {
|
|
1403
|
+
return true;
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
1365
1406
|
var Tooltip = TooltipPrimitive.Root;
|
|
1366
|
-
var TooltipTrigger = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1407
|
+
var TooltipTrigger = React10.forwardRef(({ className, onFocus, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1408
|
+
TooltipPrimitive.Trigger,
|
|
1409
|
+
{
|
|
1410
|
+
type: "button",
|
|
1411
|
+
ref,
|
|
1412
|
+
className: cn(className),
|
|
1413
|
+
...props,
|
|
1414
|
+
onFocus: (e) => {
|
|
1415
|
+
onFocus?.(e);
|
|
1416
|
+
if (isRestoringFocus() && !isKeyboardFocus(e.target)) e.preventDefault();
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
));
|
|
1367
1420
|
TooltipTrigger.displayName = TooltipPrimitive.Trigger.displayName;
|
|
1368
1421
|
var TooltipContent = React10.forwardRef(({ className, sideOffset = 4, children, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
1369
1422
|
TooltipPrimitive.Content,
|
|
@@ -3577,31 +3630,6 @@ function ChatMessage({
|
|
|
3577
3630
|
}
|
|
3578
3631
|
);
|
|
3579
3632
|
}
|
|
3580
|
-
function useRestoreFocusToOpener({
|
|
3581
|
-
onOpenAutoFocus,
|
|
3582
|
-
onCloseAutoFocus
|
|
3583
|
-
}) {
|
|
3584
|
-
const openerRef = useRef(null);
|
|
3585
|
-
const handleOpenAutoFocus = useCallback(
|
|
3586
|
-
(event) => {
|
|
3587
|
-
openerRef.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
|
|
3588
|
-
onOpenAutoFocus?.(event);
|
|
3589
|
-
},
|
|
3590
|
-
[onOpenAutoFocus]
|
|
3591
|
-
);
|
|
3592
|
-
const handleCloseAutoFocus = useCallback(
|
|
3593
|
-
(event) => {
|
|
3594
|
-
onCloseAutoFocus?.(event);
|
|
3595
|
-
if (event.defaultPrevented) return;
|
|
3596
|
-
const opener = openerRef.current;
|
|
3597
|
-
if (!opener || opener === document.body || !opener.isConnected) return;
|
|
3598
|
-
event.preventDefault();
|
|
3599
|
-
opener.focus({ preventScroll: true });
|
|
3600
|
-
},
|
|
3601
|
-
[onCloseAutoFocus]
|
|
3602
|
-
);
|
|
3603
|
-
return { onOpenAutoFocus: handleOpenAutoFocus, onCloseAutoFocus: handleCloseAutoFocus };
|
|
3604
|
-
}
|
|
3605
3633
|
var Dialog = DialogPrimitive.Root;
|
|
3606
3634
|
var DialogTrigger = DialogPrimitive.Trigger;
|
|
3607
3635
|
var DialogPortal = DialogPrimitive.Portal;
|
|
@@ -3838,14 +3866,16 @@ var DrawerContent = React10.forwardRef(
|
|
|
3838
3866
|
props.className
|
|
3839
3867
|
),
|
|
3840
3868
|
children: [
|
|
3841
|
-
/* @__PURE__ */
|
|
3842
|
-
|
|
3869
|
+
/* @__PURE__ */ jsx(
|
|
3870
|
+
IconButton,
|
|
3843
3871
|
{
|
|
3844
|
-
|
|
3845
|
-
|
|
3872
|
+
asChild: true,
|
|
3873
|
+
variant: "secondaryLink",
|
|
3874
|
+
className: "absolute right-[24px] top-[24px] -m-[6px]",
|
|
3875
|
+
children: /* @__PURE__ */ jsxs(DialogPrimitive.Close, { children: [
|
|
3846
3876
|
/* @__PURE__ */ jsx(X, { size: 24 }),
|
|
3847
3877
|
/* @__PURE__ */ jsx("span", { className: "sr-only a11y", children: "Close" })
|
|
3848
|
-
]
|
|
3878
|
+
] })
|
|
3849
3879
|
}
|
|
3850
3880
|
),
|
|
3851
3881
|
children
|
|
@@ -5637,5 +5667,5 @@ function TwoLineCellRenderer(params) {
|
|
|
5637
5667
|
}
|
|
5638
5668
|
|
|
5639
5669
|
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, BALANCED_FILL_MIN_WIDTH, Badge, Button, CLEAR_HOST_CLASS, CLEAR_REVEAL_CLASS, CancelIcon, 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, FloatingLabelOutline, 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, Separator2 as 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, useRestoreFocusToOpener, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses, withWidthFloor };
|
|
5640
|
-
//# sourceMappingURL=chunk-
|
|
5641
|
-
//# sourceMappingURL=chunk-
|
|
5670
|
+
//# sourceMappingURL=chunk-M7ZUGQR6.js.map
|
|
5671
|
+
//# sourceMappingURL=chunk-M7ZUGQR6.js.map
|