@servicetitan/anvil2 3.13.6 → 3.14.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 +27 -0
- package/dist/{AiMark-D8dx3b1Q.js → AiMark-CWufA6pV.js} +7 -62
- package/dist/{AiMark-D8dx3b1Q.js.map → AiMark-CWufA6pV.js.map} +1 -1
- package/dist/AiMark.js +1 -1
- package/dist/{Alert-N-Es76Om.js → Alert-RkvFtmRP.js} +2 -2
- package/dist/{Alert-N-Es76Om.js.map → Alert-RkvFtmRP.js.map} +1 -1
- package/dist/Alert.js +1 -1
- package/dist/{AnvilProvider-DcYAaAvs.js → AnvilProvider-DagOuc9c.js} +13 -7
- package/dist/AnvilProvider-DagOuc9c.js.map +1 -0
- package/dist/AnvilProvider.js +1 -1
- package/dist/{Avatar-D31JDNrs.js → Avatar-DZxHhMTP.js} +2 -4
- package/dist/Avatar-DZxHhMTP.js.map +1 -0
- package/dist/{Avatar-DXI-w1Vi.js → Avatar-DkWoRhJu.js} +2 -2
- package/dist/{Avatar-DXI-w1Vi.js.map → Avatar-DkWoRhJu.js.map} +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/{Breadcrumbs-Di0HJmcH.js → Breadcrumbs-DbOrdao2.js} +2 -2
- package/dist/{Breadcrumbs-Di0HJmcH.js.map → Breadcrumbs-DbOrdao2.js.map} +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button-Dwh_Nd4l.js.map +1 -1
- package/dist/{Calendar-DnK6UwPE.js → Calendar-CK-AAaSG.js} +33 -41
- package/dist/Calendar-CK-AAaSG.js.map +1 -0
- package/dist/{Calendar-C1mgmbWt.js → Calendar-DLnn6dJE.js} +2 -2
- package/dist/{Calendar-C1mgmbWt.js.map → Calendar-DLnn6dJE.js.map} +1 -1
- package/dist/Calendar.css +50 -48
- package/dist/Calendar.js +2 -2
- package/dist/{Checkbox-CknwM231.js → Checkbox-CboZhOtU.js} +3 -3
- package/dist/{Checkbox-CknwM231.js.map → Checkbox-CboZhOtU.js.map} +1 -1
- package/dist/{Checkbox-FvMXGsgi.js → Checkbox-Cn4iNLW_.js} +2 -2
- package/dist/{Checkbox-FvMXGsgi.js.map → Checkbox-Cn4iNLW_.js.map} +1 -1
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-AILbiVZ6.js → Chip-UbrxYEqs.js} +4 -6
- package/dist/Chip-UbrxYEqs.js.map +1 -0
- package/dist/Chip.js +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-BE1YvSto.js → DataTable-COExZbOC.js} +11 -25
- package/dist/DataTable-COExZbOC.js.map +1 -0
- package/dist/{DateFieldRange-VK82YRwV.js → DateFieldRange-CpTxlASD.js} +5 -5
- package/dist/{DateFieldRange-VK82YRwV.js.map → DateFieldRange-CpTxlASD.js.map} +1 -1
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-BikPSISX.js → DateFieldSingle-DR2kfrzh.js} +5 -5
- package/dist/{DateFieldSingle-BikPSISX.js.map → DateFieldSingle-DR2kfrzh.js.map} +1 -1
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-DQIEBYKe.js → DateFieldYearless-4mS_2Mgw.js} +5 -5
- package/dist/{DateFieldYearless-DQIEBYKe.js.map → DateFieldYearless-4mS_2Mgw.js.map} +1 -1
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{DateFieldYearlessRange-BpQqvD9U.js → DateFieldYearlessRange-C-yvKBkJ.js} +4 -4
- package/dist/{DateFieldYearlessRange-BpQqvD9U.js.map → DateFieldYearlessRange-C-yvKBkJ.js.map} +1 -1
- package/dist/DateFieldYearlessRange.js +1 -1
- package/dist/{DaysOfTheWeek-Re26vN8g.js → DaysOfTheWeek-Bo4w8SsT.js} +2 -2
- package/dist/{DaysOfTheWeek-Re26vN8g.js.map → DaysOfTheWeek-Bo4w8SsT.js.map} +1 -1
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Dialog-BMPFoRQh.js → Dialog-Ds25dKQp.js} +4 -4
- package/dist/{Dialog-BMPFoRQh.js.map → Dialog-Ds25dKQp.js.map} +1 -1
- package/dist/Dialog.js +1 -1
- package/dist/{Drawer-BCw_ZHSD.js → Drawer-Da-bj_6o.js} +4 -4
- package/dist/{Drawer-BCw_ZHSD.js.map → Drawer-Da-bj_6o.js.map} +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/DrillDown.js +1 -1
- package/dist/{EditCard-CTEk64eN.js → EditCard-CocV93gS.js} +2 -2
- package/dist/{EditCard-CTEk64eN.js.map → EditCard-CocV93gS.js.map} +1 -1
- package/dist/EditCard.js +1 -1
- package/dist/{FieldLabel-CYCk2rz-.js → FieldLabel-6aFKQfyD.js} +2 -2
- package/dist/FieldLabel-6aFKQfyD.js.map +1 -0
- package/dist/FieldLabel.js +1 -1
- package/dist/{FilterBar-XMZ-Q-aW.js → FilterBar-CZT1ryz_.js} +6 -7
- package/dist/FilterBar-CZT1ryz_.js.map +1 -0
- package/dist/FilterBar.js +1 -1
- package/dist/Helper-BHpOgh7k.js.map +1 -1
- package/dist/Icon-B5zwN7GD.js.map +1 -1
- package/dist/{InputMask-Bm7ZYtQy.js → InputMask-CNV0Ucli.js} +3 -3
- package/dist/{InputMask-Bm7ZYtQy.js.map → InputMask-CNV0Ucli.js.map} +1 -1
- package/dist/InputMask.js +1 -1
- package/dist/{ListView-Bkv1ZCSu.js → ListView-DFAWrwzi.js} +2 -2
- package/dist/ListView-DFAWrwzi.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-BWy_uBqm.js → Listbox-BErqErNN.js} +2 -2
- package/dist/Listbox-BErqErNN.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/LocalizationContext-UsmB5mnR.js.map +1 -1
- package/dist/LocalizationProvider-BPcOU7YX.js.map +1 -1
- package/dist/{MenuFooter--lBF8OjJ.js → MenuFooter-fGSZYh8e.js} +2 -2
- package/dist/MenuFooter-fGSZYh8e.js.map +1 -0
- package/dist/MultiSelectField.js +1 -1
- package/dist/{MultiSelectFieldSync-C57Hms2z.js → MultiSelectFieldSync-CqWUidCm.js} +8 -8
- package/dist/MultiSelectFieldSync-CqWUidCm.js.map +1 -0
- package/dist/MultiSelectMenu.js +1 -1
- package/dist/{MultiSelectMenuSync-DxU1AtCL.js → MultiSelectMenuSync-DG3rKyQc.js} +6 -6
- package/dist/{MultiSelectMenuSync-DxU1AtCL.js.map → MultiSelectMenuSync-DG3rKyQc.js.map} +1 -1
- package/dist/{NumberField-BOLMhpdk.js → NumberField-DRYYJHec.js} +3 -3
- package/dist/{NumberField-BOLMhpdk.js.map → NumberField-DRYYJHec.js.map} +1 -1
- package/dist/NumberField.js +1 -1
- package/dist/{Page-CBmCe-YR.js → Page-BmpojvuI.js} +8 -8
- package/dist/{Page-CBmCe-YR.js.map → Page-BmpojvuI.js.map} +1 -1
- package/dist/Page.js +1 -1
- package/dist/{Pagination-Hjalx9ZX.js → Pagination-Bc4fhdNm.js} +3 -3
- package/dist/{Pagination-Hjalx9ZX.js.map → Pagination-Bc4fhdNm.js.map} +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/{Popover-BQ-R2hs0.js → Popover-BgVOsP4J.js} +2 -2
- package/dist/{Popover-BQ-R2hs0.js.map → Popover-BgVOsP4J.js.map} +1 -1
- package/dist/Popover.js +1 -1
- package/dist/PortalProvider-Cj_y3gbC.js.map +1 -1
- package/dist/{ProgressBar-BUmYFa81.js → ProgressBar-Chb0uKfL.js} +2 -2
- package/dist/{ProgressBar-BUmYFa81.js.map → ProgressBar-Chb0uKfL.js.map} +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-BgbBIhPS.js → Radio-DcNlFfSu.js} +3 -3
- package/dist/{Radio-BgbBIhPS.js.map → Radio-DcNlFfSu.js.map} +1 -1
- package/dist/{Radio-C2pWQ84U.js → Radio-gpMEsFss.js} +2 -2
- package/dist/{Radio-C2pWQ84U.js.map → Radio-gpMEsFss.js.map} +1 -1
- package/dist/Radio.js +1 -1
- package/dist/{RichTextEditor-Chzl-zeW.js → RichTextEditor-DeO4p-S-.js} +8 -8
- package/dist/{RichTextEditor-Chzl-zeW.js.map → RichTextEditor-DeO4p-S-.js.map} +1 -1
- package/dist/RichTextEditor.js +1 -1
- package/dist/{SavedFiltersButton-DFy_R8yv.js → SavedFiltersButton-Cvf1mJk8.js} +10 -10
- package/dist/{SavedFiltersButton-DFy_R8yv.js.map → SavedFiltersButton-Cvf1mJk8.js.map} +1 -1
- package/dist/SavedFiltersButton.js +1 -1
- package/dist/{SelectCard-BGTB3ay0.js → SelectCard-bp5hRyHK.js} +3 -3
- package/dist/{SelectCard-BGTB3ay0.js.map → SelectCard-bp5hRyHK.js.map} +1 -1
- package/dist/SelectCard.js +1 -1
- package/dist/SelectField.js +1 -1
- package/dist/{SelectFieldLabel-CcX2GAym.js → SelectFieldLabel-DZqxaZsp.js} +2 -2
- package/dist/SelectFieldLabel-DZqxaZsp.js.map +1 -0
- package/dist/{SelectFieldSync-CLpTOgdr.js → SelectFieldSync-Wkx6DGpg.js} +7 -7
- package/dist/{SelectFieldSync-CLpTOgdr.js.map → SelectFieldSync-Wkx6DGpg.js.map} +1 -1
- package/dist/SelectMenu.js +1 -1
- package/dist/{SelectMenuSync-DqUIPJtu.js → SelectMenuSync-O55TODxn.js} +6 -6
- package/dist/{SelectMenuSync-DqUIPJtu.js.map → SelectMenuSync-O55TODxn.js.map} +1 -1
- package/dist/{SelectOptions-BkqBzRiG.js → SelectOptions-0A8BYx1q.js} +2 -2
- package/dist/SelectOptions-0A8BYx1q.js.map +1 -0
- package/dist/{SelectTrigger-DdIvzkNw.js → SelectTrigger-BfJ7DWYq.js} +3 -3
- package/dist/{SelectTrigger-DdIvzkNw.js.map → SelectTrigger-BfJ7DWYq.js.map} +1 -1
- package/dist/SelectTrigger.js +1 -1
- package/dist/{SelectTriggerBase-f2z0XQDf.js → SelectTriggerBase-DvsI-kSG.js} +3 -3
- package/dist/{SelectTriggerBase-f2z0XQDf.js.map → SelectTriggerBase-DvsI-kSG.js.map} +1 -1
- package/dist/StatusIcon-BqorkNJf.js.map +1 -1
- package/dist/{Switch-DWaFomvP.js → Switch-CrDmBj4D.js} +2 -2
- package/dist/{Switch-DWaFomvP.js.map → Switch-CrDmBj4D.js.map} +1 -1
- package/dist/Switch.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{Text-D2TIPmZ2.js → Text-CZccJAnm.js} +2 -2
- package/dist/{Text-D2TIPmZ2.js.map → Text-CZccJAnm.js.map} +1 -1
- package/dist/Text.js +1 -1
- package/dist/{TextField-wIc7ic0E.js → TextField-D0f9LwgQ.js} +3 -3
- package/dist/{TextField-wIc7ic0E.js.map → TextField-D0f9LwgQ.js.map} +1 -1
- package/dist/{TextField-DJaBZ4Je.js → TextField-DX5qyWPo.js} +2 -2
- package/dist/{TextField-DJaBZ4Je.js.map → TextField-DX5qyWPo.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-D4c6VjNs.js → Textarea-CdTcekFd.js} +3 -3
- package/dist/{Textarea-D4c6VjNs.js.map → Textarea-CdTcekFd.js.map} +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/ThemeProvider-DW-Mflv6.js.map +1 -1
- package/dist/ThemeProviderContext-l52GohYT.js.map +1 -1
- package/dist/{TimeField-DpnX_t31.js → TimeField-BxNglWQt.js} +4 -4
- package/dist/TimeField-BxNglWQt.js.map +1 -0
- package/dist/TimeField.js +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toaster-Cl9BSxHs.js → Toaster-C-Z_FMbW.js} +3 -3
- package/dist/{Toaster-Cl9BSxHs.js.map → Toaster-C-Z_FMbW.js.map} +1 -1
- package/dist/{Toaster-11pmgwx5.js → Toaster-nyQgF9Ki.js} +2 -2
- package/dist/{Toaster-11pmgwx5.js.map → Toaster-nyQgF9Ki.js.map} +1 -1
- package/dist/{Toolbar-C9_Z1wAt.js → Toolbar-BUbMtBVz.js} +4 -4
- package/dist/{Toolbar-C9_Z1wAt.js.map → Toolbar-BUbMtBVz.js.map} +1 -1
- package/dist/{Toolbar-Dq9KOJoH.js → Toolbar-BxAFPvbn.js} +5 -5
- package/dist/{Toolbar-Dq9KOJoH.js.map → Toolbar-BxAFPvbn.js.map} +1 -1
- package/dist/Toolbar.js +2 -2
- package/dist/{ToolbarButtonToggle-BGnYIt6-.js → ToolbarButtonToggle-NSJ2XfXT.js} +2 -2
- package/dist/{ToolbarButtonToggle-BGnYIt6-.js.map → ToolbarButtonToggle-NSJ2XfXT.js.map} +1 -1
- package/dist/TrackingProvider-Co4lyoI9.js.map +1 -1
- package/dist/TrackingProviderContext-CrVA7KHv.js.map +1 -1
- package/dist/TreeSelectField.js +1 -1
- package/dist/{TreeSelectFieldSync-nD0qctC8.js → TreeSelectFieldSync-DpvwlM7B.js} +6 -6
- package/dist/{TreeSelectFieldSync-nD0qctC8.js.map → TreeSelectFieldSync-DpvwlM7B.js.map} +1 -1
- package/dist/TreeSelectMenu.js +1 -1
- package/dist/{TreeSelectMenuSync-B8pwy4dA.js → TreeSelectMenuSync-BDitYX_k.js} +5 -5
- package/dist/{TreeSelectMenuSync-B8pwy4dA.js.map → TreeSelectMenuSync-BDitYX_k.js.map} +1 -1
- package/dist/{TypeaheadTextField-2kW-oCMo.js → TypeaheadTextField-Cj09sEji.js} +3 -3
- package/dist/{TypeaheadTextField-2kW-oCMo.js.map → TypeaheadTextField-Cj09sEji.js.map} +1 -1
- package/dist/TypeaheadTextField.js +1 -1
- package/dist/{YearlessDateInputWithPicker-CuHWd_Vp.js → YearlessDateInputWithPicker-CoomgSEK.js} +8 -6
- package/dist/YearlessDateInputWithPicker-CoomgSEK.js.map +1 -0
- package/dist/anvParts-DFVq7-Cm.js +25 -0
- package/dist/anvParts-DFVq7-Cm.js.map +1 -0
- package/dist/arrayIdsEqual-DnevhwqN.js.map +1 -1
- package/dist/assets/icons/st/gnav_automations_active.svg +1 -0
- package/dist/assets/icons/st/gnav_automations_inactive.svg +1 -0
- package/dist/assets/icons/st/gnav_command_center_active.svg +1 -0
- package/dist/assets/icons/st/gnav_command_center_inactive.svg +1 -0
- package/dist/assets/icons/st.ts +4 -0
- package/dist/beta.js +17 -17
- package/dist/{bulkActionTypes-cnslVUIT.js → bulkActionTypes-DAo3_ECS.js} +2 -2
- package/dist/bulkActionTypes-DAo3_ECS.js.map +1 -0
- package/dist/childrenToString-Bz9MqbHb.js.map +1 -1
- package/dist/confirmationTypes-DeRtO_Cw.js.map +1 -1
- package/dist/{downshift.esm-xtSnQp44.js → downshift.esm-U4VMqrF-.js} +3 -1
- package/dist/downshift.esm-U4VMqrF-.js.map +1 -0
- package/dist/{filter-state-B7lCzjsR.js → filter-state-CZcczj37.js} +21 -21
- package/dist/{filter-state-B7lCzjsR.js.map → filter-state-CZcczj37.js.map} +1 -1
- package/dist/floating-ui.react-dom-BIKT960u.js.map +1 -1
- package/dist/getActiveElement-BcSyVE7S.js.map +1 -1
- package/dist/getKeyboardFocusableElements-B_U9rt6y.js.map +1 -1
- package/dist/{index-BHztJ8H6.js → index-BFxzUzoz.js} +2 -2
- package/dist/{index-BHztJ8H6.js.map → index-BFxzUzoz.js.map} +1 -1
- package/dist/index.js +44 -45
- package/dist/index.js.map +1 -1
- package/dist/portalScopeClassNames-DA28LrXe.js.map +1 -1
- package/dist/src/components/DateFieldYearless/internal/YearlessDateSelectionPopover.d.ts +2 -2
- package/dist/src/hooks/useAccessibleColor/useAccessibleColor.d.ts +3 -28
- package/dist/src/hooks/useBreakpoint/useBreakpoint.d.ts +15 -60
- package/dist/src/hooks/useMergeRefs/useMergeRefs.d.ts +3 -20
- package/dist/src/hooks/usePrefersColorScheme/usePrefersColorScheme.d.ts +2 -11
- package/dist/src/hooks/usePrefersReducedMotion/usePrefersReducedMotion.d.ts +2 -10
- package/dist/src/hooks/useSize/index.d.ts +2 -13
- package/dist/src/hooks/useSwipe/useSwipe.d.ts +3 -20
- package/dist/src/hooks/useTrackingId/index.d.ts +6 -17
- package/dist/src/internal/components/AddNewItemButton.d.ts +4 -30
- package/dist/src/internal/components/Helper/Helper.d.ts +12 -8
- package/dist/src/internal/components/InView.d.ts +4 -24
- package/dist/src/internal/components/InlineMarkdown/InlineMarkdown.d.ts +2 -19
- package/dist/src/internal/components/Label/Label.d.ts +12 -51
- package/dist/src/internal/components/ManualTestLayout/ManualTestLayout.d.ts +3 -2
- package/dist/src/internal/components/MenuFooter/MenuFooter.d.ts +11 -17
- package/dist/src/internal/components/MultiSelectOptions.d.ts +15 -0
- package/dist/src/internal/components/OptionCheckbox.d.ts +2 -0
- package/dist/src/internal/components/OptionContentArea.d.ts +4 -0
- package/dist/src/internal/components/OptionRow.d.ts +4 -0
- package/dist/src/internal/components/OptionsDialog/OptionsDialog.d.ts +13 -1
- package/dist/src/internal/components/OptionsPanel.d.ts +16 -0
- package/dist/src/internal/components/OptionsPopover/OptionsPopover.d.ts +9 -14
- package/dist/src/internal/components/Popover/Popover.d.ts +45 -180
- package/dist/src/internal/components/Popover/PopoverButton.d.ts +0 -20
- package/dist/src/internal/components/Popover/PopoverClose.d.ts +0 -20
- package/dist/src/internal/components/Popover/PopoverContent.d.ts +4 -25
- package/dist/src/internal/components/Popover/PopoverTrigger.d.ts +1 -23
- package/dist/src/internal/components/Popover/internal/PopoverContext.d.ts +0 -21
- package/dist/src/internal/components/Popover/internal/usePopoverContext.d.ts +1 -3
- package/dist/src/internal/components/SelectOption.d.ts +8 -0
- package/dist/src/internal/components/SelectOptions.d.ts +15 -0
- package/dist/src/internal/components/Shadow/Shadow.d.ts +1 -0
- package/dist/src/internal/components/StatusIcon/StatusIcon.d.ts +4 -33
- package/dist/src/internal/components/Surface/Surface.d.ts +40 -73
- package/dist/src/internal/components/Surface/surfaceGeometry.d.ts +12 -0
- package/dist/src/internal/components/VirtualizedOptionsPanel.d.ts +1 -0
- package/dist/src/internal/components/YearSelector/YearSelector.d.ts +14 -48
- package/dist/src/internal/components/YearSelector/internal/YearItem.d.ts +1 -0
- package/dist/src/internal/components/YearSelector/internal/useYearSelectorKeys.d.ts +4 -0
- package/dist/src/internal/constants/anvParts.d.ts +3 -55
- package/dist/src/internal/flubber/a2c.d.ts +0 -4
- package/dist/src/internal/flubber/arc.d.ts +0 -4
- package/dist/src/internal/flubber/bezier.d.ts +0 -4
- package/dist/src/internal/flubber/errors.d.ts +0 -4
- package/dist/src/internal/flubber/index.d.ts +0 -4
- package/dist/src/internal/flubber/interpolate.d.ts +3 -0
- package/dist/src/internal/flubber/linear.d.ts +0 -4
- package/dist/src/internal/flubber/parse.d.ts +0 -4
- package/dist/src/internal/flubber/path-properties.d.ts +0 -4
- package/dist/src/internal/functions/areOptionsValueEqual.d.ts +2 -5
- package/dist/src/internal/functions/buildSelectItems.d.ts +2 -4
- package/dist/src/internal/functions/childrenToString.d.ts +3 -21
- package/dist/src/internal/functions/getActiveElement.d.ts +4 -0
- package/dist/src/internal/functions/getInitial.d.ts +3 -13
- package/dist/src/internal/functions/getKeyboardFocusableElements.d.ts +6 -30
- package/dist/src/internal/functions/inlineMarkdown.d.ts +3 -16
- package/dist/src/internal/functions/isThenable.d.ts +1 -1
- package/dist/src/internal/functions/kebabize.d.ts +3 -13
- package/dist/src/internal/functions/mapOrder.d.ts +4 -0
- package/dist/src/internal/functions/popoverTargetDomProps.d.ts +1 -1
- package/dist/src/internal/functions/portalScopeClassNames.d.ts +6 -13
- package/dist/src/internal/functions/safePopover.d.ts +2 -0
- package/dist/src/internal/functions/sizeToToken.d.ts +1 -0
- package/dist/src/internal/functions/stripInlineMarkdown.d.ts +3 -5
- package/dist/src/internal/functions/syncFilterUtils.d.ts +4 -2
- package/dist/src/internal/functions/warnOnce.d.ts +1 -2
- package/dist/src/internal/hooks/useBulkActionRunner.d.ts +4 -27
- package/dist/src/internal/hooks/useCommitSelectionIfChanged.d.ts +7 -14
- package/dist/src/internal/hooks/useConfirmationDraft.d.ts +4 -4
- package/dist/src/internal/hooks/useContainerQuery/useContainerQuery.d.ts +2 -33
- package/dist/src/internal/hooks/useDebouncedCallback/useDebouncedCallback.d.ts +3 -25
- package/dist/src/internal/hooks/useDialogScrollLock/useDialogScrollLock.d.ts +6 -31
- package/dist/src/internal/hooks/useDialogTransitionStates/useDialogTransitionStates.d.ts +2 -27
- package/dist/src/internal/hooks/useDownshiftEnvironment/useDownshiftEnvironment.d.ts +8 -24
- package/dist/src/internal/hooks/useFocusWithin/useFocusWithin.d.ts +3 -14
- package/dist/src/internal/hooks/useGroupedOptions.d.ts +4 -22
- package/dist/src/internal/hooks/useIntersectionObserver/useIntersectionObserver.d.ts +4 -47
- package/dist/src/internal/hooks/useInvalidateOnOptionsChange.d.ts +2 -7
- package/dist/src/internal/hooks/useIsScrollable/useIsScrollable.d.ts +1 -5
- package/dist/src/internal/hooks/useKeyboardFocusables/useKeyboardFocusables.d.ts +1 -38
- package/dist/src/internal/hooks/useLayoutPropsUtil/useLayoutPropsUtil.d.ts +2 -38
- package/dist/src/internal/hooks/useNumberField/internal/createNumberMaskOptions.d.ts +2 -5
- package/dist/src/internal/hooks/useNumberField/internal/createTrailingZerosHandlers.d.ts +1 -2
- package/dist/src/internal/hooks/useNumberField/internal/numberMaskUtils.d.ts +0 -6
- package/dist/src/internal/hooks/useNumberField/internal/useNumberFieldInputMode.d.ts +2 -17
- package/dist/src/internal/hooks/useNumberField/internal/useNumberFieldKeys.d.ts +4 -30
- package/dist/src/internal/hooks/useNumberField/useNumberField.d.ts +19 -65
- package/dist/src/internal/hooks/useOnClickOutside/useOnClickOutside.d.ts +5 -33
- package/dist/src/internal/hooks/useOpenCloseTransitionStates/useOpenCloseTransitionStates.d.ts +4 -28
- package/dist/src/internal/hooks/useOptionallyControlledState/useOptionallyControlledState.d.ts +2 -46
- package/dist/src/internal/hooks/useOptionsSections.d.ts +4 -9
- package/dist/src/internal/hooks/usePinnedOptions.d.ts +4 -24
- package/dist/src/internal/hooks/usePlatform/usePlatform.d.ts +3 -50
- package/dist/src/internal/hooks/usePopoverCloseDelayWorkaround/usePopoverCloseDelayWorkaround.d.ts +4 -0
- package/dist/src/internal/hooks/usePopoverTransitionStates/usePopoverTransitionStates.d.ts +1 -21
- package/dist/src/internal/hooks/usePrevious/usePrevious.d.ts +1 -0
- package/dist/src/internal/hooks/useProcessedOptions.d.ts +2 -3
- package/dist/src/internal/hooks/useSelectFieldLoading/useSelectFieldLoading.d.ts +18 -61
- package/dist/src/internal/hooks/useSelectOrchestration.d.ts +4 -3
- package/dist/src/internal/hooks/useToggleSelection.d.ts +3 -3
- package/dist/src/internal/hooks/useTypeAhead/useTypeAhead.d.ts +3 -11
- package/dist/src/internal/testing/anvPartsContract.d.ts +9 -9
- package/dist/src/internal/testing/prefersColorScheme.d.ts +7 -0
- package/dist/src/internal/testing/reactHostProps.d.ts +2 -2
- package/dist/src/internal/types/addNewItemTypes.d.ts +14 -16
- package/dist/src/internal/types/argTypes.d.ts +2 -0
- package/dist/src/internal/types/bulkActionTypes.d.ts +12 -41
- package/dist/src/internal/types/confirmationTypes.d.ts +6 -7
- package/dist/src/internal/types/optionContent.d.ts +6 -9
- package/dist/src/internal/types/props.d.ts +6 -1
- package/dist/src/internal/types/selectFieldInternalTypes.d.ts +10 -12
- package/dist/src/internal/utils/arrayIdsEqual.d.ts +1 -5
- package/dist/src/internal/utils/generateChromaticStickersheetProps.d.ts +4 -8
- package/dist/src/internal/utils/inlineMarkdownRegex.d.ts +0 -4
- package/dist/src/internal/utils/layerManager.d.ts +5 -28
- package/dist/src/internal/utils/uniquifySvgDomIds.d.ts +0 -2
- package/dist/src/providers/AnvilProvider/AnvilProvider.d.ts +4 -0
- package/dist/src/providers/AnvilProvider/AnvilProviderContext.d.ts +16 -6
- package/dist/src/providers/LocalizationProvider/LocalizationContext.d.ts +7 -0
- package/dist/src/providers/LocalizationProvider/LocalizationProvider.d.ts +6 -0
- package/dist/src/providers/LocalizationProvider/LocalizationStoryWrapper.d.ts +1 -0
- package/dist/src/providers/LocalizationProvider/useTranslations.d.ts +6 -0
- package/dist/src/providers/PortalProvider/PortalProvider.d.ts +1 -0
- package/dist/src/providers/PortalProvider/PortalProviderContext.d.ts +3 -0
- package/dist/src/providers/ThemeProvider/ThemeProvider.d.ts +16 -0
- package/dist/src/providers/ThemeProvider/index.d.ts +1 -1
- package/dist/src/providers/ThemeProvider/internal/ThemeProviderContext.d.ts +2 -0
- package/dist/src/providers/ThemeProvider/themeToCssVars.d.ts +3 -4
- package/dist/src/providers/ThemeProvider/useTheme.d.ts +5 -0
- package/dist/src/providers/TrackingProvider/TrackingProvider.d.ts +1 -0
- package/dist/src/providers/TrackingProvider/TrackingProviderContext.d.ts +7 -0
- package/dist/src/providers/TrackingProvider/useTrackingContext.d.ts +5 -0
- package/dist/src/themes/carto.d.ts +3 -43
- package/dist/src/types/DataTrackingId.d.ts +1 -0
- package/dist/src/types/DistributiveOmit.d.ts +1 -14
- package/dist/src/types/MaxLengthCounterProps.d.ts +4 -0
- package/dist/src/types/PassThroughProps.d.ts +3 -0
- package/dist/src/types/ai-marks.d.ts +14 -45
- package/dist/src/types/ianaZones.d.ts +2 -0
- package/dist/src/types/locales.d.ts +1 -0
- package/dist/src/types/props.d.ts +14 -16
- package/dist/{stripInlineMarkdown-82hVO9EP.js → stripInlineMarkdown-CosQSmBr.js} +2 -2
- package/dist/stripInlineMarkdown-CosQSmBr.js.map +1 -0
- package/dist/{syncFilterUtils-CMH8ApTo.js → syncFilterUtils-_uwyt6FD.js} +20 -19
- package/dist/syncFilterUtils-_uwyt6FD.js.map +1 -0
- package/dist/themes.js.map +1 -1
- package/dist/token/core/component-variables.scss +156 -0
- package/dist/token/core/component.d.ts +78 -0
- package/dist/token/core/component.js +1018 -0
- package/dist/token/core/component.scss +82 -0
- package/dist/token.js +1096 -0
- package/dist/token.js.map +1 -1
- package/dist/{treeSync-8byHuYib.js → treeSync-Bp80Xduj.js} +4 -4
- package/dist/{treeSync-8byHuYib.js.map → treeSync-Bp80Xduj.js.map} +1 -1
- package/dist/useAccessibleColor-BYKjkGRg.js.map +1 -1
- package/dist/useBreakpoint-BBNRlMGZ.js.map +1 -1
- package/dist/useDebouncedCallback-DLkapjcP.js.map +1 -1
- package/dist/useDialogScrollLock-BW-aVboo.js.map +1 -1
- package/dist/{useDrilldown-CicFEJpD.js → useDrilldown-D5XGfAUT.js} +3 -3
- package/dist/{useDrilldown-CicFEJpD.js.map → useDrilldown-D5XGfAUT.js.map} +1 -1
- package/dist/useFocusWithin-hi77jsrB.js.map +1 -1
- package/dist/{useInfiniteCombobox-BS7W8JkW.js → useInfiniteCombobox-ORhH44Rp.js} +7 -7
- package/dist/{useInfiniteCombobox-BS7W8JkW.js.map → useInfiniteCombobox-ORhH44Rp.js.map} +1 -1
- package/dist/{useInitialFocus-BIvXK1Rp.js → useInitialFocus-CGybEc6x.js} +2 -6
- package/dist/useInitialFocus-CGybEc6x.js.map +1 -0
- package/dist/useIntersectionObserver-BEmMDO3P.js.map +1 -1
- package/dist/{useInvalidateOnOptionsChange-BKKS9HXb.js → useInvalidateOnOptionsChange-ieSgbkwT.js} +5 -5
- package/dist/useInvalidateOnOptionsChange-ieSgbkwT.js.map +1 -0
- package/dist/useLayoutPropsUtil-DjqeAJZ9.js.map +1 -1
- package/dist/useMergeRefs-Dfmtq9cI.js.map +1 -1
- package/dist/useNumberField-CXFYUZ_n.js.map +1 -1
- package/dist/useOnClickOutside-Zw5vzxSq.js.map +1 -1
- package/dist/useOptionallyControlledState-DbDuos5L.js.map +1 -1
- package/dist/{usePopoverTransitionStates-B1opfxxn.js → usePopoverTransitionStates-CDXCdyKa.js} +2 -1
- package/dist/usePopoverTransitionStates-CDXCdyKa.js.map +1 -0
- package/dist/usePrefersColorScheme-CwOF0TjZ.js.map +1 -1
- package/dist/usePrefersReducedMotion-DR9B_D6w.js.map +1 -1
- package/dist/usePrevious-Bvq-5auG.js.map +1 -1
- package/dist/useSize.js.map +1 -1
- package/dist/useSwipe-Cp-CJxLU.js.map +1 -1
- package/dist/useTheme-B4i6a3bM.js.map +1 -1
- package/dist/useTrackingContext-C522P4sv.js.map +1 -1
- package/dist/useTrackingId.js.map +1 -1
- package/dist/warnOnce-Y9PRHcU4.js.map +1 -1
- package/package.json +3 -3
- package/dist/AnvilProvider-DcYAaAvs.js.map +0 -1
- package/dist/Avatar-D31JDNrs.js.map +0 -1
- package/dist/Calendar-DnK6UwPE.js.map +0 -1
- package/dist/Chip-AILbiVZ6.js.map +0 -1
- package/dist/DataTable-BE1YvSto.js.map +0 -1
- package/dist/FieldLabel-CYCk2rz-.js.map +0 -1
- package/dist/FilterBar-XMZ-Q-aW.js.map +0 -1
- package/dist/ListView-Bkv1ZCSu.js.map +0 -1
- package/dist/Listbox-BWy_uBqm.js.map +0 -1
- package/dist/MenuFooter--lBF8OjJ.js.map +0 -1
- package/dist/MultiSelectFieldSync-C57Hms2z.js.map +0 -1
- package/dist/SelectFieldLabel-CcX2GAym.js.map +0 -1
- package/dist/SelectOptions-BkqBzRiG.js.map +0 -1
- package/dist/TimeField-DpnX_t31.js.map +0 -1
- package/dist/YearlessDateInputWithPicker-CuHWd_Vp.js.map +0 -1
- package/dist/anvParts-BGg5dgfl.js +0 -43
- package/dist/anvParts-BGg5dgfl.js.map +0 -1
- package/dist/bulkActionTypes-cnslVUIT.js.map +0 -1
- package/dist/downshift.esm-xtSnQp44.js.map +0 -1
- package/dist/stripInlineMarkdown-82hVO9EP.js.map +0 -1
- package/dist/syncFilterUtils-CMH8ApTo.js.map +0 -1
- package/dist/useInitialFocus-BIvXK1Rp.js.map +0 -1
- package/dist/useInvalidateOnOptionsChange-BKKS9HXb.js.map +0 -1
- package/dist/usePopoverTransitionStates-B1opfxxn.js.map +0 -1
|
@@ -1,80 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Viewport measurements and mobile-first flags for the active Hammer breakpoint.
|
|
3
3
|
*/
|
|
4
4
|
export type BreakpointReturnProps = {
|
|
5
|
-
/**
|
|
6
|
-
* The breakpoint name
|
|
7
|
-
*/
|
|
5
|
+
/** Active breakpoint range. */
|
|
8
6
|
name: "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
9
|
-
/**
|
|
10
|
-
* Minimum width for this breakpoint
|
|
11
|
-
*/
|
|
7
|
+
/** Inclusive lower bound, or `undefined` for `xs`. */
|
|
12
8
|
min: number | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* Maximum width for this breakpoint
|
|
15
|
-
*/
|
|
9
|
+
/** Exclusive upper bound, or `undefined` for `xxl`. */
|
|
16
10
|
max: number | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* Current device orientation
|
|
19
|
-
*/
|
|
11
|
+
/** `"portrait"` when height exceeds width; otherwise `"landscape"`. */
|
|
20
12
|
orientation: "portrait" | "landscape";
|
|
21
|
-
/**
|
|
22
|
-
* Current viewport width in CSS pixels (from window.innerWidth)
|
|
23
|
-
*/
|
|
13
|
+
/** Current viewport width in CSS pixels. */
|
|
24
14
|
innerWidth: number;
|
|
25
|
-
/**
|
|
26
|
-
* Current viewport height in CSS pixels (from window.innerHeight)
|
|
27
|
-
*/
|
|
15
|
+
/** Current viewport height in CSS pixels. */
|
|
28
16
|
innerHeight: number;
|
|
29
|
-
/**
|
|
30
|
-
* True for all breakpoints (mobile-first: xs and above)
|
|
31
|
-
*/
|
|
17
|
+
/** Always true when breakpoint data is available. */
|
|
32
18
|
xs: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* True when viewport width >= 640px (mobile-first: sm and above)
|
|
35
|
-
*/
|
|
19
|
+
/** Whether the active range is `sm` or wider. */
|
|
36
20
|
sm: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* True when viewport width >= 768px (mobile-first: md and above)
|
|
39
|
-
*/
|
|
21
|
+
/** Whether the active range is `md` or wider. */
|
|
40
22
|
md: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* True when viewport width >= 1024px (mobile-first: lg and above)
|
|
43
|
-
*/
|
|
23
|
+
/** Whether the active range is `lg` or wider. */
|
|
44
24
|
lg: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* True when viewport width >= 1280px (mobile-first: xl and above)
|
|
47
|
-
*/
|
|
25
|
+
/** Whether the active range is `xl` or wider. */
|
|
48
26
|
xl: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* True when viewport width >= 1536px (mobile-first: xxl and above)
|
|
51
|
-
*/
|
|
27
|
+
/** Whether the active range is `xxl`. */
|
|
52
28
|
xxl: boolean;
|
|
53
29
|
};
|
|
54
30
|
/**
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
* Features:
|
|
58
|
-
* - Detects current breakpoint based on viewport width
|
|
59
|
-
* - Supports all standard breakpoints (xs, sm, md, lg, xl, xxl)
|
|
60
|
-
* - Provides mobile-first boolean props (e.g., `lg` is true for lg, xl, and xxl)
|
|
61
|
-
* - Provides device orientation information
|
|
62
|
-
* - Returns current viewport dimensions
|
|
63
|
-
* - Uses hammer-token breakpoint values for consistency
|
|
64
|
-
* - Listens for window resize events
|
|
65
|
-
* - Supports optional disable functionality
|
|
66
|
-
* - Uses window.innerWidth/innerHeight for viewport measurements
|
|
67
|
-
*
|
|
68
|
-
* @example
|
|
69
|
-
* ```tsx
|
|
70
|
-
* const breakpoint = useBreakpoint();
|
|
71
|
-
* // Mobile-first approach:
|
|
72
|
-
* <div className={cn({ 'p-block-4': breakpoint?.lg })} />
|
|
73
|
-
* ```
|
|
74
|
-
*
|
|
75
|
-
* @param props - Optional configuration object
|
|
76
|
-
* @param props.disable - Whether to disable the hook
|
|
77
|
-
* @returns Current breakpoint information or undefined if disabled
|
|
31
|
+
* Tracks {@link BreakpointReturnProps} on resize.
|
|
32
|
+
* Returns `undefined` when disabled or Hammer breakpoint tokens are unavailable.
|
|
78
33
|
*/
|
|
79
34
|
export declare const useBreakpoint: (props?: {
|
|
80
35
|
disable?: boolean;
|
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
import { Ref, RefCallback } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @see https://floating-ui.com/docs/react-utils#usemergerefs
|
|
5
|
-
*
|
|
6
|
-
* Features:
|
|
7
|
-
* - Merges an array of refs into a single callback ref
|
|
8
|
-
* - Handles both function refs and object refs
|
|
9
|
-
* - Optimized with useMemo for performance
|
|
10
|
-
* - Returns null when all refs are null/undefined
|
|
11
|
-
* - Supports generic types for type safety
|
|
12
|
-
* - Automatically handles ref assignment and cleanup
|
|
3
|
+
* Combines React refs into one stable callback ref, or `null` when all are empty.
|
|
13
4
|
*
|
|
14
|
-
* @
|
|
15
|
-
* @returns Single callback ref that handles all provided refs, or null if all refs are null
|
|
5
|
+
* @see https://floating-ui.com/docs/react-utils#usemergerefs
|
|
16
6
|
*/
|
|
17
7
|
export declare function useMergeRefs<Instance>(refs: Array<Ref<Instance> | undefined>): RefCallback<Instance> | null;
|
|
18
8
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* Features:
|
|
22
|
-
* - Merges an array of refs into a single callback ref
|
|
23
|
-
* - Handles both function refs and object refs
|
|
24
|
-
*
|
|
25
|
-
* @param refs - Array of React refs to merge
|
|
26
|
-
* @returns
|
|
9
|
+
* Combines React refs into one callback ref, or `null` when all are empty.
|
|
27
10
|
*/
|
|
28
11
|
export declare function mergeRefs<Instance>(refs: Array<Ref<Instance> | undefined>): RefCallback<Instance> | null;
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Features:
|
|
5
|
-
* - Detects system dark/light mode preference
|
|
6
|
-
* - Listens for changes in system color scheme
|
|
7
|
-
* - Supports both modern and legacy event listeners
|
|
8
|
-
* - Handles SSR environments gracefully
|
|
9
|
-
* - Automatically cleans up event listeners
|
|
10
|
-
* - Returns consistent light/dark mode values
|
|
11
|
-
*
|
|
12
|
-
* @returns Object containing current color scheme mode
|
|
2
|
+
* Tracks whether the user's system color scheme is light or dark.
|
|
3
|
+
* Reports `"light"` until the media query is read after mount.
|
|
13
4
|
*/
|
|
14
5
|
export declare const usePrefersColorScheme: () => {
|
|
15
6
|
mode: "light" | "dark";
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Features:
|
|
5
|
-
* - Detects system reduced motion preference
|
|
6
|
-
* - Listens for changes in system motion preference
|
|
7
|
-
* - Uses `MediaQueryList#addEventListener("change")` when available, with `addListener` / `removeListener` fallback for older browsers
|
|
8
|
-
* - Handles SSR environments gracefully
|
|
9
|
-
* - Automatically cleans up event listeners
|
|
10
|
-
*
|
|
11
|
-
* @returns Object containing whether reduced motion is preferred
|
|
2
|
+
* Tracks whether the user has requested reduced motion at the system level.
|
|
3
|
+
* Reports `false` until the media query is read after mount.
|
|
12
4
|
*/
|
|
13
5
|
export declare const usePrefersReducedMotion: () => {
|
|
14
6
|
prefersReducedMotion: boolean;
|
|
@@ -1,18 +1,7 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Features:
|
|
6
|
-
* - Measures element dimensions using getBoundingClientRect
|
|
7
|
-
* - Tracks size changes using ResizeObserver
|
|
8
|
-
* - Provides real-time size updates
|
|
9
|
-
* - Handles initial size measurement on mount
|
|
10
|
-
* - Returns DOMRectReadOnly for comprehensive size information
|
|
11
|
-
* - Automatically cleans up observer on unmount
|
|
12
|
-
* - Uses useLayoutEffect for immediate initial measurement
|
|
13
|
-
*
|
|
14
|
-
* @param target - Reference to the element to measure
|
|
15
|
-
* @returns Current element size as DOMRectReadOnly or undefined
|
|
3
|
+
* Tracks `target`'s size. `undefined` until the first layout measurement.
|
|
4
|
+
* First read is the border box (`getBoundingClientRect`); later updates are `contentRect`.
|
|
16
5
|
*/
|
|
17
6
|
export declare const useSize: (target: RefObject<HTMLElement>) => DOMRectReadOnly | undefined;
|
|
18
7
|
export default useSize;
|
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
import { TouchEvent } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Type definition for swipe direction
|
|
4
|
-
* @property {string | null} direction - The direction of the swipe (left, right, or null)
|
|
5
|
-
*/
|
|
6
2
|
export type UseSwipeFn = {
|
|
7
|
-
/**
|
|
8
|
-
* The direction of the swipe (left, right, or null)
|
|
9
|
-
*/
|
|
3
|
+
/** `"left"` or `"right"` after a horizontal swipe of more than 50px; otherwise `null`. */
|
|
10
4
|
direction: string | null;
|
|
11
5
|
};
|
|
12
6
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* Features:
|
|
16
|
-
* - Detects left and right swipe gestures
|
|
17
|
-
* - Configurable minimum swipe distance threshold
|
|
18
|
-
* - Provides touch event handlers for easy integration
|
|
19
|
-
* - Supports optional callback function for swipe events
|
|
20
|
-
* - Tracks current swipe direction state
|
|
21
|
-
* - Handles touch start, move, and end events
|
|
22
|
-
* - Prevents false positives from regular touch events
|
|
23
|
-
*
|
|
24
|
-
* @param func - Optional callback function called when a swipe is detected
|
|
25
|
-
* @returns Object containing touch event handlers and current swipe direction
|
|
7
|
+
* Horizontal swipe detection. Spread the returned `onTouch*` handlers onto the target.
|
|
8
|
+
* Optional `func` runs when a swipe resolves (including `null` when the gesture is too short).
|
|
26
9
|
*/
|
|
27
10
|
export declare const useSwipe: (func?: (direction: UseSwipeFn["direction"]) => void) => {
|
|
28
11
|
onTouchMove: (e: TouchEvent<HTMLElement>) => void;
|
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* - Generates unique tracking IDs for analytics events
|
|
6
|
-
* - Integrates with TrackingProvider for centralized tracking management
|
|
7
|
-
* - Supports opt-out functionality for privacy compliance
|
|
8
|
-
* - Handles tracking overrides for testing or special cases
|
|
9
|
-
* - Uses JSON stringification for consistent data serialization
|
|
10
|
-
* - Automatically updates tracking ID when data or name changes
|
|
11
|
-
* - Respects user privacy preferences through opt-out mechanism
|
|
12
|
-
* - Provides async tracking ID generation
|
|
13
|
-
*
|
|
14
|
-
* @param props - Configuration object containing tracking parameters
|
|
15
|
-
* @param props.name - The name identifier for the tracking event
|
|
16
|
-
* @param props.data - The data object to track
|
|
17
|
-
* @param props.hasOverride - Whether to override tracking behavior
|
|
18
|
-
* @returns Generated tracking ID string or undefined if tracking is disabled
|
|
2
|
+
* Resolves an analytics tracking ID from {@link TrackingProvider}.
|
|
3
|
+
* Returns `undefined` until the async lookup finishes. `hasOverride` and provider
|
|
4
|
+
* `optOut` skip the lookup; they do not clear an already resolved ID.
|
|
19
5
|
*/
|
|
20
6
|
export declare const useTrackingId: ({ name, data, hasOverride, }: {
|
|
7
|
+
/** Component segment passed as `getTrackingId`'s second argument. */
|
|
21
8
|
name: string;
|
|
9
|
+
/** Payload serialized with `JSON.stringify` for the lookup key. */
|
|
22
10
|
data: {
|
|
23
11
|
[key: string]: unknown;
|
|
24
12
|
};
|
|
13
|
+
/** Skip the lookup. Same skip path as provider `optOut`. */
|
|
25
14
|
hasOverride?: boolean;
|
|
26
15
|
}) => string | undefined;
|
|
@@ -1,39 +1,13 @@
|
|
|
1
1
|
import { AddNewItemProps } from '../types/addNewItemTypes';
|
|
2
|
-
/**
|
|
3
|
-
* Props for the AddNewItemButton component.
|
|
4
|
-
*
|
|
5
|
-
* @property {string} searchText - The current search text, forwarded to the consumer's handler and label callback.
|
|
6
|
-
* @property {() => void} [onCloseMenu] - Internal hook for the host menu to close itself when the button is clicked. Fires before the consumer's handler.
|
|
7
|
-
* @extends AddNewItemProps
|
|
8
|
-
*/
|
|
9
2
|
export type AddNewItemButtonProps = AddNewItemProps & {
|
|
10
|
-
/**
|
|
3
|
+
/** Passed to the label callback and add-item handler. */
|
|
11
4
|
searchText: string;
|
|
12
|
-
/**
|
|
5
|
+
/** Closes the host menu before the add-item handler runs. */
|
|
13
6
|
onCloseMenu?: () => void;
|
|
14
7
|
};
|
|
15
8
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
* and the visual separator from the option list are owned by the surrounding
|
|
19
|
-
* popover/dialog footer slot — this component is only responsible for the
|
|
20
|
-
* button itself.
|
|
21
|
-
*
|
|
22
|
-
* Features:
|
|
23
|
-
* - Renders nothing when no `onAddNewItem` handler is provided
|
|
24
|
-
* - Renders nothing when `addItemLabel` is a function that returns `null`/`undefined`
|
|
25
|
-
* - Static or dynamic label resolved against the current search text
|
|
26
|
-
* - Closes the host menu via `onCloseMenu` when clicked, before invoking the consumer's handler
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* <AddNewItemButton
|
|
30
|
-
* searchText={searchText}
|
|
31
|
-
* addItemLabel={(s) => `Add "${s}"`}
|
|
32
|
-
* onAddNewItem={(text) => openAddDialog(text)}
|
|
33
|
-
* onCloseMenu={closeMenu}
|
|
34
|
-
* />
|
|
35
|
-
*
|
|
36
|
-
* @returns The button, or null when the feature is not enabled / label is hidden.
|
|
9
|
+
* Add-new affordance for select menus. It remains unmounted without a handler
|
|
10
|
+
* or when the label callback returns `null`/`undefined`.
|
|
37
11
|
*/
|
|
38
12
|
export declare const AddNewItemButton: {
|
|
39
13
|
({ searchText, addItemLabel, onAddNewItem, onCloseMenu, }: AddNewItemButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { AriaAttributes, ReactElement } from 'react';
|
|
2
2
|
export type HelperProps = {
|
|
3
|
+
/** `aria-describedby` target on the helper container. */
|
|
3
4
|
id?: string;
|
|
5
|
+
/** Always-visible hint; forwarded to {@link FieldMessage}. */
|
|
4
6
|
hint?: ReactElement | string;
|
|
7
|
+
/** Secondary copy under the hint; forwarded to {@link FieldMessage}. */
|
|
5
8
|
description?: ReactElement | string;
|
|
6
|
-
/**
|
|
7
|
-
* Error message(s) to display. Supports a single string or an array of strings.
|
|
8
|
-
*/
|
|
9
|
+
/** Error copy; forwarded to {@link FieldMessage}. */
|
|
9
10
|
error?: string | string[];
|
|
10
|
-
/**
|
|
11
|
-
* Warning message(s) to display. Supports a single string or an array of strings.
|
|
12
|
-
*/
|
|
11
|
+
/** Warning copy; forwarded to {@link FieldMessage}. */
|
|
13
12
|
warning?: string | string[];
|
|
14
13
|
/**
|
|
15
|
-
* @deprecated Use
|
|
14
|
+
* @deprecated Use `error`.
|
|
16
15
|
*/
|
|
17
16
|
errorMessage?: ReactElement | string;
|
|
18
17
|
/**
|
|
19
|
-
* @deprecated
|
|
18
|
+
* @deprecated Unused. Errors are always `aria-live="assertive"`.
|
|
20
19
|
*/
|
|
21
20
|
errorAriaLive?: AriaAttributes["aria-live"];
|
|
21
|
+
/** Counter denominator and remaining-character live-region limit. */
|
|
22
22
|
maxLength?: number;
|
|
23
|
+
/** Current character count. Defaults to `0`. */
|
|
23
24
|
inputLength?: number;
|
|
25
|
+
/** With a truthy `maxLength`, announces remaining characters (or max reached). */
|
|
24
26
|
isTyping?: boolean;
|
|
27
|
+
/** Visual `inputLength/maxLength` counter (`aria-hidden`). */
|
|
25
28
|
showCounter?: boolean;
|
|
26
29
|
};
|
|
30
|
+
/** {@link FieldMessage} slot plus optional max-length counter and typing live region. */
|
|
27
31
|
export declare const Helper: import('react').ForwardRefExoticComponent<HelperProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,34 +1,14 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Props for the InView component
|
|
4
|
-
* @property {ReactNode} children - The content to render inside the visibility-tracked container
|
|
5
|
-
* @property {(isVisible: boolean) => void} [onVisibilityChange] - Callback fired when visibility changes
|
|
6
|
-
*/
|
|
7
2
|
type InViewProps = {
|
|
8
|
-
/**
|
|
9
|
-
* The content to render inside the visibility-tracked container
|
|
10
|
-
*/
|
|
11
3
|
children?: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Callback fired when the element's visibility in the viewport changes
|
|
14
|
-
*/
|
|
4
|
+
/** Receives each observed viewport-visibility change. */
|
|
15
5
|
onVisibilityChange?: (isVisible: boolean) => void;
|
|
16
|
-
/**
|
|
17
|
-
* The root margin for the intersection observer
|
|
18
|
-
*/
|
|
6
|
+
/** Expands or contracts the viewport bounds using CSS margin syntax. */
|
|
19
7
|
rootMargin?: string;
|
|
20
8
|
};
|
|
21
9
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* Features:
|
|
25
|
-
* - Uses Intersection Observer API for efficient visibility detection
|
|
26
|
-
* - Fires callback when visibility state changes
|
|
27
|
-
* - Handles browser compatibility gracefully
|
|
28
|
-
* - Automatically cleans up observer on unmount
|
|
29
|
-
*
|
|
30
|
-
* @param props - Component props
|
|
31
|
-
* @returns Wrapped children with visibility detection
|
|
10
|
+
* Wraps content in an Intersection Observer target and reports viewport
|
|
11
|
+
* visibility.
|
|
32
12
|
*/
|
|
33
13
|
export declare const InView: ({ children, onVisibilityChange, rootMargin, }: InViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
14
|
export {};
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Props for the InlineMarkdown component
|
|
3
|
-
* @property {string} [value] - The markdown string to parse and render
|
|
4
|
-
*/
|
|
5
1
|
export interface InlineMarkdownProps {
|
|
2
|
+
/** Markdown source. Defaults to `""`. */
|
|
6
3
|
value?: string;
|
|
7
4
|
}
|
|
8
|
-
/**
|
|
9
|
-
* Renders a string with limited inline markdown constructs as formatted React content.
|
|
10
|
-
*
|
|
11
|
-
* Features:
|
|
12
|
-
* - Bold: `**text**`
|
|
13
|
-
* - Italic: `*text*`
|
|
14
|
-
* - Bold and italic: `***text***`
|
|
15
|
-
* - Highlight: `==text==`
|
|
16
|
-
* - Inline code: `` `text` ``
|
|
17
|
-
* - Memoized rendering for performance
|
|
18
|
-
* - Passes through plain strings with no overhead
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* <InlineMarkdown value="Save **now** or `discard`" />
|
|
22
|
-
*/
|
|
5
|
+
/** Turns limited inline markdown into React nodes. */
|
|
23
6
|
export declare const InlineMarkdown: ({ value }: InlineMarkdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,77 +1,38 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
import { TooltipProps } from '../../../components/Tooltip';
|
|
3
|
-
/**
|
|
4
|
-
* Props for the Label component.
|
|
5
|
-
*/
|
|
6
3
|
export type LabelProps = Omit<ComponentPropsWithoutRef<"label">, "id"> & {
|
|
7
|
-
/** Unique identifier for the label element */
|
|
8
4
|
id?: string;
|
|
9
5
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* Shows a visual asterisk and a screen-reader `Required`. Defaults to
|
|
7
|
+
* omitted / not required.
|
|
12
8
|
*/
|
|
13
9
|
required?: boolean;
|
|
14
|
-
/**
|
|
10
|
+
/** Tooltip copy on the info icon; also repeated in a visually hidden span. */
|
|
15
11
|
moreInfo?: ReactNode;
|
|
16
12
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
13
|
+
* Forces the info tooltip open when true. When it becomes falsy, the tooltip
|
|
14
|
+
* closes, then returns to uncontrolled on the next tick.
|
|
19
15
|
*/
|
|
20
16
|
moreInfoOpen?: TooltipProps["open"];
|
|
21
17
|
};
|
|
22
|
-
/**
|
|
23
|
-
* Internal component for rendering the info icon with tooltip.
|
|
24
|
-
*
|
|
25
|
-
* @param props - Component props
|
|
26
|
-
* @param props.moreInfo - The content to display in the tooltip
|
|
27
|
-
* @param props.moreInfoOpen - Controls the tooltip open state
|
|
28
|
-
*/
|
|
18
|
+
/** Info-icon tooltip; `moreInfoOpen` is snap-then-uncontrolled. */
|
|
29
19
|
export declare const LabelMoreInfoIcon: ({ moreInfo, moreInfoOpen, }: {
|
|
30
20
|
moreInfo: LabelProps["moreInfo"];
|
|
31
21
|
moreInfoOpen: LabelProps["moreInfoOpen"];
|
|
32
22
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
/**
|
|
34
|
-
* Label component for form field labels with optional required indicator and help tooltip.
|
|
35
|
-
*
|
|
36
|
-
* Features:
|
|
37
|
-
* - Accessible form label with proper semantic HTML
|
|
38
|
-
* - Optional required field indicator with red asterisk
|
|
39
|
-
* - Help tooltip with info icon for additional context
|
|
40
|
-
* - Screen reader support for required field announcement
|
|
41
|
-
* - Controlled and uncontrolled tooltip state management
|
|
42
|
-
* - Flexible content support for label text and help information
|
|
43
|
-
* - Proper ARIA attributes and semantic structure
|
|
44
|
-
* - Responsive design with consistent typography
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* <Label htmlFor="email" required>
|
|
48
|
-
* Email Address
|
|
49
|
-
* </Label>
|
|
50
|
-
* <input id="email" type="email" />
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* <Label
|
|
54
|
-
* htmlFor="password"
|
|
55
|
-
* required
|
|
56
|
-
* moreInfo="Password must be at least 8 characters long"
|
|
57
|
-
* >
|
|
58
|
-
* Password
|
|
59
|
-
* </Label>
|
|
60
|
-
* <input id="password" type="password" />
|
|
61
|
-
*/
|
|
23
|
+
/** Form `<label>` with optional required marker and more-info tooltip. */
|
|
62
24
|
export declare const Label: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref">, "id"> & {
|
|
63
|
-
/** Unique identifier for the label element */
|
|
64
25
|
id?: string;
|
|
65
26
|
/**
|
|
66
|
-
*
|
|
67
|
-
*
|
|
27
|
+
* Shows a visual asterisk and a screen-reader `Required`. Defaults to
|
|
28
|
+
* omitted / not required.
|
|
68
29
|
*/
|
|
69
30
|
required?: boolean;
|
|
70
|
-
/**
|
|
31
|
+
/** Tooltip copy on the info icon; also repeated in a visually hidden span. */
|
|
71
32
|
moreInfo?: ReactNode;
|
|
72
33
|
/**
|
|
73
|
-
*
|
|
74
|
-
*
|
|
34
|
+
* Forces the info tooltip open when true. When it becomes falsy, the tooltip
|
|
35
|
+
* closes, then returns to uncontrolled on the next tick.
|
|
75
36
|
*/
|
|
76
37
|
moreInfoOpen?: TooltipProps["open"];
|
|
77
38
|
} & import('react').RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type ManualTestParams = {
|
|
3
|
+
/** Heading shown above the component under test. */
|
|
3
4
|
title: string;
|
|
5
|
+
/** Screen-reader or a11y tool this procedure is written for. */
|
|
4
6
|
tool: string;
|
|
7
|
+
/** Ordered instructions. Lines starting with `Expected` are visually emphasized. */
|
|
5
8
|
steps: string[];
|
|
6
9
|
};
|
|
7
10
|
type ManualTestLayoutProps = ManualTestParams & {
|
|
@@ -9,8 +12,6 @@ type ManualTestLayoutProps = ManualTestParams & {
|
|
|
9
12
|
};
|
|
10
13
|
/**
|
|
11
14
|
* Layout helper for manual accessibility test stories.
|
|
12
|
-
* Renders the test title, tool, and step-by-step instructions
|
|
13
|
-
* visibly above the component under test.
|
|
14
15
|
*/
|
|
15
16
|
export declare function ManualTestLayout({ title, tool, steps, children, }: ManualTestLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
export {};
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export type MenuFooterClearConfig = {
|
|
3
|
+
/** Clears the host's current selection. */
|
|
3
4
|
onClick: () => void;
|
|
5
|
+
/** Button text. Defaults to `"Clear"`. */
|
|
4
6
|
label?: string;
|
|
7
|
+
/** Prevents clearing while preserving the control in the layout. */
|
|
5
8
|
disabled?: boolean;
|
|
6
9
|
};
|
|
7
10
|
export type MenuFooterConfirmationConfig = {
|
|
11
|
+
/** Commits the host's pending selection. */
|
|
8
12
|
onApply: () => void;
|
|
13
|
+
/** Discards the host's pending selection. */
|
|
9
14
|
onCancel: () => void;
|
|
15
|
+
/** Commit button text. Defaults to `"Apply"`. */
|
|
10
16
|
applyLabel?: string;
|
|
17
|
+
/** Cancel button text. Defaults to `"Cancel"`. */
|
|
11
18
|
cancelLabel?: string;
|
|
19
|
+
/** Prevents committing while leaving cancellation available. */
|
|
12
20
|
applyDisabled?: boolean;
|
|
13
21
|
};
|
|
14
22
|
export type MenuFooterProps = {
|
|
@@ -16,26 +24,12 @@ export type MenuFooterProps = {
|
|
|
16
24
|
clear?: MenuFooterClearConfig;
|
|
17
25
|
/** Apply/Cancel pair config. Omit when not in confirmation mode. */
|
|
18
26
|
confirmation?: MenuFooterConfirmationConfig;
|
|
19
|
-
/**
|
|
20
|
-
* Pre-rendered add-new affordance (AddNewItemButton or similar). Layout owns
|
|
21
|
-
* its row vs. inline placement; the caller just provides the node.
|
|
22
|
-
*/
|
|
27
|
+
/** Pre-rendered affordance; placement depends on the other footer controls. */
|
|
23
28
|
addNew?: ReactNode;
|
|
24
29
|
};
|
|
25
30
|
/**
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* add-new affordance.
|
|
29
|
-
*
|
|
30
|
-
* Layout rules:
|
|
31
|
-
* - clear + confirmation + addNew → [addNew full-width row] / [clear | apply cancel]
|
|
32
|
-
* - clear + confirmation → [clear | apply cancel]
|
|
33
|
-
* - clear + addNew → [addNew] / [clear] (stacked, both full-width)
|
|
34
|
-
* - clear → [clear] (full-width)
|
|
35
|
-
* - confirmation + addNew → [addNew | apply cancel] (addNew on the leading side)
|
|
36
|
-
* - confirmation → [apply | cancel]
|
|
37
|
-
* - addNew → [addNew]
|
|
38
|
-
* - (none) → null
|
|
31
|
+
* Composes clear, confirmation, and add-new controls into a menu footer.
|
|
32
|
+
* Returns `null` when all three are omitted.
|
|
39
33
|
*/
|
|
40
34
|
export declare const MenuFooter: {
|
|
41
35
|
({ clear, confirmation, addNew, }: MenuFooterProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,21 +3,36 @@ import { CSSProperties } from 'react';
|
|
|
3
3
|
import { OptionsPanelHandle } from './OptionsPanel';
|
|
4
4
|
import { GetItemPropsFn, GetMenuPropsFn, SectionMeta, SelectItem } from '../types/selectFieldInternalTypes';
|
|
5
5
|
export type MultiSelectOptionsProps = {
|
|
6
|
+
/** When false, option rows stay unmounted inside the menu scroller. */
|
|
6
7
|
isOpen: boolean;
|
|
8
|
+
/** Flattened option, pinned/group, and bulk-action rows. */
|
|
7
9
|
items: SelectItem[];
|
|
10
|
+
/** Downshift getter for the menu scroller. */
|
|
8
11
|
getMenuProps: GetMenuPropsFn;
|
|
12
|
+
/** Downshift getter for each option row. */
|
|
9
13
|
getItemProps: GetItemPropsFn;
|
|
14
|
+
/** Host highlight index into `items`. */
|
|
10
15
|
highlightedIndex: number;
|
|
16
|
+
/** Current multi selection used to derive each row's check state. */
|
|
11
17
|
selectedOptions: MultiSelectFieldOption[];
|
|
18
|
+
/** When true, shows the load-more control. */
|
|
12
19
|
hasMore: boolean;
|
|
20
|
+
/** Fetches the next page of options. */
|
|
13
21
|
onLoadMore: () => void;
|
|
22
|
+
/** Replaces the list with a spinner while the current page loads. */
|
|
14
23
|
loading: boolean;
|
|
24
|
+
/** Spinner in the load-more slot. */
|
|
15
25
|
loadingMore: boolean;
|
|
26
|
+
/** Skips automatic next-page fetch; the Load more button remains. */
|
|
16
27
|
disableAutoLoadMore?: boolean;
|
|
28
|
+
/** Disables every row, in addition to per-item `disabled`. */
|
|
17
29
|
disabled?: boolean;
|
|
18
30
|
className?: string;
|
|
19
31
|
style?: CSSProperties;
|
|
32
|
+
/** Pinned and group ranges over `items`. */
|
|
20
33
|
sectionsMeta?: SectionMeta[];
|
|
34
|
+
/** Uses the virtualized panel when true. Defaults to the non-virtual list. */
|
|
21
35
|
virtualize?: boolean;
|
|
22
36
|
};
|
|
37
|
+
/** Multi-select option list. Forwards to {@link OptionsPanel} or the virtualized panel. */
|
|
23
38
|
export declare const MultiSelectOptions: import('react').ForwardRefExoticComponent<MultiSelectOptionsProps & import('react').RefAttributes<OptionsPanelHandle>>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { CheckState } from '../../types';
|
|
2
2
|
export type OptionCheckboxProps = {
|
|
3
|
+
/** Selects the checkbox glyph, or shows a spinner while loading. */
|
|
3
4
|
checkState: CheckState;
|
|
4
5
|
className?: string;
|
|
5
6
|
};
|
|
7
|
+
/** Decorative selection-state indicator for a multiple-select option. */
|
|
6
8
|
export declare function OptionCheckbox({ checkState, className }: OptionCheckboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { OptionContent } from '../types/optionContent';
|
|
3
3
|
export type OptionContentAreaProps = {
|
|
4
|
+
/** Fallback title when `content.title` is omitted. */
|
|
4
5
|
label: string;
|
|
6
|
+
/** Optional structured details for the option. */
|
|
5
7
|
content?: OptionContent;
|
|
8
|
+
/** Additional content rendered after the option's details. */
|
|
6
9
|
children?: ReactNode;
|
|
7
10
|
};
|
|
11
|
+
/** Arranges an option's avatar, text details, tags, and trailing icon. */
|
|
8
12
|
export declare function OptionContentArea({ label, content, children, }: OptionContentAreaProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
2
2
|
export type OptionRowProps = ComponentPropsWithoutRef<"div"> & {
|
|
3
|
+
/** Applies disabled styling; interaction semantics remain caller-owned. */
|
|
3
4
|
disabled?: boolean;
|
|
4
5
|
};
|
|
6
|
+
/** Shared layout and state styling for an option row. */
|
|
5
7
|
export declare const OptionRow: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
/** Applies disabled styling; interaction semantics remain caller-owned. */
|
|
6
9
|
disabled?: boolean;
|
|
7
10
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
+
/** Prevents leading or trailing row content from shrinking. */
|
|
8
12
|
export declare const OptionRowSideContent: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
13
|
children: ReactNode;
|
|
10
14
|
} & import('react').RefAttributes<HTMLDivElement>>;
|