@servicetitan/anvil2 1.37.2 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/{Alert-DMk5bG5T-kR7Uzp64.js → Alert-C3WoRkeN-D_6Yf63F.js} +5 -5
- package/dist/{Alert-DMk5bG5T-kR7Uzp64.js.map → Alert-C3WoRkeN-D_6Yf63F.js.map} +1 -1
- package/dist/{Alert-BsFFiu7g.js → Alert-DipY5OlC.js} +3 -2
- package/dist/Alert-DipY5OlC.js.map +1 -0
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-BawOyXV3.js → Announcement-ButSjdLn.js} +5 -4
- package/dist/Announcement-ButSjdLn.js.map +1 -0
- package/dist/Announcement.js +1 -1
- package/dist/{AnvilProvider-DJ4lYJVW.js → AnvilProvider-Lh8YtV03.js} +2 -2
- package/dist/{AnvilProvider-DJ4lYJVW.js.map → AnvilProvider-Lh8YtV03.js.map} +1 -1
- package/dist/AnvilProvider.js +1 -1
- package/dist/{Avatar-C2IfIAxL-BUio7c00.js → Avatar-B20IdOEO-Di14brYV.js} +23 -4
- package/dist/Avatar-B20IdOEO-Di14brYV.js.map +1 -0
- package/dist/Avatar-hNOToS9S.js +42 -0
- package/dist/Avatar-hNOToS9S.js.map +1 -0
- package/dist/Avatar.js +1 -1
- package/dist/{Badge-Bko3Cw3L.js → Badge-7aZfE-LH.js} +3 -2
- package/dist/{Badge-Bko3Cw3L.js.map → Badge-7aZfE-LH.js.map} +1 -1
- package/dist/Badge.js +1 -1
- package/dist/{Breadcrumbs-BP5QXVje.js → Breadcrumbs-DJbCkSeD.js} +35 -5
- package/dist/Breadcrumbs-DJbCkSeD.js.map +1 -0
- package/dist/Breadcrumbs.js +1 -1
- package/dist/{Button-C-QpfgfF-CRBE7KiD.js → Button-BaHFf1AT-BQy-PFB5.js} +3 -3
- package/dist/{Button-C-QpfgfF-CRBE7KiD.js.map → Button-BaHFf1AT-BQy-PFB5.js.map} +1 -1
- package/dist/{Button-NTFmgcbr.js → Button-DMQKV2sV.js} +4 -3
- package/dist/Button-DMQKV2sV.js.map +1 -0
- package/dist/Button.js +1 -1
- package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js → ButtonCompound-Cs2A5X-Z-Dl3InVab.js} +2 -2
- package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js.map → ButtonCompound-Cs2A5X-Z-Dl3InVab.js.map} +1 -1
- package/dist/{ButtonCompound-DlgIyoB9.js → ButtonCompound-DGuF0zzT.js} +3 -2
- package/dist/ButtonCompound-DGuF0zzT.js.map +1 -0
- package/dist/ButtonCompound.js +1 -1
- package/dist/{ButtonLink-CSaxjhI2-KLVGwWjE.js → ButtonLink-5qlX0uZx-b9H7MGhk.js} +6 -4
- package/dist/ButtonLink-5qlX0uZx-b9H7MGhk.js.map +1 -0
- package/dist/{ButtonLink-B_uUWBLY.js → ButtonLink-B0NJuVk5.js} +4 -3
- package/dist/ButtonLink-B0NJuVk5.js.map +1 -0
- package/dist/ButtonLink.js +1 -1
- package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js → ButtonToggle-Bm4KRl3o-B1-LbfjY.js} +3 -3
- package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js.map → ButtonToggle-Bm4KRl3o-B1-LbfjY.js.map} +1 -1
- package/dist/{ButtonToggle-D3tcTRq9.js → ButtonToggle-CKVyEODc.js} +3 -2
- package/dist/ButtonToggle-CKVyEODc.js.map +1 -0
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js → Calendar-CohGSWFp-DFYJkf7Y.js} +9 -9
- package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js.map → Calendar-CohGSWFp-DFYJkf7Y.js.map} +1 -1
- package/dist/Calendar-jl0s6W7p.js +130 -0
- package/dist/Calendar-jl0s6W7p.js.map +1 -0
- package/dist/Calendar.js +1 -1
- package/dist/{Card-DgxiRqS_.js → Card-U2IJPk8B.js} +3 -2
- package/dist/Card-U2IJPk8B.js.map +1 -0
- package/dist/{Card-BNT0qpxt-OPUNKZW6.js → Card-ZknG-yim-7W6rYSFV.js} +3 -3
- package/dist/{Card-BNT0qpxt-OPUNKZW6.js.map → Card-ZknG-yim-7W6rYSFV.js.map} +1 -1
- package/dist/Card.js +1 -1
- package/dist/{Checkbox-BIlp8xmW.js → Checkbox-DbDwtefR.js} +25 -2
- package/dist/Checkbox-DbDwtefR.js.map +1 -0
- package/dist/{Checkbox-CRurfeRE-BR_NXfh6.js → Checkbox-TIcImbEx-EgjesTNn.js} +6 -5
- package/dist/Checkbox-TIcImbEx-EgjesTNn.js.map +1 -0
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-BQ58RQ3v.js → Chip-BlLavyIK.js} +2 -2
- package/dist/Chip-BlLavyIK.js.map +1 -0
- package/dist/{Chip-DwiMFYBm-CIDM1d8e.js → Chip-_daV8CmM-CTke7zH4.js} +5 -5
- package/dist/{Chip-DwiMFYBm-CIDM1d8e.js.map → Chip-_daV8CmM-CTke7zH4.js.map} +1 -1
- package/dist/Chip.js +1 -1
- package/dist/{Combobox-Dde7-7tv.js → Combobox-7ADxZKDE.js} +187 -24
- package/dist/Combobox-7ADxZKDE.js.map +1 -0
- package/dist/Combobox.js +1 -1
- package/dist/{DateField-D-eVP6xh.js → DateField-CUO_26rh.js} +18 -13
- package/dist/DateField-CUO_26rh.js.map +1 -0
- package/dist/DateField.js +1 -1
- package/dist/{DaysOfTheWeek-Dz-aZ-LW.js → DaysOfTheWeek-CEKoAJSv.js} +7 -7
- package/dist/DaysOfTheWeek-CEKoAJSv.js.map +1 -0
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Details-ChZdA5Yo.js → Details-DVg0EOkv.js} +51 -3
- package/dist/Details-DVg0EOkv.js.map +1 -0
- package/dist/Details.js +1 -1
- package/dist/{Dialog-DJhN8QWP.js → Dialog-D6zpW-GE.js} +125 -4
- package/dist/Dialog-D6zpW-GE.js.map +1 -0
- package/dist/Dialog.js +1 -1
- package/dist/{Divider-Crum3dyV.js → Divider-CN36wX4s.js} +3 -2
- package/dist/Divider-CN36wX4s.js.map +1 -0
- package/dist/Divider.js +1 -1
- package/dist/Dnd.js +1 -1
- package/dist/{DndSort-Dy_D1EnT.js → DndSort-Cl0FCNQm.js} +6 -6
- package/dist/{DndSort-Dy_D1EnT.js.map → DndSort-Cl0FCNQm.js.map} +1 -1
- package/dist/DndSort.js +1 -1
- package/dist/Drawer-qb7Q0BAm.js +142 -0
- package/dist/Drawer-qb7Q0BAm.js.map +1 -0
- package/dist/Drawer.js +1 -1
- package/dist/{EditCard-BNwoKJ_6.js → EditCard-C0hD1VPA.js} +7 -6
- package/dist/EditCard-C0hD1VPA.js.map +1 -0
- package/dist/EditCard.js +1 -1
- package/dist/{FieldMessage-CERWyhwG.js → FieldMessage-Cg3zcgk5.js} +2 -2
- package/dist/FieldMessage-Cg3zcgk5.js.map +1 -0
- package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js → FieldMessage-ChFXWVDb-loVSCnCM.js} +3 -3
- package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js.map → FieldMessage-ChFXWVDb-loVSCnCM.js.map} +1 -1
- package/dist/FieldMessage.js +1 -1
- package/dist/{Flex-EX9xObMl-BPBQ7nb5.js → Flex-CiK7uNUu-BfxHG4L0.js} +3 -3
- package/dist/{Flex-EX9xObMl-BPBQ7nb5.js.map → Flex-CiK7uNUu-BfxHG4L0.js.map} +1 -1
- package/dist/{Flex-DT1l-wJc.js → Flex-Ln6PmaDl.js} +3 -2
- package/dist/Flex-Ln6PmaDl.js.map +1 -0
- package/dist/Flex.js +1 -1
- package/dist/Grid-CMcDeSYT.js +33 -0
- package/dist/Grid-CMcDeSYT.js.map +1 -0
- package/dist/{Grid-BmNHm7Fa.js → Grid-DFAd8mTe.js} +2 -2
- package/dist/{Grid-BmNHm7Fa.js.map → Grid-DFAd8mTe.js.map} +1 -1
- package/dist/Grid.js +1 -1
- package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js → HammerProvider-CYP98rq3-Dd9GVIyP.js} +3 -3
- package/dist/{HammerProvider-BEJW4XcH-BBKdl0zs.js.map → HammerProvider-CYP98rq3-Dd9GVIyP.js.map} +1 -1
- package/dist/Helper-C9sHaTrI-C5fAsK6i.js +46 -0
- package/dist/Helper-C9sHaTrI-C5fAsK6i.js.map +1 -0
- package/dist/Helper-C9sHaTrI.css +21 -0
- package/dist/{Icon-BrdmZw1i-CG-LzgEz.js → Icon-B6HmlQiR-BxQkO3X5.js} +3 -3
- package/dist/{Icon-BrdmZw1i-CG-LzgEz.js.map → Icon-B6HmlQiR-BxQkO3X5.js.map} +1 -1
- package/dist/{Icon-CcUV8glf.js → Icon-BgKqBmlj.js} +3 -2
- package/dist/Icon-BgKqBmlj.js.map +1 -0
- package/dist/Icon.js +1 -1
- package/dist/{InputMask-CeqX68uX.js → InputMask-DKPqOpHs.js} +3 -2
- package/dist/InputMask-DKPqOpHs.js.map +1 -0
- package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js +231 -0
- package/dist/InputMask-kJ-hlK0O-Ctwa0U7r.js.map +1 -0
- package/dist/InputMask.js +1 -1
- package/dist/Layout-CUUb2PVr.js.map +1 -1
- package/dist/{Link-K3nk4QAp.js → Link-DZa0wmkA.js} +3 -3
- package/dist/Link-DZa0wmkA.js.map +1 -0
- package/dist/{Link-CVN5Mwtx-B08PO1ef.js → Link-Dqp_XXl_-Bv20l_tY.js} +4 -4
- package/dist/{Link-CVN5Mwtx-B08PO1ef.js.map → Link-Dqp_XXl_-Bv20l_tY.js.map} +1 -1
- package/dist/Link.js +1 -1
- package/dist/{ListView-zlg5FlKW.js → ListView-0xHc5wT6.js} +87 -47
- package/dist/ListView-0xHc5wT6.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-DLlT8qbJ-BvhkfmIf.js → Listbox-BvJLSAVO-Br5k6fmq.js} +51 -10
- package/dist/Listbox-BvJLSAVO-Br5k6fmq.js.map +1 -0
- package/dist/Listbox-dVARiucB.js +67 -0
- package/dist/Listbox-dVARiucB.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js} +2 -2
- package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js.map → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js.map} +1 -1
- package/dist/LocalizationProvider.js +1 -1
- package/dist/{Menu-BjzTwENs.js → Menu-BAuADOyt.js} +60 -10
- package/dist/Menu-BAuADOyt.js.map +1 -0
- package/dist/Menu.js +1 -1
- package/dist/{Overflow-vc1mxjUD.js → Overflow-B6rIOkAI.js} +27 -2
- package/dist/Overflow-B6rIOkAI.js.map +1 -0
- package/dist/{Overflow-ENfRRD_5-DLHLZ02e.js → Overflow-BrXwlYpn-CtqaiNgb.js} +25 -4
- package/dist/Overflow-BrXwlYpn-CtqaiNgb.js.map +1 -0
- package/dist/Overflow.js +1 -1
- package/dist/{Page-CSM-a2UE.js → Page-CtwsyE3i.js} +131 -15
- package/dist/Page-CtwsyE3i.js.map +1 -0
- package/dist/Page.js +1 -1
- package/dist/Popover-Bnkwq99S.js +135 -0
- package/dist/Popover-Bnkwq99S.js.map +1 -0
- package/dist/{Popover-CpyYXmal-I-E-B4u8.js → Popover-VztF0YHt-ci3tYiye.js} +80 -8
- package/dist/Popover-VztF0YHt-ci3tYiye.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/{ProgressBar-B25Wxpaf.js → ProgressBar-BotOFymw.js} +3 -2
- package/dist/ProgressBar-BotOFymw.js.map +1 -0
- package/dist/{ProgressBar-CeClhdcf-Dcft7ZjO.js → ProgressBar-Cfi5zZRy-BpESsdh_.js} +164 -99
- package/dist/ProgressBar-Cfi5zZRy-BpESsdh_.js.map +1 -0
- package/dist/ProgressBar-Cfi5zZRy.css +671 -0
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-BlMDLvPw-DUeywcYR.js → Radio-7U7IBI58-BDhdZJoC.js} +25 -5
- package/dist/Radio-7U7IBI58-BDhdZJoC.js.map +1 -0
- package/dist/Radio-D4rRt1a6.js +66 -0
- package/dist/Radio-D4rRt1a6.js.map +1 -0
- package/dist/Radio.js +1 -1
- package/dist/{SearchField-D3z4LjJg.js → SearchField-Bz4HPxCQ.js} +5 -4
- package/dist/SearchField-Bz4HPxCQ.js.map +1 -0
- package/dist/SearchField.js +1 -1
- package/dist/{SegmentedControl-D_ADGpVy.js → SegmentedControl-DKMQuf7s.js} +41 -2
- package/dist/SegmentedControl-DKMQuf7s.js.map +1 -0
- package/dist/SegmentedControl.js +1 -1
- package/dist/{SelectCard-D26y01WZ-BWN9G09J.js → SelectCard-B5EqtxOK-CpCgVjV8.js} +46 -17
- package/dist/SelectCard-B5EqtxOK-CpCgVjV8.js.map +1 -0
- package/dist/SelectCard.js +1 -1
- package/dist/SelectCardGroup-DsHZgCqA.js +49 -0
- package/dist/SelectCardGroup-DsHZgCqA.js.map +1 -0
- package/dist/{SideNav-C7wc1_JK.js → SideNav-DEoGpeqJ.js} +130 -10
- package/dist/SideNav-DEoGpeqJ.js.map +1 -0
- package/dist/SideNav.js +1 -1
- package/dist/Skeleton-COxTdwjO.js +398 -0
- package/dist/Skeleton-COxTdwjO.js.map +1 -0
- package/dist/Skeleton.js +1 -1
- package/dist/{Spinner-Bc5-_6pK.js → Spinner-C1r3COiQ.js} +2 -1
- package/dist/Spinner-C1r3COiQ.js.map +1 -0
- package/dist/Spinner.js +1 -1
- package/dist/SrOnly-C_I8eH4C.js.map +1 -1
- package/dist/{Stepper-Bp0w8eRW.js → Stepper-CwIV7ZiT.js} +281 -6
- package/dist/Stepper-CwIV7ZiT.js.map +1 -0
- package/dist/Stepper.js +1 -1
- package/dist/{Switch-BbHIwrGc.js → Switch-Dd9tJFmG.js} +20 -10
- package/dist/Switch-Dd9tJFmG.js.map +1 -0
- package/dist/Switch.css +23 -24
- package/dist/Switch.js +1 -1
- package/dist/{Tab-DcOQTX5Z.js → Tab-BSC7e4rM.js} +127 -10
- package/dist/Tab-BSC7e4rM.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/{Text-BDYfD8j4.js → Text-B91g6xKn.js} +3 -2
- package/dist/Text-B91g6xKn.js.map +1 -0
- package/dist/{Text-CN_-FF7J-Dzoy8A70.js → Text-DCvcLCvf-DlmnnjTR.js} +3 -3
- package/dist/{Text-CN_-FF7J-Dzoy8A70.js.map → Text-DCvcLCvf-DlmnnjTR.js.map} +1 -1
- package/dist/Text.js +1 -1
- package/dist/{TextField-Ds9EKvSs.js → TextField-BYyyw3m2.js} +3 -2
- package/dist/{TextField-Ds9EKvSs.js.map → TextField-BYyyw3m2.js.map} +1 -1
- package/dist/{TextField-Bp1q4hMI-2jGZG2k2.js → TextField-CGJtMoil-CJqYM83o.js} +4 -3
- package/dist/TextField-CGJtMoil-CJqYM83o.js.map +1 -0
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-CMELRfU8.js → Textarea-AczEXhHB.js} +5 -3
- package/dist/Textarea-AczEXhHB.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/{ThemeProvider-D2x18Y1l.js → ThemeProvider-BKave7Ha.js} +2 -2
- package/dist/{ThemeProvider-D2x18Y1l.js.map → ThemeProvider-BKave7Ha.js.map} +1 -1
- package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js → ThemeProvider-CR67FJg0-DYVRlJRA.js} +3 -3
- package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js.map → ThemeProvider-CR67FJg0-DYVRlJRA.js.map} +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/Toast.js +1 -1
- package/dist/{Toolbar-CYwR6GQG.js → Toolbar-Cu3u0TRX.js} +183 -14
- package/dist/Toolbar-Cu3u0TRX.js.map +1 -0
- package/dist/Toolbar.css +1 -11
- package/dist/Toolbar.js +1 -1
- package/dist/Tooltip-BL_bgvwA.js +73 -0
- package/dist/Tooltip-BL_bgvwA.js.map +1 -0
- package/dist/Tooltip.js +1 -1
- package/dist/assets/icons/st/insurance_work_queue.svg +1 -0
- package/dist/assets/icons/st/production_work_queue.svg +1 -0
- package/dist/assets/icons/st.ts +2 -0
- package/dist/components/Alert/Alert.d.ts +37 -0
- package/dist/components/Announcement/Announcement.d.ts +37 -0
- package/dist/components/Avatar/Avatar.d.ts +73 -0
- package/dist/components/Badge/Badge.d.ts +27 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +39 -0
- package/dist/components/Button/Button.d.ts +28 -0
- package/dist/components/ButtonCompound/ButtonCompound.d.ts +24 -0
- package/dist/components/ButtonLink/ButtonLink.d.ts +30 -0
- package/dist/components/ButtonToggle/ButtonToggle.d.ts +32 -0
- package/dist/components/Calendar/Calendar.d.ts +114 -0
- package/dist/components/Card/Card.d.ts +24 -0
- package/dist/components/Checkbox/Checkbox.d.ts +77 -0
- package/dist/components/Chip/Chip.d.ts +34 -0
- package/dist/components/Combobox/Combobox.d.ts +442 -2
- package/dist/components/DateField/DateField.d.ts +65 -0
- package/dist/components/DaysOfTheWeek/DaysOfTheWeek.d.ts +44 -6
- package/dist/components/Details/Details.d.ts +68 -0
- package/dist/components/Dialog/Dialog.d.ts +178 -0
- package/dist/components/Divider/Divider.d.ts +24 -0
- package/dist/components/Drawer/Drawer.d.ts +200 -0
- package/dist/components/EditCard/EditCard.d.ts +50 -0
- package/dist/components/FieldMessage/FieldMessage.d.ts +31 -0
- package/dist/components/Flex/Flex.d.ts +48 -0
- package/dist/components/Grid/Grid.d.ts +74 -0
- package/dist/components/Icon/Icon.d.ts +39 -0
- package/dist/components/InputMask/InputMask.d.ts +57 -0
- package/dist/components/Layout/Layout.d.ts +131 -0
- package/dist/components/Link/Link.d.ts +47 -0
- package/dist/components/ListView/ListView.d.ts +85 -0
- package/dist/components/Listbox/Listbox.d.ts +124 -0
- package/dist/components/Menu/Menu.d.ts +85 -1
- package/dist/components/Overflow/Overflow.d.ts +84 -0
- package/dist/components/Page/Page.d.ts +443 -0
- package/dist/components/Popover/Popover.d.ts +268 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +52 -0
- package/dist/components/Radio/Radio.d.ts +121 -0
- package/dist/components/SearchField/SearchField.d.ts +37 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +98 -0
- package/dist/components/SelectCard/SelectCard.d.ts +60 -0
- package/dist/components/SelectCard/SelectCardGroup.d.ts +37 -0
- package/dist/components/SideNav/SideNav.d.ts +192 -2
- package/dist/components/SideNav/SideNavProvider.d.ts +30 -0
- package/dist/components/Skeleton/Skeleton.d.ts +130 -0
- package/dist/components/Spinner/Spinner.d.ts +25 -0
- package/dist/components/SrOnly/SrOnly.d.ts +19 -0
- package/dist/components/Stepper/Stepper.d.ts +335 -0
- package/dist/components/Switch/Switch.d.ts +33 -0
- package/dist/components/Tab/Tab.d.ts +152 -0
- package/dist/components/Text/Text.d.ts +37 -0
- package/dist/components/Textarea/Textarea.d.ts +50 -0
- package/dist/components/Toast/Toaster.d.ts +43 -0
- package/dist/components/Toast/toast.d.ts +31 -0
- package/dist/components/Toolbar/Toolbar.d.ts +251 -0
- package/dist/components/Tooltip/Tooltip.d.ts +123 -0
- package/dist/{floating-ui.react-Domgunz0.js → floating-ui.react-BFNinq1w.js} +2 -2
- package/dist/{floating-ui.react-Domgunz0.js.map → floating-ui.react-BFNinq1w.js.map} +1 -1
- package/dist/hooks/useSize/index.d.ts +15 -0
- package/dist/hooks/useTrackingId/index.d.ts +19 -0
- package/dist/{index-CdSSO4ct-elKOdXPf.js → index-CKfiQx8n-4nziUo7G.js} +4 -4
- package/dist/{index-CdSSO4ct-elKOdXPf.js.map → index-CKfiQx8n-4nziUo7G.js.map} +1 -1
- package/dist/index.js +57 -57
- package/dist/{toast-C-6NdR43.js → toast-B39L6vJ0.js} +3 -3
- package/dist/toast-B39L6vJ0.js.map +1 -0
- package/dist/{useLayoutPropsUtil-GT5myWCm-Clw_nEze.js → useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js} +6 -4
- package/dist/useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js.map +1 -0
- package/dist/useLinkStyles.js +1 -1
- package/dist/useSize.js.map +1 -1
- package/dist/{useSwipe-DIUHs7T5-DIUHs7T5.js → useSwipe-CULmVQEk-CULmVQEk.js} +2 -2
- package/dist/useSwipe-CULmVQEk-CULmVQEk.js.map +1 -0
- package/dist/useSwipe.js +1 -1
- package/dist/useTrackingId.js.map +1 -1
- package/package.json +3 -2
- package/dist/Alert-BsFFiu7g.js.map +0 -1
- package/dist/Announcement-BawOyXV3.js.map +0 -1
- package/dist/Avatar-C2IfIAxL-BUio7c00.js.map +0 -1
- package/dist/Avatar-DYCN2A_l.js +0 -20
- package/dist/Avatar-DYCN2A_l.js.map +0 -1
- package/dist/Breadcrumbs-BP5QXVje.js.map +0 -1
- package/dist/Button-NTFmgcbr.js.map +0 -1
- package/dist/Button2.css +0 -8
- package/dist/ButtonCompound-DlgIyoB9.js.map +0 -1
- package/dist/ButtonLink-B_uUWBLY.js.map +0 -1
- package/dist/ButtonLink-CSaxjhI2-KLVGwWjE.js.map +0 -1
- package/dist/ButtonLink.css +0 -10
- package/dist/ButtonToggle-D3tcTRq9.js.map +0 -1
- package/dist/Calendar-B4MO-Uhv.js +0 -57
- package/dist/Calendar-B4MO-Uhv.js.map +0 -1
- package/dist/Card-DgxiRqS_.js.map +0 -1
- package/dist/Checkbox-BIlp8xmW.js.map +0 -1
- package/dist/Checkbox-CRurfeRE-BR_NXfh6.js.map +0 -1
- package/dist/Chip-BQ58RQ3v.js.map +0 -1
- package/dist/Combobox-Dde7-7tv.js.map +0 -1
- package/dist/DateField-D-eVP6xh.js.map +0 -1
- package/dist/DaysOfTheWeek-Dz-aZ-LW.js.map +0 -1
- package/dist/Details-ChZdA5Yo.js.map +0 -1
- package/dist/Dialog-DJhN8QWP.js.map +0 -1
- package/dist/Divider-Crum3dyV.js.map +0 -1
- package/dist/Drawer-BFfakO8h.js +0 -66
- package/dist/Drawer-BFfakO8h.js.map +0 -1
- package/dist/EditCard-BNwoKJ_6.js.map +0 -1
- package/dist/FieldMessage-CERWyhwG.js.map +0 -1
- package/dist/Flex-DT1l-wJc.js.map +0 -1
- package/dist/Grid-h9VbEjJe.js +0 -14
- package/dist/Grid-h9VbEjJe.js.map +0 -1
- package/dist/Icon-CcUV8glf.js.map +0 -1
- package/dist/InputMask-CeqX68uX.js.map +0 -1
- package/dist/InputMask-DfpkWGmY-D8QEut94.js +0 -323
- package/dist/InputMask-DfpkWGmY-D8QEut94.js.map +0 -1
- package/dist/Link-K3nk4QAp.js.map +0 -1
- package/dist/ListView-zlg5FlKW.js.map +0 -1
- package/dist/Listbox-36Mda5DS.js +0 -37
- package/dist/Listbox-36Mda5DS.js.map +0 -1
- package/dist/Listbox-DLlT8qbJ-BvhkfmIf.js.map +0 -1
- package/dist/Menu-BjzTwENs.js.map +0 -1
- package/dist/Overflow-ENfRRD_5-DLHLZ02e.js.map +0 -1
- package/dist/Overflow-vc1mxjUD.js.map +0 -1
- package/dist/Page-CSM-a2UE.js.map +0 -1
- package/dist/Popover-CpyYXmal-I-E-B4u8.js.map +0 -1
- package/dist/Popover-a81z9wSj.js +0 -56
- package/dist/Popover-a81z9wSj.js.map +0 -1
- package/dist/ProgressBar-B25Wxpaf.js.map +0 -1
- package/dist/ProgressBar-CeClhdcf-Dcft7ZjO.js.map +0 -1
- package/dist/ProgressBar-CeClhdcf.css +0 -666
- package/dist/Radio-BlMDLvPw-DUeywcYR.js.map +0 -1
- package/dist/Radio-D3CqAXiM.js +0 -34
- package/dist/Radio-D3CqAXiM.js.map +0 -1
- package/dist/SearchField-D3z4LjJg.js.map +0 -1
- package/dist/SegmentedControl-D_ADGpVy.js.map +0 -1
- package/dist/SelectCard-D26y01WZ-BWN9G09J.js.map +0 -1
- package/dist/SelectCardGroup-DxA6P-Q7.js +0 -21
- package/dist/SelectCardGroup-DxA6P-Q7.js.map +0 -1
- package/dist/SideNav-C7wc1_JK.js.map +0 -1
- package/dist/Skeleton-CdzDKQi4.js +0 -215
- package/dist/Skeleton-CdzDKQi4.js.map +0 -1
- package/dist/Spinner-Bc5-_6pK.js.map +0 -1
- package/dist/Stepper-Bp0w8eRW.js.map +0 -1
- package/dist/Switch-BbHIwrGc.js.map +0 -1
- package/dist/Tab-DcOQTX5Z.js.map +0 -1
- package/dist/Text-BDYfD8j4.js.map +0 -1
- package/dist/TextField-Bp1q4hMI-2jGZG2k2.js.map +0 -1
- package/dist/Textarea-CMELRfU8.js.map +0 -1
- package/dist/Toolbar-CYwR6GQG.js.map +0 -1
- package/dist/Tooltip-C-UNrFz3.js +0 -34
- package/dist/Tooltip-C-UNrFz3.js.map +0 -1
- package/dist/toast-C-6NdR43.js.map +0 -1
- package/dist/useLayoutPropsUtil-GT5myWCm-Clw_nEze.js.map +0 -1
- package/dist/useSwipe-DIUHs7T5-DIUHs7T5.js.map +0 -1
- /package/dist/{Alert-DMk5bG5T.css → Alert-C3WoRkeN.css} +0 -0
- /package/dist/{Avatar-C2IfIAxL.css → Avatar-B20IdOEO.css} +0 -0
- /package/dist/{Calendar-Bn00Dnc-.css → Calendar-CohGSWFp.css} +0 -0
- /package/dist/{Card-BNT0qpxt.css → Card-ZknG-yim.css} +0 -0
- /package/dist/{Chip-DwiMFYBm.css → Chip-_daV8CmM.css} +0 -0
- /package/dist/{FieldMessage-Js4e1ezw.css → FieldMessage-ChFXWVDb.css} +0 -0
- /package/dist/{Flex-EX9xObMl.css → Flex-CiK7uNUu.css} +0 -0
- /package/dist/{Icon-BrdmZw1i.css → Icon-B6HmlQiR.css} +0 -0
- /package/dist/{Link-CVN5Mwtx.css → Link-Dqp_XXl_.css} +0 -0
- /package/dist/{Overflow-ENfRRD_5.css → Overflow-BrXwlYpn.css} +0 -0
- /package/dist/{Popover-CpyYXmal.css → Popover-VztF0YHt.css} +0 -0
- /package/dist/{Radio-BlMDLvPw.css → Radio-7U7IBI58.css} +0 -0
- /package/dist/{SelectCard-D26y01WZ.css → SelectCard-B5EqtxOK.css} +0 -0
- /package/dist/{Text-CN_-FF7J.css → Text-DCvcLCvf.css} +0 -0
- /package/dist/{ThemeProvider-BIeaAmWx.css → ThemeProvider-CR67FJg0.css} +0 -0
- /package/dist/{index-CdSSO4ct.css → index-CKfiQx8n.css} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
2
2
|
import { useState, useRef, useEffect, forwardRef, useId, createContext, useContext, useCallback, useMemo, cloneElement, isValidElement, Fragment as Fragment$1, useLayoutEffect } from 'react';
|
|
3
3
|
import { c as cx } from './index-tZvMCc77.js';
|
|
4
|
-
import { I as Icon } from './Icon-
|
|
4
|
+
import { I as Icon } from './Icon-B6HmlQiR-BxQkO3X5.js';
|
|
5
5
|
import { a as SvgCheckCircle, S as SvgError, b as SvgInfo } from './check_circle-BGfigqq-.js';
|
|
6
|
-
import {
|
|
6
|
+
import { B as tabbable, C as useDelayGroup, F as FloatingPortal, b as FloatingArrow, p as computePosition, n as autoUpdate, o as offset, f as flip, d as shift, e as arrow$1, l as limitShift, D as useDelayGroupContext, c as useFloating, h as useHover, i as safePolygon, E as useFocus, j as useDismiss, k as useRole, m as useInteractions } from './floating-ui.react-BFNinq1w.js';
|
|
7
7
|
import { a as PortalProviderContext } from './PortalProvider-9lXkQ0xY-BKoGegS1.js';
|
|
8
8
|
import { S as SvgClose } from './close-DZj38AEh.js';
|
|
9
|
-
import { T as Text } from './Text-
|
|
10
|
-
import { B as Button } from './Button-
|
|
11
|
-
import { A as Alert } from './Alert-
|
|
12
|
-
import { F as Flex } from './Flex-
|
|
13
|
-
import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-
|
|
14
|
-
import {
|
|
9
|
+
import { T as Text } from './Text-DCvcLCvf-DlmnnjTR.js';
|
|
10
|
+
import { B as Button } from './Button-BaHFf1AT-BQy-PFB5.js';
|
|
11
|
+
import { A as Alert } from './Alert-C3WoRkeN-D_6Yf63F.js';
|
|
12
|
+
import { F as Flex } from './Flex-CiK7uNUu-BfxHG4L0.js';
|
|
13
|
+
import { u as useLayoutPropsUtil } from './useLayoutPropsUtil-DWACCL8v-CZNrcQT-.js';
|
|
14
|
+
import { H as Helper } from './Helper-C9sHaTrI-C5fAsK6i.js';
|
|
15
|
+
import { u as useSwipe } from './useSwipe-CULmVQEk-CULmVQEk.js';
|
|
15
16
|
import { S as SrOnly } from './SrOnly-BsKDHetF-B93X65F1.js';
|
|
16
|
-
import { u as useSwipe } from './useSwipe-DIUHs7T5-DIUHs7T5.js';
|
|
17
17
|
import { u as useMergeRefs } from './useMergeRefs-Bde85AWI-Bde85AWI.js';
|
|
18
|
-
import { T as ThemeProvider, a as ThemeProviderContext } from './ThemeProvider-
|
|
18
|
+
import { T as ThemeProvider, a as ThemeProviderContext } from './ThemeProvider-CR67FJg0-DYVRlJRA.js';
|
|
19
19
|
import { g as getKeyboardFocusableElements } from './getKeyboardFocusableElements-QqcABz0D.js';
|
|
20
|
-
import { u as useTooltipLegacyGroup } from './HammerProvider-
|
|
20
|
+
import { u as useTooltipLegacyGroup } from './HammerProvider-CYP98rq3-Dd9GVIyP.js';
|
|
21
21
|
|
|
22
|
-
import './ProgressBar-
|
|
22
|
+
import './ProgressBar-Cfi5zZRy.css';/**
|
|
23
23
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
24
24
|
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
25
25
|
*/
|
|
@@ -144,7 +144,7 @@ const getActiveElement = (activeDocument) => {
|
|
|
144
144
|
|
|
145
145
|
const label = "_label_jfzvd_2";
|
|
146
146
|
const required = "_required_jfzvd_46";
|
|
147
|
-
const styles$
|
|
147
|
+
const styles$5 = {
|
|
148
148
|
label: label,
|
|
149
149
|
"top-container": "_top-container_jfzvd_37",
|
|
150
150
|
"label-text": "_label-text_jfzvd_42",
|
|
@@ -157,7 +157,7 @@ const content$1 = "_content_1tuax_2";
|
|
|
157
157
|
const scroller = "_scroller_1tuax_29";
|
|
158
158
|
const arrow = "_arrow_1tuax_32";
|
|
159
159
|
const trigger = "_trigger_1tuax_39";
|
|
160
|
-
const styles$
|
|
160
|
+
const styles$4 = {
|
|
161
161
|
content: content$1,
|
|
162
162
|
scroller: scroller,
|
|
163
163
|
arrow: arrow,
|
|
@@ -257,7 +257,7 @@ const useTooltipLegacyContext = () => {
|
|
|
257
257
|
return context;
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
const styles$
|
|
260
|
+
const styles$3 = {
|
|
261
261
|
"content-legacy": "_content-legacy_3w3om_3",
|
|
262
262
|
"arrow-legacy": "_arrow-legacy_3w3om_29",
|
|
263
263
|
"trigger-legacy": "_trigger-legacy_3w3om_32"
|
|
@@ -349,7 +349,7 @@ const ToastProvider = ({
|
|
|
349
349
|
}, [isDialogToasterProp]);
|
|
350
350
|
const getToastStackHeight = useCallback(
|
|
351
351
|
(index) => {
|
|
352
|
-
const toastHeightsOnly = toastHeights.filter((
|
|
352
|
+
const toastHeightsOnly = toastHeights.filter((_t, i) => {
|
|
353
353
|
return index !== void 0 ? i > index : true;
|
|
354
354
|
}).map((t) => t.height);
|
|
355
355
|
if (toastHeightsOnly.length > 0) {
|
|
@@ -358,7 +358,7 @@ const ToastProvider = ({
|
|
|
358
358
|
return totalHeight + currentHeight;
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
return toastHeightsOnly.filter((
|
|
361
|
+
return toastHeightsOnly.filter((_t, i) => i >= toastHeightsOnly.length - toastsBeforeStack).reduce((totalHeight, currentHeight) => {
|
|
362
362
|
return totalHeight + currentHeight;
|
|
363
363
|
});
|
|
364
364
|
}
|
|
@@ -404,7 +404,7 @@ const hidden = "_hidden_x2c3m_24";
|
|
|
404
404
|
const stacked = "_stacked_x2c3m_89";
|
|
405
405
|
const open = "_open_x2c3m_184";
|
|
406
406
|
const close = "_close_x2c3m_185";
|
|
407
|
-
const styles$
|
|
407
|
+
const styles$2 = {
|
|
408
408
|
popover: popover,
|
|
409
409
|
toaster: toaster,
|
|
410
410
|
hidden: hidden,
|
|
@@ -433,7 +433,7 @@ const useShowMoreButtonPositionStyles = () => {
|
|
|
433
433
|
const extraSpace = totalToasts > toastsBeforeStack + 1 ? "2rem" : "1rem";
|
|
434
434
|
const top = useMemo(() => {
|
|
435
435
|
if (totalToasts > toastsBeforeStack) {
|
|
436
|
-
return toastHeights.filter((
|
|
436
|
+
return toastHeights.filter((_t, i) => i >= totalToasts - toastsBeforeStack).map((t) => t.height).reduce((t, c) => t + c);
|
|
437
437
|
}
|
|
438
438
|
return "unset";
|
|
439
439
|
}, [toastHeights, toastsBeforeStack]);
|
|
@@ -671,7 +671,7 @@ const Toast = forwardRef(
|
|
|
671
671
|
...alertProps
|
|
672
672
|
}, ref) => {
|
|
673
673
|
const { setToastHeights, extraToastsVisible, isDialogToaster } = useToasts();
|
|
674
|
-
const closeToast = useCloseToast(styles$
|
|
674
|
+
const closeToast = useCloseToast(styles$2.close);
|
|
675
675
|
const toastPositionStyles = useToastPositionStyles(index);
|
|
676
676
|
const toastWrapperRef = useRef(null);
|
|
677
677
|
const timerRef = useRef();
|
|
@@ -679,18 +679,18 @@ const Toast = forwardRef(
|
|
|
679
679
|
const createdAtRef = useRef(createdAt ?? 0);
|
|
680
680
|
const hasBeenStackedRef = useRef(false);
|
|
681
681
|
const [transitionClass, setTransitionClass] = useState(
|
|
682
|
-
styles$
|
|
682
|
+
styles$2.hidden
|
|
683
683
|
);
|
|
684
684
|
const [toastOpened, setToastOpened] = useState(false);
|
|
685
685
|
const duration = actions ? false : durationProp;
|
|
686
686
|
const alertClasses = cx(
|
|
687
|
-
styles$
|
|
687
|
+
styles$2["toast-alert"],
|
|
688
688
|
toastClassName,
|
|
689
689
|
transitionClass
|
|
690
690
|
);
|
|
691
691
|
useEffect(() => {
|
|
692
692
|
if (!toastOpened) {
|
|
693
|
-
setTransitionClass(styles$
|
|
693
|
+
setTransitionClass(styles$2.open);
|
|
694
694
|
setTimeout(() => {
|
|
695
695
|
setTransitionClass(void 0);
|
|
696
696
|
}, ANIMATION_DURATION);
|
|
@@ -799,7 +799,7 @@ const Toast = forwardRef(
|
|
|
799
799
|
hasMessage ? /* @__PURE__ */ jsx(
|
|
800
800
|
"div",
|
|
801
801
|
{
|
|
802
|
-
className: styles$
|
|
802
|
+
className: styles$2["message-container"],
|
|
803
803
|
id: `toast-message-${alertProps.id}`,
|
|
804
804
|
children: message
|
|
805
805
|
}
|
|
@@ -817,7 +817,7 @@ const Toast = forwardRef(
|
|
|
817
817
|
value: progress
|
|
818
818
|
}
|
|
819
819
|
) }) : null,
|
|
820
|
-
actions ? /* @__PURE__ */ jsxs("div", { className: styles$
|
|
820
|
+
actions ? /* @__PURE__ */ jsxs("div", { className: styles$2["alert-action"], children: [
|
|
821
821
|
/* @__PURE__ */ jsx(
|
|
822
822
|
Button,
|
|
823
823
|
{
|
|
@@ -846,45 +846,6 @@ const Toast = forwardRef(
|
|
|
846
846
|
);
|
|
847
847
|
Toast.displayName = "Toast";
|
|
848
848
|
|
|
849
|
-
const helper = "_helper_157uk_1";
|
|
850
|
-
const messages = "_messages_157uk_8";
|
|
851
|
-
const styles$2 = {
|
|
852
|
-
helper: helper,
|
|
853
|
-
messages: messages};
|
|
854
|
-
|
|
855
|
-
const Helper = forwardRef((props, ref) => {
|
|
856
|
-
const {
|
|
857
|
-
id,
|
|
858
|
-
hint,
|
|
859
|
-
description,
|
|
860
|
-
errorAriaLive = "assertive",
|
|
861
|
-
errorMessage,
|
|
862
|
-
maxLength,
|
|
863
|
-
isTyping,
|
|
864
|
-
inputLength = 0,
|
|
865
|
-
showCounter
|
|
866
|
-
} = props;
|
|
867
|
-
return /* @__PURE__ */ jsxs("div", { className: styles$2["helper"], ref, id, children: [
|
|
868
|
-
/* @__PURE__ */ jsx(
|
|
869
|
-
FieldMessage,
|
|
870
|
-
{
|
|
871
|
-
className: styles$2["messages"],
|
|
872
|
-
hint,
|
|
873
|
-
description,
|
|
874
|
-
errorAriaLive,
|
|
875
|
-
errorMessage
|
|
876
|
-
}
|
|
877
|
-
),
|
|
878
|
-
showCounter ? /* @__PURE__ */ jsx("div", { className: styles$2["counter"], children: /* @__PURE__ */ jsxs("span", { "aria-hidden": "true", children: [
|
|
879
|
-
inputLength,
|
|
880
|
-
"/",
|
|
881
|
-
maxLength
|
|
882
|
-
] }) }) : null,
|
|
883
|
-
isTyping && !!maxLength ? maxLength - inputLength >= 1 ? /* @__PURE__ */ jsx(SrOnly, { children: /* @__PURE__ */ jsx("span", { "aria-live": "polite", "aria-atomic": "true", children: `${maxLength - inputLength} character${maxLength - inputLength !== 1 ? "s" : ""} left` }) }) : /* @__PURE__ */ jsx(SrOnly, { children: /* @__PURE__ */ jsx("span", { role: "alert", children: "Maximum characters count reached" }) }) : null
|
|
884
|
-
] });
|
|
885
|
-
});
|
|
886
|
-
Helper.displayName = "Helper";
|
|
887
|
-
|
|
888
849
|
function useHotkeyFocus({
|
|
889
850
|
disabled,
|
|
890
851
|
hotkey,
|
|
@@ -1043,10 +1004,10 @@ const ToastStack = forwardRef(
|
|
|
1043
1004
|
const showMoreButton = !extraToastsVisible && toastCount > toastsBeforeStack;
|
|
1044
1005
|
const extraToastsLength = toastCount - toastsBeforeStack;
|
|
1045
1006
|
const showMoreButtonText = `${extraToastsLength} more message${extraToastsLength > 1 ? "s" : ""}`;
|
|
1046
|
-
const toastStackClasses = cx(styles$
|
|
1047
|
-
[styles$
|
|
1048
|
-
[styles$
|
|
1049
|
-
[styles$
|
|
1007
|
+
const toastStackClasses = cx(styles$2["toast-stack"], className, {
|
|
1008
|
+
[styles$2["show-more-button"]]: showMoreButton,
|
|
1009
|
+
[styles$2["show-extra-toast"]]: extraToastsVisible,
|
|
1010
|
+
[styles$2["disable-animations"]]: disableAnimations
|
|
1050
1011
|
});
|
|
1051
1012
|
const handleToastStackFocusHover = () => {
|
|
1052
1013
|
if (toastPausedStatus === "resumed" || toastPausedStatus === void 0) {
|
|
@@ -1089,13 +1050,13 @@ const ToastStack = forwardRef(
|
|
|
1089
1050
|
const isStacked = !extraToastsVisible && index < toastCount - toastsBeforeStack;
|
|
1090
1051
|
const isLastToastDisplayed = index === toastCount - toastsBeforeStack;
|
|
1091
1052
|
const isHidden = index < toastCount - toastsBeforeStack - 2;
|
|
1092
|
-
const toastClasses = cx(styles$
|
|
1093
|
-
const toastContainerClasses = cx(styles$
|
|
1094
|
-
[styles$
|
|
1095
|
-
[styles$
|
|
1096
|
-
[styles$
|
|
1097
|
-
[styles$
|
|
1098
|
-
[styles$
|
|
1053
|
+
const toastClasses = cx(styles$2.toast, toastClassName);
|
|
1054
|
+
const toastContainerClasses = cx(styles$2["toast-wrapper"], {
|
|
1055
|
+
[styles$2.stacked]: isStacked || isLastToastDisplayed,
|
|
1056
|
+
[styles$2["stack-one"]]: isStacked && index === toastCount - toastsBeforeStack - 1,
|
|
1057
|
+
[styles$2["stack-two"]]: isStacked && index === toastCount - toastsBeforeStack - 2,
|
|
1058
|
+
[styles$2["stacked-extra"]]: isHidden,
|
|
1059
|
+
[styles$2["stacked-show-extra"]]: extraToastsVisible
|
|
1099
1060
|
});
|
|
1100
1061
|
const handleOnClose = (e) => {
|
|
1101
1062
|
onClose?.(e);
|
|
@@ -1122,12 +1083,12 @@ const ToastStack = forwardRef(
|
|
|
1122
1083
|
showMoreButton && /* @__PURE__ */ jsx(
|
|
1123
1084
|
"div",
|
|
1124
1085
|
{
|
|
1125
|
-
className: styles$
|
|
1086
|
+
className: styles$2["show-more-button-container"],
|
|
1126
1087
|
style: showMoreButtonPositionStyles,
|
|
1127
1088
|
children: /* @__PURE__ */ jsx(
|
|
1128
1089
|
Button,
|
|
1129
1090
|
{
|
|
1130
|
-
className: styles$
|
|
1091
|
+
className: styles$2["show-collapse-button"],
|
|
1131
1092
|
onClick: handleShowMoreButtonClick,
|
|
1132
1093
|
appearance: "secondary",
|
|
1133
1094
|
tabIndex: 0,
|
|
@@ -1144,10 +1105,10 @@ const ToastStack = forwardRef(
|
|
|
1144
1105
|
]
|
|
1145
1106
|
}
|
|
1146
1107
|
),
|
|
1147
|
-
extraToastsVisible && /* @__PURE__ */ jsx("div", { className: styles$
|
|
1108
|
+
extraToastsVisible && /* @__PURE__ */ jsx("div", { className: styles$2["show-collapse-button-container"], children: /* @__PURE__ */ jsx(
|
|
1148
1109
|
Button,
|
|
1149
1110
|
{
|
|
1150
|
-
className: styles$
|
|
1111
|
+
className: styles$2["show-collapse-button"],
|
|
1151
1112
|
onClick: handleToastStackBlur,
|
|
1152
1113
|
appearance: "secondary",
|
|
1153
1114
|
children: "Collapse Messages"
|
|
@@ -1207,7 +1168,7 @@ const ToasterPopover = forwardRef(
|
|
|
1207
1168
|
}
|
|
1208
1169
|
};
|
|
1209
1170
|
}, [toastCount, isDialogToaster]);
|
|
1210
|
-
return /* @__PURE__ */ jsx("div", { ref: combinedRef, className: styles$
|
|
1171
|
+
return /* @__PURE__ */ jsx("div", { ref: combinedRef, className: styles$2.popover, popover: "manual", children: props.children });
|
|
1211
1172
|
}
|
|
1212
1173
|
);
|
|
1213
1174
|
ToasterPopover.displayName = "ToasterPopover";
|
|
@@ -1275,7 +1236,7 @@ const ToasterContent = forwardRef(
|
|
|
1275
1236
|
});
|
|
1276
1237
|
dispatchEvent(DialogToasterEvent);
|
|
1277
1238
|
}, [isDialogToaster]);
|
|
1278
|
-
const closeToast = useCloseToast(styles$
|
|
1239
|
+
const closeToast = useCloseToast(styles$2.close);
|
|
1279
1240
|
useEffect(() => {
|
|
1280
1241
|
let timeout;
|
|
1281
1242
|
updateDialogToasterStorage(isDialogToaster);
|
|
@@ -1374,8 +1335,8 @@ const ToasterContent = forwardRef(
|
|
|
1374
1335
|
updateDialogToasterStorage(false);
|
|
1375
1336
|
};
|
|
1376
1337
|
}, []);
|
|
1377
|
-
const toasterClasses = cx(styles$
|
|
1378
|
-
[styles$
|
|
1338
|
+
const toasterClasses = cx(styles$2.toaster, {
|
|
1339
|
+
[styles$2["hidden"]]: shouldHideToaster,
|
|
1379
1340
|
[`${className}`]: className != null
|
|
1380
1341
|
});
|
|
1381
1342
|
return /* @__PURE__ */ jsx(
|
|
@@ -1731,9 +1692,78 @@ function useDrawerContext() {
|
|
|
1731
1692
|
}
|
|
1732
1693
|
DrawerElement.displayName = "Drawer";
|
|
1733
1694
|
const Drawer = Object.assign(DrawerElement, {
|
|
1695
|
+
/**
|
|
1696
|
+
* Header component for the drawer that displays a title and close button.
|
|
1697
|
+
*
|
|
1698
|
+
* Features:
|
|
1699
|
+
* - Displays the drawer title as a headline
|
|
1700
|
+
* - Includes an accessible close button
|
|
1701
|
+
* - Sticky positioning at the top of the drawer
|
|
1702
|
+
* - Proper semantic HTML structure
|
|
1703
|
+
* - Accessible with proper ARIA attributes
|
|
1704
|
+
* - Consistent styling with the design system
|
|
1705
|
+
* - Automatic close functionality
|
|
1706
|
+
*
|
|
1707
|
+
* @example
|
|
1708
|
+
* <Drawer.Header>Settings</Drawer.Header>
|
|
1709
|
+
*/
|
|
1734
1710
|
Header: DrawerHeader,
|
|
1711
|
+
/**
|
|
1712
|
+
* Footer component for the drawer that displays action buttons and controls.
|
|
1713
|
+
*
|
|
1714
|
+
* Features:
|
|
1715
|
+
* - Flexible layout for action buttons and controls
|
|
1716
|
+
* - Optional sticky positioning at the bottom
|
|
1717
|
+
* - Proper semantic HTML structure
|
|
1718
|
+
* - Accessible with proper ARIA attributes
|
|
1719
|
+
* - Consistent styling with the design system
|
|
1720
|
+
* - Supports all standard footer element props
|
|
1721
|
+
* - Responsive design that adapts to content
|
|
1722
|
+
*
|
|
1723
|
+
* @example
|
|
1724
|
+
* <Drawer.Footer sticky>
|
|
1725
|
+
* <Button onClick={handleSave}>Save</Button>
|
|
1726
|
+
* <Drawer.CancelButton>Cancel</Drawer.CancelButton>
|
|
1727
|
+
* </Drawer.Footer>
|
|
1728
|
+
*/
|
|
1735
1729
|
Footer: DrawerFooter,
|
|
1730
|
+
/**
|
|
1731
|
+
* Content container for the drawer that holds the main content area.
|
|
1732
|
+
*
|
|
1733
|
+
* Features:
|
|
1734
|
+
* - Flexible content area with proper spacing
|
|
1735
|
+
* - Scrollable content when needed
|
|
1736
|
+
* - Proper semantic HTML structure
|
|
1737
|
+
* - Accessible with proper ARIA attributes
|
|
1738
|
+
* - Consistent styling with the design system
|
|
1739
|
+
* - Supports all standard div element props
|
|
1740
|
+
* - Responsive design that adapts to content
|
|
1741
|
+
* - Proper focus management
|
|
1742
|
+
*
|
|
1743
|
+
* @example
|
|
1744
|
+
* <Drawer.Content>
|
|
1745
|
+
* <p>This is the main content of the drawer.</p>
|
|
1746
|
+
* <p>It can contain any type of content.</p>
|
|
1747
|
+
* </Drawer.Content>
|
|
1748
|
+
*/
|
|
1736
1749
|
Content: DrawerContent,
|
|
1750
|
+
/**
|
|
1751
|
+
* A button component that automatically closes the drawer when clicked.
|
|
1752
|
+
*
|
|
1753
|
+
* Features:
|
|
1754
|
+
* - Automatically closes the drawer when clicked
|
|
1755
|
+
* - Extends Button component functionality
|
|
1756
|
+
* - Accessible with proper ARIA attributes
|
|
1757
|
+
* - Consistent styling with the design system
|
|
1758
|
+
* - Supports all standard button props
|
|
1759
|
+
* - Proper focus management
|
|
1760
|
+
* - Can be used anywhere within the drawer context
|
|
1761
|
+
*
|
|
1762
|
+
* @example
|
|
1763
|
+
* <Drawer.CancelButton appearance="ghost" size="small">
|
|
1764
|
+
* Cancel
|
|
1765
|
+
* </Drawer.CancelButton>
|
|
1766
|
+
*/
|
|
1737
1767
|
CancelButton: DrawerCancelButton
|
|
1738
1768
|
});
|
|
1739
1769
|
|
|
@@ -1752,7 +1782,7 @@ const TooltipLegacyContent = forwardRef(function TooltipLegacyContent2({ style,
|
|
|
1752
1782
|
useDelayGroup(floatingContext, { id });
|
|
1753
1783
|
const ref = useMergeRefs([context.refs.setFloating, propRef]);
|
|
1754
1784
|
if (!floatingContext.open) return null;
|
|
1755
|
-
const contentCx = cx(styles$
|
|
1785
|
+
const contentCx = cx(styles$3["content-legacy"], className);
|
|
1756
1786
|
return /* @__PURE__ */ jsx(
|
|
1757
1787
|
FloatingPortal,
|
|
1758
1788
|
{
|
|
@@ -1775,7 +1805,7 @@ const TooltipLegacyContent = forwardRef(function TooltipLegacyContent2({ style,
|
|
|
1775
1805
|
{
|
|
1776
1806
|
ref: context.arrowRef,
|
|
1777
1807
|
context: floatingContext,
|
|
1778
|
-
className: styles$
|
|
1808
|
+
className: styles$3["arrow-legacy"]
|
|
1779
1809
|
}
|
|
1780
1810
|
),
|
|
1781
1811
|
props.children
|
|
@@ -1802,7 +1832,7 @@ const TooltipContentElement = forwardRef(
|
|
|
1802
1832
|
} = props;
|
|
1803
1833
|
const context = useTooltipContext();
|
|
1804
1834
|
const { mode: currentMode } = useContext(ThemeProviderContext);
|
|
1805
|
-
const tooltipClassNames = cx(className, styles$
|
|
1835
|
+
const tooltipClassNames = cx(className, styles$4["content"]);
|
|
1806
1836
|
const childrenRef = useRef(null);
|
|
1807
1837
|
const focusItems = useRef();
|
|
1808
1838
|
const combinedStyles = {
|
|
@@ -1814,7 +1844,6 @@ const TooltipContentElement = forwardRef(
|
|
|
1814
1844
|
if (!childrenRef.current) return;
|
|
1815
1845
|
const focusElements = getKeyboardFocusableElements(childrenRef.current);
|
|
1816
1846
|
focusItems.current = focusElements;
|
|
1817
|
-
console.log("currentMode", currentMode);
|
|
1818
1847
|
}, [childrenRef, children, context?.open]);
|
|
1819
1848
|
useLayoutEffect(() => {
|
|
1820
1849
|
if (id) {
|
|
@@ -1870,7 +1899,7 @@ const TooltipContentElement = forwardRef(
|
|
|
1870
1899
|
/* @__PURE__ */ jsx(
|
|
1871
1900
|
"div",
|
|
1872
1901
|
{
|
|
1873
|
-
className: styles$
|
|
1902
|
+
className: styles$4.scroller,
|
|
1874
1903
|
role: "presentation",
|
|
1875
1904
|
tabIndex: -1,
|
|
1876
1905
|
ref: childrenRef,
|
|
@@ -1879,7 +1908,7 @@ const TooltipContentElement = forwardRef(
|
|
|
1879
1908
|
},
|
|
1880
1909
|
context?.tooltip.key
|
|
1881
1910
|
),
|
|
1882
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
1911
|
+
/* @__PURE__ */ jsx("span", { className: styles$4["arrow"], ref: context?.tooltip.arrowRef, children: /* @__PURE__ */ jsxs("svg", { "aria-hidden": "true", width: "14", height: "14", viewBox: "0 0 14 14", children: [
|
|
1883
1912
|
/* @__PURE__ */ jsx("path", { stroke: "none", d: "M0,0 H14 L7,7 Q7,7 7,7 Z" }),
|
|
1884
1913
|
/* @__PURE__ */ jsx("clipPath", { id: ":r9:", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "14", height: "14" }) })
|
|
1885
1914
|
] }) })
|
|
@@ -1908,7 +1937,7 @@ const TooltipLegacyTrigger = forwardRef(function TooltipLegacyTrigger2({ childre
|
|
|
1908
1937
|
"span",
|
|
1909
1938
|
{
|
|
1910
1939
|
ref,
|
|
1911
|
-
className: cx([styles$
|
|
1940
|
+
className: cx([styles$3["trigger-legacy"]], className),
|
|
1912
1941
|
"data-anv": "tooltip-trigger",
|
|
1913
1942
|
"data-state": context.open ? "open" : "closed",
|
|
1914
1943
|
...restOfContextProps,
|
|
@@ -1980,7 +2009,7 @@ const TooltipTriggerElement = forwardRef(
|
|
|
1980
2009
|
return /* @__PURE__ */ jsx(
|
|
1981
2010
|
"span",
|
|
1982
2011
|
{
|
|
1983
|
-
className: cx([styles$
|
|
2012
|
+
className: cx([styles$4["trigger"]], className),
|
|
1984
2013
|
"data-anv": "tooltip-trigger",
|
|
1985
2014
|
ref: propRef,
|
|
1986
2015
|
onKeyDown: onKeyDownHandler,
|
|
@@ -2284,7 +2313,43 @@ const TooltipElement = (props) => {
|
|
|
2284
2313
|
return /* @__PURE__ */ jsx(TooltipContext.Provider, { value, children });
|
|
2285
2314
|
};
|
|
2286
2315
|
const Tooltip = Object.assign(TooltipElement, {
|
|
2316
|
+
/**
|
|
2317
|
+
* TooltipTrigger component that wraps the element that triggers the tooltip.
|
|
2318
|
+
*
|
|
2319
|
+
* Features:
|
|
2320
|
+
* - Wraps any React element to make it a tooltip trigger
|
|
2321
|
+
* - Handles mouse and keyboard interactions
|
|
2322
|
+
* - Provides proper ARIA attributes for accessibility
|
|
2323
|
+
* - Supports all standard HTML element props
|
|
2324
|
+
* - Automatically clones child elements with proper refs
|
|
2325
|
+
* - Handles both focusable and non-focusable children
|
|
2326
|
+
* - Manages mouse enter/leave events for hover behavior
|
|
2327
|
+
*
|
|
2328
|
+
* @example
|
|
2329
|
+
* <Tooltip.Trigger>
|
|
2330
|
+
* <Button>Click me</Button>
|
|
2331
|
+
* </Tooltip.Trigger>
|
|
2332
|
+
*/
|
|
2287
2333
|
Trigger: TooltipTrigger,
|
|
2334
|
+
/**
|
|
2335
|
+
* TooltipContent component that displays the tooltip content.
|
|
2336
|
+
*
|
|
2337
|
+
* Features:
|
|
2338
|
+
* - Displays the tooltip content with proper positioning
|
|
2339
|
+
* - Includes an arrow pointing to the trigger element
|
|
2340
|
+
* - Supports keyboard navigation and escape key to close
|
|
2341
|
+
* - Handles mouse interactions for hover behavior
|
|
2342
|
+
* - Accessible with proper ARIA roles
|
|
2343
|
+
* - Supports all standard div element props
|
|
2344
|
+
* - Automatic focus management for keyboard navigation
|
|
2345
|
+
* - Real-time position updates
|
|
2346
|
+
* - Handles both string and complex content
|
|
2347
|
+
*
|
|
2348
|
+
* @example
|
|
2349
|
+
* <Tooltip.Content>
|
|
2350
|
+
* This tooltip provides helpful context
|
|
2351
|
+
* </Tooltip.Content>
|
|
2352
|
+
*/
|
|
2288
2353
|
Content: TooltipContent,
|
|
2289
2354
|
Context: TooltipContext
|
|
2290
2355
|
});
|
|
@@ -2312,21 +2377,21 @@ const LabelMoreInfoIcon = ({
|
|
|
2312
2377
|
offset: 5,
|
|
2313
2378
|
fallbackPlacements: ["right", "bottom", "left"],
|
|
2314
2379
|
children: [
|
|
2315
|
-
/* @__PURE__ */ jsx(Tooltip.Trigger, { className: styles$
|
|
2316
|
-
/* @__PURE__ */ jsx(Tooltip.Content, { className: styles$
|
|
2380
|
+
/* @__PURE__ */ jsx(Tooltip.Trigger, { className: styles$5["info-trigger"], children: /* @__PURE__ */ jsx(Icon, { svg: SvgInfo }) }),
|
|
2381
|
+
/* @__PURE__ */ jsx(Tooltip.Content, { className: styles$5["info-content"], children: moreInfo })
|
|
2317
2382
|
]
|
|
2318
2383
|
}
|
|
2319
2384
|
);
|
|
2320
2385
|
};
|
|
2321
2386
|
const Label = forwardRef((props, ref) => {
|
|
2322
2387
|
const { children, className, moreInfo, required, openMoreInfo, ...rest } = props;
|
|
2323
|
-
const LabelClassNames = cx([styles$
|
|
2388
|
+
const LabelClassNames = cx([styles$5["label"]], className);
|
|
2324
2389
|
return /* @__PURE__ */ jsxs("label", { className: LabelClassNames, "data-anv": "label", ref, ...rest, children: [
|
|
2325
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
2326
|
-
/* @__PURE__ */ jsxs("span", { className: styles$
|
|
2390
|
+
/* @__PURE__ */ jsxs("div", { className: styles$5["top-container"], "aria-atomic": "true", children: [
|
|
2391
|
+
/* @__PURE__ */ jsxs("span", { className: styles$5["label-text"], children: [
|
|
2327
2392
|
children,
|
|
2328
2393
|
required ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2329
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: styles$
|
|
2394
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: styles$5["required"], children: "*" }),
|
|
2330
2395
|
/* @__PURE__ */ jsx(SrOnly, { children: "Required" })
|
|
2331
2396
|
] }) : null
|
|
2332
2397
|
] }),
|
|
@@ -2455,5 +2520,5 @@ const ProgressBar = forwardRef(
|
|
|
2455
2520
|
);
|
|
2456
2521
|
ProgressBar.displayName = "ProgressBar";
|
|
2457
2522
|
|
|
2458
|
-
export { DrawerCancelButton as D,
|
|
2459
|
-
//# sourceMappingURL=ProgressBar-
|
|
2523
|
+
export { DrawerCancelButton as D, Label as L, ProgressBar as P, TooltipTrigger as T, DrawerFooter as a, DrawerHeader as b, DrawerContent as c, Drawer as d, TooltipContent as e, Tooltip as f, getActiveElement as g, Toaster as h, DialogContext as i, useKeyboardFocusables as j, useDialogScrollLock as k, ToastProvider as l, ToasterPopover as m, ToasterContent as n, DrawerContext as o, safeShowPopover as p, safeHidePopover as q, supportsPopover as s, toast as t, useDialogTransitionStates as u };
|
|
2524
|
+
//# sourceMappingURL=ProgressBar-Cfi5zZRy-BpESsdh_.js.map
|