Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
242 commits
Select commit Hold shift + click to select a range
16c4403
Remove remote-ui references from Admin surface
vividviolet Oct 17, 2024
b82774f
Add remote-dom components for Admin
vividviolet Nov 29, 2024
3f9bc17
Merge pull request #2502 from Shopify/remote-dom-admin
vividviolet Dec 4, 2024
9cb03b5
Update Admin components
vividviolet Jan 21, 2025
7f89e20
Merge pull request #2570 from Shopify/update-admin
vividviolet Jan 21, 2025
34ba085
Delete legacy remote-ui references
vividviolet Feb 5, 2025
00333e7
Remove test command since we have no tests
vividviolet Feb 5, 2025
7f7004c
Fix snapshot workflow
vividviolet Feb 5, 2025
f527720
Change rc tag to be specific
vividviolet Feb 5, 2025
eb6cd59
Make snapshots use the package version
vividviolet Feb 5, 2025
d578be1
Add rc label to snapshot
vividviolet Feb 5, 2025
844ac79
Fix linting issue
vividviolet Feb 5, 2025
16ff5f8
Fix snapshot tag
vividviolet Feb 5, 2025
0c0c497
Add stable Admin components
vividviolet Feb 5, 2025
d5938da
Merge pull request #2616 from Shopify/2025-04-rc-stable
vividviolet Feb 5, 2025
d21f5b1
Fix snapshot workflow
vividviolet Feb 5, 2025
7325d41
Update versions and deploys readme
vividviolet Feb 5, 2025
f4dd3fd
Add definitions for TextArea and TextField
sam-b-rose Feb 7, 2025
5af64d8
Merge pull request #2622 from Shopify/text-area-and-text-field-defini…
sam-b-rose Feb 7, 2025
a80c345
Set package version
vividviolet Feb 10, 2025
6683dc1
Add Box and update to use `s-` prefix
sam-b-rose Feb 10, 2025
e5c066f
Merge pull request #2630 from Shopify/update-admin-components
sam-b-rose Feb 11, 2025
fa6b181
Update definitions for [email protected]
sam-b-rose Feb 11, 2025
95ce95c
Merge pull request #2632 from Shopify/update-admin-components-0-31-0
sam-b-rose Feb 11, 2025
f5f5dca
add table props to definition
frehner Feb 13, 2025
09719be
Merge pull request #2636 from Shopify/af/table-props
sam-b-rose Feb 14, 2025
9572323
Update components.d.ts definition
gwyneplaine Feb 18, 2025
aa06197
fix lint errors
gwyneplaine Feb 18, 2025
1de0d55
update definition
gwyneplaine Feb 18, 2025
e8cb58d
Merge pull request #2641 from Shopify/admin-ui-components/add-clickable
gwyneplaine Feb 20, 2025
2d61ea7
Update components.d.ts
gwyneplaine Feb 24, 2025
8fc6455
update SelectProps
billfienberg Feb 24, 2025
5dbb6aa
add Option and OptionGroup remote definitions
billfienberg Feb 24, 2025
58d1d70
Update definitions
gwyneplaine Feb 24, 2025
86bcb80
Merge pull request #2648 from Shopify/clee/update-admin-ui-definition…
gwyneplaine Feb 24, 2025
7285fd8
Update Banner types for admin ui components (#2652)
sam-b-rose Feb 25, 2025
939ca71
Latest changes from Admin UI Foundations (#2653)
alex-page Feb 25, 2025
e4dd3ae
Revert primaryAction and secondaryAction addition to AdminActionJSXPr…
gwyneplaine Feb 25, 2025
4d60aca
Merge pull request #2654 from Shopify/revert/admin-action-jsx-props-t…
gwyneplaine Feb 25, 2025
dc357c3
Update components.d.ts (#2656)
alex-page Feb 26, 2025
ce59f35
component.d.ts updates from running build:definitions in admin-ui-fou…
gwyneplaine Mar 3, 2025
5c7638c
bump actions/cache to v4, actions/checkout to v4
gwyneplaine Mar 4, 2025
a6beca0
Merge pull request #2662 from Shopify/clee/update-component.d.ts--040…
gwyneplaine Mar 4, 2025
6910fd2
UpdatE MoneyField definition
gwyneplaine Mar 5, 2025
fda8a84
Merge pull request #2669 from Shopify/clee/update-money-field-definition
gwyneplaine Mar 5, 2025
31064bb
Add s-form types
Fionoble Mar 7, 2025
5c95440
Merge pull request #2673 from Shopify/fio/update-types
Fionoble Mar 7, 2025
f14a932
Add types for list components and new icons
sam-b-rose Mar 12, 2025
9b48657
Merge pull request #2678 from Shopify/bump-components-types
sam-b-rose Mar 12, 2025
71283f0
Update examples to use the s prefix for components and add Preact exa…
vividviolet Feb 21, 2025
0f76e79
Add missing examples
vividviolet Mar 7, 2025
ac5b34c
Merge pull request #2667 from Shopify/admin-docs
vividviolet Mar 13, 2025
68247b2
Add more examples
Fionoble Mar 13, 2025
fb8d357
Merge pull request #2686 from Shopify/fio/moar-examples
Fionoble Mar 14, 2025
94fde8e
Fix admin doc gen
Fionoble Mar 14, 2025
51513bc
Merge pull request #2689 from Shopify/fio/fix-doc-gen
Fionoble Mar 17, 2025
1115e4a
Add PasswordField types to Admin UI Extensions (#2695)
alex-page Mar 18, 2025
7b15271
Update ab doc gen
Fionoble Mar 14, 2025
5dfa7d2
add additional previews
Fionoble Mar 15, 2025
c38ef60
Update component.d.ts from adding Page component
gwyneplaine Mar 20, 2025
b49e401
Bash gymnastics
Fionoble Mar 19, 2025
06020a7
Merge pull request #2691 from Shopify/fio/update-ab-doc-gen
Fionoble Mar 20, 2025
43d8f56
Merge pull request #2699 from Shopify/clee/add-page
gwyneplaine Mar 20, 2025
6df412f
Revert "Merge pull request #2699 from Shopify/clee/add-page"
alex-page Mar 20, 2025
071634e
Update component.d.ts to add AdminBlock and AdminAction components
gwyneplaine Mar 21, 2025
5731261
Add missing docs for Checkbox, OrderedList, UnorderedList, PasswordFi…
alex-page Mar 21, 2025
4acf28a
Merge pull request #2701 from Shopify/update/admin-block-admin-action
gwyneplaine Mar 21, 2025
6fcda78
Fix badge example (#2705)
alex-page Mar 23, 2025
d9e59c4
Fix types across components
alex-page Mar 23, 2025
f01db8d
Update component types for @shopify/admin-ui-components 0.45.0
sam-b-rose Mar 24, 2025
c77052f
Merge pull request #2707 from Shopify/0-45-0-admin-ui-update
sam-b-rose Mar 24, 2025
48e97fb
Clean up and consolidate documentation (#2706)
alex-page Mar 25, 2025
52aedb1
Update 2025-07-RC with latest from admin-ui
sam-b-rose Mar 25, 2025
56119d9
Merge pull request #2710 from Shopify/update-grid-and-grid-item-props
sam-b-rose Mar 25, 2025
bf525a1
Update admin components
sam-b-rose Mar 26, 2025
f9c326d
Merge pull request #2713 from Shopify/add-search-field
sam-b-rose Mar 26, 2025
1d9518e
Fix preview and update AB docgen
Fionoble Mar 25, 2025
5fdc7db
Update extension build script
Fionoble Mar 25, 2025
815eca2
Update overview
Fionoble Mar 26, 2025
c1efc24
Adjust api pages
Fionoble Mar 26, 2025
5161d81
Samll edits
Fionoble Mar 26, 2025
77189e9
Add missing related content
Fionoble Mar 26, 2025
789d376
Add templates
Fionoble Mar 28, 2025
db834f3
Add layout values
Fionoble Mar 29, 2025
26cd3a0
Merge pull request #2715 from Shopify/fio/fix-preview-and-add-jsx
Fionoble Mar 29, 2025
f676dd0
Fix jsx highlighting
Fionoble Mar 29, 2025
c79936e
fix link examples
Fionoble Mar 29, 2025
cf04454
Fix ab duplicate components bug
Fionoble Mar 29, 2025
6507974
Clean up stack
Fionoble Mar 29, 2025
36e14cf
Merge pull request #2718 from Shopify/fio/fix-highlighting
Fionoble Mar 29, 2025
5c84db0
Update generate to js
Fionoble Mar 30, 2025
bef65d4
Merge pull request #2719 from Shopify/fio/bash-to-js
Fionoble Mar 30, 2025
0af5e73
Update component.d.ts to narrow type definition for Link, Button and …
gwyneplaine Mar 31, 2025
b542e31
Lint
gwyneplaine Mar 31, 2025
cfb65e9
Remove hallucinated PublicPreactCustomElementAPI type
gwyneplaine Mar 31, 2025
49c05ab
Update PreactOverlaControl consumers to preserve all static propertie…
gwyneplaine Mar 31, 2025
09557c7
Merge pull request #2720 from Shopify/docs/2488
Fionoble Mar 31, 2025
38054a8
Add remove-required
Fionoble Mar 31, 2025
99110ca
Add preact entry to ui-extensions
henrytao-me Mar 31, 2025
3dbc46f
Add sideEffects to ui-extensions
henrytao-me Mar 31, 2025
f1d7589
Add changeset
henrytao-me Mar 31, 2025
6427063
Merge pull request #2721 from Shopify/app-ui/issues/2159
henrytao-me Mar 31, 2025
cb075e6
Brute force remove required in api docs
Fionoble Mar 31, 2025
3b0c7b0
Merge pull request #2724 from Shopify/fio/brute-force-remove-required
Fionoble Mar 31, 2025
997bc2c
Fix image props
alex-page Apr 1, 2025
258b156
Merge pull request #2726 from Shopify/fix-image-props
gwyneplaine Apr 1, 2025
a677568
Update admin ui components with SearchField props
sam-b-rose Apr 1, 2025
477fc91
Merge pull request #2727 from Shopify/add-search-field-props
sam-b-rose Apr 1, 2025
63ebc48
add page
Fionoble Apr 1, 2025
f019286
update component.d.ts
Fionoble Apr 2, 2025
9114a2b
Fix templates
Fionoble Apr 2, 2025
5c23bb3
Merge pull request #2731 from Shopify/fio/update-com-types
Fionoble Apr 2, 2025
c4eefec
Fix app-bridge and admin-extension docs not having descriptions for i…
gwyneplaine Apr 3, 2025
34b1cb6
Simplify docs (#2729)
alex-page Apr 3, 2025
7cf6153
Patch preact signal
henrytao-me Apr 2, 2025
ccc506c
Merge pull request #2735 from Shopify/app-ui/issues/2159-signal
henrytao-me Apr 3, 2025
384d1af
update images
Fionoble Apr 3, 2025
08e88b3
Merge pull request #2738 from Shopify/fio/update-images
Fionoble Apr 3, 2025
abc14fc
Move from experimental to polaris
Fionoble Apr 3, 2025
fb7fe59
Merge pull request #2742 from Shopify/fio/ex-pol
Fionoble Apr 3, 2025
c89bbde
Fix lint errors
gwyneplaine Apr 3, 2025
00178ff
Merge pull request #2736 from Shopify/clee/2545
gwyneplaine Apr 3, 2025
38276b2
Adding more context to component overviews to make llms (and humans) …
AaronSpringut Apr 3, 2025
5064999
Merge pull request #2741 from Shopify/doc_cleanup
AaronSpringut Apr 4, 2025
12cde6d
Fix Image and remove README.md files for components (#2744)
alex-page Apr 7, 2025
205e49f
Update preact setup
henrytao-me Apr 7, 2025
a4111a5
Update shared.ts (#2743)
alex-page Apr 7, 2025
b1b45f8
Merge pull request #2746 from Shopify/app-ui/issues/2159-signal-2
henrytao-me Apr 8, 2025
86fa477
add type defs for Switch
kyledurand Apr 8, 2025
244914c
Merge pull request #2747 from Shopify/components.d.ts-v0.47.2
kyledurand Apr 8, 2025
feab79e
Pre-generate target types
vividviolet Feb 14, 2025
69d4774
Update component definitions and ignore doc files
Fionoble Apr 1, 2025
62fd0b1
Fix broken links (#2751)
alex-page Apr 9, 2025
84923f4
Refactor component types so that they don't have naming collisions
vividviolet Apr 3, 2025
53a49f9
Update Admin components
vividviolet Apr 9, 2025
30d75ca
Merge pull request #2637 from Shopify/test-global
vividviolet Apr 9, 2025
aa1d840
Fix missing ChoiceList component
vividviolet Apr 9, 2025
72f387f
Merge pull request #2754 from Shopify/fix-choice-list
vividviolet Apr 9, 2025
eff797d
[Admin Docs] Fix duplicate property documentation bug (#2752)
gwyneplaine Apr 10, 2025
2a21fea
Sort component type definition members in alphabetical descending ord…
gwyneplaine Apr 10, 2025
8418734
Replace admin-home with app-home (#2756)
alex-page Apr 10, 2025
31cb024
Fix purchase options components to be the same as Admin Action
vividviolet Apr 10, 2025
5d960f6
feat(products): updating Product Configuration extension points to us…
kmdavis Feb 14, 2025
d2c1432
Merge pull request #2758 from Shopify/fix-purchase-options-components…
vividviolet Apr 10, 2025
da7bdd6
Start docs for 2025-07-rc for customer accounts
oluwatimio Apr 10, 2025
ec3d05c
Remove unnecessary docs (#2761)
alex-page Apr 11, 2025
12f0930
Remove unnecessary prop descriptions (#2762)
alex-page Apr 11, 2025
b434c7d
Update heading and section descriptions
alex-page Apr 11, 2025
db9ac5e
Update text and paragraph description
alex-page Apr 11, 2025
8cfb928
Update `s-box` description
alex-page Apr 11, 2025
8035c03
Update clickable description
alex-page Apr 11, 2025
5d0ff4d
More direct with stack description
alex-page Apr 11, 2025
9e5b9b8
Remove self closing tags
alex-page Apr 11, 2025
1718adc
Fix section example
alex-page Apr 11, 2025
bb8093b
Fix text example
alex-page Apr 11, 2025
986297f
Simplify divider example
alex-page Apr 11, 2025
36617fc
Fix the section example
alex-page Apr 11, 2025
fc7e5b0
Clean up Link examples
alex-page Apr 11, 2025
cd06fbd
fix(ui-extensions): remove global declaration from target d.ts to res…
vividviolet Apr 11, 2025
f9d8314
Merge pull request #2766 from Shopify/remove-global-declaration
vividviolet Apr 11, 2025
9b77713
Add using-polaris-web-components.ab.doc.ts (#2763)
alex-page Apr 14, 2025
bfbe302
Update props
alex-page Apr 14, 2025
9adfc12
Mark `connectedCallback` as `@private` so it is excluded from shopify…
alex-page Apr 14, 2025
b5546f6
Updated descriptions with additional context
elisaseijas Apr 14, 2025
8d9d30a
fix type errors and provide customer-account global type
brianshen1990 Apr 10, 2025
5641261
Updated descriptions with guidelines and best practices
elisaseijas Apr 14, 2025
9e2b270
Merge pull request #2759 from Shopify/timi/2025-07-rc-wip
brianshen1990 Apr 14, 2025
7048620
Update shared.ts
selenehinkley Apr 14, 2025
899f1c9
Update shared.ts
selenehinkley Apr 14, 2025
eac6a9a
Update shared.ts
selenehinkley Apr 14, 2025
c0b6540
Update shared.ts
selenehinkley Apr 14, 2025
6664787
Update shared.ts
selenehinkley Apr 14, 2025
fb35d1f
Update shared.ts
selenehinkley Apr 14, 2025
2d8160b
cut of checkout surface from chekcout-web@remote-dom-with-custom-elem…
jamesvidler Apr 10, 2025
dad7906
support checkout target type definition generation
jamesvidler Apr 11, 2025
7c3431c
Remove remote-ui core, unused devDependency
jamesvidler Apr 14, 2025
6e49fd3
delete outdated readme on standard api
jamesvidler Apr 14, 2025
c3e38d1
rebase adjustments
jamesvidler Apr 14, 2025
5e77a60
prettier fixes
jamesvidler Apr 14, 2025
548bead
Merge pull request #2765 from Shopify/jkv/2025-07-rc-checkout-surface
jamesvidler Apr 14, 2025
231cc26
Update Page.ab.doc.ts
elisaseijas Apr 15, 2025
56c4f02
Update Page.ab.doc.ts
elisaseijas Apr 15, 2025
72f8ede
Updated descriptions to remove mentions of admin to make it surface a…
elisaseijas Apr 15, 2025
5099b8d
Merge descriptions update - surface agnostic + minor tweaks.
elisaseijas Apr 15, 2025
e707b2a
use shopify cli instead of npm (#2771)
billfienberg Apr 15, 2025
5b43d86
fix vanillaJS version of global types for customer accounts
brianshen1990 Apr 15, 2025
6b77c77
Merge pull request #2772 from Shopify/fix-vanillaJS-version-of-global…
brianshen1990 Apr 15, 2025
571f593
customer account component examples
brianshen1990 Apr 16, 2025
993be1a
remove customer account doc react code
brianshen1990 Apr 16, 2025
a61ae38
Customer account rc doc - support doc generate
brianshen1990 Apr 16, 2025
f823fcd
Update component.d.ts (#2775)
gwyneplaine Apr 16, 2025
9e8bfa5
Admin update thumbnails
alex-page Apr 16, 2025
60b1779
Merge pull request #2773 from Shopify/customer-account-rc-fix-docs
brianshen1990 Apr 16, 2025
4585ddf
Merge pull request #2774 from Shopify/customer-account-rc-doc---remov…
brianshen1990 Apr 16, 2025
104d5a0
add customer account legacy hooks
brianshen1990 Apr 16, 2025
9975143
Remove banner tones content, this will live in the tone prop.
elisaseijas Apr 16, 2025
dc7a457
Update section description
elisaseijas Apr 16, 2025
f4d1ff0
react to preact
brianshen1990 Apr 16, 2025
2194688
remove policy modal component for customer account
brianshen1990 Apr 16, 2025
675e79c
Merge pull request #2782 from Shopify/remove-policy-modal-component-f…
brianshen1990 Apr 16, 2025
5027152
don't generate docs using ui-extensions-react
jamesvidler Apr 16, 2025
5504ad4
Merge pull request #2777 from Shopify/add-legacy-hooks
brianshen1990 Apr 17, 2025
459ce17
Merge pull request #2785 from Shopify/customer-account-rc---support-d…
brianshen1990 Apr 17, 2025
4fc5c75
remove overlay from doc for customer accounts
brianshen1990 Apr 17, 2025
c059042
Merge pull request #2786 from Shopify/remove-overlay-from-doc-for-cus…
brianshen1990 Apr 17, 2025
e51817f
fix types generation error for customer account rc version docs
brianshen1990 Apr 17, 2025
acff440
Merge pull request #2787 from Shopify/fix-types-generation-error-for-…
brianshen1990 Apr 17, 2025
da06b1f
Add Swtich documentation
sam-b-rose Apr 18, 2025
d9b55e2
Add a checkout/preact package for hooks (#2764)
kumar303 Apr 21, 2025
c7d6d08
remove all remote-ui api exmaple for customer account
brianshen1990 Apr 21, 2025
d64bcb2
use yarn
jamesvidler Apr 21, 2025
1e61b03
Merge pull request #2783 from Shopify/jkv/checkout-docs-no-react
jamesvidler Apr 21, 2025
95e064b
Merge pull request #2789 from Shopify/remove-all-remote-ui-api-exampl…
brianshen1990 Apr 21, 2025
c643601
customer account - update overview examples
brianshen1990 Apr 21, 2025
99551fc
Merge pull request #2790 from Shopify/customer-account---update-overv…
brianshen1990 Apr 21, 2025
1709f5b
Merge pull request #2788 from Shopify/add-switch-docs
sam-b-rose Apr 21, 2025
957d5d9
customer account doc - add preact examples for components
brianshen1990 Apr 21, 2025
96b220e
Merge pull request #2791 from Shopify/customer-account-doc----add-pre…
brianshen1990 Apr 21, 2025
46b7e3e
customer account doc - update exmaples for API
brianshen1990 Apr 21, 2025
8448ef8
Merge pull request #2792 from Shopify/customer-account-doc---update-e…
brianshen1990 Apr 21, 2025
1d8b910
customer account doc -- updateexamples for standard API
brianshen1990 Apr 21, 2025
029c494
customer privacy
brianshen1990 Apr 21, 2025
39cddd8
update localization
brianshen1990 Apr 21, 2025
786ac13
add navigation
brianshen1990 Apr 22, 2025
9c7e87e
add query
brianshen1990 Apr 22, 2025
1fd3703
add session token
brianshen1990 Apr 22, 2025
35f817c
add settings
brianshen1990 Apr 22, 2025
c7e88ae
Merge pull request #2794 from Shopify/customer-account-doc----updatee…
brianshen1990 Apr 22, 2025
463fcc5
customer account doc - delete all js version doc
brianshen1990 Apr 22, 2025
1098ff8
Merge pull request #2796 from Shopify/customer-account-doc---delete-a…
brianshen1990 Apr 22, 2025
aed3574
customer account - delete hook tests to unblock ci
brianshen1990 Apr 22, 2025
0e3621f
Merge pull request #2798 from Shopify/customer-account---delete-hook-…
brianshen1990 Apr 22, 2025
f84849d
initial script pass and somwhat docs
oliverigor Apr 23, 2025
10e55b6
cleaning up unused files
oliverigor Apr 23, 2025
0010b42
adding dts files
oliverigor Apr 24, 2025
508ea44
readding package and removing libs
oliverigor Apr 24, 2025
60a9cc4
readding package and removing libs
oliverigor Apr 24, 2025
55a1fa4
lock
oliverigor Apr 24, 2025
4a9e670
adding textfield in the mix
oliverigor Apr 24, 2025
da2b7ca
remove hack that skips checkout components
jamesvidler Apr 24, 2025
97a7c38
adding types with jsx code
oliverigor Apr 24, 2025
cce89e8
lint test
oliverigor Apr 25, 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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/brave-birds-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Add preact entry to ui-extensions
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.

5 changes: 5 additions & 0 deletions .changeset/cold-snakes-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Remove global declaration from target d.ts as this was causing conflicting types
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: 5 additions & 0 deletions .changeset/heavy-melons-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Patch preact signal
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: 5 additions & 0 deletions .changeset/orange-emus-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Update components types for Admin surface
5 changes: 5 additions & 0 deletions .changeset/pretty-terms-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': minor
---

Support remote-dom for Admin surface
5 changes: 5 additions & 0 deletions .changeset/wet-laws-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@shopify/ui-extensions': patch
---

Add new remote-dom components for Admin
19 changes: 3 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,17 @@ module.exports = {
'packages/*/*.mjs',
'packages/*/*.node',
'packages/*/*.esnext',
'packages/ui-extensions/src/surfaces/**/*.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 +46,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
41 changes: 41 additions & 0 deletions .github/workflows/rc-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: RC Snapshot

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

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

jobs:
rc-snapshot:
name: RC Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}

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

- name: Create an .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF

- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch

- name: Build snapshot version
run: yarn build

- name: Deploy snapshot version
run: yarn changeset version --snapshot ${{ steps.extract_branch.outputs.branch }} && yarn changeset publish --tag ${{ steps.extract_branch.outputs.branch }} --no-git-tag
env:
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ 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/**/*.d.ts
packages/**/*.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/**/*.d.ts
6 changes: 2 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "all",
"htmlWhitespaceSensitivity": "ignore",
"overrides": [
{
"files": [
"packages/ui-extensions-react/**/*.example.*",
"packages/ui-extensions/docs/**/*.example.*"
],
"files": ["packages/ui-extensions/docs/**/*.example.*"],
"options": {
"printWidth": 50
}
Expand Down
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"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ The types in this package allow us to represent additional details about the tar
- 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.
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