@ecohouse/ui 0.1.18 → 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 +1089 -280
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -4
- package/dist/index.d.ts +61 -4
- package/dist/index.js +1035 -231
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Range/Range.stories.tsx +128 -0
- package/src/components/Range/Range.test.ts +78 -0
- package/src/components/Range/Range.tsx +755 -0
- package/src/components/Range/Range.types.ts +35 -0
- package/src/components/Range/Range.utils.ts +56 -0
- package/src/components/Range/index.ts +2 -0
- package/src/components/StatCard/StatCard.tsx +2 -1
- package/src/components/index.ts +3 -0
- 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/CottageCard/CottageCardIcons.tsx +8 -1
- package/src/icons/CottageCard/CottageCardIcons.web.tsx +8 -1
- 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 +13 -1
- package/src/primitives/FavoritesButton/FavoritesButton.stories.tsx +60 -0
- package/src/primitives/FavoritesButton/FavoritesButton.tsx +120 -0
- package/src/primitives/FavoritesButton/index.ts +2 -0
- package/src/primitives/index.ts +2 -0
package/dist/index.d.cts
CHANGED
|
@@ -20,6 +20,20 @@ interface MenuItemProps extends Omit<PressableProps, "onPress" | "disabled" | "s
|
|
|
20
20
|
}
|
|
21
21
|
declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<View>>;
|
|
22
22
|
|
|
23
|
+
interface FavoritesButtonProps extends Omit<PressableProps, "onPress" | "disabled" | "style" | "children" | "hitSlop"> {
|
|
24
|
+
/** Controlled favorite state. */
|
|
25
|
+
value?: boolean;
|
|
26
|
+
/** Initial state when the button is uncontrolled. */
|
|
27
|
+
defaultValue?: boolean;
|
|
28
|
+
/** Called with the next favorite state when pressed. */
|
|
29
|
+
onValueChange?: (value: boolean) => void;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
style?: StyleProp<ViewStyle>;
|
|
32
|
+
className?: string;
|
|
33
|
+
hitSlop?: PressableProps["hitSlop"];
|
|
34
|
+
}
|
|
35
|
+
declare const FavoritesButton: react.ForwardRefExoticComponent<FavoritesButtonProps & react.RefAttributes<react_native.View>>;
|
|
36
|
+
|
|
23
37
|
type BrandLogoVariant = "white" | "brand";
|
|
24
38
|
interface BrandLogoProps {
|
|
25
39
|
/** White for dark surfaces, or the Cortel brand color for light surfaces. */
|
|
@@ -132,7 +146,9 @@ declare function ChevronLeftIcon({ size, color, strokeWidth }: IconProps): react
|
|
|
132
146
|
|
|
133
147
|
declare function ClockIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
134
148
|
|
|
135
|
-
declare function
|
|
149
|
+
declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
150
|
+
|
|
151
|
+
declare function SaveHeartIcon({ size, color, strokeWidth, fillOpacity, }: IconProps): react.JSX.Element;
|
|
136
152
|
declare function RatingStarIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
137
153
|
declare function CardLocationIcon({ size, color, strokeWidth, secondaryColor, }: IconProps): react.JSX.Element;
|
|
138
154
|
declare function GuestsIcon({ size, color, fillOpacity }: IconProps): react.JSX.Element;
|
|
@@ -186,6 +202,9 @@ declare function MailIcon({ size, color, strokeWidth }: IconProps): react.JSX.El
|
|
|
186
202
|
/** Native — react-native-svg (peer dependency). */
|
|
187
203
|
declare function MapViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
188
204
|
|
|
205
|
+
declare function MapExpandIcon(props: IconProps): react.JSX.Element;
|
|
206
|
+
declare function MapCollapseIcon(props: IconProps): react.JSX.Element;
|
|
207
|
+
|
|
189
208
|
interface MenuIconProps extends IconProps {
|
|
190
209
|
open?: boolean;
|
|
191
210
|
}
|
|
@@ -265,6 +284,7 @@ declare const icons: {
|
|
|
265
284
|
readonly chevronDown: typeof ChevronDownIcon;
|
|
266
285
|
readonly chevronLeft: typeof ChevronLeftIcon;
|
|
267
286
|
readonly clock: typeof ClockIcon;
|
|
287
|
+
readonly close: typeof CloseIcon;
|
|
268
288
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
269
289
|
readonly copy: typeof CopyIcon;
|
|
270
290
|
readonly bathrooms: typeof BathroomsIcon;
|
|
@@ -286,6 +306,8 @@ declare const icons: {
|
|
|
286
306
|
readonly logOut: typeof LogOutIcon;
|
|
287
307
|
readonly mail: typeof MailIcon;
|
|
288
308
|
readonly mapView: typeof MapViewIcon;
|
|
309
|
+
readonly mapCollapse: typeof MapCollapseIcon;
|
|
310
|
+
readonly mapExpand: typeof MapExpandIcon;
|
|
289
311
|
readonly menu: typeof MenuIcon;
|
|
290
312
|
readonly minus: typeof MinusIcon;
|
|
291
313
|
readonly navigate: typeof NavigateIcon;
|
|
@@ -311,8 +333,8 @@ declare const icons: {
|
|
|
311
333
|
type IconName = keyof typeof icons;
|
|
312
334
|
declare const iconNames: IconName[];
|
|
313
335
|
declare const iconGroups: {
|
|
314
|
-
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapView", "menu", "navigate"];
|
|
315
|
-
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"];
|
|
316
338
|
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "qrCode", "user", "usersAlt", "video", "whatsApp"];
|
|
317
339
|
readonly communication: readonly ["mail", "phone"];
|
|
318
340
|
readonly social: readonly ["facebook", "instagram", "linkedin"];
|
|
@@ -641,6 +663,41 @@ interface CommentCardProps extends Omit<ViewProps, "style" | "children"> {
|
|
|
641
663
|
}
|
|
642
664
|
declare const CommentCard: react.ForwardRefExoticComponent<CommentCardProps & react.RefAttributes<View>>;
|
|
643
665
|
|
|
666
|
+
interface RangeValue {
|
|
667
|
+
from?: number;
|
|
668
|
+
to?: number;
|
|
669
|
+
}
|
|
670
|
+
interface RangeProps extends Omit<ViewProps, "style" | "children"> {
|
|
671
|
+
/** Lowest value represented by the track. */
|
|
672
|
+
min?: number;
|
|
673
|
+
/** Highest value represented by the track. */
|
|
674
|
+
max?: number;
|
|
675
|
+
/** Snapping increment for handle drag, track click, and accessibility actions. */
|
|
676
|
+
step?: number;
|
|
677
|
+
value?: RangeValue;
|
|
678
|
+
defaultValue?: RangeValue;
|
|
679
|
+
onValueChange?: (value: RangeValue) => void;
|
|
680
|
+
/** Localized empty-state text for the lower-bound input. Defaults to Armenian. */
|
|
681
|
+
fromPlaceholder?: string;
|
|
682
|
+
/** Localized empty-state text for the upper-bound input. Defaults to Armenian. */
|
|
683
|
+
toPlaceholder?: string;
|
|
684
|
+
/** Currency text rendered after both inputs. */
|
|
685
|
+
currency?: string;
|
|
686
|
+
/** Localized accessible name for the lower handle and input. Defaults to `fromPlaceholder`. */
|
|
687
|
+
fromAccessibilityLabel?: string;
|
|
688
|
+
/** Localized accessible name for the upper handle and input. Defaults to `toPlaceholder`. */
|
|
689
|
+
toAccessibilityLabel?: string;
|
|
690
|
+
disabled?: boolean;
|
|
691
|
+
/** Locale-aware display formatter. Keep this paired with `parseValue` when it adds separators. */
|
|
692
|
+
formatValue?: (value: number) => string;
|
|
693
|
+
/** Parses localized input text back to a numeric value. */
|
|
694
|
+
parseValue?: (value: string) => number | undefined;
|
|
695
|
+
style?: StyleProp<ViewStyle>;
|
|
696
|
+
className?: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare const Range: react.ForwardRefExoticComponent<RangeProps & react.RefAttributes<View>>;
|
|
700
|
+
|
|
644
701
|
declare const grey: {
|
|
645
702
|
readonly "0": "#767676";
|
|
646
703
|
readonly "0.5": "#6E6E6E";
|
|
@@ -929,4 +986,4 @@ declare const textareaTypography: {
|
|
|
929
986
|
};
|
|
930
987
|
};
|
|
931
988
|
|
|
932
|
-
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, 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, 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
|
@@ -20,6 +20,20 @@ interface MenuItemProps extends Omit<PressableProps, "onPress" | "disabled" | "s
|
|
|
20
20
|
}
|
|
21
21
|
declare const MenuItem: react.ForwardRefExoticComponent<MenuItemProps & react.RefAttributes<View>>;
|
|
22
22
|
|
|
23
|
+
interface FavoritesButtonProps extends Omit<PressableProps, "onPress" | "disabled" | "style" | "children" | "hitSlop"> {
|
|
24
|
+
/** Controlled favorite state. */
|
|
25
|
+
value?: boolean;
|
|
26
|
+
/** Initial state when the button is uncontrolled. */
|
|
27
|
+
defaultValue?: boolean;
|
|
28
|
+
/** Called with the next favorite state when pressed. */
|
|
29
|
+
onValueChange?: (value: boolean) => void;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
style?: StyleProp<ViewStyle>;
|
|
32
|
+
className?: string;
|
|
33
|
+
hitSlop?: PressableProps["hitSlop"];
|
|
34
|
+
}
|
|
35
|
+
declare const FavoritesButton: react.ForwardRefExoticComponent<FavoritesButtonProps & react.RefAttributes<react_native.View>>;
|
|
36
|
+
|
|
23
37
|
type BrandLogoVariant = "white" | "brand";
|
|
24
38
|
interface BrandLogoProps {
|
|
25
39
|
/** White for dark surfaces, or the Cortel brand color for light surfaces. */
|
|
@@ -132,7 +146,9 @@ declare function ChevronLeftIcon({ size, color, strokeWidth }: IconProps): react
|
|
|
132
146
|
|
|
133
147
|
declare function ClockIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
134
148
|
|
|
135
|
-
declare function
|
|
149
|
+
declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
150
|
+
|
|
151
|
+
declare function SaveHeartIcon({ size, color, strokeWidth, fillOpacity, }: IconProps): react.JSX.Element;
|
|
136
152
|
declare function RatingStarIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
137
153
|
declare function CardLocationIcon({ size, color, strokeWidth, secondaryColor, }: IconProps): react.JSX.Element;
|
|
138
154
|
declare function GuestsIcon({ size, color, fillOpacity }: IconProps): react.JSX.Element;
|
|
@@ -186,6 +202,9 @@ declare function MailIcon({ size, color, strokeWidth }: IconProps): react.JSX.El
|
|
|
186
202
|
/** Native — react-native-svg (peer dependency). */
|
|
187
203
|
declare function MapViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
188
204
|
|
|
205
|
+
declare function MapExpandIcon(props: IconProps): react.JSX.Element;
|
|
206
|
+
declare function MapCollapseIcon(props: IconProps): react.JSX.Element;
|
|
207
|
+
|
|
189
208
|
interface MenuIconProps extends IconProps {
|
|
190
209
|
open?: boolean;
|
|
191
210
|
}
|
|
@@ -265,6 +284,7 @@ declare const icons: {
|
|
|
265
284
|
readonly chevronDown: typeof ChevronDownIcon;
|
|
266
285
|
readonly chevronLeft: typeof ChevronLeftIcon;
|
|
267
286
|
readonly clock: typeof ClockIcon;
|
|
287
|
+
readonly close: typeof CloseIcon;
|
|
268
288
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
269
289
|
readonly copy: typeof CopyIcon;
|
|
270
290
|
readonly bathrooms: typeof BathroomsIcon;
|
|
@@ -286,6 +306,8 @@ declare const icons: {
|
|
|
286
306
|
readonly logOut: typeof LogOutIcon;
|
|
287
307
|
readonly mail: typeof MailIcon;
|
|
288
308
|
readonly mapView: typeof MapViewIcon;
|
|
309
|
+
readonly mapCollapse: typeof MapCollapseIcon;
|
|
310
|
+
readonly mapExpand: typeof MapExpandIcon;
|
|
289
311
|
readonly menu: typeof MenuIcon;
|
|
290
312
|
readonly minus: typeof MinusIcon;
|
|
291
313
|
readonly navigate: typeof NavigateIcon;
|
|
@@ -311,8 +333,8 @@ declare const icons: {
|
|
|
311
333
|
type IconName = keyof typeof icons;
|
|
312
334
|
declare const iconNames: IconName[];
|
|
313
335
|
declare const iconGroups: {
|
|
314
|
-
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "mapView", "menu", "navigate"];
|
|
315
|
-
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"];
|
|
316
338
|
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "qrCode", "user", "usersAlt", "video", "whatsApp"];
|
|
317
339
|
readonly communication: readonly ["mail", "phone"];
|
|
318
340
|
readonly social: readonly ["facebook", "instagram", "linkedin"];
|
|
@@ -641,6 +663,41 @@ interface CommentCardProps extends Omit<ViewProps, "style" | "children"> {
|
|
|
641
663
|
}
|
|
642
664
|
declare const CommentCard: react.ForwardRefExoticComponent<CommentCardProps & react.RefAttributes<View>>;
|
|
643
665
|
|
|
666
|
+
interface RangeValue {
|
|
667
|
+
from?: number;
|
|
668
|
+
to?: number;
|
|
669
|
+
}
|
|
670
|
+
interface RangeProps extends Omit<ViewProps, "style" | "children"> {
|
|
671
|
+
/** Lowest value represented by the track. */
|
|
672
|
+
min?: number;
|
|
673
|
+
/** Highest value represented by the track. */
|
|
674
|
+
max?: number;
|
|
675
|
+
/** Snapping increment for handle drag, track click, and accessibility actions. */
|
|
676
|
+
step?: number;
|
|
677
|
+
value?: RangeValue;
|
|
678
|
+
defaultValue?: RangeValue;
|
|
679
|
+
onValueChange?: (value: RangeValue) => void;
|
|
680
|
+
/** Localized empty-state text for the lower-bound input. Defaults to Armenian. */
|
|
681
|
+
fromPlaceholder?: string;
|
|
682
|
+
/** Localized empty-state text for the upper-bound input. Defaults to Armenian. */
|
|
683
|
+
toPlaceholder?: string;
|
|
684
|
+
/** Currency text rendered after both inputs. */
|
|
685
|
+
currency?: string;
|
|
686
|
+
/** Localized accessible name for the lower handle and input. Defaults to `fromPlaceholder`. */
|
|
687
|
+
fromAccessibilityLabel?: string;
|
|
688
|
+
/** Localized accessible name for the upper handle and input. Defaults to `toPlaceholder`. */
|
|
689
|
+
toAccessibilityLabel?: string;
|
|
690
|
+
disabled?: boolean;
|
|
691
|
+
/** Locale-aware display formatter. Keep this paired with `parseValue` when it adds separators. */
|
|
692
|
+
formatValue?: (value: number) => string;
|
|
693
|
+
/** Parses localized input text back to a numeric value. */
|
|
694
|
+
parseValue?: (value: string) => number | undefined;
|
|
695
|
+
style?: StyleProp<ViewStyle>;
|
|
696
|
+
className?: string;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
declare const Range: react.ForwardRefExoticComponent<RangeProps & react.RefAttributes<View>>;
|
|
700
|
+
|
|
644
701
|
declare const grey: {
|
|
645
702
|
readonly "0": "#767676";
|
|
646
703
|
readonly "0.5": "#6E6E6E";
|
|
@@ -929,4 +986,4 @@ declare const textareaTypography: {
|
|
|
929
986
|
};
|
|
930
987
|
};
|
|
931
988
|
|
|
932
|
-
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, 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, 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 };
|