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.
Files changed (595) hide show
  1. package/README.md +702 -15
  2. package/dist/FormCountryOptionsList-BTIDLbxV.cjs +8 -0
  3. package/dist/FormCountryOptionsList-BWbi-SZ_.js +1790 -0
  4. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  5. package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  6. package/dist/clsx-C11secjj.cjs +1 -0
  7. package/dist/clsx-OuTLNxxd.js +16 -0
  8. package/dist/components/Accordion/AccordionContent.js +1 -0
  9. package/dist/components/Accordion/AccordionHeader.js +1 -0
  10. package/dist/components/Accordion/AccordionItem.js +1 -0
  11. package/dist/components/Accordion/AccordionRoot.js +1 -0
  12. package/dist/components/Accordion/AccordionSubtitle.js +1 -0
  13. package/dist/components/Accordion/AccordionTitle.js +1 -0
  14. package/dist/components/Accordion/AccordionTrigger.js +1 -0
  15. package/dist/components/Accordion/index.js +1 -0
  16. package/dist/components/Avatar/Avatar.js +2 -0
  17. package/dist/components/Avatar/avatarVariants.js +1 -0
  18. package/dist/components/Avatar/getAvatarSize.js +1 -0
  19. package/dist/components/Avatar/index.js +1 -0
  20. package/dist/components/Banner/BannerAction.js +1 -0
  21. package/dist/components/Banner/BannerContent.js +1 -0
  22. package/dist/components/Banner/BannerHeader.js +1 -0
  23. package/dist/components/Banner/BannerIcon.js +1 -0
  24. package/dist/components/Banner/BannerRoot.js +1 -0
  25. package/dist/components/Banner/BannerText.js +1 -0
  26. package/dist/components/Banner/bannerVariants.js +1 -0
  27. package/dist/components/Banner/index.js +1 -0
  28. package/dist/components/Button/Button.js +1 -0
  29. package/dist/components/Button/ButtonIcon.js +1 -0
  30. package/dist/components/Button/ButtonLabel.js +1 -0
  31. package/dist/components/Button/ButtonRoot.js +1 -0
  32. package/dist/components/Button/buttonVariants.js +87 -0
  33. package/dist/components/Button/index.js +1 -0
  34. package/dist/components/Checkbox/CheckboxIndicator.js +2 -0
  35. package/dist/components/Checkbox/CheckboxLabel.js +1 -0
  36. package/dist/components/Checkbox/CheckboxRoot.js +1 -0
  37. package/dist/components/Checkbox/CheckboxSubtext.js +1 -0
  38. package/dist/components/Checkbox/CheckboxTitle.js +1 -0
  39. package/dist/components/Checkbox/index.js +1 -0
  40. package/dist/components/Chip/Chip.js +1 -0
  41. package/dist/components/Chip/ChipLabel.js +1 -0
  42. package/dist/components/Chip/ChipRoot.js +1 -0
  43. package/dist/components/Chip/ChipSlot.js +1 -0
  44. package/dist/components/Chip/chipVariants.js +1 -0
  45. package/dist/components/Chip/index.js +1 -0
  46. package/dist/components/Form/FormCharacterCounter.js +1 -0
  47. package/dist/components/Form/FormCountrySelect/FormCountryOptions.js +1 -0
  48. package/dist/components/Form/FormCountrySelect/FormCountryOptionsList.js +1 -0
  49. package/dist/components/Form/FormCountrySelect/FormCountryOptionsSearchField.js +1 -0
  50. package/dist/components/Form/FormCountrySelect/FormCountrySelect.js +1 -0
  51. package/dist/components/Form/FormCountrySelect/constant.js +1 -0
  52. package/dist/components/Form/FormCountrySelect/getCountryFlagComp.js +1 -0
  53. package/dist/components/Form/FormItem.js +1 -0
  54. package/dist/components/Form/FormLabel.js +1 -0
  55. package/dist/components/Form/FormStatus/FormErrorStatus.js +1 -0
  56. package/dist/components/Form/FormStatus/FormHintStatus.js +1 -0
  57. package/dist/components/Form/FormStatus/FormStatusRoot.js +1 -0
  58. package/dist/components/Form/FormStatus/FormStatusText.js +1 -0
  59. package/dist/components/Form/FormStatus/FormSuccessStatus.js +1 -0
  60. package/dist/components/Form/index.js +1 -0
  61. package/dist/components/Icons/AccountBalanceIcon.js +1 -0
  62. package/dist/components/Icons/AccountBalanceWalletIcon.js +1 -0
  63. package/dist/components/Icons/AccountCircleIcon.js +1 -0
  64. package/dist/components/Icons/AdGroupIcon.js +1 -0
  65. package/dist/components/Icons/AdaptiveAudioMicIcon.js +1 -0
  66. package/dist/components/Icons/AddAPhotoIcon.js +1 -0
  67. package/dist/components/Icons/AddBusinessIcon.js +1 -0
  68. package/dist/components/Icons/AddCircleIcon.js +1 -0
  69. package/dist/components/Icons/AddIcon.js +1 -0
  70. package/dist/components/Icons/AddLinkIcon.js +1 -0
  71. package/dist/components/Icons/AddPhotoAlternateIcon.js +1 -0
  72. package/dist/components/Icons/AddShoppingCartIcon.js +1 -0
  73. package/dist/components/Icons/AdminPanelSettingsIcon.js +1 -0
  74. package/dist/components/Icons/AdsClickIcon.js +1 -0
  75. package/dist/components/Icons/AlarmIcon.js +1 -0
  76. package/dist/components/Icons/AllInboxIcon.js +1 -0
  77. package/dist/components/Icons/AnimationIcon.js +1 -0
  78. package/dist/components/Icons/ApartmentIcon.js +1 -0
  79. package/dist/components/Icons/AppsIcon.js +1 -0
  80. package/dist/components/Icons/ArchiveIcon.js +1 -0
  81. package/dist/components/Icons/ArrowBackIcon.js +1 -0
  82. package/dist/components/Icons/ArrowCircleDownIcon.js +1 -0
  83. package/dist/components/Icons/ArrowCircleUpIcon.js +1 -0
  84. package/dist/components/Icons/ArrowDownwardIcon.js +1 -0
  85. package/dist/components/Icons/ArrowDropDownIcon.js +1 -0
  86. package/dist/components/Icons/ArrowDropUpIcon.js +1 -0
  87. package/dist/components/Icons/ArrowForwardIcon.js +1 -0
  88. package/dist/components/Icons/ArrowUpwardIcon.js +1 -0
  89. package/dist/components/Icons/ArtTrackIcon.js +1 -0
  90. package/dist/components/Icons/ArticleIcon.js +1 -0
  91. package/dist/components/Icons/AttachMoneyIcon.js +1 -0
  92. package/dist/components/Icons/AttachmentIcon.js +1 -0
  93. package/dist/components/Icons/AudioFileIcon.js +1 -0
  94. package/dist/components/Icons/AutoAwesomeMosaic.js +1 -0
  95. package/dist/components/Icons/AvatarIcon.js +1 -0
  96. package/dist/components/Icons/AwardStarIcon.js +1 -0
  97. package/dist/components/Icons/BarChartIcon.js +1 -0
  98. package/dist/components/Icons/BarcodeScannerIcon.js +1 -0
  99. package/dist/components/Icons/BlockIcon.js +1 -0
  100. package/dist/components/Icons/BoltIcon.js +1 -0
  101. package/dist/components/Icons/Book5Icon.js +1 -0
  102. package/dist/components/Icons/BookOnlineIcon.js +1 -0
  103. package/dist/components/Icons/BugReportIcon.js +1 -0
  104. package/dist/components/Icons/BusinessCenterIcon.js +1 -0
  105. package/dist/components/Icons/CalendarAddOnIcon.js +1 -0
  106. package/dist/components/Icons/CalendarClockIcon.js +1 -0
  107. package/dist/components/Icons/CalendarMonthIcon.js +1 -0
  108. package/dist/components/Icons/CalendarTodayIcon.js +1 -0
  109. package/dist/components/Icons/CallIcon.js +1 -0
  110. package/dist/components/Icons/CallMadeIcon.js +1 -0
  111. package/dist/components/Icons/CallMissedIcon.js +1 -0
  112. package/dist/components/Icons/CallMissedOutgoingIcon.js +1 -0
  113. package/dist/components/Icons/CallReceivedIcon.js +1 -0
  114. package/dist/components/Icons/CampaignIcon.js +1 -0
  115. package/dist/components/Icons/CancelIcon.js +1 -0
  116. package/dist/components/Icons/CancelScheduleSendIcon.js +1 -0
  117. package/dist/components/Icons/CaptivePortalIcon.js +1 -0
  118. package/dist/components/Icons/CardLayoutIcon.js +1 -0
  119. package/dist/components/Icons/CasesIcon.js +1 -0
  120. package/dist/components/Icons/CategoryIcon.js +1 -0
  121. package/dist/components/Icons/ChairIcon.js +1 -0
  122. package/dist/components/Icons/ChangeCircleIcon.js +1 -0
  123. package/dist/components/Icons/ChatBubbleIcon.js +1 -0
  124. package/dist/components/Icons/ChatIcon.js +1 -0
  125. package/dist/components/Icons/CheckBoxIcon.js +1 -0
  126. package/dist/components/Icons/CheckBoxOutlineBlankIcon.js +1 -0
  127. package/dist/components/Icons/CheckCircleIcon.js +1 -0
  128. package/dist/components/Icons/CheckIcon.js +1 -0
  129. package/dist/components/Icons/ChevronLeftIcon.js +1 -0
  130. package/dist/components/Icons/ChevronRightIcon.js +1 -0
  131. package/dist/components/Icons/ClinicalNoteIcon.js +1 -0
  132. package/dist/components/Icons/CloseIcon.js +1 -0
  133. package/dist/components/Icons/CloudUploadIcon.js +1 -0
  134. package/dist/components/Icons/CodeIcon.js +1 -0
  135. package/dist/components/Icons/CoffeeIcon.js +1 -0
  136. package/dist/components/Icons/CollectionsBookmarkIcon.js +1 -0
  137. package/dist/components/Icons/ColorPickerIcon.js +1 -0
  138. package/dist/components/Icons/CompareArrowsIcon.js +1 -0
  139. package/dist/components/Icons/ConfirmationNumberIcon.js +1 -0
  140. package/dist/components/Icons/ContactMailIcon.js +1 -0
  141. package/dist/components/Icons/ContactPageIcon.js +1 -0
  142. package/dist/components/Icons/ContactPhoneIcon.js +1 -0
  143. package/dist/components/Icons/ContactSupportIcon.js +1 -0
  144. package/dist/components/Icons/ContactsIcon.js +1 -0
  145. package/dist/components/Icons/ContentCopyIcon.js +1 -0
  146. package/dist/components/Icons/CreditCardGearIcon.js +1 -0
  147. package/dist/components/Icons/CreditCardIcon.js +1 -0
  148. package/dist/components/Icons/CsvIcon.js +1 -0
  149. package/dist/components/Icons/CurrencyExchangeIcon.js +1 -0
  150. package/dist/components/Icons/DNSIcon.js +1 -0
  151. package/dist/components/Icons/DangerousIcon.js +1 -0
  152. package/dist/components/Icons/DarkModeIcon.js +1 -0
  153. package/dist/components/Icons/DashboardIcon.js +1 -0
  154. package/dist/components/Icons/DataCheckIcon.js +1 -0
  155. package/dist/components/Icons/DataObjectIcon.js +1 -0
  156. package/dist/components/Icons/DatabaseIcon.js +1 -0
  157. package/dist/components/Icons/DehazeIcon.js +1 -0
  158. package/dist/components/Icons/DeployedCodeAccountIcon.js +1 -0
  159. package/dist/components/Icons/DescriptionIcon.js +1 -0
  160. package/dist/components/Icons/DesktopMacIcon.js +1 -0
  161. package/dist/components/Icons/DevicesIcon.js +1 -0
  162. package/dist/components/Icons/DiamondIcon.js +1 -0
  163. package/dist/components/Icons/DirectionsWalkIcon.js +1 -0
  164. package/dist/components/Icons/Diversity1Icon.js +1 -0
  165. package/dist/components/Icons/Diversity2Icon.js +1 -0
  166. package/dist/components/Icons/Diversity3Icon.js +1 -0
  167. package/dist/components/Icons/DoNotDisturbOnIcon.js +1 -0
  168. package/dist/components/Icons/DomainAddIcon.js +1 -0
  169. package/dist/components/Icons/DomainIcon.js +1 -0
  170. package/dist/components/Icons/DomainVerificationIcon.js +1 -0
  171. package/dist/components/Icons/DownloadIcon.js +1 -0
  172. package/dist/components/Icons/DraftsIcon.js +1 -0
  173. package/dist/components/Icons/DragHandleIcon.js +1 -0
  174. package/dist/components/Icons/DragIndicatorIcon.js +1 -0
  175. package/dist/components/Icons/DuoIcon.js +1 -0
  176. package/dist/components/Icons/EarlyOnIcon.js +1 -0
  177. package/dist/components/Icons/EditIcon.js +1 -0
  178. package/dist/components/Icons/EmojiFoodBeverageIcon.js +1 -0
  179. package/dist/components/Icons/EmojiIcon.js +1 -0
  180. package/dist/components/Icons/EncryptedIcon.js +1 -0
  181. package/dist/components/Icons/EnterpriseIcon.js +1 -0
  182. package/dist/components/Icons/EqualIcon.js +1 -0
  183. package/dist/components/Icons/ErrorIcon.js +1 -0
  184. package/dist/components/Icons/EventBusyIcon.js +1 -0
  185. package/dist/components/Icons/EventIcon.js +1 -0
  186. package/dist/components/Icons/ExpandAllIcon.js +1 -0
  187. package/dist/components/Icons/FastForwardIcon.js +1 -0
  188. package/dist/components/Icons/FastRewindIcon.js +1 -0
  189. package/dist/components/Icons/FavoriteIcon.js +1 -0
  190. package/dist/components/Icons/FeaturedSeasonalAndGiftsIcon.js +1 -0
  191. package/dist/components/Icons/FeedIcon.js +1 -0
  192. package/dist/components/Icons/FilePresentIcon.js +1 -0
  193. package/dist/components/Icons/FilterListIcon.js +1 -0
  194. package/dist/components/Icons/FingerPrintIcon.js +1 -0
  195. package/dist/components/Icons/FlagIcon.js +1 -0
  196. package/dist/components/Icons/FolderCopyIcon.js +1 -0
  197. package/dist/components/Icons/FolderIcon.js +1 -0
  198. package/dist/components/Icons/FolderZipIcon.js +1 -0
  199. package/dist/components/Icons/FootPrintIcon.js +1 -0
  200. package/dist/components/Icons/FormatAlignCenterIcon.js +1 -0
  201. package/dist/components/Icons/FormatAlignJustifyIcon.js +1 -0
  202. package/dist/components/Icons/FormatAlignLeftIcon.js +1 -0
  203. package/dist/components/Icons/FormatAlignRightIcon.js +1 -0
  204. package/dist/components/Icons/FormatBoldIcon.js +1 -0
  205. package/dist/components/Icons/FormatItalicIcon.js +1 -0
  206. package/dist/components/Icons/FormatListBulletedIcon.js +1 -0
  207. package/dist/components/Icons/FormatListNumberedIcon.js +1 -0
  208. package/dist/components/Icons/FormatSizeIcon.js +1 -0
  209. package/dist/components/Icons/FormatUnderlinedIcon.js +1 -0
  210. package/dist/components/Icons/ForumIcon.js +1 -0
  211. package/dist/components/Icons/ForwardToInboxIcon.js +1 -0
  212. package/dist/components/Icons/FullScreenIcon.js +1 -0
  213. package/dist/components/Icons/GalleryThumbnailIcon.js +1 -0
  214. package/dist/components/Icons/GppBadIcon.js +1 -0
  215. package/dist/components/Icons/GppMaybeIcon.js +1 -0
  216. package/dist/components/Icons/GridViewIcon.js +1 -0
  217. package/dist/components/Icons/GroupIcon.js +1 -0
  218. package/dist/components/Icons/GroupsTwoIcon.js +1 -0
  219. package/dist/components/Icons/HandShakeIcon.js +1 -0
  220. package/dist/components/Icons/HeadphonesIcon.js +1 -0
  221. package/dist/components/Icons/HelpIcon.js +1 -0
  222. package/dist/components/Icons/HomeIcon.js +1 -0
  223. package/dist/components/Icons/HomePinIcon.js +1 -0
  224. package/dist/components/Icons/HomeRepairServiceIcon.js +1 -0
  225. package/dist/components/Icons/HourGlassTopIcon.js +1 -0
  226. package/dist/components/Icons/HourglassEmptyIcon.js +1 -0
  227. package/dist/components/Icons/HubIcon.js +1 -0
  228. package/dist/components/Icons/IFrameIcon.js +1 -0
  229. package/dist/components/Icons/IconWrapper.js +1 -0
  230. package/dist/components/Icons/IdCardIcon.js +1 -0
  231. package/dist/components/Icons/IndeterminateCheckBoxIcon.js +1 -0
  232. package/dist/components/Icons/InfoIcon.js +1 -0
  233. package/dist/components/Icons/InsertChartIcon.js +1 -0
  234. package/dist/components/Icons/IntegrationInstructionsIcon.js +1 -0
  235. package/dist/components/Icons/Inventory2Icon.js +1 -0
  236. package/dist/components/Icons/IosShareIcon.js +1 -0
  237. package/dist/components/Icons/KeepIcon.js +1 -0
  238. package/dist/components/Icons/KeyIcon.js +1 -0
  239. package/dist/components/Icons/KeyOffIcon.js +1 -0
  240. package/dist/components/Icons/KeyboardArrowDownIcon.js +1 -0
  241. package/dist/components/Icons/KeyboardArrowUpIcon.js +1 -0
  242. package/dist/components/Icons/KeyboardBackSpaceIcon.js +1 -0
  243. package/dist/components/Icons/KeyboardDoubleArrowDownIcon.js +1 -0
  244. package/dist/components/Icons/LabProfileIcon.js +1 -0
  245. package/dist/components/Icons/LabelIcon.js +1 -0
  246. package/dist/components/Icons/LabelOffIcon.js +1 -0
  247. package/dist/components/Icons/LanguageIcon.js +1 -0
  248. package/dist/components/Icons/LeftPanelCloseIcon.js +1 -0
  249. package/dist/components/Icons/LeftPanelOpenIcon.js +1 -0
  250. package/dist/components/Icons/LibraryMusicIcon.js +1 -0
  251. package/dist/components/Icons/LinkIcon.js +1 -0
  252. package/dist/components/Icons/LinkOffIcon.js +1 -0
  253. package/dist/components/Icons/LocalActivityIcon.js +1 -0
  254. package/dist/components/Icons/LocalFloristIcon.js +1 -0
  255. package/dist/components/Icons/LocalLibraryIcon.js +1 -0
  256. package/dist/components/Icons/LocationOnIcon.js +1 -0
  257. package/dist/components/Icons/LockIcon.js +1 -0
  258. package/dist/components/Icons/LockOpenIcon.js +1 -0
  259. package/dist/components/Icons/LoginIcon.js +1 -0
  260. package/dist/components/Icons/LogoutIcon.js +1 -0
  261. package/dist/components/Icons/MailIcon.js +1 -0
  262. package/dist/components/Icons/ManageAccountsIcon.js +1 -0
  263. package/dist/components/Icons/MarkUnreadChatAltIcon.js +1 -0
  264. package/dist/components/Icons/MediaLinkIcon.js +1 -0
  265. package/dist/components/Icons/MenuOpenIcon.js +1 -0
  266. package/dist/components/Icons/MetabolismIcon.js +1 -0
  267. package/dist/components/Icons/MilitaryTechIcon.js +1 -0
  268. package/dist/components/Icons/MoneyBagIcon.js +1 -0
  269. package/dist/components/Icons/MonitorIcon.js +1 -0
  270. package/dist/components/Icons/MonitoringIcon.js +1 -0
  271. package/dist/components/Icons/MoreHorizIcon.js +1 -0
  272. package/dist/components/Icons/MoreVertIcon.js +1 -0
  273. package/dist/components/Icons/MotionPhotosPausedIcon.js +1 -0
  274. package/dist/components/Icons/NotificationsIcon.js +1 -0
  275. package/dist/components/Icons/OpenInNewIcon.js +1 -0
  276. package/dist/components/Icons/Package2Icon.js +1 -0
  277. package/dist/components/Icons/PageviewIcon.js +1 -0
  278. package/dist/components/Icons/PaidIcon.js +1 -0
  279. package/dist/components/Icons/PaletteIcon.js +1 -0
  280. package/dist/components/Icons/PatientListIcon.js +1 -0
  281. package/dist/components/Icons/PauseIcon.js +1 -0
  282. package/dist/components/Icons/PaymentsIcon.js +1 -0
  283. package/dist/components/Icons/PendingActionsIcon.js +1 -0
  284. package/dist/components/Icons/PercentIcon.js +1 -0
  285. package/dist/components/Icons/PermMediaIcon.js +1 -0
  286. package/dist/components/Icons/PersonAddIcon.js +1 -0
  287. package/dist/components/Icons/PersonBookIcon.js +1 -0
  288. package/dist/components/Icons/PersonIcon.js +1 -0
  289. package/dist/components/Icons/PhotoCameraIcon.js +1 -0
  290. package/dist/components/Icons/PhotoIcon.js +1 -0
  291. package/dist/components/Icons/PhotoLibraryIcon.js +1 -0
  292. package/dist/components/Icons/PictureAsPdfIcon.js +1 -0
  293. package/dist/components/Icons/PlayArrowIcon.js +1 -0
  294. package/dist/components/Icons/PlayCircleIcon.js +1 -0
  295. package/dist/components/Icons/PolicyIcon.js +1 -0
  296. package/dist/components/Icons/PowerSettingsCircleIcon.js +1 -0
  297. package/dist/components/Icons/PowerSettingsNewIcon.js +1 -0
  298. package/dist/components/Icons/PreviewIcon.js +1 -0
  299. package/dist/components/Icons/PriorityHighIcon.js +1 -0
  300. package/dist/components/Icons/PsychologyAltIcon.js +1 -0
  301. package/dist/components/Icons/PublicIcon.js +1 -0
  302. package/dist/components/Icons/PublishIcon.js +1 -0
  303. package/dist/components/Icons/QRCode2Icon.js +1 -0
  304. package/dist/components/Icons/QuestionMarkIcon.js +1 -0
  305. package/dist/components/Icons/QuizIcon.js +1 -0
  306. package/dist/components/Icons/RadioButtonCheckedIcon.js +1 -0
  307. package/dist/components/Icons/RadioButtonUncheckedIcon.js +1 -0
  308. package/dist/components/Icons/RateReviewIcon.js +1 -0
  309. package/dist/components/Icons/ReceiptLongIcon.js +1 -0
  310. package/dist/components/Icons/RecordVoiceOverIcon.js +1 -0
  311. package/dist/components/Icons/RedeemIcon.js +1 -0
  312. package/dist/components/Icons/RedoIcon.js +1 -0
  313. package/dist/components/Icons/RemoveIcon.js +1 -0
  314. package/dist/components/Icons/RemoveRoadIcon.js +1 -0
  315. package/dist/components/Icons/RequestQuoteIcon.js +1 -0
  316. package/dist/components/Icons/ReviewIcon.js +1 -0
  317. package/dist/components/Icons/SavingsIcon.js +1 -0
  318. package/dist/components/Icons/ScheduleIcon.js +1 -0
  319. package/dist/components/Icons/ScheduleSendIcon.js +1 -0
  320. package/dist/components/Icons/SearchIcon.js +1 -0
  321. package/dist/components/Icons/SellIcon.js +1 -0
  322. package/dist/components/Icons/SendIcon.js +1 -0
  323. package/dist/components/Icons/SettingsIcon.js +1 -0
  324. package/dist/components/Icons/ShareIcon.js +1 -0
  325. package/dist/components/Icons/ShoppingCartIcon.js +1 -0
  326. package/dist/components/Icons/ShoppingModeIcon.js +1 -0
  327. package/dist/components/Icons/ShuffleIcon.js +1 -0
  328. package/dist/components/Icons/SocialLeaderBoardIcon.js +1 -0
  329. package/dist/components/Icons/Speed15xIcon.js +1 -0
  330. package/dist/components/Icons/Speed1xIcon.js +1 -0
  331. package/dist/components/Icons/Speed2xIcon.js +1 -0
  332. package/dist/components/Icons/StarHalfIcon.js +1 -0
  333. package/dist/components/Icons/StarIcon.js +1 -0
  334. package/dist/components/Icons/StorefrontIcon.js +1 -0
  335. package/dist/components/Icons/StrikethroughSIcon.js +1 -0
  336. package/dist/components/Icons/SubscriptionsIcon.js +1 -0
  337. package/dist/components/Icons/SupervisorAccountIcon.js +1 -0
  338. package/dist/components/Icons/SwitchAccountIcon.js +1 -0
  339. package/dist/components/Icons/SwitchesIcon.js +1 -0
  340. package/dist/components/Icons/SyncSavedLocallyIcon.js +1 -0
  341. package/dist/components/Icons/TabletIcon.js +1 -0
  342. package/dist/components/Icons/ThumbDownIcon.js +1 -0
  343. package/dist/components/Icons/ThumbUpIcon.js +1 -0
  344. package/dist/components/Icons/TocIcon.js +1 -0
  345. package/dist/components/Icons/TrashDeleteBinIcon.js +1 -0
  346. package/dist/components/Icons/TrendingUpIcon.js +1 -0
  347. package/dist/components/Icons/TrophyIcon.js +1 -0
  348. package/dist/components/Icons/UndoIcon.js +1 -0
  349. package/dist/components/Icons/UnfoldMoreIcon.js +1 -0
  350. package/dist/components/Icons/UnsubscribeIcon.js +1 -0
  351. package/dist/components/Icons/UploadIcon.js +1 -0
  352. package/dist/components/Icons/VerifiedIcon.js +1 -0
  353. package/dist/components/Icons/VideoCamIcon.js +1 -0
  354. package/dist/components/Icons/VideoFileIcon.js +1 -0
  355. package/dist/components/Icons/ViewAgendaIcon.js +1 -0
  356. package/dist/components/Icons/ViewArrayIcon.js +1 -0
  357. package/dist/components/Icons/ViewCarouselIcon.js +1 -0
  358. package/dist/components/Icons/ViewCozyIcon.js +1 -0
  359. package/dist/components/Icons/ViewModuleIcon.js +1 -0
  360. package/dist/components/Icons/VisibilityIcon.js +1 -0
  361. package/dist/components/Icons/VisibilityOffIcon.js +1 -0
  362. package/dist/components/Icons/VolumeUpIcon.js +1 -0
  363. package/dist/components/Icons/VolunteerActivismIcon.js +1 -0
  364. package/dist/components/Icons/WandStarsGradientIcon.js +1 -0
  365. package/dist/components/Icons/WandStarsIcon.js +1 -0
  366. package/dist/components/Icons/WarningIcon.js +1 -0
  367. package/dist/components/Icons/WbSunnyIcon.js +1 -0
  368. package/dist/components/Icons/WebAssetIcon.js +1 -0
  369. package/dist/components/Icons/WebTrafficIcon.js +1 -0
  370. package/dist/components/Icons/WebhookIcon.js +1 -0
  371. package/dist/components/Icons/WidgetsIcon.js +1 -0
  372. package/dist/components/Icons/WorkHistoryIcon.js +1 -0
  373. package/dist/components/Icons/WorkIcon.js +1 -0
  374. package/dist/components/Icons/enums.js +1 -0
  375. package/dist/components/Icons/icons.js +1 -0
  376. package/dist/components/Icons/index.js +1 -0
  377. package/dist/components/Icons/types.js +1 -0
  378. package/dist/components/Input/Input.js +1 -0
  379. package/dist/components/Input/InputField.js +1 -0
  380. package/dist/components/Input/InputRoot.js +1 -0
  381. package/dist/components/Input/index.js +1 -0
  382. package/dist/components/PasswordField/PasswordField.js +2 -0
  383. package/dist/components/PasswordField/index.js +1 -0
  384. package/dist/components/PhoneNumber/PhoneNumberDigitField.js +3 -0
  385. package/dist/components/PhoneNumber/PhoneNumberFields.js +2 -0
  386. package/dist/components/PhoneNumber/PhoneNumberFlagField.js +2 -0
  387. package/dist/components/PhoneNumber/PhoneNumberInput.js +2 -0
  388. package/dist/components/PhoneNumber/PhoneNumberOptions.js +2 -0
  389. package/dist/components/PhoneNumber/PhoneNumberOptionsList.js +2 -0
  390. package/dist/components/PhoneNumber/PhoneNumberOptionsSearchField.js +2 -0
  391. package/dist/components/PhoneNumber/PhoneNumberPortal.js +2 -0
  392. package/dist/components/PhoneNumber/PhoneNumberRoot.js +2 -0
  393. package/dist/components/PhoneNumber/index.js +1 -0
  394. package/dist/components/PhoneNumber/phoneNumberContext.js +1 -0
  395. package/dist/components/PriceField/PriceFieldDigitField.js +2 -0
  396. package/dist/components/PriceField/PriceFieldFields.js +2 -0
  397. package/dist/components/PriceField/PriceFieldFlagField.js +2 -0
  398. package/dist/components/PriceField/PriceFieldInput.js +2 -0
  399. package/dist/components/PriceField/PriceFieldOptions.js +2 -0
  400. package/dist/components/PriceField/PriceFieldOptionsList.js +2 -0
  401. package/dist/components/PriceField/PriceFieldOptionsSearchField.js +2 -0
  402. package/dist/components/PriceField/PriceFieldPortal.js +2 -0
  403. package/dist/components/PriceField/PriceFieldRoot.js +2 -0
  404. package/dist/components/PriceField/index.js +1 -0
  405. package/dist/components/PriceField/priceFieldContext.js +1 -0
  406. package/dist/components/Provider/MainstackDesignSystemProvider.js +1 -0
  407. package/dist/components/Provider/index.js +1 -0
  408. package/dist/components/Provider/providerContext.js +1 -0
  409. package/dist/components/Provider/useMainstackDesignSystemTheme.js +1 -0
  410. package/dist/components/Radio/RadioItem.js +1 -0
  411. package/dist/components/Radio/RadioItemIndicator.js +1 -0
  412. package/dist/components/Radio/RadioItemLabel.js +1 -0
  413. package/dist/components/Radio/RadioItemSubtext.js +1 -0
  414. package/dist/components/Radio/RadioItemTitle.js +1 -0
  415. package/dist/components/Radio/RadioRoot.js +1 -0
  416. package/dist/components/Radio/index.js +1 -0
  417. package/dist/components/SearchField/SearchField.js +2 -0
  418. package/dist/components/SearchField/index.js +1 -0
  419. package/dist/components/Select/MultiSelect.js +2 -0
  420. package/dist/components/Select/Select.js +2 -0
  421. package/dist/components/Select/SelectInputField.js +2 -0
  422. package/dist/components/Select/SelectOptionInputPreview.js +2 -0
  423. package/dist/components/Select/SelectOptionItem.js +2 -0
  424. package/dist/components/Select/SelectOptionItemWithCheckbox.js +2 -0
  425. package/dist/components/Select/SelectOptions.js +2 -0
  426. package/dist/components/Select/SelectPortal.js +2 -0
  427. package/dist/components/Select/SelectRoot.js +2 -0
  428. package/dist/components/Select/index.js +1 -0
  429. package/dist/components/Select/selectContext.js +1 -0
  430. package/dist/components/Select/utils.js +1 -0
  431. package/dist/components/Tab/TabsContent.js +1 -0
  432. package/dist/components/Tab/TabsContext.js +1 -0
  433. package/dist/components/Tab/TabsList.js +1 -0
  434. package/dist/components/Tab/TabsRoot.js +1 -0
  435. package/dist/components/Tab/TabsTrigger.js +1 -0
  436. package/dist/components/Tab/index.js +1 -0
  437. package/dist/components/Tab/tabsVariants.js +1 -0
  438. package/dist/components/Tag/Tag.js +1 -0
  439. package/dist/components/Tag/TagIcon.js +1 -0
  440. package/dist/components/Tag/TagLabel.js +1 -0
  441. package/dist/components/Tag/TagRoot.js +1 -0
  442. package/dist/components/Tag/index.js +1 -0
  443. package/dist/components/Tag/tagVariants.js +1 -0
  444. package/dist/components/TextEditor/TextEditorField.js +4 -0
  445. package/dist/components/TextEditor/TextEditorInput.js +2 -0
  446. package/dist/components/TextEditor/TextEditorMenuBar/BoldMenu.js +2 -0
  447. package/dist/components/TextEditor/TextEditorMenuBar/CodeMenu.js +2 -0
  448. package/dist/components/TextEditor/TextEditorMenuBar/ColorPickerMenu.js +2 -0
  449. package/dist/components/TextEditor/TextEditorMenuBar/GenerateWithAiMenu.js +2 -0
  450. package/dist/components/TextEditor/TextEditorMenuBar/ImageUploadMenu.js +2 -0
  451. package/dist/components/TextEditor/TextEditorMenuBar/ItalicMenu.js +2 -0
  452. package/dist/components/TextEditor/TextEditorMenuBar/LinkMenu.js +6 -0
  453. package/dist/components/TextEditor/TextEditorMenuBar/OrderedListMenu.js +2 -0
  454. package/dist/components/TextEditor/TextEditorMenuBar/StrikethroughMenu.js +2 -0
  455. package/dist/components/TextEditor/TextEditorMenuBar/TextAlignMenu.js +2 -0
  456. package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuAction.js +2 -0
  457. package/dist/components/TextEditor/TextEditorMenuBar/TextEditorMenuBar.js +2 -0
  458. package/dist/components/TextEditor/TextEditorMenuBar/TextSizesMenu.js +2 -0
  459. package/dist/components/TextEditor/TextEditorMenuBar/UnderlineMenu.js +2 -0
  460. package/dist/components/TextEditor/TextEditorMenuBar/UnorderedListMenu.js +2 -0
  461. package/dist/components/TextEditor/TextEditorRoot.js +42 -0
  462. package/dist/components/TextEditor/index.js +1 -0
  463. package/dist/components/TextEditor/textEditorContext.js +1 -0
  464. package/dist/components/Textarea/Textarea.js +1 -0
  465. package/dist/components/Textarea/TextareaField.js +1 -0
  466. package/dist/components/Textarea/TextareaRoot.js +1 -0
  467. package/dist/components/Textarea/index.js +1 -0
  468. package/dist/components/Tile/TileCheckbox.js +1 -0
  469. package/dist/components/Tile/TileContent.js +1 -0
  470. package/dist/components/Tile/TileDescription.js +1 -0
  471. package/dist/components/Tile/TileHeader.js +1 -0
  472. package/dist/components/Tile/TileMedia.js +3 -0
  473. package/dist/components/Tile/TileRoot.js +2 -0
  474. package/dist/components/Tile/TileTitle.js +1 -0
  475. package/dist/components/Tile/index.js +1 -0
  476. package/dist/components/Tile/tileVariants.js +1 -0
  477. package/dist/components/Toggle/Toggle.js +1 -0
  478. package/dist/components/Toggle/ToggleLabel.js +1 -0
  479. package/dist/components/Toggle/ToggleRoot.js +1 -0
  480. package/dist/components/Toggle/ToggleSubtext.js +1 -0
  481. package/dist/components/Toggle/ToggleSwitch.js +2 -0
  482. package/dist/components/Toggle/ToggleTitle.js +1 -0
  483. package/dist/components/Toggle/index.js +1 -0
  484. package/dist/components/Toggle/toggleVariants.js +1 -0
  485. package/dist/components/Tooltip/TooltipArrow.js +1 -0
  486. package/dist/components/Tooltip/TooltipBody.js +1 -0
  487. package/dist/components/Tooltip/TooltipContent.js +1 -0
  488. package/dist/components/Tooltip/TooltipContext.js +1 -0
  489. package/dist/components/Tooltip/TooltipFooter.js +1 -0
  490. package/dist/components/Tooltip/TooltipHeader.js +1 -0
  491. package/dist/components/Tooltip/TooltipRoot.js +2 -0
  492. package/dist/components/Tooltip/TooltipTitle.js +1 -0
  493. package/dist/components/Tooltip/TooltipTrigger.js +1 -0
  494. package/dist/components/Tooltip/index.js +1 -0
  495. package/dist/components/Tooltip/useTooltipContext.js +1 -0
  496. package/dist/components/Typography/BodyText/BodyText.js +1 -0
  497. package/dist/components/Typography/BodyText/bodyTextVariants.js +1 -0
  498. package/dist/components/Typography/BodyText/index.js +1 -0
  499. package/dist/components/Typography/DisplayText/DisplayText.js +1 -0
  500. package/dist/components/Typography/DisplayText/displayTextVariants.js +1 -0
  501. package/dist/components/Typography/DisplayText/index.js +1 -0
  502. package/dist/components/Typography/HeadlineText/HeadlineText.js +1 -0
  503. package/dist/components/Typography/HeadlineText/headlineTextVariants.js +1 -0
  504. package/dist/components/Typography/HeadlineText/index.js +1 -0
  505. package/dist/en.json-BPy-6DYI.cjs +1 -0
  506. package/dist/en.json-VbJG9vrN.js +263 -0
  507. package/dist/floating-ui.dom-C224prEy.cjs +1 -0
  508. package/dist/floating-ui.dom-CauyjNxS.js +1131 -0
  509. package/dist/fonts/degular/Degular-Black.woff2 +0 -0
  510. package/dist/fonts/degular/Degular-Black_Italic.woff2 +0 -0
  511. package/dist/fonts/degular/Degular-Bold.woff2 +0 -0
  512. package/dist/fonts/degular/Degular-Bold_Italic.woff2 +0 -0
  513. package/dist/fonts/degular/Degular-Italic.woff2 +0 -0
  514. package/dist/fonts/degular/Degular-Light.woff2 +0 -0
  515. package/dist/fonts/degular/Degular-Light_Italic.woff2 +0 -0
  516. package/dist/fonts/degular/Degular-Medium.woff2 +0 -0
  517. package/dist/fonts/degular/Degular-Medium_Italic.woff2 +0 -0
  518. package/dist/fonts/degular/Degular-Regular.woff2 +0 -0
  519. package/dist/fonts/degular/Degular-Semibold.woff2 +0 -0
  520. package/dist/fonts/degular/Degular-Semibold_Italic.woff2 +0 -0
  521. package/dist/fonts/degular/Degular-Thin.woff2 +0 -0
  522. package/dist/fonts/degular/Degular-Thin_Italic.woff2 +0 -0
  523. package/dist/fonts/suisseIntl/SuisseIntl-Black.woff2 +0 -0
  524. package/dist/fonts/suisseIntl/SuisseIntl-BlackIt.woff2 +0 -0
  525. package/dist/fonts/suisseIntl/SuisseIntl-Bold.woff2 +0 -0
  526. package/dist/fonts/suisseIntl/SuisseIntl-BoldIt.woff2 +0 -0
  527. package/dist/fonts/suisseIntl/SuisseIntl-Book.woff2 +0 -0
  528. package/dist/fonts/suisseIntl/SuisseIntl-BookIt.woff2 +0 -0
  529. package/dist/fonts/suisseIntl/SuisseIntl-Medium.woff2 +0 -0
  530. package/dist/fonts/suisseIntl/SuisseIntl-MediumIt.woff2 +0 -0
  531. package/dist/fonts/suisseIntl/SuisseIntl-Regular.woff2 +0 -0
  532. package/dist/fonts/suisseIntl/SuisseIntl-RegularIt.woff2 +0 -0
  533. package/dist/fonts/suisseIntl/SuisseIntl-Semibold.woff2 +0 -0
  534. package/dist/fonts/suisseIntl/SuisseIntl-SemiboldIt.woff2 +0 -0
  535. package/dist/getInternationalPhoneNumberPrefix-C4Qc97tE.cjs +34 -0
  536. package/dist/getInternationalPhoneNumberPrefix-C8O8VTpp.js +4368 -0
  537. package/dist/index-0ioNhtNM.js +10 -0
  538. package/dist/index-437EL2iq.js +52 -0
  539. package/dist/index-5Bhkapwi.js +82 -0
  540. package/dist/index-B0dI0L76.cjs +2 -0
  541. package/dist/index-BGQepRFJ.js +27 -0
  542. package/dist/index-BGfrl8IX.js +71 -0
  543. package/dist/index-BI11g55_.cjs +42 -0
  544. package/dist/index-BRRTyZ1e.js +75 -0
  545. package/dist/index-BZCybroW.cjs +2 -0
  546. package/dist/index-BZPx6jYI.js +8 -0
  547. package/dist/index-B_Bwy8wX.cjs +1 -0
  548. package/dist/index-BbQbyYHN.cjs +2 -0
  549. package/dist/index-BfKbXbc8.cjs +1 -0
  550. package/dist/index-BvWMjxZ5.js +675 -0
  551. package/dist/index-Bx2vBAJ5.cjs +2 -0
  552. package/dist/index-ByaXH_ih.js +10 -0
  553. package/dist/index-C2mPf2xD.cjs +1 -0
  554. package/dist/index-C8aODXfJ.cjs +1 -0
  555. package/dist/index-CAgJYdlN.cjs +1 -0
  556. package/dist/index-CCKe-Mpx.js +6 -0
  557. package/dist/index-CRDKsB5y.cjs +2 -0
  558. package/dist/index-CRdNenpR.js +422 -0
  559. package/dist/index-CajSSBH7.cjs +1 -0
  560. package/dist/index-Cje7xxa1.cjs +1 -0
  561. package/dist/index-CpDnqHCm.js +36 -0
  562. package/dist/index-CsK1LjrZ.cjs +2 -0
  563. package/dist/index-CvknVH0W.js +754 -0
  564. package/dist/index-CwR-dC8j.cjs +2 -0
  565. package/dist/index-CyFz8fal.cjs +131 -0
  566. package/dist/index-CzY-WZXL.cjs +1 -0
  567. package/dist/index-D-KHlZ2P.js +20 -0
  568. package/dist/index-D29mdTf5.js +34 -0
  569. package/dist/index-D9S-9HH_.js +332 -0
  570. package/dist/index-DCXkdCW2.js +227 -0
  571. package/dist/index-DLcgu_3m.js +159 -0
  572. package/dist/index-DVuTCIJE.cjs +2 -0
  573. package/dist/index-DWQmix6e.js +234 -0
  574. package/dist/index-DYxWvftI.cjs +1 -0
  575. package/dist/index-DgIcguCG.cjs +2 -0
  576. package/dist/index-DmeJCEwx.js +181 -0
  577. package/dist/index-Dt3HnaYe.js +48 -0
  578. package/dist/index-Dz5LHXX9.js +145 -0
  579. package/dist/index-MQ0c3ZX_.cjs +1 -0
  580. package/dist/index-ZhUVW4CS.cjs +2 -0
  581. package/dist/index-bSPhqlcX.cjs +1 -0
  582. package/dist/index-fw7dUmQl.js +352 -0
  583. package/dist/index-ojFnBVkh.cjs +2 -0
  584. package/dist/index-q-4o5Ie4.cjs +2 -0
  585. package/dist/index-twi8FX77.js +13814 -0
  586. package/dist/index-xqkGMOJ8.js +13 -0
  587. package/dist/index.d.ts +68 -0
  588. package/dist/index.js +1 -0
  589. package/dist/lib/useElementWidth.js +1 -0
  590. package/dist/lib/utils.js +1 -0
  591. package/dist/types/index.js +1 -0
  592. package/package.json +89 -66
  593. package/build/index.css +0 -6
  594. package/build/index.d.ts +0 -1419
  595. 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
