klun-ui 0.1.3 → 0.1.4

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
@@ -5,6 +5,13 @@ All notable changes to **klun-ui** are documented here. The format follows
5
5
  [Semantic Versioning](https://semver.org/) (pre-1.0: minor/patch bumps may carry
6
6
  small breaking changes).
7
7
 
8
+ ## [0.1.4] — 2026-06-21
9
+
10
+ ### Fixed
11
+ - **`Modal`** no longer draws the footer divider when there's no body (e.g.
12
+ confirmation dialogs), so the actions sit cleanly under the heading instead of
13
+ reading as an empty band.
14
+
8
15
  ## [0.1.3] — 2026-06-20
9
16
 
10
17
  ### Fixed
@@ -47,6 +54,7 @@ small breaking changes).
47
54
  `ConfigProvider`, i18n locales, and the full component set (layout, forms,
48
55
  navigation, data display, feedback, overlays, charts).
49
56
 
57
+ [0.1.4]: https://www.npmjs.com/package/klun-ui/v/0.1.4
50
58
  [0.1.3]: https://www.npmjs.com/package/klun-ui/v/0.1.3
51
59
  [0.1.2]: https://www.npmjs.com/package/klun-ui/v/0.1.2
52
60
  [0.1.1]: https://www.npmjs.com/package/klun-ui/v/0.1.1
@@ -9954,7 +9954,7 @@ var Modal = react.forwardRef(function Modal2({ open, onClose, title, description
9954
9954
  closable ? /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: onClose, "aria-label": modal.close, className: "klun-modal__close", children: /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": true, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 5l10 10M15 5L5 15", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }) }) }) : null
9955
9955
  ] }) : null,
9956
9956
  children ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "klun-modal__body", children }) : null,
9957
- footer ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "klun-modal__footer", children: footer }) : null
9957
+ footer ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkTPGAXYFU_cjs.cx("klun-modal__footer", !children && "klun-modal__footer--flush"), children: footer }) : null
9958
9958
  ]
9959
9959
  }
9960
9960
  ) });
@@ -10212,5 +10212,5 @@ exports.useSize = useSize;
10212
10212
  exports.viVN = viVN;
10213
10213
  exports.zhCN = zhCN;
10214
10214
  exports.zhTW = zhTW;
10215
- //# sourceMappingURL=chunk-SUH5CQ55.cjs.map
10216
- //# sourceMappingURL=chunk-SUH5CQ55.cjs.map
10215
+ //# sourceMappingURL=chunk-54YNPINO.cjs.map
10216
+ //# sourceMappingURL=chunk-54YNPINO.cjs.map