@persona/design-system 0.8.2 → 0.9.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 +38 -0
- package/dist/Accordion.d.mts +1 -1
- package/dist/AccordionItem.d.mts +1 -1
- package/dist/{Action-C6yvIekn.d.mts → Action-BleGvmsy.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 +4 -4
- package/dist/{Badge-uY8l1p1R.mjs → Badge-BYa-iqNE.mjs} +2 -2
- package/dist/{Badge-uY8l1p1R.mjs.map → Badge-BYa-iqNE.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumb-Tjk9FyiF.d.mts → Breadcrumb-CEHEUe8l.d.mts} +1 -1
- package/dist/Breadcrumb.d.mts +1 -1
- package/dist/{Breadcrumbs-DSCbZmAx.d.mts → Breadcrumbs-BQ-Gj6UV.d.mts} +2 -2
- package/dist/{Breadcrumbs-EQm5iiRA.mjs → Breadcrumbs-BmlndU4V.mjs} +8 -8
- package/dist/{Breadcrumbs-EQm5iiRA.mjs.map → Breadcrumbs-BmlndU4V.mjs.map} +1 -1
- package/dist/Breadcrumbs.d.mts +1 -1
- package/dist/{Button-22DkIpYp.d.mts → Button-Dx7mHjWC.d.mts} +5 -5
- package/dist/Button.d.mts +1 -1
- package/dist/{Calendar-DANGQNlH.d.mts → Calendar-BvsTQ3e1.d.mts} +1 -1
- package/dist/Calendar.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-DQE1J3gk.d.mts → Card-BPY0OU7e.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/CardGrouping.d.mts +38 -0
- package/dist/{CardV2-Ds6e577k.mjs → CardV2-Cq4QODeE.mjs} +11 -11
- package/dist/{CardV2-Ds6e577k.mjs.map → CardV2-Cq4QODeE.mjs.map} +1 -1
- package/dist/{Checkbox-CsJlWz-r.d.mts → Checkbox-CVa8WOf2.d.mts} +1 -1
- package/dist/{Checkbox-BQC_SmBt.mjs → Checkbox-Cttn1t8T.mjs} +10 -6
- package/dist/{Checkbox-BQC_SmBt.mjs.map → Checkbox-Cttn1t8T.mjs.map} +1 -1
- package/dist/Checkbox.d.mts +1 -1
- package/dist/{CheckboxGroupField-DjKp63Dr.d.mts → CheckboxGroupField-BpHN_2QP.d.mts} +3 -3
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-D1iXiYGV.d.mts → Combobox-C4C2P8lF.d.mts} +3 -3
- package/dist/{Combobox-MCaDc7h6.mjs → Combobox-CsXnJKvB.mjs} +73 -29
- package/dist/Combobox-CsXnJKvB.mjs.map +1 -0
- package/dist/Combobox.d.mts +2 -2
- package/dist/{ComboboxBase-DXhu2YSh.d.mts → ComboboxBase-2nVpt8oj.d.mts} +7 -7
- package/dist/ComboboxBase.d.mts +1 -1
- package/dist/{ComboboxMultiSelect-BSyJc46m.d.mts → ComboboxMultiSelect-BvJ--m6z.d.mts} +2 -2
- package/dist/ComboboxMultiSelect.d.mts +1 -1
- package/dist/{ComboboxSingleSelect-Dg_6h4iB.d.mts → ComboboxSingleSelect-BWrnRA2x.d.mts} +5 -4
- package/dist/ComboboxSingleSelect.d.mts +1 -1
- package/dist/{CompactBar-CVGNq7Zu.d.mts → CompactBar-CmTT9iuT.d.mts} +3 -3
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-CidT_cE9.mjs → ConfigFormGroup-C0orlWwb.mjs} +2 -2
- package/dist/{ConfigFormGroup-CidT_cE9.mjs.map → ConfigFormGroup-C0orlWwb.mjs.map} +1 -1
- package/dist/{ControlBar-K43YI-LU.d.mts → ControlBar-Cg36sjz3.d.mts} +2 -2
- package/dist/ControlBar.d.mts +1 -1
- package/dist/DataTable.d.mts +4 -4
- package/dist/{DateField-DY3xCygL.d.mts → DateField-BXUuqbnb.d.mts} +2 -2
- package/dist/DateField.d.mts +1 -1
- package/dist/{DatePicker-C56kJLiX.d.mts → DatePicker-Cmn1vViU.d.mts} +2 -2
- package/dist/{DatePicker-CKk6Hnj2.mjs → DatePicker-DQHVCGnP.mjs} +10 -10
- package/dist/{DatePicker-CKk6Hnj2.mjs.map → DatePicker-DQHVCGnP.mjs.map} +1 -1
- package/dist/DatePicker.d.mts +1 -1
- package/dist/{DateRangePicker-C96NKOon.d.mts → DateRangePicker-CKhp9Obv.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-B-cYK2oi.mjs → DropdownButton-C9wWnB5w.mjs} +3 -3
- package/dist/{DropdownButton-B-cYK2oi.mjs.map → DropdownButton-C9wWnB5w.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-BwPtzVWg.d.mts → DropdownMenu-BZ62b8Cv.d.mts} +3 -3
- package/dist/{DropdownMenu-CedsmO5h.mjs → DropdownMenu-CPE8Q56k.mjs} +2 -2
- package/dist/{DropdownMenu-CedsmO5h.mjs.map → DropdownMenu-CPE8Q56k.mjs.map} +1 -1
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{ErrorProps-C-sfKFxK.d.mts → ErrorProps-oCHtJzEB.d.mts} +1 -1
- package/dist/ErrorProps.d.mts +1 -1
- package/dist/{FieldRegistry-C2eIbP1X.d.mts → FieldRegistry-DAk_3PhH.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-BNbMjWDC.d.mts → FilterBar-C7ch6kYM.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 +3 -1
- package/dist/FloatValueControl.d.mts +6 -5
- package/dist/{FormControl-C4CiA0H-.mjs → FormControl-CD_FdAXA.mjs} +4 -4
- package/dist/{FormControl-C4CiA0H-.mjs.map → FormControl-CD_FdAXA.mjs.map} +1 -1
- package/dist/{FormControl-DICrNHcc.d.mts → FormControl-DX4vtUp6.d.mts} +3 -3
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-D97xQCxF.d.mts → FormField-C80kGAIV.d.mts} +2 -2
- package/dist/{FormField-CB0yCMro.mjs → FormField-DjysBTKn.mjs} +15 -15
- package/dist/{FormField-CB0yCMro.mjs.map → FormField-DjysBTKn.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Header-Ca554S1F.d.mts → Header-C-a5fL3k.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-Dk2eqeC_.d.mts → HelperTooltip-hhMFkKmn.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +3 -3
- package/dist/{HoverCopyableField-CewUtxZl.mjs → HoverCopyableField-Cgu3W31s.mjs} +4 -4
- package/dist/{HoverCopyableField-CewUtxZl.mjs.map → HoverCopyableField-Cgu3W31s.mjs.map} +1 -1
- package/dist/{I18nContext-DXcImEuM.d.mts → I18nContext-ioYM_vqG.d.mts} +2 -2
- package/dist/I18nContext.d.mts +1 -1
- package/dist/{IconButton-H5vDZOdo.mjs → IconButton-D4awF770.mjs} +7 -7
- package/dist/{IconButton-H5vDZOdo.mjs.map → IconButton-D4awF770.mjs.map} +1 -1
- package/dist/{IconButton-Vq0MUaNj.d.mts → IconButton-DJ3L_ZqN.d.mts} +2 -2
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-BRe0qyUe.d.mts → Input-D3lXfJHq.d.mts} +4 -4
- package/dist/{Input-CY14-YeD.mjs → Input-DD4jzJhK.mjs} +5 -5
- package/dist/{Input-CY14-YeD.mjs.map → Input-DD4jzJhK.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/{InputProps-B2ngFfvF.d.mts → InputProps-BU9iiBBz.d.mts} +2 -2
- package/dist/InputProps.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +6 -5
- package/dist/{Link-BSuXrvTu.mjs → Link-DGZu4J0x.mjs} +4 -4
- package/dist/{Link-BSuXrvTu.mjs.map → Link-DGZu4J0x.mjs.map} +1 -1
- package/dist/Link.d.mts +1 -1
- package/dist/{ListBox-2aYWNlO_.mjs → ListBox-BhWLad_L.mjs} +12 -12
- package/dist/{ListBox-2aYWNlO_.mjs.map → ListBox-BhWLad_L.mjs.map} +1 -1
- package/dist/{ListBox-DzZY7IFz.d.mts → ListBox-CjGb0mMY.d.mts} +3 -3
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-DT_-4_Ct.d.mts → ListBoxField-BUkPeLiB.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/LoadingShimmer.d.mts +2 -2
- package/dist/{LogicRow-l66qss7_.d.mts → LogicRow-Bt6NPLOd.d.mts} +3 -3
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-DQXbnpDB.d.mts → Menu-BMrsN-Jz.d.mts} +4 -4
- package/dist/{Menu-Dw6Rcpk6.mjs → Menu-DlN0A5Nb.mjs} +4 -4
- package/dist/{Menu-Dw6Rcpk6.mjs.map → Menu-DlN0A5Nb.mjs.map} +1 -1
- package/dist/Menu.d.mts +1 -1
- package/dist/{Modal-Bz5Rer1b.d.mts → Modal-BoeGuR-h.d.mts} +3 -3
- package/dist/{Modal-dpBu2MKp.mjs → Modal-Cs5cZpEr.mjs} +4 -4
- package/dist/{Modal-dpBu2MKp.mjs.map → Modal-Cs5cZpEr.mjs.map} +1 -1
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-CLO8SMXV.mjs → PageHeader-CCoAJUwJ.mjs} +2 -2
- package/dist/{PageHeader-CLO8SMXV.mjs.map → PageHeader-CCoAJUwJ.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +2 -2
- package/dist/PageLayout-BlCo4hN4.d.mts +16 -0
- package/dist/PageLayout-C7ZC7GBA.mjs +132 -0
- package/dist/PageLayout-C7ZC7GBA.mjs.map +1 -0
- package/dist/PageLayout.d.mts +2 -16
- package/dist/PageLayoutFrame--HlvI4Pp.d.mts +28 -0
- package/dist/PageLayoutFrame.d.mts +2 -28
- package/dist/{PageSelector--kFA7Xt6.d.mts → PageSelector-BmevrorJ.d.mts} +3 -3
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-CglxJr3f.d.mts → Pagination-C67fsrxl.d.mts} +2 -2
- package/dist/{Pagination-BEddsarh.mjs → Pagination-Du2CPW2l.mjs} +5 -5
- package/dist/{Pagination-BEddsarh.mjs.map → Pagination-Du2CPW2l.mjs.map} +1 -1
- package/dist/Pagination.d.mts +1 -1
- package/dist/{Pii-Ct7yDY7d.mjs → Pii-CFVWZ_Yx.mjs} +2 -2
- package/dist/{Pii-Ct7yDY7d.mjs.map → Pii-CFVWZ_Yx.mjs.map} +1 -1
- package/dist/{PillShell-CvJzkRFh.d.mts → PillShell-jr6OyAd3.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-532iYFek.mjs → Popover-DewrGOJB.mjs} +2 -2
- package/dist/{Popover-532iYFek.mjs.map → Popover-DewrGOJB.mjs.map} +1 -1
- package/dist/{ProgressIndicator-Cleq0Tfb.d.mts → ProgressIndicator-CdhC2LVI.d.mts} +1 -1
- package/dist/{ProgressIndicator-STyTM0Hq.mjs → ProgressIndicator-xV5Cl2Bw.mjs} +3 -3
- package/dist/{ProgressIndicator-STyTM0Hq.mjs.map → ProgressIndicator-xV5Cl2Bw.mjs.map} +1 -1
- package/dist/ProgressIndicator.d.mts +1 -1
- package/dist/{PseudoClassProps-B2R2dyr3.d.mts → PseudoClassProps-CverE9Ni.d.mts} +1 -1
- package/dist/PseudoClassProps.d.mts +1 -1
- package/dist/{Radio-BtomkCkL.mjs → Radio-i7AEQZHb.mjs} +4 -4
- package/dist/{Radio-BtomkCkL.mjs.map → Radio-i7AEQZHb.mjs.map} +1 -1
- package/dist/{RadioGroup-B6UaoJRd.mjs → RadioGroup-B0KcQpS7.mjs} +2 -2
- package/dist/{RadioGroup-B6UaoJRd.mjs.map → RadioGroup-B0KcQpS7.mjs.map} +1 -1
- package/dist/{RadioGroup-B3B4PCz6.d.mts → RadioGroup-CDEfCg-b.d.mts} +1 -1
- package/dist/RadioGroup.d.mts +1 -1
- package/dist/{RangeCalendar-C24q-nvR.d.mts → RangeCalendar-BOt59kTG.d.mts} +2 -2
- package/dist/RangeCalendar.d.mts +1 -1
- package/dist/RangeCalendarPresets.d.mts +1 -1
- package/dist/{RouterContext-BhPPG7d3.d.mts → RouterContext-D7HBESqO.d.mts} +2 -2
- package/dist/RouterContext.d.mts +1 -1
- package/dist/{RouterLink-IDO10cDE.d.mts → RouterLink-dppNWLgP.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-7pBMxhuN.d.mts → SearchInput-B7JYHJZI.d.mts} +2 -2
- package/dist/SearchInput.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-BNVwf7nL.mjs → SegmentedControl-B2_bS806.mjs} +2 -2
- package/dist/{SegmentedControl-BNVwf7nL.mjs.map → SegmentedControl-B2_bS806.mjs.map} +1 -1
- package/dist/{SegmentedControl-B9yo9yMy.d.mts → SegmentedControl-C_7mTcuL.d.mts} +1 -1
- package/dist/SegmentedControl.d.mts +1 -1
- package/dist/{Select-D7_npfZr.d.mts → Select-BpAA5ETS.d.mts} +3 -3
- package/dist/{Select-DD7mFvR8.mjs → Select-oVJ0uLa7.mjs} +8 -8
- package/dist/{Select-DD7mFvR8.mjs.map → Select-oVJ0uLa7.mjs.map} +1 -1
- package/dist/Select.d.mts +1 -1
- package/dist/SingleColumnLayout-ByWxiD7d.d.mts +16 -0
- package/dist/SingleColumnLayout.d.mts +2 -16
- 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 +2 -2
- package/dist/{Spinner-uVZyOh1T.mjs → Spinner-0Vqw_68r.mjs} +2 -2
- package/dist/{Spinner-uVZyOh1T.mjs.map → Spinner-0Vqw_68r.mjs.map} +1 -1
- package/dist/SplitColumnLayout-DYyJabQ3.d.mts +19 -0
- package/dist/SplitColumnLayout.d.mts +2 -19
- package/dist/{Stack-opuYfQvc.d.mts → Stack-DpWl6orU.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-akDwBiBW.mjs → StatusIndicator-QsVgjRrt.mjs} +3 -3
- package/dist/{StatusIndicator-akDwBiBW.mjs.map → StatusIndicator-QsVgjRrt.mjs.map} +1 -1
- package/dist/{Sticker-rxBNVYlX.d.mts → Sticker-C260e6kl.d.mts} +5 -5
- package/dist/{Sticker-DdhSpTcV.mjs → Sticker-CUqHa9Mo.mjs} +5 -5
- package/dist/{Sticker-DdhSpTcV.mjs.map → Sticker-CUqHa9Mo.mjs.map} +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +1 -1
- package/dist/Tab.d.mts +2 -2
- package/dist/{TabBar-DBOPWUUa.mjs → TabBar-w_gxXSwA.mjs} +5 -5
- package/dist/{TabBar-DBOPWUUa.mjs.map → TabBar-w_gxXSwA.mjs.map} +1 -1
- package/dist/{Table-Bt7zAlgQ.d.mts → Table-BtNYI6QX.d.mts} +1 -1
- package/dist/{Table--o4ZLRbb.mjs → Table-PbYGf3PG.mjs} +8 -8
- package/dist/{Table--o4ZLRbb.mjs.map → Table-PbYGf3PG.mjs.map} +1 -1
- package/dist/Table.d.mts +1 -1
- package/dist/{TableBody-9AYpXi2y.d.mts → TableBody-DQ7pivxP.d.mts} +1 -1
- package/dist/TableBody.d.mts +1 -1
- package/dist/{TableBox-BGabyY7E.mjs → TableBox-DMYLTIpr.mjs} +13 -13
- package/dist/{TableBox-BGabyY7E.mjs.map → TableBox-DMYLTIpr.mjs.map} +1 -1
- package/dist/TableBox.d.mts +2 -2
- package/dist/{TableBoxCell-6ovTrboM.d.mts → TableBoxCell-DwAOA-oO.d.mts} +7 -7
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-mGTYb-Bz.d.mts → TableBoxField-Bdj_nY7j.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-56QatuNm.d.mts → TableBoxRow-5WBwyAyn.d.mts} +3 -3
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-9rR-k_4H.d.mts → TableBoxRowActions-Dq_Z2ted.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-WD0ultKh.d.mts → TableCell-DXBHZ52E.d.mts} +3 -3
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-B5UGCoO-.mjs → TableControls-C1MF2JvY.mjs} +390 -144
- package/dist/TableControls-C1MF2JvY.mjs.map +1 -0
- package/dist/{TableControls-DVO-obFo.d.mts → TableControls-Cw7LDHWj.d.mts} +3 -3
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-BDl9k4o4.d.mts → TableControlsContext-DgoZhMpQ.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableHead-DqcFsWpz.d.mts → TableHead-BGUg_aXc.d.mts} +1 -1
- package/dist/TableHead.d.mts +1 -1
- package/dist/{TableHeaderCell-C1PJHhXZ.d.mts → TableHeaderCell-DcZcMQyR.d.mts} +1 -1
- package/dist/TableHeaderCell.d.mts +1 -1
- package/dist/{TableLayout-B4qzMWXH.d.mts → TableLayout-CwYQaZlA.d.mts} +1 -1
- package/dist/TableLayout.d.mts +1 -1
- package/dist/{TableRow-B1yeAiVf.d.mts → TableRow-Dad6_CoD.d.mts} +2 -2
- package/dist/TableRow.d.mts +1 -1
- package/dist/TableTH.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-DBdUHK__.d.mts → TableViewConfigurationDropdown-BGuWAarQ.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-CALVwnrT.mjs → TechnicalSticker-RQ-4_Tdr.mjs} +5 -5
- package/dist/{TechnicalSticker-CALVwnrT.mjs.map → TechnicalSticker-RQ-4_Tdr.mjs.map} +1 -1
- package/dist/{Text-D4GzsXFA.d.mts → Text-BBMau410.d.mts} +4 -4
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-kOkhZxNR.mjs → TextArea-BaA8H7s7.mjs} +2 -2
- package/dist/{TextArea-kOkhZxNR.mjs.map → TextArea-BaA8H7s7.mjs.map} +1 -1
- package/dist/{TextArea-BL8BTgwk.d.mts → TextArea-Djd1uT3B.d.mts} +2 -2
- package/dist/TextArea.d.mts +1 -1
- package/dist/{TextUnderlineTooltip-Sdxqsr6y.d.mts → TextUnderlineTooltip-C4N0bqbh.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/Toast.d.mts +1 -1
- package/dist/{Toggle-CZF6iBql.mjs → Toggle-C9cZnajR.mjs} +6 -6
- package/dist/{Toggle-CZF6iBql.mjs.map → Toggle-C9cZnajR.mjs.map} +1 -1
- package/dist/{Toggle-cUtrUIIO.d.mts → Toggle-EYpW34LO.d.mts} +1 -1
- package/dist/Toggle.d.mts +1 -1
- package/dist/{Tooltip-CSM977L6.d.mts → Tooltip-Dj-DtGKz.d.mts} +3 -3
- package/dist/{Tooltip-B-0VRuKT.mjs → Tooltip-DogEteGl.mjs} +2 -2
- package/dist/{Tooltip-B-0VRuKT.mjs.map → Tooltip-DogEteGl.mjs.map} +1 -1
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-CCUrvW2a.d.mts → TruncatedText-BDNFUuhG.d.mts} +2 -2
- package/dist/VersionHistory.d.mts +1 -1
- package/dist/{VersionHistoryItem-DBjL9S5_.d.mts → VersionHistoryItem-iUabmk_y.d.mts} +1 -1
- package/dist/VersionHistoryItem.d.mts +1 -1
- package/dist/WizardModal.d.mts +2 -2
- package/dist/{accordionTitleTypography--GAczLo7.d.mts → accordionTitleTypography-C7VVJvlx.d.mts} +2 -2
- package/dist/accordionTitleTypography.d.mts +1 -1
- package/dist/{chainTypes-dY6jc22J.d.mts → chainTypes-DT-9j_sG.d.mts} +4 -4
- package/dist/{codec-D2uE0_oJ.d.mts → codec-CGj8cwcj.d.mts} +2 -2
- package/dist/codec.d.mts +1 -1
- package/dist/{color-DuKiTH5t.d.mts → color-BOm5A1Si.d.mts} +2 -2
- package/dist/components/Accordion/index.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +4 -4
- package/dist/components/Attribute/index.mjs +4 -4
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +3 -3
- 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 +2 -2
- package/dist/components/Card/index.d.mts +2 -2
- package/dist/components/CardV2/index.d.mts +1 -1
- package/dist/components/CardV2/index.mjs +1 -1
- package/dist/components/Checkbox/index.d.mts +1 -1
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +3 -3
- 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 +20 -20
- package/dist/components/DataTable/TableControls/index.mjs +2 -2
- package/dist/components/DataTable/index.mjs +18 -18
- package/dist/components/DataTable/index.mjs.map +1 -1
- package/dist/components/DataTable/types.d.mts +2 -2
- package/dist/components/DatePicker/index.d.mts +5 -5
- package/dist/components/DatePicker/index.mjs +1 -1
- package/dist/components/DropdownButton/index.mjs +1 -1
- package/dist/components/DropdownMenu/index.d.mts +1 -1
- package/dist/components/DropdownMenu/index.mjs +1 -1
- package/dist/components/FloatingPanel/index.mjs +5 -5
- package/dist/components/FormControl/index.d.mts +2 -2
- package/dist/components/FormControl/index.mjs +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 +6 -6
- 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.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +3 -3
- package/dist/components/Pagination/index.mjs +1 -1
- package/dist/components/Pii/index.mjs +1 -1
- package/dist/components/Popover/index.mjs +1 -1
- package/dist/components/ProgressBar/index.mjs +1 -1
- package/dist/components/ProgressIndicator/index.d.mts +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.d.mts +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RightPanel/index.mjs +2 -2
- 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 +2 -2
- package/dist/components/SmartTextInput/index.d.mts +2 -2
- package/dist/components/SmartTextInput/index.mjs +9 -8
- package/dist/components/SmartTextInput/index.mjs.map +1 -1
- 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/Spinner/index.mjs +1 -1
- 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/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +2 -2
- package/dist/components/TableBox/index.mjs +1 -1
- package/dist/components/TechnicalSticker/index.mjs +1 -1
- package/dist/components/Text/index.d.mts +1 -1
- package/dist/components/TextArea/index.d.mts +1 -1
- package/dist/components/TextArea/index.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +4 -4
- 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/components/VersionHistory/index.d.mts +1 -1
- package/dist/components/VersionHistory/index.mjs +7 -7
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{constants-BiOvZGO5.d.mts → constants-CwzbyAdc.d.mts} +1 -1
- package/dist/constants.d.mts +1 -1
- package/dist/{createPath-B8EZDtSz.d.mts → createPath-C4jIHe68.d.mts} +2 -2
- package/dist/createPath.d.mts +1 -1
- package/dist/{date-range-rule-value-DObVM8xO.d.mts → date-range-rule-value-BkbGpLNH.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/{date-rule-intent-DhMMe_wq.d.mts → date-rule-intent-zdKP-tW_.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-DaBdvJHf.d.mts → filter-size-context-CW1guBfI.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{formatDateTime-mPH4DsDC.d.mts → formatDateTime-zyRMjfH8.d.mts} +1 -1
- package/dist/formatDateTime.d.mts +1 -1
- package/dist/helpers.d.mts +2 -2
- package/dist/{i18n-UiE7OC4k.mjs → i18n-CeRarJIa.mjs} +11 -2
- package/dist/i18n-CeRarJIa.mjs.map +1 -0
- package/dist/{index-Blo6W_k0.d.mts → index-B7KIL3U6.d.mts} +2 -2
- package/dist/{index-CeUb5INA.d.mts → index-C7hEdRqK.d.mts} +2 -2
- package/dist/{index-CTcM_LlP.d.mts → index-DxFh2ArY.d.mts} +3 -3
- package/dist/index-xAZnxq0d2.d.mts +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index2.d.mts +1 -1
- package/dist/index3.d.mts +3 -3
- package/dist/index4.d.mts +1 -1
- package/dist/index5.d.mts +15 -15
- package/dist/{input-D9rsMlzl.d.mts → input-DMPo8gRT.d.mts} +3 -3
- package/dist/{inputFields-CXelxYhd.d.mts → inputFields-BCNC1FWx.d.mts} +11 -11
- package/dist/inputFields.d.mts +1 -1
- package/dist/{intersperse-ObkRVOag.mjs → intersperse-B8s6clcc.mjs} +1 -1
- package/dist/{intersperse-ObkRVOag.mjs.map → intersperse-B8s6clcc.mjs.map} +1 -1
- package/dist/{jsonSchema-BMPLdT4p.d.mts → jsonSchema-6mcLrVG3.d.mts} +1 -1
- package/dist/lib/PDSProvider.d.mts +3 -3
- package/dist/lib/PDSProvider.mjs +1 -1
- package/dist/lib/TruncatedText.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.d.mts +1 -1
- package/dist/lib/TruncatedTextWithTooltip.mjs +1 -1
- package/dist/lib/chainTypes.d.mts +1 -1
- package/dist/lib/color.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/i18n/index.mjs +1 -1
- 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 +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/{listbox-options-BFaMbK-g.d.mts → listbox-options-yLjqZp4H.d.mts} +3 -3
- package/dist/listbox-options.d.mts +1 -1
- package/dist/{message-BOzjC5yA.d.mts → message-C5n7wFiN.d.mts} +1 -1
- package/dist/{methodChain-CGTIWafl.d.mts → methodChain-BNDytoaD.d.mts} +4 -4
- package/dist/{methodChainTypes-BtSMV5OZ.d.mts → methodChainTypes-BuwpPC73.d.mts} +2 -2
- 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 +1 -1
- 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/scrollbar.d.mts +1 -1
- package/dist/mixins/text.d.mts +1 -1
- package/dist/{operators-DfvW8Kmr.d.mts → operators-C34nhBuK.d.mts} +42 -12
- package/dist/operators.d.mts +2 -2
- package/dist/{palette-CBOBcVu3.d.mts → palette-BCszfY7I.d.mts} +3 -3
- package/dist/palette.d.mts +1 -1
- package/dist/patterns/CardGrouping/index.d.mts +2 -0
- package/dist/patterns/CardGrouping/index.mjs +280 -0
- package/dist/patterns/CardGrouping/index.mjs.map +1 -0
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +3 -3
- package/dist/patterns/PageLayout/index.d.mts +5 -5
- package/dist/patterns/PageLayout/index.mjs +1 -131
- package/dist/patterns/WizardModal/index.mjs +3 -3
- package/dist/reactRouterFallback.d.mts +1 -1
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/safe-parse.d.mts +1 -1
- package/dist/{schemaOptions-DTeNBwir.d.mts → schemaOptions-DBOUChxi.d.mts} +3 -3
- package/dist/{semantic-CfiNA4Yy.d.mts → semantic-Duoh2Pxp.d.mts} +1 -1
- package/dist/{semanticColor-BCPOKF9L.d.mts → semanticColor-BuG977_M.d.mts} +3 -3
- package/dist/{strings-BaQZhOjo.d.mts → strings-CUZrwL-Q.d.mts} +11 -1
- package/dist/strings.d.mts +1 -1
- package/dist/{text-ucZmPNyH.d.mts → text-B7hx6G99.d.mts} +1 -1
- package/dist/{theme-CAPmp1it.d.mts → theme-BKg55Zk1.d.mts} +3 -3
- package/dist/theme.d.mts +1 -1
- package/dist/tone.d.mts +3 -3
- package/dist/tree.d.mts +1 -1
- package/dist/{types-l-arEBLb.d.mts → types-4wnr5R9P.d.mts} +1 -1
- package/dist/{types-CBfgdnuB.d.mts → types-6QeQmbFm.d.mts} +1 -1
- package/dist/{types-CoTzVfFl.d.mts → types-BjMJFNYH.d.mts} +1 -1
- package/dist/{types-CptsgFbu.d.mts → types-CEQWndtF.d.mts} +4 -4
- package/dist/{types-BfrEduGv.d.mts → types-C_ZEgHNa.d.mts} +2 -2
- package/dist/{types-ClbV4wNp.d.mts → types-CgKSEQyB.d.mts} +1 -1
- package/dist/{types-B1KzKgBp.d.mts → types-CwzwClJx.d.mts} +1 -1
- package/dist/{types-Rj-C3LGL.d.mts → types-DEzlAdZW.d.mts} +35 -9
- package/dist/{types-BB5WwerD.d.mts → types-VgGkS4JB.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 +2 -2
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/types7.d.mts +1 -1
- package/dist/{url-state-CrnZ3Ocy.d.mts → url-state-B_gTQ9uu.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-DQq1UsGZ.d.mts → useChain-DPRVMwX8.d.mts} +6 -6
- package/dist/useChainAtCursor.d.mts +6 -6
- package/dist/useCodeChainFunctionPanel.d.mts +1 -1
- package/dist/useComboboxFooterAction.d.mts +5 -2
- package/dist/{useFilterStateV2-CGGABOcq.d.mts → useFilterStateV2-BQZppUR0.d.mts} +5 -4
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useFormField-CbNYbDdp.mjs → useFormField-BAmkdxtA.mjs} +2 -2
- package/dist/{useFormField-CbNYbDdp.mjs.map → useFormField-BAmkdxtA.mjs.map} +1 -1
- package/dist/{useFormField-4w9TNFgD.d.mts → useFormField-DAwApAKK.d.mts} +2 -2
- package/dist/useFormField.d.mts +1 -1
- package/dist/{useFormGroup-CsKC93Pt.mjs → useFormGroup-BZayb9fZ.mjs} +1 -1
- package/dist/{useFormGroup-CsKC93Pt.mjs.map → useFormGroup-BZayb9fZ.mjs.map} +1 -1
- package/dist/{useLocationPathname-CZwH8h5n.d.mts → useLocationPathname-BHL0pgiu.d.mts} +1 -1
- package/dist/useLocationPathname.d.mts +1 -1
- package/dist/{useTableBoxDragAndDrop-Bw93rNFH.d.mts → useTableBoxDragAndDrop-Dq30b6yY.d.mts} +1 -1
- package/dist/useTableBoxDragAndDrop.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/{utilities-B8PzMOza.d.mts → utilities-B2ry7_20.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-DP8f6tgh.d.mts → validation-BODkbEvr.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/validation2.d.mts +4 -4
- package/dist/{value-control-resolver-CwjOaVAn.d.mts → value-control-resolver-BcZiReQ7.d.mts} +2 -2
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/effect.d.mts +1 -1
- package/dist/variables/semantic.d.mts +1 -1
- package/llms.txt +1 -0
- package/package.json +5 -3
- package/skills/ui-authoring/COMPONENTS.md +1 -0
- package/skills/ui-authoring/PATTERNS.md +7 -2
- package/dist/Combobox-MCaDc7h6.mjs.map +0 -1
- package/dist/TableControls-B5UGCoO-.mjs.map +0 -1
- package/dist/i18n-UiE7OC4k.mjs.map +0 -1
- package/dist/patterns/PageLayout/index.mjs.map +0 -1
- /package/dist/{index-1-AkepUA.d.mts → index-7in8TPrM.d.mts} +0 -0
- /package/dist/{index-B-Y-ZG2x.d.mts → index-8SLBz2NH.d.mts} +0 -0
- /package/dist/{index-BO_854F2.d.mts → index-B24gUwOx.d.mts} +0 -0
- /package/dist/{index-BSVhZrWN.d.mts → index-B8M0Grl_2.d.mts} +0 -0
- /package/dist/{index-BYARwRq7.d.mts → index-BFnNtGdX.d.mts} +0 -0
- /package/dist/{index-B_BBnMou.d.mts → index-BTviwbFV.d.mts} +0 -0
- /package/dist/{index-BbPybiOV.d.mts → index-BjgW3E7y.d.mts} +0 -0
- /package/dist/{index-BcsXXrHq.d.mts → index-BwFl_eS0.d.mts} +0 -0
- /package/dist/{index-Bt4QNofW.d.mts → index-C3kE54DD.d.mts} +0 -0
- /package/dist/{index-C9achTF6.d.mts → index-C3usUse7.d.mts} +0 -0
- /package/dist/{index-CCt0lwyI.d.mts → index-C6HcjJiY.d.mts} +0 -0
- /package/dist/{index-CFuHCx9T.d.mts → index-CP2eJYlK.d.mts} +0 -0
- /package/dist/{index-CIABef8t.d.mts → index-CSf15oCd.d.mts} +0 -0
- /package/dist/{index-CTHojwxd.d.mts → index-CX869wwk.d.mts} +0 -0
- /package/dist/{index-CliqZ9rj.d.mts → index-CXaDbCtw.d.mts} +0 -0
- /package/dist/{index-Cm-1i165.d.mts → index-D4DUvwPf.d.mts} +0 -0
- /package/dist/{index-CryTAIZM.d.mts → index-DB7t8whN.d.mts} +0 -0
- /package/dist/{index-CzItj62a.d.mts → index-Deol7ZWO.d.mts} +0 -0
- /package/dist/{index-CzUpNo0e.d.mts → index-DhiymMxa.d.mts} +0 -0
- /package/dist/{index-D-giXKyu.d.mts → index-DjOaHFU3.d.mts} +0 -0
- /package/dist/{index-DGsJdI5l.d.mts → index-DkrC-i1D.d.mts} +0 -0
- /package/dist/{index-DMRtRo7y.d.mts → index-DvwPIy8X.d.mts} +0 -0
- /package/dist/{index-DUF59i3Q2.d.mts → index-Oio5ygqN.d.mts} +0 -0
- /package/dist/{index-DgJfEygr.d.mts → index-Wc1llEvP.d.mts} +0 -0
- /package/dist/{index-Es5nKSSL.d.mts → index-dzI_9J-Z.d.mts} +0 -0
- /package/dist/{index-NKYLt_R9.d.mts → index-gpCH5158.d.mts} +0 -0
- /package/dist/{index-Qwqzz3XM.d.mts → index-lIMqGGJz.d.mts} +0 -0
- /package/dist/{index-T2S0_qsg.d.mts → index-luywJTzJ.d.mts} +0 -0
- /package/dist/{index-kxcPLmUx2.d.mts → index-sViox9YW.d.mts} +0 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
+
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
|
+
import { focusStyle } from "../../mixins/focus.mjs";
|
|
4
|
+
import "../../variables/transitions.mjs";
|
|
5
|
+
import { HeadlessAriaButton } from "../../lib/HeadlessAriaButton.mjs";
|
|
6
|
+
import { n as RouterLink } from "../../router-COrZcVkf.mjs";
|
|
7
|
+
import { TruncatedText } from "../../lib/TruncatedText.mjs";
|
|
8
|
+
import { i as Paragraph, n as Heading$1 } from "../../Text-CSwFifQF.mjs";
|
|
9
|
+
import { a as Tooltip } from "../../Tooltip-DogEteGl.mjs";
|
|
10
|
+
import { n as Stack, t as HStack } from "../../Stack-BkC7FCdF.mjs";
|
|
11
|
+
import { n as Button$1, t as IconButton } from "../../IconButton-D4awF770.mjs";
|
|
12
|
+
import { n as DropdownMenu_default } from "../../DropdownMenu-CPE8Q56k.mjs";
|
|
13
|
+
import { t as DropdownButton } from "../../DropdownButton-C9wWnB5w.mjs";
|
|
14
|
+
import { n as SingleColumnLayout } from "../../PageLayout-C7ZC7GBA.mjs";
|
|
15
|
+
import { Color, Spacing } from "@persona/design-tokens";
|
|
16
|
+
import { cloneElement } from "react";
|
|
17
|
+
import { Disclosure, DisclosurePanel } from "react-aria-components";
|
|
18
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
19
|
+
import { ChevronDownIcon, MoreIcon } from "@persona/icons";
|
|
20
|
+
//#region patterns/CardGrouping/CardGrouping.tsx
|
|
21
|
+
const isIconAction = (action) => "icon" in action;
|
|
22
|
+
const splitGroupActions = (actions) => {
|
|
23
|
+
if (actions.length <= 1) return {
|
|
24
|
+
inlineActions: actions,
|
|
25
|
+
overflowActions: []
|
|
26
|
+
};
|
|
27
|
+
const primaryIndex = actions.findIndex((action) => !isIconAction(action) && action.variant === "primary");
|
|
28
|
+
const inlineIndex = primaryIndex === -1 ? 0 : primaryIndex;
|
|
29
|
+
return {
|
|
30
|
+
inlineActions: [actions[inlineIndex]],
|
|
31
|
+
overflowActions: actions.filter((_, index) => index !== inlineIndex)
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
const actionKey = (action, index) => isIconAction(action) ? action.id ?? action.ariaLabel ?? `action-${index}` : action.id ?? action.label ?? `action-${index}`;
|
|
35
|
+
const actionLabel = (action) => isIconAction(action) ? action.ariaLabel : action.label;
|
|
36
|
+
const overflowLinkProps = (action) => {
|
|
37
|
+
if (action.disabled || action.to == null) return {};
|
|
38
|
+
if (typeof action.to === "string" && action.to.startsWith("https://")) return {
|
|
39
|
+
as: "a",
|
|
40
|
+
href: action.to,
|
|
41
|
+
target: "_blank",
|
|
42
|
+
rel: "noreferrer"
|
|
43
|
+
};
|
|
44
|
+
return {
|
|
45
|
+
as: RouterLink,
|
|
46
|
+
to: action.to
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
const TitleBlock = styled(Stack)`
|
|
50
|
+
min-width: 0;
|
|
51
|
+
flex: 1;
|
|
52
|
+
|
|
53
|
+
> * {
|
|
54
|
+
min-width: 0;
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
57
|
+
const TitleHeading = styled(Heading$1)`
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: ${Spacing[2]};
|
|
61
|
+
min-width: 0;
|
|
62
|
+
max-width: 100%;
|
|
63
|
+
overflow: hidden;
|
|
64
|
+
`;
|
|
65
|
+
const TitleText = styled.span`
|
|
66
|
+
min-width: 0;
|
|
67
|
+
`;
|
|
68
|
+
const Actions = styled(HStack)`
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
`;
|
|
71
|
+
const Adornment = styled.span`
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
max-width: 180px;
|
|
75
|
+
`;
|
|
76
|
+
const ActionRow = ({ actions, size, collapseToPrimary = false }) => {
|
|
77
|
+
const visibleActions = actions.filter((action) => !action.hidden);
|
|
78
|
+
const { inlineActions, overflowActions } = collapseToPrimary ? splitGroupActions(visibleActions) : {
|
|
79
|
+
inlineActions: visibleActions,
|
|
80
|
+
overflowActions: []
|
|
81
|
+
};
|
|
82
|
+
const buttons = inlineActions.map((action, i) => {
|
|
83
|
+
const key = actionKey(action, i);
|
|
84
|
+
const button = isIconAction(action) ? /* @__PURE__ */ jsx(IconButton, {
|
|
85
|
+
id: action.id,
|
|
86
|
+
to: action.to,
|
|
87
|
+
size,
|
|
88
|
+
disabled: action.disabled,
|
|
89
|
+
"aria-label": action.ariaLabel,
|
|
90
|
+
onClick: (event) => {
|
|
91
|
+
event.stopPropagation();
|
|
92
|
+
return action.onClick?.(event);
|
|
93
|
+
},
|
|
94
|
+
children: action.icon
|
|
95
|
+
}, key) : /* @__PURE__ */ jsx(Button$1, {
|
|
96
|
+
id: action.id,
|
|
97
|
+
to: action.to,
|
|
98
|
+
"aria-label": action.ariaLabel,
|
|
99
|
+
disabled: action.disabled,
|
|
100
|
+
variant: action.variant ?? "basic",
|
|
101
|
+
size,
|
|
102
|
+
width: "auto",
|
|
103
|
+
onSecondaryBackground: (action.variant ?? "basic") === "basic",
|
|
104
|
+
prefixIcon: action.prefixIcon,
|
|
105
|
+
suffixIcon: action.suffixIcon,
|
|
106
|
+
onClick: (event) => {
|
|
107
|
+
event.stopPropagation();
|
|
108
|
+
return action.onClick?.(event);
|
|
109
|
+
},
|
|
110
|
+
children: action.label
|
|
111
|
+
}, key);
|
|
112
|
+
return action.tooltip ? /* @__PURE__ */ jsx(Tooltip, {
|
|
113
|
+
...action.tooltipProps,
|
|
114
|
+
trigger: button,
|
|
115
|
+
children: action.tooltip
|
|
116
|
+
}, key) : button;
|
|
117
|
+
});
|
|
118
|
+
return /* @__PURE__ */ jsxs(Actions, {
|
|
119
|
+
spacing: Spacing[2],
|
|
120
|
+
children: [buttons, overflowActions.length > 0 && /* @__PURE__ */ jsx(DropdownButton, {
|
|
121
|
+
variant: "basic",
|
|
122
|
+
size,
|
|
123
|
+
width: "icon",
|
|
124
|
+
onSecondaryBackground: true,
|
|
125
|
+
suffixIcon: void 0,
|
|
126
|
+
"aria-label": "More actions",
|
|
127
|
+
menuProps: { portal: true },
|
|
128
|
+
menuItems: overflowActions.map((action, index) => /* @__PURE__ */ jsx(DropdownMenu_default.Item, {
|
|
129
|
+
id: action.id ?? actionLabel(action),
|
|
130
|
+
disabled: action.disabled,
|
|
131
|
+
variant: !isIconAction(action) && action.variant === "danger" ? "danger" : void 0,
|
|
132
|
+
...overflowLinkProps(action),
|
|
133
|
+
onClick: (event) => {
|
|
134
|
+
event.stopPropagation();
|
|
135
|
+
return action.onClick?.(event);
|
|
136
|
+
},
|
|
137
|
+
children: actionLabel(action)
|
|
138
|
+
}, actionKey(action, index))),
|
|
139
|
+
children: /* @__PURE__ */ jsx(MoreIcon, {})
|
|
140
|
+
})]
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
const onSecondarySurface = (node) => cloneElement(node, { onSecondaryBackground: true });
|
|
144
|
+
const Controls = styled.div`
|
|
145
|
+
margin-top: ${Spacing[2]};
|
|
146
|
+
|
|
147
|
+
> * {
|
|
148
|
+
margin-bottom: 0;
|
|
149
|
+
}
|
|
150
|
+
`;
|
|
151
|
+
const ListHeader = ({ title, description, sticker, status, actions, controls }) => /* @__PURE__ */ jsxs(HStack, {
|
|
152
|
+
align: "flex-start",
|
|
153
|
+
justify: "space-between",
|
|
154
|
+
spacing: Spacing[4],
|
|
155
|
+
fullWidth: true,
|
|
156
|
+
children: [/* @__PURE__ */ jsxs(TitleBlock, {
|
|
157
|
+
spacing: Spacing[1],
|
|
158
|
+
children: [
|
|
159
|
+
/* @__PURE__ */ jsxs(TitleHeading, {
|
|
160
|
+
forwardedAs: "h2",
|
|
161
|
+
size: "xsm",
|
|
162
|
+
children: [
|
|
163
|
+
/* @__PURE__ */ jsx(TitleText, { children: /* @__PURE__ */ jsx(TruncatedText, { children: title }) }),
|
|
164
|
+
sticker && /* @__PURE__ */ jsx(Adornment, { children: onSecondarySurface(sticker) }),
|
|
165
|
+
status && /* @__PURE__ */ jsx(Adornment, { children: status })
|
|
166
|
+
]
|
|
167
|
+
}),
|
|
168
|
+
description && /* @__PURE__ */ jsx(Paragraph, {
|
|
169
|
+
size: "md",
|
|
170
|
+
children: description
|
|
171
|
+
}),
|
|
172
|
+
controls && /* @__PURE__ */ jsx(Controls, { children: controls })
|
|
173
|
+
]
|
|
174
|
+
}), actions && actions.length > 0 && /* @__PURE__ */ jsx(ActionRow, {
|
|
175
|
+
actions,
|
|
176
|
+
size: "md"
|
|
177
|
+
})]
|
|
178
|
+
});
|
|
179
|
+
const GroupDisclosure = styled(Disclosure)`
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
`;
|
|
183
|
+
const GroupHeader = styled(HStack)`
|
|
184
|
+
box-sizing: border-box;
|
|
185
|
+
width: 100%;
|
|
186
|
+
min-width: 0;
|
|
187
|
+
height: ${Spacing[9]};
|
|
188
|
+
`;
|
|
189
|
+
const Trigger = styled(HeadlessAriaButton)`
|
|
190
|
+
min-width: 0;
|
|
191
|
+
flex: 1;
|
|
192
|
+
display: flex;
|
|
193
|
+
align-items: center;
|
|
194
|
+
gap: ${Spacing[2]};
|
|
195
|
+
text-align: left;
|
|
196
|
+
|
|
197
|
+
&:focus-visible {
|
|
198
|
+
${focusStyle}
|
|
199
|
+
}
|
|
200
|
+
`;
|
|
201
|
+
const Chevron = styled.span`
|
|
202
|
+
display: flex;
|
|
203
|
+
flex-shrink: 0;
|
|
204
|
+
color: ${({ theme }) => semanticColor(theme, "FgSecondary", theme.color.text.secondary)};
|
|
205
|
+
|
|
206
|
+
svg {
|
|
207
|
+
transition: transform ${"150ms"} ease-out;
|
|
208
|
+
transform: rotate(${({ $expanded }) => $expanded ? "0deg" : "-90deg"});
|
|
209
|
+
}
|
|
210
|
+
`;
|
|
211
|
+
const GroupList = styled(Stack)`
|
|
212
|
+
&& {
|
|
213
|
+
gap: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
> *:not(:last-child) {
|
|
217
|
+
border-bottom: 1px solid
|
|
218
|
+
${({ theme }) => semanticColor(theme, "BorderSubtle", Color.BorderDivider)};
|
|
219
|
+
}
|
|
220
|
+
`;
|
|
221
|
+
const GroupCards = styled(Stack)`
|
|
222
|
+
padding-top: ${Spacing[4]};
|
|
223
|
+
padding-bottom: ${Spacing[4]};
|
|
224
|
+
`;
|
|
225
|
+
const GroupRow = ({ title, sticker, actions, defaultExpanded = false, children }) => /* @__PURE__ */ jsx(GroupDisclosure, {
|
|
226
|
+
defaultExpanded,
|
|
227
|
+
children: ({ isExpanded }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(GroupHeader, {
|
|
228
|
+
align: "center",
|
|
229
|
+
justify: "space-between",
|
|
230
|
+
spacing: Spacing[2],
|
|
231
|
+
children: [/* @__PURE__ */ jsxs(Trigger, {
|
|
232
|
+
slot: "trigger",
|
|
233
|
+
"aria-label": title,
|
|
234
|
+
children: [/* @__PURE__ */ jsx(Chevron, {
|
|
235
|
+
$expanded: isExpanded,
|
|
236
|
+
"aria-hidden": true,
|
|
237
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
|
|
238
|
+
}), /* @__PURE__ */ jsx(TitleBlock, {
|
|
239
|
+
spacing: Spacing[1],
|
|
240
|
+
children: /* @__PURE__ */ jsxs(TitleHeading, {
|
|
241
|
+
forwardedAs: "h3",
|
|
242
|
+
size: "xsm",
|
|
243
|
+
children: [/* @__PURE__ */ jsx(TitleText, { children: /* @__PURE__ */ jsx(TruncatedText, { children: title }) }), sticker && /* @__PURE__ */ jsx(Adornment, { children: onSecondarySurface(sticker) })]
|
|
244
|
+
})
|
|
245
|
+
})]
|
|
246
|
+
}), actions && actions.length > 0 && /* @__PURE__ */ jsx(ActionRow, {
|
|
247
|
+
actions,
|
|
248
|
+
size: "sm",
|
|
249
|
+
collapseToPrimary: true
|
|
250
|
+
})]
|
|
251
|
+
}), /* @__PURE__ */ jsx(DisclosurePanel, { children: /* @__PURE__ */ jsx(GroupCards, {
|
|
252
|
+
spacing: Spacing[4],
|
|
253
|
+
children
|
|
254
|
+
}) })] })
|
|
255
|
+
});
|
|
256
|
+
const CardGrouping = ({ title, description, sticker, status, actions, controls, groups, ...chrome }) => /* @__PURE__ */ jsx(SingleColumnLayout, {
|
|
257
|
+
...chrome,
|
|
258
|
+
main: /* @__PURE__ */ jsxs(Stack, {
|
|
259
|
+
spacing: Spacing[4],
|
|
260
|
+
fullWidth: true,
|
|
261
|
+
children: [title ? /* @__PURE__ */ jsx(ListHeader, {
|
|
262
|
+
title,
|
|
263
|
+
description,
|
|
264
|
+
sticker,
|
|
265
|
+
status,
|
|
266
|
+
actions,
|
|
267
|
+
controls
|
|
268
|
+
}) : description && /* @__PURE__ */ jsx(Paragraph, {
|
|
269
|
+
size: "md",
|
|
270
|
+
children: description
|
|
271
|
+
}), /* @__PURE__ */ jsx(GroupList, {
|
|
272
|
+
fullWidth: true,
|
|
273
|
+
children: groups.map((group, index) => /* @__PURE__ */ jsx(GroupRow, { ...group }, `${group.title}-${index}`))
|
|
274
|
+
})]
|
|
275
|
+
})
|
|
276
|
+
});
|
|
277
|
+
//#endregion
|
|
278
|
+
export { CardGrouping };
|
|
279
|
+
|
|
280
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["Heading","Button","DropdownMenu"],"sources":["../../../patterns/CardGrouping/CardGrouping.tsx"],"sourcesContent":["import { cloneElement, type ReactElement, type ReactNode } from 'react';\nimport { Disclosure, DisclosurePanel } from 'react-aria-components';\nimport styled from 'styled-components';\n\nimport { Color, Spacing } from '@persona/design-tokens';\nimport { ChevronDownIcon, MoreIcon } from '@persona/icons';\nimport Button, { IconButton } from 'design-system/components/Button';\nimport DropdownButton from 'design-system/components/DropdownButton';\nimport DropdownMenu from 'design-system/components/DropdownMenu';\nimport { HStack, Stack } from 'design-system/components/Stack';\nimport { Heading, Paragraph } from 'design-system/components/Text';\nimport Tooltip from 'design-system/components/Tooltip';\nimport { HeadlessAriaButton } from 'design-system/lib/HeadlessAriaButton';\nimport { RouterLink } from 'design-system/lib/router';\nimport { semanticColor } from 'design-system/lib/semanticColor';\nimport { TruncatedText } from 'design-system/lib/TruncatedText';\nimport { focusStyle } from 'design-system/mixins/focus';\nimport type { IconAction, TextAction } from 'design-system/types/Action';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nimport { SingleColumnLayout, type SingleColumnLayoutProps } from '../PageLayout';\n\ntype HeaderAction = IconAction | TextAction;\n\nconst isIconAction = (action: HeaderAction): action is IconAction => 'icon' in action;\n\nconst splitGroupActions = (actions: HeaderAction[]) => {\n if (actions.length <= 1) {\n return { inlineActions: actions, overflowActions: [] as HeaderAction[] };\n }\n\n const primaryIndex = actions.findIndex(\n (action) => !isIconAction(action) && action.variant === 'primary',\n );\n const inlineIndex = primaryIndex === -1 ? 0 : primaryIndex;\n\n return {\n inlineActions: [actions[inlineIndex]],\n overflowActions: actions.filter((_, index) => index !== inlineIndex),\n };\n};\n\nconst actionKey = (action: HeaderAction, index: number) =>\n isIconAction(action)\n ? (action.id ?? action.ariaLabel ?? `action-${index}`)\n : (action.id ?? action.label ?? `action-${index}`);\n\nconst actionLabel = (action: HeaderAction) =>\n isIconAction(action) ? action.ariaLabel : action.label;\n\nconst overflowLinkProps = (action: HeaderAction) => {\n if (action.disabled || action.to == null) {\n return {};\n }\n\n if (typeof action.to === 'string' && action.to.startsWith('https://')) {\n return {\n as: 'a' as const,\n href: action.to,\n target: '_blank' as const,\n rel: 'noreferrer',\n };\n }\n\n return { as: RouterLink, to: action.to };\n};\n\nconst TitleBlock = styled(Stack)`\n min-width: 0;\n flex: 1;\n\n > * {\n min-width: 0;\n }\n`;\n\nconst TitleHeading = styled(Heading)`\n display: flex;\n align-items: center;\n gap: ${Spacing[2]};\n min-width: 0;\n max-width: 100%;\n overflow: hidden;\n`;\n\nconst TitleText = styled.span`\n min-width: 0;\n`;\n\nconst Actions = styled(HStack)`\n flex-shrink: 0;\n`;\n\nconst Adornment = styled.span`\n display: flex;\n flex-shrink: 0;\n max-width: 180px;\n`;\n\nconst ActionRow = ({\n actions,\n size,\n collapseToPrimary = false,\n}: {\n actions: HeaderAction[];\n size: 'sm' | 'md';\n collapseToPrimary?: boolean;\n}) => {\n const visibleActions = actions.filter((action) => !action.hidden);\n const { inlineActions, overflowActions } = collapseToPrimary\n ? splitGroupActions(visibleActions)\n : { inlineActions: visibleActions, overflowActions: [] as HeaderAction[] };\n\n const buttons = inlineActions.map((action, i) => {\n const key = actionKey(action, i);\n\n const button = isIconAction(action) ? (\n <IconButton\n id={action.id}\n key={key}\n to={action.to}\n size={size}\n disabled={action.disabled}\n aria-label={action.ariaLabel}\n onClick={(event) => {\n event.stopPropagation();\n return action.onClick?.(event);\n }}\n >\n {action.icon}\n </IconButton>\n ) : (\n <Button\n id={action.id}\n key={key}\n to={action.to}\n aria-label={action.ariaLabel}\n disabled={action.disabled}\n variant={action.variant ?? 'basic'}\n size={size}\n width='auto'\n onSecondaryBackground={(action.variant ?? 'basic') === 'basic'}\n prefixIcon={action.prefixIcon}\n suffixIcon={action.suffixIcon}\n onClick={(event) => {\n event.stopPropagation();\n return action.onClick?.(event);\n }}\n >\n {action.label}\n </Button>\n );\n\n return action.tooltip ? (\n <Tooltip key={key} {...action.tooltipProps} trigger={button}>\n {action.tooltip}\n </Tooltip>\n ) : (\n button\n );\n });\n\n return (\n <Actions spacing={Spacing[2]}>\n {buttons}\n {overflowActions.length > 0 && (\n <DropdownButton\n variant='basic'\n size={size}\n width='icon'\n onSecondaryBackground\n suffixIcon={undefined}\n aria-label='More actions'\n menuProps={{ portal: true }}\n menuItems={overflowActions.map((action, index) => (\n <DropdownMenu.Item\n id={action.id ?? actionLabel(action)}\n key={actionKey(action, index)}\n disabled={action.disabled}\n variant={!isIconAction(action) && action.variant === 'danger' ? 'danger' : undefined}\n {...overflowLinkProps(action)}\n onClick={(event) => {\n event.stopPropagation();\n return action.onClick?.(event);\n }}\n >\n {actionLabel(action)}\n </DropdownMenu.Item>\n ))}\n >\n <MoreIcon />\n </DropdownButton>\n )}\n </Actions>\n );\n};\n\nconst onSecondarySurface = (node: ReactElement) =>\n cloneElement(node as ReactElement<{ onSecondaryBackground?: boolean }>, {\n onSecondaryBackground: true,\n });\n\nconst Controls = styled.div`\n margin-top: ${Spacing[2]};\n\n > * {\n margin-bottom: 0;\n }\n`;\n\nconst ListHeader = ({\n title,\n description,\n sticker,\n status,\n actions,\n controls,\n}: {\n title: string;\n description?: string;\n sticker?: ReactElement;\n status?: ReactElement;\n actions?: HeaderAction[];\n controls?: ReactNode;\n}) => (\n <HStack align='flex-start' justify='space-between' spacing={Spacing[4]} fullWidth>\n <TitleBlock spacing={Spacing[1]}>\n <TitleHeading forwardedAs='h2' size='xsm'>\n <TitleText>\n <TruncatedText>{title}</TruncatedText>\n </TitleText>\n {sticker && <Adornment>{onSecondarySurface(sticker)}</Adornment>}\n {status && <Adornment>{status}</Adornment>}\n </TitleHeading>\n {description && <Paragraph size='md'>{description}</Paragraph>}\n {controls && <Controls>{controls}</Controls>}\n </TitleBlock>\n {actions && actions.length > 0 && <ActionRow actions={actions} size='md' />}\n </HStack>\n);\n\nconst GroupDisclosure = styled(Disclosure)`\n display: flex;\n flex-direction: column;\n`;\n\nconst GroupHeader = styled(HStack)`\n box-sizing: border-box;\n width: 100%;\n min-width: 0;\n height: ${Spacing[9]};\n`;\n\nconst Trigger = styled(HeadlessAriaButton)`\n min-width: 0;\n flex: 1;\n display: flex;\n align-items: center;\n gap: ${Spacing[2]};\n text-align: left;\n\n &:focus-visible {\n ${focusStyle}\n }\n`;\n\nconst Chevron = styled.span<{ $expanded: boolean }>`\n display: flex;\n flex-shrink: 0;\n color: ${({ theme }) => semanticColor(theme, 'FgSecondary', theme.color.text.secondary)};\n\n svg {\n transition: transform ${TransitionDuration.Faster} ease-out;\n transform: rotate(${({ $expanded }) => ($expanded ? '0deg' : '-90deg')});\n }\n`;\n\nconst GroupList = styled(Stack)`\n && {\n gap: 0;\n }\n\n > *:not(:last-child) {\n border-bottom: 1px solid\n ${({ theme }) => semanticColor(theme, 'BorderSubtle', Color.BorderDivider)};\n }\n`;\n\nconst GroupCards = styled(Stack)`\n padding-top: ${Spacing[4]};\n padding-bottom: ${Spacing[4]};\n`;\n\nexport type CardGroupingGroup = {\n title: string;\n sticker?: ReactElement;\n actions?: HeaderAction[];\n /** @defaultValue false */\n defaultExpanded?: boolean;\n children: ReactNode;\n};\n\ntype CardGroupingHeaderProps = Omit<SingleColumnLayoutProps, 'main'> & {\n title?: string;\n description?: string;\n sticker?: ReactElement;\n status?: ReactElement;\n actions?: HeaderAction[];\n /** Extra controls under the description, inside the list title group. */\n controls?: ReactNode;\n};\n\nexport type CardGroupingProps = CardGroupingHeaderProps & {\n groups: CardGroupingGroup[];\n};\n\nconst GroupRow = ({\n title,\n sticker,\n actions,\n defaultExpanded = false,\n children,\n}: CardGroupingGroup) => (\n <GroupDisclosure defaultExpanded={defaultExpanded}>\n {({ isExpanded }) => (\n <>\n <GroupHeader align='center' justify='space-between' spacing={Spacing[2]}>\n <Trigger slot='trigger' aria-label={title}>\n <Chevron $expanded={isExpanded} aria-hidden>\n <ChevronDownIcon />\n </Chevron>\n <TitleBlock spacing={Spacing[1]}>\n <TitleHeading forwardedAs='h3' size='xsm'>\n <TitleText>\n <TruncatedText>{title}</TruncatedText>\n </TitleText>\n {sticker && <Adornment>{onSecondarySurface(sticker)}</Adornment>}\n </TitleHeading>\n </TitleBlock>\n </Trigger>\n {actions && actions.length > 0 && (\n <ActionRow actions={actions} size='sm' collapseToPrimary />\n )}\n </GroupHeader>\n <DisclosurePanel>\n <GroupCards spacing={Spacing[4]}>{children}</GroupCards>\n </DisclosurePanel>\n </>\n )}\n </GroupDisclosure>\n);\n\nexport const CardGrouping = ({\n title,\n description,\n sticker,\n status,\n actions,\n controls,\n groups,\n ...chrome\n}: CardGroupingProps) => (\n <SingleColumnLayout\n {...chrome}\n main={\n <Stack spacing={Spacing[4]} fullWidth>\n {title ? (\n <ListHeader\n title={title}\n description={description}\n sticker={sticker}\n status={status}\n actions={actions}\n controls={controls}\n />\n ) : (\n description && <Paragraph size='md'>{description}</Paragraph>\n )}\n <GroupList fullWidth>\n {groups.map((group, index) => (\n <GroupRow key={`${group.title}-${index}`} {...group} />\n ))}\n </GroupList>\n </Stack>\n }\n />\n);\n"],"mappings":"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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
2
|
import { n as Stack, t as HStack } from "../../Stack-BkC7FCdF.mjs";
|
|
3
3
|
import { t as LoadingShimmer } from "../../LoadingShimmer-Bqjdut7i.mjs";
|
|
4
|
-
import { t as Card_default } from "../../CardV2-
|
|
5
|
-
import { h as Table, m as TableHeaderCell, n as TableBody, p as TableRow, r as TableHead, s as TableCell } from "../../Table
|
|
6
|
-
import { n as PageHeaderContainer } from "../../PageHeader-
|
|
4
|
+
import { t as Card_default } from "../../CardV2-Cq4QODeE.mjs";
|
|
5
|
+
import { h as Table, m as TableHeaderCell, n as TableBody, p as TableRow, r as TableHead, s as TableCell } from "../../Table-PbYGf3PG.mjs";
|
|
6
|
+
import { n as PageHeaderContainer } from "../../PageHeader-CCoAJUwJ.mjs";
|
|
7
7
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region patterns/containers.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PageLayoutWidth } from "../../PageLayoutFrame.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export { Backdrop, Container,
|
|
1
|
+
import { n as Container, r as Section, t as Backdrop } from "../../PageLayout-BlCo4hN4.mjs";
|
|
2
|
+
import { r as PageLayoutWidth } from "../../PageLayoutFrame--HlvI4Pp.mjs";
|
|
3
|
+
import { n as SingleColumnLayoutProps, t as SingleColumnLayout } from "../../SingleColumnLayout-ByWxiD7d.mjs";
|
|
4
|
+
import { n as SplitColumnLayoutProps, t as SplitColumnLayout } from "../../SplitColumnLayout-DYyJabQ3.mjs";
|
|
5
|
+
export { Backdrop, Container, PageLayoutWidth, Section, SingleColumnLayout, SingleColumnLayoutProps, SplitColumnLayout, SplitColumnLayoutProps };
|
|
@@ -1,132 +1,2 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { n as Stack } from "../../Stack-BkC7FCdF.mjs";
|
|
3
|
-
import { i as useGridBreakpoint, n as GRID_BREAKPOINTS, r as Grid, t as GridItem } from "../../Grid-D0mlxk8_.mjs";
|
|
4
|
-
import { Spacing } from "@persona/design-tokens";
|
|
5
|
-
import { useLayoutEffect, useRef, useState } from "react";
|
|
6
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
//#region patterns/PageLayout/PageLayout.tsx
|
|
8
|
-
const Backdrop = styled.div`
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
padding: ${Spacing[7]} ${Spacing[5]};
|
|
12
|
-
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
`;
|
|
16
|
-
const StyledContainer = styled("div")`
|
|
17
|
-
position: relative;
|
|
18
|
-
width: 100%;
|
|
19
|
-
padding: 0;
|
|
20
|
-
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
align-items: center;
|
|
24
|
-
`;
|
|
25
|
-
const Container = ({ children, ...rest }) => {
|
|
26
|
-
return /* @__PURE__ */ jsx(StyledContainer, {
|
|
27
|
-
...rest,
|
|
28
|
-
children
|
|
29
|
-
});
|
|
30
|
-
};
|
|
31
|
-
const Section = styled("div")`
|
|
32
|
-
width: 100%;
|
|
33
|
-
padding: ${Spacing[7]};
|
|
34
|
-
`;
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region patterns/PageLayout/PageLayoutFrame.tsx
|
|
37
|
-
const topPadding = (condensed) => condensed ? Spacing[5] : Spacing[6];
|
|
38
|
-
const Root = styled.div`
|
|
39
|
-
width: 100%;
|
|
40
|
-
min-width: ${GRID_BREAKPOINTS.sm - 1}px;
|
|
41
|
-
padding-top: ${({ $condensed, $tabs }) => $tabs ? Spacing[5] : topPadding($condensed)};
|
|
42
|
-
padding-bottom: ${({ $condensed }) => topPadding($condensed)};
|
|
43
|
-
`;
|
|
44
|
-
const gridMode = (width) => width === "wide" ? "fluid" : "fixed";
|
|
45
|
-
const FullWidthBand = ({ mode, children }) => /* @__PURE__ */ jsx(Grid, {
|
|
46
|
-
mode,
|
|
47
|
-
children: /* @__PURE__ */ jsx(GridItem, {
|
|
48
|
-
span: 12,
|
|
49
|
-
children
|
|
50
|
-
})
|
|
51
|
-
});
|
|
52
|
-
const PageLayoutFrame = ({ width = "standard", tabs, pageNotice, children }) => {
|
|
53
|
-
const mode = gridMode(width);
|
|
54
|
-
const ref = useRef(null);
|
|
55
|
-
const [condensed, setCondensed] = useState(false);
|
|
56
|
-
useLayoutEffect(() => {
|
|
57
|
-
const node = ref.current;
|
|
58
|
-
if (!node) return;
|
|
59
|
-
const update = () => setCondensed(node.offsetWidth < GRID_BREAKPOINTS.md);
|
|
60
|
-
update();
|
|
61
|
-
const observer = new ResizeObserver(update);
|
|
62
|
-
observer.observe(node);
|
|
63
|
-
return () => observer.disconnect();
|
|
64
|
-
}, []);
|
|
65
|
-
return /* @__PURE__ */ jsx(Root, {
|
|
66
|
-
ref,
|
|
67
|
-
$condensed: condensed,
|
|
68
|
-
$tabs: Boolean(tabs),
|
|
69
|
-
children: /* @__PURE__ */ jsxs(Stack, {
|
|
70
|
-
spacing: Spacing[5],
|
|
71
|
-
children: [
|
|
72
|
-
tabs && /* @__PURE__ */ jsx(FullWidthBand, {
|
|
73
|
-
mode,
|
|
74
|
-
children: tabs
|
|
75
|
-
}),
|
|
76
|
-
pageNotice && /* @__PURE__ */ jsx(FullWidthBand, {
|
|
77
|
-
mode,
|
|
78
|
-
children: pageNotice
|
|
79
|
-
}),
|
|
80
|
-
/* @__PURE__ */ jsx(Grid, {
|
|
81
|
-
mode,
|
|
82
|
-
children
|
|
83
|
-
})
|
|
84
|
-
]
|
|
85
|
-
})
|
|
86
|
-
});
|
|
87
|
-
};
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region patterns/PageLayout/SingleColumnLayout.tsx
|
|
90
|
-
const SingleColumnLayout = ({ main, ...chrome }) => /* @__PURE__ */ jsx(PageLayoutFrame, {
|
|
91
|
-
...chrome,
|
|
92
|
-
children: /* @__PURE__ */ jsx(GridItem, {
|
|
93
|
-
span: 12,
|
|
94
|
-
children: /* @__PURE__ */ jsx(Stack, {
|
|
95
|
-
spacing: Spacing[4],
|
|
96
|
-
children: main
|
|
97
|
-
})
|
|
98
|
-
})
|
|
99
|
-
});
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region patterns/PageLayout/SplitColumnLayout.tsx
|
|
102
|
-
const SPLIT_COLUMN_SPANS = {
|
|
103
|
-
main: 8,
|
|
104
|
-
aside: 4
|
|
105
|
-
};
|
|
106
|
-
const Region = ({ children }) => /* @__PURE__ */ jsx(Stack, {
|
|
107
|
-
spacing: Spacing[4],
|
|
108
|
-
children
|
|
109
|
-
});
|
|
110
|
-
const SplitBody = ({ main, aside }) => {
|
|
111
|
-
const stacked = useGridBreakpoint() === "xs";
|
|
112
|
-
const mainSpan = stacked ? 12 : SPLIT_COLUMN_SPANS.main;
|
|
113
|
-
const asideSpan = stacked ? 12 : SPLIT_COLUMN_SPANS.aside;
|
|
114
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(GridItem, {
|
|
115
|
-
span: mainSpan,
|
|
116
|
-
children: /* @__PURE__ */ jsx(Region, { children: main })
|
|
117
|
-
}), /* @__PURE__ */ jsx(GridItem, {
|
|
118
|
-
span: asideSpan,
|
|
119
|
-
children: /* @__PURE__ */ jsx("aside", { children: /* @__PURE__ */ jsx(Region, { children: aside }) })
|
|
120
|
-
})] });
|
|
121
|
-
};
|
|
122
|
-
const SplitColumnLayout = ({ main, aside, ...chrome }) => /* @__PURE__ */ jsx(PageLayoutFrame, {
|
|
123
|
-
...chrome,
|
|
124
|
-
children: /* @__PURE__ */ jsx(SplitBody, {
|
|
125
|
-
main,
|
|
126
|
-
aside
|
|
127
|
-
})
|
|
128
|
-
});
|
|
129
|
-
//#endregion
|
|
1
|
+
import { a as Section, i as Container, n as SingleColumnLayout, r as Backdrop, t as SplitColumnLayout } from "../../PageLayout-C7ZC7GBA.mjs";
|
|
130
2
|
export { Backdrop, Container, Section, SingleColumnLayout, SplitColumnLayout };
|
|
131
|
-
|
|
132
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as styled } from "../../styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
2
|
import { semanticColor } from "../../lib/semanticColor.mjs";
|
|
3
3
|
import { t as HStack } from "../../Stack-BkC7FCdF.mjs";
|
|
4
|
-
import { n as Button } from "../../IconButton-
|
|
5
|
-
import { i as Modal_default } from "../../Modal-
|
|
6
|
-
import { t as ProgressIndicator } from "../../ProgressIndicator-
|
|
4
|
+
import { n as Button } from "../../IconButton-D4awF770.mjs";
|
|
5
|
+
import { i as Modal_default } from "../../Modal-Cs5cZpEr.mjs";
|
|
6
|
+
import { t as ProgressIndicator } from "../../ProgressIndicator-xV5Cl2Bw.mjs";
|
|
7
7
|
import { Color, Spacing } from "@persona/design-tokens";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
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-6mcLrVG3.mjs";
|
|
2
|
+
import { n as Chain, s as MethodChainNode } from "./methodChainTypes-BuwpPC73.mjs";
|
|
3
3
|
|
|
4
4
|
//#region lib/schemaOptions.d.ts
|
|
5
5
|
type VariableSchemaObject = {
|
|
@@ -170,4 +170,4 @@ declare const validatePath: ({
|
|
|
170
170
|
declare const splitAtNearestParentObject: (chain: Chain, currentSchema: JsonSchemaObject, platformSchemaMap: ObjectSchemaMap, primitiveUtilities: ObjectSchemaMap) => [leftChain: Chain, rightChain: Chain];
|
|
171
171
|
//#endregion
|
|
172
172
|
export { getFunctionSchemaForNode as a, getSchemaForFieldPath as c, hasRequiredPropertyShape as d, isTypeMatch as f, validatePath as g, splitAtNearestParentObject as h, formatDisplayValue as i, getSchemaForVariablePath as l, nextLinkSchema as m, OptionFilters as n, getOptionForValue as o, isValidOption as p, extractPlatformObjectKey as r, getSchemaByPath as s, Option as t, getSchemaOptions as u };
|
|
173
|
-
//# sourceMappingURL=schemaOptions-
|
|
173
|
+
//# sourceMappingURL=schemaOptions-DBOUChxi.d.mts.map
|
|
@@ -130,4 +130,4 @@ declare const semanticLight: SemanticTokens;
|
|
|
130
130
|
declare const semanticDark: SemanticTokens;
|
|
131
131
|
//#endregion
|
|
132
132
|
export { semanticLight as i, SemanticTokens as n, semanticDark as r, CssPercentage as t };
|
|
133
|
-
//# sourceMappingURL=semantic-
|
|
133
|
+
//# sourceMappingURL=semantic-Duoh2Pxp.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SemanticTokens, t as CssPercentage } from "./semantic-
|
|
2
|
-
import { t as CssColor } from "./color-
|
|
1
|
+
import { n as SemanticTokens, t as CssPercentage } from "./semantic-Duoh2Pxp.mjs";
|
|
2
|
+
import { t as CssColor } from "./color-BOm5A1Si.mjs";
|
|
3
3
|
|
|
4
4
|
//#region lib/semanticColor.d.ts
|
|
5
5
|
/** PDS components also render under foreign themes (Relay, darkTheme), so `semantic` is optional. */
|
|
@@ -26,4 +26,4 @@ declare const semanticOnly: <T>(build: (tokens: SemanticTokens) => T) => ({
|
|
|
26
26
|
}) => T | undefined;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { semanticTokens as a, semanticOnly as i, SemanticFallback as n, semanticColor as r, MaybeSemanticTheme as t };
|
|
29
|
-
//# sourceMappingURL=semanticColor-
|
|
29
|
+
//# sourceMappingURL=semanticColor-BuG977_M.d.mts.map
|
|
@@ -85,6 +85,7 @@ interface CommonStrings {
|
|
|
85
85
|
booleanFalse: string;
|
|
86
86
|
booleanValue: string;
|
|
87
87
|
fieldValue: (fieldLabel: Arg) => string;
|
|
88
|
+
applyFilter: string;
|
|
88
89
|
selectAnOptionPlaceholder: string;
|
|
89
90
|
enterAValue: string;
|
|
90
91
|
enterANumber: string;
|
|
@@ -105,6 +106,7 @@ interface CommonStrings {
|
|
|
105
106
|
noRulesYet: string;
|
|
106
107
|
rulesInGroup: (groupNumber: Arg) => string;
|
|
107
108
|
orGroup: string;
|
|
109
|
+
field: string;
|
|
108
110
|
value: string;
|
|
109
111
|
selectField: string;
|
|
110
112
|
fieldForRule: (ruleNumber: Arg, groupNumber: Arg) => string;
|
|
@@ -122,6 +124,14 @@ interface CommonStrings {
|
|
|
122
124
|
operatorBetween: string;
|
|
123
125
|
operatorIsAnyOf: string;
|
|
124
126
|
operatorIsNoneOf: string;
|
|
127
|
+
operatorGreaterThan: string;
|
|
128
|
+
operatorGreaterThanOrEqual: string;
|
|
129
|
+
operatorLessThan: string;
|
|
130
|
+
operatorLessThanOrEqual: string;
|
|
131
|
+
/** Numeric (`integer` / `float`) field operators, e.g. "Members is equal to 5". */
|
|
132
|
+
operatorIsEqualTo: string;
|
|
133
|
+
operatorIsGreaterThan: string;
|
|
134
|
+
operatorIsLessThan: string;
|
|
125
135
|
}
|
|
126
136
|
type CommonStringKey = keyof CommonStrings;
|
|
127
137
|
/** A single override value: plain copy, or a formatter for keys that interpolate. */
|
|
@@ -140,4 +150,4 @@ declare const DEFAULT_COMMON_STRINGS: Readonly<CommonStrings>;
|
|
|
140
150
|
declare function resolveCommonStrings(overrides: CommonStringOverrides | undefined, base?: Readonly<CommonStrings>): CommonStrings;
|
|
141
151
|
//#endregion
|
|
142
152
|
export { DEFAULT_COMMON_STRINGS as a, CommonStrings as i, CommonStringOverrides as n, resolveCommonStrings as o, CommonStringValue as r, CommonStringKey as t };
|
|
143
|
-
//# sourceMappingURL=strings-
|
|
153
|
+
//# sourceMappingURL=strings-CUZrwL-Q.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-CUZrwL-Q.mjs";
|
|
2
2
|
export { CommonStringKey, CommonStringOverrides, CommonStringValue, CommonStrings, DEFAULT_COMMON_STRINGS, resolveCommonStrings };
|
|
@@ -11,4 +11,4 @@ type ParagraphSize = 'lg' | 'md' | 'sm' | 'xs';
|
|
|
11
11
|
declare const paragraphMixins: Record<ParagraphMixinSize, FlattenInterpolation<ThemeProps<DefaultTheme>>>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { displayMixins as a, paragraphMixins as c, ParagraphSize as i, HeadingSize as n, fontFamilyMixin as o, ParagraphMixinSize as r, headingMixins as s, DisplaySize as t };
|
|
14
|
-
//# sourceMappingURL=text-
|
|
14
|
+
//# sourceMappingURL=text-B7hx6G99.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as SemanticTokens } from "./semantic-
|
|
2
|
-
import { n as PdsColor } from "./color-
|
|
1
|
+
import { n as SemanticTokens } from "./semantic-Duoh2Pxp.mjs";
|
|
2
|
+
import { n as PdsColor } from "./color-BOm5A1Si.mjs";
|
|
3
3
|
import { Color, PDSTypeStyle } from "@persona/design-tokens";
|
|
4
4
|
|
|
5
5
|
//#region theme.d.ts
|
|
@@ -168,4 +168,4 @@ type PdsThemed<T extends PersonaTheme, M extends PdsThemingMode> = Omit<T, 'colo
|
|
|
168
168
|
declare function withPdsTheming<T extends PersonaTheme, M extends PdsThemingMode>(theme: T, mode: M): PdsThemed<T, M>;
|
|
169
169
|
//#endregion
|
|
170
170
|
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-
|
|
171
|
+
//# sourceMappingURL=theme-BKg55Zk1.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-BKg55Zk1.mjs";
|
|
2
2
|
export { BackgroundColors, PdsThemed, PdsThemingMode, PersonaTheme, TextColors, Variant, darkTheme, defaultTheme as default, marketingFontTheme, withPdsTheming };
|
package/dist/tone.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as SemanticTokens } from "./semantic-
|
|
2
|
-
import { n as PdsColor } from "./color-
|
|
3
|
-
import { o as StickerProps } from "./Sticker-
|
|
1
|
+
import { n as SemanticTokens } from "./semantic-Duoh2Pxp.mjs";
|
|
2
|
+
import { n as PdsColor } from "./color-BOm5A1Si.mjs";
|
|
3
|
+
import { o as StickerProps } from "./Sticker-C260e6kl.mjs";
|
|
4
4
|
import { Color } from "@persona/design-tokens";
|
|
5
5
|
|
|
6
6
|
//#region components/Sticker/tone.d.ts
|
package/dist/tree.d.mts
CHANGED
|
@@ -102,4 +102,4 @@ interface ASTCustomFunctionNode {
|
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
export { isASTMethodChainNode as _, ASTErrorNode as a, ASTIdentifierNode as c, ASTNumberNode as d, ASTParenCloseNode as f, isASTCustomFunctionNode as g, ErrorKind as h, ASTDotNode as i, ASTMethodChainNode as l, ASTStringNode as m, ASTChain as n, ASTFunctionNode as o, ASTParenOpenNode as p, ASTCustomFunctionNode as r, ASTFunctionParamType as s, ASTArrayNode as t, ASTNodeType as u, isAnyASTFunctionNode as v, isRealASTFunctionParamType as y };
|
|
105
|
-
//# sourceMappingURL=types-
|
|
105
|
+
//# sourceMappingURL=types-4wnr5R9P.d.mts.map
|