@mamrp/components 1.7.32 → 1.7.34
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/charts/index.d.mts +87 -0
- package/dist/charts/index.d.ts +87 -0
- package/dist/charts/index.js +36 -6
- package/dist/charts/index.js.map +1 -1
- package/dist/charts/index.mjs +36 -6
- package/dist/charts/index.mjs.map +1 -1
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -9
- 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: "1.
|
|
208
|
+
fontSize: size === "small" ? "1rem" : "1.1rem",
|
|
209
209
|
fontWeight: 600
|
|
210
210
|
};
|
|
211
211
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
@@ -227,8 +227,7 @@ function LicensePlate({
|
|
|
227
227
|
sx: {
|
|
228
228
|
backgroundColor: "#172554",
|
|
229
229
|
width: size === "small" ? "30px" : "36px",
|
|
230
|
-
|
|
231
|
-
maxHeight: "52px",
|
|
230
|
+
height: "52px",
|
|
232
231
|
display: "flex",
|
|
233
232
|
justifyContent: "center",
|
|
234
233
|
alignItems: "center",
|
|
@@ -241,8 +240,8 @@ function LicensePlate({
|
|
|
241
240
|
{
|
|
242
241
|
src: "/assets/images/iran-flag-dark.svg",
|
|
243
242
|
alt: "Iran Flag",
|
|
244
|
-
width: size === "small" ?
|
|
245
|
-
height: size === "small" ?
|
|
243
|
+
width: size === "small" ? 16 : 20,
|
|
244
|
+
height: size === "small" ? 12 : 16
|
|
246
245
|
}
|
|
247
246
|
)
|
|
248
247
|
)),
|
|
@@ -390,7 +389,7 @@ function LicensePlate({
|
|
|
390
389
|
sx: {
|
|
391
390
|
display: "flex",
|
|
392
391
|
flexDirection: "column-reverse",
|
|
393
|
-
gap: size === "small" ?
|
|
392
|
+
gap: size === "small" ? 1 : 0.5,
|
|
394
393
|
alignItems: "center"
|
|
395
394
|
}
|
|
396
395
|
},
|
|
@@ -415,8 +414,8 @@ function LicensePlate({
|
|
|
415
414
|
{
|
|
416
415
|
src: "/assets/images/iran.svg",
|
|
417
416
|
alt: "Iran",
|
|
418
|
-
width: size === "small" ?
|
|
419
|
-
height: size === "small" ?
|
|
417
|
+
width: size === "small" ? 25 : 30,
|
|
418
|
+
height: size === "small" ? 21 : 26,
|
|
420
419
|
style: { margin: 0, display: "block" }
|
|
421
420
|
}
|
|
422
421
|
)
|
|
@@ -2390,7 +2389,7 @@ function SearchLicensePlate({
|
|
|
2390
2389
|
outline: "none",
|
|
2391
2390
|
border: "none",
|
|
2392
2391
|
cursor: readOnly || !!data && readOnly ? "default" : "text",
|
|
2393
|
-
fontSize: size === "small" ? "
|
|
2392
|
+
fontSize: size === "small" ? "1rem" : "1.1rem",
|
|
2394
2393
|
fontWeight: 600
|
|
2395
2394
|
};
|
|
2396
2395
|
(0, import_react13.useEffect)(() => {
|