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 @@
|
|
|
1
|
+
"use strict";const u=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const c in e)if(c!=="default"){const n=Object.getOwnPropertyDescriptor(e,c);Object.defineProperty(t,c,n.get?n:{enumerable:!0,get:()=>e[c]})}}return t.default=e,Object.freeze(t)}const r=a(u);function o(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...c)=>t.current?.(...c),[])}exports.useCallbackRef=o;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as o from "react";
|
|
3
|
+
import { P as i } from "./index-CpDnqHCm.js";
|
|
4
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
5
|
+
var f = "Label", a = o.forwardRef((r, e) => /* @__PURE__ */ s(
|
|
6
|
+
i.label,
|
|
7
|
+
{
|
|
8
|
+
...r,
|
|
9
|
+
ref: e,
|
|
10
|
+
onMouseDown: (t) => {
|
|
11
|
+
t.target.closest("button, input, select, textarea") || (r.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
));
|
|
15
|
+
a.displayName = f;
|
|
16
|
+
var n = a;
|
|
17
|
+
export {
|
|
18
|
+
a as L,
|
|
19
|
+
n as R
|
|
20
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { c as O } from "./clsx-OuTLNxxd.js";
|
|
2
|
+
const m = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = O, j = (e, l) => (n) => {
|
|
3
|
+
var u;
|
|
4
|
+
if (l?.variants == null) return y(e, n?.class, n?.className);
|
|
5
|
+
const { variants: r, defaultVariants: d } = l, V = Object.keys(r).map((t) => {
|
|
6
|
+
const a = n?.[t], s = d?.[t];
|
|
7
|
+
if (a === null) return null;
|
|
8
|
+
const i = m(a) || m(s);
|
|
9
|
+
return r[t][i];
|
|
10
|
+
}), v = n && Object.entries(n).reduce((t, a) => {
|
|
11
|
+
let [s, i] = a;
|
|
12
|
+
return i === void 0 || (t[s] = i), t;
|
|
13
|
+
}, {}), N = l == null || (u = l.compoundVariants) === null || u === void 0 ? void 0 : u.reduce((t, a) => {
|
|
14
|
+
let { class: s, className: i, ...f } = a;
|
|
15
|
+
return Object.entries(f).every((C) => {
|
|
16
|
+
let [c, o] = C;
|
|
17
|
+
return Array.isArray(o) ? o.includes({
|
|
18
|
+
...d,
|
|
19
|
+
...v
|
|
20
|
+
}[c]) : {
|
|
21
|
+
...d,
|
|
22
|
+
...v
|
|
23
|
+
}[c] === o;
|
|
24
|
+
}) ? [
|
|
25
|
+
...t,
|
|
26
|
+
s,
|
|
27
|
+
i
|
|
28
|
+
] : t;
|
|
29
|
+
}, []);
|
|
30
|
+
return y(e, V, N, n?.class, n?.className);
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
j as c
|
|
34
|
+
};
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import u from "react";
|
|
4
|
+
import { c as K, a as F } from "./index-BRRTyZ1e.js";
|
|
5
|
+
import { c as se } from "./index-Dt3HnaYe.js";
|
|
6
|
+
import { u as z } from "./index-5Bhkapwi.js";
|
|
7
|
+
import { u as k } from "./index-437EL2iq.js";
|
|
8
|
+
import { P as x } from "./index-CpDnqHCm.js";
|
|
9
|
+
import { u as le } from "./index-CCKe-Mpx.js";
|
|
10
|
+
import { P as de } from "./index-BGfrl8IX.js";
|
|
11
|
+
import { u as B } from "./index-xqkGMOJ8.js";
|
|
12
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
13
|
+
import { u as pe } from "./index-ByaXH_ih.js";
|
|
14
|
+
var w = "Collapsible", [ue, U] = K(w), [fe, M] = ue(w), j = f.forwardRef(
|
|
15
|
+
(e, a) => {
|
|
16
|
+
const {
|
|
17
|
+
__scopeCollapsible: o,
|
|
18
|
+
open: n,
|
|
19
|
+
defaultOpen: r,
|
|
20
|
+
disabled: t,
|
|
21
|
+
onOpenChange: c,
|
|
22
|
+
...l
|
|
23
|
+
} = e, [d, p] = k({
|
|
24
|
+
prop: n,
|
|
25
|
+
defaultProp: r ?? !1,
|
|
26
|
+
onChange: c,
|
|
27
|
+
caller: w
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ i(
|
|
30
|
+
fe,
|
|
31
|
+
{
|
|
32
|
+
scope: o,
|
|
33
|
+
disabled: t,
|
|
34
|
+
contentId: B(),
|
|
35
|
+
open: d,
|
|
36
|
+
onOpenToggle: f.useCallback(() => p((m) => !m), [p]),
|
|
37
|
+
children: /* @__PURE__ */ i(
|
|
38
|
+
x.div,
|
|
39
|
+
{
|
|
40
|
+
"data-state": V(d),
|
|
41
|
+
"data-disabled": t ? "" : void 0,
|
|
42
|
+
...l,
|
|
43
|
+
ref: a
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
j.displayName = w;
|
|
51
|
+
var q = "CollapsibleTrigger", Y = f.forwardRef(
|
|
52
|
+
(e, a) => {
|
|
53
|
+
const { __scopeCollapsible: o, ...n } = e, r = M(q, o);
|
|
54
|
+
return /* @__PURE__ */ i(
|
|
55
|
+
x.button,
|
|
56
|
+
{
|
|
57
|
+
type: "button",
|
|
58
|
+
"aria-controls": r.contentId,
|
|
59
|
+
"aria-expanded": r.open || !1,
|
|
60
|
+
"data-state": V(r.open),
|
|
61
|
+
"data-disabled": r.disabled ? "" : void 0,
|
|
62
|
+
disabled: r.disabled,
|
|
63
|
+
...n,
|
|
64
|
+
ref: a,
|
|
65
|
+
onClick: F(e.onClick, r.onOpenToggle)
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
Y.displayName = q;
|
|
71
|
+
var H = "CollapsibleContent", J = f.forwardRef(
|
|
72
|
+
(e, a) => {
|
|
73
|
+
const { forceMount: o, ...n } = e, r = M(H, e.__scopeCollapsible);
|
|
74
|
+
return /* @__PURE__ */ i(de, { present: o || r.open, children: ({ present: t }) => /* @__PURE__ */ i(me, { ...n, ref: a, present: t }) });
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
J.displayName = H;
|
|
78
|
+
var me = f.forwardRef((e, a) => {
|
|
79
|
+
const { __scopeCollapsible: o, present: n, children: r, ...t } = e, c = M(H, o), [l, d] = f.useState(n), p = f.useRef(null), m = z(a, p), C = f.useRef(0), I = C.current, b = f.useRef(0), _ = b.current, g = c.open || l, A = f.useRef(g), h = f.useRef(void 0);
|
|
80
|
+
return f.useEffect(() => {
|
|
81
|
+
const s = requestAnimationFrame(() => A.current = !1);
|
|
82
|
+
return () => cancelAnimationFrame(s);
|
|
83
|
+
}, []), le(() => {
|
|
84
|
+
const s = p.current;
|
|
85
|
+
if (s) {
|
|
86
|
+
h.current = h.current || {
|
|
87
|
+
transitionDuration: s.style.transitionDuration,
|
|
88
|
+
animationName: s.style.animationName
|
|
89
|
+
}, s.style.transitionDuration = "0s", s.style.animationName = "none";
|
|
90
|
+
const R = s.getBoundingClientRect();
|
|
91
|
+
C.current = R.height, b.current = R.width, A.current || (s.style.transitionDuration = h.current.transitionDuration, s.style.animationName = h.current.animationName), d(n);
|
|
92
|
+
}
|
|
93
|
+
}, [c.open, n]), /* @__PURE__ */ i(
|
|
94
|
+
x.div,
|
|
95
|
+
{
|
|
96
|
+
"data-state": V(c.open),
|
|
97
|
+
"data-disabled": c.disabled ? "" : void 0,
|
|
98
|
+
id: c.contentId,
|
|
99
|
+
hidden: !g,
|
|
100
|
+
...t,
|
|
101
|
+
ref: m,
|
|
102
|
+
style: {
|
|
103
|
+
"--radix-collapsible-content-height": I ? `${I}px` : void 0,
|
|
104
|
+
"--radix-collapsible-content-width": _ ? `${_}px` : void 0,
|
|
105
|
+
...e.style
|
|
106
|
+
},
|
|
107
|
+
children: g && r
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
});
|
|
111
|
+
function V(e) {
|
|
112
|
+
return e ? "open" : "closed";
|
|
113
|
+
}
|
|
114
|
+
var Ce = j, ve = Y, be = J, v = "Accordion", ge = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [L, Ae, he] = se(v), [y] = K(v, [
|
|
115
|
+
he,
|
|
116
|
+
U
|
|
117
|
+
]), $ = U(), Q = u.forwardRef(
|
|
118
|
+
(e, a) => {
|
|
119
|
+
const { type: o, ...n } = e, r = n, t = n;
|
|
120
|
+
return /* @__PURE__ */ i(L.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ i(_e, { ...t, ref: a }) : /* @__PURE__ */ i(xe, { ...r, ref: a }) });
|
|
121
|
+
}
|
|
122
|
+
);
|
|
123
|
+
Q.displayName = v;
|
|
124
|
+
var [W, Ie] = y(v), [X, Re] = y(
|
|
125
|
+
v,
|
|
126
|
+
{ collapsible: !1 }
|
|
127
|
+
), xe = u.forwardRef(
|
|
128
|
+
(e, a) => {
|
|
129
|
+
const {
|
|
130
|
+
value: o,
|
|
131
|
+
defaultValue: n,
|
|
132
|
+
onValueChange: r = () => {
|
|
133
|
+
},
|
|
134
|
+
collapsible: t = !1,
|
|
135
|
+
...c
|
|
136
|
+
} = e, [l, d] = k({
|
|
137
|
+
prop: o,
|
|
138
|
+
defaultProp: n ?? "",
|
|
139
|
+
onChange: r,
|
|
140
|
+
caller: v
|
|
141
|
+
});
|
|
142
|
+
return /* @__PURE__ */ i(
|
|
143
|
+
W,
|
|
144
|
+
{
|
|
145
|
+
scope: e.__scopeAccordion,
|
|
146
|
+
value: u.useMemo(() => l ? [l] : [], [l]),
|
|
147
|
+
onItemOpen: d,
|
|
148
|
+
onItemClose: u.useCallback(() => t && d(""), [t, d]),
|
|
149
|
+
children: /* @__PURE__ */ i(X, { scope: e.__scopeAccordion, collapsible: t, children: /* @__PURE__ */ i(Z, { ...c, ref: a }) })
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
), _e = u.forwardRef((e, a) => {
|
|
154
|
+
const {
|
|
155
|
+
value: o,
|
|
156
|
+
defaultValue: n,
|
|
157
|
+
onValueChange: r = () => {
|
|
158
|
+
},
|
|
159
|
+
...t
|
|
160
|
+
} = e, [c, l] = k({
|
|
161
|
+
prop: o,
|
|
162
|
+
defaultProp: n ?? [],
|
|
163
|
+
onChange: r,
|
|
164
|
+
caller: v
|
|
165
|
+
}), d = u.useCallback(
|
|
166
|
+
(m) => l((C = []) => [...C, m]),
|
|
167
|
+
[l]
|
|
168
|
+
), p = u.useCallback(
|
|
169
|
+
(m) => l((C = []) => C.filter((I) => I !== m)),
|
|
170
|
+
[l]
|
|
171
|
+
);
|
|
172
|
+
return /* @__PURE__ */ i(
|
|
173
|
+
W,
|
|
174
|
+
{
|
|
175
|
+
scope: e.__scopeAccordion,
|
|
176
|
+
value: c,
|
|
177
|
+
onItemOpen: d,
|
|
178
|
+
onItemClose: p,
|
|
179
|
+
children: /* @__PURE__ */ i(X, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ i(Z, { ...t, ref: a }) })
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
}), [Pe, N] = y(v), Z = u.forwardRef(
|
|
183
|
+
(e, a) => {
|
|
184
|
+
const { __scopeAccordion: o, disabled: n, dir: r, orientation: t = "vertical", ...c } = e, l = u.useRef(null), d = z(l, a), p = Ae(o), C = pe(r) === "ltr", I = F(e.onKeyDown, (b) => {
|
|
185
|
+
if (!ge.includes(b.key)) return;
|
|
186
|
+
const _ = b.target, g = p().filter((T) => !T.ref.current?.disabled), A = g.findIndex((T) => T.ref.current === _), h = g.length;
|
|
187
|
+
if (A === -1) return;
|
|
188
|
+
b.preventDefault();
|
|
189
|
+
let s = A;
|
|
190
|
+
const R = 0, E = h - 1, O = () => {
|
|
191
|
+
s = A + 1, s > E && (s = R);
|
|
192
|
+
}, S = () => {
|
|
193
|
+
s = A - 1, s < R && (s = E);
|
|
194
|
+
};
|
|
195
|
+
switch (b.key) {
|
|
196
|
+
case "Home":
|
|
197
|
+
s = R;
|
|
198
|
+
break;
|
|
199
|
+
case "End":
|
|
200
|
+
s = E;
|
|
201
|
+
break;
|
|
202
|
+
case "ArrowRight":
|
|
203
|
+
t === "horizontal" && (C ? O() : S());
|
|
204
|
+
break;
|
|
205
|
+
case "ArrowDown":
|
|
206
|
+
t === "vertical" && O();
|
|
207
|
+
break;
|
|
208
|
+
case "ArrowLeft":
|
|
209
|
+
t === "horizontal" && (C ? S() : O());
|
|
210
|
+
break;
|
|
211
|
+
case "ArrowUp":
|
|
212
|
+
t === "vertical" && S();
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
const ce = s % h;
|
|
216
|
+
g[ce].ref.current?.focus();
|
|
217
|
+
});
|
|
218
|
+
return /* @__PURE__ */ i(
|
|
219
|
+
Pe,
|
|
220
|
+
{
|
|
221
|
+
scope: o,
|
|
222
|
+
disabled: n,
|
|
223
|
+
direction: r,
|
|
224
|
+
orientation: t,
|
|
225
|
+
children: /* @__PURE__ */ i(L.Slot, { scope: o, children: /* @__PURE__ */ i(
|
|
226
|
+
x.div,
|
|
227
|
+
{
|
|
228
|
+
...c,
|
|
229
|
+
"data-orientation": t,
|
|
230
|
+
ref: d,
|
|
231
|
+
onKeyDown: n ? void 0 : I
|
|
232
|
+
}
|
|
233
|
+
) })
|
|
234
|
+
}
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
), P = "AccordionItem", [we, G] = y(P), ee = u.forwardRef(
|
|
238
|
+
(e, a) => {
|
|
239
|
+
const { __scopeAccordion: o, value: n, ...r } = e, t = N(P, o), c = Ie(P, o), l = $(o), d = B(), p = n && c.value.includes(n) || !1, m = t.disabled || e.disabled;
|
|
240
|
+
return /* @__PURE__ */ i(
|
|
241
|
+
we,
|
|
242
|
+
{
|
|
243
|
+
scope: o,
|
|
244
|
+
open: p,
|
|
245
|
+
disabled: m,
|
|
246
|
+
triggerId: d,
|
|
247
|
+
children: /* @__PURE__ */ i(
|
|
248
|
+
Ce,
|
|
249
|
+
{
|
|
250
|
+
"data-orientation": t.orientation,
|
|
251
|
+
"data-state": ie(p),
|
|
252
|
+
...l,
|
|
253
|
+
...r,
|
|
254
|
+
ref: a,
|
|
255
|
+
disabled: m,
|
|
256
|
+
open: p,
|
|
257
|
+
onOpenChange: (C) => {
|
|
258
|
+
C ? c.onItemOpen(n) : c.onItemClose(n);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
)
|
|
262
|
+
}
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
);
|
|
266
|
+
ee.displayName = P;
|
|
267
|
+
var oe = "AccordionHeader", te = u.forwardRef(
|
|
268
|
+
(e, a) => {
|
|
269
|
+
const { __scopeAccordion: o, ...n } = e, r = N(v, o), t = G(oe, o);
|
|
270
|
+
return /* @__PURE__ */ i(
|
|
271
|
+
x.h3,
|
|
272
|
+
{
|
|
273
|
+
"data-orientation": r.orientation,
|
|
274
|
+
"data-state": ie(t.open),
|
|
275
|
+
"data-disabled": t.disabled ? "" : void 0,
|
|
276
|
+
...n,
|
|
277
|
+
ref: a
|
|
278
|
+
}
|
|
279
|
+
);
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
te.displayName = oe;
|
|
283
|
+
var D = "AccordionTrigger", ne = u.forwardRef(
|
|
284
|
+
(e, a) => {
|
|
285
|
+
const { __scopeAccordion: o, ...n } = e, r = N(v, o), t = G(D, o), c = Re(D, o), l = $(o);
|
|
286
|
+
return /* @__PURE__ */ i(L.ItemSlot, { scope: o, children: /* @__PURE__ */ i(
|
|
287
|
+
ve,
|
|
288
|
+
{
|
|
289
|
+
"aria-disabled": t.open && !c.collapsible || void 0,
|
|
290
|
+
"data-orientation": r.orientation,
|
|
291
|
+
id: t.triggerId,
|
|
292
|
+
...l,
|
|
293
|
+
...n,
|
|
294
|
+
ref: a
|
|
295
|
+
}
|
|
296
|
+
) });
|
|
297
|
+
}
|
|
298
|
+
);
|
|
299
|
+
ne.displayName = D;
|
|
300
|
+
var re = "AccordionContent", ae = u.forwardRef(
|
|
301
|
+
(e, a) => {
|
|
302
|
+
const { __scopeAccordion: o, ...n } = e, r = N(v, o), t = G(re, o), c = $(o);
|
|
303
|
+
return /* @__PURE__ */ i(
|
|
304
|
+
be,
|
|
305
|
+
{
|
|
306
|
+
role: "region",
|
|
307
|
+
"aria-labelledby": t.triggerId,
|
|
308
|
+
"data-orientation": r.orientation,
|
|
309
|
+
...c,
|
|
310
|
+
...n,
|
|
311
|
+
ref: a,
|
|
312
|
+
style: {
|
|
313
|
+
"--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
|
|
314
|
+
"--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
|
|
315
|
+
...e.style
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
ae.displayName = re;
|
|
322
|
+
function ie(e) {
|
|
323
|
+
return e ? "open" : "closed";
|
|
324
|
+
}
|
|
325
|
+
var Le = Q, $e = ee, Ge = te, Ke = ne, Fe = ae;
|
|
326
|
+
export {
|
|
327
|
+
Fe as C,
|
|
328
|
+
Ge as H,
|
|
329
|
+
$e as I,
|
|
330
|
+
Le as R,
|
|
331
|
+
Ke as T
|
|
332
|
+
};
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { c as M, a as P } from "./index-BRRTyZ1e.js";
|
|
4
|
+
import { u as O, c as k } from "./index-5Bhkapwi.js";
|
|
5
|
+
import { P as I, D as T } from "./index-Dz5LHXX9.js";
|
|
6
|
+
import { h as L, R as G, u as H, F as K } from "./index-BvWMjxZ5.js";
|
|
7
|
+
import { u as j } from "./index-xqkGMOJ8.js";
|
|
8
|
+
import { c as _, R as U, A as x, C as V, a as W } from "./index-CRdNenpR.js";
|
|
9
|
+
import { P as w } from "./index-BGfrl8IX.js";
|
|
10
|
+
import { P as E } from "./index-CpDnqHCm.js";
|
|
11
|
+
import { u as Z } from "./index-437EL2iq.js";
|
|
12
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
13
|
+
var C = "Popover", [b] = M(C, [
|
|
14
|
+
_
|
|
15
|
+
]), h = _(), [q, u] = b(C), z = (e) => {
|
|
16
|
+
const {
|
|
17
|
+
__scopePopover: n,
|
|
18
|
+
children: t,
|
|
19
|
+
open: a,
|
|
20
|
+
defaultOpen: o,
|
|
21
|
+
onOpenChange: r,
|
|
22
|
+
modal: s = !1
|
|
23
|
+
} = e, i = h(n), f = c.useRef(null), [v, g] = c.useState(!1), [m, l] = Z({
|
|
24
|
+
prop: a,
|
|
25
|
+
defaultProp: o ?? !1,
|
|
26
|
+
onChange: r,
|
|
27
|
+
caller: C
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ p(U, { ...i, children: /* @__PURE__ */ p(
|
|
30
|
+
q,
|
|
31
|
+
{
|
|
32
|
+
scope: n,
|
|
33
|
+
contentId: j(),
|
|
34
|
+
triggerRef: f,
|
|
35
|
+
open: m,
|
|
36
|
+
onOpenChange: l,
|
|
37
|
+
onOpenToggle: c.useCallback(() => l((R) => !R), [l]),
|
|
38
|
+
hasCustomAnchor: v,
|
|
39
|
+
onCustomAnchorAdd: c.useCallback(() => g(!0), []),
|
|
40
|
+
onCustomAnchorRemove: c.useCallback(() => g(!1), []),
|
|
41
|
+
modal: s,
|
|
42
|
+
children: t
|
|
43
|
+
}
|
|
44
|
+
) });
|
|
45
|
+
};
|
|
46
|
+
z.displayName = C;
|
|
47
|
+
var F = "PopoverAnchor", B = c.forwardRef(
|
|
48
|
+
(e, n) => {
|
|
49
|
+
const { __scopePopover: t, ...a } = e, o = u(F, t), r = h(t), { onCustomAnchorAdd: s, onCustomAnchorRemove: i } = o;
|
|
50
|
+
return c.useEffect(() => (s(), () => i()), [s, i]), /* @__PURE__ */ p(x, { ...r, ...a, ref: n });
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
B.displayName = F;
|
|
54
|
+
var N = "PopoverTrigger", J = c.forwardRef(
|
|
55
|
+
(e, n) => {
|
|
56
|
+
const { __scopePopover: t, ...a } = e, o = u(N, t), r = h(t), s = O(n, o.triggerRef), i = /* @__PURE__ */ p(
|
|
57
|
+
E.button,
|
|
58
|
+
{
|
|
59
|
+
type: "button",
|
|
60
|
+
"aria-haspopup": "dialog",
|
|
61
|
+
"aria-expanded": o.open,
|
|
62
|
+
"aria-controls": o.contentId,
|
|
63
|
+
"data-state": D(o.open),
|
|
64
|
+
...a,
|
|
65
|
+
ref: s,
|
|
66
|
+
onClick: P(e.onClick, o.onOpenToggle)
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
return o.hasCustomAnchor ? i : /* @__PURE__ */ p(x, { asChild: !0, ...r, children: i });
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
J.displayName = N;
|
|
73
|
+
var A = "PopoverPortal", [Q, X] = b(A, {
|
|
74
|
+
forceMount: void 0
|
|
75
|
+
}), Y = (e) => {
|
|
76
|
+
const { __scopePopover: n, forceMount: t, children: a, container: o } = e, r = u(A, n);
|
|
77
|
+
return /* @__PURE__ */ p(Q, { scope: n, forceMount: t, children: /* @__PURE__ */ p(w, { present: t || r.open, children: /* @__PURE__ */ p(I, { asChild: !0, container: o, children: a }) }) });
|
|
78
|
+
};
|
|
79
|
+
Y.displayName = A;
|
|
80
|
+
var d = "PopoverContent", $ = c.forwardRef(
|
|
81
|
+
(e, n) => {
|
|
82
|
+
const t = X(d, e.__scopePopover), { forceMount: a = t.forceMount, ...o } = e, r = u(d, e.__scopePopover);
|
|
83
|
+
return /* @__PURE__ */ p(w, { present: a || r.open, children: r.modal ? /* @__PURE__ */ p(oe, { ...o, ref: n }) : /* @__PURE__ */ p(re, { ...o, ref: n }) });
|
|
84
|
+
}
|
|
85
|
+
);
|
|
86
|
+
$.displayName = d;
|
|
87
|
+
var ee = k("PopoverContent.RemoveScroll"), oe = c.forwardRef(
|
|
88
|
+
(e, n) => {
|
|
89
|
+
const t = u(d, e.__scopePopover), a = c.useRef(null), o = O(n, a), r = c.useRef(!1);
|
|
90
|
+
return c.useEffect(() => {
|
|
91
|
+
const s = a.current;
|
|
92
|
+
if (s) return L(s);
|
|
93
|
+
}, []), /* @__PURE__ */ p(G, { as: ee, allowPinchZoom: !0, children: /* @__PURE__ */ p(
|
|
94
|
+
S,
|
|
95
|
+
{
|
|
96
|
+
...e,
|
|
97
|
+
ref: o,
|
|
98
|
+
trapFocus: t.open,
|
|
99
|
+
disableOutsidePointerEvents: !0,
|
|
100
|
+
onCloseAutoFocus: P(e.onCloseAutoFocus, (s) => {
|
|
101
|
+
s.preventDefault(), r.current || t.triggerRef.current?.focus();
|
|
102
|
+
}),
|
|
103
|
+
onPointerDownOutside: P(
|
|
104
|
+
e.onPointerDownOutside,
|
|
105
|
+
(s) => {
|
|
106
|
+
const i = s.detail.originalEvent, f = i.button === 0 && i.ctrlKey === !0, v = i.button === 2 || f;
|
|
107
|
+
r.current = v;
|
|
108
|
+
},
|
|
109
|
+
{ checkForDefaultPrevented: !1 }
|
|
110
|
+
),
|
|
111
|
+
onFocusOutside: P(
|
|
112
|
+
e.onFocusOutside,
|
|
113
|
+
(s) => s.preventDefault(),
|
|
114
|
+
{ checkForDefaultPrevented: !1 }
|
|
115
|
+
)
|
|
116
|
+
}
|
|
117
|
+
) });
|
|
118
|
+
}
|
|
119
|
+
), re = c.forwardRef(
|
|
120
|
+
(e, n) => {
|
|
121
|
+
const t = u(d, e.__scopePopover), a = c.useRef(!1), o = c.useRef(!1);
|
|
122
|
+
return /* @__PURE__ */ p(
|
|
123
|
+
S,
|
|
124
|
+
{
|
|
125
|
+
...e,
|
|
126
|
+
ref: n,
|
|
127
|
+
trapFocus: !1,
|
|
128
|
+
disableOutsidePointerEvents: !1,
|
|
129
|
+
onCloseAutoFocus: (r) => {
|
|
130
|
+
e.onCloseAutoFocus?.(r), r.defaultPrevented || (a.current || t.triggerRef.current?.focus(), r.preventDefault()), a.current = !1, o.current = !1;
|
|
131
|
+
},
|
|
132
|
+
onInteractOutside: (r) => {
|
|
133
|
+
e.onInteractOutside?.(r), r.defaultPrevented || (a.current = !0, r.detail.originalEvent.type === "pointerdown" && (o.current = !0));
|
|
134
|
+
const s = r.target;
|
|
135
|
+
t.triggerRef.current?.contains(s) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && o.current && r.preventDefault();
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
), S = c.forwardRef(
|
|
141
|
+
(e, n) => {
|
|
142
|
+
const {
|
|
143
|
+
__scopePopover: t,
|
|
144
|
+
trapFocus: a,
|
|
145
|
+
onOpenAutoFocus: o,
|
|
146
|
+
onCloseAutoFocus: r,
|
|
147
|
+
disableOutsidePointerEvents: s,
|
|
148
|
+
onEscapeKeyDown: i,
|
|
149
|
+
onPointerDownOutside: f,
|
|
150
|
+
onFocusOutside: v,
|
|
151
|
+
onInteractOutside: g,
|
|
152
|
+
...m
|
|
153
|
+
} = e, l = u(d, t), R = h(t);
|
|
154
|
+
return H(), /* @__PURE__ */ p(
|
|
155
|
+
K,
|
|
156
|
+
{
|
|
157
|
+
asChild: !0,
|
|
158
|
+
loop: !0,
|
|
159
|
+
trapped: a,
|
|
160
|
+
onMountAutoFocus: o,
|
|
161
|
+
onUnmountAutoFocus: r,
|
|
162
|
+
children: /* @__PURE__ */ p(
|
|
163
|
+
T,
|
|
164
|
+
{
|
|
165
|
+
asChild: !0,
|
|
166
|
+
disableOutsidePointerEvents: s,
|
|
167
|
+
onInteractOutside: g,
|
|
168
|
+
onEscapeKeyDown: i,
|
|
169
|
+
onPointerDownOutside: f,
|
|
170
|
+
onFocusOutside: v,
|
|
171
|
+
onDismiss: () => l.onOpenChange(!1),
|
|
172
|
+
children: /* @__PURE__ */ p(
|
|
173
|
+
V,
|
|
174
|
+
{
|
|
175
|
+
"data-state": D(l.open),
|
|
176
|
+
role: "dialog",
|
|
177
|
+
id: l.contentId,
|
|
178
|
+
...R,
|
|
179
|
+
...m,
|
|
180
|
+
ref: n,
|
|
181
|
+
style: {
|
|
182
|
+
...m.style,
|
|
183
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
184
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
185
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
186
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
187
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
}
|
|
192
|
+
)
|
|
193
|
+
}
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
), y = "PopoverClose", te = c.forwardRef(
|
|
197
|
+
(e, n) => {
|
|
198
|
+
const { __scopePopover: t, ...a } = e, o = u(y, t);
|
|
199
|
+
return /* @__PURE__ */ p(
|
|
200
|
+
E.button,
|
|
201
|
+
{
|
|
202
|
+
type: "button",
|
|
203
|
+
...a,
|
|
204
|
+
ref: n,
|
|
205
|
+
onClick: P(e.onClick, () => o.onOpenChange(!1))
|
|
206
|
+
}
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
);
|
|
210
|
+
te.displayName = y;
|
|
211
|
+
var ne = "PopoverArrow", ae = c.forwardRef(
|
|
212
|
+
(e, n) => {
|
|
213
|
+
const { __scopePopover: t, ...a } = e, o = h(t);
|
|
214
|
+
return /* @__PURE__ */ p(W, { ...o, ...a, ref: n });
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
ae.displayName = ne;
|
|
218
|
+
function D(e) {
|
|
219
|
+
return e ? "open" : "closed";
|
|
220
|
+
}
|
|
221
|
+
export {
|
|
222
|
+
z as P,
|
|
223
|
+
B as a,
|
|
224
|
+
Y as b,
|
|
225
|
+
$ as c,
|
|
226
|
+
J as d
|
|
227
|
+
};
|