@persona/design-system 0.9.0 → 0.9.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 +16 -0
- package/dist/{Action-DcK0fRrq.d.mts → Action-BleGvmsy.d.mts} +2 -2
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +2 -2
- package/dist/{Badge-DLuyKRCQ.mjs → Badge-BYa-iqNE.mjs} +2 -2
- package/dist/{Badge-DLuyKRCQ.mjs.map → Badge-BYa-iqNE.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumbs-B8aXFPdV.mjs → Breadcrumbs-BmlndU4V.mjs} +8 -8
- package/dist/{Breadcrumbs-B8aXFPdV.mjs.map → Breadcrumbs-BmlndU4V.mjs.map} +1 -1
- package/dist/{Button-DKUomFPj.d.mts → Button-Dx7mHjWC.d.mts} +2 -2
- package/dist/Button.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-DMXDx1W7.d.mts → Card-BPY0OU7e.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/CardGrouping.d.mts +1 -1
- package/dist/{CardV2-JPGFAqui.mjs → CardV2-Cq4QODeE.mjs} +12 -12
- package/dist/{CardV2-JPGFAqui.mjs.map → CardV2-Cq4QODeE.mjs.map} +1 -1
- package/dist/{Checkbox-iSBIpu0l.mjs → Checkbox-Cttn1t8T.mjs} +10 -6
- package/dist/{Checkbox-iSBIpu0l.mjs.map → Checkbox-Cttn1t8T.mjs.map} +1 -1
- package/dist/{CheckboxGroupField-BMJwuTpJ.d.mts → CheckboxGroupField-BpHN_2QP.d.mts} +2 -2
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-C2R9eTPr.d.mts → Combobox-C4C2P8lF.d.mts} +3 -3
- package/dist/{Combobox-BkpRqaxB.mjs → Combobox-CsXnJKvB.mjs} +11 -11
- package/dist/{Combobox-BkpRqaxB.mjs.map → Combobox-CsXnJKvB.mjs.map} +1 -1
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BghIk4Vk.d.mts → ComboboxBase-2nVpt8oj.d.mts} +5 -5
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-CIOHnhrv.d.mts → ComboboxMultiSelect-BvJ--m6z.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-C1JZxli3.d.mts → ComboboxSingleSelect-BWrnRA2x.d.mts} +3 -3
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DPJAY1NB.d.mts → CompactBar-CmTT9iuT.d.mts} +2 -2
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-BBIJsQgy.mjs → ConfigFormGroup-C0orlWwb.mjs} +2 -2
- package/dist/{ConfigFormGroup-BBIJsQgy.mjs.map → ConfigFormGroup-C0orlWwb.mjs.map} +1 -1
- package/dist/DataTable.d.mts +1 -1
- package/dist/{DatePicker-CjuR6ORz.mjs → DatePicker-DQHVCGnP.mjs} +10 -10
- package/dist/{DatePicker-CjuR6ORz.mjs.map → DatePicker-DQHVCGnP.mjs.map} +1 -1
- package/dist/DateRangeValueControl.d.mts +1 -1
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-CRJDAGjJ.mjs → DropdownButton-C9wWnB5w.mjs} +3 -3
- package/dist/{DropdownButton-CRJDAGjJ.mjs.map → DropdownButton-C9wWnB5w.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-CNkQDiJr.d.mts → DropdownMenu-BZ62b8Cv.d.mts} +3 -3
- package/dist/{DropdownMenu-C2BHv8Lc.mjs → DropdownMenu-CPE8Q56k.mjs} +2 -2
- package/dist/{DropdownMenu-C2BHv8Lc.mjs.map → DropdownMenu-CPE8Q56k.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FieldRegistry-B7P4wC7y.d.mts → FieldRegistry-DAk_3PhH.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-clWmrKkT.d.mts → FilterBar-C7ch6kYM.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -1
- package/dist/FloatValueControl.d.mts +5 -4
- package/dist/{FormControl-jfjKwUfK.mjs → FormControl-CD_FdAXA.mjs} +4 -4
- package/dist/{FormControl-jfjKwUfK.mjs.map → FormControl-CD_FdAXA.mjs.map} +1 -1
- package/dist/{FormControl-C44o35FL.d.mts → FormControl-DX4vtUp6.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-CXznMtuS.d.mts → FormField-C80kGAIV.d.mts} +2 -2
- package/dist/{FormField-C3nUzhGT.mjs → FormField-DjysBTKn.mjs} +15 -15
- package/dist/{FormField-C3nUzhGT.mjs.map → FormField-DjysBTKn.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-DvpIsOUN.d.mts → Header-C-a5fL3k.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-C4tgbLYw.d.mts → HelperTooltip-hhMFkKmn.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +1 -1
- package/dist/{HoverCopyableField-1_LHm80n.mjs → HoverCopyableField-Cgu3W31s.mjs} +4 -4
- package/dist/{HoverCopyableField-1_LHm80n.mjs.map → HoverCopyableField-Cgu3W31s.mjs.map} +1 -1
- package/dist/{I18nContext-DlvagRAO.d.mts → I18nContext-ioYM_vqG.d.mts} +2 -2
- package/dist/I18nContext.d.mts +1 -1
- package/dist/{IconButton-Cqxfmrea.mjs → IconButton-D4awF770.mjs} +7 -7
- package/dist/{IconButton-Cqxfmrea.mjs.map → IconButton-D4awF770.mjs.map} +1 -1
- package/dist/{IconButton-Bt3WyiGq.d.mts → IconButton-DJ3L_ZqN.d.mts} +2 -2
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-CAsOWM0S.d.mts → Input-D3lXfJHq.d.mts} +3 -3
- package/dist/{Input-Cg2HxteL.mjs → Input-DD4jzJhK.mjs} +5 -5
- package/dist/{Input-Cg2HxteL.mjs.map → Input-DD4jzJhK.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +5 -4
- package/dist/{Link-Cf__H8gD.mjs → Link-DGZu4J0x.mjs} +4 -4
- package/dist/{Link-Cf__H8gD.mjs.map → Link-DGZu4J0x.mjs.map} +1 -1
- package/dist/{ListBox-CjNokYs6.mjs → ListBox-BhWLad_L.mjs} +12 -12
- package/dist/{ListBox-CjNokYs6.mjs.map → ListBox-BhWLad_L.mjs.map} +1 -1
- package/dist/{ListBox--IH6uofo.d.mts → ListBox-CjGb0mMY.d.mts} +3 -3
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-BUKop1Ca.d.mts → ListBoxField-BUkPeLiB.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/{LoadingShimmer-C73hJqaW.mjs → LoadingShimmer-Bqjdut7i.mjs} +1 -1
- package/dist/{LoadingShimmer-C73hJqaW.mjs.map → LoadingShimmer-Bqjdut7i.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-C8Hdl8xB.d.mts → LogicRow-Bt6NPLOd.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-BSHJpKyL.d.mts → Menu-BMrsN-Jz.d.mts} +4 -4
- package/dist/{Menu-CwKmfxKI.mjs → Menu-DlN0A5Nb.mjs} +4 -4
- package/dist/{Menu-CwKmfxKI.mjs.map → Menu-DlN0A5Nb.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{Modal-CoUHxtgN.d.mts → Modal-BoeGuR-h.d.mts} +3 -3
- package/dist/{Modal-BBIJVhv2.mjs → Modal-Cs5cZpEr.mjs} +4 -4
- package/dist/{Modal-BBIJVhv2.mjs.map → Modal-Cs5cZpEr.mjs.map} +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-5GyfuGLe.mjs → PageHeader-CCoAJUwJ.mjs} +2 -2
- package/dist/{PageHeader-5GyfuGLe.mjs.map → PageHeader-CCoAJUwJ.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageLayout-C7hDmoy_.d.mts → PageLayout-BlCo4hN4.d.mts} +2 -2
- package/dist/PageLayout.d.mts +1 -1
- package/dist/{PageSelector-CrUb586l.d.mts → PageSelector-BmevrorJ.d.mts} +2 -2
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-c4YBCy5d.mjs → Pagination-Du2CPW2l.mjs} +5 -5
- package/dist/{Pagination-c4YBCy5d.mjs.map → Pagination-Du2CPW2l.mjs.map} +1 -1
- package/dist/{Pii-oW_2TUUc.mjs → Pii-CFVWZ_Yx.mjs} +2 -2
- package/dist/{Pii-oW_2TUUc.mjs.map → Pii-CFVWZ_Yx.mjs.map} +1 -1
- package/dist/{PillShell-BkYHghx0.d.mts → PillShell-jr6OyAd3.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-BcII7usF.mjs → Popover-DewrGOJB.mjs} +2 -2
- package/dist/{Popover-BcII7usF.mjs.map → Popover-DewrGOJB.mjs.map} +1 -1
- package/dist/{ProgressIndicator-STyTM0Hq.mjs → ProgressIndicator-xV5Cl2Bw.mjs} +3 -3
- package/dist/{ProgressIndicator-STyTM0Hq.mjs.map → ProgressIndicator-xV5Cl2Bw.mjs.map} +1 -1
- package/dist/{Radio-CHme6WTz.mjs → Radio-i7AEQZHb.mjs} +4 -4
- package/dist/{Radio-CHme6WTz.mjs.map → Radio-i7AEQZHb.mjs.map} +1 -1
- package/dist/{RadioGroup-DOLRqHIZ.mjs → RadioGroup-B0KcQpS7.mjs} +2 -2
- package/dist/{RadioGroup-DOLRqHIZ.mjs.map → RadioGroup-B0KcQpS7.mjs.map} +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-d9tHqWce.mjs → SegmentedControl-B2_bS806.mjs} +2 -2
- package/dist/{SegmentedControl-d9tHqWce.mjs.map → SegmentedControl-B2_bS806.mjs.map} +1 -1
- package/dist/{Select-Ek-A2Cpo.d.mts → Select-BpAA5ETS.d.mts} +2 -2
- package/dist/{Select-Da6UZicF.mjs → Select-oVJ0uLa7.mjs} +8 -8
- package/dist/{Select-Da6UZicF.mjs.map → Select-oVJ0uLa7.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +1 -1
- package/dist/SmartTextInputField.d.mts +2 -2
- package/dist/SmartTextInputFunctionDialog.d.mts +1 -1
- package/dist/SmartTextInputPopover.d.mts +1 -1
- package/dist/{Spinner-C4UyK9If.mjs → Spinner-0Vqw_68r.mjs} +2 -2
- package/dist/{Spinner-C4UyK9If.mjs.map → Spinner-0Vqw_68r.mjs.map} +1 -1
- package/dist/{Stack-D0Dt776K.d.mts → Stack-DpWl6orU.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-akDwBiBW.mjs → StatusIndicator-QsVgjRrt.mjs} +3 -3
- package/dist/{StatusIndicator-akDwBiBW.mjs.map → StatusIndicator-QsVgjRrt.mjs.map} +1 -1
- package/dist/{Sticker-Cit5EKiU.d.mts → Sticker-C260e6kl.d.mts} +4 -4
- package/dist/{Sticker-_vmpUMfk.mjs → Sticker-CUqHa9Mo.mjs} +5 -5
- package/dist/{Sticker-_vmpUMfk.mjs.map → Sticker-CUqHa9Mo.mjs.map} +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +2 -2
- package/dist/{TabBar-CmYqreN0.mjs → TabBar-w_gxXSwA.mjs} +5 -5
- package/dist/{TabBar-CmYqreN0.mjs.map → TabBar-w_gxXSwA.mjs.map} +1 -1
- package/dist/{Table-CV8nogHu.mjs → Table-PbYGf3PG.mjs} +8 -8
- package/dist/{Table-CV8nogHu.mjs.map → Table-PbYGf3PG.mjs.map} +1 -1
- package/dist/{TableBox-vCTkOPlC.mjs → TableBox-DMYLTIpr.mjs} +13 -13
- package/dist/{TableBox-vCTkOPlC.mjs.map → TableBox-DMYLTIpr.mjs.map} +1 -1
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-BkJ587Lf.d.mts → TableBoxCell-DwAOA-oO.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-Dj9Cx9NP.d.mts → TableBoxField-Bdj_nY7j.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-CpR9Cti1.d.mts → TableBoxRow-5WBwyAyn.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-Bj-LZaI7.d.mts → TableBoxRowActions-Dq_Z2ted.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-DOjW6ADs.d.mts → TableCell-DXBHZ52E.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-BtKBTGYR.mjs → TableControls-C1MF2JvY.mjs} +101 -33
- package/dist/TableControls-C1MF2JvY.mjs.map +1 -0
- package/dist/{TechnicalSticker-BhUxOU-L.mjs → TechnicalSticker-RQ-4_Tdr.mjs} +5 -5
- package/dist/{TechnicalSticker-BhUxOU-L.mjs.map → TechnicalSticker-RQ-4_Tdr.mjs.map} +1 -1
- package/dist/{Text-CUhW_agW.d.mts → Text-BBMau410.d.mts} +2 -2
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-J_EscGvm.mjs → TextArea-BaA8H7s7.mjs} +2 -2
- package/dist/{TextArea-J_EscGvm.mjs.map → TextArea-BaA8H7s7.mjs.map} +1 -1
- package/dist/{TextUnderlineTooltip-DCVONTD0.d.mts → TextUnderlineTooltip-C4N0bqbh.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/{Toggle-BEOoATjS.mjs → Toggle-C9cZnajR.mjs} +6 -6
- package/dist/{Toggle-BEOoATjS.mjs.map → Toggle-C9cZnajR.mjs.map} +1 -1
- package/dist/{Tooltip-DLK9Q2Rg.d.mts → Tooltip-Dj-DtGKz.d.mts} +3 -3
- package/dist/{Tooltip-B-0VRuKT.mjs → Tooltip-DogEteGl.mjs} +2 -2
- package/dist/{Tooltip-B-0VRuKT.mjs.map → Tooltip-DogEteGl.mjs.map} +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-B_u70y6w.d.mts → TruncatedText-BDNFUuhG.d.mts} +2 -2
- package/dist/WizardModal.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +4 -4
- package/dist/components/Attribute/index.mjs +4 -4
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +3 -3
- package/dist/components/BottomPanel/index.mjs +4 -4
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +2 -2
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +3 -3
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +15 -15
- package/dist/components/DataTable/TableControls/index.mjs +2 -2
- package/dist/components/DataTable/index.mjs +18 -18
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +5 -5
- package/dist/components/FormControl/index.d.mts +1 -1
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +5 -5
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +7 -7
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +1 -1
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +3 -3
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.mjs +2 -2
- package/dist/components/SmartTextInput/index.mjs +9 -8
- package/dist/components/SmartTextInput/index.mjs.map +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +1 -1
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +1 -1
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +4 -4
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/components/VersionHistory/index.mjs +7 -7
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{date-filter-B8PKh5vg.mjs → date-filter-CWgCXz85.mjs} +1 -1
- package/dist/{date-filter-B8PKh5vg.mjs.map → date-filter-CWgCXz85.mjs.map} +1 -1
- package/dist/{date-range-rule-value-BTlHwhVf.d.mts → date-range-rule-value-BkbGpLNH.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/display.d.mts +2 -2
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-D3ZSzFKe.d.mts → filter-size-context-CW1guBfI.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{i18n-DeJa-arS.mjs → i18n-CeRarJIa.mjs} +5 -2
- package/dist/i18n-CeRarJIa.mjs.map +1 -0
- package/dist/{index-B13LwAGD.d.mts → index-C7hEdRqK.d.mts} +2 -2
- package/dist/{index-DHmZDtDG.d.mts → index-DxFh2ArY.d.mts} +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +14 -14
- package/dist/{inputFields-DHdFgzS2.d.mts → inputFields-BCNC1FWx.d.mts} +6 -6
- package/dist/inputFields.d.mts +1 -1
- package/dist/{intersperse-DWUGtKug.mjs → intersperse-B8s6clcc.mjs} +1 -1
- package/dist/{intersperse-DWUGtKug.mjs.map → intersperse-B8s6clcc.mjs.map} +1 -1
- package/dist/lib/PDSProvider.d.mts +1 -1
- package/dist/lib/PDSProvider.mjs +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
- package/dist/lib/date-filter/index.mjs +1 -1
- package/dist/lib/i18n/index.d.mts +2 -2
- package/dist/lib/i18n/index.mjs +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/mixins/focus.mjs +1 -1
- package/dist/mixins/hoverable.mjs +1 -1
- package/dist/mixins/input.mjs +2 -2
- package/dist/{operators-B12UYEsV.d.mts → operators-C34nhBuK.d.mts} +33 -5
- package/dist/operators.d.mts +2 -2
- package/dist/patterns/CardGrouping/index.mjs +7 -7
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
- package/dist/patterns/PageLayout/index.d.mts +1 -1
- package/dist/patterns/WizardModal/index.mjs +3 -3
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/{strings-DQ3vxBj8.d.mts → strings-CUZrwL-Q.d.mts} +5 -1
- package/dist/strings.d.mts +1 -1
- package/dist/tone.d.mts +1 -1
- package/dist/{types-eemD0jxb.d.mts → types-C_ZEgHNa.d.mts} +2 -2
- package/dist/{types-CM8L7-ij.d.mts → types-DEzlAdZW.d.mts} +5 -1
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/{url-state-BW1mN6WQ.d.mts → url-state-B_gTQ9uu.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-BreIP4fW.d.mts → useChain-DPRVMwX8.d.mts} +2 -2
- package/dist/useChainAtCursor.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-B8VebPBe.d.mts → useFilterStateV2-BQZppUR0.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-J0LiPcpm.mjs → useFormField-BAmkdxtA.mjs} +2 -2
- package/dist/{useFormField-J0LiPcpm.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
- package/dist/{useFormGroup-CALbrUkl.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
- package/dist/{useFormGroup-CALbrUkl.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-ZHnFPRP6.d.mts → validation-BODkbEvr.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-D3qzy8Kk.d.mts → value-control-resolver-BcZiReQ7.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/package.json +3 -3
- package/dist/TableControls-BtKBTGYR.mjs.map +0 -1
- package/dist/i18n-DeJa-arS.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-
|
|
2
|
-
import { a as TableCellProps, i as TableCell } from "./TableCell-
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-
|
|
1
|
+
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-2nVpt8oj.mjs";
|
|
2
|
+
import { a as TableCellProps, i as TableCell } from "./TableCell-DXBHZ52E.mjs";
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-5WBwyAyn.mjs";
|
|
4
4
|
import { n as ReorderConfig, t as DragDirection } from "./useTableBoxDragAndDrop-Dq30b6yY.mjs";
|
|
5
|
-
import { t as RowAction } from "./TableBoxRowActions-
|
|
5
|
+
import { t as RowAction } from "./TableBoxRowActions-Dq_Z2ted.mjs";
|
|
6
|
+
import * as _$styled_components0 from "styled-components";
|
|
6
7
|
import * as _$react from "react";
|
|
7
8
|
import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
|
|
8
|
-
import * as _$styled_components0 from "styled-components";
|
|
9
9
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
10
10
|
|
|
11
11
|
//#region components/TableBox/TableBox.d.ts
|
|
@@ -273,4 +273,4 @@ declare const TableBoxCell: ({
|
|
|
273
273
|
}: TableBoxCellProps) => _$react_jsx_runtime0.JSX.Element;
|
|
274
274
|
//#endregion
|
|
275
275
|
export { TableBox as a, PinnedActionsCell as i, TableBoxCellProps as n, TableBoxContext as o, InlineEditConfig as r, TableBoxProps as s, TableBoxCell as t };
|
|
276
|
-
//# sourceMappingURL=TableBoxCell-
|
|
276
|
+
//# sourceMappingURL=TableBoxCell-DwAOA-oO.d.mts.map
|
package/dist/TableBoxCell.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-
|
|
1
|
+
import { n as TableBoxCellProps, t as TableBoxCell } from "./TableBoxCell-DwAOA-oO.mjs";
|
|
2
2
|
export { TableBoxCellProps, TableBoxCell as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
2
|
-
import { o as ImplementsFormField } from "./inputFields-
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-
|
|
4
|
-
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-BMrsN-Jz.mjs";
|
|
2
|
+
import { o as ImplementsFormField } from "./inputFields-BCNC1FWx.mjs";
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-5WBwyAyn.mjs";
|
|
4
|
+
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-DwAOA-oO.mjs";
|
|
5
5
|
import { MouseEvent, ReactNode } from "react";
|
|
6
6
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -100,4 +100,4 @@ declare const TableBoxField: {
|
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
102
|
export { TableBoxFieldActionGroup as a, TableBoxFieldActionEntry as i, TableBoxField as n, TableBoxFieldAction as r, TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL as t };
|
|
103
|
-
//# sourceMappingURL=TableBoxField-
|
|
103
|
+
//# sourceMappingURL=TableBoxField-Bdj_nY7j.d.mts.map
|
package/dist/TableBoxField.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableBoxFieldActionGroup, i as TableBoxFieldActionEntry, n as TableBoxField, r as TableBoxFieldAction, t as TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL } from "./TableBoxField-
|
|
1
|
+
import { a as TableBoxFieldActionGroup, i as TableBoxFieldActionEntry, n as TableBoxField, r as TableBoxFieldAction, t as TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL } from "./TableBoxField-Bdj_nY7j.mjs";
|
|
2
2
|
export { TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL, TableBoxFieldAction, TableBoxFieldActionEntry, TableBoxFieldActionGroup, TableBoxField as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-BMrsN-Jz.mjs";
|
|
2
2
|
import { t as TableRow } from "./TableRow-Dad6_CoD.mjs";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -83,4 +83,4 @@ declare const TableBoxRowOverlay: ({
|
|
|
83
83
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
84
84
|
//#endregion
|
|
85
85
|
export { TableBoxRowOverlay as n, TableBoxRowProps as r, TableBoxRow as t };
|
|
86
|
-
//# sourceMappingURL=TableBoxRow-
|
|
86
|
+
//# sourceMappingURL=TableBoxRow-5WBwyAyn.d.mts.map
|
package/dist/TableBoxRow.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-
|
|
1
|
+
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-5WBwyAyn.mjs";
|
|
2
2
|
export { TableBoxRowOverlay, TableBoxRowProps, TableBoxRow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-BMrsN-Jz.mjs";
|
|
2
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -54,4 +54,4 @@ declare const RowActions: ({
|
|
|
54
54
|
}: RowActionsProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { RowActionsContainerWithFadeWidth as i, RowActions as n, RowActionsContainer as r, RowAction as t };
|
|
57
|
-
//# sourceMappingURL=TableBoxRowActions-
|
|
57
|
+
//# sourceMappingURL=TableBoxRowActions-Dq_Z2ted.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-
|
|
1
|
+
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-Dq_Z2ted.mjs";
|
|
2
2
|
export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as TableRowProps } from "./TableRow-Dad6_CoD.mjs";
|
|
2
|
-
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
|
+
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region components/Table/TableCell.d.ts
|
|
@@ -51,4 +51,4 @@ declare const TableTR: _$styled_components0.StyledComponent<"tr", any, {
|
|
|
51
51
|
}, "role">;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { TableCellProps as a, TableTD as c, TableCell as i, TableTR as l, StickyTH as n, TableCellTitle as o, TableActionTD as r, TableIconTD as s, StickyTD as t };
|
|
54
|
-
//# sourceMappingURL=TableCell-
|
|
54
|
+
//# sourceMappingURL=TableCell-DXBHZ52E.d.mts.map
|
package/dist/TableCell.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-
|
|
1
|
+
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-DXBHZ52E.mjs";
|
|
2
2
|
export { StickyTD, StickyTH, TableActionTD, TableCellProps, TableCellTitle, TableIconTD, TableTD, TableTR, TableCell as default };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { a as styled, n as createGlobalStyle, r as css } from "./styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { TruncatedText } from "./lib/TruncatedText.mjs";
|
|
2
|
+
import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
4
3
|
import { semanticColor, semanticOnly, semanticTokens } from "./lib/semanticColor.mjs";
|
|
4
|
+
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
5
|
+
import "./variables/transitions.mjs";
|
|
6
|
+
import { transparent, withAlpha } from "./lib/color.mjs";
|
|
7
|
+
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
5
8
|
import { paragraphMixins } from "./mixins/text.mjs";
|
|
9
|
+
import { c as usePDSLocale, i as formatDateTime, l as usePDSStrings, u as DEFAULT_COMMON_STRINGS } from "./i18n-CeRarJIa.mjs";
|
|
10
|
+
import { TruncatedText } from "./lib/TruncatedText.mjs";
|
|
6
11
|
import { t as Card_default } from "./Card-BXNxWX5C.mjs";
|
|
7
12
|
import { t as Spacer_default } from "./Spacer-J_HuhxX2.mjs";
|
|
8
13
|
import { i as Paragraph, r as Label$1 } from "./Text-CSwFifQF.mjs";
|
|
9
|
-
import "./
|
|
10
|
-
import { a as Tooltip } from "./Tooltip-B-0VRuKT.mjs";
|
|
11
|
-
import { transparent, withAlpha } from "./lib/color.mjs";
|
|
14
|
+
import { a as Tooltip } from "./Tooltip-DogEteGl.mjs";
|
|
12
15
|
import { letPointerDownReachDocument } from "./lib/letPointerDownReachDocument.mjs";
|
|
13
|
-
import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
14
16
|
import { moveItemByIndex } from "./lib/reorderItems.mjs";
|
|
15
17
|
import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
|
|
16
18
|
import { Z_INDICES } from "./lib/zindex.mjs";
|
|
17
|
-
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
18
|
-
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
19
19
|
import { n as Stack, t as HStack } from "./Stack-BkC7FCdF.mjs";
|
|
20
|
-
import {
|
|
21
|
-
import { n as
|
|
22
|
-
import {
|
|
23
|
-
import { r as InputGroup } from "./Input-Cg2HxteL.mjs";
|
|
20
|
+
import { n as Button, t as IconButton } from "./IconButton-D4awF770.mjs";
|
|
21
|
+
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-w_gxXSwA.mjs";
|
|
22
|
+
import { r as InputGroup } from "./Input-DD4jzJhK.mjs";
|
|
24
23
|
import Input_default from "./components/Input/index.mjs";
|
|
25
|
-
import { c as MenuList, s as MenuItem } from "./Menu-
|
|
26
|
-
import { n as DropdownMenu_default } from "./DropdownMenu-
|
|
27
|
-
import { t as Combobox } from "./Combobox-
|
|
28
|
-
import { s as Popover_default } from "./Popover-
|
|
29
|
-
import { i as Modal_default } from "./Modal-
|
|
30
|
-
import { t as Toggle } from "./Toggle-
|
|
31
|
-
import { t as
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
24
|
+
import { c as MenuList, s as MenuItem } from "./Menu-DlN0A5Nb.mjs";
|
|
25
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-CPE8Q56k.mjs";
|
|
26
|
+
import { t as Combobox } from "./Combobox-CsXnJKvB.mjs";
|
|
27
|
+
import { s as Popover_default } from "./Popover-DewrGOJB.mjs";
|
|
28
|
+
import { i as Modal_default } from "./Modal-Cs5cZpEr.mjs";
|
|
29
|
+
import { t as Toggle } from "./Toggle-C9cZnajR.mjs";
|
|
30
|
+
import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue, t as formatDateFilterValue } from "./date-filter-CWgCXz85.mjs";
|
|
31
|
+
import { t as ListBox } from "./ListBox-BhWLad_L.mjs";
|
|
32
|
+
import { m as FormField, o as ComboboxField } from "./FormField-DjysBTKn.mjs";
|
|
33
|
+
import { r as DatePicker, t as DateRangePicker } from "./DatePicker-DQHVCGnP.mjs";
|
|
34
34
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
35
35
|
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
36
36
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1528,6 +1528,55 @@ const OPERATORS_BY_TYPE = {
|
|
|
1528
1528
|
signals: ["is"],
|
|
1529
1529
|
date_range: ["is"]
|
|
1530
1530
|
};
|
|
1531
|
+
/**
|
|
1532
|
+
* Numeric comparison operators. Together with `is` (is equal to) they give
|
|
1533
|
+
* `integer` and `float` fields greater-than / less-than / equal-to filtering.
|
|
1534
|
+
* Inclusive bounds are deliberately not offered: "at least 5" is
|
|
1535
|
+
* `gt 5` OR `is 5`, built with the Rules editor.
|
|
1536
|
+
*
|
|
1537
|
+
* They are opt-in rather than part of the default numeric vocabulary above:
|
|
1538
|
+
* a host whose backend serializes them lists them in the field's
|
|
1539
|
+
* `allowedOperators` (e.g. `['is', ...NUMERIC_COMPARISON_OPERATORS]`).
|
|
1540
|
+
* Adding them to the default vocabulary would surface operators in every
|
|
1541
|
+
* existing numeric field whose host can't serialize them.
|
|
1542
|
+
*/
|
|
1543
|
+
const NUMERIC_COMPARISON_OPERATORS = ["gt", "lt"];
|
|
1544
|
+
const NUMERIC_COMPARISON_OPERATOR_SET = new Set(NUMERIC_COMPARISON_OPERATORS);
|
|
1545
|
+
const NUMERIC_FIELD_TYPES = new Set(["integer", "float"]);
|
|
1546
|
+
function isNumericComparisonOperator(operator) {
|
|
1547
|
+
return NUMERIC_COMPARISON_OPERATOR_SET.has(operator);
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Whether a comparison value is complete for a numeric field: a finite
|
|
1551
|
+
* number, and a safe integer when the field is an `integer`. Strings are
|
|
1552
|
+
* rejected — the numeric value controls always emit numbers, so a string
|
|
1553
|
+
* here is a corrupted or hand-crafted rule the backend can't compare.
|
|
1554
|
+
*/
|
|
1555
|
+
function isCompleteNumericComparisonValue(value, fieldType) {
|
|
1556
|
+
if (typeof value !== "number" || !Number.isFinite(value)) return false;
|
|
1557
|
+
return fieldType === "integer" ? Number.isSafeInteger(value) : true;
|
|
1558
|
+
}
|
|
1559
|
+
/**
|
|
1560
|
+
* Carry `value` into a numeric comparison. Equality rules on numeric fields
|
|
1561
|
+
* tolerate strings (v1 URLs hydrate `'5'`), but a comparison is only complete
|
|
1562
|
+
* with a number, so a numeric string is converted — truncated on `integer`
|
|
1563
|
+
* fields, matching what `IntegerValueControl` emits — and anything else
|
|
1564
|
+
* becomes an empty draft rather than a committed rule validation rejects.
|
|
1565
|
+
*/
|
|
1566
|
+
function numericComparisonValue(value, fieldType) {
|
|
1567
|
+
const parsed = typeof value === "number" ? value : typeof value === "string" && value.trim() !== "" ? Number(value) : NaN;
|
|
1568
|
+
if (!Number.isFinite(parsed)) return "";
|
|
1569
|
+
const normalized = fieldType === "integer" ? Math.trunc(parsed) : parsed;
|
|
1570
|
+
return isCompleteNumericComparisonValue(normalized, fieldType) ? normalized : "";
|
|
1571
|
+
}
|
|
1572
|
+
/**
|
|
1573
|
+
* Whether `(fieldType, operator)` is a built-in numeric comparison — the
|
|
1574
|
+
* case validators and labels specialize. Comparisons on non-numeric types
|
|
1575
|
+
* (only reachable through `condition`) are not.
|
|
1576
|
+
*/
|
|
1577
|
+
function isNumericComparison(operator, fieldType) {
|
|
1578
|
+
return fieldType != null && NUMERIC_FIELD_TYPES.has(fieldType) && isNumericComparisonOperator(operator);
|
|
1579
|
+
}
|
|
1531
1580
|
/** Operators that have no value control (the operator itself is the predicate). */
|
|
1532
1581
|
const VALUELESS_OPERATORS = new Set(["is_empty", "is_not_empty"]);
|
|
1533
1582
|
/**
|
|
@@ -1652,10 +1701,24 @@ const OPERATOR_LABEL_KEYS = {
|
|
|
1652
1701
|
* Only present for `(fieldType, operator)` pairs that diverge from the
|
|
1653
1702
|
* generic label; everything else falls through to `OPERATOR_LABEL_KEYS`.
|
|
1654
1703
|
*/
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1704
|
+
/**
|
|
1705
|
+
* Numeric fields read as a sentence ("Members is equal to 5", "Members is greater
|
|
1706
|
+
* than 5") rather than the generic "is" / bare `>` labels. `is_not` keeps the
|
|
1707
|
+
* generic "is not".
|
|
1708
|
+
*/
|
|
1709
|
+
const NUMERIC_LABEL_KEYS = {
|
|
1710
|
+
is: "operatorIsEqualTo",
|
|
1711
|
+
gt: "operatorIsGreaterThan",
|
|
1712
|
+
lt: "operatorIsLessThan"
|
|
1713
|
+
};
|
|
1714
|
+
const OPERATOR_LABEL_KEYS_BY_TYPE = {
|
|
1715
|
+
multi_choices: {
|
|
1716
|
+
is: "operatorIsAnyOf",
|
|
1717
|
+
is_not: "operatorIsNoneOf"
|
|
1718
|
+
},
|
|
1719
|
+
integer: NUMERIC_LABEL_KEYS,
|
|
1720
|
+
float: NUMERIC_LABEL_KEYS
|
|
1721
|
+
};
|
|
1659
1722
|
/**
|
|
1660
1723
|
* The label for `operator`, specialized for `fieldType` where the generic label is ambiguous.
|
|
1661
1724
|
* Pass `strings` from `usePDSStrings()` to translate it; English when omitted.
|
|
@@ -1721,6 +1784,7 @@ function reconcileValueForOperator(field, nextOperator, previousOperator, value)
|
|
|
1721
1784
|
if (isValuelessOperator(nextOperator, field)) return null;
|
|
1722
1785
|
if (field.condition != null) return getConditionOperator(field, nextOperator)?.valueType === getConditionOperator(field, previousOperator)?.valueType ? value ?? emptyValueForRule(field, nextOperator) : emptyValueForRule(field, nextOperator);
|
|
1723
1786
|
if (isRangeOperator(nextOperator) !== isRangeOperator(previousOperator)) return emptyValueForRule(field, nextOperator);
|
|
1787
|
+
if (isNumericComparison(nextOperator, field.type)) return numericComparisonValue(value, field.type);
|
|
1724
1788
|
if (field.type === "date" && nextOperator === "is" && typeof value === "string" && TIME_COMPONENT$1.test(value)) return DateTime.fromISO(value).setZone(Settings.defaultZone).toISODate();
|
|
1725
1789
|
if (field.type === "date" && (previousOperator === "before" || previousOperator === "after") && (nextOperator === "before" || nextOperator === "after") && previousOperator !== nextOperator && typeof value === "string" && TIME_COMPONENT$1.test(value)) {
|
|
1726
1790
|
const dateTime = DateTime.fromISO(value, { setZone: true });
|
|
@@ -2931,10 +2995,11 @@ function numericDisplayValue(value) {
|
|
|
2931
2995
|
/**
|
|
2932
2996
|
* Float-typed value control for the Filter UI v2 popover.
|
|
2933
2997
|
*
|
|
2934
|
-
* Used for `float` fields with operators `is` / `is_not
|
|
2998
|
+
* Used for `float` fields with operators `is` / `is_not`, and with the
|
|
2999
|
+
* opt-in comparisons `gt` / `lt` when the field's
|
|
3000
|
+
* `allowedOperators` lists them — all carry a single number. The popover
|
|
2935
3001
|
* renders nothing when the operator is valueless (`is_empty` /
|
|
2936
|
-
* `is_not_empty`). Range operators are not part of the
|
|
2937
|
-
* field vocabulary.
|
|
3002
|
+
* `is_not_empty`). Range operators are not part of the numeric vocabulary.
|
|
2938
3003
|
*
|
|
2939
3004
|
* The control accepts decimal input and emits a `number` via `onChange`.
|
|
2940
3005
|
* We keep local display state as a string so partial input like `"3."` is
|
|
@@ -3008,10 +3073,11 @@ const FloatValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
|
3008
3073
|
/**
|
|
3009
3074
|
* Integer-typed value control for the Filter UI v2 popover.
|
|
3010
3075
|
*
|
|
3011
|
-
* Used for `integer` fields with operators `is` / `is_not
|
|
3076
|
+
* Used for `integer` fields with operators `is` / `is_not`, and with the
|
|
3077
|
+
* opt-in comparisons `gt` / `lt` when the field's
|
|
3078
|
+
* `allowedOperators` lists them — all carry a single number. The popover
|
|
3012
3079
|
* renders nothing when the operator is valueless (`is_empty` /
|
|
3013
|
-
* `is_not_empty`). Range operators are not part of the
|
|
3014
|
-
* field vocabulary.
|
|
3080
|
+
* `is_not_empty`). Range operators are not part of the numeric vocabulary.
|
|
3015
3081
|
*
|
|
3016
3082
|
* The control accepts any numeric input but always emits an integer via
|
|
3017
3083
|
* `onChange`. We truncate (rather than round) so that typing `3` -> `3.` -> `3.7`
|
|
@@ -4050,6 +4116,7 @@ function isRuleAllowed(rule, registry, options = { allowDraftValues: false }) {
|
|
|
4050
4116
|
if (isValuelessOperator(rule.operator)) return rule.value == null;
|
|
4051
4117
|
if (options.allowDraftValues && isDraftRuleValue(rule, registry)) return true;
|
|
4052
4118
|
if (isRangeOperator(rule.operator)) return isCompleteDateRange(rule.value);
|
|
4119
|
+
if (isNumericComparison(rule.operator, field.type)) return isCompleteNumericComparisonValue(rule.value, field.type);
|
|
4053
4120
|
if (registry.get(rule.fieldId)?.type === "boolean") return typeof rule.value === "boolean";
|
|
4054
4121
|
if (registry.get(rule.fieldId)?.type === "date") return typeof rule.value === "string" && rule.value.length > 0;
|
|
4055
4122
|
if (registry.get(rule.fieldId)?.type === "multi_choices") {
|
|
@@ -4079,6 +4146,7 @@ function hasCompleteValue(rule, registry) {
|
|
|
4079
4146
|
const { value } = rule;
|
|
4080
4147
|
if (value == null) return false;
|
|
4081
4148
|
if (isRangeOperator(rule.operator)) return isCompleteDateRange(value);
|
|
4149
|
+
if (field != null && isNumericComparison(rule.operator, field.type)) return isCompleteNumericComparisonValue(value, field.type);
|
|
4082
4150
|
switch (registry.get(rule.fieldId)?.type) {
|
|
4083
4151
|
case "boolean": return typeof value === "boolean";
|
|
4084
4152
|
case "date": return typeof value === "string" && value.length > 0;
|
|
@@ -4930,6 +4998,6 @@ function decodeBase64(input) {
|
|
|
4930
4998
|
return decodeURIComponent(escape(atob(input)));
|
|
4931
4999
|
}
|
|
4932
5000
|
//#endregion
|
|
4933
|
-
export {
|
|
5001
|
+
export { dateRuleIntent as A, getOperatorsForField as C, isRangeOperator as D, isNumericComparisonOperator as E, TableViewConfigurationDropdown as F, TableControls as I, ControlBar as L, TableControlsProvider as M, useTableControls as N, isValuelessOperator as O, TableViewConfiguration as P, DataTableCompactBar as R, getDefaultOperatorForType as S, isCompleteDateRange as T, FILTER_SIZE_TOKENS as _, encodeFilterStateToUrlParam as a, NUMERIC_COMPARISON_OPERATORS as b, FilterBar_default as c, isFilterStateV2 as d, pruneToRegistry as f, resolveValueControl as g, PillShell as h, decodeFilterStateFromUrl as i, TableControlsContext as j, reconcileValueForOperator as k, useFilterStateV2 as l, isEmptyState as m, applyFilterStateToSearchParams as n, FieldRegistry as o, EMPTY_FILTER_STATE as p, decodeFilterStateFromString as r, buildFieldRegistry as s, FILTER_STATE_URL_PARAM as t, hasCompleteValue as u, useFilterBarSize as v, getOperatorsForType as w, emptyValueForRule as x, resolveDateRangeRuleValue as y };
|
|
4934
5002
|
|
|
4935
|
-
//# sourceMappingURL=TableControls-
|
|
5003
|
+
//# sourceMappingURL=TableControls-C1MF2JvY.mjs.map
|