@shopify/ui-extensions
Advanced tools
Comparing version 0.0.0-unstable-20230906191926 to 0.0.0-unstable-20230907204034
@@ -12,3 +12,2 @@ 'use strict'; | ||
var Checkbox = require('./admin/components/Checkbox/Checkbox.js'); | ||
var CustomerSegmentationTemplate = require('./admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.js'); | ||
var CustomerSegmentTemplate = require('./admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js'); | ||
@@ -47,3 +46,2 @@ var Divider = require('./admin/components/Divider/Divider.js'); | ||
exports.Checkbox = Checkbox.Checkbox; | ||
exports.CustomerSegmentationTemplate = CustomerSegmentationTemplate.CustomerSegmentationTemplate; | ||
exports.CustomerSegmentTemplate = CustomerSegmentTemplate.CustomerSegmentTemplate; | ||
@@ -50,0 +48,0 @@ exports.Divider = Divider.Divider; |
@@ -13,4 +13,2 @@ export { AdminAction } from './components/AdminAction/AdminAction'; | ||
export type { CheckboxProps } from './components/Checkbox/Checkbox'; | ||
export { CustomerSegmentationTemplate } from './components/CustomerSegmentationTemplate/CustomerSegmentationTemplate'; | ||
export type { CustomerSegmentationTemplateProps } from './components/CustomerSegmentationTemplate/CustomerSegmentationTemplate'; | ||
export { CustomerSegmentTemplate } from './components/CustomerSegmentTemplate/CustomerSegmentTemplate'; | ||
@@ -17,0 +15,0 @@ export type { CustomerSegmentTemplateProps } from './components/CustomerSegmentTemplate/CustomerSegmentTemplate'; |
@@ -9,5 +9,3 @@ /** | ||
description: string | string[]; | ||
templateQuery?: string; | ||
query: string; | ||
templateQueryToInsert?: string; | ||
queryToInsert?: string; | ||
@@ -18,3 +16,2 @@ dependencies?: { | ||
}; | ||
dateAdded?: string; | ||
createdOn?: string; | ||
@@ -21,0 +18,0 @@ } |
@@ -12,7 +12,4 @@ export type CustomerSegmentTemplateIcon = 'categoriesMajor' | 'firstVisitMajor' | 'heartMajor' | 'marketingMajor' | 'checkoutMajor' | 'ordersMajor' | 'locationMajor' | 'emailNewsletterMajor' | 'firstOrderMajor' | 'billingStatementDollarMajor' | 'diamondAlertMajor' | 'abandonedCartMajor' | 'calendarMajor' | 'productsMajor' | 'globeMajor' | 'flagMajor' | 'uploadMajor' | 'buyButtonMajor' | 'followUpEmailMajor' | 'confettiMajor' | 'viewMajor' | 'buyButtonMajor'; | ||
icon: CustomerSegmentTemplateIcon; | ||
templateQuery?: string; | ||
query: string; | ||
templateQueryToInsert?: string; | ||
queryToInsert?: string; | ||
standardMetafieldDependencies?: CustomerStandardMetafieldDependency[]; | ||
dependencies?: { | ||
@@ -22,3 +19,2 @@ standardMetafields?: CustomerStandardMetafieldDependency[]; | ||
}; | ||
dateAdded?: string; | ||
createdOn?: string; | ||
@@ -25,0 +21,0 @@ category: CustomerSegmentTemplateCategory; |
@@ -5,3 +5,3 @@ import type { RenderExtension } from '../../extension'; | ||
import { AnyComponentBuilder } from '../../shared'; | ||
type CustomerSegmentationTemplateComponent = AnyComponentBuilder<Pick<Components, 'CustomerSegmentationTemplate' | 'CustomerSegmentTemplate' | 'InternalCustomerSegmentTemplate'>>; | ||
type CustomerSegmentationTemplateComponent = AnyComponentBuilder<Pick<Components, 'CustomerSegmentTemplate' | 'InternalCustomerSegmentTemplate'>>; | ||
type ProductConfigurationComponents = AnyComponentBuilder<Pick<Components, 'Box' | 'InlineStack' | 'BlockStack' | 'Divider' | 'HeadingGroup' | 'Heading' | 'Text' | 'Link' | 'Image' | 'Icon' | 'ResourceList' | 'ResourceItem' | 'Thumbnail'>>; | ||
@@ -8,0 +8,0 @@ /** |
{ | ||
"name": "@shopify/ui-extensions", | ||
"version": "0.0.0-unstable-20230906191926", | ||
"version": "0.0.0-unstable-20230907204034", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "docs:admin": "sh ./docs/surfaces/admin/build-docs.sh \"admin\"", |
@@ -13,4 +13,2 @@ export {AdminAction} from './components/AdminAction/AdminAction'; | ||
export type {CheckboxProps} from './components/Checkbox/Checkbox'; | ||
export {CustomerSegmentationTemplate} from './components/CustomerSegmentationTemplate/CustomerSegmentationTemplate'; | ||
export type {CustomerSegmentationTemplateProps} from './components/CustomerSegmentationTemplate/CustomerSegmentationTemplate'; | ||
export {CustomerSegmentTemplate} from './components/CustomerSegmentTemplate/CustomerSegmentTemplate'; | ||
@@ -17,0 +15,0 @@ export type {CustomerSegmentTemplateProps} from './components/CustomerSegmentTemplate/CustomerSegmentTemplate'; |
@@ -14,8 +14,4 @@ import {createRemoteComponent} from '@remote-ui/core'; | ||
description: string | string[]; | ||
/* DEPRECATED - Code snippet to render in the template with syntax highlighting. */ | ||
templateQuery?: string; | ||
/* Code snippet to render in the template with syntax highlighting. */ | ||
query: string; | ||
/* DEPRECATED - Code snippet to insert in the segment editor. If missing, `templateQuery` will be used. */ | ||
templateQueryToInsert?: string; | ||
/* Code snippet to insert in the segment editor. If missing, `templateQuery` will be used. */ | ||
@@ -28,4 +24,2 @@ queryToInsert?: string; | ||
}; | ||
/* DEPRECATED - ISO 8601-encoded date and time string. A "New" badge will be rendered for recently introduced templates. */ | ||
dateAdded?: string; | ||
/* ISO 8601-encoded date and time string. A "New" badge will be rendered for recently introduced templates. */ | ||
@@ -32,0 +26,0 @@ createdOn?: string; |
@@ -48,12 +48,6 @@ import {createRemoteComponent} from '@remote-ui/core'; | ||
icon: CustomerSegmentTemplateIcon; | ||
/* DEPRECATED - Code snippet to render in the template with syntax highlighting. */ | ||
templateQuery?: string; | ||
/* Code snippet to render in the template with syntax highlighting. */ | ||
query: string; | ||
/* DEPRECATED - Code snippet to insert in the segment editor. If missing, `templateQuery` will be used. */ | ||
templateQueryToInsert?: string; | ||
/* Code snippet to insert in the segment editor. If missing, `templateQuery` will be used. */ | ||
queryToInsert?: string; | ||
/* DEPRECATED - List of customer standard metafield used in the template's query. */ | ||
standardMetafieldDependencies?: CustomerStandardMetafieldDependency[]; | ||
/* List of customer standard metafields or custom metafields used in the template's query. */ | ||
@@ -64,4 +58,2 @@ dependencies?: { | ||
}; | ||
/* DEPRECATED - ISO 8601-encoded date and time string. A "New" badge will be rendered for recently introduced templates. */ | ||
dateAdded?: string; | ||
/* ISO 8601-encoded date and time string. A "New" badge will be rendered for recently introduced templates. */ | ||
@@ -68,0 +60,0 @@ createdOn?: string; |
@@ -17,5 +17,3 @@ import type {RenderExtension} from '../../extension'; | ||
Components, | ||
| 'CustomerSegmentationTemplate' | ||
| 'CustomerSegmentTemplate' | ||
| 'InternalCustomerSegmentTemplate' | ||
'CustomerSegmentTemplate' | 'InternalCustomerSegmentTemplate' | ||
> | ||
@@ -22,0 +20,0 @@ >; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1452331
1014
30512