@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "../../types-
|
|
2
|
-
import { n as RouterProvider, r as useRouter, t as RouterContext } from "../../RouterContext-
|
|
3
|
-
import { t as createPath } from "../../createPath-
|
|
4
|
-
import { t as RouterLink } from "../../RouterLink-
|
|
5
|
-
import { t as usePathname } from "../../useLocationPathname-
|
|
1
|
+
import { i as To, n as RouterAdapter, r as RouterLinkComponentProps, t as NavigateOptions } from "../../types-BRYGqFVm.mjs";
|
|
2
|
+
import { n as RouterProvider, r as useRouter, t as RouterContext } from "../../RouterContext-DchdVyIX.mjs";
|
|
3
|
+
import { t as createPath } from "../../createPath-BgyL9FVF.mjs";
|
|
4
|
+
import { t as RouterLink } from "../../RouterLink-B6ikC5Kq.mjs";
|
|
5
|
+
import { t as usePathname } from "../../useLocationPathname-CClZoIGm.mjs";
|
|
6
6
|
export { NavigateOptions, RouterAdapter, RouterContext, RouterLink, RouterLinkComponentProps, RouterProvider, To, createPath, usePathname, useRouter };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as validatePath, a as formatDisplayValue, c as getSchemaByPath, d as getSchemaOptions, f as hasRequiredPropertyShape, g as splitAtNearestParentObject, h as nextLinkSchema, i as extractPlatformObjectKey, l as getSchemaForFieldPath, m as isValidOption, n as OptionFilters, o as getFunctionSchemaForNode, p as isTypeMatch, r as UNTYPED_ADDITIONAL_PROPERTY_SCHEMA, s as getOptionForValue, t as Option, u as getSchemaForVariablePath } from "../schemaOptions-
|
|
1
|
+
import { _ as validatePath, a as formatDisplayValue, c as getSchemaByPath, d as getSchemaOptions, f as hasRequiredPropertyShape, g as splitAtNearestParentObject, h as nextLinkSchema, i as extractPlatformObjectKey, l as getSchemaForFieldPath, m as isValidOption, n as OptionFilters, o as getFunctionSchemaForNode, p as isTypeMatch, r as UNTYPED_ADDITIONAL_PROPERTY_SCHEMA, s as getOptionForValue, t as Option, u as getSchemaForVariablePath } from "../schemaOptions-DMq37JC5.mjs";
|
|
2
2
|
export { Option, OptionFilters, UNTYPED_ADDITIONAL_PROPERTY_SCHEMA, extractPlatformObjectKey, formatDisplayValue, getFunctionSchemaForNode, getOptionForValue, getSchemaByPath, getSchemaForFieldPath, getSchemaForVariablePath, getSchemaOptions, hasRequiredPropertyShape, isTypeMatch, isValidOption, nextLinkSchema, splitAtNearestParentObject, validatePath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
export { MaybeSemanticTheme, SemanticFallback, semanticColor, semanticOnly, semanticTokens };
|
|
1
|
+
import { a as semanticColor, i as chartingColors, n as MaybeSemanticTheme, o as semanticOnly, r as SemanticFallback, s as semanticTokens, t as MaybeChartingTheme } from "../semanticColor-BKbCliyl.mjs";
|
|
2
|
+
export { MaybeChartingTheme, MaybeSemanticTheme, SemanticFallback, chartingColors, semanticColor, semanticOnly, semanticTokens };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChartingColors } from "@persona/design-tokens";
|
|
1
2
|
//#region src/lib/semanticColor.ts
|
|
2
3
|
/**
|
|
3
4
|
* Reads a semantic token, falling back to `legacy` when the theme has no semantic namespace.
|
|
@@ -9,9 +10,15 @@
|
|
|
9
10
|
const semanticColor = (theme, token, legacy) => theme?.semantic?.[token] ?? legacy;
|
|
10
11
|
/** For palettes derived from several tokens; callers must branch and keep the legacy path intact. */
|
|
11
12
|
const semanticTokens = (theme) => theme?.semantic;
|
|
13
|
+
/**
|
|
14
|
+
* The charting palettes for the theme's colour mode (`chartingLight` / `chartingDark`, installed by
|
|
15
|
+
* `withPdsTheming`), with the same palette names and lengths as `ChartingColors`. Falls back to
|
|
16
|
+
* `ChartingColors` from `@persona/design-tokens` — the light palettes — when the theme carries none.
|
|
17
|
+
*/
|
|
18
|
+
const chartingColors = (theme) => theme?.charting ?? ChartingColors;
|
|
12
19
|
/** Interpolation for declarations that exist only under semantic theming; emits nothing otherwise. */
|
|
13
20
|
const semanticOnly = (build) => ({ theme }) => theme?.semantic ? build(theme.semantic) : void 0;
|
|
14
21
|
//#endregion
|
|
15
|
-
export { semanticColor, semanticOnly, semanticTokens };
|
|
22
|
+
export { chartingColors, semanticColor, semanticOnly, semanticTokens };
|
|
16
23
|
|
|
17
24
|
//# sourceMappingURL=semanticColor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"semanticColor.mjs","names":[],"sources":["../../src/lib/semanticColor.ts"],"sourcesContent":["import type { CssColor } from '#src/lib/color';\nimport type { CssPercentage, SemanticTokens } from '#src/variables/semantic';\n\n/** PDS components also render under foreign themes (Relay, darkTheme), so `semantic` is optional. */\nexport interface MaybeSemanticTheme {\n semantic?: SemanticTokens;\n}\n\n/** Colour tokens also accept a computed `CssColor` fallback; percentage tokens only their own type. */\nexport type SemanticFallback<K extends keyof SemanticTokens> =\n | SemanticTokens[K]\n | (SemanticTokens[K] extends CssPercentage ? never : CssColor);\n\n/**\n * Reads a semantic token, falling back to `legacy` when the theme has no semantic namespace.\n * `legacy` must be the component's pre-migration expression (not a generic default) so themes\n * without semantic tokens keep rendering exactly as before. It is evaluated by the caller, so a\n * component Relay renders must pass a constant: Relay's theme has no `theme.color` either.\n * `theme` may be `undefined` (`useTheme()` outside a provider).\n */\nexport const semanticColor = <K extends keyof SemanticTokens>(\n theme: MaybeSemanticTheme | undefined,\n token: K,\n legacy: SemanticFallback<K>,\n): SemanticFallback<K> => theme?.semantic?.[token] ?? legacy;\n\n/** For palettes derived from several tokens; callers must branch and keep the legacy path intact. */\nexport const semanticTokens = (theme: MaybeSemanticTheme | undefined): SemanticTokens | undefined =>\n theme?.semantic;\n\n/** Interpolation for declarations that exist only under semantic theming; emits nothing otherwise. */\nexport const semanticOnly =\n <T>(build: (tokens: SemanticTokens) => T) =>\n ({ theme }: { theme?: MaybeSemanticTheme }): T | undefined =>\n theme?.semantic ? build(theme.semantic) : undefined;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"semanticColor.mjs","names":[],"sources":["../../src/lib/semanticColor.ts"],"sourcesContent":["import { ChartingColors } from '@persona/design-tokens';\n\nimport type { CssColor } from '#src/lib/color';\nimport type { ChartingTokens } from '#src/variables/charting';\nimport type { CssPercentage, SemanticTokens } from '#src/variables/semantic';\n\n/** PDS components also render under foreign themes (Relay, darkTheme), so `semantic` is optional. */\nexport interface MaybeSemanticTheme {\n semantic?: SemanticTokens;\n}\n\n/** Charting palettes are optional for the same reason. */\nexport interface MaybeChartingTheme {\n charting?: ChartingTokens;\n}\n\n/** Colour tokens also accept a computed `CssColor` fallback; percentage tokens only their own type. */\nexport type SemanticFallback<K extends keyof SemanticTokens> =\n | SemanticTokens[K]\n | (SemanticTokens[K] extends CssPercentage ? never : CssColor);\n\n/**\n * Reads a semantic token, falling back to `legacy` when the theme has no semantic namespace.\n * `legacy` must be the component's pre-migration expression (not a generic default) so themes\n * without semantic tokens keep rendering exactly as before. It is evaluated by the caller, so a\n * component Relay renders must pass a constant: Relay's theme has no `theme.color` either.\n * `theme` may be `undefined` (`useTheme()` outside a provider).\n */\nexport const semanticColor = <K extends keyof SemanticTokens>(\n theme: MaybeSemanticTheme | undefined,\n token: K,\n legacy: SemanticFallback<K>,\n): SemanticFallback<K> => theme?.semantic?.[token] ?? legacy;\n\n/** For palettes derived from several tokens; callers must branch and keep the legacy path intact. */\nexport const semanticTokens = (theme: MaybeSemanticTheme | undefined): SemanticTokens | undefined =>\n theme?.semantic;\n\n/**\n * The charting palettes for the theme's colour mode (`chartingLight` / `chartingDark`, installed by\n * `withPdsTheming`), with the same palette names and lengths as `ChartingColors`. Falls back to\n * `ChartingColors` from `@persona/design-tokens` — the light palettes — when the theme carries none.\n */\nexport const chartingColors = (theme: MaybeChartingTheme | undefined): ChartingTokens =>\n theme?.charting ?? ChartingColors;\n\n/** Interpolation for declarations that exist only under semantic theming; emits nothing otherwise. */\nexport const semanticOnly =\n <T>(build: (tokens: SemanticTokens) => T) =>\n ({ theme }: { theme?: MaybeSemanticTheme }): T | undefined =>\n theme?.semantic ? build(theme.semantic) : undefined;\n"],"mappings":";;;;;;;;;AA4BA,MAAa,iBACX,OACA,OACA,WACwB,OAAO,WAAW,UAAU;;AAGtD,MAAa,kBAAkB,UAC7B,OAAO;;;;;;AAOT,MAAa,kBAAkB,UAC7B,OAAO,YAAY;;AAGrB,MAAa,gBACP,WACH,EAAE,YACD,OAAO,WAAW,MAAM,MAAM,SAAS,GAAG,KAAA"}
|
package/dist/lib/useChain.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useChain, r as useChainSchema, t as chainRootsFromSchemaProperties } from "../useChain-
|
|
1
|
+
import { n as useChain, r as useChainSchema, t as chainRootsFromSchemaProperties } from "../useChain-B--KAtdN.mjs";
|
|
2
2
|
export { chainRootsFromSchemaProperties, useChain as default, useChainSchema };
|
package/dist/lint/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as PossibleChainSchema } from "./chainTypes-
|
|
2
|
-
import { a as Mode, u as ValueType } from "./types-
|
|
1
|
+
import { n as PossibleChainSchema } from "./chainTypes-C5mXGz6T.mjs";
|
|
2
|
+
import { a as Mode, u as ValueType } from "./types-02Ij0dgs.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/components/SmartTextInput/listbox-options.d.ts
|
|
5
5
|
type MethodChainOption = {
|
|
@@ -35,4 +35,4 @@ declare const getContextMenuOptions: (valueIsEmpty: boolean, allowedValueType: V
|
|
|
35
35
|
declare const getMethodChainOptions: (options: PossibleChainSchema[]) => MethodChainOption[];
|
|
36
36
|
//#endregion
|
|
37
37
|
export { SmartTextInputOption as a, isContextMenuOption as c, MethodChainOption as i, isMethodChainOption as l, ContextMenuOption as n, getContextMenuOptions as o, EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION as r, getMethodChainOptions as s, ContextMenuExamples as t };
|
|
38
|
-
//# sourceMappingURL=listbox-options-
|
|
38
|
+
//# sourceMappingURL=listbox-options-CDAOiyUH.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SmartTextInputOption, c as isContextMenuOption, i as MethodChainOption, l as isMethodChainOption, n as ContextMenuOption, o as getContextMenuOptions, r as EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION, s as getMethodChainOptions, t as ContextMenuExamples } from "./listbox-options-
|
|
1
|
+
import { a as SmartTextInputOption, c as isContextMenuOption, i as MethodChainOption, l as isMethodChainOption, n as ContextMenuOption, o as getContextMenuOptions, r as EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION, s as getMethodChainOptions, t as ContextMenuExamples } from "./listbox-options-CDAOiyUH.mjs";
|
|
2
2
|
export { ContextMenuExamples, ContextMenuOption, EXIT_METHOD_CHAIN_VALUE_TYPE_OPTION, MethodChainOption, SmartTextInputOption, getContextMenuOptions, getMethodChainOptions, isContextMenuOption, isMethodChainOption };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as ASTNodeType } from "./types-
|
|
2
|
-
import { n as JsonSchema } from "./jsonSchema-
|
|
3
|
-
import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "./methodChainTypes-
|
|
1
|
+
import { u as ASTNodeType } from "./types-D9LBWGw5.mjs";
|
|
2
|
+
import { n as JsonSchema } from "./jsonSchema-C4lfpDrt.mjs";
|
|
3
|
+
import { a as FunctionParamType, c as NumberNode, i as FunctionNode, l as StringNode, n as Chain, o as IdentifierNode, r as CustomFunctionNode, s as MethodChainNode, t as ArrayNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/components/SmartTextInput/parser/method-chain/parser.d.ts
|
|
6
6
|
declare class SyntaxError extends Error {
|
|
@@ -63,4 +63,4 @@ declare const getSyntaxError: () => typeof SyntaxError;
|
|
|
63
63
|
declare const methodChainNodeToJsonSchema: (node: StringNode | NumberNode | ArrayNode) => JsonSchema | null;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { tryParseMethodChain as C, removeFunctionNode as S, methodChainToString as _, getFunctionParams as a, pathContainsFunctionNode as b, isCustomFunctionNode as c, isIdentifierNode as d, isStringNode as f, methodChainRootName as g, methodChainNodeToJsonSchema as h, containsFunctionNode as i, isEmpty as l, methodChainCache as m, MethodChainNodeTypes as n, getSyntaxError as o, isValid as p, appendedMethodChain as r, isArrayNode as s, EMPTY_METHOD_CHAIN as t, isFunctionNode as u, parseMethodChain as v, pathIsNormative as x, parseWithPartialOption as y };
|
|
66
|
-
//# sourceMappingURL=methodChain-
|
|
66
|
+
//# sourceMappingURL=methodChain-COb4t-sM.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ASTIdentifierNode, d as ASTNumberNode, m as ASTStringNode, n as ASTChain, o as ASTFunctionNode, r as ASTCustomFunctionNode, t as ASTArrayNode } from "./types-
|
|
1
|
+
import { c as ASTIdentifierNode, d as ASTNumberNode, m as ASTStringNode, n as ASTChain, o as ASTFunctionNode, r as ASTCustomFunctionNode, t as ASTArrayNode } from "./types-D9LBWGw5.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/methodChainTypes.d.ts
|
|
4
4
|
type MethodChainNode = IdentifierNode | FunctionNode | CustomFunctionNode;
|
|
@@ -20,4 +20,4 @@ type CustomFunctionNode = Omit<ASTCustomFunctionNode, 'children' | 'start' | 'en
|
|
|
20
20
|
};
|
|
21
21
|
//#endregion
|
|
22
22
|
export { FunctionParamType as a, NumberNode as c, FunctionNode as i, StringNode as l, Chain as n, IdentifierNode as o, CustomFunctionNode as r, MethodChainNode as s, ArrayNode as t };
|
|
23
|
-
//# sourceMappingURL=methodChainTypes-
|
|
23
|
+
//# sourceMappingURL=methodChainTypes-De6sHGyd.d.mts.map
|
package/dist/min-copy-size.d.mts
CHANGED
package/dist/mixins/focus.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as Variant } from "../theme-
|
|
2
|
-
import { t as PseudoClassProps } from "../PseudoClassProps-
|
|
1
|
+
import { o as Variant } from "../theme-CeA8jBRG.mjs";
|
|
2
|
+
import { t as PseudoClassProps } from "../PseudoClassProps-CIuO49a4.mjs";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
|
|
5
5
|
//#region src/mixins/hoverable.d.ts
|
package/dist/mixins/input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-
|
|
1
|
+
import { n as InputSizes, r as inputMixin, t as InputMixinProps } from "../input-JDU1Goyr.mjs";
|
|
2
2
|
export { InputMixinProps, InputSizes, inputMixin as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as Variant } from "../theme-
|
|
2
|
-
import { t as PseudoClassProps } from "../PseudoClassProps-
|
|
1
|
+
import { o as Variant } from "../theme-CeA8jBRG.mjs";
|
|
2
|
+
import { t as PseudoClassProps } from "../PseudoClassProps-CIuO49a4.mjs";
|
|
3
3
|
import * as _$styled_components0 from "styled-components";
|
|
4
4
|
|
|
5
5
|
//#region src/mixins/menuItem.d.ts
|
package/dist/no-raw-table.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as FilterConditionOperator, c as FilterFieldType, d as FilterRuleValue, l as FilterOperator, o as FilterField, r as DateRangeFilterValue, u as FilterRule } from "./types-
|
|
2
|
-
import { i as CommonStrings } from "./strings-
|
|
1
|
+
import { a as FilterConditionOperator, c as FilterFieldType, d as FilterRuleValue, l as FilterOperator, o as FilterField, r as DateRangeFilterValue, u as FilterRule } from "./types-DLnCkvTt.mjs";
|
|
2
|
+
import { i as CommonStrings } from "./strings-DQZIO-n7.mjs";
|
|
3
3
|
//#region src/components/DataTable/TableControls/FiltersV2/operators.d.ts
|
|
4
4
|
type OperatorLabelKey = 'operatorIs' | 'operatorIsNot' | 'operatorContains' | 'operatorDoesNotContain' | 'operatorIsEmpty' | 'operatorIsNotEmpty' | 'operatorIsTrue' | 'operatorIsFalse' | 'operatorBefore' | 'operatorAfter' | 'operatorBetween' | 'operatorIsAnyOf' | 'operatorIsNoneOf' | 'operatorGreaterThan' | 'operatorGreaterThanOrEqual' | 'operatorLessThan' | 'operatorLessThanOrEqual' | 'operatorIsEqualTo' | 'operatorIsGreaterThan' | 'operatorIsLessThan';
|
|
5
5
|
/**
|
|
@@ -109,4 +109,4 @@ declare function emptyValueForRule(field: Pick<FilterField, 'type' | 'condition'
|
|
|
109
109
|
declare function reconcileValueForOperator(field: Pick<FilterField, 'type' | 'condition'>, nextOperator: FilterOperator, previousOperator: FilterOperator, value: FilterRuleValue): FilterRuleValue;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { isNumericComparisonOperator as _, emptyValueForRule as a, reconcileValueForOperator as b, getDefaultOperatorForType as c, getOperatorsForType as d, hasCompleteConditionValue as f, isNumericComparison as g, isMinutePrecisionDate as h, emptyValueForFieldType as i, getOperatorLabel as l, isCompleteNumericComparisonValue as m, NumericComparisonOperator as n, fieldHasMultipleOperators as o, isCompleteDateRange as p, carriesDateRange as r, getConditionOperator as s, NUMERIC_COMPARISON_OPERATORS as t, getOperatorsForField as u, isRangeOperator as v, withValue as x, isValuelessOperator as y };
|
|
112
|
-
//# sourceMappingURL=operators-
|
|
112
|
+
//# sourceMappingURL=operators-BHxKZcpD.d.mts.map
|
package/dist/operators.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isNumericComparisonOperator, a as emptyValueForRule, b as reconcileValueForOperator, c as getDefaultOperatorForType, d as getOperatorsForType, f as hasCompleteConditionValue, g as isNumericComparison, h as isMinutePrecisionDate, i as emptyValueForFieldType, l as getOperatorLabel, m as isCompleteNumericComparisonValue, n as NumericComparisonOperator, o as fieldHasMultipleOperators, p as isCompleteDateRange, r as carriesDateRange, s as getConditionOperator, t as NUMERIC_COMPARISON_OPERATORS, u as getOperatorsForField, v as isRangeOperator, x as withValue, y as isValuelessOperator } from "./operators-
|
|
1
|
+
import { _ as isNumericComparisonOperator, a as emptyValueForRule, b as reconcileValueForOperator, c as getDefaultOperatorForType, d as getOperatorsForType, f as hasCompleteConditionValue, g as isNumericComparison, h as isMinutePrecisionDate, i as emptyValueForFieldType, l as getOperatorLabel, m as isCompleteNumericComparisonValue, n as NumericComparisonOperator, o as fieldHasMultipleOperators, p as isCompleteDateRange, r as carriesDateRange, s as getConditionOperator, t as NUMERIC_COMPARISON_OPERATORS, u as getOperatorsForField, v as isRangeOperator, x as withValue, y as isValuelessOperator } from "./operators-BHxKZcpD.mjs";
|
|
2
2
|
export { NUMERIC_COMPARISON_OPERATORS, NumericComparisonOperator, carriesDateRange, emptyValueForFieldType, emptyValueForRule, fieldHasMultipleOperators, getConditionOperator, getDefaultOperatorForType, getOperatorLabel, getOperatorsForField, getOperatorsForType, hasCompleteConditionValue, isCompleteDateRange, isCompleteNumericComparisonValue, isMinutePrecisionDate, isNumericComparison, isNumericComparisonOperator, isRangeOperator, isValuelessOperator, reconcileValueForOperator, withValue };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as PdsColor } from "./color-Db57Wms_.mjs";
|
|
2
|
-
import { i as PersonaTheme } from "./theme-
|
|
2
|
+
import { i as PersonaTheme } from "./theme-CeA8jBRG.mjs";
|
|
3
3
|
import { Color } from "@persona/design-tokens";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Button/palette.d.ts
|
|
@@ -18,4 +18,4 @@ interface ButtonPalette {
|
|
|
18
18
|
declare const buttonPalette: (theme: PersonaTheme, variant: ButtonVariant) => ButtonPalette;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ButtonVariant as n, buttonPalette as r, ButtonPalette as t };
|
|
21
|
-
//# sourceMappingURL=palette-
|
|
21
|
+
//# sourceMappingURL=palette-DzmqrF_5.d.mts.map
|
package/dist/palette.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonVariant, r as buttonPalette, t as ButtonPalette } from "./palette-
|
|
1
|
+
import { n as ButtonVariant, r as buttonPalette, t as ButtonPalette } from "./palette-DzmqrF_5.mjs";
|
|
2
2
|
export { ButtonPalette, ButtonVariant, buttonPalette };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-Cs5CCPRy.mjs";
|
|
2
|
+
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
2
3
|
import { HeadlessAriaButton } from "../../lib/HeadlessAriaButton.mjs";
|
|
3
4
|
import { n as RouterLink } from "../../router-BxmA940v.mjs";
|
|
4
5
|
import { TruncatedText } from "../../lib/TruncatedText.mjs";
|
|
5
|
-
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
6
6
|
import { i as Paragraph, n as Heading$1 } from "../../Text-D0vEReED.mjs";
|
|
7
7
|
import "../../variables/transitions.mjs";
|
|
8
8
|
import { a as Tooltip } from "../../Tooltip-YViXzMdm.mjs";
|
|
9
9
|
import { focusStyle } from "../../mixins/focus.mjs";
|
|
10
10
|
import { n as Stack, t as HStack } from "../../Stack-Bzom2BTR.mjs";
|
|
11
|
-
import { n as Button$1, t as IconButton } from "../../IconButton-
|
|
12
|
-
import { n as DropdownMenu_default } from "../../DropdownMenu-
|
|
13
|
-
import { t as DropdownButton } from "../../DropdownButton-
|
|
11
|
+
import { n as Button$1, t as IconButton } from "../../IconButton-DxHB2g80.mjs";
|
|
12
|
+
import { n as DropdownMenu_default } from "../../DropdownMenu-c8XK2Lr4.mjs";
|
|
13
|
+
import { t as DropdownButton } from "../../DropdownButton-DpLG-cIj.mjs";
|
|
14
14
|
import { n as SingleColumnLayout } from "../../PageLayout-DjtGrvJa.mjs";
|
|
15
15
|
import { cloneElement } from "react";
|
|
16
16
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Card_default } from "../../Card-DuQHyroh.mjs";
|
|
2
|
-
import { t as DataTable } from "../../DataTable-
|
|
3
|
-
import { t as PageHeader } from "../../PageHeader-
|
|
2
|
+
import { t as DataTable } from "../../DataTable-CIZJ1vO8.mjs";
|
|
3
|
+
import { t as PageHeader } from "../../PageHeader-7_Hf6rHl.mjs";
|
|
4
4
|
import { a as Section, i as Container } from "../../PageLayout-DjtGrvJa.mjs";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-Cs5CCPRy.mjs";
|
|
2
2
|
import { n as Stack, t as HStack } from "../../Stack-Bzom2BTR.mjs";
|
|
3
3
|
import { t as LoadingShimmer } from "../../LoadingShimmer-oPIv2ESr.mjs";
|
|
4
|
-
import { t as Card_default } from "../../CardV2-
|
|
4
|
+
import { t as Card_default } from "../../CardV2-ACI5RIzF.mjs";
|
|
5
5
|
import { h as Table, m as TableHeaderCell, n as TableBody, p as TableRow, r as TableHead, s as TableCell } from "../../Table-DPi4Dt5H.mjs";
|
|
6
|
-
import { n as PageHeaderContainer } from "../../PageHeader-
|
|
6
|
+
import { n as PageHeaderContainer } from "../../PageHeader-7_Hf6rHl.mjs";
|
|
7
7
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/patterns/containers.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Container, r as Section, t as Backdrop } from "../../PageLayout-
|
|
2
|
-
import { r as PageLayoutWidth } from "../../PageLayoutFrame-
|
|
3
|
-
import { n as SingleColumnLayoutProps, t as SingleColumnLayout } from "../../SingleColumnLayout-
|
|
4
|
-
import { n as SplitColumnLayoutProps, t as SplitColumnLayout } from "../../SplitColumnLayout-
|
|
1
|
+
import { n as Container, r as Section, t as Backdrop } from "../../PageLayout-BdVM37bV.mjs";
|
|
2
|
+
import { r as PageLayoutWidth } from "../../PageLayoutFrame-4QGs7x-t.mjs";
|
|
3
|
+
import { n as SingleColumnLayoutProps, t as SingleColumnLayout } from "../../SingleColumnLayout-D2bpX7X1.mjs";
|
|
4
|
+
import { n as SplitColumnLayoutProps, t as SplitColumnLayout } from "../../SplitColumnLayout-CRDSDHHm.mjs";
|
|
5
5
|
export { Backdrop, Container, PageLayoutWidth, Section, SingleColumnLayout, SingleColumnLayoutProps, SplitColumnLayout, SplitColumnLayoutProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-Cs5CCPRy.mjs";
|
|
2
2
|
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
3
|
import { t as HStack } from "../../Stack-Bzom2BTR.mjs";
|
|
4
|
-
import { n as Button } from "../../IconButton-
|
|
5
|
-
import { i as Modal_default } from "../../Modal-
|
|
4
|
+
import { n as Button } from "../../IconButton-DxHB2g80.mjs";
|
|
5
|
+
import { i as Modal_default } from "../../Modal-De5_bPJ_.mjs";
|
|
6
6
|
import { t as ProgressIndicator } from "../../ProgressIndicator-zt3ndT9U.mjs";
|
|
7
7
|
import { useState } from "react";
|
|
8
8
|
import { Color, Spacing } from "@persona/design-tokens";
|
package/dist/safe-parse.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as JsonSchemaTypes, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, dt as ObjectSchemaMap, f as JsonSchemaCustomTypes, n as JsonSchema, st as FunctionJsonSchema, y as JsonSchemaObject } from "./jsonSchema-
|
|
2
|
-
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-
|
|
1
|
+
import { T as JsonSchemaTypes, b as JsonSchemaObjectKey, c as JsonSchemaBasicTypes, dt as ObjectSchemaMap, f as JsonSchemaCustomTypes, n as JsonSchema, st as FunctionJsonSchema, y as JsonSchemaObject } from "./jsonSchema-C4lfpDrt.mjs";
|
|
2
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-De6sHGyd.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/lib/schemaOptions.d.ts
|
|
5
5
|
type VariableSchemaObject = {
|
|
@@ -175,4 +175,4 @@ declare const validatePath: ({
|
|
|
175
175
|
declare const splitAtNearestParentObject: (chain: Chain, currentSchema: JsonSchemaObject, platformSchemaMap: ObjectSchemaMap, primitiveUtilities: ObjectSchemaMap) => [leftChain: Chain, rightChain: Chain];
|
|
176
176
|
//#endregion
|
|
177
177
|
export { validatePath as _, formatDisplayValue as a, getSchemaByPath as c, getSchemaOptions as d, hasRequiredPropertyShape as f, splitAtNearestParentObject as g, nextLinkSchema as h, extractPlatformObjectKey as i, getSchemaForFieldPath as l, isValidOption as m, OptionFilters as n, getFunctionSchemaForNode as o, isTypeMatch as p, UNTYPED_ADDITIONAL_PROPERTY_SCHEMA as r, getOptionForValue as s, Option as t, getSchemaForVariablePath as u };
|
|
178
|
-
//# sourceMappingURL=schemaOptions-
|
|
178
|
+
//# sourceMappingURL=schemaOptions-DMq37JC5.d.mts.map
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { n as SemanticTokens, t as CssPercentage } from "./semantic-BZbvb3LV.mjs";
|
|
2
2
|
import { t as CssColor } from "./color-Db57Wms_.mjs";
|
|
3
|
+
import { t as ChartingTokens } from "./charting-C_WcP3tn.mjs";
|
|
3
4
|
|
|
4
5
|
//#region src/lib/semanticColor.d.ts
|
|
5
6
|
/** PDS components also render under foreign themes (Relay, darkTheme), so `semantic` is optional. */
|
|
6
7
|
interface MaybeSemanticTheme {
|
|
7
8
|
semantic?: SemanticTokens;
|
|
8
9
|
}
|
|
10
|
+
/** Charting palettes are optional for the same reason. */
|
|
11
|
+
interface MaybeChartingTheme {
|
|
12
|
+
charting?: ChartingTokens;
|
|
13
|
+
}
|
|
9
14
|
/** Colour tokens also accept a computed `CssColor` fallback; percentage tokens only their own type. */
|
|
10
15
|
type SemanticFallback<K extends keyof SemanticTokens> = SemanticTokens[K] | (SemanticTokens[K] extends CssPercentage ? never : CssColor);
|
|
11
16
|
/**
|
|
@@ -18,6 +23,12 @@ type SemanticFallback<K extends keyof SemanticTokens> = SemanticTokens[K] | (Sem
|
|
|
18
23
|
declare const semanticColor: <K extends keyof SemanticTokens>(theme: MaybeSemanticTheme | undefined, token: K, legacy: SemanticFallback<K>) => SemanticFallback<K>;
|
|
19
24
|
/** For palettes derived from several tokens; callers must branch and keep the legacy path intact. */
|
|
20
25
|
declare const semanticTokens: (theme: MaybeSemanticTheme | undefined) => SemanticTokens | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The charting palettes for the theme's colour mode (`chartingLight` / `chartingDark`, installed by
|
|
28
|
+
* `withPdsTheming`), with the same palette names and lengths as `ChartingColors`. Falls back to
|
|
29
|
+
* `ChartingColors` from `@persona/design-tokens` — the light palettes — when the theme carries none.
|
|
30
|
+
*/
|
|
31
|
+
declare const chartingColors: (theme: MaybeChartingTheme | undefined) => ChartingTokens;
|
|
21
32
|
/** Interpolation for declarations that exist only under semantic theming; emits nothing otherwise. */
|
|
22
33
|
declare const semanticOnly: <T>(build: (tokens: SemanticTokens) => T) => ({
|
|
23
34
|
theme
|
|
@@ -25,5 +36,5 @@ declare const semanticOnly: <T>(build: (tokens: SemanticTokens) => T) => ({
|
|
|
25
36
|
theme?: MaybeSemanticTheme;
|
|
26
37
|
}) => T | undefined;
|
|
27
38
|
//#endregion
|
|
28
|
-
export {
|
|
29
|
-
//# sourceMappingURL=semanticColor-
|
|
39
|
+
export { semanticColor as a, chartingColors as i, MaybeSemanticTheme as n, semanticOnly as o, SemanticFallback as r, semanticTokens as s, MaybeChartingTheme as t };
|
|
40
|
+
//# sourceMappingURL=semanticColor-BKbCliyl.d.mts.map
|
package/dist/shared.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as types_d_exports, i as RuleDocs, t as Context } from "./index-
|
|
1
|
+
import { a as types_d_exports, i as RuleDocs, t as Context } from "./index-CLAjbq8g.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/lint/shared.d.ts
|
|
4
4
|
declare const docs: (description: string) => RuleDocs;
|
|
@@ -169,4 +169,4 @@ declare const DEFAULT_COMMON_STRINGS: Readonly<CommonStrings>;
|
|
|
169
169
|
declare function resolveCommonStrings(overrides: CommonStringOverrides | undefined, base?: Readonly<CommonStrings>): CommonStrings;
|
|
170
170
|
//#endregion
|
|
171
171
|
export { DEFAULT_COMMON_STRINGS as a, CommonStrings as i, CommonStringOverrides as n, resolveCommonStrings as o, CommonStringValue as r, CommonStringKey as t };
|
|
172
|
-
//# sourceMappingURL=strings-
|
|
172
|
+
//# sourceMappingURL=strings-DQZIO-n7.d.mts.map
|
package/dist/strings.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as DEFAULT_COMMON_STRINGS, i as CommonStrings, n as CommonStringOverrides, o as resolveCommonStrings, r as CommonStringValue, t as CommonStringKey } from "./strings-
|
|
1
|
+
import { a as DEFAULT_COMMON_STRINGS, i as CommonStrings, n as CommonStringOverrides, o as resolveCommonStrings, r as CommonStringValue, t as CommonStringKey } from "./strings-DQZIO-n7.mjs";
|
|
2
2
|
export { CommonStringKey, CommonStringOverrides, CommonStringValue, CommonStrings, DEFAULT_COMMON_STRINGS, resolveCommonStrings };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { n as SemanticTokens } from "./semantic-BZbvb3LV.mjs";
|
|
2
2
|
import { n as PdsColor } from "./color-Db57Wms_.mjs";
|
|
3
|
+
import { t as ChartingTokens } from "./charting-C_WcP3tn.mjs";
|
|
3
4
|
import { Color, PDSTypeStyle } from "@persona/design-tokens";
|
|
4
5
|
|
|
5
6
|
//#region src/theme.d.ts
|
|
@@ -144,6 +145,8 @@ interface PersonaTheme {
|
|
|
144
145
|
color: ColorPalette;
|
|
145
146
|
/** Absent under foreign themes (Relay, darkTheme); read via `semanticColor()`, never directly. */
|
|
146
147
|
semantic?: SemanticTokens;
|
|
148
|
+
/** Charting palettes for the colour mode; absent when `semantic` is. Read via `chartingColors()`. */
|
|
149
|
+
charting?: ChartingTokens;
|
|
147
150
|
text: TextSettings;
|
|
148
151
|
element: ElementSettings;
|
|
149
152
|
card: CardSettings;
|
|
@@ -154,8 +157,9 @@ declare const defaultTheme: PersonaTheme;
|
|
|
154
157
|
declare const darkTheme: PersonaTheme;
|
|
155
158
|
declare const marketingFontTheme: PersonaTheme;
|
|
156
159
|
/**
|
|
157
|
-
* `'light'`/`'dark'` install the semantic map
|
|
158
|
-
* `'off'` removes the semantic
|
|
160
|
+
* `'light'`/`'dark'` install the semantic map, the matching primitive palette and the matching
|
|
161
|
+
* charting palettes together. `'off'` removes the semantic and charting namespaces so every
|
|
162
|
+
* `semanticColor()` call takes its legacy fallback and `chartingColors()` returns `ChartingColors`.
|
|
159
163
|
*/
|
|
160
164
|
type PdsThemingMode = 'off' | 'light' | 'dark';
|
|
161
165
|
type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<T, 'color' | 'semantic'> & (M extends 'off' ? {
|
|
@@ -168,4 +172,4 @@ type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<T, 'colo
|
|
|
168
172
|
declare function withPdsTheming<T extends PersonaTheme, M extends PdsThemingMode>(theme: T, mode: M): PdsThemed<T, M>;
|
|
169
173
|
//#endregion
|
|
170
174
|
export { TextColors as a, defaultTheme as c, PersonaTheme as i, marketingFontTheme as l, PdsThemed as n, Variant as o, PdsThemingMode as r, darkTheme as s, BackgroundColors as t, withPdsTheming as u };
|
|
171
|
-
//# sourceMappingURL=theme-
|
|
175
|
+
//# sourceMappingURL=theme-CeA8jBRG.d.mts.map
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TextColors, c as defaultTheme, i as PersonaTheme, l as marketingFontTheme, n as PdsThemed, o as Variant, r as PdsThemingMode, s as darkTheme, t as BackgroundColors, u as withPdsTheming } from "./theme-
|
|
1
|
+
import { a as TextColors, c as defaultTheme, i as PersonaTheme, l as marketingFontTheme, n as PdsThemed, o as Variant, r as PdsThemingMode, s as darkTheme, t as BackgroundColors, u as withPdsTheming } from "./theme-CeA8jBRG.mjs";
|
|
2
2
|
export { BackgroundColors, PdsThemed, PdsThemingMode, PersonaTheme, TextColors, Variant, darkTheme, defaultTheme as default, marketingFontTheme, withPdsTheming };
|
package/dist/theme.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { semanticDark, semanticLight } from "./variables/semantic.mjs";
|
|
2
|
+
import { chartingDark, chartingLight } from "./variables/charting.mjs";
|
|
2
3
|
import { Color, FontFamilies, Typography } from "@persona/design-tokens";
|
|
3
4
|
//#region src/theme.ts
|
|
4
5
|
const primary = {
|
|
@@ -344,17 +345,20 @@ const marketingFontTheme = {
|
|
|
344
345
|
const semanticPalettes = {
|
|
345
346
|
light: {
|
|
346
347
|
color: lightColorPalette,
|
|
347
|
-
semantic: semanticLight
|
|
348
|
+
semantic: semanticLight,
|
|
349
|
+
charting: chartingLight
|
|
348
350
|
},
|
|
349
351
|
dark: {
|
|
350
352
|
color: darkColorPalette,
|
|
351
|
-
semantic: semanticDark
|
|
353
|
+
semantic: semanticDark,
|
|
354
|
+
charting: chartingDark
|
|
352
355
|
}
|
|
353
356
|
};
|
|
354
357
|
function withPdsTheming(theme, mode) {
|
|
355
358
|
if (mode === "off") return {
|
|
356
359
|
...theme,
|
|
357
|
-
semantic: void 0
|
|
360
|
+
semantic: void 0,
|
|
361
|
+
charting: void 0
|
|
358
362
|
};
|
|
359
363
|
return {
|
|
360
364
|
...theme,
|