@persona/design-system 0.1.9 → 0.2.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 +27 -0
- package/dist/{Action-CVtzREhU.d.mts → Action-DnR0YTxO.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 +4 -4
- package/dist/AttributeGrid.d.mts +1 -1
- package/dist/{Badge-DEVbRlJX.mjs → Badge-DRn_r6is.mjs} +2 -2
- package/dist/{Badge-DEVbRlJX.mjs.map → Badge-DRn_r6is.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-Byf2ye6H.mjs} +43 -26
- package/dist/Breadcrumbs-Byf2ye6H.mjs.map +1 -0
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-Vd5O4DUp.d.mts → Button-DkjwN_Op.d.mts} +3 -3
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-BMCB9eFC.mjs → Card-CLTkZLKr.mjs} +4 -4
- package/dist/{Card-BMCB9eFC.mjs.map → Card-CLTkZLKr.mjs.map} +1 -1
- package/dist/{Card-CqnG--CU.d.mts → Card-DxFajLnx.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/{CardV2-C0fcOUdp.mjs → CardV2-m9yOInMU.mjs} +16 -16
- package/dist/{CardV2-C0fcOUdp.mjs.map → CardV2-m9yOInMU.mjs.map} +1 -1
- package/dist/{Checkbox-Bm8exUfH.d.mts → Checkbox-Bmm-r5ei.d.mts} +1 -1
- package/dist/{Checkbox-BcuiFvK7.mjs → Checkbox-CU27-Aa8.mjs} +6 -6
- package/dist/{Checkbox-BcuiFvK7.mjs.map → Checkbox-CU27-Aa8.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-BaD0f2Du.d.mts → Combobox-BgKEHP9p.d.mts} +3 -3
- package/dist/{Combobox-B6JyLog8.mjs → Combobox-DhTUY8JT.mjs} +55 -31
- package/dist/Combobox-DhTUY8JT.mjs.map +1 -0
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BsPf8BZh.d.mts → ComboboxBase-Dmzn8a53.d.mts} +7 -7
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-DhLzCWbz.d.mts → ComboboxMultiSelect-BLKUKNEW.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-P0r5rs_u.d.mts → ComboboxSingleSelect-Kpl-iOok.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-CXqlVKy7.d.mts → CompactBar-E9hPDRvI.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-yhb2jldT.mjs → ConfigFormGroup-GgzSDzgL.mjs} +3 -3
- package/dist/{ConfigFormGroup-yhb2jldT.mjs.map → ConfigFormGroup-GgzSDzgL.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-DpGvo7Bd.mjs} +23 -23
- package/dist/DatePicker-DpGvo7Bd.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-DGgfGW_o.mjs} +3 -3
- package/dist/{DropdownButton-BI3IFJun.mjs.map → DropdownButton-DGgfGW_o.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-D6nfAsi0.d.mts → DropdownMenu-B2t3Bwky.d.mts} +3 -3
- package/dist/{DropdownMenu-D25WBCah.mjs → DropdownMenu-DZIFSJXD.mjs} +3 -3
- package/dist/{DropdownMenu-D25WBCah.mjs.map → DropdownMenu-DZIFSJXD.mjs.map} +1 -1
- 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-BIXJ-FPI.mjs} +5 -5
- package/dist/{FormControl-CFU9uKF7.mjs.map → FormControl-BIXJ-FPI.mjs.map} +1 -1
- package/dist/{FormControl-DH3bgqaB.d.mts → FormControl-CZFmub1N.d.mts} +3 -3
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BugkBvN4.d.mts → FormField-8rlT8pm0.d.mts} +2 -2
- package/dist/{FormField-DdmgSWq4.mjs → FormField-DcGQvgNW.mjs} +32 -31
- package/dist/FormField-DcGQvgNW.mjs.map +1 -0
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-CDTYK1XJ.d.mts → Header-OLZuv8fF.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-B7Ysh8B3.d.mts → HelperTooltip-CJDG7Ugp.d.mts} +3 -3
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-7TWP0Y1Z.mjs → HoverCopyableField-BHdCaR-R.mjs} +6 -6
- package/dist/{HoverCopyableField-7TWP0Y1Z.mjs.map → HoverCopyableField-BHdCaR-R.mjs.map} +1 -1
- package/dist/HoverCopyableField.d.mts +1 -1
- package/dist/{IconButton-P8w0JDI5.mjs → IconButton-DC4rh6ow.mjs} +5 -5
- package/dist/{IconButton-P8w0JDI5.mjs.map → IconButton-DC4rh6ow.mjs.map} +1 -1
- package/dist/{IconButton-BHCmHIx5.d.mts → IconButton-Dc17jZPG.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-DsS4J78T.d.mts} +5 -5
- package/dist/{Input-QC6xla6I.mjs → Input-PWfwMSJ7.mjs} +5 -5
- package/dist/{Input-QC6xla6I.mjs.map → Input-PWfwMSJ7.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-BwD-q7wF.mjs} +12 -12
- package/dist/{ListBox-TrL3Tb7X.mjs.map → ListBox-BwD-q7wF.mjs.map} +1 -1
- package/dist/{ListBox-D09N1a5D.d.mts → ListBox-Nl9aOBeh.d.mts} +5 -5
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +3 -3
- package/dist/{LoadingShimmer-Dsc_RCCf.mjs → LoadingShimmer-BPYPtFE1.mjs} +1 -1
- package/dist/{LoadingShimmer-Dsc_RCCf.mjs.map → LoadingShimmer-BPYPtFE1.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/{LogicRow-BcuiSTHN.d.mts → LogicRow-BAREMenx.d.mts} +4 -4
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-Bv8dsrz6.d.mts → Menu-DM9OoZ71.d.mts} +4 -4
- package/dist/{Menu-DmeMgN-i.mjs → Menu-DpM8o234.mjs} +4 -4
- package/dist/{Menu-DmeMgN-i.mjs.map → Menu-DpM8o234.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs → MiddleTruncatedText-Bzpg3zAU.mjs} +3 -3
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs.map → MiddleTruncatedText-Bzpg3zAU.mjs.map} +1 -1
- package/dist/Modal.d.mts +3 -3
- package/dist/{PageHeader-jSLud2JI.mjs → PageHeader-Dq-J3san.mjs} +3 -3
- package/dist/{PageHeader-jSLud2JI.mjs.map → PageHeader-Dq-J3san.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-Ca4TcyxG.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-GALyid4q.mjs} +7 -7
- package/dist/{Pagination-BeYukNCj.mjs.map → Pagination-GALyid4q.mjs.map} +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-QsTrz8wn.mjs → Pii-BalLvfze.mjs} +2 -2
- package/dist/{Pii-QsTrz8wn.mjs.map → Pii-BalLvfze.mjs.map} +1 -1
- package/dist/Pii.d.mts +1 -1
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-BkDpDdaO.mjs → Popover-BZ5Bs80y.mjs} +5 -5
- package/dist/{Popover-BkDpDdaO.mjs.map → Popover-BZ5Bs80y.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-CtPz3EzX.mjs} +3 -3
- package/dist/{Radio-CSX2eO-O.mjs.map → Radio-CtPz3EzX.mjs.map} +1 -1
- package/dist/{RadioGroup-DKqbSfju.d.mts → RadioGroup-Xn46ovrV.d.mts} +1 -1
- package/dist/{RadioGroup-CnK0opBd.mjs → RadioGroup-sjBzFE_-.mjs} +3 -3
- package/dist/{RadioGroup-CnK0opBd.mjs.map → RadioGroup-sjBzFE_-.mjs.map} +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-DvP9NEgN.d.mts} +2 -2
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-CgDQIVll.mjs → SegmentedControl-BugnH-h2.mjs} +4 -4
- package/dist/{SegmentedControl-CgDQIVll.mjs.map → SegmentedControl-BugnH-h2.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-BmJ1OjXA.d.mts} +4 -4
- package/dist/{Select-C1ZoRk39.mjs → Select-DL-AjL0Q.mjs} +9 -9
- package/dist/{Select-C1ZoRk39.mjs.map → Select-DL-AjL0Q.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-BgBCCHGo.mjs} +1 -1
- package/dist/{Spinner-BEPF42RW.mjs.map → Spinner-BgBCCHGo.mjs.map} +1 -1
- package/dist/{Stack-CkV7k7TE.d.mts → Stack-CbcJykx9.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-B0TbkV4o.mjs} +3 -3
- package/dist/{Sticker-CyGb9dEu.mjs.map → Sticker-B0TbkV4o.mjs.map} +1 -1
- package/dist/{Sticker-Bs25ISz7.d.mts → Sticker-BIVuastf.d.mts} +5 -5
- 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 +2 -2
- package/dist/{TabBar-Bn8PHHBZ.mjs → TabBar-DLf4Hwa4.mjs} +4 -4
- package/dist/{TabBar-Bn8PHHBZ.mjs.map → TabBar-DLf4Hwa4.mjs.map} +1 -1
- package/dist/TabBarIconButton.d.mts +1 -1
- package/dist/{Table-BNScLj9g.d.mts → Table-8jXlKYLy.d.mts} +1 -1
- package/dist/{Table-BfontAeY.mjs → Table-C-mx8Uj0.mjs} +5 -5
- package/dist/{Table-BfontAeY.mjs.map → Table-C-mx8Uj0.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-DGjKVQFO.mjs} +65 -55
- package/dist/TableBox-DGjKVQFO.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-CvjLYhTV.d.mts → TableBoxCell-BmoPs1u1.d.mts} +7 -7
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +4 -4
- package/dist/{TableBoxRow-BzXECgid.d.mts → TableBoxRow-BAYvEDjT.d.mts} +4 -4
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-BAiFXiCh.d.mts → TableBoxRowActions-DRs4MdK0.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-DVTtNAPo.mjs → TableControls-BK8DCsqi.mjs} +139 -67
- package/dist/TableControls-BK8DCsqi.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-BrvR0zhC.mjs +266 -0
- package/dist/TechnicalSticker-BrvR0zhC.mjs.map +1 -0
- package/dist/TechnicalSticker.d.mts +7 -1
- package/dist/{Text-DNPbAuUG.d.mts → Text-CfIFUyHt.d.mts} +3 -3
- 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-NCLsW-03.mjs → TextArea-BFsXUkuj.mjs} +3 -3
- package/dist/{TextArea-NCLsW-03.mjs.map → TextArea-BFsXUkuj.mjs.map} +1 -1
- package/dist/{TextArea-B89wtTsF.d.mts → TextArea-DiKEhpfD.d.mts} +2 -2
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-5-0D8s4z.d.mts → TextUnderlineTooltip-Bs6Jn5yr.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-CC2FTAKS.mjs} +5 -5
- package/dist/{Toggle-Bie9zCem.mjs.map → Toggle-CC2FTAKS.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-CUC-JuRL.d.mts → Tooltip-0iXDCV2O.d.mts} +3 -3
- package/dist/{Tooltip-BvDbmXak.mjs → Tooltip-CDvOu1UN.mjs} +3 -3
- package/dist/{Tooltip-BvDbmXak.mjs.map → Tooltip-CDvOu1UN.mjs.map} +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BJnowVTx.d.mts → TruncatedText-CdeU19Ev.d.mts} +1 -1
- package/dist/components/Attribute/index.mjs +10 -10
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- 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 +3 -3
- 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 +2 -2
- 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 +21 -21
- 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 +2 -2
- 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 +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 +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 +16 -8
- package/dist/components/Modal/index.mjs.map +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/ProgressBar/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 +2 -2
- 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/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 +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/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-CdaoOvFH.d.mts} +5 -5
- package/dist/{index-DDbjWdk0.d.mts → index-DJn4AeE4.d.mts} +4 -4
- 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/{intersperse-vOYvFOfF.mjs → intersperse-yd3oMrQl.mjs} +1 -1
- package/dist/{intersperse-vOYvFOfF.mjs.map → intersperse-yd3oMrQl.mjs.map} +1 -1
- 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/embeddedSurfaceProtocol.d.mts +29 -0
- package/dist/lib/embeddedSurfaceProtocol.mjs +74 -0
- package/dist/lib/embeddedSurfaceProtocol.mjs.map +1 -0
- package/dist/lib/embeddedSurfaceRegistry.d.mts +11 -0
- package/dist/lib/embeddedSurfaceRegistry.mjs +19 -0
- package/dist/lib/embeddedSurfaceRegistry.mjs.map +1 -0
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/useEmbeddedSurface.d.mts +6 -0
- package/dist/lib/useEmbeddedSurface.mjs +135 -0
- package/dist/lib/useEmbeddedSurface.mjs.map +1 -0
- package/dist/lib/zindex.d.mts +2 -0
- package/dist/lib/zindex.mjs +2 -0
- package/dist/lib/zindex.mjs.map +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/input.d.mts +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 +7 -7
- 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-DhYd6bNn.mjs → useFormField-eftOPiXj.mjs} +2 -2
- package/dist/{useFormField-DhYd6bNn.mjs.map → useFormField-eftOPiXj.mjs.map} +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-DWVW7A9f.mjs → useFormGroup-BMukAMAd.mjs} +1 -1
- package/dist/{useFormGroup-DWVW7A9f.mjs.map → useFormGroup-BMukAMAd.mjs.map} +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 +14 -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,232 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as MiddleTruncatedText } from "../../MiddleTruncatedText-GXI-CPvs.mjs";
|
|
3
|
-
import { t as useToggle } from "../../useToggle-Bo3yd14Y.mjs";
|
|
4
|
-
import { a as Tooltip } from "../../Tooltip-BvDbmXak.mjs";
|
|
5
|
-
import copyTextToClipboard from "../../lib/copyTextToClipboard.mjs";
|
|
6
|
-
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
7
|
-
import styled, { css } from "styled-components";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { useCallback, useEffect, useRef, useState } from "react";
|
|
10
|
-
import { CopyIcon } from "@persona/icons/12px";
|
|
11
|
-
//#region components/TechnicalSticker/TechnicalSticker.tsx
|
|
12
|
-
const COPY_CONFIRMATION_TEXT = "Copied!";
|
|
13
|
-
const COPY_CONFIRMATION_DURATION_MS = 1200;
|
|
14
|
-
const DEFAULT_COPY_TOOLTIP_LABEL = "Copy ID";
|
|
15
|
-
const HREF_VALIDATION_BASE_URL = "https://withpersona.com";
|
|
16
|
-
const TECHNICAL_TEXT_FONT = `${Typography.TextMono.fontWeight} ${Typography.TextExtraSmall.fontSize} ${Typography.TextMono.fontFamily}`;
|
|
17
|
-
const technicalStickerBackgrounds = {
|
|
18
|
-
grey: Color.BackgroundLabelGrey,
|
|
19
|
-
white: Color.BackgroundLabelWhite
|
|
20
|
-
};
|
|
21
|
-
const technicalStickerHoverBackgrounds = {
|
|
22
|
-
grey: Color.BackgroundLabelGreyHover,
|
|
23
|
-
white: Color.BackgroundButtonInverseHover
|
|
24
|
-
};
|
|
25
|
-
const isSafeTechnicalStickerHref = (href) => {
|
|
26
|
-
try {
|
|
27
|
-
const url = new URL(href, HREF_VALIDATION_BASE_URL);
|
|
28
|
-
return url.protocol === "http:" || url.protocol === "https:";
|
|
29
|
-
} catch {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
const TechnicalStickerShell = styled.div`
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
|
|
38
|
-
border-radius: ${BorderRadius.Sm};
|
|
39
|
-
height: 1rem;
|
|
40
|
-
width: ${({ $width }) => typeof $width === "number" ? `${$width}px` : $width ?? "auto"};
|
|
41
|
-
max-width: 100%;
|
|
42
|
-
box-sizing: border-box;
|
|
43
|
-
|
|
44
|
-
color: ${({ theme, disabled }) => disabled ? theme.color.text.disabled : theme.color.text.primary};
|
|
45
|
-
background: ${({ variant }) => technicalStickerBackgrounds[variant]};
|
|
46
|
-
|
|
47
|
-
position: relative;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
border: 1px solid ${Color.BorderInputDefault};
|
|
50
|
-
|
|
51
|
-
${({ variant, disabled }) => !disabled && css`
|
|
52
|
-
&:hover {
|
|
53
|
-
background: ${technicalStickerHoverBackgrounds[variant]};
|
|
54
|
-
}
|
|
55
|
-
`}
|
|
56
|
-
`;
|
|
57
|
-
const labelContainerStyles = css`
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
flex: 1 1 auto;
|
|
62
|
-
min-width: 0;
|
|
63
|
-
padding: 0 ${Spacing[1]};
|
|
64
|
-
`;
|
|
65
|
-
const LabelContainer = styled.div`
|
|
66
|
-
${labelContainerStyles}
|
|
67
|
-
`;
|
|
68
|
-
const LabelLink = styled.a`
|
|
69
|
-
${labelContainerStyles}
|
|
70
|
-
color: inherit;
|
|
71
|
-
text-decoration: none;
|
|
72
|
-
`;
|
|
73
|
-
const TechnicalText = styled(MiddleTruncatedText)`
|
|
74
|
-
${Typography.TextMono};
|
|
75
|
-
font-size: ${Typography.TextExtraSmall.fontSize};
|
|
76
|
-
line-height: ${Typography.TextExtraSmall.lineHeight};
|
|
77
|
-
text-align: center;
|
|
78
|
-
|
|
79
|
-
${({ $isLinkEnabled, $isTruncated }) => $isTruncated && css`
|
|
80
|
-
cursor: ${$isLinkEnabled ? "pointer" : "default"};
|
|
81
|
-
user-select: none;
|
|
82
|
-
|
|
83
|
-
& > span {
|
|
84
|
-
user-select: none;
|
|
85
|
-
}
|
|
86
|
-
`}
|
|
87
|
-
`;
|
|
88
|
-
const CopyActions = styled.div`
|
|
89
|
-
position: absolute;
|
|
90
|
-
top: 0;
|
|
91
|
-
right: 0;
|
|
92
|
-
z-index: 1;
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: center;
|
|
95
|
-
height: 16px;
|
|
96
|
-
opacity: ${({ $visible }) => $visible ? 1 : 0};
|
|
97
|
-
pointer-events: ${({ $visible }) => $visible ? "auto" : "none"};
|
|
98
|
-
transition: opacity 120ms ease-in-out;
|
|
99
|
-
|
|
100
|
-
&:focus-within {
|
|
101
|
-
opacity: 1;
|
|
102
|
-
pointer-events: auto;
|
|
103
|
-
}
|
|
104
|
-
`;
|
|
105
|
-
const CopyGradient = styled.div`
|
|
106
|
-
width: 8px;
|
|
107
|
-
height: 16px;
|
|
108
|
-
background: linear-gradient(to left, ${({ $background }) => $background}, transparent);
|
|
109
|
-
`;
|
|
110
|
-
const CopyButton = styled.button`
|
|
111
|
-
display: inline-flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
width: 16px;
|
|
115
|
-
height: 16px;
|
|
116
|
-
padding: 0 2px 0 0;
|
|
117
|
-
border: none;
|
|
118
|
-
background: ${({ $background }) => $background};
|
|
119
|
-
color: ${Color.BorderIconPrimary};
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
|
|
122
|
-
&:disabled {
|
|
123
|
-
cursor: not-allowed;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&${isHovered}:not(:disabled) {
|
|
127
|
-
color: ${Color.TextPrimary};
|
|
128
|
-
}
|
|
129
|
-
`;
|
|
130
|
-
const TechnicalSticker = ({ variant = "grey", href, tooltipLabel: tooltipLabelProp, copyTooltipLabel = DEFAULT_COPY_TOOLTIP_LABEL, copyable = true, copyValue, width, maxWidth = "96px", children, disabled, onMouseEnter, onMouseLeave, ...stickerProps }) => {
|
|
131
|
-
const [isHoveredState, setIsHoveredState] = useState(false);
|
|
132
|
-
const [isCopyButtonFocused, setIsCopyButtonFocused] = useState(false);
|
|
133
|
-
const [isTruncated, setIsTruncated] = useState(false);
|
|
134
|
-
const [isCopyTooltipOpen, setIsCopyTooltipOpen] = useState(false);
|
|
135
|
-
const [copyConfirmationOpen, { enable: showCopyConfirmation, disable: hideCopyConfirmation }] = useToggle(false);
|
|
136
|
-
const copyConfirmationTimerRef = useRef(null);
|
|
137
|
-
const tooltipLabel = tooltipLabelProp ?? children;
|
|
138
|
-
const hasCustomTooltipLabel = tooltipLabelProp != null;
|
|
139
|
-
const hoverBackground = technicalStickerHoverBackgrounds[variant];
|
|
140
|
-
const copyActionBackground = isHoveredState ? hoverBackground : technicalStickerBackgrounds[variant];
|
|
141
|
-
const showCopyActions = copyable && !disabled && (isHoveredState || isCopyButtonFocused || copyConfirmationOpen);
|
|
142
|
-
const showStickerTooltip = tooltipLabel.length > 0 && (isTruncated || hasCustomTooltipLabel);
|
|
143
|
-
const isCopyTooltipVisible = isCopyTooltipOpen || copyConfirmationOpen;
|
|
144
|
-
const isLinkEnabled = href != null && !disabled && isSafeTechnicalStickerHref(href);
|
|
145
|
-
const handleCopyTooltipOpenChange = useCallback((open) => {
|
|
146
|
-
if (copyConfirmationOpen) return;
|
|
147
|
-
setIsCopyTooltipOpen(open);
|
|
148
|
-
}, [copyConfirmationOpen]);
|
|
149
|
-
const handleCopy = useCallback(async (event) => {
|
|
150
|
-
event.preventDefault();
|
|
151
|
-
event.stopPropagation();
|
|
152
|
-
if (disabled) return;
|
|
153
|
-
if (!await copyTextToClipboard(copyValue ?? children)) return;
|
|
154
|
-
setIsCopyTooltipOpen(true);
|
|
155
|
-
showCopyConfirmation();
|
|
156
|
-
if (copyConfirmationTimerRef.current) clearTimeout(copyConfirmationTimerRef.current);
|
|
157
|
-
copyConfirmationTimerRef.current = setTimeout(() => {
|
|
158
|
-
setIsCopyTooltipOpen(false);
|
|
159
|
-
hideCopyConfirmation();
|
|
160
|
-
copyConfirmationTimerRef.current = null;
|
|
161
|
-
}, COPY_CONFIRMATION_DURATION_MS);
|
|
162
|
-
}, [
|
|
163
|
-
children,
|
|
164
|
-
copyValue,
|
|
165
|
-
disabled,
|
|
166
|
-
hideCopyConfirmation,
|
|
167
|
-
showCopyConfirmation
|
|
168
|
-
]);
|
|
169
|
-
useEffect(() => () => {
|
|
170
|
-
if (copyConfirmationTimerRef.current) clearTimeout(copyConfirmationTimerRef.current);
|
|
171
|
-
}, []);
|
|
172
|
-
const technicalText = /* @__PURE__ */ jsx(TechnicalText, {
|
|
173
|
-
value: children,
|
|
174
|
-
maxWidth: width ?? maxWidth,
|
|
175
|
-
font: TECHNICAL_TEXT_FONT,
|
|
176
|
-
onTruncatedChange: setIsTruncated,
|
|
177
|
-
titleBehavior: "never",
|
|
178
|
-
$isLinkEnabled: isLinkEnabled,
|
|
179
|
-
$isTruncated: isTruncated
|
|
180
|
-
});
|
|
181
|
-
const labelContent = isLinkEnabled ? /* @__PURE__ */ jsx(LabelLink, {
|
|
182
|
-
href,
|
|
183
|
-
target: "_blank",
|
|
184
|
-
rel: "noopener noreferrer",
|
|
185
|
-
children: technicalText
|
|
186
|
-
}) : /* @__PURE__ */ jsx(LabelContainer, { children: technicalText });
|
|
187
|
-
const labelWithTooltip = showStickerTooltip ? /* @__PURE__ */ jsx(Tooltip, {
|
|
188
|
-
trigger: labelContent,
|
|
189
|
-
interactive: true,
|
|
190
|
-
side: "top",
|
|
191
|
-
maxWidth: "400px",
|
|
192
|
-
children: tooltipLabel
|
|
193
|
-
}) : labelContent;
|
|
194
|
-
return /* @__PURE__ */ jsxs(TechnicalStickerShell, {
|
|
195
|
-
...stickerProps,
|
|
196
|
-
variant,
|
|
197
|
-
disabled,
|
|
198
|
-
$width: width,
|
|
199
|
-
onMouseEnter: (event) => {
|
|
200
|
-
onMouseEnter?.(event);
|
|
201
|
-
setIsHoveredState(true);
|
|
202
|
-
},
|
|
203
|
-
onMouseLeave: (event) => {
|
|
204
|
-
onMouseLeave?.(event);
|
|
205
|
-
setIsHoveredState(false);
|
|
206
|
-
},
|
|
207
|
-
children: [labelWithTooltip, copyable && /* @__PURE__ */ jsxs(CopyActions, {
|
|
208
|
-
$visible: showCopyActions,
|
|
209
|
-
children: [/* @__PURE__ */ jsx(CopyGradient, { $background: copyActionBackground }), /* @__PURE__ */ jsx(Tooltip, {
|
|
210
|
-
open: isCopyTooltipVisible,
|
|
211
|
-
onOpenChange: handleCopyTooltipOpenChange,
|
|
212
|
-
trigger: /* @__PURE__ */ jsx(CopyButton, {
|
|
213
|
-
type: "button",
|
|
214
|
-
"aria-label": "Copy",
|
|
215
|
-
disabled,
|
|
216
|
-
$background: copyActionBackground,
|
|
217
|
-
onClick: handleCopy,
|
|
218
|
-
onBlur: () => setIsCopyButtonFocused(false),
|
|
219
|
-
onFocus: () => setIsCopyButtonFocused(true),
|
|
220
|
-
children: /* @__PURE__ */ jsx(CopyIcon, {})
|
|
221
|
-
}),
|
|
222
|
-
interactive: false,
|
|
223
|
-
side: "top",
|
|
224
|
-
children: copyConfirmationOpen ? COPY_CONFIRMATION_TEXT : copyTooltipLabel
|
|
225
|
-
})]
|
|
226
|
-
})]
|
|
227
|
-
});
|
|
228
|
-
};
|
|
229
|
-
//#endregion
|
|
1
|
+
import { t as TechnicalSticker } from "../../TechnicalSticker-BrvR0zhC.mjs";
|
|
230
2
|
export { TechnicalSticker, TechnicalSticker as default };
|
|
231
|
-
|
|
232
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Label, c as ParagraphProps, d as TabularNumber, i as HeadingProps, l as Span, n as DisplayProps, o as LabelProps, r as Heading, s as Paragraph, t as Display, u as SpanProps } from "../../Text-
|
|
1
|
+
import { a as Label, c as ParagraphProps, d as TabularNumber, i as HeadingProps, l as Span, n as DisplayProps, o as LabelProps, r as Heading, s as Paragraph, t as Display, u as SpanProps } from "../../Text-CfIFUyHt.mjs";
|
|
2
2
|
export { Display, DisplayProps, Heading, HeadingProps, Label, LabelProps, Paragraph, ParagraphProps, Span, SpanProps, TabularNumber };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Span, i as Paragraph, n as Heading, o as TabularNumber, r as Label, t as Display } from "../../Text-
|
|
1
|
+
import { a as Span, i as Paragraph, n as Heading, o as TabularNumber, r as Label, t as Display } from "../../Text-hEoPeOc9.mjs";
|
|
2
2
|
export { Display, Heading, Label, Paragraph, Span, TabularNumber };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TextAreaWithStyle, t as TextAreaProps } from "../../TextArea-
|
|
1
|
+
import { n as TextAreaWithStyle, t as TextAreaProps } from "../../TextArea-DiKEhpfD.mjs";
|
|
2
2
|
export { TextAreaWithStyle as TextArea, TextAreaWithStyle as default, TextAreaProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as TextAreaWithStyle } from "../../TextArea-
|
|
1
|
+
import { t as TextAreaWithStyle } from "../../TextArea-BFsXUkuj.mjs";
|
|
2
2
|
export { TextAreaWithStyle as TextArea, TextAreaWithStyle as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as Sticker } from "../../Sticker-
|
|
1
|
+
import { i as Paragraph, n as Heading } from "../../Text-hEoPeOc9.mjs";
|
|
2
|
+
import { t as TextUnderlineTooltip } from "../../Tooltip-CDvOu1UN.mjs";
|
|
3
|
+
import { n as Stack, t as HStack } from "../../Stack-ckRN7LrP.mjs";
|
|
4
|
+
import { n as Sticker } from "../../Sticker-B0TbkV4o.mjs";
|
|
5
5
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import "../../variables/effect.mjs";
|
|
|
3
3
|
import "../../variables/transitions.mjs";
|
|
4
4
|
import { paragraphMixins } from "../../mixins/text.mjs";
|
|
5
5
|
import "../../lib/message.mjs";
|
|
6
|
-
import { t as IconButton } from "../../IconButton-
|
|
6
|
+
import { t as IconButton } from "../../IconButton-DC4rh6ow.mjs";
|
|
7
7
|
import { BorderRadius, Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import styled, { css } from "styled-components";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ToggleProps, t as Toggle } from "../../Toggle-
|
|
1
|
+
import { n as ToggleProps, t as Toggle } from "../../Toggle-oukvAn6V.mjs";
|
|
2
2
|
export { Toggle, Toggle as default, ToggleProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Toggle } from "../../Toggle-
|
|
1
|
+
import { t as Toggle } from "../../Toggle-CC2FTAKS.mjs";
|
|
2
2
|
export { Toggle, Toggle as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as TooltipWithIconProps, n as Tooltip, r as TooltipStandardProps, t as FloatingTooltip } from "../../Tooltip-
|
|
2
|
-
import { t as HelperTooltip } from "../../HelperTooltip-
|
|
3
|
-
import { n as TextWithDashedUnderline, t as TextUnderlineTooltip } from "../../TextUnderlineTooltip-
|
|
1
|
+
import { i as TooltipWithIconProps, n as Tooltip, r as TooltipStandardProps, t as FloatingTooltip } from "../../Tooltip-0iXDCV2O.mjs";
|
|
2
|
+
import { t as HelperTooltip } from "../../HelperTooltip-CJDG7Ugp.mjs";
|
|
3
|
+
import { n as TextWithDashedUnderline, t as TextUnderlineTooltip } from "../../TextUnderlineTooltip-Bs6Jn5yr.mjs";
|
|
4
4
|
export { FloatingTooltip, HelperTooltip, TextUnderlineTooltip, TextWithDashedUnderline, Tooltip, Tooltip as default, TooltipStandardProps, TooltipWithIconProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Tooltip, i as FloatingTooltip, n as TextWithDashedUnderline, r as HelperTooltip, t as TextUnderlineTooltip } from "../../Tooltip-
|
|
1
|
+
import { a as Tooltip, i as FloatingTooltip, n as TextWithDashedUnderline, r as HelperTooltip, t as TextUnderlineTooltip } from "../../Tooltip-CDvOu1UN.mjs";
|
|
2
2
|
export { FloatingTooltip, HelperTooltip, TextUnderlineTooltip, TextWithDashedUnderline, Tooltip, Tooltip as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as FilterRule, n as CompoundExpression } from "./types-
|
|
1
|
+
import { l as FilterRule, n as CompoundExpression } from "./types-mb3woqzE.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/compound-expression.d.ts
|
|
4
4
|
declare function addRuleToGroup(compound: CompoundExpression, groupIndex: number, rule: FilterRule): CompoundExpression;
|
package/dist/constants.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as MIN_PAGE_SIZE, t as DEFAULT_PAGE_SIZE_OPTIONS } from "./constants-
|
|
1
|
+
import { n as MIN_PAGE_SIZE, t as DEFAULT_PAGE_SIZE_OPTIONS } from "./constants-bA9kCzRQ.mjs";
|
|
2
2
|
export { DEFAULT_PAGE_SIZE_OPTIONS, MIN_PAGE_SIZE };
|
package/dist/containers.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _$styled_components0 from "styled-components";
|
|
2
2
|
|
|
3
|
-
//#region
|
|
3
|
+
//#region patterns/containers.d.ts
|
|
4
4
|
declare const Layout: _$styled_components0.StyledComponent<"div", any, {}, never>;
|
|
5
5
|
declare const DetailLayout: _$styled_components0.StyledComponent<"div", any, {}, never>;
|
|
6
6
|
//#endregion
|
package/dist/display.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, u as FilterRuleValue } from "./types-mb3woqzE.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/display.d.ts
|
|
4
4
|
declare function valueDisplayString(value: FilterRuleValue, optionLabels?: Record<string, string>): string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { o as ComboboxOptionsOrGroups } from "./ComboboxBase-Dmzn8a53.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-COyIA4VU.mjs";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/fieldPickerOptions.d.ts
|
|
5
5
|
declare const FIELDS_SUBMENU_LABEL = "Fields";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FilterSize } from "./types-
|
|
1
|
+
import { d as FilterSize } from "./types-mb3woqzE.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/filter-size-context.d.ts
|
|
@@ -49,4 +49,4 @@ declare const FILTER_SIZE_TOKENS: Record<FilterSize, FilterSizeTokens>;
|
|
|
49
49
|
declare function useFilterSizeTokens(override?: FilterSize): FilterSizeTokens;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { useFilterBarSize as a, FilterSizeTokens as i, FilterBarContext as n, useFilterSizeTokens as o, FilterBarContextValue as r, FILTER_SIZE_TOKENS as t };
|
|
52
|
-
//# sourceMappingURL=filter-size-context-
|
|
52
|
+
//# sourceMappingURL=filter-size-context-C1TvrE_O.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-
|
|
1
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, n as FilterBarContext, o as useFilterSizeTokens, r as FilterBarContextValue, t as FILTER_SIZE_TOKENS } from "./filter-size-context-C1TvrE_O.mjs";
|
|
2
2
|
export { FILTER_SIZE_TOKENS, FilterBarContext, FilterBarContextValue, FilterSizeTokens, useFilterBarSize, useFilterSizeTokens };
|
package/dist/helpers.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CheckboxProps } from "./Checkbox-
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-Bmm-r5ei.mjs";
|
|
2
2
|
import { DataTableColumnFormat, DataTableColumnImageFormat, DataTableColumnPiiFormat, DataTableColumnStringFormat, DateConfig, DatetimeConfig, RenderValueStickerFormatConfig } from "./components/DataTable/types.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-CS2YjiTr.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/FilterBar/index.d.ts
|
|
4
4
|
type FilterBarProps = FilterBarProps$1;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { FilterBarProps as t };
|
|
7
|
-
//# sourceMappingURL=index-
|
|
7
|
+
//# sourceMappingURL=index-BC4edEsD.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-
|
|
2
|
-
import { n as LogicRowProps } from "./LogicRow-
|
|
3
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import * as _$react_aria_components0 from "react-aria-components";
|
|
1
|
+
import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-Nl9aOBeh.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-BAREMenx.mjs";
|
|
5
3
|
import * as _$react from "react";
|
|
4
|
+
import * as _$react_aria_components0 from "react-aria-components";
|
|
5
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region components/ListBox/index.d.ts
|
|
8
8
|
declare const ListBox: {
|
|
@@ -52,4 +52,4 @@ declare const ListBox: {
|
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { ListBox as t };
|
|
55
|
-
//# sourceMappingURL=index-
|
|
55
|
+
//# sourceMappingURL=index-CdaoOvFH.d.mts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as TableHeaderCell } from "./TableHeaderCell-
|
|
2
|
-
import { n as TableRowProps } from "./TableRow-
|
|
1
|
+
import { t as TableHeaderCell } from "./TableHeaderCell-CWTMf2Fe.mjs";
|
|
2
|
+
import { n as TableRowProps } from "./TableRow-lvjbVccA.mjs";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
4
|
import * as _$react from "react";
|
|
6
5
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
6
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region components/Table/TableTH.d.ts
|
|
9
9
|
interface TableTHProps extends ComponentPropsWithoutRef<typeof TableHeaderCell> {
|
|
@@ -72,4 +72,4 @@ declare const TableTR: _$styled_components0.StyledComponent<"tr", any, {
|
|
|
72
72
|
}, "role">;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { TableCellProps as a, TableTD as c, TableTHProps as d, TableCell as i, TableTR as l, StickyTH as n, TableCellTitle as o, TableActionTD as r, TableIconTD as s, StickyTD as t, TableTH as u };
|
|
75
|
-
//# sourceMappingURL=index-
|
|
75
|
+
//# sourceMappingURL=index-DJn4AeE4.d.mts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-
|
|
1
|
+
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-OLZuv8fF.mjs";
|
|
2
2
|
export { ActionsContainer, HeaderContainer, HeaderProps, Root, Title, TitleContainer, Header as default };
|
package/dist/index2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-
|
|
1
|
+
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-Try11aJD.mjs";
|
|
2
2
|
export { OmniSearchProps, SearchInput as default };
|
package/dist/index3.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as resolveValueControl } from "./value-control-resolver-
|
|
2
|
-
import { t as FilterBar } from "./FilterBar-
|
|
3
|
-
import { t as FilterBarProps } from "./index-
|
|
1
|
+
import { r as resolveValueControl } from "./value-control-resolver-CiGEHQAc.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-CS2YjiTr.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-BC4edEsD.mjs";
|
|
4
4
|
export { FilterBarProps, FilterBar as default, resolveValueControl };
|
package/dist/index4.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterSize, f as FilterStateV2, i as EMPTY_FILTER_STATE, l as FilterRule, n as CompoundExpression, o as FilterFieldSource, p as TopLevelFilterRule, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-
|
|
2
|
-
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-
|
|
3
|
-
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-
|
|
4
|
-
import { t as FilterBar } from "./FilterBar-
|
|
5
|
-
import { t as FilterBarProps } from "./index-
|
|
6
|
-
import { a as useFilterBarSize } from "./filter-size-context-
|
|
7
|
-
import { a as getOperatorsForField, o as getOperatorsForType, r as getDefaultOperatorForType, s as isValuelessOperator } from "./operators-
|
|
8
|
-
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-
|
|
9
|
-
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-
|
|
10
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterSize, f as FilterStateV2, i as EMPTY_FILTER_STATE, l as FilterRule, n as CompoundExpression, o as FilterFieldSource, p as TopLevelFilterRule, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-mb3woqzE.mjs";
|
|
2
|
+
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-COyIA4VU.mjs";
|
|
3
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-CiGEHQAc.mjs";
|
|
4
|
+
import { t as FilterBar } from "./FilterBar-CS2YjiTr.mjs";
|
|
5
|
+
import { t as FilterBarProps } from "./index-BC4edEsD.mjs";
|
|
6
|
+
import { a as useFilterBarSize } from "./filter-size-context-C1TvrE_O.mjs";
|
|
7
|
+
import { a as getOperatorsForField, o as getOperatorsForType, r as getDefaultOperatorForType, s as isValuelessOperator } from "./operators-C_xPzItk.mjs";
|
|
8
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-CGzRyv0i.mjs";
|
|
9
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-BdP2vajF.mjs";
|
|
10
|
+
import { t as ValueControlProps } from "./types-BKEwt0uq.mjs";
|
|
11
11
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FieldRegistry, FilterBar, FilterBarProps, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterSize, FilterStateV2, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, buildFieldRegistry, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isFilterStateV2, isValuelessOperator, pruneToRegistry, resolveValueControl, useFilterBarSize, useFilterStateV2 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PseudoClassProps } from "./PseudoClassProps-
|
|
2
|
-
import { t as ErrorProps } from "./ErrorProps-
|
|
1
|
+
import { t as PseudoClassProps } from "./PseudoClassProps-CcSlKNev.mjs";
|
|
2
|
+
import { t as ErrorProps } from "./ErrorProps-DX50vo-U.mjs";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
|
|
5
5
|
//#region mixins/input.d.ts
|
|
@@ -14,4 +14,4 @@ interface InputMixinProps extends ErrorProps, PseudoClassProps {
|
|
|
14
14
|
declare const inputMixin: _$styled_components0.FlattenInterpolation<_$styled_components0.ThemedStyledProps<InputMixinProps, any>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { InputSizes as n, inputMixin as r, InputMixinProps as t };
|
|
17
|
-
//# sourceMappingURL=input-
|
|
17
|
+
//# sourceMappingURL=input-D3Qd6dI8.d.mts.map
|
package/dist/inputFields.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as CheckboxProps } from "./Checkbox-
|
|
2
|
-
import { a as InputProps } from "./Input-
|
|
3
|
-
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-
|
|
4
|
-
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-
|
|
5
|
-
import { n as FormFieldBaseProps } from "./FormField-
|
|
6
|
-
import { n as RadioGroupProps } from "./RadioGroup-
|
|
7
|
-
import { i as SegmentedControlProps } from "./SegmentedControl-
|
|
8
|
-
import { i as SelectProps } from "./Select-
|
|
9
|
-
import { t as TextAreaProps } from "./TextArea-
|
|
10
|
-
import { n as ToggleProps } from "./Toggle-
|
|
11
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-Bmm-r5ei.mjs";
|
|
2
|
+
import { a as InputProps } from "./Input-DsS4J78T.mjs";
|
|
3
|
+
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-BLKUKNEW.mjs";
|
|
4
|
+
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-Kpl-iOok.mjs";
|
|
5
|
+
import { n as FormFieldBaseProps } from "./FormField-8rlT8pm0.mjs";
|
|
6
|
+
import { n as RadioGroupProps } from "./RadioGroup-Xn46ovrV.mjs";
|
|
7
|
+
import { i as SegmentedControlProps } from "./SegmentedControl-DckAdhcD.mjs";
|
|
8
|
+
import { i as SelectProps } from "./Select-BmJ1OjXA.mjs";
|
|
9
|
+
import { t as TextAreaProps } from "./TextArea-DiKEhpfD.mjs";
|
|
10
|
+
import { n as ToggleProps } from "./Toggle-oukvAn6V.mjs";
|
|
12
11
|
import * as _$react from "react";
|
|
12
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
13
13
|
|
|
14
14
|
//#region components/FormField/inputFields.d.ts
|
|
15
15
|
type ImplementsFormField = Omit<FormFieldBaseProps, 'children'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intersperse-
|
|
1
|
+
{"version":3,"file":"intersperse-yd3oMrQl.mjs","names":[],"sources":["../lib/intersperse.ts"],"sourcesContent":["/**\n * @name intersperse\n *\n * Inserts an element between array items using a separator function. The\n * separator function is passed the previous index, the previous element, and\n * the next element.\n *\n * ```typescript\n * const nodeList: React.ReactNode[] = [...]\n * const commaSeparatedList = intersperse(nodeList, () => ', ')\n * const advancedSeparatedList = intersperse(nodeList, i => <Separator key={i}/>)\n * ```\n */\nexport function intersperse<T>(arr: T[], separator: (n: number, prev: T, curr: T) => T): T[] {\n return arr.flatMap((a, i) => (i > 0 ? [separator(i - 1, arr[i - 1], a), a] : [a]));\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,YAAe,KAAU,WAAoD;AAC3F,QAAO,IAAI,SAAS,GAAG,MAAO,IAAI,IAAI,CAAC,UAAU,IAAI,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MiddleTruncatedText } from "../MiddleTruncatedText-
|
|
1
|
+
import { t as MiddleTruncatedText } from "../MiddleTruncatedText-Bzpg3zAU.mjs";
|
|
2
2
|
export { MiddleTruncatedText, MiddleTruncatedText as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-
|
|
1
|
+
import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-CdeU19Ev.mjs";
|
|
2
2
|
export { OverflowEllipsisSpan, TruncatedText, TruncatedText as default, TruncatedTextProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useIsOverflow } from "./useIsOverflow.mjs";
|
|
2
2
|
import styled from "styled-components";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { useRef } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region lib/TruncatedText.tsx
|
|
6
6
|
const OverflowEllipsisSpan = styled.span`
|
|
7
7
|
display: block;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useIsOverflow } from "./useIsOverflow.mjs";
|
|
2
2
|
import { OverflowEllipsisSpan } from "./TruncatedText.mjs";
|
|
3
|
-
import { a as Tooltip } from "../Tooltip-
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { a as Tooltip } from "../Tooltip-CDvOu1UN.mjs";
|
|
5
4
|
import { useRef } from "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region lib/TruncatedTextWithTooltip.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Truncates the text if it is too long to fit in the container and shows a tooltip if the text
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
//#region lib/embeddedSurfaceProtocol.d.ts
|
|
2
|
+
declare const EMBEDDED_SURFACE_CHANNEL = "persona-embedded-surface";
|
|
3
|
+
declare const EMBEDDED_SURFACE_PROTOCOL_VERSION = 1;
|
|
4
|
+
type EmbeddedSurfaceKind = 'hello' | 'surfaceSnapshot' | 'welcome';
|
|
5
|
+
type EmbeddedSurfacePayloads = {
|
|
6
|
+
hello: Record<string, never>;
|
|
7
|
+
surfaceSnapshot: {
|
|
8
|
+
epoch: string;
|
|
9
|
+
surfaces: Array<{
|
|
10
|
+
surfaceId: string;
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
welcome: {
|
|
14
|
+
epoch: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
interface EmbeddedSurfaceEnvelope<K extends EmbeddedSurfaceKind = EmbeddedSurfaceKind> {
|
|
18
|
+
channel: typeof EMBEDDED_SURFACE_CHANNEL;
|
|
19
|
+
version: typeof EMBEDDED_SURFACE_PROTOCOL_VERSION;
|
|
20
|
+
connectionId: string;
|
|
21
|
+
kind: K;
|
|
22
|
+
payload: EmbeddedSurfacePayloads[K];
|
|
23
|
+
}
|
|
24
|
+
type EmbeddedSurfaceEnvelopeUnion = { [K in EmbeddedSurfaceKind]: EmbeddedSurfaceEnvelope<K> }[EmbeddedSurfaceKind];
|
|
25
|
+
declare const coerceHostboundEnvelope: (value: unknown) => EmbeddedSurfaceEnvelopeUnion | undefined;
|
|
26
|
+
declare const coerceChildboundEnvelope: (value: unknown) => EmbeddedSurfaceEnvelopeUnion | undefined;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { EMBEDDED_SURFACE_CHANNEL, EMBEDDED_SURFACE_PROTOCOL_VERSION, EmbeddedSurfaceEnvelope, EmbeddedSurfaceEnvelopeUnion, EmbeddedSurfaceKind, EmbeddedSurfacePayloads, coerceChildboundEnvelope, coerceHostboundEnvelope };
|
|
29
|
+
//# sourceMappingURL=embeddedSurfaceProtocol.d.mts.map
|