mainstack-design-system 0.7.23 → 0.7.24
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/build/index.d.ts +1398 -0
- package/package.json +3 -3
- package/build/src/app.d.ts +0 -1
- package/build/src/assets/themes/baseThemes.d.ts +0 -2
- package/build/src/components/AccordionItem/index.d.ts +0 -14
- package/build/src/components/Animations/Loader.d.ts +0 -8
- package/build/src/components/Avatars/index.d.ts +0 -15
- package/build/src/components/Button/IconButton.d.ts +0 -12
- package/build/src/components/Button/index.d.ts +0 -31
- package/build/src/components/InputFields/Input.d.ts +0 -23
- package/build/src/components/InputFields/MarkdownEditor.d.ts +0 -20
- package/build/src/components/InputFields/SearchInput.d.ts +0 -19
- package/build/src/components/InputFields/SelectInput/CountrySelect.d.ts +0 -14
- package/build/src/components/InputFields/SelectInput/PhoneNumberInput.d.ts +0 -13
- package/build/src/components/InputFields/SelectInput/SelectInput.d.ts +0 -33
- package/build/src/components/InputFields/SelectInput/index.d.ts +0 -8
- package/build/src/components/InputFields/TextArea.d.ts +0 -20
- package/build/src/components/InputFields/UrlInput.d.ts +0 -12
- package/build/src/components/InputFields/UsernameInput.d.ts +0 -21
- package/build/src/components/Tiles/index.d.ts +0 -17
- package/build/src/components/Typography/Display.d.ts +0 -18
- package/build/src/components/Typography/Heading.d.ts +0 -18
- package/build/src/components/Typography/Paragraph.d.ts +0 -18
- package/build/src/components/Typography/Subtitle.d.ts +0 -18
- package/build/src/components/Uploader/FileUploader.d.ts +0 -15
- package/build/src/components/Uploader/ImageUploader.d.ts +0 -16
- package/build/src/components/cards/MultipurposeCard.d.ts +0 -16
- package/build/src/components/cards/SimpleCard.d.ts +0 -11
- package/build/src/components/controls/Chip.d.ts +0 -9
- package/build/src/components/controls/DoubleTab.d.ts +0 -12
- package/build/src/components/controls/Pagination.d.ts +0 -11
- package/build/src/components/controls/RadioButton.d.ts +0 -8
- package/build/src/components/controls/RectangleCheckButton.d.ts +0 -8
- package/build/src/components/controls/RoundCheckButton.d.ts +0 -8
- package/build/src/components/controls/Slider.d.ts +0 -11
- package/build/src/components/controls/Stepper.d.ts +0 -15
- package/build/src/components/controls/TabMenu.d.ts +0 -12
- package/build/src/components/controls/ToggleButton.d.ts +0 -15
- package/build/src/components/index.d.ts +0 -44
- package/build/src/components/notifications/Banner.d.ts +0 -12
- package/build/src/components/notifications/ClickTooltip.d.ts +0 -22
- package/build/src/components/notifications/HoverTooltip.d.ts +0 -7
- package/build/src/components/notifications/Snackbar.d.ts +0 -12
- package/build/src/components/notifications/Tag.d.ts +0 -11
- package/build/src/components/styleGuide/Colors.d.ts +0 -166
- package/build/src/hooks/useImageUpload.d.ts +0 -17
- package/build/src/icons/AccountBalanceIcon.d.ts +0 -4
- package/build/src/icons/AccountBalanceWalletFilledIcon.d.ts +0 -4
- package/build/src/icons/AccountBalanceWalletIcon.d.ts +0 -4
- package/build/src/icons/AccountCircleFilledIcon.d.ts +0 -4
- package/build/src/icons/AccountCircleIcon.d.ts +0 -4
- package/build/src/icons/AddAPhotoIcon.d.ts +0 -4
- package/build/src/icons/AddBusinessFilledIcon.d.ts +0 -4
- package/build/src/icons/AddBusinessIcon.d.ts +0 -4
- package/build/src/icons/AddCircleFilledIcon.d.ts +0 -4
- package/build/src/icons/AddCircleIcon.d.ts +0 -4
- package/build/src/icons/AddIcon.d.ts +0 -4
- package/build/src/icons/AddPhotoAlternateIcon.d.ts +0 -4
- package/build/src/icons/AddShoppingCartIcon.d.ts +0 -4
- package/build/src/icons/AddToSocialsIcon.d.ts +0 -4
- package/build/src/icons/AddsClickIcon.d.ts +0 -4
- package/build/src/icons/AdminPanelSettingsIcon.d.ts +0 -4
- package/build/src/icons/AirplaneModeActiveIcon.d.ts +0 -4
- package/build/src/icons/AlarmIcon.d.ts +0 -4
- package/build/src/icons/AllInboxIcon.d.ts +0 -4
- package/build/src/icons/AnimationIcon.d.ts +0 -4
- package/build/src/icons/ApartmentIcon.d.ts +0 -4
- package/build/src/icons/AppsFilledIcon.d.ts +0 -4
- package/build/src/icons/AppsIcon.d.ts +0 -4
- package/build/src/icons/ArchiveIcon.d.ts +0 -4
- package/build/src/icons/ArrowBackIcon.d.ts +0 -4
- package/build/src/icons/ArrowCircleDownFilledIcon.d.ts +0 -4
- package/build/src/icons/ArrowCircleUpFilledIcon.d.ts +0 -4
- package/build/src/icons/ArrowDropDownIcon.d.ts +0 -4
- package/build/src/icons/ArrowDropUpIcon.d.ts +0 -4
- package/build/src/icons/ArrowForwardIcon.d.ts +0 -4
- package/build/src/icons/ArtTrackIcon.d.ts +0 -4
- package/build/src/icons/ArticleFilledIcon.d.ts +0 -4
- package/build/src/icons/ArticleIcon.d.ts +0 -4
- package/build/src/icons/AttachMoneyIcon.d.ts +0 -4
- package/build/src/icons/AttachmentIcon.d.ts +0 -4
- package/build/src/icons/AudioFileFilledIcon.d.ts +0 -4
- package/build/src/icons/AudioFileIcon.d.ts +0 -4
- package/build/src/icons/AutoAwesomeMosaicFilledIcon.d.ts +0 -4
- package/build/src/icons/AutoAwesomeMosaicIcon.d.ts +0 -4
- package/build/src/icons/AutoFixFilledIcon.d.ts +0 -4
- package/build/src/icons/AutoFixIcon.d.ts +0 -4
- package/build/src/icons/AutoGraphIcon.d.ts +0 -4
- package/build/src/icons/AwardStarFilledIcon.d.ts +0 -4
- package/build/src/icons/AwardStarIcon.d.ts +0 -4
- package/build/src/icons/BarChartFilledIcon.d.ts +0 -4
- package/build/src/icons/BlockIcon.d.ts +0 -4
- package/build/src/icons/BoltFilledIcon.d.ts +0 -4
- package/build/src/icons/BoltIcon.d.ts +0 -4
- package/build/src/icons/Book5FilledIcon.d.ts +0 -4
- package/build/src/icons/BookOnlineIcon.d.ts +0 -4
- package/build/src/icons/BugReportIcon.d.ts +0 -4
- package/build/src/icons/BusinessCenterFilledIcon.d.ts +0 -4
- package/build/src/icons/BusinessCenterIcon.d.ts +0 -4
- package/build/src/icons/CalendarMonthFilledIcon.d.ts +0 -4
- package/build/src/icons/CalendarMonthIcon.d.ts +0 -4
- package/build/src/icons/CalendarTodayIcon.d.ts +0 -4
- package/build/src/icons/CallMadeIcon.d.ts +0 -4
- package/build/src/icons/CallMissedIcon.d.ts +0 -4
- package/build/src/icons/CallMissedOutgoingIcon.d.ts +0 -4
- package/build/src/icons/CallRecievedIcon.d.ts +0 -4
- package/build/src/icons/CampaignFilledIcon.d.ts +0 -4
- package/build/src/icons/CampaignIcon.d.ts +0 -4
- package/build/src/icons/CancelFilledIcon.d.ts +0 -4
- package/build/src/icons/CancelIcon.d.ts +0 -4
- package/build/src/icons/CaptivePortalIcon.d.ts +0 -4
- package/build/src/icons/CardLayoutIcon.d.ts +0 -4
- package/build/src/icons/CasesFilledIcon.d.ts +0 -4
- package/build/src/icons/CasesIcon.d.ts +0 -4
- package/build/src/icons/CategoryIcon.d.ts +0 -4
- package/build/src/icons/ChairIcon.d.ts +0 -4
- package/build/src/icons/ChangeCircleIcon.d.ts +0 -4
- package/build/src/icons/ChatBubbleFilledIcon.d.ts +0 -4
- package/build/src/icons/ChatBubbleIcon.d.ts +0 -4
- package/build/src/icons/ChatFilledIcon.d.ts +0 -4
- package/build/src/icons/ChatIcon.d.ts +0 -4
- package/build/src/icons/CheckCircleFilledIcon.d.ts +0 -4
- package/build/src/icons/CheckCircleIcon.d.ts +0 -4
- package/build/src/icons/CheckIcon.d.ts +0 -4
- package/build/src/icons/ChevronLeftIcon.d.ts +0 -3
- package/build/src/icons/ChevronRightIcon.d.ts +0 -3
- package/build/src/icons/CloseIcon.d.ts +0 -4
- package/build/src/icons/CloudUploadIcon.d.ts +0 -4
- package/build/src/icons/CodeIcon.d.ts +0 -4
- package/build/src/icons/CoffeeIcon.d.ts +0 -4
- package/build/src/icons/CollectionsBookmarkIcon.d.ts +0 -4
- package/build/src/icons/ColorPickerIcon.d.ts +0 -4
- package/build/src/icons/CommentCircleAltChatMessageIcon.d.ts +0 -4
- package/build/src/icons/CompareArrowsIcon.d.ts +0 -4
- package/build/src/icons/ConfirmationNumberIcon.d.ts +0 -4
- package/build/src/icons/ContactMailFilledIcon.d.ts +0 -4
- package/build/src/icons/ContactMailIcon.d.ts +0 -3
- package/build/src/icons/ContactPageIcon.d.ts +0 -4
- package/build/src/icons/ContactPhoneFilledIcon.d.ts +0 -4
- package/build/src/icons/ContactPhoneIcon.d.ts +0 -4
- package/build/src/icons/ContactSupportIcon.d.ts +0 -4
- package/build/src/icons/ContactsIcon.d.ts +0 -4
- package/build/src/icons/ContentCopyIcon.d.ts +0 -4
- package/build/src/icons/CopyIcon.d.ts +0 -4
- package/build/src/icons/CourseFilledIcon.d.ts +0 -4
- package/build/src/icons/CourseIcon.d.ts +0 -4
- package/build/src/icons/CreditCardFilledIcon.d.ts +0 -4
- package/build/src/icons/CreditCardIcon.d.ts +0 -4
- package/build/src/icons/CurrencyExchangeIcon.d.ts +0 -4
- package/build/src/icons/DarkModeIcon.d.ts +0 -4
- package/build/src/icons/DashboardFilledIcon.d.ts +0 -4
- package/build/src/icons/DashboardIcon.d.ts +0 -4
- package/build/src/icons/DatabaseFilledIcon.d.ts +0 -4
- package/build/src/icons/DeleteIcon.d.ts +0 -4
- package/build/src/icons/DescriptionIcon.d.ts +0 -4
- package/build/src/icons/DesktopMacIcon.d.ts +0 -4
- package/build/src/icons/DevicesIcon.d.ts +0 -4
- package/build/src/icons/DiamondFilledIcon.d.ts +0 -4
- package/build/src/icons/DiamondIcon.d.ts +0 -4
- package/build/src/icons/DigitalProductsIcon.d.ts +0 -4
- package/build/src/icons/DiscountIcon.d.ts +0 -4
- package/build/src/icons/Diversity1Icon.d.ts +0 -4
- package/build/src/icons/Diversity2Icon.d.ts +0 -4
- package/build/src/icons/Diversity3Icon.d.ts +0 -4
- package/build/src/icons/DnsIcon.d.ts +0 -4
- package/build/src/icons/DoNotDisturbOnFilledIcon.d.ts +0 -4
- package/build/src/icons/DoNotDisturbOnIcon.d.ts +0 -4
- package/build/src/icons/DomainAddIcon.d.ts +0 -4
- package/build/src/icons/DomainIcon.d.ts +0 -4
- package/build/src/icons/DomainVerificationIcon.d.ts +0 -4
- package/build/src/icons/DownloadIcon.d.ts +0 -4
- package/build/src/icons/DraftsIcon.d.ts +0 -4
- package/build/src/icons/DragHandleIcon.d.ts +0 -4
- package/build/src/icons/DragIndicatorIcon.d.ts +0 -4
- package/build/src/icons/EditFilledIcon.d.ts +0 -4
- package/build/src/icons/EditIcon.d.ts +0 -4
- package/build/src/icons/EmojiEventsFilledIcon.d.ts +0 -4
- package/build/src/icons/EmojiEventsIcon.d.ts +0 -4
- package/build/src/icons/EmojiFoodBeverageIcon.d.ts +0 -4
- package/build/src/icons/EmojiIcon.d.ts +0 -4
- package/build/src/icons/EmptyIcon.d.ts +0 -4
- package/build/src/icons/EncryptedIcon.d.ts +0 -4
- package/build/src/icons/EnterpriseFilledIcon.d.ts +0 -4
- package/build/src/icons/EnterpriseIcon.d.ts +0 -4
- package/build/src/icons/EqualIcon.d.ts +0 -4
- package/build/src/icons/ErrorFilledIcon.d.ts +0 -4
- package/build/src/icons/ErrorIcon.d.ts +0 -4
- package/build/src/icons/EventFilledIcon.d.ts +0 -4
- package/build/src/icons/EventIcon.d.ts +0 -4
- package/build/src/icons/EventTicketIcon.d.ts +0 -4
- package/build/src/icons/ExpandLessIcon.d.ts +0 -4
- package/build/src/icons/ExpandMoreIcon.d.ts +0 -4
- package/build/src/icons/FastActionPricingIcon.d.ts +0 -4
- package/build/src/icons/FeedFilledIcon.d.ts +0 -4
- package/build/src/icons/FeedIcon.d.ts +0 -4
- package/build/src/icons/FilePresentIcon.d.ts +0 -4
- package/build/src/icons/FilterListIcon.d.ts +0 -4
- package/build/src/icons/FingerprintIcon.d.ts +0 -4
- package/build/src/icons/FitbitArrowDownIcon.d.ts +0 -4
- package/build/src/icons/FitbitArrowUpwardIcon.d.ts +0 -4
- package/build/src/icons/FlagIcon.d.ts +0 -4
- package/build/src/icons/FootPrintIcon.d.ts +0 -4
- package/build/src/icons/FormatAlignCenterIcon.d.ts +0 -4
- package/build/src/icons/FormatAlignJustifyIcon.d.ts +0 -4
- package/build/src/icons/FormatAlignLeftIcon.d.ts +0 -4
- package/build/src/icons/FormatAlignRightIcon.d.ts +0 -4
- package/build/src/icons/FormatBoldIcon.d.ts +0 -4
- package/build/src/icons/FormatItalicIcon.d.ts +0 -4
- package/build/src/icons/FormatListBulletedIcon.d.ts +0 -4
- package/build/src/icons/FormatListNumberedIcon.d.ts +0 -4
- package/build/src/icons/FormatSizeIcon.d.ts +0 -4
- package/build/src/icons/FormatUnderlineIcon.d.ts +0 -4
- package/build/src/icons/ForumIcon.d.ts +0 -4
- package/build/src/icons/ForwardToInboxIcon.d.ts +0 -4
- package/build/src/icons/GalleryThumbnailIcon.d.ts +0 -4
- package/build/src/icons/GooglePayIcon.d.ts +0 -4
- package/build/src/icons/GppBadFilledIcon.d.ts +0 -4
- package/build/src/icons/GppBadIcon.d.ts +0 -4
- package/build/src/icons/GppMaybeFilledIcon.d.ts +0 -4
- package/build/src/icons/GppMaybeIcon.d.ts +0 -4
- package/build/src/icons/GridViewIcon.d.ts +0 -4
- package/build/src/icons/GroupFilledIcon.d.ts +0 -4
- package/build/src/icons/GroupIcon.d.ts +0 -4
- package/build/src/icons/HeadphonesIcon.d.ts +0 -4
- package/build/src/icons/HomeFilledIcon.d.ts +0 -4
- package/build/src/icons/HomeIcon.d.ts +0 -4
- package/build/src/icons/HomePinIcon.d.ts +0 -4
- package/build/src/icons/HourGlassEmptyIcon.d.ts +0 -4
- package/build/src/icons/HourGlassTopIcon.d.ts +0 -4
- package/build/src/icons/HubIcon.d.ts +0 -4
- package/build/src/icons/IdCardIcon.d.ts +0 -4
- package/build/src/icons/InfoFilledIcon.d.ts +0 -4
- package/build/src/icons/InfoGradientFilledIcon.d.ts +0 -4
- package/build/src/icons/InfoIcon.d.ts +0 -4
- package/build/src/icons/InsertChartFilledIcon.d.ts +0 -4
- package/build/src/icons/InsertChartIcon.d.ts +0 -4
- package/build/src/icons/IntegrationsIcon.d.ts +0 -4
- package/build/src/icons/InventoryIcon.d.ts +0 -4
- package/build/src/icons/IosShareIcon.d.ts +0 -4
- package/build/src/icons/KeyIcon.d.ts +0 -4
- package/build/src/icons/KeyOffIcon.d.ts +0 -4
- package/build/src/icons/KeyboardBackspaceIcon.d.ts +0 -4
- package/build/src/icons/LabelIcon.d.ts +0 -4
- package/build/src/icons/LanguageIcon.d.ts +0 -4
- package/build/src/icons/LibraryMusicIcon.d.ts +0 -4
- package/build/src/icons/LinkIcon.d.ts +0 -4
- package/build/src/icons/LinkOffIcon.d.ts +0 -4
- package/build/src/icons/LocalActivityIcon.d.ts +0 -4
- package/build/src/icons/LocalFloristFilledIcon.d.ts +0 -4
- package/build/src/icons/LocalFloristIcon.d.ts +0 -4
- package/build/src/icons/LocationOnIcon.d.ts +0 -4
- package/build/src/icons/LockIcon.d.ts +0 -4
- package/build/src/icons/LoginIcon.d.ts +0 -4
- package/build/src/icons/LogoutIcon.d.ts +0 -4
- package/build/src/icons/MailIcon.d.ts +0 -4
- package/build/src/icons/MarkUnreadChatIcon.d.ts +0 -4
- package/build/src/icons/MasterClassIcon.d.ts +0 -4
- package/build/src/icons/MediaLinkFilledIcon.d.ts +0 -4
- package/build/src/icons/MediaLinkIcon.d.ts +0 -4
- package/build/src/icons/MenuIcon.d.ts +0 -4
- package/build/src/icons/MenuOpenIcon.d.ts +0 -4
- package/build/src/icons/MilitaryTechFilledIcon.d.ts +0 -4
- package/build/src/icons/MilitaryTechIcon.d.ts +0 -4
- package/build/src/icons/MonitoringIcon.d.ts +0 -4
- package/build/src/icons/MoreHorizontalIcon.d.ts +0 -4
- package/build/src/icons/MoreHorizontalSmallIcon.d.ts +0 -4
- package/build/src/icons/MoreVerticalIcon.d.ts +0 -4
- package/build/src/icons/NotificationsFilledIcon.d.ts +0 -4
- package/build/src/icons/NotificationsIcon.d.ts +0 -4
- package/build/src/icons/OpenInNewIcon.d.ts +0 -4
- package/build/src/icons/OthersIcon.d.ts +0 -4
- package/build/src/icons/PageViewIcon.d.ts +0 -4
- package/build/src/icons/PaidFilledIcon.d.ts +0 -4
- package/build/src/icons/PaidIcon.d.ts +0 -4
- package/build/src/icons/PaletteFilledIcon.d.ts +0 -4
- package/build/src/icons/PaletteIcon.d.ts +0 -4
- package/build/src/icons/PauseIcon.d.ts +0 -4
- package/build/src/icons/PayInTranchesIcon.d.ts +0 -4
- package/build/src/icons/PaymentsFilledIcon.d.ts +0 -4
- package/build/src/icons/PaymentsIcon.d.ts +0 -4
- package/build/src/icons/PendingActionsIcon.d.ts +0 -4
- package/build/src/icons/PercentIcon.d.ts +0 -4
- package/build/src/icons/PermMediaIcon.d.ts +0 -4
- package/build/src/icons/PersonAddIcon.d.ts +0 -4
- package/build/src/icons/PersonBookFilledIcon.d.ts +0 -4
- package/build/src/icons/PersonBookIcon.d.ts +0 -4
- package/build/src/icons/PersonFilledIcon.d.ts +0 -4
- package/build/src/icons/PersonIcon.d.ts +0 -4
- package/build/src/icons/PhotoCameraIcon.d.ts +0 -4
- package/build/src/icons/PhotoFilledIcon.d.ts +0 -4
- package/build/src/icons/PhotoIcon.d.ts +0 -4
- package/build/src/icons/PhotoLibraryFilledIcon.d.ts +0 -4
- package/build/src/icons/PhotoLibraryIcon.d.ts +0 -4
- package/build/src/icons/PictureAsPdfFilledIcon.d.ts +0 -4
- package/build/src/icons/PictureAsPdfIcon.d.ts +0 -4
- package/build/src/icons/PlayArrowIcon.d.ts +0 -4
- package/build/src/icons/PlayCircleFilledIcon.d.ts +0 -4
- package/build/src/icons/PlayCircleIcon.d.ts +0 -4
- package/build/src/icons/PowerRoundedIcon.d.ts +0 -4
- package/build/src/icons/PreviewIcon.d.ts +0 -4
- package/build/src/icons/PublicIcon.d.ts +0 -4
- package/build/src/icons/PublishIcon.d.ts +0 -4
- package/build/src/icons/PushPinFilledIcon.d.ts +0 -4
- package/build/src/icons/PushPinIcon.d.ts +0 -4
- package/build/src/icons/QrCode2Icon.d.ts +0 -4
- package/build/src/icons/QuestionMarkIcon.d.ts +0 -4
- package/build/src/icons/RadioButtonCheckedIcon.d.ts +0 -4
- package/build/src/icons/RadioButtonUncheckedIcon.d.ts +0 -4
- package/build/src/icons/RecieptLongFilledIcon.d.ts +0 -4
- package/build/src/icons/RecieptLongIcon.d.ts +0 -4
- package/build/src/icons/RecordVoiceOverIcon.d.ts +0 -4
- package/build/src/icons/RedeemIcon.d.ts +0 -4
- package/build/src/icons/RedoIcon.d.ts +0 -4
- package/build/src/icons/RemoveIcon.d.ts +0 -4
- package/build/src/icons/RemoveRoadIcon.d.ts +0 -4
- package/build/src/icons/ReportFilledIcon.d.ts +0 -4
- package/build/src/icons/ReportIcon.d.ts +0 -4
- package/build/src/icons/ReviewsIcon.d.ts +0 -4
- package/build/src/icons/SavingsFilledIcon.d.ts +0 -4
- package/build/src/icons/SavingsIcon.d.ts +0 -4
- package/build/src/icons/ScheduleIcon.d.ts +0 -4
- package/build/src/icons/ScheduleSendIcon.d.ts +0 -4
- package/build/src/icons/SearchNormalIcon.d.ts +0 -4
- package/build/src/icons/SellIcon.d.ts +0 -4
- package/build/src/icons/SendIcon.d.ts +0 -4
- package/build/src/icons/ServicesIcon.d.ts +0 -4
- package/build/src/icons/SettingsFilledIcon.d.ts +0 -4
- package/build/src/icons/SettingsIcon.d.ts +0 -4
- package/build/src/icons/ShareIcon.d.ts +0 -4
- package/build/src/icons/ShareWithContactsIcon.d.ts +0 -4
- package/build/src/icons/ShareWithSocialsIcon.d.ts +0 -4
- package/build/src/icons/ShoppingCartFilledIcon.d.ts +0 -4
- package/build/src/icons/ShoppingCartIcon.d.ts +0 -4
- package/build/src/icons/ShuffleIcon.d.ts +0 -4
- package/build/src/icons/SmartPhoneIcon.d.ts +0 -4
- package/build/src/icons/SocialLeaderboardIcon.d.ts +0 -4
- package/build/src/icons/StarFilledIcon.d.ts +0 -4
- package/build/src/icons/StarHalfIcon.d.ts +0 -4
- package/build/src/icons/StarIcon.d.ts +0 -4
- package/build/src/icons/StoreFrontFilledIcon.d.ts +0 -4
- package/build/src/icons/StoreFrontIcon.d.ts +0 -4
- package/build/src/icons/StrikeThroughSIcon.d.ts +0 -4
- package/build/src/icons/StyleIcon.d.ts +0 -4
- package/build/src/icons/SubscriptionIcon.d.ts +0 -4
- package/build/src/icons/SubscriptionsFilledIcon.d.ts +0 -4
- package/build/src/icons/SubscriptionsIcon.d.ts +0 -4
- package/build/src/icons/SupervisorAccountIcon.d.ts +0 -4
- package/build/src/icons/SwitchAccountFilledIcon.d.ts +0 -4
- package/build/src/icons/SwitchAccountIcon.d.ts +0 -4
- package/build/src/icons/SyncSavedLocallyIcon.d.ts +0 -4
- package/build/src/icons/TabletIcon.d.ts +0 -4
- package/build/src/icons/ThumbDownFilledIcon.d.ts +0 -4
- package/build/src/icons/ThumbDownIcon.d.ts +0 -4
- package/build/src/icons/ThumbUpFilledIcon.d.ts +0 -4
- package/build/src/icons/ThumbUpIcon.d.ts +0 -4
- package/build/src/icons/TocIcon.d.ts +0 -4
- package/build/src/icons/TrainingsIcon.d.ts +0 -4
- package/build/src/icons/TrashDeleteBinIcon.d.ts +0 -4
- package/build/src/icons/TrendingUpIcon.d.ts +0 -4
- package/build/src/icons/UndoIcon.d.ts +0 -4
- package/build/src/icons/UnfoldMoreIcon.d.ts +0 -4
- package/build/src/icons/UploadIcon.d.ts +0 -4
- package/build/src/icons/VerifiedIcon.d.ts +0 -4
- package/build/src/icons/VideoCamIcon.d.ts +0 -4
- package/build/src/icons/VideoFileIcon.d.ts +0 -4
- package/build/src/icons/ViewAgendaIcon.d.ts +0 -4
- package/build/src/icons/ViewArrayIcon.d.ts +0 -4
- package/build/src/icons/ViewCarouselIcon.d.ts +0 -4
- package/build/src/icons/ViewCozyIcon.d.ts +0 -4
- package/build/src/icons/ViewModuleIcon.d.ts +0 -4
- package/build/src/icons/VisibilityIcon.d.ts +0 -4
- package/build/src/icons/VisibilityOffIcon.d.ts +0 -4
- package/build/src/icons/VolunteerActivismFilledIcon.d.ts +0 -4
- package/build/src/icons/VolunteerActivismIcon.d.ts +0 -4
- package/build/src/icons/WBSunnyIcon.d.ts +0 -4
- package/build/src/icons/WarningFilledIcon.d.ts +0 -4
- package/build/src/icons/WarningIcon.d.ts +0 -4
- package/build/src/icons/WebinarsIcon.d.ts +0 -4
- package/build/src/icons/WidgetsFilledIcon.d.ts +0 -4
- package/build/src/icons/WidgetsIcon.d.ts +0 -4
- package/build/src/icons/WorkshopsIcon.d.ts +0 -4
- package/build/src/icons/index.d.ts +0 -334
- package/build/src/index.d.ts +0 -3
- package/build/src/pages/Home.d.ts +0 -2
- package/build/src/pages/Login.d.ts +0 -2
- package/build/src/pages/Page404.d.ts +0 -2
- package/build/src/pages/index.d.ts +0 -2
- package/build/src/routes/index.d.ts +0 -6
- package/build/src/stories/Accordion/Accordion.stories.d.ts +0 -13
- package/build/src/stories/Accordion/AccordionWrapper.d.ts +0 -4
- package/build/src/stories/Avatars/Avatar.stories.d.ts +0 -12
- package/build/src/stories/Buttons/Button.stories.d.ts +0 -17
- package/build/src/stories/Buttons/IconButton.stories.d.ts +0 -13
- package/build/src/stories/Buttons/IconButtonWrapper.d.ts +0 -4
- package/build/src/stories/InputFields/InputFields.stories.d.ts +0 -11
- package/build/src/stories/InputFields/MarkdownEditor.stories.d.ts +0 -8
- package/build/src/stories/InputFields/SearchInput.d.ts +0 -4
- package/build/src/stories/InputFields/SearchInput.stories.d.ts +0 -7
- package/build/src/stories/InputFields/Select/CountrySelect.stories.d.ts +0 -7
- package/build/src/stories/InputFields/Select/CountrySelectWrapper.d.ts +0 -4
- package/build/src/stories/InputFields/Select/CreatableSelect.stories.d.ts +0 -8
- package/build/src/stories/InputFields/Select/CreatableSelectWrapper.d.ts +0 -4
- package/build/src/stories/InputFields/Select/PhoneNumberInput.stories.d.ts +0 -9
- package/build/src/stories/InputFields/Select/PhoneNumberInputWrapper.d.ts +0 -4
- package/build/src/stories/InputFields/Select/Select.stories.d.ts +0 -8
- package/build/src/stories/InputFields/Select/SelectWrapper.d.ts +0 -4
- package/build/src/stories/InputFields/TextArea.stories.d.ts +0 -7
- package/build/src/stories/InputFields/UrlInput.stories.d.ts +0 -14
- package/build/src/stories/InputFields/UsernameInput.stories.d.ts +0 -7
- package/build/src/stories/Tiles/Tile.stories.d.ts +0 -16
- package/build/src/stories/Tiles/TileWrapper.d.ts +0 -4
- package/build/src/stories/Typography/DisplayText.stories.d.ts +0 -12
- package/build/src/stories/Typography/HeadingText.stories.d.ts +0 -18
- package/build/src/stories/Typography/ParagraphText.stories.d.ts +0 -14
- package/build/src/stories/Typography/SubtitleText.stories.d.ts +0 -19
- package/build/src/stories/Uploaders/FileUploadWrapper.d.ts +0 -4
- package/build/src/stories/Uploaders/FileUploader.stories.d.ts +0 -7
- package/build/src/stories/Uploaders/ImageUploadWrapper.d.ts +0 -4
- package/build/src/stories/Uploaders/ImageUploader.stories.d.ts +0 -7
- package/build/src/stories/cards/MultipurposeCard.stories.d.ts +0 -9
- package/build/src/stories/cards/SimpleCard.stories.d.ts +0 -8
- package/build/src/stories/colors/index.d.ts +0 -3
- package/build/src/stories/controls/Chip.stories.d.ts +0 -10
- package/build/src/stories/controls/DoubleTab.stories.d.ts +0 -7
- package/build/src/stories/controls/DoubleTabWrapper.d.ts +0 -4
- package/build/src/stories/controls/Pagination.stories.d.ts +0 -7
- package/build/src/stories/controls/PaginationWrapper.d.ts +0 -4
- package/build/src/stories/controls/RadioButton.stories.d.ts +0 -11
- package/build/src/stories/controls/RectangleCheckButton.stories.d.ts +0 -10
- package/build/src/stories/controls/RoundCheckButton.stories.d.ts +0 -10
- package/build/src/stories/controls/Slider.stories.d.ts +0 -7
- package/build/src/stories/controls/Stepper.stories.d.ts +0 -7
- package/build/src/stories/controls/StepperDemoCmp.d.ts +0 -4
- package/build/src/stories/controls/TabMenu.stories.d.ts +0 -7
- package/build/src/stories/controls/TabMenuWrapper.d.ts +0 -4
- package/build/src/stories/controls/ToggleButton.stories.d.ts +0 -10
- package/build/src/stories/icons/index.d.ts +0 -334
- package/build/src/stories/notifications/Banner.stories.d.ts +0 -14
- package/build/src/stories/notifications/ClickTooltip.stories.d.ts +0 -14
- package/build/src/stories/notifications/ClickTooltipWrapper.d.ts +0 -4
- package/build/src/stories/notifications/HoverTooltip.stories.d.ts +0 -9
- package/build/src/stories/notifications/HoverTooltipWrapper.d.ts +0 -4
- package/build/src/stories/notifications/Snackbar.stories.d.ts +0 -22
- package/build/src/stories/notifications/SnackbarWrapper.d.ts +0 -2
- package/build/src/stories/notifications/Tag.stories.d.ts +0 -9
- package/build/src/utils/countries-flag.json.d.ts +0 -1755
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mainstack-design-system",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "build/mainstack-design-system.js",
|
|
6
|
-
"types": "build/
|
|
6
|
+
"types": "build/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"build",
|
|
9
9
|
"!/storybook-static",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"husky": "^8.0.3",
|
|
96
96
|
"storybook": "^7.5.3",
|
|
97
97
|
"vite": "^4.1.0",
|
|
98
|
-
"vite-plugin-dts": "^
|
|
98
|
+
"vite-plugin-dts": "^4.5.3",
|
|
99
99
|
"vite-plugin-lib-inject-css": "^1.3.0"
|
|
100
100
|
},
|
|
101
101
|
"description": "<!-- @format -->",
|
package/build/src/app.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AccordionItemProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface IAccordionItem extends AccordionItemProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
title: string;
|
|
6
|
-
subtitle?: React.ReactNode;
|
|
7
|
-
isDraggable?: boolean;
|
|
8
|
-
error?: boolean;
|
|
9
|
-
maxWidthTitle?: any;
|
|
10
|
-
actionButton?: React.ReactNode;
|
|
11
|
-
titleTag?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
declare const AccordionItem: import('../../react').ForwardRefExoticComponent<IAccordionItem & import('../../react').RefAttributes<import('../../@chakra-ui/react').ComponentWithAs<"div", AccordionItemProps>>>;
|
|
14
|
-
export default AccordionItem;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export interface AvatarProp {
|
|
3
|
-
size: "xxs" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
-
}
|
|
5
|
-
interface ImageAvatarProp extends AvatarProp {
|
|
6
|
-
src?: string;
|
|
7
|
-
type: "image";
|
|
8
|
-
fallback: "store" | "picture" | "bookings";
|
|
9
|
-
}
|
|
10
|
-
interface InitialsAvatarProp extends AvatarProp {
|
|
11
|
-
name: string;
|
|
12
|
-
type: "initials";
|
|
13
|
-
}
|
|
14
|
-
declare const Avatar: (props: ImageAvatarProp | InitialsAvatarProp) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default Avatar;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface IconButtonProps extends ButtonProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
size: "small" | "medium" | "large";
|
|
6
|
-
bgColor?: string;
|
|
7
|
-
textColor?: string;
|
|
8
|
-
variant: "primary" | "secondary" | "tertiary" | "outline" | "link";
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const IconButton: ({ children, size, bgColor, variant, disabled, textColor, onClick, isLoading, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default IconButton;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export type ButtonVariantType = {
|
|
4
|
-
bgColor: string;
|
|
5
|
-
color: string;
|
|
6
|
-
hoverColor: string;
|
|
7
|
-
activeBorderColor: string;
|
|
8
|
-
border?: string;
|
|
9
|
-
fontSizes?: {
|
|
10
|
-
large: string;
|
|
11
|
-
medium: string;
|
|
12
|
-
small: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const ButtonVariant: Record<string, ButtonVariantType>;
|
|
16
|
-
export interface IButtonProps extends ButtonProps {
|
|
17
|
-
label?: string | React.ReactNode;
|
|
18
|
-
size: "small" | "medium" | "large";
|
|
19
|
-
bgColor?: string;
|
|
20
|
-
textColor?: string;
|
|
21
|
-
variant: "primary" | "secondary" | "tertiary" | "outline" | "link" | "text";
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
isLoading?: boolean;
|
|
24
|
-
}
|
|
25
|
-
interface IButtonPropsWithIcons extends IButtonProps {
|
|
26
|
-
hasIcons: true;
|
|
27
|
-
icon: React.ReactNode;
|
|
28
|
-
icontype: "leading" | "trailing";
|
|
29
|
-
}
|
|
30
|
-
declare const Button: ({ label, size, bgColor, variant, disabled, textColor, isLoading, onClick, ...props }: IButtonProps | IButtonPropsWithIcons) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export default Button;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface IInput extends InputProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value?: any;
|
|
7
|
-
id: string;
|
|
8
|
-
onChange?: (e?: any) => void;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
type: "text" | "number" | "password" | "email" | "url";
|
|
12
|
-
error?: boolean;
|
|
13
|
-
errorMessage?: string;
|
|
14
|
-
success?: boolean;
|
|
15
|
-
successMessage?: string;
|
|
16
|
-
hint?: string;
|
|
17
|
-
width?: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
fontFamily?: string;
|
|
20
|
-
leftElement?: JSX.Element | string;
|
|
21
|
-
}
|
|
22
|
-
declare const Input: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, success, successMessage, hint, type, width, disabled, fontFamily, leftElement, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default Input;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
interface IMarkdownEditor {
|
|
3
|
-
onChange: (val: string) => void;
|
|
4
|
-
border?: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onHandleFile: (e: File) => void;
|
|
7
|
-
label?: string;
|
|
8
|
-
handleGenerateAiDescription?: () => void;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
hasGenerateWithAi?: boolean;
|
|
11
|
-
}
|
|
12
|
-
type MarkdownEditorWithExclusiveValues = (IMarkdownEditor & {
|
|
13
|
-
value?: string;
|
|
14
|
-
defaultValue?: never;
|
|
15
|
-
}) | (IMarkdownEditor & {
|
|
16
|
-
defaultValue?: string;
|
|
17
|
-
value?: never;
|
|
18
|
-
});
|
|
19
|
-
declare const MarkdownEditor: ({ defaultValue, onChange, border, placeholder, value, onHandleFile, label, handleGenerateAiDescription, hasGenerateWithAi, ...props }: MarkdownEditorWithExclusiveValues) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default MarkdownEditor;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface ISearchInput extends InputProps {
|
|
4
|
-
name: string;
|
|
5
|
-
value?: string;
|
|
6
|
-
id: string;
|
|
7
|
-
onChange?: (e?: any) => void;
|
|
8
|
-
defaultValue?: any;
|
|
9
|
-
placeholder?: any;
|
|
10
|
-
error?: boolean;
|
|
11
|
-
errorMessage?: string;
|
|
12
|
-
success?: boolean;
|
|
13
|
-
successMessage?: string;
|
|
14
|
-
hint?: string;
|
|
15
|
-
onClear?: any;
|
|
16
|
-
fontFamily?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const SearchInput: ({ name, id, value, onChange, defaultValue, placeholder, onClear, fontFamily, ...props }: ISearchInput) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export default SearchInput;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export interface ICountrySelectProps {
|
|
3
|
-
valueType?: "full" | "code";
|
|
4
|
-
options?: any;
|
|
5
|
-
label?: string;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
onChange?: (e: any) => void;
|
|
8
|
-
onBlur?: (e: any) => void;
|
|
9
|
-
value?: any;
|
|
10
|
-
fontFamily?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
declare const CountrySelect: ({ value, onChange, label, valueType, placeholder, options, fontFamily, disabled, }: ICountrySelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default CountrySelect;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IPhoneNumberInputProps {
|
|
3
|
-
value?: string;
|
|
4
|
-
onChange?: (value: string) => void;
|
|
5
|
-
enableSearch?: boolean;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
label?: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
subtext?: string | JSX.Element;
|
|
10
|
-
fontFamily?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const PhoneNumberInput: ({ value, onChange, enableSearch, placeholder, label, id, subtext, fontFamily, }: IPhoneNumberInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default PhoneNumberInput;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from '../../../react';
|
|
2
|
-
import { DropdownIndicatorProps, GroupBase, MultiValueProps, OptionProps, StylesConfig } from '../../../react-select';
|
|
3
|
-
|
|
4
|
-
export declare const selectStyles: StylesConfig<any, boolean, GroupBase<any>>;
|
|
5
|
-
export type OptionType = {
|
|
6
|
-
value: string;
|
|
7
|
-
label: string;
|
|
8
|
-
};
|
|
9
|
-
export interface ISelectInputProps {
|
|
10
|
-
label: string;
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
onChange?: (e: any) => void;
|
|
15
|
-
onInputChange?: (e: any) => void;
|
|
16
|
-
onBlur?: (e: any) => void;
|
|
17
|
-
options: Array<OptionType>;
|
|
18
|
-
value?: any;
|
|
19
|
-
defaultValue?: string;
|
|
20
|
-
isMulti?: boolean;
|
|
21
|
-
hideSelectedOptions?: boolean;
|
|
22
|
-
CustomOption?: React.ComponentType<OptionProps<any, boolean, GroupBase<any>>>;
|
|
23
|
-
CustomMultiValue?: React.ComponentType<MultiValueProps<any, boolean, GroupBase<any>>>;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
noOptionsMessage?: string;
|
|
26
|
-
fontFamily?: string;
|
|
27
|
-
openMenuOnFocus?: boolean;
|
|
28
|
-
isSearchable?: boolean;
|
|
29
|
-
formatOptionLabel?: (arg: any) => ReactNode;
|
|
30
|
-
}
|
|
31
|
-
export declare const DropdownIndicator: (props: DropdownIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export declare const SelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, openMenuOnFocus, isSearchable, formatOptionLabel, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export declare const CreatableSelectInput: ({ label, id, name, placeholder, onBlur, onChange, onInputChange, value, defaultValue, options, isMulti, hideSelectedOptions, CustomOption, CustomMultiValue, disabled, noOptionsMessage, fontFamily, }: ISelectInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export { SelectInput } from '../../../SelectInput';
|
|
3
|
-
export { CreatableSelectInput } from '../../../SelectInput';
|
|
4
|
-
export type { ISelectInputProps } from '../../../SelectInput';
|
|
5
|
-
export { default as CountrySelect } from '../../../CountrySelect';
|
|
6
|
-
export type { ICountrySelectProps } from '../../../CountrySelect';
|
|
7
|
-
export { default as PhoneNumberInput } from '../../../PhoneNumberInput';
|
|
8
|
-
export type { IPhoneNumberInputProps } from '../../../PhoneNumberInput';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { TextareaProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface ITextArea extends TextareaProps {
|
|
4
|
-
label: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value?: any;
|
|
7
|
-
id: string;
|
|
8
|
-
onChange?: (e?: any) => void;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
placeholder?: any;
|
|
11
|
-
error?: boolean;
|
|
12
|
-
errorMessage?: string;
|
|
13
|
-
hint?: string;
|
|
14
|
-
textLimit?: number;
|
|
15
|
-
height?: string;
|
|
16
|
-
width?: string;
|
|
17
|
-
fontFamily?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const TextArea: ({ label, name, id, value, onChange, defaultValue, placeholder, error, errorMessage, textLimit, height, width, fontFamily, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default TextArea;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface TUrlInput extends InputProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
urlLabel: string;
|
|
6
|
-
status?: "loading" | "error" | "success" | null;
|
|
7
|
-
statusMessage?: string;
|
|
8
|
-
success?: boolean;
|
|
9
|
-
variant?: "left" | "right";
|
|
10
|
-
}
|
|
11
|
-
declare const UrlInput: ({ fontFamily, urlLabel, status, statusMessage, label, variant, ...rest }: TUrlInput) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default UrlInput;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { InputProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface IInput extends InputProps {
|
|
4
|
-
label: string;
|
|
5
|
-
name: string;
|
|
6
|
-
value?: any;
|
|
7
|
-
id: string;
|
|
8
|
-
onChange?: (e?: any) => void;
|
|
9
|
-
defaultValue?: any;
|
|
10
|
-
placeholder?: any;
|
|
11
|
-
type?: "text";
|
|
12
|
-
errorMessage?: string;
|
|
13
|
-
inputLeftMargin?: string;
|
|
14
|
-
isChecking?: boolean;
|
|
15
|
-
isAvailable?: boolean;
|
|
16
|
-
isNotAvailable?: boolean;
|
|
17
|
-
width?: string;
|
|
18
|
-
usernamePrefix?: string;
|
|
19
|
-
}
|
|
20
|
-
declare const UsernameInput: ({ label, name, id, value, onChange, defaultValue, placeholder, inputLeftMargin, isChecking, isAvailable, isNotAvailable, errorMessage, width, usernamePrefix, ...props }: IInput) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default UsernameInput;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '../../@chakra-ui/react';
|
|
2
|
-
import { ReactNode } from '../../react';
|
|
3
|
-
|
|
4
|
-
export interface TileProps extends Omit<BoxProps, "title"> {
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
title?: ReactNode;
|
|
7
|
-
image?: string;
|
|
8
|
-
subText?: ReactNode;
|
|
9
|
-
icon?: JSX.Element;
|
|
10
|
-
iconPosition?: "leading" | "trailing" | "top";
|
|
11
|
-
hasRadioButton?: boolean;
|
|
12
|
-
hasCheckBox?: boolean;
|
|
13
|
-
bottomComponent?: ReactNode;
|
|
14
|
-
onClick?: () => void;
|
|
15
|
-
}
|
|
16
|
-
declare const Tile: ({ icon, image, iconPosition, hasRadioButton, hasCheckBox, isSelected, title, subText, onClick, width, bottomComponent, ...props }: TileProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default Tile;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TextProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m";
|
|
4
|
-
type ResponsiveType = {
|
|
5
|
-
xl?: DefaultType;
|
|
6
|
-
lg?: DefaultType;
|
|
7
|
-
md?: DefaultType;
|
|
8
|
-
sm?: DefaultType;
|
|
9
|
-
base?: DefaultType;
|
|
10
|
-
};
|
|
11
|
-
interface IDisplay extends TextProps {
|
|
12
|
-
children: any;
|
|
13
|
-
color?: string;
|
|
14
|
-
size: DefaultType | ResponsiveType;
|
|
15
|
-
fontFamily?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const Display: ({ size, color, fontFamily, children, ...props }: IDisplay) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default Display;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TextProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs" | "4xs" | "5xs";
|
|
4
|
-
type ResponsiveType = {
|
|
5
|
-
xl?: DefaultType;
|
|
6
|
-
lg?: DefaultType;
|
|
7
|
-
md?: DefaultType;
|
|
8
|
-
sm?: DefaultType;
|
|
9
|
-
base?: DefaultType;
|
|
10
|
-
};
|
|
11
|
-
interface IHeading extends TextProps {
|
|
12
|
-
children: any;
|
|
13
|
-
color?: string;
|
|
14
|
-
size: DefaultType | ResponsiveType;
|
|
15
|
-
fontFamily?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const Heading: ({ size, color, fontFamily, children, ...props }: IHeading) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default Heading;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TextProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
type DefaultType = "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs";
|
|
4
|
-
type ResponsiveType = {
|
|
5
|
-
xl?: DefaultType;
|
|
6
|
-
lg?: DefaultType;
|
|
7
|
-
md?: DefaultType;
|
|
8
|
-
sm?: DefaultType;
|
|
9
|
-
base?: DefaultType;
|
|
10
|
-
};
|
|
11
|
-
interface IParagraph extends TextProps {
|
|
12
|
-
children: any;
|
|
13
|
-
color?: string;
|
|
14
|
-
size: DefaultType | ResponsiveType;
|
|
15
|
-
fontFamily?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const Paragraph: ({ size, color, fontFamily, children, ...props }: IParagraph) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default Paragraph;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TextProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
type DefaultType = "3xl" | "xxl" | "xl" | "l" | "m" | "s" | "xs" | "xxs" | "3xs" | "4xs" | "5xs" | "6xs" | "7xs";
|
|
4
|
-
type ResponsiveType = {
|
|
5
|
-
xl?: DefaultType;
|
|
6
|
-
lg?: DefaultType;
|
|
7
|
-
md?: DefaultType;
|
|
8
|
-
sm?: DefaultType;
|
|
9
|
-
base?: DefaultType;
|
|
10
|
-
};
|
|
11
|
-
interface ISubtitle extends TextProps {
|
|
12
|
-
children: any;
|
|
13
|
-
color?: string;
|
|
14
|
-
size: DefaultType | ResponsiveType;
|
|
15
|
-
fontFamily?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const Subtitle: ({ size, color, fontFamily, children, ...props }: ISubtitle) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export default Subtitle;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from '../../react';
|
|
2
|
-
|
|
3
|
-
export interface IFileUpload {
|
|
4
|
-
file?: File | undefined | null;
|
|
5
|
-
onHandleChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
-
handleDeleteFile?: () => void;
|
|
7
|
-
sizeLimit?: number;
|
|
8
|
-
fileActionPopover?: React.ReactNode;
|
|
9
|
-
accept?: string;
|
|
10
|
-
fileTypeIcon?: JSX.Element;
|
|
11
|
-
headerText?: string;
|
|
12
|
-
subtitleText?: string;
|
|
13
|
-
}
|
|
14
|
-
declare const FileUploader: ({ file, onHandleChange, handleDeleteFile, sizeLimit, fileActionPopover, accept, fileTypeIcon, headerText, subtitleText, ...props }: IFileUpload) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default FileUploader;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from '../../react';
|
|
2
|
-
|
|
3
|
-
export interface IImageUpload {
|
|
4
|
-
onHandleChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
5
|
-
imageArray: string[];
|
|
6
|
-
multiple?: boolean;
|
|
7
|
-
coverImageIndex?: number;
|
|
8
|
-
multiImagePopover?: React.ReactNode;
|
|
9
|
-
handleDeleteImage?: (e: any) => void;
|
|
10
|
-
handleChangeCoverImage?: (e: any) => void;
|
|
11
|
-
accept?: string;
|
|
12
|
-
uploadText?: string;
|
|
13
|
-
canUploadMultiple?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const ImageUploader: ({ multiple, onHandleChange, imageArray, coverImageIndex, handleDeleteImage, handleChangeCoverImage, multiImagePopover, accept, canUploadMultiple, uploadText, ...props }: IImageUpload) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default ImageUploader;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
interface IBigCard {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
variant: "inline" | "block";
|
|
7
|
-
icon?: React.ReactNode;
|
|
8
|
-
tag?: React.ReactNode;
|
|
9
|
-
hasActionButton: boolean;
|
|
10
|
-
actionButtonText?: string;
|
|
11
|
-
onActionButtonClick?: () => void;
|
|
12
|
-
rightElement?: React.ReactNode;
|
|
13
|
-
fontFamily?: string;
|
|
14
|
-
}
|
|
15
|
-
declare const MultipurposeCard: ({ title, description, variant, icon, hasActionButton, rightElement, actionButtonText, onActionButtonClick, tag, fontFamily, }: IBigCard) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default MultipurposeCard;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
interface ISmallCard {
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
icon?: React.ReactNode;
|
|
7
|
-
tag?: React.ReactNode;
|
|
8
|
-
fontFamily?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const SimpleCard: ({ title, description, icon, tag, fontFamily, }: ISmallCard) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default SimpleCard;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FlexProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface Props extends FlexProps {
|
|
4
|
-
isChecked: boolean;
|
|
5
|
-
label: string;
|
|
6
|
-
hasRadio?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const Chip: ({ isChecked, label, hasRadio, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default Chip;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TabProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface DoubleTabProps extends TabProps {
|
|
4
|
-
tabIndex?: number;
|
|
5
|
-
items: {
|
|
6
|
-
name: string;
|
|
7
|
-
element: any;
|
|
8
|
-
}[];
|
|
9
|
-
handleClick?: (index: number) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const DoubleTab: ({ items, width, tabIndex, handleClick, ...props }: DoubleTabProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default DoubleTab;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export interface PaginationProps {
|
|
3
|
-
limit: number;
|
|
4
|
-
setLimit: any;
|
|
5
|
-
page: number;
|
|
6
|
-
setPage: any;
|
|
7
|
-
total?: number;
|
|
8
|
-
options?: any;
|
|
9
|
-
}
|
|
10
|
-
declare const Pagination: ({ limit, setLimit, page, setPage, total, options, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Pagination;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CheckboxProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface Props extends CheckboxProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
subtext?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const RectangleCheckButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default RectangleCheckButton;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CheckboxProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface Props extends CheckboxProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
subtext?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const RoundCheckButton: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default RoundCheckButton;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
interface ISliderProps {
|
|
4
|
-
maxValue: number;
|
|
5
|
-
minValue?: number;
|
|
6
|
-
sliderValue: number;
|
|
7
|
-
setSliderValue: React.Dispatch<React.SetStateAction<number>>;
|
|
8
|
-
sliderColor?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const Slider: ({ maxValue, minValue, sliderValue, setSliderValue, sliderColor, }: ISliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Slider;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FlexProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface StepperProps extends FlexProps {
|
|
4
|
-
steps: {
|
|
5
|
-
name: string;
|
|
6
|
-
id: number;
|
|
7
|
-
rightElement?: JSX.Element;
|
|
8
|
-
}[];
|
|
9
|
-
page: number;
|
|
10
|
-
handleStepClick?: (id: number) => void;
|
|
11
|
-
color?: string;
|
|
12
|
-
bgColor?: string;
|
|
13
|
-
}
|
|
14
|
-
declare const Stepper: ({ steps, page, handleStepClick, color, bgColor, ...rest }: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default Stepper;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TabProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
export interface TabMenuProps extends TabProps {
|
|
4
|
-
tabIndex?: number;
|
|
5
|
-
items: {
|
|
6
|
-
name: string;
|
|
7
|
-
element: any;
|
|
8
|
-
}[];
|
|
9
|
-
handleClick?: (index: number) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const TabMenu: ({ items, width, tabIndex, handleClick, ...props }: TabMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default TabMenu;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SwitchProps, BoxProps } from '../../@chakra-ui/react';
|
|
2
|
-
|
|
3
|
-
interface ISwitch extends SwitchProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
subtext?: string;
|
|
6
|
-
refkey?: string;
|
|
7
|
-
access?: string;
|
|
8
|
-
as?: any;
|
|
9
|
-
name?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
value?: any;
|
|
12
|
-
BoxProp?: BoxProps;
|
|
13
|
-
}
|
|
14
|
-
declare const ToggleButton: ({ label, subtext, refkey, size, className, value, as, id, onChange, isChecked, name, isDisabled, BoxProp, ...props }: ISwitch) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default ToggleButton;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/** @format */
|
|
2
|
-
export { ChakraProvider as MainstackProvider } from '../@chakra-ui/react';
|
|
3
|
-
export { default as Button } from '../Button';
|
|
4
|
-
export { default as IconButton } from '../Button/IconButton';
|
|
5
|
-
export { default as AccordionItem } from '../AccordionItem';
|
|
6
|
-
export { Accordion, AccordionPanel } from '../@chakra-ui/react';
|
|
7
|
-
export { default as Avatars } from '../Avatars';
|
|
8
|
-
export { default as Chip } from '../controls/Chip';
|
|
9
|
-
export { default as DoubleTab } from '../controls/DoubleTab';
|
|
10
|
-
export { default as Pagination } from '../controls/Pagination';
|
|
11
|
-
export { default as RadioButton } from '../controls/RadioButton';
|
|
12
|
-
export { default as RectangleCheckButton } from '../controls/RectangleCheckButton';
|
|
13
|
-
export { default as RoundCheckButton } from '../controls/RoundCheckButton';
|
|
14
|
-
export { default as Stepper } from '../controls/Stepper';
|
|
15
|
-
export { default as TabMenu } from '../controls/TabMenu';
|
|
16
|
-
export { default as ToggleButton } from '../controls/ToggleButton';
|
|
17
|
-
export { SelectInput } from '../InputFields/SelectInput';
|
|
18
|
-
export { CreatableSelectInput } from '../InputFields/SelectInput/SelectInput';
|
|
19
|
-
export type { ISelectInputProps } from '../InputFields/SelectInput/SelectInput';
|
|
20
|
-
export { default as CountrySelect } from '../InputFields/SelectInput/CountrySelect';
|
|
21
|
-
export type { ICountrySelectProps } from '../InputFields/SelectInput/CountrySelect';
|
|
22
|
-
export { default as PhoneNumberInput } from '../InputFields/SelectInput/PhoneNumberInput';
|
|
23
|
-
export type { IPhoneNumberInputProps } from '../InputFields/SelectInput/PhoneNumberInput';
|
|
24
|
-
export { default as Input } from '../InputFields/Input';
|
|
25
|
-
export { default as MarkdownEditor } from '../InputFields/MarkdownEditor';
|
|
26
|
-
export { default as SearchInput } from '../InputFields/SearchInput';
|
|
27
|
-
export { default as TextArea } from '../InputFields/TextArea';
|
|
28
|
-
export { default as UsernameInput } from '../InputFields/UsernameInput';
|
|
29
|
-
export { default as Banner } from '../notifications/Banner';
|
|
30
|
-
export { default as ClickTooltip } from '../notifications/ClickTooltip';
|
|
31
|
-
export { default as HoverTooltip } from '../notifications/HoverTooltip';
|
|
32
|
-
export { default as Colors } from '../styleGuide/Colors';
|
|
33
|
-
export { default as Tiles } from '../Tiles';
|
|
34
|
-
export { default as Display } from '../Typography/Display';
|
|
35
|
-
export { default as Heading } from '../Typography/Heading';
|
|
36
|
-
export { default as Paragraph } from '../Typography/Paragraph';
|
|
37
|
-
export { default as Subtitle } from '../Typography/Subtitle';
|
|
38
|
-
export { default as FileUploader } from '../Uploader/FileUploader';
|
|
39
|
-
export { default as ImageUploader } from '../Uploader/ImageUploader';
|
|
40
|
-
export { default as Loader } from '../Animations/Loader';
|
|
41
|
-
export { default as UrlInput } from '../InputFields/UrlInput';
|
|
42
|
-
export { default as Tag } from '../notifications/Tag';
|
|
43
|
-
export { default as Slider } from '../controls/Slider';
|
|
44
|
-
export { customSnackbar, CustomSnackbarContainer, SnackbarType, } from '../notifications/Snackbar';
|