@mamrp/components 1.7.33 → 1.7.35
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 +0 -0
- package/dist/charts/index.d.ts +0 -0
- package/dist/charts/index.js +0 -0
- package/dist/charts/index.js.map +0 -0
- package/dist/charts/index.mjs +0 -0
- package/dist/charts/index.mjs.map +0 -0
- package/dist/date-pickers/index.d.mts +0 -0
- package/dist/date-pickers/index.d.ts +0 -0
- package/dist/date-pickers/index.js +0 -0
- package/dist/date-pickers/index.js.map +0 -0
- package/dist/date-pickers/index.mjs +0 -0
- package/dist/date-pickers/index.mjs.map +0 -0
- package/dist/index.d.mts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +12 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -13
- package/dist/index.mjs.map +1 -1
- package/dist/pagination/index.d.mts +0 -0
- package/dist/pagination/index.d.ts +0 -0
- package/dist/pagination/index.js +0 -0
- package/dist/pagination/index.js.map +0 -0
- package/dist/pagination/index.mjs +0 -0
- package/dist/pagination/index.mjs.map +0 -0
- package/dist/selectors/index.d.mts +0 -0
- package/dist/selectors/index.d.ts +0 -0
- package/dist/selectors/index.js +0 -0
- package/dist/selectors/index.js.map +1 -1
- package/dist/selectors/index.mjs +0 -0
- package/dist/selectors/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: "1.
|
|
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
|
-
|
|
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" ?
|
|
175
|
-
height: size === "small" ?
|
|
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" ?
|
|
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" ?
|
|
349
|
-
height: size === "small" ?
|
|
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.
|
|
2339
|
+
fontSize: size === "small" ? "1.1rem" : "1.2rem",
|
|
2341
2340
|
fontWeight: 600
|
|
2342
2341
|
};
|
|
2343
2342
|
useEffect6(() => {
|
|
@@ -2410,8 +2409,8 @@ function SearchLicensePlate({
|
|
|
2410
2409
|
{
|
|
2411
2410
|
src: "/assets/images/iran-flag-dark.svg",
|
|
2412
2411
|
alt: "Iran Flag",
|
|
2413
|
-
width: size === "small" ?
|
|
2414
|
-
height: size === "small" ?
|
|
2412
|
+
width: size === "small" ? 18 : 22,
|
|
2413
|
+
height: size === "small" ? 14 : 18,
|
|
2415
2414
|
style: { cursor: "pointer" },
|
|
2416
2415
|
onClick: () => {
|
|
2417
2416
|
setInputValues({
|
|
@@ -2583,8 +2582,8 @@ function SearchLicensePlate({
|
|
|
2583
2582
|
{
|
|
2584
2583
|
src: "/assets/images/iran.svg",
|
|
2585
2584
|
alt: "Iran",
|
|
2586
|
-
width: size === "small" ?
|
|
2587
|
-
height: size === "small" ?
|
|
2585
|
+
width: size === "small" ? 27 : 32,
|
|
2586
|
+
height: size === "small" ? 23 : 28,
|
|
2588
2587
|
style: { margin: 0, display: "block" }
|
|
2589
2588
|
}
|
|
2590
2589
|
)
|