huspy-icons 0.3.2 → 0.3.3
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/fonts/HuspyIcons.css +58 -52
- package/dist/fonts/HuspyIcons.eot +0 -0
- package/dist/fonts/HuspyIcons.json +50 -48
- package/dist/fonts/HuspyIcons.ts +54 -48
- package/dist/fonts/HuspyIcons.ttf +0 -0
- package/dist/fonts/HuspyIcons.woff +0 -0
- package/dist/fonts/HuspyIcons.woff2 +0 -0
- package/dist/native/index.d.ts +1 -1
- package/dist/native/index.js +50 -48
- package/dist/native/index.js.map +1 -1
- package/dist/react/index.d.mts +6 -2
- package/dist/react/index.d.ts +6 -2
- package/dist/react/index.js +335 -197
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +303 -165
- package/dist/react/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/native/glyphMap.ts +51 -49
- package/src/react/FileInput.tsx +44 -0
- package/src/react/Icon.tsx +7 -1
- package/src/react/Promotion.tsx +44 -0
- package/src/react/index.ts +2 -0
- package/src/react/index.tsx +2 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "HuspyIcons";
|
|
3
|
-
src: url(".//HuspyIcons.ttf?
|
|
4
|
-
url(".//HuspyIcons.woff?
|
|
5
|
-
url(".//HuspyIcons.woff2?
|
|
6
|
-
url(".//HuspyIcons.eot?
|
|
3
|
+
src: url(".//HuspyIcons.ttf?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("truetype"),
|
|
4
|
+
url(".//HuspyIcons.woff?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("woff"),
|
|
5
|
+
url(".//HuspyIcons.woff2?cc32c3e87fe4e6f85b4f3945ed6d14ae") format("woff2"),
|
|
6
|
+
url(".//HuspyIcons.eot?cc32c3e87fe4e6f85b4f3945ed6d14ae#iefix") format("embedded-opentype");
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.icon:before {
|
|
@@ -50,147 +50,153 @@ url(".//HuspyIcons.eot?38460525204c3b376b6db830cf566aab#iefix") format("embedded
|
|
|
50
50
|
.icon.huspy-icon-properties-filled:before {
|
|
51
51
|
content: "\f10b";
|
|
52
52
|
}
|
|
53
|
-
.icon.huspy-icon-
|
|
53
|
+
.icon.huspy-icon-promotion:before {
|
|
54
54
|
content: "\f10c";
|
|
55
55
|
}
|
|
56
|
-
.icon.huspy-icon-
|
|
56
|
+
.icon.huspy-icon-plus:before {
|
|
57
57
|
content: "\f10d";
|
|
58
58
|
}
|
|
59
|
-
.icon.huspy-icon-
|
|
59
|
+
.icon.huspy-icon-payments:before {
|
|
60
60
|
content: "\f10e";
|
|
61
61
|
}
|
|
62
|
-
.icon.huspy-icon-
|
|
62
|
+
.icon.huspy-icon-note:before {
|
|
63
63
|
content: "\f10f";
|
|
64
64
|
}
|
|
65
|
-
.icon.huspy-icon-
|
|
65
|
+
.icon.huspy-icon-mortgage:before {
|
|
66
66
|
content: "\f110";
|
|
67
67
|
}
|
|
68
|
-
.icon.huspy-icon-
|
|
68
|
+
.icon.huspy-icon-map-pin:before {
|
|
69
69
|
content: "\f111";
|
|
70
70
|
}
|
|
71
|
-
.icon.huspy-icon-
|
|
71
|
+
.icon.huspy-icon-mail:before {
|
|
72
72
|
content: "\f112";
|
|
73
73
|
}
|
|
74
|
-
.icon.huspy-icon-
|
|
74
|
+
.icon.huspy-icon-logout:before {
|
|
75
75
|
content: "\f113";
|
|
76
76
|
}
|
|
77
|
-
.icon.huspy-icon-
|
|
77
|
+
.icon.huspy-icon-lock:before {
|
|
78
78
|
content: "\f114";
|
|
79
79
|
}
|
|
80
|
-
.icon.huspy-icon-leads-
|
|
80
|
+
.icon.huspy-icon-leads-linear:before {
|
|
81
81
|
content: "\f115";
|
|
82
82
|
}
|
|
83
|
-
.icon.huspy-icon-
|
|
83
|
+
.icon.huspy-icon-leads-filled:before {
|
|
84
84
|
content: "\f116";
|
|
85
85
|
}
|
|
86
|
-
.icon.huspy-icon-
|
|
86
|
+
.icon.huspy-icon-keys_01:before {
|
|
87
87
|
content: "\f117";
|
|
88
88
|
}
|
|
89
|
-
.icon.huspy-icon-
|
|
89
|
+
.icon.huspy-icon-icon-slot:before {
|
|
90
90
|
content: "\f118";
|
|
91
91
|
}
|
|
92
|
-
.icon.huspy-icon-home-
|
|
92
|
+
.icon.huspy-icon-home-linear:before {
|
|
93
93
|
content: "\f119";
|
|
94
94
|
}
|
|
95
|
-
.icon.huspy-icon-
|
|
95
|
+
.icon.huspy-icon-home-filled:before {
|
|
96
96
|
content: "\f11a";
|
|
97
97
|
}
|
|
98
|
-
.icon.huspy-icon-
|
|
98
|
+
.icon.huspy-icon-help-circle:before {
|
|
99
99
|
content: "\f11b";
|
|
100
100
|
}
|
|
101
|
-
.icon.huspy-icon-
|
|
101
|
+
.icon.huspy-icon-fingerprint-android:before {
|
|
102
102
|
content: "\f11c";
|
|
103
103
|
}
|
|
104
|
-
.icon.huspy-icon-file-
|
|
104
|
+
.icon.huspy-icon-file-text:before {
|
|
105
105
|
content: "\f11d";
|
|
106
106
|
}
|
|
107
|
-
.icon.huspy-icon-file-
|
|
107
|
+
.icon.huspy-icon-file-spreadsheet:before {
|
|
108
108
|
content: "\f11e";
|
|
109
109
|
}
|
|
110
|
-
.icon.huspy-icon-file-
|
|
110
|
+
.icon.huspy-icon-file-signature:before {
|
|
111
111
|
content: "\f11f";
|
|
112
112
|
}
|
|
113
|
-
.icon.huspy-icon-file-
|
|
113
|
+
.icon.huspy-icon-file-lock:before {
|
|
114
114
|
content: "\f120";
|
|
115
115
|
}
|
|
116
|
-
.icon.huspy-icon-file-
|
|
116
|
+
.icon.huspy-icon-file-key:before {
|
|
117
117
|
content: "\f121";
|
|
118
118
|
}
|
|
119
|
-
.icon.huspy-icon-
|
|
119
|
+
.icon.huspy-icon-file-input:before {
|
|
120
120
|
content: "\f122";
|
|
121
121
|
}
|
|
122
|
-
.icon.huspy-icon-
|
|
122
|
+
.icon.huspy-icon-file-check:before {
|
|
123
123
|
content: "\f123";
|
|
124
124
|
}
|
|
125
|
-
.icon.huspy-icon-
|
|
125
|
+
.icon.huspy-icon-face-id:before {
|
|
126
126
|
content: "\f124";
|
|
127
127
|
}
|
|
128
|
-
.icon.huspy-icon-
|
|
128
|
+
.icon.huspy-icon-eye-visible:before {
|
|
129
129
|
content: "\f125";
|
|
130
130
|
}
|
|
131
|
-
.icon.huspy-icon-
|
|
131
|
+
.icon.huspy-icon-eye-hidden:before {
|
|
132
132
|
content: "\f126";
|
|
133
133
|
}
|
|
134
|
-
.icon.huspy-icon-
|
|
134
|
+
.icon.huspy-icon-explore-linear:before {
|
|
135
135
|
content: "\f127";
|
|
136
136
|
}
|
|
137
|
-
.icon.huspy-icon-
|
|
137
|
+
.icon.huspy-icon-explore-filled:before {
|
|
138
138
|
content: "\f128";
|
|
139
139
|
}
|
|
140
|
-
.icon.huspy-icon-
|
|
140
|
+
.icon.huspy-icon-edit:before {
|
|
141
141
|
content: "\f129";
|
|
142
142
|
}
|
|
143
|
-
.icon.huspy-icon-chevron-
|
|
143
|
+
.icon.huspy-icon-chevron-up:before {
|
|
144
144
|
content: "\f12a";
|
|
145
145
|
}
|
|
146
|
-
.icon.huspy-icon-chevron-
|
|
146
|
+
.icon.huspy-icon-chevron-right:before {
|
|
147
147
|
content: "\f12b";
|
|
148
148
|
}
|
|
149
|
-
.icon.huspy-icon-
|
|
149
|
+
.icon.huspy-icon-chevron-left:before {
|
|
150
150
|
content: "\f12c";
|
|
151
151
|
}
|
|
152
|
-
.icon.huspy-icon-
|
|
152
|
+
.icon.huspy-icon-chevron-down:before {
|
|
153
153
|
content: "\f12d";
|
|
154
154
|
}
|
|
155
|
-
.icon.huspy-icon-
|
|
155
|
+
.icon.huspy-icon-check:before {
|
|
156
156
|
content: "\f12e";
|
|
157
157
|
}
|
|
158
|
-
.icon.huspy-icon-
|
|
158
|
+
.icon.huspy-icon-cancel:before {
|
|
159
159
|
content: "\f12f";
|
|
160
160
|
}
|
|
161
|
-
.icon.huspy-icon-
|
|
161
|
+
.icon.huspy-icon-cancel-circle-solid:before {
|
|
162
162
|
content: "\f130";
|
|
163
163
|
}
|
|
164
|
-
.icon.huspy-icon-
|
|
164
|
+
.icon.huspy-icon-building:before {
|
|
165
165
|
content: "\f131";
|
|
166
166
|
}
|
|
167
|
-
.icon.huspy-icon-
|
|
167
|
+
.icon.huspy-icon-bell:before {
|
|
168
168
|
content: "\f132";
|
|
169
169
|
}
|
|
170
|
-
.icon.huspy-icon-
|
|
170
|
+
.icon.huspy-icon-bed-double:before {
|
|
171
171
|
content: "\f133";
|
|
172
172
|
}
|
|
173
|
-
.icon.huspy-icon-arrow-up
|
|
173
|
+
.icon.huspy-icon-arrow-up:before {
|
|
174
174
|
content: "\f134";
|
|
175
175
|
}
|
|
176
|
-
.icon.huspy-icon-arrow-up-
|
|
176
|
+
.icon.huspy-icon-arrow-up-right:before {
|
|
177
177
|
content: "\f135";
|
|
178
178
|
}
|
|
179
|
-
.icon.huspy-icon-arrow-
|
|
179
|
+
.icon.huspy-icon-arrow-up-left:before {
|
|
180
180
|
content: "\f136";
|
|
181
181
|
}
|
|
182
|
-
.icon.huspy-icon-arrow-
|
|
182
|
+
.icon.huspy-icon-arrow-up-down:before {
|
|
183
183
|
content: "\f137";
|
|
184
184
|
}
|
|
185
|
-
.icon.huspy-icon-arrow-
|
|
185
|
+
.icon.huspy-icon-arrow-right:before {
|
|
186
186
|
content: "\f138";
|
|
187
187
|
}
|
|
188
|
-
.icon.huspy-icon-arrow-
|
|
188
|
+
.icon.huspy-icon-arrow-left:before {
|
|
189
189
|
content: "\f139";
|
|
190
190
|
}
|
|
191
|
-
.icon.huspy-icon-arrow-down
|
|
191
|
+
.icon.huspy-icon-arrow-down:before {
|
|
192
192
|
content: "\f13a";
|
|
193
193
|
}
|
|
194
|
-
.icon.huspy-icon-
|
|
194
|
+
.icon.huspy-icon-arrow-down-right:before {
|
|
195
195
|
content: "\f13b";
|
|
196
196
|
}
|
|
197
|
+
.icon.huspy-icon-arrow-down-left:before {
|
|
198
|
+
content: "\f13c";
|
|
199
|
+
}
|
|
200
|
+
.icon.huspy-icon-alert-triangle:before {
|
|
201
|
+
content: "\f13d";
|
|
202
|
+
}
|
|
Binary file
|
|
@@ -10,52 +10,54 @@
|
|
|
10
10
|
"rent": 61705,
|
|
11
11
|
"properties-linear": 61706,
|
|
12
12
|
"properties-filled": 61707,
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"leads-
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"home-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"file-
|
|
31
|
-
"file-
|
|
32
|
-
"file-
|
|
33
|
-
"file-
|
|
34
|
-
"file-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"chevron-
|
|
44
|
-
"chevron-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"arrow-up
|
|
54
|
-
"arrow-up-
|
|
55
|
-
"arrow-
|
|
56
|
-
"arrow-
|
|
57
|
-
"arrow-
|
|
58
|
-
"arrow-
|
|
59
|
-
"arrow-down
|
|
60
|
-
"
|
|
13
|
+
"promotion": 61708,
|
|
14
|
+
"plus": 61709,
|
|
15
|
+
"payments": 61710,
|
|
16
|
+
"note": 61711,
|
|
17
|
+
"mortgage": 61712,
|
|
18
|
+
"map-pin": 61713,
|
|
19
|
+
"mail": 61714,
|
|
20
|
+
"logout": 61715,
|
|
21
|
+
"lock": 61716,
|
|
22
|
+
"leads-linear": 61717,
|
|
23
|
+
"leads-filled": 61718,
|
|
24
|
+
"keys_01": 61719,
|
|
25
|
+
"icon-slot": 61720,
|
|
26
|
+
"home-linear": 61721,
|
|
27
|
+
"home-filled": 61722,
|
|
28
|
+
"help-circle": 61723,
|
|
29
|
+
"fingerprint-android": 61724,
|
|
30
|
+
"file-text": 61725,
|
|
31
|
+
"file-spreadsheet": 61726,
|
|
32
|
+
"file-signature": 61727,
|
|
33
|
+
"file-lock": 61728,
|
|
34
|
+
"file-key": 61729,
|
|
35
|
+
"file-input": 61730,
|
|
36
|
+
"file-check": 61731,
|
|
37
|
+
"face-id": 61732,
|
|
38
|
+
"eye-visible": 61733,
|
|
39
|
+
"eye-hidden": 61734,
|
|
40
|
+
"explore-linear": 61735,
|
|
41
|
+
"explore-filled": 61736,
|
|
42
|
+
"edit": 61737,
|
|
43
|
+
"chevron-up": 61738,
|
|
44
|
+
"chevron-right": 61739,
|
|
45
|
+
"chevron-left": 61740,
|
|
46
|
+
"chevron-down": 61741,
|
|
47
|
+
"check": 61742,
|
|
48
|
+
"cancel": 61743,
|
|
49
|
+
"cancel-circle-solid": 61744,
|
|
50
|
+
"building": 61745,
|
|
51
|
+
"bell": 61746,
|
|
52
|
+
"bed-double": 61747,
|
|
53
|
+
"arrow-up": 61748,
|
|
54
|
+
"arrow-up-right": 61749,
|
|
55
|
+
"arrow-up-left": 61750,
|
|
56
|
+
"arrow-up-down": 61751,
|
|
57
|
+
"arrow-right": 61752,
|
|
58
|
+
"arrow-left": 61753,
|
|
59
|
+
"arrow-down": 61754,
|
|
60
|
+
"arrow-down-right": 61755,
|
|
61
|
+
"arrow-down-left": 61756,
|
|
62
|
+
"alert-triangle": 61757
|
|
61
63
|
}
|
package/dist/fonts/HuspyIcons.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type HuspyIconsId =
|
|
|
10
10
|
| "rent"
|
|
11
11
|
| "properties-linear"
|
|
12
12
|
| "properties-filled"
|
|
13
|
+
| "promotion"
|
|
13
14
|
| "plus"
|
|
14
15
|
| "payments"
|
|
15
16
|
| "note"
|
|
@@ -31,6 +32,7 @@ export type HuspyIconsId =
|
|
|
31
32
|
| "file-signature"
|
|
32
33
|
| "file-lock"
|
|
33
34
|
| "file-key"
|
|
35
|
+
| "file-input"
|
|
34
36
|
| "file-check"
|
|
35
37
|
| "face-id"
|
|
36
38
|
| "eye-visible"
|
|
@@ -71,6 +73,7 @@ export enum HuspyIcons {
|
|
|
71
73
|
Rent = "rent",
|
|
72
74
|
PropertiesLinear = "properties-linear",
|
|
73
75
|
PropertiesFilled = "properties-filled",
|
|
76
|
+
Promotion = "promotion",
|
|
74
77
|
Plus = "plus",
|
|
75
78
|
Payments = "payments",
|
|
76
79
|
Note = "note",
|
|
@@ -92,6 +95,7 @@ export enum HuspyIcons {
|
|
|
92
95
|
FileSignature = "file-signature",
|
|
93
96
|
FileLock = "file-lock",
|
|
94
97
|
FileKey = "file-key",
|
|
98
|
+
FileInput = "file-input",
|
|
95
99
|
FileCheck = "file-check",
|
|
96
100
|
FaceId = "face-id",
|
|
97
101
|
EyeVisible = "eye-visible",
|
|
@@ -133,52 +137,54 @@ export const HUSPY_ICONS_CODEPOINTS: { [key in HuspyIcons]: string } = {
|
|
|
133
137
|
[HuspyIcons.Rent]: "61705",
|
|
134
138
|
[HuspyIcons.PropertiesLinear]: "61706",
|
|
135
139
|
[HuspyIcons.PropertiesFilled]: "61707",
|
|
136
|
-
[HuspyIcons.
|
|
137
|
-
[HuspyIcons.
|
|
138
|
-
[HuspyIcons.
|
|
139
|
-
[HuspyIcons.
|
|
140
|
-
[HuspyIcons.
|
|
141
|
-
[HuspyIcons.
|
|
142
|
-
[HuspyIcons.
|
|
143
|
-
[HuspyIcons.
|
|
144
|
-
[HuspyIcons.
|
|
145
|
-
[HuspyIcons.
|
|
146
|
-
[HuspyIcons.
|
|
147
|
-
[HuspyIcons.
|
|
148
|
-
[HuspyIcons.
|
|
149
|
-
[HuspyIcons.
|
|
150
|
-
[HuspyIcons.
|
|
151
|
-
[HuspyIcons.
|
|
152
|
-
[HuspyIcons.
|
|
153
|
-
[HuspyIcons.
|
|
154
|
-
[HuspyIcons.
|
|
155
|
-
[HuspyIcons.
|
|
156
|
-
[HuspyIcons.
|
|
157
|
-
[HuspyIcons.
|
|
158
|
-
[HuspyIcons.
|
|
159
|
-
[HuspyIcons.
|
|
160
|
-
[HuspyIcons.
|
|
161
|
-
[HuspyIcons.
|
|
162
|
-
[HuspyIcons.
|
|
163
|
-
[HuspyIcons.
|
|
164
|
-
[HuspyIcons.
|
|
165
|
-
[HuspyIcons.
|
|
166
|
-
[HuspyIcons.
|
|
167
|
-
[HuspyIcons.
|
|
168
|
-
[HuspyIcons.
|
|
169
|
-
[HuspyIcons.
|
|
170
|
-
[HuspyIcons.
|
|
171
|
-
[HuspyIcons.
|
|
172
|
-
[HuspyIcons.
|
|
173
|
-
[HuspyIcons.
|
|
174
|
-
[HuspyIcons.
|
|
175
|
-
[HuspyIcons.
|
|
176
|
-
[HuspyIcons.
|
|
177
|
-
[HuspyIcons.
|
|
178
|
-
[HuspyIcons.
|
|
179
|
-
[HuspyIcons.
|
|
180
|
-
[HuspyIcons.
|
|
181
|
-
[HuspyIcons.
|
|
182
|
-
[HuspyIcons.
|
|
183
|
-
[HuspyIcons.
|
|
140
|
+
[HuspyIcons.Promotion]: "61708",
|
|
141
|
+
[HuspyIcons.Plus]: "61709",
|
|
142
|
+
[HuspyIcons.Payments]: "61710",
|
|
143
|
+
[HuspyIcons.Note]: "61711",
|
|
144
|
+
[HuspyIcons.Mortgage]: "61712",
|
|
145
|
+
[HuspyIcons.MapPin]: "61713",
|
|
146
|
+
[HuspyIcons.Mail]: "61714",
|
|
147
|
+
[HuspyIcons.Logout]: "61715",
|
|
148
|
+
[HuspyIcons.Lock]: "61716",
|
|
149
|
+
[HuspyIcons.LeadsLinear]: "61717",
|
|
150
|
+
[HuspyIcons.LeadsFilled]: "61718",
|
|
151
|
+
[HuspyIcons.Keys01]: "61719",
|
|
152
|
+
[HuspyIcons.IconSlot]: "61720",
|
|
153
|
+
[HuspyIcons.HomeLinear]: "61721",
|
|
154
|
+
[HuspyIcons.HomeFilled]: "61722",
|
|
155
|
+
[HuspyIcons.HelpCircle]: "61723",
|
|
156
|
+
[HuspyIcons.FingerprintAndroid]: "61724",
|
|
157
|
+
[HuspyIcons.FileText]: "61725",
|
|
158
|
+
[HuspyIcons.FileSpreadsheet]: "61726",
|
|
159
|
+
[HuspyIcons.FileSignature]: "61727",
|
|
160
|
+
[HuspyIcons.FileLock]: "61728",
|
|
161
|
+
[HuspyIcons.FileKey]: "61729",
|
|
162
|
+
[HuspyIcons.FileInput]: "61730",
|
|
163
|
+
[HuspyIcons.FileCheck]: "61731",
|
|
164
|
+
[HuspyIcons.FaceId]: "61732",
|
|
165
|
+
[HuspyIcons.EyeVisible]: "61733",
|
|
166
|
+
[HuspyIcons.EyeHidden]: "61734",
|
|
167
|
+
[HuspyIcons.ExploreLinear]: "61735",
|
|
168
|
+
[HuspyIcons.ExploreFilled]: "61736",
|
|
169
|
+
[HuspyIcons.Edit]: "61737",
|
|
170
|
+
[HuspyIcons.ChevronUp]: "61738",
|
|
171
|
+
[HuspyIcons.ChevronRight]: "61739",
|
|
172
|
+
[HuspyIcons.ChevronLeft]: "61740",
|
|
173
|
+
[HuspyIcons.ChevronDown]: "61741",
|
|
174
|
+
[HuspyIcons.Check]: "61742",
|
|
175
|
+
[HuspyIcons.Cancel]: "61743",
|
|
176
|
+
[HuspyIcons.CancelCircleSolid]: "61744",
|
|
177
|
+
[HuspyIcons.Building]: "61745",
|
|
178
|
+
[HuspyIcons.Bell]: "61746",
|
|
179
|
+
[HuspyIcons.BedDouble]: "61747",
|
|
180
|
+
[HuspyIcons.ArrowUp]: "61748",
|
|
181
|
+
[HuspyIcons.ArrowUpRight]: "61749",
|
|
182
|
+
[HuspyIcons.ArrowUpLeft]: "61750",
|
|
183
|
+
[HuspyIcons.ArrowUpDown]: "61751",
|
|
184
|
+
[HuspyIcons.ArrowRight]: "61752",
|
|
185
|
+
[HuspyIcons.ArrowLeft]: "61753",
|
|
186
|
+
[HuspyIcons.ArrowDown]: "61754",
|
|
187
|
+
[HuspyIcons.ArrowDownRight]: "61755",
|
|
188
|
+
[HuspyIcons.ArrowDownLeft]: "61756",
|
|
189
|
+
[HuspyIcons.AlertTriangle]: "61757",
|
|
184
190
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/native/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { TextProps } from 'react-native';
|
|
|
4
4
|
/**
|
|
5
5
|
* Available icon names in the HuspyIcons font
|
|
6
6
|
*/
|
|
7
|
-
type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
|
|
7
|
+
type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';
|
|
8
8
|
/**
|
|
9
9
|
* Mapping of icon names to unicode codepoints
|
|
10
10
|
* Used by the Icon component to render the correct glyph
|
package/dist/native/index.js
CHANGED
|
@@ -53,54 +53,56 @@ var glyphMap = {
|
|
|
53
53
|
"rent": 61705,
|
|
54
54
|
"properties-linear": 61706,
|
|
55
55
|
"properties-filled": 61707,
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"leads-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"home-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"file-
|
|
74
|
-
"file-
|
|
75
|
-
"file-
|
|
76
|
-
"file-
|
|
77
|
-
"file-
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"chevron-
|
|
87
|
-
"chevron-
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"arrow-up
|
|
97
|
-
"arrow-up-
|
|
98
|
-
"arrow-
|
|
99
|
-
"arrow-
|
|
100
|
-
"arrow-
|
|
101
|
-
"arrow-
|
|
102
|
-
"arrow-down
|
|
103
|
-
"
|
|
56
|
+
"promotion": 61708,
|
|
57
|
+
"plus": 61709,
|
|
58
|
+
"payments": 61710,
|
|
59
|
+
"note": 61711,
|
|
60
|
+
"mortgage": 61712,
|
|
61
|
+
"map-pin": 61713,
|
|
62
|
+
"mail": 61714,
|
|
63
|
+
"logout": 61715,
|
|
64
|
+
"lock": 61716,
|
|
65
|
+
"leads-linear": 61717,
|
|
66
|
+
"leads-filled": 61718,
|
|
67
|
+
"keys_01": 61719,
|
|
68
|
+
"icon-slot": 61720,
|
|
69
|
+
"home-linear": 61721,
|
|
70
|
+
"home-filled": 61722,
|
|
71
|
+
"help-circle": 61723,
|
|
72
|
+
"fingerprint-android": 61724,
|
|
73
|
+
"file-text": 61725,
|
|
74
|
+
"file-spreadsheet": 61726,
|
|
75
|
+
"file-signature": 61727,
|
|
76
|
+
"file-lock": 61728,
|
|
77
|
+
"file-key": 61729,
|
|
78
|
+
"file-input": 61730,
|
|
79
|
+
"file-check": 61731,
|
|
80
|
+
"face-id": 61732,
|
|
81
|
+
"eye-visible": 61733,
|
|
82
|
+
"eye-hidden": 61734,
|
|
83
|
+
"explore-linear": 61735,
|
|
84
|
+
"explore-filled": 61736,
|
|
85
|
+
"edit": 61737,
|
|
86
|
+
"chevron-up": 61738,
|
|
87
|
+
"chevron-right": 61739,
|
|
88
|
+
"chevron-left": 61740,
|
|
89
|
+
"chevron-down": 61741,
|
|
90
|
+
"check": 61742,
|
|
91
|
+
"cancel": 61743,
|
|
92
|
+
"cancel-circle-solid": 61744,
|
|
93
|
+
"building": 61745,
|
|
94
|
+
"bell": 61746,
|
|
95
|
+
"bed-double": 61747,
|
|
96
|
+
"arrow-up": 61748,
|
|
97
|
+
"arrow-up-right": 61749,
|
|
98
|
+
"arrow-up-left": 61750,
|
|
99
|
+
"arrow-up-down": 61751,
|
|
100
|
+
"arrow-right": 61752,
|
|
101
|
+
"arrow-left": 61753,
|
|
102
|
+
"arrow-down": 61754,
|
|
103
|
+
"arrow-down-right": 61755,
|
|
104
|
+
"arrow-down-left": 61756,
|
|
105
|
+
"alert-triangle": 61757
|
|
104
106
|
};
|
|
105
107
|
var fontFamily = "HuspyIcons";
|
|
106
108
|
|
package/dist/native/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"
|
|
1
|
+
{"version":3,"sources":["../../src/native/index.ts","../../src/native/Icon.tsx","../../src/native/glyphMap.ts"],"sourcesContent":["/**\n * Huspy Icons - React Native (Font-based)\n * \n * This package provides icon components for React Native using a custom font.\n * \n * @example\n * ```tsx\n * import { Icon } from 'huspy-icons/native';\n * \n * function MyComponent() {\n * return <Icon name=\"arrow-left\" size={24} color=\"#000\" />;\n * }\n * ```\n */\n\nexport { default as Icon } from './Icon';\nexport type { IconProps, IconName } from './Icon';\nexport { glyphMap, fontFamily } from './glyphMap';\n\n","import * as React from 'react';\nimport { Text, TextProps } from 'react-native';\nimport { glyphMap, fontFamily, IconName } from './glyphMap';\n\n/**\n * Props for the Icon component (React Native)\n */\nexport interface IconProps extends Omit<TextProps, 'children'> {\n /**\n * Name of the icon to display\n */\n name: IconName;\n\n /**\n * Size of the icon (default: 16)\n */\n size?: number;\n\n /**\n * Color of the icon (default: inherits from parent or 'black')\n */\n color?: string;\n}\n\n/**\n * Icon component for React Native\n *\n * Renders icons using a custom font (HuspyIcons)\n *\n * @example\n * ```tsx\n * <Icon name=\"arrow-left\" size={24} color=\"#000\" />\n * ```\n */\nconst Icon = ({ name, size = 16, color = '#000', style, ...props }: IconProps) => {\n const codepoint = glyphMap[name];\n\n if (!codepoint) {\n if (__DEV__) {\n console.warn(`Icon \"${name}\" not found in HuspyIcons font`);\n }\n return null;\n }\n\n // Convert codepoint to character\n const glyph = String.fromCharCode(codepoint);\n\n return (\n <Text\n {...props}\n style={[\n {\n fontFamily: fontFamily,\n fontSize: size,\n color: color,\n // Ensure icon doesn't inherit text styles\n fontWeight: 'normal',\n fontStyle: 'normal',\n // Prevent text selection and ensure proper rendering\n includeFontPadding: false, // Android: removes extra padding\n textAlignVertical: 'center', // Android: centers the glyph vertically\n },\n style,\n ]}\n // Accessibility\n accessible\n accessibilityLabel={props.accessibilityLabel || name}\n accessibilityRole=\"image\"\n >\n {glyph}\n </Text>\n );\n};\n\nexport default Icon;\nexport type { IconName };\n","// Auto-generated by generate-font.js - do not edit manually\n// Source: icons-src/*.svg → dist/fonts/HuspyIcons.*\n\n/**\n * Available icon names in the HuspyIcons font\n */\nexport type IconName = 'whatsapp' | 'user' | 'trash-2' | 'size-3d' | 'share' | 'search' | 'search-x' | 'sale' | 'rent' | 'properties-linear' | 'properties-filled' | 'promotion' | 'plus' | 'payments' | 'note' | 'mortgage' | 'map-pin' | 'mail' | 'logout' | 'lock' | 'leads-linear' | 'leads-filled' | 'keys_01' | 'icon-slot' | 'home-linear' | 'home-filled' | 'help-circle' | 'fingerprint-android' | 'file-text' | 'file-spreadsheet' | 'file-signature' | 'file-lock' | 'file-key' | 'file-input' | 'file-check' | 'face-id' | 'eye-visible' | 'eye-hidden' | 'explore-linear' | 'explore-filled' | 'edit' | 'chevron-up' | 'chevron-right' | 'chevron-left' | 'chevron-down' | 'check' | 'cancel' | 'cancel-circle-solid' | 'building' | 'bell' | 'bed-double' | 'arrow-up' | 'arrow-up-right' | 'arrow-up-left' | 'arrow-up-down' | 'arrow-right' | 'arrow-left' | 'arrow-down' | 'arrow-down-right' | 'arrow-down-left' | 'alert-triangle';\n\n/**\n * Mapping of icon names to unicode codepoints\n * Used by the Icon component to render the correct glyph\n */\nexport const glyphMap: Record<IconName, number> = {\n \"whatsapp\": 61697,\n \"user\": 61698,\n \"trash-2\": 61699,\n \"size-3d\": 61700,\n \"share\": 61701,\n \"search\": 61702,\n \"search-x\": 61703,\n \"sale\": 61704,\n \"rent\": 61705,\n \"properties-linear\": 61706,\n \"properties-filled\": 61707,\n \"promotion\": 61708,\n \"plus\": 61709,\n \"payments\": 61710,\n \"note\": 61711,\n \"mortgage\": 61712,\n \"map-pin\": 61713,\n \"mail\": 61714,\n \"logout\": 61715,\n \"lock\": 61716,\n \"leads-linear\": 61717,\n \"leads-filled\": 61718,\n \"keys_01\": 61719,\n \"icon-slot\": 61720,\n \"home-linear\": 61721,\n \"home-filled\": 61722,\n \"help-circle\": 61723,\n \"fingerprint-android\": 61724,\n \"file-text\": 61725,\n \"file-spreadsheet\": 61726,\n \"file-signature\": 61727,\n \"file-lock\": 61728,\n \"file-key\": 61729,\n \"file-input\": 61730,\n \"file-check\": 61731,\n \"face-id\": 61732,\n \"eye-visible\": 61733,\n \"eye-hidden\": 61734,\n \"explore-linear\": 61735,\n \"explore-filled\": 61736,\n \"edit\": 61737,\n \"chevron-up\": 61738,\n \"chevron-right\": 61739,\n \"chevron-left\": 61740,\n \"chevron-down\": 61741,\n \"check\": 61742,\n \"cancel\": 61743,\n \"cancel-circle-solid\": 61744,\n \"building\": 61745,\n \"bell\": 61746,\n \"bed-double\": 61747,\n \"arrow-up\": 61748,\n \"arrow-up-right\": 61749,\n \"arrow-up-left\": 61750,\n \"arrow-up-down\": 61751,\n \"arrow-right\": 61752,\n \"arrow-left\": 61753,\n \"arrow-down\": 61754,\n \"arrow-down-right\": 61755,\n \"arrow-down-left\": 61756,\n \"alert-triangle\": 61757\n};\n\n/**\n * Font family name for React Native\n */\nexport const fontFamily = 'HuspyIcons';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,YAAuB;AACvB,0BAAgC;;;ACWzB,IAAM,WAAqC;AAAA,EAChD,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,WAAW;AAAA,EACX,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,eAAe;AAAA,EACf,uBAAuB;AAAA,EACvB,aAAa;AAAA,EACb,oBAAoB;AAAA,EACpB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,cAAc;AAAA,EACd,WAAW;AAAA,EACX,eAAe;AAAA,EACf,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,cAAc;AAAA,EACd,cAAc;AAAA,EACd,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AACpB;AAKO,IAAM,aAAa;;;AD7C1B,IAAM,OAAO,CAAC,EAAE,MAAM,OAAO,IAAI,QAAQ,QAAQ,OAAO,GAAG,MAAM,MAAiB;AAChF,QAAM,YAAY,SAAS,IAAI;AAE/B,MAAI,CAAC,WAAW;AACd,QAAI,SAAS;AACX,cAAQ,KAAK,SAAS,IAAI,gCAAgC;AAAA,IAC5D;AACA,WAAO;AAAA,EACT;AAGA,QAAM,QAAQ,OAAO,aAAa,SAAS;AAE3C,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,OAAO;AAAA,QACL;AAAA,UACE;AAAA,UACA,UAAU;AAAA,UACV;AAAA;AAAA,UAEA,YAAY;AAAA,UACZ,WAAW;AAAA;AAAA,UAEX,oBAAoB;AAAA;AAAA,UACpB,mBAAmB;AAAA;AAAA,QACrB;AAAA,QACA;AAAA,MACF;AAAA,MAEA,YAAU;AAAA,MACV,oBAAoB,MAAM,sBAAsB;AAAA,MAChD,mBAAkB;AAAA;AAAA,IAEjB;AAAA,EACH;AAEJ;AAEA,IAAO,eAAQ;","names":[]}
|