@mamrp/components 1.7.33 → 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/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: "1.25rem",
138
+ fontSize: size === "small" ? "1rem" : "1.1rem",
139
139
  fontWeight: 600
140
140
  };
141
141
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
@@ -157,8 +157,7 @@ function LicensePlate({
157
157
  sx: {
158
158
  backgroundColor: "#172554",
159
159
  width: size === "small" ? "30px" : "36px",
160
- minHeight: "52px",
161
- maxHeight: "52px",
160
+ height: "52px",
162
161
  display: "flex",
163
162
  justifyContent: "center",
164
163
  alignItems: "center",
@@ -171,8 +170,8 @@ function LicensePlate({
171
170
  {
172
171
  src: "/assets/images/iran-flag-dark.svg",
173
172
  alt: "Iran Flag",
174
- width: size === "small" ? 32 : 40,
175
- height: size === "small" ? 28 : 34
173
+ width: size === "small" ? 16 : 20,
174
+ height: size === "small" ? 12 : 16
176
175
  }
177
176
  )
178
177
  )),
@@ -320,7 +319,7 @@ function LicensePlate({
320
319
  sx: {
321
320
  display: "flex",
322
321
  flexDirection: "column-reverse",
323
- gap: size === "small" ? 0.25 : 0.5,
322
+ gap: size === "small" ? 1 : 0.5,
324
323
  alignItems: "center"
325
324
  }
326
325
  },
@@ -345,8 +344,8 @@ function LicensePlate({
345
344
  {
346
345
  src: "/assets/images/iran.svg",
347
346
  alt: "Iran",
348
- width: size === "small" ? 35 : 35,
349
- height: size === "small" ? 5.55 : 7.666,
347
+ width: size === "small" ? 25 : 30,
348
+ height: size === "small" ? 21 : 26,
350
349
  style: { margin: 0, display: "block" }
351
350
  }
352
351
  )
@@ -2337,7 +2336,7 @@ function SearchLicensePlate({
2337
2336
  outline: "none",
2338
2337
  border: "none",
2339
2338
  cursor: readOnly || !!data && readOnly ? "default" : "text",
2340
- fontSize: size === "small" ? "1.25rem" : "1.35rem",
2339
+ fontSize: size === "small" ? "1rem" : "1.1rem",
2341
2340
  fontWeight: 600
2342
2341
  };
2343
2342
  useEffect6(() => {