@sikka/hawa 0.30.9-next → 0.30.11-next
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/dist/blocks/auth/index.js +2 -2
- package/dist/blocks/auth/index.mjs +2 -2
- package/dist/blocks/index.js +2 -2
- package/dist/blocks/index.mjs +2 -2
- package/dist/dataTable/index.js +17 -8
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +17 -8
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +6 -6
- package/dist/elements/index.d.ts +6 -6
- package/dist/elements/index.js +24 -9
- package/dist/elements/index.mjs +24 -9
- package/dist/index.css +6 -0
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +26 -11
- package/dist/index.mjs +26 -11
- package/dist/simpleTable/index.js +14 -8
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +14 -8
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/table/index.d.mts +6 -6
- package/dist/table/index.d.ts +6 -6
- package/dist/table/index.js +7 -7
- package/dist/table/index.js.map +1 -1
- package/dist/table/index.mjs +7 -7
- package/dist/table/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -3525,7 +3525,7 @@ var LoginForm = ({
|
|
3525
3525
|
{
|
3526
3526
|
dir: props.direction,
|
3527
3527
|
className: cn(
|
3528
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3528
|
+
props.cardless && "!hawa-border-none !hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3529
3529
|
)
|
3530
3530
|
},
|
3531
3531
|
/* @__PURE__ */ import_react13.default.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ import_react13.default.createElement(
|
@@ -3836,7 +3836,7 @@ var RegisterForm = ({
|
|
3836
3836
|
dir: props.direction,
|
3837
3837
|
className: cn(
|
3838
3838
|
(_h = props.classNames) == null ? void 0 : _h.card,
|
3839
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none hawa-drop-shadow-none"
|
3839
|
+
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3840
3840
|
)
|
3841
3841
|
},
|
3842
3842
|
/* @__PURE__ */ import_react15.default.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ import_react15.default.createElement("div", null, props.showError && /* @__PURE__ */ import_react15.default.createElement(
|
@@ -2628,7 +2628,7 @@ var LoginForm = ({
|
|
2628
2628
|
{
|
2629
2629
|
dir: props.direction,
|
2630
2630
|
className: cn(
|
2631
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
2631
|
+
props.cardless && "!hawa-border-none !hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
2632
2632
|
)
|
2633
2633
|
},
|
2634
2634
|
/* @__PURE__ */ React5.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ React5.createElement(
|
@@ -2930,7 +2930,7 @@ var RegisterForm = ({
|
|
2930
2930
|
dir: props.direction,
|
2931
2931
|
className: cn(
|
2932
2932
|
(_h = props.classNames) == null ? void 0 : _h.card,
|
2933
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none hawa-drop-shadow-none"
|
2933
|
+
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
2934
2934
|
)
|
2935
2935
|
},
|
2936
2936
|
/* @__PURE__ */ React7.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ React7.createElement("div", null, props.showError && /* @__PURE__ */ React7.createElement(
|
package/dist/blocks/index.js
CHANGED
@@ -3682,7 +3682,7 @@ var LoginForm = ({
|
|
3682
3682
|
{
|
3683
3683
|
dir: props.direction,
|
3684
3684
|
className: cn(
|
3685
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3685
|
+
props.cardless && "!hawa-border-none !hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3686
3686
|
)
|
3687
3687
|
},
|
3688
3688
|
/* @__PURE__ */ import_react13.default.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ import_react13.default.createElement(
|
@@ -3993,7 +3993,7 @@ var RegisterForm = ({
|
|
3993
3993
|
dir: props.direction,
|
3994
3994
|
className: cn(
|
3995
3995
|
(_h = props.classNames) == null ? void 0 : _h.card,
|
3996
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none hawa-drop-shadow-none"
|
3996
|
+
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
3997
3997
|
)
|
3998
3998
|
},
|
3999
3999
|
/* @__PURE__ */ import_react15.default.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ import_react15.default.createElement("div", null, props.showError && /* @__PURE__ */ import_react15.default.createElement(
|
package/dist/blocks/index.mjs
CHANGED
@@ -387,7 +387,7 @@ var LoginForm = ({
|
|
387
387
|
{
|
388
388
|
dir: props.direction,
|
389
389
|
className: cn(
|
390
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
390
|
+
props.cardless && "!hawa-border-none !hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
391
391
|
)
|
392
392
|
},
|
393
393
|
/* @__PURE__ */ React2.createElement(CardContent, { headless: true, noPadding: props.cardless }, props.showError && /* @__PURE__ */ React2.createElement(
|
@@ -551,7 +551,7 @@ var RegisterForm = ({
|
|
551
551
|
dir: props.direction,
|
552
552
|
className: cn(
|
553
553
|
(_h = props.classNames) == null ? void 0 : _h.card,
|
554
|
-
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none hawa-drop-shadow-none"
|
554
|
+
props.cardless && "hawa-border-none hawa-bg-transparent !hawa-shadow-none !hawa-drop-shadow-none"
|
555
555
|
)
|
556
556
|
},
|
557
557
|
/* @__PURE__ */ React3.createElement(CardContent, { headless: true, noPadding: props.cardless }, /* @__PURE__ */ React3.createElement("div", null, props.showError && /* @__PURE__ */ React3.createElement(
|
package/dist/dataTable/index.js
CHANGED
@@ -989,7 +989,6 @@ var Table = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
989
989
|
...props
|
990
990
|
}
|
991
991
|
)));
|
992
|
-
Table.displayName = "Table";
|
993
992
|
var TableHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
994
993
|
"thead",
|
995
994
|
{
|
@@ -998,7 +997,6 @@ var TableHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
998
997
|
...props
|
999
998
|
}
|
1000
999
|
));
|
1001
|
-
TableHeader.displayName = "TableHeader";
|
1002
1000
|
var TableHead = React8.forwardRef(
|
1003
1001
|
({ className, condensed, clickable, dir, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1004
1002
|
"th",
|
@@ -1018,9 +1016,7 @@ var TableHead = React8.forwardRef(
|
|
1018
1016
|
}
|
1019
1017
|
)
|
1020
1018
|
);
|
1021
|
-
TableHead.displayName = "TableHead";
|
1022
1019
|
var TableBody = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement("tbody", { ref, className: cn("hawa-border-none", className), ...props }));
|
1023
|
-
TableBody.displayName = "TableBody";
|
1024
1020
|
var TableFooter = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1025
1021
|
"tfoot",
|
1026
1022
|
{
|
@@ -1032,7 +1028,6 @@ var TableFooter = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
1032
1028
|
...props
|
1033
1029
|
}
|
1034
1030
|
));
|
1035
|
-
TableFooter.displayName = "TableFooter";
|
1036
1031
|
var TableRow = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1037
1032
|
"tr",
|
1038
1033
|
{
|
@@ -1046,7 +1041,6 @@ var TableRow = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
1046
1041
|
...props
|
1047
1042
|
}
|
1048
1043
|
));
|
1049
|
-
TableRow.displayName = "TableRow";
|
1050
1044
|
var TableCell = React8.forwardRef(
|
1051
1045
|
({ className, enablePadding = true, padding = "default", ...props }, ref) => {
|
1052
1046
|
let paddingStyles = {
|
@@ -1075,7 +1069,6 @@ var TableCell = React8.forwardRef(
|
|
1075
1069
|
);
|
1076
1070
|
}
|
1077
1071
|
);
|
1078
|
-
TableCell.displayName = "TableCell";
|
1079
1072
|
var TableCaption = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React8.createElement(
|
1080
1073
|
"caption",
|
1081
1074
|
{
|
@@ -1087,6 +1080,13 @@ var TableCaption = React8.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
1087
1080
|
...props
|
1088
1081
|
}
|
1089
1082
|
));
|
1083
|
+
Table.displayName = "Table";
|
1084
|
+
TableRow.displayName = "TableRow";
|
1085
|
+
TableBody.displayName = "TableBody";
|
1086
|
+
TableHead.displayName = "TableHead";
|
1087
|
+
TableCell.displayName = "TableCell";
|
1088
|
+
TableFooter.displayName = "TableFooter";
|
1089
|
+
TableHeader.displayName = "TableHeader";
|
1090
1090
|
TableCaption.displayName = "TableCaption";
|
1091
1091
|
|
1092
1092
|
// elements/dataTable/DataTable.tsx
|
@@ -1139,6 +1139,9 @@ var DataTable = ({
|
|
1139
1139
|
rowSelection,
|
1140
1140
|
expanded
|
1141
1141
|
}
|
1142
|
+
// defaultColumn: {
|
1143
|
+
// maxSize: 200
|
1144
|
+
// }
|
1142
1145
|
});
|
1143
1146
|
const pageText = ((_a = props.texts) == null ? void 0 : _a.page) || "page";
|
1144
1147
|
const itemsPerPageOptions = (_b = props.itemsPerPage) == null ? void 0 : _b.map((item) => ({
|
@@ -1212,7 +1215,10 @@ var DataTable = ({
|
|
1212
1215
|
dir: props.direction,
|
1213
1216
|
condensed: props.condensed,
|
1214
1217
|
clickable: Boolean(isSortable),
|
1215
|
-
key: header.id
|
1218
|
+
key: header.id,
|
1219
|
+
style: {
|
1220
|
+
maxWidth: header.column.columnDef.maxSize
|
1221
|
+
}
|
1216
1222
|
},
|
1217
1223
|
header.isPlaceholder ? null : (0, import_react_table.flexRender)(
|
1218
1224
|
header.column.columnDef.header,
|
@@ -1230,6 +1236,9 @@ var DataTable = ({
|
|
1230
1236
|
return /* @__PURE__ */ React9.createElement(
|
1231
1237
|
TableCell,
|
1232
1238
|
{
|
1239
|
+
style: {
|
1240
|
+
maxWidth: cell.column.columnDef.maxSize
|
1241
|
+
},
|
1233
1242
|
dir: props.direction,
|
1234
1243
|
padding: props.condensed ? "condensed" : (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.padding,
|
1235
1244
|
key: cell.id
|