![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@stripe/ui-extension-sdk
Advanced tools
The suite of functionality available to UI extensions in Stripe apps
For details on creating a Stripe App using this SDK, please refer to the Stripe App documentation.
minTileWidth
prop types to accept only compatible values.React.RefObject
type from the Tooltip
component's trigger
prop, as it is not supported at runtime.id
prop to Tab
and TabPanel
components to replace tabKey
.borderColor
, borderBottomColor
, borderLeftColor
, borderRightColor
, borderTopColor
) in the css
prop of Box
and Inline
components.borderStyle
, borderWidth
, borderBottomStyle
, borderBottomWidth
, borderLeftStyle
, borderLeftWidth
, borderRightStyle
, borderRightWidth
, borderTopStyle
, borderTopWidth
) to the css
prop of Box
and Inline
components.name
prop on the Icon
component.value
prop to DateField
component.background
property on Box
and Inline
components' css
prop. Use the backgroundColor
property instead.className
prop on Button
and Link
components.invalid
prop on FormFieldGroup
component.layout
property on Box
and Inline
components' css
prop. Use the stack
property instead.tabKey
prop on Tab
and TabPanel
components.borderColor
, borderTopColor
, borderRightColor
, borderBottomColor
, borderLeftColor
) on Box
and Inline
components' css
prop. Use the keyline
property for border styling instead.value
and checked
props.StripeFileUploader
component.platform
prop to environment context.appContext
to the ExtensionContextValue
type.AuthorizedPermission
and AuthorizedContentSecurityPolicy
.appContext
:
getUserAuthorizedPermissions
: Gets the intersection of the app's authorized permissions and those of the current Dashboard user.isPermissionAuthorized
: Indicates if a permission is in the app's authorized permissions.isSourceInAuthorizedCSP
: Indicates if a URL is in the app's authorized connect or image sources.roles
to the account passed to extensions in the userContext
property.secondaryAction
prop to SignInView
.target
to SignInView
action props.href
and onPress
on SignInView
action props.constants
prop to environment context.SignInView
component.contentUses
property from TableCell
and TableHeaderCell
typing.useToast
to return show
and dismiss
utility methods.StripeAppsHttpResponse.prototype.toJSON()
now returns a rejected promise if the HTTP response body was empty.fetchStripeSignature
with nested JSON.debug
to filter props according to all
option.tabKey
to Tab
and TabPanel
.stripe
package dependency to ^9.11.0
.external
to Link
.setShown
prop to FocusView
.showToast
utility function for rendering toast notifications at the bottom of an app's view.ExtensionContextValue
typing to mark name
and objectContext
values as possibly null
.textAlign
to Box
css
.onSave
prop optional for SettingsView
components.@remote-ui/react
4.5.2.Sparkline
component.value
prop on TextArea
, TextField
, and Select
components.checked
prop on Checkbox
, Radio
, and Switch
components.outerRef
props from inputs.brandIcon
and brandColor
to ContextView
.Notice
component; use Banner
instead.overflowX
and overflowY
to Box
css
.Banner
component.Notice
component.locale
to ExtensionContextValue['oauthContext']
.overflowWrap
and wordBreak
to Box
css
properties.textTransform
to Box
and Inline
css
properties.primaryAction
, secondaryAction
, and footerContent
properties to ContextView
.whiteSpace
to Box
css
properties.BarChart
and LineChart
improvements:
FocusView
.Chip
and ChipList
components.getDashboardUserEmail
utility to return the email directly and reject the promise if there's an error.label
prop of form elements.text-overflow: ellipsis
and word-wrap: normal | break-word
on Box
css
.country
to the account passed to extensions in the userContext
property.data:
URL support for the Img
component. Learn more about the Img
component./utils
path.Switch
, Checkbox
and Radio
.Accordion
, Icon
, Spinner
, and Tooltip
components.BarChart
and LineChart
.BarChart
and LineChart
.css={{ width: .. }}
on Select
, TextArea
, TextField
, Button
, and Link
.css={{ alignX: .. }}
on Button
and Link
.clipboardWriteText
function.getDashboardUserEmail
function.slot
property.createOAuthState
function.oauthContext
to the ExtensionContextValue
type.Img
component.Notice
, Charts
, and Tabs
components.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.docs.json
files in dist
.actions
prop to ContextView
.ButtonGroup
component.margin-bottom
from form controls.white-space: nowrap
and alignY: center
by default.min-height
on all size variants.Link
and Button
shrink to fit their content.defaultValue
attribute on TextField
and TextArea
.error
and description
to be hidden on form controls through the hiddenElements
prop.invalid
and size
props on Select
and TextArea
.defaultChecked
attribute on Radio
.resizeable
and rows
props on TextArea
.Chip
onDropdown
firing twice.Divider
rendering.useRefreshDashboardData
that resolves after dashboard data is refreshed.fetchStripeSignature
method that optionally accepts additional request payload. Signature can be used to make authenticated request to your app's backend..is
would sometimes fail to identify a component.testing
package in which comopnents with fragment props were not findable using wrapper.find()
.SettingsView
.SettingsView
types to match the available component props.getMockContextProps
helper for testing. Learn more about context props.React.ReactNode
as a valid type to the value
prop, rather than just a string
.MenuGroup
now supports the title
prop.FocusView
now supports the footerContent
prop.SettingsView
now supports the headerActions
prop.FocusView
, SettingsView
, and ContextView
.STRIPE_API_KEY
from http_client to be used when initializing the Stripe API client.FAQs
The suite of functionality available to UI extensions in Stripe apps
The npm package @stripe/ui-extension-sdk receives a total of 0 weekly downloads. As such, @stripe/ui-extension-sdk popularity was classified as not popular.
We found that @stripe/ui-extension-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 44 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.