@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.mjs
CHANGED
|
@@ -135,7 +135,7 @@ function LicensePlate({
|
|
|
135
135
|
outline: "none",
|
|
136
136
|
border: "none",
|
|
137
137
|
cursor: readOnly || !!data && readOnly ? "default" : "text",
|
|
138
|
-
fontSize: "1rem",
|
|
138
|
+
fontSize: size === "small" ? "1rem" : "1.05rem",
|
|
139
139
|
fontWeight: 600
|
|
140
140
|
};
|
|
141
141
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
@@ -147,7 +147,7 @@ function LicensePlate({
|
|
|
147
147
|
borderRadius: "7px",
|
|
148
148
|
display: "flex",
|
|
149
149
|
alignItems: "center",
|
|
150
|
-
height: "3.5rem"
|
|
150
|
+
height: size === "small" ? "3rem" : "3.5rem"
|
|
151
151
|
},
|
|
152
152
|
dir: "ltr"
|
|
153
153
|
},
|
|
@@ -157,7 +157,7 @@ function LicensePlate({
|
|
|
157
157
|
sx: {
|
|
158
158
|
backgroundColor: "#172554",
|
|
159
159
|
width: size === "small" ? "30px" : "36px",
|
|
160
|
-
height: "52px",
|
|
160
|
+
height: size === "small" ? "44px" : "52px",
|
|
161
161
|
display: "flex",
|
|
162
162
|
justifyContent: "center",
|
|
163
163
|
alignItems: "center",
|
|
@@ -170,8 +170,8 @@ function LicensePlate({
|
|
|
170
170
|
{
|
|
171
171
|
src: "/assets/images/iran-flag-dark.svg",
|
|
172
172
|
alt: "Iran Flag",
|
|
173
|
-
width: size === "small" ?
|
|
174
|
-
height: size === "small" ?
|
|
173
|
+
width: size === "small" ? 15 : 18,
|
|
174
|
+
height: size === "small" ? 11 : 14
|
|
175
175
|
}
|
|
176
176
|
)
|
|
177
177
|
)),
|
|
@@ -319,7 +319,7 @@ function LicensePlate({
|
|
|
319
319
|
sx: {
|
|
320
320
|
display: "flex",
|
|
321
321
|
flexDirection: "column-reverse",
|
|
322
|
-
gap:
|
|
322
|
+
gap: 0.5,
|
|
323
323
|
alignItems: "center"
|
|
324
324
|
}
|
|
325
325
|
},
|
|
@@ -344,8 +344,8 @@ function LicensePlate({
|
|
|
344
344
|
{
|
|
345
345
|
src: "/assets/images/iran.svg",
|
|
346
346
|
alt: "Iran",
|
|
347
|
-
width: size === "small" ? 25 :
|
|
348
|
-
height: size === "small" ? 21 :
|
|
347
|
+
width: size === "small" ? 25 : 28,
|
|
348
|
+
height: size === "small" ? 21 : 24,
|
|
349
349
|
style: { margin: 0, display: "block" }
|
|
350
350
|
}
|
|
351
351
|
)
|