@sikka/hawa 0.46.3-next → 0.46.4-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 -5
- package/dist/blocks/auth/index.mjs +4 -4
- package/dist/blocks/feedback/index.js +1 -1
- package/dist/blocks/feedback/index.mjs +5 -5
- package/dist/blocks/index.js +2 -5
- package/dist/blocks/index.mjs +2 -2
- package/dist/blocks/misc/index.js +2 -5
- package/dist/blocks/misc/index.mjs +5 -5
- package/dist/blocks/pricing/index.js +1 -1
- package/dist/blocks/pricing/index.mjs +4 -4
- package/dist/{chunk-QLUJEUIB.mjs → chunk-5CTMGPEF.mjs} +2 -5
- package/dist/{chunk-EHJXQQDP.mjs → chunk-5S5DR7KF.mjs} +1 -1
- package/dist/{chunk-HJVL6X7I.mjs → chunk-6SJUUJOV.mjs} +1 -1
- package/dist/{chunk-7O555VJR.mjs → chunk-6TG2PHZK.mjs} +1 -1
- package/dist/{chunk-U72MOMEK.mjs → chunk-C2UOOH4X.mjs} +1 -1
- package/dist/{chunk-7L5VUKZ7.mjs → chunk-EOH6A3GR.mjs} +2 -5
- package/dist/{chunk-6UOJKVIA.mjs → chunk-IFWYR5W2.mjs} +1 -1
- package/dist/{chunk-YXUHXKKK.mjs → chunk-JP2N5WKD.mjs} +1 -1
- package/dist/{chunk-R37QEYSB.mjs → chunk-NMW4GM4G.mjs} +1 -1
- package/dist/{chunk-CIMTNOLA.mjs → chunk-WUMDFBEK.mjs} +1 -1
- package/dist/colorPicker/index.js +1 -1
- package/dist/colorPicker/index.js.map +1 -1
- package/dist/colorPicker/index.mjs +1 -1
- package/dist/colorPicker/index.mjs.map +1 -1
- package/dist/combobox/index.js +1 -1
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +1 -1
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/dataTable/index.js +2 -5
- package/dist/dataTable/index.js.map +1 -1
- package/dist/dataTable/index.mjs +2 -5
- package/dist/dataTable/index.mjs.map +1 -1
- package/dist/elements/index.js +2 -5
- package/dist/elements/index.mjs +3 -3
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/dist/input/index.js +2 -5
- package/dist/input/index.js.map +1 -1
- package/dist/input/index.mjs +2 -5
- package/dist/input/index.mjs.map +1 -1
- package/dist/layout/index.js +1 -1
- package/dist/layout/index.mjs +2 -2
- package/dist/passwordInput/index.js +2 -5
- package/dist/passwordInput/index.js.map +1 -1
- package/dist/passwordInput/index.mjs +2 -5
- package/dist/passwordInput/index.mjs.map +1 -1
- package/dist/phoneInput/index.js +1 -1
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +1 -1
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +1 -1
- package/dist/select/index.mjs.map +1 -1
- package/dist/simpleTable/index.js +1 -1
- package/dist/simpleTable/index.js.map +1 -1
- package/dist/simpleTable/index.mjs +1 -1
- package/dist/simpleTable/index.mjs.map +1 -1
- package/dist/skeleton/index.js +1 -1
- package/dist/skeleton/index.js.map +1 -1
- package/dist/skeleton/index.mjs +1 -1
- package/dist/skeleton/index.mjs.map +1 -1
- package/dist/stats/index.js +1 -1
- package/dist/stats/index.js.map +1 -1
- package/dist/stats/index.mjs +1 -1
- package/dist/stats/index.mjs.map +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/index.mjs +1 -1
- package/dist/textarea/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dataTable/index.mjs
CHANGED
@@ -1018,7 +1018,7 @@ function Skeleton({
|
|
1018
1018
|
};
|
1019
1019
|
const styledAs = {
|
1020
1020
|
div: "",
|
1021
|
-
input: "
|
1021
|
+
input: "hawa-h-[40px] hawa-w-full"
|
1022
1022
|
};
|
1023
1023
|
return /* @__PURE__ */ React8.createElement(
|
1024
1024
|
"div",
|
@@ -1080,14 +1080,11 @@ var Input = forwardRef5(
|
|
1080
1080
|
}
|
1081
1081
|
if (props.onChange) {
|
1082
1082
|
if (props.type === "number" && props.maxLength) {
|
1083
|
-
console.log("type is ", props.type);
|
1084
|
-
console.log("max length is ", props.maxLength);
|
1085
1083
|
let v = newValue.replace(/[^0-9]/g, "").slice(0, props.maxLength);
|
1086
1084
|
const newEvent = { ...e, target: { ...e.target, value: v } };
|
1087
1085
|
setValue(v);
|
1088
1086
|
props.onChange(newEvent);
|
1089
1087
|
} else {
|
1090
|
-
console.log("NETIHERRRER");
|
1091
1088
|
const newEvent = { ...e, target: { ...e.target, value: newValue } };
|
1092
1089
|
setValue(newValue);
|
1093
1090
|
props.onChange(newEvent);
|
@@ -1112,7 +1109,7 @@ var Input = forwardRef5(
|
|
1112
1109
|
)
|
1113
1110
|
},
|
1114
1111
|
props.label && /* @__PURE__ */ React9.createElement(Label, { ...labelProps }, props.label),
|
1115
|
-
/* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ React9.createElement("span", { className: cn("hawa-me-2 hawa-opacity-90", !forceHideHelperText && "hawa-mb-2") }, props.outsidePrefix), props.isLoading ? /* @__PURE__ */ React9.createElement("div", { className: "hawa-pb-2 hawa-w-full" }, /* @__PURE__ */ React9.createElement(Skeleton, {
|
1112
|
+
/* @__PURE__ */ React9.createElement("div", { className: "hawa-flex hawa-flex-row hawa-w-full hawa-items-center" }, props.outsidePrefix && /* @__PURE__ */ React9.createElement("span", { className: cn("hawa-me-2 hawa-opacity-90", !forceHideHelperText && "hawa-mb-2") }, props.outsidePrefix), props.isLoading ? /* @__PURE__ */ React9.createElement("div", { className: "hawa-pb-2 hawa-w-full" }, /* @__PURE__ */ React9.createElement(Skeleton, { as: "input" })) : props.isLoadingError ? /* @__PURE__ */ React9.createElement("div", { className: "hawa-pb-2 hawa-w-full" }, /* @__PURE__ */ React9.createElement(
|
1116
1113
|
Skeleton,
|
1117
1114
|
{
|
1118
1115
|
animation: "none",
|