@mamrp/components 1.7.36 → 1.7.37
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 +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -205,7 +205,7 @@ function LicensePlate({
|
|
|
205
205
|
outline: "none",
|
|
206
206
|
border: "none",
|
|
207
207
|
cursor: readOnly || !!data && readOnly ? "default" : "text",
|
|
208
|
-
fontSize: "1rem",
|
|
208
|
+
fontSize: size === "small" ? "1rem" : "1.05rem",
|
|
209
209
|
fontWeight: 600
|
|
210
210
|
};
|
|
211
211
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
@@ -217,7 +217,7 @@ function LicensePlate({
|
|
|
217
217
|
borderRadius: "7px",
|
|
218
218
|
display: "flex",
|
|
219
219
|
alignItems: "center",
|
|
220
|
-
height: "3.5rem"
|
|
220
|
+
height: size === "small" ? "3rem" : "3.5rem"
|
|
221
221
|
},
|
|
222
222
|
dir: "ltr"
|
|
223
223
|
},
|
|
@@ -227,7 +227,7 @@ function LicensePlate({
|
|
|
227
227
|
sx: {
|
|
228
228
|
backgroundColor: "#172554",
|
|
229
229
|
width: size === "small" ? "30px" : "36px",
|
|
230
|
-
height: "52px",
|
|
230
|
+
height: size === "small" ? "44px" : "52px",
|
|
231
231
|
display: "flex",
|
|
232
232
|
justifyContent: "center",
|
|
233
233
|
alignItems: "center",
|
|
@@ -240,8 +240,8 @@ function LicensePlate({
|
|
|
240
240
|
{
|
|
241
241
|
src: "/assets/images/iran-flag-dark.svg",
|
|
242
242
|
alt: "Iran Flag",
|
|
243
|
-
width: size === "small" ?
|
|
244
|
-
height: size === "small" ?
|
|
243
|
+
width: size === "small" ? 15 : 18,
|
|
244
|
+
height: size === "small" ? 11 : 14
|
|
245
245
|
}
|
|
246
246
|
)
|
|
247
247
|
)),
|
|
@@ -389,7 +389,7 @@ function LicensePlate({
|
|
|
389
389
|
sx: {
|
|
390
390
|
display: "flex",
|
|
391
391
|
flexDirection: "column-reverse",
|
|
392
|
-
gap:
|
|
392
|
+
gap: 0.5,
|
|
393
393
|
alignItems: "center"
|
|
394
394
|
}
|
|
395
395
|
},
|
|
@@ -414,8 +414,8 @@ function LicensePlate({
|
|
|
414
414
|
{
|
|
415
415
|
src: "/assets/images/iran.svg",
|
|
416
416
|
alt: "Iran",
|
|
417
|
-
width: size === "small" ? 25 :
|
|
418
|
-
height: size === "small" ? 21 :
|
|
417
|
+
width: size === "small" ? 25 : 28,
|
|
418
|
+
height: size === "small" ? 21 : 24,
|
|
419
419
|
style: { margin: 0, display: "block" }
|
|
420
420
|
}
|
|
421
421
|
)
|