@servicetitan/anvil2 1.37.1 → 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 +36 -0
- package/dist/{Alert-BNbD8EQd-D2ZerUYD.js → Alert-C3WoRkeN-D_6Yf63F.js} +5 -5
- package/dist/{Alert-BNbD8EQd-D2ZerUYD.js.map → Alert-C3WoRkeN-D_6Yf63F.js.map} +1 -1
- package/dist/{Alert-DwdMxzH0.js → Alert-DipY5OlC.js} +3 -2
- package/dist/Alert-DipY5OlC.js.map +1 -0
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-CiHTmcmB.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-DX3kc-St-Bi0Fl0-E.js → Button-BaHFf1AT-BQy-PFB5.js} +4 -4
- package/dist/{Button-DX3kc-St-Bi0Fl0-E.js.map → Button-BaHFf1AT-BQy-PFB5.js.map} +1 -1
- package/dist/{Button-CPyDYPAg.js → Button-DMQKV2sV.js} +3 -2
- package/dist/Button-DMQKV2sV.js.map +1 -0
- package/dist/Button.css +45 -49
- package/dist/Button.js +1 -1
- package/dist/Button.module-BqTaW8HK-BqTaW8HK.js +25 -0
- package/dist/Button.module-BqTaW8HK-BqTaW8HK.js.map +1 -0
- package/dist/{ButtonCompound-CYU1LNHq-Bc1kbNSB.js → ButtonCompound-Cs2A5X-Z-Dl3InVab.js} +3 -3
- package/dist/{ButtonCompound-CYU1LNHq-Bc1kbNSB.js.map → ButtonCompound-Cs2A5X-Z-Dl3InVab.js.map} +1 -1
- package/dist/{ButtonCompound-CZn9FsxS.js → ButtonCompound-DGuF0zzT.js} +3 -2
- package/dist/ButtonCompound-DGuF0zzT.js.map +1 -0
- package/dist/ButtonCompound.js +1 -1
- package/dist/{ButtonLink-B_tyWgz5-fw-d4WQs.js → ButtonLink-5qlX0uZx-b9H7MGhk.js} +7 -5
- package/dist/ButtonLink-5qlX0uZx-b9H7MGhk.js.map +1 -0
- package/dist/{ButtonLink-T1aDDrwY.js → ButtonLink-B0NJuVk5.js} +3 -2
- package/dist/ButtonLink-B0NJuVk5.js.map +1 -0
- package/dist/ButtonLink.js +1 -1
- package/dist/{ButtonToggle-6n5-CX2P-DBxJwDzw.js → ButtonToggle-Bm4KRl3o-B1-LbfjY.js} +4 -4
- package/dist/{ButtonToggle-6n5-CX2P-DBxJwDzw.js.map → ButtonToggle-Bm4KRl3o-B1-LbfjY.js.map} +1 -1
- package/dist/{ButtonToggle-5RNkPmop.js → ButtonToggle-CKVyEODc.js} +3 -2
- package/dist/ButtonToggle-CKVyEODc.js.map +1 -0
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-ccK3_s_h-85O26aWv.js → Calendar-CohGSWFp-DFYJkf7Y.js} +9 -9
- package/dist/{Calendar-ccK3_s_h-85O26aWv.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-eAxcQnNg.js → Checkbox-DbDwtefR.js} +25 -2
- package/dist/Checkbox-DbDwtefR.js.map +1 -0
- package/dist/{Checkbox-DEAra-BQ-bF-q1M2I.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-CKmh6XXv.js → Combobox-7ADxZKDE.js} +187 -24
- package/dist/Combobox-7ADxZKDE.js.map +1 -0
- package/dist/Combobox.js +1 -1
- package/dist/{DateField-CPJzhs_q.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-2z-ObNCZ.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-DzHVBIH3.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-D6o8LHzn.js → DndSort-Cl0FCNQm.js} +6 -6
- package/dist/{DndSort-D6o8LHzn.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-Cz1Cn4A2.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-vaQYg_Vf.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-BBLIz8d_.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-DDBvbj8J.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-BY98czM-.js → Page-CtwsyE3i.js} +165 -49
- package/dist/Page-CtwsyE3i.js.map +1 -0
- package/dist/Page.css +72 -72
- package/dist/Page.js +1 -1
- package/dist/Popover-Bnkwq99S.js +135 -0
- package/dist/Popover-Bnkwq99S.js.map +1 -0
- package/dist/{Popover-C31e7pyQ-BKY8Cu9r.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-D1zZ2s7L.js → ProgressBar-BotOFymw.js} +3 -2
- package/dist/ProgressBar-BotOFymw.js.map +1 -0
- package/dist/{ProgressBar-dl-MpiLN-CxX2edlK.js → ProgressBar-Cfi5zZRy-BpESsdh_.js} +202 -122
- 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-DiKeatJz-CJv-wiPU.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-DvQKJBNF-BtUX2vxS.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-M8VmWN_m.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-BgHGtMb-.js → TextField-BYyyw3m2.js} +3 -2
- package/dist/{TextField-BgHGtMb-.js.map → TextField-BYyyw3m2.js.map} +1 -1
- package/dist/{TextField-D4HFeTaC-DBJfcnz7.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-R3cktsYz.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-BePAKdaW.js → Toolbar-Cu3u0TRX.js} +191 -22
- package/dist/Toolbar-Cu3u0TRX.js.map +1 -0
- package/dist/Toolbar.css +18 -28
- 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/column_editor.svg +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-CyGNSK4Y-Dv0IKCva.js → index-CKfiQx8n-4nziUo7G.js} +4 -4
- package/dist/{index-CyGNSK4Y-Dv0IKCva.js.map → index-CKfiQx8n-4nziUo7G.js.map} +1 -1
- package/dist/index.js +57 -57
- package/dist/{toast-BUVHNidk.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-DwdMxzH0.js.map +0 -1
- package/dist/Announcement-CiHTmcmB.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-CPyDYPAg.js.map +0 -1
- package/dist/Button.module-D8SjARtW-D8SjARtW.js +0 -25
- package/dist/Button.module-D8SjARtW-D8SjARtW.js.map +0 -1
- package/dist/ButtonCompound-CZn9FsxS.js.map +0 -1
- package/dist/ButtonLink-B_tyWgz5-fw-d4WQs.js.map +0 -1
- package/dist/ButtonLink-T1aDDrwY.js.map +0 -1
- package/dist/ButtonToggle-5RNkPmop.js.map +0 -1
- package/dist/Calendar-CdlkJi-V.js +0 -57
- package/dist/Calendar-CdlkJi-V.js.map +0 -1
- package/dist/Card-DgxiRqS_.js.map +0 -1
- package/dist/Checkbox-DEAra-BQ-bF-q1M2I.js.map +0 -1
- package/dist/Checkbox-eAxcQnNg.js.map +0 -1
- package/dist/Chip-BQ58RQ3v.js.map +0 -1
- package/dist/Combobox-CKmh6XXv.js.map +0 -1
- package/dist/DateField-CPJzhs_q.js.map +0 -1
- package/dist/DaysOfTheWeek-2z-ObNCZ.js.map +0 -1
- package/dist/Details-ChZdA5Yo.js.map +0 -1
- package/dist/Dialog-DzHVBIH3.js.map +0 -1
- package/dist/Divider-Crum3dyV.js.map +0 -1
- package/dist/Drawer-ohNSRGI4.js +0 -66
- package/dist/Drawer-ohNSRGI4.js.map +0 -1
- package/dist/EditCard-Cz1Cn4A2.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-B2_O_tIf-BMv7gEby.js +0 -323
- package/dist/InputMask-B2_O_tIf-BMv7gEby.js.map +0 -1
- package/dist/InputMask-vaQYg_Vf.js.map +0 -1
- package/dist/Link-K3nk4QAp.js.map +0 -1
- package/dist/ListView-BBLIz8d_.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-DDBvbj8J.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-BY98czM-.js.map +0 -1
- package/dist/Popover-C31e7pyQ-BKY8Cu9r.js.map +0 -1
- package/dist/Popover-D9YlXxdx.js +0 -56
- package/dist/Popover-D9YlXxdx.js.map +0 -1
- package/dist/ProgressBar-D1zZ2s7L.js.map +0 -1
- package/dist/ProgressBar-dl-MpiLN-CxX2edlK.js.map +0 -1
- package/dist/ProgressBar-dl-MpiLN.css +0 -665
- package/dist/Radio-DiKeatJz-CJv-wiPU.js.map +0 -1
- package/dist/Radio-DmKsVmvI.js +0 -34
- package/dist/Radio-DmKsVmvI.js.map +0 -1
- package/dist/SearchField-D3z4LjJg.js.map +0 -1
- package/dist/SegmentedControl-D_ADGpVy.js.map +0 -1
- package/dist/SelectCard-DvQKJBNF-BtUX2vxS.js.map +0 -1
- package/dist/SelectCardGroup-BMtIW3Er.js +0 -21
- package/dist/SelectCardGroup-BMtIW3Er.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-M8VmWN_m.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-D4HFeTaC-DBJfcnz7.js.map +0 -1
- package/dist/Textarea-R3cktsYz.js.map +0 -1
- package/dist/Toolbar-BePAKdaW.js.map +0 -1
- package/dist/Tooltip-CFKD9Xsq.js +0 -34
- package/dist/Tooltip-CFKD9Xsq.js.map +0 -1
- package/dist/toast-BUVHNidk.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-BNbD8EQd.css → Alert-C3WoRkeN.css} +0 -0
- /package/dist/{Avatar-C2IfIAxL.css → Avatar-B20IdOEO.css} +0 -0
- /package/dist/{Calendar-ccK3_s_h.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-C31e7pyQ.css → Popover-VztF0YHt.css} +0 -0
- /package/dist/{Radio-DiKeatJz.css → Radio-7U7IBI58.css} +0 -0
- /package/dist/{SelectCard-DvQKJBNF.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-CyGNSK4Y.css → index-CKfiQx8n.css} +0 -0
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
import { FlexProps as CoreFlexProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Flex component
|
|
4
|
+
* @property {boolean} [inline] - Applies display: inline-flex instead of flex
|
|
5
|
+
* @property {string} [direction] - The flex direction of the container
|
|
6
|
+
* @property {string | number} [grow] - The flex grow value for the container
|
|
7
|
+
* @property {string | number} [shrink] - The flex shrink value for the container
|
|
8
|
+
* @property {string | number} [basis] - The flex basis value for the container
|
|
9
|
+
* @property {string} [wrap] - The flex wrap value for the container
|
|
10
|
+
* @property {object} [sm] - Responsive props for small screens (sm breakpoint)
|
|
11
|
+
* @property {object} [md] - Responsive props for medium screens (md breakpoint)
|
|
12
|
+
* @property {object} [lg] - Responsive props for large screens (lg breakpoint)
|
|
13
|
+
* @property {object} [xl] - Responsive props for extra large screens (xl breakpoint)
|
|
14
|
+
* @property {object} [xxl] - Responsive props for extra extra large screens (xxl breakpoint)
|
|
15
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
16
|
+
* @extends LayoutUtilProps
|
|
17
|
+
*/
|
|
2
18
|
export type FlexProps = CoreFlexProps;
|
|
19
|
+
/**
|
|
20
|
+
* Flex component for creating flexible layouts using CSS Flexbox.
|
|
21
|
+
*
|
|
22
|
+
* Features:
|
|
23
|
+
* - CSS Flexbox layout with full control over flex properties
|
|
24
|
+
* - Support for both flex and inline-flex display modes
|
|
25
|
+
* - Responsive design with breakpoint-specific props (sm, md, lg, xl, xxl)
|
|
26
|
+
* - Comprehensive layout utilities for spacing, alignment, and positioning
|
|
27
|
+
* - Automatic style generation and class management
|
|
28
|
+
* - Support for all standard div element props
|
|
29
|
+
* - Flexible direction, grow, shrink, basis, and wrap controls
|
|
30
|
+
* - Deprecated flexShrink prop with modern shrink alternative
|
|
31
|
+
* - Automatic tracking ID generation for analytics
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Flex direction="row" gap="4" alignItems="center">
|
|
35
|
+
* <div>Item 1</div>
|
|
36
|
+
* <div>Item 2</div>
|
|
37
|
+
* <div>Item 3</div>
|
|
38
|
+
* </Flex>
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* <Flex
|
|
42
|
+
* direction="column"
|
|
43
|
+
* gap="2"
|
|
44
|
+
* md={{ direction: "row", gap: "4" }}
|
|
45
|
+
* >
|
|
46
|
+
* <div>Item 1</div>
|
|
47
|
+
* <div>Item 2</div>
|
|
48
|
+
* <div>Item 3</div>
|
|
49
|
+
* </Flex>
|
|
50
|
+
*/
|
|
3
51
|
export declare const Flex: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flexDirection" | "flexGrow" | "flexShrink" | "flexBasis" | "flexWrap"> & {
|
|
4
52
|
inline?: boolean;
|
|
5
53
|
direction?: import('react').CSSProperties["flexDirection"];
|
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
import { GridProps as CoreGridProps, GridItemProps as CoreGridItemProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Grid component
|
|
4
|
+
* @property {boolean} [inline] - Applies display: inline-grid instead of grid
|
|
5
|
+
* @property {string} [templateColumns] - The grid template columns definition
|
|
6
|
+
* @property {string} [templateRows] - The grid template rows definition
|
|
7
|
+
* @property {string} [templateAreas] - The grid template areas definition
|
|
8
|
+
* @property {string} [autoColumns] - The grid auto columns definition
|
|
9
|
+
* @property {string} [autoRows] - The grid auto rows definition
|
|
10
|
+
* @property {object} [sm] - Responsive props for small screens (sm breakpoint)
|
|
11
|
+
* @property {object} [md] - Responsive props for medium screens (md breakpoint)
|
|
12
|
+
* @property {object} [lg] - Responsive props for large screens (lg breakpoint)
|
|
13
|
+
* @property {object} [xl] - Responsive props for extra large screens (xl breakpoint)
|
|
14
|
+
* @property {object} [xxl] - Responsive props for extra extra large screens (xxl breakpoint)
|
|
15
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
16
|
+
* @extends LayoutUtilProps
|
|
17
|
+
*/
|
|
2
18
|
export type GridProps = CoreGridProps;
|
|
19
|
+
/**
|
|
20
|
+
* Props for the GridItem component
|
|
21
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
22
|
+
* @extends LayoutUtilProps
|
|
23
|
+
*/
|
|
3
24
|
export type GridItemProps = CoreGridItemProps;
|
|
25
|
+
/**
|
|
26
|
+
* Grid component for creating CSS Grid layouts with responsive design.
|
|
27
|
+
*
|
|
28
|
+
* Features:
|
|
29
|
+
* - CSS Grid layout with full control over grid properties
|
|
30
|
+
* - Support for both grid and inline-grid display modes
|
|
31
|
+
* - Responsive design with breakpoint-specific props (sm, md, lg, xl, xxl)
|
|
32
|
+
* - Comprehensive layout utilities for spacing, alignment, and positioning
|
|
33
|
+
* - Template columns, rows, and areas configuration
|
|
34
|
+
* - Auto columns and rows sizing
|
|
35
|
+
* - Automatic style generation and class management
|
|
36
|
+
* - Support for all standard div element props
|
|
37
|
+
* - Flexible grid template and auto-sizing controls
|
|
38
|
+
* - Automatic tracking ID generation for analytics
|
|
39
|
+
* - Compound component structure with Item sub-component
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* <Grid templateColumns="repeat(3, 1fr)" gap="4">
|
|
43
|
+
* <Grid.Item>Grid Item 1</Grid.Item>
|
|
44
|
+
* <Grid.Item>Grid Item 2</Grid.Item>
|
|
45
|
+
* <Grid.Item>Grid Item 3</Grid.Item>
|
|
46
|
+
* </Grid>
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* <Grid
|
|
50
|
+
* templateColumns="repeat(1, 1fr)"
|
|
51
|
+
* gap="2"
|
|
52
|
+
* md={{ templateColumns: "repeat(3, 1fr)", gap: "4" }}
|
|
53
|
+
* >
|
|
54
|
+
* <Grid.Item>Grid Item 1</Grid.Item>
|
|
55
|
+
* <Grid.Item>Grid Item 2</Grid.Item>
|
|
56
|
+
* <Grid.Item>Grid Item 3</Grid.Item>
|
|
57
|
+
* </Grid>
|
|
58
|
+
*/
|
|
4
59
|
export declare const Grid: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
60
|
inline?: boolean;
|
|
6
61
|
} & import('@servicetitan/hammer-react').LayoutUtilProps & {
|
|
@@ -16,5 +71,24 @@ export declare const Grid: import('react').ForwardRefExoticComponent<Omit<import
|
|
|
16
71
|
xl?: import('@servicetitan/hammer-react/dist/components/Grid/Grid').GridSpecificProps;
|
|
17
72
|
xxl?: import('@servicetitan/hammer-react/dist/components/Grid/Grid').GridSpecificProps;
|
|
18
73
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
74
|
+
/**
|
|
75
|
+
* GridItem component for individual items within a CSS Grid layout.
|
|
76
|
+
*
|
|
77
|
+
* Features:
|
|
78
|
+
* - Individual grid item with full layout utility support
|
|
79
|
+
* - Automatic grid item styling and class management
|
|
80
|
+
* - Comprehensive layout utilities for positioning and sizing
|
|
81
|
+
* - Support for all standard div element props
|
|
82
|
+
* - Flexible grid positioning and sizing controls
|
|
83
|
+
* - Automatic style generation and class management
|
|
84
|
+
* - Works seamlessly with Grid component
|
|
85
|
+
* - Automatic tracking ID generation for analytics
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* <Grid templateColumns="repeat(2, 1fr)" gap="4">
|
|
89
|
+
* <Grid.Item>Grid Item 1</Grid.Item>
|
|
90
|
+
* <Grid.Item>Grid Item 2</Grid.Item>
|
|
91
|
+
* </Grid>
|
|
92
|
+
*/
|
|
19
93
|
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
20
94
|
};
|
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
import { IconProps as CoreIconProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Icon component
|
|
4
|
+
* @property {string} [color] - Apply a specific color to the icon
|
|
5
|
+
* @property {string} [size] - The size of the icon (small, medium, large, xlarge)
|
|
6
|
+
* @property {Svg} svg - Assets passed in using svgr
|
|
7
|
+
* @property {boolean} [inherit] - Whether the icon should inherit the color from its parent element
|
|
8
|
+
* @extends Omit<ComponentPropsWithoutRef<"span">, "children">
|
|
9
|
+
* @extends Omit<LayoutUtilProps, "flex" | "flexBasis" | "flexGrow" | "flexShrink">
|
|
10
|
+
*/
|
|
2
11
|
export type IconProps = CoreIconProps;
|
|
12
|
+
/**
|
|
13
|
+
* Icon component for displaying SVG icons with consistent styling and sizing.
|
|
14
|
+
*
|
|
15
|
+
* Features:
|
|
16
|
+
* - SVG icon rendering with consistent styling
|
|
17
|
+
* - Four predefined sizes: small, medium, large, xlarge
|
|
18
|
+
* - Custom color support with optional inheritance
|
|
19
|
+
* - Layout utilities for positioning and spacing
|
|
20
|
+
* - Focus management with visible focus indicators
|
|
21
|
+
* - Automatic style generation and class management
|
|
22
|
+
* - Support for all standard span element props
|
|
23
|
+
* - Flexible color inheritance and custom color options
|
|
24
|
+
* - Consistent sizing across different icon sets
|
|
25
|
+
* - Automatic tracking ID generation for analytics
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* import Close from "@servicetitan/hammer-icon/mdi/round/close.svg";
|
|
29
|
+
*
|
|
30
|
+
* <Icon svg={Close} size="medium" />
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* import Info from "@servicetitan/hammer-icon/mdi/round/info.svg";
|
|
34
|
+
*
|
|
35
|
+
* <Icon
|
|
36
|
+
* svg={Info}
|
|
37
|
+
* size="large"
|
|
38
|
+
* color="#007bff"
|
|
39
|
+
* inherit={false}
|
|
40
|
+
* />
|
|
41
|
+
*/
|
|
3
42
|
export declare const Icon: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "children"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
|
|
4
43
|
color?: string;
|
|
5
44
|
size?: Extract<import('@servicetitan/hammer-react').Size, "small" | "medium" | "large" | "xlarge">;
|
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
import { InputMaskProps as CoreInputMaskProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the InputMask component
|
|
4
|
+
* @property {string} mask - The mask pattern to apply to the input (9 for digits, a for letters, * for alphanumeric)
|
|
5
|
+
* @property {string} [defaultMaskCharacter] - Character to display for unfilled mask positions
|
|
6
|
+
* @property {array} [customMaskHandler] - Array of custom mask handlers for advanced transformations
|
|
7
|
+
* @property {object} [inputProps] - Props to pass to the input component
|
|
8
|
+
* @property {ReactElement} [children] - Custom input element to be wrapped with mask functionality
|
|
9
|
+
* @property {string} [data-tracking-id] - Custom tracking ID for analytics
|
|
10
|
+
*/
|
|
2
11
|
export type InputMaskProps = CoreInputMaskProps & {
|
|
3
12
|
["data-tracking-id"]?: string;
|
|
4
13
|
};
|
|
14
|
+
/**
|
|
15
|
+
* InputMask component for applying input masks and formatting to text inputs.
|
|
16
|
+
*
|
|
17
|
+
* Features:
|
|
18
|
+
* - Input masking with configurable patterns (9, a, *, fixed characters)
|
|
19
|
+
* - Support for both controlled and uncontrolled inputs
|
|
20
|
+
* - Custom input elements or default TextField integration
|
|
21
|
+
* - Advanced cursor positioning and selection management
|
|
22
|
+
* - Custom mask handlers for complex transformations
|
|
23
|
+
* - Paste and keyboard event handling
|
|
24
|
+
* - Automatic mask character replacement
|
|
25
|
+
* - Focus and blur event management
|
|
26
|
+
* - Accessible with proper ARIA attributes
|
|
27
|
+
* - Support for all standard input element props
|
|
28
|
+
* - Flexible mask pattern configuration
|
|
29
|
+
* - Real-time input validation and formatting
|
|
30
|
+
* - Automatic tracking ID generation for analytics
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* <InputMask
|
|
34
|
+
* mask="99/99/9999"
|
|
35
|
+
* inputProps={{ label: "Date", hint: "mm/dd/yyyy" }}
|
|
36
|
+
* />
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* <InputMask mask="(999) 999-9999">
|
|
40
|
+
* <TextField label="Phone Number" hint="(555) 123-4567" />
|
|
41
|
+
* </InputMask>
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* <InputMask
|
|
45
|
+
* mask="99/99/9999"
|
|
46
|
+
* customMaskHandler={[
|
|
47
|
+
* {
|
|
48
|
+
* match: {
|
|
49
|
+
* matchPattern: /^(\d)\//,
|
|
50
|
+
* startPosition: 0,
|
|
51
|
+
* endPosition: 2,
|
|
52
|
+
* },
|
|
53
|
+
* apply: {
|
|
54
|
+
* applyPattern: "0$1",
|
|
55
|
+
* caretOffset: 2,
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* ]}
|
|
59
|
+
* inputProps={{ label: "Date with custom handler" }}
|
|
60
|
+
* />
|
|
61
|
+
*/
|
|
5
62
|
export declare const InputMask: import('react').ForwardRefExoticComponent<InputMaskProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,41 +1,172 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Layout component.
|
|
4
|
+
*/
|
|
2
5
|
export type LayoutProps = ComponentPropsWithoutRef<"div"> & {
|
|
6
|
+
/** Whether the layout should be fluid (full width) instead of constrained */
|
|
3
7
|
fluid?: boolean;
|
|
8
|
+
/** The spacing variant for the layout grid */
|
|
4
9
|
variant?: "default" | "wide" | "narrow";
|
|
5
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* Layout container component that provides a responsive grid system.
|
|
13
|
+
*
|
|
14
|
+
* Features:
|
|
15
|
+
* - CSS Grid-based responsive layout system
|
|
16
|
+
* - Container with max-width constraint (1280px) by default
|
|
17
|
+
* - Fluid option for full-width layouts
|
|
18
|
+
* - Three spacing variants: default, wide, and narrow
|
|
19
|
+
* - Container queries for responsive behavior
|
|
20
|
+
* - Automatic tracking ID generation for analytics
|
|
21
|
+
* - Semantic HTML structure with proper accessibility
|
|
22
|
+
* - Flexible content area for child Layout.Item components
|
|
23
|
+
* - Consistent spacing and alignment across breakpoints
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* <Layout>
|
|
27
|
+
* <Layout.Item span={6}>Left Column</Layout.Item>
|
|
28
|
+
* <Layout.Item span={6}>Right Column</Layout.Item>
|
|
29
|
+
* </Layout>
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* <Layout fluid variant="wide">
|
|
33
|
+
* <Layout.Item span={4}>Column 1</Layout.Item>
|
|
34
|
+
* <Layout.Item span={4}>Column 2</Layout.Item>
|
|
35
|
+
* <Layout.Item span={4}>Column 3</Layout.Item>
|
|
36
|
+
* </Layout>
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* <Layout variant="narrow">
|
|
40
|
+
* <Layout.Item span={12}>
|
|
41
|
+
* <h1>Full Width Content</h1>
|
|
42
|
+
* <p>This content spans the full width of the layout.</p>
|
|
43
|
+
* </Layout.Item>
|
|
44
|
+
* </Layout>
|
|
45
|
+
*/
|
|
6
46
|
export declare const LayoutElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
47
|
+
/** Whether the layout should be fluid (full width) instead of constrained */
|
|
7
48
|
fluid?: boolean;
|
|
49
|
+
/** The spacing variant for the layout grid */
|
|
8
50
|
variant?: "default" | "wide" | "narrow";
|
|
9
51
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
52
|
+
/**
|
|
53
|
+
* Props for the Layout.Item component.
|
|
54
|
+
*/
|
|
10
55
|
export type LayoutItemProps = ComponentPropsWithoutRef<"div"> & {
|
|
56
|
+
/** Default span across all breakpoints (1-12) */
|
|
11
57
|
span?: number;
|
|
58
|
+
/** Extra small breakpoint span (1-12) */
|
|
12
59
|
xs?: number;
|
|
60
|
+
/** Small breakpoint span (1-12) */
|
|
13
61
|
sm?: number;
|
|
62
|
+
/** Medium breakpoint span (1-12) */
|
|
14
63
|
md?: number;
|
|
64
|
+
/** Large breakpoint span (1-12) */
|
|
15
65
|
lg?: number;
|
|
66
|
+
/** Extra large breakpoint span (1-12) */
|
|
16
67
|
xl?: number;
|
|
68
|
+
/** Extra extra large breakpoint span (1-12) */
|
|
17
69
|
xxl?: number;
|
|
18
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* Layout item component that defines grid columns within a Layout container.
|
|
73
|
+
*
|
|
74
|
+
* Features:
|
|
75
|
+
* - Responsive grid columns with breakpoint-specific spans
|
|
76
|
+
* - 12-column grid system for flexible layouts
|
|
77
|
+
* - Breakpoint-specific span controls (xs, sm, md, lg, xl, xxl)
|
|
78
|
+
* - Default span fallback for all breakpoints
|
|
79
|
+
* - Automatic responsive behavior using container queries
|
|
80
|
+
* - Semantic HTML structure with proper accessibility
|
|
81
|
+
* - Flexible content area for any child components
|
|
82
|
+
* - Consistent spacing and alignment with parent Layout
|
|
83
|
+
* - Automatic tracking ID generation for analytics
|
|
84
|
+
*
|
|
85
|
+
* Breakpoints:
|
|
86
|
+
* - xs: Extra small (mobile)
|
|
87
|
+
* - sm: Small (tablet portrait)
|
|
88
|
+
* - md: Medium (tablet landscape)
|
|
89
|
+
* - lg: Large (desktop)
|
|
90
|
+
* - xl: Extra large (large desktop)
|
|
91
|
+
* - xxl: Extra extra large (ultra-wide)
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* <Layout>
|
|
95
|
+
* <Layout.Item span={6} md={4} lg={3}>
|
|
96
|
+
* <Card>Responsive Card</Card>
|
|
97
|
+
* </Layout.Item>
|
|
98
|
+
* <Layout.Item span={6} md={8} lg={9}>
|
|
99
|
+
* <Card>Main Content</Card>
|
|
100
|
+
* </Layout.Item>
|
|
101
|
+
* </Layout>
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* <Layout>
|
|
105
|
+
* <Layout.Item span={12} md={6}>
|
|
106
|
+
* <h2>Left Column</h2>
|
|
107
|
+
* <p>This takes full width on mobile, half width on medium+ screens.</p>
|
|
108
|
+
* </Layout.Item>
|
|
109
|
+
* <Layout.Item span={12} md={6}>
|
|
110
|
+
* <h2>Right Column</h2>
|
|
111
|
+
* <p>This also takes full width on mobile, half width on medium+ screens.</p>
|
|
112
|
+
* </Layout.Item>
|
|
113
|
+
* </Layout>
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* <Layout variant="wide">
|
|
117
|
+
* <Layout.Item span={1} sm={2} md={3} lg={4}>
|
|
118
|
+
* <Button>Small Button</Button>
|
|
119
|
+
* </Layout.Item>
|
|
120
|
+
* <Layout.Item span={11} sm={10} md={9} lg={8}>
|
|
121
|
+
* <TextField placeholder="Search..." />
|
|
122
|
+
* </Layout.Item>
|
|
123
|
+
* </Layout>
|
|
124
|
+
*/
|
|
19
125
|
export declare const LayoutItem: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
126
|
+
/** Default span across all breakpoints (1-12) */
|
|
20
127
|
span?: number;
|
|
128
|
+
/** Extra small breakpoint span (1-12) */
|
|
21
129
|
xs?: number;
|
|
130
|
+
/** Small breakpoint span (1-12) */
|
|
22
131
|
sm?: number;
|
|
132
|
+
/** Medium breakpoint span (1-12) */
|
|
23
133
|
md?: number;
|
|
134
|
+
/** Large breakpoint span (1-12) */
|
|
24
135
|
lg?: number;
|
|
136
|
+
/** Extra large breakpoint span (1-12) */
|
|
25
137
|
xl?: number;
|
|
138
|
+
/** Extra extra large breakpoint span (1-12) */
|
|
26
139
|
xxl?: number;
|
|
27
140
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
141
|
+
/**
|
|
142
|
+
* Layout component with compound component pattern.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* <Layout>
|
|
146
|
+
* <Layout.Item span={6}>Left</Layout.Item>
|
|
147
|
+
* <Layout.Item span={6}>Right</Layout.Item>
|
|
148
|
+
* </Layout>
|
|
149
|
+
*/
|
|
28
150
|
export declare const Layout: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
151
|
+
/** Whether the layout should be fluid (full width) instead of constrained */
|
|
29
152
|
fluid?: boolean;
|
|
153
|
+
/** The spacing variant for the layout grid */
|
|
30
154
|
variant?: "default" | "wide" | "narrow";
|
|
31
155
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
32
156
|
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
157
|
+
/** Default span across all breakpoints (1-12) */
|
|
33
158
|
span?: number;
|
|
159
|
+
/** Extra small breakpoint span (1-12) */
|
|
34
160
|
xs?: number;
|
|
161
|
+
/** Small breakpoint span (1-12) */
|
|
35
162
|
sm?: number;
|
|
163
|
+
/** Medium breakpoint span (1-12) */
|
|
36
164
|
md?: number;
|
|
165
|
+
/** Large breakpoint span (1-12) */
|
|
37
166
|
lg?: number;
|
|
167
|
+
/** Extra large breakpoint span (1-12) */
|
|
38
168
|
xl?: number;
|
|
169
|
+
/** Extra extra large breakpoint span (1-12) */
|
|
39
170
|
xxl?: number;
|
|
40
171
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
41
172
|
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { LinkProps as CoreLinkProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Link component.
|
|
5
|
+
* @extends Omit<CoreLinkProps, "href">
|
|
6
|
+
* @extends DataTrackingId
|
|
7
|
+
*/
|
|
3
8
|
export type LinkProps = Omit<CoreLinkProps, "href"> & DataTrackingId & ({
|
|
4
9
|
pathname?: never;
|
|
5
10
|
search?: never;
|
|
@@ -14,12 +19,54 @@ export type LinkProps = Omit<CoreLinkProps, "href"> & DataTrackingId & ({
|
|
|
14
19
|
href?: never;
|
|
15
20
|
}) & ({
|
|
16
21
|
/**
|
|
22
|
+
* The visual appearance of the link.
|
|
17
23
|
* @default "primary"
|
|
18
24
|
*/
|
|
19
25
|
appearance?: "primary";
|
|
26
|
+
/** Whether the link should have a quieter, less prominent appearance */
|
|
20
27
|
quiet?: boolean;
|
|
21
28
|
} | {
|
|
29
|
+
/** The visual appearance of the link. Secondary appearance cannot be quiet. */
|
|
22
30
|
appearance: "secondary";
|
|
23
31
|
quiet?: false;
|
|
24
32
|
});
|
|
33
|
+
/**
|
|
34
|
+
* Link component for creating accessible, styled hyperlinks with tracking support.
|
|
35
|
+
*
|
|
36
|
+
* Features:
|
|
37
|
+
* - Two visual appearances: primary (default) and secondary
|
|
38
|
+
* - Quiet mode for less prominent styling
|
|
39
|
+
* - Automatic external link icon for target="_blank" links
|
|
40
|
+
* - Security attributes (rel="noopener noreferrer") for external links
|
|
41
|
+
* - Full accessibility support with proper focus management
|
|
42
|
+
* - Supports layout utilities for positioning and spacing
|
|
43
|
+
* - Flexible content support for text and other elements
|
|
44
|
+
* - Responsive design with consistent typography
|
|
45
|
+
* - Hover and focus states with proper visual feedback
|
|
46
|
+
* - Screen reader support for external link announcements
|
|
47
|
+
* - Automatic tracking ID generation for analytics
|
|
48
|
+
* - Client-side navigation support with pathname and search params
|
|
49
|
+
* - History API integration for single-page application navigation
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* <Link href="/dashboard" appearance="primary">
|
|
53
|
+
* Go to Dashboard
|
|
54
|
+
* </Link>
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* <Link pathname="/settings" search="?tab=profile">
|
|
58
|
+
* Profile Settings
|
|
59
|
+
* </Link>
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* <Link href="https://example.com" target="_blank" quiet>
|
|
63
|
+
* External Documentation
|
|
64
|
+
* </Link>
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* <Link href="/profile" gap="2" alignItems="center">
|
|
68
|
+
* <Avatar name="John Doe" size="small" />
|
|
69
|
+
* View Profile
|
|
70
|
+
* </Link>
|
|
71
|
+
*/
|
|
25
72
|
export declare const Link: import('react').ForwardRefExoticComponent<LinkProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
@@ -1,15 +1,100 @@
|
|
|
1
1
|
import { ListViewProps as CoreListViewProps, ListViewOptionProps as CoreListViewOptionProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { ForwardedRef } from 'react';
|
|
3
3
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the ListView component
|
|
6
|
+
* @property {function} [onSelectionChange] - Callback when selection changes
|
|
7
|
+
* @property {Array} [selected] - Currently selected items (controlled)
|
|
8
|
+
* @property {Array} [items] - Array of items to render
|
|
9
|
+
* @property {Array} [defaultSelected] - Default selected items (uncontrolled)
|
|
10
|
+
* @property {function} [children] - Optional render function for items
|
|
11
|
+
* @extends LayoutUtilProps
|
|
12
|
+
*/
|
|
4
13
|
export type ListViewProps<T> = CoreListViewProps<T>;
|
|
14
|
+
/**
|
|
15
|
+
* Props for the ListViewOption component
|
|
16
|
+
* @property {boolean} [disabled] - Whether the option is disabled
|
|
17
|
+
* @property {function} [onChange] - Callback when the option changes
|
|
18
|
+
* @property {object} [item] - The item object when using items prop
|
|
19
|
+
* @property {string} [label] - The display label for the option
|
|
20
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
21
|
+
*/
|
|
5
22
|
export type ListViewOptionProps = CoreListViewOptionProps & DataTrackingId;
|
|
6
23
|
declare const ListViewElement: <T>(props: ListViewProps<T>, ref: ForwardedRef<HTMLUListElement>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* ListViewOption component for individual selectable items within a listview.
|
|
26
|
+
*
|
|
27
|
+
* Features:
|
|
28
|
+
* - Displays selectable options with proper ARIA attributes
|
|
29
|
+
* - Supports disabled state for non-selectable options
|
|
30
|
+
* - Keyboard navigation support
|
|
31
|
+
* - Accessible with screen reader support
|
|
32
|
+
* - Automatic tracking ID generation for analytics
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* <ListView.Option item={{ label: "Option 1" }} />
|
|
36
|
+
*/
|
|
7
37
|
export declare const ListViewOption: import('react').ForwardRefExoticComponent<ListViewOptionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
38
|
+
/**
|
|
39
|
+
* ListViewOptionCell component for rendering a cell within a listview option.
|
|
40
|
+
*
|
|
41
|
+
* Features:
|
|
42
|
+
* - Renders a grid cell for option content
|
|
43
|
+
* - Supports custom content and layout
|
|
44
|
+
* - Accessible with proper ARIA attributes
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* <ListView.OptionCell>Custom cell content</ListView.OptionCell>
|
|
48
|
+
*/
|
|
8
49
|
export declare const ListViewOptionCell: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
50
|
+
/**
|
|
51
|
+
* ListView component for displaying a list of selectable items in a grid layout.
|
|
52
|
+
*
|
|
53
|
+
* Features:
|
|
54
|
+
* - Supports single and multiple selection modes
|
|
55
|
+
* - Keyboard navigation with arrow keys
|
|
56
|
+
* - Customizable item rendering
|
|
57
|
+
* - Controlled and uncontrolled modes
|
|
58
|
+
* - Accessible with proper ARIA attributes
|
|
59
|
+
* - Focus management for interactive elements
|
|
60
|
+
* - Layout utilities for positioning and spacing
|
|
61
|
+
* - Automatic tracking ID generation for analytics
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* <ListView items={[{ label: "Item 1" }, { label: "Item 2" }]} onSelectionChange={handleSelection}>
|
|
65
|
+
* {({ items }) => items.map(item => (
|
|
66
|
+
* <ListView.Option key={item.label} item={item} />
|
|
67
|
+
* ))}
|
|
68
|
+
* </ListView>
|
|
69
|
+
*/
|
|
9
70
|
export declare const ListView: (<T>(props: ListViewProps<T> & {
|
|
10
71
|
ref?: React.ForwardedRef<HTMLUListElement>;
|
|
11
72
|
}) => ReturnType<typeof ListViewElement>) & {
|
|
73
|
+
/**
|
|
74
|
+
* ListViewOption component for individual selectable items within a listview.
|
|
75
|
+
*
|
|
76
|
+
* Features:
|
|
77
|
+
* - Displays selectable options with proper ARIA attributes
|
|
78
|
+
* - Supports disabled state for non-selectable options
|
|
79
|
+
* - Keyboard navigation support
|
|
80
|
+
* - Accessible with screen reader support
|
|
81
|
+
* - Automatic tracking ID generation for analytics
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* <ListView.Option item={{ label: "Option 1" }} />
|
|
85
|
+
*/
|
|
12
86
|
Option: import('react').ForwardRefExoticComponent<ListViewOptionProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
87
|
+
/**
|
|
88
|
+
* ListViewOptionCell component for rendering a cell within a listview option.
|
|
89
|
+
*
|
|
90
|
+
* Features:
|
|
91
|
+
* - Renders a grid cell for option content
|
|
92
|
+
* - Supports custom content and layout
|
|
93
|
+
* - Accessible with proper ARIA attributes
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* <ListView.OptionCell>Custom cell content</ListView.OptionCell>
|
|
97
|
+
*/
|
|
13
98
|
OptionCell: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
99
|
};
|
|
15
100
|
export {};
|