Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1309 commits
Select commit Hold shift + click to select a range
be36f3b
promote 2025-10 to latest (#3424)
lrsterrett Sep 30, 2025
2112ab9
Version Packages (#3425)
shopify-github-actions-access[bot] Sep 30, 2025
c792977
changing docs for customer accounts (#3426)
oliverigor Sep 30, 2025
7b4bc4b
Remove preview observe targets from developer docs
mauriciosierra Sep 30, 2025
ad60882
make remote-dom/polaris updates to readme that is displayed on npm pa…
lrsterrett Sep 30, 2025
1b7424a
removing early access docs (#3430)
oliverigor Sep 30, 2025
0c00764
Fix PinPad capitalization
andy-chhuon Sep 30, 2025
4f970f2
Merge pull request #3427 from Shopify/docs-remove-observe-target-prev…
mauriciosierra Sep 30, 2025
86b4bde
Merge pull request #3415 from Shopify/andy-chhuon/fix-pinpad
andy-chhuon Sep 30, 2025
eb29ac4
section image updates and dropzone (#3432)
oliverigor Sep 30, 2025
f974ed0
Update Customer account docs to reflect 2025-10 setup (#3429)
lsit Sep 30, 2025
0573908
Update Figma UI kit link in Customer account (#3434)
lsit Sep 30, 2025
9a43b59
Revert pos navigation event listeners
vctrchu Sep 30, 2025
92bc6ef
Merge pull request #3435 from Shopify/vic/remove_navigation_api_event…
vctrchu Sep 30, 2025
2590629
Update figmakit link for admin
Fionoble Sep 30, 2025
81d399a
Merge pull request #3436 from Shopify/admin-figma-kit
Fionoble Sep 30, 2025
ada4ff9
[docs]: Latest updates (#3433)
oliverigor Oct 1, 2025
5adf8a1
figma link (#3438)
oliverigor Oct 1, 2025
486d6c0
[CustomerAccount] Fix some broken links and remove rc reference from …
lsit Oct 1, 2025
e58867c
Update flag and min cli version
Fionoble Oct 1, 2025
134dab2
Merge pull request #3381 from Shopify/examples-improvements
davebcn87 Oct 1, 2025
b2c9672
addressed feedback in the PR
davebcn87 Oct 1, 2025
2c53690
Update flag and min cli version (#3440)
Fionoble Oct 1, 2025
0d06fa2
Merge pull request #3382 from Shopify/media-components
davebcn87 Oct 1, 2025
47c6a1c
Merge pull request #3383 from Shopify/examples-titles-and-text-compon…
davebcn87 Oct 1, 2025
5101ebd
Update choice list example to include onChange event
kyledurand Oct 1, 2025
fe5f821
Update admin ui extensions
sam-b-rose Sep 29, 2025
3bcac01
Improve docs and example for PinPad API
steved-shopify Oct 1, 2025
064e235
Reconcile images from Docs site, delete unused images
NathanJolly Oct 1, 2025
b4cbd50
Improve docs and example for PinPad API (#3441)
steved-shopify Oct 1, 2025
4c1f607
Version Packages (#3431)
shopify-github-actions-access[bot] Oct 1, 2025
af76559
Merge pull request #3442 from Shopify/update-choice-list-example
kyledurand Oct 1, 2025
de33a55
fixed lint issues
davebcn87 Oct 1, 2025
f73df16
removing section regarding rc polaris (#3444)
oliverigor Oct 1, 2025
23e71d2
Fix snapshot command
vividviolet Oct 1, 2025
801ef05
Merge pull request #3384 from Shopify/examples-feedback
davebcn87 Oct 1, 2025
9311626
fix admin intents edit variant example
olavoasantos Oct 1, 2025
03bdd8e
Merge pull request #3446 from Shopify/fix-snapshot
vividviolet Oct 1, 2025
748ddd1
Fix typos and missing component in StandardComponents list (#3412)
awoodall Oct 1, 2025
4a9bfc4
Second attempt to fix snapshot
vividviolet Oct 1, 2025
949ed37
Update "Using Polaris web components" page in Customer account
lsit Oct 1, 2025
134d441
Merge pull request #3443 from Shopify/njo/pos/2025-10/refresh-images
NathanJolly Oct 1, 2025
53a80b2
Update some links with 2025-10-rc in them (#3445)
lsit Oct 1, 2025
602799e
Merge pull request #3449 from Shopify/fix-snapshot-2
vividviolet Oct 1, 2025
03047bf
Update customer accounts error handling guide
andrewmcgov Oct 1, 2025
678e0eb
Merge pull request #3448 from Shopify/am/error-handling-update
andrewmcgov Oct 1, 2025
4b371cf
Add discount, loyalty, print preact examples for pos
NathanJolly Sep 26, 2025
8cf3b25
Remove loyalty-example and fix print-example
NathanJolly Sep 30, 2025
5e081b3
delete react and javascript examples
NathanJolly Sep 30, 2025
d76f1f0
Merge pull request #3450 from Shopify/lsit/update-using-polaris-page
andrewmcgov Oct 1, 2025
26a438b
add preact signals dependency to package.json in migration guides (#3…
lrsterrett Oct 1, 2025
29154ad
Add missing Switch and SearchField in Admin
vividviolet Oct 1, 2025
d66fe64
Pull the latest Polaris web component types
jas7457 Oct 1, 2025
7de8dd4
Merge pull request #3455 from Shopify/add-missing-components
vividviolet Oct 1, 2025
739a3a8
Add fast and watch mode for checkout docs
shayarnett Oct 1, 2025
0fe58b8
Rerun after Sams changes
jas7457 Oct 1, 2025
344c319
Merge pull request #3458 from Shopify/add-fast-docs-commands
shayarnett Oct 1, 2025
be7c0f1
make ts steps more obvious in migration guide (#3459)
lrsterrett Oct 1, 2025
7231a68
Update shopify.extension.toml
NathanJolly Oct 2, 2025
7e731e0
Merge pull request #3453 from Shopify/njo-add-preact-examples
NathanJolly Oct 2, 2025
3b1597e
Pull the latest Polaris web component types (#3456)
jas7457 Oct 2, 2025
d78d348
add eslint docs to overview and migration guides (#3462)
lrsterrett Oct 2, 2025
595e043
Add link to configuration in getting started guide. Fix links in over…
NathanJolly Oct 2, 2025
011b349
Merge pull request #3461 from Shopify/njo/pos-embedded-and-link-fix
vctrchu Oct 2, 2025
4d24b38
improve TS section of migration guides (#3466)
lrsterrett Oct 3, 2025
56b1d6a
Update remaining POS auxiliary files
NathanJolly Oct 6, 2025
4573e69
Merge pull request #3447 from Shopify/doc/fix-admin-intents-edit-vari…
olavoasantos Oct 6, 2025
ff759a9
Standardize Customer account examples (#3465)
lsit Oct 7, 2025
e6a1270
fix admin intents docs
olavoasantos Oct 7, 2025
ce557be
changesets
olavoasantos Oct 7, 2025
8c2a74f
Merge pull request #3473 from Shopify/doc/fix-admin-intents-docs
olavoasantos Oct 7, 2025
c28c615
Add ability to pass the editable boolean to shopify.dev (#3464)
jas7457 Oct 7, 2025
d9ccd3b
Fix JSX syntax in form-default-value example and update the form comp…
melissaluu Oct 7, 2025
e453628
Merge pull request #3474 from Shopify/update-form-ext-example
melissaluu Oct 7, 2025
009a41d
changed build docs script to support jsx
davebcn87 Oct 2, 2025
ed2d73d
Parsing jsx examples wrapping it in preact
davebcn87 Oct 2, 2025
294086d
Simplified code and added an example
davebcn87 Oct 2, 2025
9acbb71
added tabs to jsx / html examples
davebcn87 Oct 2, 2025
bfeeb71
Added jsx examples for all existing html examples in admin
davebcn87 Oct 3, 2025
071282d
fixed type issues in default examples
davebcn87 Oct 3, 2025
c44413c
fixed custom styles
davebcn87 Oct 3, 2025
72b08f9
fixed some examples not working properly
davebcn87 Oct 3, 2025
4b79535
added integrity to babel, preact scripts
davebcn87 Oct 6, 2025
d59f83a
fixed extra ; and comment
davebcn87 Oct 6, 2025
0a42006
modified to shpoify.dev bundled version of preact+sucrase
davebcn87 Oct 6, 2025
10418e8
reordered so jsx is always first example
davebcn87 Oct 8, 2025
ba653bf
removed editable flag on button
davebcn87 Oct 8, 2025
44d2230
Merge pull request #3460 from Shopify/jsx-examples-in-admin
davebcn87 Oct 8, 2025
40e9676
Added examples to admin Structure components (Part I)
davebcn87 Sep 29, 2025
5d7963a
Fixed missing types
davebcn87 Sep 30, 2025
88b23ed
corrected wrong types
davebcn87 Sep 30, 2025
6faf284
added jsx examples
davebcn87 Oct 3, 2025
6bebc86
Fix divider examples not appearing
davebcn87 Oct 3, 2025
3186d53
tackled PR feedback
davebcn87 Oct 3, 2025
5b3361d
fixed some names and iframe navigation issues
davebcn87 Oct 8, 2025
ff14255
Merge pull request #3472 from Shopify/njo/rewrite-pos-aux-docs
NathanJolly Oct 8, 2025
57233ec
showcasing thumbnail callbacks in the examples
davebcn87 Oct 8, 2025
3cc8f12
Update Admin components and remove connectedCallback prop from Page
sam-b-rose Oct 8, 2025
f64ba9f
Merge pull request #3478 from Shopify/thumbnail-callbacks
davebcn87 Oct 8, 2025
de66ade
Merge pull request #3479 from Shopify/rm-page-connected-callback-prop
sam-b-rose Oct 8, 2025
f878030
More feedback corrected
davebcn87 Oct 8, 2025
2df93da
text, paragraph and full width
davebcn87 Oct 8, 2025
65df5b4
Added exapmles to admin Structure components (Part II)
davebcn87 Sep 29, 2025
e08e76a
fixed type issues
davebcn87 Sep 30, 2025
d514bb7
fixed lint issue
davebcn87 Sep 30, 2025
834562e
corrected table props
davebcn87 Sep 30, 2025
463b6d4
tackled feedback
davebcn87 Oct 3, 2025
10f3cf6
added jsx examples
davebcn87 Oct 3, 2025
108b73c
some more fixes
davebcn87 Oct 8, 2025
c755ffb
Update responsive example for Stack
sam-b-rose Oct 8, 2025
87aa8c5
Merge pull request #3385 from Shopify/examples-structure-1
davebcn87 Oct 8, 2025
49cd1d1
Merge pull request #3386 from Shopify/examples-structure-2
davebcn87 Oct 8, 2025
7f81b9e
Added min height for the example in Text with a tooltip
davebcn87 Oct 8, 2025
2899155
Merge pull request #3480 from Shopify/fix-text-tooltip-height
davebcn87 Oct 8, 2025
d820ed7
Fixed link on s-table to redirect to index table pattern
mpshopify Oct 8, 2025
b18ab31
Merge pull request #3481 from Shopify/2025-10-table-link-fix
mpshopify Oct 8, 2025
08552e7
Change initials on avatar example
andrewmcgov Oct 8, 2025
1dae805
Merge pull request #3482 from Shopify/am/avatar-initials
andrewmcgov Oct 8, 2025
27b5efd
Refactor text components for improved formatting and accessibility
sam-b-rose Oct 8, 2025
1169383
Merge pull request #3483 from Shopify/doc-refinement-and-fixes
sam-b-rose Oct 8, 2025
4ac764f
Bump @shopify/generate-docs to 0.19.8
gwyneplaine Oct 9, 2025
fffca24
Update Customer account ButtonGroup docs (#3476)
lsit Oct 9, 2025
42e445d
Fix incorrect resolved registry for generate-docs in yarn.lock
gwyneplaine Oct 9, 2025
02d78d9
use public registry
kyledurand Oct 9, 2025
9bbdeb4
Added examples to admin Actions components
davebcn87 Sep 29, 2025
366faad
fixed types
davebcn87 Sep 30, 2025
0d1e208
added jsx examples
davebcn87 Oct 3, 2025
b6dba0a
some improvements in actions examples
davebcn87 Oct 8, 2025
f7a6564
fix lint format
davebcn87 Oct 8, 2025
031c362
feedback from PR tackled
davebcn87 Oct 9, 2025
8605eb3
fix feedback from PR
davebcn87 Oct 9, 2025
aee767b
Merge pull request #3485 from Shopify/clee/bump-generate-docs-0.19.8
kyledurand Oct 9, 2025
9d01489
update ui extensions intent docs for product variant edit
nneubarth Oct 9, 2025
c41f6e9
Merge pull request #3387 from Shopify/examples-actions
davebcn87 Oct 10, 2025
b59fcc0
update ui extensions intent docs for product variant edit (#3486)
nneubarth Oct 10, 2025
6ddd6ca
Update troubleshooting doc for clarity
NathanJolly Oct 10, 2025
26260d0
fix choice list default example jsx
davebcn87 Oct 10, 2025
62c75c8
Merge pull request #3489 from Shopify/fix-choice-list-default-jsx
davebcn87 Oct 10, 2025
adaa3e0
Added examples to admin Forms components (Part II)
davebcn87 Sep 29, 2025
cb28ba4
fixes type issues
davebcn87 Sep 30, 2025
a9d696c
corrected types and remove redundant examples
davebcn87 Sep 30, 2025
fe28aef
added jsx examples to forms 2
davebcn87 Oct 7, 2025
feb59c1
fixes default example for ChoiceList not loading
davebcn87 Oct 8, 2025
bfa8b25
tackled pr feedback
davebcn87 Oct 10, 2025
77ce997
more fixes
davebcn87 Oct 10, 2025
e3c22a7
improved forms based on Sam's feedback
davebcn87 Oct 10, 2025
919c866
fix return in strings
davebcn87 Oct 10, 2025
985d7f8
more feedback from Sam
davebcn87 Oct 10, 2025
de65d38
fix return statement + return in strings
davebcn87 Oct 10, 2025
4e997e1
Merge pull request #3389 from Shopify/examples-forms-2
davebcn87 Oct 10, 2025
6d1b385
Added examples to admin Forms components (Part I)
davebcn87 Sep 29, 2025
fb785a4
fixed types issues
davebcn87 Sep 30, 2025
419365a
corrected some types
davebcn87 Sep 30, 2025
4dcbf5b
removed example with javascript in plain html example
davebcn87 Oct 1, 2025
6cba1e8
created jsx version of the forms examples
davebcn87 Oct 6, 2025
1bf5d48
fixed jsx examples having comments
davebcn87 Oct 6, 2025
5c2c185
fixes in forms component examples
davebcn87 Oct 7, 2025
cdff1bc
added form validation examples for fields
davebcn87 Oct 9, 2025
b894bbe
removing internationalization example until we clarify UX guidance on…
davebcn87 Oct 10, 2025
adf4448
showing interminate state in action
davebcn87 Oct 10, 2025
397d04e
removed duplicated values
davebcn87 Oct 10, 2025
036b160
removed form integration example
davebcn87 Oct 10, 2025
baff376
Added examples to admin Overlays components
davebcn87 Sep 29, 2025
3d1fdaf
fixes on some types
davebcn87 Sep 30, 2025
808e3e4
fixed types
davebcn87 Sep 30, 2025
7e53f74
added jsx examples and polished all examples in overlays
davebcn87 Oct 8, 2025
66a019b
removed components.ts
davebcn87 Oct 9, 2025
600ff09
Add link to developer preview blurbs
lilysalem Oct 10, 2025
1293edb
Merge pull request #3388 from Shopify/examples-forms-1
davebcn87 Oct 13, 2025
b9350a1
Merge pull request #3497 from Shopify/lily/2025-10/update-links-to-fe…
lilysalem Oct 14, 2025
2533be2
Merge pull request #3496 from Shopify/njo/reword-troubleshooting-doc
NathanJolly Oct 14, 2025
398883f
Update images for /docs/api/customer-account-ui-extensions
andrewmcgov Oct 14, 2025
d243034
Optimize images
andrewmcgov Oct 14, 2025
4ef4a2a
tackle PR feedback and added one popover example that is not similar …
davebcn87 Oct 15, 2025
2db8cec
addressed spacing issues
davebcn87 Oct 15, 2025
cb467fc
Merge pull request #3390 from Shopify/examples-overlays
davebcn87 Oct 15, 2025
73accc6
Merge pull request #3502 from Shopify/am/customer-api-docs-images
andrewmcgov Oct 15, 2025
b718463
Add POS Dev Console to getting started
kangjoa Oct 1, 2025
40dbbde
Merge pull request #3452 from Shopify/kangjoa/docs-getting-started-v2
vctrchu Oct 15, 2025
4731806
Improve number field example
mateus Oct 15, 2025
29cecae
Add POS Dev Console to getting started
kangjoa Oct 1, 2025
71f1c93
Merge pull request #3503 from Shopify/improve-number-field-example
mateus Oct 15, 2025
7e4d8ab
Merge pull request #3504 from Shopify/kangjoa/docs-getting-started-v2
vctrchu Oct 15, 2025
d85c1ec
Fix outdated references to checkout-web-ui in comment links
andrewmcgov Oct 15, 2025
1383559
Merge pull request #3506 from Shopify/am/fix-checkout-web-ui-references
andrewmcgov Oct 16, 2025
119c91e
update root readme based on remote-dom updates (#3505)
lrsterrett Oct 16, 2025
2c6639b
Improved Table examples
davebcn87 Oct 17, 2025
65e8af4
Ignore legacy checkout targets for now (#3508)
kumar303 Oct 17, 2025
7f58bcb
added numeric to the default example as well
davebcn87 Oct 17, 2025
9fcb117
Remove pos static pages that are migrating
NathanJolly Oct 17, 2025
ae08722
Merge pull request #3509 from Shopify/njo/remove-pos-build-docs
NathanJolly Oct 17, 2025
e34061f
Update content on customer accounts polaris page
andrewmcgov Oct 20, 2025
24885fe
Version Packages (#3457)
shopify-github-actions-access[bot] Oct 20, 2025
5a90b73
Merge pull request #3515 from Shopify/am/customer-accounts-polaris-co…
andrewmcgov Oct 20, 2025
886c484
Solves all issues after passing validation on the admin examples
davebcn87 Oct 21, 2025
2e0b730
fixed tooltip with accessory after removing the div
davebcn87 Oct 21, 2025
5a9fa29
removed some warnings on the examples
davebcn87 Oct 21, 2025
d7e4fdb
Merge pull request #3518 from Shopify/examples-issues-after-validation
davebcn87 Oct 21, 2025
dbd2d1e
Add component method docs for Customer accounts (#3519)
lsit Oct 21, 2025
5fd7f43
Merge pull request #3507 from Shopify/format-in-table-components
davebcn87 Oct 22, 2025
c60af22
Add best practices to all customer account components (#3490)
lsit Oct 22, 2025
4d270cc
fixes issues in a bunch of components, patterns and code blocks
davebcn87 Oct 22, 2025
e15d74d
fixed the download attribute
davebcn87 Oct 22, 2025
7d1fb73
reverting changes on s-grid gap
davebcn87 Oct 22, 2025
bd0239c
Merge pull request #3520 from Shopify/more-validation-examples-issues
davebcn87 Oct 22, 2025
142939e
Add footerHelp, resourceList, and actionMenu patterns with examples a…
mpshopify Oct 24, 2025
f9a6882
Fix Aria labels
mpshopify Oct 27, 2025
98e5255
Removed action menu
mpshopify Oct 27, 2025
5119500
Remove action menu doc file
mpshopify Oct 27, 2025
df23cd0
Add aspectRatio comment to empty state examples
mpshopify Oct 27, 2025
6b16f5e
Update admin ui extensions and fix TextField children
sam-b-rose Oct 27, 2025
5abf678
Merge pull request #3522 from Shopify/bump-admin-ui-extensions-and-fi…
sam-b-rose Oct 28, 2025
c3d4e3f
fix for PR comments
mpshopify Oct 28, 2025
1dfc629
Merge pull request #3523 from Shopify/footerHelp-resourceList
mpshopify Oct 29, 2025
9bdad56
Version Packages
github-actions[bot] Oct 29, 2025
788b877
20155: Add Box to BlockExtensionComponents
andy-chhuon Oct 29, 2025
6ab9ae0
Merge pull request #3526 from Shopify/changeset-release/2025-10
sam-b-rose Oct 29, 2025
7b5ecf6
Merge pull request #3530 from Shopify/andy-chhuon/20155-fix-BlockExte…
andy-chhuon Oct 29, 2025
0af8d6c
Version Packages
github-actions[bot] Oct 29, 2025
b73b8bc
Merge pull request #3532 from Shopify/changeset-release/2025-10
andy-chhuon Oct 29, 2025
25b6a13
Use currentTarget consistently
JoviDeCroock Oct 29, 2025
28027d5
[Docs]: Fast-follows changes to components docs and APIs (#3527)
oliverigor Oct 29, 2025
448aaef
Version Packages (#3535)
shopify-github-actions-access[bot] Oct 29, 2025
b0b04c7
Merge pull request #3533 from Shopify/use-current-target-consistently
JoviDeCroock Oct 30, 2025
9c741e3
Adds components to POS cart line item interface
alexgraffeocohen Oct 31, 2025
a9f9934
Merge pull request #3537 from Shopify/adds-components-to-pos-cart-lin…
alexgraffeocohen Nov 4, 2025
562451d
Switch last changeset to patch
alexgraffeocohen Nov 4, 2025
c9caf8d
Merge pull request #3542 from Shopify/alexfc/switch-last-changeset-to…
alexgraffeocohen Nov 4, 2025
d023ca8
Version Packages
github-actions[bot] Nov 4, 2025
84e4168
Merge pull request #3541 from Shopify/changeset-release/2025-10
alexgraffeocohen Nov 5, 2025
1507667
Document window.close() for pos ui extensions
NathanJolly Nov 5, 2025
78318cc
Merge pull request #3547 from Shopify/njo/pos-document-close
NathanJolly Nov 5, 2025
c410eb7
Expose il8n for POS ui extensions
vctrchu Nov 8, 2025
f07bc27
added two new examples on Page to showcase breadcrumbs and secondary …
davebcn87 Nov 11, 2025
9a27667
Merge pull request #3557 from Shopify/add-more-examples-to-admin-page
davebcn87 Nov 11, 2025
3296915
Add changeset patch for pos ui extensions il8n
vctrchu Nov 12, 2025
59c27fd
Merge pull request #3555 from Shopify/2025-10_pos_ui_ext_localization…
vctrchu Nov 12, 2025
b2dbe64
Add code examples of POS subscriptions UI extension
janezhu918 Nov 5, 2025
064de12
Add code examples of POS subscriptions UI extension (#3552)
janezhu918 Nov 12, 2025
353d56d
Add 64kb limit notes
davejcameron Nov 14, 2025
4e64c2d
Add backticks around 2025-10
davejcameron Nov 14, 2025
0e3dc6e
Merge pull request #3569 from Shopify/dc-64kb-limit
davejcameron Nov 14, 2025
ea0ec17
20149: Add mcp docs for POS (#3549)
andy-chhuon Nov 17, 2025
f27f6da
Adds point of sale LineItemComponent type export
alexgraffeocohen Nov 18, 2025
217f5b2
Merge pull request #3575 from Shopify/2025-10-adds-line-item-componen…
alexgraffeocohen Nov 18, 2025
9e65644
Version Packages
github-actions[bot] Nov 18, 2025
4130095
Merge pull request #3561 from Shopify/changeset-release/2025-10
alexgraffeocohen Nov 18, 2025
eeb2401
Implemented icon preview as a subSection of Icon docs
davebcn87 Nov 18, 2025
dcbe67c
going back to the inline iframe approach
davebcn87 Nov 19, 2025
56ffb6c
Merge pull request #3578 from Shopify/icon-preview
davebcn87 Nov 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 0 additions & 5 deletions .changeset/bright-lemons-knock.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clever-actors-cry.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fuzzy-trainers-work.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-cups-wash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-shirts-clean.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-years-relate.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/itchy-readers-think.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/kind-flowers-dress.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/neat-paws-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-baboons-grab.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rotten-donuts-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-mugs-drop.md

This file was deleted.

21 changes: 5 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module.exports = {
'plugin:@shopify/typescript',
'plugin:@shopify/jest',
'plugin:@shopify/prettier',
'plugin:@shopify/react',
],
ignorePatterns: [
'build/',
Expand All @@ -17,14 +16,19 @@ module.exports = {
'packages/*/*.mjs',
'packages/*/*.node',
'packages/*/*.esnext',
'packages/ui-extensions/src/surfaces/checkout/**/*.d.ts',
'packages/ui-extensions/src/surfaces/checkout/preact/tests/',
'packages/ui-extensions/src/surfaces/point-of-sale/**/*.d.ts',
],
rules: {
// Codebase was originally written without some strict Shopify conventions
'import/order': 'off',
'line-comment-position': 'off',
'@typescript-eslint/naming-convention': 'off',

// This rule is just bad
'@typescript-eslint/consistent-indexed-object-style': 'off',
'eslint-comments/no-unused-disables': 'off',
},
overrides: [
{
Expand All @@ -44,28 +48,13 @@ module.exports = {
'@shopify/jsx-no-hardcoded-content': 'off',
},
},
{
files: ['packages/ui-extensions-react/src/surfaces/*/hooks/**'],
rules: {
// This is necessary because https://github.com/Shopify/generate-docs
// cannot yet infer return types.
'@typescript-eslint/explicit-function-return-type': 'error',
},
},
{
files: ['packages/ui-extensions-react/src/surfaces/*/hooks/tests/**'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
},
},
{
files: [
'packages/ui-extensions/docs/surfaces/**/*.example.*',
'packages/ui-extensions/src/surfaces/**/*.example.*',
],
rules: {
'no-console': 'off',
'react/react-in-jsx-scope': 'off',
'@shopify/checkout-web/custom-error-subclassing': 'off',
'import/no-extraneous-dependencies': 'off',
'promise/catch-or-return': 'off',
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ about: Suggest an idea for this project
labels: 'enhancement'
---

## Please list the related package(s)
## Please list the related surfaces(s)

<!-- e.g. checkout-ui-extensions, admin-ui-extensions-react -->
<!-- e.g. @shopify/ui-extensions/checkout -->

## If this related to specific APIs or components, please list them here

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/issue-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ labels: 'bug'

<!-- For feature requests, please use the following template: https://github.com/Shopify/ui-extensions/issues/new?labels=enhancement&template=feature-request.md -->

## Please list the package(s) involved in the issue, and include the version you are using
## Please list the surfaces(s) involved in the issue, and include the version you are using

<!-- e.g. checkout-ui-extensions V0.10.1, admin-ui-extensions-react V0.11.0 -->
<!-- e.g. @shopify/ui-extensions/checkout V0.10.1, @shopify/ui-extensions/admin V0.11.0 -->

## Describe the bug

Expand Down
28 changes: 5 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare

- id: typescript-cache
name: Restore TypeScript cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: |
packages/*/build/ts
Expand All @@ -23,34 +23,16 @@ jobs:
- name: Type check
run: yarn type-check

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/prepare

- id: jest-cache
name: Restore jest cache
uses: actions/cache@v1
with:
path: .loom/cache/jest/
key: ${{ runner.os }}-jest-v1-${{ github.sha }}
restore-keys: |
${{ runner.os }}-jest-v1-

- name: Test
run: yarn test

lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare

- id: eslint-cache
name: Restore ESLint cache
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: .loom/cache/eslint
key: ${{ runner.os }}-eslint-v1-${{ github.sha }}
Expand All @@ -64,7 +46,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/workflows/actions/prepare

- id: test-build
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/deploy-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy RC

on:
push:
branches:
- 20[0-9][0-9]-[01][1470]-rc

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
changesets:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}

- uses: ./.github/workflows/actions/prepare

- id: changesets
name: Create release Pull Request or publish to NPM
uses: changesets/action@v1
with:
title: Version Packages (${{ github.ref_name }})
publish: yarn run deploy
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:

- id: changesets
name: Create release Pull Request or publish to NPM
uses: changesets/action@v1
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc # v1.4.10
with:
title: Version Packages (${{ github.ref_name }})
publish: yarn run deploy --tag ${{ github.ref_name }}
createGithubReleases: false
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
Expand Down
17 changes: 10 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ node_modules
.sewing-kit
.DS_STORE
**/build
packages/*/*.esnext
packages/*/*.node
packages/*/*.mjs
packages/*/*.d.ts
packages/*/*.js
packages/*/bin
!packages/*/.eslintrc.js
packages/**/*.esnext
packages/**/*.node
packages/**/*.mjs
!packages/**/build-doc*.mjs
!components/*.d.ts
!components.d.ts
packages/**/*.js
!packages/**/__mocks__/**/*.js
packages/**/bin
!packages/**/.eslintrc.js
*.log
packages/ui-extensions/docs/**/generated

Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
packages/*/build
packages/web-pixels-extension/src/schemas/pixel-events.jtd.json
packages/ui-extensions/src/surfaces/checkout/**/*.d.ts
4 changes: 2 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all",
"htmlWhitespaceSensitivity": "ignore",
"overrides": [
{
"files": [
"packages/ui-extensions-react/**/*.example.*",
"packages/ui-extensions/docs/**/*.example.*"
],
"options": {
"printWidth": 50
}
}
]
}
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"html.format.wrapAttributes": "preserve",
"typescript.tsdk": "node_modules/typescript/lib"
}
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,23 @@

This repo contains the public definition of Shopify’s UI extension API. App developers can use these libraries for a strongly-typed, optimized development experience that lets them focus on integrating their app’s features deep into Shopify workflows. You can learn more about what is possible with UI extensions in [Shopify’s developer documentation](https://shopify.dev/api/checkout-extensions/checkout).

> **Note:** UI extensions are a [versioned API](https://shopify.dev/api/usage/versioning). This branch contains the APIs for the `unstable` API version. The following API versions are available as separate branches in this repo: [`2023-04`](https://github.com/Shopify/ui-extensions/tree/2023-04), [`2023-07`](https://github.com/Shopify/ui-extensions/tree/2023-07)
> **Note:** UI extensions are a [versioned API](https://shopify.dev/api/usage/versioning). This branch contains the APIs for the `2025-10` API version. The following API versions are available as separate branches in this repo: [`2023-04`](https://github.com/Shopify/ui-extensions/tree/2023-04), [`2023-07`](https://github.com/Shopify/ui-extensions/tree/2023-07)

Shopify provides different “variants” of UI extension APIs that are suitable for different developers:

- [`@shopify/ui-extensions`](./packages/ui-extensions/) lets developers use a small, strongly-typed JavaScript API for creating UI extensions
- [`@shopify/ui-extensions-react`](./packages/ui-extensions-react/) lets developers create UI extensions using [React](https://reactjs.org/), a popular JavaScript library for building user interfaces
Shopify provides UI extension APIs via the [`@shopify/ui-extensions` package](./packages/ui-extensions/) which lets developers use a small, strongly-typed JavaScript API for creating UI extensions

## What are “UI extensions”?

A UI extension is a JavaScript-based module that can hook in to client-side behaviors on any of Shopify’s first party UI surface areas. The most minimal definition of a UI extension has the following properties, which are configured in a `shopify.extension.toml` file in your project:

- A `name` that is presented to merchants when interacting with the extension.
- The [`target`](https://shopify.dev/docs/apps/app-extensions/configuration#targets) that the UI extension wishes to inject into. These are represented with string identifiers that describe the surface and responsibility of the extension. For example, [`purchase.checkout.cart-line-item.render-after` target](https://shopify.dev/docs/api/checkout-ui-extensions/unstable/apis/extensiontargets) gives a UI Extension the ability to render UI after the each cart line in a checkout.
- The [`target`](https://shopify.dev/docs/apps/app-extensions/configuration#targets) that the UI extension wishes to inject into. These are represented with string identifiers that describe the surface and responsibility of the extension. For example, [`purchase.checkout.cart-line-item.render-after` target](https://shopify.dev/docs/api/checkout-ui-extensions/latest/targets) gives a UI Extension the ability to render UI after the each cart line in a checkout.
- The JavaScript `module` in your local project that will be run to render UI.

The types in this package allow us to represent additional details about the targets developers can implement. Each target can have a custom set of APIs available to it, which includes:

- What **UI Components** are available to be rendered, and what properties those UI components accept
- What **imperative APIs** are provided by the host application, for reading and writing data relevant to the extension

UI extensions are built on an open source project called, [remote-ui](https://github.com/Shopify/remote-dom/tree/remote-ui), which allows them to render native UI elements while being safely sandboxed. If you want to learn more, we’ve written a [technical explanation of how extensions work under the hood](./documentation/how-extensions-work.md).
UI extensions are built on an open source project called, [remote-dom](https://github.com/Shopify/remote-dom), which allows them to render native UI elements while being safely sandboxed.

> **Note:** If you are migrating from an API version prior to `2025-10`, you can follow the [migration guide](https://shopify.dev/docs/api/checkout-ui-extensions/2025-10/upgrading-to-2025-10).
9 changes: 1 addition & 8 deletions config/loom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {buildLibrary, babel} from '@shopify/loom-plugin-build-library';

const PLUGIN = 'UiExtensions.DefaultProject';

export function defaultProjectPlugin({react = false} = {}) {
export function defaultProjectPlugin() {
return createComposedProjectPlugin<Package>(PLUGIN, [
buildLibrary({
commonjs: true,
Expand All @@ -19,13 +19,6 @@ export function defaultProjectPlugin({react = false} = {}) {
'@shopify/babel-preset',
{
typescript: true,
react,
reactOptions: react
? {
runtime: 'automatic',
importSource: 'react',
}
: undefined,
},
],
],
Expand Down
Loading
Loading