@ecohouse/ui 0.1.43 → 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 +373 -199
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +289 -121
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.stories.tsx +5 -0
- package/src/components/Button/Button.tsx +34 -5
- package/src/components/Input/Input.tsx +6 -0
- package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +1 -1
- package/src/components/SegmentedToggle/SegmentedToggle.tsx +21 -1
- package/src/components/Select/Select.tsx +12 -3
- package/src/icons/Amenity/amenityPaths.ts +3 -10
- package/src/icons/Dram/DramIcon.tsx +14 -0
- package/src/icons/Dram/DramIcon.web.tsx +20 -0
- package/src/icons/Dram/dramPath.ts +2 -0
- package/src/icons/Dram/index.ts +1 -0
- package/src/icons/HouseRules/houseRulesPaths.ts +3 -3
- package/src/icons/NoPets/NoPetsIcon.tsx +23 -0
- package/src/icons/NoPets/NoPetsIcon.web.tsx +29 -0
- package/src/icons/NoPets/index.ts +1 -0
- package/src/icons/NoPets/noPetsPaths.ts +8 -0
- 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/StarOutline/StarOutlineIcon.tsx +24 -0
- package/src/icons/StarOutline/StarOutlineIcon.web.tsx +30 -0
- package/src/icons/StarOutline/index.ts +1 -0
- package/src/icons/StarOutline/starOutlinePath.ts +2 -0
- package/src/icons/Sun/SunIcon.tsx +20 -0
- package/src/icons/Sun/SunIcon.web.tsx +26 -0
- package/src/icons/Sun/index.ts +1 -0
- package/src/icons/Sun/sunPath.ts +2 -0
- package/src/icons/Washer/WasherIcon.tsx +25 -0
- package/src/icons/Washer/WasherIcon.web.tsx +31 -0
- package/src/icons/Washer/index.ts +1 -0
- package/src/icons/Washer/washerPaths.ts +28 -0
- package/src/icons/index.ts +6 -0
- package/src/icons/registry.ts +18 -0
- package/src/index.ts +6 -0
package/dist/index.d.cts
CHANGED
|
@@ -117,6 +117,8 @@ declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.E
|
|
|
117
117
|
|
|
118
118
|
declare function CloudUploadIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
119
119
|
|
|
120
|
+
declare function NoReviewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
121
|
+
|
|
120
122
|
declare function EditIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
121
123
|
|
|
122
124
|
declare function EyeIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
@@ -155,6 +157,8 @@ declare function CutleryIcon({ size, color }: IconProps): react.JSX.Element;
|
|
|
155
157
|
|
|
156
158
|
declare function DollarIcon({ size, color }: IconProps): react.JSX.Element;
|
|
157
159
|
|
|
160
|
+
declare function DramIcon({ size, color }: IconProps): react.JSX.Element;
|
|
161
|
+
|
|
158
162
|
declare function DragHandleIcon({ size, color }: IconProps): react.JSX.Element;
|
|
159
163
|
|
|
160
164
|
/** Native — react-native-svg (peer dependency). */
|
|
@@ -223,6 +227,8 @@ declare function MoreHorizontalIcon({ size, color, strokeWidth, }: IconProps): r
|
|
|
223
227
|
|
|
224
228
|
declare function NavigateIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
225
229
|
|
|
230
|
+
declare function NoPetsIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
231
|
+
|
|
226
232
|
declare function PhoneIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
227
233
|
|
|
228
234
|
declare function PlusIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
@@ -269,6 +275,10 @@ interface StarFilledIconProps extends IconProps {
|
|
|
269
275
|
/** Native — supplied solid orange 28×26 star icon. */
|
|
270
276
|
declare function StarFilledIcon({ size, height, color, strokeWidth, }: StarFilledIconProps): react.JSX.Element;
|
|
271
277
|
|
|
278
|
+
declare function StarOutlineIcon({ size, color, strokeWidth, }: IconProps): react.JSX.Element;
|
|
279
|
+
|
|
280
|
+
declare function SunIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
281
|
+
|
|
272
282
|
declare function TableViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
273
283
|
|
|
274
284
|
interface UserIconProps {
|
|
@@ -287,6 +297,8 @@ declare function VideoIcon({ size, color, strokeWidth }: IconProps): react.JSX.E
|
|
|
287
297
|
/** Video / camera off (24×24 viewBox). */
|
|
288
298
|
declare function VideoOffIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
289
299
|
|
|
300
|
+
declare function WasherIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
301
|
+
|
|
290
302
|
/** Exit-fullscreen / zoom-out corners control (24×24 viewBox). */
|
|
291
303
|
declare function ZoomOutIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
292
304
|
|
|
@@ -312,6 +324,7 @@ declare const icons: {
|
|
|
312
324
|
readonly clock: typeof ClockIcon;
|
|
313
325
|
readonly close: typeof CloseIcon;
|
|
314
326
|
readonly cloudUpload: typeof CloudUploadIcon;
|
|
327
|
+
readonly noReview: typeof NoReviewIcon;
|
|
315
328
|
readonly edit: typeof EditIcon;
|
|
316
329
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
317
330
|
readonly copy: typeof CopyIcon;
|
|
@@ -349,6 +362,7 @@ declare const icons: {
|
|
|
349
362
|
readonly moonStars: typeof MoonStarsIcon;
|
|
350
363
|
readonly moreHorizontal: typeof MoreHorizontalIcon;
|
|
351
364
|
readonly navigate: typeof NavigateIcon;
|
|
365
|
+
readonly noPets: typeof NoPetsIcon;
|
|
352
366
|
readonly noSmoking: typeof NoSmokingIcon;
|
|
353
367
|
readonly paw: typeof PawIcon;
|
|
354
368
|
readonly phone: typeof PhoneIcon;
|
|
@@ -367,6 +381,8 @@ declare const icons: {
|
|
|
367
381
|
readonly sort: typeof SortIcon;
|
|
368
382
|
readonly star: typeof StarIcon;
|
|
369
383
|
readonly starFilled: typeof StarFilledIcon;
|
|
384
|
+
readonly starOutline: typeof StarOutlineIcon;
|
|
385
|
+
readonly sun: typeof SunIcon;
|
|
370
386
|
readonly tableView: typeof TableViewIcon;
|
|
371
387
|
readonly tooltipArrow: typeof TooltipArrowIcon;
|
|
372
388
|
readonly trash: typeof TrashIcon;
|
|
@@ -374,8 +390,10 @@ declare const icons: {
|
|
|
374
390
|
readonly usersAlt: typeof UsersAltIcon;
|
|
375
391
|
readonly video: typeof VideoIcon;
|
|
376
392
|
readonly videoOff: typeof VideoOffIcon;
|
|
393
|
+
readonly washer: typeof WasherIcon;
|
|
377
394
|
readonly cutlery: typeof CutleryIcon;
|
|
378
395
|
readonly dollar: typeof DollarIcon;
|
|
396
|
+
readonly dram: typeof DramIcon;
|
|
379
397
|
readonly dragHandle: typeof DragHandleIcon;
|
|
380
398
|
readonly eye: typeof EyeIcon;
|
|
381
399
|
readonly image: typeof ImageIcon;
|
|
@@ -387,11 +405,11 @@ type IconName = keyof typeof icons;
|
|
|
387
405
|
declare const iconNames: IconName[];
|
|
388
406
|
declare const iconGroups: {
|
|
389
407
|
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "locationUser", "mapCollapse", "mapExpand", "mapView", "menu", "menuLines", "navigate", "tableView"];
|
|
390
|
-
readonly actions: readonly ["show", "hide", "alertTriangle", "ban", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "download", "dragHandle", "search", "calendar", "calendarMinus", "calendarOutline", "close", "cloudUpload", "edit", "ratingStar", "saveHeart", "share", "filters", "fullscreen", "heart", "headset", "zoomOut", "star", "starFilled", "minus", "moonStars", "moreHorizontal", "plus", "refresh", "refundStatus", "sort"];
|
|
391
|
-
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "lock", "noSmoking", "paw", "qrCode", "quietHours", "trash", "user", "usersAlt", "video", "videoOff", "whatsApp"];
|
|
408
|
+
readonly actions: readonly ["show", "hide", "alertTriangle", "ban", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "download", "dragHandle", "search", "calendar", "calendarMinus", "calendarOutline", "close", "cloudUpload", "noReview", "edit", "ratingStar", "saveHeart", "share", "filters", "fullscreen", "heart", "headset", "zoomOut", "star", "starFilled", "starOutline", "sun", "minus", "moonStars", "moreHorizontal", "plus", "refresh", "refundStatus", "sort"];
|
|
409
|
+
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "lock", "noPets", "noSmoking", "paw", "qrCode", "quietHours", "trash", "user", "usersAlt", "video", "videoOff", "washer", "whatsApp"];
|
|
392
410
|
readonly communication: readonly ["mail", "phone"];
|
|
393
411
|
readonly social: readonly ["apple", "facebook", "googlePlay", "instagram", "linkedin"];
|
|
394
|
-
readonly interface: readonly ["areaExpand", "cutlery", "dollar", "eye", "globe", "layoutGrid", "sidebar", "settings", "helpCircle", "logOut", "image", "infoCircle", "tooltipArrow"];
|
|
412
|
+
readonly interface: readonly ["areaExpand", "cutlery", "dollar", "dram", "eye", "globe", "layoutGrid", "sidebar", "settings", "helpCircle", "logOut", "image", "infoCircle", "tooltipArrow"];
|
|
395
413
|
};
|
|
396
414
|
type IconGroup = keyof typeof iconGroups;
|
|
397
415
|
declare const iconGroupNames: IconGroup[];
|
|
@@ -853,6 +871,8 @@ interface ButtonProps extends Omit<TouchableOpacityProps, "onPress" | "disabled"
|
|
|
853
871
|
children?: ReactNode;
|
|
854
872
|
onPress: (event: GestureResponderEvent) => void;
|
|
855
873
|
disabled?: boolean;
|
|
874
|
+
/** Replaces the visible content with a centered spinner and prevents interaction. */
|
|
875
|
+
loading?: boolean;
|
|
856
876
|
variant?: ButtonVariant;
|
|
857
877
|
size?: ButtonSize;
|
|
858
878
|
showIcon?: boolean;
|
|
@@ -1623,4 +1643,4 @@ type ResolvePopoverAlignOptions = {
|
|
|
1623
1643
|
*/
|
|
1624
1644
|
declare function resolvePopoverAlign({ triggerRect, panelWidth, viewportWidth, padding, preferred, }: ResolvePopoverAlignOptions): PopoverAlign;
|
|
1625
1645
|
|
|
1626
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AccountHeader, type AccountHeaderProps, AlertTriangleIcon, Amenity, AmenityIcon, type AmenityIconProps, type AmenityName, type AmenityProps, type AmenityVariant, AppleIcon, AreaExpandIcon, ArrowLeftIcon, ArrowRightIcon, AutocompleteInput, type AutocompleteInputProps, type AutocompleteOption, Avatar, type AvatarMenuItem, type AvatarProps, AvatarSimple, type AvatarSimpleProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarMinusIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CloudUploadIcon, CommentCard, type CommentCardProps, ContactInfoCard, type ContactInfoCardProps, CopyIcon, Counter, type CounterProps, CurrentLocationIcon, CutleryIcon, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerVariant, type DateRange, DollarIcon, DownloadIcon, DragHandleIcon, Drawer, type DrawerProps, EditIcon, EyeIcon, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, FloatingActionButton, type FloatingActionButtonProps, FullscreenIcon, GlobeIcon, GooglePlayIcon, type GreyStep, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, IconStatusBadge, type IconStatusBadgeProps, ImageIcon, InfoCardV2, type InfoCardV2Props, InfoCircleIcon, InfoTile, type InfoTileProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, type LanguageSwitcherVariant, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MenuLinesIcon, MinusIcon, Modal, type ModalProps, MoonStarsIcon, MoreHorizontalIcon, NavigateIcon, NoSmokingIcon, PaginationDots, type PaginationDotsProps, PawIcon, PhoneIcon, PlusIcon, type PopoverAlign, QrCodeIcon, QuantityInput, type QuantityInputProps, QuietHoursIcon, RadioButton, type RadioButtonProps, type RadioButtonVariant, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, RefreshIcon, RefundStatusIcon, type ResolvePopoverAlignOptions, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, type SidebarItem, type SidebarProps, type SidebarUser, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, StatusBadge, type StatusBadgeProps, type StatusBadgeTone, StepList, type StepListProps, StepPager, type StepPagerProps, TableViewIcon, Textarea, type TextareaProps, Toggle, type ToggleProps, ToggleRow, type ToggleRowProps, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, type VerificationCodeInputHandle, type VerificationCodeInputProps, VideoIcon, VideoOffIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
1646
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AccountHeader, type AccountHeaderProps, AlertTriangleIcon, Amenity, AmenityIcon, type AmenityIconProps, type AmenityName, type AmenityProps, type AmenityVariant, AppleIcon, AreaExpandIcon, ArrowLeftIcon, ArrowRightIcon, AutocompleteInput, type AutocompleteInputProps, type AutocompleteOption, Avatar, type AvatarMenuItem, type AvatarProps, AvatarSimple, type AvatarSimpleProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarMinusIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CloudUploadIcon, CommentCard, type CommentCardProps, ContactInfoCard, type ContactInfoCardProps, CopyIcon, Counter, type CounterProps, CurrentLocationIcon, CutleryIcon, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerVariant, type DateRange, DollarIcon, DownloadIcon, DragHandleIcon, DramIcon, Drawer, type DrawerProps, EditIcon, EyeIcon, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, FloatingActionButton, type FloatingActionButtonProps, FullscreenIcon, GlobeIcon, GooglePlayIcon, type GreyStep, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, IconStatusBadge, type IconStatusBadgeProps, ImageIcon, InfoCardV2, type InfoCardV2Props, InfoCircleIcon, InfoTile, type InfoTileProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, type LanguageSwitcherVariant, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MenuLinesIcon, MinusIcon, Modal, type ModalProps, MoonStarsIcon, MoreHorizontalIcon, NavigateIcon, NoPetsIcon, NoReviewIcon, NoSmokingIcon, PaginationDots, type PaginationDotsProps, PawIcon, PhoneIcon, PlusIcon, type PopoverAlign, QrCodeIcon, QuantityInput, type QuantityInputProps, QuietHoursIcon, RadioButton, type RadioButtonProps, type RadioButtonVariant, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, RefreshIcon, RefundStatusIcon, type ResolvePopoverAlignOptions, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, type SidebarItem, type SidebarProps, type SidebarUser, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StarOutlineIcon, StatCard, type StatCardProps, StatusBadge, type StatusBadgeProps, type StatusBadgeTone, StepList, type StepListProps, StepPager, type StepPagerProps, SunIcon, TableViewIcon, Textarea, type TextareaProps, Toggle, type ToggleProps, ToggleRow, type ToggleRowProps, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, type VerificationCodeInputHandle, type VerificationCodeInputProps, VideoIcon, VideoOffIcon, WasherIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
package/dist/index.d.ts
CHANGED
|
@@ -117,6 +117,8 @@ declare function CloseIcon({ size, color, strokeWidth }: IconProps): react.JSX.E
|
|
|
117
117
|
|
|
118
118
|
declare function CloudUploadIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
119
119
|
|
|
120
|
+
declare function NoReviewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
121
|
+
|
|
120
122
|
declare function EditIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
121
123
|
|
|
122
124
|
declare function EyeIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
@@ -155,6 +157,8 @@ declare function CutleryIcon({ size, color }: IconProps): react.JSX.Element;
|
|
|
155
157
|
|
|
156
158
|
declare function DollarIcon({ size, color }: IconProps): react.JSX.Element;
|
|
157
159
|
|
|
160
|
+
declare function DramIcon({ size, color }: IconProps): react.JSX.Element;
|
|
161
|
+
|
|
158
162
|
declare function DragHandleIcon({ size, color }: IconProps): react.JSX.Element;
|
|
159
163
|
|
|
160
164
|
/** Native — react-native-svg (peer dependency). */
|
|
@@ -223,6 +227,8 @@ declare function MoreHorizontalIcon({ size, color, strokeWidth, }: IconProps): r
|
|
|
223
227
|
|
|
224
228
|
declare function NavigateIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
225
229
|
|
|
230
|
+
declare function NoPetsIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
231
|
+
|
|
226
232
|
declare function PhoneIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
227
233
|
|
|
228
234
|
declare function PlusIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
@@ -269,6 +275,10 @@ interface StarFilledIconProps extends IconProps {
|
|
|
269
275
|
/** Native — supplied solid orange 28×26 star icon. */
|
|
270
276
|
declare function StarFilledIcon({ size, height, color, strokeWidth, }: StarFilledIconProps): react.JSX.Element;
|
|
271
277
|
|
|
278
|
+
declare function StarOutlineIcon({ size, color, strokeWidth, }: IconProps): react.JSX.Element;
|
|
279
|
+
|
|
280
|
+
declare function SunIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
281
|
+
|
|
272
282
|
declare function TableViewIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
273
283
|
|
|
274
284
|
interface UserIconProps {
|
|
@@ -287,6 +297,8 @@ declare function VideoIcon({ size, color, strokeWidth }: IconProps): react.JSX.E
|
|
|
287
297
|
/** Video / camera off (24×24 viewBox). */
|
|
288
298
|
declare function VideoOffIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
289
299
|
|
|
300
|
+
declare function WasherIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
301
|
+
|
|
290
302
|
/** Exit-fullscreen / zoom-out corners control (24×24 viewBox). */
|
|
291
303
|
declare function ZoomOutIcon({ size, color, strokeWidth }: IconProps): react.JSX.Element;
|
|
292
304
|
|
|
@@ -312,6 +324,7 @@ declare const icons: {
|
|
|
312
324
|
readonly clock: typeof ClockIcon;
|
|
313
325
|
readonly close: typeof CloseIcon;
|
|
314
326
|
readonly cloudUpload: typeof CloudUploadIcon;
|
|
327
|
+
readonly noReview: typeof NoReviewIcon;
|
|
315
328
|
readonly edit: typeof EditIcon;
|
|
316
329
|
readonly clockFilled: typeof ClockFilledIcon;
|
|
317
330
|
readonly copy: typeof CopyIcon;
|
|
@@ -349,6 +362,7 @@ declare const icons: {
|
|
|
349
362
|
readonly moonStars: typeof MoonStarsIcon;
|
|
350
363
|
readonly moreHorizontal: typeof MoreHorizontalIcon;
|
|
351
364
|
readonly navigate: typeof NavigateIcon;
|
|
365
|
+
readonly noPets: typeof NoPetsIcon;
|
|
352
366
|
readonly noSmoking: typeof NoSmokingIcon;
|
|
353
367
|
readonly paw: typeof PawIcon;
|
|
354
368
|
readonly phone: typeof PhoneIcon;
|
|
@@ -367,6 +381,8 @@ declare const icons: {
|
|
|
367
381
|
readonly sort: typeof SortIcon;
|
|
368
382
|
readonly star: typeof StarIcon;
|
|
369
383
|
readonly starFilled: typeof StarFilledIcon;
|
|
384
|
+
readonly starOutline: typeof StarOutlineIcon;
|
|
385
|
+
readonly sun: typeof SunIcon;
|
|
370
386
|
readonly tableView: typeof TableViewIcon;
|
|
371
387
|
readonly tooltipArrow: typeof TooltipArrowIcon;
|
|
372
388
|
readonly trash: typeof TrashIcon;
|
|
@@ -374,8 +390,10 @@ declare const icons: {
|
|
|
374
390
|
readonly usersAlt: typeof UsersAltIcon;
|
|
375
391
|
readonly video: typeof VideoIcon;
|
|
376
392
|
readonly videoOff: typeof VideoOffIcon;
|
|
393
|
+
readonly washer: typeof WasherIcon;
|
|
377
394
|
readonly cutlery: typeof CutleryIcon;
|
|
378
395
|
readonly dollar: typeof DollarIcon;
|
|
396
|
+
readonly dram: typeof DramIcon;
|
|
379
397
|
readonly dragHandle: typeof DragHandleIcon;
|
|
380
398
|
readonly eye: typeof EyeIcon;
|
|
381
399
|
readonly image: typeof ImageIcon;
|
|
@@ -387,11 +405,11 @@ type IconName = keyof typeof icons;
|
|
|
387
405
|
declare const iconNames: IconName[];
|
|
388
406
|
declare const iconGroups: {
|
|
389
407
|
readonly navigation: readonly ["arrowRight", "chevronDown", "chevronLeft", "home", "listView", "locationPin", "locationUser", "mapCollapse", "mapExpand", "mapView", "menu", "menuLines", "navigate", "tableView"];
|
|
390
|
-
readonly actions: readonly ["show", "hide", "alertTriangle", "ban", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "download", "dragHandle", "search", "calendar", "calendarMinus", "calendarOutline", "close", "cloudUpload", "edit", "ratingStar", "saveHeart", "share", "filters", "fullscreen", "heart", "headset", "zoomOut", "star", "starFilled", "minus", "moonStars", "moreHorizontal", "plus", "refresh", "refundStatus", "sort"];
|
|
391
|
-
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "lock", "noSmoking", "paw", "qrCode", "quietHours", "trash", "user", "usersAlt", "video", "videoOff", "whatsApp"];
|
|
408
|
+
readonly actions: readonly ["show", "hide", "alertTriangle", "ban", "bell", "camera", "key", "check", "checkBadge", "checkSuccess", "copy", "download", "dragHandle", "search", "calendar", "calendarMinus", "calendarOutline", "close", "cloudUpload", "noReview", "edit", "ratingStar", "saveHeart", "share", "filters", "fullscreen", "heart", "headset", "zoomOut", "star", "starFilled", "starOutline", "sun", "minus", "moonStars", "moreHorizontal", "plus", "refresh", "refundStatus", "sort"];
|
|
409
|
+
readonly objects: readonly ["bag", "bathrooms", "bedrooms", "building", "cardLocation", "clock", "clockFilled", "guests", "lock", "noPets", "noSmoking", "paw", "qrCode", "quietHours", "trash", "user", "usersAlt", "video", "videoOff", "washer", "whatsApp"];
|
|
392
410
|
readonly communication: readonly ["mail", "phone"];
|
|
393
411
|
readonly social: readonly ["apple", "facebook", "googlePlay", "instagram", "linkedin"];
|
|
394
|
-
readonly interface: readonly ["areaExpand", "cutlery", "dollar", "eye", "globe", "layoutGrid", "sidebar", "settings", "helpCircle", "logOut", "image", "infoCircle", "tooltipArrow"];
|
|
412
|
+
readonly interface: readonly ["areaExpand", "cutlery", "dollar", "dram", "eye", "globe", "layoutGrid", "sidebar", "settings", "helpCircle", "logOut", "image", "infoCircle", "tooltipArrow"];
|
|
395
413
|
};
|
|
396
414
|
type IconGroup = keyof typeof iconGroups;
|
|
397
415
|
declare const iconGroupNames: IconGroup[];
|
|
@@ -853,6 +871,8 @@ interface ButtonProps extends Omit<TouchableOpacityProps, "onPress" | "disabled"
|
|
|
853
871
|
children?: ReactNode;
|
|
854
872
|
onPress: (event: GestureResponderEvent) => void;
|
|
855
873
|
disabled?: boolean;
|
|
874
|
+
/** Replaces the visible content with a centered spinner and prevents interaction. */
|
|
875
|
+
loading?: boolean;
|
|
856
876
|
variant?: ButtonVariant;
|
|
857
877
|
size?: ButtonSize;
|
|
858
878
|
showIcon?: boolean;
|
|
@@ -1623,4 +1643,4 @@ type ResolvePopoverAlignOptions = {
|
|
|
1623
1643
|
*/
|
|
1624
1644
|
declare function resolvePopoverAlign({ triggerRect, panelWidth, viewportWidth, padding, preferred, }: ResolvePopoverAlignOptions): PopoverAlign;
|
|
1625
1645
|
|
|
1626
|
-
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AccountHeader, type AccountHeaderProps, AlertTriangleIcon, Amenity, AmenityIcon, type AmenityIconProps, type AmenityName, type AmenityProps, type AmenityVariant, AppleIcon, AreaExpandIcon, ArrowLeftIcon, ArrowRightIcon, AutocompleteInput, type AutocompleteInputProps, type AutocompleteOption, Avatar, type AvatarMenuItem, type AvatarProps, AvatarSimple, type AvatarSimpleProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarMinusIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CloudUploadIcon, CommentCard, type CommentCardProps, ContactInfoCard, type ContactInfoCardProps, CopyIcon, Counter, type CounterProps, CurrentLocationIcon, CutleryIcon, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerVariant, type DateRange, DollarIcon, DownloadIcon, DragHandleIcon, Drawer, type DrawerProps, EditIcon, EyeIcon, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, FloatingActionButton, type FloatingActionButtonProps, FullscreenIcon, GlobeIcon, GooglePlayIcon, type GreyStep, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, IconStatusBadge, type IconStatusBadgeProps, ImageIcon, InfoCardV2, type InfoCardV2Props, InfoCircleIcon, InfoTile, type InfoTileProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, type LanguageSwitcherVariant, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MenuLinesIcon, MinusIcon, Modal, type ModalProps, MoonStarsIcon, MoreHorizontalIcon, NavigateIcon, NoSmokingIcon, PaginationDots, type PaginationDotsProps, PawIcon, PhoneIcon, PlusIcon, type PopoverAlign, QrCodeIcon, QuantityInput, type QuantityInputProps, QuietHoursIcon, RadioButton, type RadioButtonProps, type RadioButtonVariant, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, RefreshIcon, RefundStatusIcon, type ResolvePopoverAlignOptions, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, type SidebarItem, type SidebarProps, type SidebarUser, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StatCard, type StatCardProps, StatusBadge, type StatusBadgeProps, type StatusBadgeTone, StepList, type StepListProps, StepPager, type StepPagerProps, TableViewIcon, Textarea, type TextareaProps, Toggle, type ToggleProps, ToggleRow, type ToggleRowProps, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, type VerificationCodeInputHandle, type VerificationCodeInputProps, VideoIcon, VideoOffIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
1646
|
+
export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AccountHeader, type AccountHeaderProps, AlertTriangleIcon, Amenity, AmenityIcon, type AmenityIconProps, type AmenityName, type AmenityProps, type AmenityVariant, AppleIcon, AreaExpandIcon, ArrowLeftIcon, ArrowRightIcon, AutocompleteInput, type AutocompleteInputProps, type AutocompleteOption, Avatar, type AvatarMenuItem, type AvatarProps, AvatarSimple, type AvatarSimpleProps, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, type BadgeProps, type BadgeVariant, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, type BrandLogoProps, type BrandLogoVariant, BuildingIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CalendarIcon, CalendarMinusIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, type CheckboxProps, type CheckboxVariant, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CloudUploadIcon, CommentCard, type CommentCardProps, ContactInfoCard, type ContactInfoCardProps, CopyIcon, Counter, type CounterProps, CurrentLocationIcon, CutleryIcon, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerVariant, type DateRange, DollarIcon, DownloadIcon, DragHandleIcon, DramIcon, Drawer, type DrawerProps, EditIcon, EyeIcon, FacebookIcon, FavoritesButton, type FavoritesButtonProps, FiltersIcon, FloatingActionButton, type FloatingActionButtonProps, FullscreenIcon, GlobeIcon, GooglePlayIcon, type GreyStep, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, type IconByNameProps, type IconComponent, type IconGroup, type IconName, type IconProps, IconStatusBadge, type IconStatusBadgeProps, ImageIcon, InfoCardV2, type InfoCardV2Props, InfoCircleIcon, InfoTile, type InfoTileProps, Input, type InputIcon, type InputProps, type InputSize, InstagramIcon, KeyIcon, type LanguageOption, LanguageSwitcher, type LanguageSwitcherProps, type LanguageSwitcherVariant, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, type MenuIconProps, MenuItem, type MenuItemProps, MenuLinesIcon, MinusIcon, Modal, type ModalProps, MoonStarsIcon, MoreHorizontalIcon, NavigateIcon, NoPetsIcon, NoReviewIcon, NoSmokingIcon, PaginationDots, type PaginationDotsProps, PawIcon, PhoneIcon, PlusIcon, type PopoverAlign, QrCodeIcon, QuantityInput, type QuantityInputProps, QuietHoursIcon, RadioButton, type RadioButtonProps, type RadioButtonVariant, Range, type RangeProps, type RangeValue, RatingInput, type RatingInputProps, RatingStarIcon, RefreshIcon, RefundStatusIcon, type ResolvePopoverAlignOptions, SaveHeartIcon, SearchIcon, SegmentedToggle, type SegmentedToggleOption, type SegmentedToggleProps, Select, type SelectIcon, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, type SidebarItem, type SidebarProps, type SidebarUser, SortIcon, StarFilledIcon, StarIcon, type StarIconProps, StarOutlineIcon, StatCard, type StatCardProps, StatusBadge, type StatusBadgeProps, type StatusBadgeTone, StepList, type StepListProps, StepPager, type StepPagerProps, SunIcon, TableViewIcon, Textarea, type TextareaProps, Toggle, type ToggleProps, ToggleRow, type ToggleRowProps, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, type VerificationCodeInputHandle, type VerificationCodeInputProps, VideoIcon, VideoOffIcon, WasherIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|