🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@shopify/app-bridge

Package Overview
Dependencies
Maintainers
10
Versions
324
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/app-bridge - npm Package Compare versions

Comparing version

to
0.7.0

6

actions/Button/actions.d.ts

@@ -8,3 +8,3 @@ /**

import { ErrorAction } from '../Error';
import { Action, ClickPayload, Icon, Options, Payload } from './types';
import { Action, ClickPayload, Icon, Options, Payload, Style } from './types';
export interface ButtonUpdateAction extends MetaAction {

@@ -15,3 +15,3 @@ readonly group: string;

export declare type ButtonAction = ButtonUpdateAction | ClickAction | MetaAction;
export declare function getSafeButtonProps(props: Payload): Pick<Payload, "disabled" | "label" | "id" | "primary" | "icon">;
export declare function getSafeButtonProps(props: Payload): Pick<Payload, "style" | "disabled" | "label" | "id" | "icon">;
export declare function clickButton(group: string, component: Component, payload?: ClickPayload): ClickAction;

@@ -23,5 +23,5 @@ export declare function update(group: string, component: Component, props: Payload): ButtonUpdateAction;

label: string;
primary: boolean;
disabled: boolean;
icon?: Icon;
style?: Style;
constructor(app: ClientApplication<any>, options: Options);

@@ -28,0 +28,0 @@ readonly options: Options;

@@ -15,8 +15,11 @@ /**

}
export declare enum Style {
Danger = "danger",
}
export interface Presentation {
icon?: Icon;
style?: Style;
}
export interface Options extends Presentation {
label: string;
primary?: boolean;
disabled?: boolean;

@@ -23,0 +26,0 @@ }

@@ -6,2 +6,13 @@ # Change Log

<a name="0.7.0"></a>
# [0.7.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.6.0...@shopify/app-bridge@0.7.0) (2018-10-12)
### Features
* **button:** add danger button style ([#424](https://github.com/Shopify/app-bridge/issues/424)) ([5cf58ed](https://github.com/Shopify/app-bridge/commit/5cf58ed))
<a name="0.6.0"></a>

@@ -8,0 +19,0 @@ # [0.6.0](https://github.com/Shopify/app-bridge/compare/@shopify/app-bridge@0.5.0...@shopify/app-bridge@0.6.0) (2018-10-12)

{
"name": "@shopify/app-bridge",
"version": "0.6.0",
"version": "0.7.0",
"types": "index.d.ts",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet