@shopify/ui-extensions 2025.10.0-rc.35 → 2025.10.0-rc.36
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/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Choice.d.ts +2 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
- package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +2 -9
- package/build/ts/surfaces/admin/components/Modal.d.ts +13 -4
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +2 -9
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar.d.ts +1 -1
- package/src/surfaces/admin/components/Badge.d.ts +1 -1
- package/src/surfaces/admin/components/Banner.d.ts +1 -1
- package/src/surfaces/admin/components/Box.d.ts +1 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/ButtonGroup.d.ts +1 -1
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip.d.ts +1 -1
- package/src/surfaces/admin/components/Choice.d.ts +2 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +1 -1
- package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
- package/src/surfaces/admin/components/ColorField.d.ts +1 -1
- package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
- package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/src/surfaces/admin/components/Divider.d.ts +1 -1
- package/src/surfaces/admin/components/DropZone.d.ts +1 -1
- package/src/surfaces/admin/components/EmailField.d.ts +1 -1
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +1 -1
- package/src/surfaces/admin/components/GridItem.d.ts +1 -1
- package/src/surfaces/admin/components/Heading.d.ts +1 -1
- package/src/surfaces/admin/components/Icon.d.ts +1 -1
- package/src/surfaces/admin/components/Image.d.ts +1 -1
- package/src/surfaces/admin/components/Link.d.ts +1 -1
- package/src/surfaces/admin/components/ListItem.d.ts +1 -1
- package/src/surfaces/admin/components/Menu.d.ts +2 -9
- package/src/surfaces/admin/components/Modal.d.ts +13 -4
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/src/surfaces/admin/components/NumberField.d.ts +1 -1
- package/src/surfaces/admin/components/Option.d.ts +1 -1
- package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/src/surfaces/admin/components/Page.d.ts +1 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/Popover/examples/default.html +2 -2
- package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section.d.ts +1 -1
- package/src/surfaces/admin/components/Select.d.ts +1 -1
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +1 -1
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table.d.ts +1 -1
- package/src/surfaces/admin/components/TableBody.d.ts +1 -1
- package/src/surfaces/admin/components/TableCell.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/src/surfaces/admin/components/TableRow.d.ts +1 -1
- package/src/surfaces/admin/components/Text.d.ts +1 -1
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField.d.ts +1 -1
- package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/src/surfaces/admin/components/Tooltip.d.ts +2 -9
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +11 -5
- package/src/surfaces/admin/components/patterns/examples/details.jsx +9 -7
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +24 -48
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +21 -49
- package/src/surfaces/admin/components/patterns/examples/index.html +21 -23
- package/src/surfaces/admin/components/patterns/examples/index.jsx +19 -24
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +132 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +90 -49
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +92 -47
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +5 -4
- package/src/surfaces/admin/components/shared.d.ts +1 -1
- package/src/surfaces/admin/components.d.ts +15 -6
- package/src/surfaces/point-of-sale/types/cart.ts +2 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +5 -0
|
@@ -30,27 +30,19 @@ export default function IndexPage() {
|
|
|
30
30
|
</s-box>
|
|
31
31
|
<s-grid
|
|
32
32
|
justifyItems="center"
|
|
33
|
-
maxBlockSize="450px"
|
|
34
33
|
maxInlineSize="450px"
|
|
34
|
+
gap="base"
|
|
35
35
|
>
|
|
36
|
-
<s-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
gap="small-200"
|
|
42
|
-
justifyContent="center"
|
|
43
|
-
padding="base"
|
|
44
|
-
paddingBlockEnd="none"
|
|
45
|
-
direction="inline"
|
|
46
|
-
>
|
|
47
|
-
<s-button aria-label="Learn more about creating puzzles">
|
|
48
|
-
Learn more
|
|
49
|
-
</s-button>
|
|
50
|
-
<s-button variant="primary" aria-label="Add a new puzzle">
|
|
51
|
-
Create puzzle
|
|
52
|
-
</s-button>
|
|
36
|
+
<s-stack alignItems="center">
|
|
37
|
+
<s-heading>Start creating puzzles</s-heading>
|
|
38
|
+
<s-paragraph>
|
|
39
|
+
Create and manage your collection of puzzles for players to enjoy.
|
|
40
|
+
</s-paragraph>
|
|
53
41
|
</s-stack>
|
|
42
|
+
<s-button-group>
|
|
43
|
+
<s-button aria-label="Learn more about creating puzzles"> Learn more </s-button>
|
|
44
|
+
<s-button variant="primary" aria-label="Add a new puzzle"> Create puzzle </s-button>
|
|
45
|
+
</s-button-group>
|
|
54
46
|
</s-grid>
|
|
55
47
|
</s-grid>
|
|
56
48
|
</s-section>
|
|
@@ -60,10 +52,10 @@ export default function IndexPage() {
|
|
|
60
52
|
{/* This should only be visible if the merchant has created one or more puzzles. */}
|
|
61
53
|
{/* === */}
|
|
62
54
|
<s-section padding="none" accessibilityLabel="Puzzles table section">
|
|
63
|
-
<s-table
|
|
55
|
+
<s-table>
|
|
64
56
|
<s-table-header-row>
|
|
65
57
|
<s-table-header listSlot="primary">Puzzle</s-table-header>
|
|
66
|
-
<s-table-header>
|
|
58
|
+
<s-table-header format="numeric">Pieces</s-table-header>
|
|
67
59
|
<s-table-header>Created</s-table-header>
|
|
68
60
|
<s-table-header>Status</s-table-header>
|
|
69
61
|
</s-table-header-row>
|
|
@@ -82,13 +74,14 @@ export default function IndexPage() {
|
|
|
82
74
|
>
|
|
83
75
|
<s-image
|
|
84
76
|
objectFit="cover"
|
|
77
|
+
alt="Mountain View puzzle thumbnail"
|
|
85
78
|
src="https://picsum.photos/id/29/80/80"
|
|
86
79
|
></s-image>
|
|
87
80
|
</s-clickable>
|
|
88
81
|
<s-link href="/app/details">Mountain View</s-link>
|
|
89
82
|
</s-stack>
|
|
90
83
|
</s-table-cell>
|
|
91
|
-
<s-table-cell>16
|
|
84
|
+
<s-table-cell>16</s-table-cell>
|
|
92
85
|
<s-table-cell>Today</s-table-cell>
|
|
93
86
|
<s-table-cell>
|
|
94
87
|
<s-badge color="base" tone="success">
|
|
@@ -110,13 +103,14 @@ export default function IndexPage() {
|
|
|
110
103
|
>
|
|
111
104
|
<s-image
|
|
112
105
|
objectFit="cover"
|
|
106
|
+
alt="Ocean Sunset puzzle thumbnail"
|
|
113
107
|
src="https://picsum.photos/id/12/80/80"
|
|
114
108
|
></s-image>
|
|
115
109
|
</s-clickable>
|
|
116
110
|
<s-link href="/app/details">Ocean Sunset</s-link>
|
|
117
111
|
</s-stack>
|
|
118
112
|
</s-table-cell>
|
|
119
|
-
<s-table-cell>9
|
|
113
|
+
<s-table-cell>9</s-table-cell>
|
|
120
114
|
<s-table-cell>Yesterday</s-table-cell>
|
|
121
115
|
<s-table-cell>
|
|
122
116
|
<s-badge color="base" tone="success">
|
|
@@ -138,13 +132,14 @@ export default function IndexPage() {
|
|
|
138
132
|
>
|
|
139
133
|
<s-image
|
|
140
134
|
objectFit="cover"
|
|
135
|
+
alt="Forest Animals puzzle thumbnail"
|
|
141
136
|
src="https://picsum.photos/id/324/80/80"
|
|
142
137
|
></s-image>
|
|
143
138
|
</s-clickable>
|
|
144
139
|
<s-link href="/app/details">Forest Animals</s-link>
|
|
145
140
|
</s-stack>
|
|
146
141
|
</s-table-cell>
|
|
147
|
-
<s-table-cell>25
|
|
142
|
+
<s-table-cell>25</s-table-cell>
|
|
148
143
|
<s-table-cell>Last week</s-table-cell>
|
|
149
144
|
<s-table-cell>
|
|
150
145
|
<s-badge color="base" tone="neutral">
|
|
@@ -159,4 +154,4 @@ export default function IndexPage() {
|
|
|
159
154
|
</s-section>
|
|
160
155
|
</s-page>
|
|
161
156
|
);
|
|
162
|
-
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
<s-section padding="none" accessibilityLabel="Puzzles table section">
|
|
2
|
+
<s-table>
|
|
3
|
+
<s-grid slot="filters" gap="small-200" gridTemplateColumns="1fr auto">
|
|
4
|
+
<s-text-field
|
|
5
|
+
icon="search"
|
|
6
|
+
placeholder="Searching all puzzles"
|
|
7
|
+
></s-text-field>
|
|
8
|
+
<s-button
|
|
9
|
+
icon="sort"
|
|
10
|
+
variant="secondary"
|
|
11
|
+
interestFor="sort-tooltip"
|
|
12
|
+
commandFor="sort-actions"
|
|
13
|
+
></s-button>
|
|
14
|
+
<s-tooltip id="sort-tooltip">
|
|
15
|
+
<s-text>Sort</s-text>
|
|
16
|
+
</s-tooltip>
|
|
17
|
+
<s-popover id="sort-actions">
|
|
18
|
+
<s-stack gap="none">
|
|
19
|
+
<s-box padding="small">
|
|
20
|
+
<s-choice-list label="Sort by" name="Sort by">
|
|
21
|
+
<s-choice value="puzzle-name" selected>Puzzle name</s-choice>
|
|
22
|
+
<s-choice value="pieces">Pieces</s-choice>
|
|
23
|
+
<s-choice value="created">Created</s-choice>
|
|
24
|
+
<s-choice value="status">Status</s-choice>
|
|
25
|
+
</s-choice-list>
|
|
26
|
+
</s-box>
|
|
27
|
+
<s-divider></s-divider>
|
|
28
|
+
<s-box padding="small">
|
|
29
|
+
<s-choice-list label="Order by" name="Order by">
|
|
30
|
+
<s-choice value="product-title" selected>A-Z</s-choice>
|
|
31
|
+
<s-choice value="created">Z-A</s-choice>
|
|
32
|
+
</s-choice-list>
|
|
33
|
+
</s-box>
|
|
34
|
+
</s-stack>
|
|
35
|
+
</s-popover>
|
|
36
|
+
</s-grid>
|
|
37
|
+
<s-table-header-row>
|
|
38
|
+
<s-table-header listSlot="primary">
|
|
39
|
+
<s-stack direction="inline" gap="small-200" alignItems="center">
|
|
40
|
+
<s-checkbox accessibilityLabel="Select all puzzles"></s-checkbox>
|
|
41
|
+
<s-text>Puzzle</s-text>
|
|
42
|
+
</s-stack>
|
|
43
|
+
</s-table-header>
|
|
44
|
+
<s-table-header format="numeric">Pieces</s-table-header>
|
|
45
|
+
<s-table-header>Created</s-table-header>
|
|
46
|
+
<s-table-header listSlot="secondary">Status</s-table-header>
|
|
47
|
+
</s-table-header-row>
|
|
48
|
+
<s-table-body>
|
|
49
|
+
<s-table-row clickdelegate="mountain-view-checkbox">
|
|
50
|
+
<s-table-cell>
|
|
51
|
+
<s-stack direction="inline" gap="small" alignItems="center">
|
|
52
|
+
<s-checkbox id="mountain-view-checkbox"></s-checkbox>
|
|
53
|
+
<s-clickable
|
|
54
|
+
href=""
|
|
55
|
+
accessibilityLabel="Mountain View puzzle thumbnail"
|
|
56
|
+
border="base"
|
|
57
|
+
borderRadius="base"
|
|
58
|
+
overflow="hidden"
|
|
59
|
+
inlineSize="40px"
|
|
60
|
+
blockSize="40px"
|
|
61
|
+
>
|
|
62
|
+
<s-image
|
|
63
|
+
objectFit="cover"
|
|
64
|
+
src="https://picsum.photos/id/29/80/80"
|
|
65
|
+
></s-image>
|
|
66
|
+
</s-clickable>
|
|
67
|
+
<s-link href="">Mountain View</s-link>
|
|
68
|
+
</s-stack>
|
|
69
|
+
</s-table-cell>
|
|
70
|
+
<s-table-cell>16</s-table-cell>
|
|
71
|
+
<s-table-cell>Today</s-table-cell>
|
|
72
|
+
<s-table-cell>
|
|
73
|
+
<s-badge color="base" tone="success">Active</s-badge>
|
|
74
|
+
</s-table-cell>
|
|
75
|
+
</s-table-row>
|
|
76
|
+
<s-table-row clickdelegate="ocean-sunset-checkbox">
|
|
77
|
+
<s-table-cell>
|
|
78
|
+
<s-stack direction="inline" gap="small" alignItems="center">
|
|
79
|
+
<s-checkbox id="ocean-sunset-checkbox"></s-checkbox>
|
|
80
|
+
<s-clickable
|
|
81
|
+
href=""
|
|
82
|
+
accessibilityLabel="Ocean Sunset puzzle thumbnail"
|
|
83
|
+
border="base"
|
|
84
|
+
borderRadius="base"
|
|
85
|
+
overflow="hidden"
|
|
86
|
+
inlineSize="40px"
|
|
87
|
+
blockSize="40px"
|
|
88
|
+
>
|
|
89
|
+
<s-image
|
|
90
|
+
objectFit="cover"
|
|
91
|
+
src="https://picsum.photos/id/12/80/80"
|
|
92
|
+
></s-image>
|
|
93
|
+
</s-clickable>
|
|
94
|
+
<s-link href="">Ocean Sunset</s-link>
|
|
95
|
+
</s-stack>
|
|
96
|
+
</s-table-cell>
|
|
97
|
+
<s-table-cell>9</s-table-cell>
|
|
98
|
+
<s-table-cell>Yesterday</s-table-cell>
|
|
99
|
+
<s-table-cell>
|
|
100
|
+
<s-badge color="base" tone="success">Active</s-badge>
|
|
101
|
+
</s-table-cell>
|
|
102
|
+
</s-table-row>
|
|
103
|
+
<s-table-row clickdelegate="forest-animals-checkbox">
|
|
104
|
+
<s-table-cell>
|
|
105
|
+
<s-stack direction="inline" gap="small" alignItems="center">
|
|
106
|
+
<s-checkbox id="forest-animals-checkbox"></s-checkbox>
|
|
107
|
+
<s-clickable
|
|
108
|
+
href=""
|
|
109
|
+
accessibilityLabel="Forest Animals puzzle thumbnail"
|
|
110
|
+
border="base"
|
|
111
|
+
borderRadius="base"
|
|
112
|
+
overflow="hidden"
|
|
113
|
+
inlineSize="40px"
|
|
114
|
+
blockSize="40px"
|
|
115
|
+
>
|
|
116
|
+
<s-image
|
|
117
|
+
objectFit="cover"
|
|
118
|
+
src="https://picsum.photos/id/324/80/80"
|
|
119
|
+
></s-image>
|
|
120
|
+
</s-clickable>
|
|
121
|
+
<s-link href="">Forest Animals</s-link>
|
|
122
|
+
</s-stack>
|
|
123
|
+
</s-table-cell>
|
|
124
|
+
<s-table-cell>25</s-table-cell>
|
|
125
|
+
<s-table-cell>Last week</s-table-cell>
|
|
126
|
+
<s-table-cell>
|
|
127
|
+
<s-badge color="base" tone="neutral">Draft</s-badge>
|
|
128
|
+
</s-table-cell>
|
|
129
|
+
</s-table-row>
|
|
130
|
+
</s-table-body>
|
|
131
|
+
</s-table>
|
|
132
|
+
</s-section>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<s-section heading="Preferences">
|
|
2
|
+
<s-box
|
|
3
|
+
border="base"
|
|
4
|
+
borderRadius="base"
|
|
5
|
+
>
|
|
6
|
+
<s-clickable
|
|
7
|
+
padding="small-100"
|
|
8
|
+
href="#"
|
|
9
|
+
accessibilityLabel="Configure shipping methods, rates, and fulfillment options"
|
|
10
|
+
>
|
|
11
|
+
<s-grid
|
|
12
|
+
gridTemplateColumns="1fr auto"
|
|
13
|
+
alignItems="center"
|
|
14
|
+
gap="base"
|
|
15
|
+
>
|
|
16
|
+
<s-box>
|
|
17
|
+
<s-heading>Shipping & fulfillment</s-heading>
|
|
18
|
+
<s-paragraph color="subdued">
|
|
19
|
+
Shipping methods, rates, zones, and fulfillment preferences.
|
|
20
|
+
</s-paragraph>
|
|
21
|
+
</s-box>
|
|
22
|
+
<s-icon type="chevron-right"></s-icon>
|
|
23
|
+
</s-grid>
|
|
24
|
+
</s-clickable>
|
|
25
|
+
<s-box paddingInline="small-100">
|
|
26
|
+
<s-divider></s-divider>
|
|
27
|
+
</s-box>
|
|
28
|
+
<s-clickable
|
|
29
|
+
padding="small-100"
|
|
30
|
+
href="#"
|
|
31
|
+
accessibilityLabel="Configure product defaults, customer experience, and catalog settings"
|
|
32
|
+
>
|
|
33
|
+
<s-grid
|
|
34
|
+
gridTemplateColumns="1fr auto"
|
|
35
|
+
alignItems="center"
|
|
36
|
+
gap="base"
|
|
37
|
+
>
|
|
38
|
+
<s-box>
|
|
39
|
+
<s-heading>Products & catalog</s-heading>
|
|
40
|
+
<s-paragraph color="subdued">
|
|
41
|
+
Product defaults, customer experience, and catalog display
|
|
42
|
+
options.
|
|
43
|
+
</s-paragraph>
|
|
44
|
+
</s-box>
|
|
45
|
+
<s-icon type="chevron-right"></s-icon>
|
|
46
|
+
</s-grid>
|
|
47
|
+
</s-clickable>
|
|
48
|
+
<s-box paddingInline="small-100">
|
|
49
|
+
<s-divider></s-divider>
|
|
50
|
+
</s-box>
|
|
51
|
+
<s-clickable
|
|
52
|
+
padding="small-100"
|
|
53
|
+
href="#"
|
|
54
|
+
accessibilityLabel="Manage customer support settings and help resources"
|
|
55
|
+
>
|
|
56
|
+
<s-grid
|
|
57
|
+
gridTemplateColumns="1fr auto"
|
|
58
|
+
alignItems="center"
|
|
59
|
+
gap="base"
|
|
60
|
+
>
|
|
61
|
+
<s-box>
|
|
62
|
+
<s-heading>Customer support</s-heading>
|
|
63
|
+
<s-paragraph color="subdued">
|
|
64
|
+
Support settings, help resources, and customer service
|
|
65
|
+
tools.
|
|
66
|
+
</s-paragraph>
|
|
67
|
+
</s-box>
|
|
68
|
+
<s-icon type="chevron-right"></s-icon>
|
|
69
|
+
</s-grid>
|
|
70
|
+
</s-clickable>
|
|
71
|
+
</s-box>
|
|
72
|
+
</s-section>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<s-box border="base" borderRadius="base" overflow="hidden" maxInlineSize="320px">
|
|
2
|
+
<s-clickable href="" accessibilityLabel="4-pieces puzzle template">
|
|
3
|
+
<s-image
|
|
4
|
+
aspectRatio="1/1"
|
|
5
|
+
objectFit="cover"
|
|
6
|
+
alt="Illustration of characters with a 4-piece puzzle"
|
|
7
|
+
src="https://cdn.shopify.com/static/images/polaris/patterns/4-pieces.png"
|
|
8
|
+
></s-image>
|
|
9
|
+
</s-clickable>
|
|
10
|
+
<s-divider></s-divider>
|
|
11
|
+
<s-grid
|
|
12
|
+
gridTemplateColumns="1fr auto"
|
|
13
|
+
background="base"
|
|
14
|
+
padding="small"
|
|
15
|
+
gap="small"
|
|
16
|
+
alignItems="center"
|
|
17
|
+
>
|
|
18
|
+
<s-heading>4-Pieces</s-heading>
|
|
19
|
+
<s-button href="" accessibilityLabel="View 4-pieces puzzle template">
|
|
20
|
+
View
|
|
21
|
+
</s-button>
|
|
22
|
+
</s-grid>
|
|
23
|
+
</s-box>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<s-section padding="small">
|
|
2
|
+
<s-grid
|
|
3
|
+
gridTemplateColumns="@container (inline-size <= 400px) 1fr, 1fr auto 1fr auto 1fr"
|
|
4
|
+
gap="small"
|
|
5
|
+
>
|
|
6
|
+
<s-clickable
|
|
7
|
+
href=""
|
|
8
|
+
paddingBlock="small-400"
|
|
9
|
+
paddingInline="small-100"
|
|
10
|
+
borderRadius="base"
|
|
11
|
+
>
|
|
12
|
+
<s-grid gap="small-300">
|
|
13
|
+
<s-heading>Total Designs</s-heading>
|
|
14
|
+
<s-stack direction="inline" gap="small-200">
|
|
15
|
+
<s-text>156</s-text>
|
|
16
|
+
<s-badge tone="success" icon="arrow-up"> 12% </s-badge>
|
|
17
|
+
</s-stack>
|
|
18
|
+
</s-grid>
|
|
19
|
+
</s-clickable>
|
|
20
|
+
<s-divider direction="block"></s-divider>
|
|
21
|
+
<s-clickable
|
|
22
|
+
href=""
|
|
23
|
+
paddingBlock="small-400"
|
|
24
|
+
paddingInline="small-100"
|
|
25
|
+
borderRadius="base"
|
|
26
|
+
>
|
|
27
|
+
<s-grid gap="small-300">
|
|
28
|
+
<s-heading>Units Sold</s-heading>
|
|
29
|
+
<s-stack direction="inline" gap="small-200">
|
|
30
|
+
<s-text>2,847</s-text>
|
|
31
|
+
<s-badge tone="warning">0%</s-badge>
|
|
32
|
+
</s-stack>
|
|
33
|
+
</s-grid>
|
|
34
|
+
</s-clickable>
|
|
35
|
+
<s-divider direction="block"></s-divider>
|
|
36
|
+
<s-clickable
|
|
37
|
+
href=""
|
|
38
|
+
paddingBlock="small-400"
|
|
39
|
+
paddingInline="small-100"
|
|
40
|
+
borderRadius="base"
|
|
41
|
+
>
|
|
42
|
+
<s-grid gap="small-300">
|
|
43
|
+
<s-heading>Return Rate</s-heading>
|
|
44
|
+
<s-stack direction="inline" gap="small-200">
|
|
45
|
+
<s-text>3.2%</s-text>
|
|
46
|
+
<s-badge tone="critical" icon="arrow-down"> 0.8% </s-badge>
|
|
47
|
+
</s-stack>
|
|
48
|
+
</s-grid>
|
|
49
|
+
</s-clickable>
|
|
50
|
+
</s-grid>
|
|
51
|
+
</s-section>
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
<!DOCTYPE html>
|
|
1
|
+
<!doctype html>
|
|
3
2
|
<html lang="en">
|
|
4
3
|
<head>
|
|
5
4
|
<meta charset="UTF-8" />
|
|
6
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<script src="https://cdn.shopify.com/shopifycloud/
|
|
6
|
+
<script src="https://cdn.shopify.com/shopifycloud/polaris.js"></script>
|
|
8
7
|
<title>Pattern</title>
|
|
9
8
|
</head>
|
|
10
9
|
<body>
|
|
@@ -18,57 +17,75 @@
|
|
|
18
17
|
<!-- Store Information -->
|
|
19
18
|
<!-- === -->
|
|
20
19
|
<s-section heading="Store Information">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
20
|
+
<s-text-field
|
|
21
|
+
label="Store name"
|
|
22
|
+
name="store-name"
|
|
23
|
+
value="Puzzlify Store"
|
|
24
|
+
placeholder="Enter store name"
|
|
25
|
+
></s-text-field>
|
|
26
|
+
<s-text-field
|
|
27
|
+
label="Business address"
|
|
28
|
+
name="business-address"
|
|
29
|
+
value="123 Main St, Anytown, USA"
|
|
30
|
+
placeholder="Enter business address"
|
|
31
|
+
></s-text-field>
|
|
32
|
+
<s-text-field
|
|
33
|
+
label="Store phone"
|
|
34
|
+
name="store-phone"
|
|
35
|
+
value="+1 (555) 123-4567"
|
|
36
|
+
placeholder="Enter phone number"
|
|
37
|
+
></s-text-field>
|
|
38
|
+
<s-choice-list label="Primary currency" name="currency">
|
|
39
|
+
<s-choice value="usd" selected>US Dollar ($)</s-choice>
|
|
40
|
+
<s-choice value="cad">Canadian Dollar (CAD)</s-choice>
|
|
41
|
+
<s-choice value="eur">Euro (€)</s-choice>
|
|
42
|
+
</s-choice-list>
|
|
44
43
|
</s-section>
|
|
45
44
|
<!-- === -->
|
|
46
45
|
<!-- Notifications -->
|
|
47
46
|
<!-- === -->
|
|
48
47
|
<s-section heading="Notifications">
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</s-
|
|
54
|
-
<s-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
48
|
+
<s-select
|
|
49
|
+
label="Notification frequency"
|
|
50
|
+
name="notification-frequency"
|
|
51
|
+
>
|
|
52
|
+
<s-option value="immediately" selected>Immediately</s-option>
|
|
53
|
+
<s-option value="hourly">Hourly digest</s-option>
|
|
54
|
+
<s-option value="daily">Daily digest</s-option>
|
|
55
|
+
</s-select>
|
|
56
|
+
<s-choice-list
|
|
57
|
+
label="Notification types"
|
|
58
|
+
name="notifications-type"
|
|
59
|
+
multiple
|
|
60
|
+
>
|
|
61
|
+
<s-choice value="new-order" selected
|
|
62
|
+
>New order notifications</s-choice
|
|
63
|
+
>
|
|
64
|
+
<s-choice value="low-stock">Low stock alerts</s-choice>
|
|
65
|
+
<s-choice value="customer-review"
|
|
66
|
+
>Customer review notifications</s-choice
|
|
67
|
+
>
|
|
68
|
+
<s-choice value="shipping-updates">Shipping updates</s-choice>
|
|
69
|
+
</s-choice-list>
|
|
60
70
|
</s-section>
|
|
61
71
|
<!-- === -->
|
|
62
72
|
<!-- Preferences -->
|
|
63
73
|
<!-- === -->
|
|
64
74
|
<s-section heading="Preferences">
|
|
65
|
-
<s-
|
|
75
|
+
<s-box
|
|
76
|
+
border="base"
|
|
77
|
+
borderRadius="base"
|
|
78
|
+
>
|
|
66
79
|
<s-clickable
|
|
67
80
|
padding="small-100"
|
|
68
81
|
href="/app/settings/shipping"
|
|
69
82
|
accessibilityLabel="Configure shipping methods, rates, and fulfillment options"
|
|
70
83
|
>
|
|
71
|
-
<s-grid
|
|
84
|
+
<s-grid
|
|
85
|
+
gridTemplateColumns="1fr auto"
|
|
86
|
+
alignItems="center"
|
|
87
|
+
gap="base"
|
|
88
|
+
>
|
|
72
89
|
<s-box>
|
|
73
90
|
<s-heading>Shipping & fulfillment</s-heading>
|
|
74
91
|
<s-paragraph color="subdued">
|
|
@@ -86,11 +103,16 @@
|
|
|
86
103
|
href="/app/settings/products_catalog"
|
|
87
104
|
accessibilityLabel="Configure product defaults, customer experience, and catalog settings"
|
|
88
105
|
>
|
|
89
|
-
<s-grid
|
|
106
|
+
<s-grid
|
|
107
|
+
gridTemplateColumns="1fr auto"
|
|
108
|
+
alignItems="center"
|
|
109
|
+
gap="base"
|
|
110
|
+
>
|
|
90
111
|
<s-box>
|
|
91
112
|
<s-heading>Products & catalog</s-heading>
|
|
92
113
|
<s-paragraph color="subdued">
|
|
93
|
-
Product defaults, customer experience, and catalog display
|
|
114
|
+
Product defaults, customer experience, and catalog display
|
|
115
|
+
options.
|
|
94
116
|
</s-paragraph>
|
|
95
117
|
</s-box>
|
|
96
118
|
<s-icon type="chevron-right"></s-icon>
|
|
@@ -104,29 +126,44 @@
|
|
|
104
126
|
href="/app/settings/customer_support"
|
|
105
127
|
accessibilityLabel="Manage customer support settings and help resources"
|
|
106
128
|
>
|
|
107
|
-
<s-grid
|
|
129
|
+
<s-grid
|
|
130
|
+
gridTemplateColumns="1fr auto"
|
|
131
|
+
alignItems="center"
|
|
132
|
+
gap="base"
|
|
133
|
+
>
|
|
108
134
|
<s-box>
|
|
109
135
|
<s-heading>Customer support</s-heading>
|
|
110
136
|
<s-paragraph color="subdued">
|
|
111
|
-
Support settings, help resources, and customer service
|
|
137
|
+
Support settings, help resources, and customer service
|
|
138
|
+
tools.
|
|
112
139
|
</s-paragraph>
|
|
113
140
|
</s-box>
|
|
114
141
|
<s-icon type="chevron-right"></s-icon>
|
|
115
142
|
</s-grid>
|
|
116
143
|
</s-clickable>
|
|
117
|
-
</s-
|
|
144
|
+
</s-box>
|
|
118
145
|
</s-section>
|
|
119
146
|
<!-- === -->
|
|
120
147
|
<!-- Tools -->
|
|
121
148
|
<!-- === -->
|
|
122
149
|
<s-section heading="Tools">
|
|
123
|
-
<s-stack
|
|
150
|
+
<s-stack
|
|
151
|
+
gap="none"
|
|
152
|
+
border="base"
|
|
153
|
+
borderRadius="base"
|
|
154
|
+
overflow="hidden"
|
|
155
|
+
>
|
|
124
156
|
<s-box padding="small-100">
|
|
125
|
-
<s-grid
|
|
157
|
+
<s-grid
|
|
158
|
+
gridTemplateColumns="1fr auto"
|
|
159
|
+
alignItems="center"
|
|
160
|
+
gap="base"
|
|
161
|
+
>
|
|
126
162
|
<s-box>
|
|
127
163
|
<s-heading>Reset app settings</s-heading>
|
|
128
164
|
<s-paragraph color="subdued">
|
|
129
|
-
Reset all settings to their default values. This action
|
|
165
|
+
Reset all settings to their default values. This action
|
|
166
|
+
cannot be undone.
|
|
130
167
|
</s-paragraph>
|
|
131
168
|
</s-box>
|
|
132
169
|
<s-button tone="critical">Reset</s-button>
|
|
@@ -136,7 +173,11 @@
|
|
|
136
173
|
<s-divider></s-divider>
|
|
137
174
|
</s-box>
|
|
138
175
|
<s-box padding="small-100">
|
|
139
|
-
<s-grid
|
|
176
|
+
<s-grid
|
|
177
|
+
gridTemplateColumns="1fr auto"
|
|
178
|
+
alignItems="center"
|
|
179
|
+
gap="base"
|
|
180
|
+
>
|
|
140
181
|
<s-box>
|
|
141
182
|
<s-heading>Export settings</s-heading>
|
|
142
183
|
<s-paragraph color="subdued">
|
|
@@ -151,4 +192,4 @@
|
|
|
151
192
|
</s-page>
|
|
152
193
|
</form>
|
|
153
194
|
</body>
|
|
154
|
-
</html>
|
|
195
|
+
</html>
|