loon-bulma-react 2026.0.49 → 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? */
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
type ActionSheetButton<T extends unknown = {}> = string | {
|
|
6
6
|
txt?: string | ((v: T) => string);
|
|
7
7
|
icon?: string | IconProp;
|
|
8
|
-
style
|
|
8
|
+
style?: ButtonStyleProp;
|
|
9
9
|
value: T | string;
|
|
10
10
|
color?: ColorProp;
|
|
11
11
|
key?: string | undefined;
|
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
|
-
|
|
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)
|