diff --git a/.changeset/small-spiders-add.md b/.changeset/small-spiders-add.md new file mode 100644 index 00000000000..e4fa4b25e11 --- /dev/null +++ b/.changeset/small-spiders-add.md @@ -0,0 +1,5 @@ +--- +'polaris.shopify.com': patch +--- + +Fix column content alignment for the IndexTable and IndexFilters total column diff --git a/polaris.shopify.com/pages/examples/index-filters-default.tsx b/polaris.shopify.com/pages/examples/index-filters-default.tsx index 2524969e998..393b19cc162 100644 --- a/polaris.shopify.com/pages/examples/index-filters-default.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-default.tsx @@ -319,7 +319,11 @@ function IndexFiltersDefaultExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-disabled.tsx b/polaris.shopify.com/pages/examples/index-filters-disabled.tsx index 40152098816..bf4f61e17d8 100644 --- a/polaris.shopify.com/pages/examples/index-filters-disabled.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-disabled.tsx @@ -319,7 +319,11 @@ function IndexFiltersDisabledExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-edit-colums-button.tsx b/polaris.shopify.com/pages/examples/index-filters-with-edit-colums-button.tsx index 0cabe479098..a3605e98496 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-edit-colums-button.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-edit-colums-button.tsx @@ -319,7 +319,11 @@ function IndexFiltersDefaultExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-filtering-mode.tsx b/polaris.shopify.com/pages/examples/index-filters-with-filtering-mode.tsx index bc555dffd47..cdb9197227d 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-filtering-mode.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-filtering-mode.tsx @@ -320,7 +320,11 @@ function IndexFiltersWithFilteringModeExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-no-filters.tsx b/polaris.shopify.com/pages/examples/index-filters-with-no-filters.tsx index 6b6adb6dc79..ebb61769c0f 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-no-filters.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-no-filters.tsx @@ -196,7 +196,11 @@ function IndexFiltersWithNoFiltersExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-no-search-or-filters.tsx b/polaris.shopify.com/pages/examples/index-filters-with-no-search-or-filters.tsx index 146b67f0c45..886f171303c 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-no-search-or-filters.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-no-search-or-filters.tsx @@ -190,7 +190,11 @@ function IndexFiltersWithNoSearchOrFiltersExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-no-search.tsx b/polaris.shopify.com/pages/examples/index-filters-with-no-search.tsx index ab493016542..ac69d5eb3b6 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-no-search.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-no-search.tsx @@ -319,7 +319,11 @@ function IndexFiltersDefault() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx b/polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx index 4abc3551738..4ba7cc7d323 100644 --- a/polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx +++ b/polaris.shopify.com/pages/examples/index-filters-with-pinned-filters.tsx @@ -319,7 +319,11 @@ function IndexFiltersWithPinnedFiltersExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-default.tsx b/polaris.shopify.com/pages/examples/index-table-default.tsx index 287062f751f..a5be4b49008 100644 --- a/polaris.shopify.com/pages/examples/index-table-default.tsx +++ b/polaris.shopify.com/pages/examples/index-table-default.tsx @@ -65,7 +65,11 @@ function SimpleIndexTableExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-bulk-actions-and-selection-across-pages.tsx b/polaris.shopify.com/pages/examples/index-table-with-bulk-actions-and-selection-across-pages.tsx index 6da08ed8fa5..a4f5cf718de 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-bulk-actions-and-selection-across-pages.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-bulk-actions-and-selection-across-pages.tsx @@ -65,7 +65,11 @@ function IndexTableWithBulkActionsAndSelectionAcrossPagesExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-bulk-actions.tsx b/polaris.shopify.com/pages/examples/index-table-with-bulk-actions.tsx index 1a9b39657b6..9ab93954204 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-bulk-actions.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-bulk-actions.tsx @@ -65,7 +65,11 @@ function IndexTableWithBulkActionsExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-disabled-rows.tsx b/polaris.shopify.com/pages/examples/index-table-with-disabled-rows.tsx index db1d10c12b4..8cfad99e13e 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-disabled-rows.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-disabled-rows.tsx @@ -80,7 +80,11 @@ function IndexTableWithDisabledRowsExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-filtering.tsx b/polaris.shopify.com/pages/examples/index-table-with-filtering.tsx index a88d4e637a4..0120add9cb4 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-filtering.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-filtering.tsx @@ -290,7 +290,11 @@ function IndexTableWithFilteringExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-loading-state.tsx b/polaris.shopify.com/pages/examples/index-table-with-loading-state.tsx index 98f6fa5663b..32292589a3b 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-loading-state.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-loading-state.tsx @@ -320,7 +320,11 @@ function IndexTableWithLoadingExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-multiple-promoted-bulk-actions.tsx b/polaris.shopify.com/pages/examples/index-table-with-multiple-promoted-bulk-actions.tsx index b12a484fa7b..7ea3d0d3e87 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-multiple-promoted-bulk-actions.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-multiple-promoted-bulk-actions.tsx @@ -65,7 +65,11 @@ function IndexTableWithMultiplePromotedBulkActionsExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-pagination.tsx b/polaris.shopify.com/pages/examples/index-table-with-pagination.tsx index 9a2458ee5f0..af3acb2dae5 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-pagination.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-pagination.tsx @@ -65,7 +65,11 @@ function IndexTableWithPaginationExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-sticky-last-column.tsx b/polaris.shopify.com/pages/examples/index-table-with-sticky-last-column.tsx index d302187cf25..e7d6058a66b 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-sticky-last-column.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-sticky-last-column.tsx @@ -65,7 +65,11 @@ function StickyLastCellIndexTableExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-with-views-search-filter-sorting.tsx b/polaris.shopify.com/pages/examples/index-table-with-views-search-filter-sorting.tsx index 076c7d96e8f..438cee5c362 100644 --- a/polaris.shopify.com/pages/examples/index-table-with-views-search-filter-sorting.tsx +++ b/polaris.shopify.com/pages/examples/index-table-with-views-search-filter-sorting.tsx @@ -320,7 +320,11 @@ function IndexTableWithViewsSearchFilterSorting() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus} diff --git a/polaris.shopify.com/pages/examples/index-table-without-checkboxes.tsx b/polaris.shopify.com/pages/examples/index-table-without-checkboxes.tsx index a534ed60004..8d4eba00e5e 100644 --- a/polaris.shopify.com/pages/examples/index-table-without-checkboxes.tsx +++ b/polaris.shopify.com/pages/examples/index-table-without-checkboxes.tsx @@ -56,7 +56,11 @@ function IndexTableWithoutCheckboxesExample() { {date} {customer} - {total} + + + {total} + + {paymentStatus} {fulfillmentStatus}