Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dataviews package version to latest (#93503)
* Update dataviews package version. * Revert renovate lock. * Small style fixes * Update API and types * Import root dataviews styles * Update types and dataviews in a4a project * Fix preview * Fix lock * Fix more type errors * Remove status * More style fixes * Remove patch * Fix column widths * Better styles * Fix empty properties section * Fix scrolling and pagination * Hide overflow and align padding to improve mobile view. * Override launch nag and site url link styles. * Override styles for the plan renew reminder. * Fix type error. * Style search input. * Remove dotcom-specific search styles. * Update the view fields based on useBreakpoint. * Consider list layout as well * Update header to label in a4a fields * Make status filter primary * Fix color for disabled dataviews buttons * Fix code style issue. * Make status filter primary in a4a * Update list of fields for a4a dataviews * Remove spacing that affect filter toggel * Extract defaultLayouts to ItemsData * Remove field list * Do not modify global constant. The initialDataViewsState is a global constant that is imported from a few places. By setting the sort & fields in the sites-dashboard-provider, any place that uses the global constant will inherit them. We should not modify a global constant. If something is shared globally, use the context instead. * Only have table enabled for users * Rename header to labels * Hide filter toggle * Remove search control width to prevent new line. * Only have table enabled for hosting/sites * TeamList: only have table enabled * TeamList: hide filter toggle * TeamList: switch header to label * TeamList: move field.width to layout.styles.fieldId.width * A4A: Remove the .is-hiding-navigation style, the navigation bar is not used. * A4A-Referrals: Hide the DataViews toolbar for Referrals tables * A4A-Team: Hide the DataViews toolbar for Team list table * A4A-Referrals: Hide the DataViews toolbar for ReferralDetails table * A4A-Referrals: Set the defaultLayouts to table * A4A-Referrals: Use label instead of header in fields definition. * A4A-Referrals: Use the Field type for fields definition * Revert "A4A-Team: Hide the DataViews toolbar for Team list table" This reverts commit 17544e0. * Revert "A4A-Referrals: Hide the DataViews toolbar for ReferralDetails table" This reverts commit b8a5b74. * Revert "A4A-Referrals: Hide the DataViews toolbar for Referrals tables" This reverts commit 2746dab. * Centralize hotfixes into components/dataviews so they are straigtforward to find and remove * Referrals: hotfix for hiding filter toggle * A4A Referrals: hotfix for hiding sort direction control * A4A team: hotfix for hiding sort direction control * A4A Sites: hotfix for hiding sort direction control * Add comment explaining hotfix * A4A Team: add pagination * A4A Referrals: add pagination * A4A Referrals details: add pagination * A4A Sites Modal: add pagination * Update @wordpress/dataviews to latest version * Update yarn.lock * Remove hotfix to hide filter toggle that is part of dataviews 4.2 * Dotcom Sites: remove custom sort * Hotfix for filter count * A4A Sites: remove custom sort * A4A sites: add actions label * A4A Sites: remove background color for actions * A4A Referrals: remove background style for actions * A4A Referrals Details: hotfix for media placeholder to fill the whole media wrapper * A4A Referrals Details: hotfix for media field * A4A Referrals Details: remove custom spacing * ItemsDataViews: add missing props * A4A Referral Details: adapt selection (string) to openSitePreviewPanel input (Referral) * A4A Sites: fix favorite behaviour by making sure the queryKey is the same everywhere * Hotfix for filter chip summary: font-size * Add reference to upstream ticket * Hotfix for filter chip summary (font-size): consider filter with no set values as well * Do not override the filter toggle pressed status * A4A Referrals clients: hide sort control * A4A Referrals Client: configure dataviews * A4A: remove left margin in columns that makes them off center * A4A Referrals Client: stop infinite loop * Fix errors in TeamList component. * Fix type errors. * Fix type error in jetpack-sites-dataviews. * Update DataViews to 4.2.0 * Warning/Error row style fixes: padding styles * Set again the enable field to true for the useQuery of useFetchClientProduct * Pass false useFetchClientProducts( false ) in CancelSubscriptionConfirmationDialog * Show A4A fields based on breakpoint. * Show column headers for Dotcom. * Update fields & layout width on breakpoint changes * A4A Sites: update fields on breakpoint change * A4A Sites: hotfix for site notice * A4A Sites: improve spacing by removing custom styles * A4A Sites: improve actions padding in small viewports * A4A Sites: improve actions padding in large viewports * A4A Sites: add back shadow for action columns --------- Co-authored-by: Riad Benguella <[email protected]> Co-authored-by: André <[email protected]> Co-authored-by: cleacos <[email protected]>
- Loading branch information