@ecohouse/ui 0.1.48 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecohouse/ui",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Cross-platform presentation-only UI components for EcoHouse (React Native + React Native Web)",
@@ -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";
@@ -1,2 +1,2 @@
1
1
  export const UNLOCK_PATH =
2
- "M5.33333 7.33333V5.33333C5.33333 3.86057 6.52724 2.66667 8 2.66667C9.47276 2.66667 10.6667 3.86057 10.6667 5.33333M4 7.33333H12C12.7364 7.33333 13.3333 7.93029 13.3333 8.66667V12.6667C13.3333 13.403 12.7364 14 12 14H4C3.26362 14 2.66667 13.403 2.66667 12.6667V8.66667C2.66667 7.93029 3.26362 7.33333 4 7.33333Z";
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";
@@ -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 {
@@ -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";
@@ -123,6 +124,7 @@ export const icons = {
123
124
  chevronLeft: ChevronLeftIcon,
124
125
  clock: ClockIcon,
125
126
  close: CloseIcon,
127
+ deactivate: DeactivateIcon,
126
128
  cloudUpload: CloudUploadIcon,
127
129
  noReview: NoReviewIcon,
128
130
  edit: EditIcon,
@@ -244,6 +246,7 @@ export const iconGroups = {
244
246
  "calendarMinus",
245
247
  "calendarOutline",
246
248
  "close",
249
+ "deactivate",
247
250
  "cloudUpload",
248
251
  "noReview",
249
252
  "edit",
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,