@servicetitan/anvil2 3.7.1 → 3.9.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 +30 -0
- package/dist/{AiMark-DKAIkwNU.js → AiMark-2_O4tKv_.js} +5 -5
- package/dist/AiMark-2_O4tKv_.js.map +1 -0
- package/dist/AiMark.js +1 -1
- package/dist/{Alert-tsu15fCc.js → Alert-DtM7NDN9.js} +3 -3
- package/dist/Alert-DtM7NDN9.js.map +1 -0
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-DU0J4111.js → Announcement-CGglhMfd.js} +3 -3
- package/dist/Announcement-CGglhMfd.js.map +1 -0
- package/dist/Announcement.js +1 -1
- package/dist/AnvilProvider-b3gvW6Md.js.map +1 -1
- package/dist/Avatar-CoQcOHWU.js.map +1 -1
- package/dist/Avatar-DX96Mxe7.js.map +1 -1
- package/dist/Badge-BNrYBFiU.js.map +1 -1
- package/dist/Badge.css +2 -3
- package/dist/{Breadcrumbs-CoqJO7Ca.js → Breadcrumbs-Bmqmw5F5.js} +4 -4
- package/dist/Breadcrumbs-Bmqmw5F5.js.map +1 -0
- package/dist/Breadcrumbs.js +1 -1
- package/dist/{Button-BNzCI47m.js → Button-Dwh_Nd4l.js} +6 -8
- package/dist/Button-Dwh_Nd4l.js.map +1 -0
- package/dist/Button.js +1 -1
- package/dist/ButtonCompound-D7kA0qXr.js.map +1 -1
- package/dist/{ButtonLink-PlW08u41.js → ButtonLink-DOFAxNvC.js} +2 -2
- package/dist/ButtonLink-DOFAxNvC.js.map +1 -0
- package/dist/ButtonLink.js +1 -1
- package/dist/{ButtonToggle-DBGc7dIn.js → ButtonToggle-DKDBD1g3.js} +2 -2
- package/dist/ButtonToggle-DKDBD1g3.js.map +1 -0
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-Csw2CkqE.js → Calendar-CUgFbnKj.js} +2 -2
- package/dist/Calendar-CUgFbnKj.js.map +1 -0
- package/dist/{Calendar-DnwCL7gm.js → Calendar-D_fqe0-J.js} +11 -4
- package/dist/Calendar-D_fqe0-J.js.map +1 -0
- package/dist/Calendar.js +2 -2
- package/dist/Card-Bt0F6RTq.js.map +1 -1
- package/dist/{Checkbox-DGU3JwZA.js → Checkbox-4wRmrann.js} +2 -2
- package/dist/Checkbox-4wRmrann.js.map +1 -0
- package/dist/{Checkbox-Cmn1o3Ta.js → Checkbox-DoxWcbfv.js} +5 -5
- package/dist/Checkbox-DoxWcbfv.js.map +1 -0
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-BsGckplA.js → Chip-D6Q0J0Xe.js} +3 -3
- package/dist/Chip-D6Q0J0Xe.js.map +1 -0
- package/dist/Chip.js +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-BLK4-7QQ.js → DataTable-CRzQKN_P.js} +11 -11
- package/dist/DataTable-CRzQKN_P.js.map +1 -0
- package/dist/DataTable.css +2 -3
- package/dist/{DateFieldRange-BnNrQvuG.js → DateFieldRange-CHbrYgsD.js} +12 -5
- package/dist/DateFieldRange-CHbrYgsD.js.map +1 -0
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-CwcV_AOp.js → DateFieldSingle-D-KZ3NL0.js} +12 -5
- package/dist/DateFieldSingle-D-KZ3NL0.js.map +1 -0
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-HntvaWSJ.js → DateFieldYearless-DouEX24o.js} +5 -5
- package/dist/DateFieldYearless-DouEX24o.js.map +1 -0
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{DateFieldYearlessRange-BPvJvBob.js → DateFieldYearlessRange-B_bImgyn.js} +5 -5
- package/dist/DateFieldYearlessRange-B_bImgyn.js.map +1 -0
- package/dist/DateFieldYearlessRange.js +1 -1
- package/dist/{DaysOfTheWeek-4Cd2WK7u.js → DaysOfTheWeek--FBi44iw.js} +5 -5
- package/dist/DaysOfTheWeek--FBi44iw.js.map +1 -0
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Details-DkteVZbk.js → Details-CVA5zbrR.js} +2 -2
- package/dist/Details-CVA5zbrR.js.map +1 -0
- package/dist/Details.js +1 -1
- package/dist/{Dialog-CE2fxzJR.js → Dialog-Clh3jaX8.js} +5 -5
- package/dist/Dialog-Clh3jaX8.js.map +1 -0
- package/dist/Dialog.js +1 -1
- package/dist/{DialogCancelButton-DmSUPuCR.js → DialogCancelButton-DBL0aKTK.js} +2 -2
- package/dist/DialogCancelButton-DBL0aKTK.js.map +1 -0
- package/dist/DialogContext-DBgtApl9.js.map +1 -1
- package/dist/Divider-C7fp5Xb6.js.map +1 -1
- package/dist/Dnd.js +2 -2
- package/dist/{DndHandleButton-Ck5nc8w2.js → DndHandleButton-BRlodkDO.js} +2 -2
- package/dist/{DndHandleButton-Ck5nc8w2.js.map → DndHandleButton-BRlodkDO.js.map} +1 -1
- package/dist/DndSort.js +4 -4
- package/dist/DndSort.js.map +1 -1
- package/dist/{Drawer-CWLwXp1D.js → Drawer-h2Mut1lB.js} +61 -34
- package/dist/Drawer-h2Mut1lB.js.map +1 -0
- package/dist/Drawer.css +34 -28
- package/dist/Drawer.js +1 -1
- package/dist/DrawerContext-BSpnzXVZ.js.map +1 -1
- package/dist/DrillDown.js +1 -1
- package/dist/DrillDown.module-D1Bf9_yP.js.map +1 -1
- package/dist/{EditCard-DqFAx5cl.js → EditCard-QohYSylF.js} +4 -4
- package/dist/EditCard-QohYSylF.js.map +1 -0
- package/dist/EditCard.js +1 -1
- package/dist/{FieldLabel-v6vMVVWB.js → FieldLabel-SzH61hCb.js} +3 -3
- package/dist/FieldLabel-SzH61hCb.js.map +1 -0
- package/dist/FieldLabel.js +1 -1
- package/dist/{FilterBar-Ce22r7lY.js → FilterBar-CBTAkEri.js} +8 -8
- package/dist/FilterBar-CBTAkEri.js.map +1 -0
- package/dist/FilterBar.js +1 -1
- package/dist/{Flex-Bb3iHExM.js → Flex-CRF7gj0_.js} +3 -3
- package/dist/Flex-CRF7gj0_.js.map +1 -0
- package/dist/Flex.css +2 -4
- package/dist/Flex.js +1 -1
- package/dist/{Grid-ho1pGJ5L.js → Grid-CvGQrIhE.js} +4 -4
- package/dist/Grid-CvGQrIhE.js.map +1 -0
- package/dist/Grid.css +3 -5
- package/dist/Grid.js +1 -1
- package/dist/{Helper-B_VAFgGd.js → Helper-Bq6Npkgh.js} +2 -2
- package/dist/Helper-Bq6Npkgh.js.map +1 -0
- package/dist/{Icon-B4uCvMU9.js → Icon-B5zwN7GD.js} +4 -4
- package/dist/Icon-B5zwN7GD.js.map +1 -0
- package/dist/Icon.js +1 -1
- package/dist/{InputMask-DnbZnynw.js → InputMask-CQONHcTq.js} +3 -3
- package/dist/InputMask-CQONHcTq.js.map +1 -0
- package/dist/InputMask.js +1 -1
- package/dist/InteractiveCard-C0g5PxB6.js.map +1 -1
- package/dist/Layout-C2Q2hyLG.js.map +1 -1
- package/dist/{Link-C7dtI5K6.js → Link-D7ycmfQ_.js} +2 -2
- package/dist/Link-D7ycmfQ_.js.map +1 -0
- package/dist/Link.css +2 -4
- package/dist/Link.js +1 -1
- package/dist/LinkButton-C0wps8r1.js.map +1 -1
- package/dist/List-BvzfZ9TW.js.map +1 -1
- package/dist/{ListView-Dy4m0aQb.js → ListView-BgGEwal3.js} +3 -3
- package/dist/ListView-BgGEwal3.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-By-gyw1j.js → Listbox-Cw_2W62S.js} +4 -4
- package/dist/Listbox-Cw_2W62S.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/LocalizationContext-UsmB5mnR.js.map +1 -1
- package/dist/LocalizationProvider-BPcOU7YX.js.map +1 -1
- package/dist/{Menu-DmEXQLXt.js → Menu-DNOOmDQC.js} +3 -3
- package/dist/Menu-DNOOmDQC.js.map +1 -0
- package/dist/Menu.js +1 -1
- package/dist/{MenuFooter-Ck9L599M.js → MenuFooter-BXcNxNnX.js} +2 -2
- package/dist/MenuFooter-BXcNxNnX.js.map +1 -0
- package/dist/MultiSelectField.js +1 -1
- package/dist/{MultiSelectFieldSync-CGOAko_r.js → MultiSelectFieldSync-CpfsWecG.js} +18 -8
- package/dist/MultiSelectFieldSync-CpfsWecG.js.map +1 -0
- package/dist/MultiSelectMenu.js +1 -1
- package/dist/{MultiSelectMenuSync-DTRWdqGg.js → MultiSelectMenuSync-CtyLYyDE.js} +10 -8
- package/dist/MultiSelectMenuSync-CtyLYyDE.js.map +1 -0
- package/dist/{NumberField-BuAlvtg_.js → NumberField-B1761jkf.js} +7 -7
- package/dist/NumberField-B1761jkf.js.map +1 -0
- package/dist/NumberField.css +2 -3
- package/dist/NumberField.js +1 -1
- package/dist/Overflow.js +1 -1
- package/dist/Overflow.js.map +1 -1
- package/dist/{Page-DBKu3XYh.js → Page-B6E3Gbji.js} +13 -13
- package/dist/Page-B6E3Gbji.js.map +1 -0
- package/dist/Page.js +1 -1
- package/dist/{Pagination-Ceh0uZhU.js → Pagination-DF7iMeJe.js} +6 -6
- package/dist/Pagination-DF7iMeJe.js.map +1 -0
- package/dist/Pagination.js +1 -1
- package/dist/{Popover-hQKMGTiJ.js → Popover-CjsE5FG0.js} +3 -3
- package/dist/Popover-CjsE5FG0.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/PortalProvider-Cj_y3gbC.js.map +1 -1
- package/dist/{ProgressBar-CFdDZFV9.js → ProgressBar-Coh2nTJ1.js} +6 -6
- package/dist/ProgressBar-Coh2nTJ1.js.map +1 -0
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-Dey7KUCQ.js → Radio-BxSL1PoP.js} +2 -2
- package/dist/Radio-BxSL1PoP.js.map +1 -0
- package/dist/{Radio-ARjSflvI.js → Radio-J4Iv3wbJ.js} +5 -5
- package/dist/Radio-J4Iv3wbJ.js.map +1 -0
- package/dist/Radio.js +1 -1
- package/dist/{RichTextEditor-B4ZPAevY.js → RichTextEditor-CLo8yoUP.js} +13 -13
- package/dist/RichTextEditor-CLo8yoUP.js.map +1 -0
- package/dist/RichTextEditor.css +1 -2
- package/dist/RichTextEditor.js +1 -1
- package/dist/{SavedFiltersButton-DPISXV2b.js → SavedFiltersButton-FcYVncxU.js} +12 -12
- package/dist/SavedFiltersButton-FcYVncxU.js.map +1 -0
- package/dist/SavedFiltersButton.js +1 -1
- package/dist/{SearchField-B7fIOJf-.js → SearchField-ChoNtw8w.js} +2 -2
- package/dist/SearchField-ChoNtw8w.js.map +1 -0
- package/dist/{SearchField-X4B7f23E.js → SearchField-DX8hZyo2.js} +2 -2
- package/dist/SearchField-DX8hZyo2.js.map +1 -0
- package/dist/SearchField.js +1 -1
- package/dist/{SegmentedControl-Be6jCglV.js → SegmentedControl-CQ6DrbDc.js} +2 -2
- package/dist/SegmentedControl-CQ6DrbDc.js.map +1 -0
- package/dist/SegmentedControl.css +2 -3
- package/dist/SegmentedControl.js +1 -1
- package/dist/{SelectCard-DtEUPxgj.js → SelectCard-BTfhPyHH.js} +4 -4
- package/dist/SelectCard-BTfhPyHH.js.map +1 -0
- package/dist/SelectCard.js +1 -1
- package/dist/SelectField.js +1 -1
- package/dist/{SelectFieldLabel-DB3o9bDD.js → SelectFieldLabel-CjY6zFJA.js} +2 -2
- package/dist/SelectFieldLabel-CjY6zFJA.js.map +1 -0
- package/dist/{SelectFieldSync-B5r-wl1D.js → SelectFieldSync-Bi8HsMYP.js} +23 -8
- package/dist/SelectFieldSync-Bi8HsMYP.js.map +1 -0
- package/dist/SelectMenu.js +1 -1
- package/dist/{SelectMenuSync-CqKMKaWt.js → SelectMenuSync-DKg4g5nN.js} +7 -7
- package/dist/SelectMenuSync-DKg4g5nN.js.map +1 -0
- package/dist/{SelectOptions-VVJ4D-0C.js → SelectOptions-DszNAjxB.js} +2 -2
- package/dist/SelectOptions-DszNAjxB.js.map +1 -0
- package/dist/{SelectTrigger-TRI2LhJR.js → SelectTrigger-DNIc5ttg.js} +4 -4
- package/dist/SelectTrigger-DNIc5ttg.js.map +1 -0
- package/dist/SelectTrigger.js +1 -1
- package/dist/{SelectTriggerBase-D1nOad4B.js → SelectTriggerBase-1Cc6EUBw.js} +10 -14
- package/dist/SelectTriggerBase-1Cc6EUBw.js.map +1 -0
- package/dist/SelectTriggerBase.css +2 -3
- package/dist/{SideNav-DoxX8Vi-.js → SideNav-DZRXOYHs.js} +2 -2
- package/dist/SideNav-DZRXOYHs.js.map +1 -0
- package/dist/SideNav.js +1 -1
- package/dist/Skeleton.js.map +1 -1
- package/dist/Spinner-B7tTWcP6.js.map +1 -1
- package/dist/SrOnly-pnf8ajnh.js.map +1 -1
- package/dist/{Stepper-CvaR7OoT.js → Stepper-BX_gDWLE.js} +4 -4
- package/dist/Stepper-BX_gDWLE.js.map +1 -0
- package/dist/Stepper.css +1 -2
- package/dist/Stepper.js +1 -1
- package/dist/{Switch-ClbHJvDU.js → Switch-BpjBYm-U.js} +5 -5
- package/dist/Switch-BpjBYm-U.js.map +1 -0
- package/dist/Switch.js +1 -1
- package/dist/{Tab-Cy4G562A.js → Tab-Bqfvg8Ce.js} +53 -23
- package/dist/Tab-Bqfvg8Ce.js.map +1 -0
- package/dist/Tab.css +35 -31
- package/dist/Tab.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{Text-BjYHzUGW.js → Text-CIoD_RK4.js} +2 -2
- package/dist/Text-CIoD_RK4.js.map +1 -0
- package/dist/Text.js +1 -1
- package/dist/{TextField-DX6-K3jO.js → TextField-CzzvLI5_.js} +4 -4
- package/dist/TextField-CzzvLI5_.js.map +1 -0
- package/dist/{TextField-BsVxym0-.js → TextField-D3sRS5q1.js} +2 -2
- package/dist/TextField-D3sRS5q1.js.map +1 -0
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-B3z6Y7VU.js → Textarea-B3C7AkPj.js} +4 -4
- package/dist/Textarea-B3C7AkPj.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/ThemeProvider-Sd8LK0A9.js.map +1 -1
- package/dist/ThemeProviderContext-l52GohYT.js.map +1 -1
- package/dist/{TimeField-Bmcwic3C.js → TimeField-L9B_X6-H.js} +31 -9
- package/dist/TimeField-L9B_X6-H.js.map +1 -0
- package/dist/TimeField.js +1 -1
- package/dist/TimezoneMessage-BrKB_psP.js.map +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toaster-CvY-A7zY.js → Toaster-CAI7tX8q.js} +4 -4
- package/dist/Toaster-CAI7tX8q.js.map +1 -0
- package/dist/{Toaster-CTjkTMie.js → Toaster-DZxf0N9g.js} +2 -2
- package/dist/Toaster-DZxf0N9g.js.map +1 -0
- package/dist/{Toolbar-BpCO-4zj.js → Toolbar-2VQIjU5b.js} +9 -9
- package/dist/Toolbar-2VQIjU5b.js.map +1 -0
- package/dist/{Toolbar-pdJXcqY0.js → Toolbar-BbImThIu.js} +7 -7
- package/dist/Toolbar-BbImThIu.js.map +1 -0
- package/dist/Toolbar.js +2 -2
- package/dist/{ToolbarButtonToggle-3xbnm1Qr.js → ToolbarButtonToggle-Bc0XvCM9.js} +2 -2
- package/dist/ToolbarButtonToggle-Bc0XvCM9.js.map +1 -0
- package/dist/Tooltip-BC8lnFhe.js.map +1 -1
- package/dist/TrackingProvider-Co4lyoI9.js.map +1 -1
- package/dist/TrackingProviderContext-CrVA7KHv.js.map +1 -1
- package/dist/TreeSelectField.js +1 -1
- package/dist/{TreeSelectFieldSync-Cz8uOdpT.js → TreeSelectFieldSync-DUHVmOQa.js} +19 -8
- package/dist/TreeSelectFieldSync-DUHVmOQa.js.map +1 -0
- package/dist/TreeSelectMenu.js +1 -1
- package/dist/{TreeSelectMenuSync-Bk8BN6_B.js → TreeSelectMenuSync-DVoYUG7F.js} +8 -8
- package/dist/TreeSelectMenuSync-DVoYUG7F.js.map +1 -0
- package/dist/{TypeaheadTextField-Dg7O5Yu5.js → TypeaheadTextField-9Nkkd4c4.js} +3 -3
- package/dist/TypeaheadTextField-9Nkkd4c4.js.map +1 -0
- package/dist/TypeaheadTextField.js +1 -1
- package/dist/{YearlessDateInputWithPicker-CpnLg01W.js → YearlessDateInputWithPicker-CM9mmz8s.js} +16 -6
- package/dist/YearlessDateInputWithPicker-CM9mmz8s.js.map +1 -0
- package/dist/beta.js +16 -16
- package/dist/{bulkActionTypes-B20IInUD.js → bulkActionTypes-BnZNAru6.js} +2 -2
- package/dist/bulkActionTypes-BnZNAru6.js.map +1 -0
- package/dist/childrenToString-Bz9MqbHb.js.map +1 -1
- package/dist/{filter-state-CuiHPC94.js → filter-state-XmqhkURU.js} +37 -33
- package/dist/filter-state-XmqhkURU.js.map +1 -0
- package/dist/{index-B12T0Vxa.js → index-BwNeldDw.js} +2 -2
- package/dist/{index-B12T0Vxa.js.map → index-BwNeldDw.js.map} +1 -1
- package/dist/{index-SZMmvI3D.js → index-BwV_Pz7v.js} +2 -2
- package/dist/index-BwV_Pz7v.js.map +1 -0
- package/dist/index.js +56 -56
- package/dist/makeZeroShortcutPreprocessor-CxsiGTRW.js.map +1 -1
- package/dist/src/beta/components/FilterBar/index.d.ts +1 -1
- package/dist/src/beta/components/Toolbar/index.d.ts +1 -1
- package/dist/src/components/Alert/Alert.d.ts +2 -4
- package/dist/src/components/Announcement/Announcement.d.ts +2 -4
- package/dist/src/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/src/components/ButtonCompound/ButtonCompound.d.ts +2 -4
- package/dist/src/components/ButtonLink/ButtonLink.d.ts +2 -4
- package/dist/src/components/ButtonToggle/ButtonToggle.d.ts +2 -4
- package/dist/src/components/Calendar/Calendar.d.ts +3 -1
- package/dist/src/components/Calendar/index.d.ts +1 -1
- package/dist/src/components/Checkbox/index.d.ts +2 -2
- package/dist/src/components/Combobox/Combobox.d.ts +2 -2
- package/dist/src/components/Combobox/ComboboxEmpty.d.ts +1 -1
- package/dist/src/components/Combobox/index.d.ts +2 -2
- package/dist/src/components/DateFieldSingle/index.d.ts +1 -1
- package/dist/src/components/DateFieldYearless/index.d.ts +1 -1
- package/dist/src/components/Details/index.d.ts +2 -2
- package/dist/src/components/Dialog/index.d.ts +4 -4
- package/dist/src/components/DndSort/index.d.ts +3 -3
- package/dist/src/components/Drawer/Drawer.d.ts +3 -1
- package/dist/src/components/Drawer/DrawerHeader.d.ts +35 -3
- package/dist/src/components/Drawer/index.d.ts +4 -4
- package/dist/src/components/Grid/index.d.ts +1 -1
- package/dist/src/components/List/index.d.ts +1 -1
- package/dist/src/components/Listbox/index.d.ts +2 -2
- package/dist/src/components/Menu/index.d.ts +1 -1
- package/dist/src/components/Overflow/index.d.ts +1 -1
- package/dist/src/components/Popover/index.d.ts +4 -4
- package/dist/src/components/Radio/index.d.ts +2 -2
- package/dist/src/components/SelectCard/index.d.ts +1 -1
- package/dist/src/components/SelectMenu/internal/useMenuInteraction.d.ts +7 -1
- package/dist/src/components/SideNav/index.d.ts +3 -3
- package/dist/src/components/Stepper/index.d.ts +6 -6
- package/dist/src/components/Tab/index.d.ts +3 -3
- package/dist/src/components/TimeField/index.d.ts +1 -1
- package/dist/src/components/Toolbar/index.d.ts +5 -5
- package/dist/src/components/Tooltip/index.d.ts +2 -2
- package/dist/src/internal/components/Popover/index.d.ts +4 -4
- package/dist/src/providers/ThemeProvider/index.d.ts +2 -2
- package/dist/src/providers/TrackingProvider/index.d.ts +1 -1
- package/dist/src/types/index.d.ts +3 -3
- package/dist/{stripInlineMarkdown-C-3FEh_E.js → stripInlineMarkdown-BfNNOWPk.js} +2 -2
- package/dist/{stripInlineMarkdown-C-3FEh_E.js.map → stripInlineMarkdown-BfNNOWPk.js.map} +1 -1
- package/dist/{syncFilterUtils-CU5iJQSC.js → syncFilterUtils-UVNoFsDr.js} +5 -5
- package/dist/syncFilterUtils-UVNoFsDr.js.map +1 -0
- package/dist/{treeSync-CUf4vwDm.js → treeSync-CiU5d6rF.js} +4 -4
- package/dist/{treeSync-CUf4vwDm.js.map → treeSync-CiU5d6rF.js.map} +1 -1
- package/dist/{useAdaptiveView-C0F7qnLD.js → useAdaptiveView-C_WvM4-P.js} +7 -7
- package/dist/useAdaptiveView-C_WvM4-P.js.map +1 -0
- package/dist/useChipLayout-BWZfKDgd.js.map +1 -1
- package/dist/{useDrilldown-CCsr0_3L.js → useDrilldown-D7DKSs7E.js} +5 -5
- package/dist/{useDrilldown-CCsr0_3L.js.map → useDrilldown-D7DKSs7E.js.map} +1 -1
- package/dist/useFocusWithin-hi77jsrB.js.map +1 -1
- package/dist/{useInfiniteCombobox-HSttRaX5.js → useInfiniteCombobox-COJTJxCZ.js} +70 -68
- package/dist/useInfiniteCombobox-COJTJxCZ.js.map +1 -0
- package/dist/{useInitialFocus-BIvXK1Rp.js → useInitialFocus-BUxEDMEG.js} +2 -2
- package/dist/useInitialFocus-BUxEDMEG.js.map +1 -0
- package/dist/useLayoutPropsUtil-DjqeAJZ9.js.map +1 -1
- package/dist/{useMenuInteraction-NEJXUD4I.js → useMenuInteraction-AgrXU8kv.js} +8 -2
- package/dist/useMenuInteraction-AgrXU8kv.js.map +1 -0
- package/dist/{useNumberField-D_ic9i2q.js → useNumberField-CXFYUZ_n.js} +4 -2
- package/dist/useNumberField-CXFYUZ_n.js.map +1 -0
- package/dist/useOptionallyControlledState-DbDuos5L.js.map +1 -1
- package/dist/{usePopoverTransitionStates-B1opfxxn.js → usePopoverTransitionStates-CDXCdyKa.js} +2 -1
- package/dist/{usePopoverTransitionStates-B1opfxxn.js.map → usePopoverTransitionStates-CDXCdyKa.js.map} +1 -1
- package/dist/useSize.js.map +1 -1
- package/dist/useSwipe-Cp-CJxLU.js.map +1 -1
- package/package.json +6 -4
- package/dist/AiMark-DKAIkwNU.js.map +0 -1
- package/dist/Alert-tsu15fCc.js.map +0 -1
- package/dist/Announcement-DU0J4111.js.map +0 -1
- package/dist/Breadcrumbs-CoqJO7Ca.js.map +0 -1
- package/dist/Button-BNzCI47m.js.map +0 -1
- package/dist/ButtonLink-PlW08u41.js.map +0 -1
- package/dist/ButtonToggle-DBGc7dIn.js.map +0 -1
- package/dist/Calendar-Csw2CkqE.js.map +0 -1
- package/dist/Calendar-DnwCL7gm.js.map +0 -1
- package/dist/Checkbox-Cmn1o3Ta.js.map +0 -1
- package/dist/Checkbox-DGU3JwZA.js.map +0 -1
- package/dist/Chip-BsGckplA.js.map +0 -1
- package/dist/DataTable-BLK4-7QQ.js.map +0 -1
- package/dist/DateFieldRange-BnNrQvuG.js.map +0 -1
- package/dist/DateFieldSingle-CwcV_AOp.js.map +0 -1
- package/dist/DateFieldYearless-HntvaWSJ.js.map +0 -1
- package/dist/DateFieldYearlessRange-BPvJvBob.js.map +0 -1
- package/dist/DaysOfTheWeek-4Cd2WK7u.js.map +0 -1
- package/dist/Details-DkteVZbk.js.map +0 -1
- package/dist/Dialog-CE2fxzJR.js.map +0 -1
- package/dist/DialogCancelButton-DmSUPuCR.js.map +0 -1
- package/dist/Drawer-CWLwXp1D.js.map +0 -1
- package/dist/EditCard-DqFAx5cl.js.map +0 -1
- package/dist/FieldLabel-v6vMVVWB.js.map +0 -1
- package/dist/FilterBar-Ce22r7lY.js.map +0 -1
- package/dist/Flex-Bb3iHExM.js.map +0 -1
- package/dist/Grid-ho1pGJ5L.js.map +0 -1
- package/dist/Helper-B_VAFgGd.js.map +0 -1
- package/dist/Icon-B4uCvMU9.js.map +0 -1
- package/dist/InputMask-DnbZnynw.js.map +0 -1
- package/dist/Link-C7dtI5K6.js.map +0 -1
- package/dist/ListView-Dy4m0aQb.js.map +0 -1
- package/dist/Listbox-By-gyw1j.js.map +0 -1
- package/dist/Menu-DmEXQLXt.js.map +0 -1
- package/dist/MenuFooter-Ck9L599M.js.map +0 -1
- package/dist/MultiSelectFieldSync-CGOAko_r.js.map +0 -1
- package/dist/MultiSelectMenuSync-DTRWdqGg.js.map +0 -1
- package/dist/NumberField-BuAlvtg_.js.map +0 -1
- package/dist/Page-DBKu3XYh.js.map +0 -1
- package/dist/Pagination-Ceh0uZhU.js.map +0 -1
- package/dist/Popover-hQKMGTiJ.js.map +0 -1
- package/dist/ProgressBar-CFdDZFV9.js.map +0 -1
- package/dist/Radio-ARjSflvI.js.map +0 -1
- package/dist/Radio-Dey7KUCQ.js.map +0 -1
- package/dist/RichTextEditor-B4ZPAevY.js.map +0 -1
- package/dist/SavedFiltersButton-DPISXV2b.js.map +0 -1
- package/dist/SearchField-B7fIOJf-.js.map +0 -1
- package/dist/SearchField-X4B7f23E.js.map +0 -1
- package/dist/SegmentedControl-Be6jCglV.js.map +0 -1
- package/dist/SelectCard-DtEUPxgj.js.map +0 -1
- package/dist/SelectFieldLabel-DB3o9bDD.js.map +0 -1
- package/dist/SelectFieldSync-B5r-wl1D.js.map +0 -1
- package/dist/SelectMenuSync-CqKMKaWt.js.map +0 -1
- package/dist/SelectOptions-VVJ4D-0C.js.map +0 -1
- package/dist/SelectTrigger-TRI2LhJR.js.map +0 -1
- package/dist/SelectTriggerBase-D1nOad4B.js.map +0 -1
- package/dist/SideNav-DoxX8Vi-.js.map +0 -1
- package/dist/Stepper-CvaR7OoT.js.map +0 -1
- package/dist/Switch-ClbHJvDU.js.map +0 -1
- package/dist/Tab-Cy4G562A.js.map +0 -1
- package/dist/Text-BjYHzUGW.js.map +0 -1
- package/dist/TextField-BsVxym0-.js.map +0 -1
- package/dist/TextField-DX6-K3jO.js.map +0 -1
- package/dist/Textarea-B3z6Y7VU.js.map +0 -1
- package/dist/TimeField-Bmcwic3C.js.map +0 -1
- package/dist/Toaster-CTjkTMie.js.map +0 -1
- package/dist/Toaster-CvY-A7zY.js.map +0 -1
- package/dist/Toolbar-BpCO-4zj.js.map +0 -1
- package/dist/Toolbar-pdJXcqY0.js.map +0 -1
- package/dist/ToolbarButtonToggle-3xbnm1Qr.js.map +0 -1
- package/dist/TreeSelectFieldSync-Cz8uOdpT.js.map +0 -1
- package/dist/TreeSelectMenuSync-Bk8BN6_B.js.map +0 -1
- package/dist/TypeaheadTextField-Dg7O5Yu5.js.map +0 -1
- package/dist/YearlessDateInputWithPicker-CpnLg01W.js.map +0 -1
- package/dist/bulkActionTypes-B20IInUD.js.map +0 -1
- package/dist/filter-state-CuiHPC94.js.map +0 -1
- package/dist/index-SZMmvI3D.js.map +0 -1
- package/dist/syncFilterUtils-CU5iJQSC.js.map +0 -1
- package/dist/useAdaptiveView-C0F7qnLD.js.map +0 -1
- package/dist/useInfiniteCombobox-HSttRaX5.js.map +0 -1
- package/dist/useInitialFocus-BIvXK1Rp.js.map +0 -1
- package/dist/useMenuInteraction-NEJXUD4I.js.map +0 -1
- package/dist/useNumberField-D_ic9i2q.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DndHandleButton, a as DndHandle } from './DndHandleButton-
|
|
1
|
+
import { D as DndHandleButton, a as DndHandle } from './DndHandleButton-BRlodkDO.js';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { c as cx } from './index-De1g9FRV.js';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
@@ -68,4 +68,4 @@ const Dnd = {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
export { Dnd as D, DndSortLine as a, styles as s };
|
|
71
|
-
//# sourceMappingURL=index-
|
|
71
|
+
//# sourceMappingURL=index-BwV_Pz7v.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BwV_Pz7v.js","sources":["../src/components/Dnd/DndSortLine.tsx","../src/components/Dnd/DndZone.tsx","../src/components/Dnd/index.ts"],"sourcesContent":["import cx from \"classnames\";\n\nimport styles from \"./Dnd.module.scss\";\nimport type { CSSProperties } from \"react\";\n\n/**\n * Props for the DndSortLine component\n * @extends React.ComponentPropsWithoutRef<\"div\">\n */\nexport type SortLineProps = React.ComponentPropsWithoutRef<\"div\"> & {\n /**\n * The offset of the line from the item. This is a CSS value, typically negative.\n */\n offset: string;\n /**\n * The orientation of the sort - Note this may be counterintuitive, as the line is rendered perpendicular to the sort.\n */\n orientation: \"horizontal\" | \"vertical\";\n /**\n * The position of the line relative to a target item.\n */\n position: \"before\" | \"after\";\n};\n\n/**\n * A visual indicator line that shows where an item will be dropped during drag and drop operations.\n *\n * Features:\n * - Visual feedback for drop positioning\n * - Configurable orientation (horizontal/vertical)\n * - Adjustable positioning (before/after)\n * - Customizable offset for precise placement\n * - Accessible with proper ARIA attributes\n * - Automatic CSS class management\n * - Supports all standard HTML div props\n *\n * @example\n * <DndSortLine\n * offset=\"-10px\"\n * orientation=\"vertical\"\n * position=\"after\"\n * className=\"custom-drop-line\"\n * />\n */\nexport const DndSortLine = ({\n offset,\n orientation,\n position,\n ...rest\n}: SortLineProps) => {\n const classes = cx(\n styles[\"drop-line\"],\n styles[`orientation-${orientation}`],\n styles[`position-${position}`],\n );\n\n return (\n <div\n aria-hidden\n className={classes}\n style={{ \"--a2-inline-drop-line-offset\": offset } as CSSProperties}\n {...rest}\n />\n );\n};\n","import { type ElementType, forwardRef, type ReactNode } from \"react\";\nimport cx from \"classnames\";\n\nimport styles from \"./Dnd.module.scss\";\n\n/**\n * Props for the DndZone component\n * @extends Omit<React.ComponentPropsWithoutRef<T>, \"el\" | \"ref\">\n */\nexport type DndZoneProps<T extends ElementType = \"div\"> = {\n /**\n * The HTML element type to render. Can be any valid HTML element or React component.\n * @default \"div\"\n */\n el?: T;\n /**\n * The content to be rendered inside the drop zone.\n */\n children?: ReactNode;\n /**\n * Additional CSS class names to apply to the drop zone.\n */\n className?: string;\n /**\n * Indicates whether a draggable item is currently over this drop zone.\n */\n isOver: boolean;\n /**\n * Indicates whether the current drag operation is valid for this drop zone.\n */\n isValid: boolean;\n /**\n * Indicates whether any item is currently being dragged.\n */\n isDragging: boolean;\n} & Omit<React.ComponentPropsWithoutRef<T>, \"el\" | \"ref\">;\n\n/**\n * Base styling component for drop zones that handles visual states and styling.\n *\n * Features:\n * - Configurable HTML element rendering with the 'el' prop\n * - Visual feedback for drag states (over, valid, dragging)\n * - Automatic CSS class management based on drag state\n * - Supports all standard HTML element props\n * - Accessible with proper ARIA attributes\n * - Flexible styling through className prop\n * - Responsive design that adapts to container\n *\n * @example\n * <DndZone\n * isOver={isOver}\n * isValid={isValid}\n * isDragging={isDragging}\n * className=\"custom-drop-zone\"\n * >\n * Drop items here\n * </DndZone>\n */\nexport const DndZone = forwardRef<HTMLDivElement, DndZoneProps<ElementType>>(\n (\n {\n el: Component = \"div\" as ElementType,\n children,\n className,\n isDragging,\n isOver,\n isValid,\n ...rest\n },\n ref,\n ) => {\n const classes = cx(className, {\n [styles[\"drop-zone\"]]: true,\n [styles[\"over-valid\"]]: isDragging && isOver && isValid,\n [styles[\"over-invalid\"]]: isDragging && isOver && !isValid,\n [styles[\"active-not-over\"]]: isDragging && !isOver,\n });\n\n return (\n <Component ref={ref} className={classes} {...rest}>\n {children}\n </Component>\n );\n },\n);\n\nDndZone.displayName = \"DndZoneBase\";\n","import { DndHandle } from \"./DndHandle\";\nimport { DndHandleButton } from \"./DndHandleButton\";\nimport { DndSortLine } from \"./DndSortLine\";\nimport { DndZone } from \"./DndZone\";\n\nexport const Dnd = {\n Handle: DndHandle,\n HandleButton: DndHandleButton,\n SortLine: DndSortLine,\n Zone: DndZone,\n};\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA4CO,MAAM,cAAc,CAAC;AAAA,EAC1B,MAAA;AAAA,EACA,WAAA;AAAA,EACA,QAAA;AAAA,EACA,GAAG;AACL,CAAA,KAAqB;AACnB,EAAA,MAAM,OAAA,GAAU,EAAA;AAAA,IACd,OAAO,WAAW,CAAA;AAAA,IAClB,MAAA,CAAO,CAAA,YAAA,EAAe,WAAW,CAAA,CAAE,CAAA;AAAA,IACnC,MAAA,CAAO,CAAA,SAAA,EAAY,QAAQ,CAAA,CAAE;AAAA,GAC/B;AAEA,EAAA,uBACE,GAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,aAAA,EAAW,IAAA;AAAA,MACX,SAAA,EAAW,OAAA;AAAA,MACX,KAAA,EAAO,EAAE,8BAAA,EAAgC,MAAA,EAAO;AAAA,MAC/C,GAAG;AAAA;AAAA,GACN;AAEJ;;ACLO,MAAM,OAAA,GAAU,UAAA;AAAA,EACrB,CACE;AAAA,IACE,IAAI,SAAA,GAAY,KAAA;AAAA,IAChB,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,MAAA;AAAA,IACA,OAAA;AAAA,IACA,GAAG;AAAA,KAEL,GAAA,KACG;AACH,IAAA,MAAM,OAAA,GAAU,GAAG,SAAA,EAAW;AAAA,MAC5B,CAAC,MAAA,CAAO,WAAW,CAAC,GAAG,IAAA;AAAA,MACvB,CAAC,MAAA,CAAO,YAAY,CAAC,GAAG,cAAc,MAAA,IAAU,OAAA;AAAA,MAChD,CAAC,MAAA,CAAO,cAAc,CAAC,GAAG,UAAA,IAAc,UAAU,CAAC,OAAA;AAAA,MACnD,CAAC,MAAA,CAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC;AAAA,KAC7C,CAAA;AAED,IAAA,2BACG,SAAA,EAAA,EAAU,GAAA,EAAU,WAAW,OAAA,EAAU,GAAG,MAC1C,QAAA,EACH,CAAA;AAAA,EAEJ;AACF,CAAA;AAEA,OAAA,CAAQ,WAAA,GAAc,aAAA;;AClFf,MAAM,GAAA,GAAM;AAAA,EACjB,MAAA,EAAQ,SAAA;AAAA,EACR,YAAA,EAAc,eAAA;AAAA,EACd,QAAA,EAAU,WAAA;AAAA,EACV,IAAA,EAAM;AACR;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
export { DndSort, DndSortCard, DndSortZone } from './DndSort.js';
|
|
2
|
-
export { A as Alert } from './Alert-
|
|
3
|
-
export { A as AiMark } from './AiMark-
|
|
4
|
-
export { A as Announcement } from './Announcement-
|
|
2
|
+
export { A as Alert } from './Alert-DtM7NDN9.js';
|
|
3
|
+
export { A as AiMark } from './AiMark-2_O4tKv_.js';
|
|
4
|
+
export { A as Announcement } from './Announcement-CGglhMfd.js';
|
|
5
5
|
export { A as Avatar } from './Avatar-DX96Mxe7.js';
|
|
6
6
|
export { A as AvatarGroup } from './Avatar-CoQcOHWU.js';
|
|
7
7
|
export { B as Badge } from './Badge-BNrYBFiU.js';
|
|
8
|
-
export { B as Breadcrumbs } from './Breadcrumbs-
|
|
9
|
-
export { B as Button } from './Button-
|
|
8
|
+
export { B as Breadcrumbs } from './Breadcrumbs-Bmqmw5F5.js';
|
|
9
|
+
export { B as Button } from './Button-Dwh_Nd4l.js';
|
|
10
10
|
export { B as ButtonCompound } from './ButtonCompound-D7kA0qXr.js';
|
|
11
|
-
export { B as ButtonLink } from './ButtonLink-
|
|
12
|
-
export { B as ButtonToggle } from './ButtonToggle-
|
|
13
|
-
export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-
|
|
11
|
+
export { B as ButtonLink } from './ButtonLink-DOFAxNvC.js';
|
|
12
|
+
export { B as ButtonToggle } from './ButtonToggle-DKDBD1g3.js';
|
|
13
|
+
export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-D_fqe0-J.js';
|
|
14
14
|
export { C as Card } from './Card-Bt0F6RTq.js';
|
|
15
|
-
export { C as Checkbox } from './Checkbox-
|
|
16
|
-
export { C as Chip } from './Chip-
|
|
17
|
-
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-
|
|
18
|
-
export { D as DateFieldRange } from './DateFieldRange-
|
|
19
|
-
export { D as DateFieldSingle } from './DateFieldSingle-
|
|
20
|
-
export { D as DateFieldYearless } from './DateFieldYearless-
|
|
21
|
-
export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-
|
|
22
|
-
export { D as DaysOfTheWeek } from './DaysOfTheWeek
|
|
23
|
-
export { D as Details } from './Details-
|
|
24
|
-
export { D as Dialog } from './Dialog-
|
|
15
|
+
export { C as Checkbox } from './Checkbox-4wRmrann.js';
|
|
16
|
+
export { C as Chip } from './Chip-D6Q0J0Xe.js';
|
|
17
|
+
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-COJTJxCZ.js';
|
|
18
|
+
export { D as DateFieldRange } from './DateFieldRange-CHbrYgsD.js';
|
|
19
|
+
export { D as DateFieldSingle } from './DateFieldSingle-D-KZ3NL0.js';
|
|
20
|
+
export { D as DateFieldYearless } from './DateFieldYearless-DouEX24o.js';
|
|
21
|
+
export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-B_bImgyn.js';
|
|
22
|
+
export { D as DaysOfTheWeek } from './DaysOfTheWeek--FBi44iw.js';
|
|
23
|
+
export { D as Details } from './Details-CVA5zbrR.js';
|
|
24
|
+
export { D as Dialog } from './Dialog-Clh3jaX8.js';
|
|
25
25
|
export { D as Divider } from './Divider-C7fp5Xb6.js';
|
|
26
|
-
export { D as Dnd } from './index-
|
|
27
|
-
export { D as Drawer } from './Drawer-
|
|
28
|
-
export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-
|
|
29
|
-
export { E as EditCard } from './EditCard-
|
|
30
|
-
export { F as FieldLabel } from './FieldLabel-
|
|
26
|
+
export { D as Dnd } from './index-BwV_Pz7v.js';
|
|
27
|
+
export { D as Drawer } from './Drawer-h2Mut1lB.js';
|
|
28
|
+
export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-D7DKSs7E.js';
|
|
29
|
+
export { E as EditCard } from './EditCard-QohYSylF.js';
|
|
30
|
+
export { F as FieldLabel } from './FieldLabel-SzH61hCb.js';
|
|
31
31
|
export { w as warnDeprecatedErrorUsage } from './utils-CM48ODEJ.js';
|
|
32
32
|
export { F as FieldMessage } from './FieldMessage-mTGdycSA.js';
|
|
33
|
-
export { F as Flex } from './Flex-
|
|
34
|
-
export { G as Grid } from './Grid-
|
|
35
|
-
export { I as Icon } from './Icon-
|
|
36
|
-
export { I as InputMask } from './InputMask-
|
|
33
|
+
export { F as Flex } from './Flex-CRF7gj0_.js';
|
|
34
|
+
export { G as Grid } from './Grid-CvGQrIhE.js';
|
|
35
|
+
export { I as Icon } from './Icon-B5zwN7GD.js';
|
|
36
|
+
export { I as InputMask } from './InputMask-CQONHcTq.js';
|
|
37
37
|
export { L as Layout, b as LayoutElement, a as LayoutItem } from './Layout-C2Q2hyLG.js';
|
|
38
|
-
export { L as Link, u as useLinkStyles } from './Link-
|
|
38
|
+
export { L as Link, u as useLinkStyles } from './Link-D7ycmfQ_.js';
|
|
39
39
|
export { L as LinkButton } from './LinkButton-C0wps8r1.js';
|
|
40
40
|
export { L as List } from './List-BvzfZ9TW.js';
|
|
41
|
-
export { L as Listbox } from './Listbox-
|
|
42
|
-
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-
|
|
43
|
-
export { M as Menu } from './Menu-
|
|
44
|
-
export { N as NumberField } from './NumberField-
|
|
41
|
+
export { L as Listbox } from './Listbox-Cw_2W62S.js';
|
|
42
|
+
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-BgGEwal3.js';
|
|
43
|
+
export { M as Menu } from './Menu-DNOOmDQC.js';
|
|
44
|
+
export { N as NumberField } from './NumberField-B1761jkf.js';
|
|
45
45
|
export { Overflow, OverflowText } from './Overflow.js';
|
|
46
|
-
export { P as Page } from './Page-
|
|
47
|
-
export { P as Pagination } from './Pagination-
|
|
48
|
-
export { P as Popover } from './Popover-
|
|
49
|
-
export { P as ProgressBar } from './ProgressBar-
|
|
50
|
-
export { R as Radio } from './Radio-
|
|
51
|
-
export { S as SearchField } from './SearchField-
|
|
52
|
-
export { S as SegmentedControl, a as SegmentedControlSegment } from './SegmentedControl-
|
|
53
|
-
export { S as SelectCard } from './SelectCard-
|
|
54
|
-
export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-
|
|
55
|
-
export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-
|
|
56
|
-
export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-
|
|
57
|
-
export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-
|
|
58
|
-
export { S as SelectTrigger } from './SelectTrigger-
|
|
59
|
-
export { S as SideNav } from './SideNav-
|
|
46
|
+
export { P as Page } from './Page-B6E3Gbji.js';
|
|
47
|
+
export { P as Pagination } from './Pagination-DF7iMeJe.js';
|
|
48
|
+
export { P as Popover } from './Popover-CjsE5FG0.js';
|
|
49
|
+
export { P as ProgressBar } from './ProgressBar-Coh2nTJ1.js';
|
|
50
|
+
export { R as Radio } from './Radio-BxSL1PoP.js';
|
|
51
|
+
export { S as SearchField } from './SearchField-ChoNtw8w.js';
|
|
52
|
+
export { S as SegmentedControl, a as SegmentedControlSegment } from './SegmentedControl-CQ6DrbDc.js';
|
|
53
|
+
export { S as SelectCard } from './SelectCard-BTfhPyHH.js';
|
|
54
|
+
export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-Bi8HsMYP.js';
|
|
55
|
+
export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-CpfsWecG.js';
|
|
56
|
+
export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-DKg4g5nN.js';
|
|
57
|
+
export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-CtyLYyDE.js';
|
|
58
|
+
export { S as SelectTrigger } from './SelectTrigger-DNIc5ttg.js';
|
|
59
|
+
export { S as SideNav } from './SideNav-DZRXOYHs.js';
|
|
60
60
|
export { Skeleton, SkeletonCircle, SkeletonPill, SkeletonRectangle, SkeletonText } from './Skeleton.js';
|
|
61
61
|
export { S as Spinner } from './Spinner-B7tTWcP6.js';
|
|
62
62
|
export { S as SrOnly } from './SrOnly-pnf8ajnh.js';
|
|
63
|
-
export { S as Stepper } from './Stepper-
|
|
64
|
-
export { S as Switch } from './Switch-
|
|
65
|
-
export { T as Tab } from './Tab-
|
|
66
|
-
export { T as Text } from './Text-
|
|
67
|
-
export { T as Textarea } from './Textarea-
|
|
68
|
-
export { T as TextField } from './TextField-
|
|
69
|
-
export { T as TimeField } from './TimeField-
|
|
70
|
-
export { T as Toaster } from './Toaster-
|
|
71
|
-
export { t as toast } from './Toaster-
|
|
72
|
-
export { T as Toolbar } from './Toolbar-
|
|
63
|
+
export { S as Stepper } from './Stepper-BX_gDWLE.js';
|
|
64
|
+
export { S as Switch } from './Switch-BpjBYm-U.js';
|
|
65
|
+
export { T as Tab } from './Tab-Bqfvg8Ce.js';
|
|
66
|
+
export { T as Text } from './Text-CIoD_RK4.js';
|
|
67
|
+
export { T as Textarea } from './Textarea-B3C7AkPj.js';
|
|
68
|
+
export { T as TextField } from './TextField-D3sRS5q1.js';
|
|
69
|
+
export { T as TimeField } from './TimeField-L9B_X6-H.js';
|
|
70
|
+
export { T as Toaster } from './Toaster-DZxf0N9g.js';
|
|
71
|
+
export { t as toast } from './Toaster-CAI7tX8q.js';
|
|
72
|
+
export { T as Toolbar } from './Toolbar-BbImThIu.js';
|
|
73
73
|
export { T as Tooltip } from './Tooltip-BC8lnFhe.js';
|
|
74
74
|
export { u as useAccessibleColor } from './useAccessibleColor-BYKjkGRg.js';
|
|
75
75
|
export { u as useBreakpoint } from './useBreakpoint-BBNRlMGZ.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"makeZeroShortcutPreprocessor-CxsiGTRW.js","sources":["../src/components/DateFieldSingle/internal/maskito/makeZeroShortcutPreprocessor.ts"],"sourcesContent":["import { MaskitoPreprocessor } from \"@maskito/core\";\nimport { SelectionRange } from \"@maskito/core/src/lib/types\";\n\n/**\n * This is a custom-written preprocessor to handle the zero shortcut on slash.\n * e.g: 1/ -> 01/ and 01/1/ -> 01/01/\n *\n * @param templateString - A string representing the mask. e.g. \"dd/mm/yyyy\" or \"__/__/____\"\n * @param separator - The separator to use for segments of the date. Must match the separator in the template string.\n * @returns A MaskitoPreprocessor function.\n */\nexport const makeZeroShortcutPreprocessor: (\n templateString: string,\n separator: string,\n) => MaskitoPreprocessor = (templateString, separator) => {\n const zeroShortcutPreprocessor: MaskitoPreprocessor = (\n { elementState, data },\n actionType,\n ) => {\n // Only process when user is inserting a separator character\n if (\n actionType === \"insert\" && // the user is inserting a character\n data === separator && // the user typed the separator character\n elementState.selection[0] === elementState.selection[1] // only entering a single character\n ) {\n const selectionIndex = elementState.selection[0];\n\n // Find all separator positions in the template AFTER the current cursor position\n // This helps us determine the boundaries of the current segment\n const separatorPositions: number[] = templateString\n .split(\"\")\n .map((char, index) => (char === separator ? index : null))\n .filter((position) => position !== null)\n .filter((position) => position > selectionIndex);\n\n // Early exit conditions - don't apply zero padding in these cases\n const noRemainingSegments = !separatorPositions.length;\n const nothingEnteredYet = !elementState.value.length;\n const previousCharacterIsNotADigit = !/^\\d$/.test(\n elementState.value.slice(-1),\n );\n const currentCharacterIsSeparator =\n templateString[selectionIndex] === separator;\n\n if (\n noRemainingSegments ||\n nothingEnteredYet ||\n previousCharacterIsNotADigit ||\n currentCharacterIsSeparator\n ) {\n return { elementState, data };\n }\n\n // Find the start of the current segment by looking for the last separator or space (for date ranges)\n // This determines where the current number segment begins\n const firstIndexOfSegment = Math.max(\n elementState.value.lastIndexOf(separator) + 1,\n elementState.value.lastIndexOf(\" \") + 1,\n 0,\n );\n\n // Find the end of the current segment (next separator position)\n const lastIndexOfSegment = separatorPositions[0];\n\n // Extract the digits currently entered in this segment\n const digitsCurrentlyInSegment =\n elementState.value.slice(firstIndexOfSegment);\n\n // Calculate how many digits this segment should have based on the template\n // e.g., if template is \"dd/mm/yyyy\", the first segment should have 2 digits\n const targetNumberOfDigitsInSegment = templateString.slice(\n firstIndexOfSegment,\n lastIndexOfSegment,\n ).length;\n\n // Pad the current segment with leading zeros to reach the target length\n // e.g., \"1\" becomes \"01\" for a 2-digit segment\n const newSegment = digitsCurrentlyInSegment.padStart(\n targetNumberOfDigitsInSegment,\n \"0\",\n );\n\n // Construct the new value by replacing the current segment with the padded version\n const newValue = `${elementState.value.slice(0, firstIndexOfSegment)}${newSegment}`;\n\n // Return the updated state with the padded segment and separator\n // Position cursor after the separator\n return {\n elementState: {\n value: newValue + data,\n selection: [newValue.length, newValue.length] as SelectionRange,\n },\n data,\n };\n }\n // If conditions aren't met, return unchanged state\n return { elementState, data };\n };\n return zeroShortcutPreprocessor;\n};\n"],"names":[],"mappings":"AAWO,MAAM,4BAAA,GAGc,CAAC,cAAA,EAAgB,SAAA,KAAc;AACxD,EAAA,MAAM,2BAAgD,CACpD,EAAE,YAAA,EAAc,IAAA,IAChB,UAAA,KACG;AAEH,IAAA,IACE,UAAA,KAAe,QAAA;AAAA,IACf,IAAA,KAAS,SAAA;AAAA,IACT,aAAa,SAAA,CAAU,CAAC,MAAM,YAAA,CAAa,SAAA,CAAU,CAAC,CAAA,EACtD;AACA,MAAA,MAAM,cAAA,GAAiB,YAAA,CAAa,SAAA,CAAU,CAAC,CAAA;AAI/C,MAAA,MAAM,kBAAA,GAA+B,cAAA,CAClC,KAAA,CAAM,EAAE,CAAA,CACR,IAAI,CAAC,IAAA,EAAM,KAAA,KAAW,IAAA,KAAS,SAAA,GAAY,KAAA,GAAQ,IAAK,CAAA,CACxD,MAAA,CAAO,CAAC,QAAA,KAAa,QAAA,KAAa,IAAI,EACtC,MAAA,CAAO,CAAC,QAAA,KAAa,QAAA,GAAW,cAAc,CAAA;AAGjD,MAAA,MAAM,mBAAA,GAAsB,CAAC,kBAAA,CAAmB,MAAA;AAChD,MAAA,MAAM,iBAAA,GAAoB,CAAC,YAAA,CAAa,KAAA,CAAM,MAAA;AAC9C,MAAA,MAAM,4BAAA,GAA+B,CAAC,MAAA,CAAO,IAAA;AAAA,QAC3C,YAAA,CAAa,KAAA,CAAM,KAAA,CAAM,EAAE;AAAA,OAC7B;AACA,MAAA,MAAM,2BAAA,GACJ,cAAA,CAAe,cAAc,CAAA,KAAM,SAAA;AAErC,MAAA,IACE,mBAAA,IACA,iBAAA,IACA,4BAAA,IACA,2BAAA,EACA;AACA,QAAA,OAAO,EAAE,cAAc,IAAA,EAAK;AAAA,MAC9B;AAIA,MAAA,MAAM,sBAAsB,IAAA,CAAK,GAAA;AAAA,QAC/B,YAAA,CAAa,KAAA,CAAM,WAAA,CAAY,SAAS,CAAA,GAAI,CAAA;AAAA,QAC5C,YAAA,CAAa,KAAA,CAAM,WAAA,CAAY,GAAG,CAAA,GAAI,CAAA;AAAA,QACtC;AAAA,OACF;AAGA,MAAA,MAAM,kBAAA,GAAqB,mBAAmB,CAAC,CAAA;AAG/C,MAAA,MAAM,wBAAA,GACJ,YAAA,CAAa,KAAA,CAAM,KAAA,CAAM,mBAAmB,CAAA;AAI9C,MAAA,MAAM,gCAAgC,cAAA,CAAe,KAAA;AAAA,QACnD,mBAAA;AAAA,QACA;AAAA,OACF,CAAE,MAAA;AAIF,MAAA,MAAM,aAAa,wBAAA,CAAyB,QAAA;AAAA,QAC1C,6BAAA;AAAA,QACA;AAAA,OACF;AAGA,MAAA,MAAM,QAAA,GAAW,GAAG,YAAA,CAAa,KAAA,CAAM,MAAM,CAAA,EAAG,mBAAmB,CAAC,CAAA,EAAG,UAAU,CAAA,CAAA;AAIjF,MAAA,OAAO;AAAA,QACL,YAAA,EAAc;AAAA,UACZ,OAAO,QAAA,GAAW,IAAA;AAAA,UAClB,SAAA,EAAW,CAAC,QAAA,CAAS,MAAA,EAAQ,SAAS,MAAM;AAAA,SAC9C;AAAA,QACA;AAAA,OACF;AAAA,IACF;AAEA,IAAA,OAAO,EAAE,cAAc,IAAA,EAAK;AAAA,EAC9B,CAAA;AACA,EAAA,OAAO,wBAAA;AACT;;;;"}
|
|
1
|
+
{"version":3,"file":"makeZeroShortcutPreprocessor-CxsiGTRW.js","sources":["../src/components/DateFieldSingle/internal/maskito/makeZeroShortcutPreprocessor.ts"],"sourcesContent":["import type { MaskitoPreprocessor } from \"@maskito/core\";\nimport type { SelectionRange } from \"@maskito/core/src/lib/types\";\n\n/**\n * This is a custom-written preprocessor to handle the zero shortcut on slash.\n * e.g: 1/ -> 01/ and 01/1/ -> 01/01/\n *\n * @param templateString - A string representing the mask. e.g. \"dd/mm/yyyy\" or \"__/__/____\"\n * @param separator - The separator to use for segments of the date. Must match the separator in the template string.\n * @returns A MaskitoPreprocessor function.\n */\nexport const makeZeroShortcutPreprocessor: (\n templateString: string,\n separator: string,\n) => MaskitoPreprocessor = (templateString, separator) => {\n const zeroShortcutPreprocessor: MaskitoPreprocessor = (\n { elementState, data },\n actionType,\n ) => {\n // Only process when user is inserting a separator character\n if (\n actionType === \"insert\" && // the user is inserting a character\n data === separator && // the user typed the separator character\n elementState.selection[0] === elementState.selection[1] // only entering a single character\n ) {\n const selectionIndex = elementState.selection[0];\n\n // Find all separator positions in the template AFTER the current cursor position\n // This helps us determine the boundaries of the current segment\n const separatorPositions: number[] = templateString\n .split(\"\")\n .map((char, index) => (char === separator ? index : null))\n .filter((position) => position !== null)\n .filter((position) => position > selectionIndex);\n\n // Early exit conditions - don't apply zero padding in these cases\n const noRemainingSegments = !separatorPositions.length;\n const nothingEnteredYet = !elementState.value.length;\n const previousCharacterIsNotADigit = !/^\\d$/.test(\n elementState.value.slice(-1),\n );\n const currentCharacterIsSeparator =\n templateString[selectionIndex] === separator;\n\n if (\n noRemainingSegments ||\n nothingEnteredYet ||\n previousCharacterIsNotADigit ||\n currentCharacterIsSeparator\n ) {\n return { elementState, data };\n }\n\n // Find the start of the current segment by looking for the last separator or space (for date ranges)\n // This determines where the current number segment begins\n const firstIndexOfSegment = Math.max(\n elementState.value.lastIndexOf(separator) + 1,\n elementState.value.lastIndexOf(\" \") + 1,\n 0,\n );\n\n // Find the end of the current segment (next separator position)\n const lastIndexOfSegment = separatorPositions[0];\n\n // Extract the digits currently entered in this segment\n const digitsCurrentlyInSegment =\n elementState.value.slice(firstIndexOfSegment);\n\n // Calculate how many digits this segment should have based on the template\n // e.g., if template is \"dd/mm/yyyy\", the first segment should have 2 digits\n const targetNumberOfDigitsInSegment = templateString.slice(\n firstIndexOfSegment,\n lastIndexOfSegment,\n ).length;\n\n // Pad the current segment with leading zeros to reach the target length\n // e.g., \"1\" becomes \"01\" for a 2-digit segment\n const newSegment = digitsCurrentlyInSegment.padStart(\n targetNumberOfDigitsInSegment,\n \"0\",\n );\n\n // Construct the new value by replacing the current segment with the padded version\n const newValue = `${elementState.value.slice(0, firstIndexOfSegment)}${newSegment}`;\n\n // Return the updated state with the padded segment and separator\n // Position cursor after the separator\n return {\n elementState: {\n value: newValue + data,\n selection: [newValue.length, newValue.length] as SelectionRange,\n },\n data,\n };\n }\n // If conditions aren't met, return unchanged state\n return { elementState, data };\n };\n return zeroShortcutPreprocessor;\n};\n"],"names":[],"mappings":"AAWO,MAAM,4BAAA,GAGc,CAAC,cAAA,EAAgB,SAAA,KAAc;AACxD,EAAA,MAAM,2BAAgD,CACpD,EAAE,YAAA,EAAc,IAAA,IAChB,UAAA,KACG;AAEH,IAAA,IACE,UAAA,KAAe,QAAA;AAAA,IACf,IAAA,KAAS,SAAA;AAAA,IACT,aAAa,SAAA,CAAU,CAAC,MAAM,YAAA,CAAa,SAAA,CAAU,CAAC,CAAA,EACtD;AACA,MAAA,MAAM,cAAA,GAAiB,YAAA,CAAa,SAAA,CAAU,CAAC,CAAA;AAI/C,MAAA,MAAM,kBAAA,GAA+B,cAAA,CAClC,KAAA,CAAM,EAAE,CAAA,CACR,IAAI,CAAC,IAAA,EAAM,KAAA,KAAW,IAAA,KAAS,SAAA,GAAY,KAAA,GAAQ,IAAK,CAAA,CACxD,MAAA,CAAO,CAAC,QAAA,KAAa,QAAA,KAAa,IAAI,EACtC,MAAA,CAAO,CAAC,QAAA,KAAa,QAAA,GAAW,cAAc,CAAA;AAGjD,MAAA,MAAM,mBAAA,GAAsB,CAAC,kBAAA,CAAmB,MAAA;AAChD,MAAA,MAAM,iBAAA,GAAoB,CAAC,YAAA,CAAa,KAAA,CAAM,MAAA;AAC9C,MAAA,MAAM,4BAAA,GAA+B,CAAC,MAAA,CAAO,IAAA;AAAA,QAC3C,YAAA,CAAa,KAAA,CAAM,KAAA,CAAM,EAAE;AAAA,OAC7B;AACA,MAAA,MAAM,2BAAA,GACJ,cAAA,CAAe,cAAc,CAAA,KAAM,SAAA;AAErC,MAAA,IACE,mBAAA,IACA,iBAAA,IACA,4BAAA,IACA,2BAAA,EACA;AACA,QAAA,OAAO,EAAE,cAAc,IAAA,EAAK;AAAA,MAC9B;AAIA,MAAA,MAAM,sBAAsB,IAAA,CAAK,GAAA;AAAA,QAC/B,YAAA,CAAa,KAAA,CAAM,WAAA,CAAY,SAAS,CAAA,GAAI,CAAA;AAAA,QAC5C,YAAA,CAAa,KAAA,CAAM,WAAA,CAAY,GAAG,CAAA,GAAI,CAAA;AAAA,QACtC;AAAA,OACF;AAGA,MAAA,MAAM,kBAAA,GAAqB,mBAAmB,CAAC,CAAA;AAG/C,MAAA,MAAM,wBAAA,GACJ,YAAA,CAAa,KAAA,CAAM,KAAA,CAAM,mBAAmB,CAAA;AAI9C,MAAA,MAAM,gCAAgC,cAAA,CAAe,KAAA;AAAA,QACnD,mBAAA;AAAA,QACA;AAAA,OACF,CAAE,MAAA;AAIF,MAAA,MAAM,aAAa,wBAAA,CAAyB,QAAA;AAAA,QAC1C,6BAAA;AAAA,QACA;AAAA,OACF;AAGA,MAAA,MAAM,QAAA,GAAW,GAAG,YAAA,CAAa,KAAA,CAAM,MAAM,CAAA,EAAG,mBAAmB,CAAC,CAAA,EAAG,UAAU,CAAA,CAAA;AAIjF,MAAA,OAAO;AAAA,QACL,YAAA,EAAc;AAAA,UACZ,OAAO,QAAA,GAAW,IAAA;AAAA,UAClB,SAAA,EAAW,CAAC,QAAA,CAAS,MAAA,EAAQ,SAAS,MAAM;AAAA,SAC9C;AAAA,QACA;AAAA,OACF;AAAA,IACF;AAEA,IAAA,OAAO,EAAE,cAAc,IAAA,EAAK;AAAA,EAC9B,CAAA;AACA,EAAA,OAAO,wBAAA;AACT;;;;"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export * from './FilterBar';
|
|
2
2
|
export { FilterBar as default, type FilterBarProps } from './FilterBar';
|
|
3
|
-
export {
|
|
3
|
+
export type { Filter, BooleanFilter, CustomFilter, SingleSelectFilter, MultiSelectFilter, DateFilter, DateRangeFilter, DateListFilter, DateListOption, DateListLibraryOptionId, AsyncSelectFilter, AsyncMultiSelectFilter, TreeFilter, AsyncTreeFilter, NumericRangeFilter, NumericRangeValue, TextInputFilter, SearchFilter, FilterValue, FilterRenderProps, BaseFilter, } from './internal/types';
|
|
@@ -4,6 +4,6 @@ export { ToolbarButton, type ToolbarButtonProps } from './ToolbarButton';
|
|
|
4
4
|
export { ToolbarButtonToggle, type ToolbarButtonToggleProps, } from './ToolbarButtonToggle';
|
|
5
5
|
export { ToolbarButtonLink, type ToolbarButtonLinkProps, } from './ToolbarButtonLink';
|
|
6
6
|
export { ToolbarSelect, type ToolbarSelectProps } from './ToolbarSelect';
|
|
7
|
-
export {
|
|
7
|
+
export type { ToolbarItemAppearance, ToolbarOverflowTypes } from './types';
|
|
8
8
|
export { ToolbarControlGroup, type ToolbarControlGroupProps, } from './ToolbarControlGroup';
|
|
9
9
|
export { ToolbarSearchField, type ToolbarSearchFieldProps, } from './ToolbarSearchField';
|
|
@@ -22,11 +22,9 @@ export type AlertProps = ComponentPropsWithoutRef<"div"> & LayoutUtilProps & OnC
|
|
|
22
22
|
* Use `true` for the sparkle only, or pass tooltip/popover configuration.
|
|
23
23
|
*/
|
|
24
24
|
aiMark?: boolean | AiMarkWithTooltipOrPopoverConfig;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
25
|
+
} /**
|
|
27
26
|
* Data tracking id
|
|
28
|
-
*/
|
|
29
|
-
DataTrackingId;
|
|
27
|
+
*/ & DataTrackingId;
|
|
30
28
|
/**
|
|
31
29
|
* Alert component for displaying an inline banner message that communicates status to users — errors, warnings, success, or important information within page content.
|
|
32
30
|
*
|
|
@@ -16,11 +16,9 @@ export type AnnouncementProps = ComponentPropsWithoutRef<"div"> & Omit<LayoutUti
|
|
|
16
16
|
* The title text displayed in the announcement.
|
|
17
17
|
*/
|
|
18
18
|
title: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
19
|
+
} /**
|
|
21
20
|
* Data tracking id
|
|
22
|
-
*/
|
|
23
|
-
DataTrackingId;
|
|
21
|
+
*/ & DataTrackingId;
|
|
24
22
|
/**
|
|
25
23
|
* Announcement component for displaying important messages to users.
|
|
26
24
|
*
|
|
@@ -11,11 +11,9 @@ export type ButtonCompoundProps = LayoutUtilProps & ComponentPropsWithoutRef<"bu
|
|
|
11
11
|
* @default rounded
|
|
12
12
|
*/
|
|
13
13
|
shape?: "pill" | "circular" | "rounded";
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
14
|
+
} /**
|
|
16
15
|
* Data tracking id
|
|
17
|
-
*/
|
|
18
|
-
DataTrackingId;
|
|
16
|
+
*/ & DataTrackingId;
|
|
19
17
|
/**
|
|
20
18
|
* ButtonCompound component for creating compound button layouts.
|
|
21
19
|
*
|
|
@@ -36,11 +36,9 @@ export type ButtonLinkProps = LayoutUtilProps & ComponentPropsWithoutRef<"a"> &
|
|
|
36
36
|
* @default false
|
|
37
37
|
*/
|
|
38
38
|
loading?: boolean;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
39
|
+
} /**
|
|
41
40
|
* Data tracking id
|
|
42
|
-
*/
|
|
43
|
-
DataTrackingId;
|
|
41
|
+
*/ & DataTrackingId;
|
|
44
42
|
/**
|
|
45
43
|
* ButtonLink component for creating clickable links that look like buttons.
|
|
46
44
|
*
|
|
@@ -27,11 +27,9 @@ export type ButtonToggleProps = Omit<ButtonProps, "appearance" | "loading"> & {
|
|
|
27
27
|
* Callback for when pressed(selected) changes.
|
|
28
28
|
*/
|
|
29
29
|
onChange?: (e: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>, state: ButtonToggleState) => void;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
30
|
+
} /**
|
|
32
31
|
* Data tracking id
|
|
33
|
-
*/
|
|
34
|
-
DataTrackingId;
|
|
32
|
+
*/ & DataTrackingId;
|
|
35
33
|
/**
|
|
36
34
|
* ButtonToggle component for creating toggleable button states.
|
|
37
35
|
*
|
|
@@ -17,11 +17,13 @@ type CalendarCommonProps = Omit<ComponentPropsWithoutRef<"div">, "value" | "defa
|
|
|
17
17
|
*/
|
|
18
18
|
children?: ComponentPropsWithoutRef<"div">["children"];
|
|
19
19
|
/**
|
|
20
|
-
* The default focused date. Used to determine what month and year is shown.
|
|
20
|
+
* The default focused date. Used to determine what month and year is shown on initial render.
|
|
21
|
+
* Prefer this over `focusedDate`, which is deprecated.
|
|
21
22
|
*/
|
|
22
23
|
defaultFocusedDate?: string | null;
|
|
23
24
|
/**
|
|
24
25
|
* The focused date. Used to determine what month and year is currently shown.
|
|
26
|
+
* @deprecated Use `defaultFocusedDate` instead. `focusedDate` does not reliably control the initial view and will be removed in a future major release.
|
|
25
27
|
*/
|
|
26
28
|
focusedDate?: string | null;
|
|
27
29
|
/**
|
|
@@ -5,5 +5,5 @@ export { CalendarPrev, type CalendarPrevProps } from './CalendarPrevButton';
|
|
|
5
5
|
export { CalendarNext, type CalendarNextProps } from './CalendarNextButton';
|
|
6
6
|
export { CalendarMonthButton, type CalendarMonthButtonProps, } from './CalendarMonthButton';
|
|
7
7
|
export { CalendarMonth, type CalendarMonthProps } from './CalendarMonth';
|
|
8
|
-
export {
|
|
8
|
+
export type { CalendarContextProps } from './CalendarContext';
|
|
9
9
|
export type { LayoutUtilProps } from '../../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './Checkbox';
|
|
2
|
-
export {
|
|
2
|
+
export type { CheckboxGroupProps } from './CheckboxGroup';
|
|
3
3
|
export { Checkbox as default } from './Checkbox';
|
|
4
|
-
export {
|
|
4
|
+
export type { CheckboxState } from './types';
|
|
@@ -210,7 +210,7 @@ export declare const Combobox: (<Item>(props: ComboboxProps<Item>) => import("re
|
|
|
210
210
|
* <Text>No items found. Try adjusting your search.</Text>
|
|
211
211
|
* </Combobox.Empty>
|
|
212
212
|
*/
|
|
213
|
-
Empty: <Item = any>({ children
|
|
213
|
+
Empty: <Item = any>({ children }: import('./ComboboxEmpty').ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
214
214
|
};
|
|
215
215
|
export declare const ComboboxElement: (<Item>(props: ComboboxProps<Item>) => import("react/jsx-runtime").JSX.Element) & {
|
|
216
216
|
/**
|
|
@@ -384,5 +384,5 @@ export declare const ComboboxElement: (<Item>(props: ComboboxProps<Item>) => imp
|
|
|
384
384
|
* <Text>No items found. Try adjusting your search.</Text>
|
|
385
385
|
* </Combobox.Empty>
|
|
386
386
|
*/
|
|
387
|
-
Empty: <Item = any>({ children
|
|
387
|
+
Empty: <Item = any>({ children }: import('./ComboboxEmpty').ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
388
388
|
};
|
|
@@ -22,4 +22,4 @@ export type ComboboxEmptyProps = {
|
|
|
22
22
|
* <Text>No items found. Try a different search term.</Text>
|
|
23
23
|
* </ComboboxEmpty>
|
|
24
24
|
*/
|
|
25
|
-
export declare const ComboboxEmpty: <Item = any>({ children
|
|
25
|
+
export declare const ComboboxEmpty: <Item = any>({ children }: ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,6 +2,6 @@ export { Combobox as default, Combobox, ComboboxElement } from './Combobox';
|
|
|
2
2
|
export { useInfiniteCombobox } from './useInfiniteCombobox';
|
|
3
3
|
export { ComboboxSelect } from './ComboboxSelect';
|
|
4
4
|
export { ComboboxList } from './ComboboxList';
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
5
|
+
export type { ComboboxEmptyProps } from './ComboboxEmpty';
|
|
6
|
+
export type { ComboboxSingleProps, ComboboxMultipleProps, ComboboxProps, ComboboxSelectProps, ComboboxContentProps, ComboboxSearchFieldProps, ComboboxSelectTriggerProps, ComboboxListProps, ComboboxItemProps, ComboboxItemAddNewProps, SelectSingleProps, SelectMultipleProps, UseInfiniteComboboxProps, } from './ComboboxTypes';
|
|
7
7
|
export type { LayoutUtilProps } from '../../types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './DateFieldSingle';
|
|
2
|
-
export {
|
|
2
|
+
export type { DateMode } from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './DateFieldYearless';
|
|
2
|
-
export {
|
|
2
|
+
export type { YearlessDate, YearlessDateMode } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './Details';
|
|
2
2
|
export { Details as default } from './Details';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export type { DetailsSummaryProps } from './DetailsSummary';
|
|
4
|
+
export type { DetailsContentProps } from './DetailsContent';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Dialog as default, Dialog, type DialogProps } from './Dialog';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export type { DialogCancelButtonProps } from './DialogCancelButton';
|
|
3
|
+
export type { DialogContentProps } from './DialogContent';
|
|
4
|
+
export type { DialogFooterProps } from './DialogFooter';
|
|
5
|
+
export type { DialogHeaderProps } from './DialogHeader';
|
|
6
6
|
export type { LayoutUtilProps } from '../../types';
|
|
@@ -6,7 +6,7 @@ export declare const DndSort: typeof DndSortRoot & {
|
|
|
6
6
|
Zone: typeof DndSortZone;
|
|
7
7
|
};
|
|
8
8
|
export { DndSortCard, DndSortZone };
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
9
|
+
export type { DndSortProps } from './DndSort';
|
|
10
|
+
export type { DndSortCardProps } from './DndSortCard';
|
|
11
|
+
export type { DndSortZoneProps } from './DndSortZone';
|
|
12
12
|
export type { DndSortChangeEvent, DndSortZoneAdvancedRenderer } from './types';
|
|
@@ -128,7 +128,9 @@ export declare const Drawer: import('react').ForwardRefExoticComponent<Omit<impo
|
|
|
128
128
|
* @example
|
|
129
129
|
* <Drawer.Header>Settings</Drawer.Header>
|
|
130
130
|
*/
|
|
131
|
-
Header: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('../..').DataTrackingId &
|
|
131
|
+
Header: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('../..').DataTrackingId & {
|
|
132
|
+
actions?: import('./DrawerHeader').DrawerHeaderAction[];
|
|
133
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
132
134
|
/**
|
|
133
135
|
* Footer component for the drawer that displays action buttons and controls.
|
|
134
136
|
*
|
|
@@ -1,16 +1,43 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
-
import { DataTrackingId } from '../../types';
|
|
2
|
+
import { DataTrackingId, Svg } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* Action item for the DrawerHeader overflow menu.
|
|
5
|
+
*/
|
|
6
|
+
export type DrawerHeaderAction = {
|
|
7
|
+
/**
|
|
8
|
+
* Visible text for the menu item.
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Callback invoked when the menu item is selected.
|
|
13
|
+
*/
|
|
14
|
+
onClick: () => void;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the menu item is disabled.
|
|
17
|
+
*/
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Optional icon displayed before the label.
|
|
21
|
+
*/
|
|
22
|
+
icon?: Svg;
|
|
23
|
+
};
|
|
3
24
|
/**
|
|
4
25
|
* Props for the DrawerHeader component
|
|
5
26
|
* @extends ComponentPropsWithoutRef<"header">
|
|
6
27
|
*/
|
|
7
|
-
export type DrawerHeaderProps = ComponentPropsWithoutRef<"header"> & DataTrackingId
|
|
28
|
+
export type DrawerHeaderProps = ComponentPropsWithoutRef<"header"> & DataTrackingId & {
|
|
29
|
+
/**
|
|
30
|
+
* Overflow menu items rendered left of the close button.
|
|
31
|
+
*/
|
|
32
|
+
actions?: DrawerHeaderAction[];
|
|
33
|
+
};
|
|
8
34
|
/**
|
|
9
35
|
* Header component for the drawer that displays a title and close button.
|
|
10
36
|
*
|
|
11
37
|
* Features:
|
|
12
38
|
* - Displays the drawer title as a headline
|
|
13
39
|
* - Includes an accessible close button
|
|
40
|
+
* - Optional overflow menu for secondary header actions
|
|
14
41
|
* - Sticky positioning at the top of the drawer
|
|
15
42
|
* - Proper semantic HTML structure
|
|
16
43
|
* - Accessible with proper ARIA attributes
|
|
@@ -20,4 +47,9 @@ export type DrawerHeaderProps = ComponentPropsWithoutRef<"header"> & DataTrackin
|
|
|
20
47
|
* @example
|
|
21
48
|
* <Drawer.Header>Settings</Drawer.Header>
|
|
22
49
|
*/
|
|
23
|
-
export declare const DrawerHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & DataTrackingId &
|
|
50
|
+
export declare const DrawerHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & DataTrackingId & {
|
|
51
|
+
/**
|
|
52
|
+
* Overflow menu items rendered left of the close button.
|
|
53
|
+
*/
|
|
54
|
+
actions?: DrawerHeaderAction[];
|
|
55
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Drawer as default, Drawer, type DrawerProps } from './Drawer';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export type { DrawerCancelButtonProps } from './DrawerCancelButton';
|
|
3
|
+
export type { DrawerFooterProps } from './DrawerFooter';
|
|
4
|
+
export type { DrawerHeaderAction, DrawerHeaderProps, } from './DrawerHeader';
|
|
5
|
+
export type { DrawerContentProps } from './DrawerContent';
|
|
6
6
|
export type { LayoutUtilProps } from '../../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './Listbox';
|
|
2
2
|
export { Listbox as default, type ListboxProps } from './Listbox';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export type { ListboxOptionProps } from './ListboxOption';
|
|
4
|
+
export type { ListboxOptionGroupProps } from './ListboxOptionGroup';
|
|
@@ -27,5 +27,5 @@ export declare const Overflow: import('react').ForwardRefExoticComponent<Overflo
|
|
|
27
27
|
Text: import('react').ForwardRefExoticComponent<OverflowTextProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
28
28
|
};
|
|
29
29
|
export default Overflow;
|
|
30
|
-
export {
|
|
30
|
+
export type { OverflowProps };
|
|
31
31
|
export { OverflowText, type OverflowTextProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './Popover';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export type { PopoverButtonProps } from './PopoverButton';
|
|
3
|
+
export type { PopoverCloseProps } from './PopoverClose';
|
|
4
|
+
export type { PopoverContentProps } from './PopoverContent';
|
|
5
|
+
export type { PopoverTriggerProps } from './PopoverTrigger';
|
|
6
6
|
export { Popover as default } from './Popover';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './Radio';
|
|
2
|
-
export {
|
|
2
|
+
export type { RadioGroupProps } from './RadioGroup';
|
|
3
3
|
export { Radio as default } from './Radio';
|
|
4
|
-
export {
|
|
4
|
+
export type { RadioState } from './types';
|
|
@@ -9,6 +9,12 @@ export type UseMenuInteractionConfig = {
|
|
|
9
9
|
displayAs: "popover" | "dialog";
|
|
10
10
|
closeOnActivate: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* When true (default), the menu closes if `disabled` becomes true.
|
|
14
|
+
* Set false when `disabled` only freezes row interaction (e.g. bulk pending)
|
|
15
|
+
* and the menu should remain open.
|
|
16
|
+
*/
|
|
17
|
+
closeOnDisabled?: boolean;
|
|
12
18
|
id: string;
|
|
13
19
|
triggerRef: RefObject<HTMLButtonElement>;
|
|
14
20
|
label: string;
|
|
@@ -63,7 +69,7 @@ type ItemReturnProps = {
|
|
|
63
69
|
};
|
|
64
70
|
export type GetMenuPropsFn = (opts?: MenuPropsArg) => MenuReturnProps;
|
|
65
71
|
export type GetItemPropsFn = (opts: ItemPropsArg) => ItemReturnProps;
|
|
66
|
-
export declare const useMenuInteraction: ({ items, sectionsMeta: _sectionsMeta, onItemActivate, selectedItemIds, displayAs: _displayAs, closeOnActivate, disabled, id, triggerRef, label, isOpen, setIsOpen, onImplicitClose, onExplicitClose, }: UseMenuInteractionConfig) => {
|
|
72
|
+
export declare const useMenuInteraction: ({ items, sectionsMeta: _sectionsMeta, onItemActivate, selectedItemIds, displayAs: _displayAs, closeOnActivate, disabled, closeOnDisabled, id, triggerRef, label, isOpen, setIsOpen, onImplicitClose, onExplicitClose, }: UseMenuInteractionConfig) => {
|
|
67
73
|
isOpen: boolean;
|
|
68
74
|
openMenu: () => void;
|
|
69
75
|
closeMenu: (options?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { SideNav, type SideNavProps } from './SideNav';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
2
|
+
export type { SideNavLinkProps } from './SideNavLink';
|
|
3
|
+
export type { SideNavCollapsibleProps } from './SideNavCollapsible';
|
|
4
|
+
export type { SideNavGroupProps } from './SideNavGroup';
|
|
5
5
|
export { SideNav as default } from './SideNav';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './Stepper';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
2
|
+
export type { StepperFinalPanelProps } from './StepperFinalPanel';
|
|
3
|
+
export type { StepperListProps } from './StepperList';
|
|
4
|
+
export type { StepperNextButtonProps } from './StepperNextButton';
|
|
5
|
+
export type { StepperPanelProps } from './StepperPanel';
|
|
6
|
+
export type { StepperPrevButtonProps } from './StepperPrevButton';
|
|
7
|
+
export type { StepperStepProps } from './StepperStep';
|
|
8
8
|
export { Stepper as default } from './Stepper';
|