@ecohouse/ui 0.1.47 → 0.1.49
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.cjs +216 -189
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +128 -103
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/icons/Deactivate/DeactivateIcon.tsx +14 -0
- package/src/icons/Deactivate/DeactivateIcon.web.tsx +20 -0
- package/src/icons/Deactivate/deactivatePath.ts +2 -0
- package/src/icons/Deactivate/index.ts +1 -0
- package/src/icons/Unlock/UnlockIcon.tsx +20 -0
- package/src/icons/Unlock/UnlockIcon.web.tsx +26 -0
- package/src/icons/Unlock/index.ts +1 -0
- package/src/icons/Unlock/unlockPath.ts +2 -0
- package/src/icons/index.ts +2 -0
- package/src/icons/registry.ts +6 -0
- package/src/index.ts +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Svg, { Path } from "react-native-svg";
|
|
2
|
+
import { colors } from "../../theme";
|
|
3
|
+
import type { IconProps } from "../types";
|
|
4
|
+
import { DEACTIVATE_PATH } from "./deactivatePath";
|
|
5
|
+
|
|
6
|
+
export { DEACTIVATE_PATH } from "./deactivatePath";
|
|
7
|
+
|
|
8
|
+
export function DeactivateIcon({ size = 16, color = colors.grey0 }: IconProps) {
|
|
9
|
+
return (
|
|
10
|
+
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
11
|
+
<Path d={DEACTIVATE_PATH} fill={color} />
|
|
12
|
+
</Svg>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DEACTIVATE_PATH } from "./deactivatePath";
|
|
2
|
+
import { colors } from "../../theme";
|
|
3
|
+
import type { IconProps } from "../types";
|
|
4
|
+
|
|
5
|
+
export function DeactivateIcon({ size = 16, color = colors.grey0 }: IconProps) {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
width={size}
|
|
9
|
+
height={size}
|
|
10
|
+
viewBox="0 0 16 16"
|
|
11
|
+
fill="none"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
aria-hidden
|
|
14
|
+
>
|
|
15
|
+
<path d={DEACTIVATE_PATH} fill={color} />
|
|
16
|
+
</svg>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { DEACTIVATE_PATH } from "./deactivatePath";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const DEACTIVATE_PATH =
|
|
2
|
+
"M7.9987 1.33398C6.68016 1.33398 5.39123 1.72498 4.2949 2.45752C3.19857 3.19006 2.34409 4.23125 1.8395 5.44943C1.33492 6.6676 1.2029 8.00805 1.46013 9.30125C1.71737 10.5945 2.35231 11.7823 3.28466 12.7147C4.21701 13.647 5.40489 14.282 6.6981 14.5392C7.99131 14.7965 9.33175 14.6644 10.5499 14.1598C11.7681 13.6553 12.8093 12.8008 13.5418 11.7045C14.2744 10.6081 14.6654 9.31919 14.6654 8.00065C14.6654 7.12517 14.4929 6.25827 14.1579 5.44943C13.8229 4.64059 13.3318 3.90566 12.7127 3.28661C12.0937 2.66755 11.3588 2.17649 10.5499 1.84145C9.74109 1.50642 8.87418 1.33398 7.9987 1.33398ZM7.9987 13.334C6.58421 13.334 5.22766 12.7721 4.22746 11.7719C3.22727 10.7717 2.66537 9.41514 2.66537 8.00065C2.66389 6.81621 3.06071 5.66568 3.79203 4.73398L11.2654 12.2073C10.3337 12.9386 9.18314 13.3355 7.9987 13.334ZM12.2054 11.2673L4.73203 3.79398C5.66373 3.06266 6.81426 2.66584 7.9987 2.66732C9.41319 2.66732 10.7697 3.22922 11.7699 4.22941C12.7701 5.22961 13.332 6.58616 13.332 8.00065C13.3335 9.18509 12.9367 10.3356 12.2054 11.2673Z";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DeactivateIcon, DEACTIVATE_PATH } from "./DeactivateIcon";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Svg, { Path } from "react-native-svg";
|
|
2
|
+
import { colors } from "../../theme";
|
|
3
|
+
import type { IconProps } from "../types";
|
|
4
|
+
import { UNLOCK_PATH } from "./unlockPath";
|
|
5
|
+
|
|
6
|
+
export { UNLOCK_PATH } from "./unlockPath";
|
|
7
|
+
|
|
8
|
+
export function UnlockIcon({ size = 16, color = colors.grey0, strokeWidth = 1.5 }: IconProps) {
|
|
9
|
+
return (
|
|
10
|
+
<Svg width={size} height={size} viewBox="0 0 16 16" fill="none">
|
|
11
|
+
<Path
|
|
12
|
+
d={UNLOCK_PATH}
|
|
13
|
+
stroke={color}
|
|
14
|
+
strokeWidth={strokeWidth}
|
|
15
|
+
strokeLinecap="round"
|
|
16
|
+
strokeLinejoin="round"
|
|
17
|
+
/>
|
|
18
|
+
</Svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UNLOCK_PATH } from "./unlockPath";
|
|
2
|
+
import { colors } from "../../theme";
|
|
3
|
+
import type { IconProps } from "../types";
|
|
4
|
+
|
|
5
|
+
export function UnlockIcon({ size = 16, color = colors.grey0, strokeWidth = 1.5 }: IconProps) {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
width={size}
|
|
9
|
+
height={size}
|
|
10
|
+
viewBox="0 0 16 16"
|
|
11
|
+
fill="none"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
aria-hidden
|
|
14
|
+
>
|
|
15
|
+
<path
|
|
16
|
+
d={UNLOCK_PATH}
|
|
17
|
+
stroke={color}
|
|
18
|
+
strokeWidth={strokeWidth}
|
|
19
|
+
strokeLinecap="round"
|
|
20
|
+
strokeLinejoin="round"
|
|
21
|
+
/>
|
|
22
|
+
</svg>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { UNLOCK_PATH } from "./unlockPath";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { UnlockIcon, UNLOCK_PATH } from "./UnlockIcon";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const UNLOCK_PATH =
|
|
2
|
+
"M4.66797 7.33333V5.33333C4.66797 3.49238 6.16035 2 8.0013 2C9.61394 2 10.9591 3.14517 11.268 4.66667M5.86797 14H10.1346C11.2547 14 11.8148 14 12.2426 13.782C12.6189 13.5903 12.9249 13.2843 13.1166 12.908C13.3346 12.4802 13.3346 11.9201 13.3346 10.8V10.5333C13.3346 9.41323 13.3346 8.85318 13.1166 8.42535C12.9249 8.04903 12.6189 7.74307 12.2426 7.55132C11.8148 7.33333 11.2547 7.33333 10.1346 7.33333H5.86797C4.74786 7.33333 4.18781 7.33333 3.75999 7.55132C3.38366 7.74307 3.0777 8.04903 2.88596 8.42535C2.66797 8.85318 2.66797 9.41323 2.66797 10.5333V10.8C2.66797 11.9201 2.66797 12.4802 2.88596 12.908C3.0777 13.2843 3.38366 13.5903 3.75999 13.782C4.18781 14 4.74786 14 5.86797 14Z";
|
package/src/icons/index.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { CloseIcon } from "./Close";
|
|
|
31
31
|
export { CloudUploadIcon } from "./CloudUpload";
|
|
32
32
|
export { NoReviewIcon } from "./NoReview";
|
|
33
33
|
export { CurrentLocationIcon } from "./CurrentLocation";
|
|
34
|
+
export { DeactivateIcon } from "./Deactivate";
|
|
34
35
|
export { EditIcon } from "./Edit";
|
|
35
36
|
export { EyeIcon } from "./Eye";
|
|
36
37
|
export {
|
|
@@ -104,6 +105,7 @@ export { StarOutlineIcon } from "./StarOutline";
|
|
|
104
105
|
export { SunIcon } from "./Sun";
|
|
105
106
|
export { TableViewIcon } from "./TableView";
|
|
106
107
|
export { TotalGuestsIcon } from "./TotalGuests";
|
|
108
|
+
export { UnlockIcon } from "./Unlock";
|
|
107
109
|
export { UserIcon } from "./User";
|
|
108
110
|
export { UsersAltIcon } from "./UsersAlt";
|
|
109
111
|
export { VideoIcon } from "./Video";
|
package/src/icons/registry.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { ChevronDownIcon } from "./ChevronDown";
|
|
|
18
18
|
import { ChevronLeftIcon } from "./ChevronLeft";
|
|
19
19
|
import { ClockIcon } from "./Clock";
|
|
20
20
|
import { CloseIcon } from "./Close";
|
|
21
|
+
import { DeactivateIcon } from "./Deactivate";
|
|
21
22
|
import { CloudUploadIcon } from "./CloudUpload";
|
|
22
23
|
import { NoReviewIcon } from "./NoReview";
|
|
23
24
|
import { EditIcon } from "./Edit";
|
|
@@ -91,6 +92,7 @@ import { StarOutlineIcon } from "./StarOutline";
|
|
|
91
92
|
import { SunIcon } from "./Sun";
|
|
92
93
|
import { TableViewIcon } from "./TableView";
|
|
93
94
|
import { TotalGuestsIcon } from "./TotalGuests";
|
|
95
|
+
import { UnlockIcon } from "./Unlock";
|
|
94
96
|
import { UserIcon } from "./User";
|
|
95
97
|
import { UsersAltIcon } from "./UsersAlt";
|
|
96
98
|
import { VideoIcon } from "./Video";
|
|
@@ -122,6 +124,7 @@ export const icons = {
|
|
|
122
124
|
chevronLeft: ChevronLeftIcon,
|
|
123
125
|
clock: ClockIcon,
|
|
124
126
|
close: CloseIcon,
|
|
127
|
+
deactivate: DeactivateIcon,
|
|
125
128
|
cloudUpload: CloudUploadIcon,
|
|
126
129
|
noReview: NoReviewIcon,
|
|
127
130
|
edit: EditIcon,
|
|
@@ -186,6 +189,7 @@ export const icons = {
|
|
|
186
189
|
totalGuests: TotalGuestsIcon,
|
|
187
190
|
tooltipArrow: TooltipArrowIcon,
|
|
188
191
|
trash: TrashIcon,
|
|
192
|
+
unlock: UnlockIcon,
|
|
189
193
|
user: UserIcon,
|
|
190
194
|
usersAlt: UsersAltIcon,
|
|
191
195
|
video: VideoIcon,
|
|
@@ -242,6 +246,7 @@ export const iconGroups = {
|
|
|
242
246
|
"calendarMinus",
|
|
243
247
|
"calendarOutline",
|
|
244
248
|
"close",
|
|
249
|
+
"deactivate",
|
|
245
250
|
"cloudUpload",
|
|
246
251
|
"noReview",
|
|
247
252
|
"edit",
|
|
@@ -284,6 +289,7 @@ export const iconGroups = {
|
|
|
284
289
|
"qrCode",
|
|
285
290
|
"quietHours",
|
|
286
291
|
"trash",
|
|
292
|
+
"unlock",
|
|
287
293
|
"user",
|
|
288
294
|
"usersAlt",
|
|
289
295
|
"video",
|
package/src/index.ts
CHANGED
|
@@ -151,6 +151,7 @@ export {
|
|
|
151
151
|
CloudUploadIcon,
|
|
152
152
|
NoReviewIcon,
|
|
153
153
|
CurrentLocationIcon,
|
|
154
|
+
DeactivateIcon,
|
|
154
155
|
EditIcon,
|
|
155
156
|
BathroomsIcon,
|
|
156
157
|
BedroomsIcon,
|
|
@@ -216,6 +217,7 @@ export {
|
|
|
216
217
|
StarOutlineIcon,
|
|
217
218
|
SunIcon,
|
|
218
219
|
TableViewIcon,
|
|
220
|
+
UnlockIcon,
|
|
219
221
|
UserIcon,
|
|
220
222
|
UsersAltIcon,
|
|
221
223
|
TotalGuestsIcon,
|