@shopify/ui-extensions
Advanced tools
Comparing version 0.0.0-unstable-20230306211226 to 0.0.0-unstable-20230307212523
@@ -9,3 +9,3 @@ type Source = 'categoriesMajor' | 'firstVisitMajor' | 'heartMajor' | 'marketingMajor' | 'checkoutMajor' | 'ordersMajor' | 'locationMajor' | 'emailNewsletterMajor' | 'firstOrderMajor' | 'billingStatementDollarMajor' | 'diamondAlertMajor' | 'abandonedCartMajor' | 'calendarMajor' | 'productsMajor' | 'globeMajor' | 'flagMajor' | 'uploadMajor' | 'buyButtonMajor' | 'followUpEmailMajor'; | ||
title: string; | ||
description: string; | ||
description: string | string[]; | ||
icon?: Source; | ||
@@ -12,0 +12,0 @@ templateQuery: string; |
{ | ||
"name": "@shopify/ui-extensions", | ||
"version": "0.0.0-unstable-20230306211226", | ||
"version": "0.0.0-unstable-20230307212523", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "module": "index.mjs", |
@@ -33,5 +33,5 @@ import {createRemoteComponent} from '@remote-ui/core'; | ||
title: string; | ||
/* Localized description of the template. */ | ||
description: string; | ||
/* Icon identifier for the template. This property is ignored for non-1P Segmentation templates as we fallback to the app icon. */ | ||
/* Localized description(s) of the template. */ | ||
description: string | string[]; | ||
/* Icon identifier for the template. This property is ignored for non-1P Segmentation templates as we fallback to the app icon */ | ||
icon?: Source; | ||
@@ -38,0 +38,0 @@ /* ShopifyQL code snippet to render in the template with syntax highlighting. */ |
@@ -30,3 +30,3 @@ import { | ||
title: i18n.translate('location.title'), | ||
description: i18n.translate('location.description'), | ||
description: [i18n.translate('location.firstParagraph'), i18n.translate('location.secondParagraph')], | ||
icon: 'locationMajor', | ||
@@ -33,0 +33,0 @@ templateQuery: "customer_cities CONTAINS 'US-NY-NewYorkCity'", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1170519