@persona/design-system 0.7.2 → 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 +273 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-Cyo6KCsS.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-BD0Ut46g.mjs → Badge-D-5tbZDw.mjs} +2 -2
- package/dist/{Badge-BD0Ut46g.mjs.map → Badge-D-5tbZDw.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-CYXkrKXl.d.mts → Breadcrumb-BADja8tn.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-CrXfUK1V.mjs → Breadcrumbs-CNpM0aXm.mjs} +5 -5
- package/dist/{Breadcrumbs-CrXfUK1V.mjs.map → Breadcrumbs-CNpM0aXm.mjs.map} +1 -1
- package/dist/{Breadcrumbs-CP7eUYUy.d.mts → Breadcrumbs-CxP7ktfM.d.mts} +2 -2
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-Dhiund3f.d.mts → Button-CnswHEJ2.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-CMeIZ0BO.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-DCYB_mtR.d.mts → Card-Bp6L08H4.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{CardV2-M3o4BELp.mjs → CardV2-DEW6mw_o.mjs} +9 -7
- package/dist/{CardV2-M3o4BELp.mjs.map → CardV2-DEW6mw_o.mjs.map} +1 -1
- package/dist/{Checkbox-fWj7GkBl.d.mts → Checkbox-DUXws1Os.d.mts} +1 -1
- package/dist/{Checkbox-AjL7ucoR.mjs → Checkbox-GibG2pg5.mjs} +3 -3
- package/dist/{Checkbox-AjL7ucoR.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-C2b9u955.mjs → Combobox-CCDoNF9Y.mjs} +23 -10
- package/dist/Combobox-CCDoNF9Y.mjs.map +1 -0
- package/dist/{Combobox-CC-Osr57.d.mts → Combobox-CnxmKUQf.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-Evo0FRxP.d.mts → ComboboxBase-CtNrsPO9.d.mts} +8 -5
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-CvAc0FT3.d.mts → ComboboxMultiSelect-CMH6iVu4.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CBm7x0oh.d.mts → ComboboxSingleSelect-BLPbLmMY.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-D_2qMK4y.d.mts → CompactBar-BwKIIlWz.d.mts} +4 -4
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs → ConfigFormGroup-BQXN2Pgj.mjs} +2 -2
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs.map → ConfigFormGroup-BQXN2Pgj.mjs.map} +1 -1
- package/dist/{ControlBar-B7j9sOr9.d.mts → ControlBar-BJUY6GOX.d.mts} +7 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +4 -3
- package/dist/{DateField-BamAk9_w.d.mts → DateField-BojOHfrv.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-C3xNSkPG.d.mts → DatePicker-BHVx_i_F.d.mts} +2 -2
- package/dist/{DatePicker-IgiUI3Wj.mjs → DatePicker-LPIJrc0n.mjs} +77 -42
- package/dist/DatePicker-LPIJrc0n.mjs.map +1 -0
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-C4QKMo2a.d.mts → DateRangePicker-CelDK_44.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +5 -3
- package/dist/DateValueControl.d.mts +8 -5
- package/dist/{DropdownButton-BWiXLMfD.mjs → DropdownButton-i5Dmxiq1.mjs} +3 -3
- package/dist/{DropdownButton-BWiXLMfD.mjs.map → DropdownButton-i5Dmxiq1.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-DL5ye-0m.d.mts → DropdownMenu-YtLxcNWt.d.mts} +2 -2
- package/dist/{DropdownMenu-CuKSNxc9.mjs → DropdownMenu-j8NWbAvM.mjs} +7 -2
- package/dist/DropdownMenu-j8NWbAvM.mjs.map +1 -0
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-BA0-m_Wp.d.mts → ErrorProps-6dRdJ4QQ.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-bKxrF1gC.d.mts → FieldRegistry-DqO8HiYb.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-DhlBLWxw.d.mts → FilterBar-CpAA2Ozk.d.mts} +11 -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-D5xyPkST.d.mts → FormControl-B-s6G9mp.d.mts} +2 -2
- package/dist/{FormControl-DnfZTli_.mjs → FormControl-bDxFF0hl.mjs} +3 -3
- package/dist/{FormControl-DnfZTli_.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-BJZUj6jg.d.mts → FormField-D3k-f3-f.d.mts} +2 -2
- package/dist/{FormField-74TPV8-8.mjs → FormField-DbcqNcx2.mjs} +16 -16
- package/dist/{FormField-74TPV8-8.mjs.map → FormField-DbcqNcx2.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-DOyYYsvk.mjs → Grid-CeH9E5Ai.mjs} +1 -1
- package/dist/{Grid-DOyYYsvk.mjs.map → Grid-CeH9E5Ai.mjs.map} +1 -1
- package/dist/{Header-BqEKkEp5.d.mts → Header-2K49LYkR.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-mOVSuEB8.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-CN3gl0ny.mjs → HoverCopyableField-BARZLhfO.mjs} +3 -3
- package/dist/{HoverCopyableField-CN3gl0ny.mjs.map → HoverCopyableField-BARZLhfO.mjs.map} +1 -1
- package/dist/{IconButton-CqTPMhjV.mjs → IconButton-BHFCjvzs.mjs} +1 -1
- package/dist/{IconButton-CqTPMhjV.mjs.map → IconButton-BHFCjvzs.mjs.map} +1 -1
- package/dist/{IconButton-CjPFhpVG.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-C_3QwAAt.mjs → Input-BQN97Hzm.mjs} +7 -3
- package/dist/Input-BQN97Hzm.mjs.map +1 -0
- package/dist/{Input-CZ_6KWDN.d.mts → Input-BQbcIiVj.d.mts} +3 -3
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-lag6BM5h.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-Bzm4AL5J.mjs +79 -0
- package/dist/Link-Bzm4AL5J.mjs.map +1 -0
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-nYAdYVQx.d.mts → ListBox-CdqRwBvA.d.mts} +7 -7
- package/dist/{ListBox-D4j4LCT3.mjs → ListBox-DOqN9DNl.mjs} +33 -16
- package/dist/ListBox-DOqN9DNl.mjs.map +1 -0
- 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-Dizk2sZu.mjs → LoadingShimmer-Ds7rvIUN.mjs} +13 -8
- package/dist/LoadingShimmer-Ds7rvIUN.mjs.map +1 -0
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-k4ZPtjN0.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-Bu7-KBhp.d.mts → Menu-CUN9bmc1.d.mts} +3 -3
- package/dist/{Menu-Cd6oxjAe.mjs → Menu-DjW2b3Wk.mjs} +1 -1
- package/dist/{Menu-Cd6oxjAe.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-Dwq-QBw_.d.mts → Modal-CGXJGrKg.d.mts} +2 -2
- package/dist/{Modal-BN0K8QXi.mjs → Modal-DHLPK65-.mjs} +6 -4
- package/dist/Modal-DHLPK65-.mjs.map +1 -0
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-BTtm3hRQ.mjs → PageHeader-eI4RM_uL.mjs} +2 -2
- package/dist/{PageHeader-BTtm3hRQ.mjs.map → PageHeader-eI4RM_uL.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageSelector-CeGC84N1.d.mts → PageSelector-kAfYxEky.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-CPd4mSnw.mjs → Pagination-6BDOn9bX.mjs} +6 -6
- package/dist/Pagination-6BDOn9bX.mjs.map +1 -0
- package/dist/{Pagination-H-CcXrCD.d.mts → Pagination-Bhr7xyd2.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Dz4woKd8.mjs → Pii-DhL1gblz.mjs} +2 -2
- package/dist/{Pii-Dz4woKd8.mjs.map → Pii-DhL1gblz.mjs.map} +1 -1
- package/dist/{PillShell-BQC-k7Rl.d.mts → PillShell-CVJL1k5I.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-opVa9Xhc.mjs → Popover-CbYaWrAy.mjs} +15 -2
- package/dist/Popover-CbYaWrAy.mjs.map +1 -0
- package/dist/{ProgressIndicator-3A4Aqci6.mjs → ProgressIndicator-BpF3XLn3.mjs} +3 -3
- package/dist/ProgressIndicator-BpF3XLn3.mjs.map +1 -0
- package/dist/{ProgressIndicator-DbOLOaxJ.d.mts → ProgressIndicator-CYyM6OSx.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-CHtBNv8B.d.mts → PseudoClassProps-BOVN6Etr.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-Cxt89w8s.mjs → Radio-DPaX-9LH.mjs} +2 -2
- package/dist/{Radio-Cxt89w8s.mjs.map → Radio-DPaX-9LH.mjs.map} +1 -1
- package/dist/{RadioGroup-BjrfVPZQ.d.mts → RadioGroup-C0l0pdEt.d.mts} +1 -1
- package/dist/{RadioGroup-B6Cg1kdm.mjs → RadioGroup-D7f4m2Uc.mjs} +2 -2
- package/dist/{RadioGroup-B6Cg1kdm.mjs.map → RadioGroup-D7f4m2Uc.mjs.map} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-CPnLaM-J.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-CbvHIl4K.d.mts → RouterContext-BLrzYlJ_.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-v9AG9fYa.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-CIjwmT8R.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-Crr_aHAs.d.mts → SegmentedControl-B9qLyIIW.d.mts} +1 -1
- package/dist/{SegmentedControl-BcwfLuHA.mjs → SegmentedControl-zEvBtVj0.mjs} +3 -3
- package/dist/SegmentedControl-zEvBtVj0.mjs.map +1 -0
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-BstCz8P1.mjs → Select-BoZuM_e9.mjs} +10 -8
- package/dist/Select-BoZuM_e9.mjs.map +1 -0
- package/dist/{Select-CJQeuCiF.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-DplDSBqf.mjs → Spinner-CarSRiBF.mjs} +1 -1
- package/dist/{Spinner-DplDSBqf.mjs.map → Spinner-CarSRiBF.mjs.map} +1 -1
- package/dist/{Stack-ChsImaEY.mjs → Stack-CEPzs4Pb.mjs} +1 -1
- package/dist/{Stack-ChsImaEY.mjs.map → Stack-CEPzs4Pb.mjs.map} +1 -1
- package/dist/{Stack-RVptVTVi.d.mts → Stack-XzBzPvSV.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator-bEnMWV_S.mjs +315 -0
- package/dist/StatusIndicator-bEnMWV_S.mjs.map +1 -0
- package/dist/{Sticker-C3Eb13OQ.mjs → Sticker-B-fU8lgu.mjs} +5 -8
- package/dist/Sticker-B-fU8lgu.mjs.map +1 -0
- package/dist/{Sticker-BVX38LKi.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-BepWbJHz.mjs → TabBar-BSl5v5aa.mjs} +4 -7
- package/dist/{TabBar-BepWbJHz.mjs.map → TabBar-BSl5v5aa.mjs.map} +1 -1
- package/dist/{Table-DFiSWroB.d.mts → Table-B2V5tlfA.d.mts} +1 -1
- package/dist/{Table-B1gRr2XT.mjs → Table-msXj0glu.mjs} +22 -3
- package/dist/Table-msXj0glu.mjs.map +1 -0
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-Di9JYHDN.d.mts → TableBody-SlQe4Jyp.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-DAQ3Plqx.mjs → TableBox-CF1_Fk0j.mjs} +22 -17
- package/dist/TableBox-CF1_Fk0j.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-D6h1X5ph.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-C6l6J4mq.d.mts → TableBoxRow-DZzRYoID.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-CsLN1b1J.d.mts → TableBoxRowActions-4-j3flJq.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-WSDXw79Q.d.mts → TableCell-D5Sqb6iO.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-cswMgBAr.d.mts → TableControls-B-LakH-8.d.mts} +4 -3
- package/dist/{TableControls-BxuPCUQS.mjs → TableControls-CqW_nyBY.mjs} +286 -78
- package/dist/TableControls-CqW_nyBY.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-Cbh8wear.d.mts → TableControlsContext-Dh1YVmBM.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CkL1fEg2.d.mts → TableHead-BCrVa0BY.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-K9Ry6YqO.d.mts → TableHeaderCell-CcEkDozs.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CYRGIFEl.d.mts → TableLayout-Bhj1QBBz.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-DMHlo1eg.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-BRbOcVNc.d.mts → TableViewConfigurationDropdown-BzygLtGm.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-_LtE-PRY.mjs → TechnicalSticker-B6T7cHHc.mjs} +2 -2
- package/dist/{TechnicalSticker-_LtE-PRY.mjs.map → TechnicalSticker-B6T7cHHc.mjs.map} +1 -1
- package/dist/{Text-B69gp3X_.d.mts → Text-BVGJ-Nlw.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-Cjsdl07-.d.mts → TextArea-Bzj593VO.d.mts} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs → TextArea-C1CmFRiz.mjs} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs.map → TextArea-C1CmFRiz.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-DDzKLCeX.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-DWbJOwf3.mjs → Toggle-CntyMUPJ.mjs} +9 -4
- package/dist/Toggle-CntyMUPJ.mjs.map +1 -0
- package/dist/{Toggle-B5sSdb_q.d.mts → Toggle-bSu1xAaq.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-x1pFf-Mj.d.mts → Tooltip-Duw4Fz1t.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BE8FuEQm.d.mts → TruncatedText-CbTpX_R1.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +23 -0
- package/dist/VersionHistoryItem-D05QYej7.d.mts +54 -0
- package/dist/VersionHistoryItem.d.mts +2 -0
- package/dist/WizardModal.d.mts +3 -3
- package/dist/{accordionTitleTypography-BYhjSN9t.d.mts → accordionTitleTypography-Leehcmb3.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/assertNever.d.mts +5 -0
- package/dist/chainTypes-D8SGRGba.d.mts +17 -0
- package/dist/{codec-BcgsGCHE.d.mts → codec-Vsztf4fe.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-LH7zKfKo.d.mts → color-CrlF3pba.d.mts} +9 -4
- 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 +5 -3
- package/dist/components/BottomPanel/index.mjs.map +1 -1
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +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 +3 -1
- package/dist/components/CodeHighlight/index.mjs.map +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 +27 -16
- package/dist/components/DataTable/index.mjs.map +1 -1
- 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 +10 -7
- package/dist/components/FloatingPanel/index.mjs.map +1 -1
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +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 +13 -9
- package/dist/components/ImageTile/index.mjs.map +1 -1
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -78
- 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/ProgressBar/index.mjs +1 -2
- package/dist/components/ProgressBar/index.mjs.map +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 +10 -7
- package/dist/components/RightPanel/index.mjs.map +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.mjs +1 -1
- package/dist/components/Slider/index.mjs.map +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 +2 -105
- 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 -314
- 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 +2 -2
- package/dist/components/Toast/index.mjs.map +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 +3 -0
- package/dist/components/VersionHistory/index.mjs +389 -0
- package/dist/components/VersionHistory/index.mjs.map +1 -0
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BpwnTzcv.d.mts → constants-CQUCM6__.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-Bst12Uxr.d.mts → createPath-Bq7wYGt_.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-filter-CZeChs9T.mjs → date-filter-D6IfCkwp.mjs} +1 -1
- package/dist/{date-filter-CZeChs9T.mjs.map → date-filter-D6IfCkwp.mjs.map} +1 -1
- package/dist/{date-range-rule-value-C4ir2Y8W.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-gKmuxMVA.d.mts → date-rule-intent-BwQ6OTVD.d.mts} +3 -3
- package/dist/date-rule-intent.d.mts +1 -1
- package/dist/display.d.mts +2 -2
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-BOpH6pBm.d.mts → filter-size-context-BjTzcZwZ.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/format-date-value.d.mts +5 -0
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-C2-PBfN3.d.mts → index-BFIFjR7Q.d.mts} +2 -2
- package/dist/{index-BXdrzR0c.d.mts → index-BhDvrF4l.d.mts} +4 -4
- package/dist/{index-c0aXmZV9.d.mts → index-C-xpEL8b.d.mts} +2 -2
- package/dist/index-irNqT1qQ2.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-DVJhMlxU.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-Bxcrxj2Q.mjs → intersperse-bvY2gibK.mjs} +1 -1
- package/dist/{intersperse-Bxcrxj2Q.mjs.map → intersperse-bvY2gibK.mjs.map} +1 -1
- package/dist/{jsonSchema-DmdZYC4a.d.mts → jsonSchema-Bl-qzgrr.d.mts} +34 -2
- 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 -0
- package/dist/lib/chainTypes.mjs +0 -0
- package/dist/lib/color.d.mts +2 -2
- package/dist/lib/color.mjs +18 -11
- package/dist/lib/color.mjs.map +1 -1
- package/dist/lib/customFunctionSchema.d.mts +49 -0
- package/dist/lib/customFunctionSchema.mjs +299 -0
- package/dist/lib/customFunctionSchema.mjs.map +1 -0
- 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 +2 -2
- package/dist/lib/jsonSchema.mjs +26 -1
- package/dist/lib/jsonSchema.mjs.map +1 -1
- package/dist/lib/jsonSchemaType.d.mts +7 -0
- package/dist/lib/jsonSchemaType.mjs +31 -0
- package/dist/lib/jsonSchemaType.mjs.map +1 -0
- package/dist/lib/letPointerDownReachDocument.d.mts +22 -0
- package/dist/lib/letPointerDownReachDocument.mjs +25 -0
- package/dist/lib/letPointerDownReachDocument.mjs.map +1 -0
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +3 -66
- package/dist/lib/methodChain.mjs +1 -238
- package/dist/lib/methodChainNormalize.d.mts +2 -2
- package/dist/lib/methodChainTypes.d.mts +2 -23
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +38 -0
- package/dist/lib/platformObject.mjs +79 -0
- package/dist/lib/platformObject.mjs.map +1 -0
- 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 -0
- package/dist/lib/schemaOptions.mjs +481 -0
- package/dist/lib/schemaOptions.mjs.map +1 -0
- package/dist/lib/semanticColor.d.mts +1 -1
- package/dist/lib/snakifyPath.d.mts +5 -0
- package/dist/lib/snakifyPath.mjs +11 -0
- package/dist/lib/snakifyPath.mjs.map +1 -0
- 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-CKSLIKF0.d.mts → message-w_1-kTDE.d.mts} +1 -1
- package/dist/methodChain-B5vZEOff.d.mts +66 -0
- package/dist/methodChain-L_h8Z8Bx.mjs +241 -0
- package/dist/methodChain-L_h8Z8Bx.mjs.map +1 -0
- package/dist/methodChainTypes-BVkTI8MX.d.mts +23 -0
- 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/input.mjs +6 -14
- package/dist/mixins/input.mjs.map +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/scrollbar.d.mts +10 -0
- package/dist/mixins/scrollbar.mjs +31 -0
- package/dist/mixins/scrollbar.mjs.map +1 -0
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-1_jTgYRX.d.mts → operators-BG82-g3M.d.mts} +9 -3
- package/dist/operators.d.mts +2 -2
- package/dist/{palette-CMOEyNPH.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-BXwNUd4a.d.mts → semantic-D1661f_6.d.mts} +2 -2
- package/dist/{semanticColor-Cru2gSys.d.mts → semanticColor-Bg0H3RUL.d.mts} +3 -3
- package/dist/{text-CxIup7HJ.d.mts → text-Iw9DKpbZ.d.mts} +1 -1
- package/dist/{theme-CW6qlONZ.d.mts → theme-BB1B6Wkz.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/time-range.d.mts +7 -0
- package/dist/tone.d.mts +3 -3
- package/dist/tree.d.mts +9 -0
- package/dist/{types-3iEDsymE.d.mts → types-B0ilOIfE.d.mts} +2 -2
- package/dist/types-BYRTxB0a.d.mts +72 -0
- package/dist/{types-ChkiGhjQ.d.mts → types-CI2bPi02.d.mts} +1 -1
- package/dist/types-Cs6CdZCO.d.mts +83 -0
- package/dist/{types-B-stjYNc.d.mts → types-D1DijcJv.d.mts} +1 -1
- package/dist/{types-YojUycQK.d.mts → types-DZTbvdpO.d.mts} +1 -1
- package/dist/{types-g-aqbnek.d.mts → types-DdTu747j.d.mts} +1 -1
- package/dist/{types-BEjWTkZV.d.mts → types-Dy3lZv9z.d.mts} +7 -2
- package/dist/types-M-rsm1Km.d.mts +105 -0
- 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-CHK2N2fA.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-B26e5iUx.d.mts → useFilterStateV2-DoJ9lyJx.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-BzhMbl5P.mjs → useFormField-BAmkdxtA.mjs} +2 -2
- package/dist/{useFormField-BzhMbl5P.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
- package/dist/{useFormField-DPFClB5h.d.mts → useFormField-BtnAYcHV.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
- package/dist/{useLocationPathname-CnRd_Rzn.d.mts → useLocationPathname-pLyLOrAi.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-DWlG5vhl.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-BcGuP8Fd.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-B-Om4ANo.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-BiyhB8zt.d.mts → value-control-resolver-Cx_wXQFv.d.mts} +3 -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/dist/variables/semantic.mjs +15 -18
- package/dist/variables/semantic.mjs.map +1 -1
- package/llms.txt +1 -1
- package/package.json +32 -6
- package/skills/ui-authoring/COMPONENTS.md +1 -1
- package/skills/ui-authoring/PATTERNS.md +1 -0
- package/dist/Combobox-C2b9u955.mjs.map +0 -1
- package/dist/DatePicker-IgiUI3Wj.mjs.map +0 -1
- package/dist/DropdownMenu-CuKSNxc9.mjs.map +0 -1
- package/dist/Input-C_3QwAAt.mjs.map +0 -1
- package/dist/ListBox-D4j4LCT3.mjs.map +0 -1
- package/dist/LoadingShimmer-Dizk2sZu.mjs.map +0 -1
- package/dist/Modal-BN0K8QXi.mjs.map +0 -1
- package/dist/Pagination-CPd4mSnw.mjs.map +0 -1
- package/dist/Popover-opVa9Xhc.mjs.map +0 -1
- package/dist/ProgressIndicator-3A4Aqci6.mjs.map +0 -1
- package/dist/SegmentedControl-BcwfLuHA.mjs.map +0 -1
- package/dist/Select-BstCz8P1.mjs.map +0 -1
- package/dist/Sticker-C3Eb13OQ.mjs.map +0 -1
- package/dist/Table-B1gRr2XT.mjs.map +0 -1
- package/dist/TableBox-DAQ3Plqx.mjs.map +0 -1
- package/dist/TableControls-BxuPCUQS.mjs.map +0 -1
- package/dist/Toggle-DWbJOwf3.mjs.map +0 -1
- package/dist/components/Link/index.mjs.map +0 -1
- package/dist/components/StatusIndicator/index.mjs.map +0 -1
- package/dist/components/WizardModal/index.mjs.map +0 -1
- package/dist/lib/methodChain.mjs.map +0 -1
- /package/dist/{index--p6oQT9I.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-BCh-G39Y2.d.mts → index-BCq_fh4A2.d.mts} +0 -0
- /package/dist/{index-BO_854F2.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-BwFl_eS0.d.mts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-C-lwXyQ6.d.mts → index-BwXb5CoQ.d.mts} +0 -0
- /package/dist/{index-C1o2TFfS.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-C3kE54DD.d.mts → index-C9achTF6.d.mts} +0 -0
- /package/dist/{index-CREkvfw9.d.mts → index-CCKHlTA4.d.mts} +0 -0
- /package/dist/{index-CRo77wc3.d.mts → index-CFuHCx9T.d.mts} +0 -0
- /package/dist/{index-CfCYi7PF.d.mts → index-CP2eJYlK.d.mts} +0 -0
- /package/dist/{index-CoUVmp_Q.d.mts → index-CWB6exYm.d.mts} +0 -0
- /package/dist/{index-DCTy4zg0.d.mts → index-CryTAIZM.d.mts} +0 -0
- /package/dist/{index-DWIh4oP5.d.mts → index-CuheJfs-.d.mts} +0 -0
- /package/dist/{index-De7MV8-j.d.mts → index-D-9tW2r5.d.mts} +0 -0
- /package/dist/{index-DgJfEygr.d.mts → index-D9XihFV1.d.mts} +0 -0
- /package/dist/{index-Es5nKSSL.d.mts → index-Deol7ZWO.d.mts} +0 -0
- /package/dist/{index-Qwqzz3XM.d.mts → index-DjOaHFU3.d.mts} +0 -0
- /package/dist/{index-Wc1llEvP.d.mts → index-Iujpc9_6.d.mts} +0 -0
- /package/dist/{index-bHnO4ZKt.d.mts → index-e6k85DKM.d.mts} +0 -0
- /package/dist/{index-dhjtMp5F.d.mts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{components → patterns}/WizardModal/index.d.mts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as TableHeaderCell } from "./TableHeaderCell-
|
|
1
|
+
import { t as TableHeaderCell } from "./TableHeaderCell-CcEkDozs.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
|
|
@@ -18,4 +18,4 @@ interface TableTHProps extends ComponentPropsWithoutRef<typeof TableHeaderCell>
|
|
|
18
18
|
declare const TableTH: _$react.ForwardRefExoticComponent<TableTHProps & _$react.RefAttributes<HTMLTableCellElement>>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { TableTHProps as n, TableTH as t };
|
|
21
|
-
//# sourceMappingURL=index-
|
|
21
|
+
//# sourceMappingURL=index-BFIFjR7Q.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ListBoxItemProps, r as ListBoxProps } from "./ListBox-
|
|
2
|
-
import { n as LogicRowProps } from "./LogicRow-
|
|
1
|
+
import { n as ListBoxItemProps, r as ListBoxProps$1 } from "./ListBox-CdqRwBvA.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-CwMAn1sh.mjs";
|
|
3
3
|
import * as _$react from "react";
|
|
4
4
|
import * as _$react_aria_components0 from "react-aria-components";
|
|
5
5
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -20,7 +20,7 @@ declare const ListBox: {
|
|
|
20
20
|
items,
|
|
21
21
|
maxHeight,
|
|
22
22
|
...props
|
|
23
|
-
}: _$react.PropsWithChildren<ListBoxProps<T>>): _$react_jsx_runtime0.JSX.Element;
|
|
23
|
+
}: _$react.PropsWithChildren<ListBoxProps$1<T>>): _$react_jsx_runtime0.JSX.Element;
|
|
24
24
|
Item: ({
|
|
25
25
|
children,
|
|
26
26
|
actions,
|
|
@@ -52,4 +52,4 @@ declare const ListBox: {
|
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { ListBox as t };
|
|
55
|
-
//# sourceMappingURL=index-
|
|
55
|
+
//# sourceMappingURL=index-BhDvrF4l.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-CpAA2Ozk.mjs";
|
|
2
2
|
|
|
3
3
|
//#region components/DataTable/TableControls/FiltersV2/FilterBar/index.d.ts
|
|
4
4
|
type FilterBarProps = FilterBarProps$1;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { FilterBarProps as t };
|
|
7
|
-
//# sourceMappingURL=index-
|
|
7
|
+
//# sourceMappingURL=index-C-xpEL8b.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-
|
|
1
|
+
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-2K49LYkR.mjs";
|
|
2
2
|
export { ActionsContainer, HeaderContainer, HeaderProps, Root, Title, TitleContainer, Header as default };
|
package/dist/index2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-
|
|
1
|
+
import { n as SearchInput, t as OmniSearchProps } from "./SearchInput-Buh8LdIL.mjs";
|
|
2
2
|
export { OmniSearchProps, SearchInput as default };
|
package/dist/index3.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as resolveValueControl } from "./value-control-resolver-
|
|
2
|
-
import { t as FilterBar } from "./FilterBar-
|
|
3
|
-
import { t as FilterBarProps } from "./index-
|
|
1
|
+
import { r as resolveValueControl } from "./value-control-resolver-Cx_wXQFv.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-CpAA2Ozk.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-C-xpEL8b.mjs";
|
|
4
4
|
export { FilterBarProps, FilterBar as default, resolveValueControl };
|
package/dist/index4.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PillShellProps, t as PillShell } from "./PillShell-
|
|
1
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-CVJL1k5I.mjs";
|
|
2
2
|
export { PillShellProps, PillShell as default };
|
package/dist/index5.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { t as dateRuleIntent } from "./date-rule-intent-
|
|
2
|
-
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-
|
|
3
|
-
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-
|
|
4
|
-
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-
|
|
5
|
-
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-
|
|
6
|
-
import { t as FilterBar } from "./FilterBar-
|
|
7
|
-
import { t as FilterBarProps } from "./index-
|
|
8
|
-
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-
|
|
9
|
-
import { n as PillShellProps, t as PillShell } from "./PillShell-
|
|
10
|
-
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as
|
|
11
|
-
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-
|
|
12
|
-
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-
|
|
13
|
-
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-
|
|
14
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as dateRuleIntent } from "./date-rule-intent-BwQ6OTVD.mjs";
|
|
2
|
+
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";
|
|
3
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-DVhMQP4-.mjs";
|
|
4
|
+
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-DqO8HiYb.mjs";
|
|
5
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-Cx_wXQFv.mjs";
|
|
6
|
+
import { t as FilterBar } from "./FilterBar-CpAA2Ozk.mjs";
|
|
7
|
+
import { t as FilterBarProps } from "./index-C-xpEL8b.mjs";
|
|
8
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-BjTzcZwZ.mjs";
|
|
9
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-CVJL1k5I.mjs";
|
|
10
|
+
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isRangeOperator, f as isValuelessOperator, l as isCompleteDateRange, p as reconcileValueForOperator, r as emptyValueForRule, s as getOperatorsForField } from "./operators-BG82-g3M.mjs";
|
|
11
|
+
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";
|
|
12
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-DoJ9lyJx.mjs";
|
|
13
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-PeVTwtd-.mjs";
|
|
14
|
+
import { t as ValueControlProps } from "./types-B0ilOIfE.mjs";
|
|
15
15
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FILTER_SIZE_TOKENS, FILTER_STATE_URL_PARAM, FieldRegistry, FilterBar, FilterBarProps, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterSizeTokens, FilterStateV2, PillShell, PillShellProps, RawFieldInfo, ResolveValueControlOptions, TopLevelFilterRule, UrlStateCodecResult, UseFilterStateV2Options, UseFilterStateV2Result, ValueControlProps, ValueControlResolver, applyFilterStateToSearchParams, buildFieldRegistry, dateRuleIntent, decodeFilterStateFromString, decodeFilterStateFromUrl, emptyValueForRule, encodeFilterStateToUrlParam, getDefaultOperatorForType, getOperatorsForField, getOperatorsForType, hasCompleteValue, isCompleteDateRange, isEmptyState, isFilterStateV2, isRangeOperator, isValuelessOperator, pruneToRegistry, reconcileValueForOperator, resolveDateRangeRuleValue, resolveValueControl, useFilterBarSize, useFilterStateV2 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PseudoClassProps } from "./PseudoClassProps-
|
|
2
|
-
import { t as ErrorProps } from "./ErrorProps-
|
|
1
|
+
import { t as PseudoClassProps } from "./PseudoClassProps-BOVN6Etr.mjs";
|
|
2
|
+
import { t as ErrorProps } from "./ErrorProps-6dRdJ4QQ.mjs";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
|
|
5
5
|
//#region mixins/input.d.ts
|
|
@@ -14,4 +14,4 @@ interface InputMixinProps extends ErrorProps, PseudoClassProps {
|
|
|
14
14
|
declare const inputMixin: _$styled_components0.FlattenInterpolation<_$styled_components0.ThemedStyledProps<InputMixinProps, any>>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { InputSizes as n, inputMixin as r, InputMixinProps as t };
|
|
17
|
-
//# sourceMappingURL=input-
|
|
17
|
+
//# sourceMappingURL=input-DpHBIUpP.d.mts.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-DUXws1Os.mjs";
|
|
2
|
+
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-CMH6iVu4.mjs";
|
|
3
|
+
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-BLPbLmMY.mjs";
|
|
4
|
+
import { n as FormFieldBaseProps } from "./FormField-D3k-f3-f.mjs";
|
|
5
|
+
import { a as InputProps } from "./Input-BQbcIiVj.mjs";
|
|
6
|
+
import { n as RadioGroupProps } from "./RadioGroup-C0l0pdEt.mjs";
|
|
7
|
+
import { i as SegmentedControlProps } from "./SegmentedControl-B9qLyIIW.mjs";
|
|
8
|
+
import { i as SelectProps } from "./Select-Cv_9PLOt.mjs";
|
|
9
|
+
import { t as TextAreaProps } from "./TextArea-Bzj593VO.mjs";
|
|
10
|
+
import { n as ToggleProps } from "./Toggle-bSu1xAaq.mjs";
|
|
11
|
+
import * as _$react from "react";
|
|
12
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
13
|
+
|
|
14
|
+
//#region components/FormField/inputFields.d.ts
|
|
15
|
+
type ImplementsFormField = Omit<FormFieldBaseProps, 'children'>;
|
|
16
|
+
type ExtractFormFieldProps<T extends ImplementsFormField> = Pick<T, 'label' | 'inputId' | 'required' | 'helperText' | 'errorText' | 'warningText' | 'labelProps' | 'helperProps' | 'warningProps' | 'errorProps' | 'configField' | 'configFieldInputWidth' | 'rightActions'>;
|
|
17
|
+
type OmitFormFieldProps<T extends ImplementsFormField> = Omit<T, Exclude<keyof ExtractFormFieldProps<T>, 'required'>>;
|
|
18
|
+
/**
|
|
19
|
+
* Helper to split out props that are sent to the FormField component from props sent
|
|
20
|
+
* to the underlying input component.
|
|
21
|
+
*/
|
|
22
|
+
declare const splitOutFormFieldProps: <T extends ImplementsFormField>(props: T) => {
|
|
23
|
+
formFieldProps: ExtractFormFieldProps<T>;
|
|
24
|
+
inputProps: OmitFormFieldProps<T>;
|
|
25
|
+
};
|
|
26
|
+
interface TextFieldProps extends ImplementsFormField, InputProps {}
|
|
27
|
+
declare const TextField: _$react.ForwardRefExoticComponent<TextFieldProps & _$react.RefAttributes<HTMLInputElement>>;
|
|
28
|
+
interface TextAreaFieldProps extends ImplementsFormField, TextAreaProps {}
|
|
29
|
+
declare const TextAreaField: _$react.ForwardRefExoticComponent<TextAreaFieldProps & _$react.RefAttributes<HTMLTextAreaElement>>;
|
|
30
|
+
interface SelectFieldProps extends ImplementsFormField, SelectProps {}
|
|
31
|
+
declare const SelectField: ({
|
|
32
|
+
id,
|
|
33
|
+
children,
|
|
34
|
+
...props
|
|
35
|
+
}: SelectFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
36
|
+
interface RadioGroupFieldProps extends Omit<ImplementsFormField, 'configField'>, RadioGroupProps {}
|
|
37
|
+
declare const RadioGroupField: ({
|
|
38
|
+
label,
|
|
39
|
+
helperText,
|
|
40
|
+
errorText,
|
|
41
|
+
warningText,
|
|
42
|
+
required,
|
|
43
|
+
children,
|
|
44
|
+
...props
|
|
45
|
+
}: RadioGroupFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
46
|
+
interface CheckboxFieldProps extends ImplementsFormField, CheckboxProps {
|
|
47
|
+
checkboxLabel?: CheckboxProps['label'];
|
|
48
|
+
}
|
|
49
|
+
declare const CheckboxField: ({
|
|
50
|
+
label,
|
|
51
|
+
helperText,
|
|
52
|
+
errorText,
|
|
53
|
+
warningText,
|
|
54
|
+
checkboxLabel,
|
|
55
|
+
configField,
|
|
56
|
+
labelProps,
|
|
57
|
+
required,
|
|
58
|
+
...props
|
|
59
|
+
}: CheckboxFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
60
|
+
interface ToggleFieldProps extends ImplementsFormField, ToggleProps {}
|
|
61
|
+
declare const ToggleField: _$react.ForwardRefExoticComponent<ToggleFieldProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
62
|
+
interface SegmentedControlFieldProps extends ImplementsFormField, Omit<SegmentedControlProps, 'children'> {
|
|
63
|
+
children?: SegmentedControlProps['children'];
|
|
64
|
+
}
|
|
65
|
+
declare const SegmentedControlField: _$react.ForwardRefExoticComponent<SegmentedControlFieldProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
66
|
+
type ComboboxSingleSelectFieldProps<T = string> = ImplementsFormField & ComboboxSingleSelectProps<T>;
|
|
67
|
+
type ComboboxMultiSelectFieldProps<T = string> = ImplementsFormField & ComboboxMultiSelectProps<T>;
|
|
68
|
+
declare const ComboboxField: (props: ComboboxSingleSelectFieldProps | ComboboxMultiSelectFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
69
|
+
//#endregion
|
|
70
|
+
export { ToggleField as _, ComboboxSingleSelectFieldProps as a, RadioGroupFieldProps as c, SelectField as d, SelectFieldProps as f, TextFieldProps as g, TextField as h, ComboboxMultiSelectFieldProps as i, SegmentedControlField as l, TextAreaFieldProps as m, CheckboxFieldProps as n, ImplementsFormField as o, TextAreaField as p, ComboboxField as r, RadioGroupField as s, CheckboxField as t, SegmentedControlFieldProps as u, ToggleFieldProps as v, splitOutFormFieldProps as y };
|
|
71
|
+
//# sourceMappingURL=inputFields-BVDurw3L.d.mts.map
|
package/dist/inputFields.d.mts
CHANGED
|
@@ -1,71 +1,2 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-CBm7x0oh.mjs";
|
|
4
|
-
import { n as FormFieldBaseProps } from "./FormField-BJZUj6jg.mjs";
|
|
5
|
-
import { a as InputProps } from "./Input-CZ_6KWDN.mjs";
|
|
6
|
-
import { n as RadioGroupProps } from "./RadioGroup-BjrfVPZQ.mjs";
|
|
7
|
-
import { i as SegmentedControlProps } from "./SegmentedControl-Crr_aHAs.mjs";
|
|
8
|
-
import { i as SelectProps } from "./Select-CJQeuCiF.mjs";
|
|
9
|
-
import { t as TextAreaProps } from "./TextArea-Cjsdl07-.mjs";
|
|
10
|
-
import { n as ToggleProps } from "./Toggle-B5sSdb_q.mjs";
|
|
11
|
-
import * as _$react from "react";
|
|
12
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
13
|
-
|
|
14
|
-
//#region components/FormField/inputFields.d.ts
|
|
15
|
-
type ImplementsFormField = Omit<FormFieldBaseProps, 'children'>;
|
|
16
|
-
type ExtractFormFieldProps<T extends ImplementsFormField> = Pick<T, 'label' | 'inputId' | 'required' | 'helperText' | 'errorText' | 'warningText' | 'labelProps' | 'helperProps' | 'warningProps' | 'errorProps' | 'configField' | 'configFieldInputWidth' | 'rightActions'>;
|
|
17
|
-
type OmitFormFieldProps<T extends ImplementsFormField> = Omit<T, Exclude<keyof ExtractFormFieldProps<T>, 'required'>>;
|
|
18
|
-
/**
|
|
19
|
-
* Helper to split out props that are sent to the FormField component from props sent
|
|
20
|
-
* to the underlying input component.
|
|
21
|
-
*/
|
|
22
|
-
declare const splitOutFormFieldProps: <T extends ImplementsFormField>(props: T) => {
|
|
23
|
-
formFieldProps: ExtractFormFieldProps<T>;
|
|
24
|
-
inputProps: OmitFormFieldProps<T>;
|
|
25
|
-
};
|
|
26
|
-
interface TextFieldProps extends ImplementsFormField, InputProps {}
|
|
27
|
-
declare const TextField: _$react.ForwardRefExoticComponent<TextFieldProps & _$react.RefAttributes<HTMLInputElement>>;
|
|
28
|
-
interface TextAreaFieldProps extends ImplementsFormField, TextAreaProps {}
|
|
29
|
-
declare const TextAreaField: _$react.ForwardRefExoticComponent<TextAreaFieldProps & _$react.RefAttributes<HTMLTextAreaElement>>;
|
|
30
|
-
interface SelectFieldProps extends ImplementsFormField, SelectProps {}
|
|
31
|
-
declare const SelectField: ({
|
|
32
|
-
id,
|
|
33
|
-
children,
|
|
34
|
-
...props
|
|
35
|
-
}: SelectFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
36
|
-
interface RadioGroupFieldProps extends Omit<ImplementsFormField, 'configField'>, RadioGroupProps {}
|
|
37
|
-
declare const RadioGroupField: ({
|
|
38
|
-
label,
|
|
39
|
-
helperText,
|
|
40
|
-
errorText,
|
|
41
|
-
warningText,
|
|
42
|
-
required,
|
|
43
|
-
children,
|
|
44
|
-
...props
|
|
45
|
-
}: RadioGroupFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
46
|
-
interface CheckboxFieldProps extends ImplementsFormField, CheckboxProps {
|
|
47
|
-
checkboxLabel?: CheckboxProps['label'];
|
|
48
|
-
}
|
|
49
|
-
declare const CheckboxField: ({
|
|
50
|
-
label,
|
|
51
|
-
helperText,
|
|
52
|
-
errorText,
|
|
53
|
-
warningText,
|
|
54
|
-
checkboxLabel,
|
|
55
|
-
configField,
|
|
56
|
-
labelProps,
|
|
57
|
-
required,
|
|
58
|
-
...props
|
|
59
|
-
}: CheckboxFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
60
|
-
interface ToggleFieldProps extends ImplementsFormField, ToggleProps {}
|
|
61
|
-
declare const ToggleField: _$react.ForwardRefExoticComponent<ToggleFieldProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
62
|
-
interface SegmentedControlFieldProps extends ImplementsFormField, Omit<SegmentedControlProps, 'children'> {
|
|
63
|
-
children?: SegmentedControlProps['children'];
|
|
64
|
-
}
|
|
65
|
-
declare const SegmentedControlField: _$react.ForwardRefExoticComponent<SegmentedControlFieldProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
66
|
-
type ComboboxSingleSelectFieldProps<T = string> = ImplementsFormField & ComboboxSingleSelectProps<T>;
|
|
67
|
-
type ComboboxMultiSelectFieldProps<T = string> = ImplementsFormField & ComboboxMultiSelectProps<T>;
|
|
68
|
-
declare const ComboboxField: (props: ComboboxSingleSelectFieldProps | ComboboxMultiSelectFieldProps) => _$react_jsx_runtime0.JSX.Element;
|
|
69
|
-
//#endregion
|
|
70
|
-
export { CheckboxField, CheckboxFieldProps, ComboboxField, ComboboxMultiSelectFieldProps, ComboboxSingleSelectFieldProps, ImplementsFormField, RadioGroupField, RadioGroupFieldProps, SegmentedControlField, SegmentedControlFieldProps, SelectField, SelectFieldProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, ToggleField, ToggleFieldProps, splitOutFormFieldProps };
|
|
71
|
-
//# sourceMappingURL=inputFields.d.mts.map
|
|
1
|
+
import { _ as ToggleField, a as ComboboxSingleSelectFieldProps, c as RadioGroupFieldProps, d as SelectField, f as SelectFieldProps, g as TextFieldProps, h as TextField, i as ComboboxMultiSelectFieldProps, l as SegmentedControlField, m as TextAreaFieldProps, n as CheckboxFieldProps, o as ImplementsFormField, p as TextAreaField, r as ComboboxField, s as RadioGroupField, t as CheckboxField, u as SegmentedControlFieldProps, v as ToggleFieldProps, y as splitOutFormFieldProps } from "./inputFields-BVDurw3L.mjs";
|
|
2
|
+
export { CheckboxField, CheckboxFieldProps, ComboboxField, ComboboxMultiSelectFieldProps, ComboboxSingleSelectFieldProps, ImplementsFormField, RadioGroupField, RadioGroupFieldProps, SegmentedControlField, SegmentedControlFieldProps, SelectField, SelectFieldProps, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, ToggleField, ToggleFieldProps, splitOutFormFieldProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intersperse-
|
|
1
|
+
{"version":3,"file":"intersperse-bvY2gibK.mjs","names":[],"sources":["../lib/intersperse.ts"],"sourcesContent":["/**\n * @name intersperse\n *\n * Inserts an element between array items using a separator function. The\n * separator function is passed the previous index, the previous element, and\n * the next element.\n *\n * ```typescript\n * const nodeList: React.ReactNode[] = [...]\n * const commaSeparatedList = intersperse(nodeList, () => ', ')\n * const advancedSeparatedList = intersperse(nodeList, i => <Separator key={i}/>)\n * ```\n */\nexport function intersperse<T>(arr: T[], separator: (n: number, prev: T, curr: T) => T): T[] {\n return arr.flatMap((a, i) => (i > 0 ? [separator(i - 1, arr[i - 1], a), a] : [a]));\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,YAAe,KAAU,WAAoD;AAC3F,QAAO,IAAI,SAAS,GAAG,MAAO,IAAI,IAAI,CAAC,UAAU,IAAI,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,EAAE,CAAE"}
|
|
@@ -106,6 +106,37 @@ declare enum JsonSchemaTypes {
|
|
|
106
106
|
String = "string",
|
|
107
107
|
Null = "null"
|
|
108
108
|
}
|
|
109
|
+
declare enum JsonSchemaCustomTypes {
|
|
110
|
+
Date = "date",
|
|
111
|
+
Datetime = "datetime",
|
|
112
|
+
Enum = "enum",
|
|
113
|
+
File = "file",
|
|
114
|
+
MultiEnum = "multi-enum",
|
|
115
|
+
GroupedEnum = "grouped-enum",
|
|
116
|
+
Relation = "relation",
|
|
117
|
+
MaskedString = "secret",
|
|
118
|
+
Unknown = "unknown"
|
|
119
|
+
}
|
|
120
|
+
type JsonSchemaAllTypes = JsonSchemaTypes | JsonSchemaCustomTypes;
|
|
121
|
+
declare const JsonSchemaAllTypes: {
|
|
122
|
+
Date: JsonSchemaCustomTypes.Date;
|
|
123
|
+
Datetime: JsonSchemaCustomTypes.Datetime;
|
|
124
|
+
Enum: JsonSchemaCustomTypes.Enum;
|
|
125
|
+
File: JsonSchemaCustomTypes.File;
|
|
126
|
+
MultiEnum: JsonSchemaCustomTypes.MultiEnum;
|
|
127
|
+
GroupedEnum: JsonSchemaCustomTypes.GroupedEnum;
|
|
128
|
+
Relation: JsonSchemaCustomTypes.Relation;
|
|
129
|
+
MaskedString: JsonSchemaCustomTypes.MaskedString;
|
|
130
|
+
Unknown: JsonSchemaCustomTypes.Unknown;
|
|
131
|
+
Array: JsonSchemaTypes.Array;
|
|
132
|
+
Boolean: JsonSchemaTypes.Boolean;
|
|
133
|
+
Integer: JsonSchemaTypes.Integer;
|
|
134
|
+
Number: JsonSchemaTypes.Number;
|
|
135
|
+
Object: JsonSchemaTypes.Object;
|
|
136
|
+
String: JsonSchemaTypes.String;
|
|
137
|
+
Null: JsonSchemaTypes.Null;
|
|
138
|
+
};
|
|
139
|
+
declare const JsonSchemaStringifiableTypes: (JsonSchemaTypes | JsonSchemaCustomTypes)[];
|
|
109
140
|
type JsonSchemaBasicTypes = JsonSchemaTypes.Boolean | JsonSchemaTypes.Integer | JsonSchemaTypes.Number | JsonSchemaTypes.String;
|
|
110
141
|
interface JsonSchemaBase {
|
|
111
142
|
title?: string;
|
|
@@ -197,6 +228,7 @@ declare const isJsonSchemaArray: (schema: JsonSchema) => schema is JsonSchemaArr
|
|
|
197
228
|
/** Returns true for non-primitive schemas (object, array, or $ref to a platform object). */
|
|
198
229
|
declare const isNonPrimitiveSchema: (schema: JsonSchema) => boolean;
|
|
199
230
|
declare const isFileType: (fieldType: JsonSchemaFieldType | undefined) => fieldType is KnownFieldType<"file">;
|
|
231
|
+
declare const isJsonType: (fieldType: JsonSchemaFieldType | undefined) => fieldType is KnownFieldType<"json">;
|
|
200
232
|
declare const isFileField: (schema: JsonSchema) => boolean;
|
|
201
233
|
declare const isArrayWithFileItems: (schema: JsonSchema) => boolean;
|
|
202
234
|
/** ImageGallery accepts file schemas or arrays of file items. */
|
|
@@ -242,5 +274,5 @@ declare const getNonNullableRefSchema: (schema: JsonSchema | null | undefined) =
|
|
|
242
274
|
declare const isSchemaTypeAllowed: (schema: JsonSchema | FunctionJsonSchema | null | undefined, allowedTypes: readonly string[]) => boolean;
|
|
243
275
|
declare const extendSchema: (schemaMap: ObjectSchemaMap, schemaToAdd: Partial<Record<keyof typeof schemaMap, Record<string, JsonSchema>>>) => ObjectSchemaMap;
|
|
244
276
|
//#endregion
|
|
245
|
-
export {
|
|
246
|
-
//# sourceMappingURL=jsonSchema-
|
|
277
|
+
export { isNonPrimitiveSchema as $, getNonNullableRefSchema as A, isJsonSchemaArray as B, JsonSchemaString as C, functionParametersFromJsonSchema as D, extendSchema as E, isFileField as F, isJsonSchemaInteger as G, isJsonSchemaChoices as H, isFileSchema as I, isJsonSchemaPlatformObject as J, isJsonSchemaNumber as K, isFileType as L, humanizeSchemaType as M, isArrayWithFileItems as N, genericArrayItemSchema as O, isConvertedTypeSchema as P, isJsonType as Q, isFunctionSchema as R, JsonSchemaRef as S, JsonSchemaTypes as T, isJsonSchemaDate as U, isJsonSchemaBoolean as V, isJsonSchemaDateTime as W, isJsonSchemaSecret as X, isJsonSchemaRef as Y, isJsonSchemaString as Z, JsonSchemaNull as _, JsonSchemaArray as a, FunctionConvertedTypeSchema as at, JsonSchemaObjectKey as b, JsonSchemaBasicTypes as c, FunctionParameterJsonSchema as ct, JsonSchemaCore as d, ObjectSchemaMap as dt, isOneOfSchema as et, JsonSchemaCustomTypes as f, JsonSchemaInteger as g, JsonSchemaFieldTypeRegistry as h, JsonSchemaAnyOf as i, CollectionMetaJsonSchema as it, getNonNullableType as j, getArrayItemType as k, JsonSchemaBoolean as l, FunctionReturnTypeJsonSchema as lt, JsonSchemaFieldType as m, JsonSchema as n, isPrecedingSchema as nt, JsonSchemaBase as o, FunctionGenericParameterSchema as ot, JsonSchemaEmpty as p, isJsonSchemaObject as q, JsonSchemaAllTypes as r, isSchemaTypeAllowed as rt, JsonSchemaBasic as s, FunctionJsonSchema as st, EMPTY_JSON_SCHEMA_OBJECT as t, isOneOfStringSchema as tt, JsonSchemaConst as u, GenericType as ut, JsonSchemaNumber as v, JsonSchemaStringifiableTypes as w, JsonSchemaObjectKeyRegistry as x, JsonSchemaObject as y, isGenericParameterSchema as z };
|
|
278
|
+
//# sourceMappingURL=jsonSchema-Bl-qzgrr.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as MiddleTruncatedText } from "../MiddleTruncatedText-
|
|
1
|
+
import { t as MiddleTruncatedText } from "../MiddleTruncatedText-DoTyfMem.mjs";
|
|
2
2
|
export { MiddleTruncatedText, MiddleTruncatedText as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as PersonaTheme } from "../theme-
|
|
2
|
-
import { n as RouterAdapter } from "../types-
|
|
1
|
+
import { i as PersonaTheme } from "../theme-BB1B6Wkz.mjs";
|
|
2
|
+
import { n as RouterAdapter } from "../types-D1DijcJv.mjs";
|
|
3
3
|
import { FC, PropsWithChildren } from "react";
|
|
4
4
|
|
|
5
5
|
//#region lib/PDSProvider.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-
|
|
1
|
+
import { n as TruncatedText, r as TruncatedTextProps, t as OverflowEllipsisSpan } from "../TruncatedText-CbTpX_R1.mjs";
|
|
2
2
|
export { OverflowEllipsisSpan, TruncatedText, TruncatedText as default, TruncatedTextProps };
|
|
@@ -19,9 +19,9 @@ const TruncatedText = ({ children, titleBehavior = "conditional", ...props }) =>
|
|
|
19
19
|
const ref = useRef(null);
|
|
20
20
|
const { isOverflowWidth } = useIsOverflow(ref);
|
|
21
21
|
return /* @__PURE__ */ jsx(OverflowEllipsisSpan, {
|
|
22
|
-
ref,
|
|
23
22
|
title: isOverflowWidth || titleBehavior === "always" ? ref.current?.textContent ?? "" : void 0,
|
|
24
23
|
...props,
|
|
24
|
+
ref,
|
|
25
25
|
children
|
|
26
26
|
});
|
|
27
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatedText.mjs","names":[],"sources":["../../lib/TruncatedText.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, type FC, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\nexport const OverflowEllipsisSpan = styled.span`\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport interface TruncatedTextProps extends ComponentPropsWithoutRef<'span'> {\n titleBehavior?: 'always' | 'conditional';\n}\n\n/**\n * Truncates the text if it is too long to fit in the container.\n *\n * The text truncation is CSS-driven, but we use JavaScript to detect when truncation\n * happens so we can set a title attribute dynamically.\n */\nexport const TruncatedText: FC<TruncatedTextProps> = ({\n children,\n titleBehavior = 'conditional',\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <OverflowEllipsisSpan\n
|
|
1
|
+
{"version":3,"file":"TruncatedText.mjs","names":[],"sources":["../../lib/TruncatedText.tsx"],"sourcesContent":["import { type ComponentPropsWithoutRef, type FC, useRef } from 'react';\nimport styled from 'styled-components';\n\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\nexport const OverflowEllipsisSpan = styled.span`\n display: block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n`;\n\nexport interface TruncatedTextProps extends ComponentPropsWithoutRef<'span'> {\n titleBehavior?: 'always' | 'conditional';\n}\n\n/**\n * Truncates the text if it is too long to fit in the container.\n *\n * The text truncation is CSS-driven, but we use JavaScript to detect when truncation\n * happens so we can set a title attribute dynamically.\n */\nexport const TruncatedText: FC<TruncatedTextProps> = ({\n children,\n titleBehavior = 'conditional',\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <OverflowEllipsisSpan\n title={\n isOverflowWidth || titleBehavior === 'always' ? (ref.current?.textContent ?? '') : undefined\n }\n {...props}\n // After the spread so a `ref` prop (React 19, e.g. `ref: null` from a `styled()` wrapper) can't\n // replace the ref used for overflow detection.\n ref={ref}\n >\n {children}\n </OverflowEllipsisSpan>\n );\n};\n\nexport default TruncatedText;\n"],"mappings":";;;;;AAKA,MAAa,uBAAuB,OAAO,IAAI;;;;;;;;;;;;AAiB/C,MAAa,iBAAyC,EACpD,UACA,gBAAgB,eAChB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,sBAAD;EACE,OACE,mBAAmB,kBAAkB,WAAY,IAAI,SAAS,eAAe,KAAM,KAAA;EAErF,GAAI;EAGC;EAEJ;EACoB,CAAA"}
|
|
@@ -13,8 +13,8 @@ const TruncatedTextWithTooltip = ({ children, tooltipProps = {}, ...props }) =>
|
|
|
13
13
|
const { isOverflowWidth } = useIsOverflow(ref);
|
|
14
14
|
return /* @__PURE__ */ jsx(Tooltip, {
|
|
15
15
|
trigger: /* @__PURE__ */ jsx(OverflowEllipsisSpan, {
|
|
16
|
-
ref,
|
|
17
16
|
...props,
|
|
17
|
+
ref,
|
|
18
18
|
children
|
|
19
19
|
}),
|
|
20
20
|
disabled: !isOverflowWidth,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TruncatedTextWithTooltip.mjs","names":[],"sources":["../../lib/TruncatedTextWithTooltip.tsx"],"sourcesContent":["import { type ComponentProps, type ComponentPropsWithoutRef, type FC, useRef } from 'react';\n\nimport Tooltip from 'design-system/components/Tooltip';\nimport { OverflowEllipsisSpan } from 'design-system/lib/TruncatedText';\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\ninterface TruncatedTextWithTooltipProps extends ComponentPropsWithoutRef<'span'> {\n tooltipProps?: Pick<ComponentProps<typeof Tooltip>, 'side' | 'zIndex' | 'maxWidth'>;\n}\n\n/**\n * Truncates the text if it is too long to fit in the container and shows a tooltip if the text\n * is truncated.\n */\nexport const TruncatedTextWithTooltip: FC<TruncatedTextWithTooltipProps> = ({\n children,\n tooltipProps = {},\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <Tooltip\n trigger={\n <OverflowEllipsisSpan ref={ref}
|
|
1
|
+
{"version":3,"file":"TruncatedTextWithTooltip.mjs","names":[],"sources":["../../lib/TruncatedTextWithTooltip.tsx"],"sourcesContent":["import { type ComponentProps, type ComponentPropsWithoutRef, type FC, useRef } from 'react';\n\nimport Tooltip from 'design-system/components/Tooltip';\nimport { OverflowEllipsisSpan } from 'design-system/lib/TruncatedText';\nimport { useIsOverflow } from 'design-system/lib/useIsOverflow';\n\ninterface TruncatedTextWithTooltipProps extends ComponentPropsWithoutRef<'span'> {\n tooltipProps?: Pick<ComponentProps<typeof Tooltip>, 'side' | 'zIndex' | 'maxWidth'>;\n}\n\n/**\n * Truncates the text if it is too long to fit in the container and shows a tooltip if the text\n * is truncated.\n */\nexport const TruncatedTextWithTooltip: FC<TruncatedTextWithTooltipProps> = ({\n children,\n tooltipProps = {},\n ...props\n}) => {\n const ref = useRef<HTMLSpanElement>(null);\n const { isOverflowWidth } = useIsOverflow(ref);\n\n return (\n <Tooltip\n trigger={\n <OverflowEllipsisSpan {...props} ref={ref}>\n {children}\n </OverflowEllipsisSpan>\n }\n disabled={!isOverflowWidth}\n {...tooltipProps}\n >\n {children}\n </Tooltip>\n );\n};\n\nexport default TruncatedTextWithTooltip;\n"],"mappings":";;;;;;;;;;AAcA,MAAa,4BAA+D,EAC1E,UACA,eAAe,EAAE,EACjB,GAAG,YACC;CACJ,MAAM,MAAM,OAAwB,KAAK;CACzC,MAAM,EAAE,oBAAoB,cAAc,IAAI;AAE9C,QACE,oBAAC,SAAD;EACE,SACE,oBAAC,sBAAD;GAAsB,GAAI;GAAY;GACnC;GACoB,CAAA;EAEzB,UAAU,CAAC;EACX,GAAI;EAEH;EACO,CAAA"}
|
|
File without changes
|
package/dist/lib/color.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { CssColor, PdsColor, opacityOf, transparent, withAlpha };
|
|
1
|
+
import { a as transparent, i as opaqueOver, n as PdsColor, o as withAlpha, r as opacityOf, t as CssColor } from "../color-CrlF3pba.mjs";
|
|
2
|
+
export { CssColor, PdsColor, opacityOf, opaqueOver, transparent, withAlpha };
|
package/dist/lib/color.mjs
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
|
+
import ColorValue from "color";
|
|
1
2
|
//#region lib/color.ts
|
|
2
3
|
const transparent = "transparent";
|
|
3
4
|
const HEX = /^#([0-9a-f]{6})$/i;
|
|
4
5
|
/** Percentage token as a unitless `opacity`; percentage `opacity` is below the browserslist floor. */
|
|
5
6
|
const opacityOf = (amount) => String(Number.parseFloat(amount) / 100);
|
|
6
|
-
|
|
7
|
+
const assertHex = (color, name) => {
|
|
8
|
+
if (!HEX.test(color)) throw new Error(`${name} expects a six-digit hex primitive, received "${color}"`);
|
|
9
|
+
};
|
|
10
|
+
const unit = (amount) => Number.parseFloat(amount) / 100;
|
|
11
|
+
/** Full alpha collapses to `rgb()`; partial alpha stays `rgba()`. */
|
|
7
12
|
const withAlpha = (color, amount) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
assertHex(color, "withAlpha");
|
|
14
|
+
return ColorValue(color).alpha(unit(amount)).rgb().string();
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Source-over composite of `overlay` at `amount` onto `base`, as an opaque `rgb()`.
|
|
18
|
+
* Sticky cells that inherit a translucent wash paint it a second time.
|
|
19
|
+
*/
|
|
20
|
+
const opaqueOver = (overlay, amount, base) => {
|
|
21
|
+
assertHex(overlay, "opaqueOver");
|
|
22
|
+
assertHex(base, "opaqueOver");
|
|
23
|
+
return ColorValue(base).mix(ColorValue(overlay), unit(amount)).rgb().string();
|
|
17
24
|
};
|
|
18
25
|
//#endregion
|
|
19
|
-
export { opacityOf, transparent, withAlpha };
|
|
26
|
+
export { opacityOf, opaqueOver, transparent, withAlpha };
|
|
20
27
|
|
|
21
28
|
//# sourceMappingURL=color.mjs.map
|
package/dist/lib/color.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color.mjs","names":[],"sources":["../../lib/color.ts"],"sourcesContent":["import type { Color } from '@persona/design-tokens';\nimport type { CssPercentage } from 'design-system/variables/semantic';\n\n/**\n * A computed theme colour (not a token primitive). Property-branded rather than `unique symbol`\n * so the brand survives declaration emit.\n */\nexport type CssColor = string & { readonly __pdsCssColor: true };\n\nexport type PdsColor = Color | CssColor;\n\nexport const transparent = 'transparent' as CssColor;\n\nconst HEX = /^#([0-9a-f]{6})$/i;\n\n/** Percentage token as a unitless `opacity`; percentage `opacity` is below the browserslist floor. */\nexport const opacityOf = (amount: CssPercentage): string => String(Number.parseFloat(amount) / 100);\n\
|
|
1
|
+
{"version":3,"file":"color.mjs","names":[],"sources":["../../lib/color.ts"],"sourcesContent":["import ColorValue from 'color';\n\nimport type { Color } from '@persona/design-tokens';\nimport type { CssPercentage } from 'design-system/variables/semantic';\n\n/**\n * A computed theme colour (not a token primitive). Property-branded rather than `unique symbol`\n * so the brand survives declaration emit.\n */\nexport type CssColor = string & { readonly __pdsCssColor: true };\n\nexport type PdsColor = Color | CssColor;\n\nexport const transparent = 'transparent' as CssColor;\n\nconst HEX = /^#([0-9a-f]{6})$/i;\n\n/** Percentage token as a unitless `opacity`; percentage `opacity` is below the browserslist floor. */\nexport const opacityOf = (amount: CssPercentage): string => String(Number.parseFloat(amount) / 100);\n\nconst assertHex = (color: Color, name: string) => {\n if (!HEX.test(color)) {\n throw new Error(`${name} expects a six-digit hex primitive, received \"${color}\"`);\n }\n};\n\nconst unit = (amount: CssPercentage) => Number.parseFloat(amount) / 100;\n\n/** Full alpha collapses to `rgb()`; partial alpha stays `rgba()`. */\nexport const withAlpha = (color: Color, amount: CssPercentage): CssColor => {\n assertHex(color, 'withAlpha');\n return ColorValue(color).alpha(unit(amount)).rgb().string() as CssColor;\n};\n\n/**\n * Source-over composite of `overlay` at `amount` onto `base`, as an opaque `rgb()`.\n * Sticky cells that inherit a translucent wash paint it a second time.\n */\nexport const opaqueOver = (overlay: Color, amount: CssPercentage, base: Color): CssColor => {\n assertHex(overlay, 'opaqueOver');\n assertHex(base, 'opaqueOver');\n return ColorValue(base).mix(ColorValue(overlay), unit(amount)).rgb().string() as CssColor;\n};\n"],"mappings":";;AAaA,MAAa,cAAc;AAE3B,MAAM,MAAM;;AAGZ,MAAa,aAAa,WAAkC,OAAO,OAAO,WAAW,OAAO,GAAG,IAAI;AAEnG,MAAM,aAAa,OAAc,SAAiB;AAChD,KAAI,CAAC,IAAI,KAAK,MAAM,CAClB,OAAM,IAAI,MAAM,GAAG,KAAK,gDAAgD,MAAM,GAAG;;AAIrF,MAAM,QAAQ,WAA0B,OAAO,WAAW,OAAO,GAAG;;AAGpE,MAAa,aAAa,OAAc,WAAoC;AAC1E,WAAU,OAAO,YAAY;AAC7B,QAAO,WAAW,MAAM,CAAC,MAAM,KAAK,OAAO,CAAC,CAAC,KAAK,CAAC,QAAQ;;;;;;AAO7D,MAAa,cAAc,SAAgB,QAAuB,SAA0B;AAC1F,WAAU,SAAS,aAAa;AAChC,WAAU,MAAM,aAAa;AAC7B,QAAO,WAAW,KAAK,CAAC,IAAI,WAAW,QAAQ,EAAE,KAAK,OAAO,CAAC,CAAC,KAAK,CAAC,QAAQ"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as JsonSchema, st as FunctionJsonSchema } from "../jsonSchema-Bl-qzgrr.mjs";
|
|
2
|
+
|
|
3
|
+
//#region lib/customFunctionSchema.d.ts
|
|
4
|
+
declare const RECEIVER_PARAM_KEY = "previous";
|
|
5
|
+
declare const DEFAULT_FUNCTION_CODE = "// Export a default JavaScript function as an ES module.\n// It takes a single argument: an object with a \"previous\" key holding\n// the result of the chain before this function.\nexport default function({ previous }) {\n\n}\n";
|
|
6
|
+
declare const VALID_IDENTIFIER_PATTERN: RegExp;
|
|
7
|
+
declare const INVALID_IDENTIFIER_MESSAGE = "Name can only contain lowercase letters, digits, and underscores (no spaces) and can't start with a digit";
|
|
8
|
+
declare const sanitizeName: (raw: string) => string;
|
|
9
|
+
declare const getRunBlockingError: (code: string, lintErrorCount: number) => string | null;
|
|
10
|
+
declare const getCodeErrorMessage: (code: string, lintErrorCount: number) => string | null;
|
|
11
|
+
declare const isNoArgCodeChainFunction: (schema: FunctionJsonSchema) => boolean;
|
|
12
|
+
declare const NO_ARGS_INPUT_SCHEMA: Record<string, unknown>;
|
|
13
|
+
declare const OUTPUT_TYPE_LABELS: {
|
|
14
|
+
readonly string: "String";
|
|
15
|
+
readonly number: "Number";
|
|
16
|
+
readonly boolean: "Boolean";
|
|
17
|
+
readonly object: "Object";
|
|
18
|
+
readonly array_string: "String[]";
|
|
19
|
+
readonly array_number: "Number[]";
|
|
20
|
+
readonly array_boolean: "Boolean[]";
|
|
21
|
+
readonly array_object: "Object[]";
|
|
22
|
+
};
|
|
23
|
+
type OutputType = keyof typeof OUTPUT_TYPE_LABELS;
|
|
24
|
+
declare const schemaFromOutputType: (outputType: OutputType) => JsonSchema;
|
|
25
|
+
declare const outputTypeFromSchema: (schema: JsonSchema | null | undefined) => OutputType;
|
|
26
|
+
declare const labelFromOutputSchema: (schema: JsonSchema | null | undefined) => string;
|
|
27
|
+
interface ReceiverTypeOption {
|
|
28
|
+
value: string;
|
|
29
|
+
label: string;
|
|
30
|
+
receiverProperty: Record<string, unknown>;
|
|
31
|
+
}
|
|
32
|
+
declare const PRIMITIVE_RECEIVER_TYPE_OPTIONS: ReceiverTypeOption[];
|
|
33
|
+
declare const OBJECT_RECEIVER_TYPE_OPTIONS: ReceiverTypeOption[];
|
|
34
|
+
declare const RECEIVER_TYPE_OPTIONS: ReceiverTypeOption[];
|
|
35
|
+
declare const getBaseSchemaId: (fullId: string) => string;
|
|
36
|
+
declare const receiverSchemaAcceptsNull: (receiverSchema: JsonSchema | null) => boolean;
|
|
37
|
+
declare const receiverPropertyAcceptsNull: (receiverProperty: Record<string, unknown> | null) => boolean;
|
|
38
|
+
declare const withReceiverNullability: (receiverProperty: Record<string, unknown> | null, acceptsNull: boolean) => Record<string, unknown> | null;
|
|
39
|
+
declare const baseReceiverProperty: (receiverProperty: Record<string, unknown> | null) => Record<string, unknown> | null;
|
|
40
|
+
declare const buildReceiverProperty: (receiverSchema: JsonSchema | null) => Record<string, unknown> | null;
|
|
41
|
+
declare const isCreatableReceiverSchema: (receiverSchema: JsonSchema | null | undefined) => boolean;
|
|
42
|
+
declare const getReceiverLabel: (receiverSchema: JsonSchema | null) => string;
|
|
43
|
+
declare const unwrapReceiverSchema: (inputSchema: JsonSchema | null) => JsonSchema | null;
|
|
44
|
+
declare const stripEditorMetadata: (schema: JsonSchema) => JsonSchema;
|
|
45
|
+
declare const buildInputSchema: (receiverProperty: Record<string, unknown> | null) => Record<string, unknown>;
|
|
46
|
+
declare const buildParamMapping: (receiverProperty: Record<string, unknown> | null) => Record<string, (string | number)[]>;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { DEFAULT_FUNCTION_CODE, INVALID_IDENTIFIER_MESSAGE, NO_ARGS_INPUT_SCHEMA, OBJECT_RECEIVER_TYPE_OPTIONS, OUTPUT_TYPE_LABELS, OutputType, PRIMITIVE_RECEIVER_TYPE_OPTIONS, RECEIVER_PARAM_KEY, RECEIVER_TYPE_OPTIONS, ReceiverTypeOption, VALID_IDENTIFIER_PATTERN, baseReceiverProperty, buildInputSchema, buildParamMapping, buildReceiverProperty, getBaseSchemaId, getCodeErrorMessage, getReceiverLabel, getRunBlockingError, isCreatableReceiverSchema, isNoArgCodeChainFunction, labelFromOutputSchema, outputTypeFromSchema, receiverPropertyAcceptsNull, receiverSchemaAcceptsNull, sanitizeName, schemaFromOutputType, stripEditorMetadata, unwrapReceiverSchema, withReceiverNullability };
|
|
49
|
+
//# sourceMappingURL=customFunctionSchema.d.mts.map
|