@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 CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ <!-- release: v1.59.2 -->
4
+ ## 1.59.2 (2026-11-08)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **agGridTable:** 남는 폭 분배를 flex 열 수와 무관하게 — 넓은 고정 글자 열은 늘 나눠 받음 (홀드아웃 22 "wide empty gap" 5건) (90a6fcb)
10
+ * **pagination:** 라벨을 "N개 중 X–Y" 로 — "전체 N개 중 X - Y번째"·굵은 N 제거 (사용자 결정 2026-11-08 ③) (771e8ea)
11
+ * **table:** 표와 페이지네이션 간격 16 → 0 — 붙여 둠 (사용자 2026-11-08, 홀드아웃 22 "떠 있다" 1건 뒤) (8d708f6)
12
+
3
13
  <!-- release: v1.59.1 -->
4
14
  ## 1.59.1 (2026-11-08)
5
15
 
@@ -2870,15 +2870,12 @@ function Pagination({
2870
2870
  const n = total.toLocaleString();
2871
2871
  const start = total === 0 ? 0 : (page - 1) * rowsPerPage + 1;
2872
2872
  const end = total === 0 ? 0 : Math.min(page * rowsPerPage, total);
2873
- return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2874
- "\uC804\uCCB4 ",
2875
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-large-medium text-sys-text-main tabular-nums", children: n }),
2876
- "\uAC1C \uC911",
2877
- " ",
2873
+ return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "tabular-nums", children: [
2874
+ n,
2875
+ "\uAC1C \uC911 ",
2878
2876
  start,
2879
- " - ",
2880
- end,
2881
- "\uBC88\uC9F8"
2877
+ "\u2013",
2878
+ end
2882
2879
  ] });
2883
2880
  }, [total, page, rowsPerPage]);
2884
2881
  return /* @__PURE__ */ jsxRuntime.jsxs(PaginationWrapper, { className: "relative justify-center", ...rest, children: [
@@ -3144,7 +3141,7 @@ var TablePagination = React12__namespace.forwardRef(({ className, ...props }, re
3144
3141
  "div",
3145
3142
  {
3146
3143
  ref,
3147
- className: cn("mt-[16px] flex items-center justify-center", className),
3144
+ className: cn("mt-0 flex items-center justify-center", className),
3148
3145
  ...props
3149
3146
  }
3150
3147
  ));
@@ -4243,15 +4240,16 @@ function withBalancedFill(defs) {
4243
4240
  }
4244
4241
  };
4245
4242
  collect(defs);
4246
- if (flexCols.length !== 1) return defs;
4247
- const lone = flexCols[0];
4243
+ if (flexCols.length === 0) return defs;
4244
+ const uncapped = flexCols.filter((d) => d.maxWidth == null);
4245
+ const lone = uncapped.length === 1 ? uncapped[0] : null;
4248
4246
  const share = (d) => !d.hide && !isFlex(d) && typeof d.width === "number" && d.width >= BALANCED_FILL_MIN_WIDTH && !columnTypesOf(d).includes("number");
4249
4247
  let sharedCount = 0;
4250
4248
  const walk = (list) => list.map((d) => {
4251
4249
  if (!d || typeof d !== "object") return d;
4252
4250
  const c = d;
4253
4251
  if (Array.isArray(c.children)) return { ...c, children: walk(c.children) };
4254
- if (c === lone) return c.flex >= 2 ? d : { ...c, flex: 2 };
4252
+ if (lone && c === lone) return c.flex >= 2 ? d : { ...c, flex: 2 };
4255
4253
  if (!share(c)) return d;
4256
4254
  sharedCount += 1;
4257
4255
  const { width, ...rest } = c;
@@ -4463,5 +4461,5 @@ exports.withHeaderMinWidth = withHeaderMinWidth;
4463
4461
  exports.withNumberColumnWidth = withNumberColumnWidth;
4464
4462
  exports.withSortIconOffset = withSortIconOffset;
4465
4463
  exports.withTypeClasses = withTypeClasses;
4466
- //# sourceMappingURL=chunk-2T6PIVRA.cjs.map
4467
- //# sourceMappingURL=chunk-2T6PIVRA.cjs.map
4464
+ //# sourceMappingURL=chunk-24IZHXNG.cjs.map
4465
+ //# sourceMappingURL=chunk-24IZHXNG.cjs.map