@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.
@@ -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(Fragment, { children: [
2843
- "\uC804\uCCB4 ",
2844
- /* @__PURE__ */ jsx("span", { className: "text-large-medium text-sys-text-main tabular-nums", children: n }),
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-[16px] flex items-center justify-center", className),
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 !== 1) return defs;
4216
- const lone = flexCols[0];
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-4VVIGFI2.js.map
4312
- //# sourceMappingURL=chunk-4VVIGFI2.js.map
4309
+ //# sourceMappingURL=chunk-AIMWERAR.js.map
4310
+ //# sourceMappingURL=chunk-AIMWERAR.js.map