Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/app-bridge

Package Overview
Dependencies
Maintainers
19
Versions
322
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 3.4.3 to 3.4.4-alpha.0

2

actions/Picker/index.d.ts

@@ -31,3 +31,3 @@ import { ClientApplication } from '../../client';

name: string;
initials: string;
initials?: string;
source: string;

@@ -34,0 +34,0 @@ }

@@ -0,5 +1,6 @@

import { Action as AppBridgeRedirectAction } from '../Navigation/Redirect';
import { ClientApplication } from '../../client';
import { ActionSetWithChildren } from '../ActionSet';
import { Button, Payload as ButtonPayload } from '../Button';
import { ButtonGroup, Payload as ButtonGroupPayload } from '../ButtonGroup';
import { ClientApplication } from '../../client';
import { ActionSetWithChildren } from '../ActionSet';
import { ActionSetProps, ClickAction, Group, MetaAction } from '../types';

@@ -45,2 +46,39 @@ export declare enum Action {

export declare function update(payload: Payload): UpdateAction;
export declare type Target = Exclude<keyof typeof AppBridgeRedirectAction, 'ADMIN_SECTION'>;
export interface ActionProps {
/** Content the action displays */
content?: string;
/** Should the action be styled as destructive */
destructive?: boolean;
/** Should the action be disabled */
disabled?: boolean;
/** Should the action be loading */
loading?: boolean;
/** Forces url to open in a new tab */
external?: boolean;
/** Use Polaris plain styling */
plain?: boolean;
/**
* Where to display the target link
* @default 'APP'
*/
target?: Target;
/** A destination to link to */
url?: string;
id: string;
/** Callback when an action takes place */
onAction?(): void;
}
export declare type DeepPartial<T> = T extends object ? {
[P in keyof T]?: DeepPartial<T[P]>;
} : T;
export interface UpdatePayload {
readonly id?: string;
title?: string;
buttons?: ButtonsPayload;
breadcrumb?: ButtonPayload;
}
export interface TitleBarApi {
update: (payload: DeepPartial<Payload>) => void;
}
export declare class TitleBar extends ActionSetWithChildren implements ActionSetProps<Options, Payload> {

@@ -47,0 +85,0 @@ title?: string;

@@ -30,2 +30,3 @@ "use strict";

exports.create = exports.TitleBar = exports.update = exports.clickBreadcrumb = exports.clickActionButton = exports.Action = void 0;
var ActionSet_1 = require("../ActionSet");
var Button_1 = require("../Button");

@@ -36,3 +37,2 @@ var ButtonGroup_1 = require("../ButtonGroup");

var helper_1 = require("../helper");
var ActionSet_1 = require("../ActionSet");
var types_1 = require("../types");

@@ -39,0 +39,0 @@ var Action;

{
"name": "@shopify/app-bridge",
"version": "3.4.3",
"version": "3.4.4-alpha.0",
"types": "index.d.ts",

@@ -57,3 +57,3 @@ "main": "index.js",

},
"gitHead": "2b27d049effc97fce4b053bf8da259424fc53808"
"gitHead": "35a8370f791de6d6acceb1290f00b0a317fc41c0"
}

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc