@persona/design-system 0.10.13 → 0.10.15
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 +22 -0
- package/dist/{Action-CHWYwpYR.d.mts → Action-sLO73eKq.d.mts} +2 -2
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +2 -2
- package/dist/{Badge-B2AJMf3d.mjs → Badge-DZq6ByIU.mjs} +2 -2
- package/dist/{Badge-B2AJMf3d.mjs.map → Badge-DZq6ByIU.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumbs-DRs9eo1o.mjs → Breadcrumbs-I4VWR3NE.mjs} +9 -9
- package/dist/{Breadcrumbs-DRs9eo1o.mjs.map → Breadcrumbs-I4VWR3NE.mjs.map} +1 -1
- package/dist/{Button-DjD8QxcY.d.mts → Button-C4a4BTjL.d.mts} +2 -2
- package/dist/Button.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-DiUHtYg_.d.mts → Card-CPV4_mHk.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +3 -3
- package/dist/CardGrouping.d.mts +1 -1
- package/dist/{CardV2-DO-8COfu.mjs → CardV2-CGwm01p7.mjs} +13 -13
- package/dist/{CardV2-DO-8COfu.mjs.map → CardV2-CGwm01p7.mjs.map} +1 -1
- package/dist/{Checkbox-BAh-wF_F.mjs → Checkbox-C0uefDLS.mjs} +6 -6
- package/dist/{Checkbox-BAh-wF_F.mjs.map → Checkbox-C0uefDLS.mjs.map} +1 -1
- package/dist/{CheckboxGroupField-BW_BcW3L.d.mts → CheckboxGroupField-NZ2-Y5KV.d.mts} +2 -2
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-DgYwerwd.d.mts → Combobox-CHpJVaXK.d.mts} +3 -3
- package/dist/{Combobox-DmFQ5cAy.mjs → Combobox-DPhX1GIR.mjs} +34 -23
- package/dist/Combobox-DPhX1GIR.mjs.map +1 -0
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-DoKiRjgS.d.mts → ComboboxBase-D2X8exFX.d.mts} +8 -6
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-DsoIMJiZ.d.mts → ComboboxMultiSelect-O4awZnXr.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CKsqOAGB.d.mts → ComboboxSingleSelect-Ck-xBJqU.d.mts} +3 -3
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-tNtY2EhN.d.mts → CompactBar-DdlHPalF.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-BCTWCws5.mjs → ConfigFormGroup-gOg83LzL.mjs} +3 -3
- package/dist/{ConfigFormGroup-BCTWCws5.mjs.map → ConfigFormGroup-gOg83LzL.mjs.map} +1 -1
- package/dist/{ControlBar-CDb6b1_6.d.mts → ControlBar-Z_GGxMpa.d.mts} +4 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/{DataTable-DZ0B2Zm9.mjs → DataTable-D2iX3Ua6.mjs} +18 -18
- package/dist/{DataTable-DZ0B2Zm9.mjs.map → DataTable-D2iX3Ua6.mjs.map} +1 -1
- package/dist/{DataTable-on3vGhyi.d.mts → DataTable-Xt9cBYlh.d.mts} +6 -6
- package/dist/DataTable.d.mts +1 -1
- package/dist/{DatePicker-CHVYVKB-.mjs → DatePicker-CZsjaBO2.mjs} +11 -11
- package/dist/{DatePicker-CHVYVKB-.mjs.map → DatePicker-CZsjaBO2.mjs.map} +1 -1
- package/dist/DateRangeValueControl.d.mts +1 -1
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-BxZ5hn0X.mjs → DropdownButton-ILgsmuFy.mjs} +3 -3
- package/dist/{DropdownButton-BxZ5hn0X.mjs.map → DropdownButton-ILgsmuFy.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-eVY-Yjpq.d.mts → DropdownMenu-BK-AmDAC.d.mts} +3 -3
- package/dist/{DropdownMenu-Ip75l4Th.mjs → DropdownMenu-CYZTQS02.mjs} +3 -3
- package/dist/{DropdownMenu-Ip75l4Th.mjs.map → DropdownMenu-CYZTQS02.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FieldRegistry-CJwGpUVK.d.mts → FieldRegistry-CD8fjf9Z.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-CA4mDAXK.d.mts → FilterBar-B1fwBKuZ.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPanelSlot.d.mts +30 -0
- package/dist/FilterPanelVisibilityContext.d.mts +9 -0
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -14
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FloatingToolbar-BA8Fqmrz.mjs → FloatingToolbar-Do5PMF_v.mjs} +4 -4
- package/dist/{FloatingToolbar-BA8Fqmrz.mjs.map → FloatingToolbar-Do5PMF_v.mjs.map} +1 -1
- package/dist/{FormControl-BoKGiWdQ.mjs → FormControl--iW9afGv.mjs} +5 -5
- package/dist/{FormControl-BoKGiWdQ.mjs.map → FormControl--iW9afGv.mjs.map} +1 -1
- package/dist/{FormControl-BQe3GRhi.d.mts → FormControl-DPYbLcBK.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-BW5uMzId.d.mts → FormField-CYNGm2bJ.d.mts} +2 -2
- package/dist/{FormField-BfVrDOY0.mjs → FormField-C_rAxIPH.mjs} +16 -16
- package/dist/{FormField-BfVrDOY0.mjs.map → FormField-C_rAxIPH.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-CYpOqTUu.mjs → Grid-DVC0SSEZ.mjs} +2 -2
- package/dist/{Grid-CYpOqTUu.mjs.map → Grid-DVC0SSEZ.mjs.map} +1 -1
- package/dist/{Header-CV0Lcf0C.d.mts → Header-DaaUprCL.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-BNM3pTM-.d.mts → HelperTooltip-C5BDdJSI.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +1 -1
- package/dist/{HoverCopyableField-CJ_p3llp.mjs → HoverCopyableField-Dy_lE6Wg.mjs} +5 -5
- package/dist/{HoverCopyableField-CJ_p3llp.mjs.map → HoverCopyableField-Dy_lE6Wg.mjs.map} +1 -1
- package/dist/{IconButton-C_ReZm8v.d.mts → IconButton-7k-wjvH3.d.mts} +2 -2
- package/dist/{IconButton-Bj1fry_K.mjs → IconButton-kSjnfhWt.mjs} +8 -8
- package/dist/{IconButton-Bj1fry_K.mjs.map → IconButton-kSjnfhWt.mjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/IndexTableLayout.d.mts +4 -4
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-DcbzPaax.mjs → Input-BIHbRmmU.mjs} +6 -6
- package/dist/{Input-DcbzPaax.mjs.map → Input-BIHbRmmU.mjs.map} +1 -1
- package/dist/{Input-DH-5dKor.d.mts → Input-CwvrBsiS.d.mts} +3 -3
- package/dist/Input.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{Link-Df3zJrj2.mjs → Link-CnT85JqA.mjs} +4 -4
- package/dist/{Link-Df3zJrj2.mjs.map → Link-CnT85JqA.mjs.map} +1 -1
- package/dist/{ListBox-Bgug8YZF.d.mts → ListBox-Cu-NLNRF.d.mts} +3 -3
- package/dist/{ListBox-BRgjgUSp.mjs → ListBox-CwC9YztW.mjs} +13 -13
- package/dist/{ListBox-BRgjgUSp.mjs.map → ListBox-CwC9YztW.mjs.map} +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-Cc1sX2bo.d.mts → ListBoxField-Vetrl4r5.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/{LoadingShimmer-BVVdBeN-.mjs → LoadingShimmer-BypAGgyP.mjs} +1 -1
- package/dist/{LoadingShimmer-BVVdBeN-.mjs.map → LoadingShimmer-BypAGgyP.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-B1_35ZJT.d.mts → LogicRow-D4YL4C6U.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-keVl-eKm.d.mts → Menu-DNJMfxfw.d.mts} +4 -4
- package/dist/{Menu-BVn1jh46.mjs → Menu-DQPxDJ11.mjs} +5 -5
- package/dist/{Menu-BVn1jh46.mjs.map → Menu-DQPxDJ11.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-DicQsLDG.mjs → MiddleTruncatedText--jzGTD00.mjs} +2 -2
- package/dist/{MiddleTruncatedText-DicQsLDG.mjs.map → MiddleTruncatedText--jzGTD00.mjs.map} +1 -1
- package/dist/{Modal-CujB7DuB.d.mts → Modal-7ZHanMzZ.d.mts} +9 -4
- package/dist/{Modal-SnCo7ecm.mjs → Modal-bsjGJxTM.mjs} +23 -20
- package/dist/{Modal-SnCo7ecm.mjs.map → Modal-bsjGJxTM.mjs.map} +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-UPiqJpIF.d.mts → PageHeader-BeBmYmUX.d.mts} +2 -2
- package/dist/{PageHeader-6KvtGED-.mjs → PageHeader-jvLx6GUu.mjs} +2 -2
- package/dist/{PageHeader-6KvtGED-.mjs.map → PageHeader-jvLx6GUu.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageLayout-BdVM37bV.d.mts → PageLayout-BXM_pyrU.d.mts} +2 -2
- package/dist/{PageLayout-CPiVnS_r.mjs → PageLayout-D_NZNEit.mjs} +3 -3
- package/dist/{PageLayout-CPiVnS_r.mjs.map → PageLayout-D_NZNEit.mjs.map} +1 -1
- package/dist/PageLayout.d.mts +1 -1
- package/dist/{PageSelector-B5CcAzss.d.mts → PageSelector-C14ABZVL.d.mts} +2 -2
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-CqFvnlXc.mjs → Pagination-CgT2eQrk.mjs} +5 -5
- package/dist/{Pagination-CqFvnlXc.mjs.map → Pagination-CgT2eQrk.mjs.map} +1 -1
- package/dist/{Pii-BYPkrBuT.mjs → Pii-x1UInvWe.mjs} +2 -2
- package/dist/{Pii-BYPkrBuT.mjs.map → Pii-x1UInvWe.mjs.map} +1 -1
- package/dist/{PillShell-Bkyu5FXB.d.mts → PillShell-DuTRfsS1.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-DP9DXReH.mjs → Popover-BMX-ff3L.mjs} +3 -3
- package/dist/{Popover-DP9DXReH.mjs.map → Popover-BMX-ff3L.mjs.map} +1 -1
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/{ProgressIndicator-zt3ndT9U.mjs → ProgressIndicator-hy1P-RG1.mjs} +3 -3
- package/dist/{ProgressIndicator-zt3ndT9U.mjs.map → ProgressIndicator-hy1P-RG1.mjs.map} +1 -1
- package/dist/{Radio-B1H_S-Qj.mjs → Radio-D6Vydkx-.mjs} +5 -5
- package/dist/{Radio-B1H_S-Qj.mjs.map → Radio-D6Vydkx-.mjs.map} +1 -1
- package/dist/{RadioGroup-7hdcVhsp.mjs → RadioGroup-C04h3el1.mjs} +3 -3
- package/dist/{RadioGroup-7hdcVhsp.mjs.map → RadioGroup-C04h3el1.mjs.map} +1 -1
- package/dist/RichTextEditor.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-BNOJ1FYQ.mjs → SegmentedControl-CaQ2DJsa.mjs} +4 -4
- package/dist/{SegmentedControl-BNOJ1FYQ.mjs.map → SegmentedControl-CaQ2DJsa.mjs.map} +1 -1
- package/dist/{Select-DbWEgH5c.mjs → Select-Bicuj8VD.mjs} +10 -10
- package/dist/{Select-DbWEgH5c.mjs.map → Select-Bicuj8VD.mjs.map} +1 -1
- package/dist/{Select-CiofH5-f.d.mts → Select-O4aTrBuF.d.mts} +2 -2
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +1 -1
- package/dist/SmartTextInputField.d.mts +2 -2
- package/dist/SmartTextInputFunctionDialog.d.mts +1 -1
- package/dist/SmartTextInputPopover.d.mts +1 -1
- package/dist/{Spinner-k9ZiOdTr.mjs → Spinner-B8KWWUWy.mjs} +2 -2
- package/dist/{Spinner-k9ZiOdTr.mjs.map → Spinner-B8KWWUWy.mjs.map} +1 -1
- package/dist/{Stack-CODxfzhl.d.mts → Stack-B6MrjJeW.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-CzRaEFSz.mjs → StatusIndicator-lwt35J6B.mjs} +3 -3
- package/dist/{StatusIndicator-CzRaEFSz.mjs.map → StatusIndicator-lwt35J6B.mjs.map} +1 -1
- package/dist/{Sticker-CLvRB8V5.d.mts → Sticker-C7Wv3Obx.d.mts} +4 -4
- package/dist/{Sticker-4VdGEFAu.mjs → Sticker-jfOM4Yi6.mjs} +5 -5
- package/dist/{Sticker-4VdGEFAu.mjs.map → Sticker-jfOM4Yi6.mjs.map} +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +2 -2
- package/dist/{TabBar-d4sdknti.mjs → TabBar-B7U2uVD3.mjs} +6 -6
- package/dist/{TabBar-d4sdknti.mjs.map → TabBar-B7U2uVD3.mjs.map} +1 -1
- package/dist/{Table-9mNn8Q-d.mjs → Table-BsDubdR2.mjs} +10 -10
- package/dist/{Table-9mNn8Q-d.mjs.map → Table-BsDubdR2.mjs.map} +1 -1
- package/dist/{TableBox-RxpwflEb.mjs → TableBox-DmEfPlTG.mjs} +15 -15
- package/dist/{TableBox-RxpwflEb.mjs.map → TableBox-DmEfPlTG.mjs.map} +1 -1
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-C65YFYqj.d.mts → TableBoxCell-DiKY6wne.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-CHpClgsE.d.mts → TableBoxField-DPq_rueS.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-CK-b79uD.d.mts → TableBoxRow-B3DdXy6r.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-CRaabjaY.d.mts → TableBoxRowActions-BYXYa9s5.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-CQsF7t4e.d.mts → TableCell-uv_jqT5e.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-v1NmlFTW.d.mts → TableControls-C4tMGBao.d.mts} +5 -5
- package/dist/{TableControls-DM4RddQ_.mjs → TableControls-fuaMJFA6.mjs} +115 -41
- package/dist/TableControls-fuaMJFA6.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-DHYICXxy.d.mts → TableControlsContext-D8UNXFkq.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-1nT8wneI.d.mts → TableViewConfigurationDropdown-BlQj0RyT.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-DtV7Gawf.mjs → TechnicalSticker--98wizQK.mjs} +7 -7
- package/dist/{TechnicalSticker-DtV7Gawf.mjs.map → TechnicalSticker--98wizQK.mjs.map} +1 -1
- package/dist/{Text-CvaqognH.d.mts → Text-CdHeSHCc.d.mts} +2 -2
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-CQ1YNi2b.mjs → TextArea-BoVqMk8l.mjs} +2 -2
- package/dist/{TextArea-CQ1YNi2b.mjs.map → TextArea-BoVqMk8l.mjs.map} +1 -1
- package/dist/{TextUnderlineTooltip-Bd5e8KH3.d.mts → TextUnderlineTooltip-By1VVsSs.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/{Toggle-CzHoIR-n.mjs → Toggle-BU7Faaud.mjs} +7 -7
- package/dist/{Toggle-CzHoIR-n.mjs.map → Toggle-BU7Faaud.mjs.map} +1 -1
- package/dist/{Tooltip-CVBxc1yf.mjs → Tooltip-C2VB8I6y.mjs} +4 -4
- package/dist/{Tooltip-CVBxc1yf.mjs.map → Tooltip-C2VB8I6y.mjs.map} +1 -1
- package/dist/{Tooltip-Ddy2Jq0K.d.mts → Tooltip-OxVvOfn8.d.mts} +3 -3
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-sr9Fhm3N.d.mts → TruncatedText-Dqj94BFK.d.mts} +2 -2
- package/dist/WizardModal.d.mts +1 -1
- package/dist/{clientFilterUtils-CaF2QZBy.d.mts → clientFilterUtils-CI85xKUy.d.mts} +2 -2
- package/dist/clientFilterUtils.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +5 -5
- package/dist/components/Attribute/index.mjs +6 -6
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +3 -3
- package/dist/components/BottomPanel/index.mjs +7 -7
- 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/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +4 -4
- package/dist/components/Combobox/index.d.mts +4 -4
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +20 -20
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.d.mts +5 -5
- package/dist/components/DataTable/index.mjs +1 -1
- package/dist/components/DataTable/types.d.mts +1 -1
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +7 -7
- package/dist/components/FloatingToolbar/index.mjs +1 -1
- package/dist/components/FormControl/index.d.mts +1 -1
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +5 -5
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/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 +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.d.mts +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +1 -1
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +2 -2
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RichTextEditor/index.mjs +10 -10
- package/dist/components/RightPanel/index.mjs +4 -4
- 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/SelectionCard/index.mjs +6 -6
- package/dist/components/Slider/index.mjs +4 -4
- package/dist/components/SmartTextInput/index.mjs +42 -25
- package/dist/components/SmartTextInput/index.mjs.map +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/SwatchPicker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +1 -1
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +1 -1
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +4 -4
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/components/VersionHistory/index.mjs +8 -8
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{date-range-rule-value-DyLlMtjr.d.mts → date-range-rule-value-DY14Qlan.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-DVnjmuhk.d.mts → filter-size-context-BaFrCH_G.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{filters-CShP0Jag.d.mts → filters-oNzv_Y5o.d.mts} +3 -3
- package/dist/filters.d.mts +1 -1
- package/dist/{helpers-Bbi1LyMW.d.mts → helpers-Cvy93JmP.d.mts} +2 -2
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-DTM_t7OG.d.mts → index-Dh3UpnW5.d.mts} +2 -2
- package/dist/{index-3-eDlpcj.d.mts → index-_ubFQdZK.d.mts} +3 -3
- package/dist/index2.d.mts +1 -1
- package/dist/index4.d.mts +3 -3
- package/dist/index5.d.mts +1 -1
- package/dist/index6.d.mts +13 -13
- package/dist/{inputFields-Dobwb4kT.d.mts → inputFields-CxgQOm9E.d.mts} +6 -6
- package/dist/inputFields.d.mts +1 -1
- package/dist/{intersperse-DvJsBw5D.mjs → intersperse--nD7mQCo.mjs} +1 -1
- package/dist/{intersperse-DvJsBw5D.mjs.map → intersperse--nD7mQCo.mjs.map} +1 -1
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
- package/dist/lib/colorMode.d.mts +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/mixins/focus.mjs +1 -1
- package/dist/mixins/hoverable.mjs +1 -1
- package/dist/mixins/input.mjs +2 -2
- package/dist/mixins/motion.mjs +1 -1
- package/dist/{operators-B8_k3r69.d.mts → operators-B8fgw6F_.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/patterns/CardGrouping/index.mjs +8 -8
- package/dist/patterns/IndexTableLayout/index.mjs +3 -3
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
- package/dist/patterns/LayoutLoadingSpinner/index.mjs +1 -1
- package/dist/patterns/PageLayout/index.d.mts +1 -1
- package/dist/patterns/PageLayout/index.mjs +1 -1
- package/dist/patterns/WizardModal/index.mjs +4 -4
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/tone.d.mts +1 -1
- package/dist/{types-BTaKBrxG.d.mts → types-BwbQx3-v.d.mts} +2 -2
- package/dist/{types-BJqmRXFV.d.mts → types-CnqmdPXi.d.mts} +3 -2
- package/dist/{types-BOsCi-kZ.d.mts → types-Dl-tYxwE.d.mts} +2 -2
- package/dist/{types-CUnL8JJj.d.mts → types-hhfBHo97.d.mts} +3 -3
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/{url-state-CXPmXzIZ.d.mts → url-state-B5TJ9RJF.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-B--KAtdN.d.mts → useChain-x9fd9Fyq.d.mts} +2 -2
- package/dist/useChainAtCursor.d.mts +1 -1
- package/dist/useColumnConfiguration.d.mts +2 -2
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-DiTS9DTg.d.mts → useFilterStateV2-Bo5NcLC9.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-pOVkb5BK.mjs → useFormField-Cd9sH-HM.mjs} +2 -2
- package/dist/{useFormField-pOVkb5BK.mjs.map → useFormField-Cd9sH-HM.mjs.map} +1 -1
- package/dist/{useFormGroup-DSQkoWLh.mjs → useFormGroup-CerJGY6Y.mjs} +1 -1
- package/dist/{useFormGroup-DSQkoWLh.mjs.map → useFormGroup-CerJGY6Y.mjs.map} +1 -1
- package/dist/{useTableColumns-BuxN7Usm.d.mts → useTableColumns-D80uOKnT.d.mts} +2 -2
- package/dist/useTableColumns.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-BDQdQ1cY.d.mts → validation-lepFD1Fr.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-BFJZEWDn.d.mts → value-control-resolver-Dhmspfw-.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/value-labels.d.mts +1 -1
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/skills/ui-authoring/COMPONENTS.md +4 -1
- package/dist/Combobox-DmFQ5cAy.mjs.map +0 -1
- package/dist/TableControls-DM4RddQ_.mjs.map +0 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { a as styled, r as css } from "../../styledComponentsInterop-Cs5CCPRy.mjs";
|
|
2
2
|
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { focusStyle } from "../../mixins/focus.mjs";
|
|
4
|
+
import "../../variables/effect.mjs";
|
|
4
5
|
import { rotate } from "../../variables/keyframes.mjs";
|
|
6
|
+
import { i as Paragraph } from "../../Text-D0vEReED.mjs";
|
|
5
7
|
import { JsonSchemaStringifiableTypes, getNonNullableRefSchema, getNonNullableType, isFunctionSchema, isJsonSchemaArray, isSchemaTypeAllowed } from "../../lib/jsonSchema.mjs";
|
|
6
8
|
import { isCreatableReceiverSchema, isNoArgCodeChainFunction } from "../../lib/customFunctionSchema.mjs";
|
|
7
9
|
import { isASTCustomFunctionNode, isAnyASTFunctionNode, isRealASTFunctionParamType } from "./parser/method-chain/types.mjs";
|
|
@@ -10,20 +12,18 @@ import { normalizeChain, normalizeFunctionParam } from "../../lib/methodChainNor
|
|
|
10
12
|
import { UNTYPED_ADDITIONAL_PROPERTY_SCHEMA, getFunctionSchemaForNode, getSchemaForFieldPath } from "../../lib/schemaOptions.mjs";
|
|
11
13
|
import { n as useChain, r as useChainSchema } from "../../useChain-D1aNsdvn.mjs";
|
|
12
14
|
import { Z_INDICES } from "../../lib/zindex.mjs";
|
|
13
|
-
import { focusStyle } from "../../mixins/focus.mjs";
|
|
14
|
-
import "../../variables/effect.mjs";
|
|
15
15
|
import { n as Stack, t as HStack } from "../../Stack-Bzom2BTR.mjs";
|
|
16
|
-
import { n as Button } from "../../IconButton-
|
|
17
|
-
import { n as useFormField } from "../../useFormField-
|
|
16
|
+
import { n as Button } from "../../IconButton-kSjnfhWt.mjs";
|
|
17
|
+
import { n as useFormField } from "../../useFormField-Cd9sH-HM.mjs";
|
|
18
18
|
import Input_default from "../Input/index.mjs";
|
|
19
|
-
import { n as ErrorText } from "../../FormControl
|
|
20
|
-
import { m as FormField, n as TableBoxField, p as splitOutFormFieldProps } from "../../FormField-
|
|
19
|
+
import { n as ErrorText } from "../../FormControl--iW9afGv.mjs";
|
|
20
|
+
import { m as FormField, n as TableBoxField, p as splitOutFormFieldProps } from "../../FormField-C_rAxIPH.mjs";
|
|
21
21
|
import PillType from "./PillType.mjs";
|
|
22
22
|
import { ErrorMessageByKind, NodeType, isASTChainNode, isASTContainerNode, isMethodChainNode } from "./parser/smart-text/types.mjs";
|
|
23
23
|
import { enclosingExpr, findAll, resolve } from "./parser/tree.mjs";
|
|
24
24
|
import { safeParse } from "./parser/safe-parse.mjs";
|
|
25
|
-
import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
26
25
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
26
|
+
import { forwardRef, useCallback, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
27
27
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
28
28
|
import { LoaderIcon } from "@persona/icons";
|
|
29
29
|
import { ArrowLeftIcon as ArrowLeftIcon$1 } from "@persona/icons/12px";
|
|
@@ -1415,7 +1415,7 @@ const withClosingToken = (key) => {
|
|
|
1415
1415
|
default: assertNever(key);
|
|
1416
1416
|
}
|
|
1417
1417
|
};
|
|
1418
|
-
const spliceAtCursor = (value, insert, cursorIdx) => value.slice(0, cursorIdx) + insert + value.slice(
|
|
1418
|
+
const spliceAtCursor = (value, insert, cursorIdx, selectionEnd = cursorIdx) => value.slice(0, cursorIdx) + insert + value.slice(selectionEnd);
|
|
1419
1419
|
const getInitialValueType = (chainRoots, initialValue, allowedValueType) => {
|
|
1420
1420
|
if (allowedValueType != null) return allowedValueType;
|
|
1421
1421
|
return initialValue && isChainWithValidRoot(initialValue, chainRoots) ? "method-chain" : "interpolation";
|
|
@@ -1424,18 +1424,15 @@ const getInitialValueType = (chainRoots, initialValue, allowedValueType) => {
|
|
|
1424
1424
|
* Smart text input for configuring access to data, interpolated strings, or inline code.
|
|
1425
1425
|
*/
|
|
1426
1426
|
const SmartTextInput = ({ value: passedValue, onChange, valueType: allowedValueType, allowedInterpolationModes, chainRoots, platformObjectJsonSchema, defaultPrimitiveUtilities, codeChainFunctionSchema, useChainRootDescriptions = false, primitivesSchema = "default", isLoading = false, portalContainerRef, getSchemaOptionsOverride, creatable = false, renderFunctionForm, renderCustomFunctionDetail, renderCodeChainFunctionPanel, canCreateCodeChainFunction = false, sortOptionsBy, onValidationChange, contextMenuExamples, popoverFooter, id, placeholder = "Select or type", disabled = false, size = "md", variant = "default", ...props }) => {
|
|
1427
|
-
const lastNotifiedValueRef = useRef(passedValue ?? "");
|
|
1428
1427
|
const [value, setValue] = useState(passedValue ?? "");
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
}, [passedValue]);
|
|
1428
|
+
const [valueType, setValueType] = useState(getInitialValueType(chainRoots, passedValue, allowedValueType));
|
|
1429
|
+
const lastNotifiedRef = useRef({
|
|
1430
|
+
value: passedValue ?? "",
|
|
1431
|
+
valueType
|
|
1432
|
+
});
|
|
1435
1433
|
const onChangeRef = useRef(onChange);
|
|
1436
1434
|
onChangeRef.current = onChange;
|
|
1437
1435
|
const [cursorIdx, setCursor] = useState(null);
|
|
1438
|
-
const [valueType, setValueType] = useState(getInitialValueType(chainRoots, passedValue, allowedValueType));
|
|
1439
1436
|
const [assumeOnNextLinkState, setAssumeOnNextLink] = useState(false);
|
|
1440
1437
|
const [forceFunctionDialog, setForceFunctionDialog] = useState(false);
|
|
1441
1438
|
const inputRef = useRef(null);
|
|
@@ -1488,14 +1485,30 @@ const SmartTextInput = ({ value: passedValue, onChange, valueType: allowedValueT
|
|
|
1488
1485
|
}
|
|
1489
1486
|
});
|
|
1490
1487
|
useEffect(() => {
|
|
1491
|
-
if (value ===
|
|
1492
|
-
|
|
1488
|
+
if (value === lastNotifiedRef.current.value && valueType === lastNotifiedRef.current.valueType) return;
|
|
1489
|
+
lastNotifiedRef.current = {
|
|
1490
|
+
value,
|
|
1491
|
+
valueType
|
|
1492
|
+
};
|
|
1493
1493
|
onChangeRef.current?.(value, {
|
|
1494
1494
|
valueType,
|
|
1495
1495
|
schema: resolveSchema(value),
|
|
1496
1496
|
ast: tree
|
|
1497
1497
|
});
|
|
1498
|
-
}, [value]);
|
|
1498
|
+
}, [value, valueType]);
|
|
1499
|
+
useEffect(() => {
|
|
1500
|
+
if (passedValue !== void 0 && passedValue !== lastNotifiedRef.current.value) {
|
|
1501
|
+
setValue(passedValue);
|
|
1502
|
+
setValueType(getInitialValueType(chainRoots, passedValue, allowedValueType));
|
|
1503
|
+
lastNotifiedRef.current = {
|
|
1504
|
+
...lastNotifiedRef.current,
|
|
1505
|
+
value: passedValue
|
|
1506
|
+
};
|
|
1507
|
+
}
|
|
1508
|
+
}, [passedValue]);
|
|
1509
|
+
useEffect(() => {
|
|
1510
|
+
if (allowedValueType != null) setValueType(allowedValueType);
|
|
1511
|
+
}, [allowedValueType]);
|
|
1499
1512
|
const functionAtCursor = getFunctionAtCursor(tree, cursorIdx, valueType);
|
|
1500
1513
|
const popupMode = functionAtCursor != null && (functionAtCursor.cursorInParens || forceFunctionDialog) ? "function-dialog" : mode === "code" ? "code-dialog" : "listbox";
|
|
1501
1514
|
const comboboxItems = useMemo(() => {
|
|
@@ -1859,7 +1872,7 @@ const SmartTextInput = ({ value: passedValue, onChange, valueType: allowedValueT
|
|
|
1859
1872
|
return;
|
|
1860
1873
|
}
|
|
1861
1874
|
}
|
|
1862
|
-
if (assumeOnNextLink && /^[a-zA-Z0-9]$/.test(e.key)) {
|
|
1875
|
+
if (assumeOnNextLink && !e.metaKey && !e.ctrlKey && !e.altKey && inputRef.current?.selectionStart === inputRef.current?.selectionEnd && /^[a-zA-Z0-9]$/.test(e.key)) {
|
|
1863
1876
|
const idx = safeCursorIdx(cursorIdx, tree);
|
|
1864
1877
|
setValue(spliceAtCursor(value, ".", idx));
|
|
1865
1878
|
nextRenderRef.current.cursor = {
|
|
@@ -1878,8 +1891,10 @@ const SmartTextInput = ({ value: passedValue, onChange, valueType: allowedValueT
|
|
|
1878
1891
|
return;
|
|
1879
1892
|
}
|
|
1880
1893
|
if (e.key === "{" || e.key === "(") {
|
|
1881
|
-
const idx = safeCursorIdx(cursorIdx, tree);
|
|
1882
|
-
|
|
1894
|
+
const idx = safeCursorIdx(inputRef.current?.selectionStart ?? cursorIdx, tree);
|
|
1895
|
+
const end = safeCursorIdx(inputRef.current?.selectionEnd ?? cursorIdx, tree);
|
|
1896
|
+
setAssumeOnNextLink(false);
|
|
1897
|
+
setValue(spliceAtCursor(value, withClosingToken(e.key), idx, end));
|
|
1883
1898
|
nextRenderRef.current.cursor = {
|
|
1884
1899
|
start: idx + 1,
|
|
1885
1900
|
end: idx + 1
|
|
@@ -1888,8 +1903,10 @@ const SmartTextInput = ({ value: passedValue, onChange, valueType: allowedValueT
|
|
|
1888
1903
|
return;
|
|
1889
1904
|
}
|
|
1890
1905
|
if ((e.key === "'" || e.key === "[") && mode === "method-chain") {
|
|
1891
|
-
const idx = safeCursorIdx(cursorIdx, tree);
|
|
1892
|
-
|
|
1906
|
+
const idx = safeCursorIdx(inputRef.current?.selectionStart ?? cursorIdx, tree);
|
|
1907
|
+
const end = safeCursorIdx(inputRef.current?.selectionEnd ?? cursorIdx, tree);
|
|
1908
|
+
setAssumeOnNextLink(false);
|
|
1909
|
+
setValue(spliceAtCursor(value, withClosingToken(e.key), idx, end));
|
|
1893
1910
|
nextRenderRef.current.cursor = {
|
|
1894
1911
|
start: idx + 1,
|
|
1895
1912
|
end: idx + 1
|