@fctc/sme-widget-ui 1.6.8 → 1.6.9
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/index.js +5 -4
- package/dist/index.mjs +5 -4
- package/dist/widgets.js +5 -4
- package/dist/widgets.mjs +5 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33976,9 +33976,6 @@ var MonetaryField = (props) => {
|
|
|
33976
33976
|
clearErrors(name2);
|
|
33977
33977
|
}
|
|
33978
33978
|
}, [value2]);
|
|
33979
|
-
const baseClasses = `w-full min-h-[44px] ring-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden field-sizing-content`;
|
|
33980
|
-
const editableClass = isEditTable ? `${error2 ? "hover:border-b-[1px] hover:border-b-[#de4747]" : "hover:border-b-[1px] hover:border-b-primary"} outline-0 hover:!outline-none` : `focus:ring-0 focus:!outline-none focus:border-[1px] focus:border-primary outline-0 bg-[#f7f7f7] border border-[#f7f7f7] rounded-[10px]`;
|
|
33981
|
-
const readonlyClass = readonly ? "!cursor-not-allowed border-transparent text-[#5c5a5a]" : "!cursor-pointer border-[#f7f7f7] text-[#525866]";
|
|
33982
33979
|
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
|
|
33983
33980
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
33984
33981
|
"input",
|
|
@@ -34011,7 +34008,11 @@ var MonetaryField = (props) => {
|
|
|
34011
34008
|
placeholder: placeholder ?? `${i18n_default.t("choose_place")} ${string}`,
|
|
34012
34009
|
required: !invisible && required,
|
|
34013
34010
|
style: invisible ? { display: "none" } : {},
|
|
34014
|
-
className:
|
|
34011
|
+
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
34012
|
+
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
34013
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary"}`}
|
|
34014
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
34015
|
+
`
|
|
34015
34016
|
}
|
|
34016
34017
|
),
|
|
34017
34018
|
!isEditTable && error2 && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "text-[#de4747] text-sm mt-1", children: error2.message })
|
package/dist/index.mjs
CHANGED
|
@@ -33855,9 +33855,6 @@ var MonetaryField = (props) => {
|
|
|
33855
33855
|
clearErrors(name2);
|
|
33856
33856
|
}
|
|
33857
33857
|
}, [value2]);
|
|
33858
|
-
const baseClasses = `w-full min-h-[44px] ring-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden field-sizing-content`;
|
|
33859
|
-
const editableClass = isEditTable ? `${error2 ? "hover:border-b-[1px] hover:border-b-[#de4747]" : "hover:border-b-[1px] hover:border-b-primary"} outline-0 hover:!outline-none` : `focus:ring-0 focus:!outline-none focus:border-[1px] focus:border-primary outline-0 bg-[#f7f7f7] border border-[#f7f7f7] rounded-[10px]`;
|
|
33860
|
-
const readonlyClass = readonly ? "!cursor-not-allowed border-transparent text-[#5c5a5a]" : "!cursor-pointer border-[#f7f7f7] text-[#525866]";
|
|
33861
33858
|
return /* @__PURE__ */ jsxs62(Fragment28, { children: [
|
|
33862
33859
|
/* @__PURE__ */ jsx93(
|
|
33863
33860
|
"input",
|
|
@@ -33890,7 +33887,11 @@ var MonetaryField = (props) => {
|
|
|
33890
33887
|
placeholder: placeholder ?? `${i18n_default.t("choose_place")} ${string}`,
|
|
33891
33888
|
required: !invisible && required,
|
|
33892
33889
|
style: invisible ? { display: "none" } : {},
|
|
33893
|
-
className:
|
|
33890
|
+
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
33891
|
+
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
33892
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary"}`}
|
|
33893
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
33894
|
+
`
|
|
33894
33895
|
}
|
|
33895
33896
|
),
|
|
33896
33897
|
!isEditTable && error2 && /* @__PURE__ */ jsx93("p", { className: "text-[#de4747] text-sm mt-1", children: error2.message })
|
package/dist/widgets.js
CHANGED
|
@@ -33600,9 +33600,6 @@ var MonetaryField = (props) => {
|
|
|
33600
33600
|
clearErrors(name2);
|
|
33601
33601
|
}
|
|
33602
33602
|
}, [value2]);
|
|
33603
|
-
const baseClasses = `w-full min-h-[44px] ring-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden field-sizing-content`;
|
|
33604
|
-
const editableClass = isEditTable ? `${error2 ? "hover:border-b-[1px] hover:border-b-[#de4747]" : "hover:border-b-[1px] hover:border-b-primary"} outline-0 hover:!outline-none` : `focus:ring-0 focus:!outline-none focus:border-[1px] focus:border-primary outline-0 bg-[#f7f7f7] border border-[#f7f7f7] rounded-[10px]`;
|
|
33605
|
-
const readonlyClass = readonly ? "!cursor-not-allowed border-transparent text-[#5c5a5a]" : "!cursor-pointer border-[#f7f7f7] text-[#525866]";
|
|
33606
33603
|
return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
|
|
33607
33604
|
/* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
|
|
33608
33605
|
"input",
|
|
@@ -33635,7 +33632,11 @@ var MonetaryField = (props) => {
|
|
|
33635
33632
|
placeholder: placeholder ?? `${i18n_default.t("choose_place")} ${string}`,
|
|
33636
33633
|
required: !invisible && required,
|
|
33637
33634
|
style: invisible ? { display: "none" } : {},
|
|
33638
|
-
className:
|
|
33635
|
+
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
33636
|
+
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
33637
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary"}`}
|
|
33638
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
33639
|
+
`
|
|
33639
33640
|
}
|
|
33640
33641
|
),
|
|
33641
33642
|
!isEditTable && error2 && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("p", { className: "text-[#de4747] text-sm mt-1", children: error2.message })
|
package/dist/widgets.mjs
CHANGED
|
@@ -33537,9 +33537,6 @@ var MonetaryField = (props) => {
|
|
|
33537
33537
|
clearErrors(name2);
|
|
33538
33538
|
}
|
|
33539
33539
|
}, [value2]);
|
|
33540
|
-
const baseClasses = `w-full min-h-[44px] ring-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden field-sizing-content`;
|
|
33541
|
-
const editableClass = isEditTable ? `${error2 ? "hover:border-b-[1px] hover:border-b-[#de4747]" : "hover:border-b-[1px] hover:border-b-primary"} outline-0 hover:!outline-none` : `focus:ring-0 focus:!outline-none focus:border-[1px] focus:border-primary outline-0 bg-[#f7f7f7] border border-[#f7f7f7] rounded-[10px]`;
|
|
33542
|
-
const readonlyClass = readonly ? "!cursor-not-allowed border-transparent text-[#5c5a5a]" : "!cursor-pointer border-[#f7f7f7] text-[#525866]";
|
|
33543
33540
|
return /* @__PURE__ */ jsxs62(Fragment28, { children: [
|
|
33544
33541
|
/* @__PURE__ */ jsx93(
|
|
33545
33542
|
"input",
|
|
@@ -33572,7 +33569,11 @@ var MonetaryField = (props) => {
|
|
|
33572
33569
|
placeholder: placeholder ?? `${i18n_default.t("choose_place")} ${string}`,
|
|
33573
33570
|
required: !invisible && required,
|
|
33574
33571
|
style: invisible ? { display: "none" } : {},
|
|
33575
|
-
className:
|
|
33572
|
+
className: `w-full h-full ring-0 focus:ring-0 focus:!outline-none outline-0 px-3 py-[12px] text-sm font-normal gap-2 opacity-100 leading-[1.5] resize-none overflow-hidden
|
|
33573
|
+
${readonly ? "cursor-not-allowed border border-[rgba(66,66,66,0.12)] text-[#5c5a5a]" : "cursor-pointer border border-[rgba(66,66,66,0.12)] text-[#525866]"}
|
|
33574
|
+
${!isEditTable ? isForm ? "bg-white border-input-primary rounded-[10px]" : "" : `border-transparent bg-transparent ${readonly ? "" : "border-b-primary"}`}
|
|
33575
|
+
${error2 && isEditTable && "focus:border-b-[1px] focus:border-[#de4747] hover:border-b-[1px] hover:border-[#de4747]"}
|
|
33576
|
+
`
|
|
33576
33577
|
}
|
|
33577
33578
|
),
|
|
33578
33579
|
!isEditTable && error2 && /* @__PURE__ */ jsx93("p", { className: "text-[#de4747] text-sm mt-1", children: error2.message })
|