@persona/design-system 0.10.10 → 0.10.11
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 +27 -0
- package/dist/{Action-CHWYwpYR.d.mts → Action-sLO73eKq.d.mts} +2 -2
- package/dist/Action.d.mts +1 -1
- package/dist/AdvancedFilterRuleRow.d.mts +2 -2
- package/dist/AdvancedFilterRulesPopover.d.mts +2 -2
- package/dist/ArrayValueControl.d.mts +1 -1
- package/dist/Attribute.d.mts +2 -2
- package/dist/{Badge-BCdsVKuj.mjs → Badge-DZq6ByIU.mjs} +2 -2
- package/dist/{Badge-BCdsVKuj.mjs.map → Badge-DZq6ByIU.mjs.map} +1 -1
- package/dist/BooleanValueControl.d.mts +1 -1
- package/dist/{Breadcrumbs-CMf3Uvow.mjs → Breadcrumbs-DpsNZWF9.mjs} +9 -9
- package/dist/Breadcrumbs-DpsNZWF9.mjs.map +1 -0
- package/dist/{Button-DjD8QxcY.d.mts → Button-C4a4BTjL.d.mts} +2 -2
- package/dist/Button.d.mts +1 -1
- package/dist/CalendarBase.d.mts +1 -1
- package/dist/{Card-DiUHtYg_.d.mts → Card-CPV4_mHk.d.mts} +4 -4
- package/dist/Card.d.mts +1 -1
- package/dist/Card2.d.mts +1 -1
- package/dist/CardGrouping.d.mts +1 -1
- package/dist/{CardV2-CrV6eEQb.mjs → CardV2-DCoDfEvr.mjs} +16 -13
- package/dist/CardV2-DCoDfEvr.mjs.map +1 -0
- package/dist/ChartFrame.d.mts +61 -0
- package/dist/ChartLegend.d.mts +60 -0
- package/dist/ChartPopover.d.mts +155 -0
- package/dist/{Checkbox-Dr4LMKHV.mjs → Checkbox-C3z7UUSC.mjs} +8 -8
- package/dist/Checkbox-C3z7UUSC.mjs.map +1 -0
- package/dist/{CheckboxGroupField-Bpu2j6G2.d.mts → CheckboxGroupField-BT87OVOF.d.mts} +2 -2
- package/dist/CheckboxGroupField.d.mts +1 -1
- package/dist/ChoicesValueControl.d.mts +1 -1
- package/dist/{Combobox-Gb_j1dg6.mjs → Combobox-BkK_tosd.mjs} +300 -116
- package/dist/Combobox-BkK_tosd.mjs.map +1 -0
- package/dist/Combobox-aOJDTjzC.d.mts +12 -0
- package/dist/Combobox.d.mts +3 -3
- package/dist/{ComboboxBase-BPXqJHaQ.d.mts → ComboboxBase-Brgv5nxk.d.mts} +65 -25
- package/dist/ComboboxBase.d.mts +2 -2
- package/dist/{ComboboxMultiSelect-BwkkSymj.d.mts → ComboboxMultiSelect-DJyAv0Eg.d.mts} +10 -6
- package/dist/ComboboxMultiSelect.d.mts +2 -2
- package/dist/{ComboboxSingleSelect-CdNNJNkp.d.mts → ComboboxSingleSelect-CP8-HLKl.d.mts} +8 -6
- package/dist/ComboboxSingleSelect.d.mts +2 -2
- package/dist/{CompactBar-BLZZWtIE.d.mts → CompactBar-B0LhjrYV.d.mts} +2 -2
- package/dist/CompactBar.d.mts +1 -1
- package/dist/{ConfigFormGroup-BCTWCws5.mjs → ConfigFormGroup-DAUqAhJW.mjs} +2 -2
- package/dist/{ConfigFormGroup-BCTWCws5.mjs.map → ConfigFormGroup-DAUqAhJW.mjs.map} +1 -1
- package/dist/{DataTable-BE9inUi-.d.mts → DataTable-CSl5Jn3E.d.mts} +18 -8
- package/dist/{DataTable-CIZJ1vO8.mjs → DataTable-DiwzhNMt.mjs} +41 -28
- package/dist/DataTable-DiwzhNMt.mjs.map +1 -0
- package/dist/DataTable.d.mts +1 -1
- package/dist/{DatePicker-C9redLBr.mjs → DatePicker-BK7ioKBm.mjs} +410 -410
- package/dist/DatePicker-BK7ioKBm.mjs.map +1 -0
- package/dist/DateRangeValueControl.d.mts +1 -1
- package/dist/DateValueControl.d.mts +1 -1
- package/dist/{DropdownButton-DpLG-cIj.mjs → DropdownButton-Dp-MZ5tA.mjs} +3 -3
- package/dist/{DropdownButton-DpLG-cIj.mjs.map → DropdownButton-Dp-MZ5tA.mjs.map} +1 -1
- package/dist/DropdownButton.d.mts +2 -2
- package/dist/{DropdownMenu-B6D4stkF.d.mts → DropdownMenu-BnHPeHOm.d.mts} +3 -3
- package/dist/{DropdownMenu-c8XK2Lr4.mjs → DropdownMenu-jJSHQaih.mjs} +4 -2
- package/dist/DropdownMenu-jJSHQaih.mjs.map +1 -0
- package/dist/DropdownMenu.d.mts +1 -1
- package/dist/{FieldRegistry-C2NVPhMO.d.mts → FieldRegistry-CJwGpUVK.d.mts} +2 -2
- package/dist/FieldRegistry.d.mts +1 -1
- package/dist/{FilterBar-BE_gBM0H.d.mts → FilterBar-DDyk14sx.d.mts} +4 -4
- package/dist/FilterBar.d.mts +1 -1
- package/dist/FilterPickerMenu.d.mts +2 -2
- package/dist/FilterPill.d.mts +1 -1
- package/dist/FilterPopover.d.mts +1 -1
- package/dist/FloatValueControl.d.mts +3 -2
- package/dist/{FloatingToolbar-DLRaE0o7.mjs → FloatingToolbar-rfKurDs8.mjs} +36 -39
- package/dist/FloatingToolbar-rfKurDs8.mjs.map +1 -0
- package/dist/{FormControl-BztNXLn6.mjs → FormControl--pbTH3bY.mjs} +3 -3
- package/dist/{FormControl-BztNXLn6.mjs.map → FormControl--pbTH3bY.mjs.map} +1 -1
- package/dist/{FormControl-BQe3GRhi.d.mts → FormControl-DPYbLcBK.d.mts} +2 -2
- package/dist/FormControl.d.mts +1 -1
- package/dist/FormControlLabel.d.mts +2 -2
- package/dist/{FormField-BW5uMzId.d.mts → FormField-CYNGm2bJ.d.mts} +2 -2
- package/dist/{FormField-Cf1VMvoa.mjs → FormField-DMxjftFw.mjs} +14 -14
- package/dist/{FormField-Cf1VMvoa.mjs.map → FormField-DMxjftFw.mjs.map} +1 -1
- package/dist/FormField.d.mts +1 -1
- package/dist/{Grid-CYpOqTUu.mjs → Grid-DVC0SSEZ.mjs} +2 -2
- package/dist/{Grid-CYpOqTUu.mjs.map → Grid-DVC0SSEZ.mjs.map} +1 -1
- package/dist/{Header-CV0Lcf0C.d.mts → Header-DaaUprCL.d.mts} +2 -2
- package/dist/Header.d.mts +1 -1
- package/dist/{HelperTooltip-BNM3pTM-.d.mts → HelperTooltip-C5BDdJSI.d.mts} +2 -2
- package/dist/HelperTooltip.d.mts +1 -1
- package/dist/HighlightedText.d.mts +1 -1
- package/dist/{HoverCopyableField-XHC_n9tp.mjs → HoverCopyableField-B2-xlwUt.mjs} +12 -7
- package/dist/HoverCopyableField-B2-xlwUt.mjs.map +1 -0
- package/dist/{IconButton-C_ReZm8v.d.mts → IconButton-7k-wjvH3.d.mts} +2 -2
- package/dist/{IconButton-DxHB2g80.mjs → IconButton-kSjnfhWt.mjs} +11 -10
- package/dist/IconButton-kSjnfhWt.mjs.map +1 -0
- package/dist/IconButton.d.mts +1 -1
- package/dist/ImageTile.d.mts +1 -1
- package/dist/IndexTableLayout.d.mts +4 -4
- package/dist/InlineCombobox.d.mts +1 -1
- package/dist/InlineInput.d.mts +1 -1
- package/dist/{Input-DH-5dKor.d.mts → Input-CwvrBsiS.d.mts} +3 -3
- package/dist/{Input-RHXujO9u.mjs → Input-TRmTBEav.mjs} +5 -5
- package/dist/{Input-RHXujO9u.mjs.map → Input-TRmTBEav.mjs.map} +1 -1
- package/dist/Input.d.mts +1 -1
- package/dist/IntegerValueControl.d.mts +3 -2
- package/dist/{Link-D_kCyLYX.mjs → Link-XvzUN8sY.mjs} +6 -6
- package/dist/Link-XvzUN8sY.mjs.map +1 -0
- package/dist/{ListBox-DpFcM-dM.d.mts → ListBox-BePQBYR7.d.mts} +3 -3
- package/dist/{ListBox-BZp6exb8.mjs → ListBox-DahM1PgU.mjs} +12 -12
- package/dist/{ListBox-BZp6exb8.mjs.map → ListBox-DahM1PgU.mjs.map} +1 -1
- package/dist/ListBox.d.mts +1 -1
- package/dist/{ListBoxField-DL6Zk8TU.d.mts → ListBoxField-lj7JN1BX.d.mts} +4 -4
- package/dist/ListBoxField.d.mts +1 -1
- package/dist/{LoadingShimmer-oPIv2ESr.mjs → LoadingShimmer-CpfKTSUs.mjs} +4 -3
- package/dist/LoadingShimmer-CpfKTSUs.mjs.map +1 -0
- package/dist/LoadingShimmer.d.mts +1 -1
- package/dist/{LogicRow-BakOUtzx.d.mts → LogicRow-Do7t7Suf.d.mts} +2 -2
- package/dist/LogicRow.d.mts +1 -1
- package/dist/MaskedInput.d.mts +2 -2
- package/dist/MatchHighlight.d.mts +1 -1
- package/dist/{Menu-BVn1jh46.mjs → Menu-BvMzSH2I.mjs} +5 -5
- package/dist/{Menu-BVn1jh46.mjs.map → Menu-BvMzSH2I.mjs.map} +1 -1
- package/dist/{Menu-D6OrKCTC.d.mts → Menu-Ca5ftvo6.d.mts} +4 -4
- package/dist/Menu.d.mts +1 -1
- package/dist/{MiddleTruncatedText-DicQsLDG.mjs → MiddleTruncatedText--jzGTD00.mjs} +2 -2
- package/dist/{MiddleTruncatedText-DicQsLDG.mjs.map → MiddleTruncatedText--jzGTD00.mjs.map} +1 -1
- package/dist/{Modal-De5_bPJ_.mjs → Modal-B6X5AgWj.mjs} +54 -25
- package/dist/{Modal-De5_bPJ_.mjs.map → Modal-B6X5AgWj.mjs.map} +1 -1
- package/dist/{Modal-CujB7DuB.d.mts → Modal-BPfFyzkw.d.mts} +3 -3
- package/dist/Modal.d.mts +1 -1
- package/dist/{PageHeader-UPiqJpIF.d.mts → PageHeader-BeBmYmUX.d.mts} +2 -2
- package/dist/{PageHeader-7_Hf6rHl.mjs → PageHeader-bhQTjuZF.mjs} +2 -2
- package/dist/{PageHeader-7_Hf6rHl.mjs.map → PageHeader-bhQTjuZF.mjs.map} +1 -1
- package/dist/PageHeader.d.mts +1 -1
- package/dist/{PageLayout-BdVM37bV.d.mts → PageLayout-BXM_pyrU.d.mts} +2 -2
- package/dist/{PageLayout-DjtGrvJa.mjs → PageLayout-DgEGcZgB.mjs} +3 -3
- package/dist/{PageLayout-DjtGrvJa.mjs.map → PageLayout-DgEGcZgB.mjs.map} +1 -1
- package/dist/PageLayout.d.mts +1 -1
- package/dist/{PageSelector-B5CcAzss.d.mts → PageSelector-C14ABZVL.d.mts} +2 -2
- package/dist/PageSelector.d.mts +1 -1
- package/dist/{Pagination-DMH2IaV0.mjs → Pagination-DE8wT55m.mjs} +5 -5
- package/dist/{Pagination-DMH2IaV0.mjs.map → Pagination-DE8wT55m.mjs.map} +1 -1
- package/dist/{Pii-24D_nSRQ.mjs → Pii-C42ZY88Y.mjs} +2 -2
- package/dist/{Pii-24D_nSRQ.mjs.map → Pii-C42ZY88Y.mjs.map} +1 -1
- package/dist/{PillShell-B7Bm-dsE.d.mts → PillShell-Bkyu5FXB.d.mts} +2 -2
- package/dist/PillShell.d.mts +1 -1
- package/dist/{Popover-DordjYNM.mjs → Popover-DuFjaSoq.mjs} +4 -2
- package/dist/Popover-DuFjaSoq.mjs.map +1 -0
- package/dist/Popover.d.mts +1 -1
- package/dist/ProgressBar.d.mts +1 -1
- package/dist/{ProgressIndicator-zt3ndT9U.mjs → ProgressIndicator-hy1P-RG1.mjs} +3 -3
- package/dist/{ProgressIndicator-zt3ndT9U.mjs.map → ProgressIndicator-hy1P-RG1.mjs.map} +1 -1
- package/dist/{Radio-BlEtetrr.mjs → Radio-B4TBAho6.mjs} +5 -5
- package/dist/Radio-B4TBAho6.mjs.map +1 -0
- package/dist/{RadioGroup-CMrXmmn4.mjs → RadioGroup-Bf24GKOb.mjs} +3 -3
- package/dist/{RadioGroup-CMrXmmn4.mjs.map → RadioGroup-Bf24GKOb.mjs.map} +1 -1
- package/dist/RichTextEditor.d.mts +1 -1
- package/dist/RuleEditorFields.d.mts +2 -2
- package/dist/RulesPill.d.mts +1 -1
- package/dist/SectionHeading.d.mts +1 -1
- package/dist/{SegmentedControl-D_DA-MU1.mjs → SegmentedControl-BpR7sUWO.mjs} +6 -3
- package/dist/SegmentedControl-BpR7sUWO.mjs.map +1 -0
- package/dist/{Select-CR9TjFfo.d.mts → Select-DYdn73Nh.d.mts} +2 -2
- package/dist/{Select-DOlw_LPR.mjs → Select-RdTT2KoH.mjs} +10 -8
- package/dist/Select-RdTT2KoH.mjs.map +1 -0
- package/dist/Select.d.mts +1 -1
- package/dist/SmartTextInput.d.mts +1 -1
- package/dist/SmartTextInputField.d.mts +2 -2
- package/dist/SmartTextInputFunctionDialog.d.mts +1 -1
- package/dist/SmartTextInputPopover.d.mts +1 -1
- package/dist/{Spinner-CXb-KUs1.mjs → Spinner-vcApnJzv.mjs} +2 -2
- package/dist/{Spinner-CXb-KUs1.mjs.map → Spinner-vcApnJzv.mjs.map} +1 -1
- package/dist/{Stack-CODxfzhl.d.mts → Stack-B6MrjJeW.d.mts} +2 -2
- package/dist/Stack.d.mts +1 -1
- package/dist/{StatusIndicator-CzRaEFSz.mjs → StatusIndicator-lwt35J6B.mjs} +3 -3
- package/dist/{StatusIndicator-CzRaEFSz.mjs.map → StatusIndicator-lwt35J6B.mjs.map} +1 -1
- package/dist/{Sticker-CLvRB8V5.d.mts → Sticker-C7Wv3Obx.d.mts} +4 -4
- package/dist/{Sticker-C1_6I08u.mjs → Sticker-jfOM4Yi6.mjs} +5 -5
- package/dist/{Sticker-C1_6I08u.mjs.map → Sticker-jfOM4Yi6.mjs.map} +1 -1
- package/dist/Sticker.d.mts +1 -1
- package/dist/StringValueControl.d.mts +2 -1
- package/dist/Tab.d.mts +2 -2
- package/dist/{TabBar-BCFO38E0.mjs → TabBar-DwHgbIQ6.mjs} +8 -8
- package/dist/TabBar-DwHgbIQ6.mjs.map +1 -0
- package/dist/{Table-DPi4Dt5H.mjs → Table-SMJAWqoe.mjs} +21 -13
- package/dist/Table-SMJAWqoe.mjs.map +1 -0
- package/dist/{TableBox-DNQsgQ8x.mjs → TableBox-DS8mpN3-.mjs} +21 -17
- package/dist/TableBox-DS8mpN3-.mjs.map +1 -0
- package/dist/TableBox.d.mts +1 -1
- package/dist/{TableBoxCell-CsRt_5gP.d.mts → TableBoxCell-Bo5xYEmR.d.mts} +6 -6
- package/dist/TableBoxCell.d.mts +1 -1
- package/dist/{TableBoxField-Db0Vjo6Z.d.mts → TableBoxField-CdgjSGLK.d.mts} +5 -5
- package/dist/TableBoxField.d.mts +1 -1
- package/dist/{TableBoxRow-exMlZyc4.d.mts → TableBoxRow-DuWS2iRC.d.mts} +2 -2
- package/dist/TableBoxRow.d.mts +1 -1
- package/dist/{TableBoxRowActions-UO9YN34k.d.mts → TableBoxRowActions-zW74DkXt.d.mts} +2 -2
- package/dist/TableBoxRowActions.d.mts +1 -1
- package/dist/{TableCell-CQsF7t4e.d.mts → TableCell-uv_jqT5e.d.mts} +2 -2
- package/dist/TableCell.d.mts +1 -1
- package/dist/{TableControls-Clo_0Mty.d.mts → TableControls-9vz-HfDu.d.mts} +4 -4
- package/dist/{TableControls-BrP_BqnF.mjs → TableControls-CX7BvgD2.mjs} +107 -43
- package/dist/TableControls-CX7BvgD2.mjs.map +1 -0
- package/dist/TableControls.d.mts +1 -1
- package/dist/{TableControlsContext-BNd6z9mD.d.mts → TableControlsContext-D0Hn3rwL.d.mts} +2 -2
- package/dist/TableControlsContext.d.mts +1 -1
- package/dist/{TableViewConfigurationDropdown-Cp7ausV_.d.mts → TableViewConfigurationDropdown-CZcLH8uR.d.mts} +2 -2
- package/dist/TableViewConfigurationDropdown.d.mts +1 -1
- package/dist/{TechnicalSticker-Cq5jzYKQ.mjs → TechnicalSticker-DrN45Vut.mjs} +9 -7
- package/dist/TechnicalSticker-DrN45Vut.mjs.map +1 -0
- package/dist/{Text-CvaqognH.d.mts → Text-CdHeSHCc.d.mts} +2 -2
- package/dist/Text.d.mts +1 -1
- package/dist/{TextArea-Dro-HH8O.mjs → TextArea-CQ1YNi2b.mjs} +4 -5
- package/dist/TextArea-CQ1YNi2b.mjs.map +1 -0
- package/dist/{TextUnderlineTooltip-Bd5e8KH3.d.mts → TextUnderlineTooltip-By1VVsSs.d.mts} +3 -3
- package/dist/TextUnderlineTooltip.d.mts +1 -1
- package/dist/Tile.d.mts +1 -1
- package/dist/{Toggle-D9MzTIZs.mjs → Toggle-DjmkjJlw.mjs} +13 -9
- package/dist/Toggle-DjmkjJlw.mjs.map +1 -0
- package/dist/{Tooltip-YViXzMdm.mjs → Tooltip-C2VB8I6y.mjs} +18 -5
- package/dist/Tooltip-C2VB8I6y.mjs.map +1 -0
- package/dist/{Tooltip-Ddy2Jq0K.d.mts → Tooltip-OxVvOfn8.d.mts} +3 -3
- package/dist/Tooltip.d.mts +1 -1
- package/dist/{TruncatedText-sr9Fhm3N.d.mts → TruncatedText-Dqj94BFK.d.mts} +2 -2
- package/dist/WizardModal.d.mts +1 -1
- package/dist/chartColors.d.mts +92 -0
- package/dist/chartFrameLayout.d.mts +46 -0
- package/dist/{clientFilterUtils-CGHYF5NE.d.mts → clientFilterUtils-CMLuN8kK.d.mts} +2 -2
- package/dist/clientFilterUtils.d.mts +1 -1
- package/dist/components/Accordion/index.mjs +25 -16
- package/dist/components/Accordion/index.mjs.map +1 -1
- package/dist/components/Attribute/index.mjs +8 -6
- package/dist/components/Attribute/index.mjs.map +1 -1
- package/dist/components/Badge/index.mjs +1 -1
- package/dist/components/Banner/index.mjs +3 -3
- package/dist/components/BottomPanel/index.mjs +10 -8
- package/dist/components/BottomPanel/index.mjs.map +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/Chart/index.d.mts +9 -0
- package/dist/components/Chart/index.mjs +680 -0
- package/dist/components/Chart/index.mjs.map +1 -0
- package/dist/components/Checkbox/index.mjs +1 -1
- package/dist/components/CodeHighlight/index.mjs +4 -4
- package/dist/components/Combobox/index.d.mts +5 -3
- package/dist/components/Combobox/index.mjs +1 -1
- package/dist/components/ConfigFormGroup/index.mjs +1 -1
- package/dist/components/DataTable/TableControls/index.d.mts +20 -20
- package/dist/components/DataTable/TableControls/index.mjs +2 -2
- package/dist/components/DataTable/index.d.mts +5 -5
- package/dist/components/DataTable/index.mjs +1 -1
- package/dist/components/DataTable/types.d.mts +1 -1
- 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 +20 -18
- package/dist/components/FloatingPanel/index.mjs.map +1 -1
- package/dist/components/FloatingToolbar/index.mjs +1 -1
- package/dist/components/FormControl/index.d.mts +1 -1
- package/dist/components/FormControl/index.mjs +1 -1
- package/dist/components/FormField/index.d.mts +5 -5
- package/dist/components/FormField/index.mjs +1 -1
- package/dist/components/Grid/index.mjs +1 -1
- package/dist/components/HoverCopyableField/index.mjs +1 -1
- package/dist/components/ImageTile/index.mjs +10 -10
- package/dist/components/ImageTile/index.mjs.map +1 -1
- 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/LoadingShimmer/index.mjs +1 -1
- package/dist/components/MaskedInput/index.mjs +1 -1
- package/dist/components/Menu/index.d.mts +1 -1
- package/dist/components/Menu/index.mjs +1 -1
- package/dist/components/Modal/index.d.mts +1 -1
- package/dist/components/Modal/index.mjs +1 -1
- package/dist/components/PageHeader/index.d.mts +1 -1
- package/dist/components/PageHeader/index.mjs +1 -1
- package/dist/components/Pagination/index.d.mts +1 -1
- 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 +20 -3
- package/dist/components/ProgressBar/index.mjs.map +1 -1
- package/dist/components/ProgressIndicator/index.mjs +1 -1
- package/dist/components/Radio/index.mjs +1 -1
- package/dist/components/RadioGroup/index.mjs +1 -1
- package/dist/components/RichTextEditor/index.mjs +9 -9
- package/dist/components/RightPanel/index.mjs +30 -15
- package/dist/components/RightPanel/index.mjs.map +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/SelectionCard/index.mjs +5 -5
- package/dist/components/Slider/index.mjs +5 -4
- package/dist/components/Slider/index.mjs.map +1 -1
- package/dist/components/SmartTextInput/index.mjs +11 -18
- package/dist/components/SmartTextInput/index.mjs.map +1 -1
- 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/SwatchPicker/index.mjs +2 -1
- package/dist/components/SwatchPicker/index.mjs.map +1 -1
- package/dist/components/TabBar/index.mjs +1 -1
- package/dist/components/Table/index.d.mts +1 -1
- package/dist/components/Table/index.mjs +1 -1
- package/dist/components/TableBox/index.d.mts +1 -1
- 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.mjs +1 -1
- package/dist/components/Tile/index.mjs +2 -2
- package/dist/components/Toast/index.mjs +19 -13
- package/dist/components/Toast/index.mjs.map +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.mjs +8 -8
- package/dist/compound-expression.d.mts +1 -1
- package/dist/{date-range-rule-value-ASr06ClE.d.mts → date-range-rule-value-DyLlMtjr.d.mts} +2 -2
- package/dist/date-range-rule-value.d.mts +1 -1
- package/dist/display.d.mts +1 -1
- package/dist/duration-token.d.mts +11 -0
- package/dist/exit-motion.d.mts +7 -0
- package/dist/fieldPickerOptions.d.mts +2 -2
- package/dist/{filter-size-context-CmFyIPCm.d.mts → filter-size-context-DVnjmuhk.d.mts} +2 -2
- package/dist/filter-size-context.d.mts +1 -1
- package/dist/{filters-DTBc0mE7.d.mts → filters-By_TYKAZ.d.mts} +3 -3
- package/dist/filters.d.mts +1 -1
- package/dist/{helpers-CBJ2AqGZ.d.mts → helpers-BIHsqdyX.d.mts} +2 -2
- package/dist/helpers.d.mts +1 -1
- package/dist/{index-kIon1vPp.d.mts → index-BozzRwby.d.mts} +2 -2
- package/dist/{index-OkdnW-u5.d.mts → index-CZJp4Af6.d.mts} +3 -3
- package/dist/index2.d.mts +1 -1
- package/dist/index4.d.mts +3 -3
- package/dist/index5.d.mts +1 -1
- package/dist/index6.d.mts +14 -14
- package/dist/{inputFields-DpHeZiFX.d.mts → inputFields-BqO2H-Kj.d.mts} +6 -6
- package/dist/inputFields.d.mts +1 -1
- package/dist/lib/MiddleTruncatedText.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/colorMode.d.mts +1 -1
- package/dist/lib/useChain.d.mts +1 -1
- package/dist/lib/useModalInsetRight.d.mts +4 -3
- package/dist/lib/useModalInsetRight.mjs +7 -5
- package/dist/lib/useModalInsetRight.mjs.map +1 -1
- package/dist/lint/THIRD_PARTY_NOTICES.md +30 -0
- package/dist/lint/index.mjs +696 -11
- package/dist/lint/index.mjs.map +1 -1
- package/dist/lint/recommended.json +7 -1
- package/dist/mixins/focus.mjs +1 -1
- package/dist/mixins/hoverable.mjs +2 -2
- package/dist/mixins/hoverable.mjs.map +1 -1
- package/dist/mixins/input.mjs +3 -2
- package/dist/mixins/input.mjs.map +1 -1
- package/dist/mixins/menuItem.mjs +2 -0
- package/dist/mixins/menuItem.mjs.map +1 -1
- package/dist/mixins/motion.d.mts +24 -0
- package/dist/mixins/motion.mjs +44 -0
- package/dist/mixins/motion.mjs.map +1 -0
- package/dist/motion-origin.d.mts +7 -0
- package/dist/motion.d.mts +63 -0
- package/dist/no-layout-motion.d.mts +7 -0
- package/dist/no-transition-all.d.mts +7 -0
- package/dist/{operators-BHxKZcpD.d.mts → operators-B8_k3r69.d.mts} +10 -3
- package/dist/operators.d.mts +2 -2
- package/dist/overlay-motion.d.mts +7 -0
- package/dist/patterns/CardGrouping/index.mjs +9 -9
- package/dist/patterns/CardGrouping/index.mjs.map +1 -1
- package/dist/patterns/IndexTableLayout/index.mjs +3 -3
- package/dist/patterns/LayoutLoadingShimmer/index.mjs +4 -4
- package/dist/patterns/LayoutLoadingSpinner/index.mjs +3 -1
- package/dist/patterns/LayoutLoadingSpinner/index.mjs.map +1 -1
- package/dist/patterns/PageLayout/index.d.mts +1 -1
- package/dist/patterns/PageLayout/index.mjs +1 -1
- package/dist/patterns/WizardModal/index.mjs +4 -4
- package/dist/relative-date-label.d.mts +1 -1
- package/dist/tone.d.mts +1 -1
- package/dist/{types-DLnCkvTt.d.mts → types-BJqmRXFV.d.mts} +15 -1
- package/dist/{types-CqcbWyUY.d.mts → types-BOsCi-kZ.d.mts} +8 -2
- package/dist/{types-BEdERA4v.d.mts → types-C_CncajO.d.mts} +2 -2
- package/dist/{types-BiqzeNsa.d.mts → types-D5txFacG.d.mts} +3 -3
- package/dist/types4.d.mts +1 -1
- package/dist/types5.d.mts +1 -1
- package/dist/types6.d.mts +1 -1
- package/dist/{url-state-CXUuK3_r.d.mts → url-state-CXPmXzIZ.d.mts} +2 -2
- package/dist/url-state.d.mts +1 -1
- package/dist/{useChain-B--KAtdN.d.mts → useChain-x9fd9Fyq.d.mts} +2 -2
- package/dist/useChainAtCursor.d.mts +1 -1
- package/dist/useChartColors.d.mts +30 -0
- package/dist/useChartSeriesVisibility.d.mts +22 -0
- package/dist/useChartStyles.d.mts +108 -0
- package/dist/useColumnConfiguration.d.mts +2 -2
- package/dist/useComboboxFooterAction.d.mts +1 -1
- package/dist/{useFilterStateV2-DBpbxAEC.d.mts → useFilterStateV2-DiTS9DTg.d.mts} +3 -3
- package/dist/useFilterStateV2.d.mts +1 -1
- package/dist/{useTableColumns-Xd14vx_h.d.mts → useTableColumns-BEKJNrb1.d.mts} +2 -2
- package/dist/useTableColumns.d.mts +1 -1
- package/dist/useTruncation.d.mts +1 -1
- package/dist/useValueControlError.d.mts +26 -0
- package/dist/utils.d.mts +1 -1
- package/dist/{validation-Tgg3AhuP.d.mts → validation-BDQdQ1cY.d.mts} +3 -3
- package/dist/validation.d.mts +1 -1
- package/dist/{value-control-resolver-XQbGCdsP.d.mts → value-control-resolver-BFJZEWDn.d.mts} +9 -3
- package/dist/value-control-resolver.d.mts +1 -1
- package/dist/variables/keyframes.d.mts +2 -1
- package/dist/variables/keyframes.mjs +9 -1
- package/dist/variables/keyframes.mjs.map +1 -1
- package/dist/variables/transitions.d.mts +31 -1
- package/dist/variables/transitions.mjs +50 -1
- package/dist/variables/transitions.mjs.map +1 -1
- package/llms.txt +1 -0
- package/package.json +14 -4
- package/skills/new-screen/SKILL.md +33 -0
- package/skills/ui-authoring/COMPONENTS.md +18 -0
- package/skills/ui-authoring/PATTERNS.md +51 -34
- package/skills/ui-authoring/STANDARD.md +68 -4
- package/skills/ui-authoring/TOKENS.md +27 -24
- package/dist/Breadcrumbs-CMf3Uvow.mjs.map +0 -1
- package/dist/CardV2-CrV6eEQb.mjs.map +0 -1
- package/dist/Checkbox-Dr4LMKHV.mjs.map +0 -1
- package/dist/Combobox-CIKqTYZt.d.mts +0 -11
- package/dist/Combobox-Gb_j1dg6.mjs.map +0 -1
- package/dist/DataTable-CIZJ1vO8.mjs.map +0 -1
- package/dist/DatePicker-C9redLBr.mjs.map +0 -1
- package/dist/DropdownMenu-c8XK2Lr4.mjs.map +0 -1
- package/dist/FloatingToolbar-DLRaE0o7.mjs.map +0 -1
- package/dist/HoverCopyableField-XHC_n9tp.mjs.map +0 -1
- package/dist/IconButton-DxHB2g80.mjs.map +0 -1
- package/dist/Link-D_kCyLYX.mjs.map +0 -1
- package/dist/LoadingShimmer-oPIv2ESr.mjs.map +0 -1
- package/dist/Popover-DordjYNM.mjs.map +0 -1
- package/dist/Radio-BlEtetrr.mjs.map +0 -1
- package/dist/SegmentedControl-D_DA-MU1.mjs.map +0 -1
- package/dist/Select-DOlw_LPR.mjs.map +0 -1
- package/dist/TabBar-BCFO38E0.mjs.map +0 -1
- package/dist/Table-DPi4Dt5H.mjs.map +0 -1
- package/dist/TableBox-DNQsgQ8x.mjs.map +0 -1
- package/dist/TableControls-BrP_BqnF.mjs.map +0 -1
- package/dist/TechnicalSticker-Cq5jzYKQ.mjs.map +0 -1
- package/dist/TextArea-Dro-HH8O.mjs.map +0 -1
- package/dist/Toggle-D9MzTIZs.mjs.map +0 -1
- package/dist/Tooltip-YViXzMdm.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-Ca5ftvo6.mjs";
|
|
2
2
|
import { t as TableRow } from "./TableRow-C4eHuRF3.mjs";
|
|
3
3
|
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
@@ -83,4 +83,4 @@ declare const TableBoxRowOverlay: ({
|
|
|
83
83
|
}) => _$react_jsx_runtime0.JSX.Element;
|
|
84
84
|
//#endregion
|
|
85
85
|
export { TableBoxRowOverlay as n, TableBoxRowProps as r, TableBoxRow as t };
|
|
86
|
-
//# sourceMappingURL=TableBoxRow-
|
|
86
|
+
//# sourceMappingURL=TableBoxRow-DuWS2iRC.d.mts.map
|
package/dist/TableBoxRow.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-
|
|
1
|
+
import { n as TableBoxRowOverlay, r as TableBoxRowProps, t as TableBoxRow } from "./TableBoxRow-DuWS2iRC.mjs";
|
|
2
2
|
export { TableBoxRowOverlay, TableBoxRowProps, TableBoxRow as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as MenuItemProps } from "./Menu-
|
|
1
|
+
import { l as MenuItemProps } from "./Menu-Ca5ftvo6.mjs";
|
|
2
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
3
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
@@ -54,4 +54,4 @@ declare const RowActions: ({
|
|
|
54
54
|
}: RowActionsProps) => _$react_jsx_runtime0.JSX.Element | null;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { RowActionsContainerWithFadeWidth as i, RowActions as n, RowActionsContainer as r, RowAction as t };
|
|
57
|
-
//# sourceMappingURL=TableBoxRowActions-
|
|
57
|
+
//# sourceMappingURL=TableBoxRowActions-zW74DkXt.d.mts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-
|
|
1
|
+
import { i as RowActionsContainerWithFadeWidth, n as RowActions, r as RowActionsContainer, t as RowAction } from "./TableBoxRowActions-zW74DkXt.mjs";
|
|
2
2
|
export { RowAction, RowActions, RowActionsContainer, RowActionsContainerWithFadeWidth };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as TableRowProps } from "./TableRow-C4eHuRF3.mjs";
|
|
2
|
-
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
3
2
|
import * as _$styled_components0 from "styled-components";
|
|
3
|
+
import { ComponentPropsWithoutRef, ReactNode } from "react";
|
|
4
4
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/Table/TableCell.d.ts
|
|
@@ -51,4 +51,4 @@ declare const TableTR: _$styled_components0.StyledComponent<"tr", any, {
|
|
|
51
51
|
}, "role">;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { TableCellProps as a, TableTD as c, TableCell as i, TableTR as l, StickyTH as n, TableCellTitle as o, TableActionTD as r, TableIconTD as s, StickyTD as t };
|
|
54
|
-
//# sourceMappingURL=TableCell-
|
|
54
|
+
//# sourceMappingURL=TableCell-uv_jqT5e.d.mts.map
|
package/dist/TableCell.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-
|
|
1
|
+
import { a as TableCellProps, c as TableTD, i as TableCell, l as TableTR, n as StickyTH, o as TableCellTitle, r as TableActionTD, s as TableIconTD, t as StickyTD } from "./TableCell-uv_jqT5e.mjs";
|
|
2
2
|
export { StickyTD, StickyTH, TableActionTD, TableCellProps, TableCellTitle, TableIconTD, TableTD, TableTR, TableCell as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as ControlBarProps } from "./ControlBar-B3Jn8G0k.mjs";
|
|
2
|
-
import { n as FilterBarProps } from "./FilterBar-
|
|
3
|
-
import { i as BaseFilterConfig, s as FilterConfig, u as FilterTypeResolver } from "./types-
|
|
4
|
-
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-
|
|
2
|
+
import { n as FilterBarProps } from "./FilterBar-DDyk14sx.mjs";
|
|
3
|
+
import { i as BaseFilterConfig, s as FilterConfig, u as FilterTypeResolver } from "./types-C_CncajO.mjs";
|
|
4
|
+
import { i as TableViewConfigurationProps } from "./TableViewConfigurationDropdown-CZcLH8uR.mjs";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
@@ -82,4 +82,4 @@ declare const TableControls: <TFilter extends BaseFilterConfig = FilterConfig>({
|
|
|
82
82
|
}: TableControlsProps<TFilter>) => _$react_jsx_runtime0.JSX.Element;
|
|
83
83
|
//#endregion
|
|
84
84
|
export { TableControlsFiltersV2Props as n, TableControlsProps as r, TableControls as t };
|
|
85
|
-
//# sourceMappingURL=TableControls-
|
|
85
|
+
//# sourceMappingURL=TableControls-9vz-HfDu.d.mts.map
|
|
@@ -1,52 +1,54 @@
|
|
|
1
1
|
import { a as styled, n as createGlobalStyle, r as css } from "./styledComponentsInterop-Cs5CCPRy.mjs";
|
|
2
|
+
import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
2
3
|
import { semanticColor, semanticOnly, semanticTokens } from "./lib/semanticColor.mjs";
|
|
4
|
+
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
5
|
+
import "./variables/transitions.mjs";
|
|
6
|
+
import { transparent, withAlpha } from "./lib/color.mjs";
|
|
7
|
+
import { popoverMotion } from "./mixins/motion.mjs";
|
|
8
|
+
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
9
|
+
import { paragraphMixins } from "./mixins/text.mjs";
|
|
3
10
|
import { c as usePDSLocale, i as formatDateTime, l as usePDSStrings, u as DEFAULT_COMMON_STRINGS } from "./i18n-DaOKaFc2.mjs";
|
|
4
11
|
import { TruncatedText } from "./lib/TruncatedText.mjs";
|
|
5
|
-
import { paragraphMixins } from "./mixins/text.mjs";
|
|
6
12
|
import { t as Card_default } from "./Card-DuQHyroh.mjs";
|
|
7
13
|
import { t as Spacer_default } from "./Spacer-C4d9Aho6.mjs";
|
|
8
14
|
import { i as Paragraph, r as Label$1 } from "./Text-D0vEReED.mjs";
|
|
9
|
-
import "./
|
|
10
|
-
import { a as Tooltip } from "./Tooltip-YViXzMdm.mjs";
|
|
11
|
-
import { transparent, withAlpha } from "./lib/color.mjs";
|
|
15
|
+
import { a as Tooltip } from "./Tooltip-C2VB8I6y.mjs";
|
|
12
16
|
import { letPointerDownReachDocument } from "./lib/letPointerDownReachDocument.mjs";
|
|
13
|
-
import { isActive, isDisabled, isFocused, isHovered, isNotDisabled } from "./lib/pseudoClass.mjs";
|
|
14
17
|
import { moveItemByIndex } from "./lib/reorderItems.mjs";
|
|
15
18
|
import { useScrollOverflow } from "./lib/useScrollOverflow.mjs";
|
|
16
19
|
import { Z_INDICES } from "./lib/zindex.mjs";
|
|
17
|
-
import { focusOutline, focusWithinOutline } from "./mixins/focus.mjs";
|
|
18
|
-
import { semanticScrollbar } from "./mixins/scrollbar.mjs";
|
|
19
20
|
import { n as Stack, t as HStack } from "./Stack-Bzom2BTR.mjs";
|
|
20
|
-
import { n as Button, t as IconButton } from "./IconButton-
|
|
21
|
-
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-
|
|
22
|
-
import { r as InputGroup } from "./Input-
|
|
21
|
+
import { n as Button, t as IconButton } from "./IconButton-kSjnfhWt.mjs";
|
|
22
|
+
import { i as TabBar, n as StyledTab, r as Tab } from "./TabBar-DwHgbIQ6.mjs";
|
|
23
|
+
import { r as InputGroup } from "./Input-TRmTBEav.mjs";
|
|
23
24
|
import Input_default from "./components/Input/index.mjs";
|
|
24
|
-
import { c as MenuList, s as MenuItem } from "./Menu-
|
|
25
|
-
import { n as DropdownMenu_default } from "./DropdownMenu-
|
|
26
|
-
import { t as Combobox } from "./Combobox-
|
|
27
|
-
import {
|
|
28
|
-
import { s as Popover_default } from "./Popover-
|
|
29
|
-
import {
|
|
30
|
-
import { r as
|
|
31
|
-
import {
|
|
25
|
+
import { c as MenuList, s as MenuItem } from "./Menu-BvMzSH2I.mjs";
|
|
26
|
+
import { n as DropdownMenu_default } from "./DropdownMenu-jJSHQaih.mjs";
|
|
27
|
+
import { t as Combobox } from "./Combobox-BkK_tosd.mjs";
|
|
28
|
+
import { r as DatePicker, t as DateRangePicker } from "./DatePicker-BK7ioKBm.mjs";
|
|
29
|
+
import { s as Popover_default } from "./Popover-DuFjaSoq.mjs";
|
|
30
|
+
import { n as ErrorText } from "./FormControl--pbTH3bY.mjs";
|
|
31
|
+
import { n as Select, r as SelectHeader, t as Option } from "./Select-RdTT2KoH.mjs";
|
|
32
|
+
import { i as Modal_default } from "./Modal-B6X5AgWj.mjs";
|
|
33
|
+
import { t as ListBox } from "./ListBox-DahM1PgU.mjs";
|
|
32
34
|
import { i as selectedPresetFor, n as parseDateFilterValue, r as resolveDateFilterValue, t as formatDateFilterValue } from "./date-filter-Bj4XkwkT.mjs";
|
|
33
|
-
import { m as FormField, o as ComboboxField } from "./FormField-
|
|
34
|
-
import { t as Toggle } from "./Toggle-
|
|
35
|
-
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
35
|
+
import { m as FormField, o as ComboboxField } from "./FormField-DMxjftFw.mjs";
|
|
36
|
+
import { t as Toggle } from "./Toggle-DjmkjJlw.mjs";
|
|
36
37
|
import { BorderRadius, Color, Spacing, Typography } from "@persona/design-tokens";
|
|
38
|
+
import { Fragment, createContext, createElement, forwardRef, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
37
39
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
38
40
|
import { DateTime, Settings } from "luxon";
|
|
39
41
|
import { CaretDownIcon, CheckIcon, CircleInfoIcon, CirclePlusIcon, CopyIcon, EyeIcon, EyeOffIcon, FilterIcon, MoreIcon, PlusIcon, RotateCcwIcon, SaveIcon, SearchIcon, SettingsIcon, StarIcon, TrashIcon, XIcon } from "@persona/icons";
|
|
40
|
-
import { CaretDownIcon as CaretDownIcon$1, CircleInfoIcon as CircleInfoIcon$1, LockedIcon as LockedIcon$1, MoreIcon as MoreIcon$1, PlusIcon as PlusIcon$1, SearchIcon as SearchIcon$1,
|
|
42
|
+
import { CaretDownIcon as CaretDownIcon$1, CircleInfoIcon as CircleInfoIcon$1, LockedIcon as LockedIcon$1, MoreIcon as MoreIcon$1, PlusIcon as PlusIcon$1, SearchIcon as SearchIcon$1, StarIcon as StarIcon$1, XIcon as XIcon$1 } from "@persona/icons/12px";
|
|
41
43
|
import { debounce, isEqual, noop, partition, startCase, union, uniqueId } from "lodash-es";
|
|
42
44
|
import { useId } from "react-aria";
|
|
43
45
|
import { mergeRefs } from "@react-aria/utils";
|
|
44
46
|
import Fuse from "fuse.js";
|
|
45
47
|
import { DragIcon as DragIcon$1 } from "@persona/icons/24px";
|
|
48
|
+
import { parseAbsolute, parseDate, toCalendarDate, toZoned } from "@internationalized/date";
|
|
46
49
|
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
47
50
|
import { DndContext, PointerSensor, closestCenter, pointerWithin, useSensor, useSensors } from "@dnd-kit/core";
|
|
48
51
|
import { SortableContext, horizontalListSortingStrategy, useSortable } from "@dnd-kit/sortable";
|
|
49
|
-
import { parseAbsolute, parseDate, toCalendarDate, toZoned } from "@internationalized/date";
|
|
50
52
|
import { v4 } from "uuid";
|
|
51
53
|
import { DragDropContext, Draggable, Droppable } from "@hello-pangea/dnd";
|
|
52
54
|
//#region src/components/DataTable/FormControlLabel/FormControlLabel.ts
|
|
@@ -55,7 +57,7 @@ const FormControlLabel = styled(Label$1).attrs(() => ({
|
|
|
55
57
|
weight: "bold"
|
|
56
58
|
}))`
|
|
57
59
|
margin-bottom: ${Spacing[2]};
|
|
58
|
-
transition: ${"200ms"};
|
|
60
|
+
transition: ${"200ms"} ${"cubic-bezier(0.4, 0, 0.2, 1)"};
|
|
59
61
|
display: inline-block;
|
|
60
62
|
|
|
61
63
|
${({ theme, isDisabled }) => css`
|
|
@@ -429,7 +431,7 @@ const SavedViewTab = ({ view, selected, tabIdPrefix = TAB_ID_PREFIX, canEditView
|
|
|
429
431
|
}
|
|
430
432
|
} : void 0,
|
|
431
433
|
"aria-keyshortcuts": onKeyboardMove ? "Alt+Shift+ArrowLeft Alt+Shift+ArrowRight" : void 0,
|
|
432
|
-
prefixIcon: isStarredDefault ? /* @__PURE__ */ jsx(
|
|
434
|
+
prefixIcon: isStarredDefault ? /* @__PURE__ */ jsx(StarIcon$1, { "aria-hidden": true }) : void 0,
|
|
433
435
|
suffixIcon: showMenu ? /* @__PURE__ */ jsx(MoreIcon, {}) : void 0,
|
|
434
436
|
"aria-description": isStarredDefault ? strings.defaultView : void 0,
|
|
435
437
|
"data-starred-default": isStarredDefault || void 0,
|
|
@@ -589,7 +591,7 @@ const LockedViewTab = ({ id, selected, onClick, icon = "locked", children, ...pr
|
|
|
589
591
|
id,
|
|
590
592
|
selected,
|
|
591
593
|
onClick: selected ? void 0 : onClick,
|
|
592
|
-
prefixIcon: icon === "starred" ? /* @__PURE__ */ jsx(
|
|
594
|
+
prefixIcon: icon === "starred" ? /* @__PURE__ */ jsx(StarIcon$1, { "aria-hidden": true }) : void 0,
|
|
593
595
|
suffixIcon: icon === "locked" ? /* @__PURE__ */ jsx(LockedIcon$1, {}) : void 0,
|
|
594
596
|
"data-starred-default": icon === "starred" || void 0,
|
|
595
597
|
"aria-description": icon === "starred" ? strings.defaultView : void 0,
|
|
@@ -1737,11 +1739,26 @@ function isValuelessOperator(operator, field) {
|
|
|
1737
1739
|
const config = getConditionOperator(field, operator);
|
|
1738
1740
|
return config != null ? config.valueType === "none" : VALUELESS_OPERATORS.has(operator);
|
|
1739
1741
|
}
|
|
1742
|
+
function isEmptyRuleValue(value) {
|
|
1743
|
+
return value == null || value === "" || Array.isArray(value) && value.length === 0;
|
|
1744
|
+
}
|
|
1745
|
+
/**
|
|
1746
|
+
* The error message a condition operator's `validate` returns for `value`, or
|
|
1747
|
+
* `undefined` when the value is accepted, empty, or the operator has no
|
|
1748
|
+
* validator. Value controls show it below the input; a rule with a message
|
|
1749
|
+
* is incomplete (see `hasCompleteConditionValue`).
|
|
1750
|
+
*/
|
|
1751
|
+
function getConditionValueError(field, operator, value) {
|
|
1752
|
+
const validate = getConditionOperator(field, operator)?.validate;
|
|
1753
|
+
if (validate == null || isEmptyRuleValue(value)) return;
|
|
1754
|
+
return validate(value) || void 0;
|
|
1755
|
+
}
|
|
1740
1756
|
function hasCompleteConditionValue(rule, field) {
|
|
1741
1757
|
const config = getConditionOperator(field, rule.operator);
|
|
1742
1758
|
if (config == null) return false;
|
|
1743
1759
|
const { value } = rule;
|
|
1744
1760
|
if (config.isComplete != null && !config.isComplete(value)) return false;
|
|
1761
|
+
if (getConditionValueError(field, rule.operator, value) != null) return false;
|
|
1745
1762
|
switch (config.valueType) {
|
|
1746
1763
|
case "none": return value === null;
|
|
1747
1764
|
case "boolean": return typeof value === "boolean";
|
|
@@ -2342,6 +2359,7 @@ const FILTER_SIZE_TOKENS = {
|
|
|
2342
2359
|
//#endregion
|
|
2343
2360
|
//#region src/components/DataTable/TableControls/FiltersV2/AdvancedFilterRulesPopover/AdvancedFilterRulesPopover.tsx
|
|
2344
2361
|
const PopoverContent = styled(PopoverPrimitive.Content)`
|
|
2362
|
+
${popoverMotion("--radix-popover-content-transform-origin")}
|
|
2345
2363
|
z-index: ${Z_INDICES.modalDropdown};
|
|
2346
2364
|
`;
|
|
2347
2365
|
const PopoverCard$1 = styled(Card_default)`
|
|
@@ -3083,6 +3101,41 @@ const DateValueControl = ({ field, operator, value, onChange, ariaLabel, dateTim
|
|
|
3083
3101
|
});
|
|
3084
3102
|
};
|
|
3085
3103
|
//#endregion
|
|
3104
|
+
//#region src/components/DataTable/TableControls/FiltersV2/value-controls/useValueControlError.tsx
|
|
3105
|
+
const ErrorTextSlot = styled.div`
|
|
3106
|
+
margin-top: ${Spacing[1]};
|
|
3107
|
+
`;
|
|
3108
|
+
/**
|
|
3109
|
+
* Error state for a text-like value control (`Input`). Returns the props that
|
|
3110
|
+
* put the input in its error state (red border, `aria-invalid`, linked to the
|
|
3111
|
+
* message) and the message element to render after the input, styled like
|
|
3112
|
+
* `FormField`'s `errorText`.
|
|
3113
|
+
*
|
|
3114
|
+
* With no `errorMessage` both are empty, so the control renders exactly as it
|
|
3115
|
+
* did without validation. The message is a sibling rather than a wrapper, so
|
|
3116
|
+
* the input keeps its place in the tree (and its focus) when the message
|
|
3117
|
+
* appears or clears while the user types.
|
|
3118
|
+
*/
|
|
3119
|
+
function useValueControlError(errorMessage) {
|
|
3120
|
+
const errorId = useMemo(() => uniqueId("pds_filter_value_error__"), []);
|
|
3121
|
+
if (!errorMessage) return {
|
|
3122
|
+
inputProps: {},
|
|
3123
|
+
errorText: null
|
|
3124
|
+
};
|
|
3125
|
+
return {
|
|
3126
|
+
inputProps: {
|
|
3127
|
+
hasError: true,
|
|
3128
|
+
"aria-describedby": errorId,
|
|
3129
|
+
"aria-errormessage": errorId
|
|
3130
|
+
},
|
|
3131
|
+
errorText: /* @__PURE__ */ jsx(ErrorTextSlot, { children: /* @__PURE__ */ jsx(ErrorText, {
|
|
3132
|
+
id: errorId,
|
|
3133
|
+
role: "alert",
|
|
3134
|
+
children: errorMessage
|
|
3135
|
+
}) })
|
|
3136
|
+
};
|
|
3137
|
+
}
|
|
3138
|
+
//#endregion
|
|
3086
3139
|
//#region src/components/DataTable/TableControls/FiltersV2/value-controls/utils.ts
|
|
3087
3140
|
/**
|
|
3088
3141
|
* Coerce a `FilterRuleValue` into a string suitable for an `<input>`'s
|
|
@@ -3130,7 +3183,7 @@ function numericDisplayValue(value) {
|
|
|
3130
3183
|
* `onChange` is debounced (300ms) to avoid committing on every keystroke;
|
|
3131
3184
|
* the debounce flushes on blur or Enter and cancels on unmount.
|
|
3132
3185
|
*/
|
|
3133
|
-
const FloatValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
3186
|
+
const FloatValueControl = ({ field, operator, value, onChange, ariaLabel, errorMessage }) => {
|
|
3134
3187
|
const strings = usePDSStrings();
|
|
3135
3188
|
const size = useFilterBarSize();
|
|
3136
3189
|
const [localValue, setLocalValue] = useState(() => numericDisplayValue(value));
|
|
@@ -3159,8 +3212,10 @@ const FloatValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
|
3159
3212
|
const handleKeyDown = useCallback((event) => {
|
|
3160
3213
|
if (event.key === "Enter" && !event.defaultPrevented && !event.nativeEvent.isComposing) debouncedOnChange.flush();
|
|
3161
3214
|
}, [debouncedOnChange]);
|
|
3215
|
+
const { inputProps: errorInputProps, errorText } = useValueControlError(errorMessage);
|
|
3162
3216
|
if (isValuelessOperator(operator)) return null;
|
|
3163
|
-
return /* @__PURE__ */ jsx(Input_default, {
|
|
3217
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Input_default, {
|
|
3218
|
+
...errorInputProps,
|
|
3164
3219
|
type: "number",
|
|
3165
3220
|
size,
|
|
3166
3221
|
step: "any",
|
|
@@ -3178,7 +3233,7 @@ const FloatValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
|
3178
3233
|
debouncedOnChange.flush();
|
|
3179
3234
|
setLocalValue(numericDisplayValue(value));
|
|
3180
3235
|
}
|
|
3181
|
-
});
|
|
3236
|
+
}), errorText] });
|
|
3182
3237
|
};
|
|
3183
3238
|
//#endregion
|
|
3184
3239
|
//#region src/components/DataTable/TableControls/FiltersV2/value-controls/IntegerValueControl/IntegerValueControl.tsx
|
|
@@ -3207,7 +3262,7 @@ const FloatValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
|
3207
3262
|
* `onChange` is debounced (300ms) to avoid committing on every keystroke;
|
|
3208
3263
|
* the debounce flushes on blur or Enter and cancels on unmount.
|
|
3209
3264
|
*/
|
|
3210
|
-
const IntegerValueControl = ({ field, operator, value, onChange, ariaLabel }) => {
|
|
3265
|
+
const IntegerValueControl = ({ field, operator, value, onChange, ariaLabel, errorMessage }) => {
|
|
3211
3266
|
const strings = usePDSStrings();
|
|
3212
3267
|
const size = useFilterBarSize();
|
|
3213
3268
|
const [localValue, setLocalValue] = useState(() => numericDisplayValue(value));
|
|
@@ -3236,8 +3291,10 @@ const IntegerValueControl = ({ field, operator, value, onChange, ariaLabel }) =>
|
|
|
3236
3291
|
const handleKeyDown = useCallback((event) => {
|
|
3237
3292
|
if (event.key === "Enter" && !event.defaultPrevented && !event.nativeEvent.isComposing) debouncedOnChange.flush();
|
|
3238
3293
|
}, [debouncedOnChange]);
|
|
3294
|
+
const { inputProps: errorInputProps, errorText } = useValueControlError(errorMessage);
|
|
3239
3295
|
if (isValuelessOperator(operator)) return null;
|
|
3240
|
-
return /* @__PURE__ */ jsx(Input_default, {
|
|
3296
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Input_default, {
|
|
3297
|
+
...errorInputProps,
|
|
3241
3298
|
type: "number",
|
|
3242
3299
|
size,
|
|
3243
3300
|
step: 1,
|
|
@@ -3255,12 +3312,12 @@ const IntegerValueControl = ({ field, operator, value, onChange, ariaLabel }) =>
|
|
|
3255
3312
|
debouncedOnChange.flush();
|
|
3256
3313
|
setLocalValue(numericDisplayValue(value));
|
|
3257
3314
|
}
|
|
3258
|
-
});
|
|
3315
|
+
}), errorText] });
|
|
3259
3316
|
};
|
|
3260
3317
|
//#endregion
|
|
3261
3318
|
//#region src/components/DataTable/TableControls/FiltersV2/value-controls/StringValueControl/StringValueControl.tsx
|
|
3262
3319
|
const DEBOUNCE_MS = 300;
|
|
3263
|
-
function StringValueControl({ field, operator, value, onChange, ariaLabel, inputType, placeholder, id }) {
|
|
3320
|
+
function StringValueControl({ field, operator, value, onChange, ariaLabel, errorMessage, inputType, placeholder, id }) {
|
|
3264
3321
|
const generatedId = useMemo(() => uniqueId("filter_v2_string_"), []);
|
|
3265
3322
|
const inputId = id ?? generatedId;
|
|
3266
3323
|
const resolvedInputType = inputType ?? (field.type === "email" ? "email" : "text");
|
|
@@ -3273,8 +3330,10 @@ function StringValueControl({ field, operator, value, onChange, ariaLabel, input
|
|
|
3273
3330
|
useEffect(() => {
|
|
3274
3331
|
setLocalValue(typeof value === "string" ? value : "");
|
|
3275
3332
|
}, [value]);
|
|
3333
|
+
const { inputProps: errorInputProps, errorText } = useValueControlError(errorMessage);
|
|
3276
3334
|
if (isValuelessOperator(operator)) return null;
|
|
3277
|
-
return /* @__PURE__ */ jsx(Input_default, {
|
|
3335
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Input_default, {
|
|
3336
|
+
...errorInputProps,
|
|
3278
3337
|
id: inputId,
|
|
3279
3338
|
type: resolvedInputType,
|
|
3280
3339
|
size,
|
|
@@ -3291,7 +3350,7 @@ function StringValueControl({ field, operator, value, onChange, ariaLabel, input
|
|
|
3291
3350
|
onKeyDown: (event) => {
|
|
3292
3351
|
if (event.key === "Enter" && !event.defaultPrevented && !event.nativeEvent.isComposing) debouncedOnChange.flush();
|
|
3293
3352
|
}
|
|
3294
|
-
});
|
|
3353
|
+
}), errorText] });
|
|
3295
3354
|
}
|
|
3296
3355
|
//#endregion
|
|
3297
3356
|
//#region src/components/DataTable/TableControls/FiltersV2/FilterBar/value-control-resolver.tsx
|
|
@@ -3310,8 +3369,13 @@ const RESOLVERS = {
|
|
|
3310
3369
|
float: (opts) => /* @__PURE__ */ jsx(FloatValueControl, { ...opts }),
|
|
3311
3370
|
array: (opts) => /* @__PURE__ */ jsx(ArrayValueControl, { ...opts })
|
|
3312
3371
|
};
|
|
3313
|
-
function resolveValueControl(
|
|
3314
|
-
if (
|
|
3372
|
+
function resolveValueControl(options, hostResolver) {
|
|
3373
|
+
if (options.field.condition != null && isValuelessOperator(options.operator, options.field)) return null;
|
|
3374
|
+
const errorMessage = options.errorMessage ?? getConditionValueError(options.field, options.operator, options.value);
|
|
3375
|
+
const opts = errorMessage == null ? options : {
|
|
3376
|
+
...options,
|
|
3377
|
+
errorMessage
|
|
3378
|
+
};
|
|
3315
3379
|
const hostControl = hostResolver?.(opts);
|
|
3316
3380
|
if (hostControl != null) return hostControl;
|
|
3317
3381
|
const config = getConditionOperator(opts.field, opts.operator);
|
|
@@ -3424,7 +3488,7 @@ const PillRoot = styled.span`
|
|
|
3424
3488
|
max-width: 100%;
|
|
3425
3489
|
cursor: pointer;
|
|
3426
3490
|
user-select: none;
|
|
3427
|
-
transition: background-color ${"
|
|
3491
|
+
transition: background-color ${"200ms"} ${"cubic-bezier(0.4, 0, 0.2, 1)"};
|
|
3428
3492
|
|
|
3429
3493
|
/* Keyboard focus lands on the inner body button, so the visible focus
|
|
3430
3494
|
ring is drawn on the whole pill via :focus-within. */
|
|
@@ -4557,8 +4621,8 @@ const PillsScrollTrack = styled.div`
|
|
|
4557
4621
|
-webkit-mask-image: ${({ $showLeftFade, $showRightFade }) => buildEdgeMaskImage($showLeftFade, $showRightFade)};
|
|
4558
4622
|
mask-image: ${({ $showLeftFade, $showRightFade }) => buildEdgeMaskImage($showLeftFade, $showRightFade)};
|
|
4559
4623
|
transition:
|
|
4560
|
-
-webkit-mask-image ${"200ms"}
|
|
4561
|
-
mask-image ${"200ms"}
|
|
4624
|
+
-webkit-mask-image ${"200ms"} ${"cubic-bezier(0.4, 0, 0.2, 1)"},
|
|
4625
|
+
mask-image ${"200ms"} ${"cubic-bezier(0.4, 0, 0.2, 1)"};
|
|
4562
4626
|
|
|
4563
4627
|
& > * {
|
|
4564
4628
|
flex: 0 0 auto;
|
|
@@ -4870,7 +4934,7 @@ const StyledIconDrag = styled(DragIcon$1)`
|
|
|
4870
4934
|
opacity: 0.4;
|
|
4871
4935
|
`}
|
|
4872
4936
|
|
|
4873
|
-
transition: opacity 0.
|
|
4937
|
+
transition: opacity ${"200ms"} ${"cubic-bezier(0.4, 0, 0.2, 1)"};
|
|
4874
4938
|
|
|
4875
4939
|
path {
|
|
4876
4940
|
stroke: ${({ theme }) => semanticColor(theme, "FgPrimary", Color.CoreSlate1000)};
|
|
@@ -5585,6 +5649,6 @@ function decodeBase64(input) {
|
|
|
5585
5649
|
return decodeURIComponent(escape(atob(input)));
|
|
5586
5650
|
}
|
|
5587
5651
|
//#endregion
|
|
5588
|
-
export {
|
|
5652
|
+
export { isCompleteDateRange as A, TableControlsProvider as B, useFilterBarSize as C, getDefaultOperatorForType as D, getConditionValueError as E, FiltersContainer as F, ControlBar as H, getActiveFilters as I, isFilterActive as L, isRangeOperator as M, isValuelessOperator as N, getOperatorsForField as O, reconcileValueForOperator as P, resolveFilterTypeDefinition as R, FILTER_SIZE_TOKENS as S, emptyValueForRule as T, DataTableCompactBar as U, useTableControls as V, EMPTY_FILTER_STATE as _, encodeFilterStateToUrlParam as a, resolveValueControl as b, FilterBar_default as c, TableViewConfiguration as d, TableViewConfigurationDropdown as f, pruneToRegistry as g, isFilterStateV2 as h, decodeFilterStateFromUrl as i, isNumericComparisonOperator as j, getOperatorsForType as k, resolveDateRangeRuleValue as l, hasCompleteValue as m, applyFilterStateToSearchParams as n, FieldRegistry as o, useFilterStateV2 as p, decodeFilterStateFromString as r, buildFieldRegistry as s, FILTER_STATE_URL_PARAM as t, TableControls as u, isEmptyState as v, NUMERIC_COMPARISON_OPERATORS as w, dateRuleIntent as x, PillShell as y, TableControlsContext as z };
|
|
5589
5653
|
|
|
5590
|
-
//# sourceMappingURL=TableControls-
|
|
5654
|
+
//# sourceMappingURL=TableControls-CX7BvgD2.mjs.map
|