am-shared-assets 1.0.5 → 1.0.7
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/{ChevronBottomIcon-Drbt5J4y.js → ChevronBottomIcon-BM6pUrh1.js} +63 -167
- package/dist/components/Input.d.ts +2 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components.js +438 -644
- package/dist/icons/components/LocationIcon.d.ts +5 -0
- package/dist/icons/index.d.ts +2 -1
- package/dist/icons.js +806 -2566
- package/package.json +1 -1
|
@@ -1,208 +1,120 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
color:
|
|
4
|
-
size:
|
|
5
|
-
}) => /* @__PURE__ */
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
const e = ({
|
|
3
|
+
color: o,
|
|
4
|
+
size: C = 24
|
|
5
|
+
}) => /* @__PURE__ */ r(
|
|
6
6
|
"svg",
|
|
7
7
|
{
|
|
8
|
-
width:
|
|
9
|
-
height:
|
|
8
|
+
width: C,
|
|
9
|
+
height: C,
|
|
10
10
|
viewBox: "0 0 24 24",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
-
style: { color:
|
|
13
|
+
style: { color: o },
|
|
14
14
|
children: [
|
|
15
|
-
/* @__PURE__ */
|
|
15
|
+
/* @__PURE__ */ t(
|
|
16
16
|
"path",
|
|
17
17
|
{
|
|
18
18
|
d: "M7.25367 18C6.93501 18 6.61635 17.8826 6.36478 17.6312C5.87841 17.145 5.87841 16.3402 6.36478 15.854L15.8574 6.36465C16.3438 5.87845 17.1488 5.87845 17.6352 6.36465C18.1216 6.85086 18.1216 7.65561 17.6352 8.14181L8.14256 17.6312C7.90776 17.8826 7.57233 18 7.25367 18Z",
|
|
19
19
|
fill: "currentColor"
|
|
20
|
-
}
|
|
21
|
-
void 0,
|
|
22
|
-
!1,
|
|
23
|
-
{
|
|
24
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/CloseIcon.tsx",
|
|
25
|
-
lineNumber: 17,
|
|
26
|
-
columnNumber: 7
|
|
27
|
-
},
|
|
28
|
-
void 0
|
|
20
|
+
}
|
|
29
21
|
),
|
|
30
|
-
/* @__PURE__ */
|
|
22
|
+
/* @__PURE__ */ t(
|
|
31
23
|
"path",
|
|
32
24
|
{
|
|
33
25
|
d: "M16.7463 18C16.4277 18 16.109 17.8826 15.8574 17.6312L6.36478 8.14181C5.87841 7.65561 5.87841 6.85086 6.36478 6.36465C6.85115 5.87845 7.65618 5.87845 8.14256 6.36465L17.6352 15.854C18.1216 16.3402 18.1216 17.145 17.6352 17.6312C17.3836 17.8826 17.065 18 16.7463 18Z",
|
|
34
26
|
fill: "currentColor"
|
|
35
|
-
}
|
|
36
|
-
void 0,
|
|
37
|
-
!1,
|
|
38
|
-
{
|
|
39
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/CloseIcon.tsx",
|
|
40
|
-
lineNumber: 21,
|
|
41
|
-
columnNumber: 7
|
|
42
|
-
},
|
|
43
|
-
void 0
|
|
27
|
+
}
|
|
44
28
|
)
|
|
45
29
|
]
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
lineNumber: 9,
|
|
52
|
-
columnNumber: 5
|
|
53
|
-
},
|
|
54
|
-
void 0
|
|
55
|
-
), r = ({
|
|
56
|
-
color: n,
|
|
57
|
-
size: e = 20
|
|
58
|
-
}) => /* @__PURE__ */ s(
|
|
30
|
+
}
|
|
31
|
+
), l = ({
|
|
32
|
+
color: o,
|
|
33
|
+
size: C = 20
|
|
34
|
+
}) => /* @__PURE__ */ t(
|
|
59
35
|
"svg",
|
|
60
36
|
{
|
|
61
|
-
width:
|
|
62
|
-
height:
|
|
37
|
+
width: C,
|
|
38
|
+
height: C,
|
|
63
39
|
viewBox: "0 0 20 20",
|
|
64
40
|
fill: "none",
|
|
65
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
66
|
-
style: { color:
|
|
67
|
-
children: /* @__PURE__ */
|
|
42
|
+
style: { color: o },
|
|
43
|
+
children: /* @__PURE__ */ t(
|
|
68
44
|
"path",
|
|
69
45
|
{
|
|
70
46
|
d: "M10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 -3.92528e-07 10 -8.74228e-07C4.49 -1.35593e-06 1.35593e-06 4.49 8.74228e-07 10C3.92528e-07 15.51 4.49 20 10 20ZM10.75 14C10.75 14.41 10.41 14.75 10 14.75C9.59 14.75 9.25 14.41 9.25 14L9.25 9C9.25 8.59 9.59 8.25 10 8.25C10.41 8.25 10.75 8.59 10.75 9L10.75 14ZM9.08 5.62C9.13 5.49 9.2 5.39 9.29 5.29C9.39 5.2 9.5 5.13 9.62 5.08C9.74 5.03 9.87 5 10 5C10.13 5 10.26 5.03 10.38 5.08C10.5 5.13 10.61 5.2 10.71 5.29C10.8 5.39 10.87 5.49 10.92 5.62C10.97 5.74 11 5.87 11 6C11 6.13 10.97 6.26 10.92 6.38C10.87 6.5 10.8 6.61 10.71 6.71C10.61 6.8 10.5 6.87 10.38 6.92C10.14 7.02 9.86 7.02 9.62 6.92C9.5 6.87 9.39 6.8 9.29 6.71C9.2 6.61 9.13 6.5 9.08 6.38C9.03 6.26 9 6.13 9 6C9 5.87 9.03 5.74 9.08 5.62Z",
|
|
71
47
|
fill: "currentColor"
|
|
72
|
-
}
|
|
73
|
-
void 0,
|
|
74
|
-
!1,
|
|
75
|
-
{
|
|
76
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/InfoIcon.tsx",
|
|
77
|
-
lineNumber: 17,
|
|
78
|
-
columnNumber: 7
|
|
79
|
-
},
|
|
80
|
-
void 0
|
|
48
|
+
}
|
|
81
49
|
)
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
!1,
|
|
85
|
-
{
|
|
86
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/InfoIcon.tsx",
|
|
87
|
-
lineNumber: 9,
|
|
88
|
-
columnNumber: 5
|
|
89
|
-
},
|
|
90
|
-
void 0
|
|
91
|
-
), C = ({ color: n, size: e = 24 }) => /* @__PURE__ */ s(
|
|
50
|
+
}
|
|
51
|
+
), i = ({ color: o, size: C = 24 }) => /* @__PURE__ */ t(
|
|
92
52
|
"svg",
|
|
93
53
|
{
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
54
|
+
width: C,
|
|
55
|
+
height: C,
|
|
96
56
|
viewBox: "0 0 21 20",
|
|
97
57
|
fill: "none",
|
|
98
58
|
xmlns: "http://www.w3.org/2000/svg",
|
|
99
|
-
style: { color:
|
|
100
|
-
children: /* @__PURE__ */
|
|
59
|
+
style: { color: o },
|
|
60
|
+
children: /* @__PURE__ */ t(
|
|
101
61
|
"path",
|
|
102
62
|
{
|
|
103
63
|
d: "M20.1999 13.92L13.7999 2.4C12.9399 0.85 11.7499 0 10.4399 0C9.12992 0 7.93992 0.85 7.07992 2.4L0.679919 13.92C-0.130081 15.39 -0.220081 16.8 0.429919 17.91C1.07992 19.02 2.35992 19.63 4.03992 19.63H16.8399C18.5199 19.63 19.7999 19.02 20.4499 17.91C21.0999 16.8 21.0099 15.38 20.1999 13.92ZM9.68992 7C9.68992 6.59 10.0299 6.25 10.4399 6.25C10.8499 6.25 11.1899 6.59 11.1899 7V12C11.1899 12.41 10.8499 12.75 10.4399 12.75C10.0299 12.75 9.68992 12.41 9.68992 12V7ZM11.1499 15.71C11.0999 15.75 11.0499 15.79 10.9999 15.83C10.9399 15.87 10.8799 15.9 10.8199 15.92C10.7599 15.95 10.6999 15.97 10.6299 15.98C10.5699 15.99 10.4999 16 10.4399 16C10.3799 16 10.3099 15.99 10.2399 15.98C10.1799 15.97 10.1199 15.95 10.0599 15.92C9.99992 15.9 9.93992 15.87 9.87992 15.83C9.82992 15.79 9.77992 15.75 9.72992 15.71C9.54992 15.52 9.43992 15.26 9.43992 15C9.43992 14.74 9.54992 14.48 9.72992 14.29C9.77992 14.25 9.82992 14.21 9.87992 14.17C9.93992 14.13 9.99992 14.1 10.0599 14.08C10.1199 14.05 10.1799 14.03 10.2399 14.02C10.3699 13.99 10.5099 13.99 10.6299 14.02C10.6999 14.03 10.7599 14.05 10.8199 14.08C10.8799 14.1 10.9399 14.13 10.9999 14.17C11.0499 14.21 11.0999 14.25 11.1499 14.29C11.3299 14.48 11.4399 14.74 11.4399 15C11.4399 15.26 11.3299 15.52 11.1499 15.71Z",
|
|
104
64
|
fill: "currentColor"
|
|
105
|
-
}
|
|
106
|
-
void 0,
|
|
107
|
-
!1,
|
|
108
|
-
{
|
|
109
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/WarningIcon.tsx",
|
|
110
|
-
lineNumber: 11,
|
|
111
|
-
columnNumber: 7
|
|
112
|
-
},
|
|
113
|
-
void 0
|
|
65
|
+
}
|
|
114
66
|
)
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
lineNumber: 3,
|
|
121
|
-
columnNumber: 5
|
|
122
|
-
},
|
|
123
|
-
void 0
|
|
124
|
-
), l = ({
|
|
125
|
-
color: n,
|
|
126
|
-
size: e = 24
|
|
127
|
-
}) => /* @__PURE__ */ s(
|
|
67
|
+
}
|
|
68
|
+
), s = ({
|
|
69
|
+
color: o,
|
|
70
|
+
size: C = 24
|
|
71
|
+
}) => /* @__PURE__ */ t(
|
|
128
72
|
"svg",
|
|
129
73
|
{
|
|
130
|
-
width:
|
|
131
|
-
height:
|
|
74
|
+
width: C,
|
|
75
|
+
height: C,
|
|
132
76
|
viewBox: "0 0 20 20",
|
|
133
77
|
fill: "none",
|
|
134
78
|
xmlns: "http://www.w3.org/2000/svg",
|
|
135
|
-
style: { color:
|
|
136
|
-
children: /* @__PURE__ */
|
|
79
|
+
style: { color: o },
|
|
80
|
+
children: /* @__PURE__ */ t(
|
|
137
81
|
"path",
|
|
138
82
|
{
|
|
139
83
|
d: "M10 0C4.49 0 0 4.49 0 10C0 15.51 4.49 20 10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 0 10 0ZM13.36 12.3C13.65 12.59 13.65 13.07 13.36 13.36C13.21 13.51 13.02 13.58 12.83 13.58C12.64 13.58 12.45 13.51 12.3 13.36L10 11.06L7.7 13.36C7.55 13.51 7.36 13.58 7.17 13.58C6.98 13.58 6.79 13.51 6.64 13.36C6.35 13.07 6.35 12.59 6.64 12.3L8.94 10L6.64 7.7C6.35 7.41 6.35 6.93 6.64 6.64C6.93 6.35 7.41 6.35 7.7 6.64L10 8.94L12.3 6.64C12.59 6.35 13.07 6.35 13.36 6.64C13.65 6.93 13.65 7.41 13.36 7.7L11.06 10L13.36 12.3Z",
|
|
140
84
|
fill: "currentColor"
|
|
141
|
-
}
|
|
142
|
-
void 0,
|
|
143
|
-
!1,
|
|
144
|
-
{
|
|
145
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/CloseCircleIcon.tsx",
|
|
146
|
-
lineNumber: 17,
|
|
147
|
-
columnNumber: 7
|
|
148
|
-
},
|
|
149
|
-
void 0
|
|
85
|
+
}
|
|
150
86
|
)
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
lineNumber: 9,
|
|
157
|
-
columnNumber: 5
|
|
158
|
-
},
|
|
159
|
-
void 0
|
|
160
|
-
), i = ({
|
|
161
|
-
color: n,
|
|
162
|
-
size: e = 20
|
|
163
|
-
}) => /* @__PURE__ */ s(
|
|
87
|
+
}
|
|
88
|
+
), h = ({
|
|
89
|
+
color: o,
|
|
90
|
+
size: C = 20
|
|
91
|
+
}) => /* @__PURE__ */ t(
|
|
164
92
|
"svg",
|
|
165
93
|
{
|
|
166
|
-
width:
|
|
167
|
-
height:
|
|
94
|
+
width: C,
|
|
95
|
+
height: C,
|
|
168
96
|
viewBox: "0 0 20 20",
|
|
169
97
|
fill: "none",
|
|
170
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
171
|
-
style: { color:
|
|
172
|
-
children: /* @__PURE__ */
|
|
99
|
+
style: { color: o },
|
|
100
|
+
children: /* @__PURE__ */ t(
|
|
173
101
|
"path",
|
|
174
102
|
{
|
|
175
103
|
d: "M10 0C4.49 0 0 4.49 0 10C0 15.51 4.49 20 10 20C15.51 20 20 15.51 20 10C20 4.49 15.51 0 10 0ZM14.78 7.7L9.11 13.37C8.97 13.51 8.78 13.59 8.58 13.59C8.38 13.59 8.19 13.51 8.05 13.37L5.22 10.54C4.93 10.25 4.93 9.77 5.22 9.48C5.51 9.19 5.99 9.19 6.28 9.48L8.58 11.78L13.72 6.64C14.01 6.35 14.49 6.35 14.78 6.64C15.07 6.93 15.07 7.4 14.78 7.7Z",
|
|
176
104
|
fill: "currentColor"
|
|
177
|
-
}
|
|
178
|
-
void 0,
|
|
179
|
-
!1,
|
|
180
|
-
{
|
|
181
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/TickCircleIcon.tsx",
|
|
182
|
-
lineNumber: 17,
|
|
183
|
-
columnNumber: 7
|
|
184
|
-
},
|
|
185
|
-
void 0
|
|
105
|
+
}
|
|
186
106
|
)
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
!1,
|
|
190
|
-
{
|
|
191
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/TickCircleIcon.tsx",
|
|
192
|
-
lineNumber: 9,
|
|
193
|
-
columnNumber: 5
|
|
194
|
-
},
|
|
195
|
-
void 0
|
|
196
|
-
), a = ({ color: n, size: e = 20 }) => /* @__PURE__ */ s(
|
|
107
|
+
}
|
|
108
|
+
), w = ({ color: o, size: C = 20 }) => /* @__PURE__ */ t(
|
|
197
109
|
"svg",
|
|
198
110
|
{
|
|
199
|
-
width:
|
|
200
|
-
height:
|
|
111
|
+
width: C,
|
|
112
|
+
height: C,
|
|
201
113
|
viewBox: "0 0 16 16",
|
|
202
114
|
fill: "none",
|
|
203
115
|
xmlns: "http://www.w3.org/2000/svg",
|
|
204
|
-
style: { color:
|
|
205
|
-
children: /* @__PURE__ */
|
|
116
|
+
style: { color: o },
|
|
117
|
+
children: /* @__PURE__ */ t(
|
|
206
118
|
"path",
|
|
207
119
|
{
|
|
208
120
|
d: "M13.2797 5.96667L8.93306 10.3133C8.41973 10.8267 7.57973 10.8267 7.06639 10.3133L2.71973 5.96667",
|
|
@@ -210,31 +122,15 @@ const t = ({
|
|
|
210
122
|
"stroke-miterlimit": "10",
|
|
211
123
|
"stroke-linecap": "round",
|
|
212
124
|
"stroke-linejoin": "round"
|
|
213
|
-
}
|
|
214
|
-
void 0,
|
|
215
|
-
!1,
|
|
216
|
-
{
|
|
217
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/ChevronBottomIcon.tsx",
|
|
218
|
-
lineNumber: 11,
|
|
219
|
-
columnNumber: 7
|
|
220
|
-
},
|
|
221
|
-
void 0
|
|
125
|
+
}
|
|
222
126
|
)
|
|
223
|
-
}
|
|
224
|
-
void 0,
|
|
225
|
-
!1,
|
|
226
|
-
{
|
|
227
|
-
fileName: "C:/Users/asus/Desktop/AghsatMarket/shared-assets/src/icons/components/ChevronBottomIcon.tsx",
|
|
228
|
-
lineNumber: 3,
|
|
229
|
-
columnNumber: 5
|
|
230
|
-
},
|
|
231
|
-
void 0
|
|
127
|
+
}
|
|
232
128
|
);
|
|
233
129
|
export {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
130
|
+
w as C,
|
|
131
|
+
l as I,
|
|
132
|
+
h as T,
|
|
133
|
+
i as W,
|
|
134
|
+
s as a,
|
|
135
|
+
e as b
|
|
240
136
|
};
|
|
@@ -7,6 +7,7 @@ interface IInputProps {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
value?: string;
|
|
9
9
|
onChange?: (value: string) => void;
|
|
10
|
+
isFocused?: boolean;
|
|
10
11
|
placeHolder?: string;
|
|
11
12
|
variant?: "flat" | "bordered" | "faded";
|
|
12
13
|
color?: "default" | "primary" | "success" | "warning" | "danger";
|
|
@@ -18,5 +19,5 @@ interface IInputProps {
|
|
|
18
19
|
errorMsg?: string;
|
|
19
20
|
hasError?: boolean;
|
|
20
21
|
}
|
|
21
|
-
export declare const Input: ({ id, label, required, register, name, value, onChange, placeHolder, variant, color, size, rounded, description, icon, endIcon, errorMsg, hasError, }: IInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const Input: ({ id, label, required, register, name, value, onChange, isFocused, placeHolder, variant, color, size, rounded, description, icon, endIcon, errorMsg, hasError, }: IInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
export {};
|