By clicking Connect, you agree to accept Sample App’s{' '}
- terms and conditions. You’ll pay a
+ terms and conditions. You’ll pay a
commission rate of 15% on sales made through Sample App.
);
diff --git a/polaris.shopify.com/pages/examples/banner-critical.tsx b/polaris.shopify.com/pages/examples/banner-critical.tsx
index b9528607fd0..5971a6bfb34 100644
--- a/polaris.shopify.com/pages/examples/banner-critical.tsx
+++ b/polaris.shopify.com/pages/examples/banner-critical.tsx
@@ -11,7 +11,7 @@ function BannerExample() {
>
Before fulfilling this order or capturing payment, please{' '}
- review the Risk Analysis and determine if this order
+ review the Risk Analysis and determine if this order
is fraudulent.
diff --git a/polaris.shopify.com/pages/examples/banner-dismissible.tsx b/polaris.shopify.com/pages/examples/banner-dismissible.tsx
index ca889889782..dd52e15463f 100644
--- a/polaris.shopify.com/pages/examples/banner-dismissible.tsx
+++ b/polaris.shopify.com/pages/examples/banner-dismissible.tsx
@@ -7,7 +7,7 @@ function BannerExample() {
{}}>
Use your finance report to get detailed information about your business.{' '}
- Let us know what you think
+ Let us know what you think
);
diff --git a/polaris.shopify.com/pages/examples/banner-in-a-card.tsx b/polaris.shopify.com/pages/examples/banner-in-a-card.tsx
index 5a9e07a3673..b06f63ca1bb 100644
--- a/polaris.shopify.com/pages/examples/banner-in-a-card.tsx
+++ b/polaris.shopify.com/pages/examples/banner-in-a-card.tsx
@@ -9,7 +9,7 @@ function BannerExample() {
{}}>
Use your finance report to get detailed information about your
- business. Let us know what you think
+ business. Let us know what you think
diff --git a/polaris.shopify.com/pages/examples/collapsible-default.tsx b/polaris.shopify.com/pages/examples/collapsible-default.tsx
index 331c1ec4794..8d3594004aa 100644
--- a/polaris.shopify.com/pages/examples/collapsible-default.tsx
+++ b/polaris.shopify.com/pages/examples/collapsible-default.tsx
@@ -37,7 +37,7 @@ function CollapsibleExample() {
have shown an interest in your store. Reach out to them with
exclusive offers or updates about your products.
- Test link
+ Test link
diff --git a/polaris.shopify.com/pages/examples/empty-state-with-subdued-footer-context.tsx b/polaris.shopify.com/pages/examples/empty-state-with-subdued-footer-context.tsx
index f7b7e7fcab3..ff85a795a94 100644
--- a/polaris.shopify.com/pages/examples/empty-state-with-subdued-footer-context.tsx
+++ b/polaris.shopify.com/pages/examples/empty-state-with-subdued-footer-context.tsx
@@ -16,7 +16,7 @@ function EmptyStateExample() {
If you don’t want to add a transfer, you can import your inventory
from{' '}
-
+
settings
.
diff --git a/polaris.shopify.com/pages/examples/footer-help-default.tsx b/polaris.shopify.com/pages/examples/footer-help-default.tsx
index 4eb2bc710d5..457edf80508 100644
--- a/polaris.shopify.com/pages/examples/footer-help-default.tsx
+++ b/polaris.shopify.com/pages/examples/footer-help-default.tsx
@@ -6,7 +6,7 @@ function FooterHelpExample() {
return (
Learn more about{' '}
-
+
fulfilling orders
diff --git a/polaris.shopify.com/pages/examples/link-default.tsx b/polaris.shopify.com/pages/examples/link-default.tsx
index 988428b33bd..17dd1b3194a 100644
--- a/polaris.shopify.com/pages/examples/link-default.tsx
+++ b/polaris.shopify.com/pages/examples/link-default.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
function LinkExample() {
- return fulfilling orders;
+ return fulfilling orders;
}
export default withPolarisExample(LinkExample);
diff --git a/polaris.shopify.com/pages/examples/link-external.tsx b/polaris.shopify.com/pages/examples/link-external.tsx
index 696ecab6939..6e92eacb344 100644
--- a/polaris.shopify.com/pages/examples/link-external.tsx
+++ b/polaris.shopify.com/pages/examples/link-external.tsx
@@ -4,7 +4,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
function LinkExample() {
return (
-
+
Shopify Help Center
);
diff --git a/polaris.shopify.com/pages/examples/link-monochrome-in-a-banner.tsx b/polaris.shopify.com/pages/examples/link-monochrome-in-a-banner.tsx
index ac3d6667bc0..d272356c92c 100644
--- a/polaris.shopify.com/pages/examples/link-monochrome-in-a-banner.tsx
+++ b/polaris.shopify.com/pages/examples/link-monochrome-in-a-banner.tsx
@@ -6,7 +6,7 @@ function LinkExample() {
return (
Learn more about{' '}
- fulfilling orders
+ fulfilling orders
);
}
diff --git a/polaris.shopify.com/pages/examples/link-monochrome.tsx b/polaris.shopify.com/pages/examples/link-monochrome.tsx
index cd6c1d9dc66..2ea0ffccce2 100644
--- a/polaris.shopify.com/pages/examples/link-monochrome.tsx
+++ b/polaris.shopify.com/pages/examples/link-monochrome.tsx
@@ -4,7 +4,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
function LinkExample() {
return (
-
+
fulfilling orders
);
diff --git a/polaris.shopify.com/pages/examples/popover-with-searchable-listbox.tsx b/polaris.shopify.com/pages/examples/popover-with-searchable-listbox.tsx
index 3e84c2c897c..e9fb50ea5d5 100644
--- a/polaris.shopify.com/pages/examples/popover-with-searchable-listbox.tsx
+++ b/polaris.shopify.com/pages/examples/popover-with-searchable-listbox.tsx
@@ -185,7 +185,7 @@ function PopoverWithSearchableListboxExample() {
borderBottom: '1px dashed var(--p-color-border)',
}}
>
-
+
{segments[selectedSegmentIndex].label}
From 8973cafaeb898a8f4ae99eed04c7ad4fc8fc03fa Mon Sep 17 00:00:00 2001
From: aveline
Date: Thu, 27 Apr 2023 13:34:11 -0700
Subject: [PATCH 10/13] Update more styleguide `Link` examples
---
.../data-table-with-all-of-its-elements.tsx | 9 ++--
.../data-table-with-fixed-first-columns.tsx | 54 +++++++------------
...h-increased-density-and-zebra-striping.tsx | 9 ++--
.../data-table-with-row-heading-links.tsx | 9 ++--
.../data-table-with-sticky-header-enabled.tsx | 54 +++++++------------
.../index-table-with-row-navigation-link.tsx | 2 +-
6 files changed, 46 insertions(+), 91 deletions(-)
diff --git a/polaris.shopify.com/pages/examples/data-table-with-all-of-its-elements.tsx b/polaris.shopify.com/pages/examples/data-table-with-all-of-its-elements.tsx
index 62e9a28ee13..6d71a86980f 100644
--- a/polaris.shopify.com/pages/examples/data-table-with-all-of-its-elements.tsx
+++ b/polaris.shopify.com/pages/examples/data-table-with-all-of-its-elements.tsx
@@ -8,8 +8,7 @@ function FullDataTableExample() {
const initiallySortedRows: TableData[][] = [
[
Emerald Silk Gown
@@ -21,8 +20,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -34,8 +32,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
diff --git a/polaris.shopify.com/pages/examples/data-table-with-fixed-first-columns.tsx b/polaris.shopify.com/pages/examples/data-table-with-fixed-first-columns.tsx
index b1d0fb5b49a..9a927974b57 100644
--- a/polaris.shopify.com/pages/examples/data-table-with-fixed-first-columns.tsx
+++ b/polaris.shopify.com/pages/examples/data-table-with-fixed-first-columns.tsx
@@ -11,8 +11,7 @@ function DataTableWithFixedFirstColumnsExample() {
const rows = [
[
Emerald Silk Gown
@@ -26,8 +25,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -41,8 +39,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -56,8 +53,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Emerald Silk Gown
@@ -71,8 +67,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -86,8 +81,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -101,8 +95,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Emerald Silk Gown
@@ -116,8 +109,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -131,8 +123,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -146,8 +137,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Emerald Silk Gown
@@ -161,8 +151,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -176,8 +165,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -191,8 +179,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Emerald Silk Gown
@@ -206,8 +193,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -221,8 +207,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -236,8 +221,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Emerald Silk Gown
@@ -251,8 +235,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Mauve Cashmere Scarf
@@ -266,8 +249,7 @@ function DataTableWithFixedFirstColumnsExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
diff --git a/polaris.shopify.com/pages/examples/data-table-with-increased-density-and-zebra-striping.tsx b/polaris.shopify.com/pages/examples/data-table-with-increased-density-and-zebra-striping.tsx
index 2d6198e2637..a4a46933322 100644
--- a/polaris.shopify.com/pages/examples/data-table-with-increased-density-and-zebra-striping.tsx
+++ b/polaris.shopify.com/pages/examples/data-table-with-increased-density-and-zebra-striping.tsx
@@ -8,8 +8,7 @@ function FullDataTableExample() {
const initiallySortedRows = [
[
Emerald Silk Gown
@@ -21,8 +20,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -34,8 +32,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
diff --git a/polaris.shopify.com/pages/examples/data-table-with-row-heading-links.tsx b/polaris.shopify.com/pages/examples/data-table-with-row-heading-links.tsx
index e03e2932903..0d27eabca16 100644
--- a/polaris.shopify.com/pages/examples/data-table-with-row-heading-links.tsx
+++ b/polaris.shopify.com/pages/examples/data-table-with-row-heading-links.tsx
@@ -6,8 +6,7 @@ function DataTableLinkExample() {
const rows = [
[
Emerald Silk Gown
@@ -19,8 +18,7 @@ function DataTableLinkExample() {
],
[
Mauve Cashmere Scarf
@@ -32,8 +30,7 @@ function DataTableLinkExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
diff --git a/polaris.shopify.com/pages/examples/data-table-with-sticky-header-enabled.tsx b/polaris.shopify.com/pages/examples/data-table-with-sticky-header-enabled.tsx
index a304f36ad1a..dc6ae3afbf3 100644
--- a/polaris.shopify.com/pages/examples/data-table-with-sticky-header-enabled.tsx
+++ b/polaris.shopify.com/pages/examples/data-table-with-sticky-header-enabled.tsx
@@ -8,8 +8,7 @@ function FullDataTableExample() {
const initiallySortedRows: TableData[][] = [
[
Emerald Silk Gown
@@ -21,8 +20,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -34,8 +32,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -47,8 +44,7 @@ function FullDataTableExample() {
],
[
Emerald Silk Gown
@@ -60,8 +56,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -73,8 +68,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -86,8 +80,7 @@ function FullDataTableExample() {
],
[
Emerald Silk Gown
@@ -99,8 +92,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -112,8 +104,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -125,8 +116,7 @@ function FullDataTableExample() {
],
[
Emerald Silk Gown
@@ -138,8 +128,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -151,8 +140,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -164,8 +152,7 @@ function FullDataTableExample() {
],
[
Emerald Silk Gown
@@ -177,8 +164,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -190,8 +176,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
@@ -203,8 +188,7 @@ function FullDataTableExample() {
],
[
Emerald Silk Gown
@@ -216,8 +200,7 @@ function FullDataTableExample() {
],
[
Mauve Cashmere Scarf
@@ -229,8 +212,7 @@ function FullDataTableExample() {
],
[
Navy Merino Wool Blazer with khaki chinos and yellow belt
diff --git a/polaris.shopify.com/pages/examples/index-table-with-row-navigation-link.tsx b/polaris.shopify.com/pages/examples/index-table-with-row-navigation-link.tsx
index 8829f188f12..a6a16802625 100644
--- a/polaris.shopify.com/pages/examples/index-table-with-row-navigation-link.tsx
+++ b/polaris.shopify.com/pages/examples/index-table-with-row-navigation-link.tsx
@@ -46,7 +46,7 @@ function ClickThroughLinkIndexTableExample() {
console.log(`Clicked ${name}`)}
>
From edede87e648962fc0c0798a75cee0ea463783a4f Mon Sep 17 00:00:00 2001
From: aveline
Date: Thu, 27 Apr 2023 14:21:57 -0700
Subject: [PATCH 11/13] Update link-external.tsx
---
polaris.shopify.com/pages/examples/link-external.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/polaris.shopify.com/pages/examples/link-external.tsx b/polaris.shopify.com/pages/examples/link-external.tsx
index 6e92eacb344..b15f0b334ad 100644
--- a/polaris.shopify.com/pages/examples/link-external.tsx
+++ b/polaris.shopify.com/pages/examples/link-external.tsx
@@ -4,7 +4,7 @@ import {withPolarisExample} from '../../src/components/PolarisExampleWrapper';
function LinkExample() {
return (
-
+
Shopify Help Center
);
From ba541ca680c54da54e5dbfbef3a2a254d9d80886 Mon Sep 17 00:00:00 2001
From: aveline
Date: Fri, 28 Apr 2023 07:30:01 -0700
Subject: [PATCH 12/13] Update Link.test.tsx
---
polaris-react/src/components/Link/tests/Link.test.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/polaris-react/src/components/Link/tests/Link.test.tsx b/polaris-react/src/components/Link/tests/Link.test.tsx
index b5e2db2ecce..ea84baf8c56 100644
--- a/polaris-react/src/components/Link/tests/Link.test.tsx
+++ b/polaris-react/src/components/Link/tests/Link.test.tsx
@@ -137,8 +137,8 @@ describe('', () => {
describe('language', () => {
it('language is passed down', () => {
const link = mountWithApp(
-
- Centre d'aide Shopify
+
+ Centro assistenza Shopify
,
);
const htmlLink = link.find('a');
From be186d5bcf9e906def43963465546af560894e88 Mon Sep 17 00:00:00 2001
From: aveline
Date: Fri, 28 Apr 2023 07:50:30 -0700
Subject: [PATCH 13/13] =?UTF-8?q?=F0=9F=99=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
polaris-react/src/components/Link/tests/Link.test.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/polaris-react/src/components/Link/tests/Link.test.tsx b/polaris-react/src/components/Link/tests/Link.test.tsx
index ea84baf8c56..60e947d1aaa 100644
--- a/polaris-react/src/components/Link/tests/Link.test.tsx
+++ b/polaris-react/src/components/Link/tests/Link.test.tsx
@@ -143,7 +143,7 @@ describe('', () => {
);
const htmlLink = link.find('a');
- expect(htmlLink?.props.lang).toBe('fr');
+ expect(htmlLink?.props.lang).toBe('it');
});
});
});