@shopify/admin-ui-extensions
Advanced tools
Comparing version 1.0.1 to 1.0.2
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -14,4 +14,8 @@ declare type Status = 'success' | 'info' | 'attention' | 'warning' | 'new'; | ||
*/ | ||
export declare const Badge: import("@remote-ui/core").RemoteComponentType<"Badge", BadgeProps, true>; | ||
export declare const Badge: "Badge" & { | ||
readonly type?: "Badge" | undefined; | ||
readonly props?: BadgeProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=Badge.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Badge = core_1.createRemoteComponent('Badge'); | ||
exports.Badge = (0, core_1.createRemoteComponent)('Badge'); |
@@ -17,3 +17,7 @@ import type { BaseBannerProps } from '@shopify/ui-extensions'; | ||
*/ | ||
export declare const Banner: import("@remote-ui/core").RemoteComponentType<"Banner", BannerProps, true>; | ||
export declare const Banner: "Banner" & { | ||
readonly type?: "Banner" | undefined; | ||
readonly props?: BannerProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Banner.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.Banner = core_1.createRemoteComponent('Banner'); | ||
exports.Banner = (0, core_1.createRemoteComponent)('Banner'); |
@@ -9,3 +9,7 @@ import type { BaseBlockStackProps } from '@shopify/ui-extensions'; | ||
*/ | ||
export declare const BlockStack: import("@remote-ui/core").RemoteComponentType<"BlockStack", BaseBlockStackProps, true>; | ||
export declare const BlockStack: "BlockStack" & { | ||
readonly type?: "BlockStack" | undefined; | ||
readonly props?: BaseBlockStackProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=BlockStack.d.ts.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
*/ | ||
exports.BlockStack = core_1.createRemoteComponent('BlockStack'); | ||
exports.BlockStack = (0, core_1.createRemoteComponent)('BlockStack'); |
@@ -16,4 +16,8 @@ import type { BaseButtonProps } from '@shopify/ui-extensions'; | ||
*/ | ||
export declare const Button: import("@remote-ui/core").RemoteComponentType<"Button", ButtonProps, true>; | ||
export declare const Button: "Button" & { | ||
readonly type?: "Button" | undefined; | ||
readonly props?: ButtonProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=Button.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Button = core_1.createRemoteComponent('Button'); | ||
exports.Button = (0, core_1.createRemoteComponent)('Button'); |
@@ -20,3 +20,8 @@ import { DestructableAction, DisableableAction } from '../types'; | ||
*/ | ||
export declare const Card: import("@remote-ui/core").RemoteComponentType<"Card", CardProps, true>; | ||
export declare const Card: "Card" & { | ||
readonly type?: "Card" | undefined; | ||
/** Automatically wrap each child component in a `Card.Section` */ | ||
readonly props?: CardProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Card.d.ts.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
*/ | ||
exports.Card = core_1.createRemoteComponent('Card'); | ||
exports.Card = (0, core_1.createRemoteComponent)('Card'); |
@@ -7,3 +7,7 @@ export interface CardSectionProps { | ||
*/ | ||
export declare const CardSection: import("@remote-ui/core").RemoteComponentType<"CardSection", CardSectionProps, true>; | ||
export declare const CardSection: "CardSection" & { | ||
readonly type?: "CardSection" | undefined; | ||
readonly props?: CardSectionProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=CardSection.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.CardSection = core_1.createRemoteComponent('CardSection'); | ||
exports.CardSection = (0, core_1.createRemoteComponent)('CardSection'); |
@@ -17,3 +17,7 @@ export interface CheckboxProps { | ||
*/ | ||
export declare const Checkbox: import("@remote-ui/core").RemoteComponentType<"Checkbox", CheckboxProps, true>; | ||
export declare const Checkbox: "Checkbox" & { | ||
readonly type?: "Checkbox" | undefined; | ||
readonly props?: CheckboxProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Checkbox.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Checkbox = core_1.createRemoteComponent('Checkbox'); | ||
exports.Checkbox = (0, core_1.createRemoteComponent)('Checkbox'); |
@@ -12,4 +12,8 @@ import type { BaseHeadingProps } from '@shopify/ui-extensions'; | ||
*/ | ||
export declare const Heading: import("@remote-ui/core").RemoteComponentType<"Heading", HeadingProps, true>; | ||
export declare const Heading: "Heading" & { | ||
readonly type?: "Heading" | undefined; | ||
readonly props?: HeadingProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=Heading.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Heading = core_1.createRemoteComponent('Heading'); | ||
exports.Heading = (0, core_1.createRemoteComponent)('Heading'); |
@@ -11,4 +11,8 @@ declare type Source = 'cancelSmallMinor' | 'searchMinor' | 'starHollow' | 'starFilled' | 'sortMinor'; | ||
*/ | ||
export declare const Icon: import("@remote-ui/core").RemoteComponentType<"Icon", IconProps, true>; | ||
export declare const Icon: "Icon" & { | ||
readonly type?: "Icon" | undefined; | ||
readonly props?: IconProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=Icon.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Icon = core_1.createRemoteComponent('Icon'); | ||
exports.Icon = (0, core_1.createRemoteComponent)('Icon'); |
@@ -9,3 +9,7 @@ import type { BaseInlineStackProps } from '@shopify/ui-extensions'; | ||
*/ | ||
export declare const InlineStack: import("@remote-ui/core").RemoteComponentType<"InlineStack", BaseInlineStackProps, true>; | ||
export declare const InlineStack: "InlineStack" & { | ||
readonly type?: "InlineStack" | undefined; | ||
readonly props?: BaseInlineStackProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=InlineStack.d.ts.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
*/ | ||
exports.InlineStack = core_1.createRemoteComponent('InlineStack'); | ||
exports.InlineStack = (0, core_1.createRemoteComponent)('InlineStack'); |
@@ -18,3 +18,7 @@ export interface LinkProps { | ||
*/ | ||
export declare const Link: import("@remote-ui/core").RemoteComponentType<"Link", LinkProps, true>; | ||
export declare const Link: "Link" & { | ||
readonly type?: "Link" | undefined; | ||
readonly props?: LinkProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Link.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Link = core_1.createRemoteComponent('Link'); | ||
exports.Link = (0, core_1.createRemoteComponent)('Link'); |
@@ -29,3 +29,9 @@ import { DestructableAction } from '../types'; | ||
*/ | ||
export declare const Modal: import("@remote-ui/core").RemoteComponentType<"Modal", ModalProps, true>; | ||
export declare const Modal: "Modal" & { | ||
readonly type?: "Modal" | undefined; | ||
readonly props?: ModalProps | undefined; | ||
readonly children?: true | undefined; /** | ||
* Modal's primary action, ie 'Save' or 'Accept'. | ||
*/ | ||
}; | ||
//# sourceMappingURL=Modal.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.Modal = core_1.createRemoteComponent('Modal'); | ||
exports.Modal = (0, core_1.createRemoteComponent)('Modal'); |
@@ -30,4 +30,8 @@ interface OptionDescriptor { | ||
*/ | ||
export declare const OptionList: import("@remote-ui/core").RemoteComponentType<"OptionList", OptionListProps, true>; | ||
export declare const OptionList: "OptionList" & { | ||
readonly type?: "OptionList" | undefined; | ||
readonly props?: OptionListProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=OptionList.d.ts.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
*/ | ||
exports.OptionList = core_1.createRemoteComponent('OptionList'); | ||
exports.OptionList = (0, core_1.createRemoteComponent)('OptionList'); |
@@ -9,3 +9,7 @@ export interface PressableProps { | ||
*/ | ||
export declare const Pressable: import("@remote-ui/core").RemoteComponentType<"Pressable", PressableProps, true>; | ||
export declare const Pressable: "Pressable" & { | ||
readonly type?: "Pressable" | undefined; | ||
readonly props?: PressableProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Pressable.d.ts.map |
@@ -9,2 +9,2 @@ "use strict"; | ||
*/ | ||
exports.Pressable = core_1.createRemoteComponent('Pressable'); | ||
exports.Pressable = (0, core_1.createRemoteComponent)('Pressable'); |
@@ -20,3 +20,8 @@ export interface RadioProps { | ||
*/ | ||
export declare const Radio: import("@remote-ui/core").RemoteComponentType<"Radio", RadioProps, true>; | ||
export declare const Radio: "Radio" & { | ||
readonly type?: "Radio" | undefined; | ||
/** Radio button is selected. */ | ||
readonly props?: RadioProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Radio.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Radio = core_1.createRemoteComponent('Radio'); | ||
exports.Radio = (0, core_1.createRemoteComponent)('Radio'); |
@@ -12,3 +12,7 @@ export interface ResourceItemProps { | ||
*/ | ||
export declare const ResourceItem: import("@remote-ui/core").RemoteComponentType<"ResourceItem", ResourceItemProps, true>; | ||
export declare const ResourceItem: "ResourceItem" & { | ||
readonly type?: "ResourceItem" | undefined; | ||
readonly props?: ResourceItemProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=ResourceItem.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.ResourceItem = core_1.createRemoteComponent('ResourceItem'); | ||
exports.ResourceItem = (0, core_1.createRemoteComponent)('ResourceItem'); |
@@ -20,4 +20,8 @@ interface FilterControl { | ||
*/ | ||
export declare const ResourceList: import("@remote-ui/core").RemoteComponentType<"ResourceList", ResourceListProps, true>; | ||
export declare const ResourceList: "ResourceList" & { | ||
readonly type?: "ResourceList" | undefined; | ||
readonly props?: ResourceListProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=ResourceList.d.ts.map |
@@ -11,2 +11,2 @@ "use strict"; | ||
*/ | ||
exports.ResourceList = core_1.createRemoteComponent('ResourceList'); | ||
exports.ResourceList = (0, core_1.createRemoteComponent)('ResourceList'); |
@@ -28,4 +28,8 @@ interface Option { | ||
*/ | ||
export declare const Select: import("@remote-ui/core").RemoteComponentType<"Select", SelectProps, true>; | ||
export declare const Select: "Select" & { | ||
readonly type?: "Select" | undefined; | ||
readonly props?: SelectProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=Select.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.Select = core_1.createRemoteComponent('Select'); | ||
exports.Select = (0, core_1.createRemoteComponent)('Select'); |
@@ -6,3 +6,7 @@ export interface SpinnerProps { | ||
*/ | ||
export declare const Spinner: import("@remote-ui/core").RemoteComponentType<"Spinner", SpinnerProps, true>; | ||
export declare const Spinner: "Spinner" & { | ||
readonly type?: "Spinner" | undefined; | ||
readonly props?: SpinnerProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Spinner.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Spinner = core_1.createRemoteComponent('Spinner'); | ||
exports.Spinner = (0, core_1.createRemoteComponent)('Spinner'); |
@@ -10,3 +10,7 @@ export interface StackItemProps { | ||
*/ | ||
export declare const StackItem: import("@remote-ui/core").RemoteComponentType<"StackItem", StackItemProps, true>; | ||
export declare const StackItem: "StackItem" & { | ||
readonly type?: "StackItem" | undefined; | ||
readonly props?: StackItemProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=StackItem.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.StackItem = core_1.createRemoteComponent('StackItem'); | ||
exports.StackItem = (0, core_1.createRemoteComponent)('StackItem'); |
@@ -15,3 +15,7 @@ export interface TextProps { | ||
*/ | ||
export declare const Text: import("@remote-ui/core").RemoteComponentType<"Text", TextProps, true>; | ||
export declare const Text: "Text" & { | ||
readonly type?: "Text" | undefined; | ||
readonly props?: TextProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Text.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Text = core_1.createRemoteComponent('Text'); | ||
exports.Text = (0, core_1.createRemoteComponent)('Text'); |
@@ -13,4 +13,9 @@ declare type Size = 'small' | 'base' | 'medium' | 'large' | 'extraLarge'; | ||
*/ | ||
export declare const TextBlock: import("@remote-ui/core").RemoteComponentType<"TextBlock", TextBlockProps, true>; | ||
export declare const TextBlock: "TextBlock" & { | ||
readonly type?: "TextBlock" | undefined; | ||
readonly props?: TextBlockProps | undefined; | ||
/** Size of the text */ | ||
readonly children?: true | undefined; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=TextBlock.d.ts.map |
@@ -9,2 +9,2 @@ "use strict"; | ||
*/ | ||
exports.TextBlock = core_1.createRemoteComponent('TextBlock'); | ||
exports.TextBlock = (0, core_1.createRemoteComponent)('TextBlock'); |
@@ -36,3 +36,7 @@ export interface TextFieldProps { | ||
*/ | ||
export declare const TextField: import("@remote-ui/core").RemoteComponentType<"TextField", TextFieldProps, true>; | ||
export declare const TextField: "TextField" & { | ||
readonly type?: "TextField" | undefined; | ||
readonly props?: TextFieldProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=TextField.d.ts.map |
@@ -10,2 +10,2 @@ "use strict"; | ||
*/ | ||
exports.TextField = core_1.createRemoteComponent('TextField'); | ||
exports.TextField = (0, core_1.createRemoteComponent)('TextField'); |
@@ -14,3 +14,7 @@ export declare type Size = 'small' | 'medium' | 'large'; | ||
*/ | ||
export declare const Thumbnail: import("@remote-ui/core").RemoteComponentType<"Thumbnail", ThumbnailProps, true>; | ||
export declare const Thumbnail: "Thumbnail" & { | ||
readonly type?: "Thumbnail" | undefined; | ||
readonly props?: ThumbnailProps | undefined; | ||
readonly children?: true | undefined; | ||
}; | ||
//# sourceMappingURL=Thumbnail.d.ts.map |
@@ -8,2 +8,2 @@ "use strict"; | ||
*/ | ||
exports.Thumbnail = core_1.createRemoteComponent('Thumbnail'); | ||
exports.Thumbnail = (0, core_1.createRemoteComponent)('Thumbnail'); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -8,5 +8,5 @@ "use strict"; | ||
var callback = function () { }; | ||
api_1.extend('Playground', callback); | ||
(0, api_1.extend)('Playground', callback); | ||
expect(self.shopify.extend).toHaveBeenCalledWith('Playground', callback); | ||
}); | ||
}); |
{ | ||
"name": "@shopify/admin-ui-extensions", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "index.js", | ||
@@ -14,3 +14,3 @@ "module": "index.mjs", | ||
}, | ||
"./": "./" | ||
"./*": "./*" | ||
}, | ||
@@ -21,3 +21,3 @@ "license": "MIT", | ||
"@remote-ui/core": "^2.1.3", | ||
"@shopify/ui-extensions": "^1.0.1" | ||
"@shopify/ui-extensions": "^1.0.2" | ||
}, | ||
@@ -28,3 +28,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "70120f7bdbb6ca1b8089925f0346d6fbf0a3b9ca" | ||
"gitHead": "a00fc56a2f02a7201f480e60aff0459c2f8c55ca" | ||
} |
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5101
368344