@optiaxiom/web-components 0.10.5 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionsRoot-dUQyKesg.js +1 -0
- package/dist/AlertDialogContext-Ct81gaUm.js +1 -0
- package/dist/AngleMenuButton-DxrxD0R2.js +1 -0
- package/dist/Avatar-WyRgRjj2.js +1 -0
- package/dist/AvatarContext-DUBbU1AY.js +1 -0
- package/dist/AvatarGroup-CXJWOJ8L.js +1 -0
- package/dist/AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js +1 -0
- package/dist/Backdrop-DtAfk8Wy.js +1 -0
- package/dist/Badge-GzNRigkc.js +1 -0
- package/dist/Box-sR8sK0mu.js +1 -0
- package/dist/{Button-BJMdNChu.js → Button-vC44q_eL.js} +1 -1
- package/dist/ButtonContext-BcfxD3vy.js +1 -0
- package/dist/ButtonGroup-D-YcTQr0.js +1 -0
- package/dist/ButtonRoot-CcSSB9m_.js +1 -0
- package/dist/Calendar-DsvAuq5x.js +1 -0
- package/dist/Checkbox-D-dGLmoN.js +1 -0
- package/dist/{Combination-DLCbPw2z.js → Combination-DMaTcBzD.js} +1 -1
- package/dist/Cover-BxCWMk9U.js +1 -0
- package/dist/{DataTableAction-BuCNMzb0.js → DataTableAction-SxW-zMZl.js} +1 -1
- package/dist/DataTableContext-7xYeiG7c.js +1 -0
- package/dist/{DataTableRowContext-B1yOX-Hz.js → DataTableRowContext-B8gm6Z86.js} +1 -1
- package/dist/DateRangePickerContext-G4rIw6l8.js +1 -0
- package/dist/DialogContext-Ds4KtQj2.js +1 -0
- package/dist/{Disclosure-C3RtwR-S.js → Disclosure-CP8UAq1e.js} +1 -1
- package/dist/DisclosureContent-tf2CTqFF.js +1 -0
- package/dist/{DisclosureContext-BRGmOybf.js → DisclosureContext-ClVQznRI.js} +1 -1
- package/dist/DisclosureTrigger-DZVJ3Jur.js +1 -0
- package/dist/DropdownMenuContext-DthdqBuE.js +1 -0
- package/dist/DropdownMenuNestedContext-CHTh_GrT.js +1 -0
- package/dist/DropdownMenuSubContext-Cl07P7Df.js +1 -0
- package/dist/{FieldContext-RH8iknKF.js → FieldContext-D6PdU-Gy.js} +1 -1
- package/dist/{FieldLabel-C91D32qA.js → FieldLabel-DJCg5I85.js} +1 -1
- package/dist/{FilteredSlot-CtprcEsf.js → FilteredSlot-CJcITmdU.js} +1 -1
- package/dist/{Flex-T9hwraMh.js → Flex-CKxmQLA9.js} +1 -1
- package/dist/{Heading-CVYpEhb0.js → Heading-CdAql_w7.js} +1 -1
- package/dist/Icon-CYyupOkK.js +1 -0
- package/dist/IconAngleDown-BFJn2oKD.js +1 -0
- package/dist/{IconAngleRight-M253X8jr.js → IconAngleRight-B2lDfHc4.js} +1 -1
- package/dist/{IconCalendar-gAbtNxcJ.js → IconCalendar-CAe4AsOM.js} +1 -1
- package/dist/{IconCircleInfoSolid-BWTEJ4dS.js → IconCircleInfoSolid-CCkkMrKU.js} +1 -1
- package/dist/{IconEllipsis-DobCIR4X.js → IconEllipsis-BAlJjg1d.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-Dt6dMQuO.js → IconTriangleExclamationSolid-DDLt0yx8.js} +1 -1
- package/dist/{IconX-Ck4Gnqi8.js → IconX-CCh6ahMV.js} +1 -1
- package/dist/{Input-BT10pI_m.js → Input-D7vtLlOI.js} +1 -1
- package/dist/{InputAddon-V1wpZlNC.js → InputAddon-hcRosOK6.js} +1 -1
- package/dist/InputContext-Bnso09l6.js +1 -0
- package/dist/InputControl-CR9YGI3Q.js +1 -0
- package/dist/InputControl.css.ts.vanilla-u-VlisWS-A47ZxP28.js +1 -0
- package/dist/InputRoot-CwNVPIYi.js +1 -0
- package/dist/{Listbox-Bu2maE8y.js → Listbox-CUJmY3bK.js} +1 -1
- package/dist/ListboxCheckboxItem-CZpNCJOx.js +1 -0
- package/dist/{ListboxEmpty-DNuUkIls.js → ListboxEmpty-BbZ46UIh.js} +1 -1
- package/dist/{ListboxFooter-B30XLBe0.js → ListboxFooter-DSFaJeHR.js} +1 -1
- package/dist/ListboxGroup-ZPVP7cnB.js +1 -0
- package/dist/ListboxGroupContext-D4v_Esn6.js +1 -0
- package/dist/ListboxItem-BFynmTzu.js +1 -0
- package/dist/ListboxItemIndicator-DG_hxrg5.js +1 -0
- package/dist/{ListboxItemized-BZ8kCiqc.js → ListboxItemized-BlZjHEqc.js} +1 -1
- package/dist/ListboxLabel-Bp0ZgYmZ.js +1 -0
- package/dist/{ListboxRadioItem-m7nwxSfl.js → ListboxRadioItem-CDosZ7xE.js} +1 -1
- package/dist/ListboxSeparator-CxQ-ASzj.js +1 -0
- package/dist/{ListboxSwitchItem-DzbuvX0Y.js → ListboxSwitchItem-CadIb6RH.js} +1 -1
- package/dist/ModalContext-Cu4Mlg7R.js +1 -0
- package/dist/{ModalLayer-CKnbUc7x.js → ModalLayer-Cr9ziVvc.js} +1 -1
- package/dist/ModalListbox-CzBpTlO0.js +9 -0
- package/dist/Nav-BhZgFdXE.js +1 -0
- package/dist/NavAccountItem-BgH4Yw5v.js +1 -0
- package/dist/{NavBody-CTyOG8JN.js → NavBody-DCp2AeXT.js} +1 -1
- package/dist/NavFooter-DYBJfoYW.js +1 -0
- package/dist/{NavGroup-DqITi_F8.js → NavGroup-yzO6C0Zg.js} +1 -1
- package/dist/{NavGroupContent-tYEfi_3o.js → NavGroupContent-BKoYYSC2.js} +1 -1
- package/dist/{NavGroupContext-Zizkj4BD.js → NavGroupContext-CwPA-dvW.js} +1 -1
- package/dist/{NavGroupTrigger-CPJSpuVS.js → NavGroupTrigger-DW8Y8Fpq.js} +1 -1
- package/dist/NavHeader-ewcPuYSj.js +1 -0
- package/dist/NavItem-CEElA5Np.js +1 -0
- package/dist/{NavList-_RFoy97e.js → NavList-Djewwj-e.js} +1 -1
- package/dist/NavSeparator-DQzkx0ZS.js +1 -0
- package/dist/Pagination-B0VHnHvt.js +1 -0
- package/dist/{Paper-DnhQVnKz.js → Paper-D_8nBiiP.js} +1 -1
- package/dist/{Popover-DFAtAqIP.js → Popover-DSHqe_UP.js} +1 -1
- package/dist/{PopoverAnchor-Bv0jJa3f.js → PopoverAnchor-D6tQ1slK.js} +1 -1
- package/dist/PopoverContent-zpTyXfs1.js +1 -0
- package/dist/PopoverContext-jV5Hbt0r.js +1 -0
- package/dist/{PopoverTrigger-f2TYCobz.js → PopoverTrigger-XXrkxwis.js} +1 -1
- package/dist/Portal-BL6rdrGB.js +1 -0
- package/dist/PortalContext-CdQ5KlCF.js +1 -0
- package/dist/RadioGroupContext-X22fOaPY.js +1 -0
- package/dist/{SegmentedControlContext-Cy0xYKNX.js → SegmentedControlContext-D92ZbsMH.js} +1 -1
- package/dist/{Select-BcCrgEoq.js → Select-Cuxzza31.js} +1 -1
- package/dist/SelectContent-DxyFSMkv.js +1 -0
- package/dist/SelectContext-iQcNixKL.js +1 -0
- package/dist/{SelectTrigger-DVyYReqU.js → SelectTrigger-C9n8eouy.js} +1 -1
- package/dist/Separator-BSyXERz8.js +1 -0
- package/dist/SidebarContext-BrWlRT9q.js +1 -0
- package/dist/Skeleton-CgHXlohl.js +1 -0
- package/dist/Spinner-BQc1G4Yv.js +1 -0
- package/dist/Switch-70E7UHO1.js +1 -0
- package/dist/Table-C2fFg24Y.js +1 -0
- package/dist/TableAction-DBo85GsZ.js +1 -0
- package/dist/TableBody-_8Ha8phR.js +1 -0
- package/dist/TableCell-CMztPRXG.js +1 -0
- package/dist/TableHeader-CtJm37nf.js +1 -0
- package/dist/TableHeaderCell-Bmnvi-je.js +1 -0
- package/dist/TableRow-Db0gh8y8.js +1 -0
- package/dist/TableRow.css.ts.vanilla-DARD99Vi-SimvQ1pW.js +1 -0
- package/dist/Text-COBVeaL2.js +1 -0
- package/dist/{ThemeProvider-8tbLkkha.js → ThemeProvider-Be8gF_DC.js} +1 -1
- package/dist/Toast-3nvP4JEy.js +1 -0
- package/dist/{ToastAction-C5OF6fiI.js → ToastAction-DPeaazfa.js} +1 -1
- package/dist/ToastProvider-DP89byW9.js +1 -0
- package/dist/{ToastTitle-D9pgLj1l.js → ToastTitle-IcA_mEB-.js} +1 -1
- package/dist/ToggleInputLabel-CDeOK_ik.js +1 -0
- package/dist/{Tooltip-DZBgatGv.js → Tooltip-BOqMECAY.js} +1 -1
- package/dist/TooltipContent-By_l7Jjy.js +1 -0
- package/dist/TooltipContext-B5NjIvm_.js +1 -0
- package/dist/TooltipProvider-BWjrkkg4.js +1 -0
- package/dist/{TooltipRoot-yQwplJ6-.js → TooltipRoot-BG-CR8R7.js} +1 -1
- package/dist/TooltipTrigger-Bj93QX3w.js +1 -0
- package/dist/Transition-CDfCkbsV.js +1 -0
- package/dist/TransitionGroup-Ba-AKXjR.js +1 -0
- package/dist/TransitionGroupContext-52t22nkU.js +1 -0
- package/dist/VisuallyHidden-N_pIAhKO.js +1 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.js +1 -1
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.js +1 -1
- package/dist/components/Cover.js +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DataTableAction.js +1 -1
- package/dist/components/DataTableBody.js +2 -2
- package/dist/components/DataTableCheckbox.js +1 -1
- package/dist/components/DataTableFooter.js +1 -1
- package/dist/components/DataTableLabel.js +1 -1
- package/dist/components/DateInput.js +1 -1
- package/dist/components/DateRangePicker.js +1 -1
- package/dist/components/DateRangePickerContent.js +1 -1
- package/dist/components/DateRangePickerTrigger.js +1 -1
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.js +1 -1
- package/dist/components/LabelMenuButton.js +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxFooter.js +1 -1
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxItemized.js +1 -1
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/ModalProvider.js +1 -1
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavGroup.js +1 -1
- package/dist/components/NavGroupContent.js +1 -1
- package/dist/components/NavGroupTrigger.js +1 -1
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.js +1 -1
- package/dist/components/NavSeparator.js +1 -1
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.js +2 -2
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/SelectContent.js +1 -1
- package/dist/components/SelectTrigger.js +1 -1
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/SubNav.js +1 -1
- package/dist/components/Switch.js +1 -1
- package/dist/components/Table.js +1 -1
- package/dist/components/TableAction.js +1 -1
- package/dist/components/TableBody.js +1 -1
- package/dist/components/TableCell.js +1 -1
- package/dist/components/TableHeader.js +1 -1
- package/dist/components/TableHeaderCell.js +1 -1
- package/dist/components/TableRow.js +1 -1
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/Toast.js +1 -1
- package/dist/components/ToastAction.js +1 -1
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToastTitle.js +1 -1
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/{decorateChildren-Wo2QHGyX.js → decorateChildren-Bl40SMJ_.js} +1 -1
- package/dist/fallbackSpan-BpDiWffj.js +1 -0
- package/dist/{index-B8nUgWSA.js → index-2lpmofc2.js} +1 -1
- package/dist/{index-CeZ-E0J6.js → index-B6tsnEGI.js} +1 -1
- package/dist/{index-C-uof-or.js → index-B8JDggRZ.js} +1 -1
- package/dist/{index-DzJujqHU.js → index-BFzCraLT.js} +1 -1
- package/dist/{index-Dg4CAUEz.js → index-BPS-g6a4.js} +1 -1
- package/dist/{index-D-ik7SQ4.js → index-BVFhJeZi.js} +1 -1
- package/dist/{index-DGMpG557.js → index-BW69zWdn.js} +1 -1
- package/dist/{index-DY28087M.js → index-Bcpck9_4.js} +1 -1
- package/dist/{index-BGu9F164.js → index-Bl8kxn1H.js} +1 -1
- package/dist/{index-BzNPaSf0.js → index-Bs_GPX1S.js} +1 -1
- package/dist/index-BzN5_TI9.js +1 -0
- package/dist/{index-DUEfGTVu.js → index-C0mqVpTA.js} +2 -2
- package/dist/{index-Byht8oHM.js → index-CC6UD74y.js} +1 -1
- package/dist/{index-Be0JddAi.js → index-COmoD8s9.js} +2 -2
- package/dist/{index-BNTXCd7v.js → index-CSHUVfiZ.js} +1 -1
- package/dist/{index-5qOxPQ0g.js → index-ClR1Fu1m.js} +1 -1
- package/dist/{index-D2Fz8J5t.js → index-CoS3Xxbd.js} +1 -1
- package/dist/{index-DcoajFVr.js → index-CxB09ekd.js} +1 -1
- package/dist/{index-DhvDJY2B.js → index-CyCwooxq.js} +1 -1
- package/dist/{index-iue7edDH.js → index-DFuSgnL5.js} +1 -1
- package/dist/{index-BkIpizx1.js → index-DJ-dCoey.js} +1 -1
- package/dist/{index-CpFzfqLn.js → index-DWcIJqsU.js} +1 -1
- package/dist/{index-D7As50g8.js → index-DWu33izx.js} +1 -1
- package/dist/{index-DLLpUzkz.js → index-FlpcMC05.js} +1 -1
- package/dist/{index-DaVqDj-C.js → index-RERP2Q_l.js} +1 -1
- package/dist/{index-BCfEPCSg.js → index-eoMbSHne.js} +1 -1
- package/dist/layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js +1 -0
- package/dist/{register-QHwvBXG6.js → register-CCbCrj5_.js} +2 -2
- package/dist/{useEffectEvent-DvZ9YC9r.js → useEffectEvent-DmHtBr_k.js} +1 -1
- package/dist/{useFieldLabelTrigger-BdhOdSq0.js → useFieldLabelTrigger-Bqo5ky9Y.js} +1 -1
- package/dist/useNestedDialogCount-BvSS4GPT.js +1 -0
- package/dist/{useObserveValue-DX6s_uDT.js → useObserveValue-CSMtxQtA.js} +1 -1
- package/dist/{withIcon-CaeTxHpk.js → withIcon-dyLmXyYc.js} +1 -1
- package/package.json +2 -2
- package/dist/ActionsRoot-ljdC_Ctw.js +0 -1
- package/dist/AlertDialogContext-CICDC-mI.js +0 -1
- package/dist/AngleMenuButton-DXZqresn.js +0 -1
- package/dist/Avatar-DdlxFA3E.js +0 -1
- package/dist/AvatarContext-C6QBj6qY.js +0 -1
- package/dist/AvatarGroup-BaWLpLcL.js +0 -1
- package/dist/AvatarGroup.css.ts.vanilla-BopGCQ-R-qVq2Ryul.js +0 -1
- package/dist/Backdrop-CvLldLlD.js +0 -1
- package/dist/Badge-Cofh6ggG.js +0 -1
- package/dist/Box-BT3I2_R3.js +0 -1
- package/dist/ButtonContext-BIwIwOl3.js +0 -1
- package/dist/ButtonGroup-BBQIneB3.js +0 -1
- package/dist/ButtonRoot-DBO7X1a2.js +0 -1
- package/dist/Calendar-Ch3s4WpV.js +0 -1
- package/dist/Checkbox-3N2Gz0iz.js +0 -1
- package/dist/Cover-DJaCBIVy.js +0 -1
- package/dist/DataTableContext-BrSy3vUp.js +0 -1
- package/dist/DateRangePickerContext-D09lDe58.js +0 -1
- package/dist/DialogContext-vpQq53r3.js +0 -1
- package/dist/DisclosureContent-C8h4yXor.js +0 -1
- package/dist/DisclosureTrigger-Vb6rq30I.js +0 -1
- package/dist/DropdownMenuContext-DKA-sMSU.js +0 -1
- package/dist/DropdownMenuNestedContext-LfC7qzXw.js +0 -1
- package/dist/DropdownMenuSubContext-CRGZzC2s.js +0 -1
- package/dist/Icon-BzpKWnEP.js +0 -1
- package/dist/IconAngleDown-DuCw0iUE.js +0 -1
- package/dist/InputContext-CBkHn09U.js +0 -1
- package/dist/InputControl-B27DF2SL.js +0 -1
- package/dist/InputControl.css.ts.vanilla-nfmZzL1M-VeY1sw49.js +0 -1
- package/dist/InputRoot-CCclR2RZ.js +0 -1
- package/dist/ListboxCheckboxItem-v95yHDE1.js +0 -1
- package/dist/ListboxGroup-C6-hU6iV.js +0 -1
- package/dist/ListboxGroupContext-CdFgbxPj.js +0 -1
- package/dist/ListboxItem-DIGXmWMo.js +0 -1
- package/dist/ListboxItemIndicator-C4YIPNvl.js +0 -1
- package/dist/ListboxLabel-mV9-60An.js +0 -1
- package/dist/ListboxSeparator-BRvVzuOy.js +0 -1
- package/dist/ModalContext-DKOtQMpR.js +0 -1
- package/dist/ModalListbox-T3Q9PD2f.js +0 -1
- package/dist/Nav-CCy2NHI2.js +0 -1
- package/dist/NavAccountItem-DPpa2np_.js +0 -1
- package/dist/NavFooter-DVXxs4GI.js +0 -1
- package/dist/NavHeader-Bgo7e5U0.js +0 -1
- package/dist/NavItem-CtCEVySB.js +0 -1
- package/dist/NavSeparator-m20HUiz2.js +0 -1
- package/dist/Pagination-VzYrfQ-g.js +0 -1
- package/dist/PopoverContent-BGRBHTjY.js +0 -1
- package/dist/PopoverContext-CvRphwvc.js +0 -1
- package/dist/Portal-B2KGVZjq.js +0 -1
- package/dist/PortalContext-DdEFUgvE.js +0 -1
- package/dist/RadioGroupContext-Cd1VsIia.js +0 -1
- package/dist/SelectContent-DfswRzHO.js +0 -1
- package/dist/SelectContext-DlAmnBIx.js +0 -1
- package/dist/Separator-iA9GdXIz.js +0 -1
- package/dist/SidebarContext-EUg-AWzS.js +0 -1
- package/dist/Skeleton-CDfLiKVi.js +0 -1
- package/dist/Spinner-lXiUzE-O.js +0 -1
- package/dist/Switch-CTTdzEbK.js +0 -1
- package/dist/Table-DlL38Ibg.js +0 -1
- package/dist/TableAction-nPCz7X4a.js +0 -1
- package/dist/TableBody-DfkNjC6M.js +0 -1
- package/dist/TableCell-hffSuVid.js +0 -1
- package/dist/TableHeader-DvazwlUS.js +0 -1
- package/dist/TableHeaderCell-aTH-SK9j.js +0 -1
- package/dist/TableRow-5fCu0VMD.js +0 -1
- package/dist/TableRow.css.ts.vanilla-NYW4Uw9y-BjGHvCPB.js +0 -1
- package/dist/Text-UNO2myyz.js +0 -1
- package/dist/Toast-Gs6iNWm3.js +0 -1
- package/dist/ToastProvider-CSDW8mxg.js +0 -1
- package/dist/ToggleInputLabel-dnYJVnXo.js +0 -1
- package/dist/TooltipContent-BB7jzOlS.js +0 -1
- package/dist/TooltipContext-L99nVe1C.js +0 -1
- package/dist/TooltipProvider--hufyf8B.js +0 -1
- package/dist/TooltipTrigger-BlvF9WaA.js +0 -1
- package/dist/Transition-CAYaXQKf.js +0 -1
- package/dist/TransitionGroup-aI-XcmcB.js +0 -1
- package/dist/TransitionGroupContext-gvDK7otw.js +0 -1
- package/dist/VisuallyHidden-DCOJrfwH.js +0 -1
- package/dist/fallbackSpan-AZk8rcpx.js +0 -1
- package/dist/index-D7dJLWqE.js +0 -1
- package/dist/layers.css.ts.vanilla-Dclj4WBX-umxQe0m0.js +0 -1
- package/dist/useNestedDialogCount-BnIMYmNW.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as d,u as s,r as n,c as g}from"../register-
|
|
1
|
+
import{D as d,u as s,r as n,c as g}from"../register-CCbCrj5_.js";import{aT as c}from"../propTypes-Bfuy5rXZ.js";import"../Nav-BhZgFdXE.js";import"../NavAccountItem-BgH4Yw5v.js";import"../NavBody-DCp2AeXT.js";import"../NavFooter-DYBJfoYW.js";import"../NavGroup-yzO6C0Zg.js";import"../NavGroupContent-BKoYYSC2.js";import"../NavGroupTrigger-DW8Y8Fpq.js";import"../NavHeader-ewcPuYSj.js";import{s as b}from"../NavItem-CEElA5Np.js";import"../NavList-Djewwj-e.js";import"../NavSeparator-DQzkx0ZS.js";import{r as x}from"../SidebarContext-BrWlRT9q.js";import"../Flex-CKxmQLA9.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Avatar-WyRgRjj2.js";import"../index-BFzCraLT.js";import"../index-DWcIJqsU.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-CC6UD74y.js";import"../withIcon-dyLmXyYc.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../AvatarContext-DUBbU1AY.js";import"../AvatarGroup-CXJWOJ8L.js";import"../IconEllipsis-BAlJjg1d.js";import"../Text-COBVeaL2.js";import"../index-Bl8kxn1H.js";import"../Disclosure-CP8UAq1e.js";import"../DisclosureContext-ClVQznRI.js";import"../index-CBrz5xtv.js";import"../index-CxB09ekd.js";import"../index-DWu33izx.js";import"../DisclosureContent-tf2CTqFF.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../DisclosureTrigger-DZVJ3Jur.js";import"../Cover-BxCWMk9U.js";import"../IconAngleRight-B2lDfHc4.js";import"../NavGroupContext-CwPA-dvW.js";import"../Icon-CYyupOkK.js";import"../Tooltip-BOqMECAY.js";import"../TooltipContent-By_l7Jjy.js";import"../index-DJ-dCoey.js";import"../index-DFuSgnL5.js";import"../index-RERP2Q_l.js";import"../index-BPS-g6a4.js";import"../Portal-BL6rdrGB.js";import"../index-CSHUVfiZ.js";import"../PortalContext-CdQ5KlCF.js";import"../TooltipContext-B5NjIvm_.js";import"../theme-css-DX4sf6ZH.js";import"../TooltipRoot-BG-CR8R7.js";import"../TooltipTrigger-Bj93QX3w.js";import"../Button-vC44q_eL.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../Spinner-BQc1G4Yv.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../FilteredSlot-CJcITmdU.js";import"../TooltipProvider-BWjrkkg4.js";import"../Separator-BSyXERz8.js";import"../FieldContext-D6PdU-Gy.js";const o=d(({"aria-label":t,children:p,...m},a)=>{const{expanded:r,navId:e,onExpandedChange:l}=x("@optiaxiom/react/SidebarToggle");return s(b,{"aria-controls":e,"aria-expanded":r?"true":"false","aria-label":t||(r?"Collapse":"Expand"),onClick:()=>l(!r),ref:a,...m,children:p??"Collapse"})});o.displayName="@optiaxiom/react/SidebarToggle";const i="ax-sidebar-toggle";var f=n(i,o,c,g);export{i as SidebarToggle,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CCbCrj5_.js";import{aU as e}from"../propTypes-Bfuy5rXZ.js";import{e as m}from"../Skeleton-CgHXlohl.js";import"../index-ClR1Fu1m.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const o="ax-skeleton";var p=r(o,m,e,t);export{o as Skeleton,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as p}from"../register-
|
|
1
|
+
import{r as o,c as p}from"../register-CCbCrj5_.js";import{aV as i}from"../propTypes-Bfuy5rXZ.js";import{o as t}from"../Spinner-BQc1G4Yv.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Flex-CKxmQLA9.js";const r="ax-spinner";var m=o(r,t,i,p);export{r as Spinner,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as n,D as d,u as r,r as l,c as m}from"../register-CCbCrj5_.js";import{aW as s}from"../propTypes-Bfuy5rXZ.js";import{t as a}from"../Flex-CKxmQLA9.js";import{t as c}from"../SidebarContext-BrWlRT9q.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import{y as f}from"../recipeRuntime-DkvY0ny0.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../index-BFzCraLT.js";n("@layer optiaxiom._1hnxwzp;@layer optiaxiom._1hnxwzp{._1kgf1v4{width:248px}}");var b=f({base:[{bg:"bg.default",flex:"1",gap:"0",overflow:"hidden",py:"16"},"_1kgf1v4"]});const o=d(({children:i,...t},p)=>r(a,{borderColor:"border.tertiary",borderR:"1",h:"full",ref:p,w:"fit",...t,children:r(a,{asChild:!0,...b(),children:r("nav",{"aria-label":"Secondary",children:r(c,{expanded:!0,navId:"",onExpandedChange:()=>{},spacing:"12",children:i})})})}));o.displayName="@optiaxiom/react/SubNav";const e="ax-sub-nav";var h=l(e,o,s,m);export{e as SubNav,h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o}from"../register-
|
|
1
|
+
import{r as t,c as o}from"../register-CCbCrj5_.js";import{aX as i}from"../propTypes-Bfuy5rXZ.js";import{e as m}from"../Switch-70E7UHO1.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../ToggleInputLabel-CDeOK_ik.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../Flex-CKxmQLA9.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../VisuallyHidden-N_pIAhKO.js";import"../index-BPS-g6a4.js";import"../index-B8JDggRZ.js";import"../FilteredSlot-CJcITmdU.js";import"../index-BFzCraLT.js";const r="ax-switch";var p=t(r,m,i,o);export{r as Switch,p as default};
|
package/dist/components/Table.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CCbCrj5_.js";import{aY as a}from"../propTypes-Bfuy5rXZ.js";import{t as m}from"../Table-C2fFg24Y.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-table";var p=o(r,m,a,t);export{r as Table,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{aZ as i}from"../propTypes-Bfuy5rXZ.js";import{o as a}from"../TableAction-DBo85GsZ.js";import"../ActionsRoot-dUQyKesg.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";const o="ax-table-action";var m=t(o,a,i,r);export{o as TableAction,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CCbCrj5_.js";import{a_ as a}from"../propTypes-Bfuy5rXZ.js";import{r as m}from"../TableBody-_8Ha8phR.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const o="ax-table-body";var p=r(o,m,a,t);export{o as TableBody,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CCbCrj5_.js";import{a$ as e}from"../propTypes-Bfuy5rXZ.js";import{o as l}from"../TableCell-CMztPRXG.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../TableRow.css.ts.vanilla-DARD99Vi-SimvQ1pW.js";const o="ax-table-cell";var a=r(o,l,e,t);export{o as TableCell,a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as a}from"../register-
|
|
1
|
+
import{r as e,c as a}from"../register-CCbCrj5_.js";import{b0 as o}from"../propTypes-Bfuy5rXZ.js";import{e as t}from"../TableHeader-CtJm37nf.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const r="ax-table-header";var m=e(r,t,o,a);export{r as TableHeader,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as a}from"../register-
|
|
1
|
+
import{r,c as a}from"../register-CCbCrj5_.js";import{b1 as o}from"../propTypes-Bfuy5rXZ.js";import{t}from"../TableHeaderCell-Bmnvi-je.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const e="ax-table-header-cell";var l=r(e,t,o,a);export{e as TableHeaderCell,l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CCbCrj5_.js";import{b2 as m}from"../propTypes-Bfuy5rXZ.js";import{r as p}from"../TableRow-Db0gh8y8.js";import"../ActionsRoot-dUQyKesg.js";import"../Box-sR8sK0mu.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../TableRow.css.ts.vanilla-DARD99Vi-SimvQ1pW.js";const o="ax-table-row";var a=r(o,p,m,t);export{o as TableRow,a as default};
|
package/dist/components/Tabs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as n,D as
|
|
1
|
+
import{i as n,D as l,u as o,r as c,c as x}from"../register-CCbCrj5_.js";import{b3 as f}from"../propTypes-Bfuy5rXZ.js";import{R as d}from"../index-CyCwooxq.js";import{i as b,o as h}from"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import{y as w}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-BFzCraLT.js";import"../index-eoMbSHne.js";import"../index-BW69zWdn.js";import"../index-ClR1Fu1m.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CxB09ekd.js";import"../index-DWu33izx.js";n("@layer optiaxiom._1hnxwzp;@layer optiaxiom._1hnxwzp{._1nfxwmp[data-orientation=horizontal]{flex-direction:column}._1nfxwmp[data-orientation=vertical]{flex-direction:row}}");var y=w({base:[{display:"flex"},"_1nfxwmp"]});const r=l(({children:i,className:a,...p},m)=>{const{boxProps:e,restProps:s}=b(p);return o(h,{asChild:!0,...y({},a),...e,children:o(d,{ref:m,...s,children:i})})});r.displayName="@optiaxiom/react/Tabs";const t="ax-tabs";var u=c(t,r,f,x);export{t as Tabs,u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,u as t,r as n,c as s}from"../register-
|
|
1
|
+
import{D as e,u as t,r as n,c as s}from"../register-CCbCrj5_.js";import{b4 as c}from"../propTypes-Bfuy5rXZ.js";import{T as l}from"../index-CyCwooxq.js";import{o as b}from"../Box-sR8sK0mu.js";import"../index-CBrz5xtv.js";import"../index-BFzCraLT.js";import"../index-eoMbSHne.js";import"../index-BW69zWdn.js";import"../index-ClR1Fu1m.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CxB09ekd.js";import"../index-DWu33izx.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const o=e(({children:i,value:m,...p},a)=>t(b,{asChild:!0,flex:"1",ref:a,...p,children:t(l,{value:m,children:i})}));o.displayName="@optiaxiom/react/TabsContent";const r="ax-tabs-content";var f=n(r,o,c,s);export{r as TabsContent,f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as m,D as s,u as
|
|
1
|
+
import{i as m,D as s,u as r,r as l,c as n}from"../register-CCbCrj5_.js";import{b5 as d}from"../propTypes-Bfuy5rXZ.js";import{L as c}from"../index-CyCwooxq.js";import{o as x}from"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import{y as b}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-BFzCraLT.js";import"../index-eoMbSHne.js";import"../index-BW69zWdn.js";import"../index-ClR1Fu1m.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CxB09ekd.js";import"../index-DWu33izx.js";m("@layer optiaxiom._1hnxwzp;@layer optiaxiom._1hnxwzp{._314ky9[data-orientation=horizontal]{align-items:center;border-bottom-width:1px;flex-direction:row;gap:24px}._314ky9[data-orientation=vertical]{border-right-width:1px;flex-direction:column;gap:8px}}");var f=b({base:[{borderColor:"border.tertiary",display:"flex"},"_314ky9"]});const t=s(({children:o,className:a,...e},p)=>r(x,{asChild:!0,...f({},a),...e,children:r(c,{ref:p,children:o})}));t.displayName="@optiaxiom/react/TabsList";const i="ax-tabs-list";var h=l(i,t,d,n);export{i as TabsList,h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as f,D as x,u as o,r as g,c as b}from"../register-CCbCrj5_.js";import{b6 as v}from"../propTypes-Bfuy5rXZ.js";import{a as h}from"../index-CyCwooxq.js";import{i as u,o as w}from"../Box-sR8sK0mu.js";import{t as y}from"../Flex-CKxmQLA9.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import{y as r}from"../recipeRuntime-DkvY0ny0.js";import"../index-CBrz5xtv.js";import"../index-BFzCraLT.js";import"../index-eoMbSHne.js";import"../index-BW69zWdn.js";import"../index-ClR1Fu1m.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CxB09ekd.js";import"../index-DWu33izx.js";f("@layer optiaxiom._1hnxwzp;@layer optiaxiom._1hnxwzp{.w7sk02{border-color:transparent;color:var(--ax-colors-fg-tertiary);user-select:none}.w7sk02:focus-visible{outline:2px solid var(--ax-colors-border-focus);outline-offset:1px}.w7sk02[data-disabled]{color:var(--ax-colors-fg-disabled)}.w7sk02[data-orientation=horizontal]{border-bottom-width:2px;margin-bottom:-1px}.w7sk02[data-orientation=vertical]{border-right-width:2px;margin-right:-1px;padding-inline:10px}.w7sk02[data-state=active]{border-color:var(--ax-colors-border-accent);color:var(--ax-colors-fg-default)}.jjponh:active ._1yzdo5f{background-color:var(--ax-colors-bg-secondary)}@media (hover:hover){.w7sk02:hover:not([data-state=active]){border-color:var(--ax-colors-border-default);color:var(--ax-colors-fg-secondary)}}}");var k=r({base:[{flexDirection:"row",gap:"8",justifyContent:["center","flex-start"],py:"6",rounded:"sm",transition:"colors"},"_1yzdo5f"]}),T=r({base:["jjponh",{flex:["1","initial"],fontSize:"md",fontWeight:"500",py:"4",transition:"colors"},"w7sk02"]});const t=x(({addonAfter:e,addonBefore:i,children:s,className:n,value:l,...c},d)=>{const{boxProps:p,restProps:m}=u(c);return o(w,{asChild:!0,...T({},n),...p,children:o(h,{ref:d,value:l,...m,children:o(y,{...k(),children:[i,s,e]})})})});t.displayName="@optiaxiom/react/TabsTrigger";const a="ax-tabs-trigger";var j=g(a,t,v,b);export{a as TabsTrigger,j as default};
|
package/dist/components/Text.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as r}from"../register-
|
|
1
|
+
import{r as o,c as r}from"../register-CCbCrj5_.js";import{b7 as m}from"../propTypes-Bfuy5rXZ.js";import{o as p}from"../Text-COBVeaL2.js";import"../index-ClR1Fu1m.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const t="ax-text";var e=o(t,p,m,r);export{t as Text,e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as
|
|
1
|
+
import{i as P,D as _,u as e,r as T,c as $}from"../register-CCbCrj5_.js";import{b8 as k}from"../propTypes-Bfuy5rXZ.js";import{a as f}from"../index-ClR1Fu1m.js";import{i as v,o as h}from"../Box-sR8sK0mu.js";import"../Input-D7vtLlOI.js";import{t as y}from"../InputAddon-hcRosOK6.js";import{m as j}from"../InputControl-CR9YGI3Q.js";import{e as N}from"../InputRoot-CwNVPIYi.js";import"../isHoverSupported-CireFq72.js";import{m as z}from"../fallbackSpan-BpDiWffj.js";import{u as A}from"../index-CxB09ekd.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import{y as x}from"../recipeRuntime-DkvY0ny0.js";import"../InputContext-Bnso09l6.js";import"../index-BFzCraLT.js";import"../FieldContext-D6PdU-Gy.js";import"../InputControl.css.ts.vanilla-u-VlisWS-A47ZxP28.js";import"../Flex-CKxmQLA9.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../index-VQRIDrjF.js";import"../index-BzN5_TI9.js";P("@layer optiaxiom._1hnxwzp;@layer optiaxiom._1hnxwzp{._1rirliu{max-height:calc(16px + var(--_1y1mhm5)*22px)}.gvs7dk{--_1y1mhm5:1}.nz9gpj{--_1y1mhm5:2}._1yx8vme{--_1y1mhm5:3}._1ie10qa{--_1y1mhm5:4}.i8dv0u{--_1y1mhm5:5}._7k4owz{resize:vertical}._1mli3a6{grid-area:1/1/2/2}._16abjam{visibility:hidden;white-space:pre-wrap}.ckbsae{resize:none}}");var R=x({base:["_1mli3a6","_16abjam"]}),S=x({base:["_1mli3a6","ckbsae"]}),q=x({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_1rirliu","gvs7dk"],2:["_1rirliu","nz9gpj"],3:["_1rirliu","_1yx8vme"],4:["_1rirliu","_1ie10qa"],5:["_1rirliu","i8dv0u"]},resize:{auto:{},none:{},vertical:"_7k4owz"}}});const D=f("@optiaxiom/react/TextareaAutosize"),b=_(({asChild:a,children:i,className:o,maxRows:l,onChange:p,resize:t="none",...r},m)=>{const n=a?D:"textarea",{boxProps:s,restProps:d}=v(r),[c,C]=A({caller:"@optiaxiom/react/TextareaAutosize",defaultProp:r.defaultValue,prop:r.value});return e(h,{...q({maxRows:l,resize:t}),children:[e(h,{asChild:!0,...S({},o),...s,children:e(n,{onChange:u=>{C(u.target.value),p?.(u)},ref:m,...d,children:i})}),t==="auto"&&e(h,{...R({},o),...s,children:(c??"")+" "})]})});b.displayName="@optiaxiom/react/TextareaAutosize";const E=f("@optiaxiom/react/Textarea"),g=_(({addonAfter:a,addonBefore:i,addonPointerEvents:o,asChild:l,children:p,className:t,style:r,...m},n)=>{const s=l?E:"textarea",{boxProps:d,restProps:c}=v(m);return e(N,{addonPointerEvents:o,className:t,flexDirection:"column",style:r,...d,children:[i&&e(y,{asChild:!0,children:z(i)}),e(j,{asChild:!0,p:"8",size:"lg",...c,children:e(b,{asChild:!0,children:e(s,{ref:n,rows:m.rows??3,children:p})})}),a&&e(y,{asChild:!0,children:z(a)})]})});g.displayName="@optiaxiom/react/Textarea";const w="ax-textarea";var B=T(w,g,k,$);export{w as Textarea,B as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as e}from"../register-
|
|
1
|
+
import{r as o,c as e}from"../register-CCbCrj5_.js";import{b9 as m}from"../propTypes-Bfuy5rXZ.js";import{l as t}from"../ThemeProvider-Be8gF_DC.js";import"../vanilla-extract-dynamic.esm-4GwcXShs.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../PortalContext-CdQ5KlCF.js";import"../index-BFzCraLT.js";import"../theme-css-DX4sf6ZH.js";import"../index-VQRIDrjF.js";const r="ax-theme-provider";var i=o(r,t,m,e);export{r as ThemeProvider,i as default};
|
package/dist/components/Toast.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{ba as m}from"../propTypes-Bfuy5rXZ.js";import{m as p}from"../Toast-3nvP4JEy.js";import"../index-ClR1Fu1m.js";import"../index-2lpmofc2.js";import"../index-CBrz5xtv.js";import"../index-BW69zWdn.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CSHUVfiZ.js";import"../index-DWu33izx.js";import"../index-BzN5_TI9.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../vanilla-extract-dynamic.esm-4GwcXShs.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Button-vC44q_eL.js";import"../Icon-CYyupOkK.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Flex-CKxmQLA9.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../IconCircleInfoSolid-CCkkMrKU.js";import"../withIcon-dyLmXyYc.js";import"../IconTriangleExclamationSolid-DDLt0yx8.js";import"../IconX-CCh6ahMV.js";const o="ax-toast";var i=t(o,p,m,r);export{o as Toast,i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{bb as i}from"../propTypes-Bfuy5rXZ.js";import{t as m}from"../ToastAction-DPeaazfa.js";import"../index-2lpmofc2.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BW69zWdn.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CSHUVfiZ.js";import"../index-DWu33izx.js";import"../index-BzN5_TI9.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../Button-vC44q_eL.js";import"../Icon-CYyupOkK.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Flex-CKxmQLA9.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../Separator-BSyXERz8.js";import"../FieldContext-D6PdU-Gy.js";const o="ax-toast-action";var p=t(o,m,i,r);export{o as ToastAction,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CCbCrj5_.js";import{bc as i}from"../propTypes-Bfuy5rXZ.js";import{p}from"../ToastProvider-DP89byW9.js";import"../index-ClR1Fu1m.js";import"../index-2lpmofc2.js";import"../index-CBrz5xtv.js";import"../index-BW69zWdn.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CSHUVfiZ.js";import"../index-DWu33izx.js";import"../index-BzN5_TI9.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../index-CC6UD74y.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Flex-CKxmQLA9.js";import"../Portal-BL6rdrGB.js";import"../PortalContext-CdQ5KlCF.js";import"../Toast-3nvP4JEy.js";import"../vanilla-extract-dynamic.esm-4GwcXShs.js";import"../Button-vC44q_eL.js";import"../Icon-CYyupOkK.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../IconCircleInfoSolid-CCkkMrKU.js";import"../withIcon-dyLmXyYc.js";import"../IconTriangleExclamationSolid-DDLt0yx8.js";import"../IconX-CCh6ahMV.js";import"../ToastAction-DPeaazfa.js";import"../Separator-BSyXERz8.js";import"../FieldContext-D6PdU-Gy.js";import"../ToastTitle-IcA_mEB-.js";import"../Text-COBVeaL2.js";const r="ax-toast-provider";var m=o(r,p,i,t);export{r as ToastProvider,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as r}from"../register-
|
|
1
|
+
import{r as o,c as r}from"../register-CCbCrj5_.js";import{bd as i}from"../propTypes-Bfuy5rXZ.js";import{o as m}from"../ToastTitle-IcA_mEB-.js";import"../index-2lpmofc2.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BW69zWdn.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-CSHUVfiZ.js";import"../index-DWu33izx.js";import"../index-BzN5_TI9.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../Text-COBVeaL2.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";const t="ax-toast-title";var p=o(t,m,i,r);export{t as ToastTitle,p as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,u as o,r as a,c as n}from"../register-
|
|
1
|
+
import{D as e,u as o,r as a,c as n}from"../register-CCbCrj5_.js";import{be as s}from"../propTypes-Bfuy5rXZ.js";import{R as g}from"../index-B6tsnEGI.js";import{h as l}from"../Button-vC44q_eL.js";import"../ButtonGroup-D-YcTQr0.js";import"../index-CBrz5xtv.js";import"../index-CxB09ekd.js";import"../index-BzN5_TI9.js";import"../index-B8JDggRZ.js";import"../index-ClR1Fu1m.js";import"../Icon-CYyupOkK.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Flex-CKxmQLA9.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../index-BFzCraLT.js";import"../TransitionGroup-Ba-AKXjR.js";import"../ButtonContext-BcfxD3vy.js";const t=e(({children:i,...m},p)=>o(l,{asChild:!0,...m,children:o(g,{ref:p,children:i})}));t.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var c=a(r,t,s,n);export{r as ToggleButton,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{bf as p}from"../propTypes-Bfuy5rXZ.js";import{i}from"../Tooltip-BOqMECAY.js";import"../TooltipContent-By_l7Jjy.js";import"../index-DJ-dCoey.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-RERP2Q_l.js";import"../index-DWu33izx.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Portal-BL6rdrGB.js";import"../index-CSHUVfiZ.js";import"../PortalContext-CdQ5KlCF.js";import"../Text-COBVeaL2.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../TooltipContext-B5NjIvm_.js";import"../theme-css-DX4sf6ZH.js";import"../TooltipRoot-BG-CR8R7.js";import"../TooltipTrigger-Bj93QX3w.js";import"../Button-vC44q_eL.js";import"../Icon-CYyupOkK.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Flex-CKxmQLA9.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../FilteredSlot-CJcITmdU.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{bg as p}from"../propTypes-Bfuy5rXZ.js";import{r as i}from"../TooltipContent-By_l7Jjy.js";import"../index-DJ-dCoey.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-RERP2Q_l.js";import"../index-DWu33izx.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../Portal-BL6rdrGB.js";import"../index-CSHUVfiZ.js";import"../PortalContext-CdQ5KlCF.js";import"../Text-COBVeaL2.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../TooltipContext-B5NjIvm_.js";import"../theme-css-DX4sf6ZH.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-CCbCrj5_.js";import{bh as i}from"../propTypes-Bfuy5rXZ.js";import{o as p}from"../TooltipProvider-BWjrkkg4.js";import"../index-DJ-dCoey.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-RERP2Q_l.js";import"../index-DWu33izx.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-CCbCrj5_.js";import{bi as p}from"../propTypes-Bfuy5rXZ.js";import{p as i}from"../TooltipRoot-BG-CR8R7.js";import"../index-DJ-dCoey.js";import"../index-CBrz5xtv.js";import"../index-ClR1Fu1m.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-RERP2Q_l.js";import"../index-DWu33izx.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../TooltipContext-B5NjIvm_.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CCbCrj5_.js";import{bj as i}from"../propTypes-Bfuy5rXZ.js";import{t as p}from"../TooltipTrigger-Bj93QX3w.js";import"../index-ClR1Fu1m.js";import"../index-DJ-dCoey.js";import"../index-CBrz5xtv.js";import"../index-BFzCraLT.js";import"../index-DFuSgnL5.js";import"../index-B8JDggRZ.js";import"../index-DWcIJqsU.js";import"../index-Bl8kxn1H.js";import"../index-BzN5_TI9.js";import"../index-RERP2Q_l.js";import"../index-DWu33izx.js";import"../index-CxB09ekd.js";import"../index-BPS-g6a4.js";import"../Button-vC44q_eL.js";import"../Icon-CYyupOkK.js";import"../Box-sR8sK0mu.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../isHoverSupported-CireFq72.js";import"../index-VQRIDrjF.js";import"../decorateChildren-Bl40SMJ_.js";import"../fallbackSpan-BpDiWffj.js";import"../ButtonRoot-CcSSB9m_.js";import"../AvatarGroup.css.ts.vanilla-1mT-GBsC-BIr5RgGt.js";import"../Spinner-BQc1G4Yv.js";import"../Flex-CKxmQLA9.js";import"../Transition-CDfCkbsV.js";import"../TransitionGroupContext-52t22nkU.js";import"../TransitionGroup-Ba-AKXjR.js";import"../ButtonContext-BcfxD3vy.js";import"../ButtonGroup-D-YcTQr0.js";import"../FilteredSlot-CJcITmdU.js";import"../TooltipContext-B5NjIvm_.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CCbCrj5_.js";import{bk as i}from"../propTypes-Bfuy5rXZ.js";import{f as m}from"../Transition-CDfCkbsV.js";import"../index-ClR1Fu1m.js";import"../layers.css.ts.vanilla-DMaqBdHD-VfswR7go.js";import"../recipeRuntime-DkvY0ny0.js";import"../TransitionGroupContext-52t22nkU.js";import"../index-BFzCraLT.js";const r="ax-transition";var s=o(r,m,i,t);export{r as Transition,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-CCbCrj5_.js";import{bl as i}from"../propTypes-Bfuy5rXZ.js";import{c as p}from"../TransitionGroup-Ba-AKXjR.js";import"../index-CxB09ekd.js";import"../index-BzN5_TI9.js";import"../TransitionGroupContext-52t22nkU.js";import"../index-BFzCraLT.js";const r="ax-transition-group";var s=o(r,p,i,t);export{r as TransitionGroup,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as n,e as r}from"./register-
|
|
1
|
+
import{m as n,e as r}from"./register-CCbCrj5_.js";const p=({asChild:t,children:s},i)=>{if(t){const e=n(s)?s:null;return e?r(e,void 0,p({...e.props,asChild:e.props.asChild||typeof e.type!="string"&&"displayName"in e.type&&typeof e.type.displayName=="string"&&e.type.displayName?.endsWith(".Slot")},i)):s}else return i(s)};export{p as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as n,m as o,k as p}from"./register-CCbCrj5_.js";const t=m=>o(m)&&m.type!==p?m:n("span",{children:m});export{t as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as S,A as R,y as F,q as $,u as c,d as V,T as Ce,$ as xe,k as re}from"./register-QHwvBXG6.js";import{c as g}from"./index-CBrz5xtv.js";import{u as se}from"./index-5qOxPQ0g.js";import{c as Re}from"./index-DGMpG557.js";import{a as be}from"./index-DzJujqHU.js";import{B as ge,R as Se}from"./index-iue7edDH.js";import{P as Ae}from"./index-BNTXCd7v.js";import{P as Ie}from"./index-D7As50g8.js";import{P as D,d as _e}from"./index-C-uof-or.js";import{u as Y}from"./index-CpFzfqLn.js";import{u as Fe}from"./index-DcoajFVr.js";import{u as De}from"./index-D7dJLWqE.js";import{V as ae}from"./index-Dg4CAUEz.js";var z="ToastProvider",[G,Ne,Le]=Re("Toast"),[ie,vt]=be("Toast",[Le]),[Oe,B]=ie(z),ce=t=>{const{__scopeToast:n,label:o="Notification",duration:e=5e3,swipeDirection:i="right",swipeThreshold:l=50,children:d}=t,[m,w]=V(null),[a,x]=V(0),E=R(!1),N=R(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${z}\`. Expected non-empty \`string\`.`),c(G.Provider,{scope:n,children:c(Oe,{scope:n,label:o,duration:e,swipeDirection:i,swipeThreshold:l,toastCount:a,viewport:m,onViewportChange:w,onToastAdd:$(()=>x(I=>I+1),[]),onToastRemove:$(()=>x(I=>I-1),[]),isFocusedToastEscapeKeyDownRef:E,isClosePausedRef:N,children:d})})};ce.displayName=z;var ue="ToastViewport",Me=["F8"],J="toast.viewportPause",Q="toast.viewportResume",le=S((t,n)=>{const{__scopeToast:o,hotkey:e=Me,label:i="Notifications ({hotkey})",...l}=t,d=B(ue,o),m=Ne(o),w=R(null),a=R(null),x=R(null),E=R(null),N=se(n,E,d.onViewportChange),I=e.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=d.toastCount>0;F(()=>{const s=y=>{e.length!==0&&e.every(f=>y[f]||y.code===f)&&E.current?.focus()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e]),F(()=>{const s=w.current,y=E.current;if(_&&s&&y){const p=()=>{if(!d.isClosePausedRef.current){const T=new CustomEvent(J);y.dispatchEvent(T),d.isClosePausedRef.current=!0}},f=()=>{if(d.isClosePausedRef.current){const T=new CustomEvent(Q);y.dispatchEvent(T),d.isClosePausedRef.current=!1}},h=T=>{!s.contains(T.relatedTarget)&&f()},P=()=>{s.contains((()=>{let b=document.activeElement;for(;b?.shadowRoot;)b=b.shadowRoot.activeElement;return b})())||f()};return s.addEventListener("focusin",p),s.addEventListener("focusout",h),s.addEventListener("pointermove",p),s.addEventListener("pointerleave",P),window.addEventListener("blur",p),window.addEventListener("focus",f),()=>{s.removeEventListener("focusin",p),s.removeEventListener("focusout",h),s.removeEventListener("pointermove",p),s.removeEventListener("pointerleave",P),window.removeEventListener("blur",p),window.removeEventListener("focus",f)}}},[_,d.isClosePausedRef]);const u=$(({tabbingDirection:s})=>{const p=m().map(f=>{const h=f.ref.current,P=[h,...Ge(h)];return s==="forwards"?P:P.reverse()});return(s==="forwards"?p.reverse():p).flat()},[m]);return F(()=>{const s=E.current;if(s){const y=p=>{const f=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!f){const P=(()=>{let C=document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;return C})(),T=p.shiftKey;if(p.target===s&&T){a.current?.focus();return}const L=u({tabbingDirection:T?"backwards":"forwards"}),H=L.findIndex(C=>C===P);te(L.slice(H+1))?p.preventDefault():T?a.current?.focus():x.current?.focus()}};return s.addEventListener("keydown",y),()=>s.removeEventListener("keydown",y)}},[m,u]),c(ge,{ref:w,role:"region","aria-label":i.replace("{hotkey}",I),tabIndex:-1,style:{pointerEvents:_?void 0:"none"},children:[_&&c(Z,{ref:a,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"forwards"});te(s)}}),c(G.Slot,{scope:o,children:c(D.ol,{tabIndex:-1,...l,ref:N})}),_&&c(Z,{ref:x,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"backwards"});te(s)}})]})});le.displayName=ue;var de="ToastFocusProxy",Z=S((t,n)=>{const{__scopeToast:o,onFocusFromOutsideViewport:e,...i}=t,l=B(de,o);return c(ae,{"aria-hidden":!0,tabIndex:0,...i,ref:n,style:{position:"fixed"},onFocus:d=>{const m=d.relatedTarget;!l.viewport?.contains(m)&&e()}})});Z.displayName=de;var k="Toast",Ve="toast.swipeStart",ke="toast.swipeMove",Ke="toast.swipeCancel",He="toast.swipeEnd",pe=S((t,n)=>{const{forceMount:o,open:e,defaultOpen:i,onOpenChange:l,...d}=t,[m,w]=Fe({prop:e,defaultProp:i??!0,onChange:l,caller:k});return c(Ie,{present:o||m,children:c(Xe,{open:m,...d,ref:n,onClose:()=>w(!1),onPause:Y(t.onPause),onResume:Y(t.onResume),onSwipeStart:g(t.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(t.onSwipeMove,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${E}px`)}),onSwipeCancel:g(t.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(t.onSwipeEnd,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${E}px`),w(!1)})})})});pe.displayName=k;var[We,Ue]=ie(k,{onClose(){}}),Xe=S((t,n)=>{const{__scopeToast:o,type:e="foreground",duration:i,open:l,onClose:d,onEscapeKeyDown:m,onPause:w,onResume:a,onSwipeStart:x,onSwipeMove:E,onSwipeCancel:N,onSwipeEnd:I,..._}=t,u=B(k,o),[s,y]=V(null),p=se(n,r=>y(r)),f=R(null),h=R(null),P=i||u.duration,T=R(0),b=R(P),K=R(0),{onToastAdd:L,onToastRemove:H}=u,C=Y(()=>{s?.contains((()=>{let v=document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;return v})())&&u.viewport?.focus(),d()}),W=$(r=>{!r||r===1/0||(window.clearTimeout(K.current),T.current=new Date().getTime(),K.current=window.setTimeout(C,r))},[C]);F(()=>{const r=u.viewport;if(r){const v=()=>{W(b.current),a?.()},A=()=>{const O=new Date().getTime()-T.current;b.current=b.current-O,window.clearTimeout(K.current),w?.()};return r.addEventListener(J,A),r.addEventListener(Q,v),()=>{r.removeEventListener(J,A),r.removeEventListener(Q,v)}}},[u.viewport,P,w,a,W]),F(()=>{l&&!u.isClosePausedRef.current&&W(P)},[l,P,u.isClosePausedRef,W]),F(()=>(L(),()=>H()),[L,H]);const oe=Ce(()=>s?Ee(s):null,[s]);return u.viewport?c(re,{children:[oe&&c($e,{__scopeToast:o,role:"status","aria-live":e==="foreground"?"assertive":"polite","aria-atomic":!0,children:oe}),c(We,{scope:o,onClose:C,children:xe(c(G.ItemSlot,{scope:o,children:c(Se,{asChild:!0,onEscapeKeyDown:g(m,()=>{u.isFocusedToastEscapeKeyDownRef.current||C(),u.isFocusedToastEscapeKeyDownRef.current=!1}),children:c(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":u.swipeDirection,..._,ref:p,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:g(t.onKeyDown,r=>{r.key==="Escape"&&(m?.(r.nativeEvent),r.nativeEvent.defaultPrevented||(u.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:g(t.onPointerDown,r=>{r.button===0&&(f.current={x:r.clientX,y:r.clientY})}),onPointerMove:g(t.onPointerMove,r=>{if(!f.current)return;const v=r.clientX-f.current.x,A=r.clientY-f.current.y,O=Boolean(h.current),M=["left","right"].includes(u.swipeDirection),U=["left","up"].includes(u.swipeDirection)?Math.min:Math.max,he=M?U(0,v):0,Pe=M?0:U(0,A),j=r.pointerType==="touch"?10:2,X={x:he,y:Pe},ne={originalEvent:r,delta:X};O?(h.current=X,q(ke,E,ne,{discrete:!1})):ye(X,u.swipeDirection,j)?(h.current=X,q(Ve,x,ne,{discrete:!1}),r.target.setPointerCapture(r.pointerId)):(Math.abs(v)>j||Math.abs(A)>j)&&(f.current=null)}),onPointerUp:g(t.onPointerUp,r=>{const v=h.current,A=r.target;if(A.hasPointerCapture(r.pointerId)&&A.releasePointerCapture(r.pointerId),h.current=null,f.current=null,v){const O=r.currentTarget,M={originalEvent:r,delta:v};ye(v,u.swipeDirection,u.swipeThreshold)?q(He,I,M,{discrete:!0}):q(Ke,N,M,{discrete:!0}),O.addEventListener("click",U=>U.preventDefault(),{once:!0})}})})})}),u.viewport)})]}):null}),$e=t=>{const{__scopeToast:n,children:o,...e}=t,i=B(k,n),[l,d]=V(!1),[m,w]=V(!1);return je(()=>d(!0)),F(()=>{const a=window.setTimeout(()=>w(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:c(Ae,{asChild:!0,children:c(ae,{...e,children:l&&c(re,{children:[i.label," ",o]})})})},Ye="ToastTitle",fe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});fe.displayName=Ye;var Be="ToastDescription",qe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});qe.displayName=Be;var me="ToastAction",ve=S((t,n)=>{const{altText:o,...e}=t;return o.trim()?c(Te,{altText:o,asChild:!0,children:c(ee,{...e,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${me}\`. Expected non-empty \`string\`.`),null)});ve.displayName=me;var we="ToastClose",ee=S((t,n)=>{const{__scopeToast:o,...e}=t,i=Ue(we,o);return c(Te,{asChild:!0,children:c(D.button,{type:"button",...e,ref:n,onClick:g(t.onClick,i.onClose)})})});ee.displayName=we;var Te=S((t,n)=>{const{__scopeToast:o,altText:e,...i}=t;return c(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":e||void 0,...i,ref:n})});function Ee(t){const n=[];return Array.from(t.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&n.push(e.textContent),ze(e)){const i=e.ariaHidden||e.hidden||e.style.display==="none",l=e.dataset.radixToastAnnounceExclude==="";if(!i)if(l){const d=e.dataset.radixToastAnnounceAlt;d&&n.push(d)}else n.push(...Ee(e))}}),n}function q(t,n,o,{discrete:e}){const i=o.originalEvent.currentTarget,l=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});n&&i.addEventListener(t,n,{once:!0}),e?_e(i,l):i.dispatchEvent(l)}var ye=(t,n,o=0)=>{const e=Math.abs(t.x),i=Math.abs(t.y),l=e>i;return n==="left"||n==="right"?l&&e>o:!l&&i>o};function je(t=()=>{}){const n=Y(t);De(()=>{let o=0,e=0;return o=window.requestAnimationFrame(()=>e=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(e)}},[n])}function ze(t){return t.nodeType===t.ELEMENT_NODE}function Ge(t){const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const i=e.tagName==="INPUT"&&e.type==="hidden";return e.disabled||e.hidden||i?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n}function te(t){const n=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();return t.some(o=>o===n?!0:(o.focus(),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==n))}var Je=le,Qe=pe,Ze=fe,et=ve,tt=ee;export{et as A,tt as C,Qe as R,ce as T,Je as V,Ze as a};
|
|
1
|
+
import{D as S,A as R,y as F,q as $,u as c,d as V,T as Ce,$ as xe,k as re}from"./register-CCbCrj5_.js";import{c as g}from"./index-CBrz5xtv.js";import{u as se}from"./index-ClR1Fu1m.js";import{c as Re}from"./index-BW69zWdn.js";import{a as be}from"./index-BFzCraLT.js";import{B as ge,R as Se}from"./index-DFuSgnL5.js";import{P as Ae}from"./index-CSHUVfiZ.js";import{P as Ie}from"./index-DWu33izx.js";import{P as D,d as _e}from"./index-B8JDggRZ.js";import{u as Y}from"./index-DWcIJqsU.js";import{u as Fe}from"./index-CxB09ekd.js";import{u as De}from"./index-BzN5_TI9.js";import{V as ae}from"./index-BPS-g6a4.js";var z="ToastProvider",[G,Ne,Le]=Re("Toast"),[ie,vt]=be("Toast",[Le]),[Oe,B]=ie(z),ce=t=>{const{__scopeToast:n,label:o="Notification",duration:e=5e3,swipeDirection:i="right",swipeThreshold:l=50,children:d}=t,[m,w]=V(null),[a,x]=V(0),E=R(!1),N=R(!1);return o.trim()||console.error(`Invalid prop \`label\` supplied to \`${z}\`. Expected non-empty \`string\`.`),c(G.Provider,{scope:n,children:c(Oe,{scope:n,label:o,duration:e,swipeDirection:i,swipeThreshold:l,toastCount:a,viewport:m,onViewportChange:w,onToastAdd:$(()=>x(I=>I+1),[]),onToastRemove:$(()=>x(I=>I-1),[]),isFocusedToastEscapeKeyDownRef:E,isClosePausedRef:N,children:d})})};ce.displayName=z;var ue="ToastViewport",Me=["F8"],J="toast.viewportPause",Q="toast.viewportResume",le=S((t,n)=>{const{__scopeToast:o,hotkey:e=Me,label:i="Notifications ({hotkey})",...l}=t,d=B(ue,o),m=Ne(o),w=R(null),a=R(null),x=R(null),E=R(null),N=se(n,E,d.onViewportChange),I=e.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=d.toastCount>0;F(()=>{const s=y=>{e.length!==0&&e.every(f=>y[f]||y.code===f)&&E.current?.focus()};return document.addEventListener("keydown",s),()=>document.removeEventListener("keydown",s)},[e]),F(()=>{const s=w.current,y=E.current;if(_&&s&&y){const p=()=>{if(!d.isClosePausedRef.current){const T=new CustomEvent(J);y.dispatchEvent(T),d.isClosePausedRef.current=!0}},f=()=>{if(d.isClosePausedRef.current){const T=new CustomEvent(Q);y.dispatchEvent(T),d.isClosePausedRef.current=!1}},h=T=>{!s.contains(T.relatedTarget)&&f()},P=()=>{s.contains((()=>{let b=document.activeElement;for(;b?.shadowRoot;)b=b.shadowRoot.activeElement;return b})())||f()};return s.addEventListener("focusin",p),s.addEventListener("focusout",h),s.addEventListener("pointermove",p),s.addEventListener("pointerleave",P),window.addEventListener("blur",p),window.addEventListener("focus",f),()=>{s.removeEventListener("focusin",p),s.removeEventListener("focusout",h),s.removeEventListener("pointermove",p),s.removeEventListener("pointerleave",P),window.removeEventListener("blur",p),window.removeEventListener("focus",f)}}},[_,d.isClosePausedRef]);const u=$(({tabbingDirection:s})=>{const p=m().map(f=>{const h=f.ref.current,P=[h,...Ge(h)];return s==="forwards"?P:P.reverse()});return(s==="forwards"?p.reverse():p).flat()},[m]);return F(()=>{const s=E.current;if(s){const y=p=>{const f=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!f){const P=(()=>{let C=document.activeElement;for(;C?.shadowRoot;)C=C.shadowRoot.activeElement;return C})(),T=p.shiftKey;if(p.target===s&&T){a.current?.focus();return}const L=u({tabbingDirection:T?"backwards":"forwards"}),H=L.findIndex(C=>C===P);te(L.slice(H+1))?p.preventDefault():T?a.current?.focus():x.current?.focus()}};return s.addEventListener("keydown",y),()=>s.removeEventListener("keydown",y)}},[m,u]),c(ge,{ref:w,role:"region","aria-label":i.replace("{hotkey}",I),tabIndex:-1,style:{pointerEvents:_?void 0:"none"},children:[_&&c(Z,{ref:a,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"forwards"});te(s)}}),c(G.Slot,{scope:o,children:c(D.ol,{tabIndex:-1,...l,ref:N})}),_&&c(Z,{ref:x,onFocusFromOutsideViewport:()=>{const s=u({tabbingDirection:"backwards"});te(s)}})]})});le.displayName=ue;var de="ToastFocusProxy",Z=S((t,n)=>{const{__scopeToast:o,onFocusFromOutsideViewport:e,...i}=t,l=B(de,o);return c(ae,{"aria-hidden":!0,tabIndex:0,...i,ref:n,style:{position:"fixed"},onFocus:d=>{const m=d.relatedTarget;!l.viewport?.contains(m)&&e()}})});Z.displayName=de;var k="Toast",Ve="toast.swipeStart",ke="toast.swipeMove",Ke="toast.swipeCancel",He="toast.swipeEnd",pe=S((t,n)=>{const{forceMount:o,open:e,defaultOpen:i,onOpenChange:l,...d}=t,[m,w]=Fe({prop:e,defaultProp:i??!0,onChange:l,caller:k});return c(Ie,{present:o||m,children:c(Xe,{open:m,...d,ref:n,onClose:()=>w(!1),onPause:Y(t.onPause),onResume:Y(t.onResume),onSwipeStart:g(t.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(t.onSwipeMove,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${E}px`)}),onSwipeCancel:g(t.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(t.onSwipeEnd,a=>{const{x,y:E}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${E}px`),w(!1)})})})});pe.displayName=k;var[We,Ue]=ie(k,{onClose(){}}),Xe=S((t,n)=>{const{__scopeToast:o,type:e="foreground",duration:i,open:l,onClose:d,onEscapeKeyDown:m,onPause:w,onResume:a,onSwipeStart:x,onSwipeMove:E,onSwipeCancel:N,onSwipeEnd:I,..._}=t,u=B(k,o),[s,y]=V(null),p=se(n,r=>y(r)),f=R(null),h=R(null),P=i||u.duration,T=R(0),b=R(P),K=R(0),{onToastAdd:L,onToastRemove:H}=u,C=Y(()=>{s?.contains((()=>{let v=document.activeElement;for(;v?.shadowRoot;)v=v.shadowRoot.activeElement;return v})())&&u.viewport?.focus(),d()}),W=$(r=>{!r||r===1/0||(window.clearTimeout(K.current),T.current=new Date().getTime(),K.current=window.setTimeout(C,r))},[C]);F(()=>{const r=u.viewport;if(r){const v=()=>{W(b.current),a?.()},A=()=>{const O=new Date().getTime()-T.current;b.current=b.current-O,window.clearTimeout(K.current),w?.()};return r.addEventListener(J,A),r.addEventListener(Q,v),()=>{r.removeEventListener(J,A),r.removeEventListener(Q,v)}}},[u.viewport,P,w,a,W]),F(()=>{l&&!u.isClosePausedRef.current&&W(P)},[l,P,u.isClosePausedRef,W]),F(()=>(L(),()=>H()),[L,H]);const oe=Ce(()=>s?Ee(s):null,[s]);return u.viewport?c(re,{children:[oe&&c($e,{__scopeToast:o,role:"status","aria-live":e==="foreground"?"assertive":"polite","aria-atomic":!0,children:oe}),c(We,{scope:o,onClose:C,children:xe(c(G.ItemSlot,{scope:o,children:c(Se,{asChild:!0,onEscapeKeyDown:g(m,()=>{u.isFocusedToastEscapeKeyDownRef.current||C(),u.isFocusedToastEscapeKeyDownRef.current=!1}),children:c(D.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":l?"open":"closed","data-swipe-direction":u.swipeDirection,..._,ref:p,style:{userSelect:"none",touchAction:"none",...t.style},onKeyDown:g(t.onKeyDown,r=>{r.key==="Escape"&&(m?.(r.nativeEvent),r.nativeEvent.defaultPrevented||(u.isFocusedToastEscapeKeyDownRef.current=!0,C()))}),onPointerDown:g(t.onPointerDown,r=>{r.button===0&&(f.current={x:r.clientX,y:r.clientY})}),onPointerMove:g(t.onPointerMove,r=>{if(!f.current)return;const v=r.clientX-f.current.x,A=r.clientY-f.current.y,O=Boolean(h.current),M=["left","right"].includes(u.swipeDirection),U=["left","up"].includes(u.swipeDirection)?Math.min:Math.max,he=M?U(0,v):0,Pe=M?0:U(0,A),j=r.pointerType==="touch"?10:2,X={x:he,y:Pe},ne={originalEvent:r,delta:X};O?(h.current=X,q(ke,E,ne,{discrete:!1})):ye(X,u.swipeDirection,j)?(h.current=X,q(Ve,x,ne,{discrete:!1}),r.target.setPointerCapture(r.pointerId)):(Math.abs(v)>j||Math.abs(A)>j)&&(f.current=null)}),onPointerUp:g(t.onPointerUp,r=>{const v=h.current,A=r.target;if(A.hasPointerCapture(r.pointerId)&&A.releasePointerCapture(r.pointerId),h.current=null,f.current=null,v){const O=r.currentTarget,M={originalEvent:r,delta:v};ye(v,u.swipeDirection,u.swipeThreshold)?q(He,I,M,{discrete:!0}):q(Ke,N,M,{discrete:!0}),O.addEventListener("click",U=>U.preventDefault(),{once:!0})}})})})}),u.viewport)})]}):null}),$e=t=>{const{__scopeToast:n,children:o,...e}=t,i=B(k,n),[l,d]=V(!1),[m,w]=V(!1);return je(()=>d(!0)),F(()=>{const a=window.setTimeout(()=>w(!0),1e3);return()=>window.clearTimeout(a)},[]),m?null:c(Ae,{asChild:!0,children:c(ae,{...e,children:l&&c(re,{children:[i.label," ",o]})})})},Ye="ToastTitle",fe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});fe.displayName=Ye;var Be="ToastDescription",qe=S((t,n)=>{const{__scopeToast:o,...e}=t;return c(D.div,{...e,ref:n})});qe.displayName=Be;var me="ToastAction",ve=S((t,n)=>{const{altText:o,...e}=t;return o.trim()?c(Te,{altText:o,asChild:!0,children:c(ee,{...e,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${me}\`. Expected non-empty \`string\`.`),null)});ve.displayName=me;var we="ToastClose",ee=S((t,n)=>{const{__scopeToast:o,...e}=t,i=Ue(we,o);return c(Te,{asChild:!0,children:c(D.button,{type:"button",...e,ref:n,onClick:g(t.onClick,i.onClose)})})});ee.displayName=we;var Te=S((t,n)=>{const{__scopeToast:o,altText:e,...i}=t;return c(D.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":e||void 0,...i,ref:n})});function Ee(t){const n=[];return Array.from(t.childNodes).forEach(e=>{if(e.nodeType===e.TEXT_NODE&&e.textContent&&n.push(e.textContent),ze(e)){const i=e.ariaHidden||e.hidden||e.style.display==="none",l=e.dataset.radixToastAnnounceExclude==="";if(!i)if(l){const d=e.dataset.radixToastAnnounceAlt;d&&n.push(d)}else n.push(...Ee(e))}}),n}function q(t,n,o,{discrete:e}){const i=o.originalEvent.currentTarget,l=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:o});n&&i.addEventListener(t,n,{once:!0}),e?_e(i,l):i.dispatchEvent(l)}var ye=(t,n,o=0)=>{const e=Math.abs(t.x),i=Math.abs(t.y),l=e>i;return n==="left"||n==="right"?l&&e>o:!l&&i>o};function je(t=()=>{}){const n=Y(t);De(()=>{let o=0,e=0;return o=window.requestAnimationFrame(()=>e=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(o),window.cancelAnimationFrame(e)}},[n])}function ze(t){return t.nodeType===t.ELEMENT_NODE}function Ge(t){const n=[],o=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const i=e.tagName==="INPUT"&&e.type==="hidden";return e.disabled||e.hidden||i?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;o.nextNode();)n.push(o.currentNode);return n}function te(t){const n=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();return t.some(o=>o===n?!0:(o.focus(),(()=>{let e=document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==n))}var Je=le,Qe=pe,Ze=fe,et=ve,tt=ee;export{et as A,tt as C,Qe as R,ce as T,Je as V,Ze as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as f,u as m}from"./register-
|
|
1
|
+
import{D as f,u as m}from"./register-CCbCrj5_.js";import{c as p}from"./index-CBrz5xtv.js";import{u}from"./index-CxB09ekd.js";import{P}from"./index-B8JDggRZ.js";var s="Toggle",a=f((e,r)=>{const{pressed:t,defaultPressed:d,onPressedChange:l,...i}=e,[o,n]=u({prop:t,onChange:l,defaultProp:d??!1,caller:s});return m(P.button,{type:"button","aria-pressed":o,"data-state":o?"on":"off","data-disabled":e.disabled?"":void 0,...i,ref:r,onClick:p(e.onClick,()=>{e.disabled||n(!o)})})});a.displayName=s;var b=a;export{b as R,a as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as p,u,E as c}from"./register-
|
|
1
|
+
import{D as p,u,E as c}from"./register-CCbCrj5_.js";import{a as l}from"./index-ClR1Fu1m.js";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],d=v.reduce((t,i)=>{const e=l(`Primitive.${i}`),r=p((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function f(t,i){t&&c(()=>t.dispatchEvent(i))}export{d as P,f as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as S,T as d,u as P,x as l}from"./register-
|
|
1
|
+
import{K as S,T as d,u as P,x as l}from"./register-CCbCrj5_.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=d(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const a=p=>{const{scope:v,children:f,...x}=p,m=v?.[t]?.[s]||n,$=d(()=>x,Object.values(x));return P(m.Provider,{value:$,children:f})};a.displayName=r+"Provider";function h(p,v){const f=v?.[t]?.[s]||n,x=l(f);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[a,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return d(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:a})=>{const p=s(r)[`__scope${a}`];return{...n,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as i,u as o}from"./register-
|
|
1
|
+
import{D as i,u as o}from"./register-CCbCrj5_.js";import{P as t}from"./index-B8JDggRZ.js";var d=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l="VisuallyHidden",r=i((e,a)=>o(t.span,{...e,ref:a,style:{...d,...e.style}}));r.displayName=l;var n=r;export{n as R,r as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as o,u as i}from"./register-
|
|
1
|
+
import{D as o,u as i}from"./register-CCbCrj5_.js";import{P as l}from"./index-B8JDggRZ.js";var s="Label",a=o((e,r)=>i(l.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName=s;var u=a;export{a as L,u as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{R as r,u as p}from"./register-
|
|
1
|
+
import{R as r,u as p}from"./register-CCbCrj5_.js";import{a as P}from"./index-BFzCraLT.js";import{u as y,a as E}from"./index-ClR1Fu1m.js";function g(i){const f=i+"CollectionProvider",[N,T]=P(f),[O,u]=N(f,{collectionRef:{current:null},itemMap:new Map}),C=c=>{const{scope:e,children:s}=c,o=r.useRef(null),t=r.useRef(new Map).current;return p(O,{scope:e,itemMap:t,collectionRef:o,children:s})};C.displayName=f;const m=i+"CollectionSlot",_=E(m),R=r.forwardRef((c,e)=>{const{scope:s,children:o}=c,t=u(m,s),n=y(e,t.collectionRef);return p(_,{ref:n,children:o})});R.displayName=m;const d=i+"CollectionItemSlot",S="data-radix-collection-item",v=E(d),I=r.forwardRef((c,e)=>{const{scope:s,children:o,...t}=c,n=r.useRef(null),M=y(e,n),l=u(d,s);return r.useLayoutEffect(()=>(l.itemMap.set(n,{ref:n,...t}),()=>void l.itemMap.delete(n))),p(v,{[S]:"",ref:M,children:o})});I.displayName=d;function h(c){const e=u(i+"CollectionConsumer",c);return r.useCallback(()=>{const o=e.collectionRef.current;if(!o)return[];const t=Array.from(((l,a)=>{const w=l.querySelectorAll("slot"),A=[...l.querySelectorAll(a)];for(const L of w)for(const x of L.assignedElements())A.push(...(x.shadowRoot??x).querySelectorAll(a));return A})(o,`[${S}]`));return Array.from(e.itemMap.values()).sort((l,a)=>t.indexOf(l.ref.current)-t.indexOf(a.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:C,Slot:R,ItemSlot:I},h,T]}export{g as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as i,y as _,u as c,A as P,d as G,q as R}from"./register-
|
|
1
|
+
import{D as i,y as _,u as c,A as P,d as G,q as R}from"./register-CCbCrj5_.js";import{c as g}from"./index-CBrz5xtv.js";import{u as x,a as H}from"./index-ClR1Fu1m.js";import{a as K}from"./index-BFzCraLT.js";import{D as q}from"./index-DFuSgnL5.js";import{o as U,u as V}from"./Combination-DMaTcBzD.js";import{h as W,F as Z}from"./index-Bs_GPX1S.js";import{u as $}from"./index-Bl8kxn1H.js";import{c as E,A as F,R as j,C as z,a as B}from"./index-RERP2Q_l.js";import{P as J}from"./index-DWu33izx.js";import{P as N}from"./index-B8JDggRZ.js";import{u as Q}from"./index-CxB09ekd.js";var A="Popover",[y,xo]=K(A,[E]),h=E(),[X,l]=y(A),D=o=>{const{__scopePopover:a,children:t,open:n,defaultOpen:e,onOpenChange:r,modal:s=!1}=o,p=h(a),v=P(null),[f,m]=G(!1),[C,u]=Q({prop:n,defaultProp:e??!1,onChange:r,caller:A});return c(j,{...p,children:c(X,{scope:a,contentId:$(),triggerRef:v,open:C,onOpenChange:u,onOpenToggle:R(()=>u(O=>!O),[u]),hasCustomAnchor:f,onCustomAnchorAdd:R(()=>m(!0),[]),onCustomAnchorRemove:R(()=>m(!1),[]),modal:s,children:t})})};D.displayName=A;var S="PopoverAnchor",b=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(S,t),r=h(t),{onCustomAnchorAdd:s,onCustomAnchorRemove:p}=e;return _(()=>(s(),()=>p()),[s,p]),c(F,{...r,...n,ref:a})});b.displayName=S;var w="PopoverTrigger",M=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(w,t),r=h(t),s=x(a,e.triggerRef),p=c(N.button,{type:"button","aria-haspopup":"dialog","aria-expanded":e.open,"aria-controls":e.contentId,"data-state":L(e.open),...n,ref:s,onClick:g(o.onClick,e.onOpenToggle)});return e.hasCustomAnchor?p:c(F,{asChild:!0,...r,children:p})});M.displayName=w;var Y="PopoverPortal",[Eo,oo]=y(Y,{forceMount:void 0}),d="PopoverContent",T=i((o,a)=>{const t=oo(d,o.__scopePopover),{forceMount:n=t.forceMount,...e}=o,r=l(d,o.__scopePopover);return c(J,{present:n||r.open,children:r.modal?c(ro,{...e,ref:a}):c(to,{...e,ref:a})})});T.displayName=d;var eo=H("PopoverContent.RemoveScroll"),ro=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(null),e=x(a,n),r=P(!1);return _(()=>{const s=n.current;if(s)return W(s)},[]),c(U,{as:eo,allowPinchZoom:!0,children:c(I,{...o,ref:e,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:g(o.onCloseAutoFocus,s=>{s.preventDefault(),r.current||t.triggerRef.current?.focus()}),onPointerDownOutside:g(o.onPointerDownOutside,s=>{const p=s.detail.originalEvent,v=p.button===0&&p.ctrlKey===!0,f=p.button===2||v;r.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:g(o.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})})}),to=i((o,a)=>{const t=l(d,o.__scopePopover),n=P(!1),e=P(!1);return c(I,{...o,ref:a,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{o.onCloseAutoFocus?.(r),r.defaultPrevented||(n.current||t.triggerRef.current?.focus(),r.preventDefault()),n.current=!1,e.current=!1},onInteractOutside:r=>{o.onInteractOutside?.(r),r.defaultPrevented||(n.current=!0,r.detail.originalEvent.type==="pointerdown"&&(e.current=!0));const s=r.target;t.triggerRef.current?.contains(s)&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&e.current&&r.preventDefault()}})}),I=i((o,a)=>{const{__scopePopover:t,trapFocus:n,onOpenAutoFocus:e,onCloseAutoFocus:r,disableOutsidePointerEvents:s,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onInteractOutside:m,...C}=o,u=l(d,t),O=h(t);return V(),c(Z,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:e,onUnmountAutoFocus:r,children:c(q,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:f,onDismiss:()=>u.onOpenChange(!1),children:c(z,{"data-state":L(u.open),role:"dialog",id:u.contentId,...O,...C,ref:a,style:{...C.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),k="PopoverClose",no=i((o,a)=>{const{__scopePopover:t,...n}=o,e=l(k,t);return c(N.button,{type:"button",...n,ref:a,onClick:g(o.onClick,()=>e.onOpenChange(!1))})});no.displayName=k;var ao="PopoverArrow",so=i((o,a)=>{const{__scopePopover:t,...n}=o,e=h(t);return c(B,{...e,...n,ref:a})});so.displayName=ao;function L(o){return o?"open":"closed"}var co=D,po=b,io=M,uo=T;export{po as A,uo as C,co as R,io as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as a,b as s}from"./register-
|
|
1
|
+
import{d as a,b as s}from"./register-CCbCrj5_.js";import{u as f}from"./index-BzN5_TI9.js";var e=s[" useId ".trim().toString()]||(()=>{}),n=0;function c(o){const[t,r]=a(e());return f(()=>{o||r(u=>u??String(n++))},[o]),o||(t?`radix-${t}`:"")}export{c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-
|
|
1
|
+
import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-CCbCrj5_.js";import{u as j}from"./index-ClR1Fu1m.js";import{P as z}from"./index-B8JDggRZ.js";import{u as k}from"./index-DWcIJqsU.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},G="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=j(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(J($(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=Q(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(z.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=G;function J(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function Q(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!X(t,{upTo:n}))return t}function X(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&Y(e)&&n&&e.select()}}var W=Z();function Z(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function $(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live], script"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./register-CCbCrj5_.js";var o=globalThis?.document?a:()=>{};export{o as u};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{D as l,u as i,A as u,y as P}from"./register-CCbCrj5_.js";import{a as M}from"./index-BFzCraLT.js";import{u as A,c as I}from"./index-ClR1Fu1m.js";import{c as v,R as x,T as w,C as D,D as $,O as F,a as G,W as L,b as W}from"./index-COmoD8s9.js";import{c as Y}from"./index-CBrz5xtv.js";var m="AlertDialog",[q,se]=M(m,[v]),n=v(),f=e=>{const{__scopeAlertDialog:o,...r}=e,t=n(o);return i(x,{...t,...r,modal:!0})};f.displayName=m;var B="AlertDialogTrigger",y=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,a=n(r);return i(w,{...a,...t,ref:o})});y.displayName=B;var H="AlertDialogOverlay",_=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,a=n(r);return i(F,{...a,...t,ref:o})});_.displayName=H;var s="AlertDialogContent",[V,j]=q(s),k=I("AlertDialogContent"),N=l((e,o)=>{const{__scopeAlertDialog:r,children:t,...a}=e,g=n(r),p=u(null),R=A(o,p),d=u(null);return i(L,{contentName:s,titleName:C,docsSlug:"alert-dialog",children:i(V,{scope:r,cancelRef:d,children:i(G,{role:"alertdialog",...g,...a,ref:R,onOpenAutoFocus:Y(a.onOpenAutoFocus,c=>{c.preventDefault(),d.current?.focus({preventScroll:!0})}),onPointerDownOutside:c=>c.preventDefault(),onInteractOutside:c=>c.preventDefault(),children:[i(k,{children:t}),i(J,{contentRef:p})]})})})});N.displayName=s;var C="AlertDialogTitle",h=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,a=n(r);return i(W,{...a,...t,ref:o})});h.displayName=C;var S="AlertDialogDescription",E=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,a=n(r);return i($,{...a,...t,ref:o})});E.displayName=S;var z="AlertDialogAction",T=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,a=n(r);return i(D,{...a,...t,ref:o})});T.displayName=z;var b="AlertDialogCancel",O=l((e,o)=>{const{__scopeAlertDialog:r,...t}=e,{cancelRef:a}=j(b,r),g=n(r),p=A(o,a);return i(D,{...g,...t,ref:p})});O.displayName=b;var J=({contentRef:e})=>{const o=`\`${s}\` requires a description for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
You can add a description to the \`${s}\` by passing a \`${S}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
4
4
|
|
|
5
5
|
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${s}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
6
6
|
|
|
7
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return P(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(o)},[o,e]),null},K=f,Q=y,U=_,X=N,Z=T,ee=O,oe=h,re=E;export{Z as A,ee as C,re as D,U as O,K as R,
|
|
7
|
+
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return P(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(o)},[o,e]),null},K=f,Q=y,U=_,X=N,Z=T,ee=O,oe=h,re=E;export{Z as A,ee as C,re as D,U as O,K as R,Q as T,X as a,oe as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as x}from"./register-
|
|
1
|
+
import{b as x}from"./register-CCbCrj5_.js";function E(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var s=e.default;if(typeof s=="function"){var o=function u(){return this instanceof u?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};o.prototype=s.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var a=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,a.get?a:{enumerable:!0,get:function(){return e[u]}})}),o}var p={exports:{}},v={},O=E(x),l;function w(){if(l)return v;l=1;var e=O;function s(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var o=typeof Object.is=="function"?Object.is:s,u=e.useState,a=e.useEffect,m=e.useLayoutEffect,S=e.useDebugValue;function h(t,r){var c=r(),y=u({inst:{value:c,getSnapshot:r}}),n=y[0].inst,f=y[1];return m(function(){n.value=c,n.getSnapshot=r,i(n)&&f({inst:n})},[t,c,r]),a(function(){return i(n)&&f({inst:n}),t(function(){i(n)&&f({inst:n})})},[t]),S(c),c}function i(t){var r=t.getSnapshot;t=t.value;try{var c=r();return!o(t,c)}catch{return!0}}function g(t,r){return r()}var b=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:h;return v.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:b,v}var d;function j(){return d||(d=1,p.exports=w()),p.exports}var _=j();export{_ as s};
|