mainstack-design-system 0.7.45 → 1.0.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/README.md +702 -15
- package/dist/FormCountryOptionsList-BTIDLbxV.cjs +8 -0
- package/dist/FormCountryOptionsList-BWbi-SZ_.js +1790 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/clsx-C11secjj.cjs +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Accordion/AccordionContent.js +1 -0
- package/dist/components/Accordion/AccordionHeader.js +1 -0
- package/dist/components/Accordion/AccordionItem.js +1 -0
- package/dist/components/Accordion/AccordionRoot.js +1 -0
- package/dist/components/Accordion/AccordionSubtitle.js +1 -0
- package/dist/components/Accordion/AccordionTitle.js +1 -0
- package/dist/components/Accordion/AccordionTrigger.js +1 -0
- package/dist/components/Accordion/index.js +1 -0
- package/dist/components/Avatar/Avatar.js +2 -0
- package/dist/components/Avatar/avatarVariants.js +1 -0
- package/dist/components/Avatar/getAvatarSize.js +1 -0
- package/dist/components/Avatar/index.js +1 -0
- package/dist/components/Banner/BannerAction.js +1 -0
- package/dist/components/Banner/BannerContent.js +1 -0
- package/dist/components/Banner/BannerHeader.js +1 -0
- package/dist/components/Banner/BannerIcon.js +1 -0
- package/dist/components/Banner/BannerRoot.js +1 -0
- package/dist/components/Banner/BannerText.js +1 -0
- package/dist/components/Banner/bannerVariants.js +1 -0
- package/dist/components/Banner/index.js +1 -0
- package/dist/components/Button/Button.js +1 -0
- package/dist/components/Button/ButtonIcon.js +1 -0
- package/dist/components/Button/ButtonLabel.js +1 -0
- package/dist/components/Button/ButtonRoot.js +1 -0
- package/dist/components/Button/buttonVariants.js +87 -0
- package/dist/components/Button/index.js +1 -0
- package/dist/components/Checkbox/CheckboxIndicator.js +2 -0
- package/dist/components/Checkbox/CheckboxLabel.js +1 -0
- package/dist/components/Checkbox/CheckboxRoot.js +1 -0
- package/dist/components/Checkbox/CheckboxSubtext.js +1 -0
- package/dist/components/Checkbox/CheckboxTitle.js +1 -0
- package/dist/components/Checkbox/index.js +1 -0
- package/dist/components/Chip/Chip.js +1 -0
- package/dist/components/Chip/ChipLabel.js +1 -0
- package/dist/components/Chip/ChipRoot.js +1 -0
- package/dist/components/Chip/ChipSlot.js +1 -0
- package/dist/components/Chip/chipVariants.js +1 -0
- package/dist/components/Chip/index.js +1 -0
- package/dist/components/Form/FormCharacterCounter.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptions.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsList.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountryOptionsSearchField.js +1 -0
- package/dist/components/Form/FormCountrySelect/FormCountrySelect.js +1 -0
- package/dist/components/Form/FormCountrySelect/constant.js +1 -0
- package/dist/components/Form/FormCountrySelect/getCountryFlagComp.js +1 -0
- package/dist/components/Form/FormItem.js +1 -0
- package/dist/components/Form/FormLabel.js +1 -0
- package/dist/components/Form/FormStatus/FormErrorStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormHintStatus.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusRoot.js +1 -0
- package/dist/components/Form/FormStatus/FormStatusText.js +1 -0
- package/dist/components/Form/FormStatus/FormSuccessStatus.js +1 -0
- package/dist/components/Form/index.js +1 -0
- package/dist/components/Icons/AccountBalanceIcon.js +1 -0
- package/dist/components/Icons/AccountBalanceWalletIcon.js +1 -0
- package/dist/components/Icons/AccountCircleIcon.js +1 -0
- package/dist/components/Icons/AdGroupIcon.js +1 -0
- package/dist/components/Icons/AdaptiveAudioMicIcon.js +1 -0
- package/dist/components/Icons/AddAPhotoIcon.js +1 -0
- package/dist/components/Icons/AddBusinessIcon.js +1 -0
- package/dist/components/Icons/AddCircleIcon.js +1 -0
- package/dist/components/Icons/AddIcon.js +1 -0
- package/dist/components/Icons/AddLinkIcon.js +1 -0
- package/dist/components/Icons/AddPhotoAlternateIcon.js +1 -0
- package/dist/components/Icons/AddShoppingCartIcon.js +1 -0
- package/dist/components/Icons/AdminPanelSettingsIcon.js +1 -0
- package/dist/components/Icons/AdsClickIcon.js +1 -0
- package/dist/components/Icons/AlarmIcon.js +1 -0
- package/dist/components/Icons/AllInboxIcon.js +1 -0
- package/dist/components/Icons/AnimationIcon.js +1 -0
- package/dist/components/Icons/ApartmentIcon.js +1 -0
- package/dist/components/Icons/AppsIcon.js +1 -0
- package/dist/components/Icons/ArchiveIcon.js +1 -0
- package/dist/components/Icons/ArrowBackIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleDownIcon.js +1 -0
- package/dist/components/Icons/ArrowCircleUpIcon.js +1 -0
- package/dist/components/Icons/ArrowDownwardIcon.js +1 -0
- package/dist/components/Icons/ArrowDropDownIcon.js +1 -0
- package/dist/components/Icons/ArrowDropUpIcon.js +1 -0
- package/dist/components/Icons/ArrowForwardIcon.js +1 -0
- package/dist/components/Icons/ArrowUpwardIcon.js +1 -0
- package/dist/components/Icons/ArtTrackIcon.js +1 -0
- package/dist/components/Icons/ArticleIcon.js +1 -0
- package/dist/components/Icons/AttachMoneyIcon.js +1 -0
- package/dist/components/Icons/AttachmentIcon.js +1 -0
- package/dist/components/Icons/AudioFileIcon.js +1 -0
- package/dist/components/Icons/AutoAwesomeMosaic.js +1 -0
- package/dist/components/Icons/AvatarIcon.js +1 -0
- package/dist/components/Icons/AwardStarIcon.js +1 -0
- package/dist/components/Icons/BarChartIcon.js +1 -0
- package/dist/components/Icons/BarcodeScannerIcon.js +1 -0
- package/dist/components/Icons/BlockIcon.js +1 -0
- package/dist/components/Icons/BoltIcon.js +1 -0
- package/dist/components/Icons/Book5Icon.js +1 -0
- package/dist/components/Icons/BookOnlineIcon.js +1 -0
- package/dist/components/Icons/BugReportIcon.js +1 -0
- package/dist/components/Icons/BusinessCenterIcon.js +1 -0
- package/dist/components/Icons/CalendarAddOnIcon.js +1 -0
- package/dist/components/Icons/CalendarClockIcon.js +1 -0
- package/dist/components/Icons/CalendarMonthIcon.js +1 -0
- package/dist/components/Icons/CalendarTodayIcon.js +1 -0
- package/dist/components/Icons/CallIcon.js +1 -0
- package/dist/components/Icons/CallMadeIcon.js +1 -0
- package/dist/components/Icons/CallMissedIcon.js +1 -0
- package/dist/components/Icons/CallMissedOutgoingIcon.js +1 -0
- package/dist/components/Icons/CallReceivedIcon.js +1 -0
- package/dist/components/Icons/CampaignIcon.js +1 -0
- package/dist/components/Icons/CancelIcon.js +1 -0
- package/dist/components/Icons/CancelScheduleSendIcon.js +1 -0
- package/dist/components/Icons/CaptivePortalIcon.js +1 -0
- package/dist/components/Icons/CardLayoutIcon.js +1 -0
- package/dist/components/Icons/CasesIcon.js +1 -0
- package/dist/components/Icons/CategoryIcon.js +1 -0
- package/dist/components/Icons/ChairIcon.js +1 -0
- package/dist/components/Icons/ChangeCircleIcon.js +1 -0
- package/dist/components/Icons/ChatBubbleIcon.js +1 -0
- package/dist/components/Icons/ChatIcon.js +1 -0
- package/dist/components/Icons/CheckBoxIcon.js +1 -0
- package/dist/components/Icons/CheckBoxOutlineBlankIcon.js +1 -0
- package/dist/components/Icons/CheckCircleIcon.js +1 -0
- package/dist/components/Icons/CheckIcon.js +1 -0
- package/dist/components/Icons/ChevronLeftIcon.js +1 -0
- package/dist/components/Icons/ChevronRightIcon.js +1 -0
- package/dist/components/Icons/ClinicalNoteIcon.js +1 -0
- package/dist/components/Icons/CloseIcon.js +1 -0
- package/dist/components/Icons/CloudUploadIcon.js +1 -0
- package/dist/components/Icons/CodeIcon.js +1 -0
- package/dist/components/Icons/CoffeeIcon.js +1 -0
- package/dist/components/Icons/CollectionsBookmarkIcon.js +1 -0
- package/dist/components/Icons/ColorPickerIcon.js +1 -0
- package/dist/components/Icons/CompareArrowsIcon.js +1 -0
- package/dist/components/Icons/ConfirmationNumberIcon.js +1 -0
- package/dist/components/Icons/ContactMailIcon.js +1 -0
- package/dist/components/Icons/ContactPageIcon.js +1 -0
- package/dist/components/Icons/ContactPhoneIcon.js +1 -0
- package/dist/components/Icons/ContactSupportIcon.js +1 -0
- package/dist/components/Icons/ContactsIcon.js +1 -0
- package/dist/components/Icons/ContentCopyIcon.js +1 -0
- package/dist/components/Icons/CreditCardGearIcon.js +1 -0
- package/dist/components/Icons/CreditCardIcon.js +1 -0
- package/dist/components/Icons/CsvIcon.js +1 -0
- package/dist/components/Icons/CurrencyExchangeIcon.js +1 -0
- package/dist/components/Icons/DNSIcon.js +1 -0
- package/dist/components/Icons/DangerousIcon.js +1 -0
- package/dist/components/Icons/DarkModeIcon.js +1 -0
- package/dist/components/Icons/DashboardIcon.js +1 -0
- package/dist/components/Icons/DataCheckIcon.js +1 -0
- package/dist/components/Icons/DataObjectIcon.js +1 -0
- package/dist/components/Icons/DatabaseIcon.js +1 -0
- package/dist/components/Icons/DehazeIcon.js +1 -0
- package/dist/components/Icons/DeployedCodeAccountIcon.js +1 -0
- package/dist/components/Icons/DescriptionIcon.js +1 -0
- package/dist/components/Icons/DesktopMacIcon.js +1 -0
- package/dist/components/Icons/DevicesIcon.js +1 -0
- package/dist/components/Icons/DiamondIcon.js +1 -0
- package/dist/components/Icons/DirectionsWalkIcon.js +1 -0
- package/dist/components/Icons/Diversity1Icon.js +1 -0
- package/dist/components/Icons/Diversity2Icon.js +1 -0
- package/dist/components/Icons/Diversity3Icon.js +1 -0
- package/dist/components/Icons/DoNotDisturbOnIcon.js +1 -0
- package/dist/components/Icons/DomainAddIcon.js +1 -0
- package/dist/components/Icons/DomainIcon.js +1 -0
- package/dist/components/Icons/DomainVerificationIcon.js +1 -0
- package/dist/components/Icons/DownloadIcon.js +1 -0
- package/dist/components/Icons/DraftsIcon.js +1 -0
- package/dist/components/Icons/DragHandleIcon.js +1 -0
- package/dist/components/Icons/DragIndicatorIcon.js +1 -0
- package/dist/components/Icons/DuoIcon.js +1 -0
- package/dist/components/Icons/EarlyOnIcon.js +1 -0
- package/dist/components/Icons/EditIcon.js +1 -0
- package/dist/components/Icons/EmojiFoodBeverageIcon.js +1 -0
- package/dist/components/Icons/EmojiIcon.js +1 -0
- package/dist/components/Icons/EncryptedIcon.js +1 -0
- package/dist/components/Icons/EnterpriseIcon.js +1 -0
- package/dist/components/Icons/EqualIcon.js +1 -0
- package/dist/components/Icons/ErrorIcon.js +1 -0
- package/dist/components/Icons/EventBusyIcon.js +1 -0
- package/dist/components/Icons/EventIcon.js +1 -0
- package/dist/components/Icons/ExpandAllIcon.js +1 -0
- package/dist/components/Icons/FastForwardIcon.js +1 -0
- package/dist/components/Icons/FastRewindIcon.js +1 -0
- package/dist/components/Icons/FavoriteIcon.js +1 -0
- package/dist/components/Icons/FeaturedSeasonalAndGiftsIcon.js +1 -0
- package/dist/components/Icons/FeedIcon.js +1 -0
- package/dist/components/Icons/FilePresentIcon.js +1 -0
- package/dist/components/Icons/FilterListIcon.js +1 -0
- package/dist/components/Icons/FingerPrintIcon.js +1 -0
- package/dist/components/Icons/FlagIcon.js +1 -0
- package/dist/components/Icons/FolderCopyIcon.js +1 -0
- package/dist/components/Icons/FolderIcon.js +1 -0
- package/dist/components/Icons/FolderZipIcon.js +1 -0
- package/dist/components/Icons/FootPrintIcon.js +1 -0
- package/dist/components/Icons/FormatAlignCenterIcon.js +1 -0
- package/dist/components/Icons/FormatAlignJustifyIcon.js +1 -0
- package/dist/components/Icons/FormatAlignLeftIcon.js +1 -0
- package/dist/components/Icons/FormatAlignRightIcon.js +1 -0
- package/dist/components/Icons/FormatBoldIcon.js +1 -0
- package/dist/components/Icons/FormatItalicIcon.js +1 -0
- package/dist/components/Icons/FormatListBulletedIcon.js +1 -0
- package/dist/components/Icons/FormatListNumberedIcon.js +1 -0
- package/dist/components/Icons/FormatSizeIcon.js +1 -0
- package/dist/components/Icons/FormatUnderlinedIcon.js +1 -0
- package/dist/components/Icons/ForumIcon.js +1 -0
- package/dist/components/Icons/ForwardToInboxIcon.js +1 -0
- package/dist/components/Icons/FullScreenIcon.js +1 -0
- package/dist/components/Icons/GalleryThumbnailIcon.js +1 -0
- package/dist/components/Icons/GppBadIcon.js +1 -0
- package/dist/components/Icons/GppMaybeIcon.js +1 -0
- package/dist/components/Icons/GridViewIcon.js +1 -0
- package/dist/components/Icons/GroupIcon.js +1 -0
- package/dist/components/Icons/GroupsTwoIcon.js +1 -0
- package/dist/components/Icons/HandShakeIcon.js +1 -0
- package/dist/components/Icons/HeadphonesIcon.js +1 -0
- package/dist/components/Icons/HelpIcon.js +1 -0
- package/dist/components/Icons/HomeIcon.js +1 -0
- package/dist/components/Icons/HomePinIcon.js +1 -0
- package/dist/components/Icons/HomeRepairServiceIcon.js +1 -0
- package/dist/components/Icons/HourGlassTopIcon.js +1 -0
- package/dist/components/Icons/HourglassEmptyIcon.js +1 -0
- package/dist/components/Icons/HubIcon.js +1 -0
- package/dist/components/Icons/IFrameIcon.js +1 -0
- package/dist/components/Icons/IconWrapper.js +1 -0
- package/dist/components/Icons/IdCardIcon.js +1 -0
- package/dist/components/Icons/IndeterminateCheckBoxIcon.js +1 -0
- package/dist/components/Icons/InfoIcon.js +1 -0
- package/dist/components/Icons/InsertChartIcon.js +1 -0
- package/dist/components/Icons/IntegrationInstructionsIcon.js +1 -0
- package/dist/components/Icons/Inventory2Icon.js +1 -0
- package/dist/components/Icons/IosShareIcon.js +1 -0
- package/dist/components/Icons/KeepIcon.js +1 -0
- package/dist/components/Icons/KeyIcon.js +1 -0
- package/dist/components/Icons/KeyOffIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowDownIcon.js +1 -0
- package/dist/components/Icons/KeyboardArrowUpIcon.js +1 -0
- package/dist/components/Icons/KeyboardBackSpaceIcon.js +1 -0
- package/dist/components/Icons/KeyboardDoubleArrowDownIcon.js +1 -0
- package/dist/components/Icons/LabProfileIcon.js +1 -0
- package/dist/components/Icons/LabelIcon.js +1 -0
- package/dist/components/Icons/LabelOffIcon.js +1 -0
- package/dist/components/Icons/LanguageIcon.js +1 -0
- package/dist/components/Icons/LeftPanelCloseIcon.js +1 -0
- package/dist/components/Icons/LeftPanelOpenIcon.js +1 -0
- package/dist/components/Icons/LibraryMusicIcon.js +1 -0
- package/dist/components/Icons/LinkIcon.js +1 -0
- package/dist/components/Icons/LinkOffIcon.js +1 -0
- package/dist/components/Icons/LocalActivityIcon.js +1 -0
- package/dist/components/Icons/LocalFloristIcon.js +1 -0
- package/dist/components/Icons/LocalLibraryIcon.js +1 -0
- package/dist/components/Icons/LocationOnIcon.js +1 -0
- package/dist/components/Icons/LockIcon.js +1 -0
- package/dist/components/Icons/LockOpenIcon.js +1 -0
- package/dist/components/Icons/LoginIcon.js +1 -0
- package/dist/components/Icons/LogoutIcon.js +1 -0
- package/dist/components/Icons/MailIcon.js +1 -0
- package/dist/components/Icons/ManageAccountsIcon.js +1 -0
- package/dist/components/Icons/MarkUnreadChatAltIcon.js +1 -0
- package/dist/components/Icons/MediaLinkIcon.js +1 -0
- package/dist/components/Icons/MenuOpenIcon.js +1 -0
- package/dist/components/Icons/MetabolismIcon.js +1 -0
- package/dist/components/Icons/MilitaryTechIcon.js +1 -0
- package/dist/components/Icons/MoneyBagIcon.js +1 -0
- package/dist/components/Icons/MonitorIcon.js +1 -0
- package/dist/components/Icons/MonitoringIcon.js +1 -0
- package/dist/components/Icons/MoreHorizIcon.js +1 -0
- package/dist/components/Icons/MoreVertIcon.js +1 -0
- package/dist/components/Icons/MotionPhotosPausedIcon.js +1 -0
- package/dist/components/Icons/NotificationsIcon.js +1 -0
- package/dist/components/Icons/OpenInNewIcon.js +1 -0
- package/dist/components/Icons/Package2Icon.js +1 -0
- package/dist/components/Icons/PageviewIcon.js +1 -0
- package/dist/components/Icons/PaidIcon.js +1 -0
- package/dist/components/Icons/PaletteIcon.js +1 -0
- package/dist/components/Icons/PatientListIcon.js +1 -0
- package/dist/components/Icons/PauseIcon.js +1 -0
- package/dist/components/Icons/PaymentsIcon.js +1 -0
- package/dist/components/Icons/PendingActionsIcon.js +1 -0
- package/dist/components/Icons/PercentIcon.js +1 -0
- package/dist/components/Icons/PermMediaIcon.js +1 -0
- package/dist/components/Icons/PersonAddIcon.js +1 -0
- package/dist/components/Icons/PersonBookIcon.js +1 -0
- package/dist/components/Icons/PersonIcon.js +1 -0
- package/dist/components/Icons/PhotoCameraIcon.js +1 -0
- package/dist/components/Icons/PhotoIcon.js +1 -0
- package/dist/components/Icons/PhotoLibraryIcon.js +1 -0
- package/dist/components/Icons/PictureAsPdfIcon.js +1 -0
- package/dist/components/Icons/PlayArrowIcon.js +1 -0
- package/dist/components/Icons/PlayCircleIcon.js +1 -0
- package/dist/components/Icons/PolicyIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsCircleIcon.js +1 -0
- package/dist/components/Icons/PowerSettingsNewIcon.js +1 -0
- package/dist/components/Icons/PreviewIcon.js +1 -0
- package/dist/components/Icons/PriorityHighIcon.js +1 -0
- package/dist/components/Icons/PsychologyAltIcon.js +1 -0
- package/dist/components/Icons/PublicIcon.js +1 -0
- package/dist/components/Icons/PublishIcon.js +1 -0
- package/dist/components/Icons/QRCode2Icon.js +1 -0
- package/dist/components/Icons/QuestionMarkIcon.js +1 -0
- package/dist/components/Icons/QuizIcon.js +1 -0
- package/dist/components/Icons/RadioButtonCheckedIcon.js +1 -0
- package/dist/components/Icons/RadioButtonUncheckedIcon.js +1 -0
- package/dist/components/Icons/RateReviewIcon.js +1 -0
- package/dist/components/Icons/ReceiptLongIcon.js +1 -0
- package/dist/components/Icons/RecordVoiceOverIcon.js +1 -0
- package/dist/components/Icons/RedeemIcon.js +1 -0
- package/dist/components/Icons/RedoIcon.js +1 -0
- package/dist/components/Icons/RemoveIcon.js +1 -0
- package/dist/components/Icons/RemoveRoadIcon.js +1 -0
- package/dist/components/Icons/RequestQuoteIcon.js +1 -0
- package/dist/components/Icons/ReviewIcon.js +1 -0
- package/dist/components/Icons/SavingsIcon.js +1 -0
- package/dist/components/Icons/ScheduleIcon.js +1 -0
- package/dist/components/Icons/ScheduleSendIcon.js +1 -0
- package/dist/components/Icons/SearchIcon.js +1 -0
- package/dist/components/Icons/SellIcon.js +1 -0
- package/dist/components/Icons/SendIcon.js +1 -0
- package/dist/components/Icons/SettingsIcon.js +1 -0
- package/dist/components/Icons/ShareIcon.js +1 -0
- package/dist/components/Icons/ShoppingCartIcon.js +1 -0
- package/dist/components/Icons/ShoppingModeIcon.js +1 -0
- package/dist/components/Icons/ShuffleIcon.js +1 -0
- package/dist/components/Icons/SocialLeaderBoardIcon.js +1 -0
- package/dist/components/Icons/Speed15xIcon.js +1 -0
- package/dist/components/Icons/Speed1xIcon.js +1 -0
- package/dist/components/Icons/Speed2xIcon.js +1 -0
- package/dist/components/Icons/StarHalfIcon.js +1 -0
- package/dist/components/Icons/StarIcon.js +1 -0
- package/dist/components/Icons/StorefrontIcon.js +1 -0
- package/dist/components/Icons/StrikethroughSIcon.js +1 -0
- package/dist/components/Icons/SubscriptionsIcon.js +1 -0
- package/dist/components/Icons/SupervisorAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchAccountIcon.js +1 -0
- package/dist/components/Icons/SwitchesIcon.js +1 -0
- package/dist/components/Icons/SyncSavedLocallyIcon.js +1 -0
- package/dist/components/Icons/TabletIcon.js +1 -0
- package/dist/components/Icons/ThumbDownIcon.js +1 -0
- package/dist/components/Icons/ThumbUpIcon.js +1 -0
- package/dist/components/Icons/TocIcon.js +1 -0
- package/dist/components/Icons/TrashDeleteBinIcon.js +1 -0
- package/dist/components/Icons/TrendingUpIcon.js +1 -0
- package/dist/components/Icons/TrophyIcon.js +1 -0
- package/dist/components/Icons/UndoIcon.js +1 -0
- package/dist/components/Icons/UnfoldMoreIcon.js +1 -0
- package/dist/components/Icons/UnsubscribeIcon.js +1 -0
- package/dist/components/Icons/UploadIcon.js +1 -0
- package/dist/components/Icons/VerifiedIcon.js +1 -0
- package/dist/components/Icons/VideoCamIcon.js +1 -0
- package/dist/components/Icons/VideoFileIcon.js +1 -0
- package/dist/components/Icons/ViewAgendaIcon.js +1 -0
- package/dist/components/Icons/ViewArrayIcon.js +1 -0
- package/dist/components/Icons/ViewCarouselIcon.js +1 -0
- package/dist/components/Icons/ViewCozyIcon.js +1 -0
- package/dist/components/Icons/ViewModuleIcon.js +1 -0
- package/dist/components/Icons/VisibilityIcon.js +1 -0
- package/dist/components/Icons/VisibilityOffIcon.js +1 -0
- package/dist/components/Icons/VolumeUpIcon.js +1 -0
- package/dist/components/Icons/VolunteerActivismIcon.js +1 -0
- package/dist/components/Icons/WandStarsGradientIcon.js +1 -0
- package/dist/components/Icons/WandStarsIcon.js +1 -0
- package/dist/components/Icons/WarningIcon.js +1 -0
- package/dist/components/Icons/WbSunnyIcon.js +1 -0
- package/dist/components/Icons/WebAssetIcon.js +1 -0
- package/dist/components/Icons/WebTrafficIcon.js +1 -0
- package/dist/components/Icons/WebhookIcon.js +1 -0
- package/dist/components/Icons/WidgetsIcon.js +1 -0
- package/dist/components/Icons/WorkHistoryIcon.js +1 -0
- package/dist/components/Icons/WorkIcon.js +1 -0
- package/dist/components/Icons/enums.js +1 -0
- package/dist/components/Icons/icons.js +1 -0
- package/dist/components/Icons/index.js +1 -0
- package/dist/components/Icons/types.js +1 -0
- package/dist/components/Input/Input.js +1 -0
- package/dist/components/Input/InputField.js +1 -0
- package/dist/components/Input/InputRoot.js +1 -0
- package/dist/components/Input/index.js +1 -0
- package/dist/components/PasswordField/PasswordField.js +2 -0
- package/dist/components/PasswordField/index.js +1 -0
- package/dist/components/PhoneNumber/PhoneNumberDigitField.js +3 -0
- package/dist/components/PhoneNumber/PhoneNumberFields.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberFlagField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberInput.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptions.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsList.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberOptionsSearchField.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberPortal.js +2 -0
- package/dist/components/PhoneNumber/PhoneNumberRoot.js +2 -0
- package/dist/components/PhoneNumber/index.js +1 -0
- package/dist/components/PhoneNumber/phoneNumberContext.js +1 -0
- package/dist/components/PriceField/PriceFieldDigitField.js +2 -0
- package/dist/components/PriceField/PriceFieldFields.js +2 -0
- package/dist/components/PriceField/PriceFieldFlagField.js +2 -0
- package/dist/components/PriceField/PriceFieldInput.js +2 -0
- package/dist/components/PriceField/PriceFieldOptions.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsList.js +2 -0
- package/dist/components/PriceField/PriceFieldOptionsSearchField.js +2 -0
- package/dist/components/PriceField/PriceFieldPortal.js +2 -0
- package/dist/components/PriceField/PriceFieldRoot.js +2 -0
- package/dist/components/PriceField/index.js +1 -0
- package/dist/components/PriceField/priceFieldContext.js +1 -0
- package/dist/components/Provider/MainstackDesignSystemProvider.js +1 -0
- package/dist/components/Provider/index.js +1 -0
- package/dist/components/Provider/providerContext.js +1 -0
- package/dist/components/Provider/useMainstackDesignSystemTheme.js +1 -0
- package/dist/components/Radio/RadioItem.js +1 -0
- package/dist/components/Radio/RadioItemIndicator.js +1 -0
- package/dist/components/Radio/RadioItemLabel.js +1 -0
- package/dist/components/Radio/RadioItemSubtext.js +1 -0
- package/dist/components/Radio/RadioItemTitle.js +1 -0
- package/dist/components/Radio/RadioRoot.js +1 -0
- package/dist/components/Radio/index.js +1 -0
- package/dist/components/SearchField/SearchField.js +2 -0
- package/dist/components/SearchField/index.js +1 -0
- package/dist/components/Select/MultiSelect.js +2 -0
- package/dist/components/Select/Select.js +2 -0
- package/dist/components/Select/SelectInputField.js +2 -0
- package/dist/components/Select/SelectOptionInputPreview.js +2 -0
- package/dist/components/Select/SelectOptionItem.js +2 -0
- package/dist/components/Select/SelectOptionItemWithCheckbox.js +2 -0
- package/dist/components/Select/SelectOptions.js +2 -0
- package/dist/components/Select/SelectPortal.js +2 -0
- package/dist/components/Select/SelectRoot.js +2 -0
- package/dist/components/Select/index.js +1 -0
- package/dist/components/Select/selectContext.js +1 -0
- package/dist/components/Select/utils.js +1 -0
- package/dist/components/Tab/TabsContent.js +1 -0
- package/dist/components/Tab/TabsContext.js +1 -0
- package/dist/components/Tab/TabsList.js +1 -0
- package/dist/components/Tab/TabsRoot.js +1 -0
- package/dist/components/Tab/TabsTrigger.js +1 -0
- package/dist/components/Tab/index.js +1 -0
- package/dist/components/Tab/tabsVariants.js +1 -0
- package/dist/components/Tag/Tag.js +1 -0
- package/dist/components/Tag/TagIcon.js +1 -0
- package/dist/components/Tag/TagLabel.js +1 -0
- package/dist/components/Tag/TagRoot.js +1 -0
- package/dist/components/Tag/index.js +1 -0
- package/dist/components/Tag/tagVariants.js +1 -0
- package/dist/components/TextEditor/TextEditorField.js +4 -0
- package/dist/components/TextEditor/TextEditorInput.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/BoldMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/CodeMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ColorPickerMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/GenerateWithAiMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ImageUploadMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/ItalicMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/LinkMenu.js +6 -0
- package/dist/components/TextEditor/TextEditorMenuBar/OrderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/StrikethroughMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextAlignMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuAction.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuBar.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/TextSizesMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnderlineMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorMenuBar/UnorderedListMenu.js +2 -0
- package/dist/components/TextEditor/TextEditorRoot.js +42 -0
- package/dist/components/TextEditor/index.js +1 -0
- package/dist/components/TextEditor/textEditorContext.js +1 -0
- package/dist/components/Textarea/Textarea.js +1 -0
- package/dist/components/Textarea/TextareaField.js +1 -0
- package/dist/components/Textarea/TextareaRoot.js +1 -0
- package/dist/components/Textarea/index.js +1 -0
- package/dist/components/Tile/TileCheckbox.js +1 -0
- package/dist/components/Tile/TileContent.js +1 -0
- package/dist/components/Tile/TileDescription.js +1 -0
- package/dist/components/Tile/TileHeader.js +1 -0
- package/dist/components/Tile/TileMedia.js +3 -0
- package/dist/components/Tile/TileRoot.js +2 -0
- package/dist/components/Tile/TileTitle.js +1 -0
- package/dist/components/Tile/index.js +1 -0
- package/dist/components/Tile/tileVariants.js +1 -0
- package/dist/components/Toggle/Toggle.js +1 -0
- package/dist/components/Toggle/ToggleLabel.js +1 -0
- package/dist/components/Toggle/ToggleRoot.js +1 -0
- package/dist/components/Toggle/ToggleSubtext.js +1 -0
- package/dist/components/Toggle/ToggleSwitch.js +2 -0
- package/dist/components/Toggle/ToggleTitle.js +1 -0
- package/dist/components/Toggle/index.js +1 -0
- package/dist/components/Toggle/toggleVariants.js +1 -0
- package/dist/components/Tooltip/TooltipArrow.js +1 -0
- package/dist/components/Tooltip/TooltipBody.js +1 -0
- package/dist/components/Tooltip/TooltipContent.js +1 -0
- package/dist/components/Tooltip/TooltipContext.js +1 -0
- package/dist/components/Tooltip/TooltipFooter.js +1 -0
- package/dist/components/Tooltip/TooltipHeader.js +1 -0
- package/dist/components/Tooltip/TooltipRoot.js +2 -0
- package/dist/components/Tooltip/TooltipTitle.js +1 -0
- package/dist/components/Tooltip/TooltipTrigger.js +1 -0
- package/dist/components/Tooltip/index.js +1 -0
- package/dist/components/Tooltip/useTooltipContext.js +1 -0
- package/dist/components/Typography/BodyText/BodyText.js +1 -0
- package/dist/components/Typography/BodyText/bodyTextVariants.js +1 -0
- package/dist/components/Typography/BodyText/index.js +1 -0
- package/dist/components/Typography/DisplayText/DisplayText.js +1 -0
- package/dist/components/Typography/DisplayText/displayTextVariants.js +1 -0
- package/dist/components/Typography/DisplayText/index.js +1 -0
- package/dist/components/Typography/HeadlineText/HeadlineText.js +1 -0
- package/dist/components/Typography/HeadlineText/headlineTextVariants.js +1 -0
- package/dist/components/Typography/HeadlineText/index.js +1 -0
- package/dist/en.json-BPy-6DYI.cjs +1 -0
- package/dist/en.json-VbJG9vrN.js +263 -0
- package/dist/floating-ui.dom-C224prEy.cjs +1 -0
- package/dist/floating-ui.dom-CauyjNxS.js +1131 -0
- package/dist/fonts/degular/Degular-Black.woff2 +0 -0
- package/dist/fonts/degular/Degular-Black_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Bold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light.woff2 +0 -0
- package/dist/fonts/degular/Degular-Light_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium.woff2 +0 -0
- package/dist/fonts/degular/Degular-Medium_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Regular.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold.woff2 +0 -0
- package/dist/fonts/degular/Degular-Semibold_Italic.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin.woff2 +0 -0
- package/dist/fonts/degular/Degular-Thin_Italic.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Black.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BlackIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Bold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BoldIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Book.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-BookIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Medium.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-MediumIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Regular.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-RegularIt.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-Semibold.woff2 +0 -0
- package/dist/fonts/suisseIntl/SuisseIntl-SemiboldIt.woff2 +0 -0
- package/dist/getInternationalPhoneNumberPrefix-C4Qc97tE.cjs +34 -0
- package/dist/getInternationalPhoneNumberPrefix-C8O8VTpp.js +4368 -0
- package/dist/index-0ioNhtNM.js +10 -0
- package/dist/index-437EL2iq.js +52 -0
- package/dist/index-5Bhkapwi.js +82 -0
- package/dist/index-B0dI0L76.cjs +2 -0
- package/dist/index-BGQepRFJ.js +27 -0
- package/dist/index-BGfrl8IX.js +71 -0
- package/dist/index-BI11g55_.cjs +42 -0
- package/dist/index-BRRTyZ1e.js +75 -0
- package/dist/index-BZCybroW.cjs +2 -0
- package/dist/index-BZPx6jYI.js +8 -0
- package/dist/index-B_Bwy8wX.cjs +1 -0
- package/dist/index-BbQbyYHN.cjs +2 -0
- package/dist/index-BfKbXbc8.cjs +1 -0
- package/dist/index-BvWMjxZ5.js +675 -0
- package/dist/index-Bx2vBAJ5.cjs +2 -0
- package/dist/index-ByaXH_ih.js +10 -0
- package/dist/index-C2mPf2xD.cjs +1 -0
- package/dist/index-C8aODXfJ.cjs +1 -0
- package/dist/index-CAgJYdlN.cjs +1 -0
- package/dist/index-CCKe-Mpx.js +6 -0
- package/dist/index-CRDKsB5y.cjs +2 -0
- package/dist/index-CRdNenpR.js +422 -0
- package/dist/index-CajSSBH7.cjs +1 -0
- package/dist/index-Cje7xxa1.cjs +1 -0
- package/dist/index-CpDnqHCm.js +36 -0
- package/dist/index-CsK1LjrZ.cjs +2 -0
- package/dist/index-CvknVH0W.js +754 -0
- package/dist/index-CwR-dC8j.cjs +2 -0
- package/dist/index-CyFz8fal.cjs +131 -0
- package/dist/index-CzY-WZXL.cjs +1 -0
- package/dist/index-D-KHlZ2P.js +20 -0
- package/dist/index-D29mdTf5.js +34 -0
- package/dist/index-D9S-9HH_.js +332 -0
- package/dist/index-DCXkdCW2.js +227 -0
- package/dist/index-DLcgu_3m.js +159 -0
- package/dist/index-DVuTCIJE.cjs +2 -0
- package/dist/index-DWQmix6e.js +234 -0
- package/dist/index-DYxWvftI.cjs +1 -0
- package/dist/index-DgIcguCG.cjs +2 -0
- package/dist/index-DmeJCEwx.js +181 -0
- package/dist/index-Dt3HnaYe.js +48 -0
- package/dist/index-Dz5LHXX9.js +145 -0
- package/dist/index-MQ0c3ZX_.cjs +1 -0
- package/dist/index-ZhUVW4CS.cjs +2 -0
- package/dist/index-bSPhqlcX.cjs +1 -0
- package/dist/index-fw7dUmQl.js +352 -0
- package/dist/index-ojFnBVkh.cjs +2 -0
- package/dist/index-q-4o5Ie4.cjs +2 -0
- package/dist/index-twi8FX77.js +13814 -0
- package/dist/index-xqkGMOJ8.js +13 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.js +1 -0
- package/dist/lib/useElementWidth.js +1 -0
- package/dist/lib/utils.js +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +89 -66
- package/build/index.css +0 -6
- package/build/index.d.ts +0 -1419
- package/build/mainstack-design-system.js +0 -25463
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { u as e } from "./index-CCKe-Mpx.js";
|
|
3
|
+
var s = o[" useId ".trim().toString()] || (() => {
|
|
4
|
+
}), i = 0;
|
|
5
|
+
function c(t) {
|
|
6
|
+
const [r, u] = o.useState(s());
|
|
7
|
+
return e(() => {
|
|
8
|
+
u((a) => a ?? String(i++));
|
|
9
|
+
}, [t]), t || (r ? `radix-${r}` : "");
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
c as u
|
|
13
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
3
|
+
import { ComponentPropsWithRef } from 'react';
|
|
4
|
+
import { default as default_2 } from 'react';
|
|
5
|
+
import * as React_2 from 'react';
|
|
6
|
+
import { TooltipProps } from '@radix-ui/react-tooltip';
|
|
7
|
+
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
|
|
9
|
+
export declare const Avatar: React_2.ForwardRefExoticComponent<AvatarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
|
|
11
|
+
export declare type AvatarProps = ImageAvatarProps | InitialsAvatarProps | IconAvatarProps;
|
|
12
|
+
|
|
13
|
+
declare type BaseProps = {
|
|
14
|
+
size?: number;
|
|
15
|
+
asChild?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export declare const Button: default_2.ForwardRefExoticComponent<Omit<ButtonRootProps & {
|
|
20
|
+
children: default_2.ReactNode;
|
|
21
|
+
}, "ref"> & default_2.RefAttributes<HTMLButtonElement>>;
|
|
22
|
+
|
|
23
|
+
export declare interface ButtonRootProps extends ComponentPropsWithRef<"button">, Omit<VariantProps<typeof buttonVariants>, "size"> {
|
|
24
|
+
size?: "tiny" | "xs" | "sm" | "md" | "lg";
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
iconOnly?: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare const buttonVariants: (props?: ({
|
|
30
|
+
status?: "default" | "error" | "warning" | "success" | "info" | null | undefined;
|
|
31
|
+
variant?: "special" | "primary" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
32
|
+
size?: "tiny" | "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
33
|
+
rounded?: "sm" | "md" | null | undefined;
|
|
34
|
+
} & ClassProp) | undefined) => string;
|
|
35
|
+
|
|
36
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
37
|
+
|
|
38
|
+
declare type IconAvatarProps = BaseProps & {
|
|
39
|
+
variant: "icon";
|
|
40
|
+
icon: React_2.ReactNode;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
declare type ImageAvatarProps = BaseProps & {
|
|
44
|
+
variant: "image";
|
|
45
|
+
src: string;
|
|
46
|
+
alt?: string;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
declare type InitialsAvatarProps = BaseProps & {
|
|
50
|
+
variant: "initials";
|
|
51
|
+
name: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export declare const TooltipBody: <EE extends default_2.ElementType = "div">(props: Omit<default_2.ComponentPropsWithRef<EE>, never> & {
|
|
55
|
+
as?: EE | undefined;
|
|
56
|
+
} & {
|
|
57
|
+
ref?: default_2.Ref<Element>;
|
|
58
|
+
}) => default_2.ReactElement | null;
|
|
59
|
+
|
|
60
|
+
export declare const TooltipRoot: default_2.FC<TooltipRootProps>;
|
|
61
|
+
|
|
62
|
+
declare interface TooltipRootProps extends TooltipProps {
|
|
63
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
64
|
+
align?: "start" | "center" | "end";
|
|
65
|
+
type?: "plain" | "rich";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { }
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./components/Button/ButtonIcon.js");require("./components/Button/ButtonLabel.js");require("./components/Button/ButtonRoot.js");const o=require("./components/Button/Button.js"),t=require("./components/Avatar/Avatar.js");require("./components/Tooltip/TooltipTitle.js");const e=require("./components/Tooltip/TooltipRoot.js");require("./components/Tooltip/TooltipTrigger.js");require("./components/Tooltip/TooltipContent.js");require("./components/Tooltip/TooltipHeader.js");const r=require("./components/Tooltip/TooltipBody.js");require("./components/Tooltip/TooltipFooter.js");const i=require("./lib/utils.js");exports.Button=o.Button;exports.Avatar=t.Avatar;exports.TooltipRoot=e.TooltipRoot;exports.TooltipBody=r.TooltipBody;exports.cn=i.cn;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react");function i(){const[c,r]=t.useState(0),e=t.useRef(null),n=t.useCallback(()=>{e.current&&r(e.current.offsetWidth)},[]);return t.useEffect(()=>{if(!e.current)return;const s=new ResizeObserver(u=>{u[0]&&r(u[0].contentRect.width)});return s.observe(e.current),n(),()=>{s.disconnect()}},[n]),{ref:e,width:c}}exports.useElementWidth=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ie=require("../clsx-C11secjj.cjs"),ne="-",Pe=e=>{const n=Ge(e),{conflictingClassGroups:s,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:i=>{const u=i.split(ne);return u[0]===""&&u.length!==1&&u.shift(),xe(u,n)||Re(i)},getConflictingClassGroupIds:(i,u)=>{const p=s[i]||[];return u&&t[i]?[...p,...t[i]]:p}}},xe=(e,n)=>{if(e.length===0)return n.classGroupId;const s=e[0],t=n.nextPart.get(s),c=t?xe(e.slice(1),t):void 0;if(c)return c;if(n.validators.length===0)return;const m=e.join(ne);return n.validators.find(({validator:i})=>i(m))?.classGroupId},fe=/^\[(.+)\]$/,Re=e=>{if(fe.test(e)){const n=fe.exec(e)[1],s=n?.substring(0,n.indexOf(":"));if(s)return"arbitrary.."+s}},Ge=e=>{const{theme:n,classGroups:s}=e,t={nextPart:new Map,validators:[]};for(const c in s)re(s[c],t,c,n);return t},re=(e,n,s,t)=>{e.forEach(c=>{if(typeof c=="string"){const m=c===""?n:ge(n,c);m.classGroupId=s;return}if(typeof c=="function"){if(Ee(c)){re(c(t),n,s,t);return}n.validators.push({validator:c,classGroupId:s});return}Object.entries(c).forEach(([m,i])=>{re(i,ge(n,m),s,t)})})},ge=(e,n)=>{let s=e;return n.split(ne).forEach(t=>{s.nextPart.has(t)||s.nextPart.set(t,{nextPart:new Map,validators:[]}),s=s.nextPart.get(t)}),s},Ee=e=>e.isThemeGetter,Te=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,s=new Map,t=new Map;const c=(m,i)=>{s.set(m,i),n++,n>e&&(n=0,t=s,s=new Map)};return{get(m){let i=s.get(m);if(i!==void 0)return i;if((i=t.get(m))!==void 0)return c(m,i),i},set(m,i){s.has(m)?s.set(m,i):c(m,i)}}},te="!",se=":",Ne=se.length,Ve=e=>{const{prefix:n,experimentalParseClassName:s}=e;let t=c=>{const m=[];let i=0,u=0,p=0,b;for(let k=0;k<c.length;k++){let y=c[k];if(i===0&&u===0){if(y===se){m.push(c.slice(p,k)),p=k+Ne;continue}if(y==="/"){b=k;continue}}y==="["?i++:y==="]"?i--:y==="("?u++:y===")"&&u--}const h=m.length===0?c:c.substring(p),C=Le(h),O=C!==h,F=b&&b>p?b-p:void 0;return{modifiers:m,hasImportantModifier:O,baseClassName:C,maybePostfixModifierPosition:F}};if(n){const c=n+se,m=t;t=i=>i.startsWith(c)?m(i.substring(c.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(s){const c=t;t=m=>s({className:m,parseClassName:c})}return t},Le=e=>e.endsWith(te)?e.substring(0,e.length-1):e.startsWith(te)?e.substring(1):e,je=e=>{const n=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;const c=[];let m=[];return t.forEach(i=>{i[0]==="["||n[i]?(c.push(...m.sort(),i),m=[]):m.push(i)}),c.push(...m.sort()),c}},Oe=e=>({cache:Te(e.cacheSize),parseClassName:Ve(e),sortModifiers:je(e),...Pe(e)}),Fe=/\s+/,_e=(e,n)=>{const{parseClassName:s,getClassGroupId:t,getConflictingClassGroupIds:c,sortModifiers:m}=n,i=[],u=e.trim().split(Fe);let p="";for(let b=u.length-1;b>=0;b-=1){const h=u[b],{isExternal:C,modifiers:O,hasImportantModifier:F,baseClassName:k,maybePostfixModifierPosition:y}=s(h);if(C){p=h+(p.length>0?" "+p:p);continue}let G=!!y,A=t(G?k.substring(0,y):k);if(!A){if(!G){p=h+(p.length>0?" "+p:p);continue}if(A=t(k),!A){p=h+(p.length>0?" "+p:p);continue}G=!1}const $=m(O).join(":"),_=F?$+te:$,E=_+A;if(i.includes(E))continue;i.push(E);const T=c(A,G);for(let I=0;I<T.length;++I){const B=T[I];i.push(_+B)}p=h+(p.length>0?" "+p:p)}return p};function Be(){let e=0,n,s,t="";for(;e<arguments.length;)(n=arguments[e++])&&(s=we(n))&&(t&&(t+=" "),t+=s);return t}const we=e=>{if(typeof e=="string")return e;let n,s="";for(let t=0;t<e.length;t++)e[t]&&(n=we(e[t]))&&(s&&(s+=" "),s+=n);return s};function We(e,...n){let s,t,c,m=i;function i(p){const b=n.reduce((h,C)=>C(h),e());return s=Oe(b),t=s.cache.get,c=s.cache.set,m=u,u(p)}function u(p){const b=t(p);if(b)return b;const h=_e(p,s);return c(p,h),h}return function(){return m(Be.apply(null,arguments))}}const f=e=>{const n=s=>s[e]||[];return n.isThemeGetter=!0,n},ke=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ye=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$e=/^\d+\/\d+$/,Ue=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,qe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,De=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,He=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Je=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>$e.test(e),d=e=>!!e&&!Number.isNaN(Number(e)),M=e=>!!e&&Number.isInteger(Number(e)),ee=e=>e.endsWith("%")&&d(e.slice(0,-1)),S=e=>Ue.test(e),Xe=()=>!0,Ke=e=>qe.test(e)&&!De.test(e),ve=()=>!1,Qe=e=>He.test(e),Ye=e=>Je.test(e),Ze=e=>!o(e)&&!r(e),eo=e=>L(e,Ce,ve),o=e=>ke.test(e),R=e=>L(e,Me,Ke),oe=e=>L(e,no,d),be=e=>L(e,ze,ve),oo=e=>L(e,Se,Ye),X=e=>L(e,Ae,Qe),r=e=>ye.test(e),W=e=>j(e,Me),ro=e=>j(e,ao),he=e=>j(e,ze),to=e=>j(e,Ce),so=e=>j(e,Se),K=e=>j(e,Ae,!0),L=(e,n,s)=>{const t=ke.exec(e);return t?t[1]?n(t[1]):s(t[2]):!1},j=(e,n,s=!1)=>{const t=ye.exec(e);return t?t[1]?n(t[1]):s:!1},ze=e=>e==="position"||e==="percentage",Se=e=>e==="image"||e==="url",Ce=e=>e==="length"||e==="size"||e==="bg-size",Me=e=>e==="length",no=e=>e==="number",ao=e=>e==="family-name",Ae=e=>e==="shadow",io=()=>{const e=f("color"),n=f("font"),s=f("text"),t=f("font-weight"),c=f("tracking"),m=f("leading"),i=f("breakpoint"),u=f("container"),p=f("spacing"),b=f("radius"),h=f("shadow"),C=f("inset-shadow"),O=f("text-shadow"),F=f("drop-shadow"),k=f("blur"),y=f("perspective"),G=f("aspect"),A=f("ease"),$=f("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...E(),r,o],I=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],l=()=>[r,o,p],v=()=>[V,"full","auto",...l()],ae=()=>[M,"none","subgrid",r,o],ie=()=>["auto",{span:["full",M,r,o]},M,r,o],U=()=>[M,"auto",r,o],le=()=>["auto","min","max","fr",r,o],Q=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],N=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...l()],P=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...l()],a=()=>[e,r,o],ce=()=>[...E(),he,be,{position:[r,o]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",to,eo,{size:[r,o]}],Y=()=>[ee,W,R],x=()=>["","none","full",b,r,o],w=()=>["",d,W,R],q=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],g=()=>[d,ee,he,be],ue=()=>["","none",k,r,o],D=()=>["none",d,r,o],H=()=>["none",d,r,o],Z=()=>[d,r,o],J=()=>[V,"full",...l()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[S],breakpoint:[S],color:[Xe],container:[S],"drop-shadow":[S],ease:["in","out","in-out"],font:[Ze],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[S],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[S],shadow:[S],spacing:["px",d],text:[S],"text-shadow":[S],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,o,r,G]}],container:["container"],columns:[{columns:[d,o,r,u]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:v()}],"inset-x":[{"inset-x":v()}],"inset-y":[{"inset-y":v()}],start:[{start:v()}],end:[{end:v()}],top:[{top:v()}],right:[{right:v()}],bottom:[{bottom:v()}],left:[{left:v()}],visibility:["visible","invisible","collapse"],z:[{z:[M,"auto",r,o]}],basis:[{basis:[V,"full","auto",u,...l()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[d,V,"auto","initial","none",o]}],grow:[{grow:["",d,r,o]}],shrink:[{shrink:["",d,r,o]}],order:[{order:[M,"first","last","none",r,o]}],"grid-cols":[{"grid-cols":ae()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":ae()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":le()}],"auto-rows":[{"auto-rows":le()}],gap:[{gap:l()}],"gap-x":[{"gap-x":l()}],"gap-y":[{"gap-y":l()}],"justify-content":[{justify:[...Q(),"normal"]}],"justify-items":[{"justify-items":[...N(),"normal"]}],"justify-self":[{"justify-self":["auto",...N()]}],"align-content":[{content:["normal",...Q()]}],"align-items":[{items:[...N(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...N(),{baseline:["","last"]}]}],"place-content":[{"place-content":Q()}],"place-items":[{"place-items":[...N(),"baseline"]}],"place-self":[{"place-self":["auto",...N()]}],p:[{p:l()}],px:[{px:l()}],py:[{py:l()}],ps:[{ps:l()}],pe:[{pe:l()}],pt:[{pt:l()}],pr:[{pr:l()}],pb:[{pb:l()}],pl:[{pl:l()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":l()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":l()}],"space-y-reverse":["space-y-reverse"],size:[{size:P()}],w:[{w:[u,"screen",...P()]}],"min-w":[{"min-w":[u,"screen","none",...P()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[i]},...P()]}],h:[{h:["screen","lh",...P()]}],"min-h":[{"min-h":["screen","lh","none",...P()]}],"max-h":[{"max-h":["screen","lh",...P()]}],"font-size":[{text:["base",s,W,R]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,r,oe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ee,o]}],"font-family":[{font:[ro,o,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[c,r,o]}],"line-clamp":[{"line-clamp":[d,"none",r,oe]}],leading:[{leading:[m,...l()]}],"list-image":[{"list-image":["none",r,o]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",r,o]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:a()}],"text-color":[{text:a()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:[d,"from-font","auto",r,R]}],"text-decoration-color":[{decoration:a()}],"underline-offset":[{"underline-offset":[d,"auto",r,o]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:l()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",r,o]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",r,o]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ce()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M,r,o],radial:["",r,o],conic:[M,r,o]},so,oo]}],"bg-color":[{bg:a()}],"gradient-from-pos":[{from:Y()}],"gradient-via-pos":[{via:Y()}],"gradient-to-pos":[{to:Y()}],"gradient-from":[{from:a()}],"gradient-via":[{via:a()}],"gradient-to":[{to:a()}],rounded:[{rounded:x()}],"rounded-s":[{"rounded-s":x()}],"rounded-e":[{"rounded-e":x()}],"rounded-t":[{"rounded-t":x()}],"rounded-r":[{"rounded-r":x()}],"rounded-b":[{"rounded-b":x()}],"rounded-l":[{"rounded-l":x()}],"rounded-ss":[{"rounded-ss":x()}],"rounded-se":[{"rounded-se":x()}],"rounded-ee":[{"rounded-ee":x()}],"rounded-es":[{"rounded-es":x()}],"rounded-tl":[{"rounded-tl":x()}],"rounded-tr":[{"rounded-tr":x()}],"rounded-br":[{"rounded-br":x()}],"rounded-bl":[{"rounded-bl":x()}],"border-w":[{border:w()}],"border-w-x":[{"border-x":w()}],"border-w-y":[{"border-y":w()}],"border-w-s":[{"border-s":w()}],"border-w-e":[{"border-e":w()}],"border-w-t":[{"border-t":w()}],"border-w-r":[{"border-r":w()}],"border-w-b":[{"border-b":w()}],"border-w-l":[{"border-l":w()}],"divide-x":[{"divide-x":w()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":w()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...q(),"hidden","none"]}],"divide-style":[{divide:[...q(),"hidden","none"]}],"border-color":[{border:a()}],"border-color-x":[{"border-x":a()}],"border-color-y":[{"border-y":a()}],"border-color-s":[{"border-s":a()}],"border-color-e":[{"border-e":a()}],"border-color-t":[{"border-t":a()}],"border-color-r":[{"border-r":a()}],"border-color-b":[{"border-b":a()}],"border-color-l":[{"border-l":a()}],"divide-color":[{divide:a()}],"outline-style":[{outline:[...q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[d,r,o]}],"outline-w":[{outline:["",d,W,R]}],"outline-color":[{outline:a()}],shadow:[{shadow:["","none",h,K,X]}],"shadow-color":[{shadow:a()}],"inset-shadow":[{"inset-shadow":["none",C,K,X]}],"inset-shadow-color":[{"inset-shadow":a()}],"ring-w":[{ring:w()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:a()}],"ring-offset-w":[{"ring-offset":[d,R]}],"ring-offset-color":[{"ring-offset":a()}],"inset-ring-w":[{"inset-ring":w()}],"inset-ring-color":[{"inset-ring":a()}],"text-shadow":[{"text-shadow":["none",O,K,X]}],"text-shadow-color":[{"text-shadow":a()}],opacity:[{opacity:[d,r,o]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[d]}],"mask-image-linear-from-pos":[{"mask-linear-from":g()}],"mask-image-linear-to-pos":[{"mask-linear-to":g()}],"mask-image-linear-from-color":[{"mask-linear-from":a()}],"mask-image-linear-to-color":[{"mask-linear-to":a()}],"mask-image-t-from-pos":[{"mask-t-from":g()}],"mask-image-t-to-pos":[{"mask-t-to":g()}],"mask-image-t-from-color":[{"mask-t-from":a()}],"mask-image-t-to-color":[{"mask-t-to":a()}],"mask-image-r-from-pos":[{"mask-r-from":g()}],"mask-image-r-to-pos":[{"mask-r-to":g()}],"mask-image-r-from-color":[{"mask-r-from":a()}],"mask-image-r-to-color":[{"mask-r-to":a()}],"mask-image-b-from-pos":[{"mask-b-from":g()}],"mask-image-b-to-pos":[{"mask-b-to":g()}],"mask-image-b-from-color":[{"mask-b-from":a()}],"mask-image-b-to-color":[{"mask-b-to":a()}],"mask-image-l-from-pos":[{"mask-l-from":g()}],"mask-image-l-to-pos":[{"mask-l-to":g()}],"mask-image-l-from-color":[{"mask-l-from":a()}],"mask-image-l-to-color":[{"mask-l-to":a()}],"mask-image-x-from-pos":[{"mask-x-from":g()}],"mask-image-x-to-pos":[{"mask-x-to":g()}],"mask-image-x-from-color":[{"mask-x-from":a()}],"mask-image-x-to-color":[{"mask-x-to":a()}],"mask-image-y-from-pos":[{"mask-y-from":g()}],"mask-image-y-to-pos":[{"mask-y-to":g()}],"mask-image-y-from-color":[{"mask-y-from":a()}],"mask-image-y-to-color":[{"mask-y-to":a()}],"mask-image-radial":[{"mask-radial":[r,o]}],"mask-image-radial-from-pos":[{"mask-radial-from":g()}],"mask-image-radial-to-pos":[{"mask-radial-to":g()}],"mask-image-radial-from-color":[{"mask-radial-from":a()}],"mask-image-radial-to-color":[{"mask-radial-to":a()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[d]}],"mask-image-conic-from-pos":[{"mask-conic-from":g()}],"mask-image-conic-to-pos":[{"mask-conic-to":g()}],"mask-image-conic-from-color":[{"mask-conic-from":a()}],"mask-image-conic-to-color":[{"mask-conic-to":a()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ce()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",r,o]}],filter:[{filter:["","none",r,o]}],blur:[{blur:ue()}],brightness:[{brightness:[d,r,o]}],contrast:[{contrast:[d,r,o]}],"drop-shadow":[{"drop-shadow":["","none",F,K,X]}],"drop-shadow-color":[{"drop-shadow":a()}],grayscale:[{grayscale:["",d,r,o]}],"hue-rotate":[{"hue-rotate":[d,r,o]}],invert:[{invert:["",d,r,o]}],saturate:[{saturate:[d,r,o]}],sepia:[{sepia:["",d,r,o]}],"backdrop-filter":[{"backdrop-filter":["","none",r,o]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[d,r,o]}],"backdrop-contrast":[{"backdrop-contrast":[d,r,o]}],"backdrop-grayscale":[{"backdrop-grayscale":["",d,r,o]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d,r,o]}],"backdrop-invert":[{"backdrop-invert":["",d,r,o]}],"backdrop-opacity":[{"backdrop-opacity":[d,r,o]}],"backdrop-saturate":[{"backdrop-saturate":[d,r,o]}],"backdrop-sepia":[{"backdrop-sepia":["",d,r,o]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":l()}],"border-spacing-x":[{"border-spacing-x":l()}],"border-spacing-y":[{"border-spacing-y":l()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",r,o]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[d,"initial",r,o]}],ease:[{ease:["linear","initial",A,r,o]}],delay:[{delay:[d,r,o]}],animate:[{animate:["none",$,r,o]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,r,o]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:H()}],"scale-x":[{"scale-x":H()}],"scale-y":[{"scale-y":H()}],"scale-z":[{"scale-z":H()}],"scale-3d":["scale-3d"],skew:[{skew:Z()}],"skew-x":[{"skew-x":Z()}],"skew-y":[{"skew-y":Z()}],transform:[{transform:[r,o,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:J()}],"translate-x":[{"translate-x":J()}],"translate-y":[{"translate-y":J()}],"translate-z":[{"translate-z":J()}],"translate-none":["translate-none"],accent:[{accent:a()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:a()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",r,o]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":l()}],"scroll-mx":[{"scroll-mx":l()}],"scroll-my":[{"scroll-my":l()}],"scroll-ms":[{"scroll-ms":l()}],"scroll-me":[{"scroll-me":l()}],"scroll-mt":[{"scroll-mt":l()}],"scroll-mr":[{"scroll-mr":l()}],"scroll-mb":[{"scroll-mb":l()}],"scroll-ml":[{"scroll-ml":l()}],"scroll-p":[{"scroll-p":l()}],"scroll-px":[{"scroll-px":l()}],"scroll-py":[{"scroll-py":l()}],"scroll-ps":[{"scroll-ps":l()}],"scroll-pe":[{"scroll-pe":l()}],"scroll-pt":[{"scroll-pt":l()}],"scroll-pr":[{"scroll-pr":l()}],"scroll-pb":[{"scroll-pb":l()}],"scroll-pl":[{"scroll-pl":l()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",r,o]}],fill:[{fill:["none",...a()]}],"stroke-w":[{stroke:[d,W,R,oe]}],stroke:[{stroke:["none",...a()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},lo=We(io);function co(...e){return lo(Ie.clsx(e))}function mo(e){return e?e.replace(/[^\d.]/g,""):""}function po(e){return e?e.replace(/[^\d.]/g,"").replace(/\.(?=.*\.)/g,""):""}const uo=e=>e?e.toString().endsWith(".")?e:new Intl.NumberFormat("en-US").format(+e):"";function fo(e,n){return e?.parentElement?e.parentElement.closest(n):null}exports.cn=co;exports.formatPriceDigit=uo;exports.getClosestAncestorExcludingSelf=fo;exports.sanitizeNumberInputValue=mo;exports.sanitizePriceInputValue=po;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mainstack-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.esm.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.esm.js",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./styles": "./src/styles/globals.css"
|
|
15
|
+
},
|
|
7
16
|
"files": [
|
|
8
|
-
"
|
|
17
|
+
"dist",
|
|
18
|
+
"README.md",
|
|
9
19
|
"!/storybook-static",
|
|
10
20
|
"!/stories"
|
|
11
21
|
],
|
|
@@ -13,18 +23,18 @@
|
|
|
13
23
|
"dev": "vite",
|
|
14
24
|
"build": "tsc && vite build",
|
|
15
25
|
"preview": "vite preview --port 5001",
|
|
16
|
-
"format": "prettier
|
|
17
|
-
"lint": "eslint
|
|
26
|
+
"format": "prettier --write",
|
|
27
|
+
"lint": "eslint --fix",
|
|
18
28
|
"ts-error": "tsc",
|
|
29
|
+
"scriptname": "cmd",
|
|
30
|
+
"storybook": "storybook dev -p 6006",
|
|
31
|
+
"build-storybook": "storybook build",
|
|
32
|
+
"prepublishOnly": "yarn build",
|
|
19
33
|
"install:husky": "run-script-os",
|
|
20
34
|
"install:husky:default": "[ ! -d \"/node_modules/husky/\" ] || husky install",
|
|
21
35
|
"install:husky:win32": "echo \"husky skipped\"",
|
|
22
36
|
"postinstall": "yarn install:husky || npm run install:husky",
|
|
23
|
-
"prepare": "yarn install:husky || npm run install:husky"
|
|
24
|
-
"scriptname": "cmd",
|
|
25
|
-
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"prepublishOnly": "yarn build"
|
|
37
|
+
"prepare": "yarn install:husky || npm run install:husky"
|
|
28
38
|
},
|
|
29
39
|
"publishConfig": {
|
|
30
40
|
"@themainstack:registry": "https://npm.pkg.github.com"
|
|
@@ -41,64 +51,77 @@
|
|
|
41
51
|
"last 1 safari version"
|
|
42
52
|
]
|
|
43
53
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"@emotion/react": "^11.10.6",
|
|
48
|
-
"@emotion/styled": "^11.10.6",
|
|
49
|
-
"@storybook/preview-api": "^7.6.3",
|
|
50
|
-
"eslint-config-prettier": "^8.6.0",
|
|
51
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
52
|
-
"framer-motion": "^10.0.1",
|
|
53
|
-
"prettier": "^2.8.4",
|
|
54
|
-
"pretty-quick": "^3.1.3",
|
|
55
|
-
"react": "^18.2.0",
|
|
56
|
-
"react-dom": "^18.2.0",
|
|
57
|
-
"react-phone-input-2": "^2.15.1",
|
|
58
|
-
"react-quill": "^2.0.0",
|
|
59
|
-
"react-router-dom": "^6.8.1",
|
|
60
|
-
"react-select": "^5.8.0",
|
|
61
|
-
"react-spinners": "^0.13.8",
|
|
62
|
-
"react-toastify": "^9.1.3",
|
|
63
|
-
"run-script-os": "^1.1.6",
|
|
64
|
-
"typescript": "^4.9.5",
|
|
65
|
-
"vite-plugin-env-compatible": "^1.1.1",
|
|
66
|
-
"vite-plugin-svgr": "^2.4.0",
|
|
67
|
-
"vite-tsconfig-paths": "^4.0.5"
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"react": ">=16.8.0",
|
|
56
|
+
"react-dom": ">=16.8.0"
|
|
68
57
|
},
|
|
69
58
|
"devDependencies": {
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@storybook/
|
|
74
|
-
"@storybook/
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"@
|
|
78
|
-
"@
|
|
79
|
-
"@
|
|
80
|
-
"@
|
|
81
|
-
"@
|
|
82
|
-
"@
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"eslint": "^
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"eslint
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"
|
|
99
|
-
"
|
|
59
|
+
"@eslint/js": "^9.39.1",
|
|
60
|
+
"@storybook/addon-essentials": "^8.6.14",
|
|
61
|
+
"@storybook/addon-interactions": "^8.6.14",
|
|
62
|
+
"@storybook/react": "^8.6.14",
|
|
63
|
+
"@storybook/react-vite": "^8.6.14",
|
|
64
|
+
"@tailwindcss/vite": "^4.1.15",
|
|
65
|
+
"@types/node": "^24.10.0",
|
|
66
|
+
"@types/react": "^19.2.2",
|
|
67
|
+
"@types/react-dom": "^19.2.2",
|
|
68
|
+
"@types/react-phone-number-input": "^3.1.37",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^8.46.1",
|
|
70
|
+
"@typescript-eslint/parser": "^8.46.1",
|
|
71
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
72
|
+
"eslint": "^9.39.1",
|
|
73
|
+
"eslint-config-prettier": "^10.1.8",
|
|
74
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
75
|
+
"eslint-plugin-react-refresh": "^0.4.24",
|
|
76
|
+
"husky": "8.0.1",
|
|
77
|
+
"rollup-plugin-preserve-use-client": "^3.0.1",
|
|
78
|
+
"run-script-os": "^1.1.6",
|
|
79
|
+
"storybook": "^8.6.14",
|
|
80
|
+
"tailwindcss": "^4.1.15",
|
|
81
|
+
"typescript": "^5.9.3",
|
|
82
|
+
"typescript-eslint": "^8.46.3",
|
|
83
|
+
"vite": "^7.1.10",
|
|
84
|
+
"vite-plugin-dts": "^4.5.4"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
88
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
89
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
90
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
91
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
92
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
93
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
94
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
95
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
96
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
97
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
98
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
99
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
100
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
101
|
+
"@tiptap/extension-collaboration": "^3.10.5",
|
|
102
|
+
"@tiptap/extension-drag-handle": "^3.10.5",
|
|
103
|
+
"@tiptap/extension-drag-handle-react": "^3.10.5",
|
|
104
|
+
"@tiptap/extension-file-handler": "^3.10.5",
|
|
105
|
+
"@tiptap/extension-image": "^3.10.5",
|
|
106
|
+
"@tiptap/extension-node-range": "^3.10.5",
|
|
107
|
+
"@tiptap/extension-text-align": "^3.10.5",
|
|
108
|
+
"@tiptap/extension-text-style": "^3.10.5",
|
|
109
|
+
"@tiptap/pm": "^3.10.4",
|
|
110
|
+
"@tiptap/react": "^3.10.4",
|
|
111
|
+
"@tiptap/starter-kit": "^3.10.4",
|
|
112
|
+
"@tiptap/y-tiptap": "^3.0.0",
|
|
113
|
+
"class-variance-authority": "^0.7.1",
|
|
114
|
+
"clsx": "^2.1.1",
|
|
115
|
+
"country-flag-icons": "^1.5.21",
|
|
116
|
+
"prettier": "^3.6.2",
|
|
117
|
+
"react": "^19.2.0",
|
|
118
|
+
"react-dom": "^19.2.0",
|
|
119
|
+
"react-phone-number-input": "^3.4.13",
|
|
120
|
+
"tailwind-merge": "^3.3.1",
|
|
121
|
+
"y-protocols": "^1.0.6",
|
|
122
|
+
"yjs": "^13.6.27"
|
|
100
123
|
},
|
|
101
|
-
"description": "
|
|
124
|
+
"description": "Mainstack Design System Component Library",
|
|
102
125
|
"repository": {
|
|
103
126
|
"type": "git",
|
|
104
127
|
"url": "git+https://D-Ajiva@github.com/The-Mainstack/mainstack-design-system.git"
|