@persona/design-system 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/README.md +3 -3
- package/dist/{Action-CnNf5T-l.d.mts → Action-DL3kHI9Z.d.mts} +3 -3
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +3 -3
- package/dist/AdvancedFilterRulesPopover.d.mts +3 -3
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +5 -5
- package/dist/AttributeGrid.d.mts +1 -1
- package/dist/{Badge-BqS6Nk4J.mjs → Badge-BL0J5oMa.mjs} +3 -3
- package/dist/{Badge-BqS6Nk4J.mjs.map → Badge-BL0J5oMa.mjs.map} +1 -1
- package/dist/Banner.d.mts +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-DEwZFJHF.d.mts → Breadcrumb-Czgdi0xf.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-CqKtnZqu.mjs → Breadcrumbs-ed4wRDS7.mjs} +12 -12
- package/dist/{Breadcrumbs-CqKtnZqu.mjs.map → Breadcrumbs-ed4wRDS7.mjs.map} +1 -1
- package/dist/{Breadcrumbs-0e_3v9FF.d.mts → Breadcrumbs-zei-cpdU.d.mts} +2 -2
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-C0F0F2IL.d.mts → Button-CKzNTpPL.d.mts} +4 -4
- package/dist/Button.d.mts +1 -1
- package/dist/ButtonGroup.d.mts +1 -1
- package/dist/{Calendar-BvLNcHQM.d.mts → Calendar-CcxN7y3e.d.mts} +2 -2
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-BMCB9eFC.mjs → Card-CKrJtn1f.mjs} +4 -4
- package/dist/{Card-BMCB9eFC.mjs.map → Card-CKrJtn1f.mjs.map} +1 -1
- package/dist/{Card-BxNoIQWw.d.mts → Card-pr4FQWjn.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +3 -3
- package/dist/{CardV2-B0ZweQYk.mjs → CardV2-D3m5EKlp.mjs} +19 -19
- package/dist/{CardV2-B0ZweQYk.mjs.map → CardV2-D3m5EKlp.mjs.map} +1 -1
- package/dist/{Checkbox-Bm8exUfH.d.mts → Checkbox-Bmm-r5ei.d.mts} +1 -1
- package/dist/{Checkbox-DAvbgZgO.mjs → Checkbox-Ccuicmlo.mjs} +8 -8
- package/dist/{Checkbox-DAvbgZgO.mjs.map → Checkbox-Ccuicmlo.mjs.map} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/CheckboxGroupField.d.mts +2 -2
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-xBrxiUAu.mjs → Combobox-BGRyr_-L.mjs} +22 -22
- package/dist/Combobox-BGRyr_-L.mjs.map +1 -0
- package/dist/{Combobox-C8ue0cBP.d.mts → Combobox-Bf_Xe1BG.d.mts} +3 -3
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-DJGTMf1_.d.mts → ComboboxBase-CWzN8GML.d.mts} +8 -8
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-D7A2bbWU.d.mts → ComboboxMultiSelect-iSuvyOx2.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-D1uzEyKj.d.mts → ComboboxSingleSelect-DVRFKPi1.d.mts} +4 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-DMuvqaV5.d.mts → CompactBar-C_61pgp7.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-D2_sajXe.mjs → ConfigFormGroup-DGCTW3by.mjs} +4 -4
- package/dist/{ConfigFormGroup-D2_sajXe.mjs.map → ConfigFormGroup-DGCTW3by.mjs.map} +1 -1
- package/dist/{ControlBar-Dg8JeU8f.d.mts → ControlBar-0XwbM4yC.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +4 -4
- package/dist/{DateField-Com9f2-j.d.mts → DateField-CKeSIhGy.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-BGO6doLx.d.mts → DatePicker-B1iWrqR5.d.mts} +2 -2
- package/dist/{DatePicker-BlnE2MBD.mjs → DatePicker-BNnZ6L1y.mjs} +29 -12
- package/dist/DatePicker-BNnZ6L1y.mjs.map +1 -0
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-DfRBm9z4.d.mts → DateRangePicker-BmF9eH9R.d.mts} +2 -2
- package/dist/DateRangePicker.d.mts +1 -1
- package/dist/DateRangeValueControl.d.mts +2 -2
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-CpWNRUma.mjs → DropdownButton-BlVeFbJ0.mjs} +3 -3
- package/dist/{DropdownButton-CpWNRUma.mjs.map → DropdownButton-BlVeFbJ0.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-BCyV8nC0.mjs → DropdownMenu-82xH1AZr.mjs} +4 -4
- package/dist/{DropdownMenu-BCyV8nC0.mjs.map → DropdownMenu-82xH1AZr.mjs.map} +1 -1
- package/dist/{DropdownMenu-CnaK78rP.d.mts → DropdownMenu-DuTnq9j7.d.mts} +3 -3
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-CN2XjaOX.d.mts → ErrorProps-DX50vo-U.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-DdA63Vnh.d.mts → FieldRegistry-D1vghSC_.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-CxNsBVrn.d.mts → FilterBar-Ck085Dic.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +3 -3
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +2 -2
- package/dist/FloatValueControl.d.mts +1 -1
- package/dist/FloatingPanel.d.mts +1 -1
- package/dist/FloatingPanelContext.d.mts +1 -1
- package/dist/{FormControl-Doj2gvF0.d.mts → FormControl-CfpwZGlD.d.mts} +4 -4
- package/dist/{FormControl-HVzZEqJH.mjs → FormControl-D1HIqDKm.mjs} +6 -6
- package/dist/{FormControl-HVzZEqJH.mjs.map → FormControl-D1HIqDKm.mjs.map} +1 -1
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-D8dHbqZZ.d.mts → FormField-0p4y0sS5.d.mts} +2 -2
- package/dist/{FormField-B9P3BWvS.mjs → FormField-CVnbsNvU.mjs} +22 -22
- package/dist/FormField-CVnbsNvU.mjs.map +1 -0
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-CBlB65NY.d.mts → Header-gDUTQgWj.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-C28h1zFl.d.mts → HelperTooltip-CqhiRb5g.d.mts} +3 -3
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/{HoverCopyableField-0Bzygbp9.mjs → HoverCopyableField-HWshrU_1.mjs} +31 -20
- package/dist/HoverCopyableField-HWshrU_1.mjs.map +1 -0
- package/dist/HoverCopyableField.d.mts +15 -4
- package/dist/{IconButton-BfDlic2K.mjs → IconButton-BgL3QUVO.mjs} +9 -9
- package/dist/{IconButton-BfDlic2K.mjs.map → IconButton-BgL3QUVO.mjs.map} +1 -1
- package/dist/{IconButton-CBcW7ZU8.d.mts → IconButton-CLsHdYm7.d.mts} +2 -2
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +2 -2
- package/dist/InlineCombobox.d.mts +2 -2
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-CVdjkX88.d.mts → Input-BHHWpSKN.d.mts} +6 -6
- package/dist/{Input-Bimw8KFj.mjs → Input-DoB8YswA.mjs} +6 -6
- package/dist/{Input-Bimw8KFj.mjs.map → Input-DoB8YswA.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-BwKkmImn.d.mts → InputProps-sHxlDiss.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +1 -1
- package/dist/LayoutLoadingSpinner.d.mts +11 -0
- package/dist/Link.d.mts +3 -3
- package/dist/{ListBox-DKZpGYjo.mjs → ListBox-B9uuMt2R.mjs} +15 -15
- package/dist/{ListBox-DKZpGYjo.mjs.map → ListBox-B9uuMt2R.mjs.map} +1 -1
- package/dist/{ListBox-CDl5oZPX.d.mts → ListBox-BrY1bQ5-.d.mts} +5 -5
- package/dist/ListBox.d.mts +1 -1
- package/dist/ListBoxField.d.mts +3 -3
- package/dist/{LoadingShimmer-DC2vqicd.mjs → LoadingShimmer-dsBWRdTU.mjs} +2 -2
- package/dist/{LoadingShimmer-DC2vqicd.mjs.map → LoadingShimmer-dsBWRdTU.mjs.map} +1 -1
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/{LogicRow-CkbyvrUw.d.mts → LogicRow-9a_klV2v.d.mts} +4 -4
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-Dir03WA9.mjs → Menu-CHbUf9PQ.mjs} +6 -6
- package/dist/{Menu-Dir03WA9.mjs.map → Menu-CHbUf9PQ.mjs.map} +1 -1
- package/dist/{Menu-CYRdEnfo.d.mts → Menu-D4Y_J-QI.d.mts} +4 -4
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs → MiddleTruncatedText-DnF7F_1D.mjs} +4 -4
- package/dist/{MiddleTruncatedText-GXI-CPvs.mjs.map → MiddleTruncatedText-DnF7F_1D.mjs.map} +1 -1
- package/dist/Modal.d.mts +4 -5
- package/dist/{PageHeader-C2IUKhCg.mjs → PageHeader-XxGsFLHb.mjs} +4 -4
- package/dist/{PageHeader-C2IUKhCg.mjs.map → PageHeader-XxGsFLHb.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +2 -2
- package/dist/PageLayout.d.mts +1 -1
- package/dist/{PageSelector-vay4jpMp.d.mts → PageSelector-BDo3ge1E.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-ygLutOst.d.mts → Pagination-Dcmv7bVe.d.mts} +2 -2
- package/dist/{Pagination-0VhVdXv0.mjs → Pagination-DvVKQLdC.mjs} +8 -8
- package/dist/{Pagination-0VhVdXv0.mjs.map → Pagination-DvVKQLdC.mjs.map} +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-C7pA72Bh.mjs → Pii-BD48BtZ0.mjs} +2 -2
- package/dist/{Pii-C7pA72Bh.mjs.map → Pii-BD48BtZ0.mjs.map} +1 -1
- package/dist/Pii.d.mts +1 -1
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-BkDpDdaO.mjs → Popover-DNH8Jx1-.mjs} +6 -6
- package/dist/{Popover-BkDpDdaO.mjs.map → Popover-DNH8Jx1-.mjs.map} +1 -1
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-CcSlKNev.d.mts → PseudoClassProps-DgT5G_z5.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-BaFutxgV.mjs → Radio-DSMPX5_2.mjs} +5 -5
- package/dist/{Radio-BaFutxgV.mjs.map → Radio-DSMPX5_2.mjs.map} +1 -1
- package/dist/{RadioGroup-ClMzOZl0.mjs → RadioGroup-D5IITQLz.mjs} +4 -4
- package/dist/{RadioGroup-ClMzOZl0.mjs.map → RadioGroup-D5IITQLz.mjs.map} +1 -1
- package/dist/{RadioGroup-BuJaitgG.d.mts → RadioGroup-Jl1yAvGu.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +3 -3
- package/dist/RulesPill.d.mts +1 -1
- package/dist/{SearchInput-Ca3_np5e.d.mts → SearchInput-CaKHRC_s.d.mts} +3 -3
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-DgyJL4uN.mjs → SegmentedControl-JUgRw_M-.mjs} +5 -5
- package/dist/{SegmentedControl-DgyJL4uN.mjs.map → SegmentedControl-JUgRw_M-.mjs.map} +1 -1
- package/dist/{SegmentedControl-_I4sWeD7.d.mts → SegmentedControl-e6xDtoHC.d.mts} +2 -2
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-vwXGlHuW.d.mts → Select-CPYztD4m.d.mts} +4 -4
- package/dist/{Select-D6MqSYVa.mjs → Select-DX3toj6M.mjs} +12 -12
- package/dist/{Select-D6MqSYVa.mjs.map → Select-DX3toj6M.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/Slider.d.mts +1 -1
- package/dist/SliderRHF.d.mts +1 -1
- package/dist/SliderThumb.d.mts +1 -1
- package/dist/{Spacer-CJp0lwkL.mjs → Spacer-BsK8tTwA.mjs} +2 -2
- package/dist/{Spacer-CJp0lwkL.mjs.map → Spacer-BsK8tTwA.mjs.map} +1 -1
- package/dist/{Spinner-BgBCCHGo.mjs → Spinner-D3wXIoXN.mjs} +3 -3
- package/dist/{Spinner-BgBCCHGo.mjs.map → Spinner-D3wXIoXN.mjs.map} +1 -1
- package/dist/{Stack-Bl54WmhY.mjs → Stack-Bre2oiov.mjs} +2 -2
- package/dist/{Stack-Bl54WmhY.mjs.map → Stack-Bre2oiov.mjs.map} +1 -1
- package/dist/{Stack-CkV7k7TE.d.mts → Stack-DHaK1-dw.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/StatusIndicator.d.mts +1 -1
- package/dist/{Sticker-xtDMuOoN.mjs → Sticker-CQ6sOKUj.mjs} +6 -6
- package/dist/{Sticker-xtDMuOoN.mjs.map → Sticker-CQ6sOKUj.mjs.map} +1 -1
- package/dist/{Sticker-Dhx2wqTL.d.mts → Sticker-DnSemOcW.d.mts} +6 -6
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/SwatchPicker.d.mts +1 -1
- package/dist/Tab.d.mts +3 -3
- package/dist/{TabBar-D6UocZXi.mjs → TabBar-sYllYizt.mjs} +7 -7
- package/dist/{TabBar-D6UocZXi.mjs.map → TabBar-sYllYizt.mjs.map} +1 -1
- package/dist/TabBarIconButton.d.mts +2 -2
- package/dist/{Table-D1WyUQuv.mjs → Table-C2pkP5Xg.mjs} +8 -8
- package/dist/{Table-D1WyUQuv.mjs.map → Table-C2pkP5Xg.mjs.map} +1 -1
- package/dist/{Table-cO7ZwGPM.d.mts → Table-CFbPINKr.d.mts} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-CirMgfAV.d.mts → TableBody-BQsGc4Lw.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-C5qWhr82.mjs → TableBox-CaTHcR4F.mjs} +16 -16
- package/dist/{TableBox-C5qWhr82.mjs.map → TableBox-CaTHcR4F.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-DmVX_tgn.d.mts → TableBoxCell-52g97gEg.d.mts} +8 -8
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/TableBoxField.d.mts +4 -4
- package/dist/{TableBoxRow-nwq41Bpi.d.mts → TableBoxRow-DnoumHIE.d.mts} +4 -4
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-B4_ojiQo.d.mts → TableBoxRowActions-CDcREhP4.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-CZ9iu3ma.mjs → TableControls-3bXyd8gS.mjs} +104 -79
- package/dist/TableControls-3bXyd8gS.mjs.map +1 -0
- package/dist/{TableControls-RwIPBxyU.d.mts → TableControls-CrGGlkEG.d.mts} +5 -9
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-D_SBFZN1.d.mts → TableControlsContext-BKZt2Jid.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-DMq_q_W0.d.mts → TableHead-CqVIJfjh.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-C2pqXBYO.d.mts → TableHeaderCell-DK4R8vdK.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-DQKu6Rcj.d.mts → TableLayout-BcIazRB-.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-CPqZ8DK3.d.mts → TableRow-DdJcjG2b.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-BYPh4dIP.d.mts → TableViewConfigurationDropdown-CHBOjw7O.d.mts} +5 -3
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-DTjg6d2F.mjs → TechnicalSticker-D3eeGMDR.mjs} +6 -6
- package/dist/{TechnicalSticker-DTjg6d2F.mjs.map → TechnicalSticker-D3eeGMDR.mjs.map} +1 -1
- package/dist/TechnicalSticker.d.mts +1 -1
- package/dist/{Text-RcEfNFLx.mjs → Text-B0orb-cZ.mjs} +2 -2
- package/dist/{Text-RcEfNFLx.mjs.map → Text-B0orb-cZ.mjs.map} +1 -1
- package/dist/{Text-CfIFUyHt.d.mts → Text-BIgrwIdS.d.mts} +4 -4
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-DhPBI_1-.d.mts → TextArea-CiLttt0s.d.mts} +2 -2
- package/dist/{TextArea-ZMgbE_Lh.mjs → TextArea-DWXuV2aZ.mjs} +4 -4
- package/dist/{TextArea-ZMgbE_Lh.mjs.map → TextArea-DWXuV2aZ.mjs.map} +1 -1
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-BzmmiJlC.d.mts → TextUnderlineTooltip-_7mIrZ2-.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +2 -2
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-BGGQ4Ukl.d.mts → Toggle-Cav7bMxg.d.mts} +1 -1
- package/dist/{Toggle-BPgfSjuu.mjs → Toggle-e8DCYa6i.mjs} +7 -7
- package/dist/{Toggle-BPgfSjuu.mjs.map → Toggle-e8DCYa6i.mjs.map} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-D_a-RwAN.d.mts → Tooltip-DX-N-szt.d.mts} +3 -3
- package/dist/{Tooltip-BvDbmXak.mjs → Tooltip-iJcfJqxn.mjs} +5 -5
- package/dist/{Tooltip-BvDbmXak.mjs.map → Tooltip-iJcfJqxn.mjs.map} +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-BJnowVTx.d.mts → TruncatedText-D2R7uy_y.d.mts} +2 -2
- package/dist/components/Attribute/index.mjs +7 -7
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +3 -3
- package/dist/components/Breadcrumbs/index.d.mts +1 -1
- package/dist/components/Breadcrumbs/index.mjs +1 -1
- package/dist/components/Button/index.d.mts +2 -2
- package/dist/components/Button/index.mjs +1 -1
- package/dist/components/ButtonGroup/index.mjs +4 -4
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/Card/index.mjs +1 -1
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/Combobox/index.d.mts +2 -2
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +2 -2
- package/dist/components/DataTable/TableControls/index.d.mts +15 -15
- package/dist/components/DataTable/TableControls/index.mjs +1 -1
- package/dist/components/DataTable/index.mjs +25 -25
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +4 -4
- 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 +8 -8
- package/dist/components/FloatingPanel/index.mjs.map +1 -1
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +2 -2
- package/dist/components/FormField/index.d.mts +1 -1
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.d.mts +2 -2
- package/dist/components/HoverCopyableField/index.mjs +2 -2
- package/dist/components/ImageTile/index.mjs +10 -10
- package/dist/components/Input/index.d.mts +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/Link/index.mjs +4 -4
- package/dist/components/Link/index.mjs.map +1 -1
- package/dist/components/ListBox/index.d.mts +3 -3
- package/dist/components/ListBox/index.mjs +1 -1
- package/dist/components/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +2 -2
- package/dist/components/MatchHighlight/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.mjs +42 -12
- package/dist/components/Modal/index.mjs.map +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +2 -2
- package/dist/components/ProgressIndicator/index.mjs +2 -2
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/SegmentedControl/index.d.mts +1 -1
- package/dist/components/SegmentedControl/index.mjs +1 -1
- package/dist/components/Select/index.d.mts +1 -1
- package/dist/components/Select/index.mjs +1 -1
- package/dist/components/Slider/index.mjs +4 -4
- package/dist/components/Spacer/index.mjs +1 -1
- package/dist/components/Spinner/index.mjs +1 -1
- package/dist/components/Stack/index.d.mts +1 -1
- package/dist/components/Stack/index.mjs +1 -1
- package/dist/components/StatusIndicator/index.mjs +2 -2
- package/dist/components/Sticker/index.d.mts +1 -1
- package/dist/components/Sticker/index.mjs +1 -1
- package/dist/components/SwatchPicker/index.mjs +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +7 -7
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/Text/index.mjs +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +5 -5
- package/dist/components/Toast/index.mjs +5 -5
- package/dist/components/Toggle/index.d.mts +1 -1
- package/dist/components/Toggle/index.mjs +1 -1
- package/dist/components/Tooltip/index.d.mts +3 -3
- package/dist/components/Tooltip/index.mjs +1 -1
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BASogfT_.d.mts → constants-bA9kCzRQ.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-Bw5F7082.d.mts → filter-size-context-C7injfBh.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/helpers.d.mts +1 -1
- package/dist/{index--5Mfhlkj.d.mts → index-BPfK-u7y.d.mts} +2 -2
- package/dist/{index-DiCnyORA.d.mts → index-BxBsQi2S.d.mts} +5 -5
- package/dist/{index-C1bz13uw.d.mts → index-d_fTFuMM.d.mts} +5 -5
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +10 -10
- package/dist/{input-CzO-6_1V.d.mts → input-D9FuQmlI.d.mts} +3 -3
- package/dist/inputFields.d.mts +11 -11
- package/dist/{intersperse-yd3oMrQl.mjs → intersperse-CLkblj9A.mjs} +1 -1
- package/dist/{intersperse-yd3oMrQl.mjs.map → intersperse-CLkblj9A.mjs.map} +1 -1
- package/dist/lib/GlobalStyles.mjs +1 -1
- package/dist/lib/HeadlessAriaButton.mjs +1 -1
- package/dist/lib/MiddleTruncatedText.mjs +1 -1
- package/dist/lib/PDSProvider.d.mts +1 -1
- package/dist/lib/PDSProvider.mjs +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedText.mjs +2 -2
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +2 -2
- package/dist/lib/embeddedSurfaceProtocol.d.mts +13 -1
- package/dist/lib/embeddedSurfaceProtocol.mjs +32 -5
- package/dist/lib/embeddedSurfaceProtocol.mjs.map +1 -1
- package/dist/lib/message.d.mts +1 -1
- package/dist/lib/pseudoClass.d.mts +8 -8
- package/dist/lib/useEmbeddedSurface.d.mts +31 -3
- package/dist/lib/useEmbeddedSurface.mjs +118 -13
- package/dist/lib/useEmbeddedSurface.mjs.map +1 -1
- package/dist/{message-Cu84fcqB.d.mts → message-CqKB5mko.d.mts} +1 -1
- package/dist/mixins/focus.d.mts +1 -1
- package/dist/mixins/focus.mjs +1 -1
- package/dist/mixins/hoverable.d.mts +2 -2
- package/dist/mixins/hoverable.mjs +2 -2
- package/dist/mixins/input.d.mts +1 -1
- package/dist/mixins/input.mjs +2 -2
- package/dist/mixins/menuItem.d.mts +2 -2
- package/dist/mixins/menuItem.mjs +1 -1
- package/dist/mixins/print/index.mjs +1 -1
- package/dist/mixins/text.d.mts +1 -1
- package/dist/mixins/text.mjs +1 -1
- package/dist/{operators-CmSqHnTH.d.mts → operators-CgcsYzfy.d.mts} +2 -2
- package/dist/operators.d.mts +1 -1
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +6 -6
- package/dist/patterns/LayoutLoadingSpinner/index.d.mts +2 -0
- package/dist/patterns/LayoutLoadingSpinner/index.mjs +56 -0
- package/dist/patterns/LayoutLoadingSpinner/index.mjs.map +1 -0
- package/dist/patterns/PageLayout/index.mjs +1 -1
- package/dist/styledComponentsInterop-8zScIQyC.mjs +33 -0
- package/dist/styledComponentsInterop-8zScIQyC.mjs.map +1 -0
- package/dist/{text-BaQdW8qa.d.mts → text-xwtyWIbE.d.mts} +1 -1
- package/dist/{theme-D9Y6NOzb.d.mts → theme-Ftogn9Wo.d.mts} +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/{types-DEh_pXgS.d.mts → types-0_9G0kWg.d.mts} +3 -1
- package/dist/{types-NJtAxsU1.d.mts → types-BrNreYUU.d.mts} +2 -2
- package/dist/{types-C-TkDdkG.d.mts → types-D55MZSyx.d.mts} +1 -1
- package/dist/{types-TV9nVfSe.d.mts → types-DVsBRqjZ.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types2.d.mts +1 -1
- package/dist/types3.d.mts +1 -1
- package/dist/types4.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-C4itmN4S.d.mts → useFilterStateV2-D8Q8QKhS.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-B2U4GOH4.d.mts → useFormField-BBbq1izo.d.mts} +2 -2
- package/dist/{useFormField-eftOPiXj.mjs → useFormField-Bz2iMPBO.mjs} +2 -2
- package/dist/{useFormField-eftOPiXj.mjs.map → useFormField-Bz2iMPBO.mjs.map} +1 -1
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-BMukAMAd.mjs → useFormGroup-CaTiD_Yt.mjs} +1 -1
- package/dist/{useFormGroup-BMukAMAd.mjs.map → useFormGroup-CaTiD_Yt.mjs.map} +1 -1
- package/dist/{useTableBoxDragAndDrop-CpemHLhL.d.mts → useTableBoxDragAndDrop-Bye8gJTl.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-DnSIlR1i.d.mts → utilities-Bmwk_DRn.d.mts} +1 -1
- package/dist/utilities.d.mts +1 -1
- package/dist/utils/storybook.mjs +1 -1
- package/dist/utils/testing.d.mts +1 -1
- package/dist/utils/testing.mjs +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils2.d.mts +12 -1
- package/dist/{validation-B5IXsdkE.d.mts → validation-CAtTuHO9.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-BPlTeIX7.d.mts → value-control-resolver-DadI8r9a.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/keyframes.mjs +1 -1
- package/llms.txt +4 -4
- package/package.json +4 -2
- package/skills/ui-authoring/COMPONENTS.md +69 -305
- package/skills/ui-authoring/PATTERNS.md +362 -0
- package/skills/ui-authoring/SKILL.md +15 -147
- package/skills/ui-authoring/TOKENS.md +400 -0
- package/dist/Combobox-xBrxiUAu.mjs.map +0 -1
- package/dist/DatePicker-BlnE2MBD.mjs.map +0 -1
- package/dist/FormField-B9P3BWvS.mjs.map +0 -1
- package/dist/HoverCopyableField-0Bzygbp9.mjs.map +0 -1
- package/dist/TableControls-CZ9iu3ma.mjs.map +0 -1
- package/skills/ui-authoring/EXAMPLES.md +0 -370
- package/skills/ui-authoring/REFERENCE.md +0 -293
- /package/dist/{index-7rWKHdox.d.mts → index-0-W_aPej.d.mts} +0 -0
- /package/dist/{index-BMBcfD_R.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-BOn0AAue.d.mts → index-BINnViIh.d.mts} +0 -0
- /package/dist/{index-BYd3Btr1.d.mts → index-BNRXMhlr.d.mts} +0 -0
- /package/dist/{index-CKKoxA9V.d.mts → index-BO_854F2.d.mts} +0 -0
- /package/dist/{index-CNxS4Tlu.d.mts → index-BSVhZrWN.d.mts} +0 -0
- /package/dist/{index-CRo77wc3.d.mts → index-BrGZHEgX.d.mts} +0 -0
- /package/dist/{index-CWB6exYm.d.mts → index-BwAfCVZH2.d.mts} +0 -0
- /package/dist/{index-CtJuGxUp.d.mts → index-CCt0lwyI.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-CDGG7lCB.d.mts} +0 -0
- /package/dist/{index-D4DUvwPf.d.mts → index-CFhUdAHM.d.mts} +0 -0
- /package/dist/{index-D5tSVhTd.d.mts → index-CREkvfw9.d.mts} +0 -0
- /package/dist/{index-DGsJdI5l.d.mts → index-CROz1VSV.d.mts} +0 -0
- /package/dist/{index-DkrC-i1D.d.mts → index-CzUpNo0e.d.mts} +0 -0
- /package/dist/{index-DztUdPP_.d.mts → index-DA6_cwf8.d.mts} +0 -0
- /package/dist/{index-Es5nKSSL.d.mts → index-DM6vVDZD.d.mts} +0 -0
- /package/dist/{index-FtE8MXJ_.d.mts → index-DeVKzGce.d.mts} +0 -0
- /package/dist/{index-IE5cwTAE2.d.mts → index-Jh0C5PIG.d.mts} +0 -0
- /package/dist/{index-e6k85DKM.d.mts → index-PWQavSPf.d.mts} +0 -0
- /package/dist/{index-ehD5GjMH.d.mts → index-sViox9YW.d.mts} +0 -0
|
@@ -1,370 +0,0 @@
|
|
|
1
|
-
# PDS UI Examples
|
|
2
|
-
|
|
3
|
-
Common patterns for building UI with the Persona design system.
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [Buttons](#buttons)
|
|
8
|
-
- [Forms](#forms)
|
|
9
|
-
- [Modals](#modals)
|
|
10
|
-
- [Data Tables](#data-tables)
|
|
11
|
-
- [Status Indicators](#status-indicators)
|
|
12
|
-
- [Layout](#layout)
|
|
13
|
-
- [Navigation — Tabs](#navigation--tabs)
|
|
14
|
-
- [Text Components](#text-components)
|
|
15
|
-
- [Feedback Components](#feedback-components)
|
|
16
|
-
- [Empty States](#empty-states)
|
|
17
|
-
|
|
18
|
-
## Buttons
|
|
19
|
-
|
|
20
|
-
```tsx
|
|
21
|
-
import Button from '@persona/design-system/components/Button';
|
|
22
|
-
import { PlusIcon, ArrowRightIcon } from '@persona/icons';
|
|
23
|
-
|
|
24
|
-
// Variants
|
|
25
|
-
<Button variant="primary" size="md">Save Changes</Button>
|
|
26
|
-
<Button variant="basic" size="md">Cancel</Button>
|
|
27
|
-
<Button variant="danger" size="md">Delete Account</Button>
|
|
28
|
-
<Button variant="outline" size="md">Learn More</Button>
|
|
29
|
-
<Button variant="text" size="md">Skip</Button>
|
|
30
|
-
|
|
31
|
-
// States
|
|
32
|
-
<Button variant="primary" disabled>Submit</Button>
|
|
33
|
-
<Button variant="primary" isPending>Saving...</Button>
|
|
34
|
-
|
|
35
|
-
// With icons
|
|
36
|
-
<Button variant="primary" prefixIcon={<PlusIcon />}>Add Item</Button>
|
|
37
|
-
<Button variant="basic" suffixIcon={<ArrowRightIcon />}>Next</Button>
|
|
38
|
-
|
|
39
|
-
// Icon-only (must include aria-label)
|
|
40
|
-
<Button variant="basic" width="icon" aria-label="Add"><PlusIcon /></Button>
|
|
41
|
-
|
|
42
|
-
// Widths
|
|
43
|
-
<Button variant="primary" width="full">Full Width</Button>
|
|
44
|
-
<Button variant="primary" width="auto">Auto Width</Button>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## Forms
|
|
48
|
-
|
|
49
|
-
**Always use `ConfigFormGroup` + `TextField`/`TextAreaField` — never hand-roll `styled.input` or `styled.label`.**
|
|
50
|
-
|
|
51
|
-
### Basic form
|
|
52
|
-
|
|
53
|
-
```tsx
|
|
54
|
-
import ConfigFormGroup from '@persona/design-system/components/ConfigFormGroup';
|
|
55
|
-
import { TextField, TextAreaField } from '@persona/design-system/components/FormField';
|
|
56
|
-
import { Select } from '@persona/design-system/components/Select';
|
|
57
|
-
import { TextUnderlineTooltip } from '@persona/design-system/components/Tooltip';
|
|
58
|
-
import { Label } from '@persona/design-system/components/Text';
|
|
59
|
-
import Stack from '@persona/design-system/components/Stack';
|
|
60
|
-
import { Spacing } from '@persona/design-tokens';
|
|
61
|
-
|
|
62
|
-
<ConfigFormGroup>
|
|
63
|
-
{/* Field with tooltip: use TextUnderlineTooltip, never an info icon */}
|
|
64
|
-
<TextUnderlineTooltip tooltip="Must be unique." side="right">
|
|
65
|
-
<TextField
|
|
66
|
-
label="Name"
|
|
67
|
-
value={config.name}
|
|
68
|
-
onChange={(e) => setConfig({ ...config, name: e.target.value })}
|
|
69
|
-
configField={true}
|
|
70
|
-
errorText={errors.name}
|
|
71
|
-
/>
|
|
72
|
-
</TextUnderlineTooltip>
|
|
73
|
-
|
|
74
|
-
<TextAreaField
|
|
75
|
-
label="Description"
|
|
76
|
-
value={config.description}
|
|
77
|
-
onChange={(e) => setConfig({ ...config, description: e.target.value })}
|
|
78
|
-
configField={true}
|
|
79
|
-
helperText="Short summary shown in listings."
|
|
80
|
-
/>
|
|
81
|
-
|
|
82
|
-
{/* Dropdown */}
|
|
83
|
-
<Stack spacing={Spacing[2]}>
|
|
84
|
-
<Label size="sm" color="secondary">Enforcement</Label>
|
|
85
|
-
<Select
|
|
86
|
-
value={config.enforcement}
|
|
87
|
-
onChange={(val) => setConfig({ ...config, enforcement: val })}
|
|
88
|
-
options={[
|
|
89
|
-
{ label: 'Strict', value: 'strict' },
|
|
90
|
-
{ label: 'Lenient', value: 'lenient' },
|
|
91
|
-
{ label: 'Disabled', value: 'disabled' },
|
|
92
|
-
]}
|
|
93
|
-
/>
|
|
94
|
-
</Stack>
|
|
95
|
-
</ConfigFormGroup>
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### Form state hook
|
|
99
|
-
|
|
100
|
-
```tsx
|
|
101
|
-
const useFormState = (initialConfig) => {
|
|
102
|
-
const [config, setConfig] = useState(initialConfig);
|
|
103
|
-
const [errors, setErrors] = useState({});
|
|
104
|
-
|
|
105
|
-
const updateField = useCallback((field, value) => {
|
|
106
|
-
setConfig(prev => ({ ...prev, [field]: value }));
|
|
107
|
-
setErrors(prev => { const next = { ...prev }; delete next[field]; return next; });
|
|
108
|
-
}, []);
|
|
109
|
-
|
|
110
|
-
const validate = useCallback(() => {
|
|
111
|
-
const newErrors = {};
|
|
112
|
-
if (!config.name) newErrors.name = 'Required';
|
|
113
|
-
setErrors(newErrors);
|
|
114
|
-
return Object.keys(newErrors).length === 0;
|
|
115
|
-
}, [config]);
|
|
116
|
-
|
|
117
|
-
return { config, errors, updateField, validate };
|
|
118
|
-
};
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### Form with footer buttons
|
|
122
|
-
|
|
123
|
-
```tsx
|
|
124
|
-
import Stack from '@persona/design-system/components/Stack';
|
|
125
|
-
import { HStack } from '@persona/design-system/components/Stack';
|
|
126
|
-
|
|
127
|
-
<Stack spacing={Spacing[5]}>
|
|
128
|
-
<ConfigFormGroup>
|
|
129
|
-
<TextField label="Name" value={config.name} onChange={...} />
|
|
130
|
-
<TextAreaField label="Description" value={config.description} onChange={...} />
|
|
131
|
-
</ConfigFormGroup>
|
|
132
|
-
<HStack spacing={Spacing[3]} justify="flex-end">
|
|
133
|
-
<Button variant="basic" onClick={onCancel}>Cancel</Button>
|
|
134
|
-
<Button variant="primary" onClick={handleSave} isPending={isSaving}>Save</Button>
|
|
135
|
-
</HStack>
|
|
136
|
-
</Stack>
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## Modals
|
|
140
|
-
|
|
141
|
-
**Always use the `Modal` component — never hand-roll `ModalOverlay`/`ModalContainer` styled divs.**
|
|
142
|
-
|
|
143
|
-
```tsx
|
|
144
|
-
import { Modal } from '@persona/design-system/components/Modal';
|
|
145
|
-
|
|
146
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
147
|
-
|
|
148
|
-
<Modal
|
|
149
|
-
isOpen={isOpen}
|
|
150
|
-
onClose={() => setIsOpen(false)}
|
|
151
|
-
title="Confirm Delete"
|
|
152
|
-
footer={
|
|
153
|
-
<>
|
|
154
|
-
<Button variant="basic" onClick={() => setIsOpen(false)}>Cancel</Button>
|
|
155
|
-
<Button variant="danger" onClick={handleDelete} isPending={isDeleting}>Delete</Button>
|
|
156
|
-
</>
|
|
157
|
-
}
|
|
158
|
-
>
|
|
159
|
-
<Paragraph>Are you sure you want to delete this rule? This action cannot be undone.</Paragraph>
|
|
160
|
-
</Modal>
|
|
161
|
-
```
|
|
162
|
-
|
|
163
|
-
## Data Tables
|
|
164
|
-
|
|
165
|
-
Use **`DataTable`** for data views (pagination, sorting, server-side data). For small, form-adjacent editable tables, use **`TableBox`** — see [COMPONENTS.md — Editable Table (TableBox)](COMPONENTS.md#editable-table-tablebox). Never hand-roll `<table>`.
|
|
166
|
-
|
|
167
|
-
```tsx
|
|
168
|
-
import DataTable from '@persona/design-system/components/DataTable';
|
|
169
|
-
|
|
170
|
-
const columns = [
|
|
171
|
-
'name',
|
|
172
|
-
{
|
|
173
|
-
accessor: 'enforcement',
|
|
174
|
-
header: 'Enforcement',
|
|
175
|
-
format: {
|
|
176
|
-
type: 'sticker',
|
|
177
|
-
config: { colors: { strict: 'danger', lenient: 'caution', disabled: 'basic' } },
|
|
178
|
-
},
|
|
179
|
-
},
|
|
180
|
-
{ accessor: 'lastModified', header: 'Last Modified', format: { type: 'datetime' } },
|
|
181
|
-
];
|
|
182
|
-
|
|
183
|
-
<DataTable
|
|
184
|
-
columns={columns}
|
|
185
|
-
data={rules}
|
|
186
|
-
rowActions={[
|
|
187
|
-
{ label: 'Edit', onClick: (rowId) => handleEdit(rowId) },
|
|
188
|
-
{ label: 'Delete', onClick: (rowId) => setDeleteTarget(rowId) },
|
|
189
|
-
]}
|
|
190
|
-
pagination={{ clientPagination: true, pageSize: 10, pageSizeOptions: [10, 25, 50] }}
|
|
191
|
-
/>
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
## Status Indicators
|
|
195
|
-
|
|
196
|
-
### Sticker (Status Labels)
|
|
197
|
-
|
|
198
|
-
```tsx
|
|
199
|
-
import Sticker from '@persona/design-system/components/Sticker';
|
|
200
|
-
import { CheckCircleIcon } from '@persona/icons/12px'; // 12px for sticker icons
|
|
201
|
-
|
|
202
|
-
// Semantic variants — match business status to variant:
|
|
203
|
-
// approved/active/verified → success
|
|
204
|
-
// declined/failed/error → danger
|
|
205
|
-
// pending/in-review/flagged → caution
|
|
206
|
-
// inactive/archived → basic
|
|
207
|
-
<Sticker variant="success">Approved</Sticker>
|
|
208
|
-
<Sticker variant="danger">Failed</Sticker>
|
|
209
|
-
<Sticker variant="caution">Pending</Sticker>
|
|
210
|
-
<Sticker variant="basic">Inactive</Sticker>
|
|
211
|
-
|
|
212
|
-
// Color variants for categorization
|
|
213
|
-
<Sticker variant="purple">New</Sticker>
|
|
214
|
-
<Sticker variant="blue">In Progress</Sticker>
|
|
215
|
-
|
|
216
|
-
// With icon (use 12px icons)
|
|
217
|
-
<Sticker variant="success" icon={<CheckCircleIcon />}>Verified</Sticker>
|
|
218
|
-
|
|
219
|
-
// Dismissible
|
|
220
|
-
<Sticker variant="purple" onDismiss={() => handleRemove()}>Removable Tag</Sticker>
|
|
221
|
-
```
|
|
222
|
-
|
|
223
|
-
### Banner (Alert / Notification)
|
|
224
|
-
|
|
225
|
-
```tsx
|
|
226
|
-
import Banner from '@persona/design-system/components/Banner';
|
|
227
|
-
import { CircleInfoIcon, CheckCircleIcon, AlertTriangleIcon, XCircleIcon } from '@persona/icons';
|
|
228
|
-
|
|
229
|
-
<Banner variant="informational"><CircleInfoIcon />This is an informational message.</Banner>
|
|
230
|
-
<Banner variant="success"><CheckCircleIcon />Changes saved successfully!</Banner>
|
|
231
|
-
<Banner variant="warning"><AlertTriangleIcon />Please review before submitting.</Banner>
|
|
232
|
-
<Banner variant="alert"><XCircleIcon />There was an error processing your request.</Banner>
|
|
233
|
-
|
|
234
|
-
// With dismiss
|
|
235
|
-
<Banner variant="informational" onClose={() => setShowBanner(false)}>
|
|
236
|
-
<CircleInfoIcon />You can dismiss this message.
|
|
237
|
-
</Banner>
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
## Layout
|
|
241
|
-
|
|
242
|
-
### Stack / HStack
|
|
243
|
-
|
|
244
|
-
```tsx
|
|
245
|
-
import Stack from '@persona/design-system/components/Stack';
|
|
246
|
-
import { HStack } from '@persona/design-system/components/Stack';
|
|
247
|
-
|
|
248
|
-
// Vertical layout
|
|
249
|
-
<Stack spacing={Spacing[4]}>
|
|
250
|
-
<Heading size="sm">Section Title</Heading>
|
|
251
|
-
<Paragraph>Content...</Paragraph>
|
|
252
|
-
</Stack>
|
|
253
|
-
|
|
254
|
-
// Horizontal layout
|
|
255
|
-
<HStack spacing={Spacing[3]} justify="flex-end">
|
|
256
|
-
<Button variant="basic">Cancel</Button>
|
|
257
|
-
<Button variant="primary">Save</Button>
|
|
258
|
-
</HStack>
|
|
259
|
-
|
|
260
|
-
// Space between header + action
|
|
261
|
-
<HStack spacing={Spacing[4]} justify="space-between" align="center">
|
|
262
|
-
<Heading size="sm">Policy Rules</Heading>
|
|
263
|
-
<Button variant="primary" size="sm" prefixIcon={<PlusIcon />}>Add Rule</Button>
|
|
264
|
-
</HStack>
|
|
265
|
-
|
|
266
|
-
// Wrapping tags/stickers
|
|
267
|
-
<HStack spacing={Spacing[2]} wrap>
|
|
268
|
-
<Sticker variant="purple">Tag 1</Sticker>
|
|
269
|
-
<Sticker variant="blue">Tag 2</Sticker>
|
|
270
|
-
</HStack>
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### Card with collapsible sections
|
|
274
|
-
|
|
275
|
-
```tsx
|
|
276
|
-
import { Card } from '@persona/design-system/components/CardV2';
|
|
277
|
-
|
|
278
|
-
<Card>
|
|
279
|
-
<Card.Section header="Basic Settings" collapsible={true} defaultCollapsed={false}>
|
|
280
|
-
<ConfigFormGroup>
|
|
281
|
-
<TextField label="Name" value={...} onChange={...} />
|
|
282
|
-
</ConfigFormGroup>
|
|
283
|
-
</Card.Section>
|
|
284
|
-
<Card.Section header="Advanced" collapsible={true}>
|
|
285
|
-
{/* Advanced fields */}
|
|
286
|
-
</Card.Section>
|
|
287
|
-
</Card>
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
## Navigation — Tabs
|
|
291
|
-
|
|
292
|
-
```tsx
|
|
293
|
-
import TabBar, { Tab } from '@persona/design-system/components/TabBar';
|
|
294
|
-
import Badge from '@persona/design-system/components/Badge';
|
|
295
|
-
import { useState } from 'react';
|
|
296
|
-
|
|
297
|
-
const [selectedTab, setSelectedTab] = useState(0);
|
|
298
|
-
|
|
299
|
-
<TabBar aria-label="Policy tabs" title="Policy Configuration">
|
|
300
|
-
<Tab selected={selectedTab === 0} onClick={() => setSelectedTab(0)}>Overview</Tab>
|
|
301
|
-
<Tab selected={selectedTab === 1} onClick={() => setSelectedTab(1)} badge={<Badge variant="active">5</Badge>}>
|
|
302
|
-
Pending
|
|
303
|
-
</Tab>
|
|
304
|
-
<Tab selected={selectedTab === 2} onClick={() => setSelectedTab(2)} badge={<Badge variant="alert">2</Badge>}>
|
|
305
|
-
Alerts
|
|
306
|
-
</Tab>
|
|
307
|
-
</TabBar>
|
|
308
|
-
```
|
|
309
|
-
|
|
310
|
-
## Text Components
|
|
311
|
-
|
|
312
|
-
```tsx
|
|
313
|
-
import { Heading, Paragraph, Label } from '@persona/design-system/components/Text';
|
|
314
|
-
|
|
315
|
-
// Headings
|
|
316
|
-
<Heading size="lg" color="primary">Page Title</Heading>
|
|
317
|
-
<Heading size="md" color="primary">Section Title</Heading>
|
|
318
|
-
<Heading size="sm" color="primary">Subsection</Heading>
|
|
319
|
-
|
|
320
|
-
// Body text — defaults to color="secondary" (grey); use color="primary" for black
|
|
321
|
-
<Paragraph size="md" color="primary">Black body text</Paragraph>
|
|
322
|
-
<Paragraph size="md">Secondary (grey) body text</Paragraph>
|
|
323
|
-
<Paragraph size="sm" color="tertiary">Helper / caption text</Paragraph>
|
|
324
|
-
|
|
325
|
-
// Form labels
|
|
326
|
-
<Label size="sm" color="secondary">Field Name</Label>
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
## Feedback Components
|
|
330
|
-
|
|
331
|
-
### Spinner
|
|
332
|
-
|
|
333
|
-
```tsx
|
|
334
|
-
import Spinner from '@persona/design-system/components/Spinner';
|
|
335
|
-
|
|
336
|
-
// Centered loading state
|
|
337
|
-
<Stack align="center" spacing={Spacing[3]}>
|
|
338
|
-
<Spinner size="md" srText="Loading policies..." />
|
|
339
|
-
</Stack>
|
|
340
|
-
|
|
341
|
-
// Inline in button (use isPending prop on Button instead when possible)
|
|
342
|
-
<Button variant="primary" isPending>Saving...</Button>
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
### Tooltip (standalone, no label)
|
|
346
|
-
|
|
347
|
-
```tsx
|
|
348
|
-
import Tooltip from '@persona/design-system/components/Tooltip';
|
|
349
|
-
import { HelpCircleIcon } from '@persona/icons';
|
|
350
|
-
|
|
351
|
-
// Standalone icon trigger (only when there's no adjacent label)
|
|
352
|
-
<Tooltip iconTrigger={<HelpCircleIcon />} side="right">
|
|
353
|
-
Additional help text appears here.
|
|
354
|
-
</Tooltip>
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
## Empty States
|
|
358
|
-
|
|
359
|
-
For tables/lists when there is no data to show:
|
|
360
|
-
|
|
361
|
-
```tsx
|
|
362
|
-
// Inside a Card section or table container
|
|
363
|
-
<Stack align="center" spacing={Spacing[3]} style={{ padding: Spacing[6] }}>
|
|
364
|
-
<Paragraph color="secondary">No policy rules yet.</Paragraph>
|
|
365
|
-
<Button variant="primary" size="sm" prefixIcon={<PlusIcon />}>Add Rule</Button>
|
|
366
|
-
</Stack>
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
For `ListBox`, pass `emptyText="No items"` prop directly.
|
|
370
|
-
For `Card.Section`, pass `empty={true}` to show the built-in empty state.
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
# Design Tokens Reference
|
|
2
|
-
|
|
3
|
-
Complete reference for `@persona/design-tokens` package.
|
|
4
|
-
|
|
5
|
-
## Import
|
|
6
|
-
|
|
7
|
-
```tsx
|
|
8
|
-
import { Color, Spacing, Typography } from '@persona/design-tokens';
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
## Color
|
|
12
|
-
|
|
13
|
-
`Color` is an enum with semantic color names organized by purpose.
|
|
14
|
-
|
|
15
|
-
### Core Color Palette
|
|
16
|
-
|
|
17
|
-
Each core color has shades from 50 (lightest) to 1100 (darkest):
|
|
18
|
-
|
|
19
|
-
```tsx
|
|
20
|
-
// Purple
|
|
21
|
-
Color.CorePurple50 // #F4F5FF (lightest)
|
|
22
|
-
Color.CorePurple100
|
|
23
|
-
Color.CorePurple500 // Mid-range purple
|
|
24
|
-
Color.CorePurple700
|
|
25
|
-
Color.CorePurple1100 // #010334 (darkest)
|
|
26
|
-
|
|
27
|
-
// Other core colors follow same pattern:
|
|
28
|
-
// CoreRed, CoreOrange, CoreYellow, CoreGreen, CoreTeal, CoreBlue, CoreSlate
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Primary Colors
|
|
32
|
-
|
|
33
|
-
```tsx
|
|
34
|
-
Color.PrimaryBlack // #000000
|
|
35
|
-
Color.PrimaryWhite // #FFFFFF
|
|
36
|
-
Color.PrimaryPurple // #3F48FD (brand purple)
|
|
37
|
-
Color.PrimaryRed // #F04B38
|
|
38
|
-
Color.PrimaryOrange // #F59602
|
|
39
|
-
Color.PrimaryYellow // #DFFD2F
|
|
40
|
-
Color.PrimaryGreen // #41D49D
|
|
41
|
-
Color.PrimaryTeal // #36EBFD
|
|
42
|
-
Color.PrimaryBlue // #2B7FFD
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
### Background Colors
|
|
46
|
-
|
|
47
|
-
```tsx
|
|
48
|
-
Color.BackgroundPrimary // #FFFFFF (main background)
|
|
49
|
-
Color.BackgroundSecondary // #F5F5F6
|
|
50
|
-
|
|
51
|
-
// Button backgrounds
|
|
52
|
-
Color.BackgroundButtonDefault
|
|
53
|
-
Color.BackgroundButtonDefaultHover
|
|
54
|
-
Color.BackgroundButtonPrimary
|
|
55
|
-
Color.BackgroundButtonPrimaryHover
|
|
56
|
-
Color.BackgroundButtonDanger
|
|
57
|
-
Color.BackgroundButtonDangerHover
|
|
58
|
-
|
|
59
|
-
// Input backgrounds
|
|
60
|
-
Color.BackgroundInputDefault
|
|
61
|
-
Color.BackgroundInputActive
|
|
62
|
-
Color.BackgroundInputDisabled
|
|
63
|
-
|
|
64
|
-
// Label backgrounds
|
|
65
|
-
Color.BackgroundLabelGrey
|
|
66
|
-
Color.BackgroundLabelPurple
|
|
67
|
-
Color.BackgroundLabelRed
|
|
68
|
-
Color.BackgroundLabelGreen
|
|
69
|
-
// ... and more label variants
|
|
70
|
-
|
|
71
|
-
// Status indicator backgrounds
|
|
72
|
-
Color.BackgroundStatusIndicatorSuccess
|
|
73
|
-
Color.BackgroundStatusIndicatorWarning
|
|
74
|
-
Color.BackgroundStatusIndicatorCritical
|
|
75
|
-
Color.BackgroundStatusIndicatorFeature
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### Text Colors
|
|
79
|
-
|
|
80
|
-
```tsx
|
|
81
|
-
Color.TextPrimary // #313131 (main text)
|
|
82
|
-
Color.TextSecondary // #707070 (secondary text)
|
|
83
|
-
Color.TextInverse // #FFFFFF (text on dark backgrounds)
|
|
84
|
-
Color.TextActive // #3F48FD (active/link text)
|
|
85
|
-
Color.TextDanger // #B81F0E (error text)
|
|
86
|
-
Color.TextDisabled // #BDBDBD (disabled text)
|
|
87
|
-
|
|
88
|
-
// Status indicator text colors
|
|
89
|
-
Color.TextStatusIndicatorSuccess
|
|
90
|
-
Color.TextStatusIndicatorWarning
|
|
91
|
-
Color.TextStatusIndicatorCritical
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Border Colors
|
|
95
|
-
|
|
96
|
-
```tsx
|
|
97
|
-
Color.BorderHairline // #F1F1F2 (subtle border)
|
|
98
|
-
Color.BorderDivider // #E2E2E3 (section divider)
|
|
99
|
-
Color.BorderFocus // #2B7FFD (focus state)
|
|
100
|
-
|
|
101
|
-
// Input borders
|
|
102
|
-
Color.BorderInputDefault
|
|
103
|
-
Color.BorderInputHover
|
|
104
|
-
Color.BorderInputActive
|
|
105
|
-
Color.BorderInputWarning
|
|
106
|
-
Color.BorderInputDanger
|
|
107
|
-
Color.BorderInputDisabled
|
|
108
|
-
|
|
109
|
-
// Icon borders
|
|
110
|
-
Color.BorderIconPrimary
|
|
111
|
-
Color.BorderIconSecondary
|
|
112
|
-
Color.BorderIconActive
|
|
113
|
-
Color.BorderIconSuccess
|
|
114
|
-
Color.BorderIconWarning
|
|
115
|
-
Color.BorderIconDanger
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Usage Example
|
|
119
|
-
|
|
120
|
-
```tsx
|
|
121
|
-
const StyledCard = styled.div`
|
|
122
|
-
background-color: ${Color.BackgroundPrimary};
|
|
123
|
-
border: 1px solid ${Color.BorderDivider};
|
|
124
|
-
color: ${Color.TextPrimary};
|
|
125
|
-
|
|
126
|
-
&:hover {
|
|
127
|
-
background-color: ${Color.BackgroundSecondary};
|
|
128
|
-
}
|
|
129
|
-
`;
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
## Spacing
|
|
133
|
-
|
|
134
|
-
`Spacing` is an enum with numeric indices 0-9:
|
|
135
|
-
|
|
136
|
-
```tsx
|
|
137
|
-
Spacing[0] // "0px"
|
|
138
|
-
Spacing[1] // "4px"
|
|
139
|
-
Spacing[2] // "8px"
|
|
140
|
-
Spacing[3] // "12px"
|
|
141
|
-
Spacing[4] // "16px"
|
|
142
|
-
Spacing[5] // "24px"
|
|
143
|
-
Spacing[6] // "32px"
|
|
144
|
-
Spacing[7] // "40px"
|
|
145
|
-
Spacing[8] // "48px"
|
|
146
|
-
Spacing[9] // "56px"
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Common Usage
|
|
150
|
-
|
|
151
|
-
- **Micro spacing** (1-2): Icon-to-text, tight groupings
|
|
152
|
-
- **Small spacing** (3-4): Form field padding, button padding
|
|
153
|
-
- **Medium spacing** (5): Section margins, card padding
|
|
154
|
-
- **Large spacing** (6-7): Component spacing, page sections
|
|
155
|
-
- **Extra large** (8-9): Hero sections, major divisions
|
|
156
|
-
|
|
157
|
-
### Usage Example
|
|
158
|
-
|
|
159
|
-
```tsx
|
|
160
|
-
const Container = styled.div`
|
|
161
|
-
padding: ${Spacing[5]};
|
|
162
|
-
margin-bottom: ${Spacing[4]};
|
|
163
|
-
gap: ${Spacing[3]};
|
|
164
|
-
`;
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
**For values >56px**: Use hardcoded pixels with a comment explaining the custom value.
|
|
168
|
-
|
|
169
|
-
## Typography
|
|
170
|
-
|
|
171
|
-
`Typography` provides complete type styles (font family, size, weight, line height, decoration).
|
|
172
|
-
|
|
173
|
-
### Display Styles
|
|
174
|
-
|
|
175
|
-
Large, prominent text for headers and hero sections:
|
|
176
|
-
|
|
177
|
-
```tsx
|
|
178
|
-
Typography.DisplayLarge // 64px, bold
|
|
179
|
-
Typography.DisplayMedium // 48px, bold
|
|
180
|
-
Typography.DisplaySmall // 36px, bold
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
### Heading Styles
|
|
184
|
-
|
|
185
|
-
For section headers and sub-headers:
|
|
186
|
-
|
|
187
|
-
```tsx
|
|
188
|
-
Typography.HeadingLarge // 28px
|
|
189
|
-
Typography.HeadingMedium // 24px
|
|
190
|
-
Typography.HeadingSmall // 20px
|
|
191
|
-
Typography.HeadingExtraSmall // 16px
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
### Text/Paragraph Styles
|
|
195
|
-
|
|
196
|
-
For body copy and UI text:
|
|
197
|
-
|
|
198
|
-
```tsx
|
|
199
|
-
// Large text variants
|
|
200
|
-
Typography.TextLarge // 16px, regular
|
|
201
|
-
Typography.TextLargeBold // 16px, bold
|
|
202
|
-
Typography.TextLargeLight // 16px, light
|
|
203
|
-
|
|
204
|
-
// Medium text variants (most common for body)
|
|
205
|
-
Typography.TextMedium // 14px, regular
|
|
206
|
-
Typography.TextMediumBold // 14px, bold
|
|
207
|
-
Typography.TextMediumLight // 14px, light
|
|
208
|
-
Typography.TextMediumLink // 14px, regular, underlined
|
|
209
|
-
|
|
210
|
-
// Small text variants
|
|
211
|
-
Typography.TextSmall // 12px, regular
|
|
212
|
-
Typography.TextSmallBold // 12px, bold
|
|
213
|
-
Typography.TextSmallLink // 12px, regular, underlined
|
|
214
|
-
Typography.TextExtraSmall // 10px
|
|
215
|
-
|
|
216
|
-
// Monospace
|
|
217
|
-
Typography.TextMono // 14px, monospace
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Typography Usage
|
|
221
|
-
|
|
222
|
-
**IMPORTANT**: Always use complete `Typography` styles. Do not use individual typography tokens like `FontSize`, `FontWeight`, or `FontFamily` directly.
|
|
223
|
-
|
|
224
|
-
Each `Typography` style is a complete `PDSTypeStyle` object containing:
|
|
225
|
-
|
|
226
|
-
```tsx
|
|
227
|
-
type PDSTypeStyle = {
|
|
228
|
-
fontFamily: FontFamily;
|
|
229
|
-
fontWeight: FontWeight;
|
|
230
|
-
lineHeight: LineHeight;
|
|
231
|
-
fontSize: FontSize;
|
|
232
|
-
textDecoration: TextDecoration;
|
|
233
|
-
};
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
**Styled components usage:**
|
|
237
|
-
|
|
238
|
-
```tsx
|
|
239
|
-
const Heading = styled.h1`
|
|
240
|
-
${Typography.HeadingLarge}
|
|
241
|
-
color: ${Color.TextPrimary};
|
|
242
|
-
`;
|
|
243
|
-
|
|
244
|
-
const BodyText = styled.p`
|
|
245
|
-
${Typography.TextMedium}
|
|
246
|
-
color: ${Color.TextSecondary};
|
|
247
|
-
`;
|
|
248
|
-
|
|
249
|
-
const SmallLabel = styled.span`
|
|
250
|
-
${Typography.TextSmall}
|
|
251
|
-
color: ${Color.TextSecondary};
|
|
252
|
-
`;
|
|
253
|
-
```
|
|
254
|
-
|
|
255
|
-
## Finding Colors
|
|
256
|
-
|
|
257
|
-
When you need a color:
|
|
258
|
-
|
|
259
|
-
1. **For semantic purposes**, use purpose-named colors:
|
|
260
|
-
- Buttons: `Color.BackgroundButtonPrimary`
|
|
261
|
-
- Text: `Color.TextPrimary`, `Color.TextSecondary`
|
|
262
|
-
- Borders: `Color.BorderDivider`, `Color.BorderInputDefault`
|
|
263
|
-
|
|
264
|
-
2. **For specific shades**, use core colors with shade numbers:
|
|
265
|
-
- Light purple: `Color.CorePurple200`
|
|
266
|
-
- Mid purple: `Color.CorePurple500`
|
|
267
|
-
- Dark purple: `Color.CorePurple900`
|
|
268
|
-
|
|
269
|
-
3. **If exact color doesn't exist**: Use the closest available color with a comment explaining the choice.
|
|
270
|
-
|
|
271
|
-
## Token Verification
|
|
272
|
-
|
|
273
|
-
To explore available tokens in your project:
|
|
274
|
-
|
|
275
|
-
```bash
|
|
276
|
-
# Search for color definitions
|
|
277
|
-
grep -r "Color\." node_modules/@persona/design-tokens/dist/js/colors.d.ts
|
|
278
|
-
|
|
279
|
-
# Check spacing values
|
|
280
|
-
cat node_modules/@persona/design-tokens/dist/js/spacing.d.ts
|
|
281
|
-
|
|
282
|
-
# See typography styles
|
|
283
|
-
cat node_modules/@persona/design-tokens/dist/js/typography.d.ts
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
Or check programmatically:
|
|
287
|
-
|
|
288
|
-
```tsx
|
|
289
|
-
import * as DesignTokens from '@persona/design-tokens';
|
|
290
|
-
console.log(DesignTokens.Color);
|
|
291
|
-
console.log(DesignTokens.Spacing);
|
|
292
|
-
console.log(DesignTokens.Typography);
|
|
293
|
-
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|