@t3q-ui/design-system 1.59.1 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/dist/{chunk-2T6PIVRA.cjs → chunk-24IZHXNG.cjs} +12 -14
- package/dist/chunk-24IZHXNG.cjs.map +1 -0
- package/dist/{chunk-4VVIGFI2.js → chunk-AIMWERAR.js} +12 -14
- package/dist/chunk-AIMWERAR.js.map +1 -0
- package/dist/{index-kM4bOlin.d.cts → index-BGBKE_7M.d.cts} +7 -5
- package/dist/{index-kM4bOlin.d.ts → index-BGBKE_7M.d.ts} +7 -5
- package/dist/index.cjs +460 -460
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/patterns/index.cjs +69 -69
- package/dist/patterns/index.d.cts +1 -1
- package/dist/patterns/index.d.ts +1 -1
- package/dist/patterns/index.js +1 -1
- package/package.json +1 -1
- package/skills/tds/SKILL.md +2 -2
- package/skills/tds/reference/components.md +3 -3
- package/dist/chunk-2T6PIVRA.cjs.map +0 -1
- package/dist/chunk-4VVIGFI2.js.map +0 -1
|
@@ -2839,15 +2839,12 @@ function Pagination({
|
|
|
2839
2839
|
const n = total.toLocaleString();
|
|
2840
2840
|
const start = total === 0 ? 0 : (page - 1) * rowsPerPage + 1;
|
|
2841
2841
|
const end = total === 0 ? 0 : Math.min(page * rowsPerPage, total);
|
|
2842
|
-
return /* @__PURE__ */ jsxs(
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
"\uAC1C \uC911",
|
|
2846
|
-
" ",
|
|
2842
|
+
return /* @__PURE__ */ jsxs("span", { className: "tabular-nums", children: [
|
|
2843
|
+
n,
|
|
2844
|
+
"\uAC1C \uC911 ",
|
|
2847
2845
|
start,
|
|
2848
|
-
"
|
|
2849
|
-
end
|
|
2850
|
-
"\uBC88\uC9F8"
|
|
2846
|
+
"\u2013",
|
|
2847
|
+
end
|
|
2851
2848
|
] });
|
|
2852
2849
|
}, [total, page, rowsPerPage]);
|
|
2853
2850
|
return /* @__PURE__ */ jsxs(PaginationWrapper, { className: "relative justify-center", ...rest, children: [
|
|
@@ -3113,7 +3110,7 @@ var TablePagination = React12.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
3113
3110
|
"div",
|
|
3114
3111
|
{
|
|
3115
3112
|
ref,
|
|
3116
|
-
className: cn("mt-
|
|
3113
|
+
className: cn("mt-0 flex items-center justify-center", className),
|
|
3117
3114
|
...props
|
|
3118
3115
|
}
|
|
3119
3116
|
));
|
|
@@ -4212,15 +4209,16 @@ function withBalancedFill(defs) {
|
|
|
4212
4209
|
}
|
|
4213
4210
|
};
|
|
4214
4211
|
collect(defs);
|
|
4215
|
-
if (flexCols.length
|
|
4216
|
-
const
|
|
4212
|
+
if (flexCols.length === 0) return defs;
|
|
4213
|
+
const uncapped = flexCols.filter((d) => d.maxWidth == null);
|
|
4214
|
+
const lone = uncapped.length === 1 ? uncapped[0] : null;
|
|
4217
4215
|
const share = (d) => !d.hide && !isFlex(d) && typeof d.width === "number" && d.width >= BALANCED_FILL_MIN_WIDTH && !columnTypesOf(d).includes("number");
|
|
4218
4216
|
let sharedCount = 0;
|
|
4219
4217
|
const walk = (list) => list.map((d) => {
|
|
4220
4218
|
if (!d || typeof d !== "object") return d;
|
|
4221
4219
|
const c = d;
|
|
4222
4220
|
if (Array.isArray(c.children)) return { ...c, children: walk(c.children) };
|
|
4223
|
-
if (c === lone) return c.flex >= 2 ? d : { ...c, flex: 2 };
|
|
4221
|
+
if (lone && c === lone) return c.flex >= 2 ? d : { ...c, flex: 2 };
|
|
4224
4222
|
if (!share(c)) return d;
|
|
4225
4223
|
sharedCount += 1;
|
|
4226
4224
|
const { width, ...rest } = c;
|
|
@@ -4308,5 +4306,5 @@ function TwoLineCellRenderer(params) {
|
|
|
4308
4306
|
}
|
|
4309
4307
|
|
|
4310
4308
|
export { AG_GRID_LOCALE_KR, AgGridContext, AgGridTable, Alert, AlertActions, AlertDescription, AlertTitle, BADGE_OUTLINE_ACCENT, BALANCED_FILL_MIN_WIDTH, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardThumbnail, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyBoxIllustration, Form, FormControl, FormDescription, FormField, FormFooter, FormHeader, FormItem, FormLabel, FormMessage, FormSection, FormSectionLevelContext, FormValidMessage, HeaderCheckboxRenderer, IconButton, LucideIcon, NUMBER_COLUMN_CLASS, NUMBER_COLUMN_WIDTH, PageHeader, PageHeaderProvider, Pagination, PaginationContent, PaginationFirst, PaginationItem, PaginationLast, PaginationLink, PaginationNext, PaginationPrevious, PaginationWrapper, Panel, RowCheckboxRenderer, SORT_ICON_OFFSET_CLASS, Separator, Skeleton, SortIcon, Spinner, Stack, Table, TableBody, TableCell, TableHead, TableHeader, TablePagination, TableRow, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TwoLineCellRenderer, alignFromClassName, badgeVariants, buttonVariants, cn, estimateHeaderTextWidth, getPaginationRange, getSortedColumnState, sanitizeUserText, useFormControlContext, useFormField, usePageHeader, useRestoreFocusToOpener, withBalancedFill, withExplicitSortIcons, withFlexFill, withHeaderMinWidth, withNumberColumnWidth, withSortIconOffset, withTypeClasses };
|
|
4311
|
-
//# sourceMappingURL=chunk-
|
|
4312
|
-
//# sourceMappingURL=chunk-
|
|
4309
|
+
//# sourceMappingURL=chunk-AIMWERAR.js.map
|
|
4310
|
+
//# sourceMappingURL=chunk-AIMWERAR.js.map
|