@persona/design-system 0.8.0 → 0.8.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 +241 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-B-AiHknZ.d.mts → Action-BwYS9qaG.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +4 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +5 -3
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +3 -3
- package/dist/{Badge-COqUjFQu.mjs → Badge-D-5tbZDw.mjs} +2 -2
- package/dist/{Badge-COqUjFQu.mjs.map → Badge-D-5tbZDw.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-DRFY46ZW.d.mts → Breadcrumb-BADja8tn.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-DXS7rU7_.mjs → Breadcrumbs-CNpM0aXm.mjs} +5 -5
- package/dist/{Breadcrumbs-DXS7rU7_.mjs.map → Breadcrumbs-CNpM0aXm.mjs.map} +1 -1
- package/dist/{Breadcrumbs-DUSbT1I7.d.mts → Breadcrumbs-CxP7ktfM.d.mts} +2 -2
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-xZ6DC5XC.d.mts → Button-CnswHEJ2.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-dPmo2dkj.d.mts → Calendar-Cke5IlMI.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CUeM8Lh8.d.mts → Card-Bp6L08H4.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{CardV2-D9p7D7jX.mjs → CardV2-DEW6mw_o.mjs} +7 -7
- package/dist/{CardV2-D9p7D7jX.mjs.map → CardV2-DEW6mw_o.mjs.map} +1 -1
- package/dist/{Checkbox-DoJpxPEz.d.mts → Checkbox-DUXws1Os.d.mts} +1 -1
- package/dist/{Checkbox-DQynkc_I.mjs → Checkbox-GibG2pg5.mjs} +3 -3
- package/dist/{Checkbox-DQynkc_I.mjs.map → Checkbox-GibG2pg5.mjs.map} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField-DzdOYIjo.d.mts +25 -0
- package/dist/CheckboxGroupField.d.mts +2 -25
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-C_kCY3P3.mjs → Combobox-CCDoNF9Y.mjs} +9 -9
- package/dist/{Combobox-C_kCY3P3.mjs.map → Combobox-CCDoNF9Y.mjs.map} +1 -1
- package/dist/{Combobox-D7hyf-jA.d.mts → Combobox-CnxmKUQf.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BMCY6O7Y.d.mts → ComboboxBase-CtNrsPO9.d.mts} +6 -6
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-L0KYMkmm.d.mts → ComboboxMultiSelect-CMH6iVu4.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-v5oNrJ7M.d.mts → ComboboxSingleSelect-BLPbLmMY.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DjFaUAsN.d.mts → CompactBar-BwKIIlWz.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-DLOZOuLf.mjs → ConfigFormGroup-BQXN2Pgj.mjs} +2 -2
- package/dist/{ConfigFormGroup-DLOZOuLf.mjs.map → ConfigFormGroup-BQXN2Pgj.mjs.map} +1 -1
- package/dist/{ControlBar-Cegjxa6-.d.mts → ControlBar-BJUY6GOX.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +3 -3
- package/dist/{DateField-Dk5ykLdr.d.mts → DateField-BojOHfrv.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-Dtvv0V45.d.mts → DatePicker-BHVx_i_F.d.mts} +2 -2
- package/dist/{DatePicker-C7z1yodK.mjs → DatePicker-LPIJrc0n.mjs} +6 -6
- package/dist/{DatePicker-C7z1yodK.mjs.map → DatePicker-LPIJrc0n.mjs.map} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-HPYsa4wC.d.mts → DateRangePicker-CelDK_44.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +2 -2
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-CQrFHOIW.mjs → DropdownButton-i5Dmxiq1.mjs} +3 -3
- package/dist/{DropdownButton-CQrFHOIW.mjs.map → DropdownButton-i5Dmxiq1.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-D1qvgGTZ.d.mts → DropdownMenu-YtLxcNWt.d.mts} +2 -2
- package/dist/{DropdownMenu-rm9Nnxn7.mjs → DropdownMenu-j8NWbAvM.mjs} +2 -2
- package/dist/{DropdownMenu-rm9Nnxn7.mjs.map → DropdownMenu-j8NWbAvM.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-B8-Mqf1W.d.mts → ErrorProps-6dRdJ4QQ.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-0LmSQ-jc.d.mts → FieldRegistry-DqO8HiYb.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-BMM4Swbt.d.mts → FilterBar-CpAA2Ozk.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 +8 -2
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-Dg8doZq2.d.mts → FormControl-B-s6G9mp.d.mts} +2 -2
- package/dist/{FormControl-DXrxoJLl.mjs → FormControl-bDxFF0hl.mjs} +3 -3
- package/dist/{FormControl-DXrxoJLl.mjs.map → FormControl-bDxFF0hl.mjs.map} +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BeLigf9j.d.mts → FormField-D3k-f3-f.d.mts} +2 -2
- package/dist/{FormField-Crp3F-hv.mjs → FormField-DbcqNcx2.mjs} +16 -16
- package/dist/{FormField-Crp3F-hv.mjs.map → FormField-DbcqNcx2.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-eMLuyRzV.mjs → Grid-CeH9E5Ai.mjs} +1 -1
- package/dist/{Grid-eMLuyRzV.mjs.map → Grid-CeH9E5Ai.mjs.map} +1 -1
- package/dist/{Header-DxJ6TfPw.d.mts → Header-2K49LYkR.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-DcyrpEZI.d.mts → HelperTooltip-CTHUM2nC.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +61 -0
- package/dist/{HoverCopyableField-12bBuG-d.mjs → HoverCopyableField-BARZLhfO.mjs} +3 -3
- package/dist/{HoverCopyableField-12bBuG-d.mjs.map → HoverCopyableField-BARZLhfO.mjs.map} +1 -1
- package/dist/{IconButton-CCLMYWVN.mjs → IconButton-BHFCjvzs.mjs} +1 -1
- package/dist/{IconButton-CCLMYWVN.mjs.map → IconButton-BHFCjvzs.mjs.map} +1 -1
- package/dist/{IconButton-BUMMN-gH.d.mts → IconButton-D5hx405r.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-Cl4o41k4.mjs → Input-BQN97Hzm.mjs} +3 -3
- package/dist/{Input-Cl4o41k4.mjs.map → Input-BQN97Hzm.mjs.map} +1 -1
- package/dist/{Input-2N2e5JCf.d.mts → Input-BQbcIiVj.d.mts} +3 -3
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-TWzig3QO.d.mts → InputProps-DT1ZReZS.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{Link-I9Bklen-.mjs → Link-Bzm4AL5J.mjs} +1 -1
- package/dist/{Link-I9Bklen-.mjs.map → Link-Bzm4AL5J.mjs.map} +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-BcoXOt73.d.mts → ListBox-CdqRwBvA.d.mts} +7 -7
- package/dist/{ListBox-sqeLBiKS.mjs → ListBox-DOqN9DNl.mjs} +9 -9
- package/dist/{ListBox-sqeLBiKS.mjs.map → ListBox-DOqN9DNl.mjs.map} +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField-Bl2WLplO.d.mts +51 -0
- package/dist/ListBoxField.d.mts +2 -51
- package/dist/{LoadingShimmer-dRSkdlqD.mjs → LoadingShimmer-Ds7rvIUN.mjs} +1 -1
- package/dist/{LoadingShimmer-dRSkdlqD.mjs.map → LoadingShimmer-Ds7rvIUN.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-DXywXdYt.d.mts → LogicRow-CwMAn1sh.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-BekLwm8w.d.mts → Menu-CUN9bmc1.d.mts} +3 -3
- package/dist/{Menu-CwlI7BMN.mjs → Menu-DjW2b3Wk.mjs} +1 -1
- package/dist/{Menu-CwlI7BMN.mjs.map → Menu-DjW2b3Wk.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-CO58jrNF.mjs → MiddleTruncatedText-DoTyfMem.mjs} +2 -2
- package/dist/{MiddleTruncatedText-CO58jrNF.mjs.map → MiddleTruncatedText-DoTyfMem.mjs.map} +1 -1
- package/dist/{Modal-ymxlGYKt.d.mts → Modal-CGXJGrKg.d.mts} +2 -2
- package/dist/{Modal-CMiFcXC9.mjs → Modal-DHLPK65-.mjs} +4 -4
- package/dist/{Modal-CMiFcXC9.mjs.map → Modal-DHLPK65-.mjs.map} +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-D_0p7UK_.mjs → PageHeader-eI4RM_uL.mjs} +2 -2
- package/dist/{PageHeader-D_0p7UK_.mjs.map → PageHeader-eI4RM_uL.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageSelector-Bxulu6vU.d.mts → PageSelector-kAfYxEky.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-Co9CfyFQ.mjs → Pagination-6BDOn9bX.mjs} +6 -6
- package/dist/Pagination-6BDOn9bX.mjs.map +1 -0
- package/dist/{Pagination-Dg-4O7F7.d.mts → Pagination-Bhr7xyd2.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-JGV9gP95.mjs → Pii-DhL1gblz.mjs} +2 -2
- package/dist/{Pii-JGV9gP95.mjs.map → Pii-DhL1gblz.mjs.map} +1 -1
- package/dist/{PillShell-BA7KK1zS.d.mts → PillShell-CVJL1k5I.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-ZAj03lws.mjs → Popover-CbYaWrAy.mjs} +1 -1
- package/dist/{Popover-ZAj03lws.mjs.map → Popover-CbYaWrAy.mjs.map} +1 -1
- package/dist/{ProgressIndicator-CQg08vuA.mjs → ProgressIndicator-BpF3XLn3.mjs} +1 -1
- package/dist/{ProgressIndicator-CQg08vuA.mjs.map → ProgressIndicator-BpF3XLn3.mjs.map} +1 -1
- package/dist/{ProgressIndicator-D85HQGSx.d.mts → ProgressIndicator-CYyM6OSx.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-BHs8TX_3.d.mts → PseudoClassProps-BOVN6Etr.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-CYV290JI.mjs → Radio-DPaX-9LH.mjs} +2 -2
- package/dist/{Radio-CYV290JI.mjs.map → Radio-DPaX-9LH.mjs.map} +1 -1
- package/dist/{RadioGroup-Cq3KV1TN.d.mts → RadioGroup-C0l0pdEt.d.mts} +1 -1
- package/dist/{RadioGroup-lWMMtu9V.mjs → RadioGroup-D7f4m2Uc.mjs} +2 -2
- package/dist/{RadioGroup-lWMMtu9V.mjs.map → RadioGroup-D7f4m2Uc.mjs.map} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-Mh7h74Tp.d.mts → RangeCalendar-BJn9V3iN.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/{RouterContext-B3IU1jb0.d.mts → RouterContext-BLrzYlJ_.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-CwAqTLC2.d.mts → RouterLink-BHXjhqps.d.mts} +2 -2
- package/dist/RouterLink.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +4 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-BGyUUcoz.d.mts → SearchInput-Buh8LdIL.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-DgDabSgr.d.mts → SegmentedControl-B9qLyIIW.d.mts} +1 -1
- package/dist/{SegmentedControl-BEbIcV3g.mjs → SegmentedControl-zEvBtVj0.mjs} +2 -2
- package/dist/{SegmentedControl-BEbIcV3g.mjs.map → SegmentedControl-zEvBtVj0.mjs.map} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-yC2t_gZb.mjs → Select-BoZuM_e9.mjs} +6 -6
- package/dist/{Select-yC2t_gZb.mjs.map → Select-BoZuM_e9.mjs.map} +1 -1
- package/dist/{Select-wqTtGyga.d.mts → Select-Cv_9PLOt.d.mts} +3 -3
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +107 -0
- package/dist/SmartTextInputCodeDialog.d.mts +18 -0
- package/dist/SmartTextInputField.d.mts +25 -0
- package/dist/SmartTextInputFunctionDialog.d.mts +37 -0
- package/dist/SmartTextInputListbox.d.mts +26 -0
- package/dist/SmartTextInputPopover.d.mts +45 -0
- package/dist/{Spinner-BlAg8_OX.mjs → Spinner-CarSRiBF.mjs} +1 -1
- package/dist/{Spinner-BlAg8_OX.mjs.map → Spinner-CarSRiBF.mjs.map} +1 -1
- package/dist/{Stack-Bkn0TUDe.mjs → Stack-CEPzs4Pb.mjs} +1 -1
- package/dist/{Stack-Bkn0TUDe.mjs.map → Stack-CEPzs4Pb.mjs.map} +1 -1
- package/dist/{Stack-CYqjBXe8.d.mts → Stack-XzBzPvSV.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-DT2zNbkp.mjs → StatusIndicator-bEnMWV_S.mjs} +1 -1
- package/dist/{StatusIndicator-DT2zNbkp.mjs.map → StatusIndicator-bEnMWV_S.mjs.map} +1 -1
- package/dist/{Sticker-BLbgJxcH.mjs → Sticker-B-fU8lgu.mjs} +3 -3
- package/dist/{Sticker-BLbgJxcH.mjs.map → Sticker-B-fU8lgu.mjs.map} +1 -1
- package/dist/{Sticker-BmyKaxwx.d.mts → Sticker-DGfNuxUK.d.mts} +4 -4
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +1 -1
- package/dist/{TabBar-Bj84q1Mr.mjs → TabBar-BSl5v5aa.mjs} +3 -3
- package/dist/{TabBar-Bj84q1Mr.mjs.map → TabBar-BSl5v5aa.mjs.map} +1 -1
- package/dist/{Table-DhdHUQ8V.d.mts → Table-B2V5tlfA.d.mts} +1 -1
- package/dist/{Table-WqNfjasd.mjs → Table-msXj0glu.mjs} +2 -2
- package/dist/{Table-WqNfjasd.mjs.map → Table-msXj0glu.mjs.map} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-qoSvQDds.d.mts → TableBody-SlQe4Jyp.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-obl64W5Y.mjs → TableBox-CF1_Fk0j.mjs} +9 -9
- package/dist/{TableBox-obl64W5Y.mjs.map → TableBox-CF1_Fk0j.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-DzYMx4Ju.d.mts → TableBoxCell-BRhGeUnO.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField-Cq9M1upV.d.mts +103 -0
- package/dist/TableBoxField.d.mts +2 -103
- package/dist/{TableBoxRow-B4rFCvWK.d.mts → TableBoxRow-DZzRYoID.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-qMKcVuTL.d.mts → TableBoxRowActions-4-j3flJq.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-CGPQRc5g.d.mts → TableCell-D5Sqb6iO.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-WP78qtET.d.mts → TableControls-B-LakH-8.d.mts} +3 -3
- package/dist/{TableControls-RS_ozBsI.mjs → TableControls-CqW_nyBY.mjs} +98 -31
- package/dist/TableControls-CqW_nyBY.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-DZIZSyfX.d.mts → TableControlsContext-Dh1YVmBM.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-36j-_oyn.d.mts → TableHead-BCrVa0BY.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-C7gp9j1X.d.mts → TableHeaderCell-CcEkDozs.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CQqIV0vj.d.mts → TableLayout-Bhj1QBBz.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-BJZM8I8i.d.mts → TableRow-Cy1y7b9S.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-Dwy_9FBz.d.mts → TableViewConfigurationDropdown-BzygLtGm.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-CL0zkOAj.mjs → TechnicalSticker-B6T7cHHc.mjs} +2 -2
- package/dist/{TechnicalSticker-CL0zkOAj.mjs.map → TechnicalSticker-B6T7cHHc.mjs.map} +1 -1
- package/dist/{Text-DbtTa83E.d.mts → Text-BVGJ-Nlw.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-CbxF6u7z.d.mts → TextArea-Bzj593VO.d.mts} +2 -2
- package/dist/{TextArea-CfZr5Sk4.mjs → TextArea-C1CmFRiz.mjs} +2 -2
- package/dist/{TextArea-CfZr5Sk4.mjs.map → TextArea-C1CmFRiz.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-BgLQuK38.d.mts → TextUnderlineTooltip-CgFmtqF_.d.mts} +2 -2
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-D4ZaUcVt.mjs → Toggle-CntyMUPJ.mjs} +2 -2
- package/dist/{Toggle-D4ZaUcVt.mjs.map → Toggle-CntyMUPJ.mjs.map} +1 -1
- package/dist/{Toggle-BYMLrPXk.d.mts → Toggle-bSu1xAaq.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-4pshzB_i.d.mts → Tooltip-Duw4Fz1t.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-O7hE3w0O.d.mts → TruncatedText-CbTpX_R1.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +1 -1
- package/dist/{VersionHistoryItem-CIcEgl0K.d.mts → VersionHistoryItem-D05QYej7.d.mts} +1 -1
- package/dist/VersionHistoryItem.d.mts +1 -1
- package/dist/WizardModal.d.mts +3 -3
- package/dist/{accordionTitleTypography-CNB1w3kn.d.mts → accordionTitleTypography-Leehcmb3.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/chainTypes-D8SGRGba.d.mts +17 -0
- package/dist/{codec-BXVBsB8Y.d.mts → codec-Vsztf4fe.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-3UO63ocQ.d.mts → color-CrlF3pba.d.mts} +2 -2
- package/dist/components/Accordion/index.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +1 -1
- package/dist/components/Attribute/index.mjs +2 -2
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/BottomPanel/index.mjs +3 -3
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- 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.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +1 -1
- 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 +19 -19
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +11 -11
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +5 -5
- 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 +2 -2
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +6 -6
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +5 -5
- 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 +3 -3
- 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/ProgressIndicator/index.d.mts +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +3 -3
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- 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/SmartTextInput/index.d.mts +5 -0
- package/dist/components/SmartTextInput/index.mjs +2035 -0
- package/dist/components/SmartTextInput/index.mjs.map +1 -0
- package/dist/components/SmartTextInput/parser/method-chain/parser.mjs +1 -1
- package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +1 -1
- package/dist/components/SmartTextInput/parser/smart-text/parser.mjs +1 -1
- package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +3 -72
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +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 +8 -8
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- 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.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 +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/VersionHistory/index.d.mts +1 -1
- package/dist/components/VersionHistory/index.mjs +7 -7
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BOxzLX-O.d.mts → constants-CQUCM6__.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-OeTC9kvS.d.mts → createPath-Bq7wYGt_.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-filter-BnzR6NxT.mjs → date-filter-D6IfCkwp.mjs} +1 -1
- package/dist/{date-filter-BnzR6NxT.mjs.map → date-filter-D6IfCkwp.mjs.map} +1 -1
- package/dist/{date-range-rule-value-BRp5Bi7R.d.mts → date-range-rule-value-DVhMQP4-.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-CDBtV0ET.d.mts → date-rule-intent-BwQ6OTVD.d.mts} +3 -3
- package/dist/date-rule-intent.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-CqvQ190x.d.mts → filter-size-context-BjTzcZwZ.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-BXSe73Xn.d.mts → index-BFIFjR7Q.d.mts} +2 -2
- package/dist/{index-wKK9f9La.d.mts → index-BhDvrF4l.d.mts} +4 -4
- package/dist/{index-CyAok7As.d.mts → index-C-xpEL8b.d.mts} +2 -2
- package/dist/index-xmouCHX9.d.mts +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index2.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/{input-C6cyiqm2.d.mts → input-DpHBIUpP.d.mts} +3 -3
- package/dist/inputFields-BVDurw3L.d.mts +71 -0
- package/dist/inputFields.d.mts +2 -71
- package/dist/{intersperse-Df9zw7Bk.mjs → intersperse-bvY2gibK.mjs} +1 -1
- package/dist/{intersperse-Df9zw7Bk.mjs.map → intersperse-bvY2gibK.mjs.map} +1 -1
- package/dist/{jsonSchema-CfGi1bzI.d.mts → jsonSchema-Bl-qzgrr.d.mts} +1 -1
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +2 -2
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +1 -1
- package/dist/lib/TruncatedText.mjs.map +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs.map +1 -1
- package/dist/lib/chainTypes.d.mts +2 -17
- package/dist/lib/color.d.mts +1 -1
- package/dist/lib/customFunctionSchema.d.mts +1 -1
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/date-filter/index.mjs +1 -1
- package/dist/lib/jsonSchema.d.mts +1 -1
- package/dist/lib/jsonSchemaType.d.mts +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +2 -2
- package/dist/lib/methodChain.mjs +1 -2
- package/dist/lib/methodChainNormalize.d.mts +2 -2
- package/dist/lib/methodChainTypes.d.mts +1 -1
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
- package/dist/lib/router/adapters/tanstack.d.mts +1 -1
- package/dist/lib/router/index.d.mts +5 -5
- package/dist/lib/schemaOptions.d.mts +2 -173
- package/dist/lib/schemaOptions.mjs +1 -1
- package/dist/lib/semanticColor.d.mts +1 -1
- package/dist/lib/useChain.d.mts +2 -0
- package/dist/lib/useChain.mjs +2 -0
- package/dist/listbox-options-BjOkovND.d.mts +38 -0
- package/dist/listbox-options.d.mts +2 -0
- package/dist/{message-CblP0EjG.d.mts → message-w_1-kTDE.d.mts} +1 -1
- package/dist/{methodChain-Pk1C3i_E.d.mts → methodChain-B5vZEOff.d.mts} +4 -4
- package/dist/{methodChain-DAQxLgxt.mjs → methodChain-L_h8Z8Bx.mjs} +2 -2
- package/dist/{methodChain-DAQxLgxt.mjs.map → methodChain-L_h8Z8Bx.mjs.map} +1 -1
- package/dist/{methodChainTypes-CqWzfx0M.d.mts → methodChainTypes-BVkTI8MX.d.mts} +2 -2
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/scrollbar.d.mts +1 -1
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-CoXL5Hv6.d.mts → operators-BG82-g3M.d.mts} +9 -3
- package/dist/operators.d.mts +2 -2
- package/dist/{palette-CxXUs1Fu.d.mts → palette-C8tyI81D.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/{parser-Kxos6siN.mjs → parser-BeTiVjRs.mjs} +3 -2
- package/dist/{parser-Kxos6siN.mjs.map → parser-BeTiVjRs.mjs.map} +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
- package/dist/patterns/PageLayout/index.mjs +2 -2
- package/dist/{components → patterns}/WizardModal/index.mjs +5 -5
- package/dist/patterns/WizardModal/index.mjs.map +1 -0
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/safe-parse.d.mts +23 -0
- package/dist/schemaOptions-DGca6x7E.d.mts +173 -0
- package/dist/{semantic-CFMBsuiJ.d.mts → semantic-D1661f_6.d.mts} +1 -1
- package/dist/{semanticColor-DuJCmDrH.d.mts → semanticColor-Bg0H3RUL.d.mts} +3 -3
- package/dist/{text-D8HPjiEX.d.mts → text-Iw9DKpbZ.d.mts} +1 -1
- package/dist/{theme-BcaR-Au5.d.mts → theme-BB1B6Wkz.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/tone.d.mts +3 -3
- package/dist/tree.d.mts +9 -0
- package/dist/{types-CoVZwrMW.d.mts → types-B0ilOIfE.d.mts} +2 -2
- package/dist/types-BYRTxB0a.d.mts +72 -0
- package/dist/{types-BCiq4hGv.d.mts → types-CI2bPi02.d.mts} +1 -1
- package/dist/types-Cs6CdZCO.d.mts +83 -0
- package/dist/{types-CkpixGWr.d.mts → types-D1DijcJv.d.mts} +1 -1
- package/dist/{types-Cl-w8tYc.d.mts → types-DZTbvdpO.d.mts} +1 -1
- package/dist/{types-DgyGecdM.d.mts → types-DdTu747j.d.mts} +1 -1
- package/dist/{types-C4WUSW3e.d.mts → types-Dy3lZv9z.d.mts} +2 -2
- package/dist/{types-BGMmkUpy.d.mts → types-M-rsm1Km.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +1 -1
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/types7.d.mts +2 -0
- package/dist/{url-state-8j_ef8Uf.d.mts → url-state-DWA7UFxS.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useChain-CEsXE2Bx.d.mts +77 -0
- package/dist/useChain-CKqYGdx4.mjs +4589 -0
- package/dist/useChain-CKqYGdx4.mjs.map +1 -0
- package/dist/useChainAtCursor.d.mts +87 -0
- package/dist/useCodeChainFunctionPanel.d.mts +26 -0
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-CW6eght1.d.mts → useFilterStateV2-DoJ9lyJx.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-XezSxho_.mjs → useFormField-BAmkdxtA.mjs} +2 -2
- package/dist/{useFormField-XezSxho_.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
- package/dist/{useFormField-CLRZkUZt.d.mts → useFormField-BtnAYcHV.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-C7Cax8zO.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
- package/dist/{useFormGroup-C7Cax8zO.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
- package/dist/{useLocationPathname-DH5Tdq5X.d.mts → useLocationPathname-pLyLOrAi.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-Da4TiYBT.d.mts → useTableBoxDragAndDrop-wjc_LCpC.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-DcsbI71T.d.mts → utilities-DL18UdPs.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils4.d.mts +111 -0
- package/dist/{validation-BgwNghi2.d.mts → validation-PeVTwtd-.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/validation2.d.mts +64 -0
- package/dist/{value-control-resolver-B0HDRxRN.d.mts → value-control-resolver-Cx_wXQFv.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/effect.d.mts +1 -1
- package/dist/variables/semantic.d.mts +1 -1
- package/llms.txt +1 -1
- package/package.json +10 -3
- package/skills/ui-authoring/COMPONENTS.md +0 -1
- package/skills/ui-authoring/PATTERNS.md +1 -0
- package/dist/Pagination-Co9CfyFQ.mjs.map +0 -1
- package/dist/TableControls-RS_ozBsI.mjs.map +0 -1
- package/dist/components/WizardModal/index.mjs.map +0 -1
- /package/dist/{index-B24gUwOx.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-BFnNtGdX.d.mts → index-BCq_fh4A2.d.mts} +0 -0
- /package/dist/{index-BNRXMhlr.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-BPiqSRRl.d.mts → index-BMBcfD_R.d.mts} +0 -0
- /package/dist/{index-BYd3Btr1.d.mts → index-BOn0AAue.d.mts} +0 -0
- /package/dist/{index-B_BBnMou.d.mts → index-BcsXXrHq.d.mts} +0 -0
- /package/dist/{index-Bt4QNofW.d.mts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-C6HcjJiY.d.mts → index-BwXb5CoQ.d.mts} +0 -0
- /package/dist/{index-CEqOS-7M.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-CIABef8t.d.mts → index-C9achTF6.d.mts} +0 -0
- /package/dist/{index-CTHojwxd.d.mts → index-CCKHlTA4.d.mts} +0 -0
- /package/dist/{index-CjDodOH2.d.mts → index-CFuHCx9T.d.mts} +0 -0
- /package/dist/{index-Cm-1i165.d.mts → index-CP2eJYlK.d.mts} +0 -0
- /package/dist/{index-CoUVmp_Q.d.mts → index-CWB6exYm.d.mts} +0 -0
- /package/dist/{index-DB7t8whN.d.mts → index-CryTAIZM.d.mts} +0 -0
- /package/dist/{index-DBGd4WeR.d.mts → index-CuYZJcK3.d.mts} +0 -0
- /package/dist/{index-DGsJdI5l.d.mts → index-CuheJfs-.d.mts} +0 -0
- /package/dist/{index-DWfPppPU.d.mts → index-D-9tW2r5.d.mts} +0 -0
- /package/dist/{index-DeVKzGce.d.mts → index-D9XihFV1.d.mts} +0 -0
- /package/dist/{index-DedbSZMv.d.mts → index-Dflz2i1X.d.mts} +0 -0
- /package/dist/{index-Jh0C5PIG.d.mts → index-DjOaHFU3.d.mts} +0 -0
- /package/dist/{index-NKYLt_R9.d.mts → index-DkrC-i1D.d.mts} +0 -0
- /package/dist/{index-Qwqzz3XM.d.mts → index-DrK1_jKY.d.mts} +0 -0
- /package/dist/{index-VWno75SQ.d.mts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-fxXoW-qc.d.mts → index-e6k85DKM.d.mts} +0 -0
- /package/dist/{index-gVcIuWLd.d.mts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{index-zeAhjge4.d.mts → index-irNqT1qQ2.d.mts} +0 -0
- /package/dist/{components → patterns}/WizardModal/index.d.mts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-
|
|
2
|
-
import { a as TableCellProps, i as TableCell } from "./TableCell-
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-
|
|
4
|
-
import { n as ReorderConfig, t as DragDirection } from "./useTableBoxDragAndDrop-
|
|
5
|
-
import { t as RowAction } from "./TableBoxRowActions-
|
|
1
|
+
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-CtNrsPO9.mjs";
|
|
2
|
+
import { a as TableCellProps, i as TableCell } from "./TableCell-D5Sqb6iO.mjs";
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-DZzRYoID.mjs";
|
|
4
|
+
import { n as ReorderConfig, t as DragDirection } from "./useTableBoxDragAndDrop-wjc_LCpC.mjs";
|
|
5
|
+
import { t as RowAction } from "./TableBoxRowActions-4-j3flJq.mjs";
|
|
6
6
|
import * as _$react from "react";
|
|
7
7
|
import { ComponentPropsWithoutRef, PropsWithChildren } from "react";
|
|
8
8
|
import * as _$styled_components0 from "styled-components";
|
|
@@ -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-BRhGeUnO.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-BRhGeUnO.mjs";
|
|
2
2
|
export { TableBoxCellProps, TableBoxCell as default };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-CUN9bmc1.mjs";
|
|
2
|
+
import { o as ImplementsFormField } from "./inputFields-BVDurw3L.mjs";
|
|
3
|
+
import { r as TableBoxRowProps } from "./TableBoxRow-DZzRYoID.mjs";
|
|
4
|
+
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-BRhGeUnO.mjs";
|
|
5
|
+
import { MouseEvent, ReactNode } from "react";
|
|
6
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region components/FormField/TableBoxField.d.ts
|
|
9
|
+
interface TableBoxFieldAction extends Omit<MenuItemProps, 'children'> {
|
|
10
|
+
label: string;
|
|
11
|
+
onClick: (selectedKey: TableBoxProps['selectedKey']) => void;
|
|
12
|
+
}
|
|
13
|
+
interface TableBoxFieldActionGroup {
|
|
14
|
+
type: 'group';
|
|
15
|
+
heading: string;
|
|
16
|
+
actions: TableBoxFieldAction[];
|
|
17
|
+
}
|
|
18
|
+
type TableBoxFieldActionEntry = TableBoxFieldAction | TableBoxFieldActionGroup;
|
|
19
|
+
/** Aria-label on TableBoxField's + button. Consumers that style or detect that
|
|
20
|
+
* button (e.g. popover toggle guards) should import this rather than redefining it. */
|
|
21
|
+
declare const TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL = "Add item to table";
|
|
22
|
+
interface AddDropdownConfig {
|
|
23
|
+
options: Array<{
|
|
24
|
+
label: string;
|
|
25
|
+
value: string;
|
|
26
|
+
}>;
|
|
27
|
+
onSelection: (value: string) => void;
|
|
28
|
+
}
|
|
29
|
+
interface TableBoxFieldProps<T extends object = object> extends ImplementsFormField, Omit<TableBoxProps<T>, 'aria-label' | 'onCreateNewRow'> {
|
|
30
|
+
onAdd?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
31
|
+
onDelete?: (selectedKey: string | null) => void;
|
|
32
|
+
deleteDisabled?: boolean;
|
|
33
|
+
/** Actions and labeled action groups rendered in order. Empty groups are omitted. */
|
|
34
|
+
actions?: TableBoxFieldActionEntry[];
|
|
35
|
+
addDropdownConfig?: AddDropdownConfig;
|
|
36
|
+
/**
|
|
37
|
+
* Callback to create a new row and add it to the rows array
|
|
38
|
+
* Should return the id of the newly created row
|
|
39
|
+
*/
|
|
40
|
+
createNewRow?: () => string;
|
|
41
|
+
children?: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
declare const TableBoxField: {
|
|
44
|
+
<T extends object = object>({
|
|
45
|
+
label,
|
|
46
|
+
helperText,
|
|
47
|
+
errorText,
|
|
48
|
+
warningText,
|
|
49
|
+
labelProps: labelPropsProp,
|
|
50
|
+
helperProps,
|
|
51
|
+
errorProps,
|
|
52
|
+
warningProps,
|
|
53
|
+
inputId,
|
|
54
|
+
required,
|
|
55
|
+
onAdd,
|
|
56
|
+
onDelete,
|
|
57
|
+
deleteDisabled,
|
|
58
|
+
configField: configFieldProp,
|
|
59
|
+
actions,
|
|
60
|
+
addDropdownConfig,
|
|
61
|
+
selectedKey: selectedKeyProp,
|
|
62
|
+
onSelectionChange,
|
|
63
|
+
defaultSelectedKey,
|
|
64
|
+
selectionMode,
|
|
65
|
+
disabled,
|
|
66
|
+
createNewRow,
|
|
67
|
+
children,
|
|
68
|
+
emptyText,
|
|
69
|
+
...props
|
|
70
|
+
}: TableBoxFieldProps<T>): _$react_jsx_runtime0.JSX.Element;
|
|
71
|
+
Row: ({
|
|
72
|
+
children,
|
|
73
|
+
actions,
|
|
74
|
+
onDelete,
|
|
75
|
+
errorText,
|
|
76
|
+
id,
|
|
77
|
+
dropdownFormFields,
|
|
78
|
+
dropdownContent,
|
|
79
|
+
dropdownHeadingText,
|
|
80
|
+
dropdownFooter,
|
|
81
|
+
onBlur,
|
|
82
|
+
onFocus,
|
|
83
|
+
...props
|
|
84
|
+
}: TableBoxRowProps) => _$react_jsx_runtime0.JSX.Element;
|
|
85
|
+
Cell: ({
|
|
86
|
+
children,
|
|
87
|
+
itemId,
|
|
88
|
+
value,
|
|
89
|
+
columnKey,
|
|
90
|
+
errorText,
|
|
91
|
+
isLastCell,
|
|
92
|
+
actions,
|
|
93
|
+
onDelete,
|
|
94
|
+
inlineEditConfigOverride,
|
|
95
|
+
rowErrorText,
|
|
96
|
+
onBlur,
|
|
97
|
+
onFocus,
|
|
98
|
+
...props
|
|
99
|
+
}: TableBoxCellProps) => _$react_jsx_runtime0.JSX.Element;
|
|
100
|
+
};
|
|
101
|
+
//#endregion
|
|
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-Cq9M1upV.d.mts.map
|
package/dist/TableBoxField.d.mts
CHANGED
|
@@ -1,103 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { r as TableBoxRowProps } from "./TableBoxRow-B4rFCvWK.mjs";
|
|
4
|
-
import { n as TableBoxCellProps, s as TableBoxProps } from "./TableBoxCell-DzYMx4Ju.mjs";
|
|
5
|
-
import { MouseEvent, ReactNode } from "react";
|
|
6
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
|
-
|
|
8
|
-
//#region components/FormField/TableBoxField.d.ts
|
|
9
|
-
interface TableBoxFieldAction extends Omit<MenuItemProps, 'children'> {
|
|
10
|
-
label: string;
|
|
11
|
-
onClick: (selectedKey: TableBoxProps['selectedKey']) => void;
|
|
12
|
-
}
|
|
13
|
-
interface TableBoxFieldActionGroup {
|
|
14
|
-
type: 'group';
|
|
15
|
-
heading: string;
|
|
16
|
-
actions: TableBoxFieldAction[];
|
|
17
|
-
}
|
|
18
|
-
type TableBoxFieldActionEntry = TableBoxFieldAction | TableBoxFieldActionGroup;
|
|
19
|
-
/** Aria-label on TableBoxField's + button. Consumers that style or detect that
|
|
20
|
-
* button (e.g. popover toggle guards) should import this rather than redefining it. */
|
|
21
|
-
declare const TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL = "Add item to table";
|
|
22
|
-
interface AddDropdownConfig {
|
|
23
|
-
options: Array<{
|
|
24
|
-
label: string;
|
|
25
|
-
value: string;
|
|
26
|
-
}>;
|
|
27
|
-
onSelection: (value: string) => void;
|
|
28
|
-
}
|
|
29
|
-
interface TableBoxFieldProps<T extends object = object> extends ImplementsFormField, Omit<TableBoxProps<T>, 'aria-label' | 'onCreateNewRow'> {
|
|
30
|
-
onAdd?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
31
|
-
onDelete?: (selectedKey: string | null) => void;
|
|
32
|
-
deleteDisabled?: boolean;
|
|
33
|
-
/** Actions and labeled action groups rendered in order. Empty groups are omitted. */
|
|
34
|
-
actions?: TableBoxFieldActionEntry[];
|
|
35
|
-
addDropdownConfig?: AddDropdownConfig;
|
|
36
|
-
/**
|
|
37
|
-
* Callback to create a new row and add it to the rows array
|
|
38
|
-
* Should return the id of the newly created row
|
|
39
|
-
*/
|
|
40
|
-
createNewRow?: () => string;
|
|
41
|
-
children?: ReactNode;
|
|
42
|
-
}
|
|
43
|
-
declare const TableBoxField: {
|
|
44
|
-
<T extends object = object>({
|
|
45
|
-
label,
|
|
46
|
-
helperText,
|
|
47
|
-
errorText,
|
|
48
|
-
warningText,
|
|
49
|
-
labelProps: labelPropsProp,
|
|
50
|
-
helperProps,
|
|
51
|
-
errorProps,
|
|
52
|
-
warningProps,
|
|
53
|
-
inputId,
|
|
54
|
-
required,
|
|
55
|
-
onAdd,
|
|
56
|
-
onDelete,
|
|
57
|
-
deleteDisabled,
|
|
58
|
-
configField: configFieldProp,
|
|
59
|
-
actions,
|
|
60
|
-
addDropdownConfig,
|
|
61
|
-
selectedKey: selectedKeyProp,
|
|
62
|
-
onSelectionChange,
|
|
63
|
-
defaultSelectedKey,
|
|
64
|
-
selectionMode,
|
|
65
|
-
disabled,
|
|
66
|
-
createNewRow,
|
|
67
|
-
children,
|
|
68
|
-
emptyText,
|
|
69
|
-
...props
|
|
70
|
-
}: TableBoxFieldProps<T>): _$react_jsx_runtime0.JSX.Element;
|
|
71
|
-
Row: ({
|
|
72
|
-
children,
|
|
73
|
-
actions,
|
|
74
|
-
onDelete,
|
|
75
|
-
errorText,
|
|
76
|
-
id,
|
|
77
|
-
dropdownFormFields,
|
|
78
|
-
dropdownContent,
|
|
79
|
-
dropdownHeadingText,
|
|
80
|
-
dropdownFooter,
|
|
81
|
-
onBlur,
|
|
82
|
-
onFocus,
|
|
83
|
-
...props
|
|
84
|
-
}: TableBoxRowProps) => _$react_jsx_runtime0.JSX.Element;
|
|
85
|
-
Cell: ({
|
|
86
|
-
children,
|
|
87
|
-
itemId,
|
|
88
|
-
value,
|
|
89
|
-
columnKey,
|
|
90
|
-
errorText,
|
|
91
|
-
isLastCell,
|
|
92
|
-
actions,
|
|
93
|
-
onDelete,
|
|
94
|
-
inlineEditConfigOverride,
|
|
95
|
-
rowErrorText,
|
|
96
|
-
onBlur,
|
|
97
|
-
onFocus,
|
|
98
|
-
...props
|
|
99
|
-
}: TableBoxCellProps) => _$react_jsx_runtime0.JSX.Element;
|
|
100
|
-
};
|
|
101
|
-
//#endregion
|
|
102
|
-
export { TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL, TableBoxFieldAction, TableBoxFieldActionEntry, TableBoxFieldActionGroup, TableBoxField as default };
|
|
103
|
-
//# sourceMappingURL=TableBoxField.d.mts.map
|
|
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-Cq9M1upV.mjs";
|
|
2
|
+
export { TABLE_BOX_FIELD_ADD_BUTTON_ARIA_LABEL, TableBoxFieldAction, TableBoxFieldActionEntry, TableBoxFieldActionGroup, TableBoxField as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
2
|
-
import { t as TableRow } from "./TableRow-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-CUN9bmc1.mjs";
|
|
2
|
+
import { t as TableRow } from "./TableRow-Cy1y7b9S.mjs";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -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-DZzRYoID.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-DZzRYoID.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-CUN9bmc1.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-4-j3flJq.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-4-j3flJq.mjs";
|
|
2
2
|
export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as TableRowProps } from "./TableRow-
|
|
1
|
+
import { n as TableRowProps } from "./TableRow-Cy1y7b9S.mjs";
|
|
2
2
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -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-D5Sqb6iO.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-D5Sqb6iO.mjs";
|
|
2
2
|
export { StickyTD, StickyTH, TableActionTD, TableCellProps, TableCellTitle, TableIconTD, TableTD, TableTR, TableCell as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ControlBarProps } from "./ControlBar-
|
|
2
|
-
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-
|
|
1
|
+
import { n as ControlBarProps } from "./ControlBar-BJUY6GOX.mjs";
|
|
2
|
+
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-BzygLtGm.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -65,4 +65,4 @@ declare const TableControls: ({
|
|
|
65
65
|
}: TableControlsProps) => _$react_jsx_runtime0.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { TableControlsProps as n, TableControls as t };
|
|
68
|
-
//# sourceMappingURL=TableControls-
|
|
68
|
+
//# sourceMappingURL=TableControls-B-LakH-8.d.mts.map
|
|
@@ -14,20 +14,21 @@ import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
|
|
|
14
14
|
import { Z_INDICES } from "./lib/zindex.mjs";
|
|
15
15
|
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
16
16
|
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
17
|
-
import { n as Stack, t as HStack } from "./Stack-
|
|
18
|
-
import { n as Button, t as IconButton } from "./IconButton-
|
|
19
|
-
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-
|
|
20
|
-
import { r as InputGroup } from "./Input-
|
|
17
|
+
import { n as Stack, t as HStack } from "./Stack-CEPzs4Pb.mjs";
|
|
18
|
+
import { n as Button, t as IconButton } from "./IconButton-BHFCjvzs.mjs";
|
|
19
|
+
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-BSl5v5aa.mjs";
|
|
20
|
+
import { r as InputGroup } from "./Input-BQN97Hzm.mjs";
|
|
21
21
|
import Input_default from "./components/Input/index.mjs";
|
|
22
|
-
import { c as MenuList, s as MenuItem } from "./Menu-
|
|
23
|
-
import { n as DropdownMenu_default } from "./DropdownMenu-
|
|
24
|
-
import { t as Combobox } from "./Combobox-
|
|
25
|
-
import { s as Popover_default } from "./Popover-
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
22
|
+
import { c as MenuList, s as MenuItem } from "./Menu-DjW2b3Wk.mjs";
|
|
23
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-j8NWbAvM.mjs";
|
|
24
|
+
import { t as Combobox } from "./Combobox-CCDoNF9Y.mjs";
|
|
25
|
+
import { s as Popover_default } from "./Popover-CbYaWrAy.mjs";
|
|
26
|
+
import { i as Modal_default } from "./Modal-DHLPK65-.mjs";
|
|
27
|
+
import { t as Toggle } from "./Toggle-CntyMUPJ.mjs";
|
|
28
|
+
import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue, t as formatDateFilterValue } from "./date-filter-D6IfCkwp.mjs";
|
|
29
|
+
import { t as ListBox } from "./ListBox-DOqN9DNl.mjs";
|
|
30
|
+
import { m as FormField, o as ComboboxField } from "./FormField-DbcqNcx2.mjs";
|
|
31
|
+
import { r as DatePicker, t as DateRangePicker } from "./DatePicker-LPIJrc0n.mjs";
|
|
31
32
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
32
33
|
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
33
34
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -348,7 +349,7 @@ const TabOverflowContainer = styled.div`
|
|
|
348
349
|
position: absolute;
|
|
349
350
|
height: 32px;
|
|
350
351
|
`;
|
|
351
|
-
const SavedViewTab = ({ view, selected, tabIdPrefix = TAB_ID_PREFIX, canEditViews, handleNameChange, onDuplicateView,
|
|
352
|
+
const SavedViewTab = ({ view, selected, tabIdPrefix = TAB_ID_PREFIX, canEditViews, handleNameChange, onDuplicateView, onRequestDeleteView, onSelectView, onResetCurrentView, onSaveView, onSetDefaultView, isViewDirty, showTabContextMenu, setShowTabContextMenu, className, ...rest }) => {
|
|
352
353
|
const inputRef = useRef(null);
|
|
353
354
|
const lastSubmittedNameRef = useRef(null);
|
|
354
355
|
const submitNameChange = (newName) => {
|
|
@@ -437,12 +438,12 @@ const SavedViewTab = ({ view, selected, tabIdPrefix = TAB_ID_PREFIX, canEditView
|
|
|
437
438
|
onKeyDown: enterProxiesClick,
|
|
438
439
|
children: view.isDefault ? "Already the default" : "Set as default"
|
|
439
440
|
}),
|
|
440
|
-
|
|
441
|
+
onRequestDeleteView && /* @__PURE__ */ jsx(MenuItem, {
|
|
441
442
|
id: "table-controls__view__menu-delete",
|
|
442
443
|
prefixIcon: /* @__PURE__ */ jsx(TrashIcon, {}),
|
|
443
|
-
onClick:
|
|
444
|
-
await onDeleteView(view.id);
|
|
444
|
+
onClick: () => {
|
|
445
445
|
setShowTabContextMenu(false);
|
|
446
|
+
onRequestDeleteView(view);
|
|
446
447
|
},
|
|
447
448
|
onKeyDown: enterProxiesClick,
|
|
448
449
|
children: "Delete"
|
|
@@ -554,9 +555,17 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
554
555
|
const tabOverflowRef = useRef(null);
|
|
555
556
|
const [hiddenViews, setHiddenViews] = useState([]);
|
|
556
557
|
const [showTabContextMenu, setShowTabContextMenu] = useState(false);
|
|
558
|
+
const [pendingDeleteView, setPendingDeleteView] = useState(null);
|
|
559
|
+
const previousPendingDeleteViewRef = useRef(null);
|
|
560
|
+
const [isDeletingView, setIsDeletingView] = useState(false);
|
|
557
561
|
const [isAddingView, setIsAddingView] = useState(false);
|
|
558
562
|
const [lastVisibleViewElement, setLastVisibleViewElement] = useState(null);
|
|
559
563
|
const [tabOverflowWidth, setTabOverflowWidth] = useState(null);
|
|
564
|
+
useEffect(() => {
|
|
565
|
+
const previousPendingDeleteView = previousPendingDeleteViewRef.current;
|
|
566
|
+
if (!pendingDeleteView && previousPendingDeleteView) (document.getElementById(`${OVERFLOW_TAB_ID_PREFIX}${previousPendingDeleteView.id}`) ?? document.getElementById(`${TAB_ID_PREFIX}${previousPendingDeleteView.id}`))?.focus();
|
|
567
|
+
previousPendingDeleteViewRef.current = pendingDeleteView;
|
|
568
|
+
}, [pendingDeleteView]);
|
|
560
569
|
const onResize = useCallback(() => {
|
|
561
570
|
if (!tabListRef.current) return;
|
|
562
571
|
const containerRect = tabListRef.current.getBoundingClientRect();
|
|
@@ -615,6 +624,17 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
615
624
|
const handleNameChange = (view, newName) => {
|
|
616
625
|
if (canEditViews && view.name !== newName) onViewNameChange?.(view.id, newName);
|
|
617
626
|
};
|
|
627
|
+
const onRequestDeleteView = onDeleteView ? (view) => setPendingDeleteView(view) : void 0;
|
|
628
|
+
const confirmDeleteView = async () => {
|
|
629
|
+
if (!pendingDeleteView || !onDeleteView) return;
|
|
630
|
+
setIsDeletingView(true);
|
|
631
|
+
try {
|
|
632
|
+
await onDeleteView(pendingDeleteView.id);
|
|
633
|
+
setPendingDeleteView(null);
|
|
634
|
+
} catch {} finally {
|
|
635
|
+
setIsDeletingView(false);
|
|
636
|
+
}
|
|
637
|
+
};
|
|
618
638
|
if (compact) return /* @__PURE__ */ jsx(CompactBar, {
|
|
619
639
|
"data-tour-target": dataTourTarget,
|
|
620
640
|
title,
|
|
@@ -708,7 +728,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
708
728
|
canEditViews: canEditViews ?? false,
|
|
709
729
|
handleNameChange,
|
|
710
730
|
onDuplicateView,
|
|
711
|
-
|
|
731
|
+
onRequestDeleteView,
|
|
712
732
|
onSelectView,
|
|
713
733
|
onResetCurrentView,
|
|
714
734
|
onSaveView,
|
|
@@ -737,7 +757,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
737
757
|
handleAddView: onAddView ? handleAddView : null,
|
|
738
758
|
handleNameChange,
|
|
739
759
|
onDuplicateView,
|
|
740
|
-
|
|
760
|
+
onRequestDeleteView,
|
|
741
761
|
onResetCurrentView,
|
|
742
762
|
onSaveView,
|
|
743
763
|
onSetDefaultView,
|
|
@@ -777,7 +797,35 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
777
797
|
propertiesButton
|
|
778
798
|
]
|
|
779
799
|
}),
|
|
780
|
-
showFilters && filterPanel
|
|
800
|
+
showFilters && filterPanel,
|
|
801
|
+
/* @__PURE__ */ jsx(Modal_default, {
|
|
802
|
+
open: pendingDeleteView != null,
|
|
803
|
+
onOpenChange: (open) => {
|
|
804
|
+
if (!open && !isDeletingView) setPendingDeleteView(null);
|
|
805
|
+
},
|
|
806
|
+
isKeyboardDismissDisabled: isDeletingView,
|
|
807
|
+
contentProps: isDeletingView ? { showCloseButton: false } : void 0,
|
|
808
|
+
title: "Delete view?",
|
|
809
|
+
footer: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
810
|
+
variant: "basic",
|
|
811
|
+
width: "auto",
|
|
812
|
+
disabled: isDeletingView,
|
|
813
|
+
onClick: () => setPendingDeleteView(null),
|
|
814
|
+
children: "Cancel"
|
|
815
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
816
|
+
id: "table-controls__view__delete-confirm",
|
|
817
|
+
variant: "danger",
|
|
818
|
+
width: "auto",
|
|
819
|
+
isPending: isDeletingView,
|
|
820
|
+
onClick: confirmDeleteView,
|
|
821
|
+
children: "Delete"
|
|
822
|
+
})] }),
|
|
823
|
+
children: /* @__PURE__ */ jsxs(Paragraph, { children: [
|
|
824
|
+
"This will permanently delete “",
|
|
825
|
+
pendingDeleteView?.name,
|
|
826
|
+
"”. This action cannot be undone."
|
|
827
|
+
] })
|
|
828
|
+
})
|
|
781
829
|
] });
|
|
782
830
|
};
|
|
783
831
|
//#endregion
|
|
@@ -1304,6 +1352,14 @@ function isValuelessOperator(operator) {
|
|
|
1304
1352
|
function carriesDateRange(operator, fieldType) {
|
|
1305
1353
|
return isRangeOperator(operator) || fieldType === "date_range";
|
|
1306
1354
|
}
|
|
1355
|
+
/**
|
|
1356
|
+
* Whether a rule's value control edits minute-precision date-times: the bar
|
|
1357
|
+
* and field both opt in, and the value is a range or a before/after instant
|
|
1358
|
+
* (`date` + `is` stays a whole calendar day).
|
|
1359
|
+
*/
|
|
1360
|
+
function isMinutePrecisionDate(field, operator, dateTimesEnabled) {
|
|
1361
|
+
return dateTimesEnabled && field.timeGranularity === "minute" && (field.type === "date_range" || field.type === "date" && operator !== "is");
|
|
1362
|
+
}
|
|
1307
1363
|
function isRangeOperator(operator) {
|
|
1308
1364
|
return RANGE_OPERATORS.has(operator);
|
|
1309
1365
|
}
|
|
@@ -1604,7 +1660,8 @@ const StatementFields = styled.div`
|
|
|
1604
1660
|
background: transparent;
|
|
1605
1661
|
}
|
|
1606
1662
|
`;
|
|
1607
|
-
function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size, operators, operatorConfigurable, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
|
|
1663
|
+
function RuleEditorFields({ registry, dateTimesEnabled, field, groupIndex, ruleIndex, rule, size, operators, operatorConfigurable, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
|
|
1664
|
+
const minutePrecisionValue = field != null && isMinutePrecisionDate(field, rule.operator, dateTimesEnabled);
|
|
1608
1665
|
const fieldOptions = useMemo(() => buildFieldPickerOptions(registry), [registry]);
|
|
1609
1666
|
return /* @__PURE__ */ jsxs(StatementFields, { children: [
|
|
1610
1667
|
/* @__PURE__ */ jsx(ComboboxField, {
|
|
@@ -1648,13 +1705,14 @@ function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size,
|
|
|
1648
1705
|
field && !isValuelessOperator(rule.operator) ? /* @__PURE__ */ jsx(FormField, {
|
|
1649
1706
|
label: "Value",
|
|
1650
1707
|
labelProps: { size },
|
|
1708
|
+
configField: minutePrecisionValue ? false : void 0,
|
|
1651
1709
|
children: /* @__PURE__ */ jsx(Fragment$1, { children: renderValueControl(field, rule.operator, rule.value, (next, relativeDate) => onValueChange(groupIndex, ruleIndex, next, relativeDate), rule.relativeDate) })
|
|
1652
1710
|
}) : null
|
|
1653
1711
|
] });
|
|
1654
1712
|
}
|
|
1655
1713
|
//#endregion
|
|
1656
1714
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/AdvancedFilterRuleRow.tsx
|
|
1657
|
-
function AdvancedFilterRuleRow({ registry, groupIndex, ruleIndex, rule, size, isOpen, onClose, onDelete, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
|
|
1715
|
+
function AdvancedFilterRuleRow({ registry, dateTimesEnabled, groupIndex, ruleIndex, rule, size, isOpen, onClose, onDelete, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
|
|
1658
1716
|
const field = registry.get(rule.fieldId);
|
|
1659
1717
|
const operators = field ? getOperatorsForField(field) : [];
|
|
1660
1718
|
const operatorConfigurable = field ? fieldHasMultipleOperators(field) : true;
|
|
@@ -1683,6 +1741,7 @@ function AdvancedFilterRuleRow({ registry, groupIndex, ruleIndex, rule, size, is
|
|
|
1683
1741
|
dropdownHeadingText: `Edit \u2018${condition}\u2019 statement`,
|
|
1684
1742
|
dropdownFormFields: /* @__PURE__ */ jsx(RuleEditorFields, {
|
|
1685
1743
|
registry,
|
|
1744
|
+
dateTimesEnabled,
|
|
1686
1745
|
field,
|
|
1687
1746
|
groupIndex,
|
|
1688
1747
|
ruleIndex,
|
|
@@ -1803,7 +1862,7 @@ const PopoverContent = styled(PopoverPrimitive.Content)`
|
|
|
1803
1862
|
z-index: ${Z_INDICES.modalDropdown};
|
|
1804
1863
|
`;
|
|
1805
1864
|
const PopoverCard = styled(Card_default)`
|
|
1806
|
-
width: 384px;
|
|
1865
|
+
width: ${({ $wide }) => $wide ? "520px" : "384px"};
|
|
1807
1866
|
max-width: calc(100vw - ${Spacing[4]});
|
|
1808
1867
|
margin-bottom: 0;
|
|
1809
1868
|
|
|
@@ -1909,9 +1968,10 @@ function groupsForRender(compound) {
|
|
|
1909
1968
|
* inline; clicking a row reveals the field/operator/value editor inside the
|
|
1910
1969
|
* row's dropdown popover.
|
|
1911
1970
|
*/
|
|
1912
|
-
const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, open, onOpenChange, renderValueControl, size }) => {
|
|
1971
|
+
const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, open, onOpenChange, renderValueControl, size, dateTimesEnabled = false }) => {
|
|
1913
1972
|
const resolvedSize = useFilterBarSize(size);
|
|
1914
1973
|
const subtleIconSize = resolvedSize === "sm" ? "xs" : "sm";
|
|
1974
|
+
const wide = useMemo(() => dateTimesEnabled && registry.all().some((field) => field.timeGranularity === "minute"), [registry, dateTimesEnabled]);
|
|
1915
1975
|
const [internalOpen, setInternalOpen] = useState(false);
|
|
1916
1976
|
const isControlled = open != null;
|
|
1917
1977
|
const isOpen = isControlled ? open : internalOpen;
|
|
@@ -2034,6 +2094,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
|
|
|
2034
2094
|
},
|
|
2035
2095
|
children: /* @__PURE__ */ jsxs(PopoverCard, {
|
|
2036
2096
|
elevated: true,
|
|
2097
|
+
$wide: wide,
|
|
2037
2098
|
children: [/* @__PURE__ */ jsx(Header, { children: /* @__PURE__ */ jsx(Paragraph, {
|
|
2038
2099
|
size: resolvedSize,
|
|
2039
2100
|
color: "secondary",
|
|
@@ -2096,6 +2157,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
|
|
|
2096
2157
|
const rowId = `${groupIndex}-${ruleIndex}`;
|
|
2097
2158
|
return /* @__PURE__ */ jsx(AdvancedFilterRuleRow, {
|
|
2098
2159
|
registry,
|
|
2160
|
+
dateTimesEnabled,
|
|
2099
2161
|
groupIndex,
|
|
2100
2162
|
ruleIndex,
|
|
2101
2163
|
rule,
|
|
@@ -2432,7 +2494,8 @@ const DateRangeValueControl = ({ field, operator, value, relativeDate, onChange,
|
|
|
2432
2494
|
showClear: false,
|
|
2433
2495
|
size,
|
|
2434
2496
|
visibleMonths,
|
|
2435
|
-
granularity: minuteMode ? "minute" : "day"
|
|
2497
|
+
granularity: minuteMode ? "minute" : "day",
|
|
2498
|
+
hideTimeZone: !minuteMode
|
|
2436
2499
|
}, hasCompleteRange ? "range" : "empty");
|
|
2437
2500
|
};
|
|
2438
2501
|
//#endregion
|
|
@@ -2441,7 +2504,7 @@ const DATE_ONLY = /^\d{4}-\d{2}-\d{2}$/;
|
|
|
2441
2504
|
const parseIsoDate = (value, field, operator, dateTimesEnabled) => {
|
|
2442
2505
|
if (typeof value !== "string") return null;
|
|
2443
2506
|
try {
|
|
2444
|
-
if (
|
|
2507
|
+
if (isMinutePrecisionDate(field, operator, dateTimesEnabled)) {
|
|
2445
2508
|
if (DATE_ONLY.test(value)) {
|
|
2446
2509
|
const dateTime = DateTime.fromISO(value, { zone: Settings.defaultZone });
|
|
2447
2510
|
const iso = (operator === "after" ? dateTime.startOf("day") : dateTime.endOf("day")).toISO();
|
|
@@ -2467,7 +2530,7 @@ const parseIsoDate = (value, field, operator, dateTimesEnabled) => {
|
|
|
2467
2530
|
*/
|
|
2468
2531
|
const DateValueControl = ({ field, operator, value, onChange, ariaLabel, dateTimesEnabled = false }) => {
|
|
2469
2532
|
const size = useFilterBarSize();
|
|
2470
|
-
const minuteMode =
|
|
2533
|
+
const minuteMode = isMinutePrecisionDate(field, operator, dateTimesEnabled);
|
|
2471
2534
|
const handleChange = useCallback((nextDate) => {
|
|
2472
2535
|
if (!nextDate || !minuteMode) {
|
|
2473
2536
|
onChange(nextDate ? nextDate.toString() : null);
|
|
@@ -3093,10 +3156,11 @@ const FilterPill = forwardRef(function FilterPill({ field, rule, onClick, onDism
|
|
|
3093
3156
|
//#region components/DataTable/TableControls/FiltersV2/FilterPopover/FilterPopover.tsx
|
|
3094
3157
|
/**
|
|
3095
3158
|
* Compact value controls fit the minimum width; wider controls can grow
|
|
3096
|
-
* up to 320px without overflowing
|
|
3159
|
+
* up to 320px without overflowing, or 520px when the popover is `wide`.
|
|
3097
3160
|
*/
|
|
3098
3161
|
const POPOVER_MIN_WIDTH = "196px";
|
|
3099
3162
|
const POPOVER_MAX_WIDTH = "320px";
|
|
3163
|
+
const POPOVER_WIDE_MAX_WIDTH = "520px";
|
|
3100
3164
|
const OperatorMenu = styled(DropdownMenu_default)`
|
|
3101
3165
|
&& {
|
|
3102
3166
|
background-color: ${({ theme }) => semanticColor(theme, "SurfaceElevated", theme.color.background.primary)};
|
|
@@ -3104,7 +3168,7 @@ const OperatorMenu = styled(DropdownMenu_default)`
|
|
|
3104
3168
|
`;
|
|
3105
3169
|
const PopoverPanel = styled(Stack).attrs({ spacing: Spacing[0] })`
|
|
3106
3170
|
min-width: ${POPOVER_MIN_WIDTH};
|
|
3107
|
-
max-width: ${POPOVER_MAX_WIDTH};
|
|
3171
|
+
max-width: ${({ $wide }) => $wide ? POPOVER_WIDE_MAX_WIDTH : POPOVER_MAX_WIDTH};
|
|
3108
3172
|
/* The design-system Popover.Card already supplies bg, border, shadow,
|
|
3109
3173
|
and 6px corner radius — we just constrain the inner content. */
|
|
3110
3174
|
`;
|
|
@@ -3206,7 +3270,7 @@ const Footer = styled(HStack).attrs({
|
|
|
3206
3270
|
* back through `onChangeOperator` and forwards open/close transitions
|
|
3207
3271
|
* through Radix's controlled props.
|
|
3208
3272
|
*/
|
|
3209
|
-
const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, onClose, trigger, open, onOpenChange, size }) => {
|
|
3273
|
+
const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, onClose, trigger, open, onOpenChange, size, wide = false }) => {
|
|
3210
3274
|
const resolvedSize = useFilterBarSize(size);
|
|
3211
3275
|
const valueless = isValuelessOperator(operator);
|
|
3212
3276
|
const CaretIcon = resolvedSize === "sm" ? CaretDownIcon$1 : CaretDownIcon;
|
|
@@ -3255,6 +3319,7 @@ const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, on
|
|
|
3255
3319
|
"aria-label": `Edit filter for ${field.label}`,
|
|
3256
3320
|
noPadding: true,
|
|
3257
3321
|
children: /* @__PURE__ */ jsxs(PopoverPanel, {
|
|
3322
|
+
$wide: wide,
|
|
3258
3323
|
onKeyDown: handleKeyDown,
|
|
3259
3324
|
children: [/* @__PURE__ */ jsxs(Main, {
|
|
3260
3325
|
$valueless: valueless,
|
|
@@ -4021,6 +4086,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
|
|
|
4021
4086
|
"aria-label": "Filter bar",
|
|
4022
4087
|
children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(AdvancedFilterRulesPopover, {
|
|
4023
4088
|
registry,
|
|
4089
|
+
dateTimesEnabled,
|
|
4024
4090
|
compound: filterState.state.compound,
|
|
4025
4091
|
open: rulesPopoverOpen,
|
|
4026
4092
|
onOpenChange: setRulesPopoverOpen,
|
|
@@ -4060,6 +4126,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
|
|
|
4060
4126
|
return /* @__PURE__ */ jsx(FilterPopover, {
|
|
4061
4127
|
field,
|
|
4062
4128
|
operator: rule.operator,
|
|
4129
|
+
wide: isMinutePrecisionDate(field, rule.operator, dateTimesEnabled) && carriesDateRange(rule.operator, field.type),
|
|
4063
4130
|
onChangeOperator: (op) => {
|
|
4064
4131
|
const { relativeDate: _staleRelativeDate, ...rest } = rule;
|
|
4065
4132
|
filterState.updateTopLevelRule(rule.id, {
|
|
@@ -4431,4 +4498,4 @@ function decodeBase64(input) {
|
|
|
4431
4498
|
//#endregion
|
|
4432
4499
|
export { TableControlsProvider as A, getOperatorsForType as C, reconcileValueForOperator as D, isValuelessOperator as E, ControlBar as F, DataTableCompactBar as I, TableViewConfiguration as M, TableViewConfigurationDropdown as N, dateRuleIntent as O, TableControls as P, getOperatorsForField as S, isRangeOperator as T, FILTER_SIZE_TOKENS as _, encodeFilterStateToUrlParam as a, emptyValueForRule as b, FilterBar_default as c, isFilterStateV2 as d, pruneToRegistry as f, resolveValueControl as g, PillShell as h, decodeFilterStateFromUrl as i, useTableControls as j, TableControlsContext 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, isCompleteDateRange as w, getDefaultOperatorForType as x, resolveDateRangeRuleValue as y };
|
|
4433
4500
|
|
|
4434
|
-
//# sourceMappingURL=TableControls-
|
|
4501
|
+
//# sourceMappingURL=TableControls-CqW_nyBY.mjs.map
|