@servicetitan/anvil2 1.37.2 → 1.39.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 +41 -0
- package/dist/{Alert-DMk5bG5T-kR7Uzp64.js → Alert-C3WoRkeN-D_6Yf63F.js} +5 -5
- package/dist/{Alert-DMk5bG5T-kR7Uzp64.js.map → Alert-C3WoRkeN-D_6Yf63F.js.map} +1 -1
- package/dist/{Alert-BsFFiu7g.js → Alert-DipY5OlC.js} +3 -2
- package/dist/Alert-DipY5OlC.js.map +1 -0
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-BawOyXV3.js → Announcement-ButSjdLn.js} +5 -4
- package/dist/Announcement-ButSjdLn.js.map +1 -0
- package/dist/Announcement.js +1 -1
- package/dist/{AnvilProvider-DJ4lYJVW.js → AnvilProvider-Lh8YtV03.js} +2 -2
- package/dist/{AnvilProvider-DJ4lYJVW.js.map → AnvilProvider-Lh8YtV03.js.map} +1 -1
- package/dist/AnvilProvider.js +1 -1
- package/dist/{Avatar-C2IfIAxL-BUio7c00.js → Avatar-B20IdOEO-Di14brYV.js} +23 -4
- package/dist/Avatar-B20IdOEO-Di14brYV.js.map +1 -0
- package/dist/Avatar-hNOToS9S.js +42 -0
- package/dist/Avatar-hNOToS9S.js.map +1 -0
- package/dist/Avatar.js +1 -1
- package/dist/{Badge-Bko3Cw3L.js → Badge-7aZfE-LH.js} +3 -2
- package/dist/{Badge-Bko3Cw3L.js.map → Badge-7aZfE-LH.js.map} +1 -1
- package/dist/Badge.js +1 -1
- package/dist/{Breadcrumbs-BP5QXVje.js → Breadcrumbs-DJbCkSeD.js} +35 -5
- package/dist/Breadcrumbs-DJbCkSeD.js.map +1 -0
- package/dist/Breadcrumbs.js +1 -1
- package/dist/{Button-C-QpfgfF-CRBE7KiD.js → Button-BaHFf1AT-BQy-PFB5.js} +3 -3
- package/dist/{Button-C-QpfgfF-CRBE7KiD.js.map → Button-BaHFf1AT-BQy-PFB5.js.map} +1 -1
- package/dist/{Button-NTFmgcbr.js → Button-DMQKV2sV.js} +4 -3
- package/dist/Button-DMQKV2sV.js.map +1 -0
- package/dist/Button.js +1 -1
- package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js → ButtonCompound-Cs2A5X-Z-Dl3InVab.js} +2 -2
- package/dist/{ButtonCompound-Dp5J4W81-BkZ68L4-.js.map → ButtonCompound-Cs2A5X-Z-Dl3InVab.js.map} +1 -1
- package/dist/{ButtonCompound-DlgIyoB9.js → ButtonCompound-DGuF0zzT.js} +3 -2
- package/dist/ButtonCompound-DGuF0zzT.js.map +1 -0
- package/dist/ButtonCompound.js +1 -1
- package/dist/{ButtonLink-CSaxjhI2-KLVGwWjE.js → ButtonLink-5qlX0uZx-b9H7MGhk.js} +6 -4
- package/dist/ButtonLink-5qlX0uZx-b9H7MGhk.js.map +1 -0
- package/dist/{ButtonLink-B_uUWBLY.js → ButtonLink-B0NJuVk5.js} +4 -3
- package/dist/ButtonLink-B0NJuVk5.js.map +1 -0
- package/dist/ButtonLink.js +1 -1
- package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js → ButtonToggle-Bm4KRl3o-B1-LbfjY.js} +3 -3
- package/dist/{ButtonToggle-CvXIngRd-BiWpOOWr.js.map → ButtonToggle-Bm4KRl3o-B1-LbfjY.js.map} +1 -1
- package/dist/{ButtonToggle-D3tcTRq9.js → ButtonToggle-CKVyEODc.js} +3 -2
- package/dist/ButtonToggle-CKVyEODc.js.map +1 -0
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js → Calendar-BT6eeZDr-CSY_7I1M.js} +9 -9
- package/dist/{Calendar-Bn00Dnc--DcCNi1xz.js.map → Calendar-BT6eeZDr-CSY_7I1M.js.map} +1 -1
- package/dist/Calendar-CIWOPMcu.js +130 -0
- package/dist/Calendar-CIWOPMcu.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-CRurfeRE-BR_NXfh6.js → Checkbox-BNrjUtHs-CfExXZer.js} +6 -5
- package/dist/Checkbox-BNrjUtHs-CfExXZer.js.map +1 -0
- package/dist/{Checkbox-BIlp8xmW.js → Checkbox-ic-HmakR.js} +25 -2
- package/dist/Checkbox-ic-HmakR.js.map +1 -0
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-BQ58RQ3v.js → Chip-BlLavyIK.js} +2 -2
- package/dist/Chip-BlLavyIK.js.map +1 -0
- package/dist/{Chip-DwiMFYBm-CIDM1d8e.js → Chip-_daV8CmM-CTke7zH4.js} +5 -5
- package/dist/{Chip-DwiMFYBm-CIDM1d8e.js.map → Chip-_daV8CmM-CTke7zH4.js.map} +1 -1
- package/dist/Chip.js +1 -1
- package/dist/{Combobox-Dde7-7tv.js → Combobox-DR7O7aaZ.js} +187 -24
- package/dist/Combobox-DR7O7aaZ.js.map +1 -0
- package/dist/Combobox.js +1 -1
- package/dist/{DateField-D-eVP6xh.js → DateField-CYT6udu8.js} +18 -13
- package/dist/DateField-CYT6udu8.js.map +1 -0
- package/dist/DateField.js +1 -1
- package/dist/{DaysOfTheWeek-Dz-aZ-LW.js → DaysOfTheWeek-DbjM8UPz.js} +7 -7
- package/dist/DaysOfTheWeek-DbjM8UPz.js.map +1 -0
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Details-ChZdA5Yo.js → Details-DVg0EOkv.js} +51 -3
- package/dist/Details-DVg0EOkv.js.map +1 -0
- package/dist/Details.js +1 -1
- package/dist/{Dialog-DJhN8QWP.js → Dialog-BmeXBcs-.js} +125 -4
- package/dist/Dialog-BmeXBcs-.js.map +1 -0
- package/dist/Dialog.js +1 -1
- package/dist/{Divider-Crum3dyV.js → Divider-CN36wX4s.js} +3 -2
- package/dist/Divider-CN36wX4s.js.map +1 -0
- package/dist/Divider.js +1 -1
- package/dist/Dnd.js +1 -1
- package/dist/{DndSort-Dy_D1EnT.js → DndSort-Cl0FCNQm.js} +6 -6
- package/dist/{DndSort-Dy_D1EnT.js.map → DndSort-Cl0FCNQm.js.map} +1 -1
- package/dist/DndSort.js +1 -1
- package/dist/Drawer-8jQ-jaiv.js +142 -0
- package/dist/Drawer-8jQ-jaiv.js.map +1 -0
- package/dist/Drawer.js +1 -1
- package/dist/{EditCard-BNwoKJ_6.js → EditCard-C0hD1VPA.js} +7 -6
- package/dist/EditCard-C0hD1VPA.js.map +1 -0
- package/dist/EditCard.js +1 -1
- package/dist/{FieldMessage-Js4e1ezw-DZ6YDx24.js → FieldMessage-Bobp105T-DYhStLY4.js} +5 -5
- package/dist/FieldMessage-Bobp105T-DYhStLY4.js.map +1 -0
- package/dist/FieldMessage-Bobp105T.css +32 -0
- package/dist/{FieldMessage-CERWyhwG.js → FieldMessage-DkJ0K5s-.js} +2 -2
- package/dist/FieldMessage-DkJ0K5s-.js.map +1 -0
- 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-h7k80qls-DHPFHTvI.js +46 -0
- package/dist/Helper-h7k80qls-DHPFHTvI.js.map +1 -0
- package/dist/{FieldMessage-Js4e1ezw.css → Helper-h7k80qls.css} +8 -9
- 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-CiHg25XE-DXRWDeku.js +231 -0
- package/dist/InputMask-CiHg25XE-DXRWDeku.js.map +1 -0
- package/dist/{InputMask-CeqX68uX.js → InputMask-DH14Bp7r.js} +3 -2
- package/dist/InputMask-DH14Bp7r.js.map +1 -0
- package/dist/InputMask.js +1 -1
- package/dist/Layout-CUUb2PVr.js.map +1 -1
- package/dist/{Link-K3nk4QAp.js → Link-DZa0wmkA.js} +3 -3
- package/dist/Link-DZa0wmkA.js.map +1 -0
- package/dist/{Link-CVN5Mwtx-B08PO1ef.js → Link-Dqp_XXl_-Bv20l_tY.js} +4 -4
- package/dist/{Link-CVN5Mwtx-B08PO1ef.js.map → Link-Dqp_XXl_-Bv20l_tY.js.map} +1 -1
- package/dist/Link.js +1 -1
- package/dist/{ListView-zlg5FlKW.js → ListView-HBQy0Qmv.js} +87 -47
- package/dist/ListView-HBQy0Qmv.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-DLlT8qbJ-BvhkfmIf.js → Listbox-BvJLSAVO-Br5k6fmq.js} +51 -10
- package/dist/Listbox-BvJLSAVO-Br5k6fmq.js.map +1 -0
- package/dist/Listbox-dVARiucB.js +67 -0
- package/dist/Listbox-dVARiucB.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js} +2 -2
- package/dist/{LocalizationProvider-FkvhW-le-DPTpcI0N.js.map → LocalizationProvider-VtRAfGBT-Bo8XuFoE.js.map} +1 -1
- package/dist/LocalizationProvider.js +1 -1
- package/dist/{Menu-BjzTwENs.js → Menu-CijOsL76.js} +60 -10
- package/dist/Menu-CijOsL76.js.map +1 -0
- package/dist/Menu.js +1 -1
- package/dist/{Overflow-vc1mxjUD.js → Overflow-B6rIOkAI.js} +27 -2
- package/dist/Overflow-B6rIOkAI.js.map +1 -0
- package/dist/{Overflow-ENfRRD_5-DLHLZ02e.js → Overflow-BrXwlYpn-CtqaiNgb.js} +25 -4
- package/dist/Overflow-BrXwlYpn-CtqaiNgb.js.map +1 -0
- package/dist/Overflow.js +1 -1
- package/dist/{Page-CSM-a2UE.js → Page-CdkxWab-.js} +131 -15
- package/dist/Page-CdkxWab-.js.map +1 -0
- package/dist/Page.js +1 -1
- package/dist/Popover-CCcd-JhF.js +135 -0
- package/dist/Popover-CCcd-JhF.js.map +1 -0
- package/dist/{Popover-CpyYXmal-I-E-B4u8.js → Popover-CVCAWhdO-dI3x1kfe.js} +80 -8
- package/dist/Popover-CVCAWhdO-dI3x1kfe.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/{ProgressBar-B25Wxpaf.js → ProgressBar-BEDtxKDv.js} +3 -2
- package/dist/ProgressBar-BEDtxKDv.js.map +1 -0
- package/dist/{ProgressBar-CeClhdcf-Dcft7ZjO.js → ProgressBar-CZhkKwaS-BppwbCSh.js} +184 -106
- package/dist/ProgressBar-CZhkKwaS-BppwbCSh.js.map +1 -0
- package/dist/ProgressBar-CZhkKwaS.css +671 -0
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-BlMDLvPw-DUeywcYR.js → Radio-DiBn0-hf-CCkWosaL.js} +25 -5
- package/dist/Radio-DiBn0-hf-CCkWosaL.js.map +1 -0
- package/dist/Radio-Sj9M1KAg.js +66 -0
- package/dist/Radio-Sj9M1KAg.js.map +1 -0
- package/dist/Radio.js +1 -1
- package/dist/{SearchField-D3z4LjJg.js → SearchField-BQY7LHe2.js} +7 -6
- package/dist/SearchField-BQY7LHe2.js.map +1 -0
- package/dist/SearchField.js +1 -1
- package/dist/{SegmentedControl-D_ADGpVy.js → SegmentedControl-DKMQuf7s.js} +41 -2
- package/dist/SegmentedControl-DKMQuf7s.js.map +1 -0
- package/dist/SegmentedControl.js +1 -1
- package/dist/{SelectCard-D26y01WZ-BWN9G09J.js → SelectCard-CY8IVFDT-lXO3-mQ_.js} +70 -21
- package/dist/SelectCard-CY8IVFDT-lXO3-mQ_.js.map +1 -0
- package/dist/SelectCard.js +1 -1
- package/dist/SelectCardGroup-DLt9z9b8.js +49 -0
- package/dist/SelectCardGroup-DLt9z9b8.js.map +1 -0
- package/dist/{SideNav-C7wc1_JK.js → SideNav-DEoGpeqJ.js} +130 -10
- package/dist/SideNav-DEoGpeqJ.js.map +1 -0
- package/dist/SideNav.js +1 -1
- package/dist/Skeleton-COxTdwjO.js +398 -0
- package/dist/Skeleton-COxTdwjO.js.map +1 -0
- package/dist/Skeleton.js +1 -1
- package/dist/{Spinner-Bc5-_6pK.js → Spinner-C1r3COiQ.js} +2 -1
- package/dist/Spinner-C1r3COiQ.js.map +1 -0
- package/dist/Spinner.js +1 -1
- package/dist/SrOnly-C_I8eH4C.js.map +1 -1
- package/dist/{Stepper-Bp0w8eRW.js → Stepper-CwIV7ZiT.js} +281 -6
- package/dist/Stepper-CwIV7ZiT.js.map +1 -0
- package/dist/Stepper.js +1 -1
- package/dist/{Switch-BbHIwrGc.js → Switch-DAQFzi-X.js} +20 -10
- package/dist/Switch-DAQFzi-X.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-Bp1q4hMI-2jGZG2k2.js → TextField-C5KbQxoU-DGLAOhCu.js} +9 -10
- package/dist/TextField-C5KbQxoU-DGLAOhCu.js.map +1 -0
- package/dist/{TextField-Ds9EKvSs.js → TextField-DUohb_Y6.js} +3 -2
- package/dist/{TextField-Ds9EKvSs.js.map → TextField-DUohb_Y6.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-CMELRfU8.js → Textarea-HGQXwvO1.js} +10 -10
- package/dist/Textarea-HGQXwvO1.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/{ThemeProvider-D2x18Y1l.js → ThemeProvider-BKave7Ha.js} +2 -2
- package/dist/{ThemeProvider-D2x18Y1l.js.map → ThemeProvider-BKave7Ha.js.map} +1 -1
- package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js → ThemeProvider-CR67FJg0-DYVRlJRA.js} +3 -3
- package/dist/{ThemeProvider-BIeaAmWx-DVYOQ6bw.js.map → ThemeProvider-CR67FJg0-DYVRlJRA.js.map} +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/Toast.js +1 -1
- package/dist/{Toolbar-CYwR6GQG.js → Toolbar-28Uv31qc.js} +183 -14
- package/dist/Toolbar-28Uv31qc.js.map +1 -0
- package/dist/Toolbar.css +1 -11
- package/dist/Toolbar.js +1 -1
- package/dist/Tooltip-ZUko7Bl3.js +73 -0
- package/dist/Tooltip-ZUko7Bl3.js.map +1 -0
- package/dist/Tooltip.js +1 -1
- package/dist/assets/css-utils/a2-border.css +53 -0
- package/dist/assets/css-utils/a2-color.css +235 -0
- package/dist/assets/css-utils/a2-font.css +49 -0
- package/dist/assets/css-utils/a2-spacing.css +483 -0
- package/dist/assets/css-utils/a2-utils.css +785 -0
- package/dist/assets/icons/st/insurance_work_queue.svg +1 -0
- package/dist/assets/icons/st/production_work_queue.svg +1 -0
- package/dist/assets/icons/st.ts +2 -0
- package/dist/components/Alert/Alert.d.ts +37 -0
- package/dist/components/Announcement/Announcement.d.ts +37 -0
- package/dist/components/Avatar/Avatar.d.ts +73 -0
- package/dist/components/Badge/Badge.d.ts +27 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +39 -0
- package/dist/components/Button/Button.d.ts +28 -0
- package/dist/components/ButtonCompound/ButtonCompound.d.ts +24 -0
- package/dist/components/ButtonLink/ButtonLink.d.ts +30 -0
- package/dist/components/ButtonToggle/ButtonToggle.d.ts +32 -0
- package/dist/components/Calendar/Calendar.d.ts +114 -0
- package/dist/components/Card/Card.d.ts +24 -0
- package/dist/components/Checkbox/Checkbox.d.ts +77 -0
- package/dist/components/Chip/Chip.d.ts +34 -0
- package/dist/components/Combobox/Combobox.d.ts +442 -2
- package/dist/components/DateField/DateField.d.ts +65 -0
- package/dist/components/DaysOfTheWeek/DaysOfTheWeek.d.ts +44 -6
- package/dist/components/Details/Details.d.ts +68 -0
- package/dist/components/Dialog/Dialog.d.ts +178 -0
- package/dist/components/Divider/Divider.d.ts +24 -0
- package/dist/components/Drawer/Drawer.d.ts +200 -0
- package/dist/components/EditCard/EditCard.d.ts +50 -0
- package/dist/components/FieldMessage/FieldMessage.d.ts +31 -0
- package/dist/components/Flex/Flex.d.ts +48 -0
- package/dist/components/Grid/Grid.d.ts +74 -0
- package/dist/components/Icon/Icon.d.ts +39 -0
- package/dist/components/InputMask/InputMask.d.ts +57 -0
- package/dist/components/Layout/Layout.d.ts +131 -0
- package/dist/components/Link/Link.d.ts +47 -0
- package/dist/components/ListView/ListView.d.ts +85 -0
- package/dist/components/Listbox/Listbox.d.ts +124 -0
- package/dist/components/Menu/Menu.d.ts +85 -1
- package/dist/components/Overflow/Overflow.d.ts +84 -0
- package/dist/components/Page/Page.d.ts +443 -0
- package/dist/components/Popover/Popover.d.ts +268 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +52 -0
- package/dist/components/Radio/Radio.d.ts +121 -0
- package/dist/components/SearchField/SearchField.d.ts +37 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +98 -0
- package/dist/components/SelectCard/SelectCard.d.ts +60 -0
- package/dist/components/SelectCard/SelectCardGroup.d.ts +37 -0
- package/dist/components/SideNav/SideNav.d.ts +192 -2
- package/dist/components/SideNav/SideNavProvider.d.ts +30 -0
- package/dist/components/Skeleton/Skeleton.d.ts +130 -0
- package/dist/components/Spinner/Spinner.d.ts +25 -0
- package/dist/components/SrOnly/SrOnly.d.ts +19 -0
- package/dist/components/Stepper/Stepper.d.ts +335 -0
- package/dist/components/Switch/Switch.d.ts +33 -0
- package/dist/components/Tab/Tab.d.ts +152 -0
- package/dist/components/Text/Text.d.ts +37 -0
- package/dist/components/Textarea/Textarea.d.ts +50 -0
- package/dist/components/Toast/Toaster.d.ts +43 -0
- package/dist/components/Toast/toast.d.ts +31 -0
- package/dist/components/Toolbar/Toolbar.d.ts +251 -0
- package/dist/components/Tooltip/Tooltip.d.ts +123 -0
- package/dist/{floating-ui.react-Domgunz0.js → floating-ui.react-BFNinq1w.js} +2 -2
- package/dist/{floating-ui.react-Domgunz0.js.map → floating-ui.react-BFNinq1w.js.map} +1 -1
- package/dist/hooks/useSize/index.d.ts +15 -0
- package/dist/hooks/useTrackingId/index.d.ts +19 -0
- package/dist/{index-CdSSO4ct-elKOdXPf.js → index-CKfiQx8n-4nziUo7G.js} +4 -4
- package/dist/{index-CdSSO4ct-elKOdXPf.js.map → index-CKfiQx8n-4nziUo7G.js.map} +1 -1
- package/dist/index.js +57 -57
- package/dist/{toast-C-6NdR43.js → toast-DjypuZMf.js} +3 -3
- package/dist/toast-DjypuZMf.js.map +1 -0
- package/dist/token/core/css-utils/a2-border.css +53 -0
- package/dist/token/core/css-utils/a2-color.css +235 -0
- package/dist/token/core/css-utils/a2-font.css +49 -0
- package/dist/token/core/css-utils/a2-spacing.css +483 -0
- package/dist/token/core/css-utils/a2-utils.css +785 -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 +4 -3
- package/dist/Alert-BsFFiu7g.js.map +0 -1
- package/dist/Announcement-BawOyXV3.js.map +0 -1
- package/dist/Avatar-C2IfIAxL-BUio7c00.js.map +0 -1
- package/dist/Avatar-DYCN2A_l.js +0 -20
- package/dist/Avatar-DYCN2A_l.js.map +0 -1
- package/dist/Breadcrumbs-BP5QXVje.js.map +0 -1
- package/dist/Button-NTFmgcbr.js.map +0 -1
- package/dist/Button2.css +0 -8
- package/dist/ButtonCompound-DlgIyoB9.js.map +0 -1
- package/dist/ButtonLink-B_uUWBLY.js.map +0 -1
- package/dist/ButtonLink-CSaxjhI2-KLVGwWjE.js.map +0 -1
- package/dist/ButtonLink.css +0 -10
- package/dist/ButtonToggle-D3tcTRq9.js.map +0 -1
- package/dist/Calendar-B4MO-Uhv.js +0 -57
- package/dist/Calendar-B4MO-Uhv.js.map +0 -1
- package/dist/Card-DgxiRqS_.js.map +0 -1
- package/dist/Checkbox-BIlp8xmW.js.map +0 -1
- package/dist/Checkbox-CRurfeRE-BR_NXfh6.js.map +0 -1
- package/dist/Chip-BQ58RQ3v.js.map +0 -1
- package/dist/Combobox-Dde7-7tv.js.map +0 -1
- package/dist/DateField-D-eVP6xh.js.map +0 -1
- package/dist/DaysOfTheWeek-Dz-aZ-LW.js.map +0 -1
- package/dist/Details-ChZdA5Yo.js.map +0 -1
- package/dist/Dialog-DJhN8QWP.js.map +0 -1
- package/dist/Divider-Crum3dyV.js.map +0 -1
- package/dist/Drawer-BFfakO8h.js +0 -66
- package/dist/Drawer-BFfakO8h.js.map +0 -1
- package/dist/EditCard-BNwoKJ_6.js.map +0 -1
- package/dist/FieldMessage-CERWyhwG.js.map +0 -1
- package/dist/FieldMessage-Js4e1ezw-DZ6YDx24.js.map +0 -1
- package/dist/Flex-DT1l-wJc.js.map +0 -1
- package/dist/Grid-h9VbEjJe.js +0 -14
- package/dist/Grid-h9VbEjJe.js.map +0 -1
- package/dist/Icon-CcUV8glf.js.map +0 -1
- package/dist/InputMask-CeqX68uX.js.map +0 -1
- package/dist/InputMask-DfpkWGmY-D8QEut94.js +0 -323
- package/dist/InputMask-DfpkWGmY-D8QEut94.js.map +0 -1
- package/dist/Link-K3nk4QAp.js.map +0 -1
- package/dist/ListView-zlg5FlKW.js.map +0 -1
- package/dist/Listbox-36Mda5DS.js +0 -37
- package/dist/Listbox-36Mda5DS.js.map +0 -1
- package/dist/Listbox-DLlT8qbJ-BvhkfmIf.js.map +0 -1
- package/dist/Menu-BjzTwENs.js.map +0 -1
- package/dist/Overflow-ENfRRD_5-DLHLZ02e.js.map +0 -1
- package/dist/Overflow-vc1mxjUD.js.map +0 -1
- package/dist/Page-CSM-a2UE.js.map +0 -1
- package/dist/Popover-CpyYXmal-I-E-B4u8.js.map +0 -1
- package/dist/Popover-a81z9wSj.js +0 -56
- package/dist/Popover-a81z9wSj.js.map +0 -1
- package/dist/ProgressBar-B25Wxpaf.js.map +0 -1
- package/dist/ProgressBar-CeClhdcf-Dcft7ZjO.js.map +0 -1
- package/dist/ProgressBar-CeClhdcf.css +0 -666
- package/dist/Radio-BlMDLvPw-DUeywcYR.js.map +0 -1
- package/dist/Radio-D3CqAXiM.js +0 -34
- package/dist/Radio-D3CqAXiM.js.map +0 -1
- package/dist/SearchField-D3z4LjJg.js.map +0 -1
- package/dist/SegmentedControl-D_ADGpVy.js.map +0 -1
- package/dist/SelectCard-D26y01WZ-BWN9G09J.js.map +0 -1
- package/dist/SelectCardGroup-DxA6P-Q7.js +0 -21
- package/dist/SelectCardGroup-DxA6P-Q7.js.map +0 -1
- package/dist/SideNav-C7wc1_JK.js.map +0 -1
- package/dist/Skeleton-CdzDKQi4.js +0 -215
- package/dist/Skeleton-CdzDKQi4.js.map +0 -1
- package/dist/Spinner-Bc5-_6pK.js.map +0 -1
- package/dist/Stepper-Bp0w8eRW.js.map +0 -1
- package/dist/Switch-BbHIwrGc.js.map +0 -1
- package/dist/Tab-DcOQTX5Z.js.map +0 -1
- package/dist/Text-BDYfD8j4.js.map +0 -1
- package/dist/TextField-Bp1q4hMI-2jGZG2k2.js.map +0 -1
- package/dist/Textarea-CMELRfU8.js.map +0 -1
- package/dist/Toolbar-CYwR6GQG.js.map +0 -1
- package/dist/Tooltip-C-UNrFz3.js +0 -34
- package/dist/Tooltip-C-UNrFz3.js.map +0 -1
- package/dist/toast-C-6NdR43.js.map +0 -1
- package/dist/useLayoutPropsUtil-GT5myWCm-Clw_nEze.js.map +0 -1
- package/dist/useSwipe-DIUHs7T5-DIUHs7T5.js.map +0 -1
- /package/dist/{Alert-DMk5bG5T.css → Alert-C3WoRkeN.css} +0 -0
- /package/dist/{Avatar-C2IfIAxL.css → Avatar-B20IdOEO.css} +0 -0
- /package/dist/{Calendar-Bn00Dnc-.css → Calendar-BT6eeZDr.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/{Flex-EX9xObMl.css → Flex-CiK7uNUu.css} +0 -0
- /package/dist/{Icon-BrdmZw1i.css → Icon-B6HmlQiR.css} +0 -0
- /package/dist/{Link-CVN5Mwtx.css → Link-Dqp_XXl_.css} +0 -0
- /package/dist/{Overflow-ENfRRD_5.css → Overflow-BrXwlYpn.css} +0 -0
- /package/dist/{Popover-CpyYXmal.css → Popover-CVCAWhdO.css} +0 -0
- /package/dist/{Radio-BlMDLvPw.css → Radio-DiBn0-hf.css} +0 -0
- /package/dist/{SelectCard-D26y01WZ.css → SelectCard-CY8IVFDT.css} +0 -0
- /package/dist/{Text-CN_-FF7J.css → Text-DCvcLCvf.css} +0 -0
- /package/dist/{ThemeProvider-BIeaAmWx.css → ThemeProvider-CR67FJg0.css} +0 -0
- /package/dist/{index-CdSSO4ct.css → index-CKfiQx8n.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3.072 6.72c-.48 0-.96.384-.96.96v12.48c0 1.056.864 1.92 1.92 1.92h12.48c.48 0 .96-.48.96-.96s-.48-.96-.96-.96H4.992c-.48 0-.96-.48-.96-.96V7.68c0-.576-.384-.96-.96-.96m12.883 4.723c0 .48-.393.874-.873.874h-.576v.576c0 .48-.394.873-.874.873a.877.877 0 0 1-.874-.873v-.576h-.576a.877.877 0 0 1-.873-.874c0-.48.393-.864.873-.864h.576v-.585c0-.48.394-.864.874-.864s.874.384.874.864v.585h.576c.48 0 .873.384.873.864"/><path d="M19.392 2.88H7.872c-1.056 0-1.92.864-1.92 1.92v11.52c0 1.056.864 1.92 1.92 1.92h11.52c1.056 0 1.92-.864 1.92-1.92V4.8c0-1.056-.864-1.92-1.92-1.92m-.125 6.634a.47.47 0 0 1-.355.201.5.5 0 0 1-.394-.105l-.556-.404v6.01c0 .298-.106.557-.317.768s-.461.317-.768.317h-6.5c-.297 0-.556-.106-.768-.317a1.05 1.05 0 0 1-.316-.768v-6.01l-.538.423a.56.56 0 0 1-.403.105.46.46 0 0 1-.355-.22.5.5 0 0 1-.096-.404.45.45 0 0 1 .21-.345L12.97 5.04a.8.8 0 0 1 .317-.163 1.1 1.1 0 0 1 .691 0 .9.9 0 0 1 .317.163l4.868 3.725a.44.44 0 0 1 .201.345.5.5 0 0 1-.096.404"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 6.07c-.55 0-1 .45-1 1v13c0 1.1.9 2 2 2h13c.55 0 1-.45 1-1s-.45-1-1-1H5c-.55 0-1-.45-1-1v-12c0-.55-.45-1-1-1"/><path d="M20 2.07H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-12c0-1.1-.9-2-2-2m-1.09 8.25c-.5.5-1.13.84-1.82.99s-1.4.09-2.06-.16l-4.49 4.49c-.13.14-.3.25-.48.32-.17.08-.37.11-.56.11-.2 0-.39-.03-.57-.11-.18-.07-.34-.18-.48-.32-.13-.14-.24-.3-.32-.48a1.5 1.5 0 0 1 0-1.13c.08-.18.19-.34.32-.48l4.47-4.47c-.52-1.32-.25-2.87.81-3.94a3.69 3.69 0 0 1 4.2-.7l-2.05 2.05c-.22.22-.22.57 0 .79l.9.9c.22.22.57.22.79 0l2.05-2.05c.66 1.37.42 3.06-.71 4.19"/></svg>
|
package/dist/assets/icons/st.ts
CHANGED
|
@@ -72,6 +72,7 @@ export { default as icon_gnav_tasks_active } from "./st/gnav_tasks_active.svg";
|
|
|
72
72
|
export { default as icon_gnav_tasks_inactive } from "./st/gnav_tasks_inactive.svg";
|
|
73
73
|
export { default as icon_gnav_titan_advisor_active } from "./st/gnav_titan_advisor_active.svg";
|
|
74
74
|
export { default as icon_gnav_titan_advisor_inactive } from "./st/gnav_titan_advisor_inactive.svg";
|
|
75
|
+
export { default as icon_insurance_work_queue } from "./st/insurance_work_queue.svg";
|
|
75
76
|
export { default as icon_invoice } from "./st/invoice.svg";
|
|
76
77
|
export { default as icon_job } from "./st/job.svg";
|
|
77
78
|
export { default as icon_leads } from "./st/leads.svg";
|
|
@@ -82,6 +83,7 @@ export { default as icon_payment } from "./st/payment.svg";
|
|
|
82
83
|
export { default as icon_preview_file } from "./st/preview_file.svg";
|
|
83
84
|
export { default as icon_pro_tip } from "./st/pro_tip.svg";
|
|
84
85
|
export { default as icon_production_manager } from "./st/production_manager.svg";
|
|
86
|
+
export { default as icon_production_work_queue } from "./st/production_work_queue.svg";
|
|
85
87
|
export { default as icon_project } from "./st/project.svg";
|
|
86
88
|
export { default as icon_proposal } from "./st/proposal.svg";
|
|
87
89
|
export { default as icon_purchase_order } from "./st/purchase_order.svg";
|
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import { AlertProps as CoreAlertProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Alert component
|
|
5
|
+
* @property {string} title - The title text displayed in the alert
|
|
6
|
+
* @property {Status} [status] - The visual style of the alert (info, success, warning, danger)
|
|
7
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
8
|
+
* @extends LayoutUtilProps
|
|
9
|
+
* @extends OnCloseProps
|
|
10
|
+
* @extends DataTrackingId
|
|
11
|
+
*/
|
|
3
12
|
export type AlertProps = CoreAlertProps & DataTrackingId;
|
|
13
|
+
/**
|
|
14
|
+
* Alert component for displaying important messages to users.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Supports different visual styles (info, success, warning, danger)
|
|
18
|
+
* - Optional close button for dismissible alerts
|
|
19
|
+
* - Customizable title and content
|
|
20
|
+
* - Accessible with proper ARIA roles
|
|
21
|
+
* - Includes status-specific icons
|
|
22
|
+
* - Supports layout utilities for positioning and spacing
|
|
23
|
+
* - Automatic tracking ID generation for analytics
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* <Alert
|
|
27
|
+
* title="System Update"
|
|
28
|
+
* onClose={() => console.log('Alert closed')}
|
|
29
|
+
* >
|
|
30
|
+
* The system will be updated tonight.
|
|
31
|
+
* </Alert>
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Alert
|
|
35
|
+
* status="success"
|
|
36
|
+
* title="Operation Complete"
|
|
37
|
+
* >
|
|
38
|
+
* Your changes have been saved successfully.
|
|
39
|
+
* </Alert>
|
|
40
|
+
*/
|
|
4
41
|
export declare const Alert: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('@servicetitan/hammer-react').OnCloseProps & {
|
|
5
42
|
status?: import('@servicetitan/hammer-react').Status;
|
|
6
43
|
title: string;
|
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import { AnnouncementProps as CoreAnnouncementProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Announcement component
|
|
5
|
+
* @property {string} title - The title text displayed in the announcement
|
|
6
|
+
* @property {Status} [status] - The visual style of the announcement (info, success, warning, danger)
|
|
7
|
+
* @extends ComponentPropsWithoutRef<"div">
|
|
8
|
+
* @extends Omit<LayoutUtilProps, "flex" | "flexBasis" | "flexGrow" | "flexShrink">
|
|
9
|
+
* @extends OnCloseProps
|
|
10
|
+
* @extends DataTrackingId
|
|
11
|
+
*/
|
|
3
12
|
export type AnnouncementProps = CoreAnnouncementProps & DataTrackingId;
|
|
13
|
+
/**
|
|
14
|
+
* Announcement component for displaying important messages to users.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Supports different visual styles (info, success, warning, danger)
|
|
18
|
+
* - Optional close button for dismissible announcements
|
|
19
|
+
* - Customizable title and content
|
|
20
|
+
* - Accessible with proper ARIA roles
|
|
21
|
+
* - Includes status-specific icons
|
|
22
|
+
* - Supports layout utilities for positioning and spacing
|
|
23
|
+
* - Includes data tracking capabilities
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* <Announcement
|
|
27
|
+
* title="New Feature"
|
|
28
|
+
* onClose={() => console.log('Announcement closed')}
|
|
29
|
+
* >
|
|
30
|
+
* Check out our latest feature!
|
|
31
|
+
* </Announcement>
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* <Announcement
|
|
35
|
+
* status="warning"
|
|
36
|
+
* title="Maintenance Notice"
|
|
37
|
+
* >
|
|
38
|
+
* Scheduled maintenance will begin in 30 minutes.
|
|
39
|
+
* </Announcement>
|
|
40
|
+
*/
|
|
4
41
|
export declare const Announcement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & import('@servicetitan/hammer-react').OnCloseProps & {
|
|
5
42
|
status?: import('@servicetitan/hammer-react').Status;
|
|
6
43
|
title: string;
|
|
@@ -1,10 +1,83 @@
|
|
|
1
1
|
import { AvatarProps as CoreAvatarProps, AvatarGroupProps as CoreAvatarGroupProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Avatar component
|
|
4
|
+
* @property {string} name - Full name used for alt text and screen reader
|
|
5
|
+
* @property {string} [color] - Custom color of the Avatar
|
|
6
|
+
* @property {string} [image] - Image source to be used for Avatar
|
|
7
|
+
* @property {"small" | "medium" | "large"} [size] - Size of the Avatar
|
|
8
|
+
* @property {"online" | "offline"} [status] - Online status of the Avatar
|
|
9
|
+
* @extends ComponentPropsWithoutRef<"span">
|
|
10
|
+
* @extends Omit<AvatarBaseProps, "initials">
|
|
11
|
+
* @extends Omit<LayoutUtilProps, "flex" | "flexBasis" | "flexGrow" | "flexShrink">
|
|
12
|
+
* @extends DataTrackingId
|
|
13
|
+
*/
|
|
2
14
|
export type AvatarProps = CoreAvatarProps;
|
|
15
|
+
/**
|
|
16
|
+
* Props for the AvatarGroup component
|
|
17
|
+
* @property {number} [max] - Maximum number of avatars to display before truncating
|
|
18
|
+
* @extends LayoutUtilProps
|
|
19
|
+
* @extends ComponentPropsWithoutRef<"span">
|
|
20
|
+
* @extends DataTrackingId
|
|
21
|
+
*/
|
|
3
22
|
export type AvatarGroupProps = CoreAvatarGroupProps;
|
|
23
|
+
/**
|
|
24
|
+
* AvatarGroup component for displaying multiple avatars in a group.
|
|
25
|
+
*
|
|
26
|
+
* Features:
|
|
27
|
+
* - Displays multiple avatars in a stacked layout
|
|
28
|
+
* - Handles overflow with a count indicator
|
|
29
|
+
* - Maintains consistent sizing across all avatars
|
|
30
|
+
* - Supports custom styling and layout
|
|
31
|
+
* - Automatically adjusts z-index for proper stacking
|
|
32
|
+
* - Fully accessible with screen reader support
|
|
33
|
+
* - Automatic tracking ID generation for analytics
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* <Avatar.Group max={3}>
|
|
37
|
+
* <Avatar name="John Doe" />
|
|
38
|
+
* <Avatar name="Jane Smith" />
|
|
39
|
+
* <Avatar name="Bob Johnson" />
|
|
40
|
+
* <Avatar name="Alice Brown" />
|
|
41
|
+
* </Avatar.Group>
|
|
42
|
+
*/
|
|
4
43
|
export declare const AvatarGroup: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
44
|
max?: number;
|
|
6
45
|
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
46
|
+
/**
|
|
47
|
+
* Avatar component for displaying user avatars with initials or images.
|
|
48
|
+
*
|
|
49
|
+
* Features:
|
|
50
|
+
* - Displays user initials when no image is provided
|
|
51
|
+
* - Supports custom colors and sizes
|
|
52
|
+
* - Shows online/offline status
|
|
53
|
+
* - Fully accessible with screen reader support
|
|
54
|
+
* - Automatic image fallback handling
|
|
55
|
+
* - Automatic tracking ID generation for analytics
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* <Avatar name="John Doe" size="medium" status="online" />
|
|
59
|
+
*/
|
|
7
60
|
export declare const Avatar: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & Omit<import('@servicetitan/hammer-react/dist/components/Avatar/AvatarBase').AvatarBaseProps, "initials"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & import('react').RefAttributes<HTMLSpanElement>> & {
|
|
61
|
+
/**
|
|
62
|
+
* AvatarGroup component for displaying multiple avatars in a group.
|
|
63
|
+
*
|
|
64
|
+
* Features:
|
|
65
|
+
* - Displays multiple avatars in a stacked layout
|
|
66
|
+
* - Handles overflow with a count indicator
|
|
67
|
+
* - Maintains consistent sizing across all avatars
|
|
68
|
+
* - Supports custom styling and layout
|
|
69
|
+
* - Automatically adjusts z-index for proper stacking
|
|
70
|
+
* - Fully accessible with screen reader support
|
|
71
|
+
* - Automatic tracking ID generation for analytics
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* <Avatar.Group max={3}>
|
|
75
|
+
* <Avatar name="John Doe" />
|
|
76
|
+
* <Avatar name="Jane Smith" />
|
|
77
|
+
* <Avatar name="Bob Johnson" />
|
|
78
|
+
* <Avatar name="Alice Brown" />
|
|
79
|
+
* </Avatar.Group>
|
|
80
|
+
*/
|
|
8
81
|
Group: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
9
82
|
max?: number;
|
|
10
83
|
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
import { BadgeProps as CoreBadgeProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Badge component
|
|
4
|
+
* @property {Object} [offset] - Optional offset configuration for badge positioning
|
|
5
|
+
* @property {string} [offset.x] - Horizontal offset from the default position
|
|
6
|
+
* @property {string} [offset.y] - Vertical offset from the default position
|
|
7
|
+
* @extends ComponentPropsWithoutRef<"sup">
|
|
8
|
+
* @extends Omit<LayoutUtilProps, "flex" | "flexBasis" | "flexGrow" | "flexShrink">
|
|
9
|
+
* @extends DataTrackingId
|
|
10
|
+
*/
|
|
2
11
|
export type BadgeProps = CoreBadgeProps;
|
|
12
|
+
/**
|
|
13
|
+
* Badge component for displaying small status indicators or counts.
|
|
14
|
+
*
|
|
15
|
+
* Features:
|
|
16
|
+
* - Positioned as a superscript element
|
|
17
|
+
* - Customizable offset positioning
|
|
18
|
+
* - Screen reader support with aria-label
|
|
19
|
+
* - Empty state styling when no content
|
|
20
|
+
* - Supports layout utilities for positioning
|
|
21
|
+
* - Accessible with proper ARIA roles
|
|
22
|
+
* - Automatic tracking ID generation for analytics
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* <Button>
|
|
26
|
+
* Notifications
|
|
27
|
+
* <Badge aria-label="3 new messages">3</Badge>
|
|
28
|
+
* </Button>
|
|
29
|
+
*/
|
|
3
30
|
export declare const Badge: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & Omit<import('@servicetitan/hammer-react').LayoutUtilProps, "flex" | "flexGrow" | "flexShrink" | "flexBasis"> & {
|
|
4
31
|
offset?: {
|
|
5
32
|
x?: string;
|
|
@@ -1,12 +1,51 @@
|
|
|
1
1
|
import { BreadcrumbsLinkProps as CoreBreadcrumbsLinkProps, BreadcrumbsProps as CoreBreadcrumbsProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Breadcrumbs component
|
|
4
|
+
* @property {ReactElement<BreadcrumbsLinkProps> | ReactElement<BreadcrumbsLinkProps>[]} children - Breadcrumb links to display. The last child will be rendered as non-clickable text.
|
|
5
|
+
* @extends ComponentPropsWithoutRef<"nav">
|
|
6
|
+
* @extends LayoutUtilProps
|
|
7
|
+
*/
|
|
2
8
|
export type BreadcrumbsProps = CoreBreadcrumbsProps;
|
|
3
9
|
export type BreadcrumbsLinkProps = CoreBreadcrumbsLinkProps;
|
|
4
10
|
export declare const BreadcrumbsElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
|
|
5
11
|
children: import('react').ReactElement<CoreBreadcrumbsLinkProps> | import('react').ReactElement<CoreBreadcrumbsLinkProps>[];
|
|
6
12
|
} & import('react').RefAttributes<HTMLScriptElement>>;
|
|
7
13
|
export declare const BreadcrumbsLink: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
14
|
+
/**
|
|
15
|
+
* Breadcrumbs component for displaying navigation hierarchy.
|
|
16
|
+
*
|
|
17
|
+
* Features:
|
|
18
|
+
* - Displays a series of navigation links with chevron separators
|
|
19
|
+
* - Automatically renders the last item as non-clickable text
|
|
20
|
+
* - Includes proper ARIA labeling for accessibility
|
|
21
|
+
* - Supports layout utilities for positioning and spacing
|
|
22
|
+
* - Uses chevron icons as visual separators between links
|
|
23
|
+
* - Responsive design with flexbox layout
|
|
24
|
+
* - Automatic tracking ID generation for analytics
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* <Breadcrumbs>
|
|
28
|
+
* <Breadcrumbs.Link href="/home">Home</Breadcrumbs.Link>
|
|
29
|
+
* <Breadcrumbs.Link href="/products">Products</Breadcrumbs.Link>
|
|
30
|
+
* <Breadcrumbs.Link href="/electronics">Electronics</Breadcrumbs.Link>
|
|
31
|
+
* </Breadcrumbs>
|
|
32
|
+
*/
|
|
8
33
|
export declare const Breadcrumbs: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
|
|
9
34
|
children: import('react').ReactElement<CoreBreadcrumbsLinkProps> | import('react').ReactElement<CoreBreadcrumbsLinkProps>[];
|
|
10
35
|
} & import('react').RefAttributes<HTMLScriptElement>> & {
|
|
36
|
+
/**
|
|
37
|
+
* BreadcrumbsLink component for individual breadcrumb navigation items.
|
|
38
|
+
*
|
|
39
|
+
* Features:
|
|
40
|
+
* - Renders as a clickable link with secondary appearance
|
|
41
|
+
* - Supports all standard anchor element props
|
|
42
|
+
* - Includes layout utilities for positioning and spacing
|
|
43
|
+
* - Uses small text size for consistent styling
|
|
44
|
+
* - Fully accessible with proper focus management
|
|
45
|
+
* - Automatic tracking ID generation for analytics
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* <Breadcrumbs.Link href="/dashboard">Dashboard</Breadcrumbs.Link>
|
|
49
|
+
*/
|
|
11
50
|
Link: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & import('react').RefAttributes<HTMLAnchorElement>>;
|
|
12
51
|
};
|
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import { ButtonProps as CoreButtonProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the Button component
|
|
5
|
+
* @property {ButtonAppearance} [appearance] - The visual variant of the button
|
|
6
|
+
* @property {"small" | "medium" | "large"} [size] - The size of the button
|
|
7
|
+
* @property {boolean} [loading] - The loading state of the button
|
|
8
|
+
* @property {IconProps["svg"] | { after: IconProps["svg"] } | { before: IconProps["svg"] }} [icon] - The icons of the button
|
|
9
|
+
* @extends CoreButtonProps
|
|
10
|
+
* @extends DataTrackingId
|
|
11
|
+
*/
|
|
3
12
|
export type ButtonProps = CoreButtonProps & DataTrackingId;
|
|
13
|
+
/**
|
|
14
|
+
* Button component for triggering actions and user interactions.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Multiple visual appearances (primary, secondary, ghost, danger variants)
|
|
18
|
+
* - Three size options (small, medium, large)
|
|
19
|
+
* - Loading state with spinner animation
|
|
20
|
+
* - Icon support (before, after, or icon-only)
|
|
21
|
+
* - Full accessibility support with ARIA attributes
|
|
22
|
+
* - Supports layout utilities for positioning and spacing
|
|
23
|
+
* - Automatic disabled state when loading
|
|
24
|
+
* - Flexible content with text and/or icons
|
|
25
|
+
* - Automatic tracking ID generation for analytics
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* <Button appearance="primary" size="medium" onClick={() => console.log('clicked')}>
|
|
29
|
+
* Click Me
|
|
30
|
+
* </Button>
|
|
31
|
+
*/
|
|
4
32
|
export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import { ButtonCompoundProps as CoreButtonCompoundProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the ButtonCompound component
|
|
5
|
+
* @property {"pill" | "circular" | "rounded"} [shape] - The shape of the compound button
|
|
6
|
+
* @extends CoreButtonCompoundProps
|
|
7
|
+
* @extends DataTrackingId
|
|
8
|
+
*/
|
|
3
9
|
export type ButtonCompoundProps = CoreButtonCompoundProps & DataTrackingId;
|
|
10
|
+
/**
|
|
11
|
+
* ButtonCompound component for creating compound button layouts.
|
|
12
|
+
*
|
|
13
|
+
* Features:
|
|
14
|
+
* - Three shape options (pill, circular, rounded)
|
|
15
|
+
* - Transparent background for compound layouts
|
|
16
|
+
* - Supports layout utilities for positioning and spacing
|
|
17
|
+
* - Full accessibility support with proper ARIA attributes
|
|
18
|
+
* - Flexible content support
|
|
19
|
+
* - Consistent styling with other button components
|
|
20
|
+
* - Hover and active state management
|
|
21
|
+
* - Automatic tracking ID generation for analytics
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* <ButtonCompound shape="circular">
|
|
25
|
+
* <Avatar name="John Doe" />
|
|
26
|
+
* </ButtonCompound>
|
|
27
|
+
*/
|
|
4
28
|
export declare const ButtonCompound: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
5
29
|
shape?: "pill" | "circular" | "rounded";
|
|
6
30
|
} & DataTrackingId & import('react').RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
import { ButtonLinkProps as CoreButtonLinkProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the ButtonLink component
|
|
5
|
+
* @property {ButtonAppearance} [appearance] - The visual variant of the button link
|
|
6
|
+
* @property {"small" | "medium" | "large"} [size] - The size of the button link
|
|
7
|
+
* @property {IconProps["svg"] | { after: IconProps["svg"] } | { before: IconProps["svg"] }} [icon] - The icons of the button link
|
|
8
|
+
* @property {boolean} [loading] - The loading state of the button link
|
|
9
|
+
* @extends CoreButtonLinkProps
|
|
10
|
+
* @extends DataTrackingId
|
|
11
|
+
*/
|
|
3
12
|
export type ButtonLinkProps = CoreButtonLinkProps & DataTrackingId;
|
|
13
|
+
/**
|
|
14
|
+
* ButtonLink component for creating clickable links that look like buttons.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Multiple visual appearances (primary, secondary, ghost, danger variants)
|
|
18
|
+
* - Three size options (small, medium, large)
|
|
19
|
+
* - Loading state with spinner animation
|
|
20
|
+
* - Icon support (before, after, or icon-only)
|
|
21
|
+
* - Full accessibility support with proper ARIA attributes
|
|
22
|
+
* - Supports layout utilities for positioning and spacing
|
|
23
|
+
* - Keyboard navigation support (Space and Enter keys)
|
|
24
|
+
* - Automatic disabled state when loading
|
|
25
|
+
* - Prevents navigation when disabled or loading
|
|
26
|
+
* - Flexible content with text and/or icons
|
|
27
|
+
* - Automatic tracking ID generation for analytics
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* <ButtonLink href="/dashboard" appearance="primary" size="medium">
|
|
31
|
+
* Go to Dashboard
|
|
32
|
+
* </ButtonLink>
|
|
33
|
+
*/
|
|
4
34
|
export declare const ButtonLink: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').LayoutUtilProps & Omit<import('react').DetailedHTMLProps<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
5
35
|
disabled?: boolean;
|
|
6
36
|
appearance?: import('@servicetitan/hammer-react').ButtonAppearance;
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { ButtonToggleProps as CoreButtonToggleProps } from '@servicetitan/hammer-react';
|
|
2
2
|
import { DataTrackingId } from '../../types/DataTrackingId';
|
|
3
|
+
/**
|
|
4
|
+
* Props for the ButtonToggle component
|
|
5
|
+
* @property {boolean} [defaultChecked] - The default pressed(selected) state of the toggle button
|
|
6
|
+
* @property {boolean} [checked] - The controlled pressed(selected) state of the toggle button
|
|
7
|
+
* @property {string} [value] - The value of the toggle button
|
|
8
|
+
* @property {(e: MouseEvent<HTMLButtonElement> | KeyboardEvent<HTMLButtonElement>, state: ButtonToggleState) => void} [onChange] - Callback for when pressed(selected) changes
|
|
9
|
+
* @extends CoreButtonToggleProps
|
|
10
|
+
* @extends DataTrackingId
|
|
11
|
+
*/
|
|
3
12
|
export type ButtonToggleProps = CoreButtonToggleProps & DataTrackingId;
|
|
13
|
+
/**
|
|
14
|
+
* ButtonToggle component for creating toggleable button states.
|
|
15
|
+
*
|
|
16
|
+
* Features:
|
|
17
|
+
* - Supports both controlled and uncontrolled state management
|
|
18
|
+
* - Toggle state with pressed/selected visual feedback
|
|
19
|
+
* - Full accessibility support with aria-pressed attribute
|
|
20
|
+
* - Callback support for state changes
|
|
21
|
+
* - Supports layout utilities for positioning and spacing
|
|
22
|
+
* - Inherits all button features except appearance and loading
|
|
23
|
+
* - Flexible content with text and/or icons
|
|
24
|
+
* - Keyboard interaction support
|
|
25
|
+
* - Value association for form-like behavior
|
|
26
|
+
* - Automatic tracking ID generation for analytics
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* <ButtonToggle
|
|
30
|
+
* defaultChecked={false}
|
|
31
|
+
* onChange={(e, state) => console.log('Toggle state:', state.pressed)}
|
|
32
|
+
* >
|
|
33
|
+
* Toggle Me
|
|
34
|
+
* </ButtonToggle>
|
|
35
|
+
*/
|
|
4
36
|
export declare const ButtonToggle: import('react').ForwardRefExoticComponent<Omit<import('@servicetitan/hammer-react').ButtonProps, "appearance" | "loading"> & {
|
|
5
37
|
defaultChecked?: boolean;
|
|
6
38
|
checked?: boolean;
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { CalendarProps as CoreCalendarProps, CalendarContextProps as CoreCalendarContextProps, CalendarNowProps as CoreCalendarNowProps, CalendarMonthProps as CoreCalendarMonthProps, CalendarNextProps as CoreCalendarNextProps, CalendarPrevProps as CoreCalendarPrevProps, CalendarMonthButtonProps as CoreCalendarMonthButtonProps, CalendarYearButtonProps as CoreCalendarYearButtonProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Calendar component
|
|
4
|
+
* @property {string} [value] - The selected date value for controlled mode
|
|
5
|
+
* @property {{ start?: string; end?: string }} [defaultValue] - The default date value for uncontrolled mode
|
|
6
|
+
* @property {string | null} [focusedDate] - The focused date for determining current month/year view
|
|
7
|
+
* @property {string | null} [defaultFocusedDate] - The default focused date
|
|
8
|
+
* @property {string} [minDate] - The minimum selectable date
|
|
9
|
+
* @property {string} [maxDate] - The maximum selectable date
|
|
10
|
+
* @property {string[]} [unavailableDates] - Dates that are not selectable (deprecated)
|
|
11
|
+
* @property {{ daysOfWeek?: number[]; dates?: string[] }} [unavailable] - Unavailable dates and days of week
|
|
12
|
+
* @property {Locale} [locale] - The locale for date formatting
|
|
13
|
+
* @property {IanaZone} [defaultTimeZone] - The timezone for date calculations
|
|
14
|
+
* @property {"Sunday" | "Monday"} [startDay] - The day to start the week on
|
|
15
|
+
* @property {boolean} [range] - Whether to enable date range selection
|
|
16
|
+
* @property {(data: { value: CalendarValue | CalendarRangeValue }) => void} [onSelection] - Selection change handler
|
|
17
|
+
*/
|
|
2
18
|
export type CalendarProps = CoreCalendarProps;
|
|
3
19
|
export type CalendarContextProps = CoreCalendarContextProps;
|
|
4
20
|
export type CalendarNowProps = CoreCalendarNowProps;
|
|
@@ -15,13 +31,111 @@ export declare const CalendarNext: import('react').ForwardRefExoticComponent<imp
|
|
|
15
31
|
export declare const CalendarPrev: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
16
32
|
export declare const CalendarMonthButton: import('react').ForwardRefExoticComponent<CoreCalendarMonthButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
17
33
|
export declare const CalendarYearButton: import('react').ForwardRefExoticComponent<CoreCalendarYearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
/**
|
|
35
|
+
* Calendar component for viewing and selecting a date or range of dates.
|
|
36
|
+
*
|
|
37
|
+
* Features:
|
|
38
|
+
* - Single date and date range selection modes
|
|
39
|
+
* - Month and year navigation with header buttons
|
|
40
|
+
* - Configurable start day (Sunday or Monday)
|
|
41
|
+
* - Date range restrictions with min/max dates
|
|
42
|
+
* - Unavailable dates and days of week support
|
|
43
|
+
* - Locale and timezone customization
|
|
44
|
+
* - Full accessibility support with ARIA attributes
|
|
45
|
+
* - Keyboard navigation support
|
|
46
|
+
* - Responsive design with automatic width detection
|
|
47
|
+
* - Month and year selection views
|
|
48
|
+
* - Today button for quick navigation
|
|
49
|
+
* - Data tracking integration for analytics
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* <Calendar
|
|
53
|
+
* value="2024-01-15"
|
|
54
|
+
* onSelection={({ value }) => console.log('Selected:', value)}
|
|
55
|
+
* minDate="2024-01-01"
|
|
56
|
+
* maxDate="2024-12-31"
|
|
57
|
+
* />
|
|
58
|
+
*/
|
|
18
59
|
export declare const Calendar: import('react').ForwardRefExoticComponent<CoreCalendarProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
60
|
+
/**
|
|
61
|
+
* Calendar.Now component for navigating to today's date.
|
|
62
|
+
*
|
|
63
|
+
* Features:
|
|
64
|
+
* - Quick navigation to current date
|
|
65
|
+
* - Accessible button with proper ARIA labels
|
|
66
|
+
* - Integrates with calendar context
|
|
67
|
+
* - Data tracking integration for analytics
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* <Calendar.Now />
|
|
71
|
+
*/
|
|
19
72
|
Now: import('react').ForwardRefExoticComponent<{
|
|
20
73
|
onClick?: (e: import('react').MouseEvent<HTMLButtonElement>, date: string | null) => void;
|
|
21
74
|
} & Omit<import('@servicetitan/hammer-react').ButtonProps, "onClick"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
75
|
+
/**
|
|
76
|
+
* Calendar.Month component for displaying the month grid.
|
|
77
|
+
*
|
|
78
|
+
* Features:
|
|
79
|
+
* - Displays calendar days in a table format
|
|
80
|
+
* - Handles day selection and navigation
|
|
81
|
+
* - Supports range selection mode
|
|
82
|
+
* - Accessible with proper ARIA attributes
|
|
83
|
+
* - Data tracking integration for analytics
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* <Calendar.Month />
|
|
87
|
+
*/
|
|
22
88
|
Month: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & import('react').RefAttributes<HTMLTableElement>>;
|
|
89
|
+
/**
|
|
90
|
+
* Calendar.Next component for navigating to the next month.
|
|
91
|
+
*
|
|
92
|
+
* Features:
|
|
93
|
+
* - Navigation to next month
|
|
94
|
+
* - Accessible button with proper ARIA labels
|
|
95
|
+
* - Integrates with calendar context
|
|
96
|
+
* - Data tracking integration for analytics
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* <Calendar.Next />
|
|
100
|
+
*/
|
|
23
101
|
Next: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
102
|
+
/**
|
|
103
|
+
* Calendar.Prev component for navigating to the previous month.
|
|
104
|
+
*
|
|
105
|
+
* Features:
|
|
106
|
+
* - Navigation to previous month
|
|
107
|
+
* - Accessible button with proper ARIA labels
|
|
108
|
+
* - Integrates with calendar context
|
|
109
|
+
* - Data tracking integration for analytics
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* <Calendar.Prev />
|
|
113
|
+
*/
|
|
24
114
|
Prev: import('react').ForwardRefExoticComponent<import('@servicetitan/hammer-react').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
115
|
+
/**
|
|
116
|
+
* Calendar.MonthButton component for switching to month selection view.
|
|
117
|
+
*
|
|
118
|
+
* Features:
|
|
119
|
+
* - Switches calendar to month selection mode
|
|
120
|
+
* - Accessible button with proper ARIA labels
|
|
121
|
+
* - Integrates with calendar context
|
|
122
|
+
* - Data tracking integration for analytics
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* <Calendar.MonthButton />
|
|
126
|
+
*/
|
|
25
127
|
MonthButton: import('react').ForwardRefExoticComponent<CoreCalendarMonthButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
128
|
+
/**
|
|
129
|
+
* Calendar.YearButton component for switching to year selection view.
|
|
130
|
+
*
|
|
131
|
+
* Features:
|
|
132
|
+
* - Switches calendar to year selection mode
|
|
133
|
+
* - Accessible button with proper ARIA labels
|
|
134
|
+
* - Integrates with calendar context
|
|
135
|
+
* - Data tracking integration for analytics
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* <Calendar.YearButton />
|
|
139
|
+
*/
|
|
26
140
|
YearButton: import('react').ForwardRefExoticComponent<CoreCalendarYearButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
27
141
|
};
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
import { CardProps as CoreCardProps } from '@servicetitan/hammer-react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the Card component
|
|
4
|
+
* @property {"strong" | "stronger"} [background] - The background variant of the card
|
|
5
|
+
* @property {"0" | "xsmall" | "small" | "medium" | "large"} [padding] - The padding size of the card
|
|
6
|
+
* @extends CoreCardProps
|
|
7
|
+
*/
|
|
2
8
|
export type CardProps = CoreCardProps;
|
|
9
|
+
/**
|
|
10
|
+
* Card component for displaying content in a contained, elevated container.
|
|
11
|
+
*
|
|
12
|
+
* Features:
|
|
13
|
+
* - Configurable padding sizes (0, xsmall, small, medium, large)
|
|
14
|
+
* - Background variants (strong, stronger) for visual emphasis
|
|
15
|
+
* - Responsive design with automatic layout utilities
|
|
16
|
+
* - Consistent border radius and styling
|
|
17
|
+
* - Support for all standard div props
|
|
18
|
+
* - Layout utility props for positioning and spacing
|
|
19
|
+
* - Data tracking integration for analytics
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* <Card padding="large" background="strong">
|
|
23
|
+
* <h2>Card Title</h2>
|
|
24
|
+
* <p>Card content goes here</p>
|
|
25
|
+
* </Card>
|
|
26
|
+
*/
|
|
3
27
|
export declare const Card: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('@servicetitan/hammer-react').LayoutUtilProps & {
|
|
4
28
|
background?: "strong" | "stronger";
|
|
5
29
|
padding?: Extract<import('@servicetitan/hammer-react').Size, "0" | "xsmall" | "small" | "medium" | "large">;
|