
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@contentful/experiences-components-react
Advanced tools
A basic set of components to use with Studio Experiences
defineComponents
function. Components that are registered through the defineComponents
function will be displayed in the Components tab in the Experiences UI.basic/built-in components
as they see fit. The main purpose is to restrict or ensure that Experiences editors use the correct components for their Experiences. Additionally, the built-in components IDs are prefixed with contentful-
to prevent id clashing where a customer would override Contentful's built-in component in cases where the IDs match. This means the user will have to intentionally id their custom component with the contentful-
prefix to override the provided built-in component such as contentful-button
.builtInStyles
defined like builtInStyles: ['cfMargin']
will provide the editor with UI margin editing in their Experience with predefined default values for margin which is currently 0px
. However, let's say the user would like to define their button margin with 4px
whenever a button is dropped onto the canvas, they can then define a variable instead like below. This will still provide the editor with the margin UI editing in their experience with the values being defaulted to 4px
instead of 0px
. variables: {
cfMargin: {
displayName: 'Margin',
type: 'Text',
group: 'style',
description: 'The margin of the button.',
defaultValue: '4px',
},
}
FAQs
A basic set of components to use with Studio Experiences
The npm package @contentful/experiences-components-react receives a total of 4,585 weekly downloads. As such, @contentful/experiences-components-react popularity was classified as popular.
We found that @contentful/experiences-components-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.