@persona/design-system 0.7.2 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-Cyo6KCsS.d.mts → Action-B-AiHknZ.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +3 -3
- package/dist/{Badge-BD0Ut46g.mjs → Badge-COqUjFQu.mjs} +2 -2
- package/dist/{Badge-BD0Ut46g.mjs.map → Badge-COqUjFQu.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-CYXkrKXl.d.mts → Breadcrumb-DRFY46ZW.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-CP7eUYUy.d.mts → Breadcrumbs-DUSbT1I7.d.mts} +2 -2
- package/dist/{Breadcrumbs-CrXfUK1V.mjs → Breadcrumbs-DXS7rU7_.mjs} +5 -5
- package/dist/{Breadcrumbs-CrXfUK1V.mjs.map → Breadcrumbs-DXS7rU7_.mjs.map} +1 -1
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-Dhiund3f.d.mts → Button-xZ6DC5XC.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-CMeIZ0BO.d.mts → Calendar-dPmo2dkj.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-CUeM8Lh8.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/{CardV2-M3o4BELp.mjs → CardV2-D9p7D7jX.mjs} +9 -7
- package/dist/{CardV2-M3o4BELp.mjs.map → CardV2-D9p7D7jX.mjs.map} +1 -1
- package/dist/{Checkbox-AjL7ucoR.mjs → Checkbox-DQynkc_I.mjs} +3 -3
- package/dist/{Checkbox-AjL7ucoR.mjs.map → Checkbox-DQynkc_I.mjs.map} +1 -1
- package/dist/{Checkbox-fWj7GkBl.d.mts → Checkbox-DoJpxPEz.d.mts} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-C2b9u955.mjs → Combobox-C_kCY3P3.mjs} +23 -10
- package/dist/Combobox-C_kCY3P3.mjs.map +1 -0
- package/dist/{Combobox-CC-Osr57.d.mts → Combobox-D7hyf-jA.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-Evo0FRxP.d.mts → ComboboxBase-BMCY6O7Y.d.mts} +8 -5
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-CvAc0FT3.d.mts → ComboboxMultiSelect-L0KYMkmm.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-CBm7x0oh.d.mts → ComboboxSingleSelect-v5oNrJ7M.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-D_2qMK4y.d.mts → CompactBar-DjFaUAsN.d.mts} +4 -4
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs → ConfigFormGroup-DLOZOuLf.mjs} +2 -2
- package/dist/{ConfigFormGroup-Cz7GeTYd.mjs.map → ConfigFormGroup-DLOZOuLf.mjs.map} +1 -1
- package/dist/{ControlBar-B7j9sOr9.d.mts → ControlBar-Cegjxa6-.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-Dk5ykLdr.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-IgiUI3Wj.mjs → DatePicker-C7z1yodK.mjs} +77 -42
- package/dist/DatePicker-C7z1yodK.mjs.map +1 -0
- package/dist/{DatePicker-C3xNSkPG.d.mts → DatePicker-Dtvv0V45.d.mts} +2 -2
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-C4QKMo2a.d.mts → DateRangePicker-HPYsa4wC.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-CQrFHOIW.mjs} +3 -3
- package/dist/{DropdownButton-BWiXLMfD.mjs.map → DropdownButton-CQrFHOIW.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-DL5ye-0m.d.mts → DropdownMenu-D1qvgGTZ.d.mts} +2 -2
- package/dist/{DropdownMenu-CuKSNxc9.mjs → DropdownMenu-rm9Nnxn7.mjs} +7 -2
- package/dist/DropdownMenu-rm9Nnxn7.mjs.map +1 -0
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-BA0-m_Wp.d.mts → ErrorProps-B8-Mqf1W.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-bKxrF1gC.d.mts → FieldRegistry-0LmSQ-jc.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-DhlBLWxw.d.mts → FilterBar-BMM4Swbt.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 +1 -1
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FormControl-DnfZTli_.mjs → FormControl-DXrxoJLl.mjs} +3 -3
- package/dist/{FormControl-DnfZTli_.mjs.map → FormControl-DXrxoJLl.mjs.map} +1 -1
- package/dist/{FormControl-D5xyPkST.d.mts → FormControl-Dg8doZq2.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-BJZUj6jg.d.mts → FormField-BeLigf9j.d.mts} +2 -2
- package/dist/{FormField-74TPV8-8.mjs → FormField-Crp3F-hv.mjs} +16 -16
- package/dist/{FormField-74TPV8-8.mjs.map → FormField-Crp3F-hv.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-DOyYYsvk.mjs → Grid-eMLuyRzV.mjs} +1 -1
- package/dist/{Grid-DOyYYsvk.mjs.map → Grid-eMLuyRzV.mjs.map} +1 -1
- package/dist/{Header-BqEKkEp5.d.mts → Header-DxJ6TfPw.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-mOVSuEB8.d.mts → HelperTooltip-DcyrpEZI.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-CN3gl0ny.mjs → HoverCopyableField-12bBuG-d.mjs} +3 -3
- package/dist/{HoverCopyableField-CN3gl0ny.mjs.map → HoverCopyableField-12bBuG-d.mjs.map} +1 -1
- package/dist/{IconButton-CjPFhpVG.d.mts → IconButton-BUMMN-gH.d.mts} +2 -2
- package/dist/{IconButton-CqTPMhjV.mjs → IconButton-CCLMYWVN.mjs} +1 -1
- package/dist/{IconButton-CqTPMhjV.mjs.map → IconButton-CCLMYWVN.mjs.map} +1 -1
- 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-CZ_6KWDN.d.mts → Input-2N2e5JCf.d.mts} +3 -3
- package/dist/{Input-C_3QwAAt.mjs → Input-Cl4o41k4.mjs} +7 -3
- package/dist/Input-Cl4o41k4.mjs.map +1 -0
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-lag6BM5h.d.mts → InputProps-TWzig3QO.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/Link-I9Bklen-.mjs +79 -0
- package/dist/Link-I9Bklen-.mjs.map +1 -0
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-nYAdYVQx.d.mts → ListBox-BcoXOt73.d.mts} +3 -3
- package/dist/{ListBox-D4j4LCT3.mjs → ListBox-sqeLBiKS.mjs} +33 -16
- package/dist/ListBox-sqeLBiKS.mjs.map +1 -0
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +2 -2
- package/dist/{LoadingShimmer-Dizk2sZu.mjs → LoadingShimmer-dRSkdlqD.mjs} +13 -8
- package/dist/LoadingShimmer-dRSkdlqD.mjs.map +1 -0
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-k4ZPtjN0.d.mts → LogicRow-DXywXdYt.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-BekLwm8w.d.mts} +3 -3
- package/dist/{Menu-Cd6oxjAe.mjs → Menu-CwlI7BMN.mjs} +1 -1
- package/dist/{Menu-Cd6oxjAe.mjs.map → Menu-CwlI7BMN.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{Modal-BN0K8QXi.mjs → Modal-CMiFcXC9.mjs} +6 -4
- package/dist/Modal-CMiFcXC9.mjs.map +1 -0
- package/dist/{Modal-Dwq-QBw_.d.mts → Modal-ymxlGYKt.d.mts} +2 -2
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-BTtm3hRQ.mjs → PageHeader-D_0p7UK_.mjs} +2 -2
- package/dist/{PageHeader-BTtm3hRQ.mjs.map → PageHeader-D_0p7UK_.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageSelector-CeGC84N1.d.mts → PageSelector-Bxulu6vU.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-CPd4mSnw.mjs → Pagination-Co9CfyFQ.mjs} +5 -5
- package/dist/{Pagination-CPd4mSnw.mjs.map → Pagination-Co9CfyFQ.mjs.map} +1 -1
- package/dist/{Pagination-H-CcXrCD.d.mts → Pagination-Dg-4O7F7.d.mts} +2 -2
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Dz4woKd8.mjs → Pii-JGV9gP95.mjs} +2 -2
- package/dist/{Pii-Dz4woKd8.mjs.map → Pii-JGV9gP95.mjs.map} +1 -1
- package/dist/{PillShell-BQC-k7Rl.d.mts → PillShell-BA7KK1zS.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-opVa9Xhc.mjs → Popover-ZAj03lws.mjs} +15 -2
- package/dist/Popover-ZAj03lws.mjs.map +1 -0
- package/dist/{ProgressIndicator-3A4Aqci6.mjs → ProgressIndicator-CQg08vuA.mjs} +3 -3
- package/dist/ProgressIndicator-CQg08vuA.mjs.map +1 -0
- package/dist/{ProgressIndicator-DbOLOaxJ.d.mts → ProgressIndicator-D85HQGSx.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-CHtBNv8B.d.mts → PseudoClassProps-BHs8TX_3.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-Cxt89w8s.mjs → Radio-CYV290JI.mjs} +2 -2
- package/dist/{Radio-Cxt89w8s.mjs.map → Radio-CYV290JI.mjs.map} +1 -1
- package/dist/{RadioGroup-BjrfVPZQ.d.mts → RadioGroup-Cq3KV1TN.d.mts} +1 -1
- package/dist/{RadioGroup-B6Cg1kdm.mjs → RadioGroup-lWMMtu9V.mjs} +2 -2
- package/dist/{RadioGroup-B6Cg1kdm.mjs.map → RadioGroup-lWMMtu9V.mjs.map} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-CPnLaM-J.d.mts → RangeCalendar-Mh7h74Tp.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-B3IU1jb0.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-v9AG9fYa.d.mts → RouterLink-CwAqTLC2.d.mts} +2 -2
- package/dist/RouterLink.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-CIjwmT8R.d.mts → SearchInput-BGyUUcoz.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-BcwfLuHA.mjs → SegmentedControl-BEbIcV3g.mjs} +3 -3
- package/dist/SegmentedControl-BEbIcV3g.mjs.map +1 -0
- package/dist/{SegmentedControl-Crr_aHAs.d.mts → SegmentedControl-DgDabSgr.d.mts} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-CJQeuCiF.d.mts → Select-wqTtGyga.d.mts} +3 -3
- package/dist/{Select-BstCz8P1.mjs → Select-yC2t_gZb.mjs} +10 -8
- package/dist/Select-yC2t_gZb.mjs.map +1 -0
- package/dist/Select.d.mts +1 -1
- package/dist/{Spinner-DplDSBqf.mjs → Spinner-BlAg8_OX.mjs} +1 -1
- package/dist/{Spinner-DplDSBqf.mjs.map → Spinner-BlAg8_OX.mjs.map} +1 -1
- package/dist/{Stack-ChsImaEY.mjs → Stack-Bkn0TUDe.mjs} +1 -1
- package/dist/{Stack-ChsImaEY.mjs.map → Stack-Bkn0TUDe.mjs.map} +1 -1
- package/dist/{Stack-RVptVTVi.d.mts → Stack-CYqjBXe8.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator-DT2zNbkp.mjs +315 -0
- package/dist/StatusIndicator-DT2zNbkp.mjs.map +1 -0
- package/dist/{Sticker-C3Eb13OQ.mjs → Sticker-BLbgJxcH.mjs} +5 -8
- package/dist/Sticker-BLbgJxcH.mjs.map +1 -0
- package/dist/{Sticker-BVX38LKi.d.mts → Sticker-BmyKaxwx.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-Bj84q1Mr.mjs} +4 -7
- package/dist/{TabBar-BepWbJHz.mjs.map → TabBar-Bj84q1Mr.mjs.map} +1 -1
- package/dist/{Table-DFiSWroB.d.mts → Table-DhdHUQ8V.d.mts} +1 -1
- package/dist/{Table-B1gRr2XT.mjs → Table-WqNfjasd.mjs} +22 -3
- package/dist/Table-WqNfjasd.mjs.map +1 -0
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-Di9JYHDN.d.mts → TableBody-qoSvQDds.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-DAQ3Plqx.mjs → TableBox-obl64W5Y.mjs} +22 -17
- package/dist/TableBox-obl64W5Y.mjs.map +1 -0
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-D6h1X5ph.d.mts → TableBoxCell-DzYMx4Ju.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +3 -3
- package/dist/{TableBoxRow-C6l6J4mq.d.mts → TableBoxRow-B4rFCvWK.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-CsLN1b1J.d.mts → TableBoxRowActions-qMKcVuTL.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-WSDXw79Q.d.mts → TableCell-CGPQRc5g.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-BxuPCUQS.mjs → TableControls-RS_ozBsI.mjs} +207 -66
- package/dist/TableControls-RS_ozBsI.mjs.map +1 -0
- package/dist/{TableControls-cswMgBAr.d.mts → TableControls-WP78qtET.d.mts} +4 -3
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-Cbh8wear.d.mts → TableControlsContext-DZIZSyfX.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CkL1fEg2.d.mts → TableHead-36j-_oyn.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-K9Ry6YqO.d.mts → TableHeaderCell-C7gp9j1X.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-CYRGIFEl.d.mts → TableLayout-CQqIV0vj.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-DMHlo1eg.d.mts → TableRow-BJZM8I8i.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-Dwy_9FBz.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-_LtE-PRY.mjs → TechnicalSticker-CL0zkOAj.mjs} +1 -1
- package/dist/{TechnicalSticker-_LtE-PRY.mjs.map → TechnicalSticker-CL0zkOAj.mjs.map} +1 -1
- package/dist/{Text-B69gp3X_.d.mts → Text-DbtTa83E.d.mts} +3 -3
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-Cjsdl07-.d.mts → TextArea-CbxF6u7z.d.mts} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs → TextArea-CfZr5Sk4.mjs} +2 -2
- package/dist/{TextArea-CcxltuBh.mjs.map → TextArea-CfZr5Sk4.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-DDzKLCeX.d.mts → TextUnderlineTooltip-BgLQuK38.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-B5sSdb_q.d.mts → Toggle-BYMLrPXk.d.mts} +1 -1
- package/dist/{Toggle-DWbJOwf3.mjs → Toggle-D4ZaUcVt.mjs} +9 -4
- package/dist/Toggle-D4ZaUcVt.mjs.map +1 -0
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-x1pFf-Mj.d.mts → Tooltip-4pshzB_i.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BE8FuEQm.d.mts → TruncatedText-O7hE3w0O.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +23 -0
- package/dist/VersionHistoryItem-CIcEgl0K.d.mts +54 -0
- package/dist/VersionHistoryItem.d.mts +2 -0
- package/dist/WizardModal.d.mts +2 -2
- package/dist/{accordionTitleTypography-BYhjSN9t.d.mts → accordionTitleTypography-CNB1w3kn.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/assertNever.d.mts +5 -0
- package/dist/{codec-BcgsGCHE.d.mts → codec-BXVBsB8Y.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-LH7zKfKo.d.mts → color-3UO63ocQ.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 +1 -1
- 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/parser/method-chain/types.d.mts +2 -105
- package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -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/components/WizardModal/index.mjs +4 -4
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BpwnTzcv.d.mts → constants-BOxzLX-O.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-Bst12Uxr.d.mts → createPath-OeTC9kvS.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-filter-CZeChs9T.mjs → date-filter-BnzR6NxT.mjs} +1 -1
- package/dist/{date-filter-CZeChs9T.mjs.map → date-filter-BnzR6NxT.mjs.map} +1 -1
- package/dist/{date-range-rule-value-C4ir2Y8W.d.mts → date-range-rule-value-BRp5Bi7R.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-CDBtV0ET.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-CqvQ190x.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-BXSe73Xn.d.mts} +2 -2
- package/dist/{index-c0aXmZV9.d.mts → index-CyAok7As.d.mts} +2 -2
- package/dist/{index-BXdrzR0c.d.mts → index-wKK9f9La.d.mts} +3 -3
- 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-C6cyiqm2.d.mts} +3 -3
- package/dist/inputFields.d.mts +10 -10
- package/dist/{intersperse-Bxcrxj2Q.mjs → intersperse-Df9zw7Bk.mjs} +1 -1
- package/dist/{intersperse-Bxcrxj2Q.mjs.map → intersperse-Df9zw7Bk.mjs.map} +1 -1
- package/dist/{jsonSchema-DmdZYC4a.d.mts → jsonSchema-CfGi1bzI.d.mts} +34 -2
- package/dist/lib/PDSProvider.d.mts +2 -2
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/chainTypes.d.mts +17 -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 -237
- 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 +173 -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/{message-CKSLIKF0.d.mts → message-CblP0EjG.d.mts} +1 -1
- package/dist/methodChain-DAQxLgxt.mjs +241 -0
- package/dist/methodChain-DAQxLgxt.mjs.map +1 -0
- package/dist/methodChain-Pk1C3i_E.d.mts +66 -0
- package/dist/methodChainTypes-CqWzfx0M.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-CoXL5Hv6.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/{palette-CMOEyNPH.d.mts → palette-CxXUs1Fu.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +5 -5
- package/dist/patterns/PageLayout/index.mjs +2 -2
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/{semantic-BXwNUd4a.d.mts → semantic-CFMBsuiJ.d.mts} +2 -2
- package/dist/{semanticColor-Cru2gSys.d.mts → semanticColor-DuJCmDrH.d.mts} +3 -3
- package/dist/{text-CxIup7HJ.d.mts → text-D8HPjiEX.d.mts} +1 -1
- package/dist/{theme-CW6qlONZ.d.mts → theme-BcaR-Au5.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/{types-ChkiGhjQ.d.mts → types-BCiq4hGv.d.mts} +1 -1
- package/dist/types-BGMmkUpy.d.mts +105 -0
- package/dist/{types-BEjWTkZV.d.mts → types-C4WUSW3e.d.mts} +7 -2
- package/dist/{types-B-stjYNc.d.mts → types-CkpixGWr.d.mts} +1 -1
- package/dist/{types-YojUycQK.d.mts → types-Cl-w8tYc.d.mts} +1 -1
- package/dist/{types-3iEDsymE.d.mts → types-CoVZwrMW.d.mts} +2 -2
- package/dist/{types-g-aqbnek.d.mts → types-DgyGecdM.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/{url-state-CHK2N2fA.d.mts → url-state-8j_ef8Uf.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-B26e5iUx.d.mts → useFilterStateV2-CW6eght1.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-DPFClB5h.d.mts → useFormField-CLRZkUZt.d.mts} +2 -2
- package/dist/{useFormField-BzhMbl5P.mjs → useFormField-XezSxho_.mjs} +2 -2
- package/dist/{useFormField-BzhMbl5P.mjs.map → useFormField-XezSxho_.mjs.map} +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs → useFormGroup-C7Cax8zO.mjs} +1 -1
- package/dist/{useFormGroup-CH3kiXoa.mjs.map → useFormGroup-C7Cax8zO.mjs.map} +1 -1
- package/dist/{useLocationPathname-CnRd_Rzn.d.mts → useLocationPathname-DH5Tdq5X.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-DWlG5vhl.d.mts → useTableBoxDragAndDrop-Da4TiYBT.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-DcsbI71T.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/{validation-B-Om4ANo.d.mts → validation-BgwNghi2.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-BiyhB8zt.d.mts → value-control-resolver-B0HDRxRN.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/package.json +23 -4
- package/skills/ui-authoring/COMPONENTS.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/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/lib/methodChain.mjs.map +0 -1
- /package/dist/{index--p6oQT9I.d.mts → index-B24gUwOx.d.mts} +0 -0
- /package/dist/{index-BCh-G39Y2.d.mts → index-BFnNtGdX.d.mts} +0 -0
- /package/dist/{index-BMBcfD_R.d.mts → index-BNRXMhlr.d.mts} +0 -0
- /package/dist/{index-BO_854F2.d.mts → index-BPiqSRRl.d.mts} +0 -0
- /package/dist/{index-BOn0AAue.d.mts → index-BYd3Btr1.d.mts} +0 -0
- /package/dist/{index-BcsXXrHq.d.mts → index-B_BBnMou.d.mts} +0 -0
- /package/dist/{index-BwFl_eS0.d.mts → index-Bt4QNofW.d.mts} +0 -0
- /package/dist/{index-C-lwXyQ6.d.mts → index-C6HcjJiY.d.mts} +0 -0
- /package/dist/{index-C1o2TFfS.d.mts → index-CEqOS-7M.d.mts} +0 -0
- /package/dist/{index-C3kE54DD.d.mts → index-CIABef8t.d.mts} +0 -0
- /package/dist/{index-CREkvfw9.d.mts → index-CTHojwxd.d.mts} +0 -0
- /package/dist/{index-CRo77wc3.d.mts → index-CjDodOH2.d.mts} +0 -0
- /package/dist/{index-CfCYi7PF.d.mts → index-Cm-1i165.d.mts} +0 -0
- /package/dist/{index-CuYZJcK3.d.mts → index-DB7t8whN.d.mts} +0 -0
- /package/dist/{index-DCTy4zg0.d.mts → index-DBGd4WeR.d.mts} +0 -0
- /package/dist/{index-DWIh4oP5.d.mts → index-DGsJdI5l.d.mts} +0 -0
- /package/dist/{index-De7MV8-j.d.mts → index-DWfPppPU.d.mts} +0 -0
- /package/dist/{index-Dflz2i1X.d.mts → index-DeVKzGce.d.mts} +0 -0
- /package/dist/{index-DgJfEygr.d.mts → index-DedbSZMv.d.mts} +0 -0
- /package/dist/{index-DkrC-i1D.d.mts → index-Deol7ZWO.d.mts} +0 -0
- /package/dist/{index-DrK1_jKY.d.mts → index-Jh0C5PIG.d.mts} +0 -0
- /package/dist/{index-Es5nKSSL.d.mts → index-NKYLt_R9.d.mts} +0 -0
- /package/dist/{index-Wc1llEvP.d.mts → index-VWno75SQ.d.mts} +0 -0
- /package/dist/{index-bHnO4ZKt.d.mts → index-fxXoW-qc.d.mts} +0 -0
- /package/dist/{index-dhjtMp5F.d.mts → index-gVcIuWLd.d.mts} +0 -0
- /package/dist/{index-xmouCHX9.d.mts → index-zeAhjge4.d.mts} +0 -0
package/dist/helpers.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CheckboxProps } from "./Checkbox-
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-DoJpxPEz.mjs";
|
|
2
2
|
import { DataTableColumnFormat, DataTableColumnImageFormat, DataTableColumnPiiFormat, DataTableColumnStringFormat, DateConfig, DatetimeConfig, RenderValueStickerFormatConfig } from "./components/DataTable/types.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as TableHeaderCell } from "./TableHeaderCell-
|
|
1
|
+
import { t as TableHeaderCell } from "./TableHeaderCell-C7gp9j1X.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-BXSe73Xn.d.mts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as FilterBarProps$1 } from "./FilterBar-
|
|
1
|
+
import { n as FilterBarProps$1 } from "./FilterBar-BMM4Swbt.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-CyAok7As.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 } from "./ListBox-BcoXOt73.mjs";
|
|
2
|
+
import { n as LogicRowProps } from "./LogicRow-DXywXdYt.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";
|
|
@@ -52,4 +52,4 @@ declare const ListBox: {
|
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
export { ListBox as t };
|
|
55
|
-
//# sourceMappingURL=index-
|
|
55
|
+
//# sourceMappingURL=index-wKK9f9La.d.mts.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-
|
|
1
|
+
import { a as Root, i as HeaderProps, n as Header, o as Title, r as HeaderContainer, s as TitleContainer, t as ActionsContainer } from "./Header-DxJ6TfPw.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-BGyUUcoz.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-B0HDRxRN.mjs";
|
|
2
|
+
import { t as FilterBar } from "./FilterBar-BMM4Swbt.mjs";
|
|
3
|
+
import { t as FilterBarProps } from "./index-CyAok7As.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-BA7KK1zS.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 isValuelessOperator, f as reconcileValueForOperator, l as isCompleteDateRange, r as emptyValueForRule, s as getOperatorsForField, u as isRangeOperator } from "./operators-
|
|
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-CDBtV0ET.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-C4WUSW3e.mjs";
|
|
3
|
+
import { t as resolveDateRangeRuleValue } from "./date-range-rule-value-BRp5Bi7R.mjs";
|
|
4
|
+
import { n as RawFieldInfo, r as buildFieldRegistry, t as FieldRegistry } from "./FieldRegistry-0LmSQ-jc.mjs";
|
|
5
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-B0HDRxRN.mjs";
|
|
6
|
+
import { t as FilterBar } from "./FilterBar-BMM4Swbt.mjs";
|
|
7
|
+
import { t as FilterBarProps } from "./index-CyAok7As.mjs";
|
|
8
|
+
import { a as useFilterBarSize, i as FilterSizeTokens, t as FILTER_SIZE_TOKENS } from "./filter-size-context-CqvQ190x.mjs";
|
|
9
|
+
import { n as PillShellProps, t as PillShell } from "./PillShell-BA7KK1zS.mjs";
|
|
10
|
+
import { a as getDefaultOperatorForType, c as getOperatorsForType, d as isValuelessOperator, f as reconcileValueForOperator, l as isCompleteDateRange, r as emptyValueForRule, s as getOperatorsForField, u as isRangeOperator } from "./operators-CoXL5Hv6.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-8j_ef8Uf.mjs";
|
|
12
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-CW6eght1.mjs";
|
|
13
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-BgwNghi2.mjs";
|
|
14
|
+
import { t as ValueControlProps } from "./types-CoVZwrMW.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-BHs8TX_3.mjs";
|
|
2
|
+
import { t as ErrorProps } from "./ErrorProps-B8-Mqf1W.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-C6cyiqm2.d.mts.map
|
package/dist/inputFields.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as CheckboxProps } from "./Checkbox-
|
|
2
|
-
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-
|
|
3
|
-
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-
|
|
4
|
-
import { n as FormFieldBaseProps } from "./FormField-
|
|
5
|
-
import { a as InputProps } from "./Input-
|
|
6
|
-
import { n as RadioGroupProps } from "./RadioGroup-
|
|
7
|
-
import { i as SegmentedControlProps } from "./SegmentedControl-
|
|
8
|
-
import { i as SelectProps } from "./Select-
|
|
9
|
-
import { t as TextAreaProps } from "./TextArea-
|
|
10
|
-
import { n as ToggleProps } from "./Toggle-
|
|
1
|
+
import { n as CheckboxProps } from "./Checkbox-DoJpxPEz.mjs";
|
|
2
|
+
import { n as ComboboxMultiSelectProps } from "./ComboboxMultiSelect-L0KYMkmm.mjs";
|
|
3
|
+
import { n as ComboboxSingleSelectProps } from "./ComboboxSingleSelect-v5oNrJ7M.mjs";
|
|
4
|
+
import { n as FormFieldBaseProps } from "./FormField-BeLigf9j.mjs";
|
|
5
|
+
import { a as InputProps } from "./Input-2N2e5JCf.mjs";
|
|
6
|
+
import { n as RadioGroupProps } from "./RadioGroup-Cq3KV1TN.mjs";
|
|
7
|
+
import { i as SegmentedControlProps } from "./SegmentedControl-DgDabSgr.mjs";
|
|
8
|
+
import { i as SelectProps } from "./Select-wqTtGyga.mjs";
|
|
9
|
+
import { t as TextAreaProps } from "./TextArea-CbxF6u7z.mjs";
|
|
10
|
+
import { n as ToggleProps } from "./Toggle-BYMLrPXk.mjs";
|
|
11
11
|
import * as _$react from "react";
|
|
12
12
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intersperse-
|
|
1
|
+
{"version":3,"file":"intersperse-Df9zw7Bk.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-CfGi1bzI.d.mts.map
|
|
@@ -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-BcaR-Au5.mjs";
|
|
2
|
+
import { n as RouterAdapter } from "../types-CkpixGWr.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-O7hE3w0O.mjs";
|
|
2
2
|
export { OverflowEllipsisSpan, TruncatedText, TruncatedText as default, TruncatedTextProps };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as JsonSchema } from "../jsonSchema-CfGi1bzI.mjs";
|
|
2
|
+
import { n as Chain } from "../methodChainTypes-CqWzfx0M.mjs";
|
|
3
|
+
import { Option } from "./schemaOptions.mjs";
|
|
4
|
+
|
|
5
|
+
//#region lib/chainTypes.d.ts
|
|
6
|
+
interface ChainRoot {
|
|
7
|
+
chain: Chain;
|
|
8
|
+
label: string;
|
|
9
|
+
schema: JsonSchema;
|
|
10
|
+
}
|
|
11
|
+
interface PossibleChainSchema extends Option {
|
|
12
|
+
parentSchema: JsonSchema;
|
|
13
|
+
returnType: string;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { ChainRoot, PossibleChainSchema };
|
|
17
|
+
//# sourceMappingURL=chainTypes.d.mts.map
|
|
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-3UO63ocQ.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-CfGi1bzI.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
|