@persona/design-system 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +241 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-B-AiHknZ.d.mts → Action-BwYS9qaG.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +4 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +5 -3
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +3 -3
- package/dist/{Badge-COqUjFQu.mjs → Badge-D-5tbZDw.mjs} +2 -2
- package/dist/{Badge-COqUjFQu.mjs.map → Badge-D-5tbZDw.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-DRFY46ZW.d.mts → Breadcrumb-BADja8tn.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-DXS7rU7_.mjs → Breadcrumbs-CNpM0aXm.mjs} +5 -5
- package/dist/{Breadcrumbs-DXS7rU7_.mjs.map → Breadcrumbs-CNpM0aXm.mjs.map} +1 -1
- package/dist/{Breadcrumbs-DUSbT1I7.d.mts → Breadcrumbs-CxP7ktfM.d.mts} +2 -2
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-xZ6DC5XC.d.mts → Button-CnswHEJ2.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-dPmo2dkj.d.mts → Calendar-Cke5IlMI.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-CUeM8Lh8.d.mts → Card-Bp6L08H4.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{CardV2-D9p7D7jX.mjs → CardV2-DEW6mw_o.mjs} +7 -7
- package/dist/{CardV2-D9p7D7jX.mjs.map → CardV2-DEW6mw_o.mjs.map} +1 -1
- package/dist/{Checkbox-DoJpxPEz.d.mts → Checkbox-DUXws1Os.d.mts} +1 -1
- package/dist/{Checkbox-DQynkc_I.mjs → Checkbox-GibG2pg5.mjs} +3 -3
- package/dist/{Checkbox-DQynkc_I.mjs.map → Checkbox-GibG2pg5.mjs.map} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField-DzdOYIjo.d.mts +25 -0
- package/dist/CheckboxGroupField.d.mts +2 -25
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-C_kCY3P3.mjs → Combobox-CCDoNF9Y.mjs} +9 -9
- package/dist/{Combobox-C_kCY3P3.mjs.map → Combobox-CCDoNF9Y.mjs.map} +1 -1
- package/dist/{Combobox-D7hyf-jA.d.mts → Combobox-CnxmKUQf.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-BMCY6O7Y.d.mts → ComboboxBase-CtNrsPO9.d.mts} +6 -6
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-L0KYMkmm.d.mts → ComboboxMultiSelect-CMH6iVu4.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-v5oNrJ7M.d.mts → ComboboxSingleSelect-BLPbLmMY.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DjFaUAsN.d.mts → CompactBar-BwKIIlWz.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-DLOZOuLf.mjs → ConfigFormGroup-BQXN2Pgj.mjs} +2 -2
- package/dist/{ConfigFormGroup-DLOZOuLf.mjs.map → ConfigFormGroup-BQXN2Pgj.mjs.map} +1 -1
- package/dist/{ControlBar-Cegjxa6-.d.mts → ControlBar-BJUY6GOX.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +3 -3
- package/dist/{DateField-Dk5ykLdr.d.mts → DateField-BojOHfrv.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-Dtvv0V45.d.mts → DatePicker-BHVx_i_F.d.mts} +2 -2
- package/dist/{DatePicker-C7z1yodK.mjs → DatePicker-LPIJrc0n.mjs} +6 -6
- package/dist/{DatePicker-C7z1yodK.mjs.map → DatePicker-LPIJrc0n.mjs.map} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-HPYsa4wC.d.mts → DateRangePicker-CelDK_44.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +2 -2
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-CQrFHOIW.mjs → DropdownButton-i5Dmxiq1.mjs} +3 -3
- package/dist/{DropdownButton-CQrFHOIW.mjs.map → DropdownButton-i5Dmxiq1.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-D1qvgGTZ.d.mts → DropdownMenu-YtLxcNWt.d.mts} +2 -2
- package/dist/{DropdownMenu-rm9Nnxn7.mjs → DropdownMenu-j8NWbAvM.mjs} +2 -2
- package/dist/{DropdownMenu-rm9Nnxn7.mjs.map → DropdownMenu-j8NWbAvM.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-B8-Mqf1W.d.mts → ErrorProps-6dRdJ4QQ.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-0LmSQ-jc.d.mts → FieldRegistry-DqO8HiYb.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-BMM4Swbt.d.mts → FilterBar-CpAA2Ozk.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +8 -2
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-Dg8doZq2.d.mts → FormControl-B-s6G9mp.d.mts} +2 -2
- package/dist/{FormControl-DXrxoJLl.mjs → FormControl-bDxFF0hl.mjs} +3 -3
- package/dist/{FormControl-DXrxoJLl.mjs.map → FormControl-bDxFF0hl.mjs.map} +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BeLigf9j.d.mts → FormField-D3k-f3-f.d.mts} +2 -2
- package/dist/{FormField-Crp3F-hv.mjs → FormField-DbcqNcx2.mjs} +16 -16
- package/dist/{FormField-Crp3F-hv.mjs.map → FormField-DbcqNcx2.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-eMLuyRzV.mjs → Grid-CeH9E5Ai.mjs} +1 -1
- package/dist/{Grid-eMLuyRzV.mjs.map → Grid-CeH9E5Ai.mjs.map} +1 -1
- package/dist/{Header-DxJ6TfPw.d.mts → Header-2K49LYkR.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-DcyrpEZI.d.mts → HelperTooltip-CTHUM2nC.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +61 -0
- package/dist/{HoverCopyableField-12bBuG-d.mjs → HoverCopyableField-BARZLhfO.mjs} +3 -3
- package/dist/{HoverCopyableField-12bBuG-d.mjs.map → HoverCopyableField-BARZLhfO.mjs.map} +1 -1
- package/dist/{IconButton-CCLMYWVN.mjs → IconButton-BHFCjvzs.mjs} +1 -1
- package/dist/{IconButton-CCLMYWVN.mjs.map → IconButton-BHFCjvzs.mjs.map} +1 -1
- package/dist/{IconButton-BUMMN-gH.d.mts → IconButton-D5hx405r.d.mts} +2 -2
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-Cl4o41k4.mjs → Input-BQN97Hzm.mjs} +3 -3
- package/dist/{Input-Cl4o41k4.mjs.map → Input-BQN97Hzm.mjs.map} +1 -1
- package/dist/{Input-2N2e5JCf.d.mts → Input-BQbcIiVj.d.mts} +3 -3
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-TWzig3QO.d.mts → InputProps-DT1ZReZS.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{Link-I9Bklen-.mjs → Link-Bzm4AL5J.mjs} +1 -1
- package/dist/{Link-I9Bklen-.mjs.map → Link-Bzm4AL5J.mjs.map} +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-BcoXOt73.d.mts → ListBox-CdqRwBvA.d.mts} +7 -7
- package/dist/{ListBox-sqeLBiKS.mjs → ListBox-DOqN9DNl.mjs} +9 -9
- package/dist/{ListBox-sqeLBiKS.mjs.map → ListBox-DOqN9DNl.mjs.map} +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField-Bl2WLplO.d.mts +51 -0
- package/dist/ListBoxField.d.mts +2 -51
- package/dist/{LoadingShimmer-dRSkdlqD.mjs → LoadingShimmer-Ds7rvIUN.mjs} +1 -1
- package/dist/{LoadingShimmer-dRSkdlqD.mjs.map → LoadingShimmer-Ds7rvIUN.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-DXywXdYt.d.mts → LogicRow-CwMAn1sh.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +1 -1
- package/dist/{Menu-BekLwm8w.d.mts → Menu-CUN9bmc1.d.mts} +3 -3
- package/dist/{Menu-CwlI7BMN.mjs → Menu-DjW2b3Wk.mjs} +1 -1
- package/dist/{Menu-CwlI7BMN.mjs.map → Menu-DjW2b3Wk.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-CO58jrNF.mjs → MiddleTruncatedText-DoTyfMem.mjs} +2 -2
- package/dist/{MiddleTruncatedText-CO58jrNF.mjs.map → MiddleTruncatedText-DoTyfMem.mjs.map} +1 -1
- package/dist/{Modal-ymxlGYKt.d.mts → Modal-CGXJGrKg.d.mts} +2 -2
- package/dist/{Modal-CMiFcXC9.mjs → Modal-DHLPK65-.mjs} +4 -4
- package/dist/{Modal-CMiFcXC9.mjs.map → Modal-DHLPK65-.mjs.map} +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-D_0p7UK_.mjs → PageHeader-eI4RM_uL.mjs} +2 -2
- package/dist/{PageHeader-D_0p7UK_.mjs.map → PageHeader-eI4RM_uL.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageSelector-Bxulu6vU.d.mts → PageSelector-kAfYxEky.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-Co9CfyFQ.mjs → Pagination-6BDOn9bX.mjs} +6 -6
- package/dist/Pagination-6BDOn9bX.mjs.map +1 -0
- package/dist/{Pagination-Dg-4O7F7.d.mts → Pagination-Bhr7xyd2.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-JGV9gP95.mjs → Pii-DhL1gblz.mjs} +2 -2
- package/dist/{Pii-JGV9gP95.mjs.map → Pii-DhL1gblz.mjs.map} +1 -1
- package/dist/{PillShell-BA7KK1zS.d.mts → PillShell-CVJL1k5I.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-ZAj03lws.mjs → Popover-CbYaWrAy.mjs} +1 -1
- package/dist/{Popover-ZAj03lws.mjs.map → Popover-CbYaWrAy.mjs.map} +1 -1
- package/dist/{ProgressIndicator-CQg08vuA.mjs → ProgressIndicator-BpF3XLn3.mjs} +1 -1
- package/dist/{ProgressIndicator-CQg08vuA.mjs.map → ProgressIndicator-BpF3XLn3.mjs.map} +1 -1
- package/dist/{ProgressIndicator-D85HQGSx.d.mts → ProgressIndicator-CYyM6OSx.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-BHs8TX_3.d.mts → PseudoClassProps-BOVN6Etr.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-CYV290JI.mjs → Radio-DPaX-9LH.mjs} +2 -2
- package/dist/{Radio-CYV290JI.mjs.map → Radio-DPaX-9LH.mjs.map} +1 -1
- package/dist/{RadioGroup-Cq3KV1TN.d.mts → RadioGroup-C0l0pdEt.d.mts} +1 -1
- package/dist/{RadioGroup-lWMMtu9V.mjs → RadioGroup-D7f4m2Uc.mjs} +2 -2
- package/dist/{RadioGroup-lWMMtu9V.mjs.map → RadioGroup-D7f4m2Uc.mjs.map} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-Mh7h74Tp.d.mts → RangeCalendar-BJn9V3iN.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/{RouterContext-B3IU1jb0.d.mts → RouterContext-BLrzYlJ_.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-CwAqTLC2.d.mts → RouterLink-BHXjhqps.d.mts} +2 -2
- package/dist/RouterLink.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +4 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-BGyUUcoz.d.mts → SearchInput-Buh8LdIL.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-DgDabSgr.d.mts → SegmentedControl-B9qLyIIW.d.mts} +1 -1
- package/dist/{SegmentedControl-BEbIcV3g.mjs → SegmentedControl-zEvBtVj0.mjs} +2 -2
- package/dist/{SegmentedControl-BEbIcV3g.mjs.map → SegmentedControl-zEvBtVj0.mjs.map} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-yC2t_gZb.mjs → Select-BoZuM_e9.mjs} +6 -6
- package/dist/{Select-yC2t_gZb.mjs.map → Select-BoZuM_e9.mjs.map} +1 -1
- package/dist/{Select-wqTtGyga.d.mts → Select-Cv_9PLOt.d.mts} +3 -3
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +107 -0
- package/dist/SmartTextInputCodeDialog.d.mts +18 -0
- package/dist/SmartTextInputField.d.mts +25 -0
- package/dist/SmartTextInputFunctionDialog.d.mts +37 -0
- package/dist/SmartTextInputListbox.d.mts +26 -0
- package/dist/SmartTextInputPopover.d.mts +45 -0
- package/dist/{Spinner-BlAg8_OX.mjs → Spinner-CarSRiBF.mjs} +1 -1
- package/dist/{Spinner-BlAg8_OX.mjs.map → Spinner-CarSRiBF.mjs.map} +1 -1
- package/dist/{Stack-Bkn0TUDe.mjs → Stack-CEPzs4Pb.mjs} +1 -1
- package/dist/{Stack-Bkn0TUDe.mjs.map → Stack-CEPzs4Pb.mjs.map} +1 -1
- package/dist/{Stack-CYqjBXe8.d.mts → Stack-XzBzPvSV.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-DT2zNbkp.mjs → StatusIndicator-bEnMWV_S.mjs} +1 -1
- package/dist/{StatusIndicator-DT2zNbkp.mjs.map → StatusIndicator-bEnMWV_S.mjs.map} +1 -1
- package/dist/{Sticker-BLbgJxcH.mjs → Sticker-B-fU8lgu.mjs} +3 -3
- package/dist/{Sticker-BLbgJxcH.mjs.map → Sticker-B-fU8lgu.mjs.map} +1 -1
- package/dist/{Sticker-BmyKaxwx.d.mts → Sticker-DGfNuxUK.d.mts} +4 -4
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +1 -1
- package/dist/{TabBar-Bj84q1Mr.mjs → TabBar-BSl5v5aa.mjs} +3 -3
- package/dist/{TabBar-Bj84q1Mr.mjs.map → TabBar-BSl5v5aa.mjs.map} +1 -1
- package/dist/{Table-DhdHUQ8V.d.mts → Table-B2V5tlfA.d.mts} +1 -1
- package/dist/{Table-WqNfjasd.mjs → Table-msXj0glu.mjs} +2 -2
- package/dist/{Table-WqNfjasd.mjs.map → Table-msXj0glu.mjs.map} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-qoSvQDds.d.mts → TableBody-SlQe4Jyp.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-obl64W5Y.mjs → TableBox-CF1_Fk0j.mjs} +9 -9
- package/dist/{TableBox-obl64W5Y.mjs.map → TableBox-CF1_Fk0j.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-DzYMx4Ju.d.mts → TableBoxCell-BRhGeUnO.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField-Cq9M1upV.d.mts +103 -0
- package/dist/TableBoxField.d.mts +2 -103
- package/dist/{TableBoxRow-B4rFCvWK.d.mts → TableBoxRow-DZzRYoID.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-qMKcVuTL.d.mts → TableBoxRowActions-4-j3flJq.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-CGPQRc5g.d.mts → TableCell-D5Sqb6iO.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-WP78qtET.d.mts → TableControls-B-LakH-8.d.mts} +3 -3
- package/dist/{TableControls-RS_ozBsI.mjs → TableControls-CqW_nyBY.mjs} +98 -31
- package/dist/TableControls-CqW_nyBY.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-DZIZSyfX.d.mts → TableControlsContext-Dh1YVmBM.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-36j-_oyn.d.mts → TableHead-BCrVa0BY.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-C7gp9j1X.d.mts → TableHeaderCell-CcEkDozs.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CQqIV0vj.d.mts → TableLayout-Bhj1QBBz.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-BJZM8I8i.d.mts → TableRow-Cy1y7b9S.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-Dwy_9FBz.d.mts → TableViewConfigurationDropdown-BzygLtGm.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-CL0zkOAj.mjs → TechnicalSticker-B6T7cHHc.mjs} +2 -2
- package/dist/{TechnicalSticker-CL0zkOAj.mjs.map → TechnicalSticker-B6T7cHHc.mjs.map} +1 -1
- package/dist/{Text-DbtTa83E.d.mts → Text-BVGJ-Nlw.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-CbxF6u7z.d.mts → TextArea-Bzj593VO.d.mts} +2 -2
- package/dist/{TextArea-CfZr5Sk4.mjs → TextArea-C1CmFRiz.mjs} +2 -2
- package/dist/{TextArea-CfZr5Sk4.mjs.map → TextArea-C1CmFRiz.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-BgLQuK38.d.mts → TextUnderlineTooltip-CgFmtqF_.d.mts} +2 -2
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-D4ZaUcVt.mjs → Toggle-CntyMUPJ.mjs} +2 -2
- package/dist/{Toggle-D4ZaUcVt.mjs.map → Toggle-CntyMUPJ.mjs.map} +1 -1
- package/dist/{Toggle-BYMLrPXk.d.mts → Toggle-bSu1xAaq.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-4pshzB_i.d.mts → Tooltip-Duw4Fz1t.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-O7hE3w0O.d.mts → TruncatedText-CbTpX_R1.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +1 -1
- package/dist/{VersionHistoryItem-CIcEgl0K.d.mts → VersionHistoryItem-D05QYej7.d.mts} +1 -1
- package/dist/VersionHistoryItem.d.mts +1 -1
- package/dist/WizardModal.d.mts +3 -3
- package/dist/{accordionTitleTypography-CNB1w3kn.d.mts → accordionTitleTypography-Leehcmb3.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/chainTypes-D8SGRGba.d.mts +17 -0
- package/dist/{codec-BXVBsB8Y.d.mts → codec-Vsztf4fe.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-3UO63ocQ.d.mts → color-CrlF3pba.d.mts} +2 -2
- package/dist/components/Accordion/index.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +1 -1
- package/dist/components/Attribute/index.mjs +2 -2
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +1 -1
- package/dist/components/BottomPanel/index.mjs +3 -3
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +2 -2
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +19 -19
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +11 -11
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +2 -2
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +6 -6
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +5 -5
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressIndicator/index.d.mts +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +3 -3
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/SmartTextInput/index.d.mts +5 -0
- package/dist/components/SmartTextInput/index.mjs +2035 -0
- package/dist/components/SmartTextInput/index.mjs.map +1 -0
- package/dist/components/SmartTextInput/parser/method-chain/parser.mjs +1 -1
- package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +1 -1
- package/dist/components/SmartTextInput/parser/smart-text/parser.mjs +1 -1
- package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +3 -72
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +8 -8
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/VersionHistory/index.d.mts +1 -1
- package/dist/components/VersionHistory/index.mjs +7 -7
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BOxzLX-O.d.mts → constants-CQUCM6__.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-OeTC9kvS.d.mts → createPath-Bq7wYGt_.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-filter-BnzR6NxT.mjs → date-filter-D6IfCkwp.mjs} +1 -1
- package/dist/{date-filter-BnzR6NxT.mjs.map → date-filter-D6IfCkwp.mjs.map} +1 -1
- package/dist/{date-range-rule-value-BRp5Bi7R.d.mts → date-range-rule-value-DVhMQP4-.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-CDBtV0ET.d.mts → date-rule-intent-BwQ6OTVD.d.mts} +3 -3
- package/dist/date-rule-intent.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-CqvQ190x.d.mts → filter-size-context-BjTzcZwZ.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-BXSe73Xn.d.mts → index-BFIFjR7Q.d.mts} +2 -2
- package/dist/{index-wKK9f9La.d.mts → index-BhDvrF4l.d.mts} +4 -4
- package/dist/{index-CyAok7As.d.mts → index-C-xpEL8b.d.mts} +2 -2
- package/dist/index-xmouCHX9.d.mts +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +14 -14
- package/dist/{input-C6cyiqm2.d.mts → input-DpHBIUpP.d.mts} +3 -3
- package/dist/inputFields-BVDurw3L.d.mts +71 -0
- package/dist/inputFields.d.mts +2 -71
- package/dist/{intersperse-Df9zw7Bk.mjs → intersperse-bvY2gibK.mjs} +1 -1
- package/dist/{intersperse-Df9zw7Bk.mjs.map → intersperse-bvY2gibK.mjs.map} +1 -1
- package/dist/{jsonSchema-CfGi1bzI.d.mts → jsonSchema-Bl-qzgrr.d.mts} +1 -1
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +2 -2
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +1 -1
- package/dist/lib/TruncatedText.mjs.map +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs.map +1 -1
- package/dist/lib/chainTypes.d.mts +2 -17
- package/dist/lib/color.d.mts +1 -1
- package/dist/lib/customFunctionSchema.d.mts +1 -1
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/date-filter/index.mjs +1 -1
- package/dist/lib/jsonSchema.d.mts +1 -1
- package/dist/lib/jsonSchemaType.d.mts +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +2 -2
- package/dist/lib/methodChain.mjs +1 -2
- package/dist/lib/methodChainNormalize.d.mts +2 -2
- package/dist/lib/methodChainTypes.d.mts +1 -1
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
- package/dist/lib/router/adapters/tanstack.d.mts +1 -1
- package/dist/lib/router/index.d.mts +5 -5
- package/dist/lib/schemaOptions.d.mts +2 -173
- package/dist/lib/schemaOptions.mjs +1 -1
- package/dist/lib/semanticColor.d.mts +1 -1
- package/dist/lib/useChain.d.mts +2 -0
- package/dist/lib/useChain.mjs +2 -0
- package/dist/listbox-options-BjOkovND.d.mts +38 -0
- package/dist/listbox-options.d.mts +2 -0
- package/dist/{message-CblP0EjG.d.mts → message-w_1-kTDE.d.mts} +1 -1
- package/dist/{methodChain-Pk1C3i_E.d.mts → methodChain-B5vZEOff.d.mts} +4 -4
- package/dist/{methodChain-DAQxLgxt.mjs → methodChain-L_h8Z8Bx.mjs} +2 -2
- package/dist/{methodChain-DAQxLgxt.mjs.map → methodChain-L_h8Z8Bx.mjs.map} +1 -1
- package/dist/{methodChainTypes-CqWzfx0M.d.mts → methodChainTypes-BVkTI8MX.d.mts} +2 -2
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/scrollbar.d.mts +1 -1
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-CoXL5Hv6.d.mts → operators-BG82-g3M.d.mts} +9 -3
- package/dist/operators.d.mts +2 -2
- package/dist/{palette-CxXUs1Fu.d.mts → palette-C8tyI81D.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/{parser-Kxos6siN.mjs → parser-BeTiVjRs.mjs} +3 -2
- package/dist/{parser-Kxos6siN.mjs.map → parser-BeTiVjRs.mjs.map} +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
- package/dist/patterns/PageLayout/index.mjs +2 -2
- package/dist/{components → patterns}/WizardModal/index.mjs +5 -5
- package/dist/patterns/WizardModal/index.mjs.map +1 -0
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/safe-parse.d.mts +23 -0
- package/dist/schemaOptions-DGca6x7E.d.mts +173 -0
- package/dist/{semantic-CFMBsuiJ.d.mts → semantic-D1661f_6.d.mts} +1 -1
- package/dist/{semanticColor-DuJCmDrH.d.mts → semanticColor-Bg0H3RUL.d.mts} +3 -3
- package/dist/{text-D8HPjiEX.d.mts → text-Iw9DKpbZ.d.mts} +1 -1
- package/dist/{theme-BcaR-Au5.d.mts → theme-BB1B6Wkz.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/tone.d.mts +3 -3
- package/dist/tree.d.mts +9 -0
- package/dist/{types-CoVZwrMW.d.mts → types-B0ilOIfE.d.mts} +2 -2
- package/dist/types-BYRTxB0a.d.mts +72 -0
- package/dist/{types-BCiq4hGv.d.mts → types-CI2bPi02.d.mts} +1 -1
- package/dist/types-Cs6CdZCO.d.mts +83 -0
- package/dist/{types-CkpixGWr.d.mts → types-D1DijcJv.d.mts} +1 -1
- package/dist/{types-Cl-w8tYc.d.mts → types-DZTbvdpO.d.mts} +1 -1
- package/dist/{types-DgyGecdM.d.mts → types-DdTu747j.d.mts} +1 -1
- package/dist/{types-C4WUSW3e.d.mts → types-Dy3lZv9z.d.mts} +2 -2
- package/dist/{types-BGMmkUpy.d.mts → types-M-rsm1Km.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +1 -1
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/types7.d.mts +2 -0
- package/dist/{url-state-8j_ef8Uf.d.mts → url-state-DWA7UFxS.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useChain-CEsXE2Bx.d.mts +77 -0
- package/dist/useChain-CKqYGdx4.mjs +4589 -0
- package/dist/useChain-CKqYGdx4.mjs.map +1 -0
- package/dist/useChainAtCursor.d.mts +87 -0
- package/dist/useCodeChainFunctionPanel.d.mts +26 -0
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-CW6eght1.d.mts → useFilterStateV2-DoJ9lyJx.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-XezSxho_.mjs → useFormField-BAmkdxtA.mjs} +2 -2
- package/dist/{useFormField-XezSxho_.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
- package/dist/{useFormField-CLRZkUZt.d.mts → useFormField-BtnAYcHV.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-C7Cax8zO.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
- package/dist/{useFormGroup-C7Cax8zO.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
- package/dist/{useLocationPathname-DH5Tdq5X.d.mts → useLocationPathname-pLyLOrAi.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-Da4TiYBT.d.mts → useTableBoxDragAndDrop-wjc_LCpC.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-DcsbI71T.d.mts → utilities-DL18UdPs.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils4.d.mts +111 -0
- package/dist/{validation-BgwNghi2.d.mts → validation-PeVTwtd-.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/validation2.d.mts +64 -0
- package/dist/{value-control-resolver-B0HDRxRN.d.mts → value-control-resolver-Cx_wXQFv.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/effect.d.mts +1 -1
- package/dist/variables/semantic.d.mts +1 -1
- package/llms.txt +1 -1
- package/package.json +10 -3
- package/skills/ui-authoring/COMPONENTS.md +0 -1
- package/skills/ui-authoring/PATTERNS.md +1 -0
- package/dist/Pagination-Co9CfyFQ.mjs.map +0 -1
- package/dist/TableControls-RS_ozBsI.mjs.map +0 -1
- package/dist/components/WizardModal/index.mjs.map +0 -1
- /package/dist/{index-B24gUwOx.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-BFnNtGdX.d.mts → index-BCq_fh4A2.d.mts} +0 -0
- /package/dist/{index-BNRXMhlr.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-BPiqSRRl.d.mts → index-BMBcfD_R.d.mts} +0 -0
- /package/dist/{index-BYd3Btr1.d.mts → index-BOn0AAue.d.mts} +0 -0
- /package/dist/{index-B_BBnMou.d.mts → index-BcsXXrHq.d.mts} +0 -0
- /package/dist/{index-Bt4QNofW.d.mts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-C6HcjJiY.d.mts → index-BwXb5CoQ.d.mts} +0 -0
- /package/dist/{index-CEqOS-7M.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-CIABef8t.d.mts → index-C9achTF6.d.mts} +0 -0
- /package/dist/{index-CTHojwxd.d.mts → index-CCKHlTA4.d.mts} +0 -0
- /package/dist/{index-CjDodOH2.d.mts → index-CFuHCx9T.d.mts} +0 -0
- /package/dist/{index-Cm-1i165.d.mts → index-CP2eJYlK.d.mts} +0 -0
- /package/dist/{index-CoUVmp_Q.d.mts → index-CWB6exYm.d.mts} +0 -0
- /package/dist/{index-DB7t8whN.d.mts → index-CryTAIZM.d.mts} +0 -0
- /package/dist/{index-DBGd4WeR.d.mts → index-CuYZJcK3.d.mts} +0 -0
- /package/dist/{index-DGsJdI5l.d.mts → index-CuheJfs-.d.mts} +0 -0
- /package/dist/{index-DWfPppPU.d.mts → index-D-9tW2r5.d.mts} +0 -0
- /package/dist/{index-DeVKzGce.d.mts → index-D9XihFV1.d.mts} +0 -0
- /package/dist/{index-DedbSZMv.d.mts → index-Dflz2i1X.d.mts} +0 -0
- /package/dist/{index-Jh0C5PIG.d.mts → index-DjOaHFU3.d.mts} +0 -0
- /package/dist/{index-NKYLt_R9.d.mts → index-DkrC-i1D.d.mts} +0 -0
- /package/dist/{index-Qwqzz3XM.d.mts → index-DrK1_jKY.d.mts} +0 -0
- /package/dist/{index-VWno75SQ.d.mts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-fxXoW-qc.d.mts → index-e6k85DKM.d.mts} +0 -0
- /package/dist/{index-gVcIuWLd.d.mts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{index-zeAhjge4.d.mts → index-irNqT1qQ2.d.mts} +0 -0
- /package/dist/{components → patterns}/WizardModal/index.d.mts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
-
import { n as Stack } from "../../Stack-
|
|
3
|
-
import { i as useGridBreakpoint, n as GRID_BREAKPOINTS, r as Grid, t as GridItem } from "../../Grid-
|
|
2
|
+
import { n as Stack } from "../../Stack-CEPzs4Pb.mjs";
|
|
3
|
+
import { i as useGridBreakpoint, n as GRID_BREAKPOINTS, r as Grid, t as GridItem } from "../../Grid-CeH9E5Ai.mjs";
|
|
4
4
|
import { Spacing } from "@persona/design-tokens";
|
|
5
5
|
import { useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
2
|
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
|
-
import { t as HStack } from "../../Stack-
|
|
4
|
-
import { n as Button } from "../../IconButton-
|
|
5
|
-
import { i as Modal_default } from "../../Modal-
|
|
6
|
-
import { t as ProgressIndicator } from "../../ProgressIndicator-
|
|
3
|
+
import { t as HStack } from "../../Stack-CEPzs4Pb.mjs";
|
|
4
|
+
import { n as Button } from "../../IconButton-BHFCjvzs.mjs";
|
|
5
|
+
import { i as Modal_default } from "../../Modal-DHLPK65-.mjs";
|
|
6
|
+
import { t as ProgressIndicator } from "../../ProgressIndicator-BpF3XLn3.mjs";
|
|
7
7
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
//#region
|
|
10
|
+
//#region patterns/WizardModal/WizardModal.tsx
|
|
11
11
|
const statusFromProceed = (result) => result === "valid" ? "completed" : result;
|
|
12
12
|
const VERTICAL_STEPPER_RAIL_WIDTH = "240px";
|
|
13
13
|
const BodyShell = styled.div`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Modal"],"sources":["../../../patterns/WizardModal/WizardModal.tsx"],"sourcesContent":["import { type ComponentProps, type ReactNode, useState } from 'react';\nimport styled from 'styled-components';\n\nimport Button from '@persona/design-system/components/Button';\nimport Modal, { type ModalRenderProps } from '@persona/design-system/components/Modal';\nimport ProgressIndicator, {\n type ProgressIndicatorStep,\n type StepStatus,\n} from '@persona/design-system/components/ProgressIndicator';\nimport { HStack } from '@persona/design-system/components/Stack';\nimport { Color, Spacing } from '@persona/design-tokens';\nimport { semanticColor } from 'design-system/lib/semanticColor';\n\ntype ModalChromeProps = Pick<\n ComponentProps<typeof Modal>,\n | 'title'\n | 'open'\n | 'defaultOpen'\n | 'onOpenChange'\n | 'size'\n | 'trigger'\n | 'isDismissable'\n | 'isKeyboardDismissDisabled'\n>;\n\nexport type WizardProceedResult = 'valid' | Extract<StepStatus, 'warning' | 'error'>;\n\nexport const statusFromProceed = (result: WizardProceedResult): StepStatus =>\n result === 'valid' ? 'completed' : result;\n\nexport type WizardModalSteps = [\n ProgressIndicatorStep,\n ProgressIndicatorStep,\n ...ProgressIndicatorStep[],\n];\n\nexport interface WizardModalProps extends ModalChromeProps {\n steps: WizardModalSteps;\n activeStepId: string;\n onActiveStepChange: (stepId: string) => void;\n onProceed?: () => WizardProceedResult;\n onComplete: () => void | Promise<void>;\n confirmLabel?: string;\n layout?: 'vertical' | 'horizontal';\n children: ReactNode | ((props: ModalRenderProps) => ReactNode);\n}\n\nconst VERTICAL_STEPPER_RAIL_WIDTH = '240px';\n\nconst BodyShell = styled.div`\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n height: 100%;\n overflow: hidden;\n`;\n\nconst VerticalBody = styled(HStack)`\n flex: 1;\n min-height: 0;\n align-items: stretch;\n width: 100%;\n`;\n\nconst VerticalRail = styled.div`\n flex: 0 0 ${VERTICAL_STEPPER_RAIL_WIDTH};\n width: ${VERTICAL_STEPPER_RAIL_WIDTH};\n padding: ${Spacing[4]};\n overflow-y: auto;\n border-right: 1px solid\n ${({ theme }) => semanticColor(theme, 'BorderSubtle', Color.BorderDivider)};\n`;\n\nconst HorizontalProgress = styled.div`\n flex: 0 0 auto;\n padding: ${Spacing[4]} ${Spacing[4]} 0;\n`;\n\nconst StepBody = styled.div`\n flex: 1;\n min-width: 0;\n min-height: 0;\n overflow-y: auto;\n padding: ${Spacing[5]} ${Spacing[4]};\n`;\n\nexport const WizardModal = ({\n steps,\n activeStepId,\n onActiveStepChange,\n onProceed,\n onComplete,\n confirmLabel = 'Confirm',\n layout = 'vertical',\n children,\n title,\n open,\n defaultOpen,\n onOpenChange,\n size = 'lg',\n trigger,\n isDismissable,\n isKeyboardDismissDisabled,\n}: WizardModalProps) => {\n const [isSubmitting, setIsSubmitting] = useState(false);\n const foundIndex = steps.findIndex((step) => step.id === activeStepId);\n const activeIndex = foundIndex === -1 ? 0 : foundIndex;\n const activeId = steps[activeIndex]?.id;\n const previousStepId = activeIndex > 0 ? steps[activeIndex - 1]?.id : undefined;\n const nextStepId = activeIndex < steps.length - 1 ? steps[activeIndex + 1]?.id : undefined;\n\n const handlePrimary = () => {\n if (steps.length < 2) {\n return;\n }\n const result = onProceed?.() ?? 'valid';\n if (result === 'error') {\n return;\n }\n if (nextStepId) {\n onActiveStepChange(nextStepId);\n return;\n }\n setIsSubmitting(true);\n return Promise.resolve()\n .then(() => onComplete())\n .catch(() => undefined)\n .finally(() => setIsSubmitting(false));\n };\n\n const progress = (\n <ProgressIndicator\n steps={steps}\n activeStepId={activeId}\n layout={layout}\n onStepClick={isSubmitting ? undefined : onActiveStepChange}\n />\n );\n\n const renderBody = (renderProps: ModalRenderProps) => {\n const stepBody = (\n <StepBody>{typeof children === 'function' ? children(renderProps) : children}</StepBody>\n );\n\n return (\n <BodyShell>\n {layout === 'horizontal' ? (\n <>\n <HorizontalProgress>{progress}</HorizontalProgress>\n {stepBody}\n </>\n ) : (\n <VerticalBody spacing={Spacing[0]}>\n <VerticalRail>{progress}</VerticalRail>\n {stepBody}\n </VerticalBody>\n )}\n </BodyShell>\n );\n };\n\n return (\n <Modal\n title={title}\n open={open}\n defaultOpen={defaultOpen}\n onOpenChange={onOpenChange}\n size={size}\n trigger={trigger}\n isDismissable={isSubmitting ? false : isDismissable}\n isKeyboardDismissDisabled={isSubmitting || isKeyboardDismissDisabled}\n contentProps={isSubmitting ? { showCloseButton: false } : undefined}\n noBodyPadding\n footer={\n <>\n <Button\n width='auto'\n variant='basic'\n disabled={!previousStepId || isSubmitting}\n onClick={() => previousStepId && onActiveStepChange(previousStepId)}\n >\n Previous\n </Button>\n <Button width='auto' variant='primary' isPending={isSubmitting} onClick={handlePrimary}>\n {nextStepId ? 'Next' : confirmLabel}\n </Button>\n </>\n }\n >\n {renderBody}\n </Modal>\n );\n};\n\nexport default WizardModal;\n"],"mappings":";;;;;;;;;;AA2BA,MAAa,qBAAqB,WAChC,WAAW,UAAU,cAAc;AAmBrC,MAAM,8BAA8B;AAEpC,MAAM,YAAY,OAAO,GAAG;;;;;;;;AAS5B,MAAM,eAAe,OAAO,OAAO;;;;;;AAOnC,MAAM,eAAe,OAAO,GAAG;cACjB,4BAA4B;WAC/B,4BAA4B;aAC1B,QAAQ,GAAG;;;OAGjB,EAAE,YAAY,cAAc,OAAO,gBAAgB,MAAM,cAAc,CAAC;;AAG/E,MAAM,qBAAqB,OAAO,GAAG;;aAExB,QAAQ,GAAG,GAAG,QAAQ,GAAG;;AAGtC,MAAM,WAAW,OAAO,GAAG;;;;;aAKd,QAAQ,GAAG,GAAG,QAAQ,GAAG;;AAGtC,MAAa,eAAe,EAC1B,OACA,cACA,oBACA,WACA,YACA,eAAe,WACf,SAAS,YACT,UACA,OACA,MACA,aACA,cACA,OAAO,MACP,SACA,eACA,gCACsB;CACtB,MAAM,CAAC,cAAc,mBAAmB,SAAS,MAAM;CACvD,MAAM,aAAa,MAAM,WAAW,SAAS,KAAK,OAAO,aAAa;CACtE,MAAM,cAAc,eAAe,KAAK,IAAI;CAC5C,MAAM,WAAW,MAAM,cAAc;CACrC,MAAM,iBAAiB,cAAc,IAAI,MAAM,cAAc,IAAI,KAAK,KAAA;CACtE,MAAM,aAAa,cAAc,MAAM,SAAS,IAAI,MAAM,cAAc,IAAI,KAAK,KAAA;CAEjF,MAAM,sBAAsB;AAC1B,MAAI,MAAM,SAAS,EACjB;AAGF,OADe,aAAa,IAAI,aACjB,QACb;AAEF,MAAI,YAAY;AACd,sBAAmB,WAAW;AAC9B;;AAEF,kBAAgB,KAAK;AACrB,SAAO,QAAQ,SAAS,CACrB,WAAW,YAAY,CAAC,CACxB,YAAY,KAAA,EAAU,CACtB,cAAc,gBAAgB,MAAM,CAAC;;CAG1C,MAAM,WACJ,oBAAC,mBAAD;EACS;EACP,cAAc;EACN;EACR,aAAa,eAAe,KAAA,IAAY;EACxC,CAAA;CAGJ,MAAM,cAAc,gBAAkC;EACpD,MAAM,WACJ,oBAAC,UAAD,EAAA,UAAW,OAAO,aAAa,aAAa,SAAS,YAAY,GAAG,UAAoB,CAAA;AAG1F,SACE,oBAAC,WAAD,EAAA,UACG,WAAW,eACV,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,oBAAD,EAAA,UAAqB,UAA8B,CAAA,EAClD,SACA,EAAA,CAAA,GAEH,qBAAC,cAAD;GAAc,SAAS,QAAQ;aAA/B,CACE,oBAAC,cAAD,EAAA,UAAe,UAAwB,CAAA,EACtC,SACY;MAEP,CAAA;;AAIhB,QACE,oBAACA,eAAD;EACS;EACD;EACO;EACC;EACR;EACG;EACT,eAAe,eAAe,QAAQ;EACtC,2BAA2B,gBAAgB;EAC3C,cAAc,eAAe,EAAE,iBAAiB,OAAO,GAAG,KAAA;EAC1D,eAAA;EACA,QACE,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,QAAD;GACE,OAAM;GACN,SAAQ;GACR,UAAU,CAAC,kBAAkB;GAC7B,eAAe,kBAAkB,mBAAmB,eAAe;aACpE;GAEQ,CAAA,EACT,oBAAC,QAAD;GAAQ,OAAM;GAAO,SAAQ;GAAU,WAAW;GAAc,SAAS;aACtE,aAAa,SAAS;GAChB,CAAA,CACR,EAAA,CAAA;YAGJ;EACK,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as ASTNode } from "./types-BYRTxB0a.mjs";
|
|
2
|
+
|
|
3
|
+
//#region components/SmartTextInput/parser/smart-text/parser.d.ts
|
|
4
|
+
type ParseOptions = {
|
|
5
|
+
startRule?: 'Root' | 'ChainRoot'; /** Whether to parse {{...}} as handlebars expressions. Defaults to false. */
|
|
6
|
+
allowHandlebars?: boolean; /** Whether to parse ${...} as code expressions. Defaults to false. */
|
|
7
|
+
allowCode?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* When false, Chain returns an AST with error nodes instead of throwing.
|
|
10
|
+
* Must be false for SmartTextInput (error-recovering) usage.
|
|
11
|
+
* Defaults to strict mode (undefined treated as strict) for workflow callers.
|
|
12
|
+
*/
|
|
13
|
+
strict?: boolean;
|
|
14
|
+
};
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region components/SmartTextInput/parser/safe-parse.d.ts
|
|
17
|
+
/**
|
|
18
|
+
* Parses the input string into an ASTNode tree.
|
|
19
|
+
*/
|
|
20
|
+
declare function safeParse(input: string, options?: ParseOptions): ASTNode;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { type ParseOptions, safeParse };
|
|
23
|
+
//# sourceMappingURL=safe-parse.d.mts.map
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { T as JsonSchemaTypes, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, dt as ObjectSchemaMap, f as JsonSchemaCustomTypes, n as JsonSchema, st as FunctionJsonSchema, y as JsonSchemaObject } from "./jsonSchema-Bl-qzgrr.mjs";
|
|
2
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-BVkTI8MX.mjs";
|
|
3
|
+
|
|
4
|
+
//#region lib/schemaOptions.d.ts
|
|
5
|
+
type VariableSchemaObject = {
|
|
6
|
+
value: string;
|
|
7
|
+
schema?: JsonSchema | null;
|
|
8
|
+
isVariable?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type Option = {
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
property: string;
|
|
14
|
+
schema: JsonSchema | FunctionJsonSchema;
|
|
15
|
+
methodChain: Chain | null;
|
|
16
|
+
utility?: boolean;
|
|
17
|
+
workflowObjectKey?: string;
|
|
18
|
+
isVariable?: boolean;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Extracts the top-level platform-object key from a schema's `$ref`/`$id`/
|
|
22
|
+
* `objectKey`/`objectType.const` markers. Collapses subtypes to their root
|
|
23
|
+
* (`/schema/verification/document/merged` -> `verification`) because callers
|
|
24
|
+
* compare against top-level `ApiModel` values.
|
|
25
|
+
*/
|
|
26
|
+
declare const extractPlatformObjectKey: (schema: JsonSchema | null | undefined, platformObjectJsonSchema?: ObjectSchemaMap) => string | null;
|
|
27
|
+
type PossibleType = JsonSchemaTypes | JsonSchemaCustomTypes | JsonSchemaObjectKey;
|
|
28
|
+
type PossibleArrayType = JsonSchemaBasicTypes | JsonSchemaTypes.Object | JsonSchemaObjectKey;
|
|
29
|
+
declare const isValidOption: (schema: JsonSchema, allowedFieldPaths: string[], disallowedFieldPaths: string[], allowedTypes: PossibleType[], allowedArrayTypes: PossibleArrayType[], path: string[] | undefined, platformObjectJsonSchema: ObjectSchemaMap) => boolean;
|
|
30
|
+
declare const getSchemaOptions: ({
|
|
31
|
+
option,
|
|
32
|
+
optionFilters,
|
|
33
|
+
platformObjectJsonSchema,
|
|
34
|
+
primitiveUtilities,
|
|
35
|
+
digPrimitives
|
|
36
|
+
}: {
|
|
37
|
+
option: Pick<Option, "schema" | "methodChain">;
|
|
38
|
+
optionFilters?: OptionFilters;
|
|
39
|
+
platformObjectJsonSchema: ObjectSchemaMap;
|
|
40
|
+
primitiveUtilities: ObjectSchemaMap;
|
|
41
|
+
digPrimitives?: boolean;
|
|
42
|
+
}) => Option[];
|
|
43
|
+
declare const formatDisplayValue: (value: any) => string;
|
|
44
|
+
/**
|
|
45
|
+
* Resolves the schema at a dotted path (e.g. "account.birthDate").
|
|
46
|
+
* Tries direct key lookup first, then traverses into nested object .properties by path part.
|
|
47
|
+
* Normalizes kebab/snake at each level for key lookup.
|
|
48
|
+
*/
|
|
49
|
+
declare function getSchemaByPath(properties: Record<string, JsonSchema> | null | undefined, path: string): JsonSchema | undefined;
|
|
50
|
+
declare const getSchemaForFieldPath: ({
|
|
51
|
+
path,
|
|
52
|
+
initialSchema,
|
|
53
|
+
platformObjectJsonSchema,
|
|
54
|
+
primitiveUtilities
|
|
55
|
+
}: {
|
|
56
|
+
path: string;
|
|
57
|
+
initialSchema: JsonSchema;
|
|
58
|
+
platformObjectJsonSchema?: ObjectSchemaMap;
|
|
59
|
+
primitiveUtilities?: ObjectSchemaMap;
|
|
60
|
+
}) => {
|
|
61
|
+
schema: JsonSchema | null;
|
|
62
|
+
propertyName: string | null;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Get the schema for a variable path from usableObjects.
|
|
66
|
+
*/
|
|
67
|
+
declare const getSchemaForVariablePath: ({
|
|
68
|
+
path,
|
|
69
|
+
usableObjects
|
|
70
|
+
}: {
|
|
71
|
+
path: string;
|
|
72
|
+
usableObjects: VariableSchemaObject[];
|
|
73
|
+
}) => {
|
|
74
|
+
schema: JsonSchema | null;
|
|
75
|
+
propertyName: string | null;
|
|
76
|
+
};
|
|
77
|
+
declare const nextLinkSchema: ({
|
|
78
|
+
currentSchema,
|
|
79
|
+
nextLink,
|
|
80
|
+
platformObjectJsonSchema,
|
|
81
|
+
primitiveUtilities
|
|
82
|
+
}: {
|
|
83
|
+
currentSchema: JsonSchema | null;
|
|
84
|
+
nextLink: MethodChainNode;
|
|
85
|
+
platformObjectJsonSchema: ObjectSchemaMap;
|
|
86
|
+
primitiveUtilities: ObjectSchemaMap;
|
|
87
|
+
}) => JsonSchema | null;
|
|
88
|
+
/**
|
|
89
|
+
* Returns the FunctionJsonSchema for `functionName` within `parentSchema`, checking both
|
|
90
|
+
* primitive utilities (e.g. array/string methods) and direct object properties.
|
|
91
|
+
* Returns null if not found or not a function schema.
|
|
92
|
+
*/
|
|
93
|
+
declare const getFunctionSchemaForNode: ({
|
|
94
|
+
parentSchema,
|
|
95
|
+
functionName,
|
|
96
|
+
isCustomFunction,
|
|
97
|
+
platformObjectJsonSchema,
|
|
98
|
+
primitiveUtilities
|
|
99
|
+
}: {
|
|
100
|
+
parentSchema: JsonSchema;
|
|
101
|
+
functionName: string;
|
|
102
|
+
isCustomFunction: boolean;
|
|
103
|
+
platformObjectJsonSchema: ObjectSchemaMap;
|
|
104
|
+
primitiveUtilities: ObjectSchemaMap;
|
|
105
|
+
}) => FunctionJsonSchema | null;
|
|
106
|
+
declare const isTypeMatch: ({
|
|
107
|
+
fieldJsonSchema,
|
|
108
|
+
types,
|
|
109
|
+
platformObjectJsonSchema,
|
|
110
|
+
arrayTypes,
|
|
111
|
+
traversedSchemaIds
|
|
112
|
+
}: {
|
|
113
|
+
fieldJsonSchema: JsonSchema;
|
|
114
|
+
types: PossibleType[];
|
|
115
|
+
platformObjectJsonSchema: ObjectSchemaMap;
|
|
116
|
+
arrayTypes?: PossibleArrayType[];
|
|
117
|
+
traversedSchemaIds?: Set<string>;
|
|
118
|
+
}) => boolean;
|
|
119
|
+
interface OptionFilters {
|
|
120
|
+
allowedArrayTypes?: PossibleArrayType[];
|
|
121
|
+
allowedFieldPaths?: string[];
|
|
122
|
+
allowedTypes?: PossibleType[];
|
|
123
|
+
disallowedFieldPaths?: string[];
|
|
124
|
+
fieldPathsAreStrictMatch?: boolean;
|
|
125
|
+
requiredPropertyShape?: string[];
|
|
126
|
+
}
|
|
127
|
+
declare const hasRequiredPropertyShape: (schema: JsonSchema, requiredPropertyShape: string[], platformObjectJsonSchema?: ObjectSchemaMap, checkRecursively?: boolean) => boolean;
|
|
128
|
+
declare const getOptionForValue: ({
|
|
129
|
+
value,
|
|
130
|
+
jsonSchema,
|
|
131
|
+
schemaForFieldPath
|
|
132
|
+
}: {
|
|
133
|
+
value: string;
|
|
134
|
+
jsonSchema: JsonSchema;
|
|
135
|
+
schemaForFieldPath: (path: string, initialSchema: JsonSchema) => {
|
|
136
|
+
schema: JsonSchema | null;
|
|
137
|
+
propertyName: string | null;
|
|
138
|
+
};
|
|
139
|
+
}) => Option | null;
|
|
140
|
+
declare const validatePath: ({
|
|
141
|
+
path,
|
|
142
|
+
jsonSchema,
|
|
143
|
+
platformObjectJsonSchema,
|
|
144
|
+
primitiveUtilities,
|
|
145
|
+
optionFilters
|
|
146
|
+
}: {
|
|
147
|
+
path: string;
|
|
148
|
+
jsonSchema: JsonSchema;
|
|
149
|
+
platformObjectJsonSchema: ObjectSchemaMap;
|
|
150
|
+
primitiveUtilities: ObjectSchemaMap;
|
|
151
|
+
optionFilters?: OptionFilters;
|
|
152
|
+
}) => {
|
|
153
|
+
valid: boolean;
|
|
154
|
+
schemaOptions: Option[];
|
|
155
|
+
partial: string;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Given a method chain that corresponds to the passed schema, find the right-most indentifier that
|
|
159
|
+
* is a platform object and split the method chain on that identifier, with the platform object on
|
|
160
|
+
* the left side.
|
|
161
|
+
*
|
|
162
|
+
* This function is used to optimize a method chain into two parts, left side for server resolution
|
|
163
|
+
* and right side for client resolution.
|
|
164
|
+
*
|
|
165
|
+
* For example:
|
|
166
|
+
* current_case.fields.field_a -> ['current_case', 'fields.field_a']
|
|
167
|
+
* current_case.inquiries.first.id -> ['current_case.inquiries.first', 'id']
|
|
168
|
+
* current_case.account.fields.field_b -> ['current_case.account', 'fields.field_b']
|
|
169
|
+
*/
|
|
170
|
+
declare const splitAtNearestParentObject: (chain: Chain, currentSchema: JsonSchemaObject, platformSchemaMap: ObjectSchemaMap, primitiveUtilities: ObjectSchemaMap) => [leftChain: Chain, rightChain: Chain];
|
|
171
|
+
//#endregion
|
|
172
|
+
export { getFunctionSchemaForNode as a, getSchemaForFieldPath as c, hasRequiredPropertyShape as d, isTypeMatch as f, validatePath as g, splitAtNearestParentObject as h, formatDisplayValue as i, getSchemaForVariablePath as l, nextLinkSchema as m, OptionFilters as n, getOptionForValue as o, isValidOption as p, extractPlatformObjectKey as r, getSchemaByPath as s, Option as t, getSchemaOptions as u };
|
|
173
|
+
//# sourceMappingURL=schemaOptions-DGca6x7E.d.mts.map
|
|
@@ -130,4 +130,4 @@ declare const semanticLight: SemanticTokens;
|
|
|
130
130
|
declare const semanticDark: SemanticTokens;
|
|
131
131
|
//#endregion
|
|
132
132
|
export { semanticLight as i, SemanticTokens as n, semanticDark as r, CssPercentage as t };
|
|
133
|
-
//# sourceMappingURL=semantic-
|
|
133
|
+
//# sourceMappingURL=semantic-D1661f_6.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SemanticTokens, t as CssPercentage } from "./semantic-
|
|
2
|
-
import { t as CssColor } from "./color-
|
|
1
|
+
import { n as SemanticTokens, t as CssPercentage } from "./semantic-D1661f_6.mjs";
|
|
2
|
+
import { t as CssColor } from "./color-CrlF3pba.mjs";
|
|
3
3
|
|
|
4
4
|
//#region lib/semanticColor.d.ts
|
|
5
5
|
/** PDS components also render under foreign themes (Relay, darkTheme), so `semantic` is optional. */
|
|
@@ -26,4 +26,4 @@ declare const semanticOnly: <T>(build: (tokens: SemanticTokens) => T) => ({
|
|
|
26
26
|
}) => T | undefined;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { semanticTokens as a, semanticOnly as i, SemanticFallback as n, semanticColor as r, MaybeSemanticTheme as t };
|
|
29
|
-
//# sourceMappingURL=semanticColor-
|
|
29
|
+
//# sourceMappingURL=semanticColor-Bg0H3RUL.d.mts.map
|
|
@@ -11,4 +11,4 @@ type ParagraphSize = 'lg' | 'md' | 'sm' | 'xs';
|
|
|
11
11
|
declare const paragraphMixins: Record<ParagraphMixinSize, FlattenInterpolation<ThemeProps<DefaultTheme>>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { displayMixins as a, paragraphMixins as c, ParagraphSize as i, HeadingSize as n, fontFamilyMixin as o, ParagraphMixinSize as r, headingMixins as s, DisplaySize as t };
|
|
14
|
-
//# sourceMappingURL=text-
|
|
14
|
+
//# sourceMappingURL=text-Iw9DKpbZ.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SemanticTokens } from "./semantic-
|
|
2
|
-
import { n as PdsColor } from "./color-
|
|
1
|
+
import { n as SemanticTokens } from "./semantic-D1661f_6.mjs";
|
|
2
|
+
import { n as PdsColor } from "./color-CrlF3pba.mjs";
|
|
3
3
|
import { Color, PDSTypeStyle } from "@persona/design-tokens";
|
|
4
4
|
|
|
5
5
|
//#region theme.d.ts
|
|
@@ -168,4 +168,4 @@ type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<T, 'colo
|
|
|
168
168
|
declare function withPdsTheming<T extends PersonaTheme, M extends PdsThemingMode>(theme: T, mode: M): PdsThemed<T, M>;
|
|
169
169
|
//#endregion
|
|
170
170
|
export { TextColors as a, defaultTheme as c, PersonaTheme as i, marketingFontTheme as l, PdsThemed as n, Variant as o, PdsThemingMode as r, darkTheme as s, BackgroundColors as t, withPdsTheming as u };
|
|
171
|
-
//# sourceMappingURL=theme-
|
|
171
|
+
//# sourceMappingURL=theme-BB1B6Wkz.d.mts.map
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TextColors, c as defaultTheme, i as PersonaTheme, l as marketingFontTheme, n as PdsThemed, o as Variant, r as PdsThemingMode, s as darkTheme, t as BackgroundColors, u as withPdsTheming } from "./theme-
|
|
1
|
+
import { a as TextColors, c as defaultTheme, i as PersonaTheme, l as marketingFontTheme, n as PdsThemed, o as Variant, r as PdsThemingMode, s as darkTheme, t as BackgroundColors, u as withPdsTheming } from "./theme-BB1B6Wkz.mjs";
|
|
2
2
|
export { BackgroundColors, PdsThemed, PdsThemingMode, PersonaTheme, TextColors, Variant, darkTheme, defaultTheme as default, marketingFontTheme, withPdsTheming };
|
package/dist/tone.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as SemanticTokens } from "./semantic-
|
|
2
|
-
import { n as PdsColor } from "./color-
|
|
3
|
-
import { o as StickerProps } from "./Sticker-
|
|
1
|
+
import { n as SemanticTokens } from "./semantic-D1661f_6.mjs";
|
|
2
|
+
import { n as PdsColor } from "./color-CrlF3pba.mjs";
|
|
3
|
+
import { o as StickerProps } from "./Sticker-DGfNuxUK.mjs";
|
|
4
4
|
import { Color } from "@persona/design-tokens";
|
|
5
5
|
|
|
6
6
|
//#region components/Sticker/tone.d.ts
|
package/dist/tree.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as ASTNode } from "./types-BYRTxB0a.mjs";
|
|
2
|
+
|
|
3
|
+
//#region components/SmartTextInput/parser/tree.d.ts
|
|
4
|
+
declare function findAll(node: ASTNode, type: string, acc?: ASTNode[]): ASTNode[];
|
|
5
|
+
declare function resolve(node: ASTNode, charIdx: number): ASTNode | null;
|
|
6
|
+
declare function enclosingExpr(root: ASTNode, node: ASTNode): ASTNode | null;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { enclosingExpr, findAll, resolve };
|
|
9
|
+
//# sourceMappingURL=tree.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, l as FilterRule, u as FilterRuleValue } from "./types-Dy3lZv9z.mjs";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/value-controls/types.d.ts
|
|
@@ -44,4 +44,4 @@ interface ValueControlProps {
|
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ValueControlProps as t };
|
|
47
|
-
//# sourceMappingURL=types-
|
|
47
|
+
//# sourceMappingURL=types-B0ilOIfE.d.mts.map
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { a as ASTErrorNode, l as ASTMethodChainNode, n as ASTChain, u as ASTNodeType } from "./types-M-rsm1Km.mjs";
|
|
2
|
+
|
|
3
|
+
//#region components/SmartTextInput/parser/smart-text/types.d.ts
|
|
4
|
+
type ErrorKind = NonNullable<ASTErrorNode['kind']> | 'unclosedHandlebars' | 'emptyHandlebars' | 'invalidHandlebarsContent' | 'interpolationInDataPath';
|
|
5
|
+
declare const ErrorMessageByKind: Record<ErrorKind, string>;
|
|
6
|
+
declare enum SmartTextInputNodeType {
|
|
7
|
+
Root = "root",
|
|
8
|
+
Text = "text",
|
|
9
|
+
Handlebars = "handlebars",
|
|
10
|
+
Code = "code",
|
|
11
|
+
HBOpen = "hb_open",
|
|
12
|
+
HBClose = "hb_close",
|
|
13
|
+
CodeOpen = "code_open",
|
|
14
|
+
CodeClose = "code_close",
|
|
15
|
+
Space = "space"
|
|
16
|
+
}
|
|
17
|
+
declare const NodeType: {
|
|
18
|
+
readonly Chain: ASTNodeType.Chain;
|
|
19
|
+
readonly Identifier: ASTNodeType.Identifier;
|
|
20
|
+
readonly Function: ASTNodeType.Function;
|
|
21
|
+
readonly CustomFunction: ASTNodeType.CustomFunction;
|
|
22
|
+
readonly String: ASTNodeType.String;
|
|
23
|
+
readonly Number: ASTNodeType.Number;
|
|
24
|
+
readonly Array: ASTNodeType.Array;
|
|
25
|
+
readonly ParenOpen: ASTNodeType.ParenOpen;
|
|
26
|
+
readonly ParenClose: ASTNodeType.ParenClose;
|
|
27
|
+
readonly Error: ASTNodeType.Error;
|
|
28
|
+
readonly Dot: ASTNodeType.Dot;
|
|
29
|
+
readonly Root: SmartTextInputNodeType.Root;
|
|
30
|
+
readonly Text: SmartTextInputNodeType.Text;
|
|
31
|
+
readonly Handlebars: SmartTextInputNodeType.Handlebars;
|
|
32
|
+
readonly Code: SmartTextInputNodeType.Code;
|
|
33
|
+
readonly HBOpen: SmartTextInputNodeType.HBOpen;
|
|
34
|
+
readonly HBClose: SmartTextInputNodeType.HBClose;
|
|
35
|
+
readonly CodeOpen: SmartTextInputNodeType.CodeOpen;
|
|
36
|
+
readonly CodeClose: SmartTextInputNodeType.CodeClose;
|
|
37
|
+
readonly Space: SmartTextInputNodeType.Space;
|
|
38
|
+
};
|
|
39
|
+
type ErrorNode = {
|
|
40
|
+
type: 'error';
|
|
41
|
+
start: number;
|
|
42
|
+
end: number;
|
|
43
|
+
children?: ASTNode[];
|
|
44
|
+
wip?: boolean;
|
|
45
|
+
kind?: ErrorKind;
|
|
46
|
+
};
|
|
47
|
+
type ASTNode = {
|
|
48
|
+
type: 'root' | 'text' | 'handlebars' | 'code' | 'space' | 'hb_open' | 'hb_close' | 'code_open' | 'code_close';
|
|
49
|
+
start: number;
|
|
50
|
+
end: number;
|
|
51
|
+
children?: ASTNode[];
|
|
52
|
+
} | ErrorNode | ASTChain;
|
|
53
|
+
declare const isASTChainNode: (node: {
|
|
54
|
+
type: string;
|
|
55
|
+
}) => node is ASTChain;
|
|
56
|
+
/**
|
|
57
|
+
* Narrows to named method-chain nodes (Identifier, Function, CustomFunction).
|
|
58
|
+
* These are the nodes that carry a `.name` property.
|
|
59
|
+
* Dot nodes and Error nodes are excluded.
|
|
60
|
+
*/
|
|
61
|
+
declare const isMethodChainNode: (node: {
|
|
62
|
+
type: string;
|
|
63
|
+
}) => node is ASTMethodChainNode;
|
|
64
|
+
type ASTContainerNode = Extract<ASTNode, {
|
|
65
|
+
children?: ASTNode[];
|
|
66
|
+
}>;
|
|
67
|
+
declare const isASTContainerNode: (node: {
|
|
68
|
+
type: string;
|
|
69
|
+
}) => node is ASTContainerNode;
|
|
70
|
+
//#endregion
|
|
71
|
+
export { NodeType as a, isMethodChainNode as c, ErrorNode as i, ErrorKind as n, isASTChainNode as o, ErrorMessageByKind as r, isASTContainerNode as s, ASTNode as t };
|
|
72
|
+
//# sourceMappingURL=types-BYRTxB0a.d.mts.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-Bl-qzgrr.mjs";
|
|
2
|
+
import { a as FunctionParamType, s as MethodChainNode } from "./methodChainTypes-BVkTI8MX.mjs";
|
|
3
|
+
import { t as ChainRoot } from "./chainTypes-D8SGRGba.mjs";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region components/SmartTextInput/types.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* The mode of the SmartTextInput. Determined by the position of the cursor in the input and the
|
|
9
|
+
* result of the parser.
|
|
10
|
+
*
|
|
11
|
+
* Mode determines behavior of the input.
|
|
12
|
+
*/
|
|
13
|
+
declare enum Mode {
|
|
14
|
+
MethodChain = "method-chain",
|
|
15
|
+
Code = "code",
|
|
16
|
+
Text = "text"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* The value type of the SmartTextInput. Value type indicates the semantic meaning of the input's
|
|
20
|
+
* raw string value.
|
|
21
|
+
*/
|
|
22
|
+
declare enum ValueType {
|
|
23
|
+
Interpolation = "interpolation",
|
|
24
|
+
MethodChain = "method-chain"
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The popup mode of the SmartTextInput. Determines whether the popup is a listbox or a dialog.
|
|
28
|
+
*/
|
|
29
|
+
declare enum PopupMode {
|
|
30
|
+
Listbox = "listbox",
|
|
31
|
+
FunctionDialog = "function-dialog",
|
|
32
|
+
CodeDialog = "code-dialog"
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Context for a method chain function at a cursor position.
|
|
36
|
+
*/
|
|
37
|
+
type FunctionAtCursor = {
|
|
38
|
+
functionName: string;
|
|
39
|
+
existingParams: FunctionParamType[]; /** Absolute start position of the function name in the full value string. */
|
|
40
|
+
start: number; /** Absolute end position (exclusive) of the function call (past the closing paren) in the full value string. */
|
|
41
|
+
end: number; /** True when the cursor is strictly inside the function's parentheses (the params area). */
|
|
42
|
+
cursorInParens: boolean; /** True when the function is a custom function (CCF). */
|
|
43
|
+
custom: boolean;
|
|
44
|
+
};
|
|
45
|
+
interface FunctionFormRenderProps {
|
|
46
|
+
baseId: string;
|
|
47
|
+
functionName: string;
|
|
48
|
+
schema: FunctionJsonSchema;
|
|
49
|
+
parentItemSchema: JsonSchema;
|
|
50
|
+
receiverSchema: JsonSchema;
|
|
51
|
+
defaultParameters: FunctionAtCursor['existingParams'];
|
|
52
|
+
chainRoots: ChainRoot[];
|
|
53
|
+
onComplete: (nodes: MethodChainNode[]) => void;
|
|
54
|
+
onCancel: () => void;
|
|
55
|
+
}
|
|
56
|
+
interface CodeChainFunctionPanelRenderProps {
|
|
57
|
+
initialName: string;
|
|
58
|
+
inputSchema: JsonSchema | null;
|
|
59
|
+
codeChainFunctionToken?: string;
|
|
60
|
+
initialCode?: string;
|
|
61
|
+
initialDescription?: string;
|
|
62
|
+
initialOutputSchema?: JsonSchema | null;
|
|
63
|
+
onClose: (result?: {
|
|
64
|
+
savedName: string;
|
|
65
|
+
}) => void;
|
|
66
|
+
}
|
|
67
|
+
type OpenCodeChainFunctionPanel = (props: Omit<CodeChainFunctionPanelRenderProps, 'onClose'>) => void;
|
|
68
|
+
interface CustomFunctionDetailRenderProps {
|
|
69
|
+
token: string;
|
|
70
|
+
name: string;
|
|
71
|
+
onCancel: () => void;
|
|
72
|
+
onEdit?: OpenCodeChainFunctionPanel;
|
|
73
|
+
}
|
|
74
|
+
type PopoverFooterRenderer = (helpers: {
|
|
75
|
+
closePopover: () => void;
|
|
76
|
+
}) => ReactNode;
|
|
77
|
+
/**
|
|
78
|
+
* Styling applied to text in the input.
|
|
79
|
+
*/
|
|
80
|
+
type TextStyle = 'none' | 'token' | 'hoverable' | 'hoverableToken' | 'schemaError' | 'syntaxError';
|
|
81
|
+
//#endregion
|
|
82
|
+
export { Mode as a, PopupMode as c, FunctionFormRenderProps as i, TextStyle as l, CustomFunctionDetailRenderProps as n, OpenCodeChainFunctionPanel as o, FunctionAtCursor as r, PopoverFooterRenderer as s, CodeChainFunctionPanelRenderProps as t, ValueType as u };
|
|
83
|
+
//# sourceMappingURL=types-Cs6CdZCO.d.mts.map
|
|
@@ -21,4 +21,4 @@ interface AbsoluteDateRange {
|
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DateFilterPreset as a, RelativeDateFilterValue as c, DATE_FILTER_PRESET_LABELS as i, AbsoluteDateRange as n, DateFilterValue as o, DATE_FILTER_PRESETS as r, PresetRelativeDateFilterValue as s, AbsoluteDateFilterValue as t };
|
|
24
|
-
//# sourceMappingURL=types-
|
|
24
|
+
//# sourceMappingURL=types-DZTbvdpO.d.mts.map
|
|
@@ -24,4 +24,4 @@ interface BaseActiveFilter<TFilter extends BaseFilterConfig = BaseFilterConfig>
|
|
|
24
24
|
}
|
|
25
25
|
//#endregion
|
|
26
26
|
export { BaseActiveFilter as n, BaseFilterConfig as r, AttributeColumn as t };
|
|
27
|
-
//# sourceMappingURL=types-
|
|
27
|
+
//# sourceMappingURL=types-DdTu747j.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RelativeDateFilterValue } from "./types-
|
|
1
|
+
import { c as RelativeDateFilterValue } from "./types-DZTbvdpO.mjs";
|
|
2
2
|
//#region components/DataTable/TableControls/FiltersV2/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Filter UI v2 — client-side state shape.
|
|
@@ -174,4 +174,4 @@ declare const EMPTY_FILTER_STATE: FilterStateV2;
|
|
|
174
174
|
declare function isEmptyState(state: FilterStateV2): boolean;
|
|
175
175
|
//#endregion
|
|
176
176
|
export { FilterField as a, FilterOperator as c, FilterRuleValueChange as d, FilterSize as f, isEmptyState as h, EMPTY_FILTER_STATE as i, FilterRule as l, TopLevelFilterRule as m, CompoundExpression as n, FilterFieldSource as o, FilterStateV2 as p, DateRangeFilterValue as r, FilterFieldType as s, AndGroup as t, FilterRuleValue as u };
|
|
177
|
-
//# sourceMappingURL=types-
|
|
177
|
+
//# sourceMappingURL=types-Dy3lZv9z.d.mts.map
|
|
@@ -102,4 +102,4 @@ interface ASTCustomFunctionNode {
|
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
export { isASTMethodChainNode as _, ASTErrorNode as a, ASTIdentifierNode as c, ASTNumberNode as d, ASTParenCloseNode as f, isASTCustomFunctionNode as g, ErrorKind as h, ASTDotNode as i, ASTMethodChainNode as l, ASTStringNode as m, ASTChain as n, ASTFunctionNode as o, ASTParenOpenNode as p, ASTCustomFunctionNode as r, ASTFunctionParamType as s, ASTArrayNode as t, ASTNodeType as u, isAnyASTFunctionNode as v, isRealASTFunctionParamType as y };
|
|
105
|
-
//# sourceMappingURL=types-
|
|
105
|
+
//# sourceMappingURL=types-M-rsm1Km.d.mts.map
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "./types-
|
|
1
|
+
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "./types-D1DijcJv.mjs";
|
|
2
2
|
export { NavigateOptions, RouterAdapter, RouterLinkComponentProps, To };
|
package/dist/types2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BaseActiveFilter, r as BaseFilterConfig, t as AttributeColumn } from "./types-
|
|
1
|
+
import { n as BaseActiveFilter, r as BaseFilterConfig, t as AttributeColumn } from "./types-DdTu747j.mjs";
|
|
2
2
|
export { AttributeColumn, BaseActiveFilter, BaseFilterConfig };
|
package/dist/types3.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DateFilterPreset, c as RelativeDateFilterValue, i as DATE_FILTER_PRESET_LABELS, n as AbsoluteDateRange, o as DateFilterValue, r as DATE_FILTER_PRESETS, s as PresetRelativeDateFilterValue, t as AbsoluteDateFilterValue } from "./types-
|
|
1
|
+
import { a as DateFilterPreset, c as RelativeDateFilterValue, i as DATE_FILTER_PRESET_LABELS, n as AbsoluteDateRange, o as DateFilterValue, r as DATE_FILTER_PRESETS, s as PresetRelativeDateFilterValue, t as AbsoluteDateFilterValue } from "./types-DZTbvdpO.mjs";
|
|
2
2
|
export { AbsoluteDateFilterValue, AbsoluteDateRange, DATE_FILTER_PRESETS, DATE_FILTER_PRESET_LABELS, DateFilterPreset, DateFilterValue, PresetRelativeDateFilterValue, RelativeDateFilterValue };
|
package/dist/types4.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-
|
|
1
|
+
import { a as FilterField, c as FilterOperator, d as FilterRuleValueChange, f as FilterSize, h as isEmptyState, i as EMPTY_FILTER_STATE, l as FilterRule, m as TopLevelFilterRule, n as CompoundExpression, o as FilterFieldSource, p as FilterStateV2, r as DateRangeFilterValue, s as FilterFieldType, t as AndGroup, u as FilterRuleValue } from "./types-Dy3lZv9z.mjs";
|
|
2
2
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterStateV2, TopLevelFilterRule, isEmptyState };
|
package/dist/types5.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as ValueControlProps } from "./types-B0ilOIfE.mjs";
|
|
2
2
|
export { ValueControlProps };
|
package/dist/types6.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationParams } from "./types-
|
|
1
|
+
import { t as PaginationParams } from "./types-CI2bPi02.mjs";
|
|
2
2
|
export { PaginationParams };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as Mode, c as PopupMode, i as FunctionFormRenderProps, l as TextStyle, n as CustomFunctionDetailRenderProps, o as OpenCodeChainFunctionPanel, r as FunctionAtCursor, s as PopoverFooterRenderer, t as CodeChainFunctionPanelRenderProps, u as ValueType } from "./types-Cs6CdZCO.mjs";
|
|
2
|
+
export { CodeChainFunctionPanelRenderProps, CustomFunctionDetailRenderProps, FunctionAtCursor, FunctionFormRenderProps, Mode, OpenCodeChainFunctionPanel, PopoverFooterRenderer, PopupMode, TextStyle, ValueType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as FilterStateV2 } from "./types-
|
|
1
|
+
import { p as FilterStateV2 } from "./types-Dy3lZv9z.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/url-state.d.ts
|
|
4
4
|
/**
|
|
@@ -39,4 +39,4 @@ declare function applyFilterStateToSearchParams(params: URLSearchParams, state:
|
|
|
39
39
|
declare function decodeFilterStateFromString(raw: string | null | undefined): FilterStateV2 | null;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { decodeFilterStateFromUrl as a, decodeFilterStateFromString as i, UrlStateCodecResult as n, encodeFilterStateToUrlParam as o, applyFilterStateToSearchParams as r, FILTER_STATE_URL_PARAM as t };
|
|
42
|
-
//# sourceMappingURL=url-state-
|
|
42
|
+
//# sourceMappingURL=url-state-DWA7UFxS.d.mts.map
|
package/dist/url-state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-
|
|
1
|
+
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-DWA7UFxS.mjs";
|
|
2
2
|
export { FILTER_STATE_URL_PARAM, UrlStateCodecResult, applyFilterStateToSearchParams, decodeFilterStateFromString, decodeFilterStateFromUrl, encodeFilterStateToUrlParam };
|