@webority/mobile-ui 0.128.0 → 0.129.0
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/canvas-kit/kit.js +8170 -7898
- package/dist/canvas-kit/manifest.json +218 -6
- package/dist/canvas-kit/release.json +6 -6
- package/lib/commonjs/components/Accordion/Accordion.js +1 -1
- package/lib/commonjs/components/AppBar/AppBar.js +1 -1
- package/lib/commonjs/components/AppIcon/AppIcon.js +1 -1
- package/lib/commonjs/components/AppIcon/catalog.g.js +1 -1
- package/lib/commonjs/components/AppIcon/glyphs.g.js +1 -1
- package/lib/commonjs/components/AppIcon/variants.g.js +1 -1
- package/lib/commonjs/components/Banner/Banner.js +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/commonjs/components/Box/Box.js +1 -1
- package/lib/commonjs/components/Button/Button.js +1 -1
- package/lib/commonjs/components/Card/Card.js +1 -1
- package/lib/commonjs/components/Composer/Composer.js +1 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/commonjs/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/commonjs/components/Descriptions/Descriptions.js +1 -1
- package/lib/commonjs/components/FieldBase/ChoiceText.js +1 -1
- package/lib/commonjs/components/FieldBase/FieldBase.js +1 -1
- package/lib/commonjs/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/commonjs/components/FileViewer/FileViewer.js +1 -1
- package/lib/commonjs/components/FileViewer/FileViewerImage.js +1 -0
- package/lib/commonjs/components/FileViewer/fileSource.js +1 -0
- package/lib/commonjs/components/FormField/FormField.js +1 -1
- package/lib/commonjs/components/Input/Input.js +1 -1
- package/lib/commonjs/components/Markdown/Markdown.js +1 -1
- package/lib/commonjs/components/Menu/MenuSurface.js +1 -1
- package/lib/commonjs/components/Modal/Modal.js +1 -1
- package/lib/commonjs/components/Notation/Notation.js +1 -1
- package/lib/commonjs/components/NumberInput/NumberInput.js +1 -1
- package/lib/commonjs/components/OTPInput/OTPResendRow.js +1 -0
- package/lib/commonjs/components/OTPInput/index.js +1 -1
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/commonjs/components/Radio/Radio.js +1 -1
- package/lib/commonjs/components/Rating/Rating.js +1 -1
- package/lib/commonjs/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/commonjs/components/Select/Select.js +1 -1
- package/lib/commonjs/components/Text/Text.js +1 -1
- package/lib/commonjs/components/Text/textInk.js +1 -0
- package/lib/commonjs/components/TimePicker/TimePicker.js +1 -1
- package/lib/commonjs/components/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/components/index.js +1 -1
- package/lib/commonjs/components/not-drawn.json +2 -0
- package/lib/commonjs/form/HookFormField.js +1 -1
- package/lib/commonjs/hooks/index.js +1 -1
- package/lib/commonjs/hooks/useFieldErrorScroll.js +1 -0
- package/lib/commonjs/hooks/useResendCountdown.js +1 -0
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/navigation/index.js +1 -1
- package/lib/commonjs/navigation/useNavigationTheme.js +1 -0
- package/lib/commonjs/utils/feedback.js +1 -1
- package/lib/commonjs/utils/hapticUtils.js +1 -1
- package/lib/module/components/Accordion/Accordion.js +1 -1
- package/lib/module/components/AppBar/AppBar.js +1 -1
- package/lib/module/components/AppIcon/AppIcon.js +1 -1
- package/lib/module/components/AppIcon/catalog.g.js +1 -1
- package/lib/module/components/AppIcon/glyphs.g.js +1 -1
- package/lib/module/components/AppIcon/variants.g.js +1 -1
- package/lib/module/components/Banner/Banner.js +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +1 -1
- package/lib/module/components/Box/Box.js +1 -1
- package/lib/module/components/Button/Button.js +1 -1
- package/lib/module/components/Card/Card.js +1 -1
- package/lib/module/components/Composer/Composer.js +1 -1
- package/lib/module/components/DatePicker/DatePicker.js +1 -1
- package/lib/module/components/DateRangePicker/DateRangePicker.js +1 -1
- package/lib/module/components/Descriptions/Descriptions.js +1 -1
- package/lib/module/components/FieldBase/ChoiceText.js +1 -1
- package/lib/module/components/FieldBase/FieldBase.js +1 -1
- package/lib/module/components/FieldBase/useFloatingLabel.js +1 -1
- package/lib/module/components/FileViewer/FileViewer.js +1 -1
- package/lib/module/components/FileViewer/FileViewerImage.js +1 -0
- package/lib/module/components/FileViewer/fileSource.js +1 -0
- package/lib/module/components/FormField/FormField.js +1 -1
- package/lib/module/components/Input/Input.js +1 -1
- package/lib/module/components/Markdown/Markdown.js +1 -1
- package/lib/module/components/Menu/MenuSurface.js +1 -1
- package/lib/module/components/Modal/Modal.js +1 -1
- package/lib/module/components/Notation/Notation.js +1 -1
- package/lib/module/components/NumberInput/NumberInput.js +1 -1
- package/lib/module/components/OTPInput/OTPResendRow.js +1 -0
- package/lib/module/components/OTPInput/index.js +1 -1
- package/lib/module/components/ProgressBar/ProgressBar.js +1 -1
- package/lib/module/components/Radio/Radio.js +1 -1
- package/lib/module/components/Rating/Rating.js +1 -1
- package/lib/module/components/SectionHeader/SectionHeader.js +1 -1
- package/lib/module/components/Select/Select.js +1 -1
- package/lib/module/components/Text/Text.js +1 -1
- package/lib/module/components/Text/textInk.js +1 -0
- package/lib/module/components/TimePicker/TimePicker.js +1 -1
- package/lib/module/components/Tooltip/Tooltip.js +1 -1
- package/lib/module/components/index.js +1 -1
- package/lib/module/components/not-drawn.json +2 -0
- package/lib/module/form/HookFormField.js +1 -1
- package/lib/module/hooks/index.js +1 -1
- package/lib/module/hooks/useFieldErrorScroll.js +1 -0
- package/lib/module/hooks/useResendCountdown.js +1 -0
- package/lib/module/index.js +1 -1
- package/lib/module/navigation/index.js +1 -1
- package/lib/module/navigation/useNavigationTheme.js +1 -0
- package/lib/module/utils/feedback.js +1 -1
- package/lib/module/utils/hapticUtils.js +1 -1
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppBar/AppBar.d.ts +2 -1
- package/lib/typescript/commonjs/components/AppIcon/AppIcon.d.ts +6 -3
- package/lib/typescript/commonjs/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/commonjs/components/AppIcon/glyphs.g.d.ts +1 -0
- package/lib/typescript/commonjs/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/Banner/Banner.d.ts +2 -1
- package/lib/typescript/commonjs/components/Box/Box.d.ts +2 -2
- package/lib/typescript/commonjs/components/Button/Button.d.ts +3 -0
- package/lib/typescript/commonjs/components/Calendar/calendarStyles.d.ts +4 -4
- package/lib/typescript/commonjs/components/Card/Card.d.ts +5 -4
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/typescript/commonjs/components/Chip/Chip.d.ts +2 -1
- package/lib/typescript/commonjs/components/Composer/Composer.d.ts +4 -0
- package/lib/typescript/commonjs/components/DatePicker/DatePicker.d.ts +4 -14
- package/lib/typescript/commonjs/components/DateRangePicker/DateRangePicker.d.ts +4 -14
- package/lib/typescript/commonjs/components/FileViewer/FileViewer.d.ts +5 -33
- package/lib/typescript/commonjs/components/FileViewer/FileViewerImage.d.ts +5 -0
- package/lib/typescript/commonjs/components/FileViewer/fileSource.d.ts +24 -0
- package/lib/typescript/commonjs/components/FileViewer/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +3 -0
- package/lib/typescript/commonjs/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +10 -0
- package/lib/typescript/commonjs/components/Notation/Notation.d.ts +5 -15
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +2 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPResendRow.d.ts +25 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/PickerTrigger/PickerTrigger.d.ts +5 -0
- package/lib/typescript/commonjs/components/PickerTrigger/index.d.ts +1 -1
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +2 -0
- package/lib/typescript/commonjs/components/Rating/Rating.d.ts +2 -0
- package/lib/typescript/commonjs/components/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/commonjs/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/commonjs/components/Slider/Slider.d.ts +2 -0
- package/lib/typescript/commonjs/components/Stepper/Stepper.d.ts +2 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +2 -0
- package/lib/typescript/commonjs/components/Text/Text.d.ts +2 -0
- package/lib/typescript/commonjs/components/Text/textInk.d.ts +14 -0
- package/lib/typescript/commonjs/components/TimePicker/TimePicker.d.ts +4 -15
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/typescript/commonjs/components/index.d.ts +5 -4
- package/lib/typescript/commonjs/form/HookFormField.d.ts +4 -4
- package/lib/typescript/commonjs/hooks/index.d.ts +4 -0
- package/lib/typescript/commonjs/hooks/useFieldErrorScroll.d.ts +28 -0
- package/lib/typescript/commonjs/hooks/useResendCountdown.d.ts +16 -0
- package/lib/typescript/commonjs/index.d.ts +3 -3
- package/lib/typescript/commonjs/navigation/index.d.ts +1 -0
- package/lib/typescript/commonjs/navigation/useNavigationTheme.d.ts +7 -0
- package/lib/typescript/commonjs/utils/feedback.d.ts +2 -2
- package/lib/typescript/commonjs/utils/hapticUtils.d.ts +2 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +2 -1
- package/lib/typescript/module/components/AppBar/AppBar.d.ts +2 -1
- package/lib/typescript/module/components/AppIcon/AppIcon.d.ts +6 -3
- package/lib/typescript/module/components/AppIcon/catalog.g.d.ts +1 -1
- package/lib/typescript/module/components/AppIcon/glyphs.g.d.ts +1 -0
- package/lib/typescript/module/components/AppIcon/index.d.ts +1 -1
- package/lib/typescript/module/components/Banner/Banner.d.ts +2 -1
- package/lib/typescript/module/components/Box/Box.d.ts +2 -2
- package/lib/typescript/module/components/Button/Button.d.ts +3 -0
- package/lib/typescript/module/components/Calendar/calendarStyles.d.ts +4 -4
- package/lib/typescript/module/components/Card/Card.d.ts +5 -4
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +2 -1
- package/lib/typescript/module/components/Chip/Chip.d.ts +2 -1
- package/lib/typescript/module/components/Composer/Composer.d.ts +4 -0
- package/lib/typescript/module/components/DatePicker/DatePicker.d.ts +4 -14
- package/lib/typescript/module/components/DateRangePicker/DateRangePicker.d.ts +4 -14
- package/lib/typescript/module/components/FileViewer/FileViewer.d.ts +5 -33
- package/lib/typescript/module/components/FileViewer/FileViewerImage.d.ts +5 -0
- package/lib/typescript/module/components/FileViewer/fileSource.d.ts +24 -0
- package/lib/typescript/module/components/FileViewer/index.d.ts +1 -1
- package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +3 -0
- package/lib/typescript/module/components/Markdown/Markdown.d.ts +3 -1
- package/lib/typescript/module/components/Modal/Modal.d.ts +10 -0
- package/lib/typescript/module/components/Notation/Notation.d.ts +5 -15
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +2 -0
- package/lib/typescript/module/components/OTPInput/OTPResendRow.d.ts +25 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +2 -0
- package/lib/typescript/module/components/PickerTrigger/PickerTrigger.d.ts +5 -0
- package/lib/typescript/module/components/PickerTrigger/index.d.ts +1 -1
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +2 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +2 -0
- package/lib/typescript/module/components/Rating/Rating.d.ts +2 -0
- package/lib/typescript/module/components/SectionHeader/SectionHeader.d.ts +2 -0
- package/lib/typescript/module/components/SegmentedControl/SegmentedControl.d.ts +2 -0
- package/lib/typescript/module/components/Slider/Slider.d.ts +2 -0
- package/lib/typescript/module/components/Stepper/Stepper.d.ts +2 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +2 -0
- package/lib/typescript/module/components/Text/Text.d.ts +2 -0
- package/lib/typescript/module/components/Text/textInk.d.ts +14 -0
- package/lib/typescript/module/components/TimePicker/TimePicker.d.ts +4 -15
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/typescript/module/components/index.d.ts +5 -4
- package/lib/typescript/module/form/HookFormField.d.ts +4 -4
- package/lib/typescript/module/hooks/index.d.ts +4 -0
- package/lib/typescript/module/hooks/useFieldErrorScroll.d.ts +28 -0
- package/lib/typescript/module/hooks/useResendCountdown.d.ts +16 -0
- package/lib/typescript/module/index.d.ts +3 -3
- package/lib/typescript/module/navigation/index.d.ts +1 -0
- package/lib/typescript/module/navigation/useNavigationTheme.d.ts +7 -0
- package/lib/typescript/module/utils/feedback.d.ts +2 -2
- package/lib/typescript/module/utils/hapticUtils.d.ts +2 -0
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export{Accordion,AccordionGroup}from"./Accordion/index.js";export{AmountSlider,DEFAULT_AMOUNT_SLIDER_LABELS}from"./AmountSlider/index.js";export{AnimatePresence}from"./AnimatePresence/index.js";export{AppBar,DEFAULT_APP_BAR_LABELS}from"./AppBar/index.js";export{AppLockOverlay,DEFAULT_APP_LOCK_OVERLAY_LABELS}from"./AppLockOverlay/index.js";export{AsyncBlock,DEFAULT_ASYNC_BLOCK_LABELS}from"./AsyncBlock/index.js";export{AuthedImage,authedImageCacheStats,clearAuthedImageCache,getAuthedImageCacheLimit,setAuthedImageCacheLimit}from"./AuthedImage/index.js";export{Autocomplete,DEFAULT_AUTOCOMPLETE_LABELS}from"./Autocomplete/index.js";export{Avatar,AvatarGroup,avatarToneColors,DEFAULT_AVATAR_LABELS}from"./Avatar/index.js";export{Badge,DEFAULT_BADGE_LABELS}from"./Badge/index.js";export{Banner,DEFAULT_BANNER_LABELS}from"./Banner/index.js";export{BarChart}from"./BarChart/index.js";export{BottomNavigation,DEFAULT_BOTTOM_NAVIGATION_LABELS}from"./BottomNavigation/index.js";export{BottomSheet,DEFAULT_BOTTOM_SHEET_LABELS,useBottomSheet}from"./BottomSheet/index.js";export{Box,Row,Spacer,Stack}from"./Box/index.js";export{Button,buttonLabelInk}from"./Button/index.js";export{Calendar,DEFAULT_CALENDAR_LABELS}from"./Calendar/index.js";export{Card,DEFAULT_CARD_LABELS}from"./Card/index.js";export{Carousel,DEFAULT_CAROUSEL_LABELS}from"./Carousel/index.js";export{Checkbox}from"./Checkbox/index.js";export{Chip}from"./Chip/index.js";export{ChoiceGroup}from"./ChoiceGroup/index.js";export{Composer,DEFAULT_COMPOSER_LABELS}from"./Composer/index.js";export{Confetti}from"./Confetti/index.js";export{ConfirmHost,confirm}from"./Confirm/index.js";export{DatePicker,DEFAULT_DATE_PICKER_LABELS}from"./DatePicker/index.js";export{DateRangePicker,DEFAULT_DATE_RANGE_PICKER_LABELS}from"./DateRangePicker/index.js";export{DateSeparator,DEFAULT_DATE_SEPARATOR_LABELS,dayLabel}from"./DateSeparator/index.js";export{cleanDecimalText,DEFAULT_DECIMAL_INPUT_LABELS,DecimalInput,isUnclearDecimalComma,parseDecimalText,pointDecimalText}from"./DecimalInput/index.js";export{Descriptions}from"./Descriptions/index.js";export{Dialog}from"./Dialog/index.js";export{Divider}from"./Divider/index.js";export{DEFAULT_DRAWER_LABELS,Drawer}from"./Drawer/index.js";export{EmptyState}from"./EmptyState/index.js";export{DEFAULT_ERROR_BOUNDARY_LABELS,ErrorBoundary,useErrorHandler,withErrorBoundary}from"./ErrorBoundary/index.js";export{DEFAULT_FILE_PICKER_LABELS,FilePicker,formatFileSize}from"./FilePicker/index.js";export{FileViewer}from"./FileViewer/index.js";export{FilterChipRow}from"./FilterChipRow/index.js";export{DEFAULT_FLOATING_ACTION_BUTTON_GROUP_LABELS,FloatingActionButton,FloatingActionButtonGroup}from"./FloatingActionButton/index.js";export{DEFAULT_FORCE_UPDATE_DIALOG_LABELS,ForceUpdateDialog}from"./ForceUpdateDialog/index.js";export{DEFAULT_FORM_FIELD_LABELS,FormField}from"./FormField/index.js";export{IconBadge}from"./IconBadge/index.js";export{IconButton}from"./IconButton/index.js";export{DEFAULT_IMAGE_GALLERY_LABELS,ImageGallery}from"./ImageGallery/index.js";export{DEFAULT_INLINE_SELECT_LABELS,InlineSelect}from"./InlineSelect/index.js";export{DEFAULT_INPUT_LABELS,Input}from"./Input/index.js";export{KeyboardAwareScrollView}from"./KeyboardAwareScrollView/index.js";export{DEFAULT_KEYBOARD_TOOLBAR_LABELS,KeyboardToolbar}from"./KeyboardToolbar/index.js";export{ListItem}from"./ListItem/index.js";export{ListSection}from"./ListSection/index.js";export{DEFAULT_LOADER_OVERLAY_LABELS,LoaderOverlay,loader,useLoader}from"./LoaderOverlay/index.js";export{Markdown}from"./Markdown/index.js";export{DEFAULT_MENU_LABELS,Menu}from"./Menu/index.js";export{DEFAULT_MESSAGE_BUBBLE_LABELS,MessageBubble}from"./MessageBubble/index.js";export{DEFAULT_MESSAGE_LIST_LABELS,MessageList}from"./MessageList/index.js";export{DEFAULT_MODAL_LABELS,MODAL_DISMISS_GRACE_MS,Modal}from"./Modal/index.js";export{Notation,parseNotation,sym}from"./Notation/index.js";export{DEFAULT_NUMBER_INPUT_LABELS,NumberInput}from"./NumberInput/index.js";export{DEFAULT_ONBOARDING_PAGER_LABELS,OnboardingPager}from"./OnboardingPager/index.js";export{DEFAULT_OPTION_SHEET_LABELS,OptionSheet}from"./OptionSheet/index.js";export{DEFAULT_OTP_INPUT_LABELS,OTPInput}from"./OTPInput/index.js";export{DEFAULT_PAGED_LIST_FOOTER_LABELS,PagedListFooter}from"./PagedListFooter/index.js";export{DEFAULT_PERMISSION_PROMPT_LABELS,PermissionPrompt,usePermissionPrompt}from"./PermissionPrompt/index.js";export{ALL_CALLING_CODES,DEFAULT_CALLING_CODES,DEFAULT_PHONE_NUMBER_INPUT_LABELS,formatE164,PhoneNumberInput,parseE164}from"./PhoneNumberInput/index.js";export{DEFAULT_PICKER_TRIGGER_LABELS,PickerTrigger}from"./PickerTrigger/index.js";export{DEFAULT_PROFILE_COMPLETION_LABELS,ProfileCompletion}from"./ProfileCompletion/index.js";export{DEFAULT_PROFILE_PICKER_LABELS,ProfilePicker}from"./ProfilePicker/index.js";export{DEFAULT_PROGRESS_BAR_LABELS,ProgressBar}from"./ProgressBar/index.js";export{ProgressRing}from"./ProgressRing/index.js";export{Radio,RadioDot,RadioGroup}from"./Radio/index.js";export{DEFAULT_RATING_LABELS,Rating}from"./Rating/index.js";export{DEFAULT_REPEATER_LABELS,Repeater}from"./Repeater/index.js";export{applyMarkdownAction,DEFAULT_RICH_TEXT_EDITOR_LABELS,RichTextEditor}from"./RichTextEditor/index.js";export{DEFAULT_SCANNER_OVERLAY_LABELS,ScannerOverlay}from"./ScannerOverlay/index.js";export{Screen}from"./Screen/index.js";export{DEFAULT_SEARCH_BAR_LABELS,SearchBar,useRecentSearches}from"./SearchBar/index.js";export{DEFAULT_SECTION_HEADER_LABELS,SectionHeader}from"./SectionHeader/index.js";export{SegmentedControl}from"./SegmentedControl/index.js";export{DEFAULT_SELECT_LABELS,Select}from"./Select/index.js";export{DEFAULT_SIGNATURE_PAD_LABELS,SignaturePad}from"./SignaturePad/index.js";export{DEFAULT_SKELETON_LABELS,Skeleton,SkeletonCircle,SkeletonClockProvider,SkeletonContent,SkeletonList,SkeletonProvider,SkeletonSkip,SkeletonText,useSkeletonClock,useSkeletonDefaults}from"./Skeleton/index.js";export{Slider}from"./Slider/index.js";export{DEFAULT_SLIDER_FIELD_LABELS,SliderField}from"./SliderField/index.js";export{DEFAULT_SLIDE_TO_CONFIRM_LABELS,SlideToConfirm}from"./SlideToConfirm/index.js";export{DEFAULT_SORTABLE_LIST_LABELS,SortableList}from"./SortableList/index.js";export{DEFAULT_SPARKLINE_LABELS,Sparkline}from"./Sparkline/index.js";export{DEFAULT_SPINNER_LABELS,Spinner}from"./Spinner/index.js";export{SquircleImage}from"./SquircleImage/index.js";export{SquircleView}from"./SquircleView/index.js";export{StatTile}from"./StatTile/index.js";export{StatusBadge}from"./StatusBadge/index.js";export{defineStatusMap}from"./StatusBadge/statusMap.js";export{Stepper}from"./Stepper/index.js";export{Swipeable}from"./Swipeable/index.js";export{Switch}from"./Switch/index.js";export{Tabs}from"./Tabs/index.js";export{TagInput}from"./TagInput/index.js";export{Text}from"./Text/index.js";export{Timeline}from"./Timeline/index.js";export{DEFAULT_TIME_PICKER_LABELS,TimePicker}from"./TimePicker/index.js";export{DEFAULT_TOAST_LABELS,Toast,ToastHost,ToastProvider,toast,useToast}from"./Toast/index.js";export{DEFAULT_TOOLTIP_LABELS,Tooltip}from"./Tooltip/index.js";export{DEFAULT_TOUR_LABELS,Tour}from"./Tour/index.js";export{DEFAULT_TYPING_INDICATOR_LABELS,TypingIndicator}from"./TypingIndicator/index.js";export{DEFAULT_WHEEL_PICKER_LABELS,WheelPicker}from"./WheelPicker/index.js";export{ZoomableImage}from"./ZoomableImage/index.js";
|
|
1
|
+
"use strict";export{Accordion,AccordionGroup}from"./Accordion/index.js";export{AmountSlider,DEFAULT_AMOUNT_SLIDER_LABELS}from"./AmountSlider/index.js";export{AnimatePresence}from"./AnimatePresence/index.js";export{AppBar,DEFAULT_APP_BAR_LABELS}from"./AppBar/index.js";export{AppLockOverlay,DEFAULT_APP_LOCK_OVERLAY_LABELS}from"./AppLockOverlay/index.js";export{AsyncBlock,DEFAULT_ASYNC_BLOCK_LABELS}from"./AsyncBlock/index.js";export{AuthedImage,authedImageCacheStats,clearAuthedImageCache,getAuthedImageCacheLimit,setAuthedImageCacheLimit}from"./AuthedImage/index.js";export{Autocomplete,DEFAULT_AUTOCOMPLETE_LABELS}from"./Autocomplete/index.js";export{Avatar,AvatarGroup,avatarToneColors,DEFAULT_AVATAR_LABELS}from"./Avatar/index.js";export{Badge,DEFAULT_BADGE_LABELS}from"./Badge/index.js";export{Banner,DEFAULT_BANNER_LABELS}from"./Banner/index.js";export{BarChart}from"./BarChart/index.js";export{BottomNavigation,DEFAULT_BOTTOM_NAVIGATION_LABELS}from"./BottomNavigation/index.js";export{BottomSheet,DEFAULT_BOTTOM_SHEET_LABELS,useBottomSheet}from"./BottomSheet/index.js";export{Box,Row,Spacer,Stack}from"./Box/index.js";export{Button,buttonLabelInk}from"./Button/index.js";export{Calendar,DEFAULT_CALENDAR_LABELS}from"./Calendar/index.js";export{Card,DEFAULT_CARD_LABELS}from"./Card/index.js";export{Carousel,DEFAULT_CAROUSEL_LABELS}from"./Carousel/index.js";export{Checkbox}from"./Checkbox/index.js";export{Chip}from"./Chip/index.js";export{ChoiceGroup}from"./ChoiceGroup/index.js";export{Composer,DEFAULT_COMPOSER_LABELS}from"./Composer/index.js";export{Confetti}from"./Confetti/index.js";export{ConfirmHost,confirm}from"./Confirm/index.js";export{DatePicker,DEFAULT_DATE_PICKER_LABELS}from"./DatePicker/index.js";export{DateRangePicker,DEFAULT_DATE_RANGE_PICKER_LABELS}from"./DateRangePicker/index.js";export{DateSeparator,DEFAULT_DATE_SEPARATOR_LABELS,dayLabel}from"./DateSeparator/index.js";export{cleanDecimalText,DEFAULT_DECIMAL_INPUT_LABELS,DecimalInput,isUnclearDecimalComma,parseDecimalText,pointDecimalText}from"./DecimalInput/index.js";export{Descriptions}from"./Descriptions/index.js";export{Dialog}from"./Dialog/index.js";export{Divider}from"./Divider/index.js";export{DEFAULT_DRAWER_LABELS,Drawer}from"./Drawer/index.js";export{EmptyState}from"./EmptyState/index.js";export{DEFAULT_ERROR_BOUNDARY_LABELS,ErrorBoundary,useErrorHandler,withErrorBoundary}from"./ErrorBoundary/index.js";export{DEFAULT_FILE_PICKER_LABELS,FilePicker,formatFileSize}from"./FilePicker/index.js";export{FileViewer}from"./FileViewer/index.js";export{FilterChipRow}from"./FilterChipRow/index.js";export{DEFAULT_FLOATING_ACTION_BUTTON_GROUP_LABELS,FloatingActionButton,FloatingActionButtonGroup}from"./FloatingActionButton/index.js";export{DEFAULT_FORCE_UPDATE_DIALOG_LABELS,ForceUpdateDialog}from"./ForceUpdateDialog/index.js";export{DEFAULT_FORM_FIELD_LABELS,FormField}from"./FormField/index.js";export{IconBadge}from"./IconBadge/index.js";export{IconButton}from"./IconButton/index.js";export{DEFAULT_IMAGE_GALLERY_LABELS,ImageGallery}from"./ImageGallery/index.js";export{DEFAULT_INLINE_SELECT_LABELS,InlineSelect}from"./InlineSelect/index.js";export{DEFAULT_INPUT_LABELS,Input}from"./Input/index.js";export{KeyboardAwareScrollView}from"./KeyboardAwareScrollView/index.js";export{DEFAULT_KEYBOARD_TOOLBAR_LABELS,KeyboardToolbar}from"./KeyboardToolbar/index.js";export{ListItem}from"./ListItem/index.js";export{ListSection}from"./ListSection/index.js";export{DEFAULT_LOADER_OVERLAY_LABELS,LoaderOverlay,loader,useLoader}from"./LoaderOverlay/index.js";export{Markdown}from"./Markdown/index.js";export{DEFAULT_MENU_LABELS,Menu}from"./Menu/index.js";export{DEFAULT_MESSAGE_BUBBLE_LABELS,MessageBubble}from"./MessageBubble/index.js";export{DEFAULT_MESSAGE_LIST_LABELS,MessageList}from"./MessageList/index.js";export{DEFAULT_MODAL_LABELS,MODAL_DISMISS_GRACE_MS,Modal}from"./Modal/index.js";export{Notation,parseNotation,sym}from"./Notation/index.js";export{DEFAULT_NUMBER_INPUT_LABELS,NumberInput}from"./NumberInput/index.js";export{DEFAULT_ONBOARDING_PAGER_LABELS,OnboardingPager}from"./OnboardingPager/index.js";export{DEFAULT_OPTION_SHEET_LABELS,OptionSheet}from"./OptionSheet/index.js";export{DEFAULT_OTP_INPUT_LABELS,DEFAULT_OTP_RESEND_ROW_LABELS,OTPInput,OTPResendRow}from"./OTPInput/index.js";export{DEFAULT_PAGED_LIST_FOOTER_LABELS,PagedListFooter}from"./PagedListFooter/index.js";export{DEFAULT_PERMISSION_PROMPT_LABELS,PermissionPrompt,usePermissionPrompt}from"./PermissionPrompt/index.js";export{ALL_CALLING_CODES,DEFAULT_CALLING_CODES,DEFAULT_PHONE_NUMBER_INPUT_LABELS,formatE164,PhoneNumberInput,parseE164}from"./PhoneNumberInput/index.js";export{DEFAULT_PICKER_TRIGGER_LABELS,PickerTrigger}from"./PickerTrigger/index.js";export{DEFAULT_PROFILE_COMPLETION_LABELS,ProfileCompletion}from"./ProfileCompletion/index.js";export{DEFAULT_PROFILE_PICKER_LABELS,ProfilePicker}from"./ProfilePicker/index.js";export{DEFAULT_PROGRESS_BAR_LABELS,ProgressBar}from"./ProgressBar/index.js";export{ProgressRing}from"./ProgressRing/index.js";export{Radio,RadioDot,RadioGroup}from"./Radio/index.js";export{DEFAULT_RATING_LABELS,Rating}from"./Rating/index.js";export{DEFAULT_REPEATER_LABELS,Repeater}from"./Repeater/index.js";export{applyMarkdownAction,DEFAULT_RICH_TEXT_EDITOR_LABELS,RichTextEditor}from"./RichTextEditor/index.js";export{DEFAULT_SCANNER_OVERLAY_LABELS,ScannerOverlay}from"./ScannerOverlay/index.js";export{Screen}from"./Screen/index.js";export{DEFAULT_SEARCH_BAR_LABELS,SearchBar,useRecentSearches}from"./SearchBar/index.js";export{DEFAULT_SECTION_HEADER_LABELS,SectionHeader}from"./SectionHeader/index.js";export{SegmentedControl}from"./SegmentedControl/index.js";export{DEFAULT_SELECT_LABELS,Select}from"./Select/index.js";export{DEFAULT_SIGNATURE_PAD_LABELS,SignaturePad}from"./SignaturePad/index.js";export{DEFAULT_SKELETON_LABELS,Skeleton,SkeletonCircle,SkeletonClockProvider,SkeletonContent,SkeletonList,SkeletonProvider,SkeletonSkip,SkeletonText,useSkeletonClock,useSkeletonDefaults}from"./Skeleton/index.js";export{Slider}from"./Slider/index.js";export{DEFAULT_SLIDER_FIELD_LABELS,SliderField}from"./SliderField/index.js";export{DEFAULT_SLIDE_TO_CONFIRM_LABELS,SlideToConfirm}from"./SlideToConfirm/index.js";export{DEFAULT_SORTABLE_LIST_LABELS,SortableList}from"./SortableList/index.js";export{DEFAULT_SPARKLINE_LABELS,Sparkline}from"./Sparkline/index.js";export{DEFAULT_SPINNER_LABELS,Spinner}from"./Spinner/index.js";export{SquircleImage}from"./SquircleImage/index.js";export{SquircleView}from"./SquircleView/index.js";export{StatTile}from"./StatTile/index.js";export{StatusBadge}from"./StatusBadge/index.js";export{defineStatusMap}from"./StatusBadge/statusMap.js";export{Stepper}from"./Stepper/index.js";export{Swipeable}from"./Swipeable/index.js";export{Switch}from"./Switch/index.js";export{Tabs}from"./Tabs/index.js";export{TagInput}from"./TagInput/index.js";export{Text}from"./Text/index.js";export{TextInkContext,useTextInk}from"./Text/textInk.js";export{Timeline}from"./Timeline/index.js";export{DEFAULT_TIME_PICKER_LABELS,TimePicker}from"./TimePicker/index.js";export{DEFAULT_TOAST_LABELS,Toast,ToastHost,ToastProvider,toast,useToast}from"./Toast/index.js";export{DEFAULT_TOOLTIP_LABELS,Tooltip}from"./Tooltip/index.js";export{DEFAULT_TOUR_LABELS,Tour}from"./Tour/index.js";export{DEFAULT_TYPING_INDICATOR_LABELS,TypingIndicator}from"./TypingIndicator/index.js";export{DEFAULT_WHEEL_PICKER_LABELS,WheelPicker}from"./WheelPicker/index.js";export{ZoomableImage}from"./ZoomableImage/index.js";
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"Box": "Layout primitive. Canvas lays out a screen with its own frame nodes, so the kit draws the components placed inside them.",
|
|
4
4
|
"ConfirmHost": "Draws nothing until confirm is called, then shows the dialog that confirm opened.",
|
|
5
5
|
"ErrorBoundary": "Catches render errors around a subtree and draws nothing of its own.",
|
|
6
|
+
"FieldErrorScrollContext": "Shares the scroll-to-first-error target between a form and its fields and draws nothing of its own.",
|
|
6
7
|
"HookFormField": "Binds a library field to react-hook-form; the field it wraps is drawn through its own description.",
|
|
7
8
|
"KeyboardAwareScrollView": "A scroll container that keeps the focused field above the keyboard; it draws nothing of its own.",
|
|
8
9
|
"KitThemeBridge": "Canvas wraps kit parts in it to pass the render's light or dark theme; it draws nothing of its own.",
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
"SkeletonProvider": "Shares skeleton settings with the skeletons below it and draws nothing of its own.",
|
|
14
15
|
"SkeletonSkip": "Marks a subtree the skeleton walker leaves alone and draws its children unchanged.",
|
|
15
16
|
"Stack": "Layout primitive. Canvas lays out a screen with its own frame nodes, so the kit draws the components placed inside them.",
|
|
17
|
+
"TextInkContext": "Passes the text colour a surface sets to the Text inside it and draws nothing of its own.",
|
|
16
18
|
"ThemeProvider": "Supplies the theme to the app and draws nothing of its own.",
|
|
17
19
|
"ToastHost": "Shows the queued toasts at the app root; the Toast description draws how a toast looks.",
|
|
18
20
|
"ToastProvider": "Holds the toast queue and draws nothing of its own."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import React from"react";import{FormField}from"../components/FormField/FormField.js";import{useHookFormField}from"./useHookFormField.js";import{jsx as _jsx}from"react/jsx-runtime";const assignRef=(e,r)=>{"function"==typeof e?e(r):e&&(e.current=r)};export const HookFormField=e=>{const{label:r,
|
|
1
|
+
"use strict";import React from"react";import{FormField}from"../components/FormField/FormField.js";import{useHookFormField}from"./useHookFormField.js";import{jsx as _jsx}from"react/jsx-runtime";const assignRef=(e,r)=>{"function"==typeof e?e(r):e&&(e.current=r)};export const HookFormField=e=>{const{label:r,help:o,helperText:l,helperLines:t,labels:i,required:n,layout:s,labelStyle:a,helperStyle:c,errorStyle:m,containerStyle:p,inputContainerStyle:u,accessibilityLabel:F,testID:d,children:y,hideError:f,...h}=e,b=useHookFormField(h),x="function"==typeof y;let S=null;if(x)S=y(b);else if(React.isValidElement(y)){const e=y.props;S=React.cloneElement(y,{value:b.value,error:b.error,onChangeText:r=>{b.onChangeText(r),e.onChangeText?.(r)},onBlur:r=>{b.onBlur(),e.onBlur?.(r)},ref:r=>{b.ref(r),assignRef(e.ref,r)}})}const j=!x||React.isValidElement(S)&&"error"in S.props;return _jsx(FormField,{label:r,help:o,helperText:l,helperLines:t,labels:i,required:n,layout:s,labelStyle:a,helperStyle:c,errorStyle:m,containerStyle:p,inputContainerStyle:u,accessibilityLabel:F,testID:d,error:f??j?void 0:b.error,children:S})};HookFormField.displayName="HookFormField";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export{useControllableState}from"./useControllableState.js";export{useDebounce}from"./useDebounce.js";export{createDragToDismissController,DRAG_DISMISS_DISTANCE,DRAG_DISMISS_VELOCITY,useDragToDismiss}from"./useDragToDismiss.js";export{useFieldChain}from"./useFieldChain.js";export{FLICK_TOLERANCE,useFlickGuard}from"./useFlickGuard.js";export{PRESENCE_REDUCE_MOTION,usePresenceMotion}from"./usePresenceMotion.js";export{PRESS_ANIMATION_PRESETS,usePressAnimation}from"./usePressAnimation.js";export{useReducedMotion}from"./useReducedMotion.js";export{useRefreshControl}from"./useRefreshControl.js";export{useScrollDirection}from"./useScrollDirection.js";export{useToggle}from"./useToggle.js";
|
|
1
|
+
"use strict";export{useControllableState}from"./useControllableState.js";export{useDebounce}from"./useDebounce.js";export{createDragToDismissController,DRAG_DISMISS_DISTANCE,DRAG_DISMISS_VELOCITY,useDragToDismiss}from"./useDragToDismiss.js";export{useFieldChain}from"./useFieldChain.js";export{FieldErrorScrollContext,useFieldErrorAnchor,useFieldErrorScroll}from"./useFieldErrorScroll.js";export{FLICK_TOLERANCE,useFlickGuard}from"./useFlickGuard.js";export{PRESENCE_REDUCE_MOTION,usePresenceMotion}from"./usePresenceMotion.js";export{PRESS_ANIMATION_PRESETS,usePressAnimation}from"./usePressAnimation.js";export{useReducedMotion}from"./useReducedMotion.js";export{useRefreshControl}from"./useRefreshControl.js";export{useResendCountdown}from"./useResendCountdown.js";export{useScrollDirection}from"./useScrollDirection.js";export{useToggle}from"./useToggle.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{createContext,useCallback,useContext,useEffect,useMemo,useRef,useState}from"react";export const FieldErrorScrollContext=createContext(null);export const useFieldErrorAnchor=(e,t)=>{const r=useContext(FieldErrorScrollContext),n=useRef(null),o=Boolean(e);return useEffect(()=>{if(r&&o)return r.add(n)},[r,o]),useCallback(e=>{n.current=e,"function"==typeof t?t(e):t&&(t.current=e)},[t])};export const useFieldErrorScroll=({scrollRef:e,offset:t=16})=>{const r=useRef(new Set),n=useMemo(()=>({add:e=>(r.current.add(e),()=>{r.current.delete(e)})}),[]),o=useRef(null),u=useRef(0),c=useCallback(e=>{u.current=e.nativeEvent.layout.y},[]),[s,l]=useState(0),a=useCallback(()=>l(e=>e+1),[]);return useEffect(()=>{if(0===s)return;let n=!1;const c=requestAnimationFrame(()=>{const c=o.current,s=[...r.current].map(e=>e.current).filter(e=>"function"==typeof e?.measureLayout);if(!c||0===s.length)return;let l=s.length,a=Number.POSITIVE_INFINITY;const settle=()=>{l-=1,n||l>0||!Number.isFinite(a)||e.current?.scrollTo({y:Math.max(0,u.current+a-t),animated:!0})};for(const e of s)e.measureLayout(c,(e,t)=>{a=Math.min(a,t),settle()},settle)});return()=>{n=!0,cancelAnimationFrame(c)}},[s,e,t]),{registry:n,containerRef:o,onContainerLayout:c,scrollToFirstError:a}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{useEffect,useState}from"react";import{AppState}from"react-native";export const useResendCountdown=({resendSeconds:e,expirySeconds:t,startedAtMs:n})=>{const[r,o]=useState(()=>Date.now());useEffect(()=>{const isSettled=r=>{const o=Math.floor((r-n)/1e3);return e-o<=0&&(null==t||t-o<=0)},r=Date.now();if(o(r),isSettled(r))return;const s=setInterval(()=>{const e=Date.now();o(e),isSettled(e)&&clearInterval(s)},1e3);return()=>clearInterval(s)},[n,e,t]),useEffect(()=>{const e=AppState.addEventListener("change",e=>{"active"===e&&o(Date.now())});return()=>e.remove()},[]);const s=Math.floor((r-n)/1e3);return{resendSecondsLeft:Math.max(0,e-s),expirySecondsLeft:null==t?null:Math.max(0,t-s)}};
|
package/lib/module/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export{PHONE_CHROME_INSETS}from"./canvasKit/index.js";export*from"./components/index.js";export{APP_ICON_SIZES,AppIcon,CURATED_ICON_NAMES,defaultIcons,ICON_NAMES,ICONSAX_SUFFIX,renderSlotIcon}from"./components/AppIcon/index.js";export{deletePath,getPath,HookFormField,isFieldFilled,setPath,useFormCompletion,useHookFormField}from"./form/index.js";export{FLICK_TOLERANCE,PRESENCE_REDUCE_MOTION,PRESS_ANIMATION_PRESETS,useControllableState,useDebounce,useFieldChain,useFlickGuard,usePresenceMotion,usePressAnimation,useReducedMotion,useRefreshControl,useScrollDirection,useToggle}from"./hooks/index.js";export{NetworkStatusBanner}from"./network/index.js";export{COLOR_NAMES,DURATION_NAMES,darkTheme,EASE_NAMES,FONT_NAMES,KitThemeBridge,LEADING_NAMES,LETTER_SPACING_NAMES,lightTheme,makeStyles,mergeBrand,RADIUS_NAMES,radiusOf,resolveBadgeSize,resolveButtonSize,resolveCheckboxSize,resolveChipSize,resolveEmptyStateSize,resolveFieldSize,resolveFloatingActionButtonSize,resolveListItemSize,resolveOtpInputSize,resolveRadioSize,resolveSegmentedControlSize,resolveSliderSize,resolveSwitchSize,resolveTabsSize,SHADOW_NAMES,SIZE_NAMES,SPACE_NAMES,spaceOf,TEXT_NAMES,ThemeProvider,textOf,useTheme,useThemeMode,WEIGHT_NAMES}from"./theme/index.js";export{announce,Breakpoints,configureFeedback,feedback,hapticForIntent,isFeedbackEnabled,isScreenSize,isTablet,SQUIRCLE_MIN_RADIUS,SQUIRCLE_SMOOTHING,setHapticImplementation,shadowStyle,smoothCorners,squircleApplies,squircleHostRadius,squirclePath,triggerHaptic,useScreenDimensions,warnUnknownProps}from"./utils/index.js";
|
|
1
|
+
"use strict";export{PHONE_CHROME_INSETS}from"./canvasKit/index.js";export*from"./components/index.js";export{APP_ICON_SIZES,AppIcon,CURATED_ICON_NAMES,defaultIcons,ICON_NAMES,ICONSAX_SUFFIX,renderSlotIcon}from"./components/AppIcon/index.js";export{deletePath,getPath,HookFormField,isFieldFilled,setPath,useFormCompletion,useHookFormField}from"./form/index.js";export{FieldErrorScrollContext,FLICK_TOLERANCE,PRESENCE_REDUCE_MOTION,PRESS_ANIMATION_PRESETS,useControllableState,useDebounce,useFieldChain,useFieldErrorAnchor,useFieldErrorScroll,useFlickGuard,usePresenceMotion,usePressAnimation,useReducedMotion,useRefreshControl,useResendCountdown,useScrollDirection,useToggle}from"./hooks/index.js";export{NetworkStatusBanner}from"./network/index.js";export{COLOR_NAMES,DURATION_NAMES,darkTheme,EASE_NAMES,FONT_NAMES,KitThemeBridge,LEADING_NAMES,LETTER_SPACING_NAMES,lightTheme,makeStyles,mergeBrand,RADIUS_NAMES,radiusOf,resolveBadgeSize,resolveButtonSize,resolveCheckboxSize,resolveChipSize,resolveEmptyStateSize,resolveFieldSize,resolveFloatingActionButtonSize,resolveListItemSize,resolveOtpInputSize,resolveRadioSize,resolveSegmentedControlSize,resolveSliderSize,resolveSwitchSize,resolveTabsSize,SHADOW_NAMES,SIZE_NAMES,SPACE_NAMES,spaceOf,TEXT_NAMES,ThemeProvider,textOf,useTheme,useThemeMode,WEIGHT_NAMES}from"./theme/index.js";export{announce,Breakpoints,configureFeedback,feedback,hapticForIntent,isFeedbackEnabled,isScreenSize,isTablet,SQUIRCLE_MIN_RADIUS,SQUIRCLE_SMOOTHING,setHapticImplementation,shadowStyle,smoothCorners,squircleApplies,squircleHostRadius,squirclePath,triggerHaptic,useScreenDimensions,warnUnknownProps}from"./utils/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";export{DEFAULT_DISCARD_GUARD_LABELS,DiscardGuard}from"./DiscardGuard.js";export{NavigationScreen}from"./NavigationScreen.js";
|
|
1
|
+
"use strict";export{DEFAULT_DISCARD_GUARD_LABELS,DiscardGuard}from"./DiscardGuard.js";export{NavigationScreen}from"./NavigationScreen.js";export{useNavigationTheme}from"./useNavigationTheme.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{useMemo}from"react";import{useTheme}from"../theme/index.js";export const useNavigationTheme=()=>{const o=useTheme();return useMemo(()=>({dark:"dark"===o.mode,colors:{primary:o.colors.primary,background:o.colors.bg,card:o.colors.surface,text:o.colors.text,border:o.colors.border,notification:o.colors.primary},fonts:{regular:{fontFamily:o.font.ui.normal??"",fontWeight:o.weight.normal},medium:{fontFamily:o.font.ui.medium??"",fontWeight:o.weight.medium},bold:{fontFamily:o.font.ui.semibold??"",fontWeight:o.weight.semibold},heavy:{fontFamily:o.font.ui.bold??"",fontWeight:o.weight.bold}}}),[o])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{triggerHaptic}from"./hapticUtils.js";const INTENT_HAPTIC={tap:"impactLight",select:"selection",longPress:"impactMedium",created:"impactMedium",deleted:"notificationWarning",restored:"notificationSuccess",toggledOn:"impactMedium",toggledOff:"impactLight",succeeded:"notificationSuccess",warned:"notificationWarning",failed:"notificationError"};
|
|
1
|
+
"use strict";import{isHapticsEnabled,setHapticsEnabled,triggerHaptic}from"./hapticUtils.js";const INTENT_HAPTIC={tap:"impactLight",select:"selection",longPress:"impactMedium",created:"impactMedium",deleted:"notificationWarning",restored:"notificationSuccess",toggledOn:"impactMedium",toggledOff:"impactLight",succeeded:"notificationSuccess",warned:"notificationWarning",failed:"notificationError"};export const configureFeedback=e=>{setHapticsEnabled(e.haptics)};export const isFeedbackEnabled=()=>isHapticsEnabled();const fire=e=>{triggerHaptic(INTENT_HAPTIC[e])};export const hapticForIntent=e=>INTENT_HAPTIC[e];export const feedback={tap:()=>fire("tap"),select:()=>fire("select"),longPress:()=>fire("longPress"),created:()=>fire("created"),deleted:()=>fire("deleted"),restored:()=>fire("restored"),toggled:e=>fire(e?"toggledOn":"toggledOff"),succeeded:()=>fire("succeeded"),warned:()=>fire("warned"),failed:()=>fire("failed"),fire:fire};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import*as Haptics from"expo-haptics";import{Platform}from"react-native";let hapticImpl=null;const EXPO_HANDLERS={selection:()=>Haptics.selectionAsync(),impactLight:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light),impactMedium:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium),impactHeavy:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Heavy),notificationSuccess:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success),notificationWarning:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Warning),notificationError:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Error),longPress:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium),tick:()=>Haptics.selectionAsync(),denseTick:()=>Haptics.selectionAsync(),confirm:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success),reject:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Error),gestureStart:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light)},ANDROID_HAPTICS={longPress:"Long_Press",tick:"Segment_Tick",denseTick:"Segment_Frequent_Tick",confirm:"Confirm",reject:"Reject",gestureStart:"Gesture_Start"},androidHandler=t=>{const c=ANDROID_HAPTICS[t];return"android"===Platform.OS&&c&&"function"==typeof Haptics.performAndroidHapticsAsync&&Haptics.AndroidHaptics?.[c]?()=>Haptics.performAndroidHapticsAsync(Haptics.AndroidHaptics[c]):null};export const triggerHaptic=(t="selection")=>{if(hapticImpl)try{return void hapticImpl(t)}catch{}const c=androidHandler(t)??EXPO_HANDLERS[t];try{c().catch(()=>{})}catch{}};export const setHapticImplementation=t=>{hapticImpl=t};export const resolveHaptic=(t,c)=>!1===t?null:t??c;
|
|
1
|
+
"use strict";import*as Haptics from"expo-haptics";import{Platform}from"react-native";let hapticImpl=null;const EXPO_HANDLERS={selection:()=>Haptics.selectionAsync(),impactLight:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light),impactMedium:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium),impactHeavy:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Heavy),notificationSuccess:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success),notificationWarning:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Warning),notificationError:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Error),longPress:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium),tick:()=>Haptics.selectionAsync(),denseTick:()=>Haptics.selectionAsync(),confirm:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success),reject:()=>Haptics.notificationAsync(Haptics.NotificationFeedbackType.Error),gestureStart:()=>Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light)},ANDROID_HAPTICS={longPress:"Long_Press",tick:"Segment_Tick",denseTick:"Segment_Frequent_Tick",confirm:"Confirm",reject:"Reject",gestureStart:"Gesture_Start"},androidHandler=t=>{const c=ANDROID_HAPTICS[t];return"android"===Platform.OS&&c&&"function"==typeof Haptics.performAndroidHapticsAsync&&Haptics.AndroidHaptics?.[c]?()=>Haptics.performAndroidHapticsAsync(Haptics.AndroidHaptics[c]):null};let hapticsEnabled=!0;export const setHapticsEnabled=t=>{hapticsEnabled=t};export const isHapticsEnabled=()=>hapticsEnabled;export const triggerHaptic=(t="selection")=>{if(!hapticsEnabled)return;if(hapticImpl)try{return void hapticImpl(t)}catch{}const c=androidHandler(t)??EXPO_HANDLERS[t];try{c().catch(()=>{})}catch{}};export const setHapticImplementation=t=>{hapticImpl=t};export const resolveHaptic=(t,c)=>!1===t?null:t??c;
|
|
@@ -13,12 +13,13 @@ export interface AccordionProps {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
variant?: AccordionVariant;
|
|
15
15
|
accessibilityLabel?: string;
|
|
16
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
16
17
|
style?: StyleProp<ViewStyle>;
|
|
17
18
|
headerStyle?: StyleProp<ViewStyle>;
|
|
18
19
|
contentStyle?: StyleProp<ViewStyle>;
|
|
19
20
|
/** Style applied to the animated wrapper around the expandable content. */
|
|
20
21
|
contentWrapperStyle?: StyleProp<ViewStyle>;
|
|
21
|
-
/**
|
|
22
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
22
23
|
containerStyle?: StyleProp<ViewStyle>;
|
|
23
24
|
testID?: string;
|
|
24
25
|
/**
|
|
@@ -106,8 +106,9 @@ export interface AppBarProps {
|
|
|
106
106
|
* area and a bottom hairline border fades in.
|
|
107
107
|
*/
|
|
108
108
|
scrollY?: Animated.Value | Animated.AnimatedInterpolation<number>;
|
|
109
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
109
110
|
style?: StyleProp<ViewStyle>;
|
|
110
|
-
/** Alias
|
|
111
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
111
112
|
containerStyle?: StyleProp<ViewStyle>;
|
|
112
113
|
/** Style applied to the title Animated.Text. */
|
|
113
114
|
titleStyle?: StyleProp<ViewStyle>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Draws the same Iconsax glyphs webority-ui's `AppIcon` draws on the web,
|
|
5
5
|
* keyed by the same names, so a feature that says `<AppIcon name="send" />`
|
|
6
6
|
* looks identical in the portal and in the app. Two tiers, both generated
|
|
7
|
-
* from webority-ui by `scripts/
|
|
7
|
+
* from webority-ui's icon map by `scripts/gen-icons.mjs` (never hand-edit them):
|
|
8
8
|
*
|
|
9
9
|
* - the curated set: the design system's semantic names ("plus",
|
|
10
10
|
* "eye-off", "alert-circle") in `glyphs.g.ts` (linear, evaluated at
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
import type React from "react";
|
|
22
22
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
23
23
|
import type { Size } from "../../types/vocabulary";
|
|
24
|
+
import type { TextColor } from "../Text/Text";
|
|
24
25
|
import type { IconName } from "./catalog.g";
|
|
25
26
|
import { ICON_NAMES } from "./catalog.g";
|
|
26
27
|
import type { CuratedIconName } from "./glyphs.g";
|
|
@@ -40,6 +41,8 @@ export type AppIconName = IconName | IconsaxShadowedName;
|
|
|
40
41
|
/** `linear` is the default Iconsax style; the rest come from the lazy modules. */
|
|
41
42
|
export type IconVariant = "linear" | IconVariantName;
|
|
42
43
|
export type AppIconSize = Size;
|
|
44
|
+
/** A text role or tone name, resolved as Text resolves it, or any raw colour string. */
|
|
45
|
+
export type AppIconColor = TextColor | (string & {});
|
|
43
46
|
/** Pixel sizes behind the size tokens; a raw number is accepted too. */
|
|
44
47
|
export declare const APP_ICON_SIZES: Record<AppIconSize, number>;
|
|
45
48
|
export interface AppIconProps {
|
|
@@ -51,8 +54,8 @@ export interface AppIconProps {
|
|
|
51
54
|
name: AppIconName;
|
|
52
55
|
/** Size token or a pixel number. Default `'md'` (22). */
|
|
53
56
|
size?: AppIconSize | number;
|
|
54
|
-
/**
|
|
55
|
-
color?:
|
|
57
|
+
/** A text role or tone name ("tertiary", "success", "brand") or any colour string. Default theme.colors["text-body"]. */
|
|
58
|
+
color?: AppIconColor;
|
|
56
59
|
/** Iconsax style. Default `'linear'`. Names missing in a style fall back to linear. */
|
|
57
60
|
variant?: IconVariant;
|
|
58
61
|
style?: StyleProp<ViewStyle>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type IconName = "aave" | "activity" | "add" | "add-circle" | "add-square" | "additem" | "airdrop" | "airplane" | "airplane-square" | "airpod" | "airpods" | "alarm" | "alert-circle" | "alert-triangle" | "align-bottom" | "align-horizontally" | "align-left" | "align-right" | "align-top" | "align-vertically" | "android" | "ankr" | "apple" | "aquarius" | "archive" | "archive-add" | "archive-book" | "archive-box" | "archive-minus" | "archive-slash" | "archive-tick" | "arrange-horizontal" | "arrange-horizontal-circle" | "arrange-horizontal-square" | "arrange-vertical" | "arrange-vertical-circle" | "arrange-vertical-square" | "arrow" | "arrow-circle-down" | "arrow-circle-down-2" | "arrow-circle-left" | "arrow-circle-left-2" | "arrow-circle-right" | "arrow-circle-right-2" | "arrow-circle-up" | "arrow-circle-up-2" | "arrow-down" | "arrow-down-2" | "arrow-down-3" | "arrow-down-up" | "arrow-forward" | "arrow-forward-square" | "arrow-left" | "arrow-left-2" | "arrow-left-3" | "arrow-right" | "arrow-right-2" | "arrow-right-3" | "arrow-rotate-left" | "arrow-rotate-right" | "arrow-square" | "arrow-square-down" | "arrow-square-left" | "arrow-square-right" | "arrow-square-up" | "arrow-swap-horizontal" | "arrow-swap-vertical" | "arrow-up" | "arrow-up-2" | "arrow-up-3" | "arrow-up-right" | "at" | "attach-circle" | "attach-square" | "audio-square" | "augur" | "autobrightness" | "autonio" | "avalanche" | "award" | "back" | "back-square" | "backward" | "backward-10-seconds" | "backward-15-seconds" | "backward-5-seconds" | "backward-item" | "badge-check" | "bag" | "bag-2" | "bag-cross" | "bag-cross-1" | "bag-happy" | "bag-tick" | "bag-tick-2" | "bag-timer" | "ban" | "bank" | "barcode" | "battery-charging" | "battery-disable" | "battery-empty" | "battery-empty-1" | "battery-full" | "be" | "bell" | "bezier" | "bill" | "binance-coin" | "binance-usd" | "bitcoin" | "bitcoin-card" | "bitcoin-convert" | "bitcoin-refresh" | "blend" | "blend-2" | "blogger" | "bluetooth" | "bluetooth-2" | "bluetooth-circle" | "bluetooth-rectangle" | "blur" | "bolt" | "book" | "book-1" | "book-saved" | "book-square" | "bookmark" | "bookmark-2" | "bootstrap" | "box" | "box-1" | "box-2" | "box-add" | "box-remove" | "box-seam" | "box-search" | "box-tick" | "box-time" | "briefcase" | "briefcase-cross" | "briefcase-tick" | "briefcase-timer" | "brifecase-cross" | "brifecase-tick" | "brifecase-timer" | "brodcast" | "broom" | "brush" | "brush-2" | "brush-3" | "brush-big" | "brush-square" | "bubble" | "bucket" | "bucket-circle" | "bucket-square" | "bug" | "building" | "building-2" | "building-3" | "building-4" | "buildings" | "buildings-2" | "buliding" | "bullseye" | "bus" | "buy-crypto" | "cake" | "calculator" | "calendar" | "calendar-1" | "calendar-2" | "calendar-add" | "calendar-check" | "calendar-circle" | "calendar-dots" | "calendar-edit" | "calendar-remove" | "calendar-search" | "calendar-tick" | "call" | "call-add" | "call-calling" | "call-incoming" | "call-minus" | "call-outgoing" | "call-received" | "call-remove" | "call-slash" | "camera" | "camera-slash" | "candle" | "candle-2" | "car" | "card" | "card-add" | "card-coin" | "card-edit" | "card-pos" | "card-receive" | "card-remove" | "card-remove-1" | "card-send" | "card-slash" | "card-tick" | "card-tick-1" | "cardano" | "cards" | "cash-stack" | "category" | "category-2" | "cd" | "celo" | "celsius" | "chainlink" | "chart" | "chart-1" | "chart-2" | "chart-21" | "chart-circle" | "chart-column" | "chart-fail" | "chart-square" | "chart-success" | "chat" | "chat-dots" | "check" | "check-check" | "check-circle" | "chemical-glass" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-left" | "chevrons-right" | "chevrons-up-down" | "chrome" | "circle" | "circle-help" | "civic" | "clipboard" | "clipboard-check" | "clipboard-close" | "clipboard-export" | "clipboard-import" | "clipboard-text" | "clipboard-tick" | "clock" | "close-circle" | "close-square" | "cloud" | "cloud-add" | "cloud-change" | "cloud-connection" | "cloud-cross" | "cloud-drizzle" | "cloud-fog" | "cloud-lightning" | "cloud-minus" | "cloud-notif" | "cloud-plus" | "cloud-remove" | "cloud-snow" | "cloud-sunny" | "code" | "code-1" | "code-circle" | "coffee" | "coin" | "coin-1" | "coins" | "color-swatch" | "colorfilter" | "colors-square" | "command" | "command-square" | "comment" | "component" | "computing" | "contact" | "convert" | "convert-3-d-cube" | "convert-card" | "convertshape" | "convertshape-2" | "copy" | "copy-success" | "copyright" | "courthouse" | "cpu" | "cpu-charge" | "cpu-setting" | "creative-commons" | "credit-card" | "crop" | "crown" | "crown-1" | "cup" | "cursor" | "cut" | "dai" | "danger" | "dash" | "data" | "data-2" | "decred" | "dent" | "designtools" | "device-message" | "devices" | "diagram" | "diagram-3" | "diamonds" | "direct" | "direct-down" | "direct-inbox" | "direct-left" | "direct-normal" | "direct-notification" | "direct-right" | "direct-send" | "direct-up" | "directbox-default" | "directbox-notif" | "directbox-receive" | "directbox-send" | "discount-circle" | "discount-shape" | "discover" | "dislike" | "display" | "document" | "document-cloud" | "document-code" | "document-code-2" | "document-copy" | "document-download" | "document-favorite" | "document-filter" | "document-forward" | "document-like" | "document-previous" | "document-sketch" | "document-text" | "document-text-1" | "document-upload" | "dollar-circle" | "dollar-square" | "download" | "dribbble" | "driver" | "driver-2" | "driver-refresh" | "driving" | "drop" | "dropbox" | "edit" | "edit-2" | "educare" | "electricity" | "element" | "element-2" | "element-3" | "element-4" | "element-equal" | "element-plus" | "emercoin" | "emoji-happy" | "emoji-normal" | "emoji-sad" | "emoji-smile" | "empty-wallet" | "empty-wallet-add" | "empty-wallet-change" | "empty-wallet-remove" | "empty-wallet-tick" | "empty-wallet-time" | "enjin-coin" | "eos" | "eraser" | "eraser-square" | "ethereum" | "ethereum-classic" | "export" | "export-circle" | "export-curve" | "export-square" | "external-drive" | "external-link" | "eye" | "eye-off" | "eye-slash" | "facebook" | "factory" | "fatrows" | "favorite-chart" | "figma" | "figma-1" | "file-plus-2" | "file-text" | "files" | "filter" | "filter-add" | "filter-edit" | "filter-remove" | "filter-search" | "filter-square" | "filter-tick" | "finger-cricle" | "finger-scan" | "firstline" | "flag" | "flag-2" | "flame" | "flash" | "flash-circle" | "flash-slash" | "flashy" | "folder" | "folder-2" | "folder-add" | "folder-cloud" | "folder-connection" | "folder-cross" | "folder-favorite" | "folder-kanban" | "folder-minus" | "folder-open" | "folder-plus" | "forbidden" | "forbidden-2" | "format-circle" | "format-square" | "forward" | "forward-10-seconds" | "forward-15-seconds" | "forward-5-seconds" | "forward-item" | "framer" | "ftx-token" | "gallery" | "gallery-add" | "gallery-edit" | "gallery-export" | "gallery-favorite" | "gallery-import" | "gallery-remove" | "gallery-slash" | "gallery-tick" | "game" | "gameboy" | "gas-station" | "gauge" | "gemini" | "gemini-2" | "ghost" | "gift" | "glass" | "global" | "global-edit" | "global-refresh" | "global-search" | "globe" | "globe2" | "google" | "google-drive" | "google-play" | "gps" | "gps-slash" | "grammerly" | "graph" | "grid" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-5" | "grid-6" | "grid-7" | "grid-8" | "grid-9" | "grid-edit" | "grid-eraser" | "grid-lock" | "hamberger-menu" | "hamburger-menu" | "hand" | "happyemoji" | "hard-hat" | "harmony" | "hashtag" | "hashtag-down" | "hashtag-square" | "hashtag-up" | "headphone" | "headphones" | "health" | "heart" | "heart-add" | "heart-circle" | "heart-edit" | "heart-remove" | "heart-search" | "heart-slash" | "heart-tick" | "hedera-hashgraph" | "hex" | "hierarchy" | "hierarchy-2" | "hierarchy-3" | "hierarchy-square" | "hierarchy-square-2" | "hierarchy-square-3" | "history" | "home" | "home-2" | "home-3" | "home-hashtag" | "home-trend-down" | "home-trend-up" | "home-wifi" | "hospital" | "house" | "house-2" | "html-3" | "html-5" | "huobi-token" | "i-24-support" | "i-3-d-cube-scan" | "i-3-d-rotate" | "i-3-d-square" | "i-3-dcube" | "i-3-square" | "icon" | "illustrator" | "image" | "import" | "import-circle" | "import-curve" | "import-square" | "inbox" | "info" | "info-circle" | "information" | "instagram" | "iost" | "java-script" | "js" | "judge" | "kanban" | "key" | "key-square" | "keyboard" | "keyboard-open" | "kyber-network" | "lamp" | "lamp-charge" | "lamp-on" | "lamp-slash" | "language-circle" | "language-square" | "layer" | "layout-dashboard" | "layout-grid" | "layout-maximize" | "level" | "lifebuoy" | "lightbulb" | "like" | "like-1" | "like-dislike" | "like-shapes" | "like-tag" | "link" | "link-1" | "link-2" | "link-21" | "link-circle" | "link-square" | "linkedin" | "list" | "litecoin" | "location" | "location-add" | "location-cross" | "location-discover" | "location-minus" | "location-slash" | "location-tick" | "lock" | "lock-1" | "lock-circle" | "lock-slash" | "log-out" | "login" | "login-curve" | "logout" | "logout-curve" | "lovely" | "magic-star" | "magicpen" | "mail" | "main-component" | "maker" | "man" | "map" | "map-1" | "map-pin" | "mask" | "mask-left" | "mask-right" | "math" | "maximize" | "maximize-1" | "maximize-2" | "maximize-3" | "maximize-4" | "maximize-circle" | "medal" | "medal-star" | "menu" | "menu-board" | "message" | "message-2" | "message-add" | "message-add-1" | "message-circle" | "message-edit" | "message-favorite" | "message-minus" | "message-notif" | "message-programming" | "message-question" | "message-remove" | "message-search" | "message-square" | "message-text" | "message-text-1" | "message-tick" | "message-time" | "messages" | "messages-1" | "messages-2" | "messages-3" | "messenger" | "microphone" | "microphone-2" | "microphone-slash" | "microphone-slash-1" | "microscope" | "microsoft" | "milk" | "mini-music-sqaure" | "minus" | "minus-circle" | "minus-cirlce" | "minus-square" | "mirror" | "mirroring-screen" | "mobile" | "mobile-programming" | "monero" | "money" | "money-2" | "money-3" | "money-4" | "money-add" | "money-archive" | "money-change" | "money-forbidden" | "money-receive" | "money-recive" | "money-remove" | "money-send" | "money-tick" | "money-time" | "moneys" | "monitor" | "monitor-mobbile" | "monitor-recorder" | "moon" | "more" | "more-2" | "more-circle" | "more-horizontal" | "more-square" | "mouse" | "mouse-circle" | "mouse-square" | "music" | "music-circle" | "music-dashboard" | "music-filter" | "music-library-2" | "music-play" | "music-playlist" | "music-square" | "music-square-add" | "music-square-remove" | "music-square-search" | "musicnote" | "nebulas" | "nem" | "nexo" | "next" | "note" | "note-1" | "note-add" | "note-favorite" | "note-remove" | "note-square" | "note-text" | "notepad" | "notepad-2" | "notification" | "notification-1" | "notification-bing" | "notification-circle" | "notification-favorite" | "notification-status" | "ocean-protocol" | "okb" | "okru" | "omega-circle" | "omega-square" | "ontology" | "paintbucket" | "palette" | "panel-left-close" | "panel-left-open" | "paperclip" | "paperclip-2" | "password-check" | "path-tool" | "path-tool-2" | "path-tool-square" | "pause" | "pause-circle" | "paypal" | "pen-add" | "pen-close" | "pen-remove" | "pen-tool" | "pen-tool-2" | "pencil" | "people" | "percentage-circle" | "percentage-square" | "personalcard" | "pet" | "pharagraphspacing" | "phone" | "photoshop" | "picture-frame" | "play" | "play-add" | "play-circle" | "play-cricle" | "play-remove" | "plug" | "plus" | "plus-circle" | "pointer" | "polkadot" | "polygon" | "polyswarm" | "presentation-chart" | "presention-chart" | "previous" | "printer" | "printer-slash" | "profile" | "profile-2-user" | "profile-add" | "profile-circle" | "profile-delete" | "profile-remove" | "profile-tick" | "programming-arrow" | "programming-arrows" | "python" | "quant" | "quote-down" | "quote-down-circle" | "quote-down-square" | "quote-up" | "quote-up-circle" | "quote-up-square" | "radar" | "radar-2" | "radio" | "ram" | "ram-2" | "rank" | "ranking" | "receipt" | "receipt-1" | "receipt-2" | "receipt-21" | "receipt-add" | "receipt-discount" | "receipt-disscount" | "receipt-edit" | "receipt-item" | "receipt-minus" | "receipt-search" | "receipt-square" | "receipt-text" | "receive" | "receive-square" | "receive-square-2" | "record" | "record-circle" | "recovery-convert" | "reddit" | "refresh" | "refresh-2" | "refresh-circle" | "refresh-cw" | "refresh-left-square" | "refresh-right-square" | "refresh-square" | "repeat" | "repeat-circle" | "repeate-music" | "repeate-one" | "reserve" | "robot" | "rotate-ccw" | "rotate-cw" | "rotate-left" | "rotate-right" | "route-square" | "routing" | "routing-2" | "row-horizontal" | "row-vertical" | "ruler" | "ruler-pen" | "safe-home" | "sagittarius" | "save-2" | "save-add" | "save-minus" | "save-remove" | "scan" | "scan-barcode" | "scanner" | "scanning" | "scissor" | "screenmirroring" | "scroll" | "search" | "search-favorite" | "search-favorite-1" | "search-normal" | "search-normal-1" | "search-status" | "search-status-1" | "search-zoom-in" | "search-zoom-in-1" | "search-zoom-out" | "search-zoom-out-1" | "security" | "security-card" | "security-safe" | "security-time" | "security-user" | "send" | "send-2" | "server" | "setting" | "setting-2" | "setting-3" | "setting-4" | "setting-5" | "settings" | "shapes" | "shapes-1" | "share" | "share-2" | "shield" | "shield-check" | "shield-cross" | "shield-lock" | "shield-plus" | "shield-search" | "shield-security" | "shield-slash" | "shield-tick" | "ship" | "shop" | "shop-add" | "shop-remove" | "shopping-bag" | "shopping-cart" | "shuffle" | "shutterstock" | "siacoin" | "sidebar-bottom" | "sidebar-left" | "sidebar-right" | "sidebar-top" | "signpost" | "simcard" | "simcard-1" | "simcard-2" | "size" | "slack" | "slash" | "slider" | "slider-horizontal" | "slider-horizontal-1" | "slider-vertical" | "slider-vertical-1" | "smallcaps" | "smart-car" | "smart-home" | "smileys" | "sms" | "sms-edit" | "sms-notification" | "sms-search" | "sms-star" | "sms-tracking" | "snapchat" | "snowflake" | "solana" | "sort" | "sound" | "sparkles" | "speaker" | "speedometer" | "spotify" | "stacks" | "star" | "star-1" | "star-slash" | "stars" | "status" | "status-up" | "stellar" | "sticker" | "stickynote" | "stop" | "stop-circle" | "story" | "strongbox" | "strongbox-2" | "subtitle" | "sun" | "sun-1" | "sun-fog" | "table-document" | "table-lamp" | "tag" | "tag-2" | "tag-cross" | "tag-right" | "tag-user" | "task" | "task-square" | "teacher" | "telephone" | "tenx" | "tether" | "text" | "text-block" | "text-bold" | "text-italic" | "text-underline" | "textalign-center" | "textalign-justifycenter" | "textalign-justifyleft" | "textalign-justifyright" | "textalign-left" | "textalign-right" | "the-graph" | "theta" | "thorchain" | "thumbs-up" | "tick-circle" | "tick-square" | "ticket" | "ticket-2" | "ticket-discount" | "ticket-expired" | "ticket-star" | "timer" | "timer-1" | "timer-pause" | "timer-start" | "toggle-off" | "toggle-off-circle" | "toggle-on" | "toggle-on-circle" | "trade" | "transaction-minus" | "translate" | "transmit" | "transmit-sqaure-2" | "transmit-square" | "trash" | "trash-2" | "tree" | "trello" | "trend-down" | "trend-up" | "trending-up" | "triangle" | "triangle-logo" | "trontron" | "truck" | "truck-fast" | "truck-remove" | "truck-tick" | "truck-time" | "trush-square" | "twitch" | "two-page" | "ui-8" | "unlimited" | "unlock" | "upload" | "usd-coin" | "user" | "user-add" | "user-check" | "user-cirlce-add" | "user-edit" | "user-minus" | "user-octagon" | "user-plus" | "user-remove" | "user-search" | "user-square" | "user-tag" | "user-tick" | "users" | "velas" | "verify" | "vibe" | "video" | "video-add" | "video-circle" | "video-horizontal" | "video-octagon" | "video-play" | "video-remove" | "video-slash" | "video-square" | "video-tick" | "video-time" | "video-vertical" | "voice-circle" | "voice-cricle" | "voice-square" | "volume" | "volume-cross" | "volume-high" | "volume-low" | "volume-low-1" | "volume-mute" | "volume-slash" | "volume-up" | "wallet" | "wallet-1" | "wallet-2" | "wallet-3" | "wallet-add" | "wallet-add-1" | "wallet-check" | "wallet-minus" | "wallet-money" | "wallet-remove" | "wallet-search" | "wallet2" | "wanchain" | "wanchain-1" | "wand-sparkles" | "warning-2" | "watch" | "watch-status" | "weight" | "weight-meter" | "whatsapp" | "wifi" | "wifi-square" | "wind" | "wind-2" | "windows" | "wing" | "woman" | "wrist-clock" | "x" | "x-circle" | "xd" | "xiaomi" | "xrp" | "youtube" | "zap" | "zel" | "zoom" | "zoom-in" | "zoom-out";
|
|
1
|
+
export type IconName = "aave" | "activity" | "add" | "add-circle" | "add-square" | "additem" | "airdrop" | "airplane" | "airplane-square" | "airpod" | "airpods" | "alarm" | "alert-circle" | "alert-triangle" | "align-bottom" | "align-horizontally" | "align-left" | "align-right" | "align-top" | "align-vertically" | "android" | "ankr" | "apple" | "aquarius" | "archive" | "archive-add" | "archive-book" | "archive-box" | "archive-minus" | "archive-slash" | "archive-tick" | "arrange-horizontal" | "arrange-horizontal-circle" | "arrange-horizontal-square" | "arrange-vertical" | "arrange-vertical-circle" | "arrange-vertical-square" | "arrow" | "arrow-circle-down" | "arrow-circle-down-2" | "arrow-circle-left" | "arrow-circle-left-2" | "arrow-circle-right" | "arrow-circle-right-2" | "arrow-circle-up" | "arrow-circle-up-2" | "arrow-down" | "arrow-down-2" | "arrow-down-3" | "arrow-down-up" | "arrow-forward" | "arrow-forward-square" | "arrow-left" | "arrow-left-2" | "arrow-left-3" | "arrow-right" | "arrow-right-2" | "arrow-right-3" | "arrow-rotate-left" | "arrow-rotate-right" | "arrow-square" | "arrow-square-down" | "arrow-square-left" | "arrow-square-right" | "arrow-square-up" | "arrow-swap-horizontal" | "arrow-swap-vertical" | "arrow-up" | "arrow-up-2" | "arrow-up-3" | "arrow-up-right" | "at" | "attach-circle" | "attach-square" | "audio-square" | "augur" | "autobrightness" | "autonio" | "avalanche" | "award" | "back" | "back-square" | "backward" | "backward-10-seconds" | "backward-15-seconds" | "backward-5-seconds" | "backward-item" | "badge-check" | "bag" | "bag-2" | "bag-cross" | "bag-cross-1" | "bag-happy" | "bag-tick" | "bag-tick-2" | "bag-timer" | "ban" | "bank" | "barcode" | "battery-charging" | "battery-disable" | "battery-empty" | "battery-empty-1" | "battery-full" | "be" | "bell" | "bezier" | "bill" | "binance-coin" | "binance-usd" | "bitcoin" | "bitcoin-card" | "bitcoin-convert" | "bitcoin-refresh" | "blend" | "blend-2" | "blogger" | "bluetooth" | "bluetooth-2" | "bluetooth-circle" | "bluetooth-rectangle" | "blur" | "bolt" | "book" | "book-1" | "book-saved" | "book-square" | "bookmark" | "bookmark-2" | "bootstrap" | "box" | "box-1" | "box-2" | "box-add" | "box-remove" | "box-seam" | "box-search" | "box-tick" | "box-time" | "briefcase" | "briefcase-cross" | "briefcase-tick" | "briefcase-timer" | "brifecase-cross" | "brifecase-tick" | "brifecase-timer" | "brodcast" | "broom" | "brush" | "brush-2" | "brush-3" | "brush-big" | "brush-square" | "bubble" | "bucket" | "bucket-circle" | "bucket-square" | "bug" | "building" | "building-2" | "building-3" | "building-4" | "buildings" | "buildings-2" | "buliding" | "bullseye" | "bus" | "buy-crypto" | "cake" | "calculator" | "calendar" | "calendar-1" | "calendar-2" | "calendar-add" | "calendar-check" | "calendar-circle" | "calendar-dots" | "calendar-edit" | "calendar-remove" | "calendar-search" | "calendar-tick" | "call" | "call-add" | "call-calling" | "call-incoming" | "call-minus" | "call-outgoing" | "call-received" | "call-remove" | "call-slash" | "camera" | "camera-slash" | "candle" | "candle-2" | "car" | "card" | "card-add" | "card-coin" | "card-edit" | "card-pos" | "card-receive" | "card-remove" | "card-remove-1" | "card-send" | "card-slash" | "card-tick" | "card-tick-1" | "cardano" | "cards" | "cash-stack" | "category" | "category-2" | "cd" | "celo" | "celsius" | "chainlink" | "chart" | "chart-1" | "chart-2" | "chart-21" | "chart-circle" | "chart-column" | "chart-fail" | "chart-square" | "chart-success" | "chat" | "chat-dots" | "check" | "check-check" | "check-circle" | "chemical-glass" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-left" | "chevrons-right" | "chevrons-up-down" | "chrome" | "circle" | "circle-help" | "civic" | "clipboard" | "clipboard-check" | "clipboard-close" | "clipboard-export" | "clipboard-import" | "clipboard-text" | "clipboard-tick" | "clock" | "close-circle" | "close-square" | "cloud" | "cloud-add" | "cloud-change" | "cloud-connection" | "cloud-cross" | "cloud-drizzle" | "cloud-fog" | "cloud-lightning" | "cloud-minus" | "cloud-notif" | "cloud-plus" | "cloud-remove" | "cloud-snow" | "cloud-sunny" | "code" | "code-1" | "code-circle" | "coffee" | "coin" | "coin-1" | "coins" | "color-swatch" | "colorfilter" | "colors-square" | "command" | "command-square" | "comment" | "component" | "computing" | "contact" | "convert" | "convert-3-d-cube" | "convert-card" | "convertshape" | "convertshape-2" | "copy" | "copy-success" | "copyright" | "courthouse" | "cpu" | "cpu-charge" | "cpu-setting" | "creative-commons" | "credit-card" | "crop" | "crown" | "crown-1" | "cup" | "cursor" | "cut" | "dai" | "danger" | "dash" | "data" | "data-2" | "decred" | "dent" | "designtools" | "device-message" | "devices" | "diagram" | "diagram-3" | "diamonds" | "direct" | "direct-down" | "direct-inbox" | "direct-left" | "direct-normal" | "direct-notification" | "direct-right" | "direct-send" | "direct-up" | "directbox-default" | "directbox-notif" | "directbox-receive" | "directbox-send" | "discount-circle" | "discount-shape" | "discover" | "dislike" | "display" | "document" | "document-cloud" | "document-code" | "document-code-2" | "document-copy" | "document-download" | "document-favorite" | "document-filter" | "document-forward" | "document-like" | "document-previous" | "document-sketch" | "document-text" | "document-text-1" | "document-upload" | "dollar-circle" | "dollar-square" | "download" | "dribbble" | "driver" | "driver-2" | "driver-refresh" | "driving" | "drop" | "dropbox" | "edit" | "edit-2" | "educare" | "electricity" | "element" | "element-2" | "element-3" | "element-4" | "element-equal" | "element-plus" | "emercoin" | "emoji-happy" | "emoji-normal" | "emoji-sad" | "emoji-smile" | "empty-wallet" | "empty-wallet-add" | "empty-wallet-change" | "empty-wallet-remove" | "empty-wallet-tick" | "empty-wallet-time" | "enjin-coin" | "eos" | "eraser" | "eraser-square" | "ethereum" | "ethereum-classic" | "export" | "export-circle" | "export-curve" | "export-square" | "external-drive" | "external-link" | "eye" | "eye-off" | "eye-slash" | "facebook" | "factory" | "fatrows" | "favorite-chart" | "figma" | "figma-1" | "file-plus-2" | "file-text" | "files" | "filter" | "filter-add" | "filter-edit" | "filter-remove" | "filter-search" | "filter-square" | "filter-tick" | "finger-cricle" | "finger-scan" | "firstline" | "flag" | "flag-2" | "flame" | "flash" | "flash-circle" | "flash-slash" | "flashy" | "folder" | "folder-2" | "folder-add" | "folder-cloud" | "folder-connection" | "folder-cross" | "folder-favorite" | "folder-kanban" | "folder-minus" | "folder-open" | "folder-plus" | "forbidden" | "forbidden-2" | "format-circle" | "format-square" | "forward" | "forward-10-seconds" | "forward-15-seconds" | "forward-5-seconds" | "forward-item" | "framer" | "ftx-token" | "gallery" | "gallery-add" | "gallery-edit" | "gallery-export" | "gallery-favorite" | "gallery-import" | "gallery-remove" | "gallery-slash" | "gallery-tick" | "game" | "gameboy" | "gas-station" | "gauge" | "gemini" | "gemini-2" | "ghost" | "gift" | "github" | "glass" | "global" | "global-edit" | "global-refresh" | "global-search" | "globe" | "globe2" | "google" | "google-drive" | "google-play" | "gps" | "gps-slash" | "grammerly" | "graph" | "grid" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-5" | "grid-6" | "grid-7" | "grid-8" | "grid-9" | "grid-edit" | "grid-eraser" | "grid-lock" | "hamberger-menu" | "hamburger-menu" | "hand" | "happyemoji" | "hard-hat" | "harmony" | "hashtag" | "hashtag-down" | "hashtag-square" | "hashtag-up" | "headphone" | "headphones" | "health" | "heart" | "heart-add" | "heart-circle" | "heart-edit" | "heart-remove" | "heart-search" | "heart-slash" | "heart-tick" | "hedera-hashgraph" | "hex" | "hierarchy" | "hierarchy-2" | "hierarchy-3" | "hierarchy-square" | "hierarchy-square-2" | "hierarchy-square-3" | "history" | "home" | "home-2" | "home-3" | "home-hashtag" | "home-trend-down" | "home-trend-up" | "home-wifi" | "hospital" | "house" | "house-2" | "html-3" | "html-5" | "huobi-token" | "i-24-support" | "i-3-d-cube-scan" | "i-3-d-rotate" | "i-3-d-square" | "i-3-dcube" | "i-3-square" | "icon" | "illustrator" | "image" | "import" | "import-circle" | "import-curve" | "import-square" | "inbox" | "info" | "info-circle" | "information" | "instagram" | "iost" | "java-script" | "js" | "judge" | "kanban" | "key" | "key-square" | "keyboard" | "keyboard-open" | "kyber-network" | "lamp" | "lamp-charge" | "lamp-on" | "lamp-slash" | "language-circle" | "language-square" | "layer" | "layout-dashboard" | "layout-grid" | "layout-maximize" | "level" | "lifebuoy" | "lightbulb" | "like" | "like-1" | "like-dislike" | "like-shapes" | "like-tag" | "link" | "link-1" | "link-2" | "link-21" | "link-circle" | "link-square" | "linkedin" | "list" | "litecoin" | "location" | "location-add" | "location-cross" | "location-discover" | "location-minus" | "location-slash" | "location-tick" | "lock" | "lock-1" | "lock-circle" | "lock-slash" | "log-out" | "login" | "login-curve" | "logout" | "logout-curve" | "lovely" | "magic-star" | "magicpen" | "mail" | "main-component" | "maker" | "man" | "map" | "map-1" | "map-pin" | "mask" | "mask-left" | "mask-right" | "math" | "maximize" | "maximize-1" | "maximize-2" | "maximize-3" | "maximize-4" | "maximize-circle" | "medal" | "medal-star" | "menu" | "menu-board" | "message" | "message-2" | "message-add" | "message-add-1" | "message-circle" | "message-edit" | "message-favorite" | "message-minus" | "message-notif" | "message-programming" | "message-question" | "message-remove" | "message-search" | "message-square" | "message-text" | "message-text-1" | "message-tick" | "message-time" | "messages" | "messages-1" | "messages-2" | "messages-3" | "messenger" | "microphone" | "microphone-2" | "microphone-slash" | "microphone-slash-1" | "microscope" | "microsoft" | "milk" | "mini-music-sqaure" | "minus" | "minus-circle" | "minus-cirlce" | "minus-square" | "mirror" | "mirroring-screen" | "mobile" | "mobile-programming" | "monero" | "money" | "money-2" | "money-3" | "money-4" | "money-add" | "money-archive" | "money-change" | "money-forbidden" | "money-receive" | "money-recive" | "money-remove" | "money-send" | "money-tick" | "money-time" | "moneys" | "monitor" | "monitor-mobbile" | "monitor-recorder" | "moon" | "more" | "more-2" | "more-circle" | "more-horizontal" | "more-square" | "mouse" | "mouse-circle" | "mouse-square" | "music" | "music-circle" | "music-dashboard" | "music-filter" | "music-library-2" | "music-play" | "music-playlist" | "music-square" | "music-square-add" | "music-square-remove" | "music-square-search" | "musicnote" | "nebulas" | "nem" | "nexo" | "next" | "note" | "note-1" | "note-add" | "note-favorite" | "note-remove" | "note-square" | "note-text" | "notepad" | "notepad-2" | "notification" | "notification-1" | "notification-bing" | "notification-circle" | "notification-favorite" | "notification-status" | "ocean-protocol" | "okb" | "okru" | "omega-circle" | "omega-square" | "ontology" | "paintbucket" | "palette" | "panel-left-close" | "panel-left-open" | "paperclip" | "paperclip-2" | "password-check" | "path-tool" | "path-tool-2" | "path-tool-square" | "pause" | "pause-circle" | "paypal" | "pen-add" | "pen-close" | "pen-remove" | "pen-tool" | "pen-tool-2" | "pencil" | "people" | "percentage-circle" | "percentage-square" | "personalcard" | "pet" | "pharagraphspacing" | "phone" | "photoshop" | "picture-frame" | "play" | "play-add" | "play-circle" | "play-cricle" | "play-remove" | "plug" | "plus" | "plus-circle" | "pointer" | "polkadot" | "polygon" | "polyswarm" | "presentation-chart" | "presention-chart" | "previous" | "printer" | "printer-slash" | "profile" | "profile-2-user" | "profile-add" | "profile-circle" | "profile-delete" | "profile-remove" | "profile-tick" | "programming-arrow" | "programming-arrows" | "python" | "quant" | "quote-down" | "quote-down-circle" | "quote-down-square" | "quote-up" | "quote-up-circle" | "quote-up-square" | "radar" | "radar-2" | "radio" | "ram" | "ram-2" | "rank" | "ranking" | "receipt" | "receipt-1" | "receipt-2" | "receipt-21" | "receipt-add" | "receipt-discount" | "receipt-disscount" | "receipt-edit" | "receipt-item" | "receipt-minus" | "receipt-search" | "receipt-square" | "receipt-text" | "receive" | "receive-square" | "receive-square-2" | "record" | "record-circle" | "recovery-convert" | "reddit" | "refresh" | "refresh-2" | "refresh-circle" | "refresh-cw" | "refresh-left-square" | "refresh-right-square" | "refresh-square" | "repeat" | "repeat-circle" | "repeate-music" | "repeate-one" | "reserve" | "robot" | "rotate-ccw" | "rotate-cw" | "rotate-left" | "rotate-right" | "route-square" | "routing" | "routing-2" | "row-horizontal" | "row-vertical" | "ruler" | "ruler-pen" | "safe-home" | "sagittarius" | "save-2" | "save-add" | "save-minus" | "save-remove" | "scan" | "scan-barcode" | "scanner" | "scanning" | "scissor" | "screenmirroring" | "scroll" | "search" | "search-favorite" | "search-favorite-1" | "search-normal" | "search-normal-1" | "search-status" | "search-status-1" | "search-zoom-in" | "search-zoom-in-1" | "search-zoom-out" | "search-zoom-out-1" | "security" | "security-card" | "security-safe" | "security-time" | "security-user" | "send" | "send-2" | "server" | "setting" | "setting-2" | "setting-3" | "setting-4" | "setting-5" | "settings" | "shapes" | "shapes-1" | "share" | "share-2" | "shield" | "shield-check" | "shield-cross" | "shield-lock" | "shield-plus" | "shield-search" | "shield-security" | "shield-slash" | "shield-tick" | "ship" | "shop" | "shop-add" | "shop-remove" | "shopping-bag" | "shopping-cart" | "shuffle" | "shutterstock" | "siacoin" | "sidebar-bottom" | "sidebar-left" | "sidebar-right" | "sidebar-top" | "signpost" | "simcard" | "simcard-1" | "simcard-2" | "size" | "slack" | "slash" | "slider" | "slider-horizontal" | "slider-horizontal-1" | "slider-vertical" | "slider-vertical-1" | "smallcaps" | "smart-car" | "smart-home" | "smileys" | "sms" | "sms-edit" | "sms-notification" | "sms-search" | "sms-star" | "sms-tracking" | "snapchat" | "snowflake" | "solana" | "sort" | "sound" | "sparkles" | "speaker" | "speedometer" | "spotify" | "stacks" | "star" | "star-1" | "star-slash" | "stars" | "status" | "status-up" | "stellar" | "sticker" | "stickynote" | "stop" | "stop-circle" | "story" | "strongbox" | "strongbox-2" | "subtitle" | "sun" | "sun-1" | "sun-fog" | "table-document" | "table-lamp" | "tag" | "tag-2" | "tag-cross" | "tag-right" | "tag-user" | "task" | "task-square" | "teacher" | "telephone" | "tenx" | "tether" | "text" | "text-block" | "text-bold" | "text-italic" | "text-underline" | "textalign-center" | "textalign-justifycenter" | "textalign-justifyleft" | "textalign-justifyright" | "textalign-left" | "textalign-right" | "the-graph" | "theta" | "thorchain" | "thumbs-up" | "tick-circle" | "tick-square" | "ticket" | "ticket-2" | "ticket-discount" | "ticket-expired" | "ticket-star" | "timer" | "timer-1" | "timer-pause" | "timer-start" | "toggle-off" | "toggle-off-circle" | "toggle-on" | "toggle-on-circle" | "trade" | "transaction-minus" | "translate" | "transmit" | "transmit-sqaure-2" | "transmit-square" | "trash" | "trash-2" | "tree" | "trello" | "trend-down" | "trend-up" | "trending-up" | "triangle" | "triangle-logo" | "trontron" | "truck" | "truck-fast" | "truck-remove" | "truck-tick" | "truck-time" | "trush-square" | "twitch" | "two-page" | "ui-8" | "unlimited" | "unlock" | "upload" | "usd-coin" | "user" | "user-add" | "user-check" | "user-cirlce-add" | "user-edit" | "user-minus" | "user-octagon" | "user-plus" | "user-remove" | "user-search" | "user-square" | "user-tag" | "user-tick" | "users" | "velas" | "verify" | "vibe" | "video" | "video-add" | "video-circle" | "video-horizontal" | "video-octagon" | "video-play" | "video-remove" | "video-slash" | "video-square" | "video-tick" | "video-time" | "video-vertical" | "voice-circle" | "voice-cricle" | "voice-square" | "volume" | "volume-cross" | "volume-high" | "volume-low" | "volume-low-1" | "volume-mute" | "volume-slash" | "volume-up" | "wallet" | "wallet-1" | "wallet-2" | "wallet-3" | "wallet-add" | "wallet-add-1" | "wallet-check" | "wallet-minus" | "wallet-money" | "wallet-remove" | "wallet-search" | "wallet2" | "wanchain" | "wanchain-1" | "wand-sparkles" | "warning-2" | "watch" | "watch-status" | "weight" | "weight-meter" | "whatsapp" | "wifi" | "wifi-square" | "wind" | "wind-2" | "windows" | "wing" | "woman" | "wrist-clock" | "x" | "x-circle" | "xd" | "xiaomi" | "xrp" | "youtube" | "zap" | "zel" | "zoom" | "zoom-in" | "zoom-out";
|
|
2
2
|
export declare const ICON_NAMES: IconName[];
|
|
3
3
|
export type CatalogStyle = "linear" | "bold" | "broken" | "bulk" | "outline" | "twotone";
|
|
4
4
|
type ShardLoader = () => Record<string, string>;
|
|
@@ -98,6 +98,7 @@ export declare const GLYPHS: {
|
|
|
98
98
|
readonly "folder-plus": "<path d=\"M12.06 16.5v-5M14.5 14h-5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M22 11v6c0 4-1 5-5 5H7c-4 0-5-1-5-5V7c0-4 1-5 5-5h1.5c1.5 0 1.83.44 2.4 1.2l1.5 2c.38.5.6.8 1.6.8h3c4 0 5 1 5 5Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\"></path>";
|
|
99
99
|
readonly gauge: "<path d=\"M19.14 19.5a9.964 9.964 0 0 0 2.86-7c0-5.52-4.48-10-10-10S2 6.98 2 12.5c0 2.72 1.08 5.18 2.84 6.99\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M12 21.5a3.38 3.38 0 1 0 0-6.76 3.38 3.38 0 0 0 0 6.76ZM15.25 12H16c.82 0 1.5-.67 1.5-1.5 0-.82-.68-1.5-1.5-1.5s-1.5.67-1.5 1.5v.75c0 .41.34.75.75.75Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
100
100
|
readonly gift: "<path d=\"M19.97 10h-16v8c0 3 1 4 4 4h8c3 0 4-1 4-4v-8ZM21.5 7v1c0 1.1-.53 2-2 2h-15c-1.53 0-2-.9-2-2V7c0-1.1.47-2 2-2h15c1.47 0 2 .9 2 2ZM11.64 5H6.12a.936.936 0 0 1 .03-1.3l1.42-1.42a.96.96 0 0 1 1.35 0L11.64 5ZM17.87 5h-5.52l2.72-2.72a.96.96 0 0 1 1.35 0l1.42 1.42c.36.36.37.93.03 1.3Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8.94 10v5.14c0 .8.88 1.27 1.55.84l.94-.62a1 1 0 0 1 1.1 0l.89.6a.997.997 0 0 0 1.55-.83V10H8.94Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
101
|
+
readonly github: "<path d=\"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 4.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\" fill=\"currentColor\"/>";
|
|
101
102
|
readonly globe: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
102
103
|
readonly globe2: "<path d=\"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M8 3h1a28.424 28.424 0 0 0 0 18H8M15 3a28.424 28.424 0 0 1 0 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path><path d=\"M3 16v-1a28.424 28.424 0 0 0 18 0v1M3 9a28.424 28.424 0 0 1 18 0\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
103
104
|
readonly google: "<path d=\"M21.6 10.2h-9.4v3.7h5.5c-.1.9-.7 2.3-2 3.2-.8.6-2 1-3.5 1-2.6 0-4.9-1.7-5.7-4.2-.2-.6-.3-1.3-.3-2s.1-1.4.3-2c.1-.2.1-.4.2-.5.9-2.1 3-3.6 5.5-3.6 1.9 0 3.1.8 3.9 1.5l2.8-2.8C17.2 3 14.9 2 12.2 2 8.3 2 4.9 4.2 3.3 7.5c-.7 1.4-1.1 2.9-1.1 4.5s.4 3.1 1.1 4.5c1.6 3.3 5 5.5 8.9 5.5 2.7 0 5-.9 6.6-2.4 1.9-1.7 3-4.3 3-7.4 0-.8-.1-1.4-.2-2Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, } from "./AppIcon";
|
|
1
|
+
export type { AppIconColor, AppIconName, AppIconProps, AppIconSize, CuratedIconName, IconName, IconsaxShadowedName, IconVariant, } from "./AppIcon";
|
|
2
2
|
export { APP_ICON_SIZES, AppIcon, buildIconXml, CURATED_ICON_NAMES, default, ICON_NAMES, ICONSAX_SUFFIX, resolveGlyph, } from "./AppIcon";
|
|
3
3
|
export { defaultIcons } from "./defaultIcons";
|
|
4
4
|
export type { SlotIcon, SlotIconRef, SlotIconState, SlotNode } from "./slotIcon";
|
|
@@ -73,8 +73,9 @@ export interface BannerProps {
|
|
|
73
73
|
* the container makes TalkBack read the label alone and skip the rest.
|
|
74
74
|
*/
|
|
75
75
|
accessibilityLabel?: string;
|
|
76
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
76
77
|
style?: StyleProp<ViewStyle>;
|
|
77
|
-
/** Alias
|
|
78
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
78
79
|
containerStyle?: StyleProp<ViewStyle>;
|
|
79
80
|
/** Style applied to the auto-rendered icon circle (when no custom `icon` is provided). */
|
|
80
81
|
iconCircleStyle?: StyleProp<ViewStyle>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
import type { View as RNView, StyleProp, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import type { RadiusName, SpaceName, Theme } from "../../theme/types";
|
|
4
|
-
export type BackgroundToken = "bg" | "bg-subtle" | "bg-muted" | "surface" | "scrim" | "surface-inverse";
|
|
4
|
+
export type BackgroundToken = "bg" | "bg-subtle" | "bg-muted" | "surface" | "scrim" | "surface-inverse" | "primary-wash";
|
|
5
5
|
export interface BoxProps extends ViewProps {
|
|
6
6
|
/** padding (all sides) */
|
|
7
7
|
p?: SpaceName;
|
|
@@ -23,7 +23,7 @@ export interface BoxProps extends ViewProps {
|
|
|
23
23
|
ml?: SpaceName;
|
|
24
24
|
/** Flexbox gap between children (spacing token). */
|
|
25
25
|
gap?: SpaceName;
|
|
26
|
-
/** Background: a colour name (bg, bg-subtle, bg-muted, surface, scrim, surface-inverse) or a raw colour string. */
|
|
26
|
+
/** Background: a colour name (bg, bg-subtle, bg-muted, surface, scrim, surface-inverse, primary-wash) or a raw colour string. */
|
|
27
27
|
bg?: BackgroundToken | (string & {});
|
|
28
28
|
radius?: RadiusName;
|
|
29
29
|
/** Draw a hairline border in `colors.border`. */
|
|
@@ -62,6 +62,9 @@ export interface ButtonProps extends Omit<PressableProps, "style" | "children">
|
|
|
62
62
|
* `leftIcon`.
|
|
63
63
|
*/
|
|
64
64
|
leftIconBadge?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Haptic on press. Defaults to a light tap (`impactLight`); a `HapticType` changes it and `false` switches it off. The app-wide switch (`configureFeedback`) silences it too.
|
|
67
|
+
*/
|
|
65
68
|
haptic?: HapticType | false;
|
|
66
69
|
rounded?: boolean;
|
|
67
70
|
/**
|
|
@@ -28,8 +28,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
28
28
|
opacity: number;
|
|
29
29
|
};
|
|
30
30
|
navText: {
|
|
31
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
32
31
|
fontFamily?: string | undefined | undefined;
|
|
32
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
33
33
|
fontSize: number;
|
|
34
34
|
lineHeight: number;
|
|
35
35
|
color: string;
|
|
@@ -39,8 +39,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
39
39
|
alignItems: "center";
|
|
40
40
|
};
|
|
41
41
|
headerLabel: {
|
|
42
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
43
42
|
fontFamily?: string | undefined | undefined;
|
|
43
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
44
44
|
fontSize: number;
|
|
45
45
|
color: string;
|
|
46
46
|
};
|
|
@@ -54,8 +54,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
54
54
|
paddingVertical: number;
|
|
55
55
|
};
|
|
56
56
|
weekdayText: {
|
|
57
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
58
57
|
fontFamily?: string | undefined | undefined;
|
|
58
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
59
59
|
fontSize: number;
|
|
60
60
|
color: string;
|
|
61
61
|
letterSpacing: number;
|
|
@@ -101,8 +101,8 @@ export declare const buildCalendarStyles: (theme: Theme) => {
|
|
|
101
101
|
borderRadius: number;
|
|
102
102
|
};
|
|
103
103
|
dayText: {
|
|
104
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
105
104
|
fontFamily?: string | undefined | undefined;
|
|
105
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | "ultralight" | "thin" | "light" | "medium" | "regular" | "semibold" | "condensedBold" | "condensed" | "heavy" | "black" | undefined | undefined;
|
|
106
106
|
fontSize: number;
|
|
107
107
|
};
|
|
108
108
|
dots: {
|
|
@@ -15,7 +15,7 @@ export type CardElevation = "none" | ShadowName;
|
|
|
15
15
|
export type CardRadius = "sm" | "md" | "lg" | "xl";
|
|
16
16
|
export type CardPadding = "none" | "sm" | "md" | "lg" | "xl";
|
|
17
17
|
export type CardTitleFont = "sans" | "serif";
|
|
18
|
-
declare const BACKGROUND_TOKENS: readonly ["bg", "bg-subtle", "bg-muted", "surface", "scrim", "surface-inverse"];
|
|
18
|
+
declare const BACKGROUND_TOKENS: readonly ["bg", "bg-subtle", "bg-muted", "surface", "scrim", "surface-inverse", "primary-wash"];
|
|
19
19
|
type CardBackgroundToken = (typeof BACKGROUND_TOKENS)[number];
|
|
20
20
|
export type CardBackground = CardBackgroundToken | (string & {});
|
|
21
21
|
export interface CardLabels {
|
|
@@ -35,8 +35,8 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
|
|
|
35
35
|
/** Press feedback of a card with `onPress`. `false` draws none. Default `'scale'`. */
|
|
36
36
|
pressAnimation?: PressAnimationPreset | false;
|
|
37
37
|
/**
|
|
38
|
-
* Background colour: a background colour name (`bg`, `bg-subtle`, `bg-muted`, `surface`, `scrim`, `surface-inverse`) or any raw colour string. Applies on every variant and replaces the variant's default
|
|
39
|
-
* surface colour; `
|
|
38
|
+
* Background colour: a background colour name (`bg`, `bg-subtle`, `bg-muted`, `surface`, `scrim`, `surface-inverse`, `primary-wash`) or any raw colour string. Applies on every variant and replaces the variant's default
|
|
39
|
+
* surface colour; `containerStyle`, then `style`, still win over it.
|
|
40
40
|
*/
|
|
41
41
|
bg?: CardBackground;
|
|
42
42
|
/** Free-form header slot. When given it replaces the built-in header below. */
|
|
@@ -95,8 +95,9 @@ export interface CardProps extends Omit<PressableProps, "style" | "children"> {
|
|
|
95
95
|
*/
|
|
96
96
|
contextMenu?: ContextMenuConfig;
|
|
97
97
|
accessibilityLabel?: string;
|
|
98
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
98
99
|
style?: StyleProp<ViewStyle>;
|
|
99
|
-
/** Alias
|
|
100
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
100
101
|
containerStyle?: StyleProp<ViewStyle>;
|
|
101
102
|
/** Style applied to the header wrapper View. */
|
|
102
103
|
headerStyle?: StyleProp<ViewStyle>;
|
|
@@ -38,11 +38,12 @@ export interface CheckboxProps extends Omit<PressableProps, "style" | "children"
|
|
|
38
38
|
accessibilityLabel?: string;
|
|
39
39
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
40
40
|
haptic?: HapticType | false;
|
|
41
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
41
42
|
style?: StyleProp<ViewStyle>;
|
|
42
43
|
boxStyle?: StyleProp<ViewStyle>;
|
|
43
44
|
/** Style override for the indeterminate bar inside the box. */
|
|
44
45
|
indeterminateBarStyle?: StyleProp<ViewStyle>;
|
|
45
|
-
/**
|
|
46
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
46
47
|
containerStyle?: StyleProp<ViewStyle>;
|
|
47
48
|
/** Style override for the label text. */
|
|
48
49
|
labelStyle?: StyleProp<TextStyle>;
|
|
@@ -65,9 +65,10 @@ export interface ChipProps {
|
|
|
65
65
|
accessibilityLabel?: string;
|
|
66
66
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
67
67
|
haptic?: HapticType | false;
|
|
68
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. */
|
|
68
69
|
style?: StyleProp<ViewStyle>;
|
|
69
70
|
textStyle?: StyleProp<TextStyle>;
|
|
70
|
-
/**
|
|
71
|
+
/** Alias of style, applied before it on the same node. Use style. */
|
|
71
72
|
containerStyle?: StyleProp<ViewStyle>;
|
|
72
73
|
/** Style override for the count text. */
|
|
73
74
|
countStyle?: StyleProp<TextStyle>;
|
|
@@ -34,6 +34,10 @@ export interface ComposerProps {
|
|
|
34
34
|
* to send an attachment alone: `onSend` then gets an empty string. `loading` and `disabled` still block.
|
|
35
35
|
*/
|
|
36
36
|
canSend?: boolean;
|
|
37
|
+
/** Draws a ring on the box that moves between two theme colours, for a typing or loading state. Holds still under reduced motion. */
|
|
38
|
+
ring?: boolean;
|
|
39
|
+
/** `onText` shows the send button only while there is something to send or stop. Default `always`. */
|
|
40
|
+
sendReveal?: "always" | "onText";
|
|
37
41
|
maxLength?: number;
|
|
38
42
|
/** The box grows to this many lines, then scrolls. Default 5. */
|
|
39
43
|
maxLines?: number;
|
|
@@ -2,7 +2,7 @@ import type React from "react";
|
|
|
2
2
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import type { HapticType } from "../../utils";
|
|
4
4
|
import type { CalendarWeekStart } from "../Calendar";
|
|
5
|
-
import type {
|
|
5
|
+
import type { PickerTriggerPassThroughProps } from "../PickerTrigger";
|
|
6
6
|
export type WeekStart = CalendarWeekStart;
|
|
7
7
|
export interface DatePickerLabels {
|
|
8
8
|
title: string;
|
|
@@ -35,7 +35,7 @@ export declare const DEFAULT_DATE_PICKER_LABELS: Readonly<DatePickerLabels>;
|
|
|
35
35
|
* where the consumer may not need either callback. In controlled-modal mode
|
|
36
36
|
* they remain semantically required.
|
|
37
37
|
*/
|
|
38
|
-
export interface DatePickerProps {
|
|
38
|
+
export interface DatePickerProps extends PickerTriggerPassThroughProps {
|
|
39
39
|
visible?: boolean;
|
|
40
40
|
value?: Date | null;
|
|
41
41
|
onChange?: (date: Date) => void;
|
|
@@ -48,8 +48,9 @@ export interface DatePickerProps {
|
|
|
48
48
|
weekStartsOn?: WeekStart;
|
|
49
49
|
title?: string;
|
|
50
50
|
labels?: Partial<DatePickerLabels>;
|
|
51
|
+
/** The outer box. Applied last on that node, so it wins over containerStyle. Applied to the calendar card. */
|
|
51
52
|
style?: StyleProp<ViewStyle>;
|
|
52
|
-
/**
|
|
53
|
+
/** Alias of style, applied before it on the same node. Use style. Applied to the calendar card. */
|
|
53
54
|
containerStyle?: StyleProp<ViewStyle>;
|
|
54
55
|
/** Style override for the header label text wrapper (month/year). */
|
|
55
56
|
headerLabelStyle?: StyleProp<ViewStyle>;
|
|
@@ -60,18 +61,7 @@ export interface DatePickerProps {
|
|
|
60
61
|
/** Haptic feedback for interactions. Pass false to disable; pass a HapticType to override the default. */
|
|
61
62
|
haptic?: HapticType | false;
|
|
62
63
|
testID?: string;
|
|
63
|
-
label?: string;
|
|
64
|
-
placeholder?: string;
|
|
65
|
-
helperText?: string;
|
|
66
|
-
error?: string | boolean;
|
|
67
|
-
required?: boolean;
|
|
68
|
-
disabled?: boolean;
|
|
69
|
-
size?: PickerTriggerSize;
|
|
70
|
-
variant?: PickerTriggerVariant;
|
|
71
|
-
clearable?: boolean;
|
|
72
|
-
onClear?: () => void;
|
|
73
64
|
formatValue?: (date: Date) => string;
|
|
74
|
-
triggerStyle?: StyleProp<ViewStyle>;
|
|
75
65
|
}
|
|
76
66
|
declare const DatePicker: React.FC<DatePickerProps>;
|
|
77
67
|
export { DatePicker };
|