@servicetitan/anvil2 1.30.0 → 1.31.1
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/CHANGELOG.md +32 -0
- package/dist/{Alert-DQbOVF2P-CWBL0dB1.js → Alert-BW0jYz7s-C_bALro8.js} +6 -7
- package/dist/{Alert-DQbOVF2P-CWBL0dB1.js.map → Alert-BW0jYz7s-C_bALro8.js.map} +1 -1
- package/dist/{Alert-Cbv8tBx5.js → Alert-KVBpZzAt.js} +2 -2
- package/dist/{Alert-Cbv8tBx5.js.map → Alert-KVBpZzAt.js.map} +1 -1
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-BaytX5oD.js → Announcement-DnaX0j_E.js} +5 -6
- package/dist/{Announcement-BaytX5oD.js.map → Announcement-DnaX0j_E.js.map} +1 -1
- package/dist/Announcement.js +1 -1
- package/dist/{AnvilProvider-H7GLsTTs.js → AnvilProvider-2uSjX-jw.js} +2 -2
- package/dist/{AnvilProvider-H7GLsTTs.js.map → AnvilProvider-2uSjX-jw.js.map} +1 -1
- package/dist/AnvilProvider.js +1 -1
- package/dist/{Avatar-D7OvWjMn.js → Avatar-DrQgvGgD.js} +5 -5
- package/dist/Avatar-DrQgvGgD.js.map +1 -0
- package/dist/Avatar.js +1 -1
- package/dist/{Badge-CQ4Ha9_F.js → Badge-Lt1iCyYK.js} +2 -2
- package/dist/{Badge-CQ4Ha9_F.js.map → Badge-Lt1iCyYK.js.map} +1 -1
- package/dist/Badge.js +1 -1
- package/dist/{Breadcrumbs-C22dKJ0j.js → Breadcrumbs-DicsW4mk.js} +5 -5
- package/dist/{Breadcrumbs-C22dKJ0j.js.map → Breadcrumbs-DicsW4mk.js.map} +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/{Button-CDE1Yn-v.js → Button-CRGbkHTO.js} +2 -2
- package/dist/{Button-CDE1Yn-v.js.map → Button-CRGbkHTO.js.map} +1 -1
- package/dist/{Button-d6MSiD0q-Cu4AHmR0.js → Button-CpDA5JHI-DOaf7xjY.js} +6 -6
- package/dist/Button-CpDA5JHI-DOaf7xjY.js.map +1 -0
- package/dist/Button.js +1 -1
- package/dist/{Button.module-mMu6tAX3-mMu6tAX3.js → Button.module-BdSA8wlr-BdSA8wlr.js} +2 -6
- package/dist/Button.module-BdSA8wlr-BdSA8wlr.js.map +1 -0
- package/dist/{ButtonCompound-DBnxT5Qg-BeCgteJh.js → ButtonCompound-DbOF1Uyo-D4_cdbXr.js} +3 -3
- package/dist/{ButtonCompound-DBnxT5Qg-BeCgteJh.js.map → ButtonCompound-DbOF1Uyo-D4_cdbXr.js.map} +1 -1
- package/dist/{ButtonCompound-BBWz8boD.js → ButtonCompound-Dq-3iCqQ.js} +2 -2
- package/dist/{ButtonCompound-BBWz8boD.js.map → ButtonCompound-Dq-3iCqQ.js.map} +1 -1
- package/dist/ButtonCompound.js +1 -1
- package/dist/{ButtonLink-CDRjX8oW.js → ButtonLink-B1b4NVwl.js} +2 -2
- package/dist/{ButtonLink-CDRjX8oW.js.map → ButtonLink-B1b4NVwl.js.map} +1 -1
- package/dist/ButtonLink.js +1 -1
- package/dist/{ButtonToggle-NM3o2ytz.js → ButtonToggle-BdIwMXdH.js} +2 -2
- package/dist/{ButtonToggle-NM3o2ytz.js.map → ButtonToggle-BdIwMXdH.js.map} +1 -1
- package/dist/{ButtonToggle-lErSF3Pv-BgLkejfC.js → ButtonToggle-D5b-K9BR-g1A3w7M3.js} +6 -6
- package/dist/{ButtonToggle-lErSF3Pv-BgLkejfC.js.map → ButtonToggle-D5b-K9BR-g1A3w7M3.js.map} +1 -1
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-B25CTzF_.js → Calendar-CqEPLYlk.js} +2 -2
- package/dist/{Calendar-B25CTzF_.js.map → Calendar-CqEPLYlk.js.map} +1 -1
- package/dist/{Calendar-CP8UPUg1-yIJxH8G4.js → Calendar-DGlqu1W3-Bi5Q7PZR.js} +22 -26
- package/dist/{Calendar-CP8UPUg1-yIJxH8G4.js.map → Calendar-DGlqu1W3-Bi5Q7PZR.js.map} +1 -1
- package/dist/Calendar.js +1 -1
- package/dist/{Card-D5Tu7fxP.js → Card-D-ntWPsN.js} +2 -2
- package/dist/{Card-D5Tu7fxP.js.map → Card-D-ntWPsN.js.map} +1 -1
- package/dist/{Card-BMCXcu4G-1lTzfu7j.js → Card-DukbBYaA-JN-eYW_v.js} +3 -3
- package/dist/{Card-BMCXcu4G-1lTzfu7j.js.map → Card-DukbBYaA-JN-eYW_v.js.map} +1 -1
- package/dist/Card.js +1 -1
- package/dist/{Checkbox-CL5hvL2A-DqrkDLRn.js → Checkbox-B1OkhWY6-DAwwh6to.js} +7 -7
- package/dist/Checkbox-B1OkhWY6-DAwwh6to.js.map +1 -0
- package/dist/{Checkbox-7blvrf_a.js → Checkbox-K1ZrRTEZ.js} +2 -2
- package/dist/{Checkbox-7blvrf_a.js.map → Checkbox-K1ZrRTEZ.js.map} +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/{Checkbox.module-DMrZNVpb-DL8zOKBQ.js → Checkbox.module-DMrZNVpb-DOdjd86H.js} +2 -2
- package/dist/{Checkbox.module-DMrZNVpb-DL8zOKBQ.js.map → Checkbox.module-DMrZNVpb-DOdjd86H.js.map} +1 -1
- package/dist/{Chip-DVIhldss-BFNWyxbZ.js → Chip-BQOzhPQv-DdLdgSqD.js} +7 -9
- package/dist/Chip-BQOzhPQv-DdLdgSqD.js.map +1 -0
- package/dist/{Chip-hM1s-8Zy.js → Chip-DmGfVz7J.js} +9 -5
- package/dist/Chip-DmGfVz7J.js.map +1 -0
- package/dist/Chip.js +1 -1
- package/dist/{Combobox-DB-iA60L.js → Combobox-DLxPUWuK.js} +119 -135
- package/dist/Combobox-DLxPUWuK.js.map +1 -0
- package/dist/Combobox.js +1 -1
- package/dist/{DateField-Be6t2RVY.js → DateField-BwrvVq3b.js} +63 -41
- package/dist/DateField-BwrvVq3b.js.map +1 -0
- package/dist/DateField.js +1 -1
- package/dist/{Details-CSkJPqp0.js → Details-CtCidzce.js} +8 -8
- package/dist/Details-CtCidzce.js.map +1 -0
- package/dist/Details.js +1 -1
- package/dist/{Dialog-7rYeJxoF.js → Dialog-suBVnUvm.js} +2 -2
- package/dist/{Dialog-7rYeJxoF.js.map → Dialog-suBVnUvm.js.map} +1 -1
- package/dist/Dialog.js +1 -1
- package/dist/{Divider-BYJdiS0V.js → Divider-By5PjW0_.js} +2 -2
- package/dist/{Divider-BYJdiS0V.js.map → Divider-By5PjW0_.js.map} +1 -1
- package/dist/Divider.js +1 -1
- package/dist/DndSort.js +101 -103
- package/dist/DndSort.js.map +1 -1
- package/dist/{Drawer-3T2QLWa7.js → Drawer-BoFuipVJ.js} +2 -2
- package/dist/{Drawer-3T2QLWa7.js.map → Drawer-BoFuipVJ.js.map} +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/{EditCard-C6oNHLbs.js → EditCard-DripZNiC.js} +6 -6
- package/dist/{EditCard-C6oNHLbs.js.map → EditCard-DripZNiC.js.map} +1 -1
- package/dist/EditCard.js +1 -1
- package/dist/{Flex-CBbc0w2g.js → Flex-CbkDTKfn.js} +2 -2
- package/dist/{Flex-CBbc0w2g.js.map → Flex-CbkDTKfn.js.map} +1 -1
- package/dist/{Flex-DbC3MGto-Cby3Kmzl.js → Flex-DlNiHX1G-DiUzqGqj.js} +3 -3
- package/dist/{Flex-DbC3MGto-Cby3Kmzl.js.map → Flex-DlNiHX1G-DiUzqGqj.js.map} +1 -1
- package/dist/Flex.js +1 -1
- package/dist/{Grid-d8fZM9zL.js → Grid-LhlvpLTc.js} +2 -2
- package/dist/{Grid-d8fZM9zL.js.map → Grid-LhlvpLTc.js.map} +1 -1
- package/dist/Grid.js +1 -1
- package/dist/{HammerProvider-_IuJrI_8-DvoqhQrc.js → HammerProvider-C9QySDSZ-CLRb96CM.js} +4 -3
- package/dist/{HammerProvider-_IuJrI_8-DvoqhQrc.js.map → HammerProvider-C9QySDSZ-CLRb96CM.js.map} +1 -1
- package/dist/{Helper-xRgl5fRU-Beh4oF7-.js → Helper-DBmwQvEP-Z2T8bXHx.js} +3 -3
- package/dist/{Helper-xRgl5fRU-Beh4oF7-.js.map → Helper-DBmwQvEP-Z2T8bXHx.js.map} +1 -1
- package/dist/{Icon-CBPJUFc8-vsWbtf2w.js → Icon-DuwR7O2z-DwPHQiBF.js} +4 -4
- package/dist/Icon-DuwR7O2z-DwPHQiBF.js.map +1 -0
- package/dist/{Icon-DEnUtsNv.js → Icon-U0zxixxg.js} +2 -2
- package/dist/{Icon-DEnUtsNv.js.map → Icon-U0zxixxg.js.map} +1 -1
- package/dist/Icon.js +1 -1
- package/dist/{InputMask-Dl8W0R4F-CFgFWCfT.js → InputMask-D9odbDSU-BJpRW6S6.js} +4 -4
- package/dist/InputMask-D9odbDSU-BJpRW6S6.js.map +1 -0
- package/dist/{InputMask-DF40Qlfh.js → InputMask-DRNShuT9.js} +2 -2
- package/dist/{InputMask-DF40Qlfh.js.map → InputMask-DRNShuT9.js.map} +1 -1
- package/dist/InputMask.js +1 -1
- package/dist/{Link-D-9J_gG_.js → Link-DDBu_8WX.js} +2 -2
- package/dist/{Link-D-9J_gG_.js.map → Link-DDBu_8WX.js.map} +1 -1
- package/dist/{Link-CFxV5mt6-BRludqlY.js → Link-DIyZHRIV-DXK6prKs.js} +4 -4
- package/dist/{Link-CFxV5mt6-BRludqlY.js.map → Link-DIyZHRIV-DXK6prKs.js.map} +1 -1
- package/dist/Link.js +1 -1
- package/dist/{ListView-D4Oo5dk0.js → ListView-BU0TCQ4k.js} +5 -5
- package/dist/{ListView-D4Oo5dk0.js.map → ListView-BU0TCQ4k.js.map} +1 -1
- package/dist/ListView.js +1 -1
- package/dist/{ListView.module-BqvHsIQ9-BqvHsIQ9.js → ListView.module-3I2M0Pia-3I2M0Pia.js} +2 -4
- package/dist/ListView.module-3I2M0Pia-3I2M0Pia.js.map +1 -0
- package/dist/{Listbox-s35NI8bz.js → Listbox-BQP8FRTF.js} +2 -2
- package/dist/{Listbox-s35NI8bz.js.map → Listbox-BQP8FRTF.js.map} +1 -1
- package/dist/{Listbox-BmSdg9ON-BPZge6P6.js → Listbox-CthJSHQ3-Zsuei4zJ.js} +12 -12
- package/dist/Listbox-CthJSHQ3-Zsuei4zJ.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/{LocalizationProvider-BMrx361C-CWnp1u1b.js → LocalizationProvider-BrxC1a2D-B1iQENoJ.js} +2 -2
- package/dist/{LocalizationProvider-BMrx361C-CWnp1u1b.js.map → LocalizationProvider-BrxC1a2D-B1iQENoJ.js.map} +1 -1
- package/dist/LocalizationProvider.js +1 -1
- package/dist/{Menu-C2lb6-aj.js → Menu-DyMYxJUM.js} +11 -20
- package/dist/Menu-DyMYxJUM.js.map +1 -0
- package/dist/Menu.js +1 -1
- package/dist/{Overflow-4SGStPcA.js → Overflow-CKVmrb1N.js} +2 -2
- package/dist/{Overflow-4SGStPcA.js.map → Overflow-CKVmrb1N.js.map} +1 -1
- package/dist/{Overflow-BkDEkIkh-doip0lit.js → Overflow-DXWJ1gWT-tN8GInwt.js} +7 -7
- package/dist/Overflow-DXWJ1gWT-tN8GInwt.js.map +1 -0
- package/dist/Overflow.js +1 -1
- package/dist/{Page-DPU93uSw.js → Page-CS_ix1vK.js} +20 -16
- package/dist/Page-CS_ix1vK.js.map +1 -0
- package/dist/Page.js +1 -1
- package/dist/{Popover-DPh9L2_b.js → Popover-DwctvBuT.js} +2 -2
- package/dist/{Popover-DPh9L2_b.js.map → Popover-DwctvBuT.js.map} +1 -1
- package/dist/{Popover-BtFSJ9la-B2Bq0bTL.js → Popover-nXUfj8hV-CfP3czmR.js} +13 -16
- package/dist/Popover-nXUfj8hV-CfP3czmR.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/{ProgressBar-DCHzTUlk.js → ProgressBar-BmVVLmcr.js} +2 -2
- package/dist/{ProgressBar-DCHzTUlk.js.map → ProgressBar-BmVVLmcr.js.map} +1 -1
- package/dist/ProgressBar-C5jHU322-BUKq_wDl.js +2544 -0
- package/dist/ProgressBar-C5jHU322-BUKq_wDl.js.map +1 -0
- package/dist/ProgressBar-C5jHU322.css +736 -0
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-_hd4Okk4-CYQgsyUe.js → Radio-DE79qJFW-Dt9tFahU.js} +6 -6
- package/dist/{Radio-_hd4Okk4-CYQgsyUe.js.map → Radio-DE79qJFW-Dt9tFahU.js.map} +1 -1
- package/dist/{Radio-DrKWItPI.js → Radio-vM4P73jb.js} +2 -2
- package/dist/{Radio-DrKWItPI.js.map → Radio-vM4P73jb.js.map} +1 -1
- package/dist/Radio.js +1 -1
- package/dist/{SearchField-Gt55jMYS.js → SearchField-DMx9YWba.js} +6 -9
- package/dist/SearchField-DMx9YWba.js.map +1 -0
- package/dist/SearchField.js +1 -1
- package/dist/{SegmentedControl-CxzfDyuq.js → SegmentedControl-D-kdk7BJ.js} +5 -5
- package/dist/{SegmentedControl-CxzfDyuq.js.map → SegmentedControl-D-kdk7BJ.js.map} +1 -1
- package/dist/SegmentedControl.js +1 -1
- package/dist/SelectCard.js +1 -1
- package/dist/{SelectCardGroup-BqqYDfvw.js → SelectCardGroup-u0bbiRwe.js} +13 -10
- package/dist/SelectCardGroup-u0bbiRwe.js.map +1 -0
- package/dist/{SideNav-B2j-pcOF.js → SideNav-BIV-c-1o.js} +10 -31
- package/dist/SideNav-BIV-c-1o.js.map +1 -0
- package/dist/SideNav.js +1 -1
- package/dist/{Skeleton-B7npJs-G.js → Skeleton-CO1kBH8A.js} +2 -2
- package/dist/{Skeleton-B7npJs-G.js.map → Skeleton-CO1kBH8A.js.map} +1 -1
- package/dist/Skeleton.js +1 -1
- package/dist/{Spinner-DdirfhPp-c7cDfIit.js → Spinner-B55mSnmk-B3oOSVLo.js} +3 -6
- package/dist/Spinner-B55mSnmk-B3oOSVLo.js.map +1 -0
- package/dist/{Spinner-C0SZj1Xr.js → Spinner-DUXjTDlr.js} +2 -2
- package/dist/{Spinner-C0SZj1Xr.js.map → Spinner-DUXjTDlr.js.map} +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/{Stepper-uGzkVA9L.js → Stepper-tJSGpsW1.js} +14 -14
- package/dist/Stepper-tJSGpsW1.js.map +1 -0
- package/dist/Stepper.js +1 -1
- package/dist/{Switch-DksEtlPC.js → Switch-CksM88Ks.js} +3 -3
- package/dist/{Switch-DksEtlPC.js.map → Switch-CksM88Ks.js.map} +1 -1
- package/dist/Switch.js +1 -1
- package/dist/{Tab-Bmh5FvNz.js → Tab-qn_tnvF4.js} +11 -11
- package/dist/Tab-qn_tnvF4.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/{Text-Cww9Ifu2-CQ6MA3B0.js → Text-BCRKWTMM-BvIdEgVR.js} +3 -3
- package/dist/{Text-Cww9Ifu2-CQ6MA3B0.js.map → Text-BCRKWTMM-BvIdEgVR.js.map} +1 -1
- package/dist/{Text-BG5eKasv.js → Text-CF2KcnWA.js} +2 -2
- package/dist/{Text-BG5eKasv.js.map → Text-CF2KcnWA.js.map} +1 -1
- package/dist/Text.js +1 -1
- package/dist/{TextField-D-wM0LoN.js → TextField-CvbgWXp2.js} +2 -2
- package/dist/{TextField-D-wM0LoN.js.map → TextField-CvbgWXp2.js.map} +1 -1
- package/dist/{TextField-D5PH3ElU-CBDiTprI.js → TextField-DmkmyIq0-CWjKLHMx.js} +8 -8
- package/dist/{TextField-D5PH3ElU-CBDiTprI.js.map → TextField-DmkmyIq0-CWjKLHMx.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{TextField.module-B411p3ST-B411p3ST.js → TextField.module-ZWACK1yV-ZWACK1yV.js} +2 -4
- package/dist/TextField.module-ZWACK1yV-ZWACK1yV.js.map +1 -0
- package/dist/{Textarea-DC-Mo0BS.js → Textarea-BdIaTJIC.js} +10 -12
- package/dist/Textarea-BdIaTJIC.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/{ThemeProvider-BvlBau8H-cHEbjUN3.js → ThemeProvider-DrK12Ru--D1_n9ujr.js} +6 -6
- package/dist/ThemeProvider-DrK12Ru--D1_n9ujr.js.map +1 -0
- package/dist/{ThemeProvider-BvlBau8H.css → ThemeProvider-DrK12Ru-.css} +123 -909
- package/dist/{ThemeProvider-C99PP3mE.js → ThemeProvider-DzTAYEYO.js} +2 -2
- package/dist/{ThemeProvider-C99PP3mE.js.map → ThemeProvider-DzTAYEYO.js.map} +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/Toast.js +1 -1
- package/dist/{Toolbar-C3h5EZAS.js → Toolbar-BB7XNCQX.js} +14 -14
- package/dist/Toolbar-BB7XNCQX.js.map +1 -0
- package/dist/Toolbar.js +1 -1
- package/dist/{Tooltip-DSgdpQUh.js → Tooltip-Ccr19EVg.js} +2 -2
- package/dist/{Tooltip-DSgdpQUh.js.map → Tooltip-Ccr19EVg.js.map} +1 -1
- package/dist/Tooltip.js +1 -1
- package/dist/{check_circle-C3DDoVXp.js → check_circle-BGfigqq-.js} +4 -2
- package/dist/check_circle-BGfigqq-.js.map +1 -0
- package/dist/components/DateField/DateField.d.ts +3 -1
- package/dist/components/SelectCard/SelectCard.d.ts +4 -1
- package/dist/components/Toast/Toaster.d.ts +11 -5
- package/dist/components/Toast/toast.d.ts +1 -4
- package/dist/{floating-ui.react-4AwURJA3.js → floating-ui.react-Domgunz0.js} +667 -124
- package/dist/floating-ui.react-Domgunz0.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useBreakpoint/index.d.ts +1 -0
- package/dist/index.js +54 -53
- package/dist/index.js.map +1 -1
- package/dist/internal/components/Shadow.d.ts +3 -0
- package/dist/{proxy-Cy56d5Wf.js → proxy-CreWmH-e.js} +64 -53
- package/dist/proxy-CreWmH-e.js.map +1 -0
- package/dist/toast-na926t2L.js +96 -0
- package/dist/toast-na926t2L.js.map +1 -0
- package/dist/{use-reduced-motion-BR76mHGj.js → use-reduced-motion-znCm41qB.js} +2 -2
- package/dist/{use-reduced-motion-BR76mHGj.js.map → use-reduced-motion-znCm41qB.js.map} +1 -1
- package/dist/{useAccessibleColor-CR4Gw85S-D9BFnrDq.js → useAccessibleColor-Dc6B_M-Z-BYKjkGRg.js} +4 -4
- package/dist/useAccessibleColor-Dc6B_M-Z-BYKjkGRg.js.map +1 -0
- package/dist/useAccessibleColor.js +1 -1
- package/dist/useBreakpoint-7QkBkSeP-Cv5fnZxs.js +50 -0
- package/dist/useBreakpoint-7QkBkSeP-Cv5fnZxs.js.map +1 -0
- package/dist/useBreakpoint.d.ts +6 -0
- package/dist/useBreakpoint.js +2 -0
- package/dist/useBreakpoint.js.map +1 -0
- package/dist/{useLayoutPropsUtil-nygE3Tbf-DIwTnwoj.js → useLayoutPropsUtil-3B2XYWSr-ChuzrydG.js} +6 -48
- package/dist/useLayoutPropsUtil-3B2XYWSr-ChuzrydG.js.map +1 -0
- package/dist/useLinkStyles.js +1 -1
- package/dist/useSize.js +4 -4
- package/dist/useSize.js.map +1 -1
- package/dist/useTrackingId.js +1 -1
- package/dist/useTrackingId.js.map +1 -1
- package/package.json +4 -7
- package/dist/Avatar-D7OvWjMn.js.map +0 -1
- package/dist/Button-d6MSiD0q-Cu4AHmR0.js.map +0 -1
- package/dist/Button.module-mMu6tAX3-mMu6tAX3.js.map +0 -1
- package/dist/Checkbox-CL5hvL2A-DqrkDLRn.js.map +0 -1
- package/dist/Chip-DVIhldss-BFNWyxbZ.js.map +0 -1
- package/dist/Chip-hM1s-8Zy.js.map +0 -1
- package/dist/Combobox-DB-iA60L.js.map +0 -1
- package/dist/DateField-Be6t2RVY.js.map +0 -1
- package/dist/Details-CSkJPqp0.js.map +0 -1
- package/dist/Dialog-DMSckzRc-COM9hr-y.js +0 -311
- package/dist/Dialog-DMSckzRc-COM9hr-y.js.map +0 -1
- package/dist/Dialog-DMSckzRc.css +0 -140
- package/dist/Drawer-iKaJNkT6-J-zqSmeZ.js +0 -301
- package/dist/Drawer-iKaJNkT6-J-zqSmeZ.js.map +0 -1
- package/dist/Drawer-iKaJNkT6.css +0 -153
- package/dist/Icon-CBPJUFc8-vsWbtf2w.js.map +0 -1
- package/dist/InputMask-Dl8W0R4F-CFgFWCfT.js.map +0 -1
- package/dist/Label-XW1sd1Ih-BheXSCrx.js +0 -51
- package/dist/Label-XW1sd1Ih-BheXSCrx.js.map +0 -1
- package/dist/Label-XW1sd1Ih.css +0 -62
- package/dist/ListView.module-BqvHsIQ9-BqvHsIQ9.js.map +0 -1
- package/dist/Listbox-BmSdg9ON-BPZge6P6.js.map +0 -1
- package/dist/Menu-C2lb6-aj.js.map +0 -1
- package/dist/Overflow-BkDEkIkh-doip0lit.js.map +0 -1
- package/dist/Page-DPU93uSw.js.map +0 -1
- package/dist/Popover-BtFSJ9la-B2Bq0bTL.js.map +0 -1
- package/dist/ProgressBar-DAjwDjpq-DaeVMPEZ.js +0 -130
- package/dist/ProgressBar-DAjwDjpq-DaeVMPEZ.js.map +0 -1
- package/dist/ProgressBar-DAjwDjpq.css +0 -91
- package/dist/SearchField-Gt55jMYS.js.map +0 -1
- package/dist/SelectCardGroup-BqqYDfvw.js.map +0 -1
- package/dist/SideNav-B2j-pcOF.js.map +0 -1
- package/dist/Spinner-DdirfhPp-c7cDfIit.js.map +0 -1
- package/dist/Stepper-uGzkVA9L.js.map +0 -1
- package/dist/Tab-Bmh5FvNz.js.map +0 -1
- package/dist/TextField.module-B411p3ST-B411p3ST.js.map +0 -1
- package/dist/Textarea-DC-Mo0BS.js.map +0 -1
- package/dist/ThemeProvider-BvlBau8H-cHEbjUN3.js.map +0 -1
- package/dist/Toolbar-C3h5EZAS.js.map +0 -1
- package/dist/Tooltip-EEOs63Lz-eY2HC-SU.js +0 -631
- package/dist/Tooltip-EEOs63Lz-eY2HC-SU.js.map +0 -1
- package/dist/Tooltip-EEOs63Lz.css +0 -102
- package/dist/check_circle-C3DDoVXp.js.map +0 -1
- package/dist/floating-ui.react-4AwURJA3.js.map +0 -1
- package/dist/index.esm-CunAFnrh.js +0 -546
- package/dist/index.esm-CunAFnrh.js.map +0 -1
- package/dist/info-CYpG6tcI.js +0 -6
- package/dist/info-CYpG6tcI.js.map +0 -1
- package/dist/proxy-Cy56d5Wf.js.map +0 -1
- package/dist/supportsPopover-8aJR37cf-8aJR37cf.js +0 -6
- package/dist/supportsPopover-8aJR37cf-8aJR37cf.js.map +0 -1
- package/dist/toast-BckKmAqz.js +0 -937
- package/dist/toast-BckKmAqz.js.map +0 -1
- package/dist/toast.css +0 -216
- package/dist/useAccessibleColor-CR4Gw85S-D9BFnrDq.js.map +0 -1
- package/dist/useKeyboardFocusables-CwVMAe5C-DtjYOAmt.js +0 -61
- package/dist/useKeyboardFocusables-CwVMAe5C-DtjYOAmt.js.map +0 -1
- package/dist/useLayoutPropsUtil-nygE3Tbf-DIwTnwoj.js.map +0 -1
- /package/dist/{Alert-DQbOVF2P.css → Alert-BW0jYz7s.css} +0 -0
- /package/dist/{Calendar-CP8UPUg1.css → Calendar-DGlqu1W3.css} +0 -0
- /package/dist/{Card-BMCXcu4G.css → Card-DukbBYaA.css} +0 -0
- /package/dist/{Chip-DVIhldss.css → Chip-BQOzhPQv.css} +0 -0
- /package/dist/{Flex-DbC3MGto.css → Flex-DlNiHX1G.css} +0 -0
- /package/dist/{Helper-xRgl5fRU.css → Helper-DBmwQvEP.css} +0 -0
- /package/dist/{Icon-CBPJUFc8.css → Icon-DuwR7O2z.css} +0 -0
- /package/dist/{Link-CFxV5mt6.css → Link-DIyZHRIV.css} +0 -0
- /package/dist/{Overflow-BkDEkIkh.css → Overflow-DXWJ1gWT.css} +0 -0
- /package/dist/{Popover-BtFSJ9la.css → Popover-nXUfj8hV.css} +0 -0
- /package/dist/{Radio-_hd4Okk4.css → Radio-DE79qJFW.css} +0 -0
- /package/dist/{Spinner-DdirfhPp.css → Spinner-B55mSnmk.css} +0 -0
- /package/dist/{Text-Cww9Ifu2.css → Text-BCRKWTMM.css} +0 -0
package/dist/DndSort.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import React__default, { useLayoutEffect, useEffect, useRef, useCallback,
|
|
3
|
+
import React__default, { useLayoutEffect, useEffect, useMemo, useRef, useCallback, useState, memo, useContext, createContext, useReducer, forwardRef, cloneElement } from 'react';
|
|
4
4
|
import { unstable_batchedUpdates, createPortal } from 'react-dom';
|
|
5
5
|
import { c as cx } from './index-tZvMCc77.js';
|
|
6
|
-
import { F as Flex } from './Flex-
|
|
7
|
-
import { B as ButtonCompound } from './ButtonCompound-
|
|
8
|
-
import { C as Card } from './Card-
|
|
9
|
-
import { I as Icon } from './Icon-
|
|
6
|
+
import { F as Flex } from './Flex-DlNiHX1G-DiUzqGqj.js';
|
|
7
|
+
import { B as ButtonCompound } from './ButtonCompound-DbOF1Uyo-D4_cdbXr.js';
|
|
8
|
+
import { C as Card } from './Card-DukbBYaA-JN-eYW_v.js';
|
|
9
|
+
import { I as Icon } from './Icon-DuwR7O2z-DwPHQiBF.js';
|
|
10
10
|
|
|
11
11
|
import './DndSort.css';function useCombinedRefs() {
|
|
12
12
|
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -47,7 +47,7 @@ function getWindow(target) {
|
|
|
47
47
|
return window;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
return (_target$ownerDocument = (_target$ownerDocument2 = target.ownerDocument) == null ?
|
|
50
|
+
return (_target$ownerDocument = (_target$ownerDocument2 = target.ownerDocument) == null ? void 0 : _target$ownerDocument2.defaultView) != null ? _target$ownerDocument : window;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
function isDocument(node) {
|
|
@@ -110,7 +110,7 @@ function useEvent(handler) {
|
|
|
110
110
|
args[_key] = arguments[_key];
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
return handlerRef.current == null ?
|
|
113
|
+
return handlerRef.current == null ? void 0 : handlerRef.current(...args);
|
|
114
114
|
}, []);
|
|
115
115
|
}
|
|
116
116
|
|
|
@@ -129,7 +129,7 @@ function useInterval() {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
function useLatestValue(value, dependencies) {
|
|
132
|
-
if (dependencies ===
|
|
132
|
+
if (dependencies === void 0) {
|
|
133
133
|
dependencies = [value];
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -157,7 +157,7 @@ function useNodeRef(onChange) {
|
|
|
157
157
|
const node = useRef(null);
|
|
158
158
|
const setNodeRef = useCallback(element => {
|
|
159
159
|
if (element !== node.current) {
|
|
160
|
-
onChangeHandler == null ?
|
|
160
|
+
onChangeHandler == null ? void 0 : onChangeHandler(element, node.current);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
node.current = element;
|
|
@@ -422,7 +422,7 @@ function useDndMonitorProvider() {
|
|
|
422
422
|
listeners.forEach(listener => {
|
|
423
423
|
var _listener$type;
|
|
424
424
|
|
|
425
|
-
return (_listener$type = listener[type]) == null ?
|
|
425
|
+
return (_listener$type = listener[type]) == null ? void 0 : _listener$type.call(listener, event);
|
|
426
426
|
});
|
|
427
427
|
}, [listeners]);
|
|
428
428
|
return [dispatch, registerListener];
|
|
@@ -787,7 +787,7 @@ const defaultOptions = {
|
|
|
787
787
|
*/
|
|
788
788
|
|
|
789
789
|
function getClientRect(element, options) {
|
|
790
|
-
if (options ===
|
|
790
|
+
if (options === void 0) {
|
|
791
791
|
options = defaultOptions;
|
|
792
792
|
}
|
|
793
793
|
|
|
@@ -850,7 +850,7 @@ function getWindowClientRect(element) {
|
|
|
850
850
|
}
|
|
851
851
|
|
|
852
852
|
function isFixed(node, computedStyle) {
|
|
853
|
-
if (computedStyle ===
|
|
853
|
+
if (computedStyle === void 0) {
|
|
854
854
|
computedStyle = getWindow(node).getComputedStyle(node);
|
|
855
855
|
}
|
|
856
856
|
|
|
@@ -858,7 +858,7 @@ function isFixed(node, computedStyle) {
|
|
|
858
858
|
}
|
|
859
859
|
|
|
860
860
|
function isScrollable(element, computedStyle) {
|
|
861
|
-
if (computedStyle ===
|
|
861
|
+
if (computedStyle === void 0) {
|
|
862
862
|
computedStyle = getWindow(element).getComputedStyle(element);
|
|
863
863
|
}
|
|
864
864
|
|
|
@@ -1023,11 +1023,11 @@ function getScrollDirectionAndSpeed(scrollContainer, scrollContainerRect, _ref,
|
|
|
1023
1023
|
bottom
|
|
1024
1024
|
} = _ref;
|
|
1025
1025
|
|
|
1026
|
-
if (acceleration ===
|
|
1026
|
+
if (acceleration === void 0) {
|
|
1027
1027
|
acceleration = 10;
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
|
-
if (thresholdPercentage ===
|
|
1030
|
+
if (thresholdPercentage === void 0) {
|
|
1031
1031
|
thresholdPercentage = defaultThreshold;
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
@@ -1125,7 +1125,7 @@ function getScrollYOffset(scrollableAncestors) {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
|
|
1127
1127
|
function scrollIntoViewIfNeeded(element, measure) {
|
|
1128
|
-
if (measure ===
|
|
1128
|
+
if (measure === void 0) {
|
|
1129
1129
|
measure = getClientRect;
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
@@ -1156,13 +1156,13 @@ function scrollIntoViewIfNeeded(element, measure) {
|
|
|
1156
1156
|
const properties = [['x', ['left', 'right'], getScrollXOffset], ['y', ['top', 'bottom'], getScrollYOffset]];
|
|
1157
1157
|
class Rect {
|
|
1158
1158
|
constructor(rect, element) {
|
|
1159
|
-
this.rect =
|
|
1160
|
-
this.width =
|
|
1161
|
-
this.height =
|
|
1162
|
-
this.top =
|
|
1163
|
-
this.bottom =
|
|
1164
|
-
this.right =
|
|
1165
|
-
this.left =
|
|
1159
|
+
this.rect = void 0;
|
|
1160
|
+
this.width = void 0;
|
|
1161
|
+
this.height = void 0;
|
|
1162
|
+
this.top = void 0;
|
|
1163
|
+
this.bottom = void 0;
|
|
1164
|
+
this.right = void 0;
|
|
1165
|
+
this.left = void 0;
|
|
1166
1166
|
const scrollableAncestors = getScrollableAncestors(element);
|
|
1167
1167
|
const scrollOffsets = getScrollOffsets(scrollableAncestors);
|
|
1168
1168
|
this.rect = { ...rect
|
|
@@ -1192,14 +1192,14 @@ class Rect {
|
|
|
1192
1192
|
|
|
1193
1193
|
class Listeners {
|
|
1194
1194
|
constructor(target) {
|
|
1195
|
-
this.target =
|
|
1195
|
+
this.target = void 0;
|
|
1196
1196
|
this.listeners = [];
|
|
1197
1197
|
|
|
1198
1198
|
this.removeAll = () => {
|
|
1199
1199
|
this.listeners.forEach(listener => {
|
|
1200
1200
|
var _this$target;
|
|
1201
1201
|
|
|
1202
|
-
return (_this$target = this.target) == null ?
|
|
1202
|
+
return (_this$target = this.target) == null ? void 0 : _this$target.removeEventListener(...listener);
|
|
1203
1203
|
});
|
|
1204
1204
|
};
|
|
1205
1205
|
|
|
@@ -1209,7 +1209,7 @@ class Listeners {
|
|
|
1209
1209
|
add(eventName, handler, options) {
|
|
1210
1210
|
var _this$target2;
|
|
1211
1211
|
|
|
1212
|
-
(_this$target2 = this.target) == null ?
|
|
1212
|
+
(_this$target2 = this.target) == null ? void 0 : _this$target2.addEventListener(eventName, handler, options);
|
|
1213
1213
|
this.listeners.push([eventName, handler, options]);
|
|
1214
1214
|
}
|
|
1215
1215
|
|
|
@@ -1319,11 +1319,11 @@ const defaultKeyboardCoordinateGetter = (event, _ref) => {
|
|
|
1319
1319
|
|
|
1320
1320
|
class KeyboardSensor {
|
|
1321
1321
|
constructor(props) {
|
|
1322
|
-
this.props =
|
|
1322
|
+
this.props = void 0;
|
|
1323
1323
|
this.autoScrollEnabled = false;
|
|
1324
|
-
this.referenceCoordinates =
|
|
1325
|
-
this.listeners =
|
|
1326
|
-
this.windowListeners =
|
|
1324
|
+
this.referenceCoordinates = void 0;
|
|
1325
|
+
this.listeners = void 0;
|
|
1326
|
+
this.windowListeners = void 0;
|
|
1327
1327
|
this.props = props;
|
|
1328
1328
|
const {
|
|
1329
1329
|
event: {
|
|
@@ -1549,7 +1549,7 @@ KeyboardSensor.activators = [{
|
|
|
1549
1549
|
}
|
|
1550
1550
|
|
|
1551
1551
|
event.preventDefault();
|
|
1552
|
-
onActivation == null ?
|
|
1552
|
+
onActivation == null ? void 0 : onActivation({
|
|
1553
1553
|
event: event.nativeEvent
|
|
1554
1554
|
});
|
|
1555
1555
|
return true;
|
|
@@ -1571,20 +1571,20 @@ class AbstractPointerSensor {
|
|
|
1571
1571
|
constructor(props, events, listenerTarget) {
|
|
1572
1572
|
var _getEventCoordinates;
|
|
1573
1573
|
|
|
1574
|
-
if (listenerTarget ===
|
|
1574
|
+
if (listenerTarget === void 0) {
|
|
1575
1575
|
listenerTarget = getEventListenerTarget(props.event.target);
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
|
-
this.props =
|
|
1579
|
-
this.events =
|
|
1578
|
+
this.props = void 0;
|
|
1579
|
+
this.events = void 0;
|
|
1580
1580
|
this.autoScrollEnabled = true;
|
|
1581
|
-
this.document =
|
|
1581
|
+
this.document = void 0;
|
|
1582
1582
|
this.activated = false;
|
|
1583
|
-
this.initialCoordinates =
|
|
1583
|
+
this.initialCoordinates = void 0;
|
|
1584
1584
|
this.timeoutId = null;
|
|
1585
|
-
this.listeners =
|
|
1586
|
-
this.documentListeners =
|
|
1587
|
-
this.windowListeners =
|
|
1585
|
+
this.listeners = void 0;
|
|
1586
|
+
this.documentListeners = void 0;
|
|
1587
|
+
this.windowListeners = void 0;
|
|
1588
1588
|
this.props = props;
|
|
1589
1589
|
this.events = events;
|
|
1590
1590
|
const {
|
|
@@ -1788,7 +1788,7 @@ class AbstractPointerSensor {
|
|
|
1788
1788
|
removeTextSelection() {
|
|
1789
1789
|
var _this$document$getSel;
|
|
1790
1790
|
|
|
1791
|
-
(_this$document$getSel = this.document.getSelection()) == null ?
|
|
1791
|
+
(_this$document$getSel = this.document.getSelection()) == null ? void 0 : _this$document$getSel.removeAllRanges();
|
|
1792
1792
|
}
|
|
1793
1793
|
|
|
1794
1794
|
}
|
|
@@ -1830,7 +1830,7 @@ PointerSensor.activators = [{
|
|
|
1830
1830
|
return false;
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
|
-
onActivation == null ?
|
|
1833
|
+
onActivation == null ? void 0 : onActivation({
|
|
1834
1834
|
event
|
|
1835
1835
|
});
|
|
1836
1836
|
return true;
|
|
@@ -1871,7 +1871,7 @@ MouseSensor.activators = [{
|
|
|
1871
1871
|
return false;
|
|
1872
1872
|
}
|
|
1873
1873
|
|
|
1874
|
-
onActivation == null ?
|
|
1874
|
+
onActivation == null ? void 0 : onActivation({
|
|
1875
1875
|
event
|
|
1876
1876
|
});
|
|
1877
1877
|
return true;
|
|
@@ -1928,7 +1928,7 @@ TouchSensor.activators = [{
|
|
|
1928
1928
|
return false;
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
|
-
onActivation == null ?
|
|
1931
|
+
onActivation == null ? void 0 : onActivation({
|
|
1932
1932
|
event
|
|
1933
1933
|
});
|
|
1934
1934
|
return true;
|
|
@@ -2011,7 +2011,7 @@ function useAutoScroller(_ref) {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
|
|
2013
2013
|
for (const scrollContainer of sortedScrollableAncestors) {
|
|
2014
|
-
if ((canScroll == null ?
|
|
2014
|
+
if ((canScroll == null ? void 0 : canScroll(scrollContainer)) === false) {
|
|
2015
2015
|
continue;
|
|
2016
2016
|
}
|
|
2017
2017
|
|
|
@@ -2161,7 +2161,7 @@ function useDroppableMeasuring(containers, _ref) {
|
|
|
2161
2161
|
const disabled = isDisabled();
|
|
2162
2162
|
const disabledRef = useLatestValue(disabled);
|
|
2163
2163
|
const measureDroppableContainers = useCallback(function (ids) {
|
|
2164
|
-
if (ids ===
|
|
2164
|
+
if (ids === void 0) {
|
|
2165
2165
|
ids = [];
|
|
2166
2166
|
}
|
|
2167
2167
|
|
|
@@ -2299,7 +2299,7 @@ function useMutationObserver(_ref) {
|
|
|
2299
2299
|
return new MutationObserver(handleMutations);
|
|
2300
2300
|
}, [handleMutations, disabled]);
|
|
2301
2301
|
useEffect(() => {
|
|
2302
|
-
return () => mutationObserver == null ?
|
|
2302
|
+
return () => mutationObserver == null ? void 0 : mutationObserver.disconnect();
|
|
2303
2303
|
}, [mutationObserver]);
|
|
2304
2304
|
return mutationObserver;
|
|
2305
2305
|
}
|
|
@@ -2327,7 +2327,7 @@ function useResizeObserver(_ref) {
|
|
|
2327
2327
|
}, // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2328
2328
|
[disabled]);
|
|
2329
2329
|
useEffect(() => {
|
|
2330
|
-
return () => resizeObserver == null ?
|
|
2330
|
+
return () => resizeObserver == null ? void 0 : resizeObserver.disconnect();
|
|
2331
2331
|
}, [resizeObserver]);
|
|
2332
2332
|
return resizeObserver;
|
|
2333
2333
|
}
|
|
@@ -2337,7 +2337,7 @@ function defaultMeasure(element) {
|
|
|
2337
2337
|
}
|
|
2338
2338
|
|
|
2339
2339
|
function useRect(element, measure, fallbackRect) {
|
|
2340
|
-
if (measure ===
|
|
2340
|
+
if (measure === void 0) {
|
|
2341
2341
|
measure = defaultMeasure;
|
|
2342
2342
|
}
|
|
2343
2343
|
|
|
@@ -2394,14 +2394,14 @@ function useRect(element, measure, fallbackRect) {
|
|
|
2394
2394
|
measureRect();
|
|
2395
2395
|
|
|
2396
2396
|
if (element) {
|
|
2397
|
-
resizeObserver == null ?
|
|
2398
|
-
mutationObserver == null ?
|
|
2397
|
+
resizeObserver == null ? void 0 : resizeObserver.observe(element);
|
|
2398
|
+
mutationObserver == null ? void 0 : mutationObserver.observe(document.body, {
|
|
2399
2399
|
childList: true,
|
|
2400
2400
|
subtree: true
|
|
2401
2401
|
});
|
|
2402
2402
|
} else {
|
|
2403
|
-
resizeObserver == null ?
|
|
2404
|
-
mutationObserver == null ?
|
|
2403
|
+
resizeObserver == null ? void 0 : resizeObserver.disconnect();
|
|
2404
|
+
mutationObserver == null ? void 0 : mutationObserver.disconnect();
|
|
2405
2405
|
}
|
|
2406
2406
|
}, [element]);
|
|
2407
2407
|
return rect;
|
|
@@ -2481,7 +2481,7 @@ function useScrollOffsets(elements) {
|
|
|
2481
2481
|
function cleanup(elements) {
|
|
2482
2482
|
elements.forEach(element => {
|
|
2483
2483
|
const scrollableElement = getScrollableElement(element);
|
|
2484
|
-
scrollableElement == null ?
|
|
2484
|
+
scrollableElement == null ? void 0 : scrollableElement.removeEventListener('scroll', handleScroll);
|
|
2485
2485
|
});
|
|
2486
2486
|
}
|
|
2487
2487
|
}, [handleScroll, elements]);
|
|
@@ -2495,7 +2495,7 @@ function useScrollOffsets(elements) {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
2497
|
function useScrollOffsetsDelta(scrollOffsets, dependencies) {
|
|
2498
|
-
if (dependencies ===
|
|
2498
|
+
if (dependencies === void 0) {
|
|
2499
2499
|
dependencies = [];
|
|
2500
2500
|
}
|
|
2501
2501
|
|
|
@@ -2528,11 +2528,11 @@ function useSensorSetup(sensors) {
|
|
|
2528
2528
|
let {
|
|
2529
2529
|
sensor
|
|
2530
2530
|
} = _ref;
|
|
2531
|
-
return sensor.setup == null ?
|
|
2531
|
+
return sensor.setup == null ? void 0 : sensor.setup();
|
|
2532
2532
|
});
|
|
2533
2533
|
return () => {
|
|
2534
2534
|
for (const teardown of teardownFns) {
|
|
2535
|
-
teardown == null ?
|
|
2535
|
+
teardown == null ? void 0 : teardown();
|
|
2536
2536
|
}
|
|
2537
2537
|
};
|
|
2538
2538
|
}, // TO-DO: Sensors length could theoretically change which would not be a valid dependency
|
|
@@ -2568,7 +2568,7 @@ function useWindowRect(element) {
|
|
|
2568
2568
|
|
|
2569
2569
|
const defaultValue$2 = [];
|
|
2570
2570
|
function useRects(elements, measure) {
|
|
2571
|
-
if (measure ===
|
|
2571
|
+
if (measure === void 0) {
|
|
2572
2572
|
measure = getClientRect;
|
|
2573
2573
|
}
|
|
2574
2574
|
|
|
@@ -2590,9 +2590,9 @@ function useRects(elements, measure) {
|
|
|
2590
2590
|
callback: measureRects
|
|
2591
2591
|
});
|
|
2592
2592
|
useIsomorphicLayoutEffect(() => {
|
|
2593
|
-
resizeObserver == null ?
|
|
2593
|
+
resizeObserver == null ? void 0 : resizeObserver.disconnect();
|
|
2594
2594
|
measureRects();
|
|
2595
|
-
elements.forEach(element => resizeObserver == null ?
|
|
2595
|
+
elements.forEach(element => resizeObserver == null ? void 0 : resizeObserver.observe(element));
|
|
2596
2596
|
}, [elements]);
|
|
2597
2597
|
return rects;
|
|
2598
2598
|
}
|
|
@@ -2636,10 +2636,10 @@ function useDragOverlayMeasuring(_ref) {
|
|
|
2636
2636
|
});
|
|
2637
2637
|
const handleNodeChange = useCallback(element => {
|
|
2638
2638
|
const node = getMeasurableNode(element);
|
|
2639
|
-
resizeObserver == null ?
|
|
2639
|
+
resizeObserver == null ? void 0 : resizeObserver.disconnect();
|
|
2640
2640
|
|
|
2641
2641
|
if (node) {
|
|
2642
|
-
resizeObserver == null ?
|
|
2642
|
+
resizeObserver == null ? void 0 : resizeObserver.observe(node);
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
2645
2645
|
setRect(node ? measure(node) : null);
|
|
@@ -2699,7 +2699,7 @@ class DroppableContainersMap extends Map {
|
|
|
2699
2699
|
getNodeFor(id) {
|
|
2700
2700
|
var _this$get$node$curren, _this$get;
|
|
2701
2701
|
|
|
2702
|
-
return (_this$get$node$curren = (_this$get = this.get(id)) == null ?
|
|
2702
|
+
return (_this$get$node$curren = (_this$get = this.get(id)) == null ? void 0 : _this$get.node.current) != null ? _this$get$node$curren : undefined;
|
|
2703
2703
|
}
|
|
2704
2704
|
|
|
2705
2705
|
}
|
|
@@ -2883,7 +2883,7 @@ function RestoreFocus(_ref) {
|
|
|
2883
2883
|
draggableNodes
|
|
2884
2884
|
} = useContext(InternalContext);
|
|
2885
2885
|
const previousActivatorEvent = usePrevious(activatorEvent);
|
|
2886
|
-
const previousActiveId = usePrevious(active == null ?
|
|
2886
|
+
const previousActiveId = usePrevious(active == null ? void 0 : active.id); // Restore keyboard focus on the activator node
|
|
2887
2887
|
|
|
2888
2888
|
useEffect(() => {
|
|
2889
2889
|
if (disabled) {
|
|
@@ -2950,16 +2950,16 @@ function applyModifiers(modifiers, _ref) {
|
|
|
2950
2950
|
function useMeasuringConfiguration(config) {
|
|
2951
2951
|
return useMemo(() => ({
|
|
2952
2952
|
draggable: { ...defaultMeasuringConfiguration.draggable,
|
|
2953
|
-
...(config == null ?
|
|
2953
|
+
...(config == null ? void 0 : config.draggable)
|
|
2954
2954
|
},
|
|
2955
2955
|
droppable: { ...defaultMeasuringConfiguration.droppable,
|
|
2956
|
-
...(config == null ?
|
|
2956
|
+
...(config == null ? void 0 : config.droppable)
|
|
2957
2957
|
},
|
|
2958
2958
|
dragOverlay: { ...defaultMeasuringConfiguration.dragOverlay,
|
|
2959
|
-
...(config == null ?
|
|
2959
|
+
...(config == null ? void 0 : config.dragOverlay)
|
|
2960
2960
|
}
|
|
2961
2961
|
}), // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2962
|
-
[config == null ?
|
|
2962
|
+
[config == null ? void 0 : config.draggable, config == null ? void 0 : config.droppable, config == null ? void 0 : config.dragOverlay]);
|
|
2963
2963
|
}
|
|
2964
2964
|
|
|
2965
2965
|
function useLayoutShiftScrollCompensation(_ref) {
|
|
@@ -2992,7 +2992,7 @@ function useLayoutShiftScrollCompensation(_ref) {
|
|
|
2992
2992
|
} // Get the most up to date node ref for the active draggable
|
|
2993
2993
|
|
|
2994
2994
|
|
|
2995
|
-
const node = activeNode == null ?
|
|
2995
|
+
const node = activeNode == null ? void 0 : activeNode.node.current;
|
|
2996
2996
|
|
|
2997
2997
|
if (!node || node.isConnected === false) {
|
|
2998
2998
|
// Return early if there is no attached node ref or if the node is
|
|
@@ -3079,7 +3079,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3079
3079
|
return activeId != null ? {
|
|
3080
3080
|
id: activeId,
|
|
3081
3081
|
// It's possible for the active node to unmount while dragging
|
|
3082
|
-
data: (_node$data = node == null ?
|
|
3082
|
+
data: (_node$data = node == null ? void 0 : node.data) != null ? _node$data : defaultData,
|
|
3083
3083
|
rect: activeRects
|
|
3084
3084
|
} : null;
|
|
3085
3085
|
}, [activeId, node]);
|
|
@@ -3126,7 +3126,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3126
3126
|
scrollableAncestors: [],
|
|
3127
3127
|
scrollAdjustedTranslate: null
|
|
3128
3128
|
});
|
|
3129
|
-
const overNode = droppableContainers.getNodeFor((_sensorContext$curren = sensorContext.current.over) == null ?
|
|
3129
|
+
const overNode = droppableContainers.getNodeFor((_sensorContext$curren = sensorContext.current.over) == null ? void 0 : _sensorContext$curren.id);
|
|
3130
3130
|
const dragOverlay = useDragOverlayMeasuring({
|
|
3131
3131
|
measure: measuringConfiguration.dragOverlay.measure
|
|
3132
3132
|
}); // Use the rect of the drag overlay if it is mounted
|
|
@@ -3181,7 +3181,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3181
3181
|
// window scroll delta
|
|
3182
3182
|
|
|
3183
3183
|
const appliedTranslate = usesDragOverlay ? modifiedTranslate : add(modifiedTranslate, activeNodeScrollDelta);
|
|
3184
|
-
const transform = adjustScale(appliedTranslate, (_over$rect = over == null ?
|
|
3184
|
+
const transform = adjustScale(appliedTranslate, (_over$rect = over == null ? void 0 : over.rect) != null ? _over$rect : null, activeNodeRect);
|
|
3185
3185
|
const activeSensorRef = useRef(null);
|
|
3186
3186
|
const instantiateSensor = useCallback((event, _ref2) => {
|
|
3187
3187
|
let {
|
|
@@ -3222,7 +3222,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3222
3222
|
const event = {
|
|
3223
3223
|
id
|
|
3224
3224
|
};
|
|
3225
|
-
onDragAbort == null ?
|
|
3225
|
+
onDragAbort == null ? void 0 : onDragAbort(event);
|
|
3226
3226
|
dispatchMonitorEvent({
|
|
3227
3227
|
type: 'onDragAbort',
|
|
3228
3228
|
event
|
|
@@ -3245,7 +3245,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3245
3245
|
initialCoordinates,
|
|
3246
3246
|
offset
|
|
3247
3247
|
};
|
|
3248
|
-
onDragPending == null ?
|
|
3248
|
+
onDragPending == null ? void 0 : onDragPending(event);
|
|
3249
3249
|
dispatchMonitorEvent({
|
|
3250
3250
|
type: 'onDragPending',
|
|
3251
3251
|
event
|
|
@@ -3277,7 +3277,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3277
3277
|
}
|
|
3278
3278
|
};
|
|
3279
3279
|
unstable_batchedUpdates(() => {
|
|
3280
|
-
onDragStart == null ?
|
|
3280
|
+
onDragStart == null ? void 0 : onDragStart(event);
|
|
3281
3281
|
setStatus(Status.Initializing);
|
|
3282
3282
|
dispatch({
|
|
3283
3283
|
type: Action.DragStart,
|
|
@@ -3350,7 +3350,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3350
3350
|
|
|
3351
3351
|
if (event) {
|
|
3352
3352
|
const handler = latestProps.current[eventName];
|
|
3353
|
-
handler == null ?
|
|
3353
|
+
handler == null ? void 0 : handler(event);
|
|
3354
3354
|
dispatchMonitorEvent({
|
|
3355
3355
|
type: eventName,
|
|
3356
3356
|
event
|
|
@@ -3420,7 +3420,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3420
3420
|
over
|
|
3421
3421
|
};
|
|
3422
3422
|
unstable_batchedUpdates(() => {
|
|
3423
|
-
onDragMove == null ?
|
|
3423
|
+
onDragMove == null ? void 0 : onDragMove(event);
|
|
3424
3424
|
dispatchMonitorEvent({
|
|
3425
3425
|
type: 'onDragMove',
|
|
3426
3426
|
event
|
|
@@ -3463,7 +3463,7 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3463
3463
|
};
|
|
3464
3464
|
unstable_batchedUpdates(() => {
|
|
3465
3465
|
setOver(over);
|
|
3466
|
-
onDragOver == null ?
|
|
3466
|
+
onDragOver == null ? void 0 : onDragOver(event);
|
|
3467
3467
|
dispatchMonitorEvent({
|
|
3468
3468
|
type: 'onDragOver',
|
|
3469
3469
|
event
|
|
@@ -3546,13 +3546,13 @@ const DndContext = /*#__PURE__*/memo(function DndContext(_ref) {
|
|
|
3546
3546
|
}, React__default.createElement(ActiveDraggableContext.Provider, {
|
|
3547
3547
|
value: transform
|
|
3548
3548
|
}, children)), React__default.createElement(RestoreFocus, {
|
|
3549
|
-
disabled: (accessibility == null ?
|
|
3549
|
+
disabled: (accessibility == null ? void 0 : accessibility.restoreFocus) === false
|
|
3550
3550
|
})), React__default.createElement(Accessibility, { ...accessibility,
|
|
3551
3551
|
hiddenTextDescribedById: draggableDescribedById
|
|
3552
3552
|
}));
|
|
3553
3553
|
|
|
3554
3554
|
function getAutoScrollerOptions() {
|
|
3555
|
-
const activeSensorDisablesAutoscroll = (activeSensor == null ?
|
|
3555
|
+
const activeSensorDisablesAutoscroll = (activeSensor == null ? void 0 : activeSensor.autoScrollEnabled) === false;
|
|
3556
3556
|
const autoScrollGloballyDisabled = typeof autoScroll === 'object' ? autoScroll.enabled === false : autoScroll === false;
|
|
3557
3557
|
const enabled = isInitialized && !activeSensorDisablesAutoscroll && !autoScrollGloballyDisabled;
|
|
3558
3558
|
|
|
@@ -3593,7 +3593,7 @@ function useDraggable(_ref) {
|
|
|
3593
3593
|
roleDescription = 'draggable',
|
|
3594
3594
|
tabIndex = 0
|
|
3595
3595
|
} = attributes != null ? attributes : {};
|
|
3596
|
-
const isDragging = (active == null ?
|
|
3596
|
+
const isDragging = (active == null ? void 0 : active.id) === id;
|
|
3597
3597
|
const transform = useContext(isDragging ? ActiveDraggableContext : NullContext);
|
|
3598
3598
|
const [node, setNodeRef] = useNodeRef();
|
|
3599
3599
|
const [activatorNode, setActivatorNodeRef] = useNodeRef();
|
|
@@ -3755,7 +3755,7 @@ function useDroppable(_ref) {
|
|
|
3755
3755
|
return {
|
|
3756
3756
|
active,
|
|
3757
3757
|
rect,
|
|
3758
|
-
isOver: (over == null ?
|
|
3758
|
+
isOver: (over == null ? void 0 : over.id) === id,
|
|
3759
3759
|
node: nodeRef,
|
|
3760
3760
|
over,
|
|
3761
3761
|
setNodeRef
|
|
@@ -3780,8 +3780,8 @@ function AnimationManager(_ref) {
|
|
|
3780
3780
|
return;
|
|
3781
3781
|
}
|
|
3782
3782
|
|
|
3783
|
-
const key = clonedChildren == null ?
|
|
3784
|
-
const id = clonedChildren == null ?
|
|
3783
|
+
const key = clonedChildren == null ? void 0 : clonedChildren.key;
|
|
3784
|
+
const id = clonedChildren == null ? void 0 : clonedChildren.props.id;
|
|
3785
3785
|
|
|
3786
3786
|
if (key == null || id == null) {
|
|
3787
3787
|
setClonedChildren(null);
|
|
@@ -4050,7 +4050,7 @@ function createDefaultDropAnimation(options) {
|
|
|
4050
4050
|
return;
|
|
4051
4051
|
}
|
|
4052
4052
|
|
|
4053
|
-
const cleanup = sideEffects == null ?
|
|
4053
|
+
const cleanup = sideEffects == null ? void 0 : sideEffects({
|
|
4054
4054
|
active,
|
|
4055
4055
|
dragOverlay,
|
|
4056
4056
|
...rest
|
|
@@ -4062,7 +4062,7 @@ function createDefaultDropAnimation(options) {
|
|
|
4062
4062
|
});
|
|
4063
4063
|
return new Promise(resolve => {
|
|
4064
4064
|
animation.onfinish = () => {
|
|
4065
|
-
cleanup == null ?
|
|
4065
|
+
cleanup == null ? void 0 : cleanup();
|
|
4066
4066
|
resolve();
|
|
4067
4067
|
};
|
|
4068
4068
|
});
|
|
@@ -4108,7 +4108,7 @@ const DragOverlay = /*#__PURE__*/React__default.memo(_ref => {
|
|
|
4108
4108
|
windowRect
|
|
4109
4109
|
} = useDndContext();
|
|
4110
4110
|
const transform = useContext(ActiveDraggableContext);
|
|
4111
|
-
const key = useKey(active == null ?
|
|
4111
|
+
const key = useKey(active == null ? void 0 : active.id);
|
|
4112
4112
|
const modifiedTransform = applyModifiers(modifiers, {
|
|
4113
4113
|
activatorEvent,
|
|
4114
4114
|
active,
|
|
@@ -4204,13 +4204,13 @@ const DndZone = forwardRef(
|
|
|
4204
4204
|
Flex,
|
|
4205
4205
|
{
|
|
4206
4206
|
"data-testid": `drag-and-drop-zone-${id}`,
|
|
4207
|
-
direction: orientationToDirection[orientation ?? ""] ||
|
|
4207
|
+
direction: orientationToDirection[orientation ?? ""] || void 0,
|
|
4208
4208
|
...rest,
|
|
4209
4209
|
ref,
|
|
4210
4210
|
className: classes,
|
|
4211
4211
|
gap,
|
|
4212
4212
|
style: {
|
|
4213
|
-
padding: (Number(gap)
|
|
4213
|
+
padding: (isNaN(Number(gap)) ? DEFAULT_GAP : Number(gap)) * 0.25 + "rem",
|
|
4214
4214
|
...style,
|
|
4215
4215
|
"--drop-zone-gap": gap
|
|
4216
4216
|
},
|
|
@@ -4222,7 +4222,6 @@ const DndZone = forwardRef(
|
|
|
4222
4222
|
DndZone.displayName = "DndZoneBase";
|
|
4223
4223
|
|
|
4224
4224
|
const Dnd = {
|
|
4225
|
-
SortLine: DndSortLine,
|
|
4226
4225
|
Zone: DndZone
|
|
4227
4226
|
};
|
|
4228
4227
|
|
|
@@ -4705,7 +4704,7 @@ function useSortable(_ref) {
|
|
|
4705
4704
|
activeIndex,
|
|
4706
4705
|
overIndex
|
|
4707
4706
|
}) : index;
|
|
4708
|
-
const activeId = active == null ?
|
|
4707
|
+
const activeId = active == null ? void 0 : active.id;
|
|
4709
4708
|
const previous = useRef({
|
|
4710
4709
|
activeId,
|
|
4711
4710
|
items,
|
|
@@ -4818,8 +4817,8 @@ function normalizeLocalDisabled(localDisabled, globalDisabled) {
|
|
|
4818
4817
|
}
|
|
4819
4818
|
|
|
4820
4819
|
return {
|
|
4821
|
-
draggable: (_localDisabled$dragga = localDisabled == null ?
|
|
4822
|
-
droppable: (_localDisabled$droppa = localDisabled == null ?
|
|
4820
|
+
draggable: (_localDisabled$dragga = localDisabled == null ? void 0 : localDisabled.draggable) != null ? _localDisabled$dragga : globalDisabled.draggable,
|
|
4821
|
+
droppable: (_localDisabled$droppa = localDisabled == null ? void 0 : localDisabled.droppable) != null ? _localDisabled$droppa : globalDisabled.droppable
|
|
4823
4822
|
};
|
|
4824
4823
|
}
|
|
4825
4824
|
|
|
@@ -5036,10 +5035,10 @@ const getCollisions = (currentDroppable, allDroppables) => {
|
|
|
5036
5035
|
const arrowKeys = ["ArrowRight", "ArrowLeft", "ArrowDown", "ArrowUp"];
|
|
5037
5036
|
const getNextCoordinates = (event, args) => {
|
|
5038
5037
|
if (!arrowKeys.includes(event.code)) {
|
|
5039
|
-
return
|
|
5038
|
+
return void 0;
|
|
5040
5039
|
}
|
|
5041
5040
|
if (!args.context.droppableContainers.get(window[WINDOW_PROPERTY_SORT_POSITION])) {
|
|
5042
|
-
window[WINDOW_PROPERTY_SORT_POSITION] =
|
|
5041
|
+
window[WINDOW_PROPERTY_SORT_POSITION] = void 0;
|
|
5043
5042
|
}
|
|
5044
5043
|
const zones = args.context.droppableContainers.values().filter((value) => value.data.current?.isZone).toArray();
|
|
5045
5044
|
const order = {
|
|
@@ -5057,24 +5056,24 @@ const getNextCoordinates = (event, args) => {
|
|
|
5057
5056
|
// current position ID or initial position ID
|
|
5058
5057
|
args.context
|
|
5059
5058
|
);
|
|
5060
|
-
if (!currentPositionDroppable) return
|
|
5059
|
+
if (!currentPositionDroppable) return void 0;
|
|
5061
5060
|
const currentZoneId = getZoneIdOfDroppable(currentPositionDroppable);
|
|
5062
5061
|
if (event.code === "ArrowLeft" || event.code === "ArrowRight") {
|
|
5063
5062
|
const newPositionId = event.code === "ArrowRight" ? getNextZoneIdFromZoneId(currentZoneId, order) : getPreviousZoneIdFromZoneId(currentZoneId, order);
|
|
5064
|
-
if (!newPositionId) return
|
|
5063
|
+
if (!newPositionId) return void 0;
|
|
5065
5064
|
const newZone = getDroppableOfId(newPositionId, args.context);
|
|
5066
|
-
if (!newZone) return
|
|
5065
|
+
if (!newZone) return void 0;
|
|
5067
5066
|
window[WINDOW_PROPERTY_SORT_POSITION] = newPositionId;
|
|
5068
5067
|
return getCoordsFromZone(newZone, args.context.active);
|
|
5069
5068
|
}
|
|
5070
5069
|
if (event.code === "ArrowDown" || event.code === "ArrowUp") {
|
|
5071
5070
|
const currentZone = getDroppableOfId(currentZoneId, args.context);
|
|
5072
|
-
if (!currentZone || !currentZone.data.current?.sortable) return
|
|
5071
|
+
if (!currentZone || !currentZone.data.current?.sortable) return void 0;
|
|
5073
5072
|
if (currentPositionDroppable.data.current?.isZone) {
|
|
5074
5073
|
const zoneItems = currentZone.data.current?.sortedIds ?? [];
|
|
5075
5074
|
const newPositionId = event.code === "ArrowDown" ? zoneItems[0] : zoneItems[zoneItems.length - 1];
|
|
5076
5075
|
const newPosition = getDroppableOfId(newPositionId, args.context);
|
|
5077
|
-
if (!newPosition) return
|
|
5076
|
+
if (!newPosition) return void 0;
|
|
5078
5077
|
window[WINDOW_PROPERTY_SORT_POSITION] = newPositionId;
|
|
5079
5078
|
return getCoordsFromItem(newPosition);
|
|
5080
5079
|
} else {
|
|
@@ -5085,12 +5084,12 @@ const getNextCoordinates = (event, args) => {
|
|
|
5085
5084
|
return getCoordsFromZone(currentZone, args.context.active);
|
|
5086
5085
|
}
|
|
5087
5086
|
const newPosition = getDroppableOfId(newPositionId, args.context);
|
|
5088
|
-
if (!newPosition) return
|
|
5087
|
+
if (!newPosition) return void 0;
|
|
5089
5088
|
window[WINDOW_PROPERTY_SORT_POSITION] = newPositionId;
|
|
5090
5089
|
return getCoordsFromItem(newPosition);
|
|
5091
5090
|
}
|
|
5092
5091
|
}
|
|
5093
|
-
return
|
|
5092
|
+
return void 0;
|
|
5094
5093
|
};
|
|
5095
5094
|
const getNextItemId = (id, order, active) => {
|
|
5096
5095
|
if (order.looseItems.includes(id)) {
|
|
@@ -5252,7 +5251,6 @@ const cardDraggableStyles = {
|
|
|
5252
5251
|
"draggable-card": "_draggable-card_18e23_4",
|
|
5253
5252
|
"drag-indicator-button": "_drag-indicator-button_18e23_15",
|
|
5254
5253
|
"drag-indicator-icon": "_drag-indicator-icon_18e23_16",
|
|
5255
|
-
"button-compound": "_button-compound_18e23_24",
|
|
5256
5254
|
ghost: ghost
|
|
5257
5255
|
};
|
|
5258
5256
|
|
|
@@ -5300,7 +5298,7 @@ function DndSortItem({
|
|
|
5300
5298
|
});
|
|
5301
5299
|
useDndMonitor({
|
|
5302
5300
|
onDragStart() {
|
|
5303
|
-
window[WINDOW_PROPERTY_SORT_POSITION] =
|
|
5301
|
+
window[WINDOW_PROPERTY_SORT_POSITION] = void 0;
|
|
5304
5302
|
},
|
|
5305
5303
|
onDragEnd(event) {
|
|
5306
5304
|
if (active?.id !== id) {
|