@persona/design-system 0.10.7 → 0.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/{Action-BLMJwLBV.d.mts → Action-CHWYwpYR.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 +2 -2
- package/dist/{Badge-8YzapjWf.mjs → Badge-BCdsVKuj.mjs} +2 -2
- package/dist/{Badge-8YzapjWf.mjs.map → Badge-BCdsVKuj.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-chGXhl3V.d.mts → Breadcrumb-uK4v6_P1.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-ChKWIuRq.d.mts → Breadcrumbs-3MtvzTPi.d.mts} +2 -2
- package/dist/{Breadcrumbs-Dft2TR4v.mjs → Breadcrumbs-CMf3Uvow.mjs} +4 -4
- package/dist/{Breadcrumbs-Dft2TR4v.mjs.map → Breadcrumbs-CMf3Uvow.mjs.map} +1 -1
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-B79_aXfC.d.mts → Button-DjD8QxcY.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-50D7poM_.d.mts → Calendar-DRJljp8S.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/CalendarCell.d.mts +1 -1
- package/dist/CalendarGrid.d.mts +1 -1
- package/dist/{Card-DOIqF954.d.mts → Card-DiUHtYg_.d.mts} +3 -3
- package/dist/Card.d.mts +1 -1
- package/dist/CardGrouping.d.mts +2 -2
- package/dist/{CardV2-BRJbRSts.mjs → CardV2-ACI5RIzF.mjs} +5 -5
- package/dist/{CardV2-BRJbRSts.mjs.map → CardV2-ACI5RIzF.mjs.map} +1 -1
- package/dist/{Checkbox-EgYclGfH.d.mts → Checkbox-Clt9mCTk.d.mts} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/{CheckboxGroupField-Cw-1UxIW.d.mts → CheckboxGroupField-DnVqlpwi.d.mts} +3 -3
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-DQxaOCLA.mjs → Combobox-Gb_j1dg6.mjs} +5 -5
- package/dist/{Combobox-DQxaOCLA.mjs.map → Combobox-Gb_j1dg6.mjs.map} +1 -1
- package/dist/{Combobox-BkDYZlUh.d.mts → Combobox-fYZjpn5-.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-1Xy4pnRV.d.mts → ComboboxBase-Mb8HyeAI.d.mts} +6 -6
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-DHf7NK7Z.d.mts → ComboboxMultiSelect-C87lkXr7.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-Ble5PcXQ.d.mts → ComboboxSingleSelect-CIYakRW5.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DmoFq5i6.d.mts → CompactBar-BLZZWtIE.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ControlBar-dqzVo6e6.d.mts → ControlBar-B3Jn8G0k.d.mts} +6 -5
- package/dist/ControlBar.d.mts +1 -1
- package/dist/{DataTable-Cblw6bLk.d.mts → DataTable-Bf1WDY0z.d.mts} +6 -6
- package/dist/{DataTable-B7QqP6YU.mjs → DataTable-CIZJ1vO8.mjs} +10 -10
- package/dist/{DataTable-B7QqP6YU.mjs.map → DataTable-CIZJ1vO8.mjs.map} +1 -1
- package/dist/DataTable.d.mts +1 -1
- package/dist/{DateField-CbTxDzYF.d.mts → DateField-BIPqfQzC.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-1BADH9Pi.d.mts → DatePicker-BdOqWdwx.d.mts} +2 -2
- package/dist/{DatePicker-CHaNe2Es.mjs → DatePicker-C9redLBr.mjs} +5 -5
- package/dist/{DatePicker-CHaNe2Es.mjs.map → DatePicker-C9redLBr.mjs.map} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-fq-_pFpg.d.mts → DateRangePicker-DlHC2q--.d.mts} +3 -3
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +2 -2
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-BiFRlSVD.mjs → DropdownButton-DpLG-cIj.mjs} +3 -3
- package/dist/{DropdownButton-BiFRlSVD.mjs.map → DropdownButton-DpLG-cIj.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-DjdNBJqP.d.mts → DropdownMenu-DVxXQDRC.d.mts} +2 -2
- package/dist/{DropdownMenu-Q8S-9rXm.mjs → DropdownMenu-c8XK2Lr4.mjs} +2 -2
- package/dist/{DropdownMenu-Q8S-9rXm.mjs.map → DropdownMenu-c8XK2Lr4.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-D4G9EWX2.d.mts → ErrorProps-4Ohsinrf.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-CPr7YoG5.d.mts → FieldRegistry-C2NVPhMO.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-DPCPfr4_.d.mts → FilterBar-BE_gBM0H.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -1
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/{FloatingActionBar-u3TJcigs.d.mts → FloatingActionBar-BUgSKimy.d.mts} +1 -1
- package/dist/FloatingActionBar.d.mts +1 -1
- package/dist/{FloatingToolbar-Df90f7Dm.mjs → FloatingToolbar-DLRaE0o7.mjs} +3 -3
- package/dist/{FloatingToolbar-Df90f7Dm.mjs.map → FloatingToolbar-DLRaE0o7.mjs.map} +1 -1
- package/dist/{FormControl-D8vpeAPI.d.mts → FormControl-BQe3GRhi.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +1 -1
- package/dist/{FormField-C6vp1Vfe.d.mts → FormField-BW5uMzId.d.mts} +2 -2
- package/dist/{FormField-BStxmlZT.mjs → FormField-Cf1VMvoa.mjs} +7 -7
- package/dist/{FormField-BStxmlZT.mjs.map → FormField-Cf1VMvoa.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-C9oYPBLv.d.mts → Header-CV0Lcf0C.d.mts} +1 -1
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-jHTdkLQq.d.mts → HelperTooltip-BNM3pTM-.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +2 -2
- package/dist/{HoverCopyableField-CW7Jxmni.mjs → HoverCopyableField-XHC_n9tp.mjs} +2 -2
- package/dist/{HoverCopyableField-CW7Jxmni.mjs.map → HoverCopyableField-XHC_n9tp.mjs.map} +1 -1
- package/dist/{I18nContext-DzV-RDIh.d.mts → I18nContext-Dt5VraO8.d.mts} +2 -2
- package/dist/I18nContext.d.mts +1 -1
- package/dist/{IconButton-CaEvsrOn.d.mts → IconButton-C_ReZm8v.d.mts} +2 -2
- package/dist/{IconButton-DftINsp7.mjs → IconButton-DxHB2g80.mjs} +2 -2
- package/dist/{IconButton-DftINsp7.mjs.map → IconButton-DxHB2g80.mjs.map} +1 -1
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/IndexTableLayout.d.mts +5 -5
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-DQ2J9wlC.d.mts → Input-DH-5dKor.d.mts} +3 -3
- package/dist/{Input-DtO3qMnE.mjs → Input-RHXujO9u.mjs} +2 -2
- package/dist/{Input-DtO3qMnE.mjs.map → Input-RHXujO9u.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-DrG94eFF.d.mts → InputProps-B363l4_k.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/{Inserter-CZeKlPqj.d.mts → Inserter-BtUatmsd.d.mts} +1 -1
- package/dist/Inserter.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/{Link-DKYmdL9t.mjs → Link-D_kCyLYX.mjs} +2 -2
- package/dist/{Link-DKYmdL9t.mjs.map → Link-D_kCyLYX.mjs.map} +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-CDG0EAPg.mjs → ListBox-BZp6exb8.mjs} +6 -6
- package/dist/{ListBox-CDG0EAPg.mjs.map → ListBox-BZp6exb8.mjs.map} +1 -1
- package/dist/{ListBox-DxbXE_EE.d.mts → ListBox-DxOACf6N.d.mts} +3 -3
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-DVLggscv.d.mts → ListBoxField-CgnDuhUw.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/{LogicRow-DG06PsUe.d.mts → LogicRow-Dv_1G1TC.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/{Menu-EIT_MwK6.mjs → Menu-BVn1jh46.mjs} +2 -2
- package/dist/{Menu-EIT_MwK6.mjs.map → Menu-BVn1jh46.mjs.map} +1 -1
- package/dist/{Menu-Bq6Lij2L.d.mts → Menu-BfjvH8mr.d.mts} +3 -3
- package/dist/Menu.d.mts +1 -1
- package/dist/{Modal-kEgKwLg4.d.mts → Modal-CujB7DuB.d.mts} +6 -3
- package/dist/{Modal-BBlilB-B.mjs → Modal-De5_bPJ_.mjs} +49 -41
- package/dist/Modal-De5_bPJ_.mjs.map +1 -0
- package/dist/Modal.d.mts +1 -1
- package/dist/PageHeader-7_Hf6rHl.mjs +81 -0
- package/dist/PageHeader-7_Hf6rHl.mjs.map +1 -0
- package/dist/{PageHeader-BGGhOS81.d.mts → PageHeader-UPiqJpIF.d.mts} +12 -4
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageLayout-B_LKPZD8.d.mts → PageLayout-BdVM37bV.d.mts} +1 -1
- package/dist/PageLayout.d.mts +1 -1
- package/dist/{PageLayoutFrame-uf17F41p.d.mts → PageLayoutFrame-4QGs7x-t.d.mts} +1 -1
- package/dist/PageLayoutFrame.d.mts +1 -1
- package/dist/{PageSelector-CLeG2gFh.d.mts → PageSelector-B5CcAzss.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-y3kn2X_A.d.mts → Pagination-CCKuudiz.d.mts} +2 -2
- package/dist/{Pagination-C8hPOu0l.mjs → Pagination-DMH2IaV0.mjs} +5 -5
- package/dist/{Pagination-C8hPOu0l.mjs.map → Pagination-DMH2IaV0.mjs.map} +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Bvh_kfGN.mjs → Pii-24D_nSRQ.mjs} +2 -2
- package/dist/{Pii-Bvh_kfGN.mjs.map → Pii-24D_nSRQ.mjs.map} +1 -1
- package/dist/{PillShell-Clv4b-2w.d.mts → PillShell-B7Bm-dsE.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{ProgressIndicator-tVvf0cY5.d.mts → ProgressIndicator-BoB5JOfV.d.mts} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-D-sdJdnG.d.mts → PseudoClassProps-CIuO49a4.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{RadioGroup-9AnTQbh9.d.mts → RadioGroup-D_z37ZOU.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-D86xh2yV.d.mts → RangeCalendar-CLCp70w6.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +2 -2
- package/dist/{RouterContext-Bgg29ZJo.d.mts → RouterContext-DchdVyIX.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-CMCsV5H-.d.mts → RouterLink-B6ikC5Kq.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-NlIspWun.d.mts → SearchInput-D42v7MLp.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-C4C5ge4p.d.mts → SegmentedControl-yVK6kkcx.d.mts} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-By_LoM1n.d.mts → Select-CaG6OQi1.d.mts} +3 -3
- package/dist/{Select-DkUMz4LG.mjs → Select-DOlw_LPR.mjs} +4 -4
- package/dist/{Select-DkUMz4LG.mjs.map → Select-DOlw_LPR.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/{SingleColumnLayout-C4qrVyMf.d.mts → SingleColumnLayout-D2bpX7X1.d.mts} +2 -2
- package/dist/SingleColumnLayout.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +6 -6
- package/dist/SmartTextInputField.d.mts +2 -2
- package/dist/SmartTextInputFunctionDialog.d.mts +4 -4
- package/dist/SmartTextInputListbox.d.mts +2 -2
- package/dist/SmartTextInputPopover.d.mts +1 -1
- package/dist/{SplitColumnLayout-BXT7AeNx.d.mts → SplitColumnLayout-CRDSDHHm.d.mts} +2 -2
- package/dist/SplitColumnLayout.d.mts +1 -1
- package/dist/{Stack-BqRcxDQM.d.mts → Stack-CODxfzhl.d.mts} +1 -1
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-Zf75KK3O.mjs → StatusIndicator-CzRaEFSz.mjs} +2 -2
- package/dist/{StatusIndicator-Zf75KK3O.mjs.map → StatusIndicator-CzRaEFSz.mjs.map} +1 -1
- package/dist/{Sticker-Bi_fezCO.mjs → Sticker-C1_6I08u.mjs} +3 -3
- package/dist/{Sticker-Bi_fezCO.mjs.map → Sticker-C1_6I08u.mjs.map} +1 -1
- package/dist/{Sticker-C2zp47FB.d.mts → Sticker-CLvRB8V5.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-DpXYsWgS.mjs → TabBar-BCFO38E0.mjs} +3 -3
- package/dist/{TabBar-DpXYsWgS.mjs.map → TabBar-BCFO38E0.mjs.map} +1 -1
- package/dist/{Table-DGl3mDwc.d.mts → Table-qsIo7V-R.d.mts} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-BbC-H2qj.d.mts → TableBody-1fqZP2Cb.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-BfSF36Gy.mjs → TableBox-DNQsgQ8x.mjs} +4 -4
- package/dist/{TableBox-BfSF36Gy.mjs.map → TableBox-DNQsgQ8x.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-DuvWTwOm.d.mts → TableBoxCell-B9KMWebc.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-DRx24VAz.d.mts → TableBoxField-0uIGzBhF.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-DFPTf-bZ.d.mts → TableBoxRow-PjBBDcEk.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-CFCnGc7D.d.mts → TableBoxRowActions-B7stm6Q3.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-Do9W49SJ.d.mts → TableCell-CQsF7t4e.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-Dgle87OP.mjs → TableControls-BrP_BqnF.mjs} +14 -14
- package/dist/TableControls-BrP_BqnF.mjs.map +1 -0
- package/dist/{TableControls-r58fZb_C.d.mts → TableControls-ODHrCDJM.d.mts} +5 -5
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-nz8GXmXc.d.mts → TableControlsContext-CHuLxfa7.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-CIXIrZGE.d.mts → TableHead-Dq0Fi4hP.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-wKcp8rZj.d.mts → TableHeaderCell-CAfcFwJy.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-0-9FnNvt.d.mts → TableLayout-CM8wiU3C.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-C011thJ3.d.mts → TableRow-C4eHuRF3.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-D0VcRmd4.d.mts → TableViewConfigurationDropdown-BWBBUXCs.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-B_JlBkXZ.mjs → TechnicalSticker-Cq5jzYKQ.mjs} +2 -2
- package/dist/{TechnicalSticker-B_JlBkXZ.mjs.map → TechnicalSticker-Cq5jzYKQ.mjs.map} +1 -1
- package/dist/{Text-BgSW0yDb.d.mts → Text-CvaqognH.d.mts} +2 -2
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-CyWv8jaV.d.mts → TextArea-BJWEaURJ.d.mts} +2 -2
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-CcyG4VkJ.d.mts → TextUnderlineTooltip-Bd5e8KH3.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-BIJoB1AA.d.mts → Toggle-CeIDF9yS.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-CrpfAAfA.d.mts → Tooltip-Ddy2Jq0K.d.mts} +2 -2
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-DaGx3CX6.d.mts → TruncatedText-sr9Fhm3N.d.mts} +1 -1
- package/dist/VersionHistory.d.mts +1 -1
- package/dist/{VersionHistoryItem-Bo78T7y7.d.mts → VersionHistoryItem-DnKlzuDe.d.mts} +1 -1
- package/dist/VersionHistoryItem.d.mts +1 -1
- package/dist/WizardModal.d.mts +2 -2
- package/dist/{chainTypes-CLKwXymd.d.mts → chainTypes-C5mXGz6T.d.mts} +4 -4
- package/dist/charting-C_WcP3tn.d.mts +16 -0
- package/dist/{clientFilterUtils-BnASP9Tt.d.mts → clientFilterUtils-scLlIuP_.d.mts} +2 -2
- package/dist/clientFilterUtils.d.mts +1 -1
- package/dist/{codec-C4WJftW6.d.mts → codec-BTVOuowZ.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/complete-typography.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 +4 -4
- 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 +1 -1
- 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/CodeHighlight/index.mjs +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/DataTable/TableControls/index.d.mts +21 -21
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.d.mts +8 -8
- package/dist/components/DataTable/index.mjs +1 -1
- package/dist/components/DataTable/types.d.mts +1 -1
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +2 -2
- package/dist/components/FloatingToolbar/index.mjs +1 -1
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormField/index.d.mts +5 -5
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +2 -2
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.d.mts +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/ProgressIndicator/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RichTextEditor/index.mjs +4 -4
- package/dist/components/RightPanel/index.mjs +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/SmartTextInput/index.d.mts +2 -2
- package/dist/components/SmartTextInput/index.mjs +3 -3
- package/dist/components/SmartTextInput/parser/method-chain/types.d.mts +1 -1
- package/dist/components/SmartTextInput/parser/smart-text/types.d.mts +2 -2
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/StatusIndicator/index.mjs +1 -1
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +8 -8
- 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/Tile/index.mjs +1 -1
- package/dist/components/Toast/index.mjs +1 -1
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/VersionHistory/index.d.mts +1 -1
- package/dist/components/VersionHistory/index.mjs +4 -4
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-B2NIZBD6.d.mts → constants-ByOakXpZ.d.mts} +1 -1
- package/dist/{constants-ChVceduh.d.mts → constants-DMTL6rF3.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/constants2.d.mts +1 -1
- package/dist/{createPath-D_opTH9A.d.mts → createPath-BgyL9FVF.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-range-rule-value-3izEoXmi.d.mts → date-range-rule-value-ASr06ClE.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-DjYIGcGO.d.mts → date-rule-intent-DDDCA6kc.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-BcpjykVw.d.mts → filter-size-context-CmFyIPCm.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{filters-DUI7TLSn.d.mts → filters-yfzOlqKx.d.mts} +2 -2
- package/dist/filters.d.mts +1 -1
- package/dist/{formatDateTime-CgQvW3A5.d.mts → formatDateTime-Cj9XxTNy.d.mts} +1 -1
- package/dist/formatDateTime.d.mts +1 -1
- package/dist/{helpers-CDZ7Zk9G.d.mts → helpers-BeCjgAeE.d.mts} +4 -4
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-CDFw-zKW.d.mts → index-BEHNqAZa.d.mts} +3 -3
- package/dist/{index-B9kfFACl.d.mts → index-CLAjbq8g.d.mts} +1 -1
- package/dist/{index-DntqThoS.d.mts → index-aK04IR94.d.mts} +2 -2
- package/dist/{index-_D_TMpPU.d.mts → index-kIon1vPp.d.mts} +2 -2
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +1 -1
- package/dist/index4.d.mts +3 -3
- package/dist/index5.d.mts +1 -1
- package/dist/index6.d.mts +14 -14
- package/dist/{input-RTMLTvG1.d.mts → input-JDU1Goyr.d.mts} +3 -3
- package/dist/{inputFields-iRg_emVK.d.mts → inputFields-BnCdmuBt.d.mts} +11 -11
- package/dist/inputFields.d.mts +1 -1
- package/dist/{jsonSchema-BJpNaFc4.d.mts → jsonSchema-C4lfpDrt.d.mts} +1 -1
- package/dist/lib/GlobalStyles.d.mts +19 -2
- package/dist/lib/GlobalStyles.mjs +50 -1
- package/dist/lib/GlobalStyles.mjs.map +1 -1
- package/dist/lib/PDSProvider.d.mts +3 -3
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/chainTypes.d.mts +1 -1
- package/dist/lib/colorMode.d.mts +1 -1
- package/dist/lib/customFunctionSchema.d.mts +1 -1
- package/dist/lib/date-filter/index.d.mts +2 -2
- package/dist/lib/i18n/index.d.mts +3 -3
- package/dist/lib/jsonSchema.d.mts +1 -1
- package/dist/lib/jsonSchemaType.d.mts +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/methodChain.d.mts +2 -2
- package/dist/lib/methodChainNormalize.d.mts +2 -2
- package/dist/lib/methodChainTypes.d.mts +1 -1
- package/dist/lib/objectSchemaTypes.d.mts +1 -1
- package/dist/lib/platformObject.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +1 -1
- package/dist/lib/router/adapters/reactRouter.d.mts +1 -1
- package/dist/lib/router/adapters/tanstack.d.mts +1 -1
- package/dist/lib/router/index.d.mts +5 -5
- package/dist/lib/schemaOptions.d.mts +1 -1
- package/dist/lib/semanticColor.d.mts +2 -2
- package/dist/lib/semanticColor.mjs +8 -1
- package/dist/lib/semanticColor.mjs.map +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/lint/index.d.mts +1 -1
- package/dist/{listbox-options-D0JmYWjB.d.mts → listbox-options-CDAOiyUH.d.mts} +3 -3
- package/dist/listbox-options.d.mts +1 -1
- package/dist/{message-Bk5UTw75.d.mts → message-BwRBPJXD.d.mts} +1 -1
- package/dist/{methodChain-C3u60_V8.d.mts → methodChain-COb4t-sM.d.mts} +4 -4
- package/dist/{methodChainTypes-Di4GCMX7.d.mts → methodChainTypes-De6sHGyd.d.mts} +2 -2
- package/dist/min-copy-size.d.mts +1 -1
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/scrollbar.d.mts +1 -1
- package/dist/no-raw-table.d.mts +1 -1
- package/dist/{operators-BTCnQpeu.d.mts → operators-BHxKZcpD.d.mts} +3 -3
- package/dist/operators.d.mts +1 -1
- package/dist/{palette-D61sDyDI.d.mts → palette-DzmqrF_5.d.mts} +2 -2
- package/dist/palette.d.mts +1 -1
- package/dist/patterns/CardGrouping/index.mjs +4 -4
- package/dist/patterns/IndexTableLayout/index.mjs +2 -2
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +2 -2
- package/dist/patterns/PageLayout/index.d.mts +4 -4
- package/dist/patterns/WizardModal/index.mjs +2 -2
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/reduced-motion.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/safe-parse.d.mts +1 -1
- package/dist/{schemaOptions-BKtrXvjR.d.mts → schemaOptions-DMq37JC5.d.mts} +3 -3
- package/dist/semantic-color.d.mts +1 -1
- package/dist/{semanticColor-y9byerSl.d.mts → semanticColor-BKbCliyl.d.mts} +13 -2
- package/dist/shared.d.mts +1 -1
- package/dist/{strings-T-gsdqiJ.d.mts → strings-DQZIO-n7.d.mts} +1 -1
- package/dist/strings.d.mts +1 -1
- package/dist/{theme-BFP-_PEh.d.mts → theme-CeA8jBRG.d.mts} +7 -3
- package/dist/theme.d.mts +1 -1
- package/dist/theme.mjs +7 -3
- package/dist/theme.mjs.map +1 -1
- package/dist/tone.d.mts +1 -1
- package/dist/tree.d.mts +1 -1
- package/dist/{types-BnXYfNrd.d.mts → types-02Ij0dgs.d.mts} +4 -4
- package/dist/{types-B5RbKp2V.d.mts → types-BRYGqFVm.d.mts} +1 -1
- package/dist/{types-BiRayNak.d.mts → types-BXJ6qAGy.d.mts} +3 -3
- package/dist/{types-C31ecr0j.d.mts → types-BeFBvQ1c.d.mts} +3 -3
- package/dist/{types-QYT1VZgy.d.mts → types-CRymR_J9.d.mts} +1 -1
- package/dist/{types-1p-ij0cd.d.mts → types-CqcbWyUY.d.mts} +2 -2
- package/dist/{types-Bu5rhBdH.d.mts → types-D9LBWGw5.d.mts} +1 -1
- package/dist/{types-K57NVM0M.d.mts → types-DLnCkvTt.d.mts} +2 -2
- package/dist/{types-FG-jOit9.d.mts → types-DQVUNrrN.d.mts} +1 -1
- package/dist/{types-Bg_sfqXE.d.mts → types-DeVO4sCM.d.mts} +2 -2
- 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/types8.d.mts +1 -1
- package/dist/{url-state-DmhG0Qg-.d.mts → url-state-CXUuK3_r.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-CIwI4Xop.d.mts → useChain-B--KAtdN.d.mts} +6 -6
- package/dist/useChainAtCursor.d.mts +6 -6
- package/dist/useCodeChainFunctionPanel.d.mts +1 -1
- package/dist/useColumnConfiguration.d.mts +2 -2
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-DPzkJpGT.d.mts → useFilterStateV2-DBpbxAEC.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-ATKyX8CU.d.mts → useFormField-CTgW_8x0.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useLocationPathname-DPMpqO1_.d.mts → useLocationPathname-CClZoIGm.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-CCMADt-F.d.mts → useTableBoxDragAndDrop-MwbXWWDQ.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/{useTableColumns-Bw0HvnP4.d.mts → useTableColumns-DJFy0Gp8.d.mts} +2 -2
- package/dist/useTableColumns.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-BfXjJZQt.d.mts → utilities-BDkho6-f.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils4.d.mts +5 -5
- package/dist/{validation-yhA0siru.d.mts → validation-Tgg3AhuP.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/validation2.d.mts +4 -4
- package/dist/{value-control-resolver-Df0AmGFe.d.mts → value-control-resolver-XQbGCdsP.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/charting.d.mts +2 -0
- package/dist/variables/charting.mjs +134 -0
- package/dist/variables/charting.mjs.map +1 -0
- package/dist/variables/effect.d.mts +1 -1
- package/llms.txt +1 -1
- package/package.json +5 -3
- package/skills/ui-authoring/TOKENS.md +5 -0
- package/dist/Modal-BBlilB-B.mjs.map +0 -1
- package/dist/PageHeader-DEKTopzU.mjs +0 -75
- package/dist/PageHeader-DEKTopzU.mjs.map +0 -1
- package/dist/TableControls-Dgle87OP.mjs.map +0 -1
- /package/dist/{index-BAJc0Rej.d.mts → index-0-W_aPej.d.mts} +0 -0
- /package/dist/{index-BFHp82YL.d.mts → index-1-AkepUA.d.mts} +0 -0
- /package/dist/{index-BYd3Btr1.d.mts → index-B33elXxm.d.mts} +0 -0
- /package/dist/{index-CEUVsenl.d.mts → index-B6T7ov8p.d.mts} +0 -0
- /package/dist/{index-CEqOS-7M.d.mts → index-B9SJORI12.d.mts} +0 -0
- /package/dist/{index-CNxS4Tlu.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-CP2eJYlK.d.mts → index-BNRXMhlr.d.mts} +0 -0
- /package/dist/{index-CQQezDJQ2.d.mts → index-BRJ_6A42.d.mts} +0 -0
- /package/dist/{index-CWB6exYm.d.mts → index-BsHUlSyF.d.mts} +0 -0
- /package/dist/{index-CcSfkYLp2.d.mts → index-CCKHlTA4.d.mts} +0 -0
- /package/dist/{index-CjDodOH2.d.mts → index-CCt0lwyI.d.mts} +0 -0
- /package/dist/{index-Cm-1i165.d.mts → index-CIABef8t.d.mts} +0 -0
- /package/dist/{index-D-giXKyu.d.mts → index-CaqYCRmZ.d.mts} +0 -0
- /package/dist/{index-D4DUvwPf.d.mts → index-CoUVmp_Q.d.mts} +0 -0
- /package/dist/{index-DCTy4zg0.d.mts → index-CuYZJcK3.d.mts} +0 -0
- /package/dist/{index-DWIh4oP5.d.mts → index-CuheJfs-.d.mts} +0 -0
- /package/dist/{index-Dflz2i1X.d.mts → index-Cx0vQ6ld.d.mts} +0 -0
- /package/dist/{index-DhiymMxa.d.mts → index-CzUpNo0e.d.mts} +0 -0
- /package/dist/{index-DkrC-i1D.d.mts → index-CzdAgLVp.d.mts} +0 -0
- /package/dist/{index-Dp7lwkTl2.d.mts → index-DG59sVPG2.d.mts} +0 -0
- /package/dist/{index-DqCA6utX.d.mts → index-DMRtRo7y.d.mts} +0 -0
- /package/dist/{index-Iujpc9_6.d.mts → index-DNjQe1D8.d.mts} +0 -0
- /package/dist/{index-Jh0C5PIG.d.mts → index-DeVKzGce.d.mts} +0 -0
- /package/dist/{index-N-OgGgfF.d.mts → index-DedbSZMv.d.mts} +0 -0
- /package/dist/{index-Oio5ygqN.d.mts → index-Deol7ZWO.d.mts} +0 -0
- /package/dist/{index-Rvd9MEUQ.d.mts → index-Es5nKSSL.d.mts} +0 -0
- /package/dist/{index-YB8V3VRW.d.mts → index-K614ZhWK.d.mts} +0 -0
- /package/dist/{index-aKlsLnwy.d.mts → index-KEHKKJEa.d.mts} +0 -0
- /package/dist/{index-fxXoW-qc.d.mts → index-PQbV5sXG2.d.mts} +0 -0
- /package/dist/{index-ikHBE458.d.mts → index-dhjtMp5F.d.mts} +0 -0
- /package/dist/{index-luywJTzJ.d.mts → index-dzI_9J-Z.d.mts} +0 -0
- /package/dist/{index-xmouCHX9.d.mts → index-lTcag11w.d.mts} +0 -0
package/dist/theme.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.mjs","names":[],"sources":["../src/theme.ts"],"sourcesContent":["import { Color, FontFamilies, type PDSTypeStyle, Typography } from '@persona/design-tokens';\n\nimport type { PdsColor } from '#src/lib/color';\nimport { semanticDark, semanticLight, type SemanticTokens } from '#src/variables/semantic';\n\ninterface PrimaryColors {\n black: Color;\n white: Color;\n brand: Color;\n brand800: Color;\n brand700: Color;\n brand600: Color;\n brand500: Color;\n brand400: Color;\n brand300: Color;\n brand200: Color;\n brand100: Color;\n}\n\nexport interface TextColors {\n primary: Color;\n secondary: Color;\n tertiary: Color;\n brand: Color;\n inverse: Color;\n disabled: Color;\n}\n\nexport interface BackgroundColors {\n primary: Color;\n secondary: Color;\n active: Color;\n highlight: Color;\n disabled: Color;\n}\n\nexport type Variant =\n | 'basic'\n | 'caution'\n | 'danger'\n | 'inverse'\n | 'outline'\n | 'primary'\n | 'success'\n | 'text';\n\ninterface VariantPalette {\n /**\n * Activated color. Mousedowns for buttons, hover for dropdowns, etc.\n */\n active: Color;\n /**\n * Passive color when not interacted.\n */\n default: PdsColor;\n /**\n * Focus state, borders, etc. Generally lighter than the default color.\n */\n highlight: Color;\n /**\n * Alternative highlight color.\n */\n highlightLight: Color;\n /**\n * Alternative highlight color.\n */\n highlightDark: Color;\n\n /**\n * Disabled background\n */\n disabled: PdsColor;\n\n text: Color;\n textDisabled: PdsColor;\n\n hover: Color;\n}\n\ninterface ColorPalette {\n primary: PrimaryColors;\n text: TextColors;\n variants: Record<Variant, VariantPalette>;\n background: BackgroundColors;\n border: {\n primary: Color;\n secondary: Color;\n active: Color;\n input: Color;\n inputHover: Color;\n disabled: Color;\n };\n}\n\ninterface TextSettings {\n fontFamily: {\n base: string;\n mono: string;\n semiMono: string;\n };\n display: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n };\n heading: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n xsm: PDSTypeStyle;\n };\n paragraph: {\n lg: PDSTypeStyle;\n lgBold: PDSTypeStyle;\n lgLight: PDSTypeStyle;\n md: PDSTypeStyle;\n mdBold: PDSTypeStyle;\n mdLight: PDSTypeStyle;\n mdLink: PDSTypeStyle;\n sm: PDSTypeStyle;\n smLink: PDSTypeStyle;\n xs: PDSTypeStyle;\n };\n}\n\n// SHARED ELEMENT VARIABLES\n// For inputs, selects, and input-like components\ninterface ElementSettings {\n borderRadius: string;\n height: {\n xl: string;\n lg: string;\n md: string;\n sm: string;\n xs: string;\n };\n width: {\n md: string;\n };\n}\n\n// COMPONENT SPECIFIC VARIABLES\ninterface ButtonSettings {\n borderRadius: string;\n height: {\n md: string;\n sm: string;\n };\n}\n\ninterface CardSettings {\n borderRadius: string;\n}\n\ninterface ModalSettings {\n borderRadius: {\n xl: string;\n lg: string;\n md: string;\n };\n width: {\n xl: string;\n lg: string;\n md: string;\n };\n}\n\nexport interface PersonaTheme {\n color: ColorPalette;\n /** Absent under foreign themes (Relay, darkTheme); read via `semanticColor()`, never directly. */\n semantic?: SemanticTokens;\n text: TextSettings;\n element: ElementSettings;\n card: CardSettings;\n button: ButtonSettings;\n modal: ModalSettings;\n}\n\nconst primary: PrimaryColors = {\n black: Color.PrimaryBlack,\n white: Color.PrimaryWhite,\n brand: Color.PrimaryPurple,\n brand800: Color.CorePurple800,\n brand700: Color.CorePurple700,\n brand600: Color.CorePurple600,\n brand500: Color.CorePurple500,\n brand400: Color.CorePurple400,\n brand300: Color.CorePurple300,\n brand200: Color.CorePurple200,\n brand100: Color.CorePurple100,\n};\n\n// for active state, use variant!\nconst lightText: TextColors = {\n primary: Color.TextPrimary,\n secondary: Color.TextSecondary,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextInverse,\n disabled: Color.TextDisabled,\n};\n\n// for active state, use variant!\nconst darkText: TextColors = {\n primary: Color.TextInverse,\n secondary: Color.CoreSlate500,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextPrimary,\n disabled: Color.TextDisabled,\n};\n\nconst lightColorPalette: ColorPalette = {\n primary,\n text: lightText,\n background: {\n primary: Color.BackgroundPrimary,\n secondary: Color.BackgroundSecondary,\n active: primary.brand,\n highlight: primary.brand100,\n disabled: Color.BackgroundInputDisabled,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.CoreSlate100,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.BackgroundButtonPrimaryActive,\n default: Color.BackgroundButtonPrimary,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed200,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed200,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: lightText.primary,\n textDisabled: lightText.secondary,\n },\n },\n border: {\n primary: Color.BorderHairline,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst darkColorPalette: ColorPalette = {\n primary,\n text: darkText,\n background: {\n primary: Color.CoreSlate1000,\n secondary: Color.CoreSlate50,\n active: primary.brand,\n highlight: Color.PrimaryWhite,\n disabled: Color.CoreSlate300,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate900,\n disabled: Color.CoreSlate100,\n text: darkText.primary,\n textDisabled: darkText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.CoreSlate900,\n default: Color.CoreSlate1000,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: primary.white,\n textDisabled: darkText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: darkText.inverse,\n textDisabled: darkText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed300,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed300,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: darkText.primary,\n textDisabled: darkText.secondary,\n },\n },\n border: {\n primary: Color.CoreSlate900,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst defaultTextSettings: TextSettings = {\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n display: {\n lg: Typography.DisplayLarge,\n md: Typography.DisplayMedium,\n sm: Typography.DisplaySmall,\n },\n heading: {\n lg: Typography.HeadingLarge,\n md: Typography.HeadingMedium,\n sm: Typography.HeadingSmall,\n xsm: Typography.HeadingExtraSmall,\n },\n paragraph: {\n lg: Typography.TextLarge,\n lgBold: Typography.TextLargeBold,\n lgLight: Typography.TextLargeLight,\n md: Typography.TextMedium,\n mdBold: Typography.TextMediumBold,\n mdLight: Typography.TextMediumLight,\n mdLink: Typography.TextMediumLink,\n sm: Typography.TextSmall,\n smLink: Typography.TextSmallLink,\n xs: Typography.TextExtraSmall,\n },\n};\n\nconst textSettingsWithMarketingFont: TextSettings = {\n ...defaultTextSettings,\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n};\n\nconst defaultElementSettings: ElementSettings = {\n borderRadius: '4px',\n height: {\n xl: '128px',\n lg: '56px',\n md: '48px',\n sm: '40px',\n xs: '32px',\n },\n width: {\n md: '228px',\n },\n};\n\nconst defaultButtonSettings: ButtonSettings = {\n borderRadius: '4px',\n height: {\n md: '32px',\n sm: '24px',\n },\n};\n\nconst defaultCardSettings: CardSettings = {\n borderRadius: '8px',\n};\n\nconst defaultModalSettings: ModalSettings = {\n borderRadius: {\n xl: '8px',\n lg: '4px',\n md: '4px',\n },\n width: {\n xl: '1020px',\n lg: '720px',\n md: '520px',\n },\n};\n\nconst defaultTheme: PersonaTheme = {\n color: lightColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const darkTheme: PersonaTheme = {\n color: darkColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const marketingFontTheme: PersonaTheme = {\n color: lightColorPalette,\n text: textSettingsWithMarketingFont,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport default defaultTheme;\n\n/**\n * `'light'`/`'dark'` install the semantic map and the matching primitive palette as a pair.\n * `'off'` removes the semantic namespace so every `semanticColor()` call takes its legacy fallback.\n */\nexport type PdsThemingMode = 'off' | 'light' | 'dark';\n\nexport type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<\n T,\n 'color' | 'semantic'\n> &\n (M extends 'off'\n ? { color: T['color']; semantic?: undefined }\n : { color: PersonaTheme['color']; semantic: SemanticTokens });\n\nconst semanticPalettes: Record<\n Exclude<PdsThemingMode, 'off'>,\n { color: ColorPalette; semantic: SemanticTokens }\n> = {\n light: { color: lightColorPalette, semantic: semanticLight },\n dark: { color: darkColorPalette, semantic: semanticDark },\n};\n\nexport function withPdsTheming<T extends PersonaTheme, M extends PdsThemingMode>(\n theme: T,\n mode: M,\n): PdsThemed<T, M>;\nexport function withPdsTheming(theme: PersonaTheme, mode: PdsThemingMode): PersonaTheme {\n if (mode === 'off') {\n return { ...theme, semantic: undefined };\n }\n\n return { ...theme, ...semanticPalettes[mode] };\n}\n"],"mappings":";;;AAkLA,MAAM,UAAyB;CAC7B,OAAO,MAAM;CACb,OAAO,MAAM;CACb,OAAO,MAAM;CACb,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CACjB;AAGD,MAAM,YAAwB;CAC5B,SAAS,MAAM;CACf,WAAW,MAAM;CACjB,UAAU,MAAM;CAChB,OAAO,QAAQ;CACf,SAAS,MAAM;CACf,UAAU,MAAM;CACjB;AAGD,MAAM,WAAuB;CAC3B,SAAS,MAAM;CACf,WAAW,MAAM;CACjB,UAAU,MAAM;CAChB,OAAO,QAAQ;CACf,SAAS,MAAM;CACf,UAAU,MAAM;CACjB;AAED,MAAM,oBAAkC;CACtC;CACA,MAAM;CACN,YAAY;EACV,SAAS,MAAM;EACf,WAAW,MA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f,QAAQ,WAAW;EACnB,SAAS,WAAW;EACpB,QAAQ,WAAW;EACnB,IAAI,WAAW;EACf,QAAQ,WAAW;EACnB,IAAI,WAAW;EAChB;CACF;AAED,MAAM,gCAA8C;CAClD,GAAG;CACH,YAAY;EACV,MAAM,aAAa;EACnB,MAAM,aAAa;EACnB,UAAU,aAAa;EACxB;CACF;AAED,MAAM,yBAA0C;CAC9C,cAAc;CACd,QAAQ;EACN,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACD,OAAO,EACL,IAAI,SACL;CACF;AAED,MAAM,wBAAwC;CAC5C,cAAc;CACd,QAAQ;EACN,IAAI;EACJ,IAAI;EACL;CACF;AAED,MAAM,sBAAoC,EACxC,cAAc,OACf;AAED,MAAM,uBAAsC;CAC1C,cAAc;EACZ,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACD,OAAO;EACL,IAAI;EACJ,IAAI;EACJ,IAAI;EACL;CACF;AAED,MAAM,eAA6B;CACjC,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR;AAED,MAAa,YAA0B;CACrC,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR;AAED,MAAa,qBAAmC;CAC9C,OAAO;CACP,MAAM;CACN,SAAS;CACT,QAAQ;CACR,MAAM;CACN,OAAO;CACR;AAkBD,MAAM,mBAGF;CACF,OAAO;EAAE,OAAO;EAAmB,UAAU;EAAe;CAC5D,MAAM;EAAE,OAAO;EAAkB,UAAU;EAAc;CAC1D;AAMD,SAAgB,eAAe,OAAqB,MAAoC;AACtF,KAAI,SAAS,MACX,QAAO;EAAE,GAAG;EAAO,UAAU,KAAA;EAAW;AAG1C,QAAO;EAAE,GAAG;EAAO,GAAG,iBAAiB;EAAO"}
|
|
1
|
+
{"version":3,"file":"theme.mjs","names":[],"sources":["../src/theme.ts"],"sourcesContent":["import { Color, FontFamilies, type PDSTypeStyle, Typography } from '@persona/design-tokens';\n\nimport type { PdsColor } from '#src/lib/color';\nimport { chartingDark, chartingLight, type ChartingTokens } from '#src/variables/charting';\nimport { semanticDark, semanticLight, type SemanticTokens } from '#src/variables/semantic';\n\ninterface PrimaryColors {\n black: Color;\n white: Color;\n brand: Color;\n brand800: Color;\n brand700: Color;\n brand600: Color;\n brand500: Color;\n brand400: Color;\n brand300: Color;\n brand200: Color;\n brand100: Color;\n}\n\nexport interface TextColors {\n primary: Color;\n secondary: Color;\n tertiary: Color;\n brand: Color;\n inverse: Color;\n disabled: Color;\n}\n\nexport interface BackgroundColors {\n primary: Color;\n secondary: Color;\n active: Color;\n highlight: Color;\n disabled: Color;\n}\n\nexport type Variant =\n | 'basic'\n | 'caution'\n | 'danger'\n | 'inverse'\n | 'outline'\n | 'primary'\n | 'success'\n | 'text';\n\ninterface VariantPalette {\n /**\n * Activated color. Mousedowns for buttons, hover for dropdowns, etc.\n */\n active: Color;\n /**\n * Passive color when not interacted.\n */\n default: PdsColor;\n /**\n * Focus state, borders, etc. Generally lighter than the default color.\n */\n highlight: Color;\n /**\n * Alternative highlight color.\n */\n highlightLight: Color;\n /**\n * Alternative highlight color.\n */\n highlightDark: Color;\n\n /**\n * Disabled background\n */\n disabled: PdsColor;\n\n text: Color;\n textDisabled: PdsColor;\n\n hover: Color;\n}\n\ninterface ColorPalette {\n primary: PrimaryColors;\n text: TextColors;\n variants: Record<Variant, VariantPalette>;\n background: BackgroundColors;\n border: {\n primary: Color;\n secondary: Color;\n active: Color;\n input: Color;\n inputHover: Color;\n disabled: Color;\n };\n}\n\ninterface TextSettings {\n fontFamily: {\n base: string;\n mono: string;\n semiMono: string;\n };\n display: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n };\n heading: {\n lg: PDSTypeStyle;\n md: PDSTypeStyle;\n sm: PDSTypeStyle;\n xsm: PDSTypeStyle;\n };\n paragraph: {\n lg: PDSTypeStyle;\n lgBold: PDSTypeStyle;\n lgLight: PDSTypeStyle;\n md: PDSTypeStyle;\n mdBold: PDSTypeStyle;\n mdLight: PDSTypeStyle;\n mdLink: PDSTypeStyle;\n sm: PDSTypeStyle;\n smLink: PDSTypeStyle;\n xs: PDSTypeStyle;\n };\n}\n\n// SHARED ELEMENT VARIABLES\n// For inputs, selects, and input-like components\ninterface ElementSettings {\n borderRadius: string;\n height: {\n xl: string;\n lg: string;\n md: string;\n sm: string;\n xs: string;\n };\n width: {\n md: string;\n };\n}\n\n// COMPONENT SPECIFIC VARIABLES\ninterface ButtonSettings {\n borderRadius: string;\n height: {\n md: string;\n sm: string;\n };\n}\n\ninterface CardSettings {\n borderRadius: string;\n}\n\ninterface ModalSettings {\n borderRadius: {\n xl: string;\n lg: string;\n md: string;\n };\n width: {\n xl: string;\n lg: string;\n md: string;\n };\n}\n\nexport interface PersonaTheme {\n color: ColorPalette;\n /** Absent under foreign themes (Relay, darkTheme); read via `semanticColor()`, never directly. */\n semantic?: SemanticTokens;\n /** Charting palettes for the colour mode; absent when `semantic` is. Read via `chartingColors()`. */\n charting?: ChartingTokens;\n text: TextSettings;\n element: ElementSettings;\n card: CardSettings;\n button: ButtonSettings;\n modal: ModalSettings;\n}\n\nconst primary: PrimaryColors = {\n black: Color.PrimaryBlack,\n white: Color.PrimaryWhite,\n brand: Color.PrimaryPurple,\n brand800: Color.CorePurple800,\n brand700: Color.CorePurple700,\n brand600: Color.CorePurple600,\n brand500: Color.CorePurple500,\n brand400: Color.CorePurple400,\n brand300: Color.CorePurple300,\n brand200: Color.CorePurple200,\n brand100: Color.CorePurple100,\n};\n\n// for active state, use variant!\nconst lightText: TextColors = {\n primary: Color.TextPrimary,\n secondary: Color.TextSecondary,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextInverse,\n disabled: Color.TextDisabled,\n};\n\n// for active state, use variant!\nconst darkText: TextColors = {\n primary: Color.TextInverse,\n secondary: Color.CoreSlate500,\n tertiary: Color.CoreSlate800,\n brand: primary.brand,\n inverse: Color.TextPrimary,\n disabled: Color.TextDisabled,\n};\n\nconst lightColorPalette: ColorPalette = {\n primary,\n text: lightText,\n background: {\n primary: Color.BackgroundPrimary,\n secondary: Color.BackgroundSecondary,\n active: primary.brand,\n highlight: primary.brand100,\n disabled: Color.BackgroundInputDisabled,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.CoreSlate100,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.BackgroundButtonPrimaryActive,\n default: Color.BackgroundButtonPrimary,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed200,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed200,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: lightText.inverse,\n textDisabled: lightText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: lightText.primary,\n textDisabled: lightText.secondary,\n },\n },\n border: {\n primary: Color.BorderHairline,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst darkColorPalette: ColorPalette = {\n primary,\n text: darkText,\n background: {\n primary: Color.CoreSlate1000,\n secondary: Color.CoreSlate50,\n active: primary.brand,\n highlight: Color.PrimaryWhite,\n disabled: Color.CoreSlate300,\n },\n variants: {\n basic: {\n active: Color.BackgroundButtonDefaultActive,\n default: Color.BackgroundButtonDefault,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate900,\n disabled: Color.CoreSlate100,\n text: darkText.primary,\n textDisabled: darkText.disabled,\n },\n outline: {\n active: Color.BackgroundButtonOutlineActive,\n default: Color.BackgroundButtonOutline,\n hover: Color.BackgroundButtonOutlineHover,\n highlight: Color.CoreSlate400,\n highlightLight: Color.CoreSlate400,\n highlightDark: Color.CoreSlate700,\n disabled: Color.BackgroundButtonOutlineDisabled,\n text: lightText.primary,\n textDisabled: lightText.disabled,\n },\n primary: {\n active: Color.CoreSlate900,\n default: Color.CoreSlate1000,\n hover: Color.BackgroundButtonPrimaryHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand200,\n disabled: Color.BackgroundButtonPrimaryDisabled,\n text: primary.white,\n textDisabled: darkText.inverse,\n },\n inverse: {\n active: primary.brand100,\n default: primary.white,\n hover: Color.BackgroundButtonDefaultHover,\n highlight: primary.brand200,\n highlightLight: primary.brand100,\n highlightDark: primary.brand700,\n disabled: primary.white,\n text: darkText.inverse,\n textDisabled: darkText.disabled,\n },\n danger: {\n active: Color.BackgroundButtonDangerActive,\n default: Color.BackgroundButtonDanger,\n hover: Color.BackgroundButtonDangerHover,\n highlight: Color.CoreRed300,\n highlightLight: Color.CoreRed100,\n highlightDark: Color.CoreRed300,\n disabled: Color.BackgroundButtonDangerDisabled,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n caution: {\n active: Color.CoreYellow900,\n default: Color.CoreYellow800,\n hover: Color.CoreYellow700,\n highlight: Color.CoreYellow200,\n highlightLight: Color.CoreYellow100,\n highlightDark: Color.CoreYellow200,\n disabled: Color.CoreYellow100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n success: {\n active: Color.CoreGreen900,\n default: Color.CoreGreen800,\n hover: Color.CoreGreen700,\n highlight: Color.CoreGreen200,\n highlightLight: Color.CoreGreen100,\n highlightDark: Color.CoreGreen200,\n disabled: Color.CoreGreen100,\n text: darkText.inverse,\n textDisabled: darkText.inverse,\n },\n text: {\n active: Color.BackgroundButtonTextActive,\n default: Color.BackgroundButtonText,\n hover: Color.BackgroundButtonTextHover,\n highlight: Color.BackgroundButtonTextHover,\n highlightLight: Color.CoreSlate900,\n highlightDark: Color.CoreSlate900,\n disabled: Color.BackgroundButtonTextDisabled,\n text: darkText.primary,\n textDisabled: darkText.secondary,\n },\n },\n border: {\n primary: Color.CoreSlate900,\n secondary: Color.BorderDivider,\n active: Color.BorderInputActive,\n input: Color.BorderInputDefault,\n inputHover: Color.BorderInputHover,\n disabled: Color.BorderInputDisabled,\n },\n};\n\nconst defaultTextSettings: TextSettings = {\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n display: {\n lg: Typography.DisplayLarge,\n md: Typography.DisplayMedium,\n sm: Typography.DisplaySmall,\n },\n heading: {\n lg: Typography.HeadingLarge,\n md: Typography.HeadingMedium,\n sm: Typography.HeadingSmall,\n xsm: Typography.HeadingExtraSmall,\n },\n paragraph: {\n lg: Typography.TextLarge,\n lgBold: Typography.TextLargeBold,\n lgLight: Typography.TextLargeLight,\n md: Typography.TextMedium,\n mdBold: Typography.TextMediumBold,\n mdLight: Typography.TextMediumLight,\n mdLink: Typography.TextMediumLink,\n sm: Typography.TextSmall,\n smLink: Typography.TextSmallLink,\n xs: Typography.TextExtraSmall,\n },\n};\n\nconst textSettingsWithMarketingFont: TextSettings = {\n ...defaultTextSettings,\n fontFamily: {\n base: FontFamilies.Primary,\n mono: FontFamilies.Monospace,\n semiMono: FontFamilies.SemiMonospace,\n },\n};\n\nconst defaultElementSettings: ElementSettings = {\n borderRadius: '4px',\n height: {\n xl: '128px',\n lg: '56px',\n md: '48px',\n sm: '40px',\n xs: '32px',\n },\n width: {\n md: '228px',\n },\n};\n\nconst defaultButtonSettings: ButtonSettings = {\n borderRadius: '4px',\n height: {\n md: '32px',\n sm: '24px',\n },\n};\n\nconst defaultCardSettings: CardSettings = {\n borderRadius: '8px',\n};\n\nconst defaultModalSettings: ModalSettings = {\n borderRadius: {\n xl: '8px',\n lg: '4px',\n md: '4px',\n },\n width: {\n xl: '1020px',\n lg: '720px',\n md: '520px',\n },\n};\n\nconst defaultTheme: PersonaTheme = {\n color: lightColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const darkTheme: PersonaTheme = {\n color: darkColorPalette,\n text: defaultTextSettings,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport const marketingFontTheme: PersonaTheme = {\n color: lightColorPalette,\n text: textSettingsWithMarketingFont,\n element: defaultElementSettings,\n button: defaultButtonSettings,\n card: defaultCardSettings,\n modal: defaultModalSettings,\n};\n\nexport default defaultTheme;\n\n/**\n * `'light'`/`'dark'` install the semantic map, the matching primitive palette and the matching\n * charting palettes together. `'off'` removes the semantic and charting namespaces so every\n * `semanticColor()` call takes its legacy fallback and `chartingColors()` returns `ChartingColors`.\n */\nexport type PdsThemingMode = 'off' | 'light' | 'dark';\n\nexport type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<\n T,\n 'color' | 'semantic'\n> &\n (M extends 'off'\n ? { color: T['color']; semantic?: undefined }\n : { color: PersonaTheme['color']; semantic: SemanticTokens });\n\nconst semanticPalettes: Record<\n Exclude<PdsThemingMode, 'off'>,\n { color: ColorPalette; semantic: SemanticTokens; charting: ChartingTokens }\n> = {\n light: { color: lightColorPalette, semantic: semanticLight, charting: chartingLight },\n dark: { color: darkColorPalette, semantic: semanticDark, charting: chartingDark },\n};\n\nexport function withPdsTheming<T extends PersonaTheme, M extends PdsThemingMode>(\n theme: T,\n mode: M,\n): PdsThemed<T, M>;\nexport function withPdsTheming(theme: PersonaTheme, mode: PdsThemingMode): PersonaTheme {\n if (mode === 'off') {\n return { ...theme, semantic: undefined, charting: undefined };\n }\n\n return { ...theme, ...semanticPalettes[mode] };\n}\n"],"mappings":";;;;AAqLA,MAAM,UAAyB;CAC7B,OAAO,MAAM;CACb,OAAO,MAAM;CACb,OAAO,MAAM;CACb,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CAChB,UAAU,MAAM;CACjB;AA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BAGF;CACF,OAAO;EAAE,OAAO;EAAmB,UAAU;EAAe,UAAU;EAAe;CACrF,MAAM;EAAE,OAAO;EAAkB,UAAU;EAAc,UAAU;EAAc;CAClF;AAMD,SAAgB,eAAe,OAAqB,MAAoC;AACtF,KAAI,SAAS,MACX,QAAO;EAAE,GAAG;EAAO,UAAU,KAAA;EAAW,UAAU,KAAA;EAAW;AAG/D,QAAO;EAAE,GAAG;EAAO,GAAG,iBAAiB;EAAO"}
|
package/dist/tone.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as SemanticTokens } from "./semantic-BZbvb3LV.mjs";
|
|
2
2
|
import { n as PdsColor } from "./color-Db57Wms_.mjs";
|
|
3
|
-
import { o as StickerProps } from "./Sticker-
|
|
3
|
+
import { o as StickerProps } from "./Sticker-CLvRB8V5.mjs";
|
|
4
4
|
import { Color } from "@persona/design-tokens";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Sticker/tone.d.ts
|
package/dist/tree.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-
|
|
2
|
-
import { a as FunctionParamType, s as MethodChainNode } from "./methodChainTypes-
|
|
3
|
-
import { t as ChainRoot } from "./chainTypes-
|
|
1
|
+
import { n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-C4lfpDrt.mjs";
|
|
2
|
+
import { a as FunctionParamType, s as MethodChainNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
3
|
+
import { t as ChainRoot } from "./chainTypes-C5mXGz6T.mjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/SmartTextInput/types.d.ts
|
|
@@ -80,4 +80,4 @@ type PopoverFooterRenderer = (helpers: {
|
|
|
80
80
|
type TextStyle = 'none' | 'token' | 'hoverable' | 'hoverableToken' | 'schemaError' | 'syntaxError';
|
|
81
81
|
//#endregion
|
|
82
82
|
export { Mode as a, PopupMode as c, FunctionFormRenderProps as i, TextStyle as l, CustomFunctionDetailRenderProps as n, OpenCodeChainFunctionPanel as o, FunctionAtCursor as r, PopoverFooterRenderer as s, CodeChainFunctionPanelRenderProps as t, ValueType as u };
|
|
83
|
-
//# sourceMappingURL=types-
|
|
83
|
+
//# sourceMappingURL=types-02Ij0dgs.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ComboboxProps } from "./Combobox-
|
|
2
|
-
import { n as DateRange } from "./DateRangePicker-
|
|
1
|
+
import { n as ComboboxProps } from "./Combobox-fYZjpn5-.mjs";
|
|
2
|
+
import { n as DateRange } from "./DateRangePicker-DlHC2q--.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { DateValue } from "@internationalized/date";
|
|
5
5
|
import { RangeValue } from "@react-types/shared";
|
|
@@ -92,4 +92,4 @@ interface FilterTypeDefinition<TFilter extends BaseFilterConfig = FilterConfig>
|
|
|
92
92
|
type FilterTypeResolver<TFilter extends BaseFilterConfig = FilterConfig> = (config: TFilter) => FilterTypeDefinition<TFilter> | undefined;
|
|
93
93
|
//#endregion
|
|
94
94
|
export { ComboboxFilterConfig as a, FilterRenderOptions as c, InputFilterConfig as d, MultiSelectFilterConfig as f, BaseFilterConfig as i, FilterTypeDefinition as l, AttributeColumn as n, DateRangeFilterConfig as o, SelectFilterConfig as p, BaseActiveFilter as r, FilterConfig as s, ActiveFilter as t, FilterTypeResolver as u };
|
|
95
|
-
//# sourceMappingURL=types-
|
|
95
|
+
//# sourceMappingURL=types-BXJ6qAGy.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
2
|
-
import { o as StickerProps } from "./Sticker-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-BfjvH8mr.mjs";
|
|
2
|
+
import { o as StickerProps } from "./Sticker-CLvRB8V5.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { Column, DeepKeys, FilterFnOption, Header, RowData, SortingState, Table } from "@tanstack/react-table";
|
|
5
5
|
|
|
@@ -177,4 +177,4 @@ type BulkAction = {
|
|
|
177
177
|
};
|
|
178
178
|
//#endregion
|
|
179
179
|
export { RowAction as C, RowDataWithTourTarget as D, RowDataWithSubrowsToAlwaysShowIds as E, SortProps as O, RenderValueStickerFormatConfig as S, RowDataWithSubrows as T, DataTableColumns as _, DataTableColumnBaseFormat as a, DatetimeConfig as b, DataTableColumnDatetimeFormat as c, DataTableColumnImageFormat as d, DataTableColumnNumberFormat as f, DataTableColumnURLFormat as g, DataTableColumnStringFormat as h, ColumnConfig as i, StickerMapping as k, DataTableColumnFormat as l, DataTableColumnStickerFormat as m, ClientFilterConfig as n, DataTableColumnCheckboxFormat as o, DataTableColumnPiiFormat as p, ClientFilterType as r, DataTableColumnDateFormat as s, BulkAction as t, DataTableColumnIDFormat as u, DataTableVariables as v, RowDataWithDetails as w, HeadlessFilterConfig as x, DateConfig as y };
|
|
180
|
-
//# sourceMappingURL=types-
|
|
180
|
+
//# sourceMappingURL=types-BeFBvQ1c.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-
|
|
1
|
+
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DataTable/TableControls/FiltersV2/value-controls/types.d.ts
|
|
@@ -44,4 +44,4 @@ interface ValueControlProps {
|
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ValueControlProps as t };
|
|
47
|
-
//# sourceMappingURL=types-
|
|
47
|
+
//# sourceMappingURL=types-CqcbWyUY.d.mts.map
|
|
@@ -102,4 +102,4 @@ interface ASTCustomFunctionNode {
|
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
export { isASTMethodChainNode as _, ASTErrorNode as a, ASTIdentifierNode as c, ASTNumberNode as d, ASTParenCloseNode as f, isASTCustomFunctionNode as g, ErrorKind as h, ASTDotNode as i, ASTMethodChainNode as l, ASTStringNode as m, ASTChain as n, ASTFunctionNode as o, ASTParenOpenNode as p, ASTCustomFunctionNode as r, ASTFunctionParamType as s, ASTArrayNode as t, ASTNodeType as u, isAnyASTFunctionNode as v, isRealASTFunctionParamType as y };
|
|
105
|
-
//# sourceMappingURL=types-
|
|
105
|
+
//# sourceMappingURL=types-D9LBWGw5.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RelativeDateFilterValue } from "./types-
|
|
1
|
+
import { c as RelativeDateFilterValue } from "./types-DQVUNrrN.mjs";
|
|
2
2
|
//#region src/components/DataTable/TableControls/FiltersV2/types.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Filter UI v2 — client-side state shape.
|
|
@@ -200,4 +200,4 @@ declare const EMPTY_FILTER_STATE: FilterStateV2;
|
|
|
200
200
|
declare function isEmptyState(state: FilterStateV2): boolean;
|
|
201
201
|
//#endregion
|
|
202
202
|
export { FilterConditionOperator as a, FilterFieldType as c, FilterRuleValue as d, FilterRuleValueChange as f, isEmptyState as g, TopLevelFilterRule as h, EMPTY_FILTER_STATE as i, FilterOperator as l, FilterStateV2 as m, CompoundExpression as n, FilterField as o, FilterSize as p, DateRangeFilterValue as r, FilterFieldSource as s, AndGroup as t, FilterRule as u };
|
|
203
|
-
//# sourceMappingURL=types-
|
|
203
|
+
//# sourceMappingURL=types-DLnCkvTt.d.mts.map
|
|
@@ -21,4 +21,4 @@ interface AbsoluteDateRange {
|
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
23
|
export { DateFilterPreset as a, RelativeDateFilterValue as c, DATE_FILTER_PRESET_LABELS as i, AbsoluteDateRange as n, DateFilterValue as o, DATE_FILTER_PRESETS as r, PresetRelativeDateFilterValue as s, AbsoluteDateFilterValue as t };
|
|
24
|
-
//# sourceMappingURL=types-
|
|
24
|
+
//# sourceMappingURL=types-DQVUNrrN.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ASTErrorNode, l as ASTMethodChainNode, n as ASTChain, u as ASTNodeType } from "./types-
|
|
1
|
+
import { a as ASTErrorNode, l as ASTMethodChainNode, n as ASTChain, u as ASTNodeType } from "./types-D9LBWGw5.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/components/SmartTextInput/parser/smart-text/types.d.ts
|
|
4
4
|
type ErrorKind = NonNullable<ASTErrorNode['kind']> | 'unclosedHandlebars' | 'emptyHandlebars' | 'invalidHandlebarsContent' | 'interpolationInDataPath';
|
|
@@ -69,4 +69,4 @@ declare const isASTContainerNode: (node: {
|
|
|
69
69
|
}) => node is ASTContainerNode;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { NodeType as a, isMethodChainNode as c, ErrorNode as i, ErrorKind as n, isASTChainNode as o, ErrorMessageByKind as r, isASTContainerNode as s, ASTNode as t };
|
|
72
|
-
//# sourceMappingURL=types-
|
|
72
|
+
//# sourceMappingURL=types-DeVO4sCM.d.mts.map
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "./types-
|
|
1
|
+
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "./types-BRYGqFVm.mjs";
|
|
2
2
|
export { NavigateOptions, RouterAdapter, RouterLinkComponentProps, To };
|
package/dist/types2.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PaginationParams } from "./types-
|
|
1
|
+
import { t as PaginationParams } from "./types-CRymR_J9.mjs";
|
|
2
2
|
export { PaginationParams };
|
package/dist/types3.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DateFilterPreset, c as RelativeDateFilterValue, i as DATE_FILTER_PRESET_LABELS, n as AbsoluteDateRange, o as DateFilterValue, r as DATE_FILTER_PRESETS, s as PresetRelativeDateFilterValue, t as AbsoluteDateFilterValue } from "./types-
|
|
1
|
+
import { a as DateFilterPreset, c as RelativeDateFilterValue, i as DATE_FILTER_PRESET_LABELS, n as AbsoluteDateRange, o as DateFilterValue, r as DATE_FILTER_PRESETS, s as PresetRelativeDateFilterValue, t as AbsoluteDateFilterValue } from "./types-DQVUNrrN.mjs";
|
|
2
2
|
export { AbsoluteDateFilterValue, AbsoluteDateRange, DATE_FILTER_PRESETS, DATE_FILTER_PRESET_LABELS, DateFilterPreset, DateFilterValue, PresetRelativeDateFilterValue, RelativeDateFilterValue };
|
package/dist/types4.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FilterConditionOperator, c as FilterFieldType, d as FilterRuleValue, f as FilterRuleValueChange, g as isEmptyState, h as TopLevelFilterRule, i as EMPTY_FILTER_STATE, l as FilterOperator, m as FilterStateV2, n as CompoundExpression, o as FilterField, p as FilterSize, r as DateRangeFilterValue, s as FilterFieldSource, t as AndGroup, u as FilterRule } from "./types-
|
|
1
|
+
import { a as FilterConditionOperator, c as FilterFieldType, d as FilterRuleValue, f as FilterRuleValueChange, g as isEmptyState, h as TopLevelFilterRule, i as EMPTY_FILTER_STATE, l as FilterOperator, m as FilterStateV2, n as CompoundExpression, o as FilterField, p as FilterSize, r as DateRangeFilterValue, s as FilterFieldSource, t as AndGroup, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
2
|
export { AndGroup, CompoundExpression, DateRangeFilterValue, EMPTY_FILTER_STATE, FilterConditionOperator, FilterField, FilterFieldSource, FilterFieldType, FilterOperator, FilterRule, FilterRuleValue, FilterRuleValueChange, FilterSize, FilterStateV2, TopLevelFilterRule, isEmptyState };
|
package/dist/types5.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComboboxFilterConfig, c as FilterRenderOptions, d as InputFilterConfig, f as MultiSelectFilterConfig, i as BaseFilterConfig, l as FilterTypeDefinition, n as AttributeColumn, o as DateRangeFilterConfig, p as SelectFilterConfig, r as BaseActiveFilter, s as FilterConfig, t as ActiveFilter, u as FilterTypeResolver } from "./types-
|
|
1
|
+
import { a as ComboboxFilterConfig, c as FilterRenderOptions, d as InputFilterConfig, f as MultiSelectFilterConfig, i as BaseFilterConfig, l as FilterTypeDefinition, n as AttributeColumn, o as DateRangeFilterConfig, p as SelectFilterConfig, r as BaseActiveFilter, s as FilterConfig, t as ActiveFilter, u as FilterTypeResolver } from "./types-BXJ6qAGy.mjs";
|
|
2
2
|
export { ActiveFilter, AttributeColumn, BaseActiveFilter, BaseFilterConfig, ComboboxFilterConfig, DateRangeFilterConfig, FilterConfig, FilterRenderOptions, FilterTypeDefinition, FilterTypeResolver, InputFilterConfig, MultiSelectFilterConfig, SelectFilterConfig };
|
package/dist/types6.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as ValueControlProps } from "./types-CqcbWyUY.mjs";
|
|
2
2
|
export { ValueControlProps };
|
package/dist/types8.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Mode, c as PopupMode, i as FunctionFormRenderProps, l as TextStyle, n as CustomFunctionDetailRenderProps, o as OpenCodeChainFunctionPanel, r as FunctionAtCursor, s as PopoverFooterRenderer, t as CodeChainFunctionPanelRenderProps, u as ValueType } from "./types-
|
|
1
|
+
import { a as Mode, c as PopupMode, i as FunctionFormRenderProps, l as TextStyle, n as CustomFunctionDetailRenderProps, o as OpenCodeChainFunctionPanel, r as FunctionAtCursor, s as PopoverFooterRenderer, t as CodeChainFunctionPanelRenderProps, u as ValueType } from "./types-02Ij0dgs.mjs";
|
|
2
2
|
export { CodeChainFunctionPanelRenderProps, CustomFunctionDetailRenderProps, FunctionAtCursor, FunctionFormRenderProps, Mode, OpenCodeChainFunctionPanel, PopoverFooterRenderer, PopupMode, TextStyle, ValueType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as FilterStateV2 } from "./types-
|
|
1
|
+
import { m as FilterStateV2 } from "./types-DLnCkvTt.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/components/DataTable/TableControls/FiltersV2/url-state.d.ts
|
|
4
4
|
/**
|
|
@@ -39,4 +39,4 @@ declare function applyFilterStateToSearchParams(params: URLSearchParams, state:
|
|
|
39
39
|
declare function decodeFilterStateFromString(raw: string | null | undefined): FilterStateV2 | null;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { decodeFilterStateFromUrl as a, decodeFilterStateFromString as i, UrlStateCodecResult as n, encodeFilterStateToUrlParam as o, applyFilterStateToSearchParams as r, FILTER_STATE_URL_PARAM as t };
|
|
42
|
-
//# sourceMappingURL=url-state-
|
|
42
|
+
//# sourceMappingURL=url-state-CXUuK3_r.d.mts.map
|
package/dist/url-state.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-
|
|
1
|
+
import { a as decodeFilterStateFromUrl, i as decodeFilterStateFromString, n as UrlStateCodecResult, o as encodeFilterStateToUrlParam, r as applyFilterStateToSearchParams, t as FILTER_STATE_URL_PARAM } from "./url-state-CXUuK3_r.mjs";
|
|
2
2
|
export { FILTER_STATE_URL_PARAM, UrlStateCodecResult, applyFilterStateToSearchParams, decodeFilterStateFromString, decodeFilterStateFromUrl, encodeFilterStateToUrlParam };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as Sticker } from "./Sticker-
|
|
2
|
-
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-
|
|
3
|
-
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-
|
|
4
|
-
import { t as Option } from "./schemaOptions-
|
|
5
|
-
import { n as PossibleChainSchema, t as ChainRoot } from "./chainTypes-
|
|
1
|
+
import { r as Sticker } from "./Sticker-CLvRB8V5.mjs";
|
|
2
|
+
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-C4lfpDrt.mjs";
|
|
3
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
4
|
+
import { t as Option } from "./schemaOptions-DMq37JC5.mjs";
|
|
5
|
+
import { n as PossibleChainSchema, t as ChainRoot } from "./chainTypes-C5mXGz6T.mjs";
|
|
6
6
|
import { ComponentProps } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/lib/useChain.d.ts
|
|
@@ -74,4 +74,4 @@ declare const useChainSchema: ({
|
|
|
74
74
|
declare const useChain: UseChainHook;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { useChain as n, useChainSchema as r, chainRootsFromSchemaProperties as t };
|
|
77
|
-
//# sourceMappingURL=useChain-
|
|
77
|
+
//# sourceMappingURL=useChain-B--KAtdN.d.mts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as ASTNode } from "./types-
|
|
2
|
-
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-
|
|
3
|
-
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-
|
|
4
|
-
import { n as PossibleChainSchema, t as ChainRoot } from "./chainTypes-
|
|
5
|
-
import { u as ValueType } from "./types-
|
|
6
|
-
import { n as useChain } from "./useChain-
|
|
1
|
+
import { t as ASTNode } from "./types-DeVO4sCM.mjs";
|
|
2
|
+
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-C4lfpDrt.mjs";
|
|
3
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
4
|
+
import { n as PossibleChainSchema, t as ChainRoot } from "./chainTypes-C5mXGz6T.mjs";
|
|
5
|
+
import { u as ValueType } from "./types-02Ij0dgs.mjs";
|
|
6
|
+
import { n as useChain } from "./useChain-B--KAtdN.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/components/SmartTextInput/useChainAtCursor.d.ts
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as OpenCodeChainFunctionPanel, t as CodeChainFunctionPanelRenderProps } from "./types-
|
|
1
|
+
import { o as OpenCodeChainFunctionPanel, t as CodeChainFunctionPanelRenderProps } from "./types-02Ij0dgs.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SmartTextInput/useCodeChainFunctionPanel.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-
|
|
2
|
-
import { i as ColumnConfig } from "./types-
|
|
1
|
+
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-BWBBUXCs.mjs";
|
|
2
|
+
import { i as ColumnConfig } from "./types-BeFBvQ1c.mjs";
|
|
3
3
|
import { RowData } from "@tanstack/react-table";
|
|
4
4
|
|
|
5
5
|
//#region src/patterns/IndexTableLayout/useColumnConfiguration.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as FilterStateV2, n as CompoundExpression, u as FilterRule } from "./types-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { m as FilterStateV2, n as CompoundExpression, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-C2NVPhMO.mjs";
|
|
3
3
|
import { SetStateAction } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/DataTable/TableControls/FiltersV2/useFilterStateV2.d.ts
|
|
@@ -91,4 +91,4 @@ interface UseFilterStateV2Result {
|
|
|
91
91
|
declare function useFilterStateV2(options: UseFilterStateV2Options): UseFilterStateV2Result;
|
|
92
92
|
//#endregion
|
|
93
93
|
export { UseFilterStateV2Result as n, useFilterStateV2 as r, UseFilterStateV2Options as t };
|
|
94
|
-
//# sourceMappingURL=useFilterStateV2-
|
|
94
|
+
//# sourceMappingURL=useFilterStateV2-DBpbxAEC.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-
|
|
1
|
+
import { n as UseFilterStateV2Result, r as useFilterStateV2, t as UseFilterStateV2Options } from "./useFilterStateV2-DBpbxAEC.mjs";
|
|
2
2
|
export { UseFilterStateV2Options, UseFilterStateV2Result, useFilterStateV2 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ErrorProps } from "./ErrorProps-
|
|
1
|
+
import { t as ErrorProps } from "./ErrorProps-4Ohsinrf.mjs";
|
|
2
2
|
import * as _$react from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FormControl/useFormField.d.ts
|
|
@@ -29,4 +29,4 @@ declare const useFormField: (props: Partial<FormControlContextProps>) => {
|
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
31
|
export { FormControlContextProps as n, useFormField as r, FormControlContext as t };
|
|
32
|
-
//# sourceMappingURL=useFormField-
|
|
32
|
+
//# sourceMappingURL=useFormField-CTgW_8x0.d.mts.map
|
package/dist/useFormField.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-
|
|
1
|
+
import { n as FormControlContextProps, r as useFormField, t as FormControlContext } from "./useFormField-CTgW_8x0.mjs";
|
|
2
2
|
export { FormControlContext, FormControlContextProps, useFormField as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as usePathname } from "./useLocationPathname-
|
|
1
|
+
import { t as usePathname } from "./useLocationPathname-CClZoIGm.mjs";
|
|
2
2
|
export { usePathname };
|
package/dist/{useTableBoxDragAndDrop-CCMADt-F.d.mts → useTableBoxDragAndDrop-MwbXWWDQ.d.mts}
RENAMED
|
@@ -66,4 +66,4 @@ declare const useTableBoxDragAndDrop: <T extends object>({
|
|
|
66
66
|
}: UseTableBoxDragAndDropArgs<T>) => UseTableBoxDragAndDropResult;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { ReorderConfig as n, useTableBoxDragAndDrop as r, DragDirection as t };
|
|
69
|
-
//# sourceMappingURL=useTableBoxDragAndDrop-
|
|
69
|
+
//# sourceMappingURL=useTableBoxDragAndDrop-MwbXWWDQ.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-
|
|
1
|
+
import { n as ReorderConfig, r as useTableBoxDragAndDrop, t as DragDirection } from "./useTableBoxDragAndDrop-MwbXWWDQ.mjs";
|
|
2
2
|
export { DragDirection, ReorderConfig, useTableBoxDragAndDrop };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as RowAction, O as SortProps, _ as DataTableColumns, l as DataTableColumnFormat } from "./types-
|
|
1
|
+
import { C as RowAction, O as SortProps, _ as DataTableColumns, l as DataTableColumnFormat } from "./types-BeFBvQ1c.mjs";
|
|
2
2
|
import { ColumnDef, Row, RowData, Table } from "@tanstack/react-table";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DataTable/useTableColumns.d.ts
|
|
@@ -69,4 +69,4 @@ declare function useTableColumns<TData extends RowData, TFormat extends {
|
|
|
69
69
|
}[]];
|
|
70
70
|
//#endregion
|
|
71
71
|
export { UseTableColumnsParams as n, useTableColumns as r, RenderFormatFn as t };
|
|
72
|
-
//# sourceMappingURL=useTableColumns-
|
|
72
|
+
//# sourceMappingURL=useTableColumns-DJFy0Gp8.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as UseTableColumnsParams, r as useTableColumns, t as RenderFormatFn } from "./useTableColumns-
|
|
1
|
+
import { n as UseTableColumnsParams, r as useTableColumns, t as RenderFormatFn } from "./useTableColumns-DJFy0Gp8.mjs";
|
|
2
2
|
export { RenderFormatFn, UseTableColumnsParams, useTableColumns };
|
package/dist/useTruncation.d.mts
CHANGED
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
type RequireOneOf<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>> & { [K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>> }[Keys];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { RequireOneOf as t };
|
|
9
|
-
//# sourceMappingURL=utilities-
|
|
9
|
+
//# sourceMappingURL=utilities-BDkho6-f.d.mts.map
|
package/dist/utilities.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as RequireOneOf } from "./utilities-
|
|
1
|
+
import { t as RequireOneOf } from "./utilities-BDkho6-f.mjs";
|
|
2
2
|
export { RequireOneOf };
|
package/dist/utils/testing.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as RouterAdapter } from "../types-
|
|
1
|
+
import { n as RouterAdapter } from "../types-BRYGqFVm.mjs";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
import * as _$_testing_library_react0 from "@testing-library/react";
|
|
4
4
|
import { RenderOptions, screen } from "@testing-library/react";
|
package/dist/utils.d.mts
CHANGED
package/dist/utils4.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ASTChain } from "./types-
|
|
2
|
-
import { t as ASTNode } from "./types-
|
|
3
|
-
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-
|
|
4
|
-
import { t as ChainRoot } from "./chainTypes-
|
|
5
|
-
import { a as Mode, r as FunctionAtCursor, u as ValueType } from "./types-
|
|
1
|
+
import { n as ASTChain } from "./types-D9LBWGw5.mjs";
|
|
2
|
+
import { t as ASTNode } from "./types-DeVO4sCM.mjs";
|
|
3
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
4
|
+
import { t as ChainRoot } from "./chainTypes-C5mXGz6T.mjs";
|
|
5
|
+
import { a as Mode, r as FunctionAtCursor, u as ValueType } from "./types-02Ij0dgs.mjs";
|
|
6
6
|
import { RefObject } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/SmartTextInput/utils.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as FilterStateV2, u as FilterRule } from "./types-
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { m as FilterStateV2, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-C2NVPhMO.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DataTable/TableControls/FiltersV2/validation.d.ts
|
|
5
5
|
/**
|
|
@@ -48,4 +48,4 @@ declare function pruneToRegistry(state: FilterStateV2, registry: FieldRegistry |
|
|
|
48
48
|
declare function hasCompleteValue(rule: FilterRule, registry: FieldRegistry): boolean;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { isFilterStateV2 as n, pruneToRegistry as r, hasCompleteValue as t };
|
|
51
|
-
//# sourceMappingURL=validation-
|
|
51
|
+
//# sourceMappingURL=validation-Tgg3AhuP.d.mts.map
|
package/dist/validation.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-
|
|
1
|
+
import { n as isFilterStateV2, r as pruneToRegistry, t as hasCompleteValue } from "./validation-Tgg3AhuP.mjs";
|
|
2
2
|
export { hasCompleteValue, isFilterStateV2, pruneToRegistry };
|
package/dist/validation2.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as ASTNode } from "./types-
|
|
2
|
-
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-
|
|
3
|
-
import { t as ChainRoot } from "./chainTypes-
|
|
4
|
-
import { u as ValueType } from "./types-
|
|
1
|
+
import { t as ASTNode } from "./types-DeVO4sCM.mjs";
|
|
2
|
+
import { dt as ObjectSchemaMap, n as JsonSchema, st as FunctionJsonSchema } from "./jsonSchema-C4lfpDrt.mjs";
|
|
3
|
+
import { t as ChainRoot } from "./chainTypes-C5mXGz6T.mjs";
|
|
4
|
+
import { u as ValueType } from "./types-02Ij0dgs.mjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/SmartTextInput/validation.d.ts
|
package/dist/{value-control-resolver-Df0AmGFe.d.mts → value-control-resolver-XQbGCdsP.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-
|
|
1
|
+
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, o as FilterField, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DataTable/TableControls/FiltersV2/FilterBar/value-control-resolver.d.ts
|
|
@@ -46,4 +46,4 @@ type ValueControlResolver = (opts: ResolveValueControlOptions) => ReactNode | un
|
|
|
46
46
|
declare function resolveValueControl(opts: ResolveValueControlOptions, hostResolver?: ValueControlResolver): ReactNode;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { ValueControlResolver as n, resolveValueControl as r, ResolveValueControlOptions as t };
|
|
49
|
-
//# sourceMappingURL=value-control-resolver-
|
|
49
|
+
//# sourceMappingURL=value-control-resolver-XQbGCdsP.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-
|
|
1
|
+
import { n as ValueControlResolver, r as resolveValueControl, t as ResolveValueControlOptions } from "./value-control-resolver-XQbGCdsP.mjs";
|
|
2
2
|
export { ResolveValueControlOptions, ValueControlResolver, resolveValueControl };
|