loon-bulma-react 2026.0.50 → 2026.0.51

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.
@@ -21,6 +21,8 @@ type DataTableColumnProp<T extends unknown = unknown> = {
21
21
  alignment?: AlignmentProp;
22
22
  /** className voor de kolom, om een cel te stylen afhankelijk van de waarde */
23
23
  columnClass?: string | ((item: T) => string);
24
+ /** style voor de kolom, om een cel te stylen afhankelijk van de waarde */
25
+ columnStyle?: React.CSSProperties | ((item: T) => React.CSSProperties);
24
26
  };
25
27
  type DatatablePaginationOptionsProp = {
26
28
  /** tonen we paginatie? */
package/dist/index.js CHANGED
@@ -13668,8 +13668,11 @@ function T_({ rowClass: e, rowKey: n, columns: r, item: i, onRowSelected: a, onR
13668
13668
  let r;
13669
13669
  r = typeof e.cellIdentifier == "function" ? e.cellIdentifier(i) : e.cellIdentifier ? i[e.cellIdentifier] : `${n}-${t}`;
13670
13670
  let a = typeof e.columnClass == "function" ? e.columnClass(i) : e.columnClass ?? "";
13671
- return a += cf(e.alignment ?? "l"), /* @__PURE__ */ x("td", {
13671
+ a += cf(e.alignment ?? "l");
13672
+ let s = typeof e.columnStyle == "function" ? e.columnStyle(i) : e.columnStyle ?? void 0;
13673
+ return /* @__PURE__ */ x("td", {
13672
13674
  className: a.trim(),
13675
+ style: s,
13673
13676
  children: [typeof e.value == "function" ? e.value(i, l) : i[e.value], t === 0 && o && /* @__PURE__ */ b(Ih, {
13674
13677
  outerRef: d,
13675
13678
  children: () => o(i)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.50",
4
+ "version": "2026.0.51",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",