@servicetitan/anvil2 3.6.0 → 3.7.1
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 +12 -0
- package/dist/{AiMark-voHPSerQ.js → AiMark-DKAIkwNU.js} +2 -2
- package/dist/{AiMark-voHPSerQ.js.map → AiMark-DKAIkwNU.js.map} +1 -1
- package/dist/AiMark.js +1 -1
- package/dist/{Alert-CPe0yh6A.js → Alert-tsu15fCc.js} +2 -2
- package/dist/Alert-tsu15fCc.js.map +1 -0
- package/dist/Alert.js +1 -1
- package/dist/Badge-BNrYBFiU.js.map +1 -1
- package/dist/{Breadcrumbs-VzOM2nBU.js → Breadcrumbs-CoqJO7Ca.js} +2 -2
- package/dist/{Breadcrumbs-VzOM2nBU.js.map → Breadcrumbs-CoqJO7Ca.js.map} +1 -1
- package/dist/Breadcrumbs.js +1 -1
- package/dist/{Calendar-MRUB0XU7.js → Calendar-Csw2CkqE.js} +2 -2
- package/dist/{Calendar-MRUB0XU7.js.map → Calendar-Csw2CkqE.js.map} +1 -1
- package/dist/{Calendar-CekTYzdT.js → Calendar-DnwCL7gm.js} +2 -2
- package/dist/{Calendar-CekTYzdT.js.map → Calendar-DnwCL7gm.js.map} +1 -1
- package/dist/Calendar.js +2 -2
- package/dist/Card-Bt0F6RTq.js.map +1 -1
- package/dist/{Checkbox-C3rtd-Xe.js → Checkbox-Cmn1o3Ta.js} +3 -3
- package/dist/{Checkbox-C3rtd-Xe.js.map → Checkbox-Cmn1o3Ta.js.map} +1 -1
- package/dist/{Checkbox-zz9TyZWn.js → Checkbox-DGU3JwZA.js} +2 -2
- package/dist/Checkbox-DGU3JwZA.js.map +1 -0
- package/dist/Checkbox.js +1 -1
- package/dist/{Chip-CxgryK86.js → Chip-BsGckplA.js} +2 -2
- package/dist/{Chip-CxgryK86.js.map → Chip-BsGckplA.js.map} +1 -1
- package/dist/Chip.js +1 -1
- package/dist/Combobox.js +1 -1
- package/dist/{DataTable-BpqLvU92.js → DataTable-BLK4-7QQ.js} +7 -7
- package/dist/{DataTable-BpqLvU92.js.map → DataTable-BLK4-7QQ.js.map} +1 -1
- package/dist/{DateFieldRange-CP7QgS6P.js → DateFieldRange-BnNrQvuG.js} +4 -4
- package/dist/{DateFieldRange-CP7QgS6P.js.map → DateFieldRange-BnNrQvuG.js.map} +1 -1
- package/dist/DateFieldRange.js +1 -1
- package/dist/{DateFieldSingle-CgMPTi1v.js → DateFieldSingle-CwcV_AOp.js} +4 -4
- package/dist/{DateFieldSingle-CgMPTi1v.js.map → DateFieldSingle-CwcV_AOp.js.map} +1 -1
- package/dist/DateFieldSingle.js +1 -1
- package/dist/{DateFieldYearless-DYjvqxRb.js → DateFieldYearless-HntvaWSJ.js} +4 -4
- package/dist/{DateFieldYearless-DYjvqxRb.js.map → DateFieldYearless-HntvaWSJ.js.map} +1 -1
- package/dist/DateFieldYearless.js +1 -1
- package/dist/{DateFieldYearlessRange-lQdJGOaS.js → DateFieldYearlessRange-BPvJvBob.js} +3 -3
- package/dist/{DateFieldYearlessRange-lQdJGOaS.js.map → DateFieldYearlessRange-BPvJvBob.js.map} +1 -1
- package/dist/DateFieldYearlessRange.js +1 -1
- package/dist/{DaysOfTheWeek-Ci-SKebP.js → DaysOfTheWeek-4Cd2WK7u.js} +2 -2
- package/dist/{DaysOfTheWeek-Ci-SKebP.js.map → DaysOfTheWeek-4Cd2WK7u.js.map} +1 -1
- package/dist/DaysOfTheWeek.js +1 -1
- package/dist/{Dialog-BxulNN8n.js → Dialog-CE2fxzJR.js} +4 -4
- package/dist/{Dialog-BxulNN8n.js.map → Dialog-CE2fxzJR.js.map} +1 -1
- package/dist/Dialog.js +1 -1
- package/dist/{Drawer-_spmOgwH.js → Drawer-CWLwXp1D.js} +4 -4
- package/dist/{Drawer-_spmOgwH.js.map → Drawer-CWLwXp1D.js.map} +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/DrillDown.js +1 -1
- package/dist/{EditCard-ZpF032WP.js → EditCard-DqFAx5cl.js} +2 -2
- package/dist/{EditCard-ZpF032WP.js.map → EditCard-DqFAx5cl.js.map} +1 -1
- package/dist/EditCard.js +1 -1
- package/dist/{FieldLabel-Cm5A1Jcx.js → FieldLabel-v6vMVVWB.js} +2 -2
- package/dist/{FieldLabel-Cm5A1Jcx.js.map → FieldLabel-v6vMVVWB.js.map} +1 -1
- package/dist/FieldLabel.js +1 -1
- package/dist/{FilterBar-CvyMubuw.js → FilterBar-Ce22r7lY.js} +4 -4
- package/dist/{FilterBar-CvyMubuw.js.map → FilterBar-Ce22r7lY.js.map} +1 -1
- package/dist/FilterBar.js +1 -1
- package/dist/Grid-ho1pGJ5L.js.map +1 -1
- package/dist/{InputMask-CX6XiOOm.js → InputMask-DnbZnynw.js} +3 -3
- package/dist/{InputMask-CX6XiOOm.js.map → InputMask-DnbZnynw.js.map} +1 -1
- package/dist/InputMask.js +1 -1
- package/dist/{ListView-DpveXOsN.js → ListView-Dy4m0aQb.js} +2 -2
- package/dist/{ListView-DpveXOsN.js.map → ListView-Dy4m0aQb.js.map} +1 -1
- package/dist/ListView.js +1 -1
- package/dist/{Listbox-Cdwaofd2.js → Listbox-By-gyw1j.js} +2 -2
- package/dist/{Listbox-Cdwaofd2.js.map → Listbox-By-gyw1j.js.map} +1 -1
- package/dist/Listbox.js +1 -1
- package/dist/Menu-DmEXQLXt.js.map +1 -1
- package/dist/MultiSelectField.js +1 -1
- package/dist/{MultiSelectFieldSync-BHST0FEe.js → MultiSelectFieldSync-CGOAko_r.js} +60 -24
- package/dist/MultiSelectFieldSync-CGOAko_r.js.map +1 -0
- package/dist/MultiSelectMenu.js +1 -1
- package/dist/{MultiSelectMenuSync-BaKxbMLu.js → MultiSelectMenuSync-DTRWdqGg.js} +49 -23
- package/dist/MultiSelectMenuSync-DTRWdqGg.js.map +1 -0
- package/dist/{NumberField-CjC6KHKl.js → NumberField-BuAlvtg_.js} +3 -3
- package/dist/{NumberField-CjC6KHKl.js.map → NumberField-BuAlvtg_.js.map} +1 -1
- package/dist/NumberField.js +1 -1
- package/dist/{Page-BreBQ3pG.js → Page-DBKu3XYh.js} +8 -8
- package/dist/{Page-BreBQ3pG.js.map → Page-DBKu3XYh.js.map} +1 -1
- package/dist/Page.js +1 -1
- package/dist/{Pagination-CmqAut6y.js → Pagination-Ceh0uZhU.js} +2 -2
- package/dist/{Pagination-CmqAut6y.js.map → Pagination-Ceh0uZhU.js.map} +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/{Popover-CdRuNv3C.js → Popover-hQKMGTiJ.js} +2 -2
- package/dist/{Popover-CdRuNv3C.js.map → Popover-hQKMGTiJ.js.map} +1 -1
- package/dist/Popover.js +1 -1
- package/dist/{ProgressBar-065vjsQ0.js → ProgressBar-CFdDZFV9.js} +2 -2
- package/dist/{ProgressBar-065vjsQ0.js.map → ProgressBar-CFdDZFV9.js.map} +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/{Radio-dyLcVmUw.js → Radio-ARjSflvI.js} +3 -3
- package/dist/{Radio-dyLcVmUw.js.map → Radio-ARjSflvI.js.map} +1 -1
- package/dist/{Radio-D9w_-JYw.js → Radio-Dey7KUCQ.js} +2 -2
- package/dist/Radio-Dey7KUCQ.js.map +1 -0
- package/dist/Radio.js +1 -1
- package/dist/{RichTextEditor-byoMZaJy.js → RichTextEditor-B4ZPAevY.js} +8 -8
- package/dist/{RichTextEditor-byoMZaJy.js.map → RichTextEditor-B4ZPAevY.js.map} +1 -1
- package/dist/RichTextEditor.js +1 -1
- package/dist/{SavedFiltersButton-DlzfvW03.js → SavedFiltersButton-DPISXV2b.js} +9 -9
- package/dist/{SavedFiltersButton-DlzfvW03.js.map → SavedFiltersButton-DPISXV2b.js.map} +1 -1
- package/dist/SavedFiltersButton.js +1 -1
- package/dist/SearchField-B7fIOJf-.js.map +1 -1
- package/dist/SegmentedControl-Be6jCglV.js.map +1 -1
- package/dist/{SelectCard-CMSG_ba1.js → SelectCard-DtEUPxgj.js} +3 -3
- package/dist/{SelectCard-CMSG_ba1.js.map → SelectCard-DtEUPxgj.js.map} +1 -1
- package/dist/SelectCard.js +1 -1
- package/dist/SelectField.js +1 -1
- package/dist/{SelectFieldLabel-dKVBaki2.js → SelectFieldLabel-DB3o9bDD.js} +2 -2
- package/dist/{SelectFieldLabel-dKVBaki2.js.map → SelectFieldLabel-DB3o9bDD.js.map} +1 -1
- package/dist/{SelectFieldSync-BqL3zlbZ.js → SelectFieldSync-B5r-wl1D.js} +15 -7
- package/dist/SelectFieldSync-B5r-wl1D.js.map +1 -0
- package/dist/SelectMenu.js +1 -1
- package/dist/{SelectMenuSync-BRvi9YTw.js → SelectMenuSync-CqKMKaWt.js} +9 -5
- package/dist/SelectMenuSync-CqKMKaWt.js.map +1 -0
- package/dist/{SelectOptions-LUHWLYgJ.js → SelectOptions-VVJ4D-0C.js} +2 -2
- package/dist/{SelectOptions-LUHWLYgJ.js.map → SelectOptions-VVJ4D-0C.js.map} +1 -1
- package/dist/{SelectTrigger-APxYfL3V.js → SelectTrigger-TRI2LhJR.js} +2 -2
- package/dist/{SelectTrigger-APxYfL3V.js.map → SelectTrigger-TRI2LhJR.js.map} +1 -1
- package/dist/SelectTrigger.js +1 -1
- package/dist/{SelectTriggerBase-lYieONTb.js → SelectTriggerBase-D1nOad4B.js} +3 -3
- package/dist/{SelectTriggerBase-lYieONTb.js.map → SelectTriggerBase-D1nOad4B.js.map} +1 -1
- package/dist/{Switch-Bm3qqjd6.js → Switch-ClbHJvDU.js} +2 -2
- package/dist/{Switch-Bm3qqjd6.js.map → Switch-ClbHJvDU.js.map} +1 -1
- package/dist/Switch.js +1 -1
- package/dist/Tab-Cy4G562A.js.map +1 -1
- package/dist/Table.js +1 -1
- package/dist/{Text-mDcQHC2U.js → Text-BjYHzUGW.js} +2 -2
- package/dist/{Text-mDcQHC2U.js.map → Text-BjYHzUGW.js.map} +1 -1
- package/dist/Text.js +1 -1
- package/dist/{TextField-WQTlqKso.js → TextField-BsVxym0-.js} +2 -2
- package/dist/{TextField-WQTlqKso.js.map → TextField-BsVxym0-.js.map} +1 -1
- package/dist/{TextField-CUVsDfWo.js → TextField-DX6-K3jO.js} +3 -3
- package/dist/{TextField-CUVsDfWo.js.map → TextField-DX6-K3jO.js.map} +1 -1
- package/dist/TextField.js +1 -1
- package/dist/{Textarea-CW3KGuB9.js → Textarea-B3z6Y7VU.js} +3 -3
- package/dist/Textarea-B3z6Y7VU.js.map +1 -0
- package/dist/Textarea.js +1 -1
- package/dist/{TimeField-JA3gXyS7.js → TimeField-Bmcwic3C.js} +4 -4
- package/dist/{TimeField-JA3gXyS7.js.map → TimeField-Bmcwic3C.js.map} +1 -1
- package/dist/TimeField.js +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toaster-fPcgIF7Q.js → Toaster-CTjkTMie.js} +2 -2
- package/dist/{Toaster-fPcgIF7Q.js.map → Toaster-CTjkTMie.js.map} +1 -1
- package/dist/{Toaster-DMZng3Im.js → Toaster-CvY-A7zY.js} +3 -3
- package/dist/{Toaster-DMZng3Im.js.map → Toaster-CvY-A7zY.js.map} +1 -1
- package/dist/{Toolbar-BfGcDXgC.js → Toolbar-BpCO-4zj.js} +3 -3
- package/dist/{Toolbar-BfGcDXgC.js.map → Toolbar-BpCO-4zj.js.map} +1 -1
- package/dist/{Toolbar-Dlu39v69.js → Toolbar-pdJXcqY0.js} +3 -3
- package/dist/{Toolbar-Dlu39v69.js.map → Toolbar-pdJXcqY0.js.map} +1 -1
- package/dist/Toolbar.js +1 -1
- package/dist/TreeSelectField.js +1 -1
- package/dist/{TreeSelectFieldSync-CdtC8d3Q.js → TreeSelectFieldSync-Cz8uOdpT.js} +5 -5
- package/dist/{TreeSelectFieldSync-CdtC8d3Q.js.map → TreeSelectFieldSync-Cz8uOdpT.js.map} +1 -1
- package/dist/TreeSelectMenu.js +1 -1
- package/dist/{TreeSelectMenuSync-CPuQWUNU.js → TreeSelectMenuSync-Bk8BN6_B.js} +3 -3
- package/dist/{TreeSelectMenuSync-CPuQWUNU.js.map → TreeSelectMenuSync-Bk8BN6_B.js.map} +1 -1
- package/dist/{TypeaheadTextField-BkLECKZY.js → TypeaheadTextField-Dg7O5Yu5.js} +3 -3
- package/dist/{TypeaheadTextField-BkLECKZY.js.map → TypeaheadTextField-Dg7O5Yu5.js.map} +1 -1
- package/dist/TypeaheadTextField.js +1 -1
- package/dist/{YearlessDateInputWithPicker-Bd8JnTaZ.js → YearlessDateInputWithPicker-CpnLg01W.js} +2 -2
- package/dist/{YearlessDateInputWithPicker-Bd8JnTaZ.js.map → YearlessDateInputWithPicker-CpnLg01W.js.map} +1 -1
- package/dist/beta.js +15 -15
- package/dist/{bulkActionTypes-DPC382hi.js → bulkActionTypes-B20IInUD.js} +7 -3
- package/dist/{bulkActionTypes-DPC382hi.js.map → bulkActionTypes-B20IInUD.js.map} +1 -1
- package/dist/{filter-state-BdfBSXYO.js → filter-state-CuiHPC94.js} +26 -30
- package/dist/filter-state-CuiHPC94.js.map +1 -0
- package/dist/{index-B7BIlotN.js → index-B12T0Vxa.js} +2 -2
- package/dist/{index-B7BIlotN.js.map → index-B12T0Vxa.js.map} +1 -1
- package/dist/index.js +40 -40
- package/dist/src/components/Alert/Alert.d.ts +1 -1
- package/dist/src/components/Badge/Badge.d.ts +1 -1
- package/dist/src/components/Card/Card.d.ts +1 -1
- package/dist/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/src/components/DrillDown/DrillDown.d.ts +1 -1
- package/dist/src/components/Grid/Grid.d.ts +1 -1
- package/dist/src/components/Listbox/Listbox.d.ts +1 -1
- package/dist/src/components/Menu/Menu.d.ts +1 -1
- package/dist/src/components/MultiSelectField/MultiSelectField.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Radio/Radio.d.ts +1 -1
- package/dist/src/components/SearchField/SearchField.d.ts +1 -1
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/src/components/Tab/Tab.d.ts +1 -1
- package/dist/src/components/Textarea/Textarea.d.ts +1 -1
- package/dist/src/internal/components/AddNewItemButton.d.ts +2 -1
- package/dist/src/internal/types/addNewItemTypes.d.ts +17 -2
- package/dist/src/internal/types/bulkActionTypes.d.ts +12 -2
- package/dist/{stripInlineMarkdown-BZzgG-Zm.js → stripInlineMarkdown-C-3FEh_E.js} +2 -2
- package/dist/{stripInlineMarkdown-BZzgG-Zm.js.map → stripInlineMarkdown-C-3FEh_E.js.map} +1 -1
- package/dist/{syncFilterUtils-Cec5y3hY.js → syncFilterUtils-CU5iJQSC.js} +16 -5
- package/dist/syncFilterUtils-CU5iJQSC.js.map +1 -0
- package/dist/{treeSync-oC-VZpP0.js → treeSync-CUf4vwDm.js} +3 -3
- package/dist/{treeSync-oC-VZpP0.js.map → treeSync-CUf4vwDm.js.map} +1 -1
- package/dist/{useAdaptiveView-AvsDkChF.js → useAdaptiveView-C0F7qnLD.js} +4 -4
- package/dist/{useAdaptiveView-AvsDkChF.js.map → useAdaptiveView-C0F7qnLD.js.map} +1 -1
- package/dist/{useDrilldown-PmrZ4BXn.js → useDrilldown-CCsr0_3L.js} +3 -3
- package/dist/{useDrilldown-PmrZ4BXn.js.map → useDrilldown-CCsr0_3L.js.map} +1 -1
- package/dist/{useInfiniteCombobox-C78WQZx4.js → useInfiniteCombobox-HSttRaX5.js} +4 -4
- package/dist/{useInfiniteCombobox-C78WQZx4.js.map → useInfiniteCombobox-HSttRaX5.js.map} +1 -1
- package/dist/{useInitialFocus-BUxEDMEG.js → useInitialFocus-BIvXK1Rp.js} +2 -2
- package/dist/{useInitialFocus-BUxEDMEG.js.map → useInitialFocus-BIvXK1Rp.js.map} +1 -1
- package/dist/{usePopoverTransitionStates-CDXCdyKa.js → usePopoverTransitionStates-B1opfxxn.js} +1 -2
- package/dist/{usePopoverTransitionStates-CDXCdyKa.js.map → usePopoverTransitionStates-B1opfxxn.js.map} +1 -1
- package/package.json +3 -3
- package/dist/Alert-CPe0yh6A.js.map +0 -1
- package/dist/Checkbox-zz9TyZWn.js.map +0 -1
- package/dist/MultiSelectFieldSync-BHST0FEe.js.map +0 -1
- package/dist/MultiSelectMenuSync-BaKxbMLu.js.map +0 -1
- package/dist/Radio-D9w_-JYw.js.map +0 -1
- package/dist/SelectFieldSync-BqL3zlbZ.js.map +0 -1
- package/dist/SelectMenuSync-BRvi9YTw.js.map +0 -1
- package/dist/Textarea-CW3KGuB9.js.map +0 -1
- package/dist/filter-state-BdfBSXYO.js.map +0 -1
- package/dist/syncFilterUtils-Cec5y3hY.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
1
|
export { DndSort, DndSortCard, DndSortZone } from './DndSort.js';
|
|
2
|
-
export { A as Alert } from './Alert-
|
|
3
|
-
export { A as AiMark } from './AiMark-
|
|
2
|
+
export { A as Alert } from './Alert-tsu15fCc.js';
|
|
3
|
+
export { A as AiMark } from './AiMark-DKAIkwNU.js';
|
|
4
4
|
export { A as Announcement } from './Announcement-DU0J4111.js';
|
|
5
5
|
export { A as Avatar } from './Avatar-DX96Mxe7.js';
|
|
6
6
|
export { A as AvatarGroup } from './Avatar-CoQcOHWU.js';
|
|
7
7
|
export { B as Badge } from './Badge-BNrYBFiU.js';
|
|
8
|
-
export { B as Breadcrumbs } from './Breadcrumbs-
|
|
8
|
+
export { B as Breadcrumbs } from './Breadcrumbs-CoqJO7Ca.js';
|
|
9
9
|
export { B as Button } from './Button-BNzCI47m.js';
|
|
10
10
|
export { B as ButtonCompound } from './ButtonCompound-D7kA0qXr.js';
|
|
11
11
|
export { B as ButtonLink } from './ButtonLink-PlW08u41.js';
|
|
12
12
|
export { B as ButtonToggle } from './ButtonToggle-DBGc7dIn.js';
|
|
13
|
-
export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-
|
|
13
|
+
export { a as Calendar, g as CalendarMonth, f as CalendarMonthButton, e as CalendarNext, b as CalendarNow, d as CalendarPrev, c as CalendarYearButton } from './Calendar-DnwCL7gm.js';
|
|
14
14
|
export { C as Card } from './Card-Bt0F6RTq.js';
|
|
15
|
-
export { C as Checkbox } from './Checkbox-
|
|
16
|
-
export { C as Chip } from './Chip-
|
|
17
|
-
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-
|
|
18
|
-
export { D as DateFieldRange } from './DateFieldRange-
|
|
19
|
-
export { D as DateFieldSingle } from './DateFieldSingle-
|
|
20
|
-
export { D as DateFieldYearless } from './DateFieldYearless-
|
|
21
|
-
export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-
|
|
22
|
-
export { D as DaysOfTheWeek } from './DaysOfTheWeek-
|
|
15
|
+
export { C as Checkbox } from './Checkbox-DGU3JwZA.js';
|
|
16
|
+
export { C as Chip } from './Chip-BsGckplA.js';
|
|
17
|
+
export { C as Combobox, a as ComboboxElement, c as ComboboxList, b as ComboboxSelect, u as useInfiniteCombobox } from './useInfiniteCombobox-HSttRaX5.js';
|
|
18
|
+
export { D as DateFieldRange } from './DateFieldRange-BnNrQvuG.js';
|
|
19
|
+
export { D as DateFieldSingle } from './DateFieldSingle-CwcV_AOp.js';
|
|
20
|
+
export { D as DateFieldYearless } from './DateFieldYearless-HntvaWSJ.js';
|
|
21
|
+
export { D as DateFieldYearlessRange } from './DateFieldYearlessRange-BPvJvBob.js';
|
|
22
|
+
export { D as DaysOfTheWeek } from './DaysOfTheWeek-4Cd2WK7u.js';
|
|
23
23
|
export { D as Details } from './Details-DkteVZbk.js';
|
|
24
|
-
export { D as Dialog } from './Dialog-
|
|
24
|
+
export { D as Dialog } from './Dialog-CE2fxzJR.js';
|
|
25
25
|
export { D as Divider } from './Divider-C7fp5Xb6.js';
|
|
26
26
|
export { D as Dnd } from './index-SZMmvI3D.js';
|
|
27
|
-
export { D as Drawer } from './Drawer-
|
|
28
|
-
export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-
|
|
29
|
-
export { E as EditCard } from './EditCard-
|
|
30
|
-
export { F as FieldLabel } from './FieldLabel-
|
|
27
|
+
export { D as Drawer } from './Drawer-CWLwXp1D.js';
|
|
28
|
+
export { D as DrillDown, b as DrillDownContent, c as DrillDownFooter, a as DrillDownHeader, d as DrillDownNextButton, e as DrillDownPrevButton, u as useDrillDown } from './useDrilldown-CCsr0_3L.js';
|
|
29
|
+
export { E as EditCard } from './EditCard-DqFAx5cl.js';
|
|
30
|
+
export { F as FieldLabel } from './FieldLabel-v6vMVVWB.js';
|
|
31
31
|
export { w as warnDeprecatedErrorUsage } from './utils-CM48ODEJ.js';
|
|
32
32
|
export { F as FieldMessage } from './FieldMessage-mTGdycSA.js';
|
|
33
33
|
export { F as Flex } from './Flex-Bb3iHExM.js';
|
|
34
34
|
export { G as Grid } from './Grid-ho1pGJ5L.js';
|
|
35
35
|
export { I as Icon } from './Icon-B4uCvMU9.js';
|
|
36
|
-
export { I as InputMask } from './InputMask-
|
|
36
|
+
export { I as InputMask } from './InputMask-DnbZnynw.js';
|
|
37
37
|
export { L as Layout, b as LayoutElement, a as LayoutItem } from './Layout-C2Q2hyLG.js';
|
|
38
38
|
export { L as Link, u as useLinkStyles } from './Link-C7dtI5K6.js';
|
|
39
39
|
export { L as LinkButton } from './LinkButton-C0wps8r1.js';
|
|
40
40
|
export { L as List } from './List-BvzfZ9TW.js';
|
|
41
|
-
export { L as Listbox } from './Listbox-
|
|
42
|
-
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-
|
|
41
|
+
export { L as Listbox } from './Listbox-By-gyw1j.js';
|
|
42
|
+
export { L as ListView, a as ListViewOption, b as ListViewOptionCell } from './ListView-Dy4m0aQb.js';
|
|
43
43
|
export { M as Menu } from './Menu-DmEXQLXt.js';
|
|
44
|
-
export { N as NumberField } from './NumberField-
|
|
44
|
+
export { N as NumberField } from './NumberField-BuAlvtg_.js';
|
|
45
45
|
export { Overflow, OverflowText } from './Overflow.js';
|
|
46
|
-
export { P as Page } from './Page-
|
|
47
|
-
export { P as Pagination } from './Pagination-
|
|
48
|
-
export { P as Popover } from './Popover-
|
|
49
|
-
export { P as ProgressBar } from './ProgressBar-
|
|
50
|
-
export { R as Radio } from './Radio-
|
|
46
|
+
export { P as Page } from './Page-DBKu3XYh.js';
|
|
47
|
+
export { P as Pagination } from './Pagination-Ceh0uZhU.js';
|
|
48
|
+
export { P as Popover } from './Popover-hQKMGTiJ.js';
|
|
49
|
+
export { P as ProgressBar } from './ProgressBar-CFdDZFV9.js';
|
|
50
|
+
export { R as Radio } from './Radio-Dey7KUCQ.js';
|
|
51
51
|
export { S as SearchField } from './SearchField-B7fIOJf-.js';
|
|
52
52
|
export { S as SegmentedControl, a as SegmentedControlSegment } from './SegmentedControl-Be6jCglV.js';
|
|
53
|
-
export { S as SelectCard } from './SelectCard-
|
|
54
|
-
export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-
|
|
55
|
-
export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-
|
|
56
|
-
export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-
|
|
57
|
-
export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-
|
|
58
|
-
export { S as SelectTrigger } from './SelectTrigger-
|
|
53
|
+
export { S as SelectCard } from './SelectCard-DtEUPxgj.js';
|
|
54
|
+
export { S as SelectField, a as SelectFieldSync } from './SelectFieldSync-B5r-wl1D.js';
|
|
55
|
+
export { M as MultiSelectField, a as MultiSelectFieldSync } from './MultiSelectFieldSync-CGOAko_r.js';
|
|
56
|
+
export { S as SelectMenu, a as SelectMenuSync } from './SelectMenuSync-CqKMKaWt.js';
|
|
57
|
+
export { M as MultiSelectMenu, a as MultiSelectMenuSync } from './MultiSelectMenuSync-DTRWdqGg.js';
|
|
58
|
+
export { S as SelectTrigger } from './SelectTrigger-TRI2LhJR.js';
|
|
59
59
|
export { S as SideNav } from './SideNav-DoxX8Vi-.js';
|
|
60
60
|
export { Skeleton, SkeletonCircle, SkeletonPill, SkeletonRectangle, SkeletonText } from './Skeleton.js';
|
|
61
61
|
export { S as Spinner } from './Spinner-B7tTWcP6.js';
|
|
62
62
|
export { S as SrOnly } from './SrOnly-pnf8ajnh.js';
|
|
63
63
|
export { S as Stepper } from './Stepper-CvaR7OoT.js';
|
|
64
|
-
export { S as Switch } from './Switch-
|
|
64
|
+
export { S as Switch } from './Switch-ClbHJvDU.js';
|
|
65
65
|
export { T as Tab } from './Tab-Cy4G562A.js';
|
|
66
|
-
export { T as Text } from './Text-
|
|
67
|
-
export { T as Textarea } from './Textarea-
|
|
68
|
-
export { T as TextField } from './TextField-
|
|
69
|
-
export { T as TimeField } from './TimeField-
|
|
70
|
-
export { T as Toaster } from './Toaster-
|
|
71
|
-
export { t as toast } from './Toaster-
|
|
72
|
-
export { T as Toolbar } from './Toolbar-
|
|
66
|
+
export { T as Text } from './Text-BjYHzUGW.js';
|
|
67
|
+
export { T as Textarea } from './Textarea-B3z6Y7VU.js';
|
|
68
|
+
export { T as TextField } from './TextField-BsVxym0-.js';
|
|
69
|
+
export { T as TimeField } from './TimeField-Bmcwic3C.js';
|
|
70
|
+
export { T as Toaster } from './Toaster-CTjkTMie.js';
|
|
71
|
+
export { t as toast } from './Toaster-CvY-A7zY.js';
|
|
72
|
+
export { T as Toolbar } from './Toolbar-pdJXcqY0.js';
|
|
73
73
|
export { T as Tooltip } from './Tooltip-BC8lnFhe.js';
|
|
74
74
|
export { u as useAccessibleColor } from './useAccessibleColor-BYKjkGRg.js';
|
|
75
75
|
export { u as useBreakpoint } from './useBreakpoint-BBNRlMGZ.js';
|
|
@@ -28,7 +28,7 @@ export type AlertProps = ComponentPropsWithoutRef<"div"> & LayoutUtilProps & OnC
|
|
|
28
28
|
*/
|
|
29
29
|
DataTrackingId;
|
|
30
30
|
/**
|
|
31
|
-
* Alert component for displaying
|
|
31
|
+
* Alert component for displaying an inline banner message that communicates status to users — errors, warnings, success, or important information within page content.
|
|
32
32
|
*
|
|
33
33
|
* Features:
|
|
34
34
|
* - Supports different visual styles (info, success, warning, danger)
|
|
@@ -23,7 +23,7 @@ export type BadgeProps = ComponentPropsWithoutRef<"sup"> & Omit<LayoutUtilProps,
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
|
-
* Badge component
|
|
26
|
+
* Badge component: a small count or status indicator — a numeric bubble, dot, or pill shown on an icon or element to convey unread counts, notifications, or status.
|
|
27
27
|
*
|
|
28
28
|
* Features:
|
|
29
29
|
* - Positioned as a superscript element
|
|
@@ -18,7 +18,7 @@ export type CardProps = ComponentPropsWithoutRef<"div"> & LayoutUtilProps & {
|
|
|
18
18
|
padding?: Extract<Size, "0" | "xsmall" | "small" | "medium" | "large">;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
|
-
* Card component for displaying content in a contained, elevated container.
|
|
21
|
+
* Card component for displaying content in a self-contained, bordered and elevated container — a rounded surface, panel, or tile that groups related information such as a summary.
|
|
22
22
|
*
|
|
23
23
|
* Features:
|
|
24
24
|
* - Optional background variants (strong, stronger)
|
|
@@ -16,7 +16,7 @@ import { DataTrackingId } from '../../types';
|
|
|
16
16
|
*/
|
|
17
17
|
export type CheckboxProps = Omit<CoreCheckboxProps, "hideCheckbox"> & DataTrackingId;
|
|
18
18
|
/**
|
|
19
|
-
* Checkbox component
|
|
19
|
+
* Checkbox component: a checkbox input the user ticks on or off to select an option or agree to something; supports checked, unchecked, and indeterminate states.
|
|
20
20
|
*
|
|
21
21
|
* Features:
|
|
22
22
|
* - Controlled and uncontrolled state management
|
|
@@ -12,7 +12,7 @@ export type DrillDownProps = PassThroughPropsWithRef<"div"> & {
|
|
|
12
12
|
onClose?: () => void;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* Multi-step navigation component for Dialog, Drawer, and Page.Panel.
|
|
15
|
+
* Multi-step, hierarchical drill-down navigation component for Dialog, Drawer, and Page.Panel — lets users drill down by selecting a category to go deeper into nested subcategories or screens, and navigate back up.
|
|
16
16
|
*
|
|
17
17
|
* Manages sequential navigation between related content screens within overlay components.
|
|
18
18
|
* Each DrillDown represents a single screen identified by its index. Navigate between screens
|
|
@@ -33,7 +33,7 @@ export type GridProps = ComponentPropsWithoutRef<"div"> & {
|
|
|
33
33
|
xxl?: GridSpecificProps;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
|
-
* Grid component for creating CSS Grid layouts
|
|
36
|
+
* Grid component for creating responsive multi-column CSS Grid layouts that arrange content or tiles into evenly spaced columns and rows which reflow across breakpoints.
|
|
37
37
|
*
|
|
38
38
|
* Features:
|
|
39
39
|
* - CSS Grid layout with full control over grid properties
|
|
@@ -104,7 +104,7 @@ declare namespace ListboxInner {
|
|
|
104
104
|
var displayName: string;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* Listbox component for selecting one or more items from a list
|
|
107
|
+
* Listbox component for selecting one or more items from a keyboard-navigable, scrollable list of options
|
|
108
108
|
*
|
|
109
109
|
* Features:
|
|
110
110
|
* - Supports single and multiple selection modes
|
|
@@ -14,7 +14,7 @@ export type MenuProps = Omit<ButtonProps, "icon"> & MenuCommonProps & {
|
|
|
14
14
|
icon?: IconProps["svg"];
|
|
15
15
|
} & DataTrackingId;
|
|
16
16
|
/**
|
|
17
|
-
* Menu component for displaying dropdown
|
|
17
|
+
* Menu component for displaying a dropdown or popout list of action items opened from a trigger button such as an overflow, kebab (three dots), or actions button — an actions or context menu, not a form-value selector.
|
|
18
18
|
*
|
|
19
19
|
* Features:
|
|
20
20
|
* - Supports both controlled and uncontrolled modes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MultiSelectFieldHandle, MultiSelectFieldProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
* MultiSelectField component for selecting multiple options from a searchable dropdown.
|
|
3
|
+
* MultiSelectField component: a form field for selecting multiple options at once from a searchable dropdown, showing the chosen values as tags or chips.
|
|
4
4
|
*
|
|
5
5
|
* Features:
|
|
6
6
|
* - Multiple selection with chip display
|
|
@@ -24,7 +24,7 @@ export type PaginationProps = Omit<BasePaginationProps, "children"> & DataTracki
|
|
|
24
24
|
itemsPerPageLabel?: string;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Pagination component for
|
|
27
|
+
* Pagination component: page navigation controls — next, previous, and page numbers — for moving through a long, paged set of results. Includes automatic page array generation.
|
|
28
28
|
*
|
|
29
29
|
* Features:
|
|
30
30
|
* - Automatic page array generation with overflow handling
|
|
@@ -17,7 +17,7 @@ import { DataTrackingId } from '../../types';
|
|
|
17
17
|
*/
|
|
18
18
|
export type RadioProps = Omit<CoreRadioProps, "hideRadio"> & DataTrackingId;
|
|
19
19
|
/**
|
|
20
|
-
* Radio component for
|
|
20
|
+
* Radio component: a radio button group for choosing exactly one option from a mutually exclusive set of choices.
|
|
21
21
|
*
|
|
22
22
|
* Features:
|
|
23
23
|
* - Supports both controlled and uncontrolled modes
|
|
@@ -13,7 +13,7 @@ export type SearchFieldProps = DistributiveOmit<CoreSearchFieldProps, "size"> &
|
|
|
13
13
|
size?: Extract<CoreSearchFieldProps["size"], "small" | "medium" | "large">;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
-
* SearchField component
|
|
16
|
+
* SearchField component: a text input with a search or magnifying-glass affordance for filtering or searching results by typing a query.
|
|
17
17
|
*
|
|
18
18
|
* Features:
|
|
19
19
|
* - Search icon prefix for visual clarity
|
|
@@ -56,7 +56,7 @@ type UncontrolledSegmentedControlProps = BaseSegmentedControlProps & {
|
|
|
56
56
|
*/
|
|
57
57
|
export type SegmentedControlProps = ControlledSegmentedControlProps | UncontrolledSegmentedControlProps;
|
|
58
58
|
/**
|
|
59
|
-
* SegmentedControl component for selecting one option from a group of related choices.
|
|
59
|
+
* SegmentedControl component for selecting one option from a group of related choices — a horizontal set of segmented buttons, a segmented toggle or view switcher, for switching between a few mutually exclusive views or options such as list versus map.
|
|
60
60
|
*
|
|
61
61
|
* Features:
|
|
62
62
|
* - Supports both controlled and uncontrolled modes
|
|
@@ -30,7 +30,7 @@ export type TabProps = Omit<ComponentPropsWithoutRef<"div">, "onAnimationStart"
|
|
|
30
30
|
fill?: boolean;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
* Tab component for
|
|
33
|
+
* Tab component: a tabbed navigation control for switching between panels, sections, or views using a horizontal row of tabs.
|
|
34
34
|
*
|
|
35
35
|
* Features:
|
|
36
36
|
* - Keyboard navigation support (arrow keys, Enter, Space)
|
|
@@ -58,7 +58,7 @@ export type TextareaProps = Omit<ComponentPropsWithoutRef<"textarea">, "onChange
|
|
|
58
58
|
warning?: string | string[];
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
-
* Textarea component for multi-line text input
|
|
61
|
+
* Textarea component for multi-line free-form text input — a text area box for writing longer text such as paragraphs, comments, notes, messages, or descriptions.
|
|
62
62
|
*
|
|
63
63
|
* Features:
|
|
64
64
|
* - Character counter with maxLength validation
|
|
@@ -21,6 +21,7 @@ export type AddNewItemButtonProps = AddNewItemProps & {
|
|
|
21
21
|
*
|
|
22
22
|
* Features:
|
|
23
23
|
* - Renders nothing when no `onAddNewItem` handler is provided
|
|
24
|
+
* - Renders nothing when `addItemLabel` is a function that returns `null`/`undefined`
|
|
24
25
|
* - Static or dynamic label resolved against the current search text
|
|
25
26
|
* - Closes the host menu via `onCloseMenu` when clicked, before invoking the consumer's handler
|
|
26
27
|
*
|
|
@@ -32,7 +33,7 @@ export type AddNewItemButtonProps = AddNewItemProps & {
|
|
|
32
33
|
* onCloseMenu={closeMenu}
|
|
33
34
|
* />
|
|
34
35
|
*
|
|
35
|
-
* @returns The button, or null when the feature is not enabled.
|
|
36
|
+
* @returns The button, or null when the feature is not enabled / label is hidden.
|
|
36
37
|
*/
|
|
37
38
|
export declare const AddNewItemButton: {
|
|
38
39
|
({ searchText, addItemLabel, onAddNewItem, onCloseMenu, }: AddNewItemButtonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -3,10 +3,25 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
* Shared prop set for the "Add new item" affordance available on
|
|
4
4
|
* SelectField, SelectMenu, MultiSelectField, and MultiSelectMenu.
|
|
5
5
|
*
|
|
6
|
-
* @property addItemLabel - Label rendered inside the "Add new item" button. May be a static node or a callback that receives the current search text and returns a dynamic label (e.g. `Add "${searchText}"`). When omitted but `onAddNewItem` is provided, falls back to `"Add new item"`.
|
|
7
|
-
* @property onAddNewItem - Click handler for the "Add new item" button. Presence of this prop is what gates rendering the button. Receives the current search text. The menu auto-closes synchronously on click; the handler runs immediately after — typically opening a Dialog or Drawer to collect the new item's details. Consumers manage their own overlay presentation, focus return, option list updates, and selection state.
|
|
6
|
+
* @property addItemLabel - Label rendered inside the "Add new item" button. May be a static node or a callback that receives the current search text and returns a dynamic label (e.g. `Add "${searchText}"`). When the callback returns `null` or `undefined`, the button is not rendered. When omitted but `onAddNewItem` is provided, falls back to `"Add new item"`.
|
|
7
|
+
* @property onAddNewItem - Click handler for the "Add new item" button. Presence of this prop is what gates rendering the button (unless `addItemLabel` is a callback that returns `null`/`undefined` for the current search text). Receives the current search text. The menu auto-closes synchronously on click; the handler runs immediately after — typically opening a Dialog or Drawer to collect the new item's details. Consumers manage their own overlay presentation, focus return, option list updates, and selection state.
|
|
8
8
|
*/
|
|
9
9
|
export type AddNewItemProps = {
|
|
10
10
|
addItemLabel?: ReactNode | ((searchText: string) => ReactNode);
|
|
11
11
|
onAddNewItem?: (searchText: string) => void;
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* Resolves the add-new button label for the current search text.
|
|
15
|
+
*
|
|
16
|
+
* - Callback labels: returns the callback result, or `null` when the callback
|
|
17
|
+
* returns `null`/`undefined` (button should be hidden).
|
|
18
|
+
* - Static / omitted labels: returns the static node, or `"Add new item"` when
|
|
19
|
+
* omitted.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resolveAddItemLabel(addItemLabel: AddNewItemProps["addItemLabel"], searchText: string): ReactNode | null;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the add-new button should be mounted for the current search text.
|
|
24
|
+
* Host menus use this so an empty footer (and its divider) is not rendered when
|
|
25
|
+
* a label callback hides the button.
|
|
26
|
+
*/
|
|
27
|
+
export declare function shouldShowAddNewItem(onAddNewItem: AddNewItemProps["onAddNewItem"], addItemLabel: AddNewItemProps["addItemLabel"], searchText: string): boolean;
|
|
@@ -13,6 +13,12 @@ import { SelectFieldOption } from '../../components/SelectField/types';
|
|
|
13
13
|
* check-state behavior the `*Sync` variants provide.
|
|
14
14
|
*/
|
|
15
15
|
export type BulkActionCheckState = boolean | CheckState | ((current: SelectFieldOption[]) => boolean | CheckState);
|
|
16
|
+
/**
|
|
17
|
+
* Label for a "Select All" / "Select Filtered" row. A function form is
|
|
18
|
+
* resolved against the live selection (the confirmation draft when
|
|
19
|
+
* confirmation is enabled, otherwise the committed value).
|
|
20
|
+
*/
|
|
21
|
+
export type BulkActionLabel = string | ((current: SelectFieldOption[]) => string);
|
|
16
22
|
/**
|
|
17
23
|
* Configuration for the "Select All" / "Select Filtered" rows in a
|
|
18
24
|
* MultiSelectMenu or MultiSelectField.
|
|
@@ -34,12 +40,12 @@ export type BulkActionCheckState = boolean | CheckState | ((current: SelectField
|
|
|
34
40
|
* selection, so the row's checkbox can reflect how much of the set is selected.
|
|
35
41
|
*/
|
|
36
42
|
export type BulkActionConfig = {
|
|
37
|
-
label?:
|
|
43
|
+
label?: BulkActionLabel;
|
|
38
44
|
checkState: BulkActionCheckState;
|
|
39
45
|
onClick: () => void;
|
|
40
46
|
compute?: never;
|
|
41
47
|
} | {
|
|
42
|
-
label?:
|
|
48
|
+
label?: BulkActionLabel;
|
|
43
49
|
checkState: BulkActionCheckState;
|
|
44
50
|
compute: (current: SelectFieldOption[]) => SelectFieldOption[] | Promise<SelectFieldOption[]>;
|
|
45
51
|
onClick?: never;
|
|
@@ -62,3 +68,7 @@ export type ResolvedBulkAction = {
|
|
|
62
68
|
* a `CheckState` is passed through, defaulting to `"indeterminate"`.
|
|
63
69
|
*/
|
|
64
70
|
export declare function resolveBulkActionCheckState(checkState: BulkActionCheckState, current: SelectFieldOption[]): CheckState;
|
|
71
|
+
/**
|
|
72
|
+
* Resolves a `BulkActionLabel` into a display string.
|
|
73
|
+
*/
|
|
74
|
+
export declare function resolveBulkActionLabel(label: BulkActionLabel | undefined, current: SelectFieldOption[], fallback?: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-
|
|
1
|
+
import { I as INLINE_MARKDOWN_REGEX } from './FieldLabel-v6vMVVWB.js';
|
|
2
2
|
|
|
3
3
|
const stripInlineMarkdown = (str) => {
|
|
4
4
|
const parts = [];
|
|
@@ -22,4 +22,4 @@ const stripInlineMarkdown = (str) => {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export { stripInlineMarkdown as s };
|
|
25
|
-
//# sourceMappingURL=stripInlineMarkdown-
|
|
25
|
+
//# sourceMappingURL=stripInlineMarkdown-C-3FEh_E.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stripInlineMarkdown-
|
|
1
|
+
{"version":3,"file":"stripInlineMarkdown-C-3FEh_E.js","sources":["../src/internal/functions/stripInlineMarkdown.ts"],"sourcesContent":["import { INLINE_MARKDOWN_REGEX } from \"../utils/inlineMarkdownRegex\";\n\n/**\n * Strips inline markdown syntax from a string, returning plain text.\n * Intended for accessibility contexts (e.g. `aria-label`) where only plain text is appropriate.\n *\n * @param str - The string to strip\n * @returns The string with all inline markdown syntax removed\n */\nexport const stripInlineMarkdown = (str: string): string => {\n const parts: string[] = [];\n let lastIndex = 0;\n\n INLINE_MARKDOWN_REGEX.lastIndex = 0;\n let match: RegExpExecArray | null;\n\n while ((match = INLINE_MARKDOWN_REGEX.exec(str)) !== null) {\n if (match.index > lastIndex) {\n parts.push(str.substring(lastIndex, match.index));\n }\n\n const savedIndex = INLINE_MARKDOWN_REGEX.lastIndex;\n const inner =\n match[1] ?? match[2] ?? match[3] ?? match[4] ?? match[5] ?? \"\";\n\n // code spans don't support nested markdown, matching parseInlineMarkdown behavior\n parts.push(match[5] ? inner : stripInlineMarkdown(inner));\n\n INLINE_MARKDOWN_REGEX.lastIndex = savedIndex;\n lastIndex = savedIndex;\n }\n\n if (lastIndex < str.length) {\n parts.push(str.substring(lastIndex));\n }\n\n return parts.join(\"\");\n};\n"],"names":[],"mappings":";;AASO,MAAM,mBAAA,GAAsB,CAAC,GAAA,KAAwB;AAC1D,EAAA,MAAM,QAAkB,EAAC;AACzB,EAAA,IAAI,SAAA,GAAY,CAAA;AAEhB,EAAA,qBAAA,CAAsB,SAAA,GAAY,CAAA;AAClC,EAAA,IAAI,KAAA;AAEJ,EAAA,OAAA,CAAQ,KAAA,GAAQ,qBAAA,CAAsB,IAAA,CAAK,GAAG,OAAO,IAAA,EAAM;AACzD,IAAA,IAAI,KAAA,CAAM,QAAQ,SAAA,EAAW;AAC3B,MAAA,KAAA,CAAM,KAAK,GAAA,CAAI,SAAA,CAAU,SAAA,EAAW,KAAA,CAAM,KAAK,CAAC,CAAA;AAAA,IAClD;AAEA,IAAA,MAAM,aAAa,qBAAA,CAAsB,SAAA;AACzC,IAAA,MAAM,KAAA,GACJ,KAAA,CAAM,CAAC,CAAA,IAAK,MAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,KAAK,KAAA,CAAM,CAAC,CAAA,IAAK,KAAA,CAAM,CAAC,CAAA,IAAK,EAAA;AAG9D,IAAA,KAAA,CAAM,KAAK,KAAA,CAAM,CAAC,IAAI,KAAA,GAAQ,mBAAA,CAAoB,KAAK,CAAC,CAAA;AAExD,IAAA,qBAAA,CAAsB,SAAA,GAAY,UAAA;AAClC,IAAA,SAAA,GAAY,UAAA;AAAA,EACd;AAEA,EAAA,IAAI,SAAA,GAAY,IAAI,MAAA,EAAQ;AAC1B,IAAA,KAAA,CAAM,IAAA,CAAK,GAAA,CAAI,SAAA,CAAU,SAAS,CAAC,CAAA;AAAA,EACrC;AAEA,EAAA,OAAO,KAAA,CAAM,KAAK,EAAE,CAAA;AACtB;;;;"}
|
|
@@ -4,13 +4,13 @@ import { B as Button } from './Button-BNzCI47m.js';
|
|
|
4
4
|
import { c as cx } from './index-De1g9FRV.js';
|
|
5
5
|
import { useState, useRef, useCallback, useEffect, useMemo, forwardRef, useId, useImperativeHandle } from 'react';
|
|
6
6
|
import { u as useIntersectionObserver } from './useIntersectionObserver-BEmMDO3P.js';
|
|
7
|
-
import { T as Text } from './Text-
|
|
7
|
+
import { T as Text } from './Text-BjYHzUGW.js';
|
|
8
8
|
import { D as Divider } from './Divider-C7fp5Xb6.js';
|
|
9
9
|
import { u as useMergeRefs } from './useMergeRefs-Dfmtq9cI.js';
|
|
10
10
|
import { S as SrOnly } from './SrOnly-pnf8ajnh.js';
|
|
11
11
|
import { I as Icon } from './Icon-B4uCvMU9.js';
|
|
12
12
|
import { S as SvgCheck } from './check-Cf67OWrZ.js';
|
|
13
|
-
import { b as OptionRow, c as OptionRowSideContent, d as OptionCheckbox, e as OptionContentArea, u as useAdaptiveView } from './useAdaptiveView-
|
|
13
|
+
import { b as OptionRow, c as OptionRowSideContent, d as OptionCheckbox, e as OptionContentArea, u as useAdaptiveView } from './useAdaptiveView-C0F7qnLD.js';
|
|
14
14
|
import { d as defaultRangeExtractor, u as useVirtualizer } from './index-DXeGMe23.js';
|
|
15
15
|
import { S as SvgAdd } from './add-BcQkAUip.js';
|
|
16
16
|
import { m as matchSorter } from './match-sorter.esm-CGAauEiU.js';
|
|
@@ -1068,6 +1068,16 @@ function buildSelectItems({
|
|
|
1068
1068
|
return { items, sectionsMeta: meta };
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
+
function resolveAddItemLabel(addItemLabel, searchText) {
|
|
1072
|
+
if (typeof addItemLabel === "function") {
|
|
1073
|
+
return addItemLabel(searchText) ?? null;
|
|
1074
|
+
}
|
|
1075
|
+
return addItemLabel ?? "Add new item";
|
|
1076
|
+
}
|
|
1077
|
+
function shouldShowAddNewItem(onAddNewItem, addItemLabel, searchText) {
|
|
1078
|
+
return onAddNewItem != null && resolveAddItemLabel(addItemLabel, searchText) != null;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1071
1081
|
const AddNewItemButton = ({
|
|
1072
1082
|
searchText,
|
|
1073
1083
|
addItemLabel,
|
|
@@ -1075,7 +1085,8 @@ const AddNewItemButton = ({
|
|
|
1075
1085
|
onCloseMenu
|
|
1076
1086
|
}) => {
|
|
1077
1087
|
if (!onAddNewItem) return null;
|
|
1078
|
-
const resolvedLabel =
|
|
1088
|
+
const resolvedLabel = resolveAddItemLabel(addItemLabel, searchText);
|
|
1089
|
+
if (resolvedLabel == null) return null;
|
|
1079
1090
|
return /* @__PURE__ */ jsx(
|
|
1080
1091
|
Button,
|
|
1081
1092
|
{
|
|
@@ -1208,5 +1219,5 @@ const sortByGroup = (options, groupSorter) => {
|
|
|
1208
1219
|
});
|
|
1209
1220
|
};
|
|
1210
1221
|
|
|
1211
|
-
export { AddNewItemButton as A, OptionsPanel as O, VirtualizedOptionsPanel as V, useProcessedOptions as a, buildSelectItems as b,
|
|
1212
|
-
//# sourceMappingURL=syncFilterUtils-
|
|
1222
|
+
export { AddNewItemButton as A, OptionsPanel as O, VirtualizedOptionsPanel as V, useProcessedOptions as a, buildSelectItems as b, sortByGroup as c, defaultSyncFilter as d, toSelectItem as e, shouldShowAddNewItem as s, toSyncFilterFn as t, useSelectOrchestration as u };
|
|
1223
|
+
//# sourceMappingURL=syncFilterUtils-CU5iJQSC.js.map
|