@fctc/sme-widget-ui 2.1.4 → 2.1.5
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 +3 -3
- package/dist/index.mjs +3 -3
- package/dist/widgets.js +3 -3
- package/dist/widgets.mjs +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16935,7 +16935,7 @@ var BinaryField = (props) => {
|
|
|
16935
16935
|
{
|
|
16936
16936
|
src: url,
|
|
16937
16937
|
alt: name3,
|
|
16938
|
-
className:
|
|
16938
|
+
className: `w-full h-full rounded-lg object-contain ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`
|
|
16939
16939
|
}
|
|
16940
16940
|
);
|
|
16941
16941
|
if (type?.startsWith("video/"))
|
|
@@ -16943,7 +16943,7 @@ var BinaryField = (props) => {
|
|
|
16943
16943
|
"video",
|
|
16944
16944
|
{
|
|
16945
16945
|
src: url,
|
|
16946
|
-
className: "h-
|
|
16946
|
+
className: `rounded-lg object-cover ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`,
|
|
16947
16947
|
controls: true
|
|
16948
16948
|
}
|
|
16949
16949
|
);
|
|
@@ -16980,7 +16980,7 @@ var BinaryField = (props) => {
|
|
|
16980
16980
|
"div",
|
|
16981
16981
|
{
|
|
16982
16982
|
ref: binaryRef,
|
|
16983
|
-
className: `flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16983
|
+
className: `binary-field flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16984
16984
|
children: hasFile ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
16985
16985
|
"div",
|
|
16986
16986
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -16810,7 +16810,7 @@ var BinaryField = (props) => {
|
|
|
16810
16810
|
{
|
|
16811
16811
|
src: url,
|
|
16812
16812
|
alt: name3,
|
|
16813
|
-
className:
|
|
16813
|
+
className: `w-full h-full rounded-lg object-contain ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`
|
|
16814
16814
|
}
|
|
16815
16815
|
);
|
|
16816
16816
|
if (type?.startsWith("video/"))
|
|
@@ -16818,7 +16818,7 @@ var BinaryField = (props) => {
|
|
|
16818
16818
|
"video",
|
|
16819
16819
|
{
|
|
16820
16820
|
src: url,
|
|
16821
|
-
className: "h-
|
|
16821
|
+
className: `rounded-lg object-cover ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`,
|
|
16822
16822
|
controls: true
|
|
16823
16823
|
}
|
|
16824
16824
|
);
|
|
@@ -16855,7 +16855,7 @@ var BinaryField = (props) => {
|
|
|
16855
16855
|
"div",
|
|
16856
16856
|
{
|
|
16857
16857
|
ref: binaryRef,
|
|
16858
|
-
className: `flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16858
|
+
className: `binary-field flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16859
16859
|
children: hasFile ? /* @__PURE__ */ jsx74(
|
|
16860
16860
|
"div",
|
|
16861
16861
|
{
|
package/dist/widgets.js
CHANGED
|
@@ -16187,7 +16187,7 @@ var BinaryField = (props) => {
|
|
|
16187
16187
|
{
|
|
16188
16188
|
src: url,
|
|
16189
16189
|
alt: name3,
|
|
16190
|
-
className:
|
|
16190
|
+
className: `w-full h-full rounded-lg object-contain ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`
|
|
16191
16191
|
}
|
|
16192
16192
|
);
|
|
16193
16193
|
if (type?.startsWith("video/"))
|
|
@@ -16195,7 +16195,7 @@ var BinaryField = (props) => {
|
|
|
16195
16195
|
"video",
|
|
16196
16196
|
{
|
|
16197
16197
|
src: url,
|
|
16198
|
-
className: "h-
|
|
16198
|
+
className: `rounded-lg object-cover ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`,
|
|
16199
16199
|
controls: true
|
|
16200
16200
|
}
|
|
16201
16201
|
);
|
|
@@ -16232,7 +16232,7 @@ var BinaryField = (props) => {
|
|
|
16232
16232
|
"div",
|
|
16233
16233
|
{
|
|
16234
16234
|
ref: binaryRef,
|
|
16235
|
-
className: `flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16235
|
+
className: `binary-field flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16236
16236
|
children: hasFile ? /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
|
|
16237
16237
|
"div",
|
|
16238
16238
|
{
|
package/dist/widgets.mjs
CHANGED
|
@@ -16125,7 +16125,7 @@ var BinaryField = (props) => {
|
|
|
16125
16125
|
{
|
|
16126
16126
|
src: url,
|
|
16127
16127
|
alt: name3,
|
|
16128
|
-
className:
|
|
16128
|
+
className: `w-full h-full rounded-lg object-contain ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`
|
|
16129
16129
|
}
|
|
16130
16130
|
);
|
|
16131
16131
|
if (type?.startsWith("video/"))
|
|
@@ -16133,7 +16133,7 @@ var BinaryField = (props) => {
|
|
|
16133
16133
|
"video",
|
|
16134
16134
|
{
|
|
16135
16135
|
src: url,
|
|
16136
|
-
className: "h-
|
|
16136
|
+
className: `rounded-lg object-cover ${isEditTable ? "max-h-10 max-w-10" : "max-w-32 max-h-32"}`,
|
|
16137
16137
|
controls: true
|
|
16138
16138
|
}
|
|
16139
16139
|
);
|
|
@@ -16170,7 +16170,7 @@ var BinaryField = (props) => {
|
|
|
16170
16170
|
"div",
|
|
16171
16171
|
{
|
|
16172
16172
|
ref: binaryRef,
|
|
16173
|
-
className: `flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16173
|
+
className: `binary-field flex w-fit items-center gap-4 ${onlyImage && initialFile ? "shadow-md rounded-lg" : ""}`,
|
|
16174
16174
|
children: hasFile ? /* @__PURE__ */ jsx74(
|
|
16175
16175
|
"div",
|
|
16176
16176
|
{
|