+ };
@@ -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.7.45",
3
+ "version": "1.0.0",
4
4
  "type": "module",
5
- "main": "build/mainstack-design-system.js",
6
- "types": "build/index.d.ts",
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
- "build",
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 src -c --write && pretty-quick --staged",
17
- "lint": "eslint src --ext .js,.jsx,.ts,.tsx --quiet --fix",
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
- "dependencies": {
45
- "@chakra-ui/icons": "^2.1.1",
46
- "@chakra-ui/react": "^2.5.1",
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
- "@chakra-ui/storybook-addon": "^5.1.0",
71
- "@commitlint/cli": "17.1.2",
72
- "@commitlint/config-conventional": "17.1.0",
73
- "@storybook/addon-essentials": "^7.5.3",
74
- "@storybook/addon-interactions": "^7.5.3",
75
- "@storybook/addon-links": "^7.5.3",
76
- "@storybook/addon-onboarding": "^1.0.8",
77
- "@storybook/blocks": "^7.5.3",
78
- "@storybook/react": "^7.5.3",
79
- "@storybook/react-vite": "^7.5.3",
80
- "@storybook/testing-library": "^0.2.2",
81
- "@types/react": "^18.0.28",
82
- "@types/react-dom": "^18.0.11",
83
- "@typescript-eslint/eslint-plugin": "^5.53.0",
84
- "@typescript-eslint/parser": "^5.53.0",
85
- "@vitejs/plugin-react": "^3.1.0",
86
- "eslint": "^8.35.0",
87
- "eslint-config-airbnb": "^19.0.4",
88
- "eslint-config-airbnb-typescript": "^17.0.0",
89
- "eslint-import-resolver-typescript": "^3.5.3",
90
- "eslint-plugin-import": "^2.27.5",
91
- "eslint-plugin-jsx-a11y": "^6.7.1",
92
- "eslint-plugin-react": "^7.32.2",
93
- "eslint-plugin-react-hooks": "^4.6.0",
94
- "eslint-plugin-storybook": "^0.6.15",
95
- "husky": "^8.0.3",
96
- "storybook": "^7.5.3",
97
- "vite": "^4.1.0",
98
- "vite-plugin-dts": "^4.5.3",
99
- "vite-plugin-lib-inject-css": "^1.3.0"
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": "<!-- @format -->",
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"