@persona/design-system 0.1.9 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/{Action-CVtzREhU.d.mts → Action-B25g4O9p.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +3 -3
- package/dist/AdvancedFilterRulesPopover.d.mts +3 -3
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +5 -5
- package/dist/AttributeGrid.d.mts +1 -1
- package/dist/{Badge-DEVbRlJX.mjs → Badge-Bd_k492g.mjs} +2 -2
- package/dist/{Badge-DEVbRlJX.mjs.map → Badge-Bd_k492g.mjs.map} +1 -1
- package/dist/Banner.d.mts +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-lziQ1FX9.d.mts → Breadcrumb-DEwZFJHF.d.mts} +10 -2
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-DJ5qqqRD.d.mts → Breadcrumbs-0e_3v9FF.d.mts} +2 -2
- package/dist/{Breadcrumbs-W8hIhdHD.mjs → Breadcrumbs-C9udlH48.mjs} +44 -27
- package/dist/Breadcrumbs-C9udlH48.mjs.map +1 -0
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-Vd5O4DUp.d.mts → Button-KCl4uRtU.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CqnG--CU.d.mts → Card-8DuhHQIk.d.mts} +4 -4
- package/dist/{Card-BMCB9eFC.mjs → Card-CLTkZLKr.mjs} +4 -4
- package/dist/{Card-BMCB9eFC.mjs.map → Card-CLTkZLKr.mjs.map} +1 -1
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +2 -2
- package/dist/{CardV2-C0fcOUdp.mjs → CardV2-_GfXFd3d.mjs} +16 -16
- package/dist/{CardV2-C0fcOUdp.mjs.map → CardV2-_GfXFd3d.mjs.map} +1 -1
- package/dist/{Checkbox-Bm8exUfH.d.mts → Checkbox-Bmm-r5ei.d.mts} +1 -1
- package/dist/{Checkbox-BcuiFvK7.mjs → Checkbox-D77Rg7La.mjs} +7 -7
- package/dist/{Checkbox-BcuiFvK7.mjs.map → Checkbox-D77Rg7La.mjs.map} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +2 -2
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-B6JyLog8.mjs → Combobox-BzqlrMK0.mjs} +55 -31
- package/dist/Combobox-BzqlrMK0.mjs.map +1 -0
- package/dist/{Combobox-BaD0f2Du.d.mts → Combobox-DVI8PoKx.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BsPf8BZh.d.mts → ComboboxBase-B8evOZpf.d.mts} +8 -8
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-DhLzCWbz.d.mts → ComboboxMultiSelect-KJarhRm4.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-P0r5rs_u.d.mts → ComboboxSingleSelect-CcIGaphR.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-CXqlVKy7.d.mts → CompactBar-DfP7Wu1l.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-yhb2jldT.mjs → ConfigFormGroup-D1Qma23p.mjs} +2 -2
- package/dist/{ConfigFormGroup-yhb2jldT.mjs.map → ConfigFormGroup-D1Qma23p.mjs.map} +1 -1
- package/dist/{ControlBar-tOCQnbAl.d.mts → ControlBar-DYrjBDzu.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +4 -4
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-Bw79p-Lx.mjs → DatePicker-CK2D9jvG.mjs} +24 -24
- package/dist/DatePicker-CK2D9jvG.mjs.map +1 -0
- package/dist/DatePicker.d.mts +1 -1
- package/dist/DateRangePicker.d.mts +2 -1
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-BI3IFJun.mjs → DropdownButton-CaM0itat.mjs} +3 -3
- package/dist/{DropdownButton-BI3IFJun.mjs.map → DropdownButton-CaM0itat.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-D25WBCah.mjs → DropdownMenu-B4f3LNoW.mjs} +3 -3
- package/dist/{DropdownMenu-D25WBCah.mjs.map → DropdownMenu-B4f3LNoW.mjs.map} +1 -1
- package/dist/{DropdownMenu-D6nfAsi0.d.mts → DropdownMenu-Bgho2AsJ.d.mts} +3 -3
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-CN2XjaOX.d.mts → ErrorProps-DX50vo-U.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-rqSkjchY.d.mts → FieldRegistry-COyIA4VU.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-D3LiIy1-.d.mts → FilterBar-CS2YjiTr.d.mts} +8 -5
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +3 -3
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +13 -3
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-CFU9uKF7.mjs → FormControl-CFYlkv7E.mjs} +3 -3
- package/dist/{FormControl-CFU9uKF7.mjs.map → FormControl-CFYlkv7E.mjs.map} +1 -1
- package/dist/{FormControl-DH3bgqaB.d.mts → FormControl-iPeOOlFb.d.mts} +4 -4
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-DdmgSWq4.mjs → FormField-Bol8gzNt.mjs} +20 -20
- package/dist/FormField-Bol8gzNt.mjs.map +1 -0
- package/dist/{FormField-BugkBvN4.d.mts → FormField-BruK7Des.d.mts} +2 -2
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-CDTYK1XJ.d.mts → Header-BxTdWg0Q.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-B7Ysh8B3.d.mts → HelperTooltip-Z5NdrLCT.d.mts} +3 -3
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-7TWP0Y1Z.mjs → HoverCopyableField-C8AdtVrT.mjs} +7 -7
- package/dist/{HoverCopyableField-7TWP0Y1Z.mjs.map → HoverCopyableField-C8AdtVrT.mjs.map} +1 -1
- package/dist/HoverCopyableField.d.mts +1 -1
- package/dist/{IconButton-P8w0JDI5.mjs → IconButton-Bi4kdsbV.mjs} +9 -9
- package/dist/{IconButton-P8w0JDI5.mjs.map → IconButton-Bi4kdsbV.mjs.map} +1 -1
- package/dist/{IconButton-BHCmHIx5.d.mts → IconButton-BycIGS3p.d.mts} +2 -2
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +2 -2
- package/dist/InlineCombobox.d.mts +2 -2
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-DMgVyZyq.d.mts → Input-CEcoDtTu.d.mts} +5 -5
- package/dist/{Input-QC6xla6I.mjs → Input-CSOxMzlt.mjs} +4 -4
- package/dist/{Input-QC6xla6I.mjs.map → Input-CSOxMzlt.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-BnjxrdWQ.d.mts → InputProps-Buxtnz77.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/LayoutLoadingShimmer.d.mts +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-TrL3Tb7X.mjs → ListBox-CSMVAgHm.mjs} +13 -13
- package/dist/{ListBox-TrL3Tb7X.mjs.map → ListBox-CSMVAgHm.mjs.map} +1 -1
- package/dist/{ListBox-D09N1a5D.d.mts → ListBox-CajNIX9P.d.mts} +5 -5
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +3 -3
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/{LogicRow-BcuiSTHN.d.mts → LogicRow-DK1NcP2a.d.mts} +4 -4
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-Bv8dsrz6.d.mts → Menu-BLtjpLst.d.mts} +4 -4
- package/dist/{Menu-DmeMgN-i.mjs → Menu-DDXR9uHy.mjs} +5 -5
- package/dist/{Menu-DmeMgN-i.mjs.map → Menu-DDXR9uHy.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs → MiddleTruncatedText-DjsUk8HM.mjs} +4 -4
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs.map → MiddleTruncatedText-DjsUk8HM.mjs.map} +1 -1
- package/dist/Modal.d.mts +3 -3
- package/dist/{PageHeader-jSLud2JI.mjs → PageHeader-BI2gxol5.mjs} +3 -3
- package/dist/{PageHeader-jSLud2JI.mjs.map → PageHeader-BI2gxol5.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +2 -2
- package/dist/PageLayout.d.mts +16 -0
- package/dist/{PageSelector-vay4jpMp.d.mts → PageSelector-BDo3ge1E.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-ygLutOst.d.mts → Pagination-Dcmv7bVe.d.mts} +2 -2
- package/dist/{Pagination-BeYukNCj.mjs → Pagination-DiaJX5Da.mjs} +8 -8
- package/dist/{Pagination-BeYukNCj.mjs.map → Pagination-DiaJX5Da.mjs.map} +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-QsTrz8wn.mjs → Pii-CSBV5Is7.mjs} +2 -2
- package/dist/{Pii-QsTrz8wn.mjs.map → Pii-CSBV5Is7.mjs.map} +1 -1
- package/dist/Pii.d.mts +1 -1
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-BkDpDdaO.mjs → Popover-5y0p85Sw.mjs} +6 -6
- package/dist/{Popover-BkDpDdaO.mjs.map → Popover-5y0p85Sw.mjs.map} +1 -1
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-DLxPxo7T.d.mts → PseudoClassProps-CcSlKNev.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-CSX2eO-O.mjs → Radio-aMjdUp4K.mjs} +3 -3
- package/dist/{Radio-CSX2eO-O.mjs.map → Radio-aMjdUp4K.mjs.map} +1 -1
- package/dist/{RadioGroup-CnK0opBd.mjs → RadioGroup-BpoKyoi3.mjs} +3 -3
- package/dist/{RadioGroup-CnK0opBd.mjs.map → RadioGroup-BpoKyoi3.mjs.map} +1 -1
- package/dist/{RadioGroup-DKqbSfju.d.mts → RadioGroup-Xn46ovrV.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/RangeCalendar.d.mts +3 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +3 -3
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-Bp2yjaE1.d.mts → SearchInput-Try11aJD.d.mts} +10 -3
- package/dist/SearchInput.d.mts +1 -1
- package/dist/Section.d.mts +1 -1
- package/dist/{SectionHeading-Q-rx2LEd.d.mts → SectionHeading-BxKNuU2m.d.mts} +2 -2
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-CgDQIVll.mjs → SegmentedControl-Cgs6qlhN.mjs} +3 -3
- package/dist/{SegmentedControl-CgDQIVll.mjs.map → SegmentedControl-Cgs6qlhN.mjs.map} +1 -1
- package/dist/{SegmentedControl-DrjdUOU9.d.mts → SegmentedControl-DckAdhcD.d.mts} +2 -2
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-Bk27TgN8.d.mts → Select-COT4bkPb.d.mts} +4 -4
- package/dist/{Select-C1ZoRk39.mjs → Select-CmJEiYXU.mjs} +11 -11
- package/dist/{Select-C1ZoRk39.mjs.map → Select-CmJEiYXU.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/Slider.d.mts +1 -1
- package/dist/SliderRHF.d.mts +1 -1
- package/dist/SliderThumb.d.mts +1 -1
- package/dist/{Spacer-CJp0lwkL.mjs → Spacer-Ln3KChb5.mjs} +1 -1
- package/dist/{Spacer-CJp0lwkL.mjs.map → Spacer-Ln3KChb5.mjs.map} +1 -1
- package/dist/{Spinner-BEPF42RW.mjs → Spinner-BXfYWjC_.mjs} +2 -2
- package/dist/{Spinner-BEPF42RW.mjs.map → Spinner-BXfYWjC_.mjs.map} +1 -1
- package/dist/{Stack-CkV7k7TE.d.mts → Stack-DHaK1-dw.d.mts} +2 -2
- package/dist/{Stack-Bl54WmhY.mjs → Stack-ckRN7LrP.mjs} +1 -1
- package/dist/{Stack-Bl54WmhY.mjs.map → Stack-ckRN7LrP.mjs.map} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator.d.mts +1 -1
- package/dist/{Sticker-CyGb9dEu.mjs → Sticker-BOlAy2TE.mjs} +5 -5
- package/dist/{Sticker-CyGb9dEu.mjs.map → Sticker-BOlAy2TE.mjs.map} +1 -1
- package/dist/{Sticker-Bs25ISz7.d.mts → Sticker-C8rvpu7M.d.mts} +6 -6
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/SwatchPicker.d.mts +1 -1
- package/dist/Tab.d.mts +3 -3
- package/dist/{TabBar-Bn8PHHBZ.mjs → TabBar-DX1Spi6D.mjs} +6 -6
- package/dist/{TabBar-Bn8PHHBZ.mjs.map → TabBar-DX1Spi6D.mjs.map} +1 -1
- package/dist/TabBarIconButton.d.mts +2 -2
- package/dist/{Table-BNScLj9g.d.mts → Table-8jXlKYLy.d.mts} +1 -1
- package/dist/{Table-BfontAeY.mjs → Table-BnYZVCLj.mjs} +7 -7
- package/dist/{Table-BfontAeY.mjs.map → Table-BnYZVCLj.mjs.map} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-CrDNMyT8.d.mts → TableBody-ByEcFueE.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-bmrKh_ax.mjs → TableBox-BC5l3UMT.mjs} +68 -58
- package/dist/TableBox-BC5l3UMT.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-CvjLYhTV.d.mts → TableBoxCell-CWh_riC8.d.mts} +8 -8
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +4 -4
- package/dist/{TableBoxRow-BzXECgid.d.mts → TableBoxRow-JnJXVqMr.d.mts} +4 -4
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-BAiFXiCh.d.mts → TableBoxRowActions-CfEE1r4C.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-DVTtNAPo.mjs → TableControls-51NYgFvI.mjs} +133 -61
- package/dist/TableControls-51NYgFvI.mjs.map +1 -0
- package/dist/{TableControls-BehR7CKS.d.mts → TableControls-DscP6fyt.d.mts} +4 -4
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-D_SBFZN1.d.mts → TableControlsContext-BeJ7GHPN.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-LxvG0e9k.d.mts → TableHead-g3afLl5B.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-Br8ZE3Xe.d.mts → TableHeaderCell-CWTMf2Fe.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-BZeP8qfg.d.mts → TableLayout-hPlVO3dD.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-BvS4yjo6.d.mts → TableRow-lvjbVccA.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-BYPh4dIP.d.mts → TableViewConfigurationDropdown-Ccxtk5dA.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/TechnicalSticker-D7viw4H5.mjs +266 -0
- package/dist/TechnicalSticker-D7viw4H5.mjs.map +1 -0
- package/dist/TechnicalSticker.d.mts +7 -1
- package/dist/{Text-DNPbAuUG.d.mts → Text-CEisq2at.d.mts} +4 -4
- package/dist/{Text-RcEfNFLx.mjs → Text-hEoPeOc9.mjs} +1 -1
- package/dist/{Text-RcEfNFLx.mjs.map → Text-hEoPeOc9.mjs.map} +1 -1
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-B89wtTsF.d.mts → TextArea-DiKEhpfD.d.mts} +2 -2
- package/dist/{TextArea-NCLsW-03.mjs → TextArea-DjmlpCdJ.mjs} +2 -2
- package/dist/{TextArea-NCLsW-03.mjs.map → TextArea-DjmlpCdJ.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-5-0D8s4z.d.mts → TextUnderlineTooltip-BKE4peKI.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +2 -2
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-Bie9zCem.mjs → Toggle-D1rEjYoN.mjs} +5 -5
- package/dist/{Toggle-Bie9zCem.mjs.map → Toggle-D1rEjYoN.mjs.map} +1 -1
- package/dist/{Toggle-DzYLgxGk.d.mts → Toggle-oukvAn6V.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-BvDbmXak.mjs → Tooltip-B-DDlRMw.mjs} +4 -4
- package/dist/{Tooltip-BvDbmXak.mjs.map → Tooltip-B-DDlRMw.mjs.map} +1 -1
- package/dist/{Tooltip-CUC-JuRL.d.mts → Tooltip-DZVPqxai.d.mts} +3 -3
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BJnowVTx.d.mts → TruncatedText-D2R7uy_y.d.mts} +2 -2
- package/dist/components/Attribute/index.mjs +7 -7
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +2 -2
- 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/Card/index.mjs +1 -1
- 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/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +1 -1
- package/dist/components/DataTable/TableControls/index.d.mts +15 -15
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +24 -24
- 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/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +1 -1
- package/dist/components/FormField/index.d.mts +1 -1
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +8 -8
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +3 -3
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +2 -2
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.mjs +7 -7
- 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/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.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- 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/Slider/index.mjs +3 -3
- package/dist/components/Spacer/index.mjs +1 -1
- 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 +7 -7
- 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 -231
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/Text/index.mjs +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 +4 -4
- package/dist/components/Toast/index.mjs +4 -4
- 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/Tooltip/index.mjs +1 -1
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BASogfT_.d.mts → constants-bA9kCzRQ.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/containers.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-Blw6Sd69.d.mts → filter-size-context-C1TvrE_O.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-4_B2yRzD.d.mts → index-BC4edEsD.d.mts} +2 -2
- package/dist/{index-BxXTpeUb2.d.mts → index-DLV1eMsr.d.mts} +5 -5
- package/dist/{index-DDbjWdk0.d.mts → index-Doptc4HI.d.mts} +5 -5
- 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 +10 -10
- package/dist/{input-Bv5fKt5J.d.mts → input-D3Qd6dI8.d.mts} +3 -3
- package/dist/inputFields.d.mts +11 -11
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/{message-CMHvlPGn.d.mts → message-CsK3sIq0.d.mts} +1 -1
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/hoverable.mjs +1 -1
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/input.mjs +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-Bo31xlc2.d.mts → operators-C_xPzItk.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/{layouts → patterns}/LayoutLoadingShimmer/index.mjs +6 -6
- package/dist/patterns/LayoutLoadingShimmer/index.mjs.map +1 -0
- package/dist/patterns/PageLayout/index.d.mts +2 -0
- package/dist/patterns/PageLayout/index.mjs +35 -0
- package/dist/patterns/PageLayout/index.mjs.map +1 -0
- package/dist/{text-B21s9mRZ.d.mts → text-BaQdW8qa.d.mts} +1 -1
- package/dist/{theme-BzBpJXhO.d.mts → theme-D9Y6NOzb.d.mts} +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/{types-D7ppqnNj.d.mts → types-BKEwt0uq.d.mts} +2 -2
- package/dist/{types-DEh_pXgS.d.mts → types-CjHuZoVJ.d.mts} +1 -1
- package/dist/{types-TV9nVfSe.d.mts → types-DVsBRqjZ.d.mts} +1 -1
- package/dist/{types-D58IoRx6.d.mts → types-mb3woqzE.d.mts} +6 -7
- 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/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-DCQghouq.d.mts → useFilterStateV2-CGzRyv0i.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-D8mLsiQc.d.mts → useFormField-DhwEi45-.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-BMo-iaUF.d.mts → useTableBoxDragAndDrop-CsnN52lx.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/{useToggle-Bo3yd14Y.mjs → useToggle-3k3EkV8V.mjs} +1 -1
- package/dist/{useToggle-Bo3yd14Y.mjs.map → useToggle-3k3EkV8V.mjs.map} +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-BO_95qFA.d.mts → utilities-DnSIlR1i.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/testing.mjs +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-vLh3t2dk.d.mts → validation-BdP2vajF.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-CE-bqdAl.d.mts → value-control-resolver-CiGEHQAc.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/llms.txt +43 -0
- package/package.json +8 -5
- package/skills/ui-authoring/SKILL.md +27 -1
- package/dist/Breadcrumbs-W8hIhdHD.mjs.map +0 -1
- package/dist/Combobox-B6JyLog8.mjs.map +0 -1
- package/dist/DatePicker-Bw79p-Lx.mjs.map +0 -1
- package/dist/FormField-DdmgSWq4.mjs.map +0 -1
- package/dist/TableBox-bmrKh_ax.mjs.map +0 -1
- package/dist/TableControls-DVTtNAPo.mjs.map +0 -1
- package/dist/components/TechnicalSticker/index.mjs.map +0 -1
- package/dist/layouts/LayoutLoadingShimmer/index.mjs.map +0 -1
- /package/dist/{index--p6oQT9I.d.mts → index-0-W_aPej.d.mts} +0 -0
- /package/dist/{index-BYd3Btr1.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-CDGG7lCB.d.mts → index-7rWKHdox.d.mts} +0 -0
- /package/dist/{index-CMuRFTR3.d.mts → index-B4woaFSm.d.mts} +0 -0
- /package/dist/{index-CNxS4Tlu.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-CWB6exYm.d.mts → index-BNRXMhlr.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-BO_854F2.d.mts} +0 -0
- /package/dist/{index-D4DUvwPf.d.mts → index-BOn0AAue.d.mts} +0 -0
- /package/dist/{index-D5tSVhTd.d.mts → index-CCt0lwyI.d.mts} +0 -0
- /package/dist/{index-DGsJdI5l.d.mts → index-CREkvfw9.d.mts} +0 -0
- /package/dist/{index-DM6vVDZD.d.mts → index-CRo77wc3.d.mts} +0 -0
- /package/dist/{index-DWfPppPU.d.mts → index-Ci-uuV07.d.mts} +0 -0
- /package/dist/{index-DXJd7-2Z.d.mts → index-CsuikFeJ.d.mts} +0 -0
- /package/dist/{index-DkrC-i1D.d.mts → index-CzUpNo0e.d.mts} +0 -0
- /package/dist/{index-DvuJXuAN.d.mts → index-DDdPqD_H.d.mts} +0 -0
- /package/dist/{index-Iujpc9_6.d.mts → index-DeVKzGce.d.mts} +0 -0
- /package/dist/{index-PWQavSPf.d.mts → index-Es5nKSSL.d.mts} +0 -0
- /package/dist/{index-e6k85DKM.d.mts → index-FtE8MXJ_.d.mts} +0 -0
- /package/dist/{index-lIMqGGJz.d.mts → index-ehD5GjMH.d.mts} +0 -0
- /package/dist/{index-sViox9YW.d.mts → index-uMNhmxEh.d.mts} +0 -0
- /package/dist/{layouts → patterns}/LayoutLoadingShimmer/index.d.mts +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { isActive, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
2
|
-
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
3
|
-
import "./variables/transitions.mjs";
|
|
4
|
-
import { paragraphMixins } from "./mixins/text.mjs";
|
|
5
|
-
import { n as Stack, t as HStack } from "./Stack-Bl54WmhY.mjs";
|
|
6
1
|
import { TruncatedText } from "./lib/TruncatedText.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { paragraphMixins } from "./mixins/text.mjs";
|
|
3
|
+
import { t as Card_default } from "./Card-CLTkZLKr.mjs";
|
|
4
|
+
import { t as Spacer_default } from "./Spacer-Ln3KChb5.mjs";
|
|
5
|
+
import { i as Paragraph, r as Label$1 } from "./Text-hEoPeOc9.mjs";
|
|
6
|
+
import "./variables/transitions.mjs";
|
|
7
|
+
import { a as Tooltip } from "./Tooltip-B-DDlRMw.mjs";
|
|
8
|
+
import { isActive, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
11
9
|
import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
|
|
12
10
|
import { Z_INDICES } from "./lib/zindex.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
11
|
+
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
12
|
+
import { n as Stack, t as HStack } from "./Stack-ckRN7LrP.mjs";
|
|
13
|
+
import { n as Button, t as IconButton } from "./IconButton-Bi4kdsbV.mjs";
|
|
14
|
+
import { c as MenuList, s as MenuItem } from "./Menu-DDXR9uHy.mjs";
|
|
15
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-B4f3LNoW.mjs";
|
|
16
|
+
import { r as InputGroup } from "./Input-CSOxMzlt.mjs";
|
|
17
17
|
import Input_default from "./components/Input/index.mjs";
|
|
18
|
-
import { t as Combobox } from "./Combobox-
|
|
19
|
-
import { s as Popover_default } from "./Popover-
|
|
20
|
-
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-
|
|
21
|
-
import { t as Toggle } from "./Toggle-
|
|
22
|
-
import { t as ListBox } from "./ListBox-
|
|
23
|
-
import { m as FormField, o as ComboboxField } from "./FormField-
|
|
24
|
-
import { n as DatePicker } from "./DatePicker-
|
|
18
|
+
import { t as Combobox } from "./Combobox-BzqlrMK0.mjs";
|
|
19
|
+
import { s as Popover_default } from "./Popover-5y0p85Sw.mjs";
|
|
20
|
+
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-DX1Spi6D.mjs";
|
|
21
|
+
import { t as Toggle } from "./Toggle-D1rEjYoN.mjs";
|
|
22
|
+
import { t as ListBox } from "./ListBox-CSMVAgHm.mjs";
|
|
23
|
+
import { m as FormField, o as ComboboxField } from "./FormField-Bol8gzNt.mjs";
|
|
24
|
+
import { n as DatePicker } from "./DatePicker-CK2D9jvG.mjs";
|
|
25
25
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
26
|
+
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
26
27
|
import styled, { createGlobalStyle, css } from "styled-components";
|
|
27
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
28
|
-
import { Fragment as Fragment$1, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
28
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
29
29
|
import { CaretDownIcon, CheckIcon, CircleInfoIcon, CirclePlusIcon, CopyIcon, FilterIcon, MoreIcon, PlusIcon, RotateCcwIcon, SaveIcon, SearchIcon, SettingsIcon, TrashIcon, XIcon } from "@persona/icons";
|
|
30
30
|
import { CaretDownIcon as CaretDownIcon$1, CircleInfoIcon as CircleInfoIcon$1, LockedIcon as LockedIcon$1, MoreIcon as MoreIcon$1, PlusIcon as PlusIcon$1, SearchIcon as SearchIcon$1, XIcon as XIcon$1 } from "@persona/icons/12px";
|
|
31
31
|
import { debounce, union, uniqueId } from "lodash/fp.js";
|
|
@@ -52,7 +52,26 @@ const FormControlLabel = styled(Label$1).attrs(() => ({
|
|
|
52
52
|
`;
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region components/DataTable/SearchInput/SearchInput.tsx
|
|
55
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Matches the delay Tooltip applies to its own hover handling, which the cursor anchor bypasses by
|
|
57
|
+
* controlling `open`.
|
|
58
|
+
*/
|
|
59
|
+
const TOOLTIP_DELAY_MS = 300;
|
|
60
|
+
const SearchBar = styled.div`
|
|
61
|
+
position: relative;
|
|
62
|
+
`;
|
|
63
|
+
/**
|
|
64
|
+
* Zero-size anchor that gets moved to the pointer, so the disabled tooltip surfaces next to the
|
|
65
|
+
* cursor rather than in the middle of a search bar that can span the full width of the table.
|
|
66
|
+
*/
|
|
67
|
+
const CursorAnchor = styled.div`
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0;
|
|
70
|
+
left: 0;
|
|
71
|
+
width: 0;
|
|
72
|
+
height: 0;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
`;
|
|
56
75
|
const StyledInput = styled(Input_default)`
|
|
57
76
|
${({ theme, flattenDisplay }) => flattenDisplay && css`
|
|
58
77
|
border-width: 0px;
|
|
@@ -63,7 +82,7 @@ const StyledInput = styled(Input_default)`
|
|
|
63
82
|
}
|
|
64
83
|
`}
|
|
65
84
|
`;
|
|
66
|
-
const SearchInput = ({ className, title = "Search", handleInput, handleOnFocus = noop, onBlur = noop, id, value, placeholder, dataTest, autoFocus, useClearIcon = false, disabled = false, disabledTooltip, size = "md", leftIcon = size === "sm" ? /* @__PURE__ */ jsx(SearchIcon$1, {}) : /* @__PURE__ */ jsx(SearchIcon, {}), flattenDisplay = false, maxLength }) => {
|
|
85
|
+
const SearchInput = ({ className, title = "Search", handleInput, handleOnFocus = noop, onBlur = noop, id, value, placeholder, dataTest, autoFocus, useClearIcon = false, disabled = false, disabledTooltip, anchorTooltipToCursor = false, size = "md", leftIcon = size === "sm" ? /* @__PURE__ */ jsx(SearchIcon$1, {}) : /* @__PURE__ */ jsx(SearchIcon, {}), flattenDisplay = false, maxLength }) => {
|
|
67
86
|
const [innerValue, setInnerValue] = useState(value);
|
|
68
87
|
const handleChange = useCallback(({ target }) => {
|
|
69
88
|
setInnerValue(target.value);
|
|
@@ -84,40 +103,87 @@ const SearchInput = ({ className, title = "Search", handleInput, handleOnFocus =
|
|
|
84
103
|
inputRef,
|
|
85
104
|
setInnerValue
|
|
86
105
|
]);
|
|
106
|
+
const canClear = useClearIcon && !!innerValue;
|
|
107
|
+
const showDisabledTooltip = disabled && !!disabledTooltip;
|
|
108
|
+
const showCursorAnchoredTooltip = showDisabledTooltip && anchorTooltipToCursor;
|
|
109
|
+
const searchBarRef = useRef(null);
|
|
110
|
+
const cursorAnchorRef = useRef(null);
|
|
111
|
+
const tooltipDelayRef = useRef();
|
|
112
|
+
const [isTooltipOpen, setIsTooltipOpen] = useState(false);
|
|
113
|
+
useEffect(() => {
|
|
114
|
+
if (!showCursorAnchoredTooltip) {
|
|
115
|
+
clearTimeout(tooltipDelayRef.current);
|
|
116
|
+
tooltipDelayRef.current = void 0;
|
|
117
|
+
setIsTooltipOpen(false);
|
|
118
|
+
}
|
|
119
|
+
return () => clearTimeout(tooltipDelayRef.current);
|
|
120
|
+
}, [showCursorAnchoredTooltip]);
|
|
121
|
+
const handlePointerMove = useCallback((event) => {
|
|
122
|
+
const searchBarElement = searchBarRef.current;
|
|
123
|
+
const cursorAnchor = cursorAnchorRef.current;
|
|
124
|
+
if (!searchBarElement || !cursorAnchor || event.pointerType === "touch") return;
|
|
125
|
+
const { left, top } = searchBarElement.getBoundingClientRect();
|
|
126
|
+
const offsetX = event.clientX - left;
|
|
127
|
+
const offsetY = event.clientY - top;
|
|
128
|
+
cursorAnchor.style.transform = `translate(${offsetX}px, ${offsetY}px)`;
|
|
129
|
+
tooltipDelayRef.current ??= setTimeout(() => setIsTooltipOpen(true), TOOLTIP_DELAY_MS);
|
|
130
|
+
}, []);
|
|
131
|
+
const handlePointerLeave = useCallback(() => {
|
|
132
|
+
clearTimeout(tooltipDelayRef.current);
|
|
133
|
+
tooltipDelayRef.current = void 0;
|
|
134
|
+
setIsTooltipOpen(false);
|
|
135
|
+
}, []);
|
|
87
136
|
const searchBar = /* @__PURE__ */ jsxs(SearchBar, {
|
|
137
|
+
ref: searchBarRef,
|
|
88
138
|
className,
|
|
89
139
|
"data-test": dataTest,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
140
|
+
onPointerMove: showCursorAnchoredTooltip ? handlePointerMove : void 0,
|
|
141
|
+
onPointerLeave: showCursorAnchoredTooltip ? handlePointerLeave : void 0,
|
|
142
|
+
children: [
|
|
143
|
+
title != null && /* @__PURE__ */ jsx(FormControlLabel, {
|
|
144
|
+
htmlFor: id,
|
|
145
|
+
children: title
|
|
146
|
+
}),
|
|
147
|
+
/* @__PURE__ */ jsx(InputGroup, {
|
|
148
|
+
leftIcon,
|
|
149
|
+
onClear: canClear ? (e) => {
|
|
150
|
+
e.preventDefault();
|
|
151
|
+
e.stopPropagation();
|
|
152
|
+
handleClear();
|
|
153
|
+
} : void 0,
|
|
154
|
+
size,
|
|
155
|
+
children: /* @__PURE__ */ jsx(StyledInput, {
|
|
156
|
+
id,
|
|
157
|
+
onChange: handleChange,
|
|
158
|
+
placeholder,
|
|
159
|
+
value: innerValue,
|
|
160
|
+
autoFocus,
|
|
161
|
+
ref: inputRef,
|
|
162
|
+
onFocus: handleOnFocus,
|
|
163
|
+
onBlur,
|
|
164
|
+
disabled,
|
|
165
|
+
maxLength,
|
|
166
|
+
flattenDisplay
|
|
167
|
+
})
|
|
168
|
+
}),
|
|
169
|
+
showCursorAnchoredTooltip && /* @__PURE__ */ jsx(Tooltip, {
|
|
170
|
+
trigger: /* @__PURE__ */ jsx(CursorAnchor, {
|
|
171
|
+
ref: cursorAnchorRef,
|
|
172
|
+
"data-test": "search-input__cursor-anchor"
|
|
173
|
+
}),
|
|
174
|
+
open: isTooltipOpen,
|
|
175
|
+
side: "top",
|
|
176
|
+
updatePositionStrategy: "always",
|
|
177
|
+
children: disabledTooltip
|
|
113
178
|
})
|
|
114
|
-
|
|
179
|
+
]
|
|
115
180
|
});
|
|
116
|
-
|
|
181
|
+
if (showDisabledTooltip && !anchorTooltipToCursor) return /* @__PURE__ */ jsx(Tooltip, {
|
|
117
182
|
trigger: searchBar,
|
|
118
183
|
side: "top",
|
|
119
184
|
children: disabledTooltip
|
|
120
|
-
})
|
|
185
|
+
});
|
|
186
|
+
return searchBar;
|
|
121
187
|
};
|
|
122
188
|
//#endregion
|
|
123
189
|
//#region components/DataTable/TableControls/CompactBar.tsx
|
|
@@ -141,7 +207,7 @@ const CompactSearchInput = styled(SearchInput)`
|
|
|
141
207
|
const CompactBar = ({ title, searchProps, showFilters, setShowFilters, filtersId, isLoading, propertiesButton, tableActions, "data-tour-target": dataTourTarget, filterPanel }) => {
|
|
142
208
|
const autoExpandSearch = !title;
|
|
143
209
|
const [showSearch, setShowSearch] = useState(autoExpandSearch);
|
|
144
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(DataTableCompactBar, {
|
|
210
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(DataTableCompactBar, {
|
|
145
211
|
"data-tour-target": dataTourTarget,
|
|
146
212
|
justify: "space-between",
|
|
147
213
|
align: "center",
|
|
@@ -551,7 +617,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
551
617
|
children: displayLabel
|
|
552
618
|
}, key);
|
|
553
619
|
});
|
|
554
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
620
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
555
621
|
/* @__PURE__ */ jsx(ProductTourStyles, {}),
|
|
556
622
|
(title || showViews || canEditViews && onSaveView || tableActions || bulkActions) && /* @__PURE__ */ jsx(ViewsBar, {
|
|
557
623
|
ref: tabListRef,
|
|
@@ -579,7 +645,7 @@ const ControlBar = ({ presetViews, currentView, onSelectView, views, onAddView,
|
|
|
579
645
|
tableActions
|
|
580
646
|
]
|
|
581
647
|
}),
|
|
582
|
-
children: showViews && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
648
|
+
children: showViews && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
583
649
|
/* @__PURE__ */ jsx(LockedViewTab, {
|
|
584
650
|
id: `${TAB_ID_PREFIX}default`,
|
|
585
651
|
selected: !currentView,
|
|
@@ -1314,7 +1380,7 @@ function buildFieldPickerOptions(registry, visibleCustomFieldParents, excludeFie
|
|
|
1314
1380
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/RuleEditorFields.tsx
|
|
1315
1381
|
function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size, operators, operatorConfigurable, onFieldChange, onOperatorChange, onValueChange, renderValueControl }) {
|
|
1316
1382
|
const fieldOptions = useMemo(() => buildFieldPickerOptions(registry), [registry]);
|
|
1317
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1383
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1318
1384
|
/* @__PURE__ */ jsx(ComboboxField, {
|
|
1319
1385
|
label: "Value",
|
|
1320
1386
|
labelProps: { size },
|
|
@@ -1356,7 +1422,7 @@ function RuleEditorFields({ registry, field, groupIndex, ruleIndex, rule, size,
|
|
|
1356
1422
|
field && !isValuelessOperator(rule.operator) ? /* @__PURE__ */ jsx(FormField, {
|
|
1357
1423
|
label: "Value",
|
|
1358
1424
|
labelProps: { size },
|
|
1359
|
-
children: /* @__PURE__ */ jsx(Fragment, { children: renderValueControl(field, rule.operator, rule.value, (next) => onValueChange(groupIndex, ruleIndex, next)) })
|
|
1425
|
+
children: /* @__PURE__ */ jsx(Fragment$1, { children: renderValueControl(field, rule.operator, rule.value, (next) => onValueChange(groupIndex, ruleIndex, next)) })
|
|
1360
1426
|
}) : null
|
|
1361
1427
|
] });
|
|
1362
1428
|
}
|
|
@@ -1736,7 +1802,7 @@ const AdvancedFilterRulesPopover = ({ registry, compound, onChange, trigger, ope
|
|
|
1736
1802
|
const isEmptyGroup = group.rules.length === 0;
|
|
1737
1803
|
const hideGroupMenu = isOnlyGroup && isEmptyGroup;
|
|
1738
1804
|
const deleteGroupLabel = isOnlyGroup && !isEmptyGroup ? "Clear all" : "Delete group";
|
|
1739
|
-
return /* @__PURE__ */ jsx(Fragment
|
|
1805
|
+
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(GroupCard, {
|
|
1740
1806
|
"data-test": `advanced-filter-rules__group-${groupIndex}`,
|
|
1741
1807
|
role: "group",
|
|
1742
1808
|
"aria-label": `Filter group ${groupIndex + 1}`,
|
|
@@ -2474,7 +2540,7 @@ const PillShell = forwardRef(function PillShell({ variant, children, bodyAriaLab
|
|
|
2474
2540
|
"aria-haspopup": "dialog",
|
|
2475
2541
|
"aria-expanded": ariaExpanded,
|
|
2476
2542
|
children
|
|
2477
|
-
}), onDismiss ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(DismissibleCaretWrapper, {
|
|
2543
|
+
}), onDismiss ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(DismissibleCaretWrapper, {
|
|
2478
2544
|
"aria-hidden": "true",
|
|
2479
2545
|
$size: resolvedSize,
|
|
2480
2546
|
children: /* @__PURE__ */ jsx(CaretIcon, {})
|
|
@@ -2723,7 +2789,7 @@ const Footer = styled(HStack).attrs({
|
|
|
2723
2789
|
* back through `onChangeOperator` and forwards open/close transitions
|
|
2724
2790
|
* through Radix's controlled props.
|
|
2725
2791
|
*/
|
|
2726
|
-
const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, onClose, trigger, open, onOpenChange, size }) => {
|
|
2792
|
+
const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, onClose, trigger, open, onOpenChange, size, portalContainer }) => {
|
|
2727
2793
|
const resolvedSize = useFilterBarSize(size);
|
|
2728
2794
|
const valueless = isValuelessOperator(operator);
|
|
2729
2795
|
const CaretIcon = resolvedSize === "sm" ? CaretDownIcon$1 : CaretDownIcon;
|
|
@@ -2761,12 +2827,15 @@ const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, on
|
|
|
2761
2827
|
return /* @__PURE__ */ jsxs(Popover_default, {
|
|
2762
2828
|
open,
|
|
2763
2829
|
onOpenChange: handleOpenChange,
|
|
2830
|
+
portalProps: portalContainer ? { container: portalContainer } : void 0,
|
|
2764
2831
|
children: [/* @__PURE__ */ jsx(Popover_default.Trigger, {
|
|
2765
2832
|
asChild: true,
|
|
2766
2833
|
children: trigger
|
|
2767
2834
|
}), /* @__PURE__ */ jsx(Popover_default.Card, {
|
|
2768
2835
|
align: "start",
|
|
2769
2836
|
sideOffset: 4,
|
|
2837
|
+
avoidCollisions: portalContainer == null,
|
|
2838
|
+
zIndex: Z_INDICES.dropdown,
|
|
2770
2839
|
"aria-label": `Edit filter for ${field.label}`,
|
|
2771
2840
|
noPadding: true,
|
|
2772
2841
|
children: /* @__PURE__ */ jsxs(PopoverPanel, {
|
|
@@ -2788,6 +2857,8 @@ const FilterPopover = ({ field, operator, onChangeOperator, valueControlSlot, on
|
|
|
2788
2857
|
}),
|
|
2789
2858
|
align: "start",
|
|
2790
2859
|
portal: true,
|
|
2860
|
+
portalProps: portalContainer ? { container: portalContainer } : void 0,
|
|
2861
|
+
zIndex: Z_INDICES.layeredDropdown,
|
|
2791
2862
|
children: operatorOptions.map((op) => /* @__PURE__ */ jsx(DropdownMenu_default.Item, {
|
|
2792
2863
|
size: resolvedSize,
|
|
2793
2864
|
onClick: () => onChangeOperator(op),
|
|
@@ -3424,7 +3495,7 @@ function useStableFieldIds(fieldIds) {
|
|
|
3424
3495
|
if (previous == null || fieldIds == null || previous.length !== fieldIds.length || fieldIds.some((id, index) => previous[index] !== id)) stable.current = fieldIds;
|
|
3425
3496
|
return stable.current;
|
|
3426
3497
|
}
|
|
3427
|
-
function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = true, singleUseFields = false, size = "md", valueControlResolver }) {
|
|
3498
|
+
function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = true, singleUseFields = false, size = "md", valueControlResolver, portalContainer }) {
|
|
3428
3499
|
const filterState = useFilterStateV2({
|
|
3429
3500
|
registry,
|
|
3430
3501
|
initialState,
|
|
@@ -3551,7 +3622,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
|
|
|
3551
3622
|
enabled: true,
|
|
3552
3623
|
isOpen: rulesPopoverOpen
|
|
3553
3624
|
})
|
|
3554
|
-
}) : null, hasPills ? /* @__PURE__ */ jsxs(Fragment, { children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(Divider, {
|
|
3625
|
+
}) : null, hasPills ? /* @__PURE__ */ jsxs(Fragment$1, { children: [filterState.advancedRulesEnabled ? /* @__PURE__ */ jsx(Divider, {
|
|
3555
3626
|
"aria-hidden": "true",
|
|
3556
3627
|
$size: size
|
|
3557
3628
|
}) : null, /* @__PURE__ */ jsxs(PillsScrollRegion, {
|
|
@@ -3589,6 +3660,7 @@ function FilterBar({ registry, initialState, onChange, advancedRulesEnabled = tr
|
|
|
3589
3660
|
onClose: () => setEditingRuleId(null),
|
|
3590
3661
|
open: isOpen,
|
|
3591
3662
|
onOpenChange: (open) => setEditingRuleId(open ? rule.id : null),
|
|
3663
|
+
portalContainer,
|
|
3592
3664
|
trigger: /* @__PURE__ */ jsx(FilterPill, {
|
|
3593
3665
|
ref: (node) => {
|
|
3594
3666
|
if (node) pillNodesRef.current.set(rule.id, node);
|
|
@@ -3856,4 +3928,4 @@ function normalizeFieldSource(raw) {
|
|
|
3856
3928
|
//#endregion
|
|
3857
3929
|
export { DataTableCompactBar as S, useTableControls as _, hasCompleteValue as a, TableControls as b, EMPTY_FILTER_STATE as c, getDefaultOperatorForType as d, getOperatorsForField as f, TableControlsProvider as g, TableControlsContext as h, useFilterStateV2 as i, resolveValueControl as l, isValuelessOperator as m, buildFieldRegistry as n, isFilterStateV2 as o, getOperatorsForType as p, FilterBar_default as r, pruneToRegistry as s, FieldRegistry as t, useFilterBarSize as u, TableViewConfiguration as v, ControlBar as x, TableViewConfigurationDropdown as y };
|
|
3858
3930
|
|
|
3859
|
-
//# sourceMappingURL=TableControls-
|
|
3931
|
+
//# sourceMappingURL=TableControls-51NYgFvI.mjs.map
|