@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
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,41 @@
|
|
|
1
|
+
## 0.9.1 (2026-10-15)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **filtersv2:** add is equal to / greater than / less than for numeric fields ([#405](https://github.com/persona-id/persona-design-system/pull/405))
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **design-system:** accept optional SmartTextInput function parameters
|
|
10
|
+
- **data-table:** show dash on select-all header when all rows selected ([#408](https://github.com/persona-id/persona-design-system/pull/408))
|
|
11
|
+
|
|
12
|
+
### 🧱 Updated Dependencies
|
|
13
|
+
|
|
14
|
+
- Updated design-tokens to 0.4.19
|
|
15
|
+
- Updated icons to 0.1.8
|
|
16
|
+
|
|
17
|
+
## 0.9.0 (2026-10-15)
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- **design-system:** add CardGrouping pattern
|
|
22
|
+
- ⚠️ **design-system:** support configurable Filter V2 conditions
|
|
23
|
+
- **combobox:** support per-option disabled reasons in single select
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
- **design-system:** keep saved-view tabs in place when hiding and reorder narrow tabs ([#396](https://github.com/persona-id/persona-design-system/pull/396))
|
|
28
|
+
|
|
29
|
+
### ⚠️ Breaking Changes
|
|
30
|
+
|
|
31
|
+
- **design-system:** support configurable Filter V2 conditions
|
|
32
|
+
FilterOperator includes numeric comparisons and custom operator identifiers; exhaustive consumer maps and switches must handle the expanded union.
|
|
33
|
+
|
|
34
|
+
### 🧱 Updated Dependencies
|
|
35
|
+
|
|
36
|
+
- Updated design-tokens to 0.4.18
|
|
37
|
+
- Updated icons to 0.1.7
|
|
38
|
+
|
|
1
39
|
## 0.8.2 (2026-10-11)
|
|
2
40
|
|
|
3
41
|
### Features
|
package/dist/Accordion.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as AccordionTitleTypography, t as AccordionSize } from "./accordionTitleTypography
|
|
1
|
+
import { n as AccordionTitleTypography, t as AccordionSize } from "./accordionTitleTypography-C7VVJvlx.mjs";
|
|
2
2
|
import { AccordionTitleHeadingAs } from "./AccordionItem.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
package/dist/AccordionItem.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as AccordionTitleTypography, t as AccordionSize } from "./accordionTitleTypography
|
|
1
|
+
import { n as AccordionTitleTypography, t as AccordionSize } from "./accordionTitleTypography-C7VVJvlx.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Tooltip } from "./Tooltip-
|
|
2
|
-
import { t as RequireOneOf } from "./utilities-
|
|
1
|
+
import { n as Tooltip } from "./Tooltip-Dj-DtGKz.mjs";
|
|
2
|
+
import { t as RequireOneOf } from "./utilities-B2ry7_20.mjs";
|
|
3
3
|
import { ComponentProps, ComponentPropsWithoutRef, ReactElement } from "react";
|
|
4
4
|
|
|
5
5
|
//#region types/Action.d.ts
|
|
@@ -32,4 +32,4 @@ type MenuAction = Action & {
|
|
|
32
32
|
};
|
|
33
33
|
//#endregion
|
|
34
34
|
export { TextAction as i, IconAction as n, MenuAction as r, Action as t };
|
|
35
|
-
//# sourceMappingURL=Action-
|
|
35
|
+
//# sourceMappingURL=Action-BleGvmsy.d.mts.map
|
package/dist/Action.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as TextAction, n as IconAction, r as MenuAction, t as Action } from "./Action-
|
|
1
|
+
import { i as TextAction, n as IconAction, r as MenuAction, t as Action } from "./Action-BleGvmsy.mjs";
|
|
2
2
|
export { Action, IconAction, MenuAction, TextAction };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, o as FilterField, p as FilterSize, u as FilterRule } from "./types-DEzlAdZW.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-DAk_3PhH.mjs";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as FieldRegistry } from "./FieldRegistry-
|
|
1
|
+
import { d as FilterRuleValue, f as FilterRuleValueChange, l as FilterOperator, n as CompoundExpression, o as FilterField, p as FilterSize, u as FilterRule } from "./types-DEzlAdZW.mjs";
|
|
2
|
+
import { t as FieldRegistry } from "./FieldRegistry-DAk_3PhH.mjs";
|
|
3
3
|
import { ReactElement, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as ValueControlProps } from "./types-C_ZEgHNa.mjs";
|
|
2
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/value-controls/ArrayValueControl/ArrayValueControl.d.ts
|
package/dist/Attribute.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { i as ParagraphSize } from "./text-
|
|
2
|
-
import { c as ParagraphProps, u as SpanProps } from "./Text-
|
|
3
|
-
import { t as MaybeSemanticTheme } from "./semanticColor-
|
|
1
|
+
import { i as ParagraphSize } from "./text-B7hx6G99.mjs";
|
|
2
|
+
import { c as ParagraphProps, u as SpanProps } from "./Text-BBMau410.mjs";
|
|
3
|
+
import { t as MaybeSemanticTheme } from "./semanticColor-BuG977_M.mjs";
|
|
4
|
+
import * as _$styled_components0 from "styled-components";
|
|
4
5
|
import * as _$react from "react";
|
|
5
6
|
import { ComponentPropsWithoutRef, ComponentType, FC, PropsWithChildren, ReactNode } from "react";
|
|
6
|
-
import * as _$styled_components0 from "styled-components";
|
|
7
7
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region components/Attribute/Attribute.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as styled, r as css } from "./styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
-
import { n as Sticker } from "./Sticker-
|
|
2
|
+
import { n as Sticker } from "./Sticker-CUqHa9Mo.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region components/Badge/Badge.tsx
|
|
5
5
|
const Badge = styled(({ variant, ...rest }) => {
|
|
@@ -28,4 +28,4 @@ const Badge = styled(({ variant, ...rest }) => {
|
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Badge as t };
|
|
30
30
|
|
|
31
|
-
//# sourceMappingURL=Badge-
|
|
31
|
+
//# sourceMappingURL=Badge-BYa-iqNE.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge-
|
|
1
|
+
{"version":3,"file":"Badge-BYa-iqNE.mjs","names":[],"sources":["../components/Badge/Badge.tsx"],"sourcesContent":["import styled, { css, type DefaultTheme, type StyledComponent } from 'styled-components';\n\nimport Sticker, { type StickerProps } from 'design-system/components/Sticker';\n\nexport interface BadgeProps {\n /**\n * When rendered on a secondary background (e.g. inside a panel or card with\n * a grey fill), set this to true so the component adjusts its colours\n * appropriately for certain variants.\n */\n onSecondaryBackground?: boolean;\n /**\n * Semantic colour variant for the badge.\n *\n * - `basic` – neutral grey, for informational counts or labels (default).\n * - `active` – purple, to highlight an active or selected state.\n * - `alert` – red/danger, to draw attention to errors or urgent counts.\n *\n * @defaultValue 'basic'\n */\n variant?: 'alert' | 'active' | 'basic';\n}\n\nexport const Badge = styled(({ variant, ...rest }: BadgeProps) => {\n let variantProp: StickerProps['variant'];\n switch (variant) {\n case 'alert':\n variantProp = 'danger';\n break;\n case 'active':\n variantProp = 'purple';\n break;\n case 'basic':\n default:\n variantProp = 'grey';\n }\n\n return <Sticker {...rest} variant={variantProp} />;\n})<BadgeProps>(\n () => css`\n min-width: 16px;\n text-align: center;\n border-radius: 100px;\n span {\n font-size: 10px;\n }\n `,\n) as StyledComponent<'span', DefaultTheme, BadgeProps, never>;\n/**\n * The type workaround above makes the correct types available for Badge.\n * Having duplicate prop names between Badge and Sticker seems to cause some oddities.\n *\n * We insist on making this a styled component so the component itself can be targeted in styles.\n * See: https://styled-components.com/docs/advanced#referring-to-other-components\n */\n\nexport default Badge;\n"],"mappings":";;;;AAuBA,MAAa,QAAQ,QAAQ,EAAE,SAAS,GAAG,WAAuB;CAChE,IAAI;AACJ,SAAQ,SAAR;EACE,KAAK;AACH,iBAAc;AACd;EACF,KAAK;AACH,iBAAc;AACd;EAEF,QACE,eAAc;;AAGlB,QAAO,oBAAC,SAAD;EAAS,GAAI;EAAM,SAAS;EAAe,CAAA;EAClD,OACM,GAAG;;;;;;;IAQV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ValueControlProps } from "./types-
|
|
1
|
+
import { t as ValueControlProps } from "./types-C_ZEgHNa.mjs";
|
|
2
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region components/DataTable/TableControls/FiltersV2/value-controls/BooleanValueControl/BooleanValueControl.d.ts
|
|
@@ -49,4 +49,4 @@ declare const Breadcrumb: ({
|
|
|
49
49
|
}: BreadcrumbProps) => _$react_jsx_runtime0.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { BreadcrumbSize as i, BreadcrumbHeadingAs as n, BreadcrumbProps as r, Breadcrumb as t };
|
|
52
|
-
//# sourceMappingURL=Breadcrumb-
|
|
52
|
+
//# sourceMappingURL=Breadcrumb-CEHEUe8l.d.mts.map
|
package/dist/Breadcrumb.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as BreadcrumbSize, n as BreadcrumbHeadingAs, r as BreadcrumbProps, t as Breadcrumb } from "./Breadcrumb-
|
|
1
|
+
import { i as BreadcrumbSize, n as BreadcrumbHeadingAs, r as BreadcrumbProps, t as Breadcrumb } from "./Breadcrumb-CEHEUe8l.mjs";
|
|
2
2
|
export { BreadcrumbHeadingAs, BreadcrumbProps, BreadcrumbSize, Breadcrumb as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as BreadcrumbSize, n as BreadcrumbHeadingAs, r as BreadcrumbProps } from "./Breadcrumb-
|
|
1
|
+
import { i as BreadcrumbSize, n as BreadcrumbHeadingAs, r as BreadcrumbProps } from "./Breadcrumb-CEHEUe8l.mjs";
|
|
2
2
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region components/Breadcrumbs/Breadcrumbs.d.ts
|
|
@@ -23,4 +23,4 @@ declare const Breadcrumbs: ({
|
|
|
23
23
|
}: BreadcrumbsProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { BreadcrumbsItemProps as n, BreadcrumbsProps as r, Breadcrumbs as t };
|
|
26
|
-
//# sourceMappingURL=Breadcrumbs-
|
|
26
|
+
//# sourceMappingURL=Breadcrumbs-BQ-Gj6UV.d.mts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as styled, r as css } from "./styledComponentsInterop-NxwFjeA4.mjs";
|
|
2
|
-
import { n as RouterLink } from "./router-COrZcVkf.mjs";
|
|
3
2
|
import { semanticColor } from "./lib/semanticColor.mjs";
|
|
3
|
+
import { focusOutline } from "./mixins/focus.mjs";
|
|
4
|
+
import "./variables/transitions.mjs";
|
|
4
5
|
import { paragraphMixins } from "./mixins/text.mjs";
|
|
6
|
+
import { n as RouterLink } from "./router-COrZcVkf.mjs";
|
|
5
7
|
import { i as Paragraph } from "./Text-CSwFifQF.mjs";
|
|
6
|
-
import "./
|
|
7
|
-
import { a as Tooltip } from "./Tooltip-B-0VRuKT.mjs";
|
|
8
|
-
import { focusOutline } from "./mixins/focus.mjs";
|
|
8
|
+
import { a as Tooltip } from "./Tooltip-DogEteGl.mjs";
|
|
9
9
|
import { t as HStack } from "./Stack-BkC7FCdF.mjs";
|
|
10
|
-
import { t as IconButton } from "./IconButton-
|
|
11
|
-
import { t as intersperse } from "./intersperse-
|
|
10
|
+
import { t as IconButton } from "./IconButton-D4awF770.mjs";
|
|
11
|
+
import { t as intersperse } from "./intersperse-B8s6clcc.mjs";
|
|
12
12
|
import Input_default from "./components/Input/index.mjs";
|
|
13
|
-
import { t as TechnicalSticker } from "./TechnicalSticker-
|
|
13
|
+
import { t as TechnicalSticker } from "./TechnicalSticker-RQ-4_Tdr.mjs";
|
|
14
14
|
import { Spacing } from "@persona/design-tokens";
|
|
15
15
|
import { useEffect, useRef, useState } from "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -303,4 +303,4 @@ const Breadcrumbs = ({ items, size = "md", headingAs = "h1", "aria-label": ariaL
|
|
|
303
303
|
//#endregion
|
|
304
304
|
export { Breadcrumbs as t };
|
|
305
305
|
|
|
306
|
-
//# sourceMappingURL=Breadcrumbs-
|
|
306
|
+
//# sourceMappingURL=Breadcrumbs-BmlndU4V.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs-EQm5iiRA.mjs","names":["Input"],"sources":["../components/Breadcrumbs/Breadcrumb.tsx","../components/Breadcrumbs/Breadcrumbs.tsx"],"sourcesContent":["import { type ChangeEvent, useEffect, useRef, useState } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Spacing } from '@persona/design-tokens';\nimport { CopyIcon, EditIcon } from '@persona/icons';\nimport { IconButton } from 'design-system/components/Button';\nimport Input from 'design-system/components/Input';\nimport { HStack } from 'design-system/components/Stack';\nimport TechnicalSticker from 'design-system/components/TechnicalSticker';\nimport { Paragraph } from 'design-system/components/Text';\nimport Tooltip from 'design-system/components/Tooltip';\nimport { RouterLink } from 'design-system/lib/router';\nimport { semanticColor } from 'design-system/lib/semanticColor';\nimport { focusOutline } from 'design-system/mixins/focus';\nimport { paragraphMixins } from 'design-system/mixins/text';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type BreadcrumbSize = 'md' | 'lg';\n\nexport type BreadcrumbHeadingAs = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\nconst COPY_TOOLTIP_LABEL = 'Copy ID';\nconst COPIED_TOOLTIP_LABEL = 'Copied!';\nconst DEFAULT_EDIT_MAX_LENGTH = 100;\nconst COPY_TOOLTIP_STICKER_MAX_WIDTH = '96px';\nconst COPY_TOOLTIP_STICKER_TOOLTIP_MAX_WIDTH = '250px';\n\nexport type BreadcrumbProps = {\n label: string;\n size?: BreadcrumbSize;\n current?: boolean;\n /**\n * Overrides the heading element rendered for the current crumb. Defaults to `h1`; use `h2` or\n * lower when the page already has an `h1`.\n */\n headingAs?: BreadcrumbHeadingAs;\n showCopyAction?: boolean;\n copyValue?: string;\n copyTooltipLabel?: string;\n /** Copy tooltip text shown after a successful copy. Defaults to `Copied!`. */\n copiedTooltipLabel?: string;\n /**\n * Appends `copyValue` to both copy tooltip texts as a `TechnicalSticker`, so the tooltip shows\n * which token is being copied.\n */\n showCopyValueInTooltip?: boolean;\n /** Internal path (e.g. `/cases`), rendered as a router-aware link. */\n href?: string;\n /**\n * Activates a non-current crumb without a route change, for trails that navigate in-place (e.g.\n * a control panel drilling into a sub-panel). Ignored when `href` is set.\n */\n onClick?: () => void;\n onEdit?: (newLabel: string) => void;\n editMaxLength?: number;\n onCopy?: () => void;\n};\n\nconst LABEL_ACTION_GAP = Spacing[2];\nconst ACTION_BUTTON_GAP = Spacing[1];\n\nconst CrumbRow = styled(HStack)`\n align-items: center;\n min-width: 0;\n`;\n\nconst crumbLayoutStyles = (size: BreadcrumbSize) => css`\n display: inline-flex;\n align-items: center;\n min-width: 0;\n min-height: ${({ theme }) => theme.element.height.xs};\n ${\n size === 'lg'\n ? css`\n font-size: ${({ theme }) => theme.text.paragraph.lg.fontSize};\n line-height: ${({ theme }) => theme.text.paragraph.lg.lineHeight};\n `\n : css``\n };\n`;\n\nconst editInputTextStyles = (size: BreadcrumbSize, current: boolean) => {\n if (current) {\n return size === 'lg' ? paragraphMixins.lgBold : paragraphMixins.mdBold;\n }\n return size === 'lg' ? paragraphMixins.lg : paragraphMixins.md;\n};\n\nconst ancestorCrumbStyles = css<{ $size: BreadcrumbSize }>`\n ${paragraphMixins.md};\n color: ${({ theme }) => semanticColor(theme, 'FgSecondary', theme.color.text.secondary)};\n text-decoration: none;\n transition: color ${TransitionDuration.ExtraFast} ease-out;\n ${focusOutline}\n ${({ $size }) => crumbLayoutStyles($size)}\n\n &:hover {\n color: ${({ theme }) => semanticColor(theme, 'FgPrimary', theme.color.text.primary)};\n }\n`;\n\nconst AncestorNavLink = styled(RouterLink)<{ $size: BreadcrumbSize }>`\n ${ancestorCrumbStyles}\n`;\n\nconst AncestorNavButton = styled.button<{ $size: BreadcrumbSize }>`\n ${ancestorCrumbStyles}\n padding: 0;\n border: none;\n background: none;\n cursor: pointer;\n`;\n\nconst InlineEditInput = styled(Input)<{\n $size: BreadcrumbSize;\n $current: boolean;\n $editMinWidth?: number;\n}>`\n margin: 0;\n padding: 2px 10px;\n width: auto;\n max-width: 100%;\n min-width: ${({ $editMinWidth }) => ($editMinWidth != null ? `${$editMinWidth}px` : '0')};\n field-sizing: content;\n display: inline-block;\n ${({ $size, $current }) => editInputTextStyles($size, $current)};\n background-color: ${({ theme }) => semanticColor(theme, 'SurfacePrimary', theme.color.background.primary)};\n color: ${({ theme }) => semanticColor(theme, 'FgPrimary', theme.color.text.primary)};\n\n &:not(:focus) {\n border-color: transparent;\n }\n\n &:hover:not(:disabled) {\n border-style: solid;\n }\n`;\n\nconst CurrentLabel = styled(Paragraph)<{ $size: BreadcrumbSize }>`\n margin: 0;\n ${({ $size }) => crumbLayoutStyles($size)}\n`;\n\nconst copyToClipboard = async (value: string): Promise<boolean> => {\n try {\n if (navigator.clipboard?.writeText == null) {\n return false;\n }\n\n await navigator.clipboard.writeText(value);\n return true;\n } catch {\n return false;\n }\n};\n\nconst BreadcrumbCopyButton = ({\n copyValue,\n copyTooltipLabel = COPY_TOOLTIP_LABEL,\n copiedTooltipLabel = COPIED_TOOLTIP_LABEL,\n showCopyValueInTooltip = false,\n onCopy,\n}: {\n copyValue: string;\n copyTooltipLabel?: string;\n copiedTooltipLabel?: string;\n showCopyValueInTooltip?: boolean;\n onCopy?: () => void;\n}) => {\n const [tooltipOpen, setTooltipOpen] = useState(false);\n const [copied, setCopied] = useState(false);\n\n const handleCopy = async () => {\n const success = await copyToClipboard(copyValue);\n if (!success) {\n return;\n }\n\n setCopied(true);\n setTooltipOpen(true);\n onCopy?.();\n\n window.setTimeout(() => {\n setTooltipOpen(false);\n window.setTimeout(() => setCopied(false), 200);\n }, 1000);\n };\n\n const handleMouseEnter = () => {\n if (!copied) {\n setTooltipOpen(true);\n }\n };\n\n const handleMouseLeave = () => {\n if (!copied) {\n setTooltipOpen(false);\n }\n };\n\n const trigger = (\n <span onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n <IconButton\n type='button'\n size='sm'\n aria-label={`Copy ${copyValue}`}\n onClick={(event) => {\n event.preventDefault();\n event.stopPropagation();\n void handleCopy();\n }}\n >\n <CopyIcon />\n </IconButton>\n </span>\n );\n\n const tooltipLabel = copied ? copiedTooltipLabel : copyTooltipLabel;\n\n return (\n <Tooltip\n trigger={trigger}\n open={tooltipOpen}\n side='top'\n sideOffset={4}\n size='sm'\n contentAlignment='center'\n interactive={false}\n hideArrow\n portal={false}\n maxWidth={showCopyValueInTooltip ? COPY_TOOLTIP_STICKER_TOOLTIP_MAX_WIDTH : undefined}\n >\n {showCopyValueInTooltip ? (\n <HStack spacing={ACTION_BUTTON_GAP} align='center'>\n <span>{tooltipLabel}</span>\n <TechnicalSticker copyable={false} maxWidth={COPY_TOOLTIP_STICKER_MAX_WIDTH}>\n {copyValue}\n </TechnicalSticker>\n </HStack>\n ) : (\n tooltipLabel\n )}\n </Tooltip>\n );\n};\n\nconst Breadcrumb = ({\n label,\n size = 'md',\n current = false,\n headingAs = 'h1',\n showCopyAction = false,\n copyValue,\n copyTooltipLabel,\n copiedTooltipLabel,\n showCopyValueInTooltip,\n href,\n onClick,\n onEdit,\n editMaxLength = DEFAULT_EDIT_MAX_LENGTH,\n onCopy,\n}: BreadcrumbProps) => {\n const [isEditing, setIsEditing] = useState(false);\n const [editValue, setEditValue] = useState(label);\n const [editMinWidth, setEditMinWidth] = useState<number | undefined>();\n const editInputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (!isEditing) {\n setEditValue(label);\n }\n }, [isEditing, label]);\n\n useEffect(() => {\n if (!isEditing) {\n setEditMinWidth(undefined);\n return;\n }\n\n const input = editInputRef.current;\n if (input == null) {\n return;\n }\n\n setEditMinWidth(input.offsetWidth);\n input.focus();\n input.select();\n }, [isEditing]);\n\n const commitEdit = () => {\n if (!isEditing) {\n return;\n }\n\n setIsEditing(false);\n if (editValue !== label) {\n onEdit?.(editValue);\n }\n };\n\n const inlineActions = !isEditing && (showCopyAction || onEdit) && (\n <HStack spacing={ACTION_BUTTON_GAP} align='center'>\n {onEdit && (\n <IconButton\n type='button'\n size='sm'\n aria-label={`Edit ${label}`}\n onClick={(event) => {\n event.preventDefault();\n event.stopPropagation();\n setIsEditing(true);\n }}\n >\n <EditIcon />\n </IconButton>\n )}\n {showCopyAction && copyValue != null && (\n <BreadcrumbCopyButton\n copyValue={copyValue}\n copyTooltipLabel={copyTooltipLabel}\n copiedTooltipLabel={copiedTooltipLabel}\n showCopyValueInTooltip={showCopyValueInTooltip}\n onCopy={onCopy}\n />\n )}\n </HStack>\n );\n\n if (isEditing) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <InlineEditInput\n ref={editInputRef}\n $size={size}\n $current={current}\n $editMinWidth={editMinWidth}\n size='md'\n aria-label={`Edit ${label}`}\n maxLength={editMaxLength}\n value={editValue}\n onChange={(event: ChangeEvent<HTMLInputElement>) => setEditValue(event.target.value)}\n onBlur={commitEdit}\n onKeyDown={(event) => {\n if (event.key === 'Enter') {\n event.preventDefault();\n commitEdit();\n }\n if (event.key === 'Escape') {\n setEditValue(label);\n setIsEditing(false);\n }\n }}\n />\n </CrumbRow>\n );\n }\n\n if (current) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <CurrentLabel\n $size={size}\n size={size === 'lg' ? 'lg' : 'md'}\n weight='bold'\n color='primary'\n as={headingAs}\n >\n {label}\n </CurrentLabel>\n {inlineActions}\n </CrumbRow>\n );\n }\n\n if (href == null && onClick != null) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <AncestorNavButton type='button' onClick={onClick} $size={size}>\n {label}\n </AncestorNavButton>\n {inlineActions}\n </CrumbRow>\n );\n }\n\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <AncestorNavLink to={href ?? ''} $size={size}>\n {label}\n </AncestorNavLink>\n {inlineActions}\n </CrumbRow>\n );\n};\n\nexport default Breadcrumb;\n","import styled from 'styled-components';\n\nimport { Spacing } from '@persona/design-tokens';\nimport { intersperse } from 'design-system/lib/intersperse';\nimport { semanticColor } from 'design-system/lib/semanticColor';\nimport { paragraphMixins } from 'design-system/mixins/text';\n\nimport Breadcrumb, {\n type BreadcrumbHeadingAs,\n type BreadcrumbProps,\n type BreadcrumbSize,\n} from './Breadcrumb';\n\nexport type BreadcrumbsItemProps = Omit<BreadcrumbProps, 'size' | 'current' | 'headingAs'>;\n\nexport type BreadcrumbsProps = {\n items: BreadcrumbsItemProps[];\n size?: BreadcrumbSize;\n /**\n * Overrides the heading element rendered for the current crumb. Defaults to `h1`; use `h2` or\n * lower when the page already has an `h1`.\n */\n headingAs?: BreadcrumbHeadingAs;\n 'aria-label'?: string;\n className?: string;\n};\n\nconst BreadcrumbList = styled.ol`\n max-width: 100%;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n min-width: 0;\n`;\n\nconst BreadcrumbListItem = styled.li`\n display: flex;\n align-items: center;\n min-width: 0;\n`;\n\nconst Separator = styled.span<{ $size: BreadcrumbSize }>`\n padding: 0 ${Spacing[2]};\n color: ${({ theme }) => semanticColor(theme, 'FgSecondary', theme.color.text.tertiary)};\n user-select: none;\n ${({ $size }) => ($size === 'lg' ? paragraphMixins.lg : paragraphMixins.md)};\n`;\n\nexport const Breadcrumbs = ({\n items,\n size = 'md',\n headingAs = 'h1',\n 'aria-label': ariaLabel = 'Breadcrumbs',\n className,\n}: BreadcrumbsProps) => {\n if (items.length === 0) {\n return null;\n }\n\n const crumbNodes = items.map((item, index) => {\n const isCurrent = index === items.length - 1;\n\n return (\n <BreadcrumbListItem\n key={`${item.label}-${index}`}\n aria-current={isCurrent ? 'page' : undefined}\n >\n <Breadcrumb {...item} size={size} current={isCurrent} headingAs={headingAs} />\n </BreadcrumbListItem>\n );\n });\n\n const listItems = intersperse(crumbNodes, (separatorIndex: number) => (\n <BreadcrumbListItem key={`separator-${separatorIndex}`} aria-hidden='true'>\n <Separator $size={size}>/</Separator>\n </BreadcrumbListItem>\n ));\n\n return (\n <nav aria-label={ariaLabel} className={className}>\n <BreadcrumbList>{listItems}</BreadcrumbList>\n </nav>\n );\n};\n\nexport default Breadcrumbs;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;AAC7B,MAAM,0BAA0B;AAChC,MAAM,iCAAiC;AACvC,MAAM,yCAAyC;AAiC/C,MAAM,mBAAmB,QAAQ;AACjC,MAAM,oBAAoB,QAAQ;AAElC,MAAM,WAAW,OAAO,OAAO;;;;AAK/B,MAAM,qBAAqB,SAAyB,GAAG;;;;iBAItC,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;IAEnD,SAAS,OACL,GAAG;sBACW,EAAE,YAAY,MAAM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D;IAAW,OAAO;cAAM;IAAa,CAAA;GAClB,EAFI,aAAa,iBAEjB,CAKO,EAAkB,CAAA;EACxC,CAAA"}
|
|
1
|
+
{"version":3,"file":"Breadcrumbs-BmlndU4V.mjs","names":["Input"],"sources":["../components/Breadcrumbs/Breadcrumb.tsx","../components/Breadcrumbs/Breadcrumbs.tsx"],"sourcesContent":["import { type ChangeEvent, useEffect, useRef, useState } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Spacing } from '@persona/design-tokens';\nimport { CopyIcon, EditIcon } from '@persona/icons';\nimport { IconButton } from 'design-system/components/Button';\nimport Input from 'design-system/components/Input';\nimport { HStack } from 'design-system/components/Stack';\nimport TechnicalSticker from 'design-system/components/TechnicalSticker';\nimport { Paragraph } from 'design-system/components/Text';\nimport Tooltip from 'design-system/components/Tooltip';\nimport { RouterLink } from 'design-system/lib/router';\nimport { semanticColor } from 'design-system/lib/semanticColor';\nimport { focusOutline } from 'design-system/mixins/focus';\nimport { paragraphMixins } from 'design-system/mixins/text';\nimport { TransitionDuration } from 'design-system/variables/transitions';\n\nexport type BreadcrumbSize = 'md' | 'lg';\n\nexport type BreadcrumbHeadingAs = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';\n\nconst COPY_TOOLTIP_LABEL = 'Copy ID';\nconst COPIED_TOOLTIP_LABEL = 'Copied!';\nconst DEFAULT_EDIT_MAX_LENGTH = 100;\nconst COPY_TOOLTIP_STICKER_MAX_WIDTH = '96px';\nconst COPY_TOOLTIP_STICKER_TOOLTIP_MAX_WIDTH = '250px';\n\nexport type BreadcrumbProps = {\n label: string;\n size?: BreadcrumbSize;\n current?: boolean;\n /**\n * Overrides the heading element rendered for the current crumb. Defaults to `h1`; use `h2` or\n * lower when the page already has an `h1`.\n */\n headingAs?: BreadcrumbHeadingAs;\n showCopyAction?: boolean;\n copyValue?: string;\n copyTooltipLabel?: string;\n /** Copy tooltip text shown after a successful copy. Defaults to `Copied!`. */\n copiedTooltipLabel?: string;\n /**\n * Appends `copyValue` to both copy tooltip texts as a `TechnicalSticker`, so the tooltip shows\n * which token is being copied.\n */\n showCopyValueInTooltip?: boolean;\n /** Internal path (e.g. `/cases`), rendered as a router-aware link. */\n href?: string;\n /**\n * Activates a non-current crumb without a route change, for trails that navigate in-place (e.g.\n * a control panel drilling into a sub-panel). Ignored when `href` is set.\n */\n onClick?: () => void;\n onEdit?: (newLabel: string) => void;\n editMaxLength?: number;\n onCopy?: () => void;\n};\n\nconst LABEL_ACTION_GAP = Spacing[2];\nconst ACTION_BUTTON_GAP = Spacing[1];\n\nconst CrumbRow = styled(HStack)`\n align-items: center;\n min-width: 0;\n`;\n\nconst crumbLayoutStyles = (size: BreadcrumbSize) => css`\n display: inline-flex;\n align-items: center;\n min-width: 0;\n min-height: ${({ theme }) => theme.element.height.xs};\n ${\n size === 'lg'\n ? css`\n font-size: ${({ theme }) => theme.text.paragraph.lg.fontSize};\n line-height: ${({ theme }) => theme.text.paragraph.lg.lineHeight};\n `\n : css``\n };\n`;\n\nconst editInputTextStyles = (size: BreadcrumbSize, current: boolean) => {\n if (current) {\n return size === 'lg' ? paragraphMixins.lgBold : paragraphMixins.mdBold;\n }\n return size === 'lg' ? paragraphMixins.lg : paragraphMixins.md;\n};\n\nconst ancestorCrumbStyles = css<{ $size: BreadcrumbSize }>`\n ${paragraphMixins.md};\n color: ${({ theme }) => semanticColor(theme, 'FgSecondary', theme.color.text.secondary)};\n text-decoration: none;\n transition: color ${TransitionDuration.ExtraFast} ease-out;\n ${focusOutline}\n ${({ $size }) => crumbLayoutStyles($size)}\n\n &:hover {\n color: ${({ theme }) => semanticColor(theme, 'FgPrimary', theme.color.text.primary)};\n }\n`;\n\nconst AncestorNavLink = styled(RouterLink)<{ $size: BreadcrumbSize }>`\n ${ancestorCrumbStyles}\n`;\n\nconst AncestorNavButton = styled.button<{ $size: BreadcrumbSize }>`\n ${ancestorCrumbStyles}\n padding: 0;\n border: none;\n background: none;\n cursor: pointer;\n`;\n\nconst InlineEditInput = styled(Input)<{\n $size: BreadcrumbSize;\n $current: boolean;\n $editMinWidth?: number;\n}>`\n margin: 0;\n padding: 2px 10px;\n width: auto;\n max-width: 100%;\n min-width: ${({ $editMinWidth }) => ($editMinWidth != null ? `${$editMinWidth}px` : '0')};\n field-sizing: content;\n display: inline-block;\n ${({ $size, $current }) => editInputTextStyles($size, $current)};\n background-color: ${({ theme }) => semanticColor(theme, 'SurfacePrimary', theme.color.background.primary)};\n color: ${({ theme }) => semanticColor(theme, 'FgPrimary', theme.color.text.primary)};\n\n &:not(:focus) {\n border-color: transparent;\n }\n\n &:hover:not(:disabled) {\n border-style: solid;\n }\n`;\n\nconst CurrentLabel = styled(Paragraph)<{ $size: BreadcrumbSize }>`\n margin: 0;\n ${({ $size }) => crumbLayoutStyles($size)}\n`;\n\nconst copyToClipboard = async (value: string): Promise<boolean> => {\n try {\n if (navigator.clipboard?.writeText == null) {\n return false;\n }\n\n await navigator.clipboard.writeText(value);\n return true;\n } catch {\n return false;\n }\n};\n\nconst BreadcrumbCopyButton = ({\n copyValue,\n copyTooltipLabel = COPY_TOOLTIP_LABEL,\n copiedTooltipLabel = COPIED_TOOLTIP_LABEL,\n showCopyValueInTooltip = false,\n onCopy,\n}: {\n copyValue: string;\n copyTooltipLabel?: string;\n copiedTooltipLabel?: string;\n showCopyValueInTooltip?: boolean;\n onCopy?: () => void;\n}) => {\n const [tooltipOpen, setTooltipOpen] = useState(false);\n const [copied, setCopied] = useState(false);\n\n const handleCopy = async () => {\n const success = await copyToClipboard(copyValue);\n if (!success) {\n return;\n }\n\n setCopied(true);\n setTooltipOpen(true);\n onCopy?.();\n\n window.setTimeout(() => {\n setTooltipOpen(false);\n window.setTimeout(() => setCopied(false), 200);\n }, 1000);\n };\n\n const handleMouseEnter = () => {\n if (!copied) {\n setTooltipOpen(true);\n }\n };\n\n const handleMouseLeave = () => {\n if (!copied) {\n setTooltipOpen(false);\n }\n };\n\n const trigger = (\n <span onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n <IconButton\n type='button'\n size='sm'\n aria-label={`Copy ${copyValue}`}\n onClick={(event) => {\n event.preventDefault();\n event.stopPropagation();\n void handleCopy();\n }}\n >\n <CopyIcon />\n </IconButton>\n </span>\n );\n\n const tooltipLabel = copied ? copiedTooltipLabel : copyTooltipLabel;\n\n return (\n <Tooltip\n trigger={trigger}\n open={tooltipOpen}\n side='top'\n sideOffset={4}\n size='sm'\n contentAlignment='center'\n interactive={false}\n hideArrow\n portal={false}\n maxWidth={showCopyValueInTooltip ? COPY_TOOLTIP_STICKER_TOOLTIP_MAX_WIDTH : undefined}\n >\n {showCopyValueInTooltip ? (\n <HStack spacing={ACTION_BUTTON_GAP} align='center'>\n <span>{tooltipLabel}</span>\n <TechnicalSticker copyable={false} maxWidth={COPY_TOOLTIP_STICKER_MAX_WIDTH}>\n {copyValue}\n </TechnicalSticker>\n </HStack>\n ) : (\n tooltipLabel\n )}\n </Tooltip>\n );\n};\n\nconst Breadcrumb = ({\n label,\n size = 'md',\n current = false,\n headingAs = 'h1',\n showCopyAction = false,\n copyValue,\n copyTooltipLabel,\n copiedTooltipLabel,\n showCopyValueInTooltip,\n href,\n onClick,\n onEdit,\n editMaxLength = DEFAULT_EDIT_MAX_LENGTH,\n onCopy,\n}: BreadcrumbProps) => {\n const [isEditing, setIsEditing] = useState(false);\n const [editValue, setEditValue] = useState(label);\n const [editMinWidth, setEditMinWidth] = useState<number | undefined>();\n const editInputRef = useRef<HTMLInputElement>(null);\n\n useEffect(() => {\n if (!isEditing) {\n setEditValue(label);\n }\n }, [isEditing, label]);\n\n useEffect(() => {\n if (!isEditing) {\n setEditMinWidth(undefined);\n return;\n }\n\n const input = editInputRef.current;\n if (input == null) {\n return;\n }\n\n setEditMinWidth(input.offsetWidth);\n input.focus();\n input.select();\n }, [isEditing]);\n\n const commitEdit = () => {\n if (!isEditing) {\n return;\n }\n\n setIsEditing(false);\n if (editValue !== label) {\n onEdit?.(editValue);\n }\n };\n\n const inlineActions = !isEditing && (showCopyAction || onEdit) && (\n <HStack spacing={ACTION_BUTTON_GAP} align='center'>\n {onEdit && (\n <IconButton\n type='button'\n size='sm'\n aria-label={`Edit ${label}`}\n onClick={(event) => {\n event.preventDefault();\n event.stopPropagation();\n setIsEditing(true);\n }}\n >\n <EditIcon />\n </IconButton>\n )}\n {showCopyAction && copyValue != null && (\n <BreadcrumbCopyButton\n copyValue={copyValue}\n copyTooltipLabel={copyTooltipLabel}\n copiedTooltipLabel={copiedTooltipLabel}\n showCopyValueInTooltip={showCopyValueInTooltip}\n onCopy={onCopy}\n />\n )}\n </HStack>\n );\n\n if (isEditing) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <InlineEditInput\n ref={editInputRef}\n $size={size}\n $current={current}\n $editMinWidth={editMinWidth}\n size='md'\n aria-label={`Edit ${label}`}\n maxLength={editMaxLength}\n value={editValue}\n onChange={(event: ChangeEvent<HTMLInputElement>) => setEditValue(event.target.value)}\n onBlur={commitEdit}\n onKeyDown={(event) => {\n if (event.key === 'Enter') {\n event.preventDefault();\n commitEdit();\n }\n if (event.key === 'Escape') {\n setEditValue(label);\n setIsEditing(false);\n }\n }}\n />\n </CrumbRow>\n );\n }\n\n if (current) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <CurrentLabel\n $size={size}\n size={size === 'lg' ? 'lg' : 'md'}\n weight='bold'\n color='primary'\n as={headingAs}\n >\n {label}\n </CurrentLabel>\n {inlineActions}\n </CrumbRow>\n );\n }\n\n if (href == null && onClick != null) {\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <AncestorNavButton type='button' onClick={onClick} $size={size}>\n {label}\n </AncestorNavButton>\n {inlineActions}\n </CrumbRow>\n );\n }\n\n return (\n <CrumbRow spacing={LABEL_ACTION_GAP}>\n <AncestorNavLink to={href ?? ''} $size={size}>\n {label}\n </AncestorNavLink>\n {inlineActions}\n </CrumbRow>\n );\n};\n\nexport default Breadcrumb;\n","import styled from 'styled-components';\n\nimport { Spacing } from '@persona/design-tokens';\nimport { intersperse } from 'design-system/lib/intersperse';\nimport { semanticColor } from 'design-system/lib/semanticColor';\nimport { paragraphMixins } from 'design-system/mixins/text';\n\nimport Breadcrumb, {\n type BreadcrumbHeadingAs,\n type BreadcrumbProps,\n type BreadcrumbSize,\n} from './Breadcrumb';\n\nexport type BreadcrumbsItemProps = Omit<BreadcrumbProps, 'size' | 'current' | 'headingAs'>;\n\nexport type BreadcrumbsProps = {\n items: BreadcrumbsItemProps[];\n size?: BreadcrumbSize;\n /**\n * Overrides the heading element rendered for the current crumb. Defaults to `h1`; use `h2` or\n * lower when the page already has an `h1`.\n */\n headingAs?: BreadcrumbHeadingAs;\n 'aria-label'?: string;\n className?: string;\n};\n\nconst BreadcrumbList = styled.ol`\n max-width: 100%;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n list-style: none;\n margin: 0;\n padding: 0;\n min-width: 0;\n`;\n\nconst BreadcrumbListItem = styled.li`\n display: flex;\n align-items: center;\n min-width: 0;\n`;\n\nconst Separator = styled.span<{ $size: BreadcrumbSize }>`\n padding: 0 ${Spacing[2]};\n color: ${({ theme }) => semanticColor(theme, 'FgSecondary', theme.color.text.tertiary)};\n user-select: none;\n ${({ $size }) => ($size === 'lg' ? paragraphMixins.lg : paragraphMixins.md)};\n`;\n\nexport const Breadcrumbs = ({\n items,\n size = 'md',\n headingAs = 'h1',\n 'aria-label': ariaLabel = 'Breadcrumbs',\n className,\n}: BreadcrumbsProps) => {\n if (items.length === 0) {\n return null;\n }\n\n const crumbNodes = items.map((item, index) => {\n const isCurrent = index === items.length - 1;\n\n return (\n <BreadcrumbListItem\n key={`${item.label}-${index}`}\n aria-current={isCurrent ? 'page' : undefined}\n >\n <Breadcrumb {...item} size={size} current={isCurrent} headingAs={headingAs} />\n </BreadcrumbListItem>\n );\n });\n\n const listItems = intersperse(crumbNodes, (separatorIndex: number) => (\n <BreadcrumbListItem key={`separator-${separatorIndex}`} aria-hidden='true'>\n <Separator $size={size}>/</Separator>\n </BreadcrumbListItem>\n ));\n\n return (\n <nav aria-label={ariaLabel} className={className}>\n <BreadcrumbList>{listItems}</BreadcrumbList>\n </nav>\n );\n};\n\nexport default Breadcrumbs;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAqBA,MAAM,qBAAqB;AAC3B,MAAM,uBAAuB;AAC7B,MAAM,0BAA0B;AAChC,MAAM,iCAAiC;AACvC,MAAM,yCAAyC;AAiC/C,MAAM,mBAAmB,QAAQ;AACjC,MAAM,oBAAoB,QAAQ;AAElC,MAAM,WAAW,OAAO,OAAO;;;;AAK/B,MAAM,qBAAqB,SAAyB,GAAG;;;;iBAItC,EAAE,YAAY,MAAM,QAAQ,OAAO,GAAG;IAEnD,SAAS,OACL,GAAG;sBACW,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,SAAS;wBAC7C,EAAE,YAAY,MAAM,KAAK,UAAU,GAAG,WAAW;UAEjE,GAAG,GACR;;AAGH,MAAM,uBAAuB,MAAsB,YAAqB;AACtE,KAAI,QACF,QAAO,SAAS,OAAO,gBAAgB,SAAS,gBAAgB;AAElE,QAAO,SAAS,OAAO,gBAAgB,KAAK,gBAAgB;;AAG9D,MAAM,sBAAsB,GAA8B;IACtD,gBAAgB,GAAG;YACX,EAAE,YAAY,cAAc,OAAO,eAAe,MAAM,MAAM,KAAK,UAAU,CAAC;;8BAEvC;IAC/C,aAAa;KACZ,EAAE,YAAY,kBAAkB,MAAM,CAAC;;;cAG9B,EAAE,YAAY,cAAc,OAAO,aAAa,MAAM,MAAM,KAAK,QAAQ,CAAC;;;AAIxF,MAAM,kBAAkB,OAAO,WAAW;IACtC,oBAAoB;;AAGxB,MAAM,oBAAoB,OAAO,MAAiC;IAC9D,oBAAoB;;;;;;AAOxB,MAAM,kBAAkB,OAAOA,cAAM;;;;;gBASrB,EAAE,oBAAqB,iBAAiB,OAAO,GAAG,cAAc,MAAM,IAAK;;;KAGtF,EAAE,OAAO,eAAe,oBAAoB,OAAO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AAI;;AAG9E,MAAa,eAAe,EAC1B,OACA,OAAO,MACP,YAAY,MACZ,cAAc,YAAY,eAC1B,gBACsB;AACtB,KAAI,MAAM,WAAW,EACnB,QAAO;AAsBT,QACE,oBAAC,OAAD;EAAK,cAAY;EAAsB;YACrC,oBAAC,gBAAD,EAAA,UARc,YAbC,MAAM,KAAK,MAAM,UAAU;GAC5C,MAAM,YAAY,UAAU,MAAM,SAAS;AAE3C,UACE,oBAAC,oBAAD;IAEE,gBAAc,YAAY,SAAS,KAAA;cAEnC,oBAAC,YAAD;KAAY,GAAI;KAAY;KAAM,SAAS;KAAsB;KAAa,CAAA;IAC3D,EAJd,GAAG,KAAK,MAAM,GAAG,QAIH;IAIe,GAAG,mBACzC,oBAAC,oBAAD;GAAwD,eAAY;aAClE,oBAAC,WAAD;IAAW,OAAO;cAAM;IAAa,CAAA;GAClB,EAFI,aAAa,iBAEjB,CAKO,EAAkB,CAAA;EACxC,CAAA"}
|
package/dist/Breadcrumbs.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as BreadcrumbsItemProps, r as BreadcrumbsProps, t as Breadcrumbs } from "./Breadcrumbs-
|
|
1
|
+
import { n as BreadcrumbsItemProps, r as BreadcrumbsProps, t as Breadcrumbs } from "./Breadcrumbs-BQ-Gj6UV.mjs";
|
|
2
2
|
export { Breadcrumbs, Breadcrumbs as default, BreadcrumbsItemProps, BreadcrumbsProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { i as To } from "./types-
|
|
2
|
-
import { t as PseudoClassProps } from "./PseudoClassProps-
|
|
3
|
-
import { n as ButtonVariant } from "./palette-
|
|
1
|
+
import { i as To } from "./types-CgKSEQyB.mjs";
|
|
2
|
+
import { t as PseudoClassProps } from "./PseudoClassProps-CverE9Ni.mjs";
|
|
3
|
+
import { n as ButtonVariant } from "./palette-BCszfY7I.mjs";
|
|
4
|
+
import * as _$styled_components0 from "styled-components";
|
|
4
5
|
import * as _$react from "react";
|
|
5
6
|
import { ComponentPropsWithoutRef, HTMLAttributeAnchorTarget, MouseEvent, ReactNode, Ref } from "react";
|
|
6
|
-
import * as _$styled_components0 from "styled-components";
|
|
7
7
|
|
|
8
8
|
//#region components/Button/Button.d.ts
|
|
9
9
|
interface ButtonPropsWithTransientProps extends Omit<ButtonProps, 'isPending'> {
|
|
@@ -108,4 +108,4 @@ interface ButtonProps extends ComponentPropsWithoutRef<'button'>, Omit<PseudoCla
|
|
|
108
108
|
declare const Button: _$react.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { SuffixIconContainer as a, StyledButton as i, ButtonChildren as n, ButtonProps as r, Button as t };
|
|
111
|
-
//# sourceMappingURL=Button-
|
|
111
|
+
//# sourceMappingURL=Button-Dx7mHjWC.d.mts.map
|
package/dist/Button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SuffixIconContainer, i as StyledButton, n as ButtonChildren, r as ButtonProps, t as Button } from "./Button-
|
|
1
|
+
import { a as SuffixIconContainer, i as StyledButton, n as ButtonChildren, r as ButtonProps, t as Button } from "./Button-Dx7mHjWC.mjs";
|
|
2
2
|
export { ButtonChildren, ButtonProps, StyledButton, SuffixIconContainer, Button as default };
|
|
@@ -9,4 +9,4 @@ interface CalendarProps extends AriaCalendarProps<DateValue> {
|
|
|
9
9
|
declare const Calendar: (props: CalendarProps) => _$react_jsx_runtime0.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Calendar as t };
|
|
12
|
-
//# sourceMappingURL=Calendar-
|
|
12
|
+
//# sourceMappingURL=Calendar-BvsTQ3e1.d.mts.map
|
package/dist/Calendar.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Calendar } from "./Calendar-
|
|
1
|
+
import { t as Calendar } from "./Calendar-BvsTQ3e1.mjs";
|
|
2
2
|
export { Calendar as default };
|
package/dist/CalendarBase.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as ParagraphProps, u as SpanProps } from "./Text-
|
|
2
|
-
import { i as HeaderProps } from "./Header-
|
|
1
|
+
import { c as ParagraphProps, u as SpanProps } from "./Text-BBMau410.mjs";
|
|
2
|
+
import { i as HeaderProps } from "./Header-C-a5fL3k.mjs";
|
|
3
3
|
import { Spacing } from "@persona/design-tokens";
|
|
4
|
-
import { ComponentPropsWithoutRef, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
5
4
|
import * as _$styled_components0 from "styled-components";
|
|
5
|
+
import { ComponentPropsWithoutRef, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
6
6
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region components/Card/Card.d.ts
|
|
@@ -72,4 +72,4 @@ declare const _default: typeof Card & {
|
|
|
72
72
|
};
|
|
73
73
|
//#endregion
|
|
74
74
|
export { SectionProps as n, _default as r, CardProps as t };
|
|
75
|
-
//# sourceMappingURL=Card-
|
|
75
|
+
//# sourceMappingURL=Card-BPY0OU7e.d.mts.map
|
package/dist/Card.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SectionProps, r as _default, t as CardProps } from "./Card-
|
|
1
|
+
import { n as SectionProps, r as _default, t as CardProps } from "./Card-BPY0OU7e.mjs";
|
|
2
2
|
export { CardProps, SectionProps, _default as default };
|
package/dist/Card2.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SectionHeading } from "./SectionHeading.mjs";
|
|
2
|
-
import { ComponentProps, FC, ReactNode } from "react";
|
|
3
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
|
+
import { ComponentProps, FC, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region components/CardV2/Card.d.ts
|
|
6
6
|
declare const CardContainer: _$styled_components0.StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { i as TextAction, n as IconAction } from "./Action-BleGvmsy.mjs";
|
|
2
|
+
import { n as SingleColumnLayoutProps } from "./SingleColumnLayout-ByWxiD7d.mjs";
|
|
3
|
+
import { ReactElement, ReactNode } from "react";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region patterns/CardGrouping/CardGrouping.d.ts
|
|
7
|
+
type HeaderAction = IconAction | TextAction;
|
|
8
|
+
type CardGroupingGroup = {
|
|
9
|
+
title: string;
|
|
10
|
+
sticker?: ReactElement;
|
|
11
|
+
actions?: HeaderAction[]; /** @defaultValue false */
|
|
12
|
+
defaultExpanded?: boolean;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
type CardGroupingHeaderProps = Omit<SingleColumnLayoutProps, 'main'> & {
|
|
16
|
+
title?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
sticker?: ReactElement;
|
|
19
|
+
status?: ReactElement;
|
|
20
|
+
actions?: HeaderAction[]; /** Extra controls under the description, inside the list title group. */
|
|
21
|
+
controls?: ReactNode;
|
|
22
|
+
};
|
|
23
|
+
type CardGroupingProps = CardGroupingHeaderProps & {
|
|
24
|
+
groups: CardGroupingGroup[];
|
|
25
|
+
};
|
|
26
|
+
declare const CardGrouping: ({
|
|
27
|
+
title,
|
|
28
|
+
description,
|
|
29
|
+
sticker,
|
|
30
|
+
status,
|
|
31
|
+
actions,
|
|
32
|
+
controls,
|
|
33
|
+
groups,
|
|
34
|
+
...chrome
|
|
35
|
+
}: CardGroupingProps) => _$react_jsx_runtime0.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { CardGrouping, CardGroupingGroup, CardGroupingProps };
|
|
38
|
+
//# sourceMappingURL=CardGrouping.d.mts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import ConfigContext from "./lib/ConfigContext.mjs";
|
|
2
1
|
import { a as styled, r as css } 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 { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
6
|
+
import ConfigContext from "./lib/ConfigContext.mjs";
|
|
3
7
|
import { HeadlessAriaButton } from "./lib/HeadlessAriaButton.mjs";
|
|
4
8
|
import { TruncatedText } from "./lib/TruncatedText.mjs";
|
|
5
|
-
import { semanticColor } from "./lib/semanticColor.mjs";
|
|
6
9
|
import { i as Paragraph, n as Heading$1 } from "./Text-CSwFifQF.mjs";
|
|
7
|
-
import "./
|
|
8
|
-
import { a as Tooltip } from "./Tooltip-B-0VRuKT.mjs";
|
|
10
|
+
import { a as Tooltip } from "./Tooltip-DogEteGl.mjs";
|
|
9
11
|
import { Z_INDICES } from "./lib/zindex.mjs";
|
|
10
|
-
import { focusStyle } from "./mixins/focus.mjs";
|
|
11
|
-
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
12
12
|
import { t as HStack } from "./Stack-BkC7FCdF.mjs";
|
|
13
|
-
import { n as Button$1, t as IconButton } from "./IconButton-
|
|
14
|
-
import { t as intersperse } from "./intersperse-
|
|
15
|
-
import { n as DropdownMenu_default } from "./DropdownMenu-
|
|
16
|
-
import { t as DropdownButton } from "./DropdownButton-
|
|
13
|
+
import { n as Button$1, t as IconButton } from "./IconButton-D4awF770.mjs";
|
|
14
|
+
import { t as intersperse } from "./intersperse-B8s6clcc.mjs";
|
|
15
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-CPE8Q56k.mjs";
|
|
16
|
+
import { t as DropdownButton } from "./DropdownButton-C9wWnB5w.mjs";
|
|
17
17
|
import { t as LoadingShimmer } from "./LoadingShimmer-Bqjdut7i.mjs";
|
|
18
18
|
import { Color, Spacing, Typography } from "@persona/design-tokens";
|
|
19
19
|
import { createContext, useContext } from "react";
|
|
@@ -417,4 +417,4 @@ var Card_default = Object.assign(Card, {
|
|
|
417
417
|
//#endregion
|
|
418
418
|
export { CARD_HEADING_STICKY_OFFSET as n, Card_default as t };
|
|
419
419
|
|
|
420
|
-
//# sourceMappingURL=CardV2-
|
|
420
|
+
//# sourceMappingURL=CardV2-Cq4QODeE.mjs.map
|