@persona/design-system 0.1.6 → 0.1.8
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 +346 -202
- package/dist/{Action-DSg3yZck.d.mts → Action-CVtzREhU.d.mts} +3 -3
- package/dist/{Action-uduFOh2m.d.cts → Action-E90Wvqmc.d.cts} +3 -3
- package/dist/Action.d.cts +1 -1
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +37 -0
- package/dist/AdvancedFilterRulesPopover.d.mts +62 -0
- package/dist/ArrayValueControl.d.mts +38 -0
- package/dist/Attribute.d.mts +4 -4
- package/dist/AttributeGrid.d.mts +1 -1
- package/dist/{Badge-CvdUyXSH.cjs → Badge-ADPloFsd.cjs} +2 -5
- package/dist/{Badge-CvdUyXSH.cjs.map → Badge-ADPloFsd.cjs.map} +1 -1
- package/dist/{Badge-pq6B-3ue.mjs → Badge-DortWowZ.mjs} +2 -5
- package/dist/{Badge-pq6B-3ue.mjs.map → Badge-DortWowZ.mjs.map} +1 -1
- package/dist/Banner.d.mts +1 -1
- package/dist/BooleanValueControl.d.mts +20 -0
- package/dist/Breadcrumb-VH-Mwo-M.d.cts +44 -0
- package/dist/Breadcrumb-lziQ1FX9.d.mts +44 -0
- package/dist/Breadcrumb.d.cts +2 -0
- package/dist/Breadcrumb.d.mts +2 -0
- package/dist/Breadcrumbs-BBREROrw.d.cts +26 -0
- package/dist/Breadcrumbs-CDZ_Mrcg.mjs +288 -0
- package/dist/Breadcrumbs-CDZ_Mrcg.mjs.map +1 -0
- package/dist/Breadcrumbs-DJ5qqqRD.d.mts +26 -0
- package/dist/Breadcrumbs-tR49JqAS.cjs +295 -0
- package/dist/Breadcrumbs-tR49JqAS.cjs.map +1 -0
- package/dist/Breadcrumbs.d.cts +2 -0
- package/dist/Breadcrumbs.d.mts +2 -0
- package/dist/{Button-DcTUxRNI.d.mts → Button-9p469xA1.d.mts} +3 -3
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CLTkZLKr.mjs → Card-BMCB9eFC.mjs} +4 -4
- package/dist/{Card-CLTkZLKr.mjs.map → Card-BMCB9eFC.mjs.map} +1 -1
- package/dist/{Card-CrQL0hXm.d.cts → Card-CJPEmUvg.d.cts} +2 -2
- package/dist/{Card-YzGS3nQI.d.mts → Card-CqnG--CU.d.mts} +4 -4
- package/dist/{Card-CaOItkgL.cjs → Card-Csz-PxX0.cjs} +4 -4
- package/dist/{Card-CaOItkgL.cjs.map → Card-Csz-PxX0.cjs.map} +1 -1
- package/dist/Card.d.cts +1 -1
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.cts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/CardV2-C9z0Hr-c.mjs +411 -0
- package/dist/CardV2-C9z0Hr-c.mjs.map +1 -0
- package/dist/CardV2-DJXgFomd.cjs +419 -0
- package/dist/CardV2-DJXgFomd.cjs.map +1 -0
- package/dist/{Checkbox-UWdk4pqb.mjs → Checkbox-B0bjZbji.mjs} +5 -5
- package/dist/{Checkbox-UWdk4pqb.mjs.map → Checkbox-B0bjZbji.mjs.map} +1 -1
- package/dist/{Checkbox-BmjK0Wac.d.cts → Checkbox-Bm8exUfH.d.mts} +1 -1
- package/dist/{Checkbox-B83WfsOZ.cjs → Checkbox-CmCujC1W.cjs} +5 -5
- package/dist/{Checkbox-B83WfsOZ.cjs.map → Checkbox-CmCujC1W.cjs.map} +1 -1
- package/dist/{Checkbox-Bc2kzl9q.d.mts → Checkbox-Cr8ifm10.d.cts} +1 -1
- package/dist/Checkbox.d.cts +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.cts +1 -1
- package/dist/CheckboxGroupField.d.mts +2 -2
- package/dist/ChoicesValueControl.d.mts +35 -0
- package/dist/{Combobox-I44W5oX0.mjs → Combobox-BdqU5WLG.mjs} +261 -72
- package/dist/Combobox-BdqU5WLG.mjs.map +1 -0
- package/dist/{Combobox-Dx1u-L1A.d.cts → Combobox-C99xluaM.d.mts} +3 -3
- package/dist/{Combobox-R3_NDBi3.cjs → Combobox-COXvmxlM.cjs} +254 -65
- package/dist/Combobox-COXvmxlM.cjs.map +1 -0
- package/dist/{Combobox-DtD1XXaf.d.mts → Combobox-DBWMHwUt.d.cts} +3 -3
- package/dist/Combobox.d.cts +2 -2
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-sRVxlTJw.d.mts → ComboboxBase-BsY7CYoB.d.mts} +50 -9
- package/dist/{ComboboxBase-d98GJD-k.d.cts → ComboboxBase-zZ3tE-dH.d.cts} +47 -6
- package/dist/ComboboxBase.d.cts +2 -2
- package/dist/ComboboxBase.d.mts +2 -2
- package/dist/{ComboboxMultiSelect-CdLQDBMN.d.mts → ComboboxMultiSelect-dNuETspL.d.mts} +2 -2
- package/dist/{ComboboxMultiSelect-CRHf5TI-.d.cts → ComboboxMultiSelect-ioB4Jx7_.d.cts} +2 -2
- package/dist/ComboboxMultiSelect.d.cts +1 -1
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CxiQ2o6t.d.mts → ComboboxSingleSelect-C8KvIJ43.d.mts} +4 -4
- package/dist/{ComboboxSingleSelect-DvK8QioK.d.cts → ComboboxSingleSelect-Fn80tdhz.d.cts} +4 -4
- package/dist/ComboboxSingleSelect.d.cts +1 -1
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-ODUl2Q6G.d.cts → CompactBar-BEAK55kh.d.cts} +3 -3
- package/dist/{CompactBar-k-rhZ5Z-.d.mts → CompactBar-CXqlVKy7.d.mts} +3 -3
- package/dist/CompactBar.d.cts +1 -1
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-BhO9nm3P.cjs → ConfigFormGroup-m5YdVa9n.cjs} +3 -3
- package/dist/{ConfigFormGroup-BhO9nm3P.cjs.map → ConfigFormGroup-m5YdVa9n.cjs.map} +1 -1
- package/dist/{ConfigFormGroup-_yCksmZo.mjs → ConfigFormGroup-yhb2jldT.mjs} +3 -3
- package/dist/{ConfigFormGroup-_yCksmZo.mjs.map → ConfigFormGroup-yhb2jldT.mjs.map} +1 -1
- package/dist/{ControlBar-9m-DNImB.d.mts → ControlBar-D8CirAyZ.d.cts} +2 -2
- package/dist/{ControlBar-oT-I2y6E.d.cts → ControlBar-tOCQnbAl.d.mts} +2 -2
- package/dist/ControlBar.d.cts +1 -1
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.cts +3 -3
- package/dist/DataTable.d.mts +4 -4
- package/dist/DateField.d.cts +1 -1
- package/dist/DateField.d.mts +1 -1
- package/dist/DatePicker-BlCgFb7g.cjs +948 -0
- package/dist/DatePicker-BlCgFb7g.cjs.map +1 -0
- package/dist/DatePicker-DY1YA_Fu.mjs +922 -0
- package/dist/DatePicker-DY1YA_Fu.mjs.map +1 -0
- package/dist/DatePicker.d.cts +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/DateRangePicker.d.cts +6 -1
- package/dist/DateRangePicker.d.mts +6 -1
- package/dist/DateValueControl.d.mts +26 -0
- package/dist/{DropdownButton-BS1QfVX_.mjs → DropdownButton-DKLjJylQ.mjs} +3 -3
- package/dist/{DropdownButton-BS1QfVX_.mjs.map → DropdownButton-DKLjJylQ.mjs.map} +1 -1
- package/dist/{DropdownButton-Dpiy5v-R.cjs → DropdownButton-Dl7IEzAc.cjs} +3 -3
- package/dist/{DropdownButton-Dpiy5v-R.cjs.map → DropdownButton-Dl7IEzAc.cjs.map} +1 -1
- package/dist/DropdownButton.d.cts +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-COkpUmIO.d.mts → DropdownMenu-CVPanvKA.d.mts} +3 -3
- package/dist/{DropdownMenu-cN_AnKAT.mjs → DropdownMenu-DGYexb7s.mjs} +3 -3
- package/dist/{DropdownMenu-cN_AnKAT.mjs.map → DropdownMenu-DGYexb7s.mjs.map} +1 -1
- package/dist/{DropdownMenu-CeqZAxjs.cjs → DropdownMenu-DnlQqTjs.cjs} +3 -3
- package/dist/{DropdownMenu-CeqZAxjs.cjs.map → DropdownMenu-DnlQqTjs.cjs.map} +1 -1
- package/dist/{DropdownMenu-D1E1jpZu.d.cts → DropdownMenu-FkiManPP.d.cts} +2 -2
- package/dist/DropdownMenu.d.cts +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-DBw1_Z0a.d.mts → ErrorProps-CN2XjaOX.d.mts} +1 -1
- package/dist/{ErrorProps-DLdVsYlk.d.cts → ErrorProps-Dxqb4gw_.d.cts} +1 -1
- package/dist/ErrorProps.d.cts +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/FieldRegistry-OX60T3hr.d.cts +122 -0
- package/dist/FieldRegistry-rqSkjchY.d.mts +122 -0
- package/dist/FieldRegistry.d.cts +2 -0
- package/dist/FieldRegistry.d.mts +2 -0
- package/dist/FilterBar-D3LiIy1-.d.mts +103 -0
- package/dist/FilterBar-YzOh02f9.d.cts +103 -0
- package/dist/FilterBar.d.cts +2 -0
- package/dist/FilterBar.d.mts +2 -0
- package/dist/FilterPickerMenu.d.mts +84 -0
- package/dist/FilterPill.d.mts +60 -0
- package/dist/FilterPopover.d.mts +87 -0
- package/dist/FloatValueControl.d.mts +40 -0
- package/dist/{FormControl-fK4HA_yF.mjs → FormControl-B28qa7aQ.mjs} +6 -6
- package/dist/{FormControl-fK4HA_yF.mjs.map → FormControl-B28qa7aQ.mjs.map} +1 -1
- package/dist/{FormControl-OqBTbSwv.d.cts → FormControl-DFp_qcW1.d.cts} +2 -2
- package/dist/{FormControl-vfFzrYhv.d.mts → FormControl-DH3bgqaB.d.mts} +3 -3
- package/dist/{FormControl-DjxkL5Ft.cjs → FormControl-MkBXuUF6.cjs} +6 -6
- package/dist/{FormControl-DjxkL5Ft.cjs.map → FormControl-MkBXuUF6.cjs.map} +1 -1
- package/dist/FormControl.d.cts +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-24UPuoL6.d.mts → FormField-BugkBvN4.d.mts} +2 -2
- package/dist/FormField-D3XhxTMg.cjs +550 -0
- package/dist/FormField-D3XhxTMg.cjs.map +1 -0
- package/dist/FormField-PeYYRO4s.mjs +471 -0
- package/dist/FormField-PeYYRO4s.mjs.map +1 -0
- package/dist/{FormField-Cqwi_PyR.d.cts → FormField-idNLw5PW.d.cts} +2 -2
- package/dist/FormField.d.cts +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-D8oDtnIL.d.cts → Header-C-WhPOin.d.cts} +3 -3
- package/dist/{Header-WNGlG541.d.mts → Header-CDTYK1XJ.d.mts} +2 -2
- package/dist/Header.d.cts +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-Bd5pQLqL.d.mts → HelperTooltip-B7Ysh8B3.d.mts} +3 -3
- package/dist/{HelperTooltip-oXdyk2At.d.cts → HelperTooltip-T-sTGGLD.d.cts} +2 -2
- package/dist/HelperTooltip.d.cts +1 -1
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-DyW2iZuo.cjs → HoverCopyableField-CRkM7o4B.cjs} +12 -12
- package/dist/HoverCopyableField-CRkM7o4B.cjs.map +1 -0
- package/dist/{HoverCopyableField-DBkYvwii.mjs → HoverCopyableField-ClXBg_ld.mjs} +8 -8
- package/dist/HoverCopyableField-ClXBg_ld.mjs.map +1 -0
- package/dist/HoverCopyableField.d.mts +1 -1
- package/dist/{IconButton-DggxojBH.d.mts → IconButton-BSES_-6g.d.mts} +2 -2
- package/dist/{IconButton-DC4rh6ow.mjs → IconButton-CIWiEsS-.mjs} +5 -5
- package/dist/{IconButton-DC4rh6ow.mjs.map → IconButton-CIWiEsS-.mjs.map} +1 -1
- package/dist/{IconButton-DNy7g5zh.cjs → IconButton-nlgjJQCS.cjs} +4 -4
- package/dist/{IconButton-DNy7g5zh.cjs.map → IconButton-nlgjJQCS.cjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.cts +1 -1
- package/dist/ImageTile.d.mts +2 -2
- package/dist/InlineCombobox.d.mts +6 -3
- package/dist/InlineInput.d.mts +4 -1
- package/dist/{Input-Bl7633Ux.mjs → Input-BFI_e7aU.mjs} +5 -5
- package/dist/{Input-Bl7633Ux.mjs.map → Input-BFI_e7aU.mjs.map} +1 -1
- package/dist/{Input-XppkvfUf.d.cts → Input-BM0DzWEf.d.cts} +2 -2
- package/dist/{Input-DW7oacjc.d.mts → Input-BPClVzwD.d.mts} +4 -4
- package/dist/{Input-DQS-BEym.cjs → Input-OJPQ07TW.cjs} +5 -5
- package/dist/{Input-DQS-BEym.cjs.map → Input-OJPQ07TW.cjs.map} +1 -1
- package/dist/Input.d.cts +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-7rEMxBED.d.cts → InputProps-BnjxrdWQ.d.mts} +2 -2
- package/dist/{InputProps-DQpb2_E3.d.mts → InputProps-CoVNpQSj.d.cts} +2 -2
- package/dist/InputProps.d.cts +1 -1
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +39 -0
- package/dist/LayoutLoadingShimmer.d.cts +20 -0
- package/dist/LayoutLoadingShimmer.d.mts +20 -0
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-B4uoo_PT.cjs → ListBox-BP1eaG7L.cjs} +84 -15
- package/dist/ListBox-BP1eaG7L.cjs.map +1 -0
- package/dist/{ListBox-B7sbubm5.mjs → ListBox-BwID8jpk.mjs} +84 -15
- package/dist/ListBox-BwID8jpk.mjs.map +1 -0
- package/dist/{ListBox-DeVmbXeC.d.cts → ListBox-QaeRQBSC.d.cts} +2 -2
- package/dist/{ListBox-CVvKa5sc.d.mts → ListBox-_fcSPynx.d.mts} +5 -5
- package/dist/ListBox.d.cts +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.cts +2 -2
- package/dist/ListBoxField.d.mts +3 -3
- package/dist/{LoadingShimmer-b430vgof.mjs → LoadingShimmer-Dsc_RCCf.mjs} +1 -1
- package/dist/{LoadingShimmer-b430vgof.mjs.map → LoadingShimmer-Dsc_RCCf.mjs.map} +1 -1
- package/dist/{LoadingShimmer-uG2UzYQd.cjs → LoadingShimmer-Dx6ncVUV.cjs} +1 -1
- package/dist/{LoadingShimmer-uG2UzYQd.cjs.map → LoadingShimmer-Dx6ncVUV.cjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/LogicRow-BtCKGX_j.d.mts +40 -0
- package/dist/LogicRow-C6lrFIq0.d.cts +40 -0
- package/dist/LogicRow.d.cts +2 -0
- package/dist/LogicRow.d.mts +2 -0
- package/dist/MaskedInput.d.cts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-BbSyWxFD.mjs → Menu-CPYXo61N.mjs} +5 -5
- package/dist/{Menu-BbSyWxFD.mjs.map → Menu-CPYXo61N.mjs.map} +1 -1
- package/dist/{Menu-CSgCXX0k.d.mts → Menu-CUp_9HgC.d.mts} +4 -4
- package/dist/{Menu-C_NOsHAm.d.cts → Menu-fUnbIYr5.d.cts} +2 -2
- package/dist/{Menu-BLbEcodU.cjs → Menu-t2q8NrV0.cjs} +5 -5
- package/dist/{Menu-BLbEcodU.cjs.map → Menu-t2q8NrV0.cjs.map} +1 -1
- package/dist/Menu.d.cts +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-BIzKECv9.cjs → MiddleTruncatedText-CO76xIqP.cjs} +2 -2
- package/dist/{MiddleTruncatedText-BIzKECv9.cjs.map → MiddleTruncatedText-CO76xIqP.cjs.map} +1 -1
- package/dist/{MiddleTruncatedText-Bzpg3zAU.mjs → MiddleTruncatedText-GXI-CPvs.mjs} +3 -3
- package/dist/{MiddleTruncatedText-Bzpg3zAU.mjs.map → MiddleTruncatedText-GXI-CPvs.mjs.map} +1 -1
- package/dist/Modal.d.cts +10 -5
- package/dist/Modal.d.mts +13 -8
- package/dist/PageHeader-CUDnarkt.cjs +77 -0
- package/dist/PageHeader-CUDnarkt.cjs.map +1 -0
- package/dist/PageHeader-D-6W61E_.mjs +64 -0
- package/dist/PageHeader-D-6W61E_.mjs.map +1 -0
- package/dist/PageHeader.d.cts +11 -2
- package/dist/PageHeader.d.mts +12 -3
- package/dist/{PageSelector-COqR1tdA.d.cts → PageSelector-CNnVp3Al.d.cts} +3 -3
- package/dist/{PageSelector-mn6q4SKY.d.mts → PageSelector-vay4jpMp.d.mts} +3 -3
- package/dist/PageSelector.d.cts +1 -1
- package/dist/PageSelector.d.mts +1 -1
- package/dist/PageSizeSelector.d.mts +7 -1
- package/dist/{Pagination-DEZFb552.cjs → Pagination-2Yo1vRJZ.cjs} +13 -9
- package/dist/Pagination-2Yo1vRJZ.cjs.map +1 -0
- package/dist/{Pagination-CeoHVtYD.d.cts → Pagination-D04tn-tf.d.cts} +9 -3
- package/dist/{Pagination-BUjpYIwq.d.mts → Pagination-ygLutOst.d.mts} +9 -3
- package/dist/{Pagination-F8ofIWnG.mjs → Pagination-ztqhywAP.mjs} +14 -10
- package/dist/Pagination-ztqhywAP.mjs.map +1 -0
- package/dist/Pagination.d.cts +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii--c8IxKI0.cjs → Pii-DHTb3ewO.cjs} +2 -2
- package/dist/{Pii--c8IxKI0.cjs.map → Pii-DHTb3ewO.cjs.map} +1 -1
- package/dist/{Pii-B_gBVAak.mjs → Pii-DrrtEz7U.mjs} +2 -2
- package/dist/{Pii-B_gBVAak.mjs.map → Pii-DrrtEz7U.mjs.map} +1 -1
- package/dist/Pii.d.mts +1 -1
- package/dist/PillShell.d.mts +85 -0
- package/dist/{Popover-D4_aqKlm.mjs → Popover-BkDpDdaO.mjs} +5 -5
- package/dist/{Popover-D4_aqKlm.mjs.map → Popover-BkDpDdaO.mjs.map} +1 -1
- package/dist/{Popover-jHZICnQt.cjs → Popover-BzgMAhsX.cjs} +4 -4
- package/dist/{Popover-jHZICnQt.cjs.map → Popover-BzgMAhsX.cjs.map} +1 -1
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps--MiDp2l2.d.mts → PseudoClassProps-DLxPxo7T.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-BN9FLRHy.cjs → Radio-BrTzy7-C.cjs} +3 -3
- package/dist/{Radio-BN9FLRHy.cjs.map → Radio-BrTzy7-C.cjs.map} +1 -1
- package/dist/{Radio-DnnJl87b.mjs → Radio-CSX2eO-O.mjs} +3 -3
- package/dist/{Radio-DnnJl87b.mjs.map → Radio-CSX2eO-O.mjs.map} +1 -1
- package/dist/{RadioGroup-BDHhFlmy.mjs → RadioGroup-CnK0opBd.mjs} +3 -3
- package/dist/{RadioGroup-BDHhFlmy.mjs.map → RadioGroup-CnK0opBd.mjs.map} +1 -1
- package/dist/{RadioGroup-D28hdlhz.cjs → RadioGroup-CriF2InQ.cjs} +3 -3
- package/dist/{RadioGroup-D28hdlhz.cjs.map → RadioGroup-CriF2InQ.cjs.map} +1 -1
- package/dist/{RadioGroup-BDO3pTgP.d.cts → RadioGroup-DKqbSfju.d.mts} +1 -1
- package/dist/{RadioGroup-DfhvXpi3.d.mts → RadioGroup-XYWjprsv.d.cts} +1 -1
- package/dist/RadioGroup.d.cts +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +37 -0
- package/dist/RulesPill.d.mts +65 -0
- package/dist/{SearchInput-2lsv5_R6.d.mts → SearchInput-Bp2yjaE1.d.mts} +3 -3
- package/dist/{SearchInput-B6d2Qyzb.d.cts → SearchInput-CTI59-NW.d.cts} +2 -2
- package/dist/SearchInput.d.cts +1 -1
- package/dist/SearchInput.d.mts +1 -1
- package/dist/Section.d.mts +1 -1
- package/dist/{SectionHeading-BLDimf5d.d.mts → SectionHeading-C6hjGdK-.d.cts} +2 -2
- package/dist/{SectionHeading-DZyfNPn0.d.cts → SectionHeading-Q-rx2LEd.d.mts} +2 -2
- package/dist/SectionHeading.d.cts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-DTkFgjac.cjs → SegmentedControl-C2XZF0ys.cjs} +8 -7
- package/dist/SegmentedControl-C2XZF0ys.cjs.map +1 -0
- package/dist/{SegmentedControl-pRkMcMXe.mjs → SegmentedControl-CgDQIVll.mjs} +8 -7
- package/dist/SegmentedControl-CgDQIVll.mjs.map +1 -0
- package/dist/{SegmentedControl-1QD2zH3l.d.mts → SegmentedControl-DrjdUOU9.d.mts} +2 -2
- package/dist/{SegmentedControl-C51htGBp.d.cts → SegmentedControl-nHIK1ZvR.d.cts} +1 -1
- package/dist/SegmentedControl.d.cts +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-XN23Ui_j.d.cts → Select-2KbtKawr.d.mts} +11 -5
- package/dist/{Select-BysJW9mH.d.mts → Select-BH3hXMxp.d.cts} +11 -5
- package/dist/{Select-CowngLd7.cjs → Select-BurtT6bN.cjs} +13 -10
- package/dist/Select-BurtT6bN.cjs.map +1 -0
- package/dist/{Select-Fg2z5J-p.mjs → Select-cPEORy70.mjs} +14 -11
- package/dist/Select-cPEORy70.mjs.map +1 -0
- package/dist/Select.d.cts +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/Slider.d.mts +1 -1
- package/dist/SliderRHF.d.mts +1 -1
- package/dist/SliderThumb.d.mts +1 -1
- package/dist/{Spacer-GYHbk-dS.cjs → Spacer-B2CerL6e.cjs} +1 -1
- package/dist/{Spacer-GYHbk-dS.cjs.map → Spacer-B2CerL6e.cjs.map} +1 -1
- package/dist/{Spacer-Ln3KChb5.mjs → Spacer-CJp0lwkL.mjs} +1 -1
- package/dist/{Spacer-Ln3KChb5.mjs.map → Spacer-CJp0lwkL.mjs.map} +1 -1
- package/dist/{Spinner-DaSlM4kU.cjs → Spinner-B6bx70yR.cjs} +1 -1
- package/dist/{Spinner-DaSlM4kU.cjs.map → Spinner-B6bx70yR.cjs.map} +1 -1
- package/dist/{Spinner-D9-u_5zS.mjs → Spinner-BEPF42RW.mjs} +1 -1
- package/dist/{Spinner-D9-u_5zS.mjs.map → Spinner-BEPF42RW.mjs.map} +1 -1
- package/dist/{Stack-ckRN7LrP.mjs → Stack-Bl54WmhY.mjs} +1 -1
- package/dist/{Stack-ckRN7LrP.mjs.map → Stack-Bl54WmhY.mjs.map} +1 -1
- package/dist/{Stack-B5VYkPBe.d.cts → Stack-BzVkf3cz.d.cts} +1 -1
- package/dist/{Stack-Du7tLSPC.d.mts → Stack-CkV7k7TE.d.mts} +2 -2
- package/dist/{Stack-BF-9YjA1.cjs → Stack-UeifHn3c.cjs} +1 -1
- package/dist/{Stack-BF-9YjA1.cjs.map → Stack-UeifHn3c.cjs.map} +1 -1
- package/dist/Stack.d.cts +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator.d.cts +31 -3
- package/dist/StatusIndicator.d.mts +32 -4
- package/dist/{Sticker-XfyoDEod.d.mts → Sticker-Bs25ISz7.d.mts} +5 -5
- package/dist/{Sticker-D9HjFQ6e.d.cts → Sticker-CI-XxUmM.d.cts} +3 -3
- package/dist/{Sticker-D0jIU2Dt.cjs → Sticker-CIoseh9f.cjs} +3 -3
- package/dist/{Sticker-D0jIU2Dt.cjs.map → Sticker-CIoseh9f.cjs.map} +1 -1
- package/dist/{Sticker-B0TbkV4o.mjs → Sticker-DbqKLe33.mjs} +3 -3
- package/dist/{Sticker-B0TbkV4o.mjs.map → Sticker-DbqKLe33.mjs.map} +1 -1
- package/dist/Sticker.d.cts +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +39 -0
- package/dist/SwatchPicker.d.mts +1 -1
- package/dist/Tab.d.mts +2 -2
- package/dist/{TabBar-D8WCGYd5.cjs → TabBar-PFaDNRw0.cjs} +6 -4
- package/dist/TabBar-PFaDNRw0.cjs.map +1 -0
- package/dist/{TabBar-CAv10XAF.mjs → TabBar-zSA8kyE6.mjs} +6 -4
- package/dist/TabBar-zSA8kyE6.mjs.map +1 -0
- package/dist/TabBarIconButton.d.mts +1 -1
- package/dist/{Table-D4SMuVIR.d.cts → Table-BNScLj9g.d.mts} +1 -1
- package/dist/{Table-CGtyWI6V.mjs → Table-D8IcpACv.mjs} +6 -6
- package/dist/{Table-CGtyWI6V.mjs.map → Table-D8IcpACv.mjs.map} +1 -1
- package/dist/{Table-C8D4lpSa.d.mts → Table-DXqyNohc.d.cts} +1 -1
- package/dist/{Table-B3FJsvXP.cjs → Table-DxLvJYWK.cjs} +6 -6
- package/dist/{Table-B3FJsvXP.cjs.map → Table-DxLvJYWK.cjs.map} +1 -1
- package/dist/Table.d.cts +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-0cd50RuX.d.mts → TableBody-CrDNMyT8.d.mts} +1 -1
- package/dist/{TableBody-BLmn5h3y.d.cts → TableBody-CxwHmdNb.d.cts} +1 -1
- package/dist/TableBody.d.cts +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-D_B9atn2.cjs → TableBox-CiuXCXyv.cjs} +229 -61
- package/dist/TableBox-CiuXCXyv.cjs.map +1 -0
- package/dist/{TableBox-CPCWzwSl.mjs → TableBox-luasMC73.mjs} +230 -62
- package/dist/TableBox-luasMC73.mjs.map +1 -0
- package/dist/TableBox.d.cts +2 -2
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-CEvOcGYa.d.mts → TableBoxCell-By1xE6_Q.d.mts} +28 -11
- package/dist/{TableBoxCell-DJz423uN.d.cts → TableBoxCell-DIMenSwX.d.cts} +27 -10
- package/dist/TableBoxCell.d.cts +1 -1
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.cts +20 -5
- package/dist/TableBoxField.d.mts +20 -6
- package/dist/{TableBoxRow-LyHvITwZ.d.mts → TableBoxRow-CsRPRPQ-.d.mts} +13 -4
- package/dist/{TableBoxRow-CZwVgei6.d.cts → TableBoxRow-RNQ6wJLh.d.cts} +12 -3
- package/dist/TableBoxRow.d.cts +1 -1
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-VDAOxNDG.d.cts → TableBoxRowActions-CYpoPhYZ.d.cts} +2 -2
- package/dist/{TableBoxRowActions-C8SAxrYG.d.mts → TableBoxRowActions-DMYOI8Do.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.cts +1 -1
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/TableBoxRowContext.d.mts +5 -3
- package/dist/TableCell.d.cts +1 -1
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-B4gpAvl7.d.mts → TableControls-BehR7CKS.d.mts} +4 -4
- package/dist/TableControls-BtXK7Ils.cjs +3995 -0
- package/dist/TableControls-BtXK7Ils.cjs.map +1 -0
- package/dist/{TableControls-BG0OKwjj.d.cts → TableControls-CLNF0AJG.d.cts} +3 -3
- package/dist/TableControls-DHMs7o58.mjs +3859 -0
- package/dist/TableControls-DHMs7o58.mjs.map +1 -0
- package/dist/TableControls.d.cts +1 -1
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-NdzzGevw.d.mts → TableControlsContext-DAZx6Rrj.d.cts} +2 -2
- package/dist/{TableControlsContext-CanIAaLW.d.cts → TableControlsContext-D_SBFZN1.d.mts} +2 -2
- package/dist/TableControlsContext.d.cts +1 -1
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CuHNOeCj.d.mts → TableHead-Ch4Ho3LW.d.cts} +1 -1
- package/dist/{TableHead-roexW17v.d.cts → TableHead-LxvG0e9k.d.mts} +1 -1
- package/dist/TableHead.d.cts +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-Cflho9R2.d.mts → TableHeaderCell-Br8ZE3Xe.d.mts} +1 -1
- package/dist/{TableHeaderCell-BTGuqVXy.d.cts → TableHeaderCell-Crsa2R2g.d.cts} +1 -1
- package/dist/TableHeaderCell.d.cts +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-BvVsuUVb.d.cts → TableLayout-Ct0kepcA.d.cts} +1 -1
- package/dist/{TableLayout-D9BGrjRs.d.mts → TableLayout-nwy094C_.d.mts} +1 -1
- package/dist/TableLayout.d.cts +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-CjQmDmfx.d.mts → TableRow-BvS4yjo6.d.mts} +2 -2
- package/dist/{TableRow-BfGJSGZH.d.cts → TableRow-DVTPqT4w.d.cts} +1 -1
- package/dist/TableRow.d.cts +1 -1
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.cts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-DMeFkVUa.d.mts → TableViewConfigurationDropdown-BYPh4dIP.d.mts} +2 -2
- package/dist/{TableViewConfigurationDropdown-BaQ1IsYM.d.cts → TableViewConfigurationDropdown-CaiOGyrU.d.cts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.cts +1 -1
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/TechnicalSticker.d.mts +1 -1
- package/dist/{Text-CPd0r0w2.d.mts → Text-DNPbAuUG.d.mts} +3 -3
- package/dist/{Text-CzN0DOXV.cjs → Text-G9QmYf0P.cjs} +1 -1
- package/dist/{Text-CzN0DOXV.cjs.map → Text-G9QmYf0P.cjs.map} +1 -1
- package/dist/{Text-hEoPeOc9.mjs → Text-RcEfNFLx.mjs} +1 -1
- package/dist/{Text-hEoPeOc9.mjs.map → Text-RcEfNFLx.mjs.map} +1 -1
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-Dl9_Zizx.d.cts → TextArea-B89wtTsF.d.mts} +2 -2
- package/dist/{TextArea-p3oek3Zq.cjs → TextArea-BNiipQDb.cjs} +3 -3
- package/dist/{TextArea-p3oek3Zq.cjs.map → TextArea-BNiipQDb.cjs.map} +1 -1
- package/dist/{TextArea-J1MD_8rK.d.mts → TextArea-CHW9FKM4.d.cts} +2 -2
- package/dist/{TextArea-CJJlw3rV.mjs → TextArea-NCLsW-03.mjs} +3 -3
- package/dist/{TextArea-CJJlw3rV.mjs.map → TextArea-NCLsW-03.mjs.map} +1 -1
- package/dist/TextArea.d.cts +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-D8GFsk5C.d.mts → TextUnderlineTooltip-5-0D8s4z.d.mts} +3 -3
- package/dist/{TextUnderlineTooltip-BDMs4iXn.d.cts → TextUnderlineTooltip-DMEyOu8C.d.cts} +2 -2
- package/dist/TextUnderlineTooltip.d.cts +1 -1
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.cts +1 -1
- package/dist/Tile.d.mts +2 -2
- package/dist/Toast.d.cts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-DOo0cLmI.mjs → Toggle-Bie9zCem.mjs} +5 -5
- package/dist/{Toggle-DOo0cLmI.mjs.map → Toggle-Bie9zCem.mjs.map} +1 -1
- package/dist/{Toggle-7o-n5vF6.cjs → Toggle-Ce-rF8Xp.cjs} +5 -5
- package/dist/{Toggle-7o-n5vF6.cjs.map → Toggle-Ce-rF8Xp.cjs.map} +1 -1
- package/dist/{Toggle-CY67yh4T.d.mts → Toggle-DzYLgxGk.d.mts} +1 -1
- package/dist/{Toggle-Dw4hisXm.d.cts → Toggle-tbIebQWC.d.cts} +1 -1
- package/dist/Toggle.d.cts +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-CE1oH6Iz.d.cts → Tooltip--eDrrk2r.d.cts} +2 -2
- package/dist/{Tooltip-CDvOu1UN.mjs → Tooltip-C6AR1xT-.mjs} +3 -3
- package/dist/{Tooltip-CDvOu1UN.mjs.map → Tooltip-C6AR1xT-.mjs.map} +1 -1
- package/dist/{Tooltip-DtWJO_kU.d.mts → Tooltip-CUC-JuRL.d.mts} +3 -3
- package/dist/{Tooltip-vylydKVv.cjs → Tooltip-olP3rdUO.cjs} +3 -3
- package/dist/{Tooltip-vylydKVv.cjs.map → Tooltip-olP3rdUO.cjs.map} +1 -1
- package/dist/Tooltip.d.cts +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BBoWmFii.d.mts → TruncatedText-BJnowVTx.d.mts} +1 -1
- package/dist/{TruncatedText-DMpR-yaJ.d.cts → TruncatedText-Dit2NJI6.d.cts} +1 -1
- package/dist/components/Attribute/index.cjs +6 -6
- package/dist/components/Attribute/index.mjs +7 -7
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.cjs +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.cjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/Breadcrumbs/index.cjs +7 -0
- package/dist/components/Breadcrumbs/index.d.cts +2 -0
- package/dist/components/Breadcrumbs/index.d.mts +2 -0
- package/dist/components/Breadcrumbs/index.mjs +2 -0
- package/dist/components/Button/index.cjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.cjs +3 -3
- package/dist/components/ButtonGroup/index.mjs +3 -3
- package/dist/components/Card/index.cjs +1 -1
- package/dist/components/Card/index.d.cts +2 -2
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/Card/index.mjs +1 -1
- package/dist/components/CardV2/index.cjs +3 -432
- package/dist/components/CardV2/index.d.cts +1 -1
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -427
- package/dist/components/Checkbox/index.cjs +1 -1
- package/dist/components/Checkbox/index.d.cts +1 -1
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/Combobox/index.cjs +1 -1
- package/dist/components/Combobox/index.d.cts +2 -2
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.cjs +2 -2
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.cjs +15 -1
- package/dist/components/DataTable/TableControls/index.d.cts +16 -6
- package/dist/components/DataTable/TableControls/index.d.mts +16 -6
- package/dist/components/DataTable/TableControls/index.mjs +2 -2
- package/dist/components/DataTable/index.cjs +15 -16
- package/dist/components/DataTable/index.cjs.map +1 -1
- package/dist/components/DataTable/index.mjs +25 -26
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.cts +2 -2
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.cjs +6 -898
- package/dist/components/DatePicker/index.mjs +1 -890
- package/dist/components/DropdownButton/index.cjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.cjs +1 -1
- package/dist/components/DropdownMenu/index.d.cts +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FormControl/index.cjs +2 -2
- package/dist/components/FormControl/index.d.cts +2 -2
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.cjs +15 -468
- package/dist/components/FormField/index.d.cts +3 -3
- package/dist/components/FormField/index.d.mts +3 -3
- package/dist/components/FormField/index.mjs +1 -452
- package/dist/components/HoverCopyableField/index.cjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.cjs +8 -8
- package/dist/components/ImageTile/index.mjs +8 -8
- package/dist/components/Input/index.cjs +1 -1
- package/dist/components/Input/index.d.cts +1 -1
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.cjs +1 -1
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/ListBox/index.cjs +1 -1
- package/dist/components/ListBox/index.d.cts +4 -2
- package/dist/components/ListBox/index.d.mts +4 -2
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.cjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.cjs +2 -2
- package/dist/components/MaskedInput/index.mjs +2 -2
- package/dist/components/Menu/index.cjs +1 -1
- package/dist/components/Menu/index.d.cts +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.cjs +13 -9
- package/dist/components/Modal/index.cjs.map +1 -1
- package/dist/components/Modal/index.d.cts +2 -2
- package/dist/components/Modal/index.d.mts +2 -2
- package/dist/components/Modal/index.mjs +13 -9
- package/dist/components/Modal/index.mjs.map +1 -1
- package/dist/components/PageHeader/index.cjs +3 -67
- package/dist/components/PageHeader/index.mjs +1 -63
- package/dist/components/Pagination/index.cjs +1 -1
- package/dist/components/Pagination/index.d.cts +3 -3
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.cjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.cjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.cjs +1 -1
- package/dist/components/ProgressBar/index.mjs +1 -1
- package/dist/components/Radio/index.cjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.cjs +1 -1
- package/dist/components/RadioGroup/index.d.cts +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/SegmentedControl/index.cjs +1 -1
- package/dist/components/SegmentedControl/index.d.cts +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.cjs +1 -1
- package/dist/components/Select/index.d.cts +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.cjs +2 -2
- package/dist/components/Slider/index.mjs +2 -2
- package/dist/components/Spacer/index.cjs +1 -1
- package/dist/components/Spacer/index.mjs +1 -1
- package/dist/components/Spinner/index.cjs +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.cjs +1 -1
- package/dist/components/Stack/index.d.cts +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.cjs +60 -10
- package/dist/components/StatusIndicator/index.cjs.map +1 -1
- package/dist/components/StatusIndicator/index.d.cts +2 -2
- package/dist/components/StatusIndicator/index.d.mts +2 -2
- package/dist/components/StatusIndicator/index.mjs +61 -12
- package/dist/components/StatusIndicator/index.mjs.map +1 -1
- package/dist/components/Sticker/index.cjs +1 -1
- package/dist/components/Sticker/index.d.cts +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.cjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.cjs +1 -1
- package/dist/components/Table/index.d.cts +7 -7
- package/dist/components/Table/index.d.mts +7 -7
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.cjs +1 -1
- package/dist/components/TableBox/index.d.cts +2 -2
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.cjs +4 -4
- package/dist/components/TechnicalSticker/index.mjs +4 -4
- package/dist/components/Text/index.cjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/Text/index.mjs +1 -1
- package/dist/components/TextArea/index.cjs +1 -1
- package/dist/components/TextArea/index.d.cts +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.cjs +4 -4
- package/dist/components/Tile/index.mjs +4 -4
- package/dist/components/Toast/index.cjs +1 -1
- package/dist/components/Toast/index.mjs +1 -1
- package/dist/components/Toggle/index.cjs +1 -1
- package/dist/components/Toggle/index.d.cts +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.cjs +1 -1
- package/dist/components/Tooltip/index.d.cts +3 -3
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/compound-expression.d.mts +9 -0
- package/dist/{constants-D5CkrHza.d.cts → constants-B6c8S033.d.cts} +1 -1
- package/dist/{constants-CnkpDWTv.d.mts → constants-BASogfT_.d.mts} +1 -1
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/containers.d.mts +8 -0
- package/dist/display.d.mts +8 -0
- package/dist/fieldPickerOptions.d.mts +29 -0
- package/dist/filter-size-context-Blw6Sd69.d.mts +52 -0
- package/dist/filter-size-context-CIw0Zi6r.d.cts +52 -0
- package/dist/filter-size-context.d.cts +2 -0
- package/dist/filter-size-context.d.mts +2 -0
- package/dist/helpers.d.cts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/index-4_B2yRzD.d.mts +7 -0
- package/dist/{index-Bp3vEph6.d.cts → index-Bw8QVu_o.d.cts} +3 -3
- package/dist/index-C9EIpBh8.d.cts +7 -0
- package/dist/index-D34XP8vp.d.cts +54 -0
- package/dist/{index-BwWgmaXZ.d.mts → index-DDbjWdk0.d.mts} +4 -4
- package/dist/index-IlwGkCAe2.d.mts +54 -0
- package/dist/index-sQecLSpR.d.cts +1 -0
- package/dist/index-sViox9YW.d.mts +1 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.cts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.cts +4 -1
- package/dist/index3.d.mts +4 -1
- package/dist/index4.d.cts +11 -0
- package/dist/index4.d.mts +11 -0
- package/dist/index5.d.cts +1 -0
- package/dist/index5.d.mts +2 -0
- package/dist/index6.d.mts +1 -0
- package/dist/{input-FEaQ66an.d.mts → input-Bv5fKt5J.d.mts} +3 -3
- package/dist/{input-Bm_anD8X.d.cts → input-DPB0cX2m.d.cts} +2 -2
- package/dist/inputFields.d.cts +10 -10
- package/dist/inputFields.d.mts +11 -11
- package/dist/intersperse-_0nQM5Rb.cjs +26 -0
- package/dist/intersperse-_0nQM5Rb.cjs.map +1 -0
- package/dist/intersperse-vOYvFOfF.mjs +21 -0
- package/dist/intersperse-vOYvFOfF.mjs.map +1 -0
- package/dist/layouts/LayoutLoadingShimmer/index.cjs +139 -0
- package/dist/layouts/LayoutLoadingShimmer/index.cjs.map +1 -0
- package/dist/layouts/LayoutLoadingShimmer/index.d.cts +2 -0
- package/dist/layouts/LayoutLoadingShimmer/index.d.mts +2 -0
- package/dist/layouts/LayoutLoadingShimmer/index.mjs +133 -0
- package/dist/layouts/LayoutLoadingShimmer/index.mjs.map +1 -0
- package/dist/lib/MiddleTruncatedText.cjs +1 -1
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +1 -1
- package/dist/lib/TruncatedText.cjs +1 -1
- package/dist/lib/TruncatedText.d.cts +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +1 -1
- package/dist/lib/TruncatedTextWithTooltip.cjs +2 -2
- package/dist/lib/TruncatedTextWithTooltip.d.cts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
- package/dist/lib/message.d.cts +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/{message-SITKO6JZ.d.mts → message-BEgtEjQC.d.cts} +1 -1
- package/dist/{message-CWEGi3Xg.d.cts → message-CMHvlPGn.d.mts} +1 -1
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.cts +1 -1
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/text.d.mts +1 -1
- package/dist/operators-1qE2GpC7.d.cts +43 -0
- package/dist/operators-Bo31xlc2.d.mts +43 -0
- package/dist/operators.d.cts +2 -0
- package/dist/operators.d.mts +2 -0
- package/dist/{text-BEKhEWTa.d.mts → text-B21s9mRZ.d.mts} +1 -1
- package/dist/{theme-q9fNLtcA.d.mts → theme-BzBpJXhO.d.mts} +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/types-B_HHNlia.d.cts +158 -0
- package/dist/types-CCvc590y.d.cts +45 -0
- package/dist/{types-CmnKGG5I.d.cts → types-CkiXVJeR.d.cts} +1 -1
- package/dist/types-D58IoRx6.d.mts +158 -0
- package/dist/types-D7ppqnNj.d.mts +45 -0
- package/dist/{types-BG21GgBe.d.cts → types-DEh_pXgS.d.mts} +1 -1
- package/dist/{types-ChCqSD9N.d.mts → types-SYSKcZKW.d.cts} +1 -1
- package/dist/{types-DMjr-u_o.d.mts → types-TV9nVfSe.d.mts} +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.cts +2 -2
- package/dist/types2.d.mts +2 -2
- package/dist/types3.d.cts +2 -0
- package/dist/types3.d.mts +2 -0
- package/dist/types4.d.cts +2 -0
- package/dist/types4.d.mts +2 -0
- package/dist/use-rules-popover-selection.d.mts +19 -0
- package/dist/useColumnWidthLock.d.mts +2 -2
- package/dist/useComboboxFooterAction.d.mts +47 -0
- package/dist/useDelayedInlineEditError.d.mts +12 -0
- package/dist/useFilterStateV2-DCQghouq.d.mts +93 -0
- package/dist/useFilterStateV2-DbPwX5N1.d.cts +93 -0
- package/dist/useFilterStateV2.d.cts +2 -0
- package/dist/useFilterStateV2.d.mts +2 -0
- package/dist/{useFormField-DLGEZ1kD.d.cts → useFormField--Q8ZdpW5.d.cts} +2 -2
- package/dist/{useFormField-BpYf3CAW.cjs → useFormField-BZlArnsI.cjs} +2 -2
- package/dist/{useFormField-BpYf3CAW.cjs.map → useFormField-BZlArnsI.cjs.map} +1 -1
- package/dist/{useFormField-CVmt-ti2.d.mts → useFormField-D8mLsiQc.d.mts} +2 -2
- package/dist/{useFormField-D0RTrPld.mjs → useFormField-DhYd6bNn.mjs} +2 -2
- package/dist/{useFormField-D0RTrPld.mjs.map → useFormField-DhYd6bNn.mjs.map} +1 -1
- package/dist/useFormField.d.cts +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-DQJdKaL9.cjs → useFormGroup-Bmnzgq0S.cjs} +1 -1
- package/dist/{useFormGroup-DQJdKaL9.cjs.map → useFormGroup-Bmnzgq0S.cjs.map} +1 -1
- package/dist/{useFormGroup-z0epBxXn.mjs → useFormGroup-DWVW7A9f.mjs} +1 -1
- package/dist/{useFormGroup-z0epBxXn.mjs.map → useFormGroup-DWVW7A9f.mjs.map} +1 -1
- package/dist/{useTableBoxDragAndDrop-DXqy_AMP.d.mts → useTableBoxDragAndDrop-BMo-iaUF.d.mts} +1 -1
- package/dist/{useTableBoxDragAndDrop-hrESBhKb.d.cts → useTableBoxDragAndDrop-DnbUToce.d.cts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.cts +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/{useToggle-3k3EkV8V.mjs → useToggle-Bo3yd14Y.mjs} +1 -1
- package/dist/{useToggle-3k3EkV8V.mjs.map → useToggle-Bo3yd14Y.mjs.map} +1 -1
- package/dist/{useToggle-CSkZWXtQ.cjs → useToggle-DARO917w.cjs} +1 -1
- package/dist/{useToggle-CSkZWXtQ.cjs.map → useToggle-DARO917w.cjs.map} +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-C8Jf-xpi.d.cts → utilities-BO_95qFA.d.mts} +1 -1
- package/dist/{utilities-DT-Hh45R.d.mts → utilities-mSlaTrjB.d.cts} +1 -1
- package/dist/utilities.d.cts +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.cjs +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.cjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils/testing.mjs +1 -1
- package/dist/utils.d.mts +22 -5
- package/dist/utils2.d.mts +9 -0
- package/dist/validation-CJymv6JE.d.cts +51 -0
- package/dist/validation-vLh3t2dk.d.mts +51 -0
- package/dist/validation.d.cts +2 -0
- package/dist/validation.d.mts +2 -0
- package/dist/value-control-resolver-B9p25q3G.d.cts +46 -0
- package/dist/value-control-resolver-CE-bqdAl.d.mts +46 -0
- package/dist/value-control-resolver.d.cts +2 -0
- package/dist/value-control-resolver.d.mts +2 -0
- package/dist/variables/spacing.cjs +1 -1
- package/dist/variables/spacing.cjs.map +1 -1
- package/dist/variables/spacing.d.cts +1 -1
- package/dist/variables/spacing.d.mts +1 -1
- package/dist/variables/spacing.mjs +1 -1
- package/dist/variables/spacing.mjs.map +1 -1
- package/package.json +22 -4
- package/dist/Combobox-I44W5oX0.mjs.map +0 -1
- package/dist/Combobox-R3_NDBi3.cjs.map +0 -1
- package/dist/HoverCopyableField-DBkYvwii.mjs.map +0 -1
- package/dist/HoverCopyableField-DyW2iZuo.cjs.map +0 -1
- package/dist/ListBox-B4uoo_PT.cjs.map +0 -1
- package/dist/ListBox-B7sbubm5.mjs.map +0 -1
- package/dist/Pagination-DEZFb552.cjs.map +0 -1
- package/dist/Pagination-F8ofIWnG.mjs.map +0 -1
- package/dist/SegmentedControl-DTkFgjac.cjs.map +0 -1
- package/dist/SegmentedControl-pRkMcMXe.mjs.map +0 -1
- package/dist/Select-CowngLd7.cjs.map +0 -1
- package/dist/Select-Fg2z5J-p.mjs.map +0 -1
- package/dist/TabBar-CAv10XAF.mjs.map +0 -1
- package/dist/TabBar-D8WCGYd5.cjs.map +0 -1
- package/dist/TableBox-CPCWzwSl.mjs.map +0 -1
- package/dist/TableBox-D_B9atn2.cjs.map +0 -1
- package/dist/TableControls-B2ZsNlr6.mjs +0 -1029
- package/dist/TableControls-B2ZsNlr6.mjs.map +0 -1
- package/dist/TableControls-B7QEAzru.cjs +0 -1080
- package/dist/TableControls-B7QEAzru.cjs.map +0 -1
- package/dist/components/CardV2/index.cjs.map +0 -1
- package/dist/components/CardV2/index.mjs.map +0 -1
- package/dist/components/DatePicker/index.cjs.map +0 -1
- package/dist/components/DatePicker/index.mjs.map +0 -1
- package/dist/components/FormField/index.cjs.map +0 -1
- package/dist/components/FormField/index.mjs.map +0 -1
- package/dist/components/PageHeader/index.cjs.map +0 -1
- package/dist/components/PageHeader/index.mjs.map +0 -1
- /package/dist/{index-1-AkepUA.d.mts → index--p6oQT9I.d.mts} +0 -0
- /package/dist/{index-8SLBz2NH.d.mts → index-BL32-cvv.d.cts} +0 -0
- /package/dist/{index-BSVhZrWN.d.mts → index-BR1oNnaF.d.cts} +0 -0
- /package/dist/{index-C4zERU4O.d.cts → index-BXpMZvwA.d.cts} +0 -0
- /package/dist/{index-C6yvNuzO.d.cts → index-BYd3Btr1.d.mts} +0 -0
- /package/dist/{index-CIABef8t.d.mts → index-BhY1qu3m.d.cts} +0 -0
- /package/dist/{index-CP2eJYlK.d.mts → index-C0NRIDsj2.d.cts} +0 -0
- /package/dist/{index-CTBW75wG2.d.cts → index-C1ihAKnV.d.cts} +0 -0
- /package/dist/{index-CiBIKhMu.d.cts → index-CDGG7lCB.d.mts} +0 -0
- /package/dist/{index-Cii4Qb1X.d.mts → index-CFG0_wK4.d.cts} +0 -0
- /package/dist/{index-CspKFJM1.d.cts → index-CKKoxA9V.d.mts} +0 -0
- /package/dist/{index-CswGToRr2.d.mts → index-CNxS4Tlu.d.mts} +0 -0
- /package/dist/{index-D4ELpJXS.d.cts → index-CQ25UCod.d.cts} +0 -0
- /package/dist/{index-D8dPsry7.d.mts → index-CWB6exYm.d.mts} +0 -0
- /package/dist/{index-D9XihFV1.d.mts → index-Cv0jeUQf2.d.cts} +0 -0
- /package/dist/{index-DBQaKYAL2.d.cts → index-CwSIy_W-.d.cts} +0 -0
- /package/dist/{index-DLoAMD9J.d.cts → index-CzItj62a.d.mts} +0 -0
- /package/dist/{index-DZlqSwCF.d.mts → index-D-BciAtf.d.cts} +0 -0
- /package/dist/{index-Dflz2i1X.d.mts → index-D4DUvwPf.d.mts} +0 -0
- /package/dist/{index-Dpmi5zcN.d.cts → index-D5tSVhTd.d.mts} +0 -0
- /package/dist/{index-DwBYcw1r.d.cts → index-D9IqtUDs.d.cts} +0 -0
- /package/dist/{index-LhFpnU-f.d.mts → index-DGsJdI5l.d.mts} +0 -0
- /package/dist/{index-N-OgGgfF.d.mts → index-DM6vVDZD.d.mts} +0 -0
- /package/dist/{index-VmEFGBxN.d.cts → index-DXJd7-2Z.d.mts} +0 -0
- /package/dist/{index-_1bfRgi2.d.cts → index-DkrC-i1D.d.mts} +0 -0
- /package/dist/{index-c55Utzva.d.mts → index-DpEKQcoR.d.cts} +0 -0
- /package/dist/{index-gpCH5158.d.mts → index-DvuJXuAN.d.mts} +0 -0
- /package/dist/{index-kDNN3kX_2.d.mts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-luywJTzJ.d.mts → index-Oio5ygqN.d.mts} +0 -0
- /package/dist/{index-qCd8f7Um.d.cts → index-_wQ5ClJU.d.cts} +0 -0
- /package/dist/{index-uTS5iDq_.d.cts → index-lIMqGGJz.d.mts} +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { a as FilterField, c as FilterOperator } from "./types-D58IoRx6.mjs";
|
|
2
|
+
|
|
3
|
+
//#region components/DataTable/TableControls/FiltersV2/FieldRegistry.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* Per-resource field registry.
|
|
6
|
+
*
|
|
7
|
+
* Built from the backend's `field_key_to_info` payload (extended in v2 to
|
|
8
|
+
* include `type`, `options`, `item_type`, and a `source`/`parent_record_type`
|
|
9
|
+
* pair for custom fields). The registry is the single place the UI looks up
|
|
10
|
+
* "what field is this and what can the user do with it" — value control
|
|
11
|
+
* rendering, operator vocabulary, picker grouping, and popover footer text
|
|
12
|
+
* all route through here.
|
|
13
|
+
*
|
|
14
|
+
* Construction is tolerant of partial metadata: if `type` is missing the
|
|
15
|
+
* field falls back to `'string'`.
|
|
16
|
+
*/
|
|
17
|
+
declare class FieldRegistry<TField extends FilterField = FilterField> {
|
|
18
|
+
readonly resource: string;
|
|
19
|
+
private readonly byId;
|
|
20
|
+
/** Custom fields grouped by parent record type label, used by the picker submenu. */
|
|
21
|
+
private readonly customByParent;
|
|
22
|
+
/** Parent record id → its display label, used to resolve selector pills to picker groups. */
|
|
23
|
+
private readonly parentLabelByRecordId;
|
|
24
|
+
private readonly systemFields;
|
|
25
|
+
private readonly narrowingSelectors;
|
|
26
|
+
constructor(resource: string, fields: ReadonlyArray<TField>);
|
|
27
|
+
parentRecordLabelForId(recordId: string): string | undefined;
|
|
28
|
+
has(fieldId: string): boolean;
|
|
29
|
+
get(fieldId: string): TField | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Get a field by id, throwing if it isn't registered. Use this when the
|
|
32
|
+
* fieldId came from state we own (e.g. an existing `FilterRule`) and a
|
|
33
|
+
* missing field is a programming error rather than user input.
|
|
34
|
+
*/
|
|
35
|
+
getOrThrow(fieldId: string): TField;
|
|
36
|
+
/** All registered fields, in insertion order. */
|
|
37
|
+
all(): ReadonlyArray<TField>;
|
|
38
|
+
/** System / built-in fields, used as the top section of the `⊕ Filter` menu. */
|
|
39
|
+
systemFieldsList(): ReadonlyArray<TField>;
|
|
40
|
+
/** Custom fields grouped by parent record type for the picker submenu. */
|
|
41
|
+
customFieldGroups(): ReadonlyArray<{
|
|
42
|
+
parent: string;
|
|
43
|
+
fields: ReadonlyArray<TField>;
|
|
44
|
+
}>;
|
|
45
|
+
/**
|
|
46
|
+
* Fields that drive the picker's field-narrowing. A field is inferred
|
|
47
|
+
* as a scoping selector (e.g. `account_type`, `case_template`) when its
|
|
48
|
+
* `options[].value` set intersects the registry's custom-field
|
|
49
|
+
* `parentRecordId`s — matching on the backend id, not the display label,
|
|
50
|
+
* so a suffixed or colliding label (`"KYC Standard (CAS)"`) still
|
|
51
|
+
* narrows correctly. `FilterBar` turns an active `is` pill on such a
|
|
52
|
+
* field into the visible parent labels via {@link parentRecordLabelForId}.
|
|
53
|
+
*
|
|
54
|
+
* A coincidental id collision would falsely tag a field as a selector —
|
|
55
|
+
* benign (it just narrows too); layer on a backend flag if ever needed.
|
|
56
|
+
*/
|
|
57
|
+
narrowingSelectorFields(): ReadonlyArray<TField>;
|
|
58
|
+
/** Operator vocabulary for a registered field, gated by its `allowedOperators` then type. */
|
|
59
|
+
operatorsFor(fieldId: string): ReadonlyArray<FilterOperator>;
|
|
60
|
+
/** Default operator for a registered field. Used when creating a new pill. */
|
|
61
|
+
defaultOperatorFor(fieldId: string): FilterOperator;
|
|
62
|
+
/**
|
|
63
|
+
* Pick the operator to use for a rule after a field swap. If the
|
|
64
|
+
* previous operator is still in the new field's vocabulary, keep it
|
|
65
|
+
* (the user's intent likely carries over — e.g. `is_empty` stays
|
|
66
|
+
* `is_empty` regardless of field type). Otherwise fall back to the
|
|
67
|
+
* field's default operator.
|
|
68
|
+
*
|
|
69
|
+
* Lives on the registry rather than as a free helper because the
|
|
70
|
+
* answer is entirely a function of registry-owned data (operator
|
|
71
|
+
* vocabulary per type) — and centralizing it keeps the field-swap
|
|
72
|
+
* semantics consistent across `FilterBar.handlePickField`,
|
|
73
|
+
* `AdvancedFilterRulesPopover.handleFieldChange`, and any future
|
|
74
|
+
* caller.
|
|
75
|
+
*/
|
|
76
|
+
reconcileOperator(fieldId: string, prevOperator: FilterOperator): FilterOperator;
|
|
77
|
+
/**
|
|
78
|
+
* Build a `value → label` lookup for a `choices` / `multi_choices`
|
|
79
|
+
* field, suitable for translating raw option ids into the human
|
|
80
|
+
* labels rendered by `FilterPill` chips and value-control headers.
|
|
81
|
+
* Returns `undefined` when the field has no options so callers can
|
|
82
|
+
* skip the lookup entirely.
|
|
83
|
+
*
|
|
84
|
+
* Memoized per-field so repeated reads from render loops don't
|
|
85
|
+
* rebuild the same map. Field options are immutable for the lifetime
|
|
86
|
+
* of a `FieldRegistry`, so the cache never needs invalidation.
|
|
87
|
+
*/
|
|
88
|
+
optionLabelsFor(fieldId: string): Record<string, string> | undefined;
|
|
89
|
+
private readonly optionLabelCache;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Backend metadata for one field as exposed by the v2 `field_key_to_info`
|
|
93
|
+
* payload. All fields except `label` are optional — v1 responses only carry
|
|
94
|
+
* `label`/`tokens`. The registry tolerates the missing fields and falls back
|
|
95
|
+
* to safe defaults.
|
|
96
|
+
*/
|
|
97
|
+
interface RawFieldInfo {
|
|
98
|
+
label: string;
|
|
99
|
+
tokens?: ReadonlyArray<string>;
|
|
100
|
+
/** v2 metadata — present once the backend ships its extended schema. */
|
|
101
|
+
type?: string;
|
|
102
|
+
source?: string;
|
|
103
|
+
parent_record_type?: string;
|
|
104
|
+
parent_record_id?: string;
|
|
105
|
+
options?: ReadonlyArray<{
|
|
106
|
+
label: string;
|
|
107
|
+
value: string;
|
|
108
|
+
}>;
|
|
109
|
+
item_type?: string;
|
|
110
|
+
path?: ReadonlyArray<string>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Build a registry from a `field_key_to_info` map. Forgiving by design — any
|
|
114
|
+
* key whose `type` is missing or unrecognized falls back to `'string'`, and
|
|
115
|
+
* `source` defaults to `'custom'` (current `customFilters` are all custom).
|
|
116
|
+
*/
|
|
117
|
+
declare function buildFieldRegistry(resource: string, fieldKeyToInfo: Record<string, RawFieldInfo>, options?: {
|
|
118
|
+
systemFields?: ReadonlyArray<FilterField>;
|
|
119
|
+
}): FieldRegistry;
|
|
120
|
+
//#endregion
|
|
121
|
+
export { RawFieldInfo as n, buildFieldRegistry as r, FieldRegistry as t };
|
|
122
|
+
//# sourceMappingURL=FieldRegistry-rqSkjchY.d.mts.map
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { d as FilterSize, f as FilterStateV2 } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-rqSkjchY.mjs";
|
|
3
|
+
import { n as ValueControlResolver } from "./value-control-resolver-CE-bqdAl.mjs";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region components/DataTable/TableControls/FiltersV2/FilterBar/FilterBar.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Filter UI v2 — the top-level FilterBar component.
|
|
9
|
+
*
|
|
10
|
+
* Composes the picker, simple-rule pills, simple-rule popovers, Rules pill,
|
|
11
|
+
* Advanced Filter Rules popover, and type-aware value controls into one bar.
|
|
12
|
+
*
|
|
13
|
+
* Popover open/close transitions flow through Radix's `onOpenChange`
|
|
14
|
+
* callbacks rather than explicit `onClick` handlers on the pills. That keeps
|
|
15
|
+
* the user's pill click and Radix's `Slot`-injected toggle handler from
|
|
16
|
+
* fighting over which one wins (the symptom looks like "the popover opens
|
|
17
|
+
* and immediately closes" — both fire, the first sets open=true, the second
|
|
18
|
+
* toggles open back to false).
|
|
19
|
+
*/
|
|
20
|
+
interface FilterBarProps {
|
|
21
|
+
/**
|
|
22
|
+
* Registry built from this resource's `field_key_to_info` response.
|
|
23
|
+
* The registry defines which fields are filterable, each field's type,
|
|
24
|
+
* option labels, and custom-field parent grouping.
|
|
25
|
+
*/
|
|
26
|
+
registry: FieldRegistry;
|
|
27
|
+
/**
|
|
28
|
+
* Initial state. Defaults to the empty state. For URL/saved-view
|
|
29
|
+
* hydration, pass the decoded `FilterStateV2` here.
|
|
30
|
+
*
|
|
31
|
+
* Re-read when it changes. This lets saved-view and URL hydration swap
|
|
32
|
+
* the whole filter state after mount without requiring the caller to
|
|
33
|
+
* remount the bar.
|
|
34
|
+
*
|
|
35
|
+
* A pill without a value isn't part of this state and survives hydration —
|
|
36
|
+
* it is the bar's while it has none, and only its field leaving the registry
|
|
37
|
+
* drops it.
|
|
38
|
+
*/
|
|
39
|
+
initialState?: FilterStateV2;
|
|
40
|
+
/**
|
|
41
|
+
* Called whenever the structured filter state changes.
|
|
42
|
+
*
|
|
43
|
+
* Kept as a single-arg callback so the most common consumer — a
|
|
44
|
+
* `setState`-style parent driving the bar as a controlled component
|
|
45
|
+
* (`<FilterBar initialState={state} onChange={setState} />`) — can
|
|
46
|
+
* pass `setState` directly.
|
|
47
|
+
*
|
|
48
|
+
* Reports only valued filters, so feeding the reported state straight
|
|
49
|
+
* back as `initialState` is a no-op.
|
|
50
|
+
*/
|
|
51
|
+
onChange?: (state: FilterStateV2) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Whether this bar should show the Rules pill + Advanced Filter Rules
|
|
54
|
+
* popover. When `false`, compound state is pinned to empty.
|
|
55
|
+
*
|
|
56
|
+
* @defaultValue `true`
|
|
57
|
+
*/
|
|
58
|
+
advancedRulesEnabled?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Keeps the Add-filter picker from building a second top-level pill on a
|
|
61
|
+
* field that already has one: a field in use drops out of the picker, and
|
|
62
|
+
* the trigger disappears once no field is left. Compound rules are
|
|
63
|
+
* unaffected — a field can back a pill and any number of Advanced Filter
|
|
64
|
+
* Rules at once. Leave off for hosts whose serializer reads repeated rules
|
|
65
|
+
* on one field as a conjunction (e.g. two date bounds spanning a range).
|
|
66
|
+
*
|
|
67
|
+
* Rules arriving through `initialState` are rendered as given; a saved view
|
|
68
|
+
* holding duplicates keeps them rather than having pills silently dropped
|
|
69
|
+
* out from under it, so a host that stored duplicates before enabling this
|
|
70
|
+
* can migrate them on its own terms.
|
|
71
|
+
*
|
|
72
|
+
* @defaultValue `false`
|
|
73
|
+
*/
|
|
74
|
+
singleUseFields?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Size variant for every Filter UI v2 subcomponent. `'md'` is the
|
|
77
|
+
* standard-DataTable default (14px font, 16px icons, 32px-tall
|
|
78
|
+
* controls). `'sm'` is the compact-DataTable variant (12px font,
|
|
79
|
+
* 12px icons, 24px-tall controls). Propagated to subcomponents via
|
|
80
|
+
* `FilterBarContext` so each one reads the active size without
|
|
81
|
+
* the caller having to pass it through every level.
|
|
82
|
+
*
|
|
83
|
+
* @defaultValue `'md'`
|
|
84
|
+
*/
|
|
85
|
+
size?: FilterSize;
|
|
86
|
+
/**
|
|
87
|
+
* Renders host-specific field types before falling back to PDS controls.
|
|
88
|
+
* Return a nullish value to use the built-in resolver.
|
|
89
|
+
*/
|
|
90
|
+
valueControlResolver?: ValueControlResolver;
|
|
91
|
+
}
|
|
92
|
+
declare function FilterBar({
|
|
93
|
+
registry,
|
|
94
|
+
initialState,
|
|
95
|
+
onChange,
|
|
96
|
+
advancedRulesEnabled,
|
|
97
|
+
singleUseFields,
|
|
98
|
+
size,
|
|
99
|
+
valueControlResolver
|
|
100
|
+
}: FilterBarProps): _$react_jsx_runtime0.JSX.Element;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { FilterBarProps as n, FilterBar as t };
|
|
103
|
+
//# sourceMappingURL=FilterBar-D3LiIy1-.d.mts.map
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { d as FilterSize, f as FilterStateV2 } from "./types-B_HHNlia.cjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-OX60T3hr.cjs";
|
|
3
|
+
import { n as ValueControlResolver } from "./value-control-resolver-B9p25q3G.cjs";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime.js";
|
|
5
|
+
|
|
6
|
+
//#region components/DataTable/TableControls/FiltersV2/FilterBar/FilterBar.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Filter UI v2 — the top-level FilterBar component.
|
|
9
|
+
*
|
|
10
|
+
* Composes the picker, simple-rule pills, simple-rule popovers, Rules pill,
|
|
11
|
+
* Advanced Filter Rules popover, and type-aware value controls into one bar.
|
|
12
|
+
*
|
|
13
|
+
* Popover open/close transitions flow through Radix's `onOpenChange`
|
|
14
|
+
* callbacks rather than explicit `onClick` handlers on the pills. That keeps
|
|
15
|
+
* the user's pill click and Radix's `Slot`-injected toggle handler from
|
|
16
|
+
* fighting over which one wins (the symptom looks like "the popover opens
|
|
17
|
+
* and immediately closes" — both fire, the first sets open=true, the second
|
|
18
|
+
* toggles open back to false).
|
|
19
|
+
*/
|
|
20
|
+
interface FilterBarProps {
|
|
21
|
+
/**
|
|
22
|
+
* Registry built from this resource's `field_key_to_info` response.
|
|
23
|
+
* The registry defines which fields are filterable, each field's type,
|
|
24
|
+
* option labels, and custom-field parent grouping.
|
|
25
|
+
*/
|
|
26
|
+
registry: FieldRegistry;
|
|
27
|
+
/**
|
|
28
|
+
* Initial state. Defaults to the empty state. For URL/saved-view
|
|
29
|
+
* hydration, pass the decoded `FilterStateV2` here.
|
|
30
|
+
*
|
|
31
|
+
* Re-read when it changes. This lets saved-view and URL hydration swap
|
|
32
|
+
* the whole filter state after mount without requiring the caller to
|
|
33
|
+
* remount the bar.
|
|
34
|
+
*
|
|
35
|
+
* A pill without a value isn't part of this state and survives hydration —
|
|
36
|
+
* it is the bar's while it has none, and only its field leaving the registry
|
|
37
|
+
* drops it.
|
|
38
|
+
*/
|
|
39
|
+
initialState?: FilterStateV2;
|
|
40
|
+
/**
|
|
41
|
+
* Called whenever the structured filter state changes.
|
|
42
|
+
*
|
|
43
|
+
* Kept as a single-arg callback so the most common consumer — a
|
|
44
|
+
* `setState`-style parent driving the bar as a controlled component
|
|
45
|
+
* (`<FilterBar initialState={state} onChange={setState} />`) — can
|
|
46
|
+
* pass `setState` directly.
|
|
47
|
+
*
|
|
48
|
+
* Reports only valued filters, so feeding the reported state straight
|
|
49
|
+
* back as `initialState` is a no-op.
|
|
50
|
+
*/
|
|
51
|
+
onChange?: (state: FilterStateV2) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Whether this bar should show the Rules pill + Advanced Filter Rules
|
|
54
|
+
* popover. When `false`, compound state is pinned to empty.
|
|
55
|
+
*
|
|
56
|
+
* @defaultValue `true`
|
|
57
|
+
*/
|
|
58
|
+
advancedRulesEnabled?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Keeps the Add-filter picker from building a second top-level pill on a
|
|
61
|
+
* field that already has one: a field in use drops out of the picker, and
|
|
62
|
+
* the trigger disappears once no field is left. Compound rules are
|
|
63
|
+
* unaffected — a field can back a pill and any number of Advanced Filter
|
|
64
|
+
* Rules at once. Leave off for hosts whose serializer reads repeated rules
|
|
65
|
+
* on one field as a conjunction (e.g. two date bounds spanning a range).
|
|
66
|
+
*
|
|
67
|
+
* Rules arriving through `initialState` are rendered as given; a saved view
|
|
68
|
+
* holding duplicates keeps them rather than having pills silently dropped
|
|
69
|
+
* out from under it, so a host that stored duplicates before enabling this
|
|
70
|
+
* can migrate them on its own terms.
|
|
71
|
+
*
|
|
72
|
+
* @defaultValue `false`
|
|
73
|
+
*/
|
|
74
|
+
singleUseFields?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Size variant for every Filter UI v2 subcomponent. `'md'` is the
|
|
77
|
+
* standard-DataTable default (14px font, 16px icons, 32px-tall
|
|
78
|
+
* controls). `'sm'` is the compact-DataTable variant (12px font,
|
|
79
|
+
* 12px icons, 24px-tall controls). Propagated to subcomponents via
|
|
80
|
+
* `FilterBarContext` so each one reads the active size without
|
|
81
|
+
* the caller having to pass it through every level.
|
|
82
|
+
*
|
|
83
|
+
* @defaultValue `'md'`
|
|
84
|
+
*/
|
|
85
|
+
size?: FilterSize;
|
|
86
|
+
/**
|
|
87
|
+
* Renders host-specific field types before falling back to PDS controls.
|
|
88
|
+
* Return a nullish value to use the built-in resolver.
|
|
89
|
+
*/
|
|
90
|
+
valueControlResolver?: ValueControlResolver;
|
|
91
|
+
}
|
|
92
|
+
declare function FilterBar({
|
|
93
|
+
registry,
|
|
94
|
+
initialState,
|
|
95
|
+
onChange,
|
|
96
|
+
advancedRulesEnabled,
|
|
97
|
+
singleUseFields,
|
|
98
|
+
size,
|
|
99
|
+
valueControlResolver
|
|
100
|
+
}: FilterBarProps): _$react_jsx_runtime0.JSX.Element;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { FilterBarProps as n, FilterBar as t };
|
|
103
|
+
//# sourceMappingURL=FilterBar-YzOh02f9.d.cts.map
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { a as FilterField, d as FilterSize } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-rqSkjchY.mjs";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { HTMLAttributes } from "react";
|
|
5
|
+
|
|
6
|
+
//#region components/DataTable/TableControls/FiltersV2/FilterPickerMenu/FilterPickerMenu.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Props for `FilterPickerMenu` — the `⊕ Filter` cascading picker.
|
|
9
|
+
*
|
|
10
|
+
* The picker surfaces a `FilterField` selection back to the parent
|
|
11
|
+
* (TableControls/FiltersV2) via `onPickField`. The parent owns the subsequent
|
|
12
|
+
* FilterPopover that lets the user pick an operator and value.
|
|
13
|
+
*
|
|
14
|
+
* Internally this is a thin wrapper around the design-system Combobox's
|
|
15
|
+
* `trigger` prop: the `⊕ Filter` button (or compact `⊕` icon button) is
|
|
16
|
+
* passed as the trigger, and the Combobox renders the search input
|
|
17
|
+
* + nested-navigation dropdown content directly beneath it. System
|
|
18
|
+
* fields live at the root; every custom field sits behind a single
|
|
19
|
+
* "Fields" submenu with its parent record type as a sublabel. Typing
|
|
20
|
+
* flattens the whole tree and surfaces every matching leaf with a
|
|
21
|
+
* breadcrumb in its description.
|
|
22
|
+
*/
|
|
23
|
+
interface FilterPickerMenuProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
24
|
+
/** Registry exposing the resource's system + custom fields. */
|
|
25
|
+
registry: FieldRegistry;
|
|
26
|
+
/**
|
|
27
|
+
* Called when the user picks a field. The parent is responsible for
|
|
28
|
+
* opening the value-control popover for the picked field.
|
|
29
|
+
*/
|
|
30
|
+
onPickField: (field: FilterField) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Override for the default `Filter` trigger button label.
|
|
33
|
+
*
|
|
34
|
+
* @defaultValue `'Filter'`
|
|
35
|
+
*/
|
|
36
|
+
triggerLabel?: string;
|
|
37
|
+
/**
|
|
38
|
+
* When true, the trigger renders icon-only (the `⊕` prefix icon
|
|
39
|
+
* without the visible label). The `triggerLabel` is still used as
|
|
40
|
+
* the button's `aria-label` for accessibility. Used once the bar
|
|
41
|
+
* already has pills.
|
|
42
|
+
*/
|
|
43
|
+
compact?: boolean;
|
|
44
|
+
/** Disables the trigger button (e.g. while the registry is loading). */
|
|
45
|
+
disabled?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Allow-list of `parentRecordType` labels that should appear in the
|
|
48
|
+
* "Fields" submenu. When omitted (or `undefined`), every custom-field
|
|
49
|
+
* group is shown — the default behavior.
|
|
50
|
+
*
|
|
51
|
+
* The picker is intentionally policy-free here — it just applies the
|
|
52
|
+
* filter. The parent (`FilterBar`) derives this list from the active
|
|
53
|
+
* rules on `registry.recordTypeSelectorFields()` and passes it
|
|
54
|
+
* through. Passing an empty array hides the Fields submenu entirely
|
|
55
|
+
* (no parents match, so no custom fields render).
|
|
56
|
+
*/
|
|
57
|
+
visibleCustomFieldParents?: ReadonlyArray<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Deny-list of field ids to omit from the menu. When it covers every
|
|
60
|
+
* selectable field the trigger is not rendered at all.
|
|
61
|
+
*/
|
|
62
|
+
excludeFieldIds?: ReadonlyArray<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Size variant. Defaults to whatever the surrounding
|
|
65
|
+
* `FilterBarContext` provides (`'sm'` outside a FilterBar).
|
|
66
|
+
* Threaded into the Combobox and the trigger Button/IconButton so the
|
|
67
|
+
* picker matches the surrounding pills.
|
|
68
|
+
*/
|
|
69
|
+
size?: FilterSize;
|
|
70
|
+
}
|
|
71
|
+
declare const FilterPickerMenu: ({
|
|
72
|
+
registry,
|
|
73
|
+
onPickField,
|
|
74
|
+
triggerLabel,
|
|
75
|
+
compact,
|
|
76
|
+
disabled,
|
|
77
|
+
visibleCustomFieldParents,
|
|
78
|
+
excludeFieldIds,
|
|
79
|
+
size,
|
|
80
|
+
...rest
|
|
81
|
+
}: FilterPickerMenuProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { FilterPickerMenuProps, FilterPickerMenu as default };
|
|
84
|
+
//# sourceMappingURL=FilterPickerMenu.d.mts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { a as FilterField, d as FilterSize, l as FilterRule } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import { HTMLAttributes } from "react";
|
|
4
|
+
|
|
5
|
+
//#region components/DataTable/TableControls/FiltersV2/FilterPill/FilterPill.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for `FilterPill` — one entry in `FilterStateV2.topLevelRules`
|
|
8
|
+
* rendered as an interactive pill.
|
|
9
|
+
*
|
|
10
|
+
* The container chrome (rounded 24px pill, variant background, focus
|
|
11
|
+
* ring, caret↔dismiss swap) is provided by `PillShell`. This file
|
|
12
|
+
* owns the pill's filter-specific body content: field label, operator
|
|
13
|
+
* label, and value chip(s).
|
|
14
|
+
*/
|
|
15
|
+
interface FilterPillProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'onClick'> {
|
|
16
|
+
/** Field metadata, used for the label and value-chip lookups. */
|
|
17
|
+
field: FilterField;
|
|
18
|
+
/** Active rule, or `null` for the default/unset state. */
|
|
19
|
+
rule: FilterRule | null;
|
|
20
|
+
/**
|
|
21
|
+
* User clicked the pill body — parent should open the value-edit popover.
|
|
22
|
+
*
|
|
23
|
+
* Optional because the most common usage is as a Radix `Popover.Trigger`
|
|
24
|
+
* `asChild` element. In that case Radix's `Slot` injects its own click
|
|
25
|
+
* handler on the outer `<span>` that toggles the popover; clicks bubble
|
|
26
|
+
* from the inner body button up to the span and fire it. The dismiss
|
|
27
|
+
* button's `stopPropagation` (inside `PillShell`) keeps ✕ clicks from
|
|
28
|
+
* triggering the popover.
|
|
29
|
+
*/
|
|
30
|
+
onClick?: () => void;
|
|
31
|
+
/** User clicked the ✕ — parent should remove the rule. */
|
|
32
|
+
onDismiss: () => void;
|
|
33
|
+
/**
|
|
34
|
+
* Visual variant.
|
|
35
|
+
*
|
|
36
|
+
* - `'default'` (default) — neutral gray pill, shows `▾`.
|
|
37
|
+
* - `'active'` — purple pill used when the popover is open. Always
|
|
38
|
+
* shows `×` (in place of the caret).
|
|
39
|
+
*
|
|
40
|
+
* On hover, the default variant also swaps `▾` for `×`.
|
|
41
|
+
*/
|
|
42
|
+
variant?: 'default' | 'active';
|
|
43
|
+
/**
|
|
44
|
+
* Optional label-lookup map for `choices` / `multi_choices` fields. When
|
|
45
|
+
* provided, raw option values in the rule are translated to their
|
|
46
|
+
* human-readable labels before rendering. Falls through to the raw value
|
|
47
|
+
* when the map is missing or doesn't contain the option.
|
|
48
|
+
*/
|
|
49
|
+
optionLabels?: Record<string, string>;
|
|
50
|
+
/**
|
|
51
|
+
* Size variant. Forwarded to `PillShell` and to the value-chip
|
|
52
|
+
* styling. Defaults to whatever the surrounding `FilterBarContext`
|
|
53
|
+
* provides (`'sm'` outside a `FilterBar`).
|
|
54
|
+
*/
|
|
55
|
+
size?: FilterSize;
|
|
56
|
+
}
|
|
57
|
+
declare const FilterPill: _$react.ForwardRefExoticComponent<FilterPillProps & _$react.RefAttributes<HTMLSpanElement>>;
|
|
58
|
+
//#endregion
|
|
59
|
+
export { FilterPillProps, FilterPill as default };
|
|
60
|
+
//# sourceMappingURL=FilterPill.d.mts.map
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterSize } from "./types-D58IoRx6.mjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
|
|
5
|
+
//#region components/DataTable/TableControls/FiltersV2/FilterPopover/FilterPopover.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Props for `FilterPopover` — the single-rule editor that opens from a
|
|
8
|
+
* `FilterPill` body click or from the `FilterPickerMenu` after a field
|
|
9
|
+
* is picked.
|
|
10
|
+
*
|
|
11
|
+
* ┌──────────────────────────────────┐
|
|
12
|
+
* │ Field name is ▾ │ ← inline header (12px secondary + operator)
|
|
13
|
+
* │ ┌────────────────────────────┐ │
|
|
14
|
+
* │ │ value control (parent slot)│ │
|
|
15
|
+
* │ └────────────────────────────┘ │
|
|
16
|
+
* ├──────────────────────────────────┤
|
|
17
|
+
* │ ⓘ Field name is a field on … │ ← footer (10px secondary, custom fields only)
|
|
18
|
+
* └──────────────────────────────────┘
|
|
19
|
+
*
|
|
20
|
+
* The value control slot is whatever the parent passes
|
|
21
|
+
* — text input, multi-select, calendar, etc.
|
|
22
|
+
*/
|
|
23
|
+
interface FilterPopoverProps {
|
|
24
|
+
/** Field metadata, used for the header label, operator vocabulary, and footer. */
|
|
25
|
+
field: FilterField;
|
|
26
|
+
/** Currently selected operator for this rule. */
|
|
27
|
+
operator: FilterOperator;
|
|
28
|
+
/** Called when the user picks a new operator from the dropdown. */
|
|
29
|
+
onChangeOperator: (op: FilterOperator) => void;
|
|
30
|
+
/**
|
|
31
|
+
* The parent-supplied value control. This component is intentionally
|
|
32
|
+
* agnostic about the inner UI — the per-type value controls (text input,
|
|
33
|
+
* multi-select, calendar, etc.) live outside this file and are wired in
|
|
34
|
+
* by the parent via this slot.
|
|
35
|
+
*/
|
|
36
|
+
valueControlSlot: ReactNode;
|
|
37
|
+
/** Called when the popover should close (e.g. Escape, click-outside). */
|
|
38
|
+
onClose: () => void;
|
|
39
|
+
/** Anchor element — passed through to Radix `Popover.Trigger` as a child. */
|
|
40
|
+
trigger: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Controlled-open flag. Same pass-through convention as `FilterPickerMenu`:
|
|
43
|
+
* when both `open` and `onOpenChange` are provided the popover behaves as a
|
|
44
|
+
* fully controlled component; otherwise Radix manages open state internally.
|
|
45
|
+
*/
|
|
46
|
+
open?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Controlled-open setter, called by Radix whenever it wants to transition
|
|
49
|
+
* the popover's open state. The parent is free to ignore this and force a
|
|
50
|
+
* different state if it needs to (e.g. block-close while editing).
|
|
51
|
+
*/
|
|
52
|
+
onOpenChange?: (open: boolean) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Size variant. Defaults to whatever the surrounding
|
|
55
|
+
* `FilterBarContext` provides (`'sm'` outside a FilterBar).
|
|
56
|
+
* Drives header/operator font + glyph sizes plus the `size` prop
|
|
57
|
+
* passed to any DropdownMenu items.
|
|
58
|
+
*/
|
|
59
|
+
size?: FilterSize;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The single-rule editor popover. Renders a Radix `Popover` anchored on
|
|
63
|
+
* `trigger`, with a `Popover.Card` body that stacks:
|
|
64
|
+
*
|
|
65
|
+
* 1. Inline header — "[Field name] [operator ▾]" on one line.
|
|
66
|
+
* 2. Parent-supplied value control.
|
|
67
|
+
* 3. Custom-field footer (`ⓘ [label] is a field on [parentRecordType]`).
|
|
68
|
+
*
|
|
69
|
+
* The popover stays purely presentational. Rule state lives in the parent's
|
|
70
|
+
* `useFilterStateV2()` hook; this component just routes operator changes
|
|
71
|
+
* back through `onChangeOperator` and forwards open/close transitions
|
|
72
|
+
* through Radix's controlled props.
|
|
73
|
+
*/
|
|
74
|
+
declare const FilterPopover: ({
|
|
75
|
+
field,
|
|
76
|
+
operator,
|
|
77
|
+
onChangeOperator,
|
|
78
|
+
valueControlSlot,
|
|
79
|
+
onClose,
|
|
80
|
+
trigger,
|
|
81
|
+
open,
|
|
82
|
+
onOpenChange,
|
|
83
|
+
size
|
|
84
|
+
}: FilterPopoverProps) => _$react_jsx_runtime0.JSX.Element;
|
|
85
|
+
//#endregion
|
|
86
|
+
export { FilterPopoverProps, FilterPopover as default };
|
|
87
|
+
//# sourceMappingURL=FilterPopover.d.mts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as ValueControlProps } from "./types-D7ppqnNj.mjs";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region components/DataTable/TableControls/FiltersV2/value-controls/FloatValueControl/FloatValueControl.d.ts
|
|
5
|
+
type FloatValueControlProps = ValueControlProps;
|
|
6
|
+
/**
|
|
7
|
+
* Float-typed value control for the Filter UI v2 popover.
|
|
8
|
+
*
|
|
9
|
+
* Used for `float` fields with operators `is` / `is_not`. The popover
|
|
10
|
+
* renders nothing when the operator is valueless (`is_empty` /
|
|
11
|
+
* `is_not_empty`). Range operators are not part of the current numeric
|
|
12
|
+
* field vocabulary.
|
|
13
|
+
*
|
|
14
|
+
* The control accepts decimal input and emits a `number` via `onChange`.
|
|
15
|
+
* We keep local display state as a string so partial input like `"3."` is
|
|
16
|
+
* preserved while the user types; the emitted numeric value is only updated
|
|
17
|
+
* once the input parses to a finite number.
|
|
18
|
+
*
|
|
19
|
+
* `isFocused` ref guards the external-value sync effect: typing a
|
|
20
|
+
* mid-decimal value like `"3."` parses to `3` and emits it, which
|
|
21
|
+
* round-trips back through the controlled `value` prop. Without the
|
|
22
|
+
* guard, the sync effect would rewrite the display from `"3."` to
|
|
23
|
+
* `"3"` and the next keystroke (`"7"`) would land at the wrong cursor
|
|
24
|
+
* position. The blur handler resyncs the display so any half-typed
|
|
25
|
+
* string that never parsed (`"-"`, `"."`) renders as whatever the
|
|
26
|
+
* rule actually carries when focus leaves.
|
|
27
|
+
*
|
|
28
|
+
* `onChange` is debounced (300ms) to avoid committing on every keystroke;
|
|
29
|
+
* the debounce flushes on blur and on unmount so no pending value is lost.
|
|
30
|
+
*/
|
|
31
|
+
declare const FloatValueControl: ({
|
|
32
|
+
field,
|
|
33
|
+
operator,
|
|
34
|
+
value,
|
|
35
|
+
onChange,
|
|
36
|
+
ariaLabel
|
|
37
|
+
}: FloatValueControlProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
38
|
+
//#endregion
|
|
39
|
+
export { FloatValueControl, FloatValueControl as default, FloatValueControlProps };
|
|
40
|
+
//# sourceMappingURL=FloatValueControl.d.mts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as Tooltip, n as TextWithDashedUnderline } from "./Tooltip-
|
|
2
|
-
import { n as useFormGroup } from "./useFormGroup-
|
|
3
|
-
import { n as useFormField, t as FormControlContext } from "./useFormField-
|
|
1
|
+
import { a as Tooltip, n as TextWithDashedUnderline } from "./Tooltip-C6AR1xT-.mjs";
|
|
2
|
+
import { n as useFormGroup } from "./useFormGroup-DWVW7A9f.mjs";
|
|
3
|
+
import { n as useFormField, t as FormControlContext } from "./useFormField-DhYd6bNn.mjs";
|
|
4
4
|
import { Color, Spacing, Typography } from "@persona/design-tokens";
|
|
5
5
|
import styled, { css } from "styled-components";
|
|
6
|
-
import { Children, forwardRef, isValidElement, useMemo } from "react";
|
|
7
6
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import {
|
|
7
|
+
import { Children, forwardRef, isValidElement, useMemo } from "react";
|
|
9
8
|
import uniqueId from "lodash/fp/uniqueId.js";
|
|
9
|
+
import { Root } from "@radix-ui/react-label";
|
|
10
10
|
//#region components/FormControl/FormControl.tsx
|
|
11
11
|
const LabelBase = styled(Root)`
|
|
12
12
|
${({ $size }) => {
|
|
@@ -165,4 +165,4 @@ const FormControl = forwardRef(function FormControl({ children, hasError, hasWar
|
|
|
165
165
|
//#endregion
|
|
166
166
|
export { FormLabel as a, FormInputContainer as i, ErrorText as n, HelperText as o, FormControl as r, WarningText as s, Container as t };
|
|
167
167
|
|
|
168
|
-
//# sourceMappingURL=FormControl-
|
|
168
|
+
//# sourceMappingURL=FormControl-B28qa7aQ.mjs.map
|