@ecohouse/ui 0.1.19 → 0.1.20
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 +159 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +106 -58
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/StatCard/StatCard.tsx +2 -1
- package/src/icons/Close/CloseIcon.tsx +18 -0
- package/src/icons/Close/CloseIcon.web.tsx +17 -0
- package/src/icons/Close/closePath.ts +2 -0
- package/src/icons/Close/index.ts +2 -0
- package/src/icons/MapControls/MapControlIcons.tsx +31 -0
- package/src/icons/MapControls/MapControlIcons.web.tsx +30 -0
- package/src/icons/MapControls/index.ts +2 -0
- package/src/icons/MapControls/mapControlPaths.ts +4 -0
- package/src/icons/index.ts +2 -0
- package/src/icons/registry.ts +8 -0
- package/src/index.ts +3 -0
package/dist/index.d.cts
CHANGED
|
@@ -146,6 +146,8 @@ declare function ChevronLeftIcon({ size, color, strokeWidth }: IconProps): react
|
|
|
146
146
|
|
|
147
147
|
declare function ClockIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
148
148
|
|
|
149
|
+
declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
150
|
+
|
|
149
151
|
declare function SaveHeartIcon({ size, color, strokeWidth, fillOpacity, }: IconProps): react.JSX.Element;
|
|
150
152
|
declare function RatingStarIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
151
153
|
declare function CardLocationIcon({ size, color, strokeWidth, secondaryColor, }: IconProps): react.JSX.Element;
|
|
@@ -200,6 +202,9 @@ declare function MailIcon({ size, color, strokeWidth }: IconProps): react.JSX.El
|
|
|
200
202
|
/** Native — react-native-svg (peer dependency). */
|
|
201
203
|
declare function MapViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
202
204
|
|
|
205
|
+
declare function MapExpandIcon(props: IconProps): react.JSX.Element;
|
|
206
|
+
declare function MapCollapseIcon(props: IconProps): react.JSX.Element;
|
|
207
|
+
|
|
203
208
|
interface MenuIconProps extends IconProps {
|
|
204
209
|
open?: boolean;
|
|
205
210
|
}
|
|
@@ -279,6 +284,7 @@ declare const icons: {
|
|
|
279
284
|
readonly chevronDown: typeof ChevronDownIcon;
|
|
280
285
|
readonly chevronLeft: typeof ChevronLeftIcon;
|
|
281
286
|
readonly clock: typeof ClockIcon;
|
|
287
|
+
readonly close: typeof CloseIcon;
|
|
282
288
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
283
289
|
readonly copy: typeof CopyIcon;
|
|
284
290
|
readonly bathrooms: typeof BathroomsIcon;
|
|
@@ -300,6 +306,8 @@ declare const icons: {
|
|
|
300
306
|
readonly logOut: typeof LogOutIcon;
|
|
301
307
|
readonly mail: typeof MailIcon;
|
|
302
308
|
readonly mapView: typeof MapViewIcon;
|
|
309
|
+
readonly mapCollapse: typeof MapCollapseIcon;
|
|
310
|
+
readonly mapExpand: typeof MapExpandIcon;
|
|
303
311
|
readonly menu: typeof MenuIcon;
|
|
304
312
|
readonly minus: typeof MinusIcon;
|
|
305
313
|
readonly navigate: typeof NavigateIcon;
|
|
@@ -325,8 +333,8 @@ declare const icons: {
|
|
|
325
333
|
type IconName = keyof typeof icons;
|
|
326
334
|
declare const iconNames: IconName[];
|
|
327
335
|
declare const iconGroups: {
|
|
328
|
-
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapView", "menu", "navigate"];
|
|
329
|
-
readonly actions: readonly ["show", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "search", "calendar", "calendarOutline", "ratingStar", "saveHeart", "share", "filters", "heart", "star", "starFilled", "minus", "plus", "sort"];
|
|
336
|
+
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapCollapse", "mapExpand", "mapView", "menu", "navigate"];
|
|
337
|
+
readonly actions: readonly ["show", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "search", "calendar", "calendarOutline", "close", "ratingStar", "saveHeart", "share", "filters", "heart", "star", "starFilled", "minus", "plus", "sort"];
|
|
330
338
|
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "qrCode", "user", "usersAlt", "video", "whatsApp"];
|
|
331
339
|
readonly communication: readonly ["mail", "phone"];
|
|
332
340
|
readonly social: readonly ["facebook", "instagram", "linkedin"];
|
|
@@ -978,4 +986,4 @@ declare const textareaTypography: {
|
|
|
978
986
|
};
|
|
979
987
|
};
|
|
980
988
|
|
|
981
|
-
export { AreaExpandIcon, ArrowRightIcon, Avatar, type AvatarMenuItem, type AvatarProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarOutlineIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CommentCard, type CommentCardProps, CopyIcon, Counter, type CounterProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRange, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, GlobeIcon, type GreyStep, GuestsIcon, HeartIcon, HelpCircleIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LogOutIcon, MailIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MinusIcon, NavigateIcon, PhoneIcon, PlusIcon, QrCodeIcon, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, Textarea, type TextareaProps, Toggle, type ToggleProps, TooltipArrowIcon, UserIcon, UsersAltIcon, VideoIcon, WhatsAppIcon, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
989
|
+
export { AreaExpandIcon, ArrowRightIcon, Avatar, type AvatarMenuItem, type AvatarProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarOutlineIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CommentCard, type CommentCardProps, CopyIcon, Counter, type CounterProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRange, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, GlobeIcon, type GreyStep, GuestsIcon, HeartIcon, HelpCircleIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MinusIcon, NavigateIcon, PhoneIcon, PlusIcon, QrCodeIcon, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, Textarea, type TextareaProps, Toggle, type ToggleProps, TooltipArrowIcon, UserIcon, UsersAltIcon, VideoIcon, WhatsAppIcon, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
package/dist/index.d.ts
CHANGED
|
@@ -146,6 +146,8 @@ declare function ChevronLeftIcon({ size, color, strokeWidth }: IconProps): react
|
|
|
146
146
|
|
|
147
147
|
declare function ClockIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
148
148
|
|
|
149
|
+
declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
150
|
+
|
|
149
151
|
declare function SaveHeartIcon({ size, color, strokeWidth, fillOpacity, }: IconProps): react.JSX.Element;
|
|
150
152
|
declare function RatingStarIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
151
153
|
declare function CardLocationIcon({ size, color, strokeWidth, secondaryColor, }: IconProps): react.JSX.Element;
|
|
@@ -200,6 +202,9 @@ declare function MailIcon({ size, color, strokeWidth }: IconProps): react.JSX.El
|
|
|
200
202
|
/** Native — react-native-svg (peer dependency). */
|
|
201
203
|
declare function MapViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
202
204
|
|
|
205
|
+
declare function MapExpandIcon(props: IconProps): react.JSX.Element;
|
|
206
|
+
declare function MapCollapseIcon(props: IconProps): react.JSX.Element;
|
|
207
|
+
|
|
203
208
|
interface MenuIconProps extends IconProps {
|
|
204
209
|
open?: boolean;
|
|
205
210
|
}
|
|
@@ -279,6 +284,7 @@ declare const icons: {
|
|
|
279
284
|
readonly chevronDown: typeof ChevronDownIcon;
|
|
280
285
|
readonly chevronLeft: typeof ChevronLeftIcon;
|
|
281
286
|
readonly clock: typeof ClockIcon;
|
|
287
|
+
readonly close: typeof CloseIcon;
|
|
282
288
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
283
289
|
readonly copy: typeof CopyIcon;
|
|
284
290
|
readonly bathrooms: typeof BathroomsIcon;
|
|
@@ -300,6 +306,8 @@ declare const icons: {
|
|
|
300
306
|
readonly logOut: typeof LogOutIcon;
|
|
301
307
|
readonly mail: typeof MailIcon;
|
|
302
308
|
readonly mapView: typeof MapViewIcon;
|
|
309
|
+
readonly mapCollapse: typeof MapCollapseIcon;
|
|
310
|
+
readonly mapExpand: typeof MapExpandIcon;
|
|
303
311
|
readonly menu: typeof MenuIcon;
|
|
304
312
|
readonly minus: typeof MinusIcon;
|
|
305
313
|
readonly navigate: typeof NavigateIcon;
|
|
@@ -325,8 +333,8 @@ declare const icons: {
|
|
|
325
333
|
type IconName = keyof typeof icons;
|
|
326
334
|
declare const iconNames: IconName[];
|
|
327
335
|
declare const iconGroups: {
|
|
328
|
-
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapView", "menu", "navigate"];
|
|
329
|
-
readonly actions: readonly ["show", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "search", "calendar", "calendarOutline", "ratingStar", "saveHeart", "share", "filters", "heart", "star", "starFilled", "minus", "plus", "sort"];
|
|
336
|
+
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapCollapse", "mapExpand", "mapView", "menu", "navigate"];
|
|
337
|
+
readonly actions: readonly ["show", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "search", "calendar", "calendarOutline", "close", "ratingStar", "saveHeart", "share", "filters", "heart", "star", "starFilled", "minus", "plus", "sort"];
|
|
330
338
|
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "qrCode", "user", "usersAlt", "video", "whatsApp"];
|
|
331
339
|
readonly communication: readonly ["mail", "phone"];
|
|
332
340
|
readonly social: readonly ["facebook", "instagram", "linkedin"];
|
|
@@ -978,4 +986,4 @@ declare const textareaTypography: {
|
|
|
978
986
|
};
|
|
979
987
|
};
|
|
980
988
|
|
|
981
|
-
export { AreaExpandIcon, ArrowRightIcon, Avatar, type AvatarMenuItem, type AvatarProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarOutlineIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CommentCard, type CommentCardProps, CopyIcon, Counter, type CounterProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRange, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, GlobeIcon, type GreyStep, GuestsIcon, HeartIcon, HelpCircleIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LogOutIcon, MailIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MinusIcon, NavigateIcon, PhoneIcon, PlusIcon, QrCodeIcon, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, Textarea, type TextareaProps, Toggle, type ToggleProps, TooltipArrowIcon, UserIcon, UsersAltIcon, VideoIcon, WhatsAppIcon, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
989
|
+
export { AreaExpandIcon, ArrowRightIcon, Avatar, type AvatarMenuItem, type AvatarProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarOutlineIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CommentCard, type CommentCardProps, CopyIcon, Counter, type CounterProps, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DateRange, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, GlobeIcon, type GreyStep, GuestsIcon, HeartIcon, HelpCircleIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MinusIcon, NavigateIcon, PhoneIcon, PlusIcon, QrCodeIcon, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, Textarea, type TextareaProps, Toggle, type ToggleProps, TooltipArrowIcon, UserIcon, UsersAltIcon, VideoIcon, WhatsAppIcon, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|