@servicetitan/anvil2 2.7.0 → 2.8.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 +60 -0
- package/dist/{floating-ui.react-C_s3_nEb.js → AiMark-Cwc9KoyE.js} +767 -5
- package/dist/AiMark-Cwc9KoyE.js.map +1 -0
- package/dist/AiMark.css +260 -0
- package/dist/AiMark.d.ts +2 -0
- package/dist/AiMark.js +2 -0
- package/dist/AiMark.js.map +1 -0
- package/dist/{Alert-C_o2f78C.js → Alert-5qhkSUN3.js} +27 -13
- package/dist/Alert-5qhkSUN3.js.map +1 -0
- package/dist/Alert.css +23 -15
- package/dist/Alert.js +1 -1
- package/dist/{Announcement-CyrTvgP4.js → Announcement-fQmFNysn.js} +2 -2
- package/dist/{Announcement-CyrTvgP4.js.map → Announcement-fQmFNysn.js.map} +1 -1
- package/dist/Announcement.js +1 -1
- package/dist/{Avatar-CCnbKkCm.js → Avatar-BckUfs1N.js} +48 -46
- package/dist/{Avatar-CCnbKkCm.js.map → Avatar-BckUfs1N.js.map} +1 -1
- package/dist/Avatar-ChybzixS.js +35 -0
- package/dist/Avatar-ChybzixS.js.map +1 -0
- package/dist/Avatar.js +2 -2
- package/dist/Breadcrumbs-BXo2FO2n.js +107 -0
- package/dist/Breadcrumbs-BXo2FO2n.js.map +1 -0
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button-a_D7tUgM.js +4517 -0
- package/dist/Button-a_D7tUgM.js.map +1 -0
- package/dist/Button.js +1 -1
- package/dist/{ButtonToggle-DaYJWso_.js → ButtonToggle-CmY77gUp.js} +2 -2
- package/dist/{ButtonToggle-DaYJWso_.js.map → ButtonToggle-CmY77gUp.js.map} +1 -1
- package/dist/ButtonToggle.js +1 -1
- package/dist/{Calendar-SGlTt-bs.js → Calendar-Bd_WELZC.js} +130 -119
- package/dist/Calendar-Bd_WELZC.js.map +1 -0
- package/dist/{Calendar-C1U2npPP.js → Calendar-d2owsYe9.js} +2 -2
- package/dist/{Calendar-C1U2npPP.js.map → Calendar-d2owsYe9.js.map} +1 -1
- package/dist/Calendar.css +51 -51
- package/dist/Calendar.js +2 -2
- package/dist/Card-wz71dEVA.js.map +1 -1
- package/dist/{Checkbox-CtKUNeyu.js → Checkbox-BlFc6ZWy.js} +25 -14
- package/dist/Checkbox-BlFc6ZWy.js.map +1 -0
- package/dist/Checkbox-DbaZrUE2.js +52 -0
- package/dist/Checkbox-DbaZrUE2.js.map +1 -0
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-DjTAR0va.js → Chip-BnofwIUN.js} +43 -13
- package/dist/Chip-BnofwIUN.js.map +1 -0
- package/dist/Chip.css +44 -28
- package/dist/Chip.js +1 -1
- package/dist/{Combobox-By8-34bw.js → Combobox-BOxAzG9v.js} +186 -183
- package/dist/{Combobox-By8-34bw.js.map → Combobox-BOxAzG9v.js.map} +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-BYOS6icI.js → DataTable-DK9xRjnq.js} +762 -651
- package/dist/DataTable-DK9xRjnq.js.map +1 -0
- package/dist/DataTable.css +84 -74
- package/dist/{DateFieldRange-C8Uzrboc.js → DateFieldRange-5Jrz6dLl.js} +20 -6
- package/dist/DateFieldRange-5Jrz6dLl.js.map +1 -0
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-DrhLIjlK.js → DateFieldSingle-DWFr6Ew4.js} +8 -8
- package/dist/{DateFieldSingle-DrhLIjlK.js.map → DateFieldSingle-DWFr6Ew4.js.map} +1 -1
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-DbivK4Hm.js → DateFieldYearless-UU22A5-E.js} +22 -6
- package/dist/DateFieldYearless-UU22A5-E.js.map +1 -0
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{DateFieldYearlessRange-BEqJe4Uf.js → DateFieldYearlessRange-BoPLxm6t.js} +3 -3
- package/dist/DateFieldYearlessRange-BoPLxm6t.js.map +1 -0
- package/dist/DateFieldYearlessRange.js +1 -1
- package/dist/{DaysOfTheWeek-BR32AA32.js → DaysOfTheWeek-4cfTmjzm.js} +4 -4
- package/dist/{DaysOfTheWeek-BR32AA32.js.map → DaysOfTheWeek-4cfTmjzm.js.map} +1 -1
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Details-Dxq_v3Qg.js → Details-CZOIpNP_.js} +8 -8
- package/dist/Details-CZOIpNP_.js.map +1 -0
- package/dist/Details.js +1 -1
- package/dist/{Dialog-CGhwkwvq.js → Dialog-Dn836WQM.js} +73 -73
- package/dist/Dialog-Dn836WQM.js.map +1 -0
- package/dist/Dialog.js +1 -1
- package/dist/{DialogCancelButton-DQDMzGeT.js → DialogCancelButton-B-jfihJr.js} +2 -2
- package/dist/{DialogCancelButton-DQDMzGeT.js.map → DialogCancelButton-B-jfihJr.js.map} +1 -1
- package/dist/{Drawer-DA4iAgt-.js → Drawer-CdDWt_Ba.js} +86 -86
- package/dist/Drawer-CdDWt_Ba.js.map +1 -0
- package/dist/Drawer.js +1 -1
- package/dist/DrillDown.js +1 -1
- package/dist/{EditCard-CLN0GBN_.js → EditCard-CZibhEfS.js} +3 -3
- package/dist/{EditCard-CLN0GBN_.js.map → EditCard-CZibhEfS.js.map} +1 -1
- package/dist/EditCard.js +1 -1
- package/dist/FieldLabel-Dr41PRxH.js +180 -0
- package/dist/FieldLabel-Dr41PRxH.js.map +1 -0
- package/dist/FieldLabel.css +33 -73
- package/dist/FieldLabel.js +1 -1
- package/dist/Grid-DeYIx5k4.js +149 -0
- package/dist/Grid-DeYIx5k4.js.map +1 -0
- package/dist/Grid.js +1 -1
- package/dist/{InputMask-HjaNCb73.js → InputMask-CcXqzqdx.js} +3 -3
- package/dist/{InputMask-HjaNCb73.js.map → InputMask-CcXqzqdx.js.map} +1 -1
- package/dist/InputMask.js +1 -1
- package/dist/{Layout-VfhlilMG.js → Layout-CISAxILX.js} +34 -33
- package/dist/Layout-CISAxILX.js.map +1 -0
- package/dist/Layout.js +1 -1
- package/dist/List--KhCpjZn.js +103 -0
- package/dist/List--KhCpjZn.js.map +1 -0
- package/dist/List.js +1 -1
- package/dist/{ListView-mujFK6mQ.js → ListView-D9cZUVer.js} +6 -6
- package/dist/ListView-D9cZUVer.js.map +1 -0
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-BtAgBDRS.js → Listbox-CgDwzRfz.js} +6 -5
- package/dist/Listbox-CgDwzRfz.js.map +1 -0
- package/dist/Listbox.js +1 -1
- package/dist/{Menu-BXsmCP20.js → Menu-CPbuIsqC.js} +367 -367
- package/dist/Menu-CPbuIsqC.js.map +1 -0
- package/dist/Menu.js +1 -1
- package/dist/MultiSelectField.js +1 -1
- package/dist/{MultiSelectFieldSync-DGpGgu8q.js → MultiSelectFieldSync-Ei7DXzvs.js} +31 -18
- package/dist/MultiSelectFieldSync-Ei7DXzvs.js.map +1 -0
- package/dist/MultiSelectMenu.js +1 -1
- package/dist/{MultiSelectMenuSync-DiLddJDw.js → MultiSelectMenuSync-B_mXpTEe.js} +29 -9
- package/dist/MultiSelectMenuSync-B_mXpTEe.js.map +1 -0
- package/dist/{NumberField-svhZp1kB.js → NumberField-C5t47Obp.js} +16 -5
- package/dist/NumberField-C5t47Obp.js.map +1 -0
- package/dist/NumberField.js +1 -1
- package/dist/Overflow.css +27 -26
- package/dist/Overflow.js +11 -11
- package/dist/{Page-Be029Dij.js → Page-2hbQxUj6.js} +223 -207
- package/dist/Page-2hbQxUj6.js.map +1 -0
- package/dist/Page.css +78 -76
- package/dist/Page.js +1 -1
- package/dist/{Pagination-BAwqfl_2.js → Pagination-CjGmJ_rU.js} +20 -18
- package/dist/Pagination-CjGmJ_rU.js.map +1 -0
- package/dist/Pagination.js +1 -1
- package/dist/{Popover-D0qSKZ1J.js → Popover-CpU9VAcb.js} +356 -358
- package/dist/Popover-CpU9VAcb.js.map +1 -0
- package/dist/Popover.js +1 -1
- package/dist/{ProgressBar-JpRDW5vG.js → ProgressBar-FMuK8viJ.js} +2 -2
- package/dist/{ProgressBar-JpRDW5vG.js.map → ProgressBar-FMuK8viJ.js.map} +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-BQg7exDG.js → Radio-CZZd8phn.js} +25 -14
- package/dist/Radio-CZZd8phn.js.map +1 -0
- package/dist/Radio-DmtVWAmN.js +60 -0
- package/dist/Radio-DmtVWAmN.js.map +1 -0
- package/dist/Radio.js +1 -1
- package/dist/{SegmentedControl-7fDLhgvh.js → SegmentedControl-B9NWUF7s.js} +81 -77
- package/dist/{SegmentedControl-7fDLhgvh.js.map → SegmentedControl-B9NWUF7s.js.map} +1 -1
- package/dist/SegmentedControl.js +1 -1
- package/dist/SelectCard-8OmIDl1m.js +352 -0
- package/dist/SelectCard-8OmIDl1m.js.map +1 -0
- package/dist/SelectCard.js +1 -1
- package/dist/SelectField.js +1 -1
- package/dist/{SelectFieldLabel-Dr8HeW3N.js → SelectFieldLabel-C8PrXxDU.js} +5 -4
- package/dist/SelectFieldLabel-C8PrXxDU.js.map +1 -0
- package/dist/{SelectFieldSync-CJ2Ie_v1.js → SelectFieldSync-DGK8F2G9.js} +13 -13
- package/dist/SelectFieldSync-DGK8F2G9.js.map +1 -0
- package/dist/SelectMenu.js +1 -1
- package/dist/{SelectMenuSync-CJA_coqD.js → SelectMenuSync-CuZp9mnt.js} +29 -9
- package/dist/SelectMenuSync-CuZp9mnt.js.map +1 -0
- package/dist/{SelectOptions-Bf4xsFek.js → SelectOptions-CmElsiTd.js} +2 -2
- package/dist/{SelectOptions-Bf4xsFek.js.map → SelectOptions-CmElsiTd.js.map} +1 -1
- package/dist/{SelectTrigger-ObsnAKNp.js → SelectTrigger-KF8w6Ynk.js} +8 -6
- package/dist/SelectTrigger-KF8w6Ynk.js.map +1 -0
- package/dist/SelectTrigger.js +1 -1
- package/dist/{SelectTriggerBase-DKfOL2RJ.js → SelectTriggerBase-Bxmv6oXk.js} +4 -4
- package/dist/{SelectTriggerBase-DKfOL2RJ.js.map → SelectTriggerBase-Bxmv6oXk.js.map} +1 -1
- package/dist/{SideNav-KksbSQn7.js → SideNav-CrxYExjh.js} +137 -135
- package/dist/{SideNav-KksbSQn7.js.map → SideNav-CrxYExjh.js.map} +1 -1
- package/dist/SideNav.css +72 -55
- package/dist/SideNav.js +1 -1
- package/dist/Skeleton.css +18 -12
- package/dist/Skeleton.js +24 -11
- package/dist/Skeleton.js.map +1 -1
- package/dist/{Stepper-Dt8_ImvJ.js → Stepper-_27Lmm2K.js} +158 -158
- package/dist/{Stepper-Dt8_ImvJ.js.map → Stepper-_27Lmm2K.js.map} +1 -1
- package/dist/Stepper.js +1 -1
- package/dist/{Switch-DpPHr3G3.js → Switch-DPGz7wC_.js} +14 -2
- package/dist/Switch-DPGz7wC_.js.map +1 -0
- package/dist/Switch.js +1 -1
- package/dist/{Tab-DO7LaUbw.js → Tab-BZpTCG0i.js} +227 -223
- package/dist/Tab-BZpTCG0i.js.map +1 -0
- package/dist/Tab.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/{Text-BJo4oMI2.js → Text-MVxRo6yx.js} +30 -12
- package/dist/Text-MVxRo6yx.js.map +1 -0
- package/dist/Text.css +37 -20
- package/dist/Text.js +1 -1
- package/dist/{TextField-DeHpgPag.js → TextField-BpSxZa0z.js} +21 -5
- package/dist/TextField-BpSxZa0z.js.map +1 -0
- package/dist/{TextField-BW8sJAls.js → TextField-D93iv_pk.js} +2 -2
- package/dist/{TextField-BW8sJAls.js.map → TextField-D93iv_pk.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-DyqdMTvQ.js → Textarea-1u2fSMTh.js} +21 -5
- package/dist/Textarea-1u2fSMTh.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/{TimeField-Dc0Y1JD-.js → TimeField-B4gLlBQJ.js} +6 -5
- package/dist/{TimeField-Dc0Y1JD-.js.map → TimeField-B4gLlBQJ.js.map} +1 -1
- package/dist/TimeField.js +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toaster-b0-Ub3yt.js → Toaster-CSJfSOHx.js} +5 -5
- package/dist/Toaster-CSJfSOHx.js.map +1 -0
- package/dist/{Toaster-DikGo_hR.js → Toaster-DbWYnF_t.js} +2 -2
- package/dist/{Toaster-DikGo_hR.js.map → Toaster-DbWYnF_t.js.map} +1 -1
- package/dist/{Toolbar-DAuz4Gs2.js → Toolbar-CWRk523l.js} +150 -149
- package/dist/{Toolbar-DAuz4Gs2.js.map → Toolbar-CWRk523l.js.map} +1 -1
- package/dist/Toolbar.js +1 -1
- package/dist/{Tooltip-Bupqao9B.js → Tooltip-C1PBRnJv.js} +225 -228
- package/dist/Tooltip-C1PBRnJv.js.map +1 -0
- package/dist/Tooltip.js +1 -1
- package/dist/{YearlessDateInputWithPicker-DFi08TLG.js → YearlessDateInputWithPicker-BSl5z2zo.js} +2 -3
- package/dist/{YearlessDateInputWithPicker-DFi08TLG.js.map → YearlessDateInputWithPicker-BSl5z2zo.js.map} +1 -1
- package/dist/assets/icons/st/ai_mark_gradient.svg +1 -1
- package/dist/beta/components/MultiSelectField/internal/MultiSelectFieldComboboxMode.d.ts +1 -1
- package/dist/beta/components/MultiSelectField/internal/MultiSelectFieldInput.d.ts +3 -2
- package/dist/beta/components/MultiSelectField/internal/MultiSelectFieldSelectMode.d.ts +1 -1
- package/dist/beta/components/MultiSelectField/internal/MultiSelectFieldTrigger.d.ts +3 -2
- package/dist/beta/components/MultiSelectField/internal/types.d.ts +4 -3
- package/dist/beta/components/MultiSelectField/types.d.ts +28 -7
- package/dist/beta/components/MultiSelectMenu/types.d.ts +15 -0
- package/dist/beta/components/SelectField/internal/SelectFieldComboboxMode.d.ts +1 -1
- package/dist/beta/components/SelectField/internal/SelectFieldLabel.d.ts +4 -4
- package/dist/beta/components/SelectField/internal/SelectFieldSelectMode.d.ts +1 -1
- package/dist/beta/components/SelectField/types.d.ts +5 -5
- package/dist/beta/components/SelectMenu/internal/useMenuInteraction.d.ts +3 -1
- package/dist/beta/components/SelectMenu/types.d.ts +15 -0
- package/dist/beta/components/Table/DataTable/DataTable.d.ts +2 -15
- package/dist/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableMultiselectAsyncCell.d.ts +35 -0
- package/dist/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableMultiselectCell.d.ts +4 -3
- package/dist/beta/components/Table/DataTable/internal/editable-cells/DataTableEditableSelectAsyncCell.d.ts +7 -0
- package/dist/beta/components/Table/DataTable/internal/editable-cells/useEditableMenuCell.d.ts +34 -0
- package/dist/beta/components/Table/DataTable/internal/usePageDataCache.d.ts +29 -0
- package/dist/beta/components/Table/DataTable/internal/util/getTanStackColumnDef.d.ts +2 -4
- package/dist/beta/components/Table/DataTable/types.d.ts +48 -1
- package/dist/beta/components/Table/createColumnHelper.d.ts +23 -68
- package/dist/beta/components/Table/types.d.ts +218 -42
- package/dist/beta/components/Toolbar/Toolbar.d.ts +175 -44
- package/dist/beta/components/Toolbar/ToolbarSelect.d.ts +5 -3
- package/dist/beta.js +9 -9
- package/dist/components/AiMark/AiMark.d.ts +87 -0
- package/dist/components/AiMark/index.d.ts +1 -0
- package/dist/components/AiMark/internal/AiMarkIconAnimated.d.ts +30 -0
- package/dist/components/AiMark/internal/AiMarkInteractive.d.ts +10 -0
- package/dist/components/AiMark/stories/aiMarkStoryArgTypes.d.ts +16 -0
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Avatar/Avatar.d.ts +14 -0
- package/dist/components/Button/Button.d.ts +14 -6
- package/dist/components/Button/internal/buttonAiMarkUtils.d.ts +18 -0
- package/dist/components/Button/internal/index.d.ts +1 -0
- package/dist/components/Calendar/Calendar.d.ts +84 -26
- package/dist/components/Card/Card.d.ts +6 -1
- package/dist/components/Checkbox/Checkbox.d.ts +2 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +27 -6
- package/dist/components/Chip/Chip.d.ts +10 -1
- package/dist/components/Chip/internal/Chip.d.ts +4 -0
- package/dist/components/Combobox/Combobox.d.ts +172 -1
- package/dist/components/DateFieldRange/internal/MaskedDateRangeInput.d.ts +1 -1
- package/dist/components/DateFieldRange/internal/useDateFieldRangeConversion.d.ts +1 -1
- package/dist/components/DateFieldSingle/internal/MaskedDateInput.d.ts +1 -1
- package/dist/components/DateFieldYearless/DateFieldYearless.d.ts +8 -1
- package/dist/components/DateFieldYearless/internal/YearlessDateInput.d.ts +1 -1
- package/dist/components/DateFieldYearless/internal/YearlessDateInputWithPicker.d.ts +1 -1
- package/dist/components/DateFieldYearlessRange/DateFieldYearlessRange.d.ts +7 -0
- package/dist/components/Dialog/Dialog.d.ts +96 -28
- package/dist/components/DrillDown/DrillDown.d.ts +7 -1
- package/dist/components/FieldLabel/FieldLabel.d.ts +2 -1
- package/dist/components/FieldLabel/internal/FieldLabelButton.d.ts +3 -2
- package/dist/components/Layout/Layout.d.ts +52 -44
- package/dist/components/ListView/ListView.d.ts +5 -5
- package/dist/components/Listbox/Listbox.d.ts +5 -23
- package/dist/components/Menu/Menu.d.ts +1 -4
- package/dist/components/NumberField/NumberField.d.ts +29 -2
- package/dist/components/Radio/Radio.d.ts +2 -0
- package/dist/components/Radio/RadioGroup.d.ts +27 -6
- package/dist/components/SelectCard/SelectCard.d.ts +1 -1
- package/dist/components/SelectCard/SelectCardGroup.d.ts +18 -1
- package/dist/components/SelectCard/internal/SelectCardContext.d.ts +11 -0
- package/dist/components/SelectCard/internal/SelectCardProvider.d.ts +11 -1
- package/dist/components/Skeleton/SkeletonCircle.d.ts +8 -0
- package/dist/components/Skeleton/SkeletonPill.d.ts +8 -0
- package/dist/components/Skeleton/SkeletonRectangle.d.ts +8 -0
- package/dist/components/Skeleton/SkeletonText.d.ts +6 -1
- package/dist/components/Skeleton/index.d.ts +3 -0
- package/dist/components/Switch/Switch.d.ts +11 -1
- package/dist/components/Text/types.d.ts +9 -0
- package/dist/components/TextField/internal/TextField.d.ts +11 -0
- package/dist/components/Textarea/Textarea.d.ts +9 -2
- package/dist/components/Toast/internal/Toast.d.ts +5 -0
- package/dist/components/Toast/toast.d.ts +1 -1
- package/dist/components/Toolbar/Toolbar.d.ts +8 -4
- package/dist/components/Toolbar/ToolbarSelect.d.ts +5 -3
- package/dist/components/index.d.ts +1 -0
- package/dist/{floating-ui.react-dom-imrk9N49.js → floating-ui.react-dom-CHrYz13o.js} +17 -2
- package/dist/floating-ui.react-dom-CHrYz13o.js.map +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/usePrefersReducedMotion/index.d.ts +1 -0
- package/dist/hooks/usePrefersReducedMotion/usePrefersReducedMotion.d.ts +15 -0
- package/dist/index.js +135 -133
- package/dist/index.js.map +1 -1
- package/dist/internal/components/InlineMarkdown/InlineMarkdown.d.ts +23 -0
- package/dist/internal/components/InlineMarkdown/index.d.ts +1 -0
- package/dist/internal/components/Label/Label.d.ts +1 -1
- package/dist/internal/components/Popover/Popover.d.ts +3 -1
- package/dist/internal/components/index.d.ts +2 -1
- package/dist/internal/functions/index.d.ts +2 -0
- package/dist/internal/functions/inlineMarkdown.d.ts +20 -0
- package/dist/internal/functions/stripInlineMarkdown.d.ts +8 -0
- package/dist/internal/types/props.d.ts +2 -1
- package/dist/internal/types/selectFieldInternalTypes.d.ts +2 -2
- package/dist/internal/utils/index.d.ts +1 -0
- package/dist/internal/utils/inlineMarkdownRegex.d.ts +5 -0
- package/dist/{proxy-BbFHSE6L.js → proxy-DEehATlA.js} +8 -2
- package/dist/{proxy-BbFHSE6L.js.map → proxy-DEehATlA.js.map} +1 -1
- package/dist/stripInlineMarkdown-DyqLAQnf.js +25 -0
- package/dist/stripInlineMarkdown-DyqLAQnf.js.map +1 -0
- package/dist/{syncFilterUtils-vt8ldsES.js → syncFilterUtils-CsbCnI1-.js} +194 -194
- package/dist/{syncFilterUtils-vt8ldsES.js.map → syncFilterUtils-CsbCnI1-.js.map} +1 -1
- package/dist/types/ai-marks.d.ts +72 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/{use-reduced-motion-DSpxmqyT.js → use-reduced-motion-CqjZZ5QB.js} +2 -2
- package/dist/{use-reduced-motion-DSpxmqyT.js.map → use-reduced-motion-CqjZZ5QB.js.map} +1 -1
- package/dist/{useDrilldown-wwXRpNgb.js → useDrilldown-C7eMBl68.js} +43 -41
- package/dist/{useDrilldown-wwXRpNgb.js.map → useDrilldown-C7eMBl68.js.map} +1 -1
- package/dist/{useInitialFocus-CdoVwSbr.js → useInitialFocus-DbaB-x5T.js} +2 -3
- package/dist/{useInitialFocus-CdoVwSbr.js.map → useInitialFocus-DbaB-x5T.js.map} +1 -1
- package/dist/{useMenuInteraction-zR_78KQC.js → useMenuInteraction-BwZ2ORo9.js} +8 -3
- package/dist/useMenuInteraction-BwZ2ORo9.js.map +1 -0
- package/dist/{index.esm-BZV0wNKZ.js → usePopoverTransitionStates-B1opfxxn.js} +88 -2
- package/dist/usePopoverTransitionStates-B1opfxxn.js.map +1 -0
- package/dist/usePrefersReducedMotion-DR9B_D6w.js +37 -0
- package/dist/usePrefersReducedMotion-DR9B_D6w.js.map +1 -0
- package/dist/usePrefersReducedMotion.d.ts +2 -0
- package/dist/usePrefersReducedMotion.js +2 -0
- package/dist/usePrefersReducedMotion.js.map +1 -0
- package/dist/{useToggleSelection-BdXW3Zg3.js → useToggleSelection-BM8asdFj.js} +2 -2
- package/dist/{useToggleSelection-BdXW3Zg3.js.map → useToggleSelection-BM8asdFj.js.map} +1 -1
- package/package.json +4 -2
- package/dist/Alert-C_o2f78C.js.map +0 -1
- package/dist/Avatar--CnTAnfD.js +0 -35
- package/dist/Avatar--CnTAnfD.js.map +0 -1
- package/dist/Breadcrumbs-3Y7jnj-F.js +0 -105
- package/dist/Breadcrumbs-3Y7jnj-F.js.map +0 -1
- package/dist/Button-CVsGhVJz.js +0 -113
- package/dist/Button-CVsGhVJz.js.map +0 -1
- package/dist/Calendar-SGlTt-bs.js.map +0 -1
- package/dist/Checkbox-CjEKa5Iv.js +0 -50
- package/dist/Checkbox-CjEKa5Iv.js.map +0 -1
- package/dist/Checkbox-CtKUNeyu.js.map +0 -1
- package/dist/Chip-DjTAR0va.js.map +0 -1
- package/dist/DataTable-BYOS6icI.js.map +0 -1
- package/dist/DateFieldRange-C8Uzrboc.js.map +0 -1
- package/dist/DateFieldYearless-DbivK4Hm.js.map +0 -1
- package/dist/DateFieldYearlessRange-BEqJe4Uf.js.map +0 -1
- package/dist/Details-Dxq_v3Qg.js.map +0 -1
- package/dist/Dialog-CGhwkwvq.js.map +0 -1
- package/dist/Drawer-DA4iAgt-.js.map +0 -1
- package/dist/FieldLabel-DbMosKtd.js +0 -125
- package/dist/FieldLabel-DbMosKtd.js.map +0 -1
- package/dist/Grid-ONcUpb__.js +0 -147
- package/dist/Grid-ONcUpb__.js.map +0 -1
- package/dist/Layout-VfhlilMG.js.map +0 -1
- package/dist/List-CJZjElAQ.js +0 -101
- package/dist/List-CJZjElAQ.js.map +0 -1
- package/dist/ListView-mujFK6mQ.js.map +0 -1
- package/dist/Listbox-BtAgBDRS.js.map +0 -1
- package/dist/Menu-BXsmCP20.js.map +0 -1
- package/dist/MultiSelectFieldSync-DGpGgu8q.js.map +0 -1
- package/dist/MultiSelectMenuSync-DiLddJDw.js.map +0 -1
- package/dist/NumberField-svhZp1kB.js.map +0 -1
- package/dist/Page-Be029Dij.js.map +0 -1
- package/dist/Pagination-BAwqfl_2.js.map +0 -1
- package/dist/Popover-D0qSKZ1J.js.map +0 -1
- package/dist/Popover-DxZF6lbJ.js +0 -535
- package/dist/Popover-DxZF6lbJ.js.map +0 -1
- package/dist/Popover2.css +0 -68
- package/dist/Radio-BOq9UkpC.js +0 -60
- package/dist/Radio-BOq9UkpC.js.map +0 -1
- package/dist/Radio-BQg7exDG.js.map +0 -1
- package/dist/SelectCard-cu4MBuh8.js +0 -320
- package/dist/SelectCard-cu4MBuh8.js.map +0 -1
- package/dist/SelectFieldLabel-Dr8HeW3N.js.map +0 -1
- package/dist/SelectFieldSync-CJ2Ie_v1.js.map +0 -1
- package/dist/SelectMenuSync-CJA_coqD.js.map +0 -1
- package/dist/SelectTrigger-ObsnAKNp.js.map +0 -1
- package/dist/Switch-DpPHr3G3.js.map +0 -1
- package/dist/Tab-DO7LaUbw.js.map +0 -1
- package/dist/Text-BJo4oMI2.js.map +0 -1
- package/dist/TextField-DeHpgPag.js.map +0 -1
- package/dist/Textarea-DyqdMTvQ.js.map +0 -1
- package/dist/Toaster-b0-Ub3yt.js.map +0 -1
- package/dist/Tooltip-Bupqao9B.js.map +0 -1
- package/dist/floating-ui.react-C_s3_nEb.js.map +0 -1
- package/dist/floating-ui.react-dom-imrk9N49.js.map +0 -1
- package/dist/index.esm-BZV0wNKZ.js.map +0 -1
- package/dist/safePopover-BDso-xSH.js +0 -17
- package/dist/safePopover-BDso-xSH.js.map +0 -1
- package/dist/useMenuInteraction-zR_78KQC.js.map +0 -1
- package/dist/useOpenCloseTransitionStates-CiTYrLGi.js +0 -68
- package/dist/useOpenCloseTransitionStates-CiTYrLGi.js.map +0 -1
- package/dist/usePopoverTransitionStates-CDIoNUuf.js +0 -24
- package/dist/usePopoverTransitionStates-CDIoNUuf.js.map +0 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComboboxProps } from './ComboboxTypes';
|
|
2
|
-
export declare const ComboboxElement: <Item>(props: ComboboxProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
3
2
|
/**
|
|
4
3
|
* Combobox component for selecting items with search and filtering capabilities.
|
|
5
4
|
*
|
|
@@ -209,3 +208,175 @@ export declare const Combobox: (<Item>(props: ComboboxProps<Item>) => import("re
|
|
|
209
208
|
*/
|
|
210
209
|
Empty: <Item = any>({ children, }: import('./ComboboxEmpty').ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
211
210
|
};
|
|
211
|
+
export declare const ComboboxElement: (<Item>(props: ComboboxProps<Item>) => import("react/jsx-runtime").JSX.Element) & {
|
|
212
|
+
/**
|
|
213
|
+
* ComboboxSelect component for selecting items from a predefined list.
|
|
214
|
+
*
|
|
215
|
+
* Features:
|
|
216
|
+
* - Single and multiple item selection from predefined options
|
|
217
|
+
* - Dropdown-style selection interface
|
|
218
|
+
* - Grouping support with custom group labels and sorting
|
|
219
|
+
* - Loading states with spinner indicators
|
|
220
|
+
* - Disabled and read-only states
|
|
221
|
+
* - Customizable popover behavior and positioning
|
|
222
|
+
* - Full accessibility support with ARIA attributes
|
|
223
|
+
* - Keyboard navigation support
|
|
224
|
+
* - Layout utility props for positioning and spacing
|
|
225
|
+
* - Automatic tracking ID generation for analytics
|
|
226
|
+
*
|
|
227
|
+
* @example
|
|
228
|
+
* <Combobox.Select
|
|
229
|
+
* items={items}
|
|
230
|
+
* itemToString={(item) => item.name}
|
|
231
|
+
* onChange={setSelectedItem}
|
|
232
|
+
* >
|
|
233
|
+
* <Combobox.SelectTrigger label="Select an item" />
|
|
234
|
+
* <Combobox.Content>
|
|
235
|
+
* {({ items }) => (
|
|
236
|
+
* <Combobox.List>
|
|
237
|
+
* {items.map((item, i) => (
|
|
238
|
+
* <Combobox.Item key={item.id} item={item} index={i}>
|
|
239
|
+
* {item.name}
|
|
240
|
+
* </Combobox.Item>
|
|
241
|
+
* ))}
|
|
242
|
+
* </Combobox.List>
|
|
243
|
+
* )}
|
|
244
|
+
* </Combobox.Content>
|
|
245
|
+
* </Combobox.Select>
|
|
246
|
+
*/
|
|
247
|
+
Select: <Item>(props: import('./ComboboxTypes').ComboboxSelectProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
248
|
+
/**
|
|
249
|
+
* ComboboxSearchField component for the search input field.
|
|
250
|
+
*
|
|
251
|
+
* Features:
|
|
252
|
+
* - Search input with clear button functionality
|
|
253
|
+
* - Supports multiple selection with chip display
|
|
254
|
+
* - Handles keyboard navigation and accessibility
|
|
255
|
+
* - Integrates with combobox state management
|
|
256
|
+
* - Supports custom styling and layout
|
|
257
|
+
* - Manages focus and blur events
|
|
258
|
+
* - Enhanced prefix support for icons and avatars
|
|
259
|
+
* - Automatic tracking ID generation for analytics
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* <Combobox.SearchField
|
|
263
|
+
* label="Search users"
|
|
264
|
+
* placeholder="Type to search..."
|
|
265
|
+
* prefix={{ icon: { svg: SearchIcon } }}
|
|
266
|
+
* />
|
|
267
|
+
*/
|
|
268
|
+
SearchField: ({ prefix: prefixProp, ...props }: import('./ComboboxTypes').ComboboxSearchFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
269
|
+
/**
|
|
270
|
+
* ComboboxSelectTrigger component for the select trigger field.
|
|
271
|
+
*
|
|
272
|
+
* Features:
|
|
273
|
+
* - Select input with dropdown trigger
|
|
274
|
+
* - Supports single selection display
|
|
275
|
+
* - Handles keyboard navigation and accessibility
|
|
276
|
+
* - Integrates with combobox state management
|
|
277
|
+
* - Supports custom styling and layout
|
|
278
|
+
* - Manages focus and blur events
|
|
279
|
+
* - Enhanced prefix support for icons and avatars
|
|
280
|
+
* - Automatic tracking ID generation for analytics
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* <Combobox.SelectTrigger
|
|
284
|
+
* label="Select user"
|
|
285
|
+
* placeholder="Choose a user..."
|
|
286
|
+
* prefix={{ avatar: { name: "User" } }}
|
|
287
|
+
* />
|
|
288
|
+
*/
|
|
289
|
+
SelectTrigger: ({ prefix: prefixProp, ...props }: import('./ComboboxTypes').ComboboxSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
290
|
+
/**
|
|
291
|
+
* ComboboxContent component for rendering the content area of a combobox.
|
|
292
|
+
*
|
|
293
|
+
* Features:
|
|
294
|
+
* - Supports both popover and inline rendering modes
|
|
295
|
+
* - Provides render props pattern for flexible content rendering
|
|
296
|
+
* - Handles grouped items with proper ARIA labels
|
|
297
|
+
* - Integrates with combobox state management
|
|
298
|
+
* - Supports custom styling and layout
|
|
299
|
+
* - Manages focus and blur events for popover behavior
|
|
300
|
+
*
|
|
301
|
+
* @example
|
|
302
|
+
* <Combobox.Content>
|
|
303
|
+
* {({ items }) => (
|
|
304
|
+
* <Combobox.List>
|
|
305
|
+
* {items.map((item, index) => (
|
|
306
|
+
* <Combobox.Item key={item.id} item={item} index={index}>
|
|
307
|
+
* {item.name}
|
|
308
|
+
* </Combobox.Item>
|
|
309
|
+
* ))}
|
|
310
|
+
* </Combobox.List>
|
|
311
|
+
* )}
|
|
312
|
+
* </Combobox.Content>
|
|
313
|
+
*/
|
|
314
|
+
Content: <Item = any>({ children, className, disablePopover, ...rest }: import('./ComboboxContent').ComboboxContentProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
315
|
+
/**
|
|
316
|
+
* ComboboxList component for rendering the list of items.
|
|
317
|
+
*
|
|
318
|
+
* Features:
|
|
319
|
+
* - Renders list of items with proper accessibility
|
|
320
|
+
* - Supports both single and multiple selection modes
|
|
321
|
+
* - Loading state with spinner
|
|
322
|
+
* - Empty state handling
|
|
323
|
+
* - Automatic tracking ID generation for analytics
|
|
324
|
+
*
|
|
325
|
+
* @example
|
|
326
|
+
* <Combobox.List>
|
|
327
|
+
* {items.map((item, i) => (
|
|
328
|
+
* <Combobox.Item key={item.id} item={item} index={i}>
|
|
329
|
+
* {item.name}
|
|
330
|
+
* </Combobox.Item>
|
|
331
|
+
* ))}
|
|
332
|
+
* </Combobox.List>
|
|
333
|
+
*/
|
|
334
|
+
List: <Item = any>({ children, className, ...rest }: import('./ComboboxList').ComboboxListProps) => import("react/jsx-runtime").JSX.Element;
|
|
335
|
+
/**
|
|
336
|
+
* ComboboxItem component for rendering individual items in the list.
|
|
337
|
+
*
|
|
338
|
+
* Features:
|
|
339
|
+
* - Individual item rendering with proper accessibility
|
|
340
|
+
* - Support for disabled state
|
|
341
|
+
* - Custom content rendering
|
|
342
|
+
* - Automatic tracking ID generation for analytics
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* <Combobox.Item item={item} index={index}>
|
|
346
|
+
* <Flex direction="column">
|
|
347
|
+
* <Text>{item.name}</Text>
|
|
348
|
+
* <Text size="small" subdued>{item.description}</Text>
|
|
349
|
+
* </Flex>
|
|
350
|
+
* </Combobox.Item>
|
|
351
|
+
*/
|
|
352
|
+
Item: <Item = any>(props: import('./ComboboxTypes').ComboboxItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
353
|
+
/**
|
|
354
|
+
* ComboboxItemAddNew component for rendering an "Add New" option.
|
|
355
|
+
*
|
|
356
|
+
* Features:
|
|
357
|
+
* - "Add New" option that appears when no exact match is found
|
|
358
|
+
* - Customizable content rendering
|
|
359
|
+
* - Callback when selected
|
|
360
|
+
* - Automatic tracking ID generation for analytics
|
|
361
|
+
*
|
|
362
|
+
* @example
|
|
363
|
+
* <Combobox.ItemAddNew onSelection={(inputValue) => addNewItem(inputValue)}>
|
|
364
|
+
* Add "{inputValue}" as new item
|
|
365
|
+
* </Combobox.ItemAddNew>
|
|
366
|
+
*/
|
|
367
|
+
ItemAddNew: <Item = any>(props: import('./ComboboxTypes').ComboboxItemAddNewProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
368
|
+
/**
|
|
369
|
+
* ComboboxEmpty component for rendering content when no items are available.
|
|
370
|
+
*
|
|
371
|
+
* Features:
|
|
372
|
+
* - Renders content when list is empty
|
|
373
|
+
* - Customizable empty state message
|
|
374
|
+
* - Automatic tracking ID generation for analytics
|
|
375
|
+
*
|
|
376
|
+
* @example
|
|
377
|
+
* <Combobox.Empty>
|
|
378
|
+
* <Text>No items found. Try adjusting your search.</Text>
|
|
379
|
+
* </Combobox.Empty>
|
|
380
|
+
*/
|
|
381
|
+
Empty: <Item = any>({ children, }: import('./ComboboxEmpty').ComboboxEmptyProps) => import("react/jsx-runtime").JSX.Element;
|
|
382
|
+
};
|
|
@@ -32,7 +32,7 @@ export type MaskedDateRangeInputRef = HTMLInputElement & {
|
|
|
32
32
|
* @param props.endDate - The end date.
|
|
33
33
|
* @param props.disableHint - Whether to disable the hint.
|
|
34
34
|
*/
|
|
35
|
-
export declare const MaskedDateRangeInput: import('react').ForwardRefExoticComponent<Omit<TextFieldProps, "
|
|
35
|
+
export declare const MaskedDateRangeInput: import('react').ForwardRefExoticComponent<Omit<TextFieldProps, "onChange" | "ref" | "value" | "prefix" | "hint" | "showCounter"> & {
|
|
36
36
|
onChange: MaskedDateRangeInputChangeHandler;
|
|
37
37
|
mode?: DateMode;
|
|
38
38
|
startDate: DateTime | null;
|
|
@@ -20,7 +20,7 @@ export declare const useDateFieldRangeConversion: (props: DateFieldRangeProps) =
|
|
|
20
20
|
maxDate: DateTime<boolean> | null | undefined;
|
|
21
21
|
unavailable: {
|
|
22
22
|
dates: DateTime<boolean>[] | undefined;
|
|
23
|
-
daysOfWeek: (
|
|
23
|
+
daysOfWeek: (1 | 2 | 3 | 6 | 4 | 5 | 7)[] | undefined;
|
|
24
24
|
};
|
|
25
25
|
onChange: (change: Omit<DateFieldRangeChange, "startDate" | "endDate"> & {
|
|
26
26
|
startDate: DateTime | null;
|
|
@@ -27,7 +27,7 @@ export type MaskedDateInputRef = HTMLInputElement & {
|
|
|
27
27
|
* @param props.onChange - The function to call when the date changes.
|
|
28
28
|
* @param props.mode - The mode of the date input.
|
|
29
29
|
*/
|
|
30
|
-
export declare const MaskedDateInput: import('react').ForwardRefExoticComponent<Omit<TextFieldProps, "
|
|
30
|
+
export declare const MaskedDateInput: import('react').ForwardRefExoticComponent<Omit<TextFieldProps, "onChange" | "ref" | "value" | "prefix" | "hint" | "showCounter"> & {
|
|
31
31
|
onChange: MaskedDateInputChangeHandler;
|
|
32
32
|
mode?: DateMode;
|
|
33
33
|
lastValidDate: DateTime | null;
|
|
@@ -51,7 +51,9 @@ export type DateFieldYearlessProps = Omit<ComponentPropsWithoutRef<"input">, "on
|
|
|
51
51
|
*/
|
|
52
52
|
error?: boolean | string | ReactElement | string[];
|
|
53
53
|
/**
|
|
54
|
-
* Label for the field
|
|
54
|
+
* Label for the field.
|
|
55
|
+
* Omitting `label` is deprecated — it will be required in v4.0.0. Use `hideLabel` to visually hide it.
|
|
56
|
+
* Passing `ReactNode` is deprecated — use a plain string with inline markdown instead.
|
|
55
57
|
*/
|
|
56
58
|
label?: FieldLabelProps["children"];
|
|
57
59
|
/**
|
|
@@ -90,6 +92,11 @@ export type DateFieldYearlessProps = Omit<ComponentPropsWithoutRef<"input">, "on
|
|
|
90
92
|
* Whether to disable the format hint
|
|
91
93
|
*/
|
|
92
94
|
disableHint?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* When `true`, hides the visible label and moves it to `aria-label` on the input.
|
|
97
|
+
* @default false
|
|
98
|
+
*/
|
|
99
|
+
hideLabel?: boolean;
|
|
93
100
|
/**
|
|
94
101
|
* Function to call when the field is focused
|
|
95
102
|
*/
|
|
@@ -38,7 +38,7 @@ export type YearlessDateInputRef = HTMLInputElement & {
|
|
|
38
38
|
* @param props.onChange - The function to call when the date changes.
|
|
39
39
|
* @param props.mode - The mode of the date input.
|
|
40
40
|
*/
|
|
41
|
-
export declare const YearlessDateInput: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
41
|
+
export declare const YearlessDateInput: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "onChange" | "ref" | "size" | "value"> & {
|
|
42
42
|
onChange: YearlessDateInputChangeHandler;
|
|
43
43
|
mode?: YearlessDateMode;
|
|
44
44
|
value?: YearlessDate | null;
|
|
@@ -69,7 +69,7 @@ export type YearlessDateInputWithPickerRef = {
|
|
|
69
69
|
focus: () => void;
|
|
70
70
|
setValue: (value: YearlessDate | null) => void;
|
|
71
71
|
};
|
|
72
|
-
export declare const YearlessDateInputWithPicker: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
72
|
+
export declare const YearlessDateInputWithPicker: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "onBlur" | "onFocus" | "onChange" | "ref" | "size" | "value" | "defaultValue"> & {
|
|
73
73
|
/**
|
|
74
74
|
* The controlled value of the date field
|
|
75
75
|
*/
|
|
@@ -46,7 +46,14 @@ export type DateFieldYearlessRangeProps = {
|
|
|
46
46
|
* Pass a string, string[], or ReactElement (deprecated) for error messages.
|
|
47
47
|
*/
|
|
48
48
|
error?: boolean | string | ReactElement | string[];
|
|
49
|
+
/**
|
|
50
|
+
* Label for the field group. Always required for accessibility.
|
|
51
|
+
*/
|
|
49
52
|
label: string;
|
|
53
|
+
/**
|
|
54
|
+
* When `true`, hides the visible legend while keeping it accessible to screen readers.
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
50
57
|
hideLabel?: boolean;
|
|
51
58
|
size?: Extract<Size, "small" | "medium" | "large">;
|
|
52
59
|
description?: HelperProps["description"];
|
|
@@ -46,7 +46,32 @@ export type DialogProps = ComponentPropsWithoutRef<"dialog"> & OpenCloseTransiti
|
|
|
46
46
|
*/
|
|
47
47
|
onDrillDownContextChange?: (context: DrillDownContextProps) => void;
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
/**
|
|
50
|
+
* Dialog component for creating modal dialogs and overlays.
|
|
51
|
+
*
|
|
52
|
+
* Features:
|
|
53
|
+
* - Modal dialog with backdrop overlay
|
|
54
|
+
* - Controlled and uncontrolled open state
|
|
55
|
+
* - Smooth open/close animations
|
|
56
|
+
* - Keyboard navigation and focus management
|
|
57
|
+
* - Escape key and click outside to close
|
|
58
|
+
* - Multiple size variants (medium, large, fullscreen)
|
|
59
|
+
* - Scroll chaining support
|
|
60
|
+
* - Toast integration for notifications
|
|
61
|
+
* - Compound component pattern with Header, Footer, Content, and CancelButton sub-components
|
|
62
|
+
* - Automatic tracking ID generation for analytics
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* <Dialog open={isOpen} onClose={() => setIsOpen(false)}>
|
|
66
|
+
* <Dialog.Header>Confirm Action</Dialog.Header>
|
|
67
|
+
* <Dialog.Content>Are you sure you want to proceed?</Dialog.Content>
|
|
68
|
+
* <Dialog.Footer>
|
|
69
|
+
* <Dialog.CancelButton>Cancel</Dialog.CancelButton>
|
|
70
|
+
* <Button appearance="primary">Confirm</Button>
|
|
71
|
+
* </Dialog.Footer>
|
|
72
|
+
* </Dialog>
|
|
73
|
+
*/
|
|
74
|
+
export declare const Dialog: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & OpenCloseTransitionStateEffects & DisableCloseOnEscapeOrClickProps & {
|
|
50
75
|
/**
|
|
51
76
|
* @default false
|
|
52
77
|
*/
|
|
@@ -83,33 +108,76 @@ export declare const DialogElement: import('react').ForwardRefExoticComponent<Om
|
|
|
83
108
|
* Callback to pass context to useDrillDown hook
|
|
84
109
|
*/
|
|
85
110
|
onDrillDownContextChange?: (context: DrillDownContextProps) => void;
|
|
86
|
-
} & import('react').RefAttributes<HTMLDialogElement
|
|
87
|
-
/**
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
} & import('react').RefAttributes<HTMLDialogElement>> & {
|
|
112
|
+
/**
|
|
113
|
+
* DialogHeader component for the header section of a Dialog.
|
|
114
|
+
*
|
|
115
|
+
* Features:
|
|
116
|
+
* - Displays dialog title with headline typography
|
|
117
|
+
* - Includes close button with proper accessibility
|
|
118
|
+
* - Sticky positioning for long content
|
|
119
|
+
* - Consistent spacing and styling
|
|
120
|
+
* - Automatic focus management
|
|
121
|
+
* - Automatic tracking ID generation for analytics
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* <Dialog.Header>Confirm Delete</Dialog.Header>
|
|
125
|
+
*/
|
|
126
|
+
Header: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('../..').DataTrackingId & import('react').RefAttributes<HTMLDivElement>>;
|
|
127
|
+
/**
|
|
128
|
+
* DialogFooter component for the footer section of a Dialog.
|
|
129
|
+
*
|
|
130
|
+
* Features:
|
|
131
|
+
* - Container for dialog action buttons
|
|
132
|
+
* - Optional sticky positioning for long content
|
|
133
|
+
* - Consistent spacing and alignment
|
|
134
|
+
* - Right-aligned button layout by default
|
|
135
|
+
* - Flexible content area for custom layouts
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* <Dialog.Footer sticky>
|
|
139
|
+
* <Dialog.CancelButton>Cancel</Dialog.CancelButton>
|
|
140
|
+
* <Button appearance="primary">Save</Button>
|
|
141
|
+
* </Dialog.Footer>
|
|
142
|
+
*/
|
|
143
|
+
Footer: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
144
|
+
sticky?: boolean;
|
|
145
|
+
} & import('react').RefAttributes<HTMLElement>>;
|
|
146
|
+
/**
|
|
147
|
+
* DialogContent component for the main content area of a Dialog.
|
|
148
|
+
*
|
|
149
|
+
* Features:
|
|
150
|
+
* - Main content container for dialog body
|
|
151
|
+
* - Flexible height with overflow handling
|
|
152
|
+
* - Consistent padding and spacing
|
|
153
|
+
* - Responsive design
|
|
154
|
+
* - Proper content scrolling for long content
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* <Dialog.Content>
|
|
158
|
+
* <p>This is the main content of the dialog.</p>
|
|
159
|
+
* </Dialog.Content>
|
|
160
|
+
*/
|
|
161
|
+
Content: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
162
|
+
sticky?: boolean;
|
|
163
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
164
|
+
/**
|
|
165
|
+
* DialogCancelButton component for cancel/close actions in a Dialog.
|
|
166
|
+
*
|
|
167
|
+
* Features:
|
|
168
|
+
* - Button that automatically closes the dialog when clicked
|
|
169
|
+
* - Extends all Button component props and functionality
|
|
170
|
+
* - Proper accessibility with close dialog semantics
|
|
171
|
+
* - Automatic focus management
|
|
172
|
+
* - Consistent styling with other dialog elements
|
|
173
|
+
* - Automatic tracking ID generation for analytics
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
* <Dialog.CancelButton appearance="ghost">Cancel</Dialog.CancelButton>
|
|
177
|
+
*/
|
|
178
|
+
CancelButton: import('react').ForwardRefExoticComponent<import('./DialogCancelButton').DialogCancelButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
179
|
+
};
|
|
180
|
+
export declare const DialogElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>, "ref"> & OpenCloseTransitionStateEffects & DisableCloseOnEscapeOrClickProps & {
|
|
113
181
|
/**
|
|
114
182
|
* @default false
|
|
115
183
|
*/
|
|
@@ -11,7 +11,6 @@ export type DrillDownProps = PassThroughPropsWithRef<"div"> & {
|
|
|
11
11
|
index: number;
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
};
|
|
14
|
-
export declare const DrillDownElement: import('react').ForwardRefExoticComponent<Omit<DrillDownProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
15
14
|
/**
|
|
16
15
|
* Multi-step navigation component for Dialog, Drawer, and Page.Panel.
|
|
17
16
|
*
|
|
@@ -53,3 +52,10 @@ export declare const DrillDown: import('react').ForwardRefExoticComponent<Omit<D
|
|
|
53
52
|
NextButton: import('react').ForwardRefExoticComponent<import('./DrillDownNextButton').DrillDownNextButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
54
53
|
PrevButton: import('react').ForwardRefExoticComponent<import('./DrillDownPrevButton').DrillDownPrevButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
55
54
|
};
|
|
55
|
+
export declare const DrillDownElement: import('react').ForwardRefExoticComponent<Omit<DrillDownProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
56
|
+
Header: import('react').ForwardRefExoticComponent<Omit<import('./DrillDownHeader').DrillDownHeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
57
|
+
Content: import('react').ForwardRefExoticComponent<Omit<import('./DrillDownContent').DrillDownContentProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
58
|
+
Footer: import('react').ForwardRefExoticComponent<Omit<import('./DrillDownFooter').DrillDownFooterProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
59
|
+
NextButton: import('react').ForwardRefExoticComponent<import('./DrillDownNextButton').DrillDownNextButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
60
|
+
PrevButton: import('react').ForwardRefExoticComponent<import('./DrillDownPrevButton').DrillDownPrevButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
61
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef, ReactNode, ElementType, JSX, JSXElementConstructor } from 'react';
|
|
2
2
|
import { TooltipProps } from '../Tooltip';
|
|
3
|
+
import { AiMarkWithTooltipOrPopoverProps } from '../../types';
|
|
3
4
|
type IntrinsicAttributes<E extends keyof JSX.IntrinsicElements | JSXElementConstructor<unknown>> = JSX.LibraryManagedAttributes<E, ComponentPropsWithoutRef<E>>;
|
|
4
|
-
type FieldLabelOwnProps<E extends ElementType = ElementType> = {
|
|
5
|
+
type FieldLabelOwnProps<E extends ElementType = ElementType> = AiMarkWithTooltipOrPopoverProps & {
|
|
5
6
|
/** The HTML element to render */
|
|
6
7
|
el?: E;
|
|
7
8
|
/** Unique identifier for the label element */
|
|
@@ -8,9 +8,10 @@ export type FieldLabelButtonProps = ComponentPropsWithoutRef<"button">;
|
|
|
8
8
|
* Internal icon-button for use within FieldLabel.
|
|
9
9
|
*
|
|
10
10
|
* Features:
|
|
11
|
-
* -
|
|
11
|
+
* - Default 28×28px hit area with no visible border or background at rest
|
|
12
|
+
* - Optional `field-label-button-scaled` + CSS vars for larger icons (e.g. AiMark xlarge)
|
|
12
13
|
* - Hover and focus states show the secondary button hover background color on
|
|
13
|
-
* an inner 24×24px area, keeping 2px transparent on each side
|
|
14
|
+
* an inner 24×24px area (or scaled inner), keeping 2px transparent on each side
|
|
14
15
|
* - Focus ring matches the secondary button focus ring style
|
|
15
16
|
* - Fully accessible as a native `<button>` element
|
|
16
17
|
*
|
|
@@ -8,47 +8,6 @@ export type LayoutProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
8
8
|
/** The spacing variant for the layout grid */
|
|
9
9
|
variant?: "default" | "wide" | "narrow";
|
|
10
10
|
};
|
|
11
|
-
/**
|
|
12
|
-
* Layout container component that provides a responsive grid system.
|
|
13
|
-
*
|
|
14
|
-
* Features:
|
|
15
|
-
* - CSS Grid-based responsive layout system
|
|
16
|
-
* - Container with max-width constraint (1280px) by default
|
|
17
|
-
* - Fluid option for full-width layouts
|
|
18
|
-
* - Three spacing variants: default, wide, and narrow
|
|
19
|
-
* - Container queries for responsive behavior
|
|
20
|
-
* - Automatic tracking ID generation for analytics
|
|
21
|
-
* - Semantic HTML structure with proper accessibility
|
|
22
|
-
* - Flexible content area for child Layout.Item components
|
|
23
|
-
* - Consistent spacing and alignment across breakpoints
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* <Layout>
|
|
27
|
-
* <Layout.Item span={6}>Left Column</Layout.Item>
|
|
28
|
-
* <Layout.Item span={6}>Right Column</Layout.Item>
|
|
29
|
-
* </Layout>
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* <Layout fluid variant="wide">
|
|
33
|
-
* <Layout.Item span={4}>Column 1</Layout.Item>
|
|
34
|
-
* <Layout.Item span={4}>Column 2</Layout.Item>
|
|
35
|
-
* <Layout.Item span={4}>Column 3</Layout.Item>
|
|
36
|
-
* </Layout>
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* <Layout variant="narrow">
|
|
40
|
-
* <Layout.Item span={12}>
|
|
41
|
-
* <h1>Full Width Content</h1>
|
|
42
|
-
* <p>This content spans the full width of the layout.</p>
|
|
43
|
-
* </Layout.Item>
|
|
44
|
-
* </Layout>
|
|
45
|
-
*/
|
|
46
|
-
export declare const LayoutElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
47
|
-
/** Whether the layout should be fluid (full width) instead of constrained */
|
|
48
|
-
fluid?: boolean;
|
|
49
|
-
/** The spacing variant for the layout grid */
|
|
50
|
-
variant?: "default" | "wide" | "narrow";
|
|
51
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
52
11
|
/**
|
|
53
12
|
* Props for the Layout.Item component.
|
|
54
13
|
*/
|
|
@@ -139,12 +98,38 @@ export declare const LayoutItem: import('react').ForwardRefExoticComponent<Omit<
|
|
|
139
98
|
xxl?: number;
|
|
140
99
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
141
100
|
/**
|
|
142
|
-
* Layout component
|
|
101
|
+
* Layout container component that provides a responsive grid system.
|
|
102
|
+
*
|
|
103
|
+
* Features:
|
|
104
|
+
* - CSS Grid-based responsive layout system
|
|
105
|
+
* - Container with max-width constraint (1280px) by default
|
|
106
|
+
* - Fluid option for full-width layouts
|
|
107
|
+
* - Three spacing variants: default, wide, and narrow
|
|
108
|
+
* - Container queries for responsive behavior
|
|
109
|
+
* - Automatic tracking ID generation for analytics
|
|
110
|
+
* - Semantic HTML structure with proper accessibility
|
|
111
|
+
* - Flexible content area for child Layout.Item components
|
|
112
|
+
* - Consistent spacing and alignment across breakpoints
|
|
143
113
|
*
|
|
144
114
|
* @example
|
|
145
115
|
* <Layout>
|
|
146
|
-
* <Layout.Item span={6}>Left</Layout.Item>
|
|
147
|
-
* <Layout.Item span={6}>Right</Layout.Item>
|
|
116
|
+
* <Layout.Item span={6}>Left Column</Layout.Item>
|
|
117
|
+
* <Layout.Item span={6}>Right Column</Layout.Item>
|
|
118
|
+
* </Layout>
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* <Layout fluid variant="wide">
|
|
122
|
+
* <Layout.Item span={4}>Column 1</Layout.Item>
|
|
123
|
+
* <Layout.Item span={4}>Column 2</Layout.Item>
|
|
124
|
+
* <Layout.Item span={4}>Column 3</Layout.Item>
|
|
125
|
+
* </Layout>
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* <Layout variant="narrow">
|
|
129
|
+
* <Layout.Item span={12}>
|
|
130
|
+
* <h1>Full Width Content</h1>
|
|
131
|
+
* <p>This content spans the full width of the layout.</p>
|
|
132
|
+
* </Layout.Item>
|
|
148
133
|
* </Layout>
|
|
149
134
|
*/
|
|
150
135
|
export declare const Layout: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -170,3 +155,26 @@ export declare const Layout: import('react').ForwardRefExoticComponent<Omit<impo
|
|
|
170
155
|
xxl?: number;
|
|
171
156
|
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
172
157
|
};
|
|
158
|
+
export declare const LayoutElement: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
159
|
+
/** Whether the layout should be fluid (full width) instead of constrained */
|
|
160
|
+
fluid?: boolean;
|
|
161
|
+
/** The spacing variant for the layout grid */
|
|
162
|
+
variant?: "default" | "wide" | "narrow";
|
|
163
|
+
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
164
|
+
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
165
|
+
/** Default span across all breakpoints (1-12) */
|
|
166
|
+
span?: number;
|
|
167
|
+
/** Extra small breakpoint span (1-12) */
|
|
168
|
+
xs?: number;
|
|
169
|
+
/** Small breakpoint span (1-12) */
|
|
170
|
+
sm?: number;
|
|
171
|
+
/** Medium breakpoint span (1-12) */
|
|
172
|
+
md?: number;
|
|
173
|
+
/** Large breakpoint span (1-12) */
|
|
174
|
+
lg?: number;
|
|
175
|
+
/** Extra large breakpoint span (1-12) */
|
|
176
|
+
xl?: number;
|
|
177
|
+
/** Extra extra large breakpoint span (1-12) */
|
|
178
|
+
xxl?: number;
|
|
179
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
180
|
+
};
|
|
@@ -7,10 +7,10 @@ import { ListViewWithItems, ListViewWithOutItems } from './internal/types';
|
|
|
7
7
|
* @extends LayoutUtilProps
|
|
8
8
|
*/
|
|
9
9
|
export type ListViewProps<T> = LayoutUtilProps & (ListViewWithItems<T> | ListViewWithOutItems);
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
displayName: string;
|
|
13
|
-
}
|
|
10
|
+
declare function ListViewInner<T>(props: ListViewProps<T>, ref: Ref<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare namespace ListViewInner {
|
|
12
|
+
var displayName: string;
|
|
13
|
+
}
|
|
14
14
|
/**
|
|
15
15
|
* ListView component for displaying a list of selectable items in a grid layout.
|
|
16
16
|
*
|
|
@@ -33,7 +33,7 @@ declare const ListViewElement: {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare const ListView: (<T>(props: ListViewProps<T> & {
|
|
35
35
|
ref?: React.ForwardedRef<HTMLUListElement>;
|
|
36
|
-
}) => ReturnType<typeof
|
|
36
|
+
}) => ReturnType<typeof ListViewInner>) & {
|
|
37
37
|
/**
|
|
38
38
|
* ListViewOption component for individual selectable items within a listview.
|
|
39
39
|
*
|
|
@@ -99,28 +99,10 @@ type MultipleWithItems<T> = {
|
|
|
99
99
|
* @extends LayoutUtilProps
|
|
100
100
|
*/
|
|
101
101
|
export type ListboxProps<T> = Omit<ComponentPropsWithoutRef<"ul">, "children"> & LayoutUtilProps & (SingleWithoutItems | MultipleWithoutItems | SingleWithItems<T> | MultipleWithItems<T>);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
* - Supports single and multiple selection modes
|
|
107
|
-
* - Keyboard navigation with arrow keys and type-ahead
|
|
108
|
-
* - Optional auto-selection on focus
|
|
109
|
-
* - Controlled and uncontrolled modes
|
|
110
|
-
* - Accessible with proper ARIA attributes
|
|
111
|
-
* - Supports custom item rendering
|
|
112
|
-
* - Option grouping for organization
|
|
113
|
-
* - Layout utilities for positioning and spacing
|
|
114
|
-
* - Automatic tracking ID generation for analytics
|
|
115
|
-
*
|
|
116
|
-
* @template T - The type of additional properties for items
|
|
117
|
-
* @example
|
|
118
|
-
* <Listbox selectionMode="single" onSelectionChange={handleSelection}>
|
|
119
|
-
* <Listbox.Option value="option1">Option 1</Listbox.Option>
|
|
120
|
-
* <Listbox.Option value="option2">Option 2</Listbox.Option>
|
|
121
|
-
* </Listbox>
|
|
122
|
-
*/
|
|
123
|
-
declare const ListboxElement: <T>(props: ListboxProps<T>, ref: Ref<HTMLUListElement>) => import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
declare function ListboxInner<T>(props: ListboxProps<T>, ref: Ref<HTMLUListElement>): import("react/jsx-runtime").JSX.Element;
|
|
103
|
+
declare namespace ListboxInner {
|
|
104
|
+
var displayName: string;
|
|
105
|
+
}
|
|
124
106
|
/**
|
|
125
107
|
* Listbox component for selecting one or more items from a list
|
|
126
108
|
*
|
|
@@ -144,7 +126,7 @@ declare const ListboxElement: <T>(props: ListboxProps<T>, ref: Ref<HTMLUListElem
|
|
|
144
126
|
*/
|
|
145
127
|
export declare const Listbox: (<T>(props: ListboxProps<T> & {
|
|
146
128
|
ref?: React.ForwardedRef<HTMLUListElement>;
|
|
147
|
-
}) => ReturnType<typeof
|
|
129
|
+
}) => ReturnType<typeof ListboxInner>) & {
|
|
148
130
|
/**
|
|
149
131
|
* ListboxOption component for individual selectable items within a listbox
|
|
150
132
|
*
|
|
@@ -40,10 +40,7 @@ export type MenuProps = Omit<ButtonProps, "icon"> & MenuCommonProps & {
|
|
|
40
40
|
* </Menu>
|
|
41
41
|
* </Menu>
|
|
42
42
|
*/
|
|
43
|
-
export declare const Menu: {
|
|
44
|
-
(props: MenuProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
displayName: string;
|
|
46
|
-
} & {
|
|
43
|
+
export declare const Menu: ((props: MenuProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
47
44
|
/**
|
|
48
45
|
* MenuItem component for individual menu options.
|
|
49
46
|
*
|