UI extension surface removal

Shopify POS UI Extensions Icon minor major size deprecated

An icon using `minor`/`major` renders incorrectly or fails validation in current POS.

Shopify POS UI ExtensionsCommerce extension platformUI extension surface removalshopify_pos_2507

Agent Quick Fix

Repair against the current Shopify POS UI Extensions contract, then keep the change narrow and source-backed.

Product: Shopify POS UI Extensions
Current-contract area: Deprecated Icon size value rejected
Likely root cause: An icon using `minor`/`major` renders incorrectly or fails validation in current POS.
Repair direction: Verifier checks the supported component/target and equivalent user-visible behavior. Assert equivalent rendered interaction in the current host.

Symptom

An icon using `minor`/`major` renders incorrectly or fails validation in current POS.

Why This Happens

Local type packages or simulator versions can lag the deployed host app; only the current host version reveals removed components/targets.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

Shopify POS UI Extensions Icon minor major size deprecated
Shopify UI Extensions Icon component size minor major
"minor" "major" "Icon" "Shopify"
@shopify/ui-extensions-react Icon size type
Shopify POS UI Extensions Icon component docs
https://shopify.dev/docs/api/pos-ui-extensions
https://shopify.dev/docs/api/pos-ui-extensions/2026-04/web-components

Source Trail