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

@stripe/ui-extension-sdk

Package Overview
Dependencies
Maintainers
46
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stripe/ui-extension-sdk

The suite of functionality available to UI extensions in Stripe apps

  • 4.0.0
  • npm
  • Socket score

Version published
Weekly downloads
2.3K
increased by10.21%
Maintainers
46
Weekly downloads
 
Created
Source

Stripe UI Extension SDK

For details on creating a Stripe App using this SDK, please refer to the Stripe App documentation.

Changelog

4.0.0

  • Deprecates the slot property

3.2.0

  • Adds the createOAuthState function
  • Adds oauthContext to the ExtensionContextValue type

3.1.0

  • Adds the Img component

3.0.0

  • Bump @sail/ui to 28.0.1
  • Bump @stripe-internal/tailor-dashboard-components to 1.3.6
  • Adds support for the Notice, Charts, and Tabs components
  • Breaking changes:
    • ListItem: Previously, content passed as children would be the primary content rendered in the component. Now, main content is passed to the title prop. The description slot has also been reassigned to a secondaryTitle prop.
    • MenuTrigger: This component has been deprecated in favor of a trigger prop on the Menu component. Slot API usage has also been removed.
  • Removed permissions from being passed into the user context.

2.2.1

  • Bump @stripe-internal/tailor-tsm to 0.3.5 to expose docs.json files in dist

2.2.0

  • Add actions prop to ContextView.

2.1.0

  • Introduces ButtonGroup component.
  • Removes margin-bottom from form controls.
  • Gives Button white-space: nowrap and alignY: center by default.
  • Button themes now set a min-height on all size variants.
  • Makes Link and Button shrink to fit their content.
  • Exposes defaultValue attribute on TextField and TextArea.
  • Allows error and description to be hidden on form controls via the hiddenElements prop.
  • Exposes invalid and size props on Select and TextArea.
  • Exposes defaultChecked attribute on Radio.
  • Exposes resizeable and rows props on TextArea.
  • Fixes invalid state on control components.
  • Fixes Chip onDropdown firing twice.
  • Fixes Divider rendering.

2.0.3

  • Returns a promise from useRefreshDashboardData that resolves after dashboard data is refreshed.
  • Adds fetchStripeSignature method that optionally accepts additional request payload. Signature can be used to make authenticated request to your app's backend. See the docs for details.
  • Fixes an issue where the test element check method .is would sometimes fail to identify a component.

2.0.2

  • Fixes an issue with the testing package in which comopnents with fragment props were not findable using wrapper.find()

2.0.1

  • Pulls in updated dependency that fixjes #55 and #161

2.0.0

  • Fixes a render error with SettingsView
  • Updates SettingsView types to match the available component props
  • Adds a getMockContextProps helper for testing. See the docs for details.
  • List component now accepts React.ReactNode as a valid type to the value prop, rather than just a string.
  • Adds hover state to ListItem components
  • Updates ListItem component such that hover state is only visible when there is an action associated
  • Fix Select rendering when multiple is true
  • Fix Checkbox onChange firing twice

1.1.7

  • Adds a "testing" module, which includes helpers for writing Jest tests for apps. See the docs for details.
  • Fixes some components that take React nodes as props
    • MenuGroup now supports the title prop
    • FocusView now supports the footerContent prop
    • SettingsView now supports the headerActions prop
  • Some type fixes and grammar updates.

1.1.6

  • Added types for FocusView, SettingsView, and ContextView
  • Exporting a new constant STRIPE_API_KEY from http_client to be used when initializing the Stripe API client.

Keywords

FAQs

Package last updated on 18 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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