@ecohouse/ui 0.1.44 → 0.1.45
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 +200 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +116 -99
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/icons/NoReview/NoReviewIcon.tsx +20 -0
- package/src/icons/NoReview/NoReviewIcon.web.tsx +19 -0
- package/src/icons/NoReview/index.ts +1 -0
- package/src/icons/NoReview/noReviewPath.ts +3 -0
- package/src/icons/index.ts +1 -0
- package/src/icons/registry.ts +3 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -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 { NO_REVIEW_PATH } from "./noReviewPath";
|
|
5
|
+
|
|
6
|
+
export { NO_REVIEW_PATH } from "./noReviewPath";
|
|
7
|
+
|
|
8
|
+
export function NoReviewIcon({ size = 20, color = colors.grey150, strokeWidth = 2 }: IconProps) {
|
|
9
|
+
return (
|
|
10
|
+
<Svg width={size} height={size} viewBox="0 0 20 20" fill="none">
|
|
11
|
+
<Path
|
|
12
|
+
d={NO_REVIEW_PATH}
|
|
13
|
+
stroke={color}
|
|
14
|
+
strokeWidth={strokeWidth}
|
|
15
|
+
strokeLinecap="round"
|
|
16
|
+
strokeLinejoin="round"
|
|
17
|
+
/>
|
|
18
|
+
</Svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { colors } from "../../theme";
|
|
2
|
+
import type { IconProps } from "../types";
|
|
3
|
+
import { NO_REVIEW_PATH } from "./noReviewPath";
|
|
4
|
+
|
|
5
|
+
export function NoReviewIcon({ size = 20, color = colors.grey150, strokeWidth = 2 }: IconProps) {
|
|
6
|
+
return (
|
|
7
|
+
<svg width={size} height={size} viewBox="0 0 20 20" fill="none" aria-hidden>
|
|
8
|
+
<path
|
|
9
|
+
d={NO_REVIEW_PATH}
|
|
10
|
+
stroke={color}
|
|
11
|
+
strokeWidth={strokeWidth}
|
|
12
|
+
strokeLinecap="round"
|
|
13
|
+
strokeLinejoin="round"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { NO_REVIEW_PATH } from "./noReviewPath";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NoReviewIcon, NO_REVIEW_PATH } from "./NoReviewIcon";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** No-review / empty comment path — 20×20 viewBox. */
|
|
2
|
+
export const NO_REVIEW_PATH =
|
|
3
|
+
"M8.33333 10.833L9.99999 9.16633M9.99999 9.16633L11.6666 7.49967M9.99999 9.16633L8.33333 7.49967M9.99999 9.16633L11.6666 10.833M5.93631 15.584L4.66634 16.6C3.97287 17.1547 3.62596 17.4322 3.33415 17.4326C3.08036 17.4328 2.84037 17.3174 2.68205 17.1191C2.5 16.891 2.5 16.4471 2.5 15.559V5.99984C2.5 5.06642 2.5 4.59936 2.68166 4.24284C2.84144 3.92924 3.09623 3.67445 3.40983 3.51466C3.76635 3.33301 4.23341 3.33301 5.16683 3.33301H14.8335C15.7669 3.33301 16.233 3.33301 16.5895 3.51466C16.9031 3.67445 17.1587 3.92924 17.3185 4.24284C17.5 4.59901 17.5 5.0655 17.5 5.9971V12.336C17.5 13.2676 17.5 13.7334 17.3185 14.0896C17.1587 14.4032 16.9036 14.6584 16.59 14.8182C16.2338 14.9997 15.7675 14.9997 14.8359 14.9997H7.60173C7.25503 14.9997 7.08231 14.9997 6.9165 15.0337C6.7694 15.0639 6.6268 15.1136 6.49307 15.182C6.34401 15.2581 6.21041 15.365 5.94565 15.5768L5.93631 15.584Z";
|
package/src/icons/index.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { ChevronLeftIcon } from "./ChevronLeft";
|
|
|
27
27
|
export { ClockIcon } from "./Clock";
|
|
28
28
|
export { CloseIcon } from "./Close";
|
|
29
29
|
export { CloudUploadIcon } from "./CloudUpload";
|
|
30
|
+
export { NoReviewIcon } from "./NoReview";
|
|
30
31
|
export { CurrentLocationIcon } from "./CurrentLocation";
|
|
31
32
|
export { EditIcon } from "./Edit";
|
|
32
33
|
export { EyeIcon } from "./Eye";
|
package/src/icons/registry.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { ChevronLeftIcon } from "./ChevronLeft";
|
|
|
17
17
|
import { ClockIcon } from "./Clock";
|
|
18
18
|
import { CloseIcon } from "./Close";
|
|
19
19
|
import { CloudUploadIcon } from "./CloudUpload";
|
|
20
|
+
import { NoReviewIcon } from "./NoReview";
|
|
20
21
|
import { EditIcon } from "./Edit";
|
|
21
22
|
import { EyeIcon } from "./Eye";
|
|
22
23
|
import {
|
|
@@ -117,6 +118,7 @@ export const icons = {
|
|
|
117
118
|
clock: ClockIcon,
|
|
118
119
|
close: CloseIcon,
|
|
119
120
|
cloudUpload: CloudUploadIcon,
|
|
121
|
+
noReview: NoReviewIcon,
|
|
120
122
|
edit: EditIcon,
|
|
121
123
|
clockFilled: ClockFilledIcon,
|
|
122
124
|
copy: CopyIcon,
|
|
@@ -235,6 +237,7 @@ export const iconGroups = {
|
|
|
235
237
|
"calendarOutline",
|
|
236
238
|
"close",
|
|
237
239
|
"cloudUpload",
|
|
240
|
+
"noReview",
|
|
238
241
|
"edit",
|
|
239
242
|
"ratingStar",
|
|
240
243
|
"saveHeart",
